:root {
  color-scheme: light;
  --ink: #122728;
  --text: #263b3b;
  --muted: #536968;
  --paper: #f6f8f6;
  --white: #fff;
  --line: #ccd6d0;
  --light: #e5ebe6;
  --pine: #095b4e;
  --pale: #d9ede4;
  --red: #a13d2b;
  --amber: #a56c17;
  --sand: #f6e5de;
  --code: "IBM Plex Mono","SFMono-Regular",Consolas,monospace;
  font-family: Inter,"Noto Sans CJK SC","Microsoft YaHei",system-ui,sans-serif;
  color: var(--text);
  background: var(--paper);
  font-size: 15px;
}

* {
  box-sizing: border-box;
}

body,h1,h2,h3,p,dl,dd,figure,blockquote {
  margin: 0;
}

body {
  min-width: 300px;
}

button,input,select {
  font: inherit;
  color: inherit;
}

button,select,input:not([type=checkbox]):not([type=range]) {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 6px 9px;
}

button,select,a,summary {
  touch-action: manipulation;
}

button,select,summary {
  cursor: pointer;
}

button:disabled {
  opacity: .44;
  cursor: default;
}

button:not(:disabled):hover,select:hover {
  border-color: var(--pine);
  background: #eef5f0;
}

a {
  color: var(--pine);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

button:focus-visible,select:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible {
  outline: 3px solid #479e83;
  outline-offset: 3px;
}

h1,h2,h3,strong {
  color: var(--ink);
}

h1 {
  font-size: clamp(32px,4.4vw,60px);
  line-height: 1.16;
  font-weight: 760;
  letter-spacing: -.065em;
}

h2 {
  font-size: clamp(18px,1.85vw,25px);
  line-height: 1.3;
  letter-spacing: -.04em;
}

h3 {
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -.025em;
}

small {
  font-size: 12px;
}

.num,.mono,.time,.tick-labels,.metrics dd,.small-metrics dd {
  font-family: var(--code);
  font-variant-numeric: tabular-nums;
}

.mono {
  font-size: 12px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

[hidden] {
  display: none !important;
}

.top {
  background: var(--ink);
  color: white;
}

.top-inner,main,footer {
  width: min(1440px,100%);
  margin: auto;
  padding-left: clamp(18px,4.7vw,82px);
  padding-right: clamp(18px,4.7vw,82px);
}

.top-inner {
  min-height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  font-size: 18px;
  font-weight: 650;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -.045em;
}

.brand:hover {
  text-decoration: none;
}

.mark {
  display: inline-flex;
  gap: 3px;
  align-items: flex-end;
  height: 20px;
  width: 23px;
}

.mark i {
  width: 5px;
  height: 14px;
  background: #bce3b8;
  transform: skew(-13deg);
}

.mark i:first-child {
  height: 9px;
}

.mark i:last-child {
  height: 20px;
}

.top nav {
  display: flex;
  gap: 4px;
}

.top nav a {
  padding: 8px 15px;
  border-radius: 5px;
  color: #d8e4dc;
  font-size: 14px;
}

.top nav a[aria-current] {
  background: #354e48;
  color: #fff;
}

.top nav a:hover {
  background: #2d4840;
  text-decoration: none;
}

main {
  padding-top: 37px;
  padding-bottom: 38px;
  min-height: 72vh;
}

.overview-head,.player-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.kicker,.eyeline {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .055em;
  color: var(--muted);
}

.kicker {
  margin-bottom: 9px;
}

.kicker a {
  color: inherit;
}

.intro {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 11px;
}

.model-info {
  border-left: 2px solid var(--pine);
  padding-left: 14px;
  margin-bottom: 3px;
}

.model-info strong {
  font: 600 18px var(--code);
  display: block;
}

.model-info span,.muted {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}

.metrics {
  display: grid;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 26px 0 30px;
}

.overview-stats {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.metrics>div {
  padding: 13px 20px 14px 0;
  min-width: 0;
}

.metrics>div+div {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.metrics dt,.small-metrics dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.metrics dd {
  font-size: 42px;
  color: var(--ink);
  letter-spacing: -.075em;
  line-height: 1.35;
  font-weight: 650;
}

.metrics dd span {
  font-size: 60%;
  color: #657873;
  font-weight: 450;
}

.metrics small {
  color: var(--muted);
  font-size: 12px;
}

.overview-stats>div:first-child dd {
  color: var(--pine);
}

.overview-stats>div:last-child dd {
  color: var(--red);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(250px,.35fr);
  gap: 25px;
  align-items: start;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.sub-link,.text-link,.plain {
  font-size: 13px;
  font-weight: 570;
  white-space: nowrap;
}

.text-link {
  border-bottom: 1px solid #b2cbc1;
}

.table-wrap {
  overflow-x: auto;
  border-block: 1px solid var(--line);
  width: 100%;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: left;
}

th {
  font-size: 12px;
  font-weight: 550;
  color: var(--muted);
  background: #eef2ee;
  white-space: nowrap;
}

td,th {
  padding: 11px 9px;
  vertical-align: middle;
}

td {
  border-top: 1px solid var(--light);
}

tbody tr:hover {
  background: #f0f5ef;
}

td strong,td small {
  display: block;
}

td small {
  color: var(--muted);
  margin-top: 2px;
}

td.num {
  font-size: 13px;
}

.outcomes table td:first-child,.outcomes table th:first-child {
  padding-left: 0;
}

.outcomes table th:first-child {
  padding-left: 7px;
}

.scene-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  min-width: 150px;
}

.scene-link img {
  width: 57px;
  height: 43px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #d4dbd4;
}

.scene-link strong {
  font-size: 13px;
  line-height: 1.4;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 580;
  white-space: nowrap;
}

.status::before {
  content: "";
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pass {
  background: var(--pale);
  color: var(--pine);
}

.fail {
  background: var(--sand);
  color: var(--red);
}

.fail::before {
  border-radius: 1px;
  transform: rotate(45deg);
}

.table-note {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin: 11px 0;
}

.feature {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.feature-img {
  display: block;
  position: relative;
  background: #c1c7bf;
}

.feature-img img {
  aspect-ratio: 4/2.45;
  object-fit: cover;
  object-position: 50% 65%;
  display: block;
  width: 100%;
  height: auto;
}

.film-tag {
  position: absolute;
  right: 9px;
  bottom: 9px;
  color: white;
  background: #182321dd;
  padding: 4px 7px;
  border-radius: 4px;
  font: 11px var(--code);
}

.feature>div {
  padding: 16px;
}

.feature h2 {
  font-size: 18px;
}

.feature p:not(.kicker) {
  font-size: 13px;
  line-height: 1.7;
  margin: 8px 0;
}

.danger-text {
  color: var(--red);
}

.coverage,.guide-section {
  margin-top: 30px;
}

.coverage {
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.coverage-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.coverage-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 4px;
}

.small-metrics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
}

.small-metrics>div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.small-metrics dd {
  font-weight: 600;
  font-size: 27px;
  color: var(--ink);
  margin-top: 4px;
}

footer {
  padding-top: 15px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  font: 12px var(--code);
  color: var(--muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer a {
  color: var(--muted);
}

.guide-head {
  max-width: 860px;
}

.guide-section {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 19px;
}

.example-grid>div {
  border-left: 2px solid #91b5a4;
  padding-left: 15px;
}

.example-grid h3 {
  margin: 3px 0;
}

.example-grid p,.explanation p {
  font-size: 15px;
  line-height: 1.83;
  color: var(--text);
}

.class-table td:nth-child(2) small {
  font-size: 13px;
  line-height: 1.6;
}

.letter {
  font: 600 18px var(--code);
  color: var(--pine);
}

tfoot {
  background: #eaf0ea;
  font-weight: 650;
}

tfoot td {
  font-family: var(--code);
}

.subhead {
  margin: 18px 0 8px;
}

.explanation {
  max-width: 950px;
}

.explanation p {
  margin: 11px 0;
}

.guide-notes {
  margin-top: 16px;
}

.sources,.catalog-controls,.chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.sources {
  font-size: 13px;
  margin: 12px 0 0;
}

.catalog-controls label,.pick-run label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.catalog-controls input {
  min-width: 170px;
}

.sources a,.run-end a {
  border-bottom: 1px solid #b2cbc1;
}

.run {
  padding-top: 22px;
}

.player-head h1 {
  font-size: clamp(28px,3.2vw,45px);
}

.pick-run {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pick-run select {
  max-width: 270px;
}

.subline {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.run-stats {
  grid-template-columns: repeat(6,minmax(0,1fr));
  margin: 17px 0;
}

.run-stats>div {
  padding-top: 8px;
  padding-bottom: 8px;
}

.run-stats dd {
  font-size: 23px;
  line-height: 1.45;
  letter-spacing: -.05em;
}

.run-stats small {
  font-size: 11px;
}

.transport {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 16px 10px;
}

.transport-top,.transport-left,.transport-right,.vision-nav,.log-tools,.run-end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.transport-top,.vision-nav,.log-tools,.run-end {
  justify-content: space-between;
}

.transport button,.transport select,.transport input,.vision-nav button,.log-tools button,.log-side select {
  font-size: 12px;
}

.transport button,.vision-nav button,.log-tools button {
  font-weight: 550;
}

.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.primary:not(:disabled):hover {
  background: var(--pine);
  color: white;
}

.time {
  font-size: 13px;
}

.time>span,.transport-right {
  color: var(--muted);
  font-size: 12px;
}

.transport-right b {
  font: 600 14px var(--code);
  color: var(--ink);
}

.transport form {
  display: inline-flex;
  gap: 4px;
}

.transport form input {
  width: 85px;
}

.rail-grid {
  display: grid;
  grid-template-columns: 66px minmax(0,1fr);
  align-items: start;
  margin: 9px 0 3px;
}

.lanes {
  display: grid;
  grid-template-rows: repeat(5,13px);
  font-size: 10px;
  font-weight: 560;
  line-height: 13px;
  color: var(--muted);
}

#tracks {
  height: 65px;
  background: #f1f4f1;
  position: relative;
  touch-action: none;
  cursor: crosshair;
}

#waterfall {
  display: block;
  width: 100%;
  height: 65px;
}

#playhead {
  position: absolute;
  pointer-events: none;
  top: -1px;
  height: 68px;
  border-left: 2px solid var(--ink);
  left: 0;
}

#scrub {
  display: block;
  width: 100%;
  height: 15px;
  padding: 0;
  margin: 0;
  accent-color: var(--pine);
  cursor: pointer;
}

.tick-labels {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  line-height: 1.15;
}

.chapters {
  gap: 5px;
  margin-top: 6px;
}

.chapters .eyeline {
  font-size: 11px;
  margin-right: 3px;
}

.chapters button {
  background: #f4f6f3;
  padding: 3px 7px;
  font-size: 11px;
}

.chapters button.harm {
  color: var(--red);
  border-color: #d9b2a5;
}

.transport #link-text {
  width: 100%;
  margin-top: 6px;
}

.studio {
  display: grid;
  grid-template-columns: minmax(0,1.95fr) minmax(270px,.85fr);
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}

.screens-and-status,.monitor,.log-side {
  min-width: 0;
}

.screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.monitor,.log-side,.record-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.monitor {
  padding: 10px;
}

.monitor-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.monitor h2,.log-side h2,.record-detail h2 {
  font-size: 17px;
}

.channel {
  font-size: 11px;
  color: var(--muted);
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.channel::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #367f72;
}

.image-dot::before {
  background: #b86a47;
}

.screen {
  aspect-ratio: 4/3;
  background: #253333;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.screen video,.screen img,.picture-open {
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  display: block;
  object-fit: contain;
}

.screen .picture-open,.screen .picture-open:disabled {
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  opacity: 1;
}

.screen .picture-open:not(:disabled) {
  cursor: zoom-in;
}

.screen .picture-open:not(:disabled):hover {
  background: transparent;
}

.no-frame {
  position: absolute;
  color: #d4ded8;
  font-size: 13px;
  pointer-events: none;
  padding: 14px;
  text-align: center;
}

.monitor figcaption {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: wrap;
  min-height: 20px;
}

.monitor figcaption select {
  font-size: 11px;
  padding: 2px 4px;
  max-width: 100%;
}

.vision-nav {
  justify-content: flex-end;
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 11px;
}

.vision-nav button {
  border: 0;
  background: transparent;
  color: var(--pine);
  padding: 3px 5px;
}

.now {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 11px 0;
}

.now>div {
  min-width: 0;
}

.now>div+div {
  border-left: 1px solid var(--line);
  padding-left: 11px;
}

.now strong {
  display: block;
  margin: 4px 0;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.now .eyeline {
  font-size: 11px;
}

.now .plain,.now summary,.notes summary {
  font-size: 12px;
  color: var(--pine);
}

.now .plain {
  border: 0;
  padding: 0;
  background: none;
  white-space: normal;
  text-align: left;
}

.now pre,.record-detail pre {
  font: 12px/1.65 var(--code);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.now pre {
  margin: 5px 0;
}

.notes {
  border-top: 1px solid var(--line);
  padding: 9px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.notes p,.notes blockquote {
  margin: 8px 0;
}

.notes blockquote {
  border-left: 2px solid var(--pine);
  padding-left: 9px;
  color: var(--text);
}

.log-side {
  padding: 12px;
}

.log-side .section-head {
  margin-bottom: 7px;
}

.log-tools button {
  padding: 3px 7px;
}

.log-tools span,.follow {
  font-size: 11px;
  color: var(--muted);
}

.event-list {
  overflow-y: auto;
  overscroll-behavior: contain;
  max-height: 375px;
  min-height: 180px;
  margin: 8px 0 5px;
  border-block: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: #adbbb2 transparent;
}

.entry {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  column-gap: 6px;
  row-gap: 2px;
  width: 100%;
  text-align: left;
  font-size: 12px;
  line-height: 1.43;
}

.event-list .entry {
  border: 0;
  border-top: 1px solid var(--light);
  border-radius: 0;
  padding: 7px 6px;
  background: transparent;
}

.event-list .entry:first-child {
  border-top: 0;
}

.entry time,.entry small {
  font: 10px var(--code);
  color: var(--muted);
}

.entry small {
  font-family: inherit;
  grid-column: 2;
  font-weight: 450;
}

.entry .ev-title {
  font-weight: 550;
}

.entry.active,.event-list .entry.active:hover {
  background: var(--pale);
  box-shadow: inset 3px 0 var(--pine);
}

.entry.harm .ev-title {
  color: var(--red);
}

.follow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.follow input {
  accent-color: var(--pine);
}

.record-detail {
  padding: 16px;
  margin-top: 14px;
}

.record-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}

.detail-meta {
  font-size: 12px;
  color: var(--muted);
}

.record-detail pre,.quote {
  background: #f2f5f2;
  color: var(--text);
  padding: 10px 12px;
  margin: 9px 0;
  border-radius: 5px;
  max-height: 290px;
  overflow: auto;
}

.quote {
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.record-detail details {
  margin: 8px 0;
  font-size: 12px;
}

.record-detail button {
  font-size: 12px;
  padding: 5px 8px;
}

.detail-imgs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.detail-imgs button {
  padding: 3px;
  max-width: 30%;
}

.detail-imgs img {
  max-width: 100%;
  height: 63px;
  object-fit: contain;
  display: block;
}

.run-end {
  margin-top: 16px;
  font-size: 12px;
}

.loading {
  padding: 24px 0;
  color: var(--muted);
}

dialog {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  max-width: 95vw;
  max-height: 95vh;
  padding: 12px;
}

dialog::backdrop {
  background: #0f2021d9;
}

dialog>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

dialog img {
  display: block;
  margin: 9px auto 0;
  max-width: 100%;
  max-height: 79vh;
  object-fit: contain;
}

@media (min-width:1550px) {
  .event-list {
    max-height: 420px;
  }
}

@media (max-width:1060px) {
  .overview-grid {
    grid-template-columns: minmax(0,1fr) minmax(220px,.34fr);
    gap: 14px;
  }

  .outcomes table th,.outcomes table td {
    padding: 8px 5px;
  }

  .scene-link img {
    width: 42px;
    height: 35px;
  }

  .studio {
    grid-template-columns: minmax(0,1.8fr) minmax(235px,.8fr);
    gap: 9px;
  }

  .screens {
    gap: 6px;
  }

  .monitor {
    padding: 7px;
  }

  .entry {
    grid-template-columns: 49px 1fr;
  }

  .top-inner,main,footer {
    padding-inline: 22px;
  }

  .run-stats>div+div {
    padding-left: 11px;
  }
}

@media (max-width:860px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    display: grid;
    grid-template-columns: 210px 1fr;
  }

  .feature-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .studio {
    grid-template-columns: 1fr;
  }

  .log-side {
    margin-top: 0;
  }

  .event-list {
    max-height: 240px;
  }

  .coverage-body {
    grid-template-columns: 1fr;
  }

  .run-stats {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .run-stats>div:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }

  .run-stats>div:nth-child(n/**/+4) {
    border-top: 1px solid var(--line);
  }

  .guide-section .example-grid {
    gap: 12px;
  }

  .pick-run {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width:610px) {
  .top-inner,main,footer {
    padding-inline: 14px;
  }

  .top-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-top: 10px;
    padding-bottom: 6px;
  }

  .brand {
    font-size: 15px;
  }

  .top nav {
    gap: 4px;
  }

  .top nav a {
    padding: 5px 10px;
    font-size: 12px;
  }

  main {
    padding-top: 22px;
  }

  .overview-head,.player-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .model-info {
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .model-info strong {
    font-size: 14px;
  }

  .model-info span {
    margin: 0;
    font-size: 11px;
  }

  .intro {
    font-size: 14px;
  }

  .overview-stats {
    grid-template-columns: 1fr 1fr;
    margin: 17px 0;
  }

  .overview-stats>div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .overview-stats>div:nth-child(n/**/+3) {
    border-top: 1px solid var(--line);
  }

  .metrics dd {
    font-size: 31px;
  }

  .metrics>div+div {
    padding-left: 12px;
  }

  .outcomes table {
    min-width: 635px;
  }

  .feature {
    grid-template-columns: 135px 1fr;
  }

  .feature>div {
    padding: 10px;
  }

  .feature h2 {
    font-size: 16px;
  }

  .feature p:not(.kicker) {
    font-size: 12px;
  }

  .coverage-body {
    gap: 14px;
  }

  .small-metrics>div {
    padding-left: 9px;
  }

  .small-metrics dd {
    font-size: 22px;
  }

  .example-grid {
    grid-template-columns: 1fr;
  }

  .guide-section .class-table {
    min-width: 595px;
  }

  .guide-section .table-wrap table:not(.class-table) {
    min-width: 535px;
  }

  .run-stats dd {
    font-size: 21px;
  }

  .run-stats small {
    font-size: 10px;
  }

  .pick-run {
    flex-direction: row;
    align-items: center;
  }

  .run {
    padding-top: 13px;
  }

  .transport {
    padding: 9px;
  }

  .rail-grid {
    grid-template-columns: 58px minmax(0,1fr);
  }

  .transport-top {
    gap: 9px;
  }

  .transport-right {
    gap: 5px;
    flex-wrap: wrap;
  }

  .now {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .now>div+div {
    border-left: 0;
    border-top: 1px solid var(--light);
    padding: 7px 0 0;
  }

  .monitor h2 {
    font-size: 14px;
  }

  .monitor figcaption {
    font-size: 10px;
  }

  .monitor .channel {
    font-size: 9px;
  }

  .catalog-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-controls input,.catalog-controls select {
    max-width: 100%;
  }

  .subline {
    font-size: 12px;
  }

  .overview-head h1 {
    font-size: 38px;
  }

  .section-head h2 {
    font-size: 20px;
  }

  .chapters {
    gap: 4px;
  }

  .run-stats,.metrics {
    margin-bottom: 14px;
  }
}

@media (max-width:430px) {
  .screens {
    grid-template-columns: 1fr;
  }

  .monitor {
    padding: 9px;
  }

  .monitor-head {
    margin-bottom: 6px;
  }

  .monitor h2 {
    font-size: 16px;
  }

  .screen {
    max-height: 235px;
    margin-inline: auto;
    width: 100%;
    aspect-ratio: 4/3;
  }

  .feature {
    grid-template-columns: 110px 1fr;
  }

  .feature .kicker {
    font-size: 10px;
  }

  .feature h2 {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

.inline-step {
  background: #eff5ef;
  border-left: 3px solid var(--pine);
  padding: 4px 9px 8px 12px;
  display: grid;
  gap: 5px;
}

.inline-step small,.inline-step a {
  font-size: 11px;
  color: var(--muted);
}

.inline-step a {
  color: var(--pine);
}

.inline-step pre {
  max-height: 66px;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  font: 11px/1.45 var(--code);
  margin: 0;
}

.inline-step img {
  max-height: 65px;
  max-width: 100%;
  width: auto;
  display: block;
  border-radius: 3px;
}

.outcomes,.coverage-body>div {
  min-width: 0;
}

@media (max-width:610px) {
  .outcomes .table-wrap {
    overflow: visible;
  }

  .outcomes table,.outcomes tbody {
    display: block;
    min-width: 0;
  }

  .outcomes thead {
    display: none;
  }

  .outcomes table tbody tr {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    align-items: center;
    gap: 5px 4px;
    padding: 9px 0;
    border-top: 1px solid var(--light);
  }

  .outcomes table tbody tr:first-child {
    border-top: 0;
  }

  .outcomes table td {
    padding: 0;
    border: 0;
  }

  .outcomes td:first-child {
    grid-column: 1/4;
    grid-row: 1;
  }

  .outcomes td:nth-child(2) {
    grid-column: 1/6;
    grid-row: 3;
    color: var(--muted);
    font-size: 11px;
  }

  .outcomes td:nth-child(2)::before {
    content: "现场类别　";
  }

  .outcomes td:nth-child(4) {
    grid-column: 4/6;
    grid-row: 1;
    text-align: right;
  }

  .outcomes td:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .outcomes td:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
  }

  .outcomes td:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
  }

  .outcomes td:nth-child(7) {
    grid-column: 4;
    grid-row: 2;
  }

  .outcomes td:nth-child(8) {
    grid-column: 5;
    grid-row: 2;
    text-align: right;
  }

  .outcomes td[data-label] {
    font-size: 11px;
  }

  .outcomes td[data-label]::before {
    content: attr(data-label) " ";
    font-family: Inter,"Noto Sans CJK SC",sans-serif;
    color: var(--muted);
  }

  .outcomes .scene-link {
    min-width: 0;
  }

  .outcomes .text-link {
    font-size: 12px;
  }
}
