.shell-dialog{--sheet-brass:#b8916d;--sheet-brass-soft:#b8916d61;--sheet-ink:#0a0b0f;--sheet-gap:max(.5rem, env(safe-area-inset-top));width:min(100% - 1rem,30rem);max-width:none;height:auto;max-height:calc(100dvh - var(--sheet-gap) - max(.5rem, env(safe-area-inset-bottom)));margin:var(--sheet-gap) auto auto;border:1px solid var(--sheet-brass);box-shadow:inset 0 0 0 3px #0c0b0d, inset 0 0 0 4px var(--sheet-brass-soft), 0 24px 60px #000000b3;color:var(--shell-ink);font-family:var(--shell-sans);background:radial-gradient(circle at 1px 1px,#ffffff0d 1px,#0000 0) 0 0/5px 5px,radial-gradient(120% 60% at 50% 0,#1a1316,#0000 70%),linear-gradient(175deg,#0b0c11,#07070a);border-radius:6px;padding:0;position:fixed;inset:0 0 auto;overflow:hidden}.shell-dialog[open]{display:flex}.shell-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#030305c7}.shell-dialog.shell-search{width:min(100% - 1rem,42rem)}.shell-sheet{grid-template-rows:auto minmax(0,1fr) auto;width:100%;min-height:0;animation:.22s ease-out shell-sheet-in;display:grid}@keyframes shell-sheet-in{0%{opacity:0;transform:translateY(-8px)}}.shell-sheet-top,.shell-sheet-bottom{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.6rem .7rem .6rem 1rem;display:grid;position:relative}.shell-sheet-top:after,.shell-sheet-bottom:before{background:linear-gradient(90deg, transparent, var(--sheet-brass), transparent);content:"";height:1px;position:absolute;inset-inline:.75rem}.shell-sheet-top:after{bottom:0}.shell-sheet-bottom:before{top:0}.shell-sheet-top .shell-brand{min-height:44px;color:var(--shell-ink);justify-self:start;align-items:center;gap:.35rem;display:inline-flex}.shell-sheet-top .shell-wordmark{font:600 1.05rem/1 var(--shell-display);letter-spacing:.1em;text-transform:uppercase}.shell-sheet-top .shell-crest{filter:drop-shadow(0 0 8px #e59b8047);width:46px;height:46px}.shell-sheet-top h2{min-width:0;font:600 1.05rem/1.2 var(--shell-display);letter-spacing:.08em;text-transform:uppercase}.shell-sheet-close{border:1px solid var(--sheet-brass);width:44px;height:44px;box-shadow:inset 0 0 0 2px #0c0b0d, inset 0 0 0 3px var(--sheet-brass-soft);color:var(--shell-ink);background:#fff0dc0a;border-radius:4px;justify-content:center;align-items:center;display:inline-flex}.shell-sheet-body{overscroll-behavior:contain;align-content:start;gap:.75rem;min-height:0;padding:.85rem 1rem;display:grid;overflow-y:auto}.shell-sheet-nav{gap:.75rem;display:grid}.shell-sheet-cards,.shell-sheet-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.shell-sheet-card{--card-rule:#9c4e2e;--card-accent:#ea8d57;border:1px solid var(--card-rule);background:#10080b;border-radius:4px;justify-content:center;align-items:flex-end;height:clamp(96px,30vw,140px);display:flex;position:relative;overflow:hidden}.shell-sheet-card.is-moon{--card-rule:#526c8a;--card-accent:#a0c6ee;background:#080f1a}.shell-sheet-card img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.shell-sheet-card:before,.shell-sheet-card:after{z-index:1;pointer-events:none;content:"";position:absolute}.shell-sheet-card:before{background:linear-gradient(#0000 30%,#0403058c 60%,#040305f0 100%);inset:0}.shell-sheet-card:after{border:1px solid color-mix(in srgb, var(--card-accent) 50%, transparent);border-radius:2px;inset:3px}.shell-sheet-card-label{z-index:2;color:#f9e9d9;font:600 clamp(.78rem, 3.6vw, .95rem)/1.15 var(--shell-display);letter-spacing:.08em;text-align:center;text-shadow:0 1px 3px #000;text-transform:uppercase;padding:0 .4rem .6rem;position:relative}.shell-sheet-card[aria-current=page]{border-color:var(--card-accent);box-shadow:0 0 0 1px var(--card-accent), 0 0 16px color-mix(in srgb, var(--card-accent) 35%, transparent)}.shell-sheet-card[aria-current=page] .shell-sheet-card-label{-webkit-text-decoration:underline 1px var(--card-accent);-webkit-text-decoration:underline 1px var(--card-accent);text-decoration:underline 1px var(--card-accent);text-underline-offset:5px}.shell-sheet-grid a,.shell-sheet-tools :is(a,button){min-height:44px;color:var(--shell-ink);font:600 .82rem/1.1 var(--shell-display);letter-spacing:.06em;text-align:left;text-transform:uppercase;background:#fff0dc08;border:1px solid #b8916d4d;border-radius:4px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:.6rem;padding:.5rem .75rem;display:grid}.shell-sheet-grid span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.shell-sheet-grid svg,.shell-sheet-tools svg{color:var(--sheet-brass);stroke-width:1.7px}.shell-sheet-grid [aria-current=page]{background:linear-gradient(#7a221c73,#2e0d0d73);border-color:#e59b80;box-shadow:inset 3px 0 #e59b80}.shell-sheet-grid [aria-current=page] svg{color:#ffd9c2}.shell-sheet-tools{border-top:1px solid #b8916d38;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;padding-top:.75rem;display:grid}.shell-sheet-tools :is(a,button){font-family:var(--shell-sans);letter-spacing:.02em;text-transform:none;cursor:pointer;font-size:.95rem}.shell-sheet-bottom{padding:.7rem 1rem max(.75rem, env(safe-area-inset-bottom));grid-template-columns:1fr}.shell-sheet-cta{width:100%;min-height:50px;font-family:var(--shell-display);letter-spacing:.06em;text-transform:uppercase;font-size:.9rem}.shell-search-field{border:1px solid var(--sheet-brass);min-height:48px;color:var(--sheet-brass);background:#00000059;border-radius:4px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:.6rem;padding:0 .8rem;display:grid}.shell-search-field input{min-width:0;height:46px;color:var(--shell-ink);background:0 0;border:0;outline:none;font-size:1rem}.shell-search-field:focus-within{outline-offset:2px;outline:2px solid #edbb91}.shell-search-results{gap:.4rem;margin:0;padding:0;list-style:none;display:grid}.shell-search-results a{min-height:44px;color:var(--shell-ink);border:1px solid #b8916d3d;border-radius:4px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.6rem .8rem;display:grid}.shell-search-results a span{gap:.2rem;min-width:0;display:grid}.shell-search-results strong{font:600 .88rem/1.2 var(--shell-display);letter-spacing:.04em}.shell-search-results small{color:var(--shell-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;overflow:hidden}.shell-search-results svg{color:var(--sheet-brass)}.shell-search-empty{color:var(--shell-muted);padding:.75rem .2rem}.shell-dialog :is(a,button,input):focus-visible{outline-offset:2px;outline:2px solid #edbb91}@media (hover:hover){.shell-sheet-grid a:hover,.shell-sheet-tools :is(a,button):hover,.shell-search-results a:hover,.shell-sheet-close:hover{border-color:var(--sheet-brass);background:#ffe6c814}}@media (height<=560px){.shell-sheet-card{height:72px}.shell-sheet-top .shell-crest{width:36px;height:36px}.shell-sheet-body{gap:.5rem;padding-block:.6rem}}@media (width<=340px){.shell-sheet-top{padding-left:.7rem}.shell-sheet-body,.shell-sheet-bottom{padding-inline:.7rem}.shell-sheet-top .shell-wordmark{font-size:.9rem}.shell-sheet-grid a{gap:.45rem;padding-inline:.55rem;font-size:.74rem}.shell-sheet-cta{letter-spacing:.03em;font-size:.8rem}}@media (prefers-reduced-motion:reduce){.shell-sheet{animation:none}.shell-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}.shell-dialog .shell-search-field input:focus-visible{outline:none}
