:root {
  --paper: #f5f3ee;
  --paper-2: #ece9e1;
  --panel: #ffffff;
  --ink: #141414;
  --ink-2: #3a3935;
  --ink-3: #5f5d56;
  --line: #e2ded4;
  --line-2: #d3cec2;
  --blue: #3056ff;
  --blue-soft: #e8edff;
  --hot: #ff4d2e;
  --hot-soft: #ffece7;
  --good: #11873f;
  --good-soft: #e3f5ea;
  --warn: #b45c00;
  --warn-soft: #fdf0dc;
  --bad: #d4251c;
  --bad-soft: #fde8e6;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --r: 16px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .05), 0 10px 30px -14px rgba(20, 20, 20, .18);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(245, 243, 238, .86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.mark { display: inline-flex; }
.mark i { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); display: block; }
.mark i + i { background: var(--hot); margin-left: -3px; mix-blend-mode: multiply; }
nav { display: flex; gap: 6px; }
nav a { text-decoration: none; color: var(--ink-2); font-weight: 550; font-size: .95rem; padding: 6px 12px; border-radius: 999px; }
nav a:hover { background: var(--paper-2); color: var(--ink); }

/* hero */
.hero { padding: 80px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.kicker { font-weight: 650; color: var(--blue); margin: 0 0 18px; font-size: .95rem; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; margin-bottom: 22px; }
.lead { font-size: 1.2rem; color: var(--ink-2); margin: 0 0 32px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 650; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-blue { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(20, 20, 20, .6); }
.btn-hot { background: var(--panel); border: 1.5px solid var(--ink); }
.play-ic { width: 0; height: 0; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.bolt { font-size: .95rem; }

.status-card { background: var(--panel); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.sc-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.sc-head span { font-size: .8rem; font-weight: 650; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.sc-head b { font-size: 1.05rem; overflow-wrap: anywhere; }
.sc-line { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--paper); font-weight: 650; margin-bottom: 16px; transition: background .4s; }
.sc-line i { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 currentColor; animation: ping 1.6s infinite; color: rgba(48, 86, 255, .35); }
.sc-line.s-bad { background: var(--bad-soft); } .sc-line.s-bad i { background: var(--bad); color: rgba(212, 37, 28, .35); }
.sc-line.s-work { background: var(--warn-soft); } .sc-line.s-work i { background: var(--warn); color: rgba(180, 92, 0, .35); }
.sc-line.s-good { background: var(--good-soft); } .sc-line.s-good i { background: var(--good); color: rgba(17, 135, 63, .35); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 currentColor; } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }
.sc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.sc-steps li { overflow: hidden; text-overflow: ellipsis; font-size: .78rem; font-weight: 600; color: var(--ink-3); padding-top: 10px; border-top: 4px solid var(--line); transition: all .4s var(--ease); }
.sc-steps li.on { color: var(--ink); border-color: var(--ink); }
.sc-steps li.bad { color: var(--bad); border-color: var(--bad); }
.sc-steps li.good { color: var(--good); border-color: var(--good); }

/* sections */
.act { padding: 76px 0; border-top: 1px solid var(--line); }
.act-alt { background: #efece5; }
.act-head { max-width: 760px; margin-bottom: 30px; }
.act-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); letter-spacing: -.035em; font-weight: 800; margin-bottom: 8px; }
.act-head p { color: var(--ink-2); margin: 0; font-size: 1.08rem; }
h3 { font-size: .95rem; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }

/* pickers */
.picker { display: grid; gap: 12px; margin-bottom: 26px; }
.picker-2 { grid-template-columns: repeat(2, 1fr); }
.picker-3 { grid-template-columns: repeat(3, 1fr); }
.pick { display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 18px; background: var(--panel); border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.pick:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.pick:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.pick .ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-size: 1.05rem; transition: background .2s, color .2s; }
.pick .ic.tri::before { content: ""; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.pick b { display: block; font-weight: 650; line-height: 1.35; }
.pick small { display: block; color: var(--ink-3); font-size: .86rem; margin-top: 5px; }
.pick[aria-pressed="true"] { border-color: var(--ink); box-shadow: var(--shadow); }
#topics .pick[aria-pressed="true"] .ic { background: var(--blue); }
#topics .pick[aria-pressed="true"] .ic.tri::before { border-left-color: #fff; }
#faults .pick[aria-pressed="true"] { border-color: var(--hot); }
#faults .pick[aria-pressed="true"] .ic { background: var(--hot-soft); }

/* player */
.player { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; animation: rise .4s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: var(--panel); animation: rise .35s var(--ease); min-width: 0; }
.canvas { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }

/* research steps */
.steps { list-style: none; margin: 0; padding: 4px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.step { position: relative; text-align: center; padding: 0 4px; }
.step::before { content: ""; position: absolute; top: 19px; left: -50%; width: 100%; height: 4px; background: var(--line); }
.step::after { content: ""; position: absolute; top: 19px; left: -50%; width: 0; height: 4px; background: var(--blue); transition: width .6s var(--ease); }
.step:first-child::before, .step:first-child::after { display: none; }
.step.reached::after { width: 100%; }
.step .bubble { position: relative; z-index: 1; width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 50%; background: var(--panel); border: 2.5px solid var(--line-2); display: grid; place-items: center; font-weight: 750; color: var(--ink-3); transition: all .35s var(--ease); }
.step b { display: block; font-size: .95rem; }
.step .st { display: block; font-size: .84rem; color: var(--ink-3); min-height: 1.3em; }
.step.active .bubble { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 6px var(--blue-soft); animation: breathe 1.4s ease-in-out infinite; }
.step.done .bubble { background: var(--blue); border-color: var(--blue); color: #fff; animation: pop .35s var(--ease); }
.step.done .bubble::after { content: "✓"; position: absolute; font-size: 1.05rem; }
.step.done .bubble .n { visibility: hidden; }
.step.redo .bubble { border-color: var(--warn); color: var(--warn); box-shadow: 0 0 0 6px var(--warn-soft); }
@keyframes breathe { 50% { box-shadow: 0 0 0 11px var(--blue-soft); } }
@keyframes pop { 0% { transform: scale(.7); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }

.queries { display: flex; flex-wrap: wrap; gap: 8px; }
.query { background: var(--blue-soft); color: #1d36b8; border-radius: 10px; padding: 7px 12px; font-size: .92rem; font-weight: 550; animation: slidein .4s var(--ease) both; }
@keyframes slidein { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.badge { background: var(--ink); color: #fff; border-radius: 999px; font-size: .78rem; padding: 1px 9px; font-weight: 700; }
.sources { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.source { display: flex; gap: 11px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; animation: popin .4s var(--ease) both; min-width: 0; }
@keyframes popin { from { opacity: 0; transform: scale(.9) translateY(6px); } to { opacity: 1; transform: none; } }
.source .fav { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: .9rem; text-transform: uppercase; }
.source > div { min-width: 0; }
.source .t { overflow-wrap: anywhere; font-size: .92rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.source .d { font-size: .82rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.source .num { font-size: .78rem; font-weight: 700; color: var(--blue); }
.approval { display: flex; align-items: center; gap: 12px; font-weight: 650; background: var(--good-soft); border-color: #bfe5cc; color: #0b5c2b; }
.tick-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--good); position: relative; flex: none; }
.tick-ic::after { content: ""; position: absolute; left: 9px; top: 5px; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }

.report-head { display: flex; justify-content: space-between; align-items: center; }
.report-head h3 { margin: 0; }
.stamp { font-weight: 800; font-size: .82rem; letter-spacing: .06em; padding: 6px 12px; border-radius: 8px; border: 2.5px solid; transform: rotate(-4deg); animation: stamp .45s cubic-bezier(.2, 1.7, .4, 1); }
.stamp.ok { color: var(--good); border-color: var(--good); }
.stamp.rev { color: var(--warn); border-color: var(--warn); }
@keyframes stamp { from { transform: scale(1.8) rotate(-4deg); opacity: 0; } }
.report { margin-top: 12px; max-height: 520px; overflow: auto; padding-right: 8px; font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.report h4 { font-size: 1.12rem; margin: 20px 0 6px; letter-spacing: -.01em; }
.report h4:first-child { margin-top: 0; }
.report p, .report li { margin: 0 0 12px; color: var(--ink-2); }
.report ul { padding-left: 22px; margin: 0 0 12px; }
.report ul.refs { list-style: none; padding: 0; font-size: .86rem; }
.report ul.refs li { margin-bottom: 6px; color: var(--ink-3); }
.report code { font: .88em var(--mono); background: var(--paper); padding: 1px 6px; border-radius: 5px; }
.report pre { font: .8rem var(--mono); background: var(--paper); padding: 12px; border-radius: 10px; overflow: auto; color: var(--ink-2); }
.report hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.cite { display: inline-block; font-size: .72rem; font-weight: 750; color: var(--blue); background: var(--blue-soft); border-radius: 6px; padding: 0 6px; margin: 0 1px; vertical-align: 2px; line-height: 1.6; }
.caret { display: inline-block; width: 9px; height: 1.1em; background: var(--blue); vertical-align: -3px; margin-left: 2px; border-radius: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
.v-supported, .v-partial, .v-unsupported { border-radius: 8px; padding: 6px 10px 6px 12px; margin-left: -12px; animation: mark .6s var(--ease) both; }
.v-supported { background: var(--good-soft); box-shadow: inset 4px 0 0 var(--good); }
.v-partial { background: var(--warn-soft); box-shadow: inset 4px 0 0 var(--warn); }
.v-unsupported { background: var(--bad-soft); box-shadow: inset 4px 0 0 var(--bad); }
@keyframes mark { from { background-color: transparent; box-shadow: inset 0 0 0 transparent; } }
.judge { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jbox { border-radius: 12px; padding: 14px 16px; }
.jbox b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.jbox span { font-weight: 600; font-size: .9rem; }
.jbox.g { background: var(--good-soft); color: #0b5c2b; }
.jbox.a { background: var(--warn-soft); color: #7a3e00; }
.jbox.r { background: var(--bad-soft); color: #8f1610; }

/* controls */
.controls { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 10px 8px 8px; box-shadow: 0 12px 30px -12px rgba(20, 20, 20, .55); }
.cbtn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 1rem; transition: transform .15s; }
.cbtn:hover { transform: scale(1.06); }
.cbtn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.cbtn .pp-play { width: 0; height: 0; border-left: 12px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.cbtn .pp-pause { width: 12px; height: 14px; border-left: 4px solid var(--ink); border-right: 4px solid var(--ink); }
.scrub { flex: 1; min-width: 60px; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(to right, #fff var(--p, 0%), rgba(255, 255, 255, .25) var(--p, 0%)); cursor: pointer; }
.scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.scrub::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; }
.clock { font-variant-numeric: tabular-nums; font-weight: 650; font-size: .92rem; white-space: nowrap; }
.clock small { opacity: .75; font-weight: 500; margin-left: 4px; }
.speeds { display: flex; background: rgba(255, 255, 255, .12); border-radius: 999px; padding: 3px; }
.speeds button { border: 0; background: none; color: #fff; font-weight: 700; font-size: .82rem; padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.speeds button[aria-pressed="true"] { background: #fff; color: var(--ink); }

/* incident */
.lifeline { margin: 6px 0 20px; }
.segs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.segs li { font-size: .85rem; font-weight: 650; color: var(--ink-3); padding-top: 12px; position: relative; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.segs li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; border-radius: 8px; background: var(--paper-2); transition: background .35s var(--ease); }
.segs li.done { color: var(--ink); } .segs li.done::before { background: var(--good); }
.segs li.bad { color: var(--bad); } .segs li.bad::before { background: var(--bad); }
.segs li.work { color: var(--warn); } .segs li.work::before { background: var(--warn); }
.segs li.now::before { animation: glowbar 1s ease-in-out infinite alternate; }
@keyframes glowbar { to { opacity: .45; } }
.seg-cap { display: none; margin: 10px 0 0; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#topics .skel { min-height: 111px; } #faults .skel { min-height: 110px; }
.skel { min-height: 92px; border-radius: var(--r); background: linear-gradient(90deg, var(--paper-2), #f3f0e9, var(--paper-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.load-error { color: var(--bad); font-weight: 600; }
.report table { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 0 0 14px; display: block; overflow-x: auto; }
.report th, .report td { border: 1px solid var(--line); padding: 7px 10px; text-align: left; vertical-align: top; overflow-wrap: normal; min-width: 7em; }
.report th { background: var(--paper); }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 12px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 14px 26px; animation: slidein .35s var(--ease) both; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 19px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.bad::before { background: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft); }
.timeline li.ok::before { background: var(--good); }
.timeline b { font-weight: 650; display: block; line-height: 1.4; }
.timeline li.bad b { color: var(--bad); }
.timeline span { font-size: .84rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chat li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--paper); border-radius: 14px 14px 14px 4px; animation: popin .35s var(--ease) both; }
.chat .ci { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; font-size: .85rem; }
.chat b { display: block; font-weight: 650; }
.chat span { font-size: .9rem; color: var(--ink-2); }
.typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: dots 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.verdict { margin-top: 12px; border: 2px solid var(--ink); border-radius: 14px; padding: 14px 16px; animation: popin .4s var(--ease) both; }
.verdict .vh { font-size: .82rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em; }
.verdict .vc { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 6px; }
.verdict p { margin: 0 0 10px; color: var(--ink-2); font-size: .95rem; }
.verdict .act { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; background: var(--blue-soft); color: #1d36b8; padding: 6px 12px; border-radius: 999px; font-size: .92rem; }
.verdict .act.none { background: var(--warn-soft); color: #7a3e00; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.check { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: var(--good-soft); color: #0b5c2b; font-weight: 650; font-size: .92rem; animation: popin .35s var(--ease) both; }
.check:nth-child(2) { animation-delay: .25s; }
.check svg { flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .check path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .5s .2s var(--ease) forwards; }
  .check:nth-child(2) path { animation-delay: .45s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.outcome { margin: 14px 0 6px; padding: 20px 22px; border-radius: var(--r); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; animation: popin .45s var(--ease) both; }
.outcome.good { background: var(--good); color: #fff; }
.outcome.hold { background: var(--warn-soft); color: #5c2f00; border: 1.5px solid #f0c98f; }
.outcome .big { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.outcome .sub { opacity: .9; font-weight: 550; }
.outcome .times { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }

/* results */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.stat b { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 6px; }
.stat > span { color: var(--ink-2); font-size: .95rem; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.notes > div { border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 20px; }
.notes p { margin: 0; color: var(--ink-2); }
.notes h3 { margin-bottom: 6px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-3); font-size: .92rem; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .picker-3, .stats { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .step:nth-child(4)::before, .step:nth-child(4)::after { display: none; }
  #topics .skel { min-height: 134px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 52px; }
  nav { gap: 0; }
  nav a { padding: 6px 8px; font-size: .88rem; white-space: nowrap; }
  .brand { gap: 8px; }
  .picker-2, .picker-3, .notes { grid-template-columns: minmax(0, 1fr); }
  #topics .skel { min-height: 124px; } #faults .skel { min-height: 100px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat b { font-size: 1.7rem; }
  .player { padding: 14px; border-radius: 18px; }
  .judge, .checks { grid-template-columns: 1fr; }
  .segs li { font-size: 0; padding-top: 8px; }
  .seg-cap { display: block; }
  .controls { border-radius: 18px; flex-wrap: wrap; padding: 8px; gap: 8px; }
  .scrub { order: 5; flex-basis: 100%; }
  .cbtn { width: 34px; height: 34px; }
  .clock { font-size: .82rem; margin-left: auto; }
  .speeds button { padding: 4px 8px; }
  .outcome .times { margin-left: 0; }
}
@media (max-width: 440px) {
  .brand-2 { display: none; }
}
@media (max-width: 360px) {
  nav a { padding: 6px 6px; font-size: .84rem; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .sc-steps li { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
