/* AI Progress, Visualized - dark, quiet, readable. No external fonts. */
:root {
  --bg: #05070b;
  --bg2: #080c13;
  --panel: #0b1119;
  --panel2: #0f1722;
  --line: #1c2838;
  --grid: rgba(79, 227, 255, 0.045);
  --text: #e8eef5;
  --muted: #a9b6c6;
  --dim: #8794a5;
  --cyan: #4fe3ff;
  --violet: #b9a9ff;
  --green: #63f0a7;
  --amber: #ffbd59;
  --red: #ff7a8a;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.55 var(--sans);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(185, 169, 255, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(79, 227, 255, 0.08), transparent 60%),
    var(--bg);
  background-attachment: scroll;
}
body > *:not(.circuit) { position: relative; z-index: 1; }
a { color: var(--cyan); text-underline-offset: 2px; }
a:hover { color: #9cf0ff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* Header */
.masthead { padding: 40px 0 8px; }
.kicker { margin: 0 0 6px; font: 600 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); display: flex; align-items: center; gap: 8px; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
/* The ring grows and fades with transform and opacity only (no box-shadow animation). */
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(99, 240, 167, .55); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 70% { transform: scale(3.2); opacity: 0; } 100% { transform: scale(3.2); opacity: 0; } }
h1 { margin: 0; font: 700 clamp(30px, 6vw, 54px)/1.05 var(--sans); letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff 0%, var(--cyan) 55%, var(--violet) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { margin: 10px 0 0; color: var(--muted); max-width: 62ch; }
.since[hidden] { display: none; }
.since { margin: 12px 0 0; display: inline-block; font-size: 14px; color: var(--green); border: 1px solid rgba(99, 240, 167, .35); background: rgba(99, 240, 167, .06); padding: 4px 10px; border-radius: 999px; }

/* Sections */
.band { padding: 28px 0 8px; }
h2 { font: 600 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .2em; color: var(--violet); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; }
.explain { margin: 0 0 12px; color: var(--muted); font-size: 15px; max-width: 70ch; }
.explain strong { color: var(--text); font-weight: 600; }
.small { font-size: 13px; color: var(--dim); }

.card {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
  min-width: 0;
}
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 980px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-column: 1 / -1; }
  .news-grid { grid-template-columns: 1.3fr 1fr; }
}
.stack { display: grid; gap: 16px; align-content: start; min-width: 0; }

/* Charts */
.chart { width: 100%; height: 300px; }
.chart.big { height: 340px; }
.chart.tall { height: 420px; }
.chart.short { height: 140px; }
@media (min-width: 720px) { .chart { height: 360px; } .chart.big { height: 420px; } }
.method { font-size: 13px; color: var(--dim); margin: 8px 0 0; }

/* Meta footer: source, as-of, freshness */
.meta { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.meta a { color: var(--muted); }
.badge { display: inline-block; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 4px; border: 1px solid; }
.badge.stale { color: var(--amber); border-color: rgba(255, 189, 89, .5); background: rgba(255, 189, 89, .08); }
.badge.token { color: var(--violet); border-color: rgba(185, 169, 255, .5); background: rgba(185, 169, 255, .08); }
.badge.error { color: var(--red); border-color: rgba(255, 122, 138, .5); background: rgba(255, 122, 138, .08); }
.badge.new { color: var(--green); border-color: rgba(99, 240, 167, .45); background: rgba(99, 240, 167, .07); }
.card.is-stale { border-color: rgba(255, 189, 89, .45); }
.stale-note { color: var(--amber); font-size: 13px; margin: 6px 0 0; }

/* Lists */
.bench-list, .labs, .feed, .arena-list, .pred-list { list-style: none; margin: 0; padding: 0; }
.bench-list { display: grid; gap: 6px; margin-top: 10px; font-size: 14px; }
.bench-list li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.swatch { width: 10px; height: 10px; border-radius: 2px; display: inline-block; flex: none; }
.arena-list li, .labs li { display: grid; grid-template-columns: 2.2em 1fr auto; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.arena-list li:last-child, .labs li:last-child { border-bottom: 0; }
.arena-list .rank { color: var(--dim); font-family: var(--mono); }
.arena-list .org { color: var(--dim); font-size: 13px; }
.labs li { grid-template-columns: 1fr auto; }
.labs .lab { font-weight: 600; }
.labs .model { color: var(--muted); font-size: 14px; }
.labs .days { font-family: var(--mono); color: var(--cyan); text-align: right; white-space: nowrap; }
.labs .dated { color: var(--dim); font-size: 12px; }

.feed li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.feed li:last-child { border-bottom: 0; }
.feed a.title { color: var(--text); text-decoration: none; font-weight: 500; }
.feed a.title:hover { color: var(--cyan); text-decoration: underline; }
.feed .sub { font-size: 13px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 2px; }
.feed .src-lab { color: var(--violet); }
.feed li.is-new { background: linear-gradient(90deg, rgba(99, 240, 167, .07), transparent 70%); border-left: 2px solid var(--green); padding-left: 10px; }

/* Forecast odds */
.odds { width: 100%; border-collapse: collapse; font-size: 14px; }
.odds th { text-align: left; font-weight: 500; color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 6px; border-bottom: 1px solid var(--line); }
.odds td { padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.odds td.num { text-align: right; white-space: nowrap; }
.odds .val { color: var(--cyan); font-size: 16px; }
.up { color: var(--green); }
.down { color: var(--red); }
.token-box { border: 1px dashed rgba(185, 169, 255, .45); border-radius: 8px; padding: 12px; color: var(--muted); font-size: 14px; background: rgba(185, 169, 255, .04); }
.token-box ul { margin: 8px 0 0; padding-left: 18px; }

/* Data centers table */
.table-wrap { overflow-x: auto; margin-top: 10px; }
.dc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dc-table th { text-align: left; color: var(--dim); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 6px; border-bottom: 1px solid var(--line); }
.dc-table td { padding: 7px 6px; border-bottom: 1px solid var(--line); }
.dc-table .num { text-align: right; white-space: nowrap; }

/* arXiv */
.arxiv { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.arxiv .big { font: 600 30px/1.1 var(--mono); color: var(--cyan); }
.arxiv .lbl { font-size: 13px; color: var(--dim); }

/* Predictions list (also the accessible version of the chart) */
.pred-list { margin-top: 10px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
@media (min-width: 980px) { .pred-list { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.pred-list .who { color: var(--text); font-weight: 600; }
.pred-list .yr { font-family: var(--mono); color: var(--cyan); }

/* Milestone timeline */
.timeline { list-style: none; margin: 8px 0 0; padding: 4px 0 14px; display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; position: relative; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: 0; right: 0; top: 43px; height: 2px; background: linear-gradient(90deg, rgba(79, 227, 255, .55), rgba(185, 169, 255, .55)); }
.timeline li:first-child::before { left: 14px; }
.timeline .dot { position: relative; z-index: 1; }
.timeline li { flex: 0 0 auto; scroll-snap-align: start; }
.timeline button {
  font: inherit; color: var(--muted); background: transparent; border: 0; cursor: pointer;
  width: 128px; padding: 6px 8px 0; text-align: left; display: flex; flex-direction: column; gap: 6px; border-radius: 6px;
}
.timeline .yr { font: 600 13px/1 var(--mono); color: var(--cyan); height: 22px; display: flex; align-items: flex-end; }
.timeline .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); margin: 2px 0 2px; }
.timeline .ttl { font-size: 13px; line-height: 1.3; color: var(--text); }
.timeline button[aria-pressed="true"] .dot { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.timeline button[aria-pressed="true"] .ttl { color: var(--cyan); }
.timeline li.is-new .dot { border-color: var(--green); }
.milestone-detail { min-height: 3.5em; margin-top: 8px; padding: 12px; border-radius: 8px; background: var(--bg2); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.milestone-detail strong { color: var(--text); }

/* Footer */
.site-foot { margin-top: 36px; padding: 24px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-foot p { max-width: 80ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---- Version 1.1: make the speed graspable ---- */
/* Hero: compared with 5 years ago */
.hero .hero-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero .hero-grid { grid-template-columns: repeat(3, 1fr); } }
.hero-card { display: flex; flex-direction: column; }
.hero-value { margin: 0; font: 700 clamp(52px, 11vw, 84px)/1 var(--mono); letter-spacing: -0.03em; color: var(--cyan); text-shadow: 0 0 28px rgba(79, 227, 255, .35); }
.hero-label { margin: 6px 0 10px; font-size: 18px; font-weight: 600; color: var(--text); }
.hero-span { margin: 0 0 6px; font: 600 14px/1.2 var(--mono); color: var(--violet); }
.hero-card .how { margin-top: auto; }

/* Normal / steady-rate switch */
.scale-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin: 2px 0 6px; }
.scale-switch button { font: 600 13px/1 var(--sans); color: var(--muted); background: transparent; border: 0; padding: 9px 14px; cursor: pointer; min-height: 36px; }
.scale-switch button + button { border-left: 1px solid var(--line); }
.scale-switch button[aria-pressed="true"] { background: rgba(79, 227, 255, .14); color: var(--text); }
.scale-note { margin: 0 0 8px; font-size: 13px; color: var(--dim); max-width: 70ch; }
.rate { margin: 0 0 10px; font-size: 14px; color: var(--text); max-width: 70ch; border-left: 2px solid var(--violet); padding-left: 10px; }

/* Ladders */
.ladder { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 6px; }
.rung { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel2); }
@media (min-width: 560px) { .rung { grid-template-columns: 13em 1fr; gap: 12px; } }
.rung-label { font-weight: 600; }
.rung-when { font-size: 14px; color: var(--muted); }
.rung.reached { border-color: rgba(79, 227, 255, .45); }
.rung.reached .rung-label::before { content: "✓ "; color: var(--cyan); }
.rung.projected { border-style: dashed; }
.rung.projected .rung-label { color: var(--muted); }
.big-line { font-size: 19px; line-height: 1.4; margin: 4px 0 12px; }
.big-line strong { color: var(--cyan); }
.compute-more { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.compute-more strong { color: var(--text); }

/* If this pace continues */
.projections { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .projections { grid-template-columns: 1fr 1fr; } }
.projections li { display: flex; align-items: baseline; gap: 14px; border-left: 2px dashed var(--amber); padding: 4px 0 4px 14px; }
.proj-year { font-size: clamp(30px, 6vw, 44px); font-weight: 700; color: var(--amber); line-height: 1; text-shadow: 0 0 22px rgba(255, 189, 89, .25); }
.proj-what { font-size: 16px; color: var(--text); }
.small-lead { font-size: 14px; }

/* Estimated impact */
.key { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; margin: 0 2px; }
.key.solid { background: var(--cyan); }
.key.hollow { border: 1.5px solid var(--amber); }
.impact-detail { border: 1px solid var(--line); background: var(--panel2); border-radius: 8px; padding: 10px 12px; margin: 10px 0; font-size: 14px; color: var(--muted); }
.impact-detail p { margin: 0 0 6px; }
.impact-detail .parts { margin: 0; padding-left: 18px; }
.sub-h { margin: 14px 0 6px; font-size: 14px; color: var(--text); }
.impact-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.impact-top button { display: flex; gap: 8px; align-items: baseline; width: 100%; text-align: left; background: transparent; border: 0; color: var(--text); padding: 6px 4px; cursor: pointer; font: 14px/1.35 var(--sans); border-radius: 6px; }
.impact-top button:hover { background: rgba(79, 227, 255, .06); }
.impact-top .score, .rubric .score { color: var(--cyan); min-width: 1.6em; font-weight: 700; }
.formula-box { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; font-size: 14px; color: var(--muted); }
.formula-box summary { cursor: pointer; color: var(--cyan); font-weight: 600; min-height: 32px; }
.formula-box ul { padding-left: 18px; }
.rubric { list-style: none; padding-left: 0 !important; }

/* ---- Version 1.2: visual first, few words ---- */
.lead { margin: 0 0 12px; font-size: 17px; line-height: 1.45; color: var(--text); max-width: 60ch; }
.card-badge { margin: -4px 0 8px; }
h3 { font-size: 20px; }

/* "How we know": one tap away */
.how { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 6px; font-size: 14px; color: var(--muted); }
.how > summary { cursor: pointer; color: var(--cyan); font: 600 13px/1 var(--sans); min-height: 32px; display: flex; align-items: center; gap: 6px; list-style: none; width: fit-content; }
.how > summary::-webkit-details-marker { display: none; }
.how > summary::before { content: "+"; font: 700 15px/1 var(--mono); width: 14px; }
.how[open] > summary::before { content: "−"; }
.how-body { padding: 4px 0 2px; }
.how-body p { margin: 0 0 8px; max-width: 75ch; }
.how-body ul { margin: 0 0 8px; padding-left: 18px; }
.how-body li { margin-bottom: 4px; }
.how .meta { margin-top: 4px; }
.mini { border-collapse: collapse; width: 100%; margin: 8px 0; font-size: 13px; }
.mini th, .mini td { text-align: left; padding: 5px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mini .num { text-align: right; }

/* Buttons */
.pill { font: 600 13px/1 var(--sans); color: var(--text); background: rgba(79, 227, 255, .10); border: 1px solid rgba(79, 227, 255, .4); border-radius: 999px; padding: 9px 16px; min-height: 36px; cursor: pointer; }
.pill:hover { background: rgba(79, 227, 255, .2); }
.toggle-row { margin: 0 0 6px; }
.toggle { font-size: 14px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; cursor: pointer; min-height: 32px; }
.toggle input { accent-color: var(--cyan); width: 16px; height: 16px; }

/* F1: live counters */
.counters { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .counters { grid-template-columns: repeat(3, 1fr); } }
.counter { display: flex; flex-direction: column; padding: 14px; }
.c-value { margin: 0; font-size: clamp(24px, 4.6vw, 40px); line-height: 1.1; font-weight: 700; color: var(--cyan); text-shadow: 0 0 22px rgba(79, 227, 255, .35); white-space: nowrap; overflow: hidden; text-overflow: clip; }
#counter-doubling .c-value, #counter-model .c-value { font-size: clamp(18px, 3.4vw, 32px); }
#counter-meter .c-value { color: var(--amber); text-shadow: 0 0 22px rgba(255, 189, 89, .3); }
.c-label { margin: 8px 0 2px; font-size: 15px; line-height: 1.35; color: var(--text); }
.c-tag { margin: 0; font: 600 11px/1.35 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--violet); }
.counter .how { margin-top: auto; padding-top: 8px; }
.c-bar, .gauge { display: block; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 8px; }
.c-bar-fill, .gauge-fill { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--violet)); will-change: transform; }
.gauge-fill { background: linear-gradient(90deg, var(--cyan), var(--violet), var(--amber)); }
@media (max-width: 420px) { .counters { gap: 8px; } .counter { padding: 10px; } .c-label { font-size: 14px; } }

/* F4: feel the exponential */
.double { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .double { grid-template-columns: minmax(0, 420px) 1fr; } }
.double-stage svg { width: 100%; max-width: 420px; height: auto; display: block; }
.sq { fill: rgba(79, 227, 255, .07); stroke: var(--cyan); stroke-width: 1.2; transform-box: fill-box; transform-origin: 0 100%; transform: scale(0); opacity: 0; transition: transform .45s cubic-bezier(.2, .9, .3, 1.2), opacity .3s; }
.sq.proj { fill: none; stroke: var(--amber); stroke-dasharray: 5 4; }
.sq.on { transform: scale(1); opacity: .9; }
.sq.proj.on { opacity: .6; }
.sq.cur { stroke-width: 2.4; opacity: 1; }
.double-now { margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; min-height: 2.4em; }
.dn-date { font-size: 16px; color: var(--muted); }
.dn-len { font-size: clamp(28px, 5vw, 44px); font-weight: 700; color: var(--cyan); text-shadow: 0 0 22px rgba(79, 227, 255, .3); }
.dn-tag { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--green); }
.dn-tag.proj { color: var(--amber); }
.double-marks { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.double-marks li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--dim); transition: opacity .3s; opacity: .45; }
.double-marks li.on { opacity: 1; color: var(--text); border-color: rgba(79, 227, 255, .45); }
.double-marks li.proj.on { border-style: dashed; border-color: rgba(255, 189, 89, .55); }
.mk-when { font-family: var(--mono); color: var(--cyan); }
.double-marks li.proj .mk-when { color: var(--amber); }

/* METR chart with the work ladder as a staircase */
.metr-split { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .metr-split { grid-template-columns: minmax(0, 1fr) 330px; align-items: end; } }
.stairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; align-items: end; min-height: 230px; }
.stair { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; text-align: center; min-width: 0; }
.st-block { display: block; height: calc(var(--i) * 30px); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, rgba(79, 227, 255, .55), rgba(79, 227, 255, .12)); border: 1px solid rgba(79, 227, 255, .6); }
.stair.projected .st-block { background: transparent; border: 1px dashed rgba(255, 189, 89, .7); }
.st-label { font-size: 12px; line-height: 1.2; color: var(--text); overflow-wrap: anywhere; }
.st-when { font-size: 11px; color: var(--cyan); }
.stair.projected .st-when { color: var(--amber); }

/* News */
.feed li { display: flex; gap: 10px; align-items: flex-start; }
.f-score { flex: none; width: 1.8em; height: 1.8em; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--bg); background: var(--cyan); margin-top: 1px; }
#feed-rest .f-score { background: var(--line); color: var(--muted); }
#feed-more { margin-top: 8px; }
.experts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.experts li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.experts a { font-weight: 600; }
.experts .yr { color: var(--violet); font-size: 13px; }
.x-says { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }

/* F9: circuit-board background. Static drawing plus a few sparks; motion uses transform and opacity only. */
.circuit { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background-image: url("circuit.svg"); background-size: 360px 360px; background-repeat: repeat; opacity: .38; }
.trace { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(79, 227, 255, .16) 15%, rgba(79, 227, 255, .16) 85%, transparent); }
.trace.t1 { top: 11.4%; } .trace.t2 { top: 37.2%; } .trace.t3 { top: 61.9%; } .trace.t4 { top: 83.1%; } .trace.t5 { top: 24.6%; }
.spark { position: absolute; left: 0; top: -1px; width: 70px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(79, 227, 255, .8), transparent); box-shadow: 0 0 6px rgba(79, 227, 255, .45); opacity: 0; will-change: transform, opacity; animation: spark 9s linear infinite; }
.t2 .spark { animation-delay: 2.7s; animation-duration: 12s; }
.t3 .spark { animation-delay: 5.1s; }
.t4 .spark { animation-delay: 1.4s; animation-duration: 14s; }
.t5 .spark { animation-delay: 7.3s; animation-duration: 11s; }
@keyframes spark { 0% { transform: translateX(-80px); opacity: 0; } 8% { opacity: .5; } 70% { opacity: .5; } 100% { transform: translateX(100vw); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .spark { display: none; } }
