@media(max-width:840px) {
 body.showing-home #home .home-signature { left:auto; right:max(18px,env(safe-area-inset-right)); bottom:calc(62px + env(safe-area-inset-bottom)); justify-content:flex-end; text-align:right; }
 .mobile-menu-caption,.mobile-menu-label,.mobile-menu-footer { display:none; }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation {
  inset:max(24px,env(safe-area-inset-top)) auto auto 0; margin:0; width:min(300px,calc(100vw - 46px)); height:auto;
  max-height:calc(100dvh - 48px - env(safe-area-inset-top)); padding:0 12px 12px 0;
  border:0; border-radius:0; background:transparent; box-shadow:none;
  transform:none; transition:none; overflow-x:hidden; overflow-y:auto;
 }
 #mobile-navigation::backdrop { background:#02040285; backdrop-filter:blur(8px); }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .mobile-drawer-heading {
  padding:0 4px 20px 24px; margin:0; border:0; align-items:center;
  opacity:0; transform:translateX(-22px); transition:opacity 180ms ease,transform 180ms ease;
 }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation.is-open .mobile-drawer-heading { opacity:1; transform:none; }
 #mobile-navigation-title { font:400 34px/1.1 "Indie Flower",cursive; color:#ffe4a2; }
 #mobile-navigation .mobile-menu-close { width:34px; height:34px; min-width:34px; border:1px solid #ffffff20; border-radius:50%; background:#10130fe8; color:#e2e4d9; box-shadow:none; }
 #mobile-navigation .mobile-menu-close svg { width:18px; height:18px; }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .nav-shell { display:flex; flex-direction:column; gap:10px; background:none; border:0; padding:0; box-shadow:none; backdrop-filter:none; overflow:visible; }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .nav-link {
  position:relative; display:flex; flex-direction:row; align-items:center; justify-content:flex-start; gap:14px;
  width:calc(100% - 12px); min-height:54px; padding:15px 25px; border:1px solid #ffffff16; border-left:0; border-radius:0 999px 999px 0;
  background:linear-gradient(100deg,#11160ff7,#20241cf7); color:#c9cebf; font:700 14px "Comfortaa",sans-serif; box-shadow:0 4px 12px #0002;
  transform:translateX(-110%); transition:transform 180ms ease,background 180ms ease,color 180ms ease; transition-delay:0ms;
 }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation.is-open .nav-link { transform:translateX(0); transition-duration:300ms,180ms,180ms; transition-timing-function:cubic-bezier(.2,.8,.2,1),ease,ease; transition-delay:var(--tab-delay,0ms),0ms,0ms; }
 #mobile-navigation .nav-link:nth-of-type(2) { --tab-delay:20ms; } #mobile-navigation .nav-link:nth-of-type(3) { --tab-delay:40ms; } #mobile-navigation .nav-link:nth-of-type(4) { --tab-delay:60ms; } #mobile-navigation .nav-link:nth-of-type(5) { --tab-delay:80ms; } #mobile-navigation .nav-link:nth-of-type(6) { --tab-delay:100ms; }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .nav-link::after { content:none; }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .nav-link.active { width:100%; background:linear-gradient(100deg,#3c3420,#29271b); border-color:#e5c47770; color:#ffe3a1; box-shadow:0 4px 16px #0002; }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .nav-link.active::after { content:''; margin-left:auto; width:5px; height:5px; border-radius:50%; background:#f1ce7b; }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .nav-link:hover { background:#2d3024; color:#fff0c9; }
 #mobile-navigation .nav-icon,#mobile-navigation .nav-icon svg { width:21px; height:21px; flex-basis:21px; }
}
@media(prefers-reduced-motion:reduce) { #mobile-navigation,#mobile-navigation .nav-link,#mobile-navigation .mobile-drawer-heading { transition:none!important; } }
/* Contained side drawer with restrained corners and a square close control. */
@media(max-width:840px) {
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation {
  inset:0 auto 0 0; width:min(340px,calc(100vw - 32px)); height:100dvh; max-height:100dvh;
  padding:max(24px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom));
  background:#121212; border:0; border-right:1px solid #cdb77930; border-radius:0 16px 16px 0;
  box-shadow:16px 0 64px #0006; transform:translateX(-100%); transition:transform 240ms cubic-bezier(.2,.8,.2,1);
 }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation.is-open { transform:translateX(0); }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .mobile-drawer-heading {
  padding:0 0 22px; margin:0 0 22px; border-bottom:1px solid #ffffff10; opacity:1; transform:none; transition:none;
 }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .mobile-menu-close {
  display:grid; place-items:center; flex:0 0 40px; width:40px; min-width:40px; max-width:40px; height:40px; min-height:40px;
  padding:0; aspect-ratio:1; border:1px solid #ffffff20; border-radius:8px; background:#ffffff05; color:#e5e7dc; box-shadow:none;
 }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .mobile-menu-close:hover { background:#ffffff10; border-color:#e5c47766; }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .mobile-menu-close svg { width:20px; height:20px; }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .nav-shell { gap:8px; }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .nav-link,
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .nav-link.active {
  width:100%; min-height:52px; padding:14px 16px; border:1px solid #ffffff0d; border-radius:7px;
  transform:none; transition:background 180ms ease,color 180ms ease,border-color 180ms ease; box-shadow:none;
 }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .nav-link { background:#ffffff03; }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation .nav-link.active { background:#e5c47712; border-color:#e5c47740; color:#ffe3a1; }
 body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation.is-open .nav-link { transition-delay:0ms; transition-duration:180ms; }
}
@media(prefers-reduced-motion:reduce) { body:not(.showing-dashboard):not(.dashboard-host) #mobile-navigation { transition:none; } }
