/* Dedicated mobile navigation overlay; loaded after the shared theme styles. */
html:root .mobile-more-panel,html:root .mobile-more-backdrop{display:none}
html:root .mobile-more-panel[hidden],html:root .mobile-more-backdrop[hidden]{display:none!important}
@media(max-width:900px){
 html:root .mobile-more-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:rgba(10,20,30,.48);z-index:9997;backdrop-filter:blur(3px)}
 html:root .mobile-more-panel:not([hidden]){display:flex;flex-direction:column;gap:18px;position:fixed;left:0;right:0;bottom:0;width:100%;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;z-index:9998;margin:0;padding:20px 18px max(24px,env(safe-area-inset-bottom));box-sizing:border-box;background:var(--surface,#fff);color:var(--ink,#1c2a36);border:1px solid var(--line,#dfe7ee);border-radius:24px 24px 0 0;box-shadow:0 -12px 50px rgba(0,0,0,.18)}
 html:root .mobile-more-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0}
 html:root .mobile-more-heading h2{margin:0;font-size:22px;line-height:1.3;color:var(--ink)}
 html:root .mobile-more-close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:10px;border:1px solid var(--line);border-radius:50%;background:var(--surface-soft,#f4f7fa);color:var(--ink);cursor:pointer}
 html:root .mobile-more-close svg{display:block;width:20px;height:20px}
 html:root .mobile-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin:0;padding:0}
 html:root .mobile-more-grid a{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-width:0;min-height:76px;padding:12px;border-radius:15px;border:1px solid var(--line);background:var(--surface-soft,#f4f7fa);color:var(--ink);text-decoration:none;font-size:13px;font-weight:650;line-height:1.3;box-sizing:border-box}
 html:root .mobile-more-grid a :is(.icon,.spotter-icon,svg){display:block;flex:none;width:26px;height:26px;object-fit:contain;margin:0;color:var(--accent,#7190ae)}
 html:root .mobile-more-grid a span{overflow-wrap:normal;word-break:normal}
 html:root .mobile-more-grid a[aria-current=page]{border-color:var(--accent);background:var(--accent-soft,var(--surface-soft));color:var(--ink)}
 html:root .mobile-more-signout{display:flex;align-items:center;gap:10px;width:100%;min-height:50px;margin:0;justify-content:center;font-size:14px;color:var(--ink);background:var(--surface-soft,#f4f7fa);border:1px solid var(--line);border-radius:14px}
 html:root .mobile-more-panel :is(a,button):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
 body.mobile-more-open{overflow:hidden}
}
@media(max-width:360px){html:root .mobile-more-grid a{gap:8px;padding:10px;font-size:12px}}
@media(max-height:500px) and (max-width:900px){html:root .mobile-more-grid{grid-template-columns:repeat(4,minmax(0,1fr))}html:root .mobile-more-grid a{flex-direction:column;justify-content:center;text-align:center;min-height:72px;gap:5px}}
