:root {
  color-scheme: light;
  --text: #24272c;
  --muted: #4f5660;
  --surface: #f6f7f9;
  --line: #e0e3e8;
  --accent: #244b76;
  --gutter: clamp(1rem, 4vw, 2rem);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}

.container {
  width: min(56rem, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.project-header {
  padding-block: clamp(2rem, 5.5vw, 4.25rem) 1.75rem;
  text-align: center;
}

.project-authors { margin: 1rem 0 .15rem; text-wrap: balance; }
.project-authors a { white-space: nowrap; color: var(--accent); text-decoration: none; }
.project-authors a:hover, .project-authors a:focus-visible { text-decoration: underline; }
.project-affiliation { margin: 0; color: var(--muted); }

h1,
h2 {
  margin: 0;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 8vw, 4.5rem);
}

.project-title {
  margin: 0.6rem 0 0;
  font-size: clamp(1.2rem, 3.2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
}

.section-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.section-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.45rem clamp(0.65rem, 3vw, 1.05rem);
  border-radius: 999px;
  background: #282c32;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.section-nav svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-nav a:hover {
  background: var(--accent);
}

:where(a, button, video):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: 1.25rem;
}

.teaser {
  padding-bottom: clamp(1.75rem, 5vw, 3rem);
}

figure {
  margin: 0;
  min-width: 0;
}

.video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
}

#danteset {
  width: min(74rem, calc(100% - 2 * var(--gutter)));
}

#danteset .section-prose {
  max-width: 56rem;
  margin-inline: auto;
}

#danteset .video {
  aspect-ratio: 128 / 65;
  margin-top: 1.25rem;
  border: 0;
  background: white;
}

.teaser figcaption {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.teaser figcaption,
.abstract p,
#acknowledgments p,
.section-prose {
  text-align: justify;
  hyphens: auto;
}

@media (max-width: 42rem) {
  .section-prose {
    text-align: left;
    hyphens: manual;
  }
}

.section {
  padding-block: clamp(2rem, 5vw, 3.25rem);
}

.benchmark {
  padding-bottom: 0;
}

.benchmark .section-intro {
  color: inherit;
  text-wrap: balance;
}

.benchmark .section-prose {
  text-align: start;
  hyphens: manual;
}

.benchmark-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-block: 1rem 1.25rem;
}

.benchmark-legend button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.benchmark-legend button::before {
  width: 0.95rem;
  height: 0.2rem;
  border-radius: 999px;
  background: var(--series-color);
  content: '';
}

.benchmark-legend button:hover,
.benchmark-legend button[aria-pressed="true"] {
  border-color: var(--series-color);
  background: var(--surface);
}

.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.benchmark-panel {
  min-width: 0;
  padding: clamp(0.65rem, 2vw, 1.15rem);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
}

.benchmark-panel header {
  padding-top: 0.2rem;
  text-align: center;
}

.benchmark-panel h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.benchmark-panel .benchmark-scale,
.benchmark-note {
  color: var(--muted);
  font-size: 0.875rem;
}

.benchmark-panel .benchmark-scale {
  margin-top: 0.2rem;
}

.benchmark-note {
  padding-top: 0.85rem;
  text-align: center;
}

.benchmark-note + .section-prose {
  margin-top: 0.75rem;
}

.benchmark-plot svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 0.15rem auto;
}

.benchmark-sector-band,
.benchmark-sector-fill {
  fill: var(--dataset-color);
}

.benchmark-sector-band {
  fill-opacity: 0.75;
}

.benchmark-sector-fill {
  fill-opacity: 0;
}

.benchmark-sector.is-selected .benchmark-sector-band {
  fill-opacity: 1;
  stroke: var(--accent);
  stroke-width: 1.5;
}

.benchmark-sector.is-selected .benchmark-sector-fill {
  fill-opacity: 0.23;
}

.benchmark-dataset-label {
  fill: var(--text);
  font-size: 17px;
  font-weight: 650;
  text-anchor: middle;
}

.benchmark-guides :is(circle, line) {
  fill: none;
  stroke: #cdd4de;
  stroke-width: 0.9;
}

.benchmark-guides circle {
  stroke-dasharray: 3 3;
}

.benchmark-axis-label,
.benchmark-tick {
  fill: var(--muted);
  font-size: 11px;
  text-anchor: middle;
  dominant-baseline: central;
}

.benchmark-tick {
  paint-order: stroke;
  stroke: white;
  stroke-linejoin: round;
  stroke-width: 3px;
}

.benchmark-series polygon {
  fill: none;
  stroke: var(--series-color);
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.benchmark-series.is-jojo4d polygon {
  fill: var(--series-color);
  fill-opacity: 0.13;
  stroke-width: 3;
}

.benchmark-series circle {
  fill: var(--series-color);
  stroke: white;
  stroke-width: 1.25;
}

.benchmark-series.is-muted {
  opacity: 0.2;
}

.benchmark-sector-target {
  outline: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.benchmark-sector-outline {
  fill: none;
  pointer-events: none;
}

.benchmark-sector-target:focus-visible .benchmark-sector-outline {
  stroke: var(--accent);
  stroke-width: 3;
}

.benchmark-detail {
  padding: 0.65rem clamp(0.45rem, 1.4vw, 0.85rem);
  border-radius: 0.45rem;
  background: var(--surface);
}

.benchmark-selection {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.15rem 0.5rem;
}

.benchmark-settings {
  color: var(--muted);
  font-size: 0.875rem;
}

.benchmark-values {
  width: 100%;
  margin-top: 0.3rem;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.benchmark-values :is(th, td) {
  padding: 0.23rem 0.2rem;
  text-align: right;
}

.benchmark-values th:first-child {
  text-align: left;
}

.benchmark-values thead {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.benchmark-values tbody th {
  font-weight: 500;
}

.benchmark-values tbody .is-jojo4d > * {
  color: #165838;
  font-weight: 700;
}

.benchmark-values .is-highlighted {
  background: white;
}

.abstract,
.limitations {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.abstract p {
  line-height: 1.5;
}

.limitations {
  border-bottom: 0;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  text-align: center;
}

.section p {
  margin: 0;
}

.method {
  padding-bottom: 0;
}

.method figure {
  margin-top: 1.25rem;
}

.method-diagram {
  position: relative;
  --method-blue: #166a86;
}

.method img {
  display: block;
  width: 100%;
  height: auto;
}

.method-piece {
  position: absolute;
  inset: 0;
  pointer-events: none;
  visibility: hidden;
}

.method-fullsize {
  display: block;
  cursor: zoom-in;
}

.method-diagram.is-exploring .method-fullsize img {
  clip-path: url(#method-connectors-clip);
}

.method-diagram.is-exploring .method-piece {
  visibility: visible;
}

.method-piece.is-active {
  transform: scale(1.015);
  transition: transform 180ms ease-out;
}

.method-signals {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.method-stage {
  appearance: none;
  position: absolute;
  z-index: 2;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.method-stage[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px var(--method-blue);
  background: rgb(22 106 134 / 5%);
}

.method-stage:focus-visible {
  outline: 2px solid var(--method-blue);
  outline-offset: 2px;
}

.method-wire, .method-flow {
  fill: none;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.method-wire {
  stroke: var(--method-blue);
  stroke-width: 1.8px;
}

.method-flow {
  stroke: #4fe1ce;
  stroke-width: 2px;
  stroke-dasharray: 20 80;
  animation: method-flow 1.6s linear infinite;
}

@keyframes method-flow {
  to { stroke-dashoffset: -100; }
}

.method-inspector:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: absolute;
  top: calc(100% + 0.5rem);
  z-index: 3;
  width: min(100%, 24rem);
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: white;
  box-shadow: 0 4px 18px rgb(27 43 59 / 14%);
  pointer-events: none;
  animation: method-reveal 180ms ease-out;
}

.method-inspector.is-above {
  top: auto;
  bottom: calc(100% + 0.5rem);
}

.method-video,
.method-inspector:not([data-preview="cameras"]) .method-preview {
  display: none;
}

.method-inspector[data-preview="video"] .method-video {
  display: block;
}

.method-inspector.is-static {
  animation: none;
}

@keyframes method-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.method-preview,
.method-video {
  flex: none;
  width: clamp(4rem, 29%, 6.5rem);
  height: auto;
  background: var(--surface);
  border-radius: 0.25rem;
}

.method-inspector:is([data-stage="input"], [data-stage="predictions"]) .method-video {
  width: clamp(3rem, 21%, 4.8rem);
}

.method-inspector strong, .method-inspector span {
  display: block;
  line-height: 1.35;
}

.method-inspector span {
  margin-top: 0.18rem;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .method-flow { display: none; }
  .method-piece.is-active { transform: none; transition: none; }
  .method-inspector:not([hidden]) { animation: none; }
}

.section-intro {
  color: var(--muted);
  text-align: center;
}

.scene-selector {
  margin-top: .65rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .5rem;
}

.scene-selector button {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: white;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.scene-selector img {
  display: block;
  width: 100%;
  aspect-ratio: 480 / 234;
  height: auto;
  object-fit: cover;
  background: white;
}

.scene-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .15rem;
  white-space: nowrap;
  padding: .22rem .35rem;
  line-height: 1;
}

.scene-label strong { white-space: nowrap; font-size: .78rem; font-weight: 650; }
.scene-label small { font-size: .62rem; color: var(--muted); }
.scene-selector button:hover { border-color: var(--accent); }
.scene-selector button[aria-pressed="true"] {
  border-color: var(--accent);
  color: white;
  background: var(--accent);
}
.scene-selector button[aria-pressed="true"] small { color: white; }

.scene-viewer video {
  aspect-ratio: auto 9 / 4;
  background: white;
  border: 0;
}

@media (min-width: 42.01rem) and (max-width: 52rem) {
  .scene-selector { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 42rem) {
  .scene-selector {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 8.25rem;
    gap: .4rem;
    padding: .15rem .1rem .4rem;
    scroll-snap-type: x proximity;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .scene-selector button { scroll-snap-align: start; }
  .scene-selector button:focus-visible { outline-offset: -3px; }
  .scene-label { padding-inline: .23rem; }
  .scene-label strong { font-size: .72rem; }
  .scene-label small { font-size: .58rem; }
}

.scene-viewer figcaption {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.1rem 0.75rem;
  margin-top: 0.25rem;
}

.scene-viewer figcaption span {
  color: var(--muted);
}

#results .section-intro {
  color: inherit;
  margin-bottom: 1rem;
  text-wrap: balance;
}



#presentation iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.presentation-audio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  color: var(--muted);
  font-size: .9rem;
  margin: -.35rem 0 .8rem;
}

.presentation-audio svg { width: 1.1rem; height: 1.1rem; }



@media (max-width: 45rem) {
  .benchmark-grid {
    grid-template-columns: 1fr;
    max-width: 31rem;
    margin-inline: auto;
  }
}

@media (max-width: 30rem) {
  .benchmark-legend {
    display: grid;
    grid-template-columns: repeat(2, max-content);
  }

  .benchmark-legend button {
    justify-content: center;
  }
}

#comparison .comparison-keys {
  margin: .3rem 0 0;
  font-size: .8rem;
  color: #8a9099;
  text-align: center;
}
.comparison-options,
.comparison-options label {
  display: flex;
  align-items: center;
  gap: .45rem;
}
.comparison-options {
  justify-content: center;
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
  margin: 1rem 0;
  font-size: .88rem;
  color: var(--muted);
}
.comparison-options label { max-width: 100%; }
.comparison-options select {
  min-width: 0;
  max-width: 100%;
  padding: .35rem .45rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: #fff;
  color: var(--text);
  font: inherit;
}
@media (max-width: 36rem) {
  .comparison-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 22rem);
    margin-inline: auto;
    row-gap: .3rem;
  }
  .comparison-options label { display: grid; grid-template-columns: 6rem minmax(0, 1fr); }
  .comparison-options select { width: 100%; }
}
.comparison-stage {
  display: grid;
  place-items: center;
  --split: 50%;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .45rem;
  aspect-ratio: 647 / 370;
}
.comparison-stage canvas[hidden] ~ input,
.comparison-stage canvas[hidden] ~ .comparison-rule { display: none; }
.comparison-rule {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 3rem;
  transform: translateX(-50%);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.comparison-rule::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  border-left: 2px solid var(--accent);
}
.comparison-rule span {
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2rem;
  transform: translate(-50%, -50%);
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}
.comparison-stage input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
}
.comparison-stage input:focus-visible + .comparison-rule span {
  outline: 3px solid var(--text);
  outline-offset: 2px;
}
.comparison-stage:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.comparison-caption {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .35rem;
  padding-top: .45rem;
  font-size: .9rem;
}
.comparison-caption > div { display: grid; }
.comparison-caption > div:last-child { text-align: right; }
.comparison-caption > div > span { font-variant-numeric: tabular-nums; }
.comparison-metric { text-align: center; color: var(--muted); font-size: .82rem; }
@media (max-width: 42rem) {
  .comparison-caption {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: .4rem;
    padding-top: .5rem;
  }
  .comparison-caption > div:not(.comparison-metric) { line-height: 1.3; }
  .comparison-metric { grid-column: 1 / -1; grid-row: 2; }
}
.failure-case {
  max-width: 47rem;
  margin: 1.5rem auto 0;
}
.failure-case + .failure-case { margin-top: .35rem; }
.failure-case > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  color: #173752;
  cursor: pointer;
  list-style: none;
}
.failure-case > summary::-webkit-details-marker { display: none; }
.failure-case > summary::after {
  content: "";
  width: .5rem;
  height: .5rem;
  flex: none;
  margin-right: .4rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.failure-case[open] > summary::after { transform: rotate(225deg); }
.failure-case > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.failure-case h3 {
  margin: 0;
  font-size: 1.15rem;
}
.waymo-overlap { margin: .9rem 0; }
.waymo-cameras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; margin: .5rem 0 .35rem; }
.waymo-cameras strong { display: block; text-align: center; font-size: .82rem; color: #173752; margin-bottom: .15rem; }
.waymo-camera { position: relative; overflow: hidden; border-radius: .25rem; }
.waymo-camera span { position: absolute; inset: 0; pointer-events: none; }
.waymo-camera .overlap-left { background: rgba(0, 225, 221, .48); }
.waymo-camera .overlap-right { background: rgba(255, 186, 40, .56); }
.waymo-overlap figcaption span { white-space: nowrap; }
.waymo-overlap figcaption .overlap-left { border-bottom: 3px solid #28b8b4; }
.waymo-overlap figcaption .overlap-right { border-bottom: 3px solid #edb032; }
.failure-case img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .25rem;
}
.failure-case figcaption, .failure-case .plot-key {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.35;
  text-align: center;
}
.failure-case figcaption { margin-top: .22rem; }
.failure-plots {
  margin: 1rem 0 .25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
}
#droid-tracks { margin: 1rem 0; }
.track-toolbar, .track-timeline, .track-modes, .track-legend {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.track-toolbar { justify-content: space-between; flex-wrap: wrap; margin-bottom: .6rem; }
.track-modes, .track-legend { font-size: .82rem; }
.track-toolbar button, .track-play {
  border: 1px solid var(--line);
  border-radius: .35rem;
  padding: .35rem .55rem;
  background: white;
  color: #193650;
  font: inherit;
  cursor: pointer;
}
.track-modes button[aria-pressed="true"] { color: white; background: #244b76; border-color: #244b76; }
.track-legend button[aria-pressed="false"] { opacity: .6; text-decoration: line-through; }
.track-legend i { font-style: normal; font-weight: bold; }
.track-legend [data-layer="kept"] i { color: #128051; }
.track-legend [data-layer="rejected"] i { color: #bf352a; }
.track-legend span, .track-timeline output { font-variant-numeric: tabular-nums; }
.track-views { display: grid; grid-template-columns: 2fr 1fr; gap: .3rem .45rem; }
.track-camera { position: relative; min-width: 0; }
.track-camera:first-child { grid-row: span 2; align-self: center; }
.track-camera > span {
  position: absolute; left: .3rem; top: .3rem; z-index: 1;
  padding: .12rem .38rem; border-radius: .22rem;
  background: #fff4d9; color: #372917; font-size: .72rem; font-weight: 650;
}
.track-image { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: .28rem; }
.track-image :is(img,canvas) { display: block; width: 100%; height: 100%; }
.track-image canvas, .track-image video { position: absolute; inset: 0; }
.track-image video { width: 300%; height: 100%; opacity: 0; pointer-events: none; }
.track-timeline { margin-top: .4rem; gap: .6rem; font-size: .82rem; }
.track-timeline input { min-width: 0; flex: 1; height: 2rem; accent-color: var(--accent); }
.track-play { min-width: 3.6rem; }
.track-timeline output { min-width: 6.7rem; text-align: right; }
#droid-tracks [hidden] { display: none; }
.failure-case .track-help { margin-top: .2rem; text-align: left; color: #273b4b; }
.track-status:empty { display: none; }
.failure-plots figcaption strong { color: #173752; }
@media (max-width: 38rem) {
  .track-views { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track-camera:first-child { grid-column: 1 / -1; grid-row: auto; }
}
.failure-case .plot-key { text-wrap: balance; }
.failure-case .plot-key + p { margin-top: 1rem; }

@media (max-width: 30rem) {
  .failure-case figcaption strong { display: block; }
  .failure-plots { gap: .2rem; }
}
.comparison-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}
.comparison-stage canvas:active { cursor: grabbing; }
.orbit-controls {
  display: flex;
  justify-content: center;
  gap: .35rem;
  margin-top: .5rem;
}
.orbit-controls[hidden] { display: none; }
.orbit-controls button {
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: .25rem .65rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: white;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.orbit-controls button:hover { border-color: var(--accent); }
#orbit-status { text-align: center; color: var(--muted); }
#orbit-status:empty { display: none; }

@media (hover: none), (pointer: coarse) {
  .orbit-shortcuts { display: none; }
}

video.external-playback::-webkit-media-controls,
video.external-playback::-webkit-media-controls-start-playback-button {
  display: none;
}
.touch-playback {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--muted);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}
.touch-playback[hidden] { display: none; }
.touch-playback input {
  flex: 1;
  min-width: 0;
  height: 2.75rem;
  margin: 0;
  accent-color: var(--accent);
}
.touch-playback button {
  min-height: 2.75rem;
  min-width: 3rem;
  border: 0;
  padding: 0 .25rem;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

#citation pre {
  margin: 1rem 0 0;
  padding: 1rem;
  background: var(--surface);
  border-radius: .4rem;
  font-size: .88rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
