:root {
  --bg: #06100b;
  --panel: #0d1b13;
  --panel-2: #102218;
  --line: #1e3d2c;
  --text: #e6f6ec;
  --muted: #8fb39f;
  --green: #22c55e;
  --green-dim: #16a34a;
  --amber: #eab308;
  --chip: #143322;
  --sans: "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background:
    radial-gradient(900px 420px at 8% -10%, #143322 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
header.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(6, 16, 11, 0.88);
  border-bottom: 1px solid var(--line);
}
.top-inner, footer.site, main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.2rem;
}
.top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.brand, a.brand {
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.05rem;
  text-decoration: none;
}
a.brand:hover { text-decoration: none; color: var(--green); }
.brand span { color: var(--text); font-weight: 500; }
.live-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
nav a { margin-left: 1rem; font-size: 0.9rem; color: var(--muted); }
nav a:hover { color: var(--text); text-decoration: none; }
.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #08150f;
  font-size: 0.82rem;
}
.ticker-inner {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
  padding: 0.4rem 0;
  color: var(--muted);
}
.ticker b { color: var(--green); margin-right: 0.4rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--green); z-index: 40;
}
.hero h1 { font-size: 2.35rem; margin: 0.4rem 0 0.5rem; line-height: 1.15; font-family: Georgia, serif; }
.hero p { color: var(--muted); max-width: 42rem; }
.stats {
  display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1rem 0 1.4rem;
}
.chip {
  background: var(--chip);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.chip strong { color: var(--text); }
.grid { display: grid; grid-template-columns: 1.55fr 0.85fr; gap: 1.2rem; }
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.15rem;
}
.card h2 {
  margin: 0 0 0.8rem;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.story {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.story:last-child { border-bottom: 0; }
.story:hover { text-decoration: none; }
.story, .item { color: var(--text); }
.story h3 { margin: 0 0 0.35rem; font-family: Georgia, serif; font-size: 1.22rem; color: var(--text); }
.story.lead h3 { font-size: 1.55rem; }
.story p { margin: 0.2rem 0 0.55rem; color: var(--muted); font-size: 0.95rem; }
.meta {
  display: flex; flex-wrap: wrap; gap: 0.65rem 0.9rem;
  font-size: 0.75rem; color: var(--muted);
}
.meta span { display: inline-flex; align-items: center; gap: 0.28rem; }
.badge {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
  color: #04210f;
  background: var(--green);
  border-radius: 4px;
  padding: 0.12rem 0.4rem;
  font-weight: 700;
}
.badge.peak { background: var(--amber); }
.badge.decay { background: #64748b; color: #fff; }
.item { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.score { font-size: 0.75rem; color: var(--green); }
button, .btn {
  background: var(--green);
  color: #04210f;
  border: 0;
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--sans);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
button.ghost, .btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
button:hover { filter: brightness(1.08); }
input, textarea, select {
  width: 100%;
  background: #07140d;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  margin: 0.25rem 0 0.7rem;
  font-family: var(--sans);
}
label { font-size: 0.85rem; color: var(--muted); }
.ad {
  border: 1px dashed var(--green-dim);
  padding: 0.85rem;
  margin: 0.8rem 0;
  border-radius: 10px;
  background: #0a1a12;
}
.ad .muted { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.muted { color: var(--muted); font-size: 0.88rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 0.4rem; }
.phase { text-transform: uppercase; font-size: 0.72rem; color: var(--green); letter-spacing: 0.08em; }
article.story-body { font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; max-width: 42rem; }
article.story-body p { margin: 0.85rem 0; }
.byline { margin: 0.4rem 0 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.1rem 0; }
.comment {
  border-top: 1px solid var(--line);
  padding: 0.8rem 0;
}
.comment .who { font-weight: 700; font-size: 0.86rem; }
.related a { display: block; padding: 0.55rem 0; border-bottom: 1px solid var(--line); color: var(--text); }
.related a:hover { color: var(--green); text-decoration: none; }
.subscribe {
  display: flex; gap: 0.4rem; flex-wrap: wrap;
}
.subscribe input { flex: 1; min-width: 160px; margin: 0; }
.ico { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
pre.series { font-size: 0.78rem; overflow: auto; background: #07140d; padding: 0.6rem; border-radius: 8px; }
footer.site { color: var(--muted); font-size: 0.82rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.blurb {
  border-left: 3px solid var(--green);
  margin: 0.8rem 0;
  padding: 0.2rem 0 0.2rem 0.9rem;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 1.05rem;
}
.also h2, .next-story .phase { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.also ul { padding-left: 1.1rem; color: var(--text); }
.next-story {
  display: block;
  margin: 1.4rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-2);
  color: inherit;
  text-decoration: none;
}
.next-story:hover { text-decoration: none; border-color: var(--green-dim); }
.next-story strong { display: block; margin: 0.25rem 0; font-family: Georgia, serif; font-size: 1.25rem; color: var(--text); }
.reacts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0.6rem 0 1rem; }
.why-box {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--green-dim);
  border-radius: 12px;
  background: #0a1f14;
}
.why-box p { margin: 0.35rem 0 0; font-family: Georgia, serif; font-size: 1.12rem; }
.window-card {
  margin: 1rem 0 1.2rem;
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0c1c14;
}
.window-card strong { display: block; font-size: 1.15rem; margin: 0.2rem 0 0.55rem; }
.window-card p { margin: 0.45rem 0 0; color: var(--muted); }
.window-card ul { margin: 0.35rem 0 0; padding-left: 1.1rem; color: var(--text); }
.window-bar {
  height: 6px;
  border-radius: 99px;
  background: #143322;
  overflow: hidden;
}
.window-bar i {
  display: block;
  height: 100%;
  background: var(--green);
}
.window-card.state-narrow .window-bar i { background: var(--amber); }
.window-card.state-cooling .window-bar i { background: #64748b; }
.story .meta .win { color: var(--green); }
.contrast, .geos, .because { margin: 1.3rem 0; }
.contrast h2, .geos h2, .because h2 { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contrast p { margin: 0.4rem 0; }
.geo-bars { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.geo-bars li { display: grid; grid-template-columns: 2.4rem 1fr 2.2rem; gap: 0.55rem; align-items: center; margin: 0.4rem 0; font-size: 0.88rem; }
.because ul { padding-left: 1.1rem; }
.because input { margin-bottom: 0.4rem; }
.cluster h2, .sources h2, .also h2 { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cluster ul, .sources ul { padding-left: 1.1rem; }
.spikes { padding-left: 1.2rem; }
.spikes li { margin: 0.9rem 0; }
.spikes p { margin: 0.3rem 0 0; color: var(--muted); }
.toast {
  position: fixed; bottom: 1.2rem; right: 1.2rem;
  background: var(--green); color: #04210f;
  padding: 0.55rem 0.85rem; border-radius: 8px;
  font-weight: 700; display: none; z-index: 50;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.pager a {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--green-dim);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}
.pager a:hover { border-color: var(--green); text-decoration: none; }
.pager .now { color: var(--muted); }
.pager .off { color: #4d6b5b; }
