/* Explore page. The opening band is a dark stage in every scheme; the rest uses the site scheme tokens in hc.css. */
.lab { --st-bg: #0a1530; --st-bg2: #050a1a; --st-ink: #eef3ff; --st-ink2: #b9c6e4; --st-ink3: #8b9bc0; --st-line: rgba(185, 205, 255, .16);
  --st-land: #6f8fd6; --st-spark: #ffb98f; --st-hot: #fff1d6; --st-ping: #8fd3ff; --st-glow: rgba(70, 120, 230, .32);
  --lab-a2: color-mix(in oklab, var(--accent) 22%, var(--surface)); --lab-a1: color-mix(in oklab, var(--accent) 10%, var(--surface));
  --lab-warm: #e0875f; --lab-good: #1f8a5b; --lab-bad: #c43d3d; }
[data-theme="midnight"] .lab { --st-bg: #0d0f1f; --st-bg2: #05060c; --st-land: #8b7bff; --st-spark: #fbbf77; --st-hot: #fff3dc;
  --st-ping: #5eead4; --st-glow: rgba(139, 123, 255, .28); --lab-warm: #c9805a; --lab-good: #4fd19a; --lab-bad: #ff7a7a; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lab :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* opening stage */
.lab-hero { position: relative; overflow: hidden; color: var(--st-ink); background: radial-gradient(120% 90% at 75% 40%, var(--st-bg) 0%, var(--st-bg2) 70%); }
.lab-hero :focus-visible { outline-color: var(--st-ping); }
.lab-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 8px; }
.lab-hero .kick { color: var(--st-ping); }
.lab-hero h1 { margin: 0 0 18px; color: var(--st-ink); font-size: 60px; line-height: 1.02; max-width: 9em; }
.lab-hero .lede { margin: 0; max-width: 30em; color: var(--st-ink2); font-size: 18px; line-height: 1.6; }
.rp-count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 34px; min-height: 64px; }
.rp-count b { font-size: 56px; font-weight: 650; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 28px var(--st-glow); }
.rp-count > span { color: var(--st-ink2); font-size: 16px; }
.rp-count #rp-day { color: var(--st-ink); font-weight: 600; }
.rp-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; height: 74px; margin-top: 18px; max-width: 420px; }
.rp-days button { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 5px; padding: 0; border: 0; background: none; color: var(--st-ink3); font-size: 11.5px; font-weight: 600; cursor: pointer; }
.rp-days i { display: block; position: relative; border-radius: 4px 4px 1px 1px; background: var(--st-line); overflow: hidden; }
.rp-days i::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--st-spark), var(--st-hot)); }
.rp-days button[aria-current="true"] { color: var(--st-ink); }
.rp-days button:hover i { background: rgba(185, 205, 255, .3); }
.rp-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; }
.rp-hint { color: var(--st-ink3); font-size: 13px; }
.lab-globe { position: relative; aspect-ratio: 1; width: 100%; min-width: 0; max-width: 640px; justify-self: center; }
.lab-hero-txt { min-width: 0; }
.lab-globe canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.lab-globe canvas:active { cursor: grabbing; }
.rp-ticker { position: absolute; right: 0; bottom: 4%; width: min(300px, 62%); margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column-reverse; gap: 8px; pointer-events: none; height: 218px; overflow: hidden; }
.rp-ticker li { padding: 10px 12px; border: 1px solid var(--st-line); border-radius: 12px; background: rgba(8, 14, 34, .72); backdrop-filter: blur(6px); font-size: 12.5px; line-height: 1.35; color: var(--st-ink2);
  animation: tick-in .5s cubic-bezier(.2, .9, .3, 1.2) both; }
.rp-ticker li b { display: block; color: var(--st-ink); font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-ticker li span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-ticker li em { font-style: normal; color: var(--st-spark); font-weight: 600; }
.rp-ticker li.out { animation: tick-out .45s ease forwards; }
@keyframes tick-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes tick-out { to { opacity: 0; transform: translateX(16px); } }
.rp-note { margin: 0 auto; padding-top: 4px; padding-bottom: 26px; color: var(--st-ink3); font-size: 13px; line-height: 1.55; min-height: 3.2em; }
.lab-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border: 1px solid var(--accent); border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 14.5px; font-weight: 650; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s; }
.lab-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in oklab, var(--accent) 35%, transparent); }
.lab-btn:active { transform: translateY(1px) scale(.98); }
.lab-btn.ghost { background: transparent; color: var(--accent); }
.lab-hero .lab-btn { border-color: #fff; background: #fff; color: #0a1530; }
.lab-hero .lab-btn.ghost { border-color: var(--st-line); background: rgba(255, 255, 255, .06); color: var(--st-ink); }
.lab-btn[hidden] { display: none; }

.lab-stats-wrap { padding-top: 36px; padding-bottom: 8px; }
.lab-stats b { font-variant-numeric: tabular-nums; min-height: 1.05em; }
.lab-asof { margin: 12px 0 0; color: var(--ink-3); font-size: 13px; min-height: 1.6em; }
.lab-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 48px; }
.lab-jump a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink-2); font-size: 13.5px; font-weight: 550; transition: transform .15s, border-color .15s; }
.lab-jump a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; transform: translateY(-2px); }

/* shared controls */
.lab-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.lab-seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--muted); }
.lab-seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 99px; background: none; color: var(--ink-3); font-size: 13.5px; font-weight: 650; cursor: pointer; transition: background .2s, color .2s; }
.lab-seg button:is([aria-pressed="true"], [aria-selected="true"]) { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
.lab-seg.big button { height: 40px; padding: 0 18px; font-size: 14.5px; }
.lab-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lab-chips button { height: 34px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); color: var(--ink-2); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s; }
.lab-chips button:hover:not(:disabled) { border-color: var(--accent); transform: translateY(-1px); }
.lab-chips button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.lab-chips button:disabled { opacity: .38; cursor: default; }
.lab-src { margin: 14px 0 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.55; min-height: 1.55em; }
.lab-src a { font-weight: 600; }

/* bubble lab */
.bub-box { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
.bub-stage { position: relative; height: 540px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: radial-gradient(80% 70% at 50% 45%, var(--lab-a1), var(--surface)); contain: strict; }
.bub { position: absolute; left: 0; top: 0; width: 200px; height: 200px; margin: 0; padding: 0; border: 0; border-radius: 50%; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; will-change: transform;
  background: radial-gradient(circle at 34% 28%, color-mix(in oklab, var(--b, var(--accent)) 55%, #fff) 0%, var(--b, var(--accent)) 46%, color-mix(in oklab, var(--b, var(--accent)) 72%, #000) 100%);
  box-shadow: inset 0 -10px 30px rgba(0, 0, 0, .18), 0 10px 26px color-mix(in oklab, var(--b, var(--accent)) 30%, transparent); }
.bub:active { cursor: grabbing; }
.bub[hidden] { display: none; }
.pop-ring { position: absolute; border: 4px solid var(--lab-warm); border-radius: 50%; pointer-events: none; animation: ring .6s cubic-bezier(.2, .8, .3, 1) forwards; }
@keyframes ring { from { transform: translate(-50%, -50%) scale(.7); opacity: 1; } to { transform: translate(-50%, -50%) scale(1.7); opacity: 0; } }
.bub b { display: block; max-width: 150px; font-size: 25px; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); pointer-events: none; }
.bub span { display: block; margin-top: 6px; font-size: 22px; font-weight: 500; opacity: .9; font-variant-numeric: tabular-nums; pointer-events: none; }
.bub.small b, .bub.small span { display: none; }
.bub.kid { --b: var(--lab-warm); }
.bub.on { box-shadow: 0 0 0 6px color-mix(in oklab, var(--b, var(--accent)) 35%, transparent), inset 0 -10px 30px rgba(0, 0, 0, .18); }
.bub:focus-visible { outline: 6px solid var(--ink); outline-offset: 4px; }
.bub-read { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); min-height: 200px; }
.bub-read h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.25; }
.bub-read .big { display: block; margin: 8px 0 2px; font-size: 38px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bub-read p { margin: 0 0 12px; color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }
.bub-read dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 12px 0 16px; font-size: 13.5px; }
.bub-read dt { color: var(--ink-3); }
.bub-read dd { margin: 0; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.bub-read .meter { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--hair); overflow: hidden; margin-top: -2px; }
.bub-read .meter i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.bub-read a.go { font-size: 14px; font-weight: 650; }
.bub-read .hint { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; }
.bub-read button.back { display: flex; height: auto; min-height: 40px; margin-top: 14px; padding: 8px 16px; text-align: center; line-height: 1.3; }

/* games */
.g-score { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 18px; color: var(--ink-3); font-size: 14px; }
.g-score b { color: var(--ink); font-size: 18px; font-variant-numeric: tabular-nums; display: inline-block; min-width: 1.6em; }
.g-score b.pop { animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { 40% { transform: scale(1.5); color: var(--accent); } }
.g-panel[hidden] { display: none; }
.g-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 1px 0 var(--line); overflow: hidden; }
.g-kick { margin: 0 0 8px; color: var(--ink-3); font: 600 12px/1.4 var(--f-mono, "IBM Plex Mono"), monospace; letter-spacing: .05em; text-transform: uppercase; }
.g-kick.center, .g-actions.center { text-align: center; justify-content: center; }
.g-title { margin: 0; font-family: var(--f-serif, var(--f-sans, "Public Sans")), Georgia, serif; font-size: 32px; font-weight: 600; line-height: 1.15; letter-spacing: -.015em; min-height: 1.15em; }
.g-meta { margin: 8px 0 0; color: var(--ink-3); font-size: 15px; min-height: 1.5em; }
.g-meta i { font-style: normal; display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 99px; background: var(--muted); color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.gs-guess { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 12px; margin-top: 26px; }
.gs-guess label { color: var(--ink-3); font-size: 13px; font-weight: 600; }
.gs-guess output { font-size: 34px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--accent); }
.gs-guess input { grid-column: 1 / -1; }
.gs-scale { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--ink-3); font-size: 12px; }
.lab input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: none; cursor: pointer; touch-action: pan-y; }
.lab input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--fill, 50%), var(--hair) var(--fill, 50%)); }
.lab input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--fill, 50%), var(--hair) var(--fill, 50%)); }
.lab input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border: 3px solid var(--surface); border-radius: 50%; background: var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); transition: transform .15s; }
.lab input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 3px solid var(--surface); border-radius: 50%; background: var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.lab input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.2); }
.g-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.gs-reveal { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.gs-verdict { margin: 0 0 6px; font-size: 18px; line-height: 1.5; min-height: 1.5em; }
.gs-verdict b { font-weight: 750; }
.gs-verdict .good { color: var(--lab-good); }
.gs-verdict .bad { color: var(--lab-bad); }
.gs-chart { min-height: 220px; }
.gs-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.gs-chart .bar { fill: var(--lab-a2); transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
.gs-chart.grow .bar { transform: scaleY(1); transition: transform .7s cubic-bezier(.2, .9, .3, 1.1); transition-delay: calc(var(--i) * 18ms); }
.gs-chart .bar.in { fill: var(--accent); }
.gs-chart .axis { fill: var(--ink-3); font-size: 12px; }
.gs-chart .grid { stroke: var(--hair); }
.gs-chart .mk { font-size: 12.5px; font-weight: 700; }
.gs-chart .mk-you { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 4; }
.gs-chart .mk-you-t { fill: var(--ink); }
.gs-chart .band { fill: var(--lab-warm); opacity: .3; }
.gs-chart .band-l { stroke: var(--lab-warm); stroke-width: 3; }
.gs-chart .band-t { fill: color-mix(in oklab, var(--lab-warm) 70%, var(--ink)); }
.g-card.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.hl-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; margin-top: 10px; }
.hl-vs { align-self: center; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 800; font-size: 15px; }
.hl-card { position: relative; display: grid; align-content: start; gap: 6px; min-height: 210px; padding: 26px; border: 2px solid var(--line); border-radius: 22px; background: var(--surface); text-align: left; cursor: pointer; transition: transform .2s cubic-bezier(.2, .9, .3, 1.3), border-color .2s, box-shadow .2s; }
.hl-card:hover:not(:disabled) { transform: translateY(-4px) rotate(-.4deg); border-color: var(--accent); box-shadow: 0 14px 30px color-mix(in oklab, var(--accent) 18%, transparent); }
.hl-card, .hl-card:disabled { color: var(--ink); opacity: 1; }
.hl-card:disabled { cursor: default; }
.hl-verdict small { font-size: 13.5px; }
.hl-card .role { font-family: var(--f-serif, var(--f-sans, "Public Sans")), Georgia, serif; font-size: 27px; font-weight: 600; line-height: 1.15; }
.hl-card .where { color: var(--ink-3); font-size: 15px; }
.hl-card .pay { margin-top: 14px; font-size: 38px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; min-height: 1.1em; color: var(--ink-4); }
.hl-card .n { color: var(--ink-3); font-size: 12.5px; min-height: 1.4em; }
.hl-card.win { border-color: var(--lab-good); box-shadow: 0 0 0 5px color-mix(in oklab, var(--lab-good) 22%, transparent); }
.hl-card.win .pay { color: var(--lab-good); }
.hl-card.lose .pay { color: var(--ink-2); }
.hl-card.picked.lose { animation: shake .5s; border-color: var(--lab-bad); }
.hl-verdict { margin: 16px 0 0; text-align: center; font-size: 18px; min-height: 1.6em; }
.me-ctl { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; }
.me-ctl label { display: grid; gap: 5px; flex: 1 1 240px; color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.me-ctl select { height: 40px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 500; }
.me-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 22px; min-height: 64px; }
.me-big b { font-size: 60px; font-weight: 750; letter-spacing: -.03em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.me-big span { color: var(--ink-2); font-size: 16px; max-width: 30em; }

/* race */
.race-box { position: relative; padding: 22px 24px 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.race-week { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; min-height: 44px; }
.race-week b { font-family: var(--f-serif, var(--f-sans, "Public Sans")), Georgia, serif; font-size: 32px; font-weight: 600; letter-spacing: -.015em; }
.race-week span { color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.race-bars { position: relative; height: 430px; margin-top: 10px; }
.race-row { position: absolute; left: 0; right: 0; top: 0; height: 38px; display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 12px; will-change: transform, opacity; }
.race-row .nm { overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 600; text-align: right; white-space: nowrap; text-overflow: ellipsis; }
.race-row .tr { position: relative; height: 30px; }
.race-row .br { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px 8px 8px 3px; background: var(--lab-a2); transform-origin: left; }
.race-row.lead .br { background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 70%, var(--lab-warm))); }
.race-row .v { position: absolute; top: 50%; transform: translateY(-50%); padding-left: 8px; color: var(--ink-2); font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.race-scrub { display: block; margin-top: 10px; }
.race-ends { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 12px; }

/* flow */
.flow-box { position: relative; margin-top: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.flow-box canvas { display: block; width: 100%; height: 560px; touch-action: pan-y; }
.flow-read { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 8px 14px; border-radius: 99px; background: color-mix(in oklab, var(--surface) 88%, transparent); color: var(--ink-2); font-size: 13.5px; text-align: center; pointer-events: none; min-height: 1.4em; }
.flow-read:empty { display: none; }
.lab-table { margin-top: 14px; font-size: 14px; }
.lab-table summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.lab-table .scroll { overflow-x: auto; margin-top: 10px; }
.lab-table table { border-collapse: collapse; min-width: 100%; font-variant-numeric: tabular-nums; }
.lab-table th, .lab-table td { padding: 6px 10px; border-bottom: 1px solid var(--hair); text-align: right; white-space: nowrap; }
.lab-table th:first-child, .lab-table td:first-child { text-align: left; }

/* data */
.lab-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 0 0 32px; padding: 0; list-style: none; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.lab-notes b { color: var(--ink); }
.lab-api { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--muted); }
.lab-api h3 { margin: 0 0 8px; font-size: 20px; }
.lab-api p { margin: 0 0 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.lab-api-go { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-3); }
.lab-api-go a { font-weight: 650; }
.lab-api pre { margin: 0; padding: 18px; border-radius: 14px; background: #0b1226; color: #dbe6ff; font: 13px/1.6 var(--f-mono, "IBM Plex Mono"), ui-monospace, monospace; white-space: pre-wrap; word-break: break-all; }
.lab-tip { position: fixed; z-index: 50; max-width: 260px; padding: 8px 11px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 12.5px; line-height: 1.45; pointer-events: none; }

@media (max-width: 1000px) {
  .lab-hero-in { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 40px; }
  .lab-globe { max-width: 560px; }
  .bub-box { grid-template-columns: 1fr; }
  .bub-read { min-height: 0; }
}
@media (max-width: 720px) {
  .lab-hero h1 { font-size: 42px; }
  .lab-hero .lede { font-size: 16.5px; }
  .rp-count { margin-top: 24px; min-height: 76px; align-content: flex-start; }
  .rp-count > span { flex-basis: 100%; }
  .rp-count b { font-size: 42px; }
  .rp-days { height: 60px; max-width: none; }
  .rp-ticker { position: static; width: auto; height: 152px; margin-top: -4px; }
  .rp-ticker li:nth-child(n+3) { display: none; }
  .lab-stats { grid-template-columns: 1fr 1fr; }
  .lab-stats > div:nth-child(3) { border-left: 0; }
  .lab-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lab-stats b { font-size: 27px; }
  .bub-stage { height: 470px; }
  .bub b { font-size: 30px; max-width: 160px; }
  .bub span { font-size: 26px; }
  .g-card { padding: 20px; }
  .g-title { font-size: 25px; }
  .hl-row { grid-template-columns: 1fr; gap: 10px; }
  .hl-vs { justify-self: center; width: 42px; height: 42px; margin: -4px 0; }
  .hl-card { min-height: 0; padding: 20px; }
  .hl-card .role { font-size: 22px; }
  .hl-card .pay { font-size: 30px; margin-top: 6px; }
  .me-big b { font-size: 46px; }
  .race-box { padding: 16px 14px 14px; }
  .race-row { grid-template-columns: 112px minmax(0, 1fr); gap: 8px; height: 34px; }
  .race-row .nm { font-size: 12.5px; }
  .race-row .tr { height: 26px; }
  .race-bars { height: 380px; }
  .race-week b { font-size: 24px; }
  .flow-box canvas { height: 620px; }
  .lab-notes, .lab-api { grid-template-columns: 1fr; }
  .lab-api { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .lab *, .lab *::before, .lab *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
