:root {
  color-scheme: dark;
  --bg: #07080f;
  --bg-2: #10131c;
  --bg-3: #171b28;
  --ink: #f4f6fb;
  --muted: #9aa3b8;
  --line: rgb(255 255 255 / 12%);
  --accent: #d6ff3f;
  --accent-fill: #d6ff3f;
  --accent-ink: #10140a;
  --cyan: #3ee0ff;
  --release: #3dff9a;
  --release-bg: rgb(61 255 154 / 16%);
  --price: #ffb020;
  --price-bg: rgb(255 176 32 / 16%);
  --deprecation: #ff7a1a;
  --deprecation-bg: rgb(255 122 26 / 16%);
  --shutdown: #ff2d6a;
  --shutdown-bg: rgb(255 45 106 / 18%);
  --correction: #8eb4ff;
  --correction-bg: rgb(142 180 255 / 14%);
  --open: #2ee6c7;
  --closed: #b08cff;
  --focus: #d6ff3f;
  --shadow: 0 18px 50px rgb(0 0 0 / 35%);
  --display: "Space Grotesk", "Avenir Next Condensed", "Segoe UI", sans-serif;
  --sans: "Space Grotesk", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  accent-color: var(--accent);
  scrollbar-color: #3a4258 transparent;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5fb;
  --bg-2: #ffffff;
  --bg-3: #e7ebf6;
  --ink: #10131c;
  --muted: #4d5670;
  --line: rgb(16 19 28 / 12%);
  --accent: #3d5c00;
  --accent-fill: #d4f000;
  --accent-ink: #1a2208;
  --cyan: #007c99;
  --release: #0c8f55;
  --release-bg: #daf8ea;
  --price: #9a6200;
  --price-bg: #fff1d2;
  --deprecation: #c2410c;
  --deprecation-bg: #ffe4d4;
  --shutdown: #c4144e;
  --shutdown-bg: #ffd6e4;
  --correction: #314e9a;
  --correction-bg: #e4ebff;
  --open: #0f766e;
  --closed: #6d28d9;
  --focus: #3d5a00;
  --shadow: 0 16px 40px rgb(16 19 28 / 10%);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.5;
  background:
    linear-gradient(to right, rgb(255 255 255 / 3.5%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 3.5%) 1px, transparent 1px),
    radial-gradient(900px 420px at 10% -10%, rgb(214 255 63 / 16%), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgb(62 224 255 / 12%), transparent 50%),
    var(--bg);
  background-size: 56px 56px, 56px 56px, auto, auto, auto;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
  mix-blend-mode: overlay;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }
body.has-sponsor { padding-bottom: 4.5rem; }
a { color: var(--cyan); text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: 0.8rem; top: -3rem; background: var(--accent-fill); color: var(--accent-ink); padding: 0.4rem 0.7rem; z-index: 6; }
.skip:focus { top: 0.8rem; }

.wrap { width: min(76rem, calc(100% - 1.5rem)); margin: 0 auto; }
.mast { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(16px); background: rgb(7 8 15 / 78%); border-bottom: 1px solid var(--line); }
:root[data-theme="light"] .mast { background: rgb(243 245 251 / 86%); }
.mast-inner { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; align-items: center; justify-content: space-between; padding: 0.85rem 0; }
.brand { text-decoration: none; color: inherit; }
.kicker, .brand .kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.wordmark { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.05em; line-height: 1; }
.nav { display: flex; flex-wrap: wrap; gap: 0.35rem 0.85rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--accent); }
.tools { display: flex; gap: 0.5rem; align-items: center; }
.search { display: flex; gap: 0.35rem; align-items: center; }
.search input, .form input, .form textarea, .form select {
  font: inherit;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}
.search input { width: 9.5rem; }
button, .button {
  font: inherit;
  font-weight: 650;
  color: var(--accent-ink);
  background: var(--accent-fill);
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgb(214 255 63 / 30%), 0 8px 24px rgb(214 255 63 / 18%);
}
button.ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.page { padding: 1.4rem 0 4rem; }
.display, .lede, h1.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.96;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  margin: 0.2rem 0 0.7rem;
  max-width: 12ch;
}
.section-title, .panel h2, .panel h3 { font-family: var(--display); letter-spacing: -0.04em; font-weight: 650; }
.deck { max-width: 40rem; color: var(--muted); margin: 0 0 1rem; }
.hero { display: grid; gap: 1rem; align-items: end; margin-bottom: 1.2rem; }
.count-card, .panel, .watch-card, .empty-collect {
  background: linear-gradient(180deg, rgb(255 255 255 / 5%), transparent 42%), var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.count-card { padding: 1.1rem 1.2rem 1.2rem; min-width: min(100%, 16rem); }
.count-num, .stat b, .mono-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.count-num {
  margin: 0.15rem 0;
  font-size: clamp(4.4rem, 10vw, 6.8rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: #ff2d78;
  text-shadow: 0 0 18px #ff2d6a, 0 0 40px rgb(255 45 106 / 80%);
}
.stats { display: grid; gap: 0.8rem; margin: 0 0 1.2rem; }
.stat {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.stat b {
  display: block;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: #f6ffd4;
  text-shadow: 0 0 14px #d6ff3f, 0 0 32px rgb(214 255 63 / 75%);
}
.stat span, .note, .tag, .source { color: var(--muted); }
.note { font-size: 0.9rem; }
.grid-2 { display: grid; gap: 1rem; }
.panel { padding: 1rem 1rem 0.6rem; margin: 0 0 1rem; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; }
.event { display: grid; grid-template-columns: 7.2rem 1fr; gap: 0.4rem 0.8rem; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.event time { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.event p { margin: 0.25rem 0 0; }
.pill, .chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  border-radius: 999px;
  padding: 0.12rem 0.5rem 0.12rem 0.35rem;
  margin: 0 0.28rem 0.28rem 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
}
.pill.release, .chip.release, .dot.release { background: var(--release-bg); color: var(--release); }
.pill.price, .chip.price, .dot.price { background: var(--price-bg); color: var(--price); }
.pill.deprecation, .chip.deprecation, .dot.deprecation { background: var(--deprecation-bg); color: var(--deprecation); }
.pill.shutdown, .chip.shutdown, .dot.shutdown { background: var(--shutdown-bg); color: var(--shutdown); }
.pill.correction, .chip.correction, .dot.correction { background: var(--correction-bg); color: var(--correction); }
.pill.open { background: rgb(46 230 199 / 14%); color: var(--open); }
.pill.closed { background: rgb(176 140 255 / 16%); color: var(--closed); }
.ico { width: 0.85rem; height: 0.85rem; }
.mono {
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 8px;
  margin-right: 0.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #10140a;
  background: var(--mono);
  box-shadow: 0 0 16px color-mix(in srgb, var(--mono) 55%, transparent);
  vertical-align: middle;
}
.swim-scroll { overflow-x: auto; padding-bottom: 0.4rem; }
.swim-sheet { width: 1180px; }
.axis-row, .lane { display: flex; align-items: flex-start; gap: 0.45rem; }
.lane { margin-top: 0.85rem; }
.lane-lab, .axis-spacer {
  position: sticky;
  left: 0;
  z-index: 2;
  flex: 0 0 9.5rem;
  width: 9.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.7rem;
  padding: 0.2rem 0.45rem 0.2rem 0;
  background: var(--bg-2);
  font-weight: 700;
}
.lane-rows { flex: 0 0 980px; width: 980px; }
.ruler, .track { position: relative; height: 1.35rem; width: 780px; flex: 0 0 780px; }
.gridline, .today-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgb(255 255 255 / 42%);
  pointer-events: none;
}
.today-line { width: 2px; background: #d6ff3f; box-shadow: 0 0 12px #d6ff3f; z-index: 1; }
.tick, .today-label {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #d5dbea;
  white-space: nowrap;
}
.today-label { color: #d6ff3f; font-weight: 700; }
.model-row {
  display: flex;
  align-items: center;
  width: 980px;
  min-height: 1.7rem;
  text-decoration: none;
  color: inherit;
}
.model-name {
  flex: 0 0 200px;
  width: 200px;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0.45rem;
}
.span {
  position: absolute;
  top: 0.35rem;
  height: 0.85rem;
  border-radius: 999px;
  min-width: 4px;
}
.span.open { background: linear-gradient(90deg, #14b8a6, #2ee6c7); }
.span.closed { background: linear-gradient(90deg, #7c3aed, #c4b5fd); }
.span.live::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  bottom: -2px;
  width: 8px;
  border-radius: 999px;
  background: #d6ff3f;
  box-shadow: 0 0 12px #d6ff3f;
}
.diamond {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-left: -6px;
  transform: translateY(-50%) rotate(45deg);
  border: 2px solid #ffb020;
  background: #1a1408;
  box-shadow: 0 0 10px #ffb020;
}
.legend .span, .legend .diamond { position: static; display: inline-block; width: 0.9rem; height: 0.45rem; margin: 0; transform: none; box-shadow: none; }
.legend .diamond { width: 0.55rem; height: 0.55rem; transform: rotate(45deg); }
.model-row:hover .span, .watch-card:hover, .panel:hover { filter: brightness(1.08); }
:root[data-theme="light"] .stat b { color: #1c2410; text-shadow: none; }
:root[data-theme="light"] .count-num { color: #c4144e; text-shadow: none; }
:root[data-theme="light"] .gridline { background: rgb(16 19 28 / 16%); }
:root[data-theme="light"] .tick { color: #243049; }
.chart { margin: 0.2rem 0 0.8rem; position: relative; }
.chart figcaption { font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.03em; margin-bottom: 0.4rem; }
.chart svg { width: 100%; height: auto; display: block; }
.chart-label { fill: var(--muted); font-size: 11px; font-family: var(--mono); }
.marker { stroke: #ff2d6a; stroke-width: 1.4; stroke-dasharray: 3 3; }
.legend-row, .legend { display: flex; flex-wrap: wrap; gap: 0.7rem; color: var(--muted); font-size: 0.82rem; list-style: none; padding: 0; }
.legend i, .dot { width: 0.55rem; height: 0.55rem; border-radius: 99px; display: inline-block; }
.tip {
  position: absolute;
  z-index: 3;
  max-width: 16rem;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  background: #05060b;
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  pointer-events: none;
}
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow, .cal .day { min-height: 5.4rem; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); padding: 0.35rem; }
.cal .dow { min-height: 0; background: transparent; color: var(--muted); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; }
.cal .day.has { box-shadow: inset 0 0 0 1px rgb(214 255 63 / 25%); }
.cal time { font-family: var(--mono); font-size: 0.78rem; }
.dots { display: flex; flex-wrap: wrap; gap: 3px; margin: 0.25rem 0; }
.chip { max-width: 100%; }
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.7rem; }
.filters a { border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.7rem; text-decoration: none; color: var(--ink); background: var(--bg-2); }
.filters a[aria-current="true"] { background: var(--accent-fill); color: var(--accent-ink); border-color: transparent; }
.timeline { border-left: 1px solid var(--line); margin-left: 0.3rem; padding-left: 1rem; }
.year { font-family: var(--display); font-size: 2rem; letter-spacing: -0.05em; margin: 1rem 0 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; }
caption { text-align: left; padding: 0.6rem 0.75rem; color: var(--muted); }
th, td { text-align: left; padding: 0.55rem 0.75rem; border-top: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
td.num, th.num, .mono-num { font-family: var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.form { display: grid; gap: 0.75rem; max-width: 36rem; }
.form label { display: grid; gap: 0.28rem; }
.check { display: flex; gap: 0.5rem; align-items: center; }
.honeypot { position: absolute; left: -9999px; }
.empty-collect { padding: 1.3rem; margin-bottom: 1rem; background:
  radial-gradient(400px 120px at 20% 0%, rgb(214 255 63 / 18%), transparent 70%),
  var(--bg-2); }
.empty-collect svg { width: min(100%, 280px); height: auto; }
.empty-collect h2 { font-family: var(--display); letter-spacing: -0.04em; margin: 0.2rem 0; }
.watch-grid { display: grid; gap: 0.7rem; }
.watch-card { padding: 0.9rem; }
.watch-card h3 { margin: 0; font-size: 0.95rem; font-family: var(--mono); font-weight: 500; }
.watch-card header { display: flex; align-items: center; gap: 0.4rem; }
.await { color: var(--accent); font-family: var(--mono); font-size: 0.82rem; }
.spark { width: 6.5rem; height: 1.7rem; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); padding: 1.2rem 0 2rem; font-size: 0.88rem; }
.sponsor-bar {
  position: fixed; left: 0.6rem; right: 0.6rem; bottom: 0.6rem;
  display: flex; gap: 0.8rem; justify-content: space-between; align-items: center;
  padding: 0.7rem 0.9rem; border-radius: 14px;
  background: #05060b; color: var(--ink); border: 1px solid rgb(214 255 63 / 45%);
  box-shadow: 0 10px 40px rgb(0 0 0 / 45%);
  z-index: 6;
}
.sponsor-bar a { color: var(--accent); }
.sponsor-bar button { background: transparent; color: var(--ink); box-shadow: none; }
.text-link { font-weight: 650; }

@media (min-width: 860px) {
  .hero { grid-template-columns: 1.4fr 0.8fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1.15fr 0.85fr; }
  .watch-grid { grid-template-columns: repeat(3, 1fr); }
  .search input { width: 12rem; }
  .cal .day { min-height: 6.6rem; }
}
@media (max-width: 720px) {
  .event { grid-template-columns: 1fr; }
  .display { font-size: 2.5rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .span.live::after { animation: pulse 1.8s ease-in-out infinite; }
  .grow { transform-box: fill-box; transform-origin: center bottom; animation: rise 700ms ease both; }
  .reveal { animation: fade 500ms ease both; }
}
@media (prefers-reduced-motion: reduce) {
  .span.live::after, .grow, .reveal { animation: none; }
  .watch-card:hover, .panel:hover { filter: none; }
}
@keyframes pulse { 50% { opacity: 0.45; } }
@keyframes rise { from { transform: scaleY(0.05); } to { transform: scaleY(1); } }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (forced-colors: active) {
  .pill, .span, .panel, button { border: 1px solid ButtonText; }
}
