/* DONIC project page — Ropedia house palette (shared with ETM). Single dark theme by design. */
:root {
  --bg: #0B191B;
  --cell: #0E2023;
  --surface: rgba(18, 40, 42, .62);
  --surface-2: rgba(26, 52, 54, .66);
  --sunken: rgba(0, 0, 0, .26);
  --ink: #F2F3EE;
  --ink-2: #DDE3DD;
  --muted: #AAB5B0;
  --faint: #6E7A76;
  --accent: #CCFFA0;
  --on-accent: #0B1406;
  --teal: #40BEA0;
  --bad: #FF7A66;
  --line: rgba(204, 255, 160, .11);
  --line-2: rgba(204, 255, 160, .22);
  --glow: 0 0 24px rgba(204, 255, 160, .35);
  --shadow: 0 0 0 1px rgba(204, 255, 160, .06), 0 24px 60px -30px rgba(0, 0, 0, .8);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(204, 255, 160, .07) 1px, transparent 1.2px);
  background-size: 32px 32px; background-attachment: fixed;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.hl { color: var(--accent); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 8px; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px;
  background: linear-gradient(to bottom, rgba(11, 25, 27, .92), rgba(11, 25, 27, .55));
  backdrop-filter: blur(12px); border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--mono); letter-spacing: .14em; text-decoration: none; }
.mark { display: inline-flex; gap: 4px; }
.mark i { width: 11px; height: 11px; border-radius: 3px; background: var(--accent); }
.mark i + i { background: transparent; box-shadow: inset 0 0 0 2px var(--accent); }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav nav a:hover, .nav nav a.active { color: var(--ink); }
.pill {
  font: 600 13px/1 var(--sans); text-decoration: none; color: var(--on-accent);
  background: var(--accent); padding: 9px 16px; border-radius: 999px; white-space: nowrap;
}
.pill.soon, .btn.soon { opacity: .55; cursor: default; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.hero-wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.85); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(11, 25, 27, .82), rgba(11, 25, 27, .55) 70%, rgba(11, 25, 27, .9)),
    linear-gradient(to bottom, rgba(11, 25, 27, .6), transparent 30%, transparent 70%, var(--bg));
}
.hero-in { text-align: center; padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; align-items: center; }
.kicker { font: 500 13px/1 var(--mono); letter-spacing: .32em; color: var(--accent); margin: 0 0 18px; }
h1 {
  font: 800 clamp(84px, 16vw, 210px)/.86 var(--sans); letter-spacing: -.01em; margin: 0;
  text-shadow: 0 10px 60px rgba(0, 0, 0, .45);
}
.subtitle { font: 500 clamp(19px, 2.4vw, 30px)/1.3 var(--sans); color: var(--ink-2); margin: 22px 0 30px; text-wrap: balance; }

.tape {
  display: flex; align-items: stretch; gap: 10px; max-width: 100%;
  padding: 10px; border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(10, 24, 26, .72); backdrop-filter: blur(8px); box-shadow: var(--shadow);
}
.tape-lanes { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 6px; font: 500 11px/1 var(--mono); color: var(--faint); }
.tape-cells { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tape-cells::-webkit-scrollbar { display: none; }
.cell {
  position: relative; flex: none; min-width: 112px; padding: 10px 14px 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--cell); text-align: left;
  transition: background .35s var(--ease), border-color .35s, box-shadow .35s, color .35s;
}
.cell small { display: block; font: 500 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.cell b { display: block; margin-top: 6px; font: 600 18px/1 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cell.on { background: var(--accent); border-color: var(--accent); box-shadow: var(--glow); }
.cell.on small, .cell.on b { color: var(--on-accent); }
.cell.on::after {
  content: 'TRACK'; position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  font: 600 10px/1 var(--mono); letter-spacing: .2em; color: var(--accent);
}

.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 44px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--sans);
  color: var(--ink); text-decoration: none; background: var(--surface); cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 20px;
  transition: border-color .2s, background .2s;
}
.btn:hover { border-color: var(--accent); }
.btn-solid { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-solid:hover { box-shadow: var(--glow); }
.authors { font: 400 14px/1.6 var(--mono); color: var(--muted); margin: 22px 0 0; }
.authors { max-width: 860px; }
.au-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; color: var(--ink-2); font-family: var(--sans); font-size: 15.5px; }
.au { white-space: nowrap; }
.authors .aff { display: block; margin-top: 8px; color: var(--accent); font: 600 13px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; }

.hero-stats {
  display: grid; grid-template-columns: repeat(6, 1fr); margin: 0 auto 28px; width: min(var(--maxw), 100% - 2 * var(--gutter));
  border-top: 1px solid var(--line-2); padding-top: 16px;
}
.hero-stats div { padding: 0 12px; border-left: 1px solid var(--line); }
.hero-stats div:first-child { border-left: 0; padding-left: 0; }
.hero-stats dt { font: 500 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.hero-stats dd { margin: 6px 0 0; font: 700 26px/1 var(--sans); font-variant-numeric: tabular-nums; }
.hero-stats small { font-size: .55em; color: var(--muted); }
.hero-stats .hl small { color: var(--accent); }

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(72px, 10vw, 128px) 0; }
.eyebrow { font: 500 12.5px/1 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--accent); }
h2 { font: 700 clamp(30px, 4.4vw, 56px)/1.08 var(--sans); letter-spacing: -.02em; margin: 0 0 22px; max-width: 22ch; text-wrap: balance; }
h3 { font: 600 19px/1.3 var(--sans); margin: 0 0 8px; }
.lede { color: var(--muted); max-width: 64ch; margin: 0 0 32px; font-size: 17px; }
.fine { color: var(--faint); font-size: 13.5px; max-width: 80ch; margin: 18px 0 0; }
.fine b { color: var(--muted); font-weight: 500; }

/* ---------------------------------------------------------------- film */
.film { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; }
.film-cover { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
.film-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.film-cover:hover img { transform: scale(1.015); filter: brightness(1.08); }
.film-cover:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.play {
  position: absolute; left: 50%; top: 76%; transform: translate(-50%, -50%);
  width: clamp(64px, 8vw, 96px); aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); box-shadow: var(--glow), 0 0 0 10px rgba(204, 255, 160, .14);
  transition: transform .3s var(--ease);
}
.play::after { content: ''; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 14px 0 14px 23px; border-color: transparent transparent transparent var(--on-accent); }
.film-cover:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.film-chip, .film-corner { position: absolute; bottom: 18px; font: 500 12px/1 var(--mono); letter-spacing: .16em; color: var(--ink-2); background: rgba(10, 24, 26, .7); padding: 8px 12px; border-radius: 6px; }
.film-chip { left: 18px; } .film-corner { right: 18px; color: var(--faint); }
.film-chip b { color: var(--accent); font-weight: 600; }

.note {
  display: grid; grid-template-columns: auto 1fr 1fr; gap: 28px; margin-top: 22px;
  padding: 22px 26px; border: 1px solid var(--line-2); border-left: 3px solid var(--accent);
  border-radius: 12px; background: var(--surface);
}
.note-tag { font: 600 12px/1.6 var(--mono); letter-spacing: .2em; color: var(--accent); }
.note p { margin: 0; color: var(--muted); font-size: 15px; }
.note b { color: var(--ink); }

/* ---------------------------------------------------------------- gallery strips */
.strip { --dur: 70s; display: flex; overflow: hidden; margin-top: 18px; mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.strip:first-of-type { margin-top: 36px; }
.strip-track { display: flex; gap: 14px; padding-right: 14px; flex: none; animation: drift var(--dur) linear infinite; }
.strip.reverse .strip-track { animation-direction: reverse; }
.strip:hover .strip-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-100%); } }
.tile { position: relative; flex: none; width: clamp(200px, 22vw, 290px); aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--cell); margin: 0; }
.tile video { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tile .name { font: 600 13px/1 var(--sans); background: rgba(10, 24, 26, .78); padding: 7px 10px; border-radius: 6px; }
.tile .src { font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-accent); background: var(--accent); padding: 6px 8px; border-radius: 5px; }
.tile .src.bihoi { background: var(--teal); }
.tile .src.comparison { background: var(--ink-2); }

/* ---------------------------------------------------------------- BiHOI */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-bottom: 40px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 32px; margin: 0; }
.stats dt { order: 2; font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
.stats div { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); padding-top: 14px; }
.stats dd { order: 1; margin: 0; font: 700 clamp(36px, 4.4vw, 54px)/1 var(--sans); font-variant-numeric: tabular-nums; }
.stats dd small { font-size: .45em; color: var(--muted); }
.chart { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.chart figcaption { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.chart figcaption b { color: var(--ink); }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 112px 1fr 64px; align-items: center; gap: 12px; font: 500 13px/1 var(--mono); color: var(--muted); }
.bar .track { display: block; height: 12px; border-radius: 3px; background: rgba(204, 255, 160, .07); overflow: hidden; }
.bar .fill { display: block; height: 100%; width: 0; background: var(--faint); border-radius: 3px; transition: width 1.1s var(--ease); }
.bar.ours { color: var(--accent); }
.bar.ours .fill { background: var(--accent); box-shadow: var(--glow); }
.bar .v { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- synced viewer */
.viewer { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); padding: clamp(14px, 2vw, 22px); }
.v-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.v-label { font: 500 11.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button {
  font: 500 13px/1 var(--sans); color: var(--muted); background: transparent; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; transition: all .2s;
}
.tabs button:hover { color: var(--ink); border-color: var(--muted); }
.tabs button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.v-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.v-cell { margin: 0; min-width: 0; }
.v-cell figcaption { display: flex; justify-content: space-between; font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.v-frame { position: relative; aspect-ratio: var(--ar, 1 / 1); border-radius: 8px; overflow: hidden; background: var(--cell); border: 1px solid var(--line); }
.v-frame video { width: 100%; height: 100%; object-fit: contain; }
.v-frame::before, .v-frame::after { content: ''; position: absolute; width: 14px; height: 14px; border: 2px solid var(--line-2); z-index: 1; pointer-events: none; }
.v-frame::before { left: 6px; top: 6px; border-right: 0; border-bottom: 0; }
.v-frame::after { right: 6px; bottom: 6px; border-left: 0; border-top: 0; }
.v-cell.ours figcaption { color: var(--accent); }
.v-cell.ours .v-frame { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--glow); }
.v-cell.ours .v-frame::before, .v-cell.ours .v-frame::after { border-color: var(--accent); }
.full { all: unset; cursor: pointer; color: var(--faint); font: 500 11px/1 var(--mono); }
.full:hover { color: var(--accent); }

.transport { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.t-play {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 13px;
}
.t-time { font: 500 12.5px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; min-width: 92px; }
.t-seek { flex: 1; accent-color: var(--accent); min-width: 0; }
.t-speed { display: flex; gap: 4px; }
.t-speed button { font: 500 12px/1 var(--mono); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; cursor: pointer; }
.t-speed button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }

/* ---------------------------------------------------------------- method */
.pipeline { all: unset; display: block; position: relative; cursor: zoom-in; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow); }
.pipeline img { width: 100%; height: auto; }
.pipeline span { position: absolute; right: 14px; bottom: 14px; font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--ink); background: rgba(11, 25, 27, .85); padding: 8px 12px; border-radius: 6px; }
.pipeline:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.cards article { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.cards p { margin: 0; color: var(--muted); font-size: 15px; }
.tag-letter { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font: 800 17px/1 var(--sans); margin-bottom: 16px; }

/* ---------------------------------------------------------------- results */
.split-tabs { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--sunken); margin: 8px 0 34px; }
.split-tabs button { font: 600 14px/1 var(--sans); color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 11px 18px; cursor: pointer; }
.split-tabs button span { font: 500 12px/1 var(--mono); opacity: .75; margin-left: 4px; }
.split-tabs button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.scoreboard { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: 40px; }
.digits { display: flex; gap: 6px; }
.digit {
  display: grid; place-items: center; min-width: .66em; height: 1.2em; padding: 0 .04em;
  font: 800 clamp(64px, 10vw, 132px)/1 var(--mono); color: var(--accent);
  background: var(--cell); border: 1px solid var(--line-2); border-radius: 10px;
  font-variant-numeric: tabular-nums;
}
.digit.sep { background: transparent; border-color: transparent; min-width: .3em; }
.digit.unit { font-size: clamp(36px, 5vw, 64px); color: var(--muted); background: transparent; border-color: transparent; }
.big-label { font: 500 12.5px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 18px 0 6px; }
.big-delta { font-size: 16px; color: var(--ink-2); margin: 0; }
.big-delta b { color: var(--accent); }
.sr-bars { display: grid; gap: 14px; }
.sr-bars .bar { grid-template-columns: 150px 1fr 66px; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font: 500 14px/1.3 var(--mono); font-variant-numeric: tabular-nums; min-width: 760px; }
th, td { padding: 13px 16px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; font-family: var(--sans); }
thead th { font: 600 13px/1.2 var(--sans); color: var(--muted); background: var(--sunken); }
thead th span { display: block; font: 400 11px/1.2 var(--mono); color: var(--faint); margin-top: 3px; }
tbody tr:last-child td { border-bottom: 0; }
tbody td { color: var(--ink-2); }
td.best { color: var(--accent); font-weight: 700; }
tr.ours td:first-child { color: var(--accent); font-weight: 600; }
tr.sep td { border-top: 1px dashed var(--line-2); }

/* ---------------------------------------------------------------- cite + footer */
.team { padding: 28px 30px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.team-names { display: flex; flex-wrap: wrap; gap: 10px 28px; font: 600 clamp(18px, 2vw, 22px)/1.35 var(--sans); }
.team-aff { margin: 18px 0 0; font: 600 13px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.cite-eyebrow { margin-top: 48px; }
.bib { position: relative; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(6, 15, 16, .78); }
.bib pre { margin: 0; padding: 22px 24px; overflow-x: auto; font: 400 14px/1.6 var(--mono); color: #DDE3DC; }
.bib .btn { position: absolute; top: 14px; right: 14px; padding: 8px 14px; font-size: 13px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 80px 48px; color: var(--faint); font-size: 14px; }
.foot p { margin: 0; }
.foot a:last-child { text-decoration: none; color: var(--muted); }

dialog { width: min(1600px, 96vw); max-height: 92vh; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); color: var(--ink); }
dialog::backdrop { background: rgba(0, 0, 0, .75); backdrop-filter: blur(4px); }
.dialog-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font: 500 13px/1 var(--mono); border-bottom: 1px solid var(--line); }
.dialog-bar button { font: 500 13px/1 var(--mono); color: var(--ink); background: transparent; border: 1px solid var(--line-2); border-radius: 6px; padding: 7px 10px; cursor: pointer; }
.dialog-body { overflow: auto; max-height: calc(92vh - 50px); background: #fff; }
.dialog-body img { width: 100%; min-width: 1100px; }
.noscript { text-align: center; color: var(--muted); }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: .001; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .no-io .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .nav nav { display: none; }
  .nav .pill { margin-left: auto; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
  .hero-stats div:nth-child(4) { border-left: 0; padding-left: 0; }
  .split, .scoreboard { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .note { grid-template-columns: 1fr; gap: 12px; }
  .v-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero-stats div:nth-child(4) { border-left: 1px solid var(--line); padding-left: 12px; }
  .bar, .sr-bars .bar { grid-template-columns: 92px 1fr 56px; }
  .transport { flex-wrap: wrap; }
  .t-seek { flex-basis: 100%; order: 3; }
  .cell { min-width: 96px; }
  .br-wide { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip-track { animation: none; }
  .strip { overflow-x: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
