/* ===== AI Stream Online — Minimal Deco (dark indigo, circles) ===== */

:root {
  --bg: #140C26;
  --bg-alt: #1C1440;
  --bg-alt-2: #241A4E;
  --line: rgba(233, 217, 168, 0.16);
  --line-strong: rgba(233, 217, 168, 0.32);
  --ink: #F3E8C8;
  --ink-soft: #C6BADD;
  --ink-faint: rgba(243, 232, 200, 0.55);
  --gold: #E6CE8E;
  --gold-dim: rgba(230, 206, 142, 0.55);
  --coral: #F6732D;
  --jade: #1B72C2;
  --jade-dim: rgba(27, 114, 194, 0.5);
  --coral-dim: rgba(246, 115, 45, 0.5);

  --font-display: 'Fredoka', sans-serif;
  --font-logo: 'Fredoka', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  background: var(--gold);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  transition: top .15s;
}

.skip-link:focus {
  top: 12px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- header ---------- */

.site-header {
  background: rgba(20, 12, 38, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .wrap {
  max-width: 1440px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mascot {
  height: 54px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-en {
  font-family: var(--font-logo);
  font-size: 24px;
  letter-spacing: 5px;
  color: var(--ink);
}

.logo-he {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 5px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  row-gap: 8px;
}

.main-nav a {
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: border-color .2s, color .2s;
}

.main-nav a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* ---------- hero ---------- */

.site-intro {
  padding: 18px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.site-intro-line {
  margin: 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 300;
}

.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 90px;
  display: flex;
  justify-content: center;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 780px;
}

.hero-eyebrow {
  color: var(--gold);
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-title {
  color: var(--ink);
  font-size: clamp(42px, 6.4vw, 74px);
  line-height: 1.08;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.hero-sub {
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 300;
  max-width: 540px;
  margin: 30px auto 38px;
}

.hero-cta {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- featured story hero ---------- */

.featured-hero {
  justify-content: flex-start;
  align-items: flex-end;
  min-height: 560px;
  padding-top: 160px;
  padding-bottom: 56px;
}

.featured-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.featured-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 38, 0.35) 0%, rgba(20, 12, 38, 0.75) 55%, var(--bg) 100%);
}

.featured-hero .hero-inner {
  text-align: left;
  max-width: 680px;
  margin: 0;
}

.featured-hero .hero-tag {
  margin-bottom: 18px;
}

.featured-hero .hero-title {
  text-transform: none;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.5px;
}

.featured-hero .hero-sub {
  margin: 20px 0 34px;
  max-width: 560px;
}

.featured-hero .hero-cta {
  justify-content: flex-start;
}

.hero-related-sources {
  justify-content: flex-start;
  margin-bottom: 24px;
}

.hero-related-sources:empty {
  display: none;
}

@media (max-width: 640px) {
  .featured-hero {
    min-height: 460px;
    padding-top: 120px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    text-align: center;
  }
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-body);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
}

/* ---------- section heads ---------- */

.section { padding: 100px 0; scroll-margin-top: 130px; }

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-sub {
  margin-top: 16px;
  color: var(--ink-faint);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-head-light h2 { color: var(--ink); }
.section-sub-light { color: var(--ink-faint); }

.data-freshness {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: none;
  color: var(--ink-faint);
}

.today-in-ai {
  max-width: 640px;
  margin: 28px auto 0;
  padding: 14px 22px;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- return visit banner ---------- */

.return-banner {
  background: linear-gradient(90deg, rgba(230, 206, 142, 0.14), rgba(230, 206, 142, 0.04));
  border-bottom: 1px solid var(--line-strong);
  text-align: center;
  padding: 14px 20px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ---------- news ---------- */

/* ---------- good news / bad news (single rotating card) ---------- */

.verdict-section { background: var(--bg-alt); border-top: 1px solid var(--line); }

.verdict-widget {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.verdict-progress {
  color: var(--ink-faint);
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.verdict-stage { width: 100%; }

.verdict-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 24px;
  text-align: center;
  animation: verdict-pop .35s ease;
}

.verdict-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 20px;
}

.verdict-title-panel { background: rgba(255, 255, 255, 0.03); }
.verdict-results-panel { background: rgba(230, 206, 142, 0.06); }
.verdict-voting-panel { background: rgba(255, 255, 255, 0.055); }

.verdict-title-panel { margin-bottom: 11px; }
.verdict-results-panel { margin-bottom: 11px; }

@keyframes verdict-pop {
  0% { transform: scale(0.96); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.verdict-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 16px;
  margin: 0 auto 16px;
}

.verdict-card h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 11px;
  line-height: 1.4;
}

.verdict-card h4 a:hover { color: var(--gold); }

.verdict-already-voted {
  font-size: 12px;
  color: var(--gold);
  margin: 0 0 12px;
}

.verdict-question {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 19px;
  color: var(--gold);
  margin: 0 0 10px;
}

.verdict-vote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  justify-items: stretch;
  max-width: 560px;
  margin: 14px auto 0;
}

.vote-btn-uncertain {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 7px);
}

.vote-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 10px;
  padding: 12px 26px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-body);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: transform .15s, border-color .2s, color .2s, background .2s, box-shadow .2s;
}

.vote-btn-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.vote-btn-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.3) 18%, rgba(255,255,255,0.14) 38%, rgba(255,255,255,0.05) 58%, rgba(255,255,255,0) 80%);
  filter: blur(2px);
  border-radius: 38%;
  pointer-events: none;
  transition: filter .25s ease;
}

.vote-btn.chosen .vote-btn-icon-wrap::before {
  filter: blur(2px) brightness(1.6);
  animation: vote-glow-pulse .5s ease;
}

@keyframes vote-glow-pulse {
  0% { transform: scale(0.7); }
  55% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.vote-btn-icon {
  position: relative;
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform .2s ease;
}

.vote-btn.chosen .vote-btn-icon { transform: scale(1.05); }

.vote-btn-positive.chosen .vote-btn-icon {
  animation: vote-pop-positive .45s cubic-bezier(.34,1.56,.64,1) forwards;
}
.vote-btn-negative.chosen .vote-btn-icon {
  animation: vote-pop-negative .45s cubic-bezier(.34,1.56,.64,1) forwards;
}
.vote-btn-uncertain.chosen .vote-btn-icon {
  animation: vote-pop-uncertain .45s cubic-bezier(.34,1.56,.64,1) forwards;
}

@keyframes vote-pop-positive {
  0% { transform: scale(1) translateY(0); }
  40% { transform: scale(1.15) translateY(-5px); }
  100% { transform: scale(1.05) translateY(0); }
}

@keyframes vote-pop-negative {
  0% { transform: scale(1) translateY(0); }
  30% { transform: scale(1.15) translateY(3px); }
  62% { transform: scale(1.1) translateY(-2px); }
  100% { transform: scale(1.05) translateY(0); }
}

@keyframes vote-pop-uncertain {
  0% { transform: scale(1) translateX(0); }
  25% { transform: scale(1.12) translateX(-3px); }
  50% { transform: scale(1.12) translateX(3px); }
  75% { transform: scale(1.12) translateX(-1px); }
  100% { transform: scale(1.05) translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .vote-btn.chosen .vote-btn-icon-wrap::before,
  .vote-btn-positive.chosen .vote-btn-icon,
  .vote-btn-negative.chosen .vote-btn-icon,
  .vote-btn-uncertain.chosen .vote-btn-icon {
    animation: none;
  }
}

.vote-btn:disabled { cursor: default; }
.vote-btn:disabled:not(.chosen) { opacity: 0.4; }

@media (hover: hover) {
  .vote-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: var(--gold);
    background: rgba(230, 206, 142, 0.05);
  }
  .vote-btn:hover:not(:disabled) .vote-btn-icon { transform: scale(1.04); }
  .vote-btn:hover:not(:disabled) .vote-btn-icon-wrap::before { filter: blur(2px) brightness(1.4); }

  .vote-btn-positive:hover:not(:disabled) { color: var(--jade); }
  .vote-btn-negative:hover:not(:disabled) { color: var(--coral); }
  .vote-btn-uncertain:hover:not(:disabled) { color: var(--gold); }
}

.vote-btn.chosen {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold), 0 0 16px rgba(230, 206, 142, 0.18);
}

.vote-btn.chosen::after {
  content: '✓';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.vote-btn-positive.chosen { color: var(--jade); }
.vote-btn-negative.chosen { color: var(--coral); }
.vote-btn-uncertain.chosen { color: var(--gold); }

@media (max-width: 480px) {
  .verdict-section .wrap { padding: 0 14px; }
  .verdict-card { padding: 14px 14px; }
  .verdict-panel { padding: 10px 12px; }
  .verdict-title-panel, .verdict-results-panel { margin-bottom: 8px; }
  .verdict-results-strip { margin: 2px 0 8px; }
  .verdict-result-tile { gap: 7px; }
  .verdict-result-tile-box { width: 54px; height: 54px; }
  .verdict-title-panel { padding-top: 10px; padding-bottom: 10px; }
  .verdict-title-panel .verdict-tag { margin-bottom: 8px; }
  .verdict-card h4 { font-size: 15px; margin-bottom: 6px; }
  .verdict-question { font-size: 15px; margin-bottom: 0; }
  .verdict-already-voted { margin-bottom: 0; }
  .vote-btn {
    padding: 10px 14px;
    gap: 7px;
    font-size: 10.5px;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }
  .vote-btn-icon-wrap, .vote-btn-icon { width: 28px; height: 28px; }
  .verdict-vote { gap: 6px; }
  .vote-btn.chosen::after { width: 15px; height: 15px; font-size: 8px; top: -5px; right: -5px; }
}

.verdict-results-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 4px 0 16px;
}

.verdict-result-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.verdict-result-tile-previous { opacity: 0.6; }

.verdict-result-tile-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.verdict-result-tile-current .verdict-result-tile-label {
  color: var(--gold);
}

.verdict-result-tile-box {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: visible;
  animation: verdict-tile-in .45s cubic-bezier(.16,1,.3,1) both;
}

.verdict-result-tile-current .verdict-result-tile-box img {
  box-shadow: 0 0 0 2px var(--gold), 0 0 14px rgba(230, 206, 142, 0.25);
}

.verdict-result-tile:last-child .verdict-result-tile-box {
  animation-delay: .12s;
}

@keyframes verdict-tile-in {
  0% { opacity: 0; transform: translateY(8px) scale(.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.verdict-result-tile-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg-alt);
}

.verdict-result-tile-badge {
  position: absolute;
  bottom: -7px;
  right: -7px;
  min-width: 24px;
  height: 20px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 2px solid var(--bg);
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--bg);
  transition: background-color .25s ease, color .25s ease;
}

.verdict-result-tile-badge-empty {
  background: var(--bg-alt-2);
  color: var(--ink-faint);
  font-weight: 600;
}

.verdict-result-tile-badge-positive { background: var(--jade); color: #fff; }
.verdict-result-tile-badge-negative { background: var(--coral); color: #fff; }
.verdict-result-tile-badge-uncertain { background: var(--gold); color: var(--bg); }

.verdict-result-arrow {
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  transform: translateY(4px);
  opacity: 0.85;
}

.verdict-summary {
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 34px;
}

.verdict-ai-lean {
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.3px;
  font-weight: 500;
}

.verdict-community {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.verdict-results-panel {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 4px 0 18px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
}

.verdict-results-mini {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 10px 0 0;
}

.verdict-results-mini-item {
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.verdict-results-mini-item + .verdict-results-mini-item {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.verdict-results-mini-pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.verdict-results-mini-item-positive .verdict-results-mini-pct { color: var(--jade); }
.verdict-results-mini-item-negative .verdict-results-mini-pct { color: var(--coral); }
.verdict-results-mini-item-uncertain .verdict-results-mini-pct { color: var(--gold); }

@media (max-width: 480px) {
  .verdict-results-mini-item { padding: 0 14px; }
  .verdict-results-mini-pct { font-size: 18px; }
}

.verdict-results-inner {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.verdict-nav-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px; /* comfortable tap target on a phone */
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 14px; /* rounded square */
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  transition: border-color .2s, color .2s, opacity .2s, background .2s;
}

.verdict-nav-btn:hover {
  opacity: 1;
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(230, 206, 142, 0.08);
}

@media (max-width: 480px) {
  .verdict-results-panel { gap: 6px; }
  .verdict-nav-btn { width: 38px; height: 38px; border-radius: 12px; font-size: 15px; }
}

@media (min-width: 1024px) {
  .verdict-widget { zoom: 1.3; }
}

.news-section { background: var(--bg); }

.topic-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.topic-filters-hint {
  display: block;
  width: 100%;
  color: var(--ink-faint);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.topic-chip {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}

.topic-chip:hover { border-color: var(--gold-dim); }

.topic-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  font-weight: 600;
}

.topic-empty {
  color: var(--ink-faint);
  font-size: 14px;
  grid-column: 1 / -1;
}

.related-sources {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.related-sources-label {
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.related-sources a {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid var(--gold-dim);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ---------- dense news archive (day-grouped) ---------- */

.news-archive {
  margin-top: 56px;
}

.archive-day-heading {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 10px;
  margin: 36px 0 4px;
  border-bottom: 1px solid var(--line-strong);
}

.archive-day-heading:first-child {
  margin-top: 0;
}

.archive-show-more {
  display: block;
  margin: 8px auto 0;
  padding: 12px 30px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.archive-show-more:hover {
  border-color: var(--gold);
  background: rgba(230, 206, 142, 0.08);
}

.archive-day-list {
  display: flex;
  flex-direction: column;
}

/* our own display:flex above otherwise beats the browser's default
   [hidden]{display:none} at equal specificity, since an author rule always
   wins over the user-agent stylesheet -- without this, a hidden day list
   would still render */
.archive-day-list[hidden],
.archive-day-heading[hidden] {
  display: none;
}

.archive-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.archive-thumb {
  width: 84px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: var(--bg-alt-2);
}

.archive-thumb-avatar {
  object-fit: contain;
  padding: 8px;
}

.archive-row-body {
  min-width: 0;
}

.archive-row-meta {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 4px;
}

.archive-category {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}

.archive-row-meta span:last-child {
  color: var(--ink-faint);
  font-size: 11px;
}

.archive-row h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.archive-row h4 a {
  color: var(--ink);
}

.archive-row h4 a:hover {
  color: var(--gold);
}

@media (max-width: 640px) {
  .archive-thumb { width: 64px; height: 44px; }
}

.news-card {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}

.news-card:not(.has-thumb) {
  padding-top: 6px;
}

.news-card:not(.has-thumb)::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background: var(--bg-alt);
}

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

.news-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-alt-2);
  border-bottom: 1px solid var(--line);
}

.news-thumb .news-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  margin: 0;
  background: rgba(20, 12, 38, 0.82);
  border-color: rgba(233, 217, 168, 0.3);
  backdrop-filter: blur(2px);
}

.news-thumb .tag-avatar {
  width: 22px;
  height: 22px;
  margin: -2px 6px -2px -4px;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body {
  padding: 26px 26px 24px;
}

.news-card.featured {
  grid-column: span 2;
  background: var(--bg-alt-2);
  border-color: var(--line-strong);
}

.news-card.featured .news-thumb { aspect-ratio: 21/9; }
.news-card.featured h3 { font-size: 26px; }
.news-card.featured .news-tag { border-color: var(--gold); color: var(--gold); }

.placeholder-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 11px;
}

.news-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 16px;
  margin: 0 0 16px;
}

.news-card:not(.has-thumb) .news-tag {
  margin-top: 20px;
}

.tag-avatar {
  width: 40px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  background: var(--bg-alt-2);
  padding: 3px;
  flex-shrink: 0;
}

.section-avatar {
  display: block;
  height: 110px;
  width: auto;
  margin: 0 auto 20px;
  object-fit: contain;
}

.news-card h3 {
  font-size: 20px;
  line-height: 1.32;
  margin-bottom: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.news-card p {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 300;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--ink-faint);
}

.read-more {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ---------- streams ---------- */

.streams-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.streams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.stream-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  overflow: hidden;
}

.stream-video {
  aspect-ratio: 16/9;
  background: var(--bg-alt-2);
  border-bottom: 1px solid var(--line);
}

.stream-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.stream-info { padding: 22px; }

.stream-info h3 { font-size: 17px; margin-bottom: 5px; text-transform: none; letter-spacing: 0; }
.stream-info p { color: var(--ink-faint); font-size: 13px; margin: 0; font-weight: 300; }

.stream-topic {
  display: inline-block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.stream-views {
  display: block;
  margin-top: 6px;
  color: var(--gold-dim);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ---------- top AI voices & podcasts ---------- */

.voices-head {
  margin-top: 64px;
  margin-bottom: 36px;
}

.voices-head h3 {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.voice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}

.voice-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

.voice-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.voice-name {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.voice-platform {
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.podcast-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.podcast-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 20px;
  transition: border-color .2s;
}

.podcast-row:hover {
  border-color: var(--gold-dim);
}

.podcast-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 12px;
  flex-shrink: 0;
}

.podcast-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.podcast-name {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.podcast-host {
  color: var(--ink-faint);
  font-size: 12px;
}

.podcast-episode {
  color: var(--gold-dim);
  font-size: 12px;
  margin-top: 2px;
}

.radio-section { background: var(--bg-alt); border-top: 1px solid var(--line); }

.radio-player {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.radio-player-now {
  display: flex;
  align-items: center;
  gap: 16px;
}

.radio-mascot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
}

.radio-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 22px;
  height: 20px;
  flex-shrink: 0;
}

.radio-eq span {
  width: 4px;
  height: 100%;
  background: var(--gold-dim);
  border-radius: 2px;
  transform: scaleY(0.2);
  transform-origin: bottom;
}

.radio-player.playing .radio-eq span {
  background: var(--gold);
  animation: radio-eq-bounce 0.9s ease-in-out infinite;
}

.radio-player.playing .radio-eq span:nth-child(1) { animation-delay: 0s; }
.radio-player.playing .radio-eq span:nth-child(2) { animation-delay: .2s; }
.radio-player.playing .radio-eq span:nth-child(3) { animation-delay: .4s; }
.radio-player.playing .radio-eq span:nth-child(4) { animation-delay: .1s; }

@keyframes radio-eq-bounce {
  0%, 100% { transform: scaleY(0.2); }
  50% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .radio-player.playing .radio-eq span { animation: none; transform: scaleY(0.7); }
}

.radio-player-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.radio-player-status {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.radio-player.playing .radio-player-status { color: var(--gold); }

.radio-player-station {
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radio-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s, transform .15s;
}

.radio-play-btn:hover:not(:disabled) { background: rgba(230, 206, 142, 0.1); transform: translateY(-1px); }
.radio-play-btn:disabled { opacity: 0.4; cursor: default; }

.radio-stations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.radio-station-btn {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}

.radio-station-btn:hover { border-color: var(--gold); color: var(--gold); }

.radio-station-btn.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--bg);
}

.radio-credit {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 11px;
  color: var(--ink-faint);
  text-align: center;
}

.radio-credit a { color: var(--ink-faint); text-decoration: underline; }

@media (max-width: 480px) {
  .radio-player-station { font-size: 14px; }
  .radio-player { padding: 18px; }
}

.radio-float {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 190;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 40px);
  background: var(--bg-alt-2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.radio-float.visible { display: flex; }

.radio-float-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-faint);
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
  order: 3;
}

.radio-float-close:hover { border-color: var(--coral); color: var(--coral); }

.radio-float-eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  width: 16px;
  height: 14px;
  flex-shrink: 0;
}

.radio-float-eq span {
  width: 3px;
  height: 100%;
  background: var(--gold-dim);
  border-radius: 2px;
  transform: scaleY(0.2);
  transform-origin: bottom;
}

.radio-float.playing .radio-float-eq span {
  background: var(--gold);
  animation: radio-eq-bounce 0.9s ease-in-out infinite;
}

.radio-float.playing .radio-float-eq span:nth-child(1) { animation-delay: 0s; }
.radio-float.playing .radio-float-eq span:nth-child(2) { animation-delay: .2s; }
.radio-float.playing .radio-float-eq span:nth-child(3) { animation-delay: .4s; }
.radio-float.playing .radio-float-eq span:nth-child(4) { animation-delay: .1s; }

@media (prefers-reduced-motion: reduce) {
  .radio-float.playing .radio-float-eq span { animation: none; transform: scaleY(0.7); }
}

.radio-float-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.radio-float-status {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.radio-float.playing .radio-float-status { color: var(--gold); }

.radio-float-station {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.radio-float-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.radio-float-play:hover { background: rgba(230, 206, 142, 0.1); }

.radio-float-restore {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 190;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-alt-2);
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.radio-float-restore.visible { display: flex; }

@media (max-width: 480px) {
  .radio-float { right: 12px; bottom: 12px; padding: 8px 10px; gap: 8px; }
  .radio-float-station { max-width: 90px; }
  .radio-float-restore { right: 12px; bottom: 12px; }
}

.reading-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reading-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 20px;
  transition: border-color .2s;
}

.reading-card:hover {
  border-color: var(--gold-dim);
}

.reading-cover {
  width: 40px;
  height: 60px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.reading-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reading-title {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.reading-author {
  color: var(--ink-faint);
  font-size: 12px;
}

@media (max-width: 900px) {
  .voices-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .voices-grid { grid-template-columns: 1fr; }
}

/* ---------- about ---------- */

.about-section { background: var(--bg); text-align: center; }
.about-inner { max-width: 620px; }
.about-section h2 { margin-bottom: 22px; font-size: 30px; text-transform: uppercase; }
.about-section p { color: var(--ink-soft); font-size: 16px; font-weight: 300; }

/* ---------- footer ---------- */

.site-footer { background: var(--bg-alt); color: var(--ink-faint); }

.footer-inner {
  padding: 38px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-logo);
  letter-spacing: 4px;
  color: var(--ink);
  font-size: 17px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--ink-faint);
  font-size: 12px;
  text-decoration: underline;
}

.footer-links a:hover {
  color: var(--gold);
}

.cookie-banner {
  display: none;
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-alt-2);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 20px 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner p {
  color: var(--ink-soft);
  font-size: 13px;
  margin: 0 0 14px;
}

.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-actions .btn {
  padding: 9px 20px;
  font-size: 11px;
}

.footer-inner p {
  margin: 0;
  font-size: 12px;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .news-grid, .streams-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured { grid-column: span 2; }
}

/* nav switches to the hamburger menu well before 640px: with 8 items
   (News/Countries/Companies/Search/Time Machine/Platforms/Streams/About)
   the flex-wrap row runs out of space earlier than a phone-only
   breakpoint would suggest, leaving a lone item stranded on its own
   wrapped line instead of a clean single row -- so this is split out
   from the 640px block below rather than sharing its threshold. */
@media (max-width: 1320px) {
  .header-inner { position: relative; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 16px 28px;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .news-grid, .streams-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: span 1; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- stock ticker ---------- */

.stock-ticker {
  background: var(--bg-alt-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
}

.stock-ticker-track {
  display: inline-flex;
  align-items: center;
  animation: ticker-scroll 45s linear infinite;
  padding: 9px 0;
}

.stock-ticker:hover .stock-ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.3px;
}

.ticker-symbol {
  color: var(--ink);
  font-weight: 600;
}

.ticker-price {
  color: var(--ink-soft);
}

.ticker-up { color: var(--jade); }
.ticker-down { color: var(--coral); }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .stock-ticker-track { animation: none; }
}

/* ---------- coverage chart ---------- */

.coverage-section {
  background: var(--bg-alt);
  text-align: center;
}

.coverage-toggle {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: -30px 0 36px;
}

.coverage-toggle-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-faint);
  border-radius: 999px;
  padding: 7px 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}

.coverage-toggle-btn:hover { color: var(--ink); border-color: var(--line-strong); }

.coverage-toggle-btn.is-active {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}

.coverage-chart {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* the class selector above outranks the UA's [hidden] rule, so the toggle
   needs this to actually hide the bar view */
.coverage-chart[hidden] { display: none; }

.coverage-pie { max-width: 620px; margin: 0 auto; }
.coverage-pie svg { width: 100%; height: auto; display: block; }
.coverage-pie-label { font-family: var(--font-body); font-size: 12px; font-weight: 600; fill: var(--ink); }
.coverage-pie-sub { font-family: var(--font-body); font-size: 11px; fill: var(--ink-faint); }
.coverage-pie-center-value { font-family: var(--font-display); font-size: 30px; font-weight: 700; fill: var(--ink); }
.coverage-pie-center-label { font-family: var(--font-body); font-size: 10.5px; letter-spacing: 1px; fill: var(--ink-faint); }
.coverage-pie-leader { stroke: var(--line-strong); stroke-width: 1; fill: none; }

.coverage-row {
  display: grid;
  grid-template-columns: 122px 1fr 34px;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.coverage-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* recessive track; the fill is the only saturated mark */
.coverage-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(243, 232, 200, 0.07);
  overflow: hidden;
}

.coverage-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width .9s cubic-bezier(.22,.9,.3,1);
}

.coverage-value {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.coverage-row:hover .coverage-name,
.coverage-row:hover .coverage-value { color: var(--gold); }

.coverage-note {
  max-width: 620px;
  margin: 26px auto 0;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.6;
}

.coverage-note a { color: var(--gold); text-decoration: underline; }

@media (max-width: 640px) {
  .coverage-row { grid-template-columns: 96px 1fr 28px; gap: 10px; }
  .coverage-name { font-size: 13px; }
}

/* ---------- AI leadership section ---------- */

.leadership-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  text-align: center;
}

.leadership-map-wrap {
  position: relative;
  max-width: 780px;
  margin: 0 auto 36px;
}

.leadership-map-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  border: 2px solid rgba(20, 12, 38, 0.85);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: marker-pulse 2.4s ease-out infinite;
  transition: transform .15s, background .2s;
}

.map-marker:hover,
.map-marker:focus-visible {
  transform: translate(-50%, -50%) scale(1.2);
}

.map-marker.active {
  background: var(--jade);
}

@keyframes marker-pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 206, 142, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(230, 206, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 206, 142, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .map-marker { animation: none; }
}

@media (max-width: 640px) {
  .map-marker { width: 20px; height: 20px; font-size: 10px; }
}

.leadership-mode-toggle {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.mode-btn {
  padding: 9px 20px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-faint);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}

.mode-btn:hover:not(:disabled) { color: var(--ink); border-color: var(--ink-faint); }

.mode-btn.active {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}

.mode-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.leadership-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.leadership-rank-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-alt-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
}

.rank-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.rank-flag {
  font-size: 16px;
}

.rank-country {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.rank-company-count {
  color: var(--ink-faint);
  font-size: 11px;
  white-space: nowrap;
  border-left: 1px solid var(--line-strong);
  padding-left: 9px;
  margin-left: 2px;
}

.leadership-rank-list li.clickable {
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.leadership-rank-list li.clickable:hover,
.leadership-rank-list li.clickable:focus-visible {
  border-color: var(--gold-dim);
}

.leadership-rank-list li.active {
  border-color: var(--gold);
  background: rgba(230, 206, 142, 0.1);
}

.leadership-hint {
  margin-top: 18px;
  margin-bottom: 0;
}

.leadership-source {
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-faint);
  font-style: italic;
}

.leadership-drilldown {
  display: none;
  max-width: 560px;
  margin: 28px auto 0;
  padding: 22px 26px;
  background: var(--bg-alt-2);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  text-align: left;
}

.leadership-drilldown.visible { display: block; }

.drilldown-heading {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.drilldown-empty {
  color: var(--ink-faint);
  font-size: 14px;
  margin: 0;
}

.drilldown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drilldown-list li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.drilldown-list li:last-child { border-bottom: none; padding-bottom: 0; }

.drilldown-list a { color: var(--ink); }
.drilldown-list a:hover { color: var(--gold); }

.drilldown-more-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}

.drilldown-more-link:hover { text-decoration: underline; }

/* ---------- live AI pulse (GitHub activity) ---------- */

.ai-pulse {
  text-align: center;
}

.ai-pulse-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.ai-pulse-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ai-pulse-number {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.ai-pulse-stat-label {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.3px;
}

.ai-pulse-live-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--jade);
}

.ai-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
  animation: ai-pulse-blink 1.4s ease-in-out infinite;
}

@keyframes ai-pulse-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-pulse-dot { animation: none; }
}

.ai-pulse-delta {
  margin: 20px 0 0;
  font-size: 12px;
  color: var(--gold);
  min-height: 16px;
}

.ai-pulse-updated {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--ink-faint);
}

@media (max-width: 640px) {
  .ai-pulse-stats { gap: 32px; }
  .ai-pulse-number { font-size: 32px; }
}

/* ---------- Ask the World ---------- */

.ask-world-section { background: var(--bg); text-align: center; border-top: 1px solid var(--line); }

.ask-world-form {
  display: flex;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.ask-world-form input[type="text"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 14px;
  font-family: var(--font-body);
}

.ask-world-form input[type="text"]::placeholder { color: var(--ink-faint); }

.ask-world-results {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: left;
}

.ask-world-results .archive-row:first-child { padding-top: 0; }

/* ---------- Time Machine ---------- */

.time-machine-section { background: var(--bg-alt); text-align: center; }

.time-machine-portal {
  max-width: 620px;
  margin: 0 auto 48px;
  padding: 32px 28px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(27, 114, 194, 0.16), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(230, 206, 142, 0.10), transparent 60%),
    var(--bg);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 60px rgba(27, 114, 194, 0.08), inset 0 0 40px rgba(230, 206, 142, 0.03);
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.calendar-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background: transparent;
  color: var(--gold);
  font-size: 18px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.calendar-nav-btn:hover:not(:disabled) {
  background: rgba(230, 206, 142, 0.1);
  border-color: var(--gold);
}

.calendar-nav-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.calendar-month-label {
  min-width: 160px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--ink);
  text-transform: uppercase;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.calendar-weekdays span {
  text-align: center;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  padding: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.calendar-day.calendar-day-empty {
  border-color: transparent;
  background: transparent;
}

.calendar-day-number {
  font-size: 10px;
  color: var(--ink-faint);
  font-weight: 600;
}

.calendar-day-preview {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--ink-faint);
}

.calendar-day.has-data {
  cursor: pointer;
  border-color: var(--gold-dim);
  background: rgba(230, 206, 142, 0.06);
  animation: calendar-day-glow 3s ease-in-out infinite;
}

.calendar-day.has-data .calendar-day-number { color: var(--gold); }
.calendar-day.has-data .calendar-day-preview { display: flex; color: var(--gold-dim); }

.calendar-day.has-data:hover,
.calendar-day.has-data:focus-visible {
  border-color: var(--gold);
  background: rgba(230, 206, 142, 0.12);
}

.calendar-day.selected {
  border-color: var(--jade);
  background: rgba(27, 114, 194, 0.14);
  animation: none;
}

.calendar-day.selected .calendar-day-number { color: var(--jade); }

@keyframes calendar-day-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(230, 206, 142, 0); }
  50% { box-shadow: 0 0 10px rgba(230, 206, 142, 0.25); }
}

@media (prefers-reduced-motion: reduce) {
  .calendar-day.has-data { animation: none; }
}

@media (max-width: 640px) {
  .time-machine-portal { padding: 22px 14px; }
  .calendar-day-preview { display: none !important; }
}

.time-machine-results {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  color: var(--ink-faint);
}

.time-machine-results .archive-row:first-child { padding-top: 0; }

.time-machine-share {
  display: block;
  margin: 0 0 20px;
}

/* ---------- top AI platforms ---------- */

.platforms-section { background: var(--bg-alt); border-top: 1px solid var(--line); }

.platforms-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
}

.platforms-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.platform-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}

.platform-name {
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.platform-name:hover {
  color: var(--gold);
  text-decoration: underline;
}

.platform-maker {
  color: var(--ink-faint);
  font-size: 13px;
}

.platform-usecase {
  flex-basis: 100%;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 300;
}

.affiliate-disclosure {
  color: var(--ink-faint);
  font-size: 12px;
  text-align: center;
  margin-top: 24px;
}

.affiliate-disclosure a {
  color: var(--gold);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .platforms-list { grid-template-columns: 1fr; }
}

/* ---------- newsletter ---------- */

.jokes-section {
  background: var(--bg-alt);
  text-align: center;
}

.joke-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 38px 32px 30px;
}

.joke-text {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  margin: 0 0 26px;
  min-height: 60px;
  transition: opacity .18s ease;
}

.joke-text.fading { opacity: 0; }

@media (max-width: 640px) {
  .joke-card { padding: 28px 20px 24px; }
  .joke-text { font-size: 16.5px; }
}

.newsletter-section {
  background: var(--bg-alt-2);
  text-align: center;
}

.newsletter-inner { max-width: 560px; margin: 0 auto; }

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  font-family: var(--font-body);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--ink-faint);
}

.newsletter-status {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-faint);
  min-height: 18px;
}

/* ---------- legal pages ---------- */

.legal-page { padding-top: 160px; }

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 34px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--ink-faint);
  font-size: 13px;
  margin-bottom: 24px;
}

.share-btn {
  margin-bottom: 32px;
  padding: 10px 22px;
  font-size: 11px;
}

.legal-content h2 {
  font-size: 18px;
  margin: 32px 0 12px;
  text-transform: none;
}

.legal-content p {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.legal-content a {
  color: var(--gold);
  text-decoration: underline;
}

/* ---------- country intelligence pages ---------- */

.country-stat-block {
  text-align: center;
  padding: 32px;
  margin: 28px 0 40px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(230, 206, 142, 0.05);
}

.country-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--gold);
}

.country-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.country-stat-source {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--ink-faint);
  font-style: italic;
}

.country-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.country-news-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.country-news-item:last-child { border-bottom: none; }

.country-news-meta {
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.country-news-item h3 {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.country-news-item h3 a { color: var(--ink); }
.country-news-item h3 a:hover { color: var(--gold); }

/* ---------- AI intelligence layer (impact badges, why-it-matters) ---------- */

.impact-badge {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
}

.news-thumb .impact-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
}

.impact-low { color: var(--ink-faint); border-color: var(--line-strong); background: rgba(20, 12, 38, 0.6); }
.impact-medium { color: var(--gold); border-color: var(--gold-dim); background: rgba(20, 12, 38, 0.6); }
.impact-high { color: var(--coral); border-color: var(--coral-dim); background: rgba(20, 12, 38, 0.6); }
.impact-critical { color: #fff; border-color: var(--coral); background: var(--coral); }

.archive-row-meta .impact-badge {
  padding: 2px 8px;
}

.ai-analysis {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 2px solid var(--gold-dim);
  background: rgba(230, 206, 142, 0.06);
}

.ai-analysis-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ai-analysis p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
}

.entity-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.entity-tags-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-right: 2px;
}

.entity-tag {
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
}

.company-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
}

.world-map-wrap {
  max-width: 780px;
  margin: 0 auto 8px;
}

.world-map-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}

.world-map-wrap :is(.landxx, .antxx, .noxx) {
  fill: #2a2350;
  stroke: var(--bg);
  stroke-width: 0.5;
}

.world-map-wrap #ocean,
.world-map-wrap .coastxx {
  fill: transparent;
  stroke: none;
}

.world-map-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 16px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 12px;
  margin: 0 0 28px;
}

.world-map-legend-label {
  color: var(--ink-soft);
  font-weight: 600;
}

.world-map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.world-map-legend-swatch {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
}

.world-map-legend-swatch-none {
  background: #2a2350;
}

.country-explore-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 28px;
}

.country-chip {
  font-size: 13px;
  padding: 9px 18px;
}

.company-chip {
  font-size: 12px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: color .15s, border-color .15s;
}

.company-chip:hover {
  color: var(--gold);
  border-color: var(--gold);
}
