/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
ul{ margin:0; padding:0; list-style:none; }
p{ margin:0; }
a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
input{ font:inherit; color:inherit; }
[hidden]{ display:none !important; }

/* ---------- tokens ---------- */
:root{
  --bg:#061014;
  --surface:#0B1B1D;
  --surface-2:#123033;
  --accent:#12D9B0;
  --accent-hover:#35E6C1;
  --text:#F5F7F7;
  --text-muted:#9CAEB0;
  --border:#244246;
  --accent-glow: rgba(18,217,176,.20);
  --accent-glow-soft: rgba(18,217,176,.10);
  --overlay: rgba(6,16,20,.86);
  /* secondary warm accent — ONLY for affiliate buy buttons, deal/discount badges and
     rating stars. Never for navigation, links or large surfaces (see CLAUDE.md ## Design system). */
  --deal:#F5B83D;

  --font-display:'Unbounded', 'Arial Narrow', sans-serif;
  --font-body:'Manrope', -apple-system, 'Segoe UI', sans-serif;
  /* system monospace only — kept OUT of the Google Fonts request so the site loads
     just 2 web font families (perf budget); still reads as "mono" for the editorial/tech feel */
  --font-mono:ui-monospace, 'SFMono-Regular', 'SF Mono', Consolas, 'Liberation Mono', monospace;

  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:24px;
  --sp-6:32px; --sp-7:48px; --sp-8:64px; --sp-9:96px;

  --radius-s:6px; --radius-m:10px;
  --container: 1240px;
  --header-h:72px;
}
@media (max-width:560px){ :root{ --header-h:60px; } }

@media (prefers-reduced-motion: no-preference){
  html{ scroll-behavior:smooth; }
}
/* keeps any in-page jump target (anchors, "skip to content", browser find-in-page)
   clear of the sticky header instead of landing underneath it */
html{ scroll-padding-top:calc(var(--header-h) + 1px); }

body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{
  font-family:var(--font-display);
  color:var(--text);
  line-height:1.15;
  text-wrap:balance;
  margin:0;
  font-weight:700;
  overflow-wrap:break-word;
}

/* belt-and-braces: nothing on the page may force horizontal scroll */
html,body{ overflow-x:hidden; max-width:100%; }

a:focus-visible, button:focus-visible, input:focus-visible{
  outline:2px solid var(--accent-hover);
  outline-offset:2px;
  border-radius:4px;
}

::selection{ background:var(--accent-glow); color:var(--text); }

.wrap{
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--sp-5);
}
@media (max-width:640px){ .wrap{ padding:0 var(--sp-4); } }

.eyebrow{
  font-family:var(--font-mono);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent);
}

/* chamfered-corner system: the brand's angular signature, echoing the ZV mark */
.chamfer-lg{ clip-path:polygon(20px 0,100% 0,100% calc(100% - 20px),calc(100% - 20px) 100%,0 100%,0 20px); }
.chamfer-md{ clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px); }
.chamfer-sm{ clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px); }

/* ---------- header ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:var(--overlay);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.header-row{
  display:flex; align-items:center; justify-content:space-between; gap:var(--sp-6);
  height:var(--header-h); position:relative;
}
.brand{ display:flex; align-items:center; gap:var(--sp-3); cursor:pointer; border:0; background:none; }
.logo-mark{
  width:36px; height:36px; flex:none;
  background:var(--surface-2);
  border:1px solid var(--border);
  display:grid; place-items:center;
}
.logo-mark svg{ width:22px; height:18px; }
.wordmark{
  font-family:var(--font-display);
  font-size:1.05rem;
  font-weight:700;
  letter-spacing:.01em;
  color:var(--text);
}
.wordmark span{ color:var(--accent); }

nav.primary-nav{ display:flex; gap:var(--sp-5); flex:1; }
nav.primary-nav a{
  font-size:.9rem; font-weight:600; color:var(--text-muted);
  padding:var(--sp-2) 0; position:relative;
  transition:color .15s ease;
}
nav.primary-nav a:hover{ color:var(--text); }
nav.primary-nav a.is-active{ color:var(--accent); }
nav.primary-nav a.is-active::after{
  content:''; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--accent-hover);
}

.header-actions{ display:flex; align-items:center; gap:var(--sp-3); }
.icon-btn{
  width:36px; height:36px; display:grid; place-items:center;
  border:1px solid var(--border); background:var(--surface);
  color:var(--text-muted); border-radius:var(--radius-s);
  transition:border-color .15s ease, color .15s ease;
}
.icon-btn:hover{ color:var(--accent-hover); border-color:var(--accent); }
.icon-btn svg{ width:16px; height:16px; }

.btn{
  display:inline-flex; align-items:center; gap:var(--sp-2);
  font-family:var(--font-body); font-weight:700; font-size:.88rem;
  padding:11px 20px; border:1px solid transparent; white-space:nowrap;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary{ background:var(--accent); color:var(--bg); }
.btn-primary:hover{ background:var(--accent-hover); box-shadow:0 0 0 4px var(--accent-glow-soft); transform:translateY(-1px); }
.btn-ghost{ background:transparent; border-color:var(--border); color:var(--text); }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent-hover); }
.btn-sm{ padding:8px 14px; font-size:.78rem; }

.nav-toggle{ display:none; }
.nav-close, .nav-search{ display:none; }
@media (max-width:900px){
  /* full-screen panel, not a dropdown: easier to read and tap on a phone */
  nav.primary-nav{
    display:none;
    position:fixed; inset:0; z-index:60;
    flex-direction:column; gap:0;
    background:var(--bg);
    padding:calc(var(--header-h) + var(--sp-5)) var(--sp-5) var(--sp-5);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  nav.primary-nav.is-open{ display:flex; }
  .nav-close{
    display:flex; align-items:center; justify-content:center;
    position:absolute; top:14px; right:14px; width:44px; height:44px;
    border:1px solid var(--border); border-radius:var(--radius-s);
    background:var(--surface); color:var(--text); font-size:1.1rem;
  }
  .nav-search{ display:block; margin-bottom:var(--sp-5); }
  .nav-search input{
    width:100%; padding:14px 16px; font-size:16px; border-radius:var(--radius-s);
    background:var(--surface); border:1px solid var(--border); color:var(--text);
  }
  .nav-search input::placeholder{ color:var(--text-muted); }
  nav.primary-nav a{
    padding:0; min-height:44px; display:flex; align-items:center;
    font-size:1.15rem; border-bottom:1px solid var(--border);
  }
  nav.primary-nav a:last-child{ border-bottom:0; }
  nav.primary-nav a.is-active::after{ display:none; }
  .nav-toggle{ display:grid; }
  .header-search-btn{ display:none; }
}
@media (max-width:560px){ .btn-primary.header-cta{ display:none; } }

/* 44x44 minimum touch targets on touch-sized viewports (mobile + tablet) */
@media (max-width:900px){
  .icon-btn{ width:44px; height:44px; }
  .btn-sm{ min-height:44px; padding:0 16px; }
  .chip{ min-height:44px; padding:0 16px; display:inline-flex; align-items:center; }
}

/* ---------- hero carousel (homepage only, 6.1) — scrolls normally with the page, right under the header ---------- */
:root{ --hc-h:300px; }
.hero-carousel{
  position:relative; height:var(--hc-h);
  overflow:hidden; background:#000; border-bottom:1px solid var(--border);
  touch-action:pan-y;
}
.hc-track{ display:flex; height:100%; transition:transform .5s cubic-bezier(.4,0,.2,1); will-change:transform; }
.hc-slide{ position:relative; flex:0 0 100%; height:100%; }
.hc-slide picture{ position:absolute; inset:0; display:block; }
.hc-slide picture img{ width:100%; height:100%; object-fit:cover; display:block; }
/* caption sits on its own full-width gradient plate, so it stays readable no matter how bright the photo is */
.hc-caption{
  position:absolute; left:0; right:0; bottom:0; z-index:2; padding:64px 24px 22px;
  background:linear-gradient(180deg, rgba(4,10,13,0) 0%, rgba(4,10,13,.55) 45%, rgba(4,10,13,.92) 100%);
}
.hc-caption h2{
  font-family:var(--font-display); font-size:1.3rem; font-weight:700; color:#ffffff;
  margin:0 0 14px; text-shadow:0 2px 10px rgba(0,0,0,.7); max-width:min(70%,560px);
}
.hc-arrow{
  position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px;
  display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:3;
  background:rgba(6,16,20,.55); border:1px solid var(--border); color:var(--text);
  transition:border-color .15s ease, color .15s ease;
}
.hc-arrow:hover{ border-color:var(--accent); color:var(--accent-hover); }
.hc-prev{ left:16px; }
.hc-next{ right:16px; }
.hc-dots{ position:absolute; bottom:16px; right:20px; display:flex; gap:8px; z-index:3; }
.hc-dot{ width:8px; height:8px; border-radius:50%; background:rgba(245,247,247,.35); border:none; cursor:pointer; padding:0; }
.hc-dot.is-active{ background:var(--accent); width:20px; border-radius:4px; transition:width .2s ease, background .2s ease; }

@media (max-width:900px){ :root{ --hc-h:240px; } }
@media (max-width:560px){
  .hc-arrow{ width:28px; height:28px; }
  .hc-dots{ bottom:10px; right:12px; gap:10px; }
  /* dot stays visually small but gets a larger invisible tap area */
  .hc-dot{ width:8px; height:8px; padding:18px; margin:-18px; background-clip:content-box; border-radius:50%; }
  .hc-dot.is-active{ width:20px; }
  .hc-caption{ padding:44px 16px 16px; }
  .hc-caption h2{ font-size:1.05rem; max-width:100%; margin-bottom:10px; }
}

/* ---------- header ad banner ---------- */
.ad-banner-wrap{
  max-width:760px; margin:22px auto 45px; padding:0 16px; box-sizing:border-box;
}
.ad-banner-label{
  display:block; font-family:var(--font-mono); font-size:.65rem; font-weight:600;
  letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted);
  text-align:center; margin-bottom:8px;
}
/* neutral placeholder box — same look for every ad slot on the site, no creative
   images. Swap in a real ad network's <script>/<ins> tag (behind consent) later;
   until then this reserves the exact size and never looks like real content. */
.ad-banner{
  /* --ad-ratio controls the box shape: swap to 728/90 or 320/100 here to move
     to a standard IAB ad-network size without touching any markup. */
  --ad-ratio:5/1;
  position:relative; width:100%; min-height:60px; aspect-ratio:var(--ad-ratio); overflow:hidden;
  background:var(--surface); border:1px dashed var(--border);
  display:flex; align-items:center; justify-content:center;
}
.ad-banner-size{
  font-family:var(--font-mono); font-size:.85rem; font-weight:600;
  letter-spacing:.03em; color:var(--text-muted);
}
/* the top-of-page 728x146-ish banner becomes a 320x100 mobile unit (same 16:5 shape) */
@media (max-width:480px){
  .page-ad .ad-banner{ --ad-ratio:16/5; }
}

/* 300x250 in-content ad unit (reused by the sidebar slot too) */
.inline-ad{ margin:var(--sp-6) auto; padding:0; max-width:none; }
.inline-ad .ad-banner{ --ad-ratio:6/5; max-width:300px; margin:0 auto; }

/* sidebar 300x250 ad slot: sits as the first item in <aside>. The aside itself is
   sticky (top:calc(var(--header-h) + var(--sp-6))) so the ad already clears the
   header, but this extra padding-top is a belt-and-braces cushion so the
   "ADVERTISEMENT" label always has visible breathing room above it and never
   reads as clipped against the header edge while scrolling. */
.sidebar-ad{ margin:0 0 var(--sp-5); padding:var(--sp-3) 0 0; max-width:none; }
.sidebar-ad .ad-banner{ --ad-ratio:6/5; max-width:300px; margin:0 auto; }

/* =================================================================
   COOKIE-CONSENT:START — temporary DIY banner + preferences modal.
   Delete this whole CSS block (down to COOKIE-CONSENT:END), the matching
   HTML block on every page, and the matching JS block in main.js when
   this is replaced by Google's certified CMP. See CLAUDE.md → "Cookie
   consent" for the exact swap-out steps.
   ================================================================= */
.cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:90;
  background:var(--surface); border-top:1px solid var(--border);
  padding:var(--sp-4) var(--sp-5); display:flex; align-items:center; justify-content:space-between;
  gap:var(--sp-5); flex-wrap:wrap;
}
.cookie-banner p{ margin:0; font-size:.85rem; color:var(--text-muted); max-width:70ch; }
.cookie-banner a{ color:var(--accent-hover); }
.cookie-actions{ display:flex; gap:var(--sp-3); flex-shrink:0; flex-wrap:wrap; }

/* one shared button shape so Accept/Reject read as equally weighted, equally sized
   choices — no button is visually de-emphasized to nudge the visitor either way */
.cookie-btn{
  min-height:44px; padding:0 20px; font-weight:700; font-size:.85rem;
  border-radius:var(--radius-s); white-space:nowrap;
}
.cookie-btn-accept{ background:var(--accent); color:var(--bg); border:1px solid var(--accent); }
.cookie-btn-accept:hover{ background:var(--accent-hover); border-color:var(--accent-hover); }
.cookie-btn-reject{ background:var(--surface-2); color:var(--text); border:1px solid var(--text-muted); }
.cookie-btn-reject:hover{ border-color:var(--text); }
.cookie-btn-manage{ background:transparent; color:var(--text-muted); border:1px solid var(--border); }
.cookie-btn-manage:hover{ color:var(--text); border-color:var(--accent); }

@media (max-width:640px){
  /* stays compact — well under 25% of a typical phone screen height */
  .cookie-banner{ padding:var(--sp-3) var(--sp-4); gap:var(--sp-3); max-height:26vh; overflow-y:auto; }
  .cookie-banner p{ font-size:.8rem; flex-basis:100%; }
  .cookie-actions{ width:100%; }
  .cookie-actions .cookie-btn{ flex:1; }
}

/* preferences modal (opened by "Manage") */
.cookie-modal{
  position:fixed; inset:0; z-index:95; display:flex; align-items:center; justify-content:center;
  background:rgba(4,10,13,.7); padding:var(--sp-5);
}
.cookie-modal-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-m);
  width:100%; max-width:480px; max-height:85vh; overflow-y:auto; padding:var(--sp-5);
}
.cookie-modal-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:var(--sp-4); }
.cookie-modal-head h3{ font-family:var(--font-display); font-size:1.1rem; margin:0; }
.cookie-modal-close{
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border); border-radius:var(--radius-s); background:var(--surface-2); color:var(--text);
}
.cookie-cat{ padding:var(--sp-4) 0; border-top:1px solid var(--border); }
.cookie-cat:first-child{ border-top:0; padding-top:0; }
.cookie-cat-head{ display:flex; align-items:center; justify-content:space-between; gap:var(--sp-3); }
.cookie-cat-head strong{ font-size:.92rem; }
.cookie-cat p{ margin:var(--sp-1) 0 0; font-size:.82rem; color:var(--text-muted); }
/* pill toggle switch, 44px tall tap target even though the visible pill is smaller */
.cookie-toggle{
  position:relative; flex:none; width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  background:none; border:none;
}
.cookie-toggle span{
  display:block; width:38px; height:22px; border-radius:999px; background:var(--border); position:relative;
  transition:background .15s ease;
}
.cookie-toggle span::after{
  content:''; position:absolute; top:2px; left:2px; width:18px; height:18px; border-radius:50%;
  background:var(--text); transition:transform .15s ease;
}
.cookie-toggle[aria-checked="true"] span{ background:var(--accent); }
.cookie-toggle[aria-checked="true"] span::after{ transform:translateX(16px); background:var(--bg); }
.cookie-toggle-locked span{ background:var(--accent-glow-soft); }
.cookie-toggle-locked span::after{ transform:translateX(16px); background:var(--accent-hover); opacity:.7; }
.cookie-modal-actions{ display:flex; gap:var(--sp-3); margin-top:var(--sp-5); flex-wrap:wrap; }
.cookie-modal-actions .cookie-btn{ flex:1; }
/* COOKIE-CONSENT:END */

/* ---------- sticky mobile ad anchor (320x50, optional, mobile only) ---------- */
.ad-sticky-mobile{
  display:none; position:fixed; left:0; right:0; bottom:0; z-index:55;
  height:50px; background:var(--surface); border-top:1px dashed var(--border);
  align-items:center; justify-content:center; gap:8px;
}
.ad-sticky-mobile span{ font-family:var(--font-mono); font-size:.72rem; color:var(--text-muted); }
.ad-sticky-close{
  position:absolute; right:6px; top:50%; transform:translateY(-50%);
  width:32px; height:32px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border); border-radius:50%; background:var(--surface-2); color:var(--text-muted);
}
@media (max-width:768px){ .ad-sticky-mobile{ display:flex; } }
body.ad-dismissed .ad-sticky-mobile{ display:none !important; }
/* leaves room at the bottom of the viewport so the anchor ad never sits on top of page content */
@media (max-width:768px){ body:not(.ad-dismissed){ padding-bottom:50px; } }

/* ---------- demo-content labelling ---------- */
.demo-banner{
  background:rgba(214,167,86,.1); border:1px solid #6b5a33; color:#e8c98a;
  font-family:var(--font-mono); font-size:.78rem; text-align:center;
  padding:10px 16px; margin:0;
}
.demo-tag{
  display:inline-flex; align-items:center; gap:5px;
  font-family:var(--font-mono); font-size:.62rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:#e8c98a; background:rgba(214,167,86,.14);
  border:1px solid #6b5a33; padding:3px 8px; border-radius:999px;
}
/* in normal flow above the title, never floating over the cover/score-badge —
   an absolute top-left stamp used to overlap those on narrow cards */
.review-body .demo-tag{ margin-bottom:6px; }
.hero-grid .demo-tag{ margin-bottom:10px; }
/* a static (non-absolute) row for badges that sit inline in normal content flow, e.g. article-head */
.badge-row-inline{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.article-head .badge-row-inline{ margin-bottom:12px; }
.article-head .eyebrow{
  display:inline-flex; align-items:center;
  padding:3px 8px; border:1px solid var(--border); border-radius:999px;
  background:rgba(18,217,176,.08);
}
/* on cards, the category label and the demo badge share one row so they never overlap,
   however long either label is */
.badge-row{ position:absolute; top:var(--sp-4); left:var(--sp-4); z-index:3; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
/* higher-specificity than ".cover .cover-tag" (3 classes vs 2) so this reliably wins
   regardless of source order — without it the badges silently re-overlap */
.cover .badge-row .cover-tag, .cover .badge-row .demo-tag{ position:static; top:auto; left:auto; }

/* ---------- hero ---------- */
.hero{ padding:var(--sp-8) 0 var(--sp-7); border-bottom:1px solid var(--border); }
.hero-grid{
  display:grid; grid-template-columns:1.15fr .85fr; gap:var(--sp-8); align-items:center;
}
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; gap:var(--sp-6); } }

.hero-title{ font-size:clamp(2rem, 1.3rem + 2.6vw, 3.25rem); margin:var(--sp-4) 0 var(--sp-4); }
.hero-dek{ color:var(--text-muted); font-size:1.05rem; max-width:52ch; }
.hero-meta{ display:flex; align-items:center; flex-wrap:wrap; row-gap:var(--sp-2); gap:var(--sp-3); margin:var(--sp-5) 0; font-size:.85rem; color:var(--text-muted); }
.avatar{
  width:28px; height:28px; border-radius:50%; background:var(--surface-2);
  border:1px solid var(--border); display:grid; place-items:center;
  font-family:var(--font-mono); font-size:.7rem; line-height:1; color:var(--accent-hover); flex:none;
}
.dot{ width:3px; height:3px; border-radius:50%; background:var(--text-muted); flex:none; }
.hero-actions{ display:flex; gap:var(--sp-3); flex-wrap:wrap; }

.cover{
  position:relative; aspect-ratio:4/3; overflow:hidden; display:block;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 1px, transparent 1px 26px),
    linear-gradient(155deg, var(--surface-2) 0%, var(--surface) 62%);
  border:1px solid var(--border);
}
.cover::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(100deg, transparent 40%, var(--accent-glow-soft) 48%, transparent 56%);
}
.cover .cover-tag{
  position:absolute; top:var(--sp-4); left:var(--sp-4);
  background:var(--overlay); border:1px solid var(--border);
  padding:5px 10px; font-family:var(--font-mono); font-size:.68rem; font-weight:600;
  letter-spacing:.1em; color:var(--accent-hover); text-transform:uppercase; z-index:2;
}
.cover .cover-stat{
  position:absolute; bottom:var(--sp-4); left:var(--sp-4); right:var(--sp-4); z-index:2;
  display:flex; justify-content:space-between; align-items:flex-end;
  font-family:var(--font-mono); color:var(--text-muted); font-size:.72rem;
}
.cover .cover-stat strong{ display:block; color:var(--text); font-size:1.4rem; font-family:var(--font-display); }
.cover-alt-1{ background:repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 1px, transparent 1px 26px), linear-gradient(200deg, var(--surface-2) 0%, var(--surface) 65%); }

/* photo fill for any .cover / .review-cover / .related-thumb that contains a <picture> */
.cover picture, .review-cover picture, .related-thumb picture{
  position:absolute; inset:0; display:block; z-index:0;
}
.cover picture img, .review-cover picture img, .related-thumb picture img{
  width:100%; height:100%; object-fit:cover; display:block;
}

/* ---------- section shell ---------- */
section.block{ padding:var(--sp-8) 0; border-bottom:1px solid var(--border); }
.block-head{ display:flex; align-items:baseline; justify-content:space-between; gap:var(--sp-4); margin-bottom:var(--sp-6); }
.block-head h2{ font-size:1.5rem; }
.view-all{ font-family:var(--font-mono); font-size:.75rem; font-weight:600; color:var(--text-muted); letter-spacing:.04em; white-space:nowrap; }
.view-all:hover{ color:var(--accent-hover); }

.chip-row{ display:flex; gap:var(--sp-3); overflow-x:auto; padding-bottom:var(--sp-2); margin-bottom:var(--sp-2); }
.chip{
  font-family:var(--font-mono); font-size:.72rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  padding:8px 14px; border:1px solid var(--border); color:var(--text-muted); white-space:nowrap;
  background:var(--surface); transition:border-color .15s ease, color .15s ease;
  flex:none;
}
.chip:hover{ color:var(--text); border-color:var(--accent); }
.chip.is-active{ color:var(--bg); background:var(--accent); border-color:var(--accent); }

/* ---------- cards ---------- */
.card-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:var(--sp-5); }
@media (max-width:1000px){ .card-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .card-grid{ grid-template-columns:1fr; } }

/* used where a grid always holds 3 items (e.g. "More Guides Like This") so the
   layout never leaves an empty 4th column */
.card-grid-3{ grid-template-columns:repeat(3,1fr); }
@media (max-width:900px){ .card-grid-3{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .card-grid-3{ grid-template-columns:1fr; } }

.card{
  position:relative;
  background:var(--surface); border:1px solid var(--border);
  display:flex; flex-direction:column; transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  cursor:pointer;
}
.card:hover{ border-color:var(--accent); transform:translateY(-3px); box-shadow:0 12px 28px -16px var(--accent-glow); }
.card .cover{ aspect-ratio:16/10; }
.card-body{ padding:var(--sp-4); display:flex; flex-direction:column; gap:var(--sp-2); flex:1; }
.card-title{ font-family:var(--font-display); font-size:1rem; font-weight:600; line-height:1.35; }
.card-dek{ color:var(--text-muted); font-size:.85rem; line-height:1.5; }
.card-meta{ margin-top:auto; padding-top:var(--sp-3); display:flex; align-items:center; gap:var(--sp-2); font-family:var(--font-mono); font-size:.7rem; color:var(--text-muted); }

/* review cards */
.review-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--sp-5); }
@media (max-width:900px){ .review-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .review-grid{ grid-template-columns:1fr; } }
.review-card{
  position:relative;
  background:var(--surface); border:1px solid var(--border); padding:var(--sp-5);
  display:flex; gap:var(--sp-4); cursor:pointer; transition:border-color .18s ease, transform .18s ease;
}
.review-card:hover{ border-color:var(--accent); transform:translateY(-2px); }
.review-cover{
  position:relative; flex:none; width:56px; height:72px; overflow:hidden; display:block;
  background:var(--surface-2); border:1px solid var(--border);
}
@media (max-width:560px){ .review-cover{ display:none; } }

/* this numeric score is the site's rating display (no star icons), so it takes the
   --deal accent — same role as "rating stars" in the approved-uses list */
.score-badge{
  flex:none; width:64px; height:64px; background:var(--surface-2); border:1px solid var(--deal);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.score-badge b{ font-family:var(--font-display); font-size:1.3rem; color:var(--deal); line-height:1; }
.score-badge span{ font-family:var(--font-mono); font-size:.55rem; letter-spacing:.06em; color:var(--text-muted); margin-top:3px; }
.review-body{ flex:1; min-width:0; }
.review-body h3{ font-size:1rem; margin-bottom:var(--sp-1); }
.review-verdict{ color:var(--text-muted); font-size:.85rem; margin:var(--sp-2) 0 var(--sp-3); }
.tag-row{ display:flex; gap:var(--sp-2); flex-wrap:wrap; }
.tag{
  font-family:var(--font-mono); font-size:.65rem; letter-spacing:.05em; text-transform:uppercase;
  color:var(--text-muted); border:1px solid var(--border); padding:3px 8px; display:inline-block;
}
.tag:hover{ color:var(--accent-hover); border-color:var(--accent); }

/* two column: guides list + sidebar */
.split{ display:grid; grid-template-columns:1.6fr 1fr; gap:var(--sp-7); align-items:start; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; } }

/* sidebar stays put while the page scrolls, pinned under the sticky header */
.split > aside, .article-layout > aside{
  position:sticky;
  top:calc(var(--header-h) + var(--sp-6));
  align-self:start;
}
@media (max-width:900px){
  .split > aside, .article-layout > aside{ position:static; top:auto; }
}

.guide-row{
  display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:var(--sp-4);
  padding:var(--sp-4) 0; border-bottom:1px solid var(--border); cursor:pointer;
}
.guide-row:first-child{ padding-top:0; }
.guide-row:last-child{ border-bottom:0; }
.guide-num{ font-family:var(--font-mono); color:var(--accent); font-size:.85rem; width:28px; }
.guide-row h3{ font-size:.98rem; font-weight:600; transition:color .15s ease; }
.guide-row:hover h3{ color:var(--accent-hover); }
.guide-sub{ color:var(--text-muted); font-size:.8rem; margin-top:2px; }
.guide-meta{ font-family:var(--font-mono); font-size:.7rem; color:var(--text-muted); text-align:right; white-space:nowrap; }

.side-card{ background:var(--surface); border:1px solid var(--border); padding:var(--sp-5); margin-bottom:var(--sp-5); }
.side-card h3{ font-size:.95rem; margin-bottom:var(--sp-4); display:flex; align-items:center; justify-content:space-between; }

/* ---------- affiliate deal card ----------
   No prices ship in the markup — see CLAUDE.md "Affiliate rules" for the
   live-price hook. Whole card is the affiliate link; rel/target live on the <a>. */
.deal-card{
  display:flex; align-items:center; gap:var(--sp-3);
  padding:var(--sp-3) 0; border-bottom:1px solid var(--border);
}
.deal-card:last-of-type{ border-bottom:0; padding-bottom:0; }
.deal-card:first-of-type{ padding-top:0; }
.deal-thumb{
  width:48px; height:48px; flex:none; border-radius:var(--radius-s);
  background:var(--surface-2); border:1px solid var(--border);
}
.deal-info{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.deal-name{
  font-size:.85rem; font-weight:600; color:var(--text);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.deal-cat{ font-family:var(--font-mono); font-size:.65rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:.05em; }
/* where a live price would render once the API hook is wired up — see CLAUDE.md */
.deal-price-live{ font-family:var(--font-mono); font-size:.72rem; color:var(--accent-hover); margin-top:1px; }
.deal-price-live time{ display:block; color:var(--text-muted); font-size:.62rem; margin-top:1px; }
/* affiliate "check price" cta — one of the three approved uses of --deal; always dark text on the amber fill */
.deal-cta{
  display:inline-flex; align-items:center; justify-content:center; min-height:36px; flex:none;
  background:var(--deal); color:var(--bg); font-weight:700; font-size:.72rem;
  padding:6px 12px; border-radius:var(--radius-s); white-space:nowrap;
}
.deal-card:hover .deal-cta{ opacity:.9; }
@media (max-width:480px){
  .deal-card{ flex-wrap:wrap; }
  .deal-card .deal-cta{ flex:1 0 100%; justify-content:center; margin-top:var(--sp-2); }
}

/* small, reusable affiliate-disclosure notice — required wherever affiliate
   links appear (sidebar widgets and the top of any article that has one) */
.affiliate-disclosure{
  font-size:.78rem; color:var(--text-muted); background:var(--surface-2);
  border:1px solid var(--border); border-radius:var(--radius-s);
  padding:var(--sp-2) var(--sp-3); margin-bottom:var(--sp-4);
}
.affiliate-disclosure a{ color:var(--accent-hover); }

.newsletter-card{
  background:linear-gradient(155deg, var(--surface-2), var(--surface));
  border:1px solid var(--accent);
}
.newsletter-card p{ color:var(--text-muted); font-size:.85rem; margin-bottom:var(--sp-4); }
.field-row{ display:flex; gap:var(--sp-2); }
.field-row input{
  flex:1; min-width:0; background:var(--bg); border:1px solid var(--border); color:var(--text);
  padding:10px 12px; font-size:.85rem;
}
.field-row input::placeholder{ color:var(--text-muted); }
.field-row input:hover{ border-color:var(--accent); }
@media (max-width:560px){ .field-row input{ font-size:16px; } }

/* CTA banner */
.cta-banner{
  background:var(--surface); border:1px solid var(--border);
  padding:var(--sp-7); display:flex; align-items:center; justify-content:space-between; gap:var(--sp-6);
  position:relative; overflow:hidden;
}
.cta-banner::before{
  content:''; position:absolute; inset:0;
  background:radial-gradient(420px 220px at 85% 30%, var(--accent-glow-soft), transparent 70%);
}
.cta-banner > *{ position:relative; z-index:1; }
.cta-banner h2{ font-size:1.5rem; margin-bottom:var(--sp-2); }
.cta-banner p{ color:var(--text-muted); }
@media (max-width:700px){ .cta-banner{ flex-direction:column; align-items:flex-start; } }

/* ---------- footer ---------- */
footer{ padding-block:var(--sp-6); }
.footer-top{ display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:var(--sp-6); padding-bottom:var(--sp-7); border-bottom:1px solid var(--border); }
/* 820 (not 760) so common tablet widths like 768 also get the roomier 2-column step */
@media (max-width:820px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; gap:var(--sp-7); } }
.footer-brand p{ color:var(--text-muted); font-size:.85rem; margin-top:var(--sp-3); max-width:32ch; }
.footer-col h4{ font-family:var(--font-mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted); margin-bottom:var(--sp-4); }
.footer-col ul{ display:flex; flex-direction:column; gap:var(--sp-3); }
.footer-col a{ font-size:.88rem; color:var(--text); }
.footer-col a:hover{ color:var(--accent-hover); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; gap:var(--sp-4); padding-top:var(--sp-6); font-size:.78rem; color:var(--text-muted); flex-wrap:wrap; }
.social-row{ display:flex; gap:var(--sp-2); }

/* ---------- article page ---------- */
.breadcrumb{ display:flex; gap:var(--sp-2); align-items:center; font-family:var(--font-mono); font-size:.75rem; color:var(--text-muted); padding:var(--sp-5) 0; }
.breadcrumb a:hover{ color:var(--accent-hover); }
.breadcrumb .sep{ color:var(--border); }

.article-head{ padding-bottom:var(--sp-6); }
.article-head h1{ font-size:clamp(1.8rem, 1.2rem + 2.2vw, 2.75rem); margin:var(--sp-4) 0 var(--sp-4); }
.article-dek{ color:var(--text-muted); font-size:1.05rem; max-width:65ch; margin-bottom:var(--sp-5); }
.article-cover{ aspect-ratio:auto; width:100%; height:420px; margin-bottom:var(--sp-6); }
@media (max-width:560px){ .article-cover{ height:220px; } }

.article-layout{ display:grid; grid-template-columns:1.7fr 1fr; gap:var(--sp-8); padding-bottom:var(--sp-8); align-items:start; }
@media (max-width:900px){ .article-layout{ grid-template-columns:1fr; } }

.prose > * + *{ margin-top:var(--sp-5); }
.prose h2{ font-size:1.35rem; margin-top:var(--sp-7); }
.prose p{ color:#DCE4E4; font-size:1rem; line-height:1.75; max-width:66ch; }
.prose strong{ color:var(--text); }
.pull-quote{
  border-left:3px solid var(--accent); padding:var(--sp-2) 0 var(--sp-2) var(--sp-5);
  font-family:var(--font-display); font-size:1.15rem; font-weight:600; color:var(--text); max-width:56ch;
}
.boss-list{ display:flex; flex-direction:column; border:1px solid var(--border); }
.boss-item{ display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:var(--sp-4); align-items:center; padding:var(--sp-4); border-bottom:1px solid var(--border); }
.boss-item:last-child{ border-bottom:0; }
.boss-item strong{ font-family:var(--font-display); font-size:.92rem; }
.boss-item p{ color:var(--text-muted); font-size:.82rem; margin-top:2px; }
.diff{
  font-family:var(--font-mono); font-size:.65rem; letter-spacing:.05em; text-transform:uppercase;
  padding:4px 9px; white-space:nowrap; flex:none;
}
.diff-hard{ color:#FF9F7A; border:1px solid #5A3A2B; background:rgba(255,159,122,.06); }
.diff-mid{ color:var(--accent-hover); border:1px solid var(--border); background:var(--accent-glow-soft); }
.diff-extreme{ color:#FF7A87; border:1px solid #5A2B32; background:rgba(255,122,135,.06); }
@media (max-width:480px){
  .boss-item{ grid-template-columns:1fr; gap:var(--sp-2); }
  .boss-item .diff{ justify-self:start; }
}

.article-tags{ display:flex; gap:var(--sp-2); flex-wrap:wrap; margin-top:var(--sp-7); padding-top:var(--sp-6); border-top:1px solid var(--border); }

.author-card{ display:flex; gap:var(--sp-3); align-items:center; }
.author-card > div{ flex:1; min-width:0; }
.author-card .avatar{ width:44px; height:44px; font-size:.85rem; }
.author-card strong{ display:block; font-size:.9rem; }
.author-card span{ display:block; color:var(--text-muted); font-size:.75rem; margin-top:2px; }

.related-row{ display:flex; gap:var(--sp-3); padding:var(--sp-3) 0; border-bottom:1px solid var(--border); cursor:pointer; }
.related-row:last-child{ border-bottom:0; padding-bottom:0; }
.related-row:first-child{ padding-top:0; }
.related-row > div:last-child{ flex:1; min-width:0; }
.related-thumb{ width:64px; height:48px; flex:none; }
.related-row h4{ font-size:.85rem; font-weight:600; line-height:1.35; transition:color .15s ease; }
.related-row:hover h4{ color:var(--accent-hover); }
.related-row .card-meta{ padding-top:var(--sp-1); }

/* full-bleed divider on the OUTER section, same as every other section.block —
   padding comes from .block; only the border direction is overridden here so
   it reads as a divider consistent with the rest of the page, not inset by
   .wrap's own padding the way it was when both classes lived on one element */
.related-grid{ border-top:1px solid var(--border); border-bottom:0; }

/* ---------- games covered grid ---------- */
.games-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:var(--sp-4); }
@media (max-width:1000px){ .games-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .games-grid{ grid-template-columns:1fr; } }
.game-tile{
  background:var(--surface); border:1px solid var(--border); padding:var(--sp-4);
  display:flex; align-items:center; gap:var(--sp-3);
  transition:border-color .18s ease, transform .18s ease;
}
.game-tile:hover{ border-color:var(--accent); transform:translateY(-2px); }
.game-tile-icon{
  width:44px; height:44px; flex:none; display:grid; place-items:center;
  background:var(--surface-2); border:1px solid var(--border);
  font-family:var(--font-display); font-weight:700; font-size:.9rem; color:var(--accent-hover);
}
.game-tile-body{ flex:1; min-width:0; }
.game-tile-body h3{ font-size:.92rem; font-weight:600; line-height:1.3; }
.game-tile-body .count{ font-family:var(--font-mono); font-size:.68rem; color:var(--text-muted); margin-top:3px; display:block; }

/* ---------- trending ---------- */
.trend-row{
  display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:var(--sp-4);
  padding:var(--sp-4) 0; border-bottom:1px solid var(--border); cursor:pointer;
}
.trend-row:first-child{ padding-top:0; }
.trend-row:last-child{ border-bottom:0; }
.trend-rank{
  font-family:var(--font-display); font-weight:700; font-size:1.1rem; color:var(--accent-hover);
  width:32px;
}
.trend-row h3{ font-size:.98rem; font-weight:600; transition:color .15s ease; }
.trend-row:hover h3{ color:var(--accent-hover); }
.trend-sub{ color:var(--text-muted); font-size:.8rem; margin-top:2px; }
.trend-views{ font-family:var(--font-mono); font-size:.7rem; color:var(--text-muted); text-align:right; white-space:nowrap; }

/* ---------- footer categories ---------- */
.footer-categories{ display:flex; flex-wrap:wrap; gap:var(--sp-2); margin-top:var(--sp-4); }
.footer-categories a{
  font-family:var(--font-mono); font-size:.68rem; letter-spacing:.03em;
  border:1px solid var(--border); padding:5px 10px; color:var(--text-muted);
  transition:border-color .15s ease, color .15s ease;
}
.footer-categories a:hover{ color:var(--accent-hover); border-color:var(--accent); }
.footer-note{ font-family:var(--font-mono); font-size:.68rem; color:var(--text-muted); margin-top:var(--sp-3); }

/* ---------- category / hub page header ---------- */
.page-hero{ padding:var(--sp-7) 0 var(--sp-6); border-bottom:1px solid var(--border); }
.page-hero h1{ font-size:clamp(1.8rem, 1.2rem + 2vw, 2.5rem); margin-top:var(--sp-3); }
.page-hero p{ color:var(--text-muted); max-width:60ch; margin-top:var(--sp-3); }

/* ---------- game hub sections (games.html) ---------- */
.hub-section{ padding:var(--sp-7) 0; border-bottom:1px solid var(--border); }
.hub-section:last-child{ border-bottom:0; }
.hub-head{ display:flex; align-items:center; gap:var(--sp-4); margin-bottom:var(--sp-5); flex-wrap:wrap; }
.hub-head .game-tile-icon{ width:52px; height:52px; font-size:1rem; }
.hub-head h2{ font-size:1.3rem; }
.hub-head .count{ font-family:var(--font-mono); font-size:.72rem; color:var(--text-muted); }
.hub-blurb{ color:var(--text-muted); font-size:.9rem; max-width:70ch; margin-bottom:var(--sp-5); }
.hub-links{ display:flex; flex-direction:column; }

/* ---------- simple legal page prose ---------- */
.legal-prose{ max-width:72ch; padding:var(--sp-6) 0 var(--sp-8); }
.legal-prose h2{ font-size:1.1rem; margin-top:var(--sp-6); }
.legal-prose p, .legal-prose li{ color:#DCE4E4; font-size:1rem; line-height:1.7; margin-top:var(--sp-3); }
.legal-prose ul{ padding-left:1.2em; list-style:disc; }
.legal-updated{ font-family:var(--font-mono); font-size:.72rem; color:var(--text-muted); }

