/* Selected mobile menu: a compact bottom sheet. */
@media(max-width:650px){
  .menu-button{position:relative;width:42px;height:42px;padding:0!important;border-radius:50%!important}
  .menu-button span{position:absolute;left:12px;width:18px;height:1.5px;margin:0!important;background:currentColor;border-radius:2px;transition:transform 180ms,top 180ms,width 180ms}
  .menu-button span:first-child{top:16px}.menu-button span:last-child{top:23px;width:13px}
  body:has(#menu-dialog[open]) .menu-button span:first-child{top:20px;transform:rotate(45deg);color:var(--gold)}
  body:has(#menu-dialog[open]) .menu-button span:last-child{top:20px;width:18px;transform:rotate(-45deg);color:var(--gold)}
  #menu-dialog{box-sizing:border-box;inset:auto 0 0;width:100%;max-width:none;max-height:min(86dvh,670px);margin:auto 0 0;padding:12px 20px calc(20px + env(safe-area-inset-bottom));overflow:auto;border:1px solid #ffffff12;border-bottom:0;border-radius:20px 20px 0 0;background:linear-gradient(150deg,#2b313e,#242a36 60%,#202631);box-shadow:0 -20px 70px #05070ca8;transform:translateY(0);opacity:1;transition:transform 260ms cubic-bezier(.2,.75,.2,1),opacity 180ms}
  #menu-dialog::backdrop{background:#080b10a8;backdrop-filter:blur(4px)}
  @starting-style{#menu-dialog[open]{transform:translateY(42px);opacity:0}}
  #menu-dialog .menu-handle{width:36px;height:3px;margin:0 auto 13px;border-radius:4px;background:#778194}
  #menu-dialog .dialog-head{margin-bottom:14px}
  #menu-dialog .dialog-head button{width:40px;height:40px;min-width:40px;padding:10px;border:0;border-radius:50%;background:#ffffff08}
  #menu-dialog .dialog-head button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
  .menu-brand strong{display:block;font:italic 400 30px/1 Georgia,serif;letter-spacing:-1.7px}
  .menu-brand span{display:block;margin-top:7px;color:#aeb5c2;font-size:5px;line-height:1;letter-spacing:.28em}
  .menu-search{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:10px 14px;border:1px solid #ffffff0a;border-radius:11px;background:#1d232e;color:#c8ced8;font-size:13px}
  .menu-search svg{width:19px;height:19px;fill:none;stroke:var(--gold);stroke-width:1.5;stroke-linecap:round}
  #menu-dialog .mobile-nav{gap:2px;margin-top:10px;font:500 17px/1.2 Manrope,Arial,sans-serif}
  #menu-dialog .mobile-nav a{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:10px 12px;border-radius:10px}
  #menu-dialog .mobile-nav a:hover,#menu-dialog .mobile-nav a:focus-visible{background:#ffffff08;color:var(--gold)}
  #menu-dialog .mobile-nav b{color:#7d8798;font-size:10px;font-weight:500;letter-spacing:.12em}
  #menu-dialog .menu-bottom{display:flex;align-items:center;gap:20px;margin-top:10px;padding:13px 12px 0;border-top:1px solid #ffffff0c;font-size:11px;color:#adb5c3}
  #menu-dialog .menu-bottom .link{min-height:36px;margin-left:auto;padding:0;border:0;background:none;color:inherit}
}
@media(min-width:651px){#menu-dialog{display:none}}
@media(prefers-reduced-motion:reduce){#menu-dialog,.menu-button span{transition:none!important}}
