/* Crit & Co — Night Vault storefront (DEV). Palette + contrast rules: ../../palette.md
   Copper is never body text on light grounds; copper buttons carry navy labels. */
@font-face{font-family:"Fraunces";src:url(/assets/fonts/Fraunces-Variable.ttf) format("truetype");font-weight:100 900;font-display:swap}
@font-face{font-family:"Outfit";src:url(/assets/fonts/Outfit-Variable.ttf) format("truetype");font-weight:100 900;font-display:swap}
@font-face{font-family:"Graduate";src:url(/assets/fonts/Graduate-Regular.ttf) format("truetype");font-weight:400;font-display:swap}
:root{
  --navy:#0C2340;--copper:#D47B27;--cream:#F3E6C8;--copper-hover:#C97425;--crimson:#9B2C2C;
  --page:#08182C;--surface:#14304F;--surface-2:#10284A;--ink:#F3E6C8;--muted:#C9B894;
  --border:#2A4560;--border-ui:#6A8AAA;--header:#05101C;--footer:#05101C;
  --radius:12px;--radius-sm:8px;--wrap:1240px;
  --font-display:"Fraunces",Georgia,serif;--font-body:"Outfit","Segoe UI",system-ui,sans-serif;--font-mark:"Graduate",Georgia,serif;
  --shadow-card:0 2px 10px rgba(0,0,0,.28);--shadow:0 14px 40px rgba(0,0,0,.4);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--page);color:var(--ink);font:400 16px/1.55 var(--font-body)}
img{max-width:100%;display:block}
a{color:var(--copper)}
a:hover{color:var(--cream)}
h1,h2,h3{font-family:var(--font-display);font-weight:600;line-height:1.12;margin:0;letter-spacing:-.015em}
p{margin:0}
button,input,select{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--copper);outline-offset:2px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 28px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;background:var(--copper);color:var(--navy);padding:8px 14px;border-radius:6px;z-index:100}
.skip:focus{left:8px}

/* dev strip */
.dev-strip .long{display:inline}
@media (max-width:860px){.dev-strip .long{display:none}}
.dev-strip{background:var(--crimson);color:#fff;font-size:13px;text-align:center;padding:6px 12px;letter-spacing:.02em}

/* header */
.site-header{background:var(--header);border-bottom:1px solid rgba(243,230,200,.08);position:sticky;top:0;z-index:50}
.header-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:76px;gap:16px}
.header-left{display:flex;align-items:center;gap:22px}
.header-left a,.cat-nav a{color:var(--cream);text-decoration:none;font-size:14px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.header-left a:hover,.cat-nav a:hover,.cat-nav a[aria-current=page]{color:var(--copper)}
.logo img{height:44px;width:auto}
.header-right{display:flex;justify-content:flex-end;align-items:center;gap:8px}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:none;color:var(--cream);border-radius:8px;cursor:pointer}
.icon-btn:hover{color:var(--copper)}
.icon-btn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.menu-btn,.search-toggle{display:none}
.search{position:relative;width:100%;max-width:300px}
.search input{width:100%;height:42px;border-radius:999px;border:1px solid var(--border-ui);background:#0B1D33;color:var(--cream);padding:0 44px 0 18px}
.search input::placeholder{color:#9FB0C2}
.search button{position:absolute;right:4px;top:3px;width:36px;height:36px}
.search-results{position:absolute;right:0;top:calc(100% + 8px);width:min(420px,92vw);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:6px;display:none;max-height:70vh;overflow:auto}
.search-results.open{display:block}
.search-results a{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:center;padding:8px;border-radius:8px;color:var(--cream);text-decoration:none;font-size:14px;line-height:1.3}
.search-results a:hover,.search-results a.active{background:var(--surface-2)}
.search-results img{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:6px}
.search-results .sr-meta{color:var(--muted);font-size:12px}
.search-results .sr-all{display:block;text-align:center;color:var(--copper);font-weight:600}
.search-results .sr-empty{padding:12px;color:var(--muted);font-size:14px}
.cat-nav{border-top:1px solid rgba(243,230,200,.07)}
.cat-nav ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:34px;min-height:46px;align-items:center}
.cat-nav a{font-size:13px}
.drawer{display:none}
.mobile-search{display:none}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 22px;border-radius:999px;font-weight:600;font-size:15px;text-decoration:none;border:1.5px solid transparent;cursor:pointer;transition:background .15s,color .15s}
.btn-cta{background:var(--copper);color:var(--navy)}
.btn-cta:hover{background:var(--copper-hover);color:var(--navy)}
.btn-ghost{border-color:var(--cream);color:var(--cream);background:transparent}
.btn-ghost:hover{background:var(--cream);color:var(--navy)}
.btn-sm{min-height:40px;font-size:14px;padding:0 16px}
.btn-block{width:100%}
.btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}

/* hero (full-bleed loop; copy fixed on the left) */
.hero{position:relative;min-height:700px;display:flex;align-items:center;overflow:hidden;background:#05101C}
.hero-media{position:absolute;inset:0;overflow:hidden;background:#05101C}
.hero-poster,.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:78% 40%}
.hero-video{z-index:1}
.hero-fade{position:absolute;left:0;right:0;bottom:0;height:120px;z-index:2;background:linear-gradient(180deg,rgba(8,24,44,0),#08182C)}
.hero-shade{position:absolute;inset:0;z-index:3;pointer-events:none;background:
  linear-gradient(90deg,#05101C 0%,rgba(5,16,28,.96) 22%,rgba(5,16,28,.84) 36%,rgba(5,16,28,.5) 50%,rgba(5,16,28,.14) 62%,rgba(5,16,28,0) 72%),
  linear-gradient(180deg,rgba(5,16,28,.28) 0%,rgba(5,16,28,0) 22%)}
.hero-copy{position:relative;z-index:4;width:100%;padding-top:72px;padding-bottom:72px}
.hero-copy>*{max-width:560px}
.eyebrow{font-family:var(--font-mark);font-size:12px;letter-spacing:.18em;color:var(--copper);margin-bottom:16px;text-transform:uppercase}
.hero h1{font-size:76px;font-weight:650;letter-spacing:-.03em;margin-bottom:16px}
.hero .lede{font-size:19px;color:var(--muted);max-width:38ch;margin-bottom:28px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.hero-ai{margin-top:22px;font-size:12px;color:var(--muted)}
@media (prefers-reduced-motion:reduce){.hero-video{display:none}}

/* sections */
.section{padding:56px 0}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:24px}
.section-head h2{font-size:34px}
.section-head p{color:var(--muted);margin-top:6px}
.section-head a{font-weight:600;font-size:14px;white-space:nowrap}
.rule{border:0;border-top:1px solid var(--border);margin:0}

/* category rail */
.cat-rail{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cat-tile{display:flex;flex-direction:column;align-items:center;gap:12px;padding:22px 12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--cream);text-decoration:none;font-weight:600;text-align:center;transition:border-color .15s,transform .15s}
.cat-tile:hover{border-color:var(--copper);color:var(--cream);transform:translateY(-2px)}
.cat-tile .ci{width:64px;height:64px;border-radius:50%;background:var(--navy);display:grid;place-items:center;border:1px solid var(--border)}
.cat-tile .ci img{width:34px;height:34px}
.cat-tile small{display:block;font-weight:400;color:var(--muted);font-size:13px;margin-top:2px}
.fandom-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;align-items:center}
.fandom-row .lbl{font-family:var(--font-mark);font-size:12px;letter-spacing:.14em;color:var(--muted);margin-right:6px}

/* category shelf cards (home) + category landing heroes */
.shelf-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:28px}
.shelf-card{display:grid;grid-template-columns:220px 1fr;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;color:var(--cream);text-decoration:none;min-height:200px;transition:border-color .15s,transform .15s}
.shelf-card:hover{border-color:var(--copper);color:var(--cream);transform:translateY(-2px)}
.shelf-media{position:relative;display:block;background:var(--navy);overflow:hidden;min-height:200px}
.shelf-media picture{display:block;width:100%;height:100%;position:absolute;inset:0}
.shelf-media img{width:100%;height:100%;object-fit:cover;object-position:center 18%}
.shelf-copy{padding:22px 24px;display:flex;flex-direction:column;justify-content:center;gap:6px}
.shelf-copy .eyebrow{margin-bottom:4px}
.shelf-copy b{font-family:var(--font-display);font-size:28px;font-weight:600;letter-spacing:-.015em;line-height:1.15}
.shelf-blurb{color:var(--muted);font-size:15px;font-weight:400;max-width:36ch}
.shelf-copy small{color:var(--muted);font-size:13px;font-weight:400}
.shelf-ai{position:absolute;left:10px;bottom:10px;background:rgba(5,16,28,.8);color:var(--muted);font-size:11px;padding:3px 8px;border-radius:6px;font-weight:400}
.page-head.cat-hero{padding:0;background:radial-gradient(900px 280px at 18% 0,rgba(212,123,39,.14),transparent 60%),linear-gradient(180deg,#05101C 0%,#08182C 100%)}
.cat-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:48px;align-items:end}
.cat-hero-copy{padding:36px 0 32px}
.cat-hero-copy .eyebrow{margin-bottom:10px}
.cat-hero-copy h1{font-size:48px;margin-bottom:8px}
.cat-hero-copy p{color:var(--muted);max-width:46ch}
.cat-hero-fig{margin:0;position:relative;width:100%;max-width:320px;justify-self:end;aspect-ratio:3/4;max-height:480px;border:1px solid var(--border);border-bottom:0;border-radius:var(--radius) var(--radius) 0 0;overflow:hidden;background:#0C2340}
.cat-hero-fig picture{position:absolute;inset:0;display:block}
.cat-hero-fig img{width:100%;height:100%;object-fit:cover;object-position:center 12%}
.cat-hero-fig figcaption{position:absolute;left:10px;bottom:10px;background:rgba(5,16,28,.8);color:var(--muted);font-size:12px;padding:3px 8px;border-radius:6px}

/* product grid + card */
.grid-ad{margin:0 0 10px;font-size:12px;line-height:1.4;color:var(--muted);letter-spacing:.02em}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card);transition:border-color .15s,transform .15s}
.card:hover{border-color:#40648A;transform:translateY(-2px)}
.card[hidden]{display:none}
.card-img{display:block;background:#fff;aspect-ratio:1/1;position:relative}
.card-img{--pad:18px}
.card-img img{position:absolute;inset:var(--pad);width:calc(100% - 2*var(--pad));height:calc(100% - 2*var(--pad));object-fit:contain}
.badge{position:absolute;left:10px;top:10px;background:var(--crimson);color:#fff;font-size:12px;font-weight:700;padding:3px 9px;border-radius:999px}
.card-body{display:flex;flex-direction:column;gap:6px;padding:14px 16px 16px;flex:1}
.card-cat{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600}
.card-title{font-family:var(--font-body);font-size:15px;font-weight:600;line-height:1.35;letter-spacing:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:calc(1.35em * 3)}
.card-title a{color:var(--cream);text-decoration:none}
.card-title a:hover{color:var(--copper)}
.card-brand{font-size:13px;color:var(--muted)}
.card .price-block{margin-top:auto;padding-top:6px}
.card .btn{margin-top:10px}
.price{font-size:22px;font-weight:700;color:var(--cream)}
.price s{font-size:14px;font-weight:400;color:var(--muted);margin-left:6px}
.asof{font-size:12px;color:var(--muted);line-height:1.4}
.asof details{display:inline}
.asof summary{display:inline;cursor:pointer;text-decoration:underline;color:var(--muted)}
.asof summary::-webkit-details-marker{display:none}
.asof .asof-pop{margin-top:6px;font-size:12px;background:var(--surface-2);border:1px solid var(--border);border-radius:8px;padding:8px 10px}
.check-price{font-size:16px;font-weight:600;color:var(--cream)}

/* gift finder */
.gift-band{background:linear-gradient(135deg,#0C2340,#05101C);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.gift-inner{display:grid;grid-template-columns:1.1fr 1.4fr;gap:40px;align-items:center}
.gift-inner h2{font-size:38px;margin-bottom:10px}
.gift-inner p{color:var(--muted)}
.gift-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.gift-opt{display:flex;align-items:center;gap:14px;padding:16px 18px;background:rgba(20,48,79,.7);border:1px solid var(--border);border-radius:var(--radius);color:var(--cream);text-decoration:none}
.gift-opt:hover{border-color:var(--copper);color:var(--cream)}
.gift-opt b{display:block;font-size:16px}
.gift-opt span{font-size:13px;color:var(--muted)}
.gift-opt .gi{flex:none;width:44px;height:44px;border-radius:50%;background:var(--copper);color:var(--navy);display:grid;place-items:center;font-family:var(--font-mark);font-size:14px}

/* about */
.about{display:grid;grid-template-columns:1fr 1.1fr;gap:48px;align-items:center}
.about-img{border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);position:relative}
.about-img figcaption{position:absolute;left:10px;bottom:10px;background:rgba(5,16,28,.8);color:var(--muted);font-size:12px;padding:3px 8px;border-radius:6px}
.about h2{font-size:38px;margin-bottom:14px}
.about p{color:var(--muted);margin-bottom:14px;font-size:17px}
.about p strong{color:var(--cream)}

/* trust row */
.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.trust div{border-left:2px solid var(--copper);padding-left:14px}
.trust b{display:block;margin-bottom:4px}
.trust span{color:var(--muted);font-size:14px}

/* collection page */
.page-head{padding:36px 0 22px;border-bottom:1px solid var(--border);background:radial-gradient(1200px 300px at 20% 0,rgba(212,123,39,.12),transparent)}
.crumbs{font-size:13px;color:var(--muted);margin-bottom:12px}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--copper)}
.page-head h1{font-size:48px;margin-bottom:8px}
.page-head p{color:var(--muted);max-width:62ch}
.active-q{font-size:14px;color:var(--muted)}
.active-q button{background:none;border:0;color:var(--copper);cursor:pointer;text-decoration:underline}
.empty{padding:40px;text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:var(--radius)}
.link-btn{background:none;border:0;color:var(--copper);cursor:pointer;text-decoration:underline;padding:0}

/* PDP */
.pdp{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;padding:28px 0 56px}
.gallery-main{--pad:36px;background:#fff;border-radius:var(--radius);aspect-ratio:1/1;border:1px solid var(--border);position:relative}
.gallery-main img{position:absolute;inset:var(--pad);width:calc(100% - 2*var(--pad));height:calc(100% - 2*var(--pad));object-fit:contain}
.thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.thumbs button{width:76px;height:76px;padding:6px;background:#fff;border:2px solid transparent;border-radius:8px;cursor:pointer}
.thumbs button[aria-pressed=true]{border-color:var(--copper)}
.thumbs img{width:100%;height:100%;object-fit:contain}
.pdp-info h1{font-family:var(--font-body);font-size:26px;font-weight:600;line-height:1.3;letter-spacing:0;margin:6px 0 10px}
.pdp-brand{color:var(--muted);font-size:15px;margin-bottom:18px}
.buy-box{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px;margin-bottom:24px}
.buy-box .price{font-size:34px}
.buy-box .save{display:inline-block;background:var(--crimson);color:#fff;font-size:13px;font-weight:700;padding:3px 10px;border-radius:999px;margin-left:8px;vertical-align:middle}
.buy-box .asof{margin:6px 0 16px;font-size:13px}
.buy-box .fine{font-size:13px;color:var(--muted);margin-top:12px}
.features h2{font-family:var(--font-body);font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.features ul{margin:0;padding-left:20px;color:#E4D7BA}
.features li{margin-bottom:8px;font-size:15px}

/* footer */
.site-footer{background:var(--footer);border-top:1px solid var(--border);margin-top:24px;padding:48px 0 28px;color:var(--muted);font-size:14px}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:32px}
.foot-grid h4{color:var(--cream);font-size:12px;letter-spacing:.16em;text-transform:uppercase;margin:0 0 12px}
.foot-grid ul{list-style:none;margin:0;padding:0}
.foot-grid li{margin-bottom:8px}
.foot-grid a{color:var(--muted);text-decoration:none}
.foot-grid a:hover{color:var(--copper)}
.foot-logo{height:40px;width:auto;margin-bottom:14px}
.disclosure{border-top:1px solid var(--border);margin-top:32px;padding-top:20px;display:flex;flex-direction:column;gap:6px;font-size:13px}
.disclosure strong{color:var(--cream)}

/* prose page */
.prose{max-width:720px;padding:36px 0 64px}
.prose h1{font-size:44px;margin-bottom:18px}
.prose h2{font-size:24px;margin:28px 0 10px}
.prose p{color:#E4D7BA;margin-bottom:14px}

/* responsive */
@media (max-width:1100px){
  .grid{grid-template-columns:repeat(3,1fr)}
  .hero h1{font-size:62px}
}
@media (max-width:860px){
  .wrap{padding:0 16px}
  .header-row{grid-template-columns:auto 1fr auto;min-height:64px;gap:8px}
  .header-left a{display:none}
  .menu-btn,.search-toggle{display:inline-flex}
  .logo{justify-self:center}
  .logo img{height:36px}
  .header-right .search{display:none}
  .site-header.search-open .mobile-search{display:block}
  .mobile-search{display:none;padding:0 16px 12px}
  .mobile-search .search{max-width:none}
  .cat-nav{display:none}
  .drawer{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.55)}
  .drawer.open{display:block}
  .drawer nav{background:var(--header);width:min(320px,86vw);height:100%;padding:16px 20px;overflow:auto;border-right:1px solid var(--border)}
  .drawer ul{list-style:none;margin:16px 0;padding:0}
  .drawer li a{display:block;padding:12px 0;border-bottom:1px solid var(--border);color:var(--cream);text-decoration:none;font-size:17px}
  .drawer .close{margin-left:auto;display:flex}

  .hero{min-height:0;display:block}
  .hero-media{position:relative;inset:auto;width:100%;height:488px}
  .hero-poster,.hero-video{object-position:center top}
  .hero-fade{height:150px}
  .hero-shade{background:linear-gradient(180deg,rgba(5,16,28,.18) 0%,rgba(5,16,28,0) 14%,rgba(5,16,28,0) 40%,rgba(5,16,28,.82) 56%,#05101C 66%)}
  .hero-copy{padding:0 16px 36px;margin-top:-110px}
  .hero h1{font-size:44px}
  .hero .lede{font-size:17px}

  .section{padding:40px 0}
  .section-head h2{font-size:28px}
  .cat-rail{grid-template-columns:repeat(2,1fr);gap:10px}
  .cat-tile{padding:16px 6px;font-size:14px}
  .cat-tile .ci{width:52px;height:52px}
  .cat-tile small{display:none}
  .grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .card-img{--pad:10px}
  .card-body{padding:12px}
  .card-title{font-size:14px}
  .price{font-size:19px}
  .card .btn{min-height:40px;font-size:13px;padding:0 10px}
  .gift-inner,.about{grid-template-columns:1fr;gap:24px}
  .gift-inner h2,.about h2{font-size:30px}
  .gift-grid{grid-template-columns:1fr}
  .trust{grid-template-columns:1fr;gap:16px}
  .page-head h1{font-size:34px}
  .coll{padding-top:16px}
  .shelf-row{grid-template-columns:1fr;gap:12px;margin-bottom:18px}
  .shelf-card{grid-template-columns:120px 1fr;min-height:120px}
  .shelf-media{min-height:120px}
  .shelf-copy{padding:14px}
  .shelf-copy b{font-size:22px}
  .shelf-blurb{display:none}
  .shelf-ai{font-size:10px;left:6px;bottom:6px;padding:2px 6px;white-space:nowrap}
  .cat-hero-inner{grid-template-columns:1fr 140px;gap:16px;align-items:center}
  .cat-hero-copy{padding:18px 0 20px}
  .cat-hero-copy h1{font-size:30px}
  .cat-hero-fig{aspect-ratio:1/1;max-height:160px;max-width:140px;border-radius:var(--radius);border:1px solid var(--border);margin:18px 0}
  .cat-hero-fig .fig-name{display:none}
  .cat-hero-fig figcaption{left:6px;bottom:6px;right:6px;font-size:10px;padding:2px 6px;white-space:nowrap;text-align:center}
          .pdp{grid-template-columns:1fr;gap:24px;padding-top:16px}
  .gallery-main{--pad:20px}
  .pdp-info h1{font-size:21px}
  .foot-grid{grid-template-columns:1fr 1fr}
  .foot-grid>div:first-child{grid-column:1/-1}
}
/* legal pages */
mark.todo{background:#5B3A12;color:#F3E6C8;padding:1px 6px;border-radius:4px}
.prose .meta{color:var(--muted);font-size:14px;margin-top:-8px}
.prose ul{margin:0 0 14px 20px}
.disclosure .tm{font-size:12px}
/* shop controls: slim toolbar on desktop, bottom sheet on mobile */
.coll{padding:22px 0 64px}
.shopbar{margin-bottom:22px}
.sb-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.sb-search{position:relative;flex:1 1 280px;max-width:420px;display:block}
.sb-search svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;pointer-events:none}
.sb-search input{width:100%;height:42px;border-radius:999px;border:1px solid var(--border-ui);background:#0B1D33;color:var(--cream);padding:0 16px 0 42px}
.sb-search input::placeholder{color:#9FB0C2}
.sel{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.sel span{white-space:nowrap}
.sel select{height:42px;min-width:0;border-radius:999px;border:1px solid var(--border-ui);background:#0B1D33;color:var(--cream);padding:0 14px;max-width:220px}
.sb-sort{margin-left:auto}
.sb-filter-btn{display:none}
.sb-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:10px;background:var(--copper);color:var(--navy);font-size:12px;font-weight:700;margin-left:4px;padding:0 5px}
.sb-sheet{margin-top:12px}
.sb-sheet-head,.sb-sheet-foot,.sb-backdrop{display:none}
.sb-fields{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center}
.sb-meta{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin-top:14px;min-height:30px}
.sb-meta .result-count{color:var(--muted);font-size:14px}
.sb-chips{display:flex;flex-wrap:wrap;gap:8px}
.sb-chip{background:var(--surface);border:1px solid var(--border-ui);color:var(--cream);border-radius:999px;padding:3px 12px;font-size:13px;cursor:pointer}
.sb-chip:hover{border-color:var(--copper)}
@media (max-width:860px){
  .sb-row{gap:10px}
  .sb-search{flex:1 1 100%;max-width:none}
  .sb-filter-btn{display:inline-flex}
  .sb-sort{margin-left:auto}
  .sb-sort span{display:none}
  .sb-sheet{position:fixed;left:0;right:0;bottom:0;z-index:80;max-height:82vh;overflow:auto;margin:0;background:var(--header);border-top:1px solid var(--border);border-radius:16px 16px 0 0;padding:18px 20px 20px;transform:translateY(105%);visibility:hidden;transition:transform .2s,visibility .2s}
  .sb-sheet.open{transform:none;visibility:visible;box-shadow:0 -20px 50px rgba(0,0,0,.5)}
  .sb-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font-size:18px}
  .sb-backdrop{display:block;position:fixed;inset:0;background:rgba(2,8,16,.6);z-index:75}
  .sb-backdrop[hidden]{display:none}
  .sb-fields{flex-direction:column;align-items:stretch;gap:14px}
  .sel{flex-direction:column;align-items:stretch;gap:6px}
  .sel select{max-width:none;width:100%}
  .sb-sheet-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}
  body.sheet-open{overflow:hidden}
}
