/* Phone menu sheet (2026-11-26), used by every site page through site-menu.js */
.pm-sheet { position:fixed; left:0; right:0; bottom:0; top:64px; z-index:1400; background:#08080f; display:flex; flex-direction:column; opacity:0; visibility:hidden; transform:translateY(-8px); transition:opacity .2s ease, transform .2s ease, visibility 0s linear .2s; font-family:'DM Sans',system-ui,sans-serif; border-top:1px solid rgba(255,255,255,.08); }
html.pm-open .pm-sheet { opacity:1; visibility:visible; transform:none; transition:opacity .2s ease, transform .2s ease; }
html.pm-open, html.pm-open body { overflow:hidden; }
html.pm-open #main-nav .nav-menu-panel, html.pm-open #main-nav .sn-menu-panel { display:none !important; }
.pm-body { flex:1 1 auto; overflow-y:auto; -webkit-overflow-scrolling:touch; padding:8px 20px 20px; }
.pm-row { display:flex; width:100%; align-items:center; justify-content:space-between; padding:18px 2px; background:none; border:0; border-bottom:1px solid rgba(255,255,255,.08); color:#eeeef0; font:600 19px/1.2 'DM Sans',system-ui,sans-serif; letter-spacing:-.01em; text-align:left; text-decoration:none; cursor:pointer; }
.pm-row svg { color:#9a9aae; transition:transform .2s ease; flex:none; }
.pm-sec.open > .pm-row { border-bottom-color:transparent; }
.pm-sec.open > .pm-row svg { transform:rotate(180deg); color:#E6FF00; }
.pm-in { display:none; padding:0 0 14px; border-bottom:1px solid rgba(255,255,255,.08); }
.pm-sec.open > .pm-in { display:block; }
.pm-g { font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#2dd4bf; padding:12px 2px 4px; }
.pm-item { display:block; padding:10px 12px; margin:0 -12px; border-radius:10px; text-decoration:none; }
.pm-item:active { background:rgba(255,255,255,.06); }
.pm-t { display:block; color:#eeeef0; font-size:16px; font-weight:600; }
.pm-d { display:block; color:#8c8ca0; font-size:13px; margin-top:2px; line-height:1.4; }
.pm-foot { flex:none; display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:14px 20px calc(14px + env(safe-area-inset-bottom)); border-top:1px solid rgba(255,255,255,.08); background:#08080f; }
.pm-demo, .pm-sign { display:flex; align-items:center; justify-content:center; height:50px; border-radius:12px; font-size:16px; font-weight:700; text-decoration:none; }
.pm-demo { background:#E6FF00; color:#0a0a12; }
.pm-sign { border:1px solid rgba(255,255,255,.2); color:#eeeef0; }
#nav-menu-btn, #sn-menu-btn { align-items:center; justify-content:center; padding:0; line-height:0; }
@media (min-width:1021px) { .pm-sheet { display:none; } }
@media (max-width:1020px) { #nav-menu-btn, #sn-menu-btn { display:inline-flex !important; } }
/* phones: nothing on a page may push the page wider than the screen */
@media (max-width:1020px) { html, body { overflow-x:clip; } .pm-sheet { right:auto; width:100vw; } }
