:root {
  --bg: #0b0d0a;
  --bg2: #12150f;
  --line: rgba(255, 255, 255, 0.09);
  --fg: #f2f4ee;
  --fg2: #b7bdb0;
  --fg3: #7f867a;
  --accent: #a6e35a;
  --accent-ink: #0b0d0a;
  --radius: 18px;
  --max: 1080px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.65 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #c4f08a; }
img, svg { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 13, 10, 0.82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand-mark { width: 26px; height: 26px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--fg2); text-decoration: none; }
.nav a:hover { color: var(--fg); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--fg) !important; }
@media (max-width: 720px) { .nav a:not(.lang) { display: none; } }

/* hero */
.hero { padding: 88px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(166, 227, 90, 0.18), transparent 70%); pointer-events: none;
}
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 22px; font-weight: 800; max-width: 14ch; }
h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--fg2); max-width: 62ch; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #c4f08a; color: var(--accent-ink); }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); color: var(--fg); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 56px; }
.stat { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat b { display: block; font-size: 30px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--fg3); font-size: 14px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 14px; }
.sub { color: var(--fg2); max-width: 64ch; margin: 0 0 36px; }
.prose p { color: var(--fg2); max-width: 70ch; }
.prose p strong { color: var(--fg); }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 76px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 14px 0; position: relative; }
.timeline li::after { content: ""; position: absolute; left: 72px; top: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--fg); padding-top: 2px; }
.timeline h3 { margin: 0 0 4px; font-size: 18px; }
.timeline p { margin: 0; color: var(--fg2); }
@media (max-width: 560px) {
  .timeline::before { left: 4px; } .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 24px; }
  .timeline li::after { left: 0; top: 20px; }
}

/* cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--fg2); font-size: 15.5px; }
.card .num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: 0.08em; }
.card a.more { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 600; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--fg3); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--fg2); margin: 10px 0 0; max-width: 72ch; }

/* sources + footer */
.sources { columns: 2; column-gap: 32px; padding-left: 18px; color: var(--fg2); font-size: 15px; }
@media (max-width: 560px) { .sources { columns: 1; } }
.sources li { margin-bottom: 8px; break-inside: avoid; }
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--fg3); font-size: 14px; }
footer p { margin: 0 0 8px; max-width: 80ch; }
.disclaimer { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--fg2); font-size: 14.5px; margin-top: 28px; max-width: 80ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- vote battle ---------- */
.battle { padding: 56px 0 40px; position: relative; overflow: hidden; }
.battle::before { content: ""; position: absolute; inset: -30% auto auto -20%; width: 820px; height: 820px; background: radial-gradient(closest-side, rgba(166,227,90,.16), transparent 70%); pointer-events: none; }
.battle-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .battle-grid { grid-template-columns: 1fr; } .jacket-wrap { order: -1; max-width: 260px; margin: 0 auto; } }
.battle h1 { max-width: 16ch; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 14px; }
.vote-btn {
  appearance: none; border: 2px solid var(--line); background: var(--bg2); color: var(--fg); border-radius: 20px; padding: 18px 16px; cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font: inherit; text-align: left; transition: transform .15s, border-color .15s, background .15s;
}
.vote-btn:hover { border-color: rgba(255,255,255,.28); transform: translateY(-2px); }
.vote-btn [data-label] { font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.vote-btn [data-pct] { font-size: 34px; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.vote-btn.yes [data-pct] { color: var(--accent); }
.vote-btn.no [data-pct] { color: #ff7a5c; }
.vote-btn.picked.yes { border-color: var(--accent); background: rgba(166,227,90,.1); }
.vote-btn.picked.no { border-color: #ff7a5c; background: rgba(255,122,92,.1); }
.vote-btn.picked::after { content: "✓"; font-size: 13px; font-weight: 800; opacity: .8; }
.vote-btn.pop { animation: pop .45s ease; }
@keyframes pop { 40% { transform: scale(1.05); } }
.bar { --a: 50%; height: 12px; border-radius: 999px; background: #ff7a5c; overflow: hidden; }
.bar::before { content: ""; display: block; height: 100%; width: var(--a); background: var(--accent); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.meta-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; color: var(--fg3); font-size: 14px; flex-wrap: wrap; }
.x-share { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #000 !important; text-decoration: none; font-weight: 800; padding: 9px 16px; border-radius: 999px; font-size: 14px; }
.x-share:hover { background: #e6e6e6; }
.x-share svg { width: 15px; height: 15px; }
.has-vote .x-share { box-shadow: 0 0 0 4px rgba(255,255,255,.12); }

/* jacket */
.jacket-wrap { position: relative; }
.jacket { width: 100%; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }
.sticker { position: absolute; background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 13px; padding: 6px 10px; border-radius: 10px; transform: rotate(-8deg); box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.sticker.s1 { top: 6%; left: -2%; }
.sticker.s2 { bottom: 14%; right: -2%; transform: rotate(7deg); background: #fff; }
@media (prefers-reduced-motion: reduce) { .jacket { animation: none; } }

/* hot takes */
.polls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 720px) { .polls { grid-template-columns: 1fr; } }
.poll { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.poll h3 { margin: 0 0 14px; font-size: 19px; line-height: 1.35; }
.poll .vs { margin: 0 0 12px; }
.poll .vote-btn { padding: 12px 14px; border-radius: 14px; }
.poll .vote-btn [data-label] { font-size: 15px; }
.poll .vote-btn [data-pct] { font-size: 22px; }

/* memes */
.memes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .memes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .memes { grid-template-columns: 1fr; } }
.meme { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg2); display: flex; flex-direction: column; }
.meme-art { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 22px; text-align: center; font-weight: 900; letter-spacing: -.02em; line-height: 1.08; font-size: clamp(22px, 2.6vw, 30px); position: relative; }
.meme-art small { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; margin-top: 10px; opacity: .75; text-transform: uppercase; }
.m1 { background: linear-gradient(135deg, #a6e35a, #5fae2a); color: #0b0d0a; }
.m2 { background: #111; color: #fff; background-image: radial-gradient(circle at 30% 20%, #2a2a2a, #0a0a0a 70%); }
.m3 { background: linear-gradient(135deg, #ffd8a8, #ff9f6e); color: #2b1408; }
.m4 { background: linear-gradient(135deg, #f5d000, #f59e00); color: #1c1400; }
.m5 { background: linear-gradient(135deg, #7b5cff, #3c2bb5); color: #fff; }
.m6 { background: linear-gradient(135deg, #0f2a1a, #0b0d0a); color: var(--accent); }
.meme-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; gap: 10px; }
.meme-foot span { color: var(--fg3); font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: #fff; color: #000; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: .25s; z-index: 50; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- full timeline page ---------- */
.tl-hero { padding: 64px 0 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; position: sticky; top: 60px; z-index: 5; background: rgba(11,13,10,.9); backdrop-filter: blur(10px); padding: 10px 0; }
.chip { appearance: none; border: 1px solid var(--line); background: var(--bg2); color: var(--fg2); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.era { margin: 44px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fg3); }
.events { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); }
.ev { position: relative; padding: 0 0 26px 18px; }
.ev::before { content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.ev[data-cat="life"]::before { border-color: #7fb8ff; } .ev[data-cat="product"]::before { border-color: #ffd166; }
.ev[data-cat="ai"]::before { border-color: #c28bff; } .ev[data-cat="money"]::before { border-color: #ff7a5c; }
.ev-date { font-weight: 900; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--fg); }
.ev-tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fg3); border: 1px solid var(--line); padding: 1px 7px; border-radius: 6px; }
.ev h3 { margin: 4px 0 4px; font-size: 20px; letter-spacing: -.01em; }
.ev p { margin: 0 0 8px; color: var(--fg2); max-width: 66ch; }
.ev .x-share { padding: 6px 12px; font-size: 13px; }
.ev.hot h3::after { content: " 🔥"; }
.ev[hidden] { display: none; }
.more-link { display: inline-block; margin-top: 18px; font-weight: 700; }
