/* ==========================================================================
   Outlanders Hub — unofficial Monster Hunter Outlanders launch guide
   Content-first, mobile-first. Light theme by default, optional dark theme.
   No official assets are used: all visuals are CSS/SVG only.
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --read: 732px;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 17, 14, 0.05);
  --shadow: 0 2px 6px rgba(20, 17, 14, 0.05), 0 22px 44px -28px rgba(20, 17, 14, 0.35);
}

:root[data-theme="light"] {
  --bg: #faf8f4;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --panel-2: #f4f1ec;
  --panel-3: #ebe6de;
  --border: #e6e0d6;
  --border-strong: #d4ccbe;
  --text: #1b1815;
  --text-dim: #5d574d;
  --text-faint: #8b8376;
  --accent: #d8501f;
  --accent-deep: #a83d14;
  --accent-wash: rgba(216, 80, 31, 0.10);
  --teal: #0d8f7d;
  --teal-wash: rgba(13, 143, 125, 0.10);
  --ok: #1f8f52;
  --warn: #a8760a;
  --info: #2f6fe4;
  --hero-1: #2b2016;
  --hero-2: #4a3220;
  --hero-ink: #f7f1e8;
}

:root[data-theme="dark"] {
  --bg: #131210;
  --bg-2: #181614;
  --panel: #1b1916;
  --panel-2: #232019;
  --panel-3: #2c2820;
  --border: #312b23;
  --border-strong: #463d31;
  --text: #f2ede5;
  --text-dim: #b7ac9c;
  --text-faint: #80786b;
  --accent: #ff7d44;
  --accent-deep: #c2561f;
  --accent-wash: rgba(255, 125, 68, 0.13);
  --teal: #35c6ad;
  --teal-wash: rgba(53, 198, 173, 0.13);
  --ok: #41c47e;
  --warn: #e0a83a;
  --info: #6ea8ff;
  --hero-1: #0f0d0b;
  --hero-2: #2a1d13;
  --hero-ink: #f7f1e8;
}

/* ==========================================================================
   Base
   ========================================================================== */

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }
svg { display: block; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: var(--text);
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 38px; height: 38px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 21px; height: 21px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 16.5px; letter-spacing: -0.2px; }
.brand-sub { font-size: 11px; color: var(--text-faint); letter-spacing: 0.2px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-wrap: wrap;
}
.main-nav a {
  display: inline-block;
  padding: 7px 11px;
  border-radius: var(--radius-full);
  color: var(--text-dim);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--text); background: var(--panel-2); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--accent); background: var(--accent-wash); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }

.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-dim);
  cursor: pointer;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn svg { width: 18px; height: 18px; }

.menu-btn { display: none; }

@media (max-width: 940px) {
  .main-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px 16px 16px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .main-nav[hidden] { display: none; }
  .main-nav a { padding: 11px 14px; border-radius: var(--radius-sm); font-size: 16px; }
  .menu-btn { display: grid; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* On the hero the ghost button needs contrast against the dark panel */
.hero .btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--hero-ink); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  margin: 22px 0 8px;
  padding: 44px 40px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--hero-1), var(--hero-2));
  color: var(--hero-ink);
  box-shadow: var(--shadow);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 340px at 88% -10%, rgba(255, 170, 90, 0.30), transparent 62%),
    radial-gradient(560px 300px at 6% 118%, rgba(28, 160, 140, 0.24), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 5px 13px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--hero-ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 125, 68, 0.25);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -1px;
  font-weight: 800;
  color: #fff;
}
.hero p.lede {
  margin: 0 0 22px;
  font-size: 17.5px;
  line-height: 1.65;
  color: rgba(247, 241, 232, 0.86);
  max-width: 640px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Countdown */
.countdown {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.cd-cell {
  min-width: 84px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}
.cd-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 27px;
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.cd-label {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(247, 241, 232, 0.66);
}
.cd-note { margin: 12px 0 0; font-size: 12.5px; color: rgba(247, 241, 232, 0.6); }

/* ==========================================================================
   Sections & cards
   ========================================================================== */

.section { margin: 40px 0; }
.section-head { margin: 0 0 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.section-head h2 {
  margin: 0;
  font-size: clamp(21px, 2.4vw, 27px);
  letter-spacing: -0.5px;
  font-weight: 800;
}
.section-head p { margin: 0; color: var(--text-dim); font-size: 15px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 18px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.card-top { display: flex; align-items: center; gap: 10px; }
.card-ico {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--accent-wash);
  color: var(--accent);
}
.card-ico svg { width: 18px; height: 18px; }
.card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--text-faint);
}
.card h3 { margin: 2px 0 0; font-size: 18px; letter-spacing: -0.3px; line-height: 1.32; }
.card p { margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }
.card-more { margin-top: auto; padding-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--accent); }

.card.is-featured {
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border-color: var(--border-strong);
}

/* Quick facts strip */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
}
.fact-k { font-size: 12px; letter-spacing: 0.7px; text-transform: uppercase; color: var(--text-faint); }
.fact-v { margin-top: 3px; font-size: 20px; font-weight: 800; letter-spacing: -0.3px; }
.fact-v small { font-size: 13px; font-weight: 500; color: var(--text-dim); }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb { margin: 20px 0 14px; font-size: 13px; color: var(--text-faint); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--border-strong); }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ==========================================================================
   Article layout
   ========================================================================== */

.doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 306px;
  gap: 40px;
  align-items: start;
  padding-bottom: 20px;
}
@media (max-width: 1000px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .doc-aside { order: -1; }
}

.article-head { margin-bottom: 8px; }
.article-head h1 {
  margin: 0 0 14px;
  font-size: clamp(27px, 3.6vw, 41px);
  line-height: 1.14;
  letter-spacing: -0.9px;
  font-weight: 800;
}
.lede { margin: 0 0 16px; font-size: 18.5px; line-height: 1.62; color: var(--text-dim); }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-faint);
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Prose typography */
.prose { font-size: 17px; line-height: 1.75; color: var(--text); }
.prose > * { max-width: var(--read); }
.prose h2 {
  margin: 40px 0 12px;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.24;
  letter-spacing: -0.5px;
  font-weight: 800;
  scroll-margin-top: 84px;
}
.prose h3 {
  margin: 28px 0 8px;
  font-size: 19.5px;
  letter-spacing: -0.2px;
  font-weight: 700;
  scroll-margin-top: 84px;
}
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
.prose a:hover { text-decoration-color: var(--accent); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--panel-2);
  color: var(--text-dim);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.prose th, .prose td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose thead th { background: var(--panel-2); font-size: 13px; letter-spacing: 0.3px; text-transform: uppercase; color: var(--text-dim); }
.prose tbody tr:last-child td { border-bottom: none; }
.prose tbody tr:nth-child(even) { background: var(--panel-2); }

/* Callouts */
.callout {
  max-width: var(--read);
  margin: 22px 0;
  padding: 16px 18px 16px 20px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--info);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-dim);
}
.callout p { margin: 0 0 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--text); }
.callout-title { display: block; margin-bottom: 4px; font-weight: 700; color: var(--text); letter-spacing: 0.2px; }
.callout-verify { border-left-color: var(--warn); }
.callout-verify .callout-title { color: var(--warn); }
.callout-tip { border-left-color: var(--ok); }
.callout-tip .callout-title { color: var(--ok); }
.callout-warn { border-left-color: var(--accent); }
.callout-warn .callout-title { color: var(--accent); }

/* Key facts box at top of guides */
.keybox {
  max-width: var(--read);
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--panel-2);
  border: 1px solid var(--border);
}
.keybox h2 { margin: 0 0 10px !important; font-size: 14px !important; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-faint) !important; }
.keybox dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 15px; }
.keybox dt { color: var(--text-faint); }
.keybox dd { margin: 0; color: var(--text); }
@media (max-width: 560px) {
  .keybox dl { grid-template-columns: 1fr; gap: 2px 0; }
  .keybox dd { margin-bottom: 8px; }
}

/* ==========================================================================
   Aside: TOC + ads
   ========================================================================== */

.doc-aside { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 1000px) { .doc-aside { position: static; } }

.toc {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  font-size: 14px;
}
.toc h2 { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.9px; text-transform: uppercase; color: var(--text-faint); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin: 1px 0; }
.toc a {
  display: block;
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  line-height: 1.45;
  border-left: 2px solid transparent;
}
.toc a:hover { background: var(--panel-2); color: var(--text); text-decoration: none; }
.toc a.is-active { color: var(--accent); background: var(--accent-wash); border-left-color: var(--accent); }
.toc .toc-h3 a { padding-left: 20px; font-size: 13px; color: var(--text-faint); }

/* Ad placeholders — swap the inner markup for your ad network's snippet */
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--read);
  min-height: 96px;
  margin: 26px 0;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.ad-slot span { opacity: 0.75; }
.ad-aside { max-width: none; min-height: 250px; margin: 0; }

/* Related guides */
.related { margin: 34px 0 0; padding-top: 24px; border-top: 1px solid var(--border); }
.related h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.9px; text-transform: uppercase; color: var(--text-faint); }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.related-list a {
  display: block;
  padding: 12px 15px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
}
.related-list a:hover { border-color: var(--accent); text-decoration: none; }
.related-list .rk { display: block; font-size: 11px; letter-spacing: 0.7px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 2px; }
.related-list .rt { font-weight: 600; font-size: 15.5px; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq { max-width: var(--read); }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  margin: 0 0 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 18px;
  font-weight: 600;
  font-size: 16.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq .faq-body { padding: 14px 18px 18px; color: var(--text-dim); font-size: 16px; line-height: 1.7; }
.faq .faq-body p { margin: 0 0 10px; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Guide index table of contents (on hub pages)
   ========================================================================== */

.hub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: var(--read); }
.hub-list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
}
.hub-list a:hover { border-color: var(--accent); text-decoration: none; }
.hub-list .num { font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); flex: none; }
.hub-list .txt { font-weight: 600; }
.hub-list .desc { display: block; margin-top: 3px; font-weight: 400; font-size: 14.5px; color: var(--text-dim); }

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal { max-width: var(--read); }
.legal h2 { margin-top: 34px; }
.legal .updated { color: var(--text-faint); font-size: 14px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  margin-top: 56px;
  padding: 40px 0 28px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 780px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-disclaimer {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  max-width: 42ch;
}
.footer-note { margin: 0; font-size: 12.5px; color: var(--text-faint); max-width: 46ch; line-height: 1.6; }
.footer-col h3 { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.9px; text-transform: uppercase; color: var(--text-faint); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 7px; }
.footer-col a { color: var(--text-dim); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ==========================================================================
   Cookie consent
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 60;
  width: min(720px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.cookie-banner p { margin: 0; font-size: 14px; color: var(--text-dim); }
.cookie-banner a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-banner .btn { padding: 8px 16px; font-size: 14px; }
@media (max-width: 620px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; }
}

/* ==========================================================================
   Misc
   ========================================================================== */

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-full);
  background: var(--panel);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}
.pill b { color: var(--text); font-weight: 700; }

.timeline { max-width: var(--read); list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 20px 26px;
  border-left: 2px solid var(--border);
  margin-left: 6px;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px; top: 3px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}
.timeline .t-date { font-family: var(--font-mono); font-size: 13px; color: var(--accent); font-weight: 600; }
.timeline .t-title { font-weight: 700; margin: 2px 0 3px; }
.timeline .t-desc { color: var(--text-dim); font-size: 15px; margin: 0; }

.lead-note { color: var(--text-faint); font-size: 14px; }

@media print {
  .site-header, .site-footer, .doc-aside, .cookie-banner, .ad-slot { display: none; }
  body { background: #fff; }
}
