/* MShowTV V17.6.15 — MOBILE NAVIGATION REBUILD
   Replaces the old iPhone dropdown behavior with one dedicated drawer. */

@media (max-width:760px){

  /* Hide the old nav on mobile. We rebuild it into the drawer. */
  .public-topbar-v1762 nav{
    display:none !important;
  }

  /* Keep header clean and clickable. */
  .public-topbar-v1762{
    position:relative !important;
    z-index:3000 !important;
    overflow:visible !important;
    min-height:112px !important;
    padding:12px 14px !important;
  }

  #publicMenuToggleV1762{
    display:flex !important;
    position:absolute !important;
    top:14px !important;
    right:14px !important;
    width:48px !important;
    height:48px !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:16px !important;
    border:1px solid rgba(255,255,255,.12) !important;
    background:#17121d !important;
    color:#fff !important;
    font-size:24px !important;
    line-height:1 !important;
    z-index:4001 !important;
    pointer-events:auto !important;
    touch-action:manipulation !important;
    -webkit-tap-highlight-color:transparent !important;
  }

  /* New mobile drawer */
  .mshow-mobile-drawer-v17615{
    position:fixed !important;
    inset:0 !important;
    z-index:5000 !important;
    display:none;
    flex-direction:column;
    background:#0b0810 !important;
    color:#fff !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch;
  }

  .mshow-mobile-drawer-v17615.open{
    display:flex !important;
  }

  .mshow-mobile-drawer-head-v17615{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:18px 18px 14px;
    border-bottom:1px solid rgba(255,255,255,.08);
    position:sticky;
    top:0;
    background:#0b0810;
    z-index:2;
  }

  .mshow-mobile-drawer-brand-v17615{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
  }

  .mshow-mobile-drawer-brand-v17615 img{
    width:46px;
    height:46px;
    object-fit:contain;
    border-radius:12px;
  }

  .mshow-mobile-drawer-brand-v17615 strong{
    display:block;
    font-size:1rem;
    letter-spacing:.05em;
  }

  .mshow-mobile-drawer-brand-v17615 span{
    display:block;
    color:#a99cad;
    font-size:.74rem;
    margin-top:2px;
  }

  .mshow-mobile-close-v17615{
    width:46px;
    height:46px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.12);
    background:#18131e;
    color:#fff;
    font-size:25px;
    font-weight:900;
    pointer-events:auto;
    touch-action:manipulation;
  }

  .mshow-mobile-search-wrap-v17615{
    padding:14px 18px 6px;
  }

  .mshow-mobile-search-v17615{
    width:100%;
    border:1px solid rgba(255,255,255,.10);
    border-radius:16px;
    background:#16111b;
    color:#fff;
    padding:14px 16px;
    font-size:16px;
    outline:none;
  }

  .mshow-mobile-search-v17615::placeholder{
    color:#8d8191;
  }

  .mshow-mobile-list-v17615{
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:12px 18px 24px;
  }

  .mshow-mobile-link-v17615{
    width:100%;
    min-height:50px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:13px 15px;
    border-radius:15px;
    border:1px solid rgba(255,255,255,.08);
    background:#17121c;
    color:#fff;
    text-decoration:none;
    font-weight:800;
    font-size:1rem;
    pointer-events:auto !important;
    touch-action:manipulation !important;
  }

  .mshow-mobile-link-v17615.active{
    background:linear-gradient(135deg,#7f3ee3,#df3ba8);
    border-color:transparent;
  }

  .mshow-mobile-link-v17615 .arrow{
    color:#b8aabc;
    font-weight:400;
  }

  .mshow-mobile-divider-v17615{
    height:1px;
    background:rgba(255,255,255,.08);
    margin:4px 0;
  }

  .mshow-mobile-bottom-v17615{
    margin-top:auto;
    padding:0 18px 26px;
  }

  .mshow-mobile-lang-v17615{
    display:flex;
    gap:10px;
    margin-bottom:12px;
  }

  .mshow-mobile-lang-v17615 button{
    flex:1;
    min-height:44px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.10);
    background:#17121c;
    color:#fff;
    font-weight:900;
  }

  .mshow-mobile-lang-v17615 button.active{
    background:linear-gradient(135deg,#7f3ee3,#df3ba8);
  }

  body.mshow-mobile-drawer-open-v17615{
    overflow:hidden !important;
    touch-action:none !important;
  }

  /* Remove old patch visuals when the new system is used. */
  .mshow-menu-backdrop-v17613{
    display:none !important;
  }

  /* Make sure old open-menu classes can't force the legacy nav visible. */
  body.public-menu-open-v1762 .public-topbar-v1762 nav,
  .public-topbar-v1762 nav.mshow-mobile-menu-v17613{
    display:none !important;
  }
}

@media (min-width:761px){
  .mshow-mobile-drawer-v17615{
    display:none !important;
  }
}
