/* ============================================= */
/* BLOCAGE MOBILE – Message "À consulter sur PC" */
/* ============================================= */

.mobile-warning {
  display: none !important;
}

@media only screen and (max-width: 1024px) {
    .mobile-warning {
    display: block !important;
  }
  body {
    overflow: hidden !important;
    height: 100vh;
  }

  body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 99999;
    pointer-events: all;
  }

  .mobile-warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #111;
    color: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 20px;
    line-height: 1.5;
    max-width: 90%;
    z-index: 999999;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
    border: 2px solid #333;
  }

  .mobile-warning ion-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: #ff4444;
  }

  .mobile-warning strong {
    display: block;
    font-size: 26px;
    margin: 15px 0;
    color: #ff6666;
  }

  /* Cache tout le reste du site */
  #entete,
  .taskbar,
  #centre,
  #pied,
  #startMenu,
  #affichage {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}