/* Shared by every page: the ☰ menu button in the header (phones and desktop) and the side menu it opens.
   The button and menu are added by assets/site.js, so the links live in one place. */
.menubtn{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;margin-left:4px;border:0;border-radius:10px;background:#ffffff12;color:#F4F2FF;cursor:pointer;flex:none}
.menubtn:hover{background:#ffffff1f}
.menubtn:focus-visible{outline:3px solid #3FF0FF;outline-offset:2px}
@media(max-width:820px){.hd .logo,.hd>a:first-child{margin-right:auto}}
.menu{border:0;padding:0;margin:0 0 0 auto;width:min(88vw,400px);max-width:none;height:100%;max-height:none;background:#16142B;color:#F4F2FF;box-shadow:-20px 0 60px #000a;font-family:Barlow,system-ui,sans-serif;overflow-y:auto}
.menu[open]{animation:menuIn .2s ease-out}
@keyframes menuIn{from{transform:translateX(30px);opacity:0}to{transform:none;opacity:1}}
.menu::backdrop{background:#000b}
.menu .mh{display:flex;justify-content:space-between;align-items:center;padding:calc(10px + env(safe-area-inset-top)) 12px 10px 20px;border-bottom:1px solid #ffffff1c}
.menu .mh span{font:italic 900 22px Kanit,Impact,sans-serif;text-transform:uppercase}
.menu .mh button{width:46px;height:46px;border:0;border-radius:10px;background:#ffffff12;color:#F4F2FF;cursor:pointer;display:grid;place-items:center}
.menu .mh button:focus-visible,.menu a:focus-visible{outline:3px solid #3FF0FF;outline-offset:2px}
.menu .ms{margin:0;padding:18px 20px 6px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#B9B3D6}
.menu nav{display:grid;padding:0 8px}
.menu nav a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:0 12px;border-radius:10px;color:#F4F2FF;text-decoration:none;font-weight:600;font-size:17px}
.menu nav a::after{content:"›";color:#B9B3D6;font-size:22px}
.menu nav a:hover{background:#ffffff0d}
.menu nav a small{display:block;color:#B9B3D6;font-weight:500;font-size:14px}
.menu .mplay{display:flex;align-items:center;justify-content:center;margin:20px 20px calc(24px + env(safe-area-inset-bottom));min-height:52px;border-radius:10px;background:#C6FF3D;color:#0B0A1A;font-weight:700;font-size:16px;text-decoration:none}
@media(prefers-reduced-motion:reduce){.menu[open]{animation:none}}
