:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0d0d0d;
  --panel2: #141414;
  --line: #303030;
  --text: #f4f4f1;
  --muted: #9d9d99;
  --luna: #66D693;
  --deep: #7C54CD;
  --pro: #ff9f43;
  --sol: #2279DC;
  --opus: #D97757;
  --glm: #39B8B2;
  --valid: #f4f4f1;
  --fail: #777774;
  --warm: #d2d2cf;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, sans-serif;
}
.dq-line {
  stroke: #505050;
  stroke-width: 1;
  stroke-dasharray: 5 6;
}
.dq-label {
  fill: #a5a5a2;
}
.submission.dq {
  fill: var(--fail);
  opacity: 0.7;
}
.legend .dq-key {
  background: var(--fail);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: none;
  z-index: -1;
}
.hero {
  padding: 14px clamp(24px, 5vw, 80px) 38px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.hero nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand,
.kicker {
  font: 700 12px/1 var(--mono);
  letter-spacing: 0.14em;
}
.hero-copy {
  margin: 24px 0 34px;
  max-width: 1050px;
}
.kicker {
  color: var(--text);
}
h1 {
  font-size: clamp(58px, 10vw, 142px);
  line-height: 0.82;
  letter-spacing: -0.075em;
  margin: 0 0 24px;
  font-weight: 760;
  white-space: nowrap;
}
h1 em {
  display: inline-block;
  font-style: normal;
  color: var(--bg);
  background: var(--text);
  padding: 0.015em 0.07em 0.055em;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 0;
}
.intro {
  margin: 0;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.55;
  color: #b7b7b3;
  max-width: 860px;
}
.intro-detail {
  max-width: 820px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.55;
}
.model-cards {
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  padding: 16px 24px;
  background: #0c0c0cee;
}
.model-race {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
}
.model-race-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.model-race-head h2 {
  margin: 6px 0 0;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -.035em;
}
.model-race-head > p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.model-race-frame {
  aspect-ratio: 16 / 9;
  background: #0e1520;
}
.model-race-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.hero-score-head {
  margin-bottom: 12px;
  font: 11px/1.4 var(--mono);
}
.hero-score-row {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(240px, 2fr) 100px;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  font: 11px/1.35 var(--mono);
}
.hero-score-row span strong {
  display: block;
}
.hero-score-track {
  height: 26px;
  overflow: hidden;
  border-radius: 5px;
  background: #242424;
}
.hero-score-track i {
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: inherit;
}
.hero-score-row > b {
  text-align: right;
  font: 700 16px/1 var(--mono);
}
main {
  max-width: 1680px;
  margin: auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 30px;
}
.section-head.compact {
  margin-bottom: 20px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 58px);
  letter-spacing: -0.045em;
  margin: 8px 0 0;
}
.section-head > p {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
  margin: 0;
}
.experiment-table-wrap {
  overflow-x: auto;
  margin-top: 0;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: var(--panel);
}
.experiment-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-family: var(--mono);
}
.experiment-table th,
.experiment-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.experiment-table thead th {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.experiment-table tbody tr:last-child > * {
  border-bottom: 0;
}
.experiment-row {
  --model-accent: var(--deep);
  color: inherit;
  cursor: pointer;
  transition: background .16s ease;
}
.experiment-row:hover:not(:has(.experiment-model:hover)),
.experiment-row:focus-visible {
  background: color-mix(in srgb, var(--model-accent) 7%, transparent);
}
.experiment-row:hover:not(:has(.experiment-model:hover)) > td:first-of-type,
.experiment-row:focus-visible > td:first-of-type {
  box-shadow: inset 4px 0 var(--model-accent);
}
.experiment-row:focus-visible {
  outline: 1px solid var(--model-accent);
  outline-offset: -1px;
}
.experiment-row.luna {
  --model-accent: var(--luna);
}
.experiment-row.sol {
  --model-accent: var(--sol);
}
.experiment-row.opus {
  --model-accent: var(--opus);
}
.experiment-row.glm {
  --model-accent: var(--glm);
}
.experiment-row.flash-baidu {
  --model-accent: var(--deep);
}
.experiment-row.pro-alibaba {
  --model-accent: var(--pro);
}
.experiment-row.experiment-best {
  background: color-mix(in srgb, var(--model-accent) 20%, var(--panel));
}
.experiment-row.experiment-best > td {
  border-top: 1px solid color-mix(in srgb, var(--model-accent) 58%, var(--line));
  border-bottom-color: color-mix(in srgb, var(--model-accent) 58%, var(--line));
}
.experiment-row.experiment-best > td:first-of-type {
  box-shadow: inset 4px 0 var(--model-accent);
}
.experiment-row.experiment-best:hover:not(:has(.experiment-model:hover)),
.experiment-row.experiment-best:focus-visible {
  background: color-mix(in srgb, var(--model-accent) 27%, var(--panel));
}
.experiment-model {
  width: 28%;
  border-right: 2px solid color-mix(in srgb, var(--model-accent) 72%, var(--line));
  border-bottom-color: var(--line) !important;
  font-size: 12px;
  line-height: 1.4;
  vertical-align: middle;
  transition: background .16s ease;
}
.experiment-model.experiment-model-hover {
  background: color-mix(in srgb, var(--model-accent) 10%, var(--panel));
}
.experiment-model-effort {
  display: block;
  margin: 3px 0 0 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.trial-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--model-accent);
}
.experiment-table td {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.experiment-table td b,
.experiment-table td strong {
  color: var(--text);
  font-weight: 700;
}
.experiment-table td a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}
.chart-card {
  background: linear-gradient(180deg, #111, #090909);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  overflow: hidden;
}
.chart-card svg {
  display: block;
  width: 100%;
  height: 520px;
}
.axis text,
.chart-label {
  fill: var(--muted);
  font: 11px var(--mono);
}
.gridline {
  stroke: #292929;
  stroke-width: 1;
}
.best-line {
  fill: none;
  stroke-width: 2.2;
}
.submission {
  stroke: #050505;
  stroke-width: 2;
  opacity: 0.62;
}
.submission.frontier {
  opacity: 1;
}
.submission-target {
  cursor: pointer;
  outline: none;
}
.submission-hit {
  fill: transparent;
  pointer-events: all;
  cursor: pointer;
}
.submission.replayable {
  opacity: 1;
  stroke: var(--text);
  stroke-width: 1.5px;
  transition: r .15s ease, stroke-width .15s ease;
}
.submission-target:hover .submission,
.submission-target:focus .submission {
  r: 9px;
  opacity: 1;
  stroke: var(--text);
  stroke-width: 2.5px;
}
.dq {
  fill: var(--fail);
}
.legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 10px 0;
  color: var(--muted);
  font: 12px var(--mono);
}
.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 7px;
}
.performance-scores {
  margin-top: 18px;
}
.metric-note span {
  display: block;
}
.auc-bar-chart {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.auc-bar-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  font: 11px/1.4 var(--mono);
}
.auc-bar-head span {
  color: var(--muted);
}
.auc-bar-row {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(240px, 2fr) 64px;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font: 11px/1.35 var(--mono);
}
.auc-bar-label strong,
.auc-bar-label small {
  display: block;
}
.auc-bar-label small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}
.auc-bar-track {
  height: 26px;
  overflow: hidden;
  border-radius: 5px;
  background: #242424;
}
.auc-bar-track i {
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: inherit;
}
.auc-bar-row > b {
  text-align: right;
  font-size: 14px;
}
.metric-note {
  max-width: 1080px;
  margin: 18px 4px 0;
  color: var(--muted);
  font: 11px/1.65 var(--mono);
}
.metric-note strong {
  color: var(--text);
}
.readout-detail[hidden] {
  display: none;
}
.readout-detail {
  padding-top: 42px;
}
.readout-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  margin-bottom: 24px;
}
.readout-head h2 {
  margin: 4px 0 6px;
}
.readout-head p:last-child {
  margin: 0;
  color: var(--muted);
}
.readout-head button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--text);
  background: var(--panel);
  font: 11px var(--mono);
  cursor: pointer;
}
.readout-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: var(--line);
}
.readout-stats > div {
  padding: 16px;
  background: var(--panel);
}
.readout-stats span,
.readout-stats b {
  display: block;
}
.readout-stats span {
  color: var(--muted);
  font: 10px/1.35 var(--mono);
  margin-bottom: 8px;
}
.readout-stats b {
  font: 700 15px/1.25 var(--mono);
}
.readout-frame-wrap,
.readout-timeline-wrap {
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}
.readout-frame-wrap {
  aspect-ratio: 16 / 9;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}
.readout-frame-wrap iframe,
.readout-timeline-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.readout-timeline-head {
  margin: 48px 0 16px;
}
.readout-timeline-head h3 {
  margin: 4px 0 0;
  font-size: clamp(25px, 4vw, 42px);
}
.readout-timeline-wrap {
  height: 820px;
  border-radius: 10px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  gap: 26px;
}
.resource-bars {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.budget-table-wrap {
  overflow-x: auto;
}
.budget-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-family: var(--mono);
  table-layout: fixed;
}
.budget-col-model {
  width: 26%;
}
.budget-col-trial {
  width: 10%;
}
.budget-col-cost {
  width: 21.333%;
}
.budget-table caption {
  padding: 13px 18px;
  caption-side: bottom;
  color: var(--muted);
  font: 9px/1.5 var(--mono);
  text-align: left;
}
.budget-table th,
.budget-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.budget-table thead th {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.budget-table tbody:last-of-type tr:last-child > * {
  border-bottom: 0;
}
.budget-group {
  --model-accent: var(--deep);
}
.budget-group.deepseek,
.budget-group.flash-baidu {
  --model-accent: var(--deep);
}
.budget-group.pro-alibaba {
  --model-accent: var(--pro);
}
.budget-group.luna {
  --model-accent: var(--luna);
}
.budget-group.sol {
  --model-accent: var(--sol);
}
.budget-group.opus {
  --model-accent: var(--opus);
}
.budget-group.glm {
  --model-accent: var(--glm);
}
.budget-row {
  transition: background .16s ease;
}
.budget-row:hover:not(:has(.budget-model:hover)) > td {
  border-top-color: color-mix(in srgb, var(--model-accent) 55%, var(--line));
  border-bottom-color: color-mix(in srgb, var(--model-accent) 55%, var(--line));
}
.budget-row:hover:not(:has(.budget-model:hover)) > td:first-of-type {
  box-shadow: inset 4px 0 var(--model-accent);
}
.budget-model {
  border-right: 2px solid color-mix(in srgb, var(--model-accent) 72%, var(--line));
  border-bottom-color: var(--line) !important;
  font-size: 12px;
  line-height: 1.4;
  vertical-align: middle;
  transition: background .16s ease;
}
.budget-model:hover {
  background: color-mix(in srgb, var(--model-accent) 10%, var(--panel));
}
.budget-model-effort {
  display: block;
  margin: 3px 0 0 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.budget-table td {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.budget-table td a {
  color: inherit;
  text-decoration: none;
}
.budget-heat {
  background: color-mix(in srgb, var(--text) var(--heat), var(--panel));
}
.budget-heat strong {
  display: block;
  color: var(--text);
  font-weight: 700;
}
.budget-heat small {
  display: block;
  margin-top: 3px;
  color: color-mix(in srgb, var(--text) 66%, var(--muted));
  font: 8px/1 var(--mono);
}
.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filters button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 15px;
  font: 12px var(--mono);
  cursor: pointer;
}
.filters button.active {
  background: var(--text);
  color: #111;
}
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 14px;
}
.policy-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 18px;
  min-height: 205px;
  display: flex;
  flex-direction: column;
}
.policy-card.valid {
  border-top: 3px solid var(--valid);
}
.policy-card.failure {
  border-top: 3px solid var(--fail);
}
.policy-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font: 11px var(--mono);
}
.policy-result {
  font-size: 27px;
  font-weight: 750;
  margin: 22px 0 8px;
  letter-spacing: -0.03em;
}
.policy-detail {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.policy-actions {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.policy-actions a {
  color: var(--text);
  text-decoration: none;
  font: 12px var(--mono);
}
.policy-actions a:hover {
  color: var(--warm);
}
.tag {
  font: 10px var(--mono);
  padding: 5px 7px;
  border-radius: 4px;
  background: #292929;
  color: #b5b5b1;
}
.run-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.run-link {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 9px;
  padding: 16px;
  text-decoration: none;
  color: var(--text);
}
.run-link span {
  display: block;
  color: var(--muted);
  font: 11px/1.6 var(--mono);
}
.timeline-cta {
  display: flex;
  justify-content: space-between;
  background: var(--text);
  color: #090909;
  text-decoration: none;
  padding: 22px 24px;
  border-radius: 9px;
  font-weight: 750;
}
.empty {
  color: var(--muted);
}
footer {
  padding: 30px clamp(24px, 5vw, 80px);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font: 11px var(--mono);
}
@media (max-width: 900px) {
  .model-race-head {
    display: block;
  }
  .model-race-head > p {
    margin-top: 10px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .section-head {
    display: block;
  }
  .section-head > p {
    margin-top: 12px;
  }
  .chart-card svg {
    height: 420px;
  }
  .hero-copy {
    margin: 48px 0 32px;
  }
  .readout-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  h1 {
    font-size: 58px;
    white-space: normal;
  }
  .hero-score-row {
    grid-template-columns: 1fr 64px;
  }
  .hero-score-row > span {
    grid-column: 1 / -1;
  }
  .auc-bar-row {
    grid-template-columns: 1fr 52px;
  }
  .auc-bar-label {
    grid-column: 1 / -1;
  }
  .readout-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .readout-head {
    display: block;
  }
  .readout-head button {
    margin-top: 16px;
  }
  .readout-frame-wrap {
    aspect-ratio: 4 / 3;
  }
  .readout-timeline-wrap {
    height: 680px;
  }
  footer {
    display: block;
  }
  footer span {
    display: block;
    margin: 5px 0;
  }
}
