/* onlyfansstatistics.com — base stylesheet
   Brand: data-cyan + deep-navy. Inter for body, JetBrains Mono for numbers.
*/

:root {
  --bg: #0a1424;
  --bg-2: #0f1c30;
  --bg-3: #14253f;
  --line: #1d3151;
  --line-strong: #2a4670;
  --ink: #e8eef9;
  --ink-2: #b8c5db;
  --ink-3: #7c8aa3;
  --accent: #ffc247;
  --accent-2: #f0a81c;
  --accent-deep: #9a6a00;
  --good: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --max: 1200px;
  --pad: clamp(16px, 4vw, 32px);
  /* colour emoji last in both stacks: creator names keep their emoji (21.10.2026); without these, Linux/Android
     and the monospace stack fall back to black-and-white glyphs or empty boxes */
  --font-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, var(--font-emoji);
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace, var(--font-emoji);
}

* { box-sizing: border-box; }

/* Text must break instead of overflowing its box. Measured across all 2,858
   pages at 375px on 2026-09-03: Thai has no word spaces, so the hero tagline
   rendered 1360px wide inside a 343px column; Dutch, Danish, Norwegian and
   Russian compounds overflowed headings, taglines and stat-pill labels.
   break-word only breaks when a word cannot fit, so normal text is unchanged. */
body { overflow-wrap: break-word; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); text-decoration: underline; }

/* WCAG 1.4.1 — links inside prose must be distinguishable beyond colour.
   Inline links in body copy, lists, tables, and source lists get an
   underline; structural links (nav, cards, footer columns, buttons) keep
   their decoration off because their layout already signals interactivity. */
.article-body p a,
.article-body li a,
.article-body strong a,
.article-body em a,
.tldr li a,
.sources-list a,
.data-table td a,
.footer-disclaimer a,
.chart-foot a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 194, 71, 0.55);
}

.article-body p a:hover,
.article-body li a:hover,
.tldr li a:hover,
.sources-list a:hover,
.data-table td a:hover,
.footer-disclaimer a:hover,
.chart-foot a:hover {
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); margin-top: 2em; }
h3 { font-size: 1.25rem; margin-top: 1.5em; }

p { color: var(--ink-2); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 64ch; }

.num, .stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-feature-settings: "tnum";
  color: var(--accent);
}

/* Layout */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 20, 36, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== Featured Hero (chart + stat pills) — FINAL v2 ===== */
.hero.hero-v2 {
  padding-top: clamp(28px, 3.4vw, 44px);
  padding-bottom: clamp(20px, 2.4vw, 32px);
}
.hero-meta-row {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
/* Segmented pill (variant D, owner pick 24.08.2026): cyan eyebrow segment +
   divider + darker update segment with the pulse dot; stacks into a two-row
   card on mobile. Markup shape comes from _tools/restyle-meta-pill.js. */
.hero-meta-pill {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  max-width: 100%;
}
.hero-meta-pill .meta-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
}
.hero-meta-pill .meta-upd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-inline-start: 1px solid var(--line);
  background: rgba(20, 37, 63, 0.55);
}
/* stragglers only — the segmented markup drops the "·" separator */
.hero-meta-pill .meta-sep { display: none; }
.hero-meta-pill .meta-label,
.hero-meta-pill .meta-date {
  color: var(--ink-2, #b8c5db);
  font-weight: 500;
}
.hero-meta-pill .meta-date { white-space: nowrap; }
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--good, #4ade80);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); opacity: 1; }
  50%      { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); opacity: 0.85; }
}
@media (max-width: 600px) {
  .hero-meta-pill {
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
    font-size: 0.66rem;
    letter-spacing: 0.3px;
  }
  .hero-meta-pill .meta-eyebrow { padding: 7px 12px 6px; }
  .hero-meta-pill .meta-upd {
    padding: 6px 12px 7px;
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
}
.hero.hero-v2 h1 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 4px 0;
  max-width: none;
  white-space: normal;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
.hero.hero-v2 .hero-tagline {
  font-size: clamp(14px, 1.3vw, 15.5px);
  color: var(--ink-2, #b8c5db);
  margin: 0 0 12px;
  line-height: 1.45;
}
.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 8px;
}
.stat-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}
.stat-pill {
  background: rgba(255, 194, 71, 0.06);
  border: 1px solid rgba(255, 194, 71, 0.18);
  border-radius: 10px;
  padding: 9px 14px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, background 0.2s;
}
.stat-pill:hover {
  border-color: rgba(255, 194, 71, 0.4);
  background: rgba(255, 194, 71, 0.1);
}
.stat-pill-value {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  color: #ffc247;
  line-height: 1.1;
}
.stat-pill-label {
  font-size: 10.5px;
  color: #7c8aa3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-top: 3px;
}
.hero-chart-wrap {
  background: rgba(15, 28, 48, 0.4);
  border: 1px solid rgba(255, 194, 71, 0.12);
  border-radius: 12px;
  padding: 10px 14px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-chart-wrap img {
  width: 100%;
  height: auto;
  /* 42vh/420px squeezed the 1200px charts to ~750px — unreadable (owner,
     2026-08-24). Desktop gets real space; small screens keep their caps and
     the lightbox below covers detail. */
  max-height: clamp(260px, 56vh, 560px);
  object-fit: contain;
  display: block;
}
/* Click-to-zoom for every chart image (site.js chart-lightbox module). SVGs
   are vectors, so the fullscreen view is lossless. */
img[src*="/assets/charts/"] { cursor: zoom-in; }
.chart-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(4, 10, 20, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.chart-lightbox img {
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  cursor: zoom-out;
  background: #0f1c30;
}
/* "Click to zoom" badge, top-right of the chart. site.js writes the localized
   text into data-zoom-hint on .hero-chart-wrap / .research-chart wrappers;
   chart-block images stay cursor-only (their header row owns that corner). */
[data-zoom-hint] { position: relative; }
[data-zoom-hint]::after {
  content: attr(data-zoom-hint);
  position: absolute;
  top: 16px;
  inset-inline-end: 20px;
  z-index: 2;
  pointer-events: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #dff2ff;
  /* Longhand on purpose: the minifier strips spaces next to parens, and
     "rgba(…) url(…)" in the shorthand would collapse into an invalid token. */
  background-color: rgba(10, 22, 40, 0.78);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2336e1ff'%20stroke-width='2.5'%20stroke-linecap='round'%3E%3Ccircle%20cx='10.5'%20cy='10.5'%20r='7'/%3E%3Cpath%20d='M21%2021l-5.2-5.2'/%3E%3Cpath%20d='M10.5%207.5v6M7.5%2010.5h6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 9px center;
  background-size: 13px 13px;
  padding: 7px 12px 7px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 194, 71, 0.28);
}
@media (max-width: 480px) {
  [data-zoom-hint]::after {
    font-size: 0;
    padding: 13px;
    background-position: center;
  }
}
.hero-chart-caption {
  font-size: 11px;
  color: #7c8aa3;
  margin: 6px 0 0;
  text-align: center;
  letter-spacing: 0.2px;
}
@media (max-width: 819px) {
  .hero-chart-wrap {
    margin-inline: calc(var(--pad, 16px) * -1);
    border-inline: 0;
    border-radius: 0;
    padding: 10px 10px 12px;
  }
  .hero-chart-wrap img { max-height: clamp(180px, 32vh, 280px); }
}
@media (max-width: 480px) {
  .stat-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-chart-wrap img { max-height: clamp(160px, 28vh, 220px); }
}

/* Desktop: push nav-primary + header-actions to the right side
   (grouped — not space-between'd across the full row).
   Breakpoint 1180px since 20.09.2026: ten menu items overflowed every tablet width. */
@media (min-width: 1181px) {
  .nav-primary { margin-inline-start: auto; gap: 22px; }
  .header-actions { margin-inline-start: 24px; }
}

/* On mobile, lang-button matches hamburger size exactly */
@media (max-width: 1180px) {
  .header-actions { margin-inline-start: auto; }
  .header-actions .lang-current {
    height: 40px;
    min-width: 56px;
    padding: 0 8px;
    box-sizing: border-box;
  }
  .header-actions .lang-current .lang-label { display: none; }
  .header-actions .lang-current .lang-globe { display: none; }
  .header-actions .lang-current .lang-flag { margin: 0; }
  .header-actions .nav-toggle {
    height: 40px;
    padding: 0 10px;
    box-sizing: border-box;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand:hover { color: var(--ink); text-decoration: none; }

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-block;
}

.brand-name { color: var(--ink); }
.brand-name b { color: var(--accent); }

.nav-primary {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
}

.nav-primary a {
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-primary a:hover { color: var(--accent); text-decoration: none; }

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle svg { display: block; width: 22px; height: 22px; }
.nav-toggle .nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .brand-name { font-size: 0.95rem; }

  /* Mobile nav: robust display-based toggle.
     translateY(-110%) was leaving a visible bar on some mobile browsers
     (Edge mobile in particular) — display: none/flex avoids that entirely. */
  .nav-primary {
    display: none;
    position: fixed;
    top: 64px;
    inset-inline: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px var(--pad) 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    z-index: 49;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-primary.is-open { display: flex; }
  .nav-primary a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav-primary a:last-child { border-bottom: none; }
}

/* Hero */
.hero {
  padding: clamp(64px, 10vw, 128px) 0 clamp(48px, 8vw, 80px);
  background:
    radial-gradient(ellipse at top, rgba(255, 194, 71, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.hero h1 { max-width: 18ch; }
.hero .lede { margin-top: 1.25rem; max-width: 58ch; }

/* Stat cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 2rem;
}

.stat-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.15s ease;
}

.stat-card:hover { border-color: var(--line-strong); }

.stat-card .stat-num {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-2);
  font-weight: 500;
}

.stat-card .stat-source {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--ink-3);
  font-family: var(--font-mono);
}

/* Footer */
.site-footer {
  margin-top: clamp(64px, 10vw, 128px);
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.footer-grid {
  display: grid;
  /* 2x4 layout: 4 columns on desktop wraps to 2 rows of 4 columns each */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 28px;
  margin-bottom: 32px;
}

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

.footer-col h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  font-weight: 600;
  margin: 0 0 12px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--ink-2); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-3);
}

.footer-disclaimer {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--ink-3);
  max-width: 80ch;
  line-height: 1.5;
}

/* === Canonical 6-Col Footer v3.2 === */
.footer-grid-v3 {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  padding: 48px 0 32px;
}
.footer-grid-v3 .footer-col {
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.footer-grid-v3 .footer-col-title {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--ink, #b8c5db);
  margin: 0 0 8px; font-family: var(--font-mono, ui-monospace, monospace);
  display: flex; align-items: center; gap: 8px;
}
.footer-grid-v3 .footer-col-title .dot {
  display: inline-block; width: 8px; height: 8px; background: #a78bfa;
  border-radius: 50%; box-shadow: 0 0 0 4px rgba(167,139,250,0.18);
}
.footer-grid-v3 .footer-col-title.research { color: #a78bfa; }
.footer-grid-v3 .footer-col-title.tools { color: #ffc247; }
.footer-grid-v3 .badge-new, .footer-grid-v3 .badge-live, .footer-grid-v3 .badge-star {
  font-size: 0.55em; padding: 1px 5px; border-radius: 3px; font-weight: 700;
  letter-spacing: 0.05em; vertical-align: middle; margin-inline-start: 4px;
}
.footer-grid-v3 .badge-new { background: #a78bfa; color: #0c1b2e; }
.footer-grid-v3 .badge-live { background: #4ade80; color: #0c1b2e; }
.footer-grid-v3 .badge-star { background: #fbbf24; color: #0c1b2e; }
.footer-grid-v3 .footer-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.footer-grid-v3 .footer-list li { line-height: 1.4; margin: 0; }
.footer-grid-v3 .footer-list a {
  color: var(--ink-2, #b8c5db); text-decoration: none; font-size: 0.86rem;
}
.footer-grid-v3 .footer-list a:hover { color: var(--accent, #ffc247); text-decoration: underline; }
.footer-grid-v3 .footer-list-compact { gap: 4px; }
.footer-grid-v3 .footer-list-compact a { font-size: 0.82rem; }
.footer-grid-v3 .footer-list-bold a strong { color: #fff; }
.footer-grid-v3 .footer-list-secondary { gap: 4px; opacity: 0.75; }
.footer-grid-v3 .footer-list-secondary a { font-size: 0.78rem; }
.footer-grid-v3 .footer-link-cta {
  display: inline-block; margin-top: 10px; color: #a78bfa;
  font-size: 0.84rem; font-weight: 600; text-decoration: none;
  font-family: var(--font-mono, ui-monospace, monospace);
}
.footer-grid-v3 .footer-link-cta:hover { text-decoration: underline; }
.footer-grid-v3 .footer-divider {
  border: 0; border-top: 1px solid rgba(255,255,255,0.08); margin: 14px 0 10px;
}
.footer-grid-v3 .footer-subhead {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-3, #7c8aa3); font-family: var(--font-mono, ui-monospace, monospace);
  font-weight: 600; margin: 10px 0 4px;
}
.footer-grid-v3 .footer-brand .brand {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: inherit; margin-bottom: 4px;
}
.footer-grid-v3 .footer-brand .brand-mark { width: 28px; height: 28px; }
.footer-grid-v3 .footer-brand .brand-name {
  font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink, #e8eef9);
}
.footer-grid-v3 .footer-brand .brand-name b { color: var(--accent, #ffc247); font-weight: 700; }
.footer-grid-v3 .footer-brand .footer-disclaimer {
  font-size: 0.78rem; color: var(--ink-3, #7c8aa3); line-height: 1.5;
  margin: 4px 0 8px; max-width: none;
}
.footer-grid-v3 .footer-social {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
}
.footer-grid-v3 .footer-social span {
  font-size: 0.65rem; color: var(--ink-3, #7c8aa3); letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600; margin-inline-end: 4px;
}
.footer-grid-v3 .footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 6px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  color: var(--ink-2, #b8c5db); text-decoration: none;
}
.footer-grid-v3 .footer-social a:hover {
  background: rgba(255, 194, 71,0.1); border-color: rgba(255, 194, 71,0.3);
  color: var(--accent, #ffc247);
}
.footer-grid-v3 .footer-copyright {
  font-size: 0.72rem; color: var(--ink-3, #7c8aa3); margin-top: 16px;
  font-family: var(--font-mono, ui-monospace, monospace);
}
.footer-grid-v3 .footer-research {
  background: rgba(167,139,250,0.06); border: 1px solid rgba(167,139,250,0.22);
  border-radius: 12px; padding: 20px 22px;
}
.footer-grid-v3 .footer-tools {
  background: rgba(255, 194, 71,0.05); border: 1px solid rgba(255, 194, 71,0.22);
  border-radius: 12px; padding: 20px 22px;
}
.footer-meta-v3 {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem; color: var(--ink-3, #7c8aa3);
  font-family: var(--font-mono, ui-monospace, monospace);
}
/* Tablet: 6 → 3 (Brand row, then 5 cols distributed) */
@media (max-width: 1200px) {
  .footer-grid-v3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .footer-grid-v3 .footer-brand    { grid-column: 1 / 4; grid-row: 1; }
  .footer-grid-v3 .footer-research { grid-column: 1 / 2; grid-row: 2; }
  .footer-grid-v3 .footer-tools    { grid-column: 2 / 3; grid-row: 2; }
  .footer-grid-v3 .footer-data     { grid-column: 3 / 4; grid-row: 2; }
  .footer-grid-v3 .footer-audience { grid-column: 1 / 3; grid-row: 3; }
  .footer-grid-v3 .footer-site     { grid-column: 3 / 4; grid-row: 3; }
}
/* Phone: 1 col stacked */
@media (max-width: 640px) {
  .footer-grid-v3 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-grid-v3 .footer-col { grid-column: auto; grid-row: auto; }
}

/* Coming-soon variant */
.coming-soon {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.coming-soon h1 { margin-bottom: 0.5em; }

.coming-soon .preview-stats {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  width: 100%;
}

.coming-soon .preview-stats h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  font-weight: 600;
  margin-top: 0;
}

/* ─────────────────────────────────────────
   Article / content-page layout
   ───────────────────────────────────────── */

.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  margin-top: 24px;
}

@media (max-width: 960px) {
  /* minmax(0, 1fr), never a bare 1fr: a bare fr track has an automatic
     minimum of min-content, so one wide child (a table, a long token) grows
     the whole column past the container and the page body ends up wider than
     the hero. That shipped sitewide until 2026-09-03. */
  .article { grid-template-columns: minmax(0, 1fr); }
  .article-aside { order: -1; }
}

.article-body p,
.article-body li {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.7;
}

.article-body p { margin: 0 0 1em; max-width: 72ch; }
.article-body strong { color: var(--ink); }

.article-body ul, .article-body ol {
  max-width: 72ch;
  padding-inline-start: 1.5em;
}

.article-body li { margin-bottom: 0.4em; }

.article-body h2 {
  scroll-margin-top: 80px;
  margin-top: 2.5em;
  padding-top: 0.5em;
  border-top: 1px solid var(--line);
}

.article-body h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 1.5em;
}

.article-body h3 {
  scroll-margin-top: 80px;
  color: var(--accent);
  font-size: 1.1rem;
  text-transform: none;
}

/* TL;DR box */
.tldr {
  background: linear-gradient(135deg, rgba(255, 194, 71, 0.06), rgba(255, 194, 71, 0.02));
  border: 1px solid var(--line-strong);
  border-inline-start: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 32px;
}

.tldr h2 {
  margin: 0 0 12px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-family: var(--font-mono);
  border: none;
  padding: 0;
}

.tldr ul { margin: 0; padding-inline-start: 1.2em; }
.tldr li { color: var(--ink); font-size: 0.95rem; margin-bottom: 0.4em; }
.tldr li strong { color: var(--accent); font-family: var(--font-mono); }

/* Inline-aside / sidebar */
.aside-block {
  position: sticky;
  top: 80px;
}

.aside-block h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 600;
  margin: 0 0 12px;
  font-family: var(--font-mono);
}

/* Table of contents */
.toc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 24px;
}

.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--ink-2);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}

.toc a:hover { color: var(--accent); text-decoration: none; }
.toc a.active { color: var(--accent); }

/* Cite block */
.cite-block {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 24px;
}

.cite-block h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 600;
  margin: 0 0 12px;
  font-family: var(--font-mono);
}

.cite-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cite-btn {
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  padding: 5px 10px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cite-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cite-btn.copied {
  border-color: var(--good);
  color: var(--good);
}

.cite-out {
  margin-top: 10px;
  padding: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink);
  line-height: 1.5;
  word-break: break-word;
  display: none;
}

.cite-out.visible { display: block; }

/* ─── Chart pills (owner, 28 Sep 2026): zoom top-right, share bottom-right, INSIDE the block, one recipe.
   site.js appends <span class="chart-pill is-zoom"> to every chart host; fix-chart-share-inside.js moves the
   .chart-embed-cta (the Share button) inside the host and stamps data-chart-pills. The share pill sits above
   everything in the block (z-index) so it is always clickable; the zoom pill is pointer-transparent so the
   click reaches the image (lightbox). ─── */
.chart-pill,
[data-chart-pills] .ofs-embed {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 14px 0 12px;
  border-radius: 999px;
  background-color: rgba(10, 22, 40, 0.82);
  border: 1px solid rgba(255, 194, 71, 0.32);
  color: #dff2ff;
  font-family: var(--font-body, system-ui, sans-serif); font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; line-height: 1;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background-color 0.12s, border-color 0.12s;
}
[data-chart-pills] .ofs-embed { cursor: pointer; -webkit-appearance: none; appearance: none; }
[data-chart-pills] .ofs-embed:hover, [data-chart-pills] .ofs-embed[aria-expanded="true"] { background-color: rgba(255, 194, 71, 0.18); border-color: rgba(255, 194, 71, 0.65); }
.chart-pill svg, [data-chart-pills] .ofs-embed svg { width: 14px; height: 14px; flex: none; color: #ffc247; }
.chart-pill.is-zoom { position: absolute; top: 16px; inset-inline-end: 20px; z-index: 2; pointer-events: none; }
.hero-chart-wrap, .chart-figure, .research-chart, .chart-block { position: relative; } /* class-only: build-best-pages emits <figure class="chart-block"> */
/* Layout (29 Sep 2026, owner: the absolute pill sat on the divider with no air): the block is a two-column grid.
   Everything spans both columns; the caption / foot row takes column 1 and the Share pill column 2 of the SAME row,
   vertically centred on the text. No absolute positioning and no reserved widths, so long labels (Udostępnij,
   Κοινοποίηση) and wrapped captions cannot collide with the pill, and the pill keeps the block's own padding as
   its distance to the edges. z-index keeps it above anything else in the block. */
[data-chart-pills] { display: grid; grid-template-columns: minmax(0, 1fr) auto; /* minified to "minmax(0,1fr)auto" — still two tokens, verified in the browser */ column-gap: 16px; row-gap: 0; align-items: center; align-content: center; }
[data-chart-pills] > * { grid-column: 1 / -1; min-width: 0; }
[data-chart-pills] > figcaption, [data-chart-pills] > .chart-foot, [data-chart-pills] > .research-chart-caption { grid-column: 1; }
[data-chart-pills] > .chart-embed-cta { grid-column: 2; position: relative; z-index: 5; margin: 8px 0 0 !important; text-align: end !important; line-height: 0; }
[data-chart-pills].hero-chart-wrap { padding-bottom: 12px; }
[data-chart-pills] > .hero-chart-caption { margin-top: 8px; }
/* chart-block: the foot row owns a divider — the pill's cell continues it and both cells stretch to one height */
[data-chart-pills].chart-block { align-items: stretch; column-gap: 0; }
[data-chart-pills].chart-block > .chart-foot { min-height: 30px; box-sizing: content-box; }
[data-chart-pills].chart-block > .chart-embed-cta { display: flex; align-items: center; margin: 16px 0 0 !important; padding: 12px 0 0 16px; padding-inline: 16px 0; border-top: 1px solid var(--line); }
/* chart-block: the zoom pill joins the header row instead of floating over the title */
.chart-block .chart-pill.is-zoom { position: static; pointer-events: auto; cursor: zoom-in; margin-inline-start: auto; }
@media (max-width: 480px) {
  .chart-pill.is-zoom span { display: none; }
  .chart-pill.is-zoom { padding: 0 9px; gap: 0; }
  [data-chart-pills] { column-gap: 10px; }
}
/* the old ::after hint is replaced by the pill element */
[data-chart-pills][data-zoom-hint]::after { content: none; }

/* Chart container */
.chart-block {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.chart-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.chart-meta {
  font-size: 0.78rem;
  color: var(--ink-3);
  font-family: var(--font-mono);
}

.chart-canvas-wrap {
  position: relative;
  height: 320px;
  width: 100%;
}

@media (max-width: 600px) {
  .chart-canvas-wrap { height: 260px; }
}

.chart-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: var(--bg-3);
}

.chart-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-3);
}

.chart-foot a {
  color: var(--ink-3);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}

.chart-foot a:hover { color: var(--accent); }

/* Embed-this widget */
.embed-block {
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 16px 0 24px;
}

.embed-block summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  list-style: none;
  position: relative;
  padding-inline-end: 24px;
}

.embed-block summary::-webkit-details-marker { display: none; }
.embed-block summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 400;
}

.embed-block[open] summary::after { content: "−"; }

.embed-code {
  display: block;
  margin-top: 12px;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.5;
}

.embed-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* Data tables */
.data-table-wrap {
  overflow-x: auto;
  /* min-width: 0 keeps a wide table from contributing its min-content width
     to a flex/grid parent — without it the table scrolls AND still stretches
     the column that contains it. */
  min-width: 0;
  max-width: 100%;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th,
.data-table td {
  padding: 10px 14px;
  text-align: start;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  background: var(--bg-2);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--bg-2); }

.data-table .num,
.data-table td.num {
  text-align: end;
  font-family: var(--font-mono);
  color: var(--ink);
  font-weight: 500;
}

.data-table .delta-up { color: var(--good); }
.data-table .delta-down { color: var(--bad); }

/* Sources list */
.sources-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  font-size: 0.88rem;
}

.sources-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.sources-list li:last-child { border-bottom: none; }
.sources-list .src-id {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-inline-end: 8px;
}

/* Internal-link grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.related-card {
  display: block;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.15s ease;
}

.related-card:hover {
  border-color: var(--accent);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-2px);
}

.related-card .rc-eyebrow {
  font-size: 0.72rem;
  color: var(--accent);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.related-card .rc-title {
  display: block;
  font-weight: 600;
  margin-top: 4px;
  color: var(--ink);
}

.related-card .rc-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-top: 4px;
}

/* Editorial pick — affiliate / sister-site block for prominent placement
   inside article body. Sits between sections; clearly distinguished from
   normal content but not spammy. */
.editorial-pick {
  background: linear-gradient(135deg, rgba(255, 194, 71, 0.10), rgba(255, 194, 71, 0.02));
  border: 1px solid var(--line-strong);
  border-inline-start: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 32px 0;
}

.editorial-pick h3 {
  color: var(--accent);
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  scroll-margin-top: 80px;
  border: none;
  padding: 0;
}

.editorial-pick p {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.55;
}

.editorial-pick p:last-child { margin-bottom: 0; }

.editorial-pick a {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 194, 71, 0.55);
}

.editorial-pick a:hover {
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

.editorial-pick .ep-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg-3);
  color: var(--ink-3);
  padding: 2px 8px;
  border-radius: 4px;
  margin-inline-start: 8px;
  vertical-align: middle;
  font-family: var(--font-mono);
}

/* Updated stamp */
.updated-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--ink-3);
  margin: 12px 0 0;
}

.updated-stamp::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--good);
  border-radius: 50%;
}

/* Embed page (iframe-only) */
body.embed-page {
  background: var(--bg);
  margin: 0;
  padding: 16px;
  min-height: 100vh;
}

body.embed-page .chart-block {
  margin: 0;
  background: var(--bg-2);
}

body.embed-page .chart-foot a {
  color: var(--accent);
}

/* Footnote refs */
sup.fn-ref {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.75em;
  margin-inline-start: 1px;
}

sup.fn-ref a { color: var(--accent); }

/* ─── Language selector (flag-based, 28 langs) ─────────────────────────── */
.lang-selector { position: relative; display: inline-flex; }
.lang-current {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; background: transparent; border: 1px solid var(--line);
  border-radius: 8px; color: var(--ink-2); font: inherit; font-size: 14px;
  cursor: pointer; transition: border-color 0.15s, color 0.15s;
}
.lang-current:hover, .lang-current:focus-visible { color: var(--ink); border-color: var(--line-strong); outline: none; }
.lang-current .lang-globe { width: 14px; height: 14px; opacity: 0.85; }
.lang-current .lang-caret { width: 10px; height: 10px; opacity: 0.6; transition: transform 0.15s; }
.lang-current[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-current .lang-flag { width: 22px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); inset-inline-end: 0;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 6px; margin: 0; list-style: none;
  box-shadow: var(--shadow); z-index: 1000; min-width: 200px;
  max-height: 360px; overflow-y: auto;
}
.lang-menu[hidden] { display: none; }
.lang-menu li { margin: 0; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: 6px;
  text-decoration: none; color: var(--ink-2); font-size: 14px;
  white-space: nowrap;
}
.lang-menu a:hover, .lang-menu a:focus-visible {
  background: rgba(255, 194, 71, 0.08); color: var(--ink); outline: none;
}
.lang-menu a[aria-current="true"], .lang-menu a.is-active { color: var(--accent); font-weight: 600; background: rgba(255, 194, 71, 0.04); }
.lang-menu .lang-flag { width: 22px; height: 16px; flex-shrink: 0; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }
.lang-menu .lang-native { flex: 1; }
/* Custom scrollbar for the lang dropdown */
.lang-menu::-webkit-scrollbar { width: 8px; }
.lang-menu::-webkit-scrollbar-track { background: transparent; }
.lang-menu::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.lang-menu::-webkit-scrollbar-thumb:hover { background: var(--line-strong); }
@media (max-width: 760px) {
  .lang-selector { margin-inline-start: auto; }
  .lang-menu { inset-inline-end: -6px; min-width: 200px; max-height: 320px; }
}

/* ============ Reading Progress Bar (bounce-rate reducer) ============ */
.reading-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 9999;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.reading-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent, #ffc247) 0%, #a78bfa 100%);
  box-shadow: 0 0 8px rgba(255, 194, 71, 0.45);
  transition: width 80ms linear;
  will-change: width;
}
.reading-progress-label {
  position: fixed;
  top: 72px;
  inset-inline-end: 14px;
  background: rgba(15, 28, 48, 0.86);
  color: var(--ink-2, #b8c5db);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 12px;
  z-index: 49;
  border: 1px solid rgba(255, 194, 71, 0.22);
  letter-spacing: 0.04em;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
.reading-progress-label.visible {
  opacity: 1;
  transform: translateY(0);
}
/* RTL: inset-inline-end puts the label on the left automatically */
/* Mobile: hide label (bar alone is enough, no header conflict) */
@media (max-width: 760px) {
  .reading-progress-label { display: none !important; }
}
/* Print: hide */
@media print {
  .reading-progress, .reading-progress-label { display: none !important; }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reading-progress-bar { transition: none; }
  .reading-progress-label { transition: opacity 0ms; }
}

/* ============ Inline Income Calculator Widget (bounce-rate reducer) ============ */
.ic-inline-card {
  background: linear-gradient(135deg, #062a26 0%, #0a3a35 60%, #053028 100%);
  border: 1.5px solid rgba(20, 184, 166, 0.4);
  border-radius: 16px;
  padding: 28px;
  margin: 32px auto;
  max-width: 720px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.ic-inline-card::before {
  content: "";
  position: absolute;
  top: -60px;
  inset-inline-end: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.22), transparent 70%);
  pointer-events: none;
}
.ic-inline-card::after {
  content: "";
  position: absolute;
  top: 0; inset-inline: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, #14b8a6 50%, transparent 100%);
  opacity: 0.6;
}
.ic-inline-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.ic-inline-icon {
  font-size: 32px;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(20, 184, 166, 0.5));
}
.ic-inline-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0 0 3px;
}
.ic-inline-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono, ui-monospace, monospace);
}
.ic-inline-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.ic-inline-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 80px;
  align-items: center;
  gap: 14px;
}
.ic-inline-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}
.ic-inline-val {
  text-align: end;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-weight: 700;
  color: #2dd4bf;
  font-size: 0.92rem;
}
.ic-inline-row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
.ic-inline-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  cursor: pointer;
  border: 2px solid #062a26;
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 120ms;
}
.ic-inline-row input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.ic-inline-row input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  cursor: pointer;
  border: 2px solid #062a26;
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.5);
}
.ic-inline-row select {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  color: #e8eef9;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.92rem;
  font-family: inherit;
  grid-column: 2 / 4;
}
.ic-inline-row select:focus {
  outline: none;
  border-color: #14b8a6;
}
.ic-inline-result {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(20, 184, 166, 0.2);
  position: relative;
  z-index: 2;
}
.ic-inline-monthly {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ic-inline-label-sm {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(45, 212, 191, 0.85);
  font-weight: 700;
  font-family: var(--font-mono, ui-monospace, monospace);
}
.ic-inline-amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.ic-inline-amount {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.ic-inline-suffix {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono, ui-monospace, monospace);
}
.ic-inline-after {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 2px;
  font-family: var(--font-mono, ui-monospace, monospace);
}
.ic-inline-pct {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  text-align: end;
}
.ic-inline-pct b {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: #14b8a6;
  line-height: 1;
  text-shadow: 0 0 18px rgba(20, 184, 166, 0.4);
}
.ic-inline-top {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-weight: 700;
}
.ic-inline-of {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono, ui-monospace, monospace);
}
.ic-inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 10px 18px;
  background: rgba(20, 184, 166, 0.18);
  border: 1px solid rgba(20, 184, 166, 0.55);
  border-radius: 8px;
  color: #2dd4bf;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: var(--font-mono, ui-monospace, monospace);
  letter-spacing: 0.02em;
  transition: background 160ms, transform 160ms;
  position: relative;
  z-index: 2;
}
.ic-inline-cta:hover {
  background: rgba(20, 184, 166, 0.32);
  transform: translateX(2px);
  text-decoration: none;
}
/* RTL */
html[dir="rtl"] .ic-inline-cta:hover { transform: translateX(-2px); }
html[dir="rtl"] .ic-inline-pct { align-items: flex-start; text-align: left; }
html[dir="rtl"] .ic-inline-val { text-align: left; }
/* Mobile */
@media (max-width: 640px) {
  .ic-inline-card { padding: 20px; }
  .ic-inline-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ic-inline-row select { grid-column: auto; }
  .ic-inline-val { text-align: start; }
  .ic-inline-result { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ic-inline-pct { align-items: flex-start; text-align: start; }
}

/* ============ Sticky Live-Tracker Widget (bounce-rate reducer) ============ */
.live-tracker {
  position: fixed;
  bottom: 20px;
  inset-inline-end: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15, 28, 48, 0.94);
  border: 1px solid rgba(74, 222, 128, 0.34);
  border-radius: 14px;
  padding: 11px 16px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.78rem;
  z-index: 9997;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(74, 222, 128, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 280ms ease, transform 280ms ease;
  max-width: calc(100% - 40px);
}
.live-tracker.visible {
  opacity: 1;
  transform: translateY(0);
}
.live-tracker.dismissed {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.lt-dot-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4ade80;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
}
.lt-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80, 0 0 14px rgba(74, 222, 128, 0.6);
  animation: lt-pulse 1.8s ease-in-out infinite;
}
@keyframes lt-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.78); }
}
.lt-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
  padding-inline-start: 12px;
}
.lt-stat b {
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  transition: color 240ms;
}
.lt-stat-money b {
  color: #4ade80;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.35);
}
.lt-stat span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-top: 1px;
}
.lt-link {
  color: var(--accent, #ffc247);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  padding-inline-start: 8px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.02em;
}
.lt-link:hover {
  text-decoration: underline;
  color: #5ae9ff;
}
.lt-dismiss {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  font-size: 1.3rem;
  padding: 0 2px;
  line-height: 1;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 160ms, background 160ms;
}
.lt-dismiss:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}
/* RTL: inset-inline-end mirrors the widget to the left automatically */
/* Mobile: compact pill bottom-right, whole widget is clickable */
@media (max-width: 640px) {
  .live-tracker {
    bottom: 12px;
    inset-inline-end: 12px;
    inset-inline-start: auto;
    gap: 8px;
    padding: 7px 10px 7px 12px;
    font-size: 0.7rem;
    border-radius: 999px;
    max-width: calc(100vw - 24px);
  }
  .lt-dot-wrap { font-size: 0.55rem; gap: 4px; }
  .lt-dot { width: 7px; height: 7px; }
  .lt-stat { padding-inline-start: 8px; gap: 0; }
  .lt-stat b { font-size: 0.78rem; }
  .lt-stat span { font-size: 0.5rem; letter-spacing: 0.05em; }
  /* On phone, hide creators count (keep just $ ticker + LIVE) */
  .live-tracker .lt-stat:not(.lt-stat-money) { display: none; }
  /* Hide explicit link text — entire widget becomes a tap target */
  .lt-link { display: none; }
  /* Make whole widget feel tappable via cursor + visible "tracker" hint via the link wrapping */
  .live-tracker { cursor: pointer; }
  .lt-dismiss { width: 26px; height: 26px; font-size: 1.1rem; margin-inline-start: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .live-tracker { transition: opacity 0ms, transform 0ms; }
  .lt-dot { animation: none; }
}
@media print {
  .live-tracker { display: none !important; }
}
/* Hide on smaller viewports (JS also handles this) */
@media (max-width: 1199px) {
}

/* ── FAQ (rendered from FAQPage schema) ───────────────────────── */
.faq-list { display: grid; gap: 10px; margin: 18px 0 8px; }
.faq-list details { background: var(--bg-2, #0d1a2e); border: 1px solid var(--line, rgba(255,255,255,0.1)); border-radius: 12px; overflow: hidden; transition: border-color .15s; }
.faq-list details:hover { border-color: rgba(255, 194, 71,0.45); }
.faq-list details[open] { border-color: rgba(255, 194, 71,0.35); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; padding: 14px 18px; font-weight: 600; color: var(--ink, #e8eef9); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(255, 194, 71,0.4); border-radius: 50%; color: #ffc247; font-weight: 700; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details > p { margin: 0; padding: 0 18px 16px; color: var(--ink-2, #b8c5db); line-height: 1.6; }

/* Accessible-only text (table captions added by fix-table-semantics.js) */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Google "Add as preferred source" CTA (research articles + press) */
.preferred-source-cta{margin:32px 0;padding:20px 22px;border:1px solid rgba(255, 194, 71,0.18);border-radius:14px;background:rgba(255, 194, 71,0.05)}
.preferred-source-cta .preferred-source-lead{margin:0 0 14px;color:var(--ink2,#b8c5db);font-size:.95rem;line-height:1.5}
.preferred-source-cta .preferred-source-fallback{margin:10px 0 0;font-size:.8rem}
.preferred-source-cta .preferred-source-fallback a{color:#ffc247;text-decoration:none;font-weight:600}
.preferred-source-cta .preferred-source-fallback a:hover{text-decoration:underline}
.preferred-source-cta .preferred-source-action{margin:0}
.preferred-source-btn{display:inline-block;background:#ffc247;color:#0a1424!important;font-weight:700;padding:10px 18px;border-radius:10px;text-decoration:none;font-size:.9rem;letter-spacing:.01em}
.preferred-source-btn:hover{background:#5ce8ff;text-decoration:none}
.preferred-source-cta .preferred-source-note{margin:10px 0 0;font-size:.75rem;color:#7c8aa3}
.footer-preferred-source{display:flex;align-items:center;justify-content:center;gap:9px;margin:14px 0 0;padding:11px 14px;background:#ffc247;color:#0a1424!important;font-weight:700;font-size:.82rem;line-height:1.25;border-radius:10px;text-decoration:none;text-align:center}
.footer-preferred-source:hover{background:#5ce8ff;text-decoration:none}
.footer-preferred-source svg{flex:none}

/* RTL (Arabic, Hebrew — 2026-09-08). Layout mirrors through the logical
   properties above; numbers, dates, formulas and the live tracker stay
   left-to-right islands inside right-to-left text. */
html[dir="rtl"] [data-auto-date^="iso"], html[dir="rtl"] .stat-pill-value,
html[dir="rtl"] .stat-num, html[dir="rtl"] .callout-card-num, html[dir="rtl"] .research-stat-value,
html[dir="rtl"] .num, html[dir="rtl"] .metric-formula, html[dir="rtl"] pre, html[dir="rtl"] code,
html[dir="rtl"] .live-tracker { direction: ltr; unicode-bidi: isolate; }
/* Charts are left-to-right images with their title top-left, so the zoom
   badge keeps the physical top-right corner in RTL too (it covered the chart
   title on the Arabic homepage otherwise). */
html[dir="rtl"] [data-zoom-hint]::after { left: auto; right: 20px; }

/* ─── Author box (fix-author-box.js) — end of every article, before Related ─── */
.author-box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; margin: 40px 0 8px; padding: 20px 24px; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.author-box p { margin: 0; }
.author-box .ab-avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #ffc247, #9a6a00); color: #06121f; font-weight: 800; font-size: 18px; letter-spacing: 0.02em; }
.author-box .ab-eyebrow { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.author-box .ab-name { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 2px; }
.author-box .ab-role { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); margin-top: 2px; }
.author-box .ab-text { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin-top: 10px; }
.author-box .ab-links { font-size: 13px; margin-top: 10px; color: var(--ink-3); }
/* analytics consent banner (assets/consent.js) — bottom card, full width on phones */
.consent { position: fixed; inset-block-end: 16px; inset-inline-start: 16px; z-index: 1200; max-width: 420px; padding: 18px 20px; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,0.45); opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.consent.visible { opacity: 1; transform: none; }
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent .consent-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.consent .consent-text { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); margin-top: 6px; }
.consent .consent-text a { color: var(--accent); }
.consent .consent-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.consent .consent-btn { font: inherit; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 8px; cursor: pointer; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); }
.consent .consent-accept { background: var(--accent); border-color: var(--accent); color: #06121f; }
.consent .consent-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 600px) {
  .consent { inset-inline: 0; inset-block-end: 0; max-width: none; border-radius: var(--radius) var(--radius) 0 0; padding: 16px; }
  .consent .consent-actions { flex-direction: column-reverse; }
  .consent .consent-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .consent { transition: none; transform: none; } }
/* the live tracker shares the bottom corner: hidden while the banner is open */
html.consent-open .live-tracker { visibility: hidden; pointer-events: none; }

/* "Best <niche> OnlyFans" pages (/best/<slug>-onlyfans, build-best-pages.js) */
.hero-compact .container { display: flex; flex-direction: column; gap: 14px; }
.hero-compact h1 { margin: 0; }
.hero-compact .hero-tagline { margin: 0; max-width: 820px; }
.stat-pills-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 4px 0 0; max-width: 820px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-ctas .btn-accent { align-self: auto; min-height: 44px; font-size: 14px; padding: 10px 18px; border-radius: 10px; }
.btn-ghost { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-ctas .ofs-embed { min-height: 44px; }
.hero-compact .sponsored-frame { max-width: 860px; margin: 10px 0 0; }
@media (max-width: 760px) {
  /* phones (owner 29 Sep 2026, trial): intro, key numbers and buttons come BEFORE the featured block — same order
     as on desktop. Until then the sponsored block sat directly under the H1 (order 2) and the numbers below it. */
  .hero-compact .hero-meta-row { order: 0; }
  .hero-compact h1 { order: 1; }
  .hero-compact .hero-tagline { order: 2; }
  .hero-compact .stat-pills-row { order: 3; }
  .hero-compact .hero-ctas { order: 4; }
  .hero-compact .sponsored-frame { order: 5; margin: 0; }
  /* the three buttons share ONE row on a phone, so the featured block still starts in the first viewport */
  .hero-compact .hero-ctas { gap: 8px; flex-wrap: nowrap; }
  .hero-compact .hero-ctas .btn-accent, .hero-compact .hero-ctas .btn-ghost { padding: 10px 12px; font-size: 13px; white-space: nowrap; }
  .hero-compact .hero-ctas .ofs-embed { padding: 8px 12px; white-space: nowrap; }
}
@media (max-width: 380px) {
  /* below 380px the three buttons need 353px: let the row wrap instead of pushing past the edge */
  .hero-compact .hero-ctas { flex-wrap: wrap; }
}
.section-tight { padding-top: 24px; }
.section-sub { margin: -8px 0 16px; font-size: 14px; color: var(--ink-2); }
.rank-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.rank-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg-2); }
.rank-card .rank-body { height: 100%; }
.rank-card .rank-actions { margin-top: auto; padding-top: 6px; }
.rank-avatar { position: relative; display: grid; place-items: center; width: 112px; aspect-ratio: 1; border-radius: 10px; background: linear-gradient(135deg, var(--bg-3), var(--line)); color: var(--ink-2); font-weight: 700; font-size: 22px; overflow: visible; }
.rank-avatar::before { content: attr(data-initials); }
.rank-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.rank-badge { position: absolute; top: -8px; inset-inline-start: -8px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-3); color: var(--ink); font-weight: 800; font-size: 13px; border: 2px solid var(--bg-2); z-index: 1; }
.rank-badge-top { background: var(--warn); color: var(--bg); }
.rank-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rank-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.rank-name { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.rank-handle { display: block; font-size: 12px; color: var(--ink-3); font-weight: 400; }
.rank-score { display: inline-flex; gap: 4px; align-items: center; padding: 3px 8px; border-radius: 6px; background: rgba(255, 194, 71, 0.1); color: var(--accent); font-weight: 700; font-size: 13px; white-space: nowrap; }
.rank-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; font-size: 12px; color: var(--ink-2); align-items: center; }
.rank-price { padding: 3px 7px; border-radius: 6px; background: var(--bg-3); color: var(--ink); font-weight: 700; }
.rank-price-free { background: rgba(74, 222, 128, 0.14); color: #4ade80; }
.rank-actions { display: flex; gap: 8px; margin-top: 2px; }
.rank-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-strong); color: var(--ink-2); font-size: 12.5px; font-weight: 600; text-decoration: none; }
.rank-btn-primary { flex-grow: 1; background: var(--accent-2); border-color: var(--accent-2); color: var(--bg); font-weight: 700; }
/* "How we rank" (owner 29 Sep 2026: the one-line flex box broke into four columns of text). A titled card with six
   factor tiles — points, name, what it reads, weight bar — and one note line. 3 columns, 2 on tablets and phones. */
.how-rank { margin: 16px 0 36px; padding: 18px 20px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg-2); }
.how-rank-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.how-rank-head h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; color: var(--ink); }
.how-rank-link { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.how-rank-link:hover { text-decoration: underline; }
.how-rank-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
/* inside an article the generic rules (.article-body ul / p: max-width 72ch, 1.5em indent) would shrink and indent
   the grid and the note — the card fills its own width */
.article-body .how-rank .how-rank-grid { max-width: none; margin: 0; padding: 0; }
.article-body .how-rank .how-rank-grid li { margin: 0; }
.article-body .how-rank .how-rank-note { max-width: none; }
.how-rank-grid li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 1px; align-items: center; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 194, 71, 0.04); }
.hr-pts { grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: center; min-width: 34px; font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; line-height: 1; color: var(--accent); }
.hr-pts small { margin-top: 3px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.hr-name { align-self: end; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.hr-what { align-self: start; font-size: 12.5px; line-height: 1.35; color: var(--ink-3); }
.hr-bar { grid-column: 1 / -1; height: 4px; margin-top: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.hr-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffc247, #9a6a00); }
.hr-bar .hr-w20 { width: 100%; }
.hr-bar .hr-w15 { width: 75%; }
.how-rank-note { margin: 14px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 900px) { .how-rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .how-rank { padding: 16px 14px 14px; }
  /* phones: compact tiles — points, name and the weight bar; the one-line explanation stays on wider screens and
     behind "Full method" (six full tiles were 557px tall on a 390px phone) */
  .how-rank-grid { gap: 8px; grid-auto-rows: 1fr; }
  .how-rank-grid li { padding: 10px 12px; column-gap: 10px; row-gap: 0; }
  .hr-pts { grid-row: 1; min-width: 30px; font-size: 1.2rem; }
  .hr-name { align-self: center; font-size: 13.5px; }
  .hr-what { display: none; }
  .hr-bar { margin-top: 8px; align-self: end; }
  .how-rank-head { margin-bottom: 12px; }
  .how-rank-note { margin-top: 12px; font-size: 12.5px; }
}
.rk-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 12px; }
.rk-chip { display: inline-flex; gap: 6px; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.rk-chip .num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.rk-chip.is-active { border-color: var(--accent); background: rgba(255, 194, 71, 0.1); color: var(--accent); }
.rk-search { flex-grow: 1; min-width: 180px; }
.rk-search input { width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg-2); color: var(--ink); font: inherit; font-size: 13px; }
.rk-search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.rk-hidden { display: none; }
.rk-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 12px 0 36px; }
.rk-more { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.rk-more:hover { border-color: var(--accent); color: var(--accent); }
.rk-count { font-size: 13px; color: var(--ink-3); }
.rk-table th[scope="row"] { font-family: var(--font-body); font-size: 12px; color: var(--ink-3); font-weight: 600; text-align: start; }
@media (max-width: 760px) {
  .stat-pills-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-grid { grid-template-columns: minmax(0, 1fr); }
  .rank-card { grid-template-columns: 84px minmax(0, 1fr); }
  .rank-avatar { width: 84px; font-size: 18px; }
}

.rank-bio { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rank-card.is-open .rank-bio { display: block; -webkit-line-clamp: unset; overflow: visible; }
.rank-more { align-self: flex-start; margin: -2px 0 0; padding: 0; min-height: 24px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.rank-more:hover { text-decoration: underline; }
.rank-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.rank-tags span { font-size: 12.5px; color: var(--ink-3); }
.nt-bio { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.45; color: var(--ink-3); overflow-wrap: anywhere; margin-top: 2px; }
tr.is-open .nt-bio { display: block; -webkit-line-clamp: unset; overflow: visible; }
.nt-more { margin: 2px 0 0; padding: 0; min-height: 22px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.nt-more:hover { text-decoration: underline; }
/* ranking table: one typeface, fixed columns that fit the article width on desktop (no sideways scroll), scroll only on phones */
.rk-table { table-layout: fixed; width: 100%; min-width: 560px; font-family: var(--font-body); } /* mobile-safe: the table sits in .data-table-wrap (overflow-x auto); desktop body is 808px, so it never scrolls there */
.rk-table th, .rk-table td { font-family: var(--font-body); padding: 10px 8px; vertical-align: top; }
.rk-table .num, .rk-table .nt-score { font-family: var(--font-body); }
.rk-table .nt-score { color: var(--accent); font-weight: 700; }
.rk-c-rank { width: 40px; } .rk-c-price { width: 72px; } .rk-c-likes { width: 68px; } .rk-c-lib { width: 108px; } .rk-c-score { width: 62px; }
.rk-table td:nth-child(3), .rk-table td:nth-child(4), .rk-table td:nth-child(5), .rk-table td:nth-child(6) { white-space: nowrap; }
.best-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 32px; }
.best-hub-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg-2); color: var(--ink); text-decoration: none; }
.best-hub-card:hover { border-color: var(--accent); }
.best-hub-card strong { font-size: 15px; }
.best-hub-card .num { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
@media (max-width: 760px) { .best-hub-grid { grid-template-columns: minmax(0, 1fr); } }

/* niche pages (/niches/<slug>, build-niche-pages.js) */
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.jump-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); font-size: 13px; font-weight: 600; text-decoration: none; }
.jump-links a:first-child { border-color: var(--accent); color: var(--accent); background: rgba(255, 194, 71, 0.1); }
.jump-links a:hover { border-color: var(--accent); color: var(--accent); }
.sponsored-frame { margin: 0 0 36px; padding: 20px 22px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg-2); }
.sponsored-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.sponsored-head h2 { margin: 0; font-size: 20px; }
.sponsored-pill { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgba(251, 191, 36, 0.14); color: var(--warn); border: 1px solid rgba(251, 191, 36, 0.35); }
.sponsored-disclosure { font-size: 12.5px; color: var(--ink-3); margin: 0 0 14px; }
.sponsored-disclosure summary { cursor: pointer; }
.sponsored-disclosure p { margin: 8px 0 0; }
.sponsored-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; font-size: 12.5px; color: var(--ink-3); }
.sponsored-foot a { color: var(--accent); font-weight: 600; text-decoration: none; }
/* the partner widget (a.pur.agency renders into #purDiv): the rows wear the top-10 card look — same grid, type,
   pills and button — set off only by a faint accent tint (owner 24.09.2026). The partner's inline !important values
   are overridden with !important where needed and worked with otherwise. */
#purDiv { min-height: 120px; }
#purDiv .purTable { display: block !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
#purDiv .purBody { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100% !important; }
#purDiv .purRowHead { display: none !important; }
#purDiv .pur-promo-hidden { display: none !important; }
#purDiv .purRow { display: grid !important; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 14px; row-gap: 6px; align-items: start; min-width: 0; margin: 0 !important; padding: 12px !important; border: 1px solid rgba(255, 194, 71, 0.35) !important; border-radius: 14px !important; background: linear-gradient(135deg, rgba(255, 194, 71, 0.07), rgba(255, 194, 71, 0.02)), var(--bg-2) !important; color: var(--ink) !important; font-family: var(--font-body) !important; }
#purDiv .purCell, #purDiv .purCellAvatar { display: block !important; min-width: 0 !important; width: auto !important; padding: 0 !important; border: 0 !important; margin: 0 !important; text-align: start !important; vertical-align: initial !important; color: var(--ink-2) !important; background: transparent !important; }
#purDiv .purCellAvatar { grid-column: 1; grid-row: 1 / 5; align-self: start; }
#purDiv .purAvatarContainer { position: relative; width: 112px; aspect-ratio: 1; min-height: 0 !important; overflow: hidden; border-radius: 10px; background: linear-gradient(135deg, var(--bg-3), var(--line)); }
#purDiv .purAvatarContainer > a { position: relative; display: block !important; height: 100%; width: 100%; margin: 0 !important; }
#purDiv .purAvatar { position: absolute !important; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; border-radius: 10px !important; margin: 0 !important; }
#purDiv .purCell:nth-child(2) { grid-column: 2; grid-row: 1; }
#purDiv .purContent { display: block !important; margin: 0 !important; color: var(--ink) !important; -webkit-text-fill-color: var(--ink) !important; font-size: 15px !important; line-height: 1.3 !important; font-weight: 700 !important; text-decoration: none !important; border: 0 !important; overflow-wrap: anywhere; }
#purDiv .purCell:nth-child(2) > br { display: none; }
#purDiv .pur-username { margin: 2px 0 0 !important; line-height: 1.3; }
#purDiv .pur-username a { display: block !important; color: var(--ink-3) !important; -webkit-text-fill-color: var(--ink-3) !important; font-size: 12px !important; line-height: 1.4 !important; margin: 0 !important; overflow-wrap: anywhere; text-decoration: none !important; font-weight: 400 !important; }
/* cells 3 (subscribers / NEW) and 5 (price) are folded into the pill row by the page script; until it runs they sit in row 2 */
#purDiv .purCell:nth-child(3) { grid-column: 2; grid-row: 2; }
#purDiv .purCell:nth-child(5) { grid-column: 2; grid-row: 3; }
#purDiv .pur-cell-folded { display: none !important; }
#purDiv .purTag { display: inline-block !important; padding: 3px 7px !important; border-radius: 6px !important; background: var(--bg-3) !important; color: var(--ink) !important; font-size: 12px !important; line-height: 1.4 !important; font-weight: 700 !important; white-space: nowrap; }
#purDiv .purTag span { display: inline !important; color: inherit !important; font-size: 12px !important; }
#purDiv .pur-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 !important; font-size: 12px !important; color: var(--ink-2) !important; }
#purDiv .pur-pill { padding: 3px 7px; border-radius: 6px; background: var(--bg-3); color: var(--ink); font-weight: 700; }
#purDiv .pur-pill-free { background: rgba(74, 222, 128, 0.14); color: #4ade80; }
#purDiv .pur-pill-new { background: rgba(255, 194, 71, 0.12); color: var(--accent); }
#purDiv .purCellButton { grid-column: 2; grid-row: 4; order: initial !important; align-self: end; margin-top: 4px !important; }
#purDiv .pur-see-profile { display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box; min-height: 36px; width: auto; margin: 0 !important; padding: 6px 12px !important; background: var(--accent-2) !important; color: var(--bg) !important; -webkit-text-fill-color: var(--bg) !important; border: 1px solid var(--accent-2) !important; border-radius: 8px !important; font-size: 12.5px !important; line-height: 1.3 !important; font-weight: 700 !important; text-decoration: none !important; box-shadow: none !important; letter-spacing: 0 !important; text-transform: none !important; }
#purDiv .pur-see-profile:hover { filter: brightness(0.92); }
/* enrichment from our sample (page JS): likes · library · rank, intro with the same 3-line clamp + More as the top-10 cards */
#purDiv .purCell:nth-child(2) { display: flex !important; flex-direction: column; gap: 6px; }
#purDiv .pur-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; font-size: 12px !important; color: var(--ink-2) !important; }
#purDiv .pur-bio { margin: 0 !important; font-size: 12.5px !important; line-height: 1.45 !important; color: var(--ink-2) !important; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#purDiv .pur-tags { font-size: 12.5px !important; color: var(--ink-3) !important; }
#purDiv .purRow.is-open .pur-bio { display: block; -webkit-line-clamp: unset; overflow: visible; }
#purDiv .rank-more { margin: 0 !important; }
#purDiv a:focus-visible { outline: 3px solid var(--accent) !important; outline-offset: 3px; }

.niche-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 8px; }
.niche-card { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.niche-card-value { font-size: 22px; font-weight: 700; color: var(--accent); }
.niche-card-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.niche-note { font-size: 13.5px; color: var(--ink-3); margin: 0 0 32px; }
.niche-table .nt-handle { display: block; font-size: 12px; color: var(--ink-3); }
.niche-table .nt-score { color: var(--accent); font-weight: 700; }
.niche-more { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 600; text-decoration: none; }
.niche-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.niche-chip { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; padding: 8px 13px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--ink); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.niche-chip .num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.niche-chip:hover { border-color: var(--accent); }
.chart-head .chart-sub { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.aside-calc { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; padding: 16px; border: 1px solid rgba(255, 194, 71, 0.25); border-radius: 12px; background: rgba(255, 194, 71, 0.06); font-size: 13px; color: var(--ink-2); }
.aside-calc strong { color: var(--ink); font-size: 15px; }
.btn-accent { align-self: flex-start; display: inline-flex; align-items: center; min-height: 40px; padding: 9px 14px; border-radius: 8px; background: var(--accent); color: var(--bg); font-weight: 700; font-size: 13px; text-decoration: none; }
@media (max-width: 760px) {
  #purDiv .purBody { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  #purDiv .purRow { grid-template-columns: 84px minmax(0, 1fr); padding: 10px !important; column-gap: 12px; }
  #purDiv .purAvatarContainer { width: 84px; }
  #purDiv .purCell:nth-child(5) { margin-inline-start: 70px !important; }
  #purDiv .pur-see-profile { min-height: 44px; }
  .sponsored-frame { padding: 14px; }
  .niche-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* "As cited by" strip under the hero (fix-cited-by.js) — proper nouns only, label per language */
.cited-by { padding: 14px 0 0; }
.cited-by .container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-block: 12px; border-block: 1px solid var(--line); }
.cited-by .cited-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.cited-by .cited-list { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.cited-by .cited-list a { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.25; }
.cited-by .cited-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.cited-by .cited-sub { font-size: 11.5px; color: var(--ink-3); }
.cited-by .cited-list a:hover .cited-name { color: var(--accent); }
@media (max-width: 480px) {
  .cited-by .cited-list { gap: 6px 16px; }
  .cited-by .cited-name { font-size: 13px; }
}
@media (max-width: 480px) {
  .author-box { padding: 16px; gap: 12px; }
  .author-box .ab-avatar { width: 42px; height: 42px; font-size: 15px; }
}

/* ─── Hero pill breadcrumb (fix-hero-breadcrumb.js) — replaces the eyebrow ─── */
.hero-meta-pill .meta-eyebrow[data-crumbs] { gap: 7px; min-width: 0; flex-wrap: nowrap; }
.hero-meta-pill [data-crumbs] a { color: var(--accent); text-decoration: none; white-space: nowrap; }
.hero-meta-pill [data-crumbs] a:hover { color: var(--ink); text-decoration: underline; }
.hero-meta-pill [data-crumbs] a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.hero-meta-pill .crumb-sep { color: var(--ink-3); display: inline-block; }
html[dir="rtl"] .hero-meta-pill .crumb-sep { transform: scaleX(-1); }
.hero-meta-pill .crumb-current { color: var(--ink-2); font-weight: 500; max-width: 30ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) {
  .hero-meta-pill .meta-eyebrow[data-crumbs] { flex-wrap: wrap; row-gap: 2px; }
  .hero-meta-pill .crumb-current { max-width: 100%; white-space: normal; }
}

/* home pages: the pill is the date segment alone (fix-hero-breadcrumb.js) */
.hero-meta-pill .meta-upd:first-child { border-inline-start: 0; border-top: 0; }

/* breadcrumb in the plain hero eyebrow (pages without the byline pill) — same look as the pill segment */
.hero-eyebrow[data-crumbs] { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; max-width: 100%; }
.hero-eyebrow[data-crumbs] a { color: inherit; text-decoration: none; white-space: nowrap; }
.hero-eyebrow[data-crumbs] a:hover { color: var(--ink); text-decoration: underline; }
.hero-eyebrow[data-crumbs] a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.hero-eyebrow[data-crumbs] .crumb-sep { color: var(--ink-3); display: inline-block; }
html[dir="rtl"] .hero-eyebrow[data-crumbs] .crumb-sep { transform: scaleX(-1); }
.hero.hero-v2 .hero-eyebrow[data-crumbs] { margin-bottom: 10px; }

/* back arrow in front of the breadcrumb ("← Home"); mirrors on RTL pages */
[data-crumbs] .crumb-back { display: inline-block; color: var(--ink-3); }
html[dir="rtl"] [data-crumbs] .crumb-back { transform: scaleX(-1); }

/* ── Footer v4 (owner 06.10.2026, mockup C) ─────────────────────────────────
 * Brand row + prominent Google "preferred source" CTA, five unified columns
 * (<details>, collapsible on phones — open by default for no-JS/crawlers),
 * markets chip row, legal bar. Logical properties only (RTL-safe). */
.site-footer[data-footer="v4"] { background: #070f1c; padding: 64px 0 28px; position: relative; font-size: 15px; }
.site-footer[data-footer="v4"]::before { content: ""; position: absolute; inset-inline: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent, #ffc247), transparent); opacity: .55; }
.site-footer[data-footer="v4"] a { color: var(--ink-2, #b8c5db); text-decoration: none; transition: color .15s; }
.site-footer[data-footer="v4"] a:hover { color: var(--accent, #ffc247); }
.fv4-head { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: 32px; margin-bottom: 36px; border-bottom: 1px solid rgba(255, 194, 71,.14); }
.fv4-id { display: flex; flex-direction: column; gap: 14px; }
.site-footer[data-footer="v4"] .brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; color: var(--ink, #eef4ff); }
.site-footer[data-footer="v4"] .brand-mark { width: 40px; height: 40px; }
.fv4-tag { margin: 0; color: var(--ink-2, #b8c5db); font-size: 14px; }
.fv4-social { display: flex; flex-wrap: wrap; gap: 8px; }
.fv4-social a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: #0f1c30; border: 1px solid rgba(255, 194, 71,.14); color: var(--ink, #eef4ff); font-size: 13.5px; font-weight: 600; }
.fv4-social a:hover { border-color: var(--accent, #ffc247); }
.fv4-gcta { display: flex; align-items: center; gap: 16px; padding: 16px 22px 16px 16px; padding-inline: 16px 22px; border-radius: 18px; background: var(--accent, #ffc247); color: #06121f !important; box-shadow: 0 10px 40px -12px rgba(255, 194, 71,.55); min-width: 380px; max-width: 460px; transition: transform .15s, box-shadow .15s; } /* mobile-safe: reset to min-width 0 / width 100% under 760px */
.fv4-gcta:hover { color: #06121f !important; transform: translateY(-2px); box-shadow: 0 16px 48px -12px rgba(255, 194, 71,.7); }
.fv4-glogo { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.fv4-glogo svg { width: 30px; height: 30px; }
.fv4-gtxt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.fv4-gtxt b { font-size: 18px; font-weight: 800; line-height: 1.25; }
.fv4-gtxt span { font-size: 13px; font-weight: 600; opacity: .72; }
.fv4-garrow { font-size: 24px; font-weight: 700; }
html[dir="rtl"] .fv4-garrow { transform: scaleX(-1); }
.fv4-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.fv4-col > summary { list-style: none; cursor: default; }
.fv4-col > summary::-webkit-details-marker { display: none; }
.fv4-title { margin: 4px 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent, #ffc247); }
.fv4-sub { margin: 4px 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3, #7c8aa3); }
.fv4-list { list-style: none; margin: 0 0 14px; padding: 0; }
.fv4-list li { margin: 0 0 9px; font-size: 14px; line-height: 1.35; }
.fv4-list li.fv4-indent { padding-inline-start: 14px; font-size: 13px; }
.fv4-note { color: var(--ink-3, #7c8aa3); font-size: 12.5px; }
.fv4-more { display: inline-block; margin-top: 2px; color: var(--accent, #ffc247) !important; font-weight: 700; font-size: 14px; }
.site-footer[data-footer="v4"] .badge-new, .site-footer[data-footer="v4"] .badge-live, .site-footer[data-footer="v4"] .badge-star { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; padding: 2px 6px; border-radius: 999px; margin-inline-start: 4px; vertical-align: 2px; }
.site-footer[data-footer="v4"] .badge-new { background: rgba(255, 194, 71,.14); color: var(--accent, #ffc247); }
.site-footer[data-footer="v4"] .badge-live { background: rgba(52,211,153,.16); color: #34d399; }
.fv4-geo { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255, 194, 71,.14); }
.fv4-geo-title { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent, #ffc247); margin-inline-end: 6px; }
.fv4-geo a { height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 194, 71,.14); font-size: 13px; }
.fv4-disclaimer { margin: 26px 0 0; color: var(--ink-3, #7c8aa3); font-size: 13px; line-height: 1.55; }
.fv4-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 194, 71,.14); font-size: 13px; color: var(--ink-3, #7c8aa3); }
.fv4-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.fv4-legal a { color: var(--ink-3, #7c8aa3); }
@media (max-width: 1100px) { .fv4-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .site-footer[data-footer="v4"] { padding: 44px 0 24px; }
  .fv4-head { gap: 18px; }
  .fv4-gcta { min-width: 0; max-width: none; width: 100%; padding-block: 12px; padding-inline: 12px 16px; gap: 12px; }
  .fv4-glogo { width: 44px; height: 44px; } .fv4-glogo svg { width: 26px; height: 26px; }
  .fv4-gtxt b { font-size: 16px; } .fv4-gtxt span { font-size: 12.5px; }
  .fv4-social a span { display: none; } .fv4-social a { width: 44px; padding: 0; justify-content: center; }
  .fv4-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fv4-col { border-bottom: 1px solid rgba(255, 194, 71,.14); }
  .fv4-col > summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
  .fv4-col > summary .fv4-title { margin: 0; }
  .fv4-col > summary::after { content: "+"; color: var(--ink-2, #b8c5db); font-size: 20px; line-height: 1; }
  .fv4-col[open] > summary::after { content: "\2013"; }
  .fv4-col .fv4-list:last-of-type { margin-bottom: 18px; }
  .fv4-bottom { flex-direction: column; align-items: flex-start; }
}

/* Design preview v5 "app shell" (owner 20.10.2026): search in the header, side menu on every page, page content unchanged inside. Site tokens from styles.css. */
:root { --shell-h: 64px; --shell-side: 240px; --shell-mini: 76px; }
html { scrollbar-color: var(--line-strong) var(--bg); }
.shell-scroll { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.shell-scroll::-webkit-scrollbar { width: 8px; }
.shell-scroll::-webkit-scrollbar-track { background: transparent; }
.shell-scroll::-webkit-scrollbar-thumb { background: transparent; border-radius: 8px; }
.shell-scroll:hover::-webkit-scrollbar-thumb { background: var(--line-strong); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.shell-header { position: sticky; top: 0; z-index: 50; height: var(--shell-h); background: rgba(10, 20, 36, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.shell-burger { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.shell-burger:hover, .shell-burger:focus-visible { background: var(--bg-3); }
.shell-header .brand { flex: 0 0 auto; }
.shell-search { position: relative; flex: 1 1 0; min-width: 0; max-width: 620px; margin: 0 auto; display: flex; }
.shell-search input { flex: 1; min-width: 0; height: 42px; background: var(--bg-2); border: 1px solid var(--line-strong); border-inline-end: 0; color: var(--ink); border-radius: 0; border-start-start-radius: 21px; border-end-start-radius: 21px; padding-block: 0; padding-inline: 18px 44px; font: inherit; font-size: 15px; }
.shell-search input::placeholder { color: var(--ink-3); }
.shell-search input:focus { outline: none; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.shell-search kbd { position: absolute; inset-inline-end: 74px; top: 11px; font: 600 12px var(--font-mono); color: var(--ink-3); border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 7px; pointer-events: none; }
.shell-search input:focus ~ kbd, .shell-search input:not(:placeholder-shown) ~ kbd { display: none; }
.shell-search > button[type="submit"] { width: 60px; height: 42px; border: 1px solid var(--line-strong); background: var(--bg-3); color: var(--ink-2); border-radius: 0; border-start-end-radius: 21px; border-end-end-radius: 21px; cursor: pointer; display: grid; place-items: center; }
.shell-header .header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.shell-adv { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--ink) !important; font-weight: 600; font-size: 14px; text-decoration: none; }
.shell-adv:hover { border-color: var(--accent); }

/* search panel */
.shell-results { position: absolute; top: 50px; inset-inline-start: 0; inset-inline-end: 0; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 18px 48px rgba(0, 0, 0, .5); padding: 8px; max-height: min(70vh, 560px); overflow-y: auto; z-index: 60; }
.shell-results h5 { margin: 10px 12px 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.shell-results a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.shell-results a:hover, .shell-results a[aria-selected="true"] { background: var(--bg-3); }
.shell-results a img { flex: 0 0 72px; width: 72px; height: 40px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line); }
.shell-results a .ri { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px; background: var(--bg-3); color: var(--accent); display: grid; place-items: center; }
.shell-results a .ri svg { width: 18px; height: 18px; }
.shell-results a span { min-width: 0; }
.shell-results a b { display: block; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shell-results a small { display: block; color: var(--ink-3); font-size: 12px; }
.shell-results mark { background: none; color: var(--accent); }
.shell-results .none { padding: 14px 12px; color: var(--ink-2); font-size: 14px; }
.shell-results .foot { margin-top: 6px; padding: 8px 12px 4px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); display: flex; gap: 14px; flex-wrap: wrap; }
.shell-results .foot kbd { font: 600 11px var(--font-mono); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 5px; color: var(--ink-2); }

/* side menu */
.shell { display: flex; align-items: flex-start; }
.shell-side { flex: 0 0 var(--shell-side); width: var(--shell-side); position: sticky; top: var(--shell-h); height: calc(100vh - var(--shell-h)); overflow-y: auto; padding: 10px 10px 40px; box-sizing: border-box; background: var(--bg); }
.shell-side .side-h { margin: 18px 12px 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.shell-side a { display: flex; align-items: center; gap: 16px; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.shell-side a svg { flex: 0 0 20px; width: 20px; height: 20px; }
.shell-side a:hover { background: var(--bg-3); color: var(--ink); }
.shell-side a[aria-current="page"] { background: var(--bg-3); color: var(--ink); font-weight: 700; }
.shell-side a[aria-current="page"] svg { color: var(--accent); }
.shell-side .badge-live { margin-inline-start: auto; font-size: 10px; font-weight: 800; background: var(--good); color: var(--bg); padding: 1px 5px; border-radius: 4px; }
.shell-side hr { border: 0; border-top: 1px solid var(--line); margin: 12px 4px; }
.shell-main { flex: 1 1 auto; min-width: 0; border-inline-start: 1px solid var(--line); }

/* collapsed (desktop): YouTube-style mini rail */
body.shell-collapsed .shell-side { flex-basis: var(--shell-mini); width: var(--shell-mini); padding: 6px 4px; }
body.shell-collapsed .shell-side .side-h, body.shell-collapsed .shell-side hr, body.shell-collapsed .shell-side .badge-live, body.shell-collapsed .shell-side .x { display: none; }
body.shell-collapsed .shell-side a { flex-direction: column; gap: 5px; justify-content: center; min-height: 66px; padding: 0 2px; font-size: 10px; text-align: center; white-space: normal; line-height: 1.15; }

/* home: topics */
.home-block { padding: 26px var(--pad) 6px; }
.home-block > h2 { margin: 0; font-size: 22px; }
.home-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.home-top a, .home-top span { font-size: 14px; color: var(--ink-3); }
.home-top a { color: var(--accent); text-decoration: none; font-weight: 600; }
.topics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1500px) { .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.topic { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.topic:hover { border-color: var(--accent); transform: translateY(-2px); }
.topic svg { width: 26px; height: 26px; color: var(--accent); }
.topic b { font-size: 16px; }
.topic small { color: var(--ink-3); font-size: 13px; }

/* home: chart library */
.lib-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.lib-chip { min-height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.lib-chip:hover { border-color: var(--ink-3); }
.lib-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.lib-chip .c { color: var(--ink-3); font-weight: 500; margin-inline-start: 6px; }
.lib-chip[aria-pressed="true"] .c { color: var(--line-strong); }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 16px; }
.lib-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.lib-card[hidden] { display: none !important; }
.lib-thumb { position: relative; aspect-ratio: 2 / 1; border-radius: 12px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: transform .15s ease, border-color .15s ease; }
.lib-card:hover .lib-thumb { transform: translateY(-2px); border-color: var(--accent); }
.lib-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-kind { position: absolute; bottom: 8px; inset-inline-start: 8px; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: rgba(10, 20, 36, .9); color: var(--ink-2); }
.lib-info .card-h { display: block; font-size: 15px; line-height: 1.35; font-weight: 600; }
.lib-info small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 4px; line-height: 1.4; }
.lib-calc { display: grid; place-items: center; text-align: center; height: 100%; padding: 12px; box-sizing: border-box; background: linear-gradient(135deg, #0c1b2e, #11253d); }
.lib-calc strong { font-size: 28px; }
.lib-calc span { color: var(--ink-3); font-size: 12px; letter-spacing: .1em; }
.lib-more { margin-top: 22px; display: flex; justify-content: center; }
.lib-more button { min-height: 42px; padding: 0 22px; border-radius: 21px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }

/* home: research row */
.res-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.res { display: flex; flex-direction: column; gap: 8px; padding: 0 0 4px; text-decoration: none; color: var(--ink); }
.res .lib-thumb { aspect-ratio: 2 / 1; }
.res .card-h { font-size: 15px; line-height: 1.35; }
.res small { color: var(--ink-3); font-size: 13px; }
.home-report { margin: 34px var(--pad) 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.home-report h2 { margin: 0; font-size: 22px; }
.home-report nav { display: flex; flex-wrap: wrap; gap: 6px; }
.home-report nav a { font-size: 13px; padding: 6px 10px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; }
.home-report nav a:hover { color: var(--ink); border-color: var(--ink-3); }

@media (max-width: 1000px) {
  .shell-side { position: fixed; top: var(--shell-h); inset-inline-start: 0; bottom: 0; height: auto; z-index: 45; transform: translateX(-100%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(0, 0, 0, .6); border-inline-end: 1px solid var(--line); }
  body.shell-open .shell-side { transform: none; }
  .shell-main { border-inline-start: 0; }
  body.shell-collapsed .shell-side { flex-basis: var(--shell-side); width: var(--shell-side); padding: 10px 10px 40px; }
}
@media (max-width: 640px) {
  .shell-header { gap: 4px; padding: 0 8px; }
  .shell-header .brand-name, .shell-adv, .shell-search kbd { display: none; }
  .shell-search > button[type="submit"] { width: 46px; }
  .shell-search input { padding-inline-end: 12px; }
}
@media (prefers-reduced-motion: reduce) { .shell-side, .lib-thumb, .topic { transition: none; } }

/* ── v4: watch page (content left, "up next" rail right) ── */
.watch { display: flex; align-items: flex-start; gap: 0; }
.watch-col { flex: 1 1 auto; min-width: 0; }
.watch-col > main { min-width: 0; }
.rail { flex: 0 0 380px; width: 380px; padding: 20px 20px 40px 8px; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; }
.rail-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.rail-chip { min-height: 32px; padding: 0 12px; border-radius: 8px; border: 0; background: var(--bg-3); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.rail-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.rail-item { display: flex; gap: 10px; text-decoration: none; color: var(--ink); border-radius: 10px; padding: 2px; }
.rail-item[hidden] { display: none !important; }
.rail-item:hover .rail-thumb { border-color: var(--accent); }
.rail-thumb { flex: 0 0 168px; width: 168px; aspect-ratio: 2 / 1; border-radius: 8px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.rail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rail-text { min-width: 0; padding-top: 2px; }
.rail-text b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.35; font-weight: 600; }
.rail-text small { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.watch-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; padding-bottom: 6px; }
.wa-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 19px; border: 0; background: var(--bg-3); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.wa-btn svg { width: 18px; height: 18px; }
.wa-btn:hover { background: var(--line-strong); }
.wa-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.wa-btn[disabled] { opacity: .5; cursor: not-allowed; }
.wa-btn.primary { background: var(--accent); color: var(--bg); }
.comments { padding-top: 26px; padding-bottom: 40px; border-top: 1px solid var(--line); margin-top: 30px; box-sizing: border-box; width: 100%; }
.comments h2 { margin: 0 0 6px; font-size: 20px; }
.comments-note { color: var(--ink-3); font-size: 13px; margin: 0 0 14px; }
.comment-form { display: flex; gap: 12px; align-items: flex-start; }
.comment-form textarea { flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--ink); font: inherit; padding: 8px 2px; resize: vertical; }
.comment-form .lib-av { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--bg-3); color: var(--ink-2); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.comments-empty { color: var(--ink-3); font-size: 14px; margin: 18px 0 0 48px; }

/* ── v4: brand home ── */
.brand-hero { padding: 30px var(--pad) 8px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: center; }
.brand-hero .eyebrow { font: 700 12px var(--font-body); letter-spacing: .06em; color: var(--accent); text-transform: uppercase; }
.brand-hero h1 { margin: 8px 0 10px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.02em; line-height: 1.05; }
.brand-hero p { margin: 0 0 18px; color: var(--ink-2); font-size: 17px; line-height: 1.5; max-width: 56ch; }
.brand-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kpi { background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.kpi span { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.kpi strong { display: block; font-size: 30px; letter-spacing: -.02em; line-height: 1.15; }
.kpi em { font-style: normal; font-size: 12px; color: var(--ink-2); }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 14px; }
.shelf-item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.shelf-item:hover .lib-thumb { border-color: var(--accent); }
.shelf-item .card-h { font-size: 15px; }
.shelf-item small { color: var(--ink-3); font-size: 13px; }
.about-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.about-card { padding: 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.about-card:hover { border-color: var(--accent); }
.about-card small { color: var(--ink-3); font-size: 13px; line-height: 1.45; }
.about-strip { padding-bottom: 40px; }

@media (max-width: 1280px) {
  .watch { flex-direction: column; }
  .rail { width: 100%; flex-basis: auto; padding: 10px var(--pad) 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
  .rail-chips { grid-column: 1 / -1; }
  .rail-item { flex-direction: column; }
  .rail-thumb { width: 100%; flex-basis: auto; }
}
@media (max-width: 760px) {
  .brand-hero { grid-template-columns: minmax(0, 1fr); }
  .kpi strong { font-size: 24px; }
  .comments-empty { margin-inline-start: 0; }
}

/* ── v5 (owner feedback 20.10.) ── */
/* side menu runs the full page height: share bar + footer sit inside .shell-main */
.shell-main > .site-footer { margin-top: 0; }
.shell-main > .share-bar, body .shell-main .share-bar { max-width: none; margin: 0; padding: 16px var(--pad); border-bottom: 0; }

/* share bar: same type and pills as the action bar (no mono font) */
body .share-bar, body .share-bar .share-bar-btn, body .share-bar .share-bar-label { font-family: var(--font-body); letter-spacing: 0; }
body .share-bar .share-bar-label { text-transform: none; font-size: 14px; font-weight: 700; color: var(--ink); margin-inline-end: 4px; }
body .share-bar .share-bar-btn { min-height: 36px; padding: 0 14px; border: 0; border-radius: 18px; background: var(--bg-3); color: var(--ink); font-size: 13px; font-weight: 600; }
body .share-bar .share-bar-btn:hover { background: var(--line-strong); color: var(--ink); }
.watch-col .share-bar { padding-inline-start: 0; padding-inline-end: 0; }

/* home: compact hero + featured report card */
.feat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s ease; }
.feat:hover { border-color: var(--accent); }
.feat-thumb { position: relative; aspect-ratio: 2 / 1; border-radius: 10px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.feat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-thumb .lib-kind { background: var(--accent); color: var(--bg); }
.feat-info .feat-h { display: block; font-size: 17px; line-height: 1.3; font-weight: 700; }
.feat-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 12px 0 10px; }
.feat-stats span { font-size: 12px; color: var(--ink-3); line-height: 1.25; }
.feat-stats strong { display: block; font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.feat-stats span:nth-child(2) strong { color: var(--accent); }
.feat-info small { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.4; }

/* home: library toolbar (filter chips + sort) and card dates */
.lib-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.lib-bar .lib-chips { margin-bottom: 0; }
.lib-sort { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.lib-sort select { min-height: 36px; padding: 0 34px 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23b8c5db' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 12px; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; -webkit-appearance: none; appearance: none; }
.lib-sort select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lib-info time { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); }


/* header icon buttons: one size, one shape */
.shell-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--ink); display: none; place-items: center; cursor: pointer; padding: 0; }
.shell-icon:hover, .shell-icon:focus-visible { background: var(--bg-3); }

@media (max-width: 1100px) {
  .brand-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 760px) {
  .feat { grid-template-columns: minmax(0, 1fr); }
  .lib-bar { flex-direction: column; }
  .lib-bar .lib-chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; padding-bottom: 2px; }
  .lib-bar .lib-chips::-webkit-scrollbar { display: none; }
  .lib-chip { flex: 0 0 auto; }
}
@media (max-width: 640px) {
  /* mobile header: every control 40 x 40, same radius, search behind an icon */
  .shell-header { gap: 6px; padding: 0 8px; }
  .shell-burger { width: 40px; height: 40px; border-radius: 10px; }
  .shell-header .brand { min-width: 0; flex: 1 1 auto; }
  .shell-header .brand .brand-name { display: inline; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .shell-header .brand-mark { width: 30px; height: 30px; flex: 0 0 30px; }
  .shell-search { display: none; }
  .shell-search-open { display: grid; }
  .shell-header .header-actions { gap: 4px; }
  .shell-header .header-actions .lang-current { width: 40px; min-width: 40px; height: 40px; min-height: 0; padding: 0; justify-content: center; border-radius: 10px; border-color: transparent; background: transparent; }
  .shell-header .header-actions .lang-current:hover { background: var(--bg-3); }
  .shell-header .header-actions .lang-current .lang-caret { display: none; }
  body.search-open .shell-search { display: flex; position: absolute; inset-inline-start: 8px; inset-inline-end: 8px; top: 12px; margin: 0; max-width: none; z-index: 61; background: var(--bg); }
  body.search-open .shell-search-close { display: grid; margin-inline-end: 4px; }
  .shell-search input, .shell-search > button[type="submit"] { height: 40px; }
  .shell-results { top: 48px; }
  .shell-results .foot { display: none; }
}
/* no mono type in the shell frame (owner 20.10.: the old font goes) */
.shell-main .site-footer, .shell-main .site-footer *:not(code):not(kbd) { font-family: var(--font-body); }
.watch-col > .comments { margin-top: 0; }
.feat-info .feat-kicker { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

/* ── v6 (owner feedback 20.10., round 2) ── */
/* home hero: text + topics + cited-by left, the featured report big on the right (image on top, facts below) */
.brand-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: center; padding-top: 32px; padding-bottom: 12px; }
.brand-hero h1 { margin-top: 10px; }
.hero-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; max-width: 520px; }
.hero-topics a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; transition: border-color .15s ease, background .15s ease; }
.hero-topics a:hover { border-color: var(--accent); background: var(--bg-3); }
.hero-topics svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--accent); }
.hero-topics span { overflow: hidden; text-overflow: ellipsis; }
.hero-cited { margin: 18px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.hero-cited > span { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; margin-inline-end: 6px; }
.hero-cited a { color: var(--ink-2); text-decoration: none; font-weight: 600; white-space: nowrap; }
.hero-cited a:hover { color: var(--accent); }
.hero-cited i { font-style: normal; margin: 0 7px; color: var(--line-strong); }
.feat { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; border-radius: 18px; align-self: start; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.feat-thumb { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.feat:hover .feat-thumb img { transform: scale(1.015); }
.feat-thumb img { transition: transform .3s ease; }
.feat-info { padding: 16px 20px 18px; }
.feat-info .feat-h { font-size: 19px; }
.feat-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feat-stats strong { font-size: 22px; }
@media (max-width: 1100px) { .brand-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; } .hero-topics { max-width: none; } }
@media (max-width: 640px) {
  .hero-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-info { padding: 14px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) { .feat-thumb img, .hero-topics a { transition: none; } }

/* watch pages: the old article sidebar becomes a chapters bar on top, the text gets the full column */
.watch-col .article { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.watch-col .article-aside { order: -1; min-width: 0; }
.watch-col .aside-block { position: static; display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.watch-col .toc { flex: 1 1 380px; margin: 0; padding: 12px 14px; }
.watch-col .cite-block { flex: 0 1 auto; margin: 0; padding: 12px 14px; }
.watch-col .aside-block h3 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 0 0 8px; }
.watch-col .toc ul { display: flex; flex-wrap: wrap; gap: 6px; }
.watch-col .toc a { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 15px; background: var(--bg-3); border: 0; color: var(--ink); font-size: 13px; font-weight: 600; }
.watch-col .toc a:hover, .watch-col .toc a.active { background: var(--ink); color: var(--bg); }
.watch-col .cite-btn { font-family: var(--font-body); }

/* /2026: the site directory as compact link columns (always open) */
.site-dir { margin: 32px 0 8px; padding: 18px 20px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.site-dir > h2 { margin: 0; font-size: 18px; }
.site-dir .site-dir-n { margin: 2px 0 6px; font-size: 13px; color: var(--ink-3); }
.site-dir > p:not(.site-dir-n) { display: none; }
.site-dir > h3 { margin: 16px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-family: var(--font-body); }
.site-dir .related-grid { display: block; columns: 3 200px; column-gap: 24px; margin: 0; }
.site-dir .related-card { display: block; break-inside: avoid; padding: 4px 0; margin: 0; border: 0; background: none; box-shadow: none; min-height: 0; }
.site-dir .related-card:hover { transform: none; }
.site-dir .related-card .rc-eyebrow, .site-dir .related-card .rc-desc { display: none; }
.site-dir .related-card .rc-title { font-size: 14px; font-weight: 500; color: var(--ink-2); margin: 0; }
.site-dir .related-card:hover .rc-title { color: var(--accent); }
@media (max-width: 760px) {
  /* mobile: the featured report straight after the buttons, topics + cited-by below it */
  .brand-hero { gap: 0; }
  .brand-hero-in { display: contents; }
  .brand-hero .feat { order: 1; margin-top: 22px; }
  .brand-hero .hero-topics { order: 2; margin-top: 18px; }
  .brand-hero .hero-cited { order: 3; }
  .hero-topics a { min-height: 40px; font-size: 13px; }
}

/* ── v7 (owner feedback 20.10., round 3) ── */
/* topic tiles: a chevron so they read as links */
.hero-topics a { padding-inline-end: 10px; }
.hero-topics .topic-go { flex: 0 0 16px; width: 16px; height: 16px; margin-inline-start: auto; color: var(--ink-3); transition: transform .15s ease, color .15s ease; }
.hero-topics a:hover .topic-go { color: var(--accent); transform: translateX(2px); }

/* "As cited by": its own trust strip between hero and library */
.cite-strip { margin: 26px var(--pad) 4px; padding: 20px 22px 22px; border-radius: 18px; background: linear-gradient(180deg, var(--bg-2), rgba(15, 28, 48, .55)); border: 1px solid var(--line); }
.cite-strip .cite-h { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cite-strip .cite-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cite-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cite-strip li a { position: relative; display: flex; align-items: center; gap: 14px; height: 100%; box-sizing: border-box; padding: 14px 40px 14px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.cite-strip li a:hover { border-color: var(--accent); transform: translateY(-2px); }
.cite-mono { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255, 194, 71, .18), rgba(255, 194, 71, .04)); border: 1px solid rgba(255, 194, 71, .3); color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.cite-txt { min-width: 0; }
.cite-txt b { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; }
.cite-txt small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.cite-arrow { position: absolute; top: 12px; inset-inline-end: 12px; width: 16px; height: 16px; color: var(--ink-3); transition: color .15s ease; }
.cite-strip li a:hover .cite-arrow { color: var(--accent); }
@media (max-width: 1280px) { .cite-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cite-strip { padding: 16px 14px 16px; } .cite-strip ul { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .cite-strip li a, .hero-topics .topic-go { transition: none; } }

/* action bar: Share keeps the pill look although it reuses the chart share panel (.ofs-embed) */
.watch-actions .wa-btn.ofs-embed { padding: 0 14px; border: 0; border-radius: 19px; background: var(--bg-3); color: var(--ink); font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0; gap: 8px; }
.watch-actions .wa-btn.ofs-embed:hover, .watch-actions .wa-btn.ofs-embed[aria-expanded="true"] { background: var(--line-strong); }
.wa-count { font-weight: 700; padding-inline-start: 8px; margin-inline-start: 2px; border-inline-start: 1px solid var(--line-strong); }
.wa-btn[aria-pressed="true"] .wa-count { border-inline-start-color: rgba(10, 20, 36, .3); }
.wa-like[aria-pressed="true"] svg { fill: currentColor; }
.wa-quiet { background: transparent; color: var(--ink-3); }
.wa-quiet:hover { background: var(--bg-3); color: var(--ink); }
@media (min-width: 761px) { .watch-actions .wa-quiet { margin-inline-start: auto; } }

/* side menu: saved count */
.shell-side .badge-saved { margin-inline-start: auto; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 10px; background: var(--bg-3); color: var(--ink-2); font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.shell-side .badge-saved[hidden] { display: none; }
body.shell-collapsed .shell-side .badge-saved { display: none; }

/* /saved */
.saved-page h1 { margin: 0; font-size: 28px; }
.saved-note { margin: 0 0 18px; color: var(--ink-3); font-size: 14px; }
.saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px 16px; }
.saved-item { position: relative; }
.saved-link { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; }
.saved-link:hover .lib-thumb { border-color: var(--accent); }
.saved-del { position: absolute; top: 8px; inset-inline-end: 8px; width: 32px; height: 32px; border-radius: 10px; border: 0; background: rgba(10, 20, 36, .85); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.saved-del:hover { background: var(--bg-3); }
.saved-empty { padding: 30px 20px; border: 1px dashed var(--line-strong); border-radius: 14px; text-align: center; color: var(--ink-2); }
.saved-page { padding-bottom: 60px; }

/* ── v8 (owner feedback 20.10., round 4) ── */
/* hero: more air on the left, report + a compact "As cited by" stacked on the right */
.brand-hero { align-items: center; padding-top: 40px; padding-bottom: 20px; }
.brand-hero h1 { margin: 16px 0 18px; font-size: clamp(36px, 4.2vw, 54px); }
.brand-hero p { margin-bottom: 30px; }
.hero-topics { margin-top: 36px; gap: 10px; }
.hero-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hero-side .cite-strip { margin: 0; padding: 14px 16px 16px; border-radius: 16px; }
.hero-side .cite-strip .cite-h { margin-bottom: 10px; font-size: 11px; }
.hero-side .cite-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hero-side .cite-strip li a { gap: 10px; padding: 9px 30px 9px 10px; border-radius: 10px; }
.hero-side .cite-mono { flex-basis: 32px; width: 32px; height: 32px; border-radius: 8px; font-size: 12px; }
.hero-side .cite-txt b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-side .cite-txt small { font-size: 11.5px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-side .cite-arrow { top: 9px; inset-inline-end: 9px; width: 14px; height: 14px; }
@media (max-width: 760px) {
  .hero-side { display: contents; }
  .brand-hero .cite-strip { order: 3; margin-top: 18px; }
  .brand-hero h1 { margin: 10px 0 12px; }
  .brand-hero p { margin-bottom: 22px; }
}
@media (max-width: 420px) { .hero-side .cite-strip ul { grid-template-columns: minmax(0, 1fr); } }

/* slim menu on desktop is the default now: show the saved count as a small badge on the icon */
body.shell-collapsed .shell-side a { position: relative; }
@media (min-width: 1001px) {
  body.shell-collapsed .shell-side .badge-saved:not([hidden]) { display: grid; position: absolute; top: 8px; left: calc(50% + 4px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; font-size: 10px; background: var(--accent); color: var(--bg); margin: 0; }
}

/* page tags (= real search terms) under the action bar, linking to /search?tag= */
.page-tags { display: flex; flex-wrap: wrap; gap: 6px 12px; padding-top: 2px; padding-bottom: 8px; }
.page-tags a, .tag { color: var(--accent); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.page-tags a:hover, .tag:hover { text-decoration: underline; }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.search-tags .tag { padding: 6px 12px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.search-tags .tag:hover { border-color: var(--accent); text-decoration: none; }
.search-page { padding-bottom: 60px; }
.search-page h1 { margin: 0; font-size: 28px; }
.sr-icon { display: grid; place-items: center; height: 100%; color: var(--accent); background: linear-gradient(135deg, #0c1b2e, #11253d); }
.sr-icon svg { width: 34px; height: 34px; }
.shell-results .tag-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 12px 8px; }
.shell-results .tag-row .tag { display: inline-block; padding: 5px 10px; border-radius: 14px; background: var(--bg-3); font-size: 13px; }
.shell-results .tag-row a.tag:hover { background: var(--line-strong); text-decoration: none; }
.shell-results a.all { border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; margin-bottom: 4px; }
.shell-results a.all b { color: var(--accent); }

/* save / report feedback */
.shell-toast { position: fixed; left: 50%; bottom: 24px; z-index: 9990; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); transition: opacity .2s ease, transform .2s ease; }
.shell-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.shell-toast a { color: #0b6f86; font-weight: 800; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .shell-toast { transition: none; } }

/* report dialog */
.report-dlg { width: min(520px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--bg-2); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.report-dlg::backdrop { background: rgba(5, 12, 22, .7); }
.rep-form { display: flex; flex-direction: column; gap: 8px; padding: 22px; font-family: var(--font-body); }
.rep-form h2 { margin: 0; font-size: 20px; }
.rep-sub { margin: 0 0 8px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.rep-form label { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-top: 6px; }
.rep-form label span { font-weight: 500; color: var(--ink-3); }
.rep-form textarea, .rep-form input { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; resize: vertical; }
.rep-form textarea:focus, .rep-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.rep-err { margin: 4px 0 0; color: #fca5a5; font-size: 13px; }
.rep-err a { color: var(--accent); }
.rep-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

/* footer: the Google mark in one colour like the other social icons */
.shell-main .fv4-glogo { background: #06121f; }
.shell-main .fv4-glogo svg path { fill: var(--accent); }
/* reading time pill: site font instead of mono */
.reading-progress-label { font-family: var(--font-body) !important; letter-spacing: 0 !important; font-weight: 600; }
/* topic tiles: title + short description (fills the left column, says what is behind each tile) */
.hero-topics a { min-height: 60px; padding: 10px 10px 10px 12px; white-space: normal; align-items: center; }
.hero-topics .tt { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.hero-topics .tt b { font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-topics .tt small { font-size: 12px; font-weight: 500; color: var(--ink-3); line-height: 1.3; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-topics svg:first-child { flex-basis: 20px; width: 20px; height: 20px; }
@media (min-width: 1101px) {
  .brand-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; }
  .brand-hero .eyebrow { display: block; }
  .hero-topics { max-width: none; margin-top: 44px; }
  .brand-cta .wa-btn { min-height: 46px; padding: 0 20px; border-radius: 23px; font-size: 15px; }
}
@media (max-width: 640px) { .hero-topics .tt small { display: none; } .hero-topics a { min-height: 44px; } }
/* slim desktop menu = 9 key entries with short labels; everything else lives in the full menu */
.shell-side .mini { display: none; }
@media (min-width: 1001px) {
  body.shell-collapsed .shell-side a:not([data-mini]) { display: none; }
  body.shell-collapsed .shell-side a .lbl { display: none; }
  body.shell-collapsed .shell-side a .mini { display: block; }
  body.shell-collapsed .shell-side a { min-height: 70px; font-size: 10.5px; font-weight: 600; }
  body.shell-collapsed .shell-side a svg { width: 22px; height: 22px; flex-basis: 22px; }
}
@media (max-width: 1000px) {
  /* phones/tablets: the drawer is always the full menu, whatever the desktop preference */
  body.shell-collapsed .shell-side .side-h { display: block; }
  body.shell-collapsed .shell-side hr { display: block; }
  body.shell-collapsed .shell-side .badge-live { display: inline-block; }
  body.shell-collapsed .shell-side a { flex-direction: row; gap: 16px; justify-content: flex-start; min-height: 40px; padding: 0 12px; font-size: 14px; font-weight: 500; text-align: start; white-space: nowrap; line-height: normal; }
  body.shell-collapsed .shell-side .badge-saved:not([hidden]) { display: inline-grid; }
}

/* ── v9 (owner feedback 20.10., round 5) ── */
/* one tag system: keyword chips in the library look, no hashtags */
.page-tags { align-items: center; gap: 8px; padding-top: 4px; padding-bottom: 10px; }
.page-tags .pt-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-inline-end: 4px; }
.tag-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--ink) !important; font-size: 13px; font-weight: 600; text-decoration: none !important; transition: border-color .15s ease, background .15s ease; }
.tag-chip:hover { border-color: var(--accent); background: var(--bg-3); }
.search-tags { gap: 8px; }
.search-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.search-eyebrow[hidden] { display: none; }

/* home: cited-by sits in the LEFT column under the topic tiles */
.brand-hero-in .cite-strip { margin: 22px 0 0; padding: 14px 16px 16px; border-radius: 16px; max-width: none; }
.brand-hero-in .cite-strip .cite-h { margin-bottom: 10px; font-size: 11px; }
.brand-hero-in .cite-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.brand-hero-in .cite-strip li a { gap: 10px; padding: 9px 30px 9px 10px; border-radius: 10px; }
.brand-hero-in .cite-mono { flex-basis: 32px; width: 32px; height: 32px; border-radius: 8px; font-size: 12px; }
.brand-hero-in .cite-txt b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-hero-in .cite-txt small { font-size: 11.5px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-hero-in .cite-arrow { top: 9px; inset-inline-end: 9px; width: 14px; height: 14px; }
@media (min-width: 1101px) { .hero-topics { margin-top: 32px; } }
@media (max-width: 420px) { .brand-hero-in .cite-strip ul { grid-template-columns: minmax(0, 1fr); } }

/* "On this page" bar that follows the reader */
.toc-moved { display: none !important; }
.toc-bar { position: sticky; top: var(--shell-h); z-index: 30; display: flex; align-items: center; gap: 12px; margin: 14px calc(var(--pad) * -1) 0; padding: 10px var(--pad); background: rgba(10, 20, 36, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.toc-bar .tb-label { flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.toc-bar .tb-scroll { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.toc-bar .tb-scroll::-webkit-scrollbar { display: none; }
.toc-bar a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 10px; background: var(--bg-3); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.toc-bar a:hover { background: var(--line-strong); }
.toc-bar a.on { background: var(--ink); color: var(--bg); }
.watch-col h2[id], .watch-col h3[id], .watch-col section[id], .watch-col [id].chart-block { scroll-margin-top: 130px; }
@media (max-width: 640px) { .toc-bar .tb-label { display: none; } .toc-bar { padding-top: 8px; padding-bottom: 8px; } }
.brand-hero-in .cite-txt b { white-space: normal; overflow: visible; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; }
@media (max-width: 1280px) { .watch { align-items: stretch; } .watch-col { width: 100%; max-width: 100%; } }

/* ── v10: both hero columns exactly the same height; the shorter side spreads its three blocks evenly ── */
@media (min-width: 1101px) {
  .brand-hero { align-items: stretch; }
  .brand-hero-in { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
  .brand-hero-in > .hero-topics, .brand-hero-in > .cite-strip { margin-top: 0; }
  .hero-side .feat { flex: 1 1 auto; display: flex; flex-direction: column; }
  .feat-thumb { flex: 0 0 auto; }
  .feat-info { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 20px 22px; }
  .feat-stats { margin: 0; }
}
.hero-copy > *:last-child { margin-bottom: 0; }
.hero-topics .tt small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── v11: real headings (H2 sections, H3 card titles) in the old look; site-wide h2/h3 styles reset ── */
.card-h, .feat-h, .side-h, .cite-h { margin: 0; font-family: var(--font-body); color: inherit; letter-spacing: normal; text-transform: none; border: 0; padding: 0; }
.shell-side .side-h { margin: 18px 12px 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.cite-strip .cite-h { letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.lib-info .card-h { font-size: 15px; line-height: 1.35; font-weight: 600; }
.res .card-h, .shelf-item .card-h { font-size: 15px; line-height: 1.35; font-weight: 700; }
.about-card .card-h { font-size: 16px; line-height: 1.3; font-weight: 700; }
.feat-info .feat-h { line-height: 1.3; font-weight: 700; }
p.fv4-title { line-height: 1.3; }

/* right-to-left (ar, he — owner 28.10.2026): the logical properties above mirror the frame; the off-canvas
   drawer slides in from the right, and the "go" chevrons point the other way */
@media (max-width: 1000px) { html[dir="rtl"] .shell-side { transform: translateX(100%); } html[dir="rtl"] body.shell-open .shell-side { transform: none; } }
html[dir="rtl"] .hero-topics .topic-go { transform: scaleX(-1); }
html[dir="rtl"] .hero-topics a:hover .topic-go { transform: scaleX(-1) translateX(2px); }

/* brand */
:root { --accent-rgb: 255, 194, 71; }
/* Additions on top of the onlyfansstatistics.com styles (base/styles.css + base/shell.css).
   The brand accent is swapped into the base files by build.js; this file only adds the parts
   the two new sites need: generated thumbnails, inline charts with hover, the "guess first"
   slider and the percentile calculator. */

/* chart marks follow the data-viz rule: an in-band step of the brand hue, text stays in ink tokens */
:root { --chart-1: var(--accent-2); --chart-2: #3987e5; --chart-track: rgba(124, 138, 163, .22); }

/* header: the brand word with a trailing part ("hub") */
.brand-name { white-space: nowrap; }
.shell-header .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; }
.brand-mark { flex: 0 0 auto; width: 32px; height: 32px; display: block; }

/* generated thumbnails (library cards, rail, saved) */
.lib-thumb, .rail-thumb, .feat-thumb { position: relative; }
.thumb-art { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 12px; box-sizing: border-box; text-align: center; background: linear-gradient(135deg, #0c1b2e, #11253d); color: var(--ink); }
.thumb-art .ti { width: 44px; height: 44px; color: var(--accent); }
.thumb-art strong { display: block; font-size: clamp(19px, 1.9vw, 25px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.thumb-art span { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.thumb-art.is-calc span { letter-spacing: .1em; }
.thumb-art .trk { display: block; width: min(70%, 170px); height: 8px; margin-top: 6px; border-radius: 4px; background: var(--chart-track); overflow: hidden; }
.thumb-art .trk i { display: block; height: 100%; border-radius: 4px; background: var(--chart-1); }
.rail-thumb .thumb-art { padding: 6px; gap: 2px; }
.rail-thumb .thumb-art .ti { width: 28px; height: 28px; }
.rail-thumb .thumb-art strong { font-size: 14px; }
.rail-thumb .thumb-art span { display: none; }
.rail-thumb .thumb-art .trk { height: 5px; margin-top: 3px; }
.lib-card.is-soon .lib-kind::after { content: ""; }

/* primary sources strip (same cards as "As cited by") */
.cite-strip .cite-mono { font-size: 12px; }

/* inline charts with a hover layer */
.viz { position: relative; }
.viz svg { display: block; width: 100%; height: auto; }
.hero-chart-wrap .viz svg { max-height: clamp(260px, 56vh, 560px); }
.viz [data-tip] { cursor: default; }
.viz .hit { fill: transparent; }
.viz .hit:hover + .mark, .viz .mark.on { filter: brightness(1.18); }
.viz-tip { position: absolute; z-index: 5; pointer-events: none; min-width: 120px; max-width: 240px; padding: 8px 10px; border-radius: 10px; background: #06101d; border: 1px solid var(--line-strong); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); font-size: 12.5px; line-height: 1.4; color: var(--ink-2); transform: translate(-50%, calc(-100% - 10px)); }
.viz-tip b { display: block; color: var(--ink); font-size: 14px; }
.viz-tip[hidden] { display: none; }
.viz-zoom { display: none; }
@media (max-width: 800px) {
  .viz-zoom { display: inline-flex; align-items: center; min-height: 34px; margin: 8px 0 0 10px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
  .viz-zoom[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
  .viz.is-zoomed { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .viz.is-zoomed svg, .hero-chart-wrap .viz.is-zoomed svg { width: 900px; max-width: none; max-height: none; }
}
.viz-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 2px 0; font-size: 12.5px; color: var(--ink-2); }
.viz-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; vertical-align: -1px; }

/* "guess first" slider */
.guess { margin: 26px 0; padding: 20px 22px 22px; border-radius: 16px; background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line-strong); }
.guess-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.guess .guess-q { margin: 0 0 16px; font-size: 19px; line-height: 1.3; color: var(--ink); font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.guess-row { display: flex; align-items: center; gap: 16px; }
.guess-row input[type="range"] { flex: 1 1 auto; min-width: 0; accent-color: var(--accent); height: 28px; }
.guess-row output { flex: 0 0 auto; min-width: 92px; text-align: end; font-size: 26px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.guess-acts { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.guess-result { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: center; }
.guess-result[hidden] { display: none; }
.guess-result strong { grid-row: span 2; font-size: clamp(34px, 5vw, 48px); line-height: 1; letter-spacing: -.02em; color: var(--accent); animation: guess-pop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.guess-result p { margin: 0; max-width: none; color: var(--ink); font-weight: 600; }
.guess-result small { color: var(--ink-3); font-size: 12.5px; }
.guess-bar { grid-column: 1 / -1; position: relative; height: 10px; margin-top: 12px; border-radius: 5px; background: var(--chart-track); }
.guess-bar i { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; border-radius: 5px; background: var(--chart-1); transition: width .6s ease; }
.guess-bar b { position: absolute; top: -5px; width: 3px; height: 20px; margin-inline-start: -1.5px; border-radius: 2px; background: var(--ink); }
@keyframes guess-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* percentile calculator */
.calc { margin: 22px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg-2); }
.calc-in, .calc-out { padding: 20px 22px; min-width: 0; }
.calc-out { background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border-inline-start: 1px solid var(--line); }
.calc label, .calc .calc-lbl { display: block; margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.calc-field { display: flex; gap: 8px; align-items: stretch; }
.calc-field input[type="number"] { flex: 1 1 auto; min-width: 0; width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; font-size: 20px; font-weight: 700; }
.calc-field input[type="number"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.calc-seg { flex: 0 0 auto; display: inline-flex; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.calc-seg button { min-width: 48px; border: 0; background: var(--bg); color: var(--ink-2); font: inherit; font-weight: 700; cursor: pointer; }
.calc-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.calc-in input[type="range"] { width: 100%; margin-top: 16px; accent-color: var(--accent); height: 28px; }
.calc-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.calc-out strong { display: block; font-size: clamp(36px, 5vw, 52px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.calc-out strong sup { font-size: .42em; font-weight: 700; color: var(--ink-2); margin-inline-start: 2px; }
.calc-out p { margin: 10px 0 0; max-width: none; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.calc-meter { position: relative; height: 10px; margin-top: 14px; border-radius: 5px; background: var(--chart-track); overflow: hidden; }
.calc-meter i { display: block; height: 100%; border-radius: 5px; background: var(--chart-1); transition: width .25s ease; }
.calc .calc-note { grid-column: 1 / -1; margin: 0; max-width: none; padding: 12px 22px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
@media (max-width: 720px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-out { border-inline-start: 0; border-top: 1px solid var(--line); }
  .guess-row { gap: 10px; }
  .guess-row output { min-width: 76px; font-size: 22px; }
}

/* calculator with several measurements */
.calc-measures { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 22px 0; }
.calc-measures button, .now-presets button { min-height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.calc-measures button[aria-pressed="true"], .now-presets button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.calc-out strong sup { vertical-align: super; }

/* condom fit rows */
.fit-rows { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.fit-rows li { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; font-size: 13.5px; color: var(--ink-2); }
.fit-rows b { color: var(--ink); font-variant-numeric: tabular-nums; }
.fit-rows .trk { display: block; height: 8px; border-radius: 4px; background: var(--chart-track); overflow: hidden; }
.fit-rows .trk i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--chart-1); transition: width .25s ease; }
.fit-rows em { font-style: normal; font-weight: 600; color: var(--ink); min-width: 118px; text-align: end; }

/* "right now" estimate */
.now-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.calc.now .now-l2 { margin-top: 18px; }
.calc.now .calc-in input[type="range"] { margin-top: 8px; }
.calc.now .calc-scale span:nth-child(2) { color: var(--ink); font-weight: 700; }

/* stat cards (two to four figures side by side) */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 18px 0; }
.stat-cards > div { padding: 16px 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease; }
.stat-cards > div:hover { border-color: rgba(var(--accent-rgb), .5); transform: translateY(-2px); }
.stat-cards strong { display: block; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; color: var(--accent); }
.stat-cards span { display: block; margin-top: 4px; font-weight: 600; color: var(--ink); font-size: 14px; line-height: 1.35; }
.stat-cards small { display: block; margin-top: 6px; color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
.stat-cards.is-text strong { font-size: 17px; letter-spacing: 0; color: var(--ink); }
.stat-cards.is-text small { font-size: 13.5px; color: var(--ink-2); }

/* tables: note under the table, placeholder for cells a study did not report */
.article-body .tbl-note { margin: -6px 0 18px; max-width: none; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.data-table .na { color: var(--ink-3); }
.data-table td a, .data-table th a { color: var(--accent); }

/* charts inside the article */
.inline-chart { margin: 20px 0; padding: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.inline-chart .hero-chart-caption { padding: 8px 14px 10px; }
.article-body .callout { margin: 18px 0; max-width: none; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-strong); border-inline-start: 3px solid var(--accent); background: var(--bg-2); color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }

/* fact list with topic filter */
.facts .lib-chips { margin-bottom: 14px; }
.fact-groups { counter-reset: f; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.fact-group { margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .2s ease; }
.fact-group:hover { border-color: rgba(var(--accent-rgb), .5); }
.fact-group[hidden] { display: none; }
.article-body .fact-group h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.3; }
.fact-group h3 a { color: var(--ink); text-decoration: none; }
.fact-group h3 a:hover { color: var(--accent); }
.fact-group ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fact-group li { counter-increment: f; position: relative; margin: 0; padding-inline-start: 40px; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.fact-group li::before { content: counter(f); position: absolute; inset-inline-start: 0; top: 0; min-width: 30px; height: 22px; padding: 0 4px; box-sizing: border-box; border-radius: 7px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .14); color: var(--accent); font-weight: 800; font-size: 12px; }
.fact-group li strong { color: var(--ink); }

/* sources page */
.watch.is-wide .watch-col { max-width: 1120px; margin-inline: auto; }
.src-filter { display: flex; align-items: center; gap: 12px; margin: 12px 0 14px; }
.src-filter input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--ink); font: inherit; font-size: 15px; }
.src-filter input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.src-count { flex: 0 0 auto; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sources-list.is-full li[hidden] { display: none; }
.sources-list .src-used { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.sources-list .src-used a { color: var(--ink-2); }

/* site pages (about, contact, legal): long values such as an email address must wrap */
.stat-pills.is-doc .stat-pill-value { overflow-wrap: anywhere; font-size: clamp(15px, 1.4vw, 18px); }
.article-body.is-doc .data-table tbody th { width: 34%; white-space: normal; }
.article-body.is-doc .data-table td { overflow-wrap: anywhere; }
.article-body.is-doc .data-table thead th:empty { padding: 0; border: 0; height: 0; }
.fv4-legal a { color: inherit; }
.brand-hero.is-404 { grid-template-columns: minmax(0, 1fr); }

/* related pages under the hero */
.page-tags .tag-chip { white-space: nowrap; }

/* watch pages: the article starts right under the "on this page" bar */
.watch-col .section { padding-top: 26px; }
.watch-col .toc-bar { margin-top: 6px; }
/* row headers read like cells (the column headers keep the label style) */
.data-table tbody th { text-align: start; font-family: var(--font-body); font-size: inherit; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); background: none; }
.data-table tbody tr:last-child th { border-bottom: none; }

/* two-up comparison cards */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.duo > div { padding: 16px 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.duo strong { display: block; font-size: 28px; letter-spacing: -.02em; color: var(--ink); }
.duo span { display: block; margin-top: 2px; font-weight: 600; color: var(--ink-2); font-size: 14px; }
.duo small { display: block; margin-top: 6px; color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
@media (max-width: 560px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* numbered findings */
.steps { list-style: none; counter-reset: s; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.steps li { counter-increment: s; position: relative; margin: 0; padding: 14px 16px 14px 52px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); font-size: 14.5px; line-height: 1.4; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 14px; top: 13px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .14); color: var(--accent); font-weight: 800; font-size: 13px; }
@media (max-width: 640px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* toast for links to pages that are planned but not built in this preview */
.kit-toast { position: fixed; left: 50%; bottom: 24px; z-index: 9990; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); transition: opacity .2s ease, transform .2s ease; }
.kit-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* footer: plain link columns */
.site-footer[data-footer="v4"] .fv4-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 900px) { .site-footer[data-footer="v4"] .fv4-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  .guess-result strong { animation: none; }
  .guess-bar i, .calc-meter i, .kit-toast, .fit-rows .trk i, .stat-cards > div { transition: none; }
  .stat-cards > div:hover { transform: none; }
}

:root { --chart-1: #c98500; --chart-2: #3987e5; }
