/* Isolated mobile-only navigation; desktop and legacy fallback remain untouched. */
.sc-menu-trigger { display:none; }
.sc-menu { display:none; }
@media (max-width:767px) {
  .sc-menu-ready .wrapper-nav { display:none !important; }
  .sc-menu-trigger { display:flex; position:relative; z-index:2; flex:0 0 78px; width:48px; min-height:55px; align-items:center; justify-content:center; flex-direction:column; gap:2px; padding:4px; border:0; background:transparent; color:#171717; cursor:pointer; font:600 10px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
  .sc-menu-trigger svg { width:24px; height:24px; }
  .sc-menu[open] { display:flex; }
  .sc-menu { --sc-ink:#171717; --sc-line:#e2e4e7; --sc-yellow:#ffcc00; position:fixed; inset:0 auto 0 0; width:min(100%,430px); max-width:100%; height:100vh; height:100dvh; max-height:100%; margin:0; padding:0; border:0; color:var(--sc-ink); background:#fff; flex-direction:column; overflow:hidden; font:400 16px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-align:left; box-shadow:12px 0 50px #0002; }
  .sc-menu::backdrop { background:rgba(0,0,0,.45); }
  .sc-menu *, .sc-menu *::before, .sc-menu *::after { box-sizing:border-box; }
  .sc-menu button, .sc-menu input { font:inherit; color:inherit; text-transform:none !important; letter-spacing:normal; }
  .sc-menu button { appearance:none; cursor:pointer; border:0; background:transparent; }
  .sc-menu a { color:var(--sc-ink); text-decoration:none; }
  .sc-menu svg { flex:none; width:24px; height:24px; }
  .sc-menu :focus-visible, .sc-menu-trigger:focus-visible { outline:3px solid #245acb; outline-offset:3px; }
  .sc-menu__top { display:flex; flex:none; align-items:center; justify-content:space-between; padding:calc(18px + env(safe-area-inset-top,0px)) 18px 14px 24px; }
  .sc-menu .sc-menu__title { margin:0; font:700 26px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-transform:none !important; color:var(--sc-ink); }
  .sc-menu__close { display:grid; place-items:center; width:48px; height:48px; padding:10px; }
  .sc-menu__close svg { width:28px; height:28px; }
  .sc-menu__search { flex:none; display:flex; align-items:center; height:50px; margin:0 24px 16px; border:1px solid #9198a1; border-radius:4px; background:#fff; }
  .sc-menu .sc-menu__input { flex:1; min-width:0; width:100%; height:48px; padding:10px 12px; border:0; background:transparent; border-radius:4px; box-shadow:none; font-size:16px; }
  .sc-menu__input::placeholder {color:#616973; opacity:1;}
  .sc-menu__submit { display:grid; place-items:center; flex:none; width:48px; height:48px; padding:12px; }
  .sc-menu__scroll { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0 24px calc(24px + env(safe-area-inset-bottom,0px)); scrollbar-gutter:stable; }
  .sc-menu ul { padding:0; margin:0; list-style:none; }
  .sc-menu .sc-menu__row { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; min-height:56px; margin:0; padding:14px 0; border:0; border-bottom:1px solid var(--sc-line); border-radius:0; font-size:18px; font-weight:500; line-height:1.45; text-align:left; }
  .sc-menu__row svg { width:20px; height:20px; }
  .sc-menu .sc-menu__list--sub .sc-menu__row { min-height:48px; padding:11px 0; font-size:17px; font-weight:400; }
  .sc-menu .sc-menu__help-title { margin:30px 0 12px; font:700 20px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-transform:none !important; }
  .sc-menu .sc-menu__help { display:grid; grid-template-columns:1fr 1fr; column-gap:16px; }
  .sc-menu__help-link { display:flex; align-items:center; min-height:44px; padding:10px 0; font-size:15px; line-height:1.4; }
  .sc-menu__back { display:flex; align-items:center; gap:6px; min-height:44px; margin:0 0 12px -6px; padding:8px 6px; font-size:16px !important; }
  .sc-menu .sc-menu__heading { margin:0 0 16px; font:700 24px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-transform:none !important; }
  .sc-menu .sc-menu__all { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:52px; margin:0 0 8px; padding:12px 16px; border-radius:4px; background:var(--sc-yellow); color:#111; font-size:17px; font-weight:650; }
  .sc-menu .sc-menu__all svg {width:20px;height:20px;}
  .sc-menu a:hover, .sc-menu button:hover { color:#171717; }
  .sc-menu__row:hover, .sc-menu__help-link:hover { background:#f6f6f6; }
  @media (prefers-reduced-motion:no-preference) { .sc-menu[open] { animation:sc-menu-in 160ms ease-out; } @keyframes sc-menu-in { from {transform:translateX(-16px);opacity:.8;} to {transform:translateX(0);opacity:1;} } }
}
