@font-face {
  font-family: "Fusion Pixel";
  src: url("/assets/fonts/fusion-pixel.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f5f5f5;
  --ink: #18181b;
  --green: #18181b;
  --muted: #606066;
  --line: #e1e1e5;
  --soft: #f0f0f1;
  --panel-shadow: 4px 4px 0 rgb(24 24 27 / 15%);
  --reading-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body { background: var(--paper); color: var(--ink); font-family: "Fusion Pixel", monospace; }
.benchmark-page { font-family: var(--reading-font); }
.benchmark-page h1, .benchmark-page h2, .benchmark-page h3,
.benchmark-page nav, .benchmark-page .brand { font-family: "Fusion Pixel", monospace; }
.benchmark-page figcaption { font-size: 13px; line-height: 1.7; }
.benchmark-page .leaderboard { border-top: 0; padding-top: 0; }
.benchmark-page .hero { padding-top: 32px; padding-bottom: 28px; }
.benchmark-page .hero h1 { margin-bottom: 16px; }
.leaderboard .results { margin-top: 0; }
.leaderboard .results-summary { margin-bottom: 16px; }
.leaderboard h2 { text-align: left; font-size: 24px; margin-bottom: 12px; }
.benchmark-page .overview { border-top: 1px solid var(--line); padding-top: 48px; }
.overview-figure { margin-top: 32px; }
body::before { background: none; }
a:focus-visible, button:focus-visible { outline-color: #52525b; }
.brand { font-size: 12px; font-weight: 400; letter-spacing: 0; gap: 12px; }
.brand img, .new-brand-icon { width: 36px; height: 40px; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 18px; }
.brand-name span { font-weight: 400; }
nav { font-size: 12px; }
h1, h2, h3 { letter-spacing: 0; font-weight: 400; }
.home-page header { max-width: 1280px; padding: 20px 32px; min-height: 88px; border-bottom: 1px solid var(--line); }
.home-page main { max-width: 1280px; gap: 40px; grid-template-columns: 1fr 1.15fr; padding: 48px 32px 72px; }
.home-page h1 { font-size: 48px; line-height: 1.3; letter-spacing: 0; font-weight: 400; }
.home-page h2 { font-size: 24px; line-height: 1.5; letter-spacing: 0; font-weight: 400; }
.home-page p { font-size: 16px; line-height: 1.85; }
.home-page .visual { background: #fff; border: 2px solid var(--line); box-shadow: var(--panel-shadow); }
.home-page .visual img { width: 100%; margin: 0; }
.button, .resource-pill, button.guide { font-family: inherit; border-radius: 0; font-size: 12px; font-weight: 400; border: 2px solid var(--line); min-height: 44px; box-shadow: var(--panel-shadow); transition: background 160ms, transform 90ms, box-shadow 90ms; }
.primary, .play-link { background: #18181b; border-color: #18181b; color: #fafafa; }
.primary:hover, .play-link:hover { background: #27272a; border-color: #27272a; }
.secondary, button.guide, .resource-pill:not(.play-link) { background: #fff; color: var(--ink); }
.secondary:hover, button.guide:hover { background: #f0f0f1; }
.button:hover { transform: none; }
.button:active, button.guide:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgb(24 24 27 / 15%); }
button.guide { padding: 12px 16px; }
.copy-status { font-size: 12px; }
#prompt-fallback { border-radius: 0; font-family: inherit; border-color: var(--line); color: var(--ink); }
.site-header { background: #f5f5f5; }
.site-header .brand { font-size: 12px; }
.site-header nav a { border-radius: 0; font-size: 12px; font-weight: 400; }
.site-header nav a:hover, .site-header nav a[aria-current="location"] { background: #e9e9ec; color: var(--ink); font-weight: 400; }
.project-name { color: var(--ink); font-size: 48px; letter-spacing: 0; }
.paper-title { font-size: 36px; font-weight: 400; letter-spacing: 0; }
.resource-pill strong { font-weight: 400; }
.resource-pill>span { border-color: var(--line); }
.wide-figure>a, .table-wrapper { border-radius: 0; border: 2px solid var(--line); box-shadow: var(--panel-shadow); background: #fff; }
.wide-figure>a:hover { border-color: #a1a1aa; }
.results h3 { font-size: 24px; font-weight: 400; }
.results-table tbody tr:hover { background: #f1f1f2; }
.table-wrapper:focus-visible { outline-color: #52525b; }
.outcome { border-radius: 0; }
.outcome.success { background: #e9e9ec; color: #18181b; }
.outcome.partial, .outcome.failure { background: #f1f1f2; color: #606066; }
/* Dense research data uses a readable typeface within the game's visual shell. */
.results { max-width: 960px; margin: 40px auto 0; scroll-margin-top: 100px; }
.results h3 { font-family: "Fusion Pixel", monospace; text-align: left; margin-bottom: 12px; }
.results-scope { text-align: left; font-size: 13px; margin-bottom: 14px; }
.results-summary { text-align: left; font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
.results-summary strong { font-weight: 650; }
.results-wrapper { border: 1px solid var(--line); box-shadow: none; }
.results-table { font-size: 14px; line-height: 1.4; }
.results-table thead { background: #f0f0f1; }
.results-table th, .results-table td { padding: 12px 20px; }
.results-table thead th { font-size: 12px; font-weight: 600; color: var(--muted); }
.results-table tbody th { font-weight: 550; color: var(--ink); }
.results-table td { font-variant-numeric: tabular-nums; color: #3f3f46; }
.results-table tbody tr:hover { background: #fafafa; }
.results-table tbody tr:last-child > * { border-bottom: 0; }
.results-table .outcome { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; background: none; }
.results-table .outcome.success::before { content: "✓"; font-size: 14px; font-weight: 600; }
.results-table .outcome.incomplete { color: #71717a; }
.results-table .outcome.incomplete::before { content: "–"; }
.results-note { max-width: 820px; font-size: 12px; line-height: 1.7; margin-top: 16px; }
.ability-headline { margin: 18px 0 8px; font-size: clamp(22px, 3vw, 30px); line-height: 1.3; letter-spacing: -.7px; }
.ability-headline strong { color: #276451; font-weight: 700; }
.ability-subline { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.goal-state { display: inline-grid; place-items: center; width: 22px; height: 22px; font-size: 14px; line-height: 1; }
.goal-state.complete { background: #276451; color: white; }
.goal-state.unmet { border: 1px solid #d4d4d8; color: #a1a1aa; }
.achievement { display: flex; align-items: center; justify-content: center; gap: 14px; }
.achievement-blocks { display: flex; gap: 3px; }
.achievement-blocks i { display: block; width: 12px; height: 18px; background: #e9e9ec; }
.achievement-blocks .filled { background: #71717a; }
.achievement-value { min-width: 30px; font-weight: 650; color: var(--ink); }
.achievement-value > span { color: #929298; font-size: 12px; font-weight: 400; }
.leaderboard .results { max-width: 1060px; }
.capability-table { min-width: 1020px; table-layout: fixed; }
.capability-table th, .capability-table td { padding: 8px 12px; }
.capability-table thead th { font-size: 11px; font-weight: 600; padding: 10px 12px; background: #f4f4f5; }
.capability-table thead tr:first-child > th:first-child { width: 19%; text-align: left; }
.capability-table thead tr:first-child > th:nth-child(2) { width: 25%; }
.capability-table thead tr:first-child > th:nth-child(3) { width: 36%; }
.capability-table thead tr:first-child > th:last-child { width: 20%; }
.capability-table tbody th { font-size: 13px; }
.column-detail { color: #929298; font-size: 10px; font-weight: 400; }
.goal-pair { display: flex; justify-content: center; gap: 6px; }
.capability-table .achievement-blocks { gap: 2px; }
.capability-table .achievement-blocks i { width: 9px; height: 16px; }
.capability-table .achievement { gap: 8px; }
.capability-row:not(.incomplete-row) .achievement-blocks .filled { background: #3a7862; }
.clear-heat, .tier-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; max-width: 176px; margin: auto; }
.tier-labels { font-size: 9px; margin-top: 5px; color: #929298; }
.heat-cell { display: grid; place-items: center; height: 27px; font-size: 11px; font-weight: 550; }
.heat-cell.high { background: #306c5d; color: white; }
.heat-cell.mid { background: #a6c6bb; color: #173e31; }
.heat-cell.low { background: #e3eee9; color: #53665e; }
.heat-cell.na { background: #f1f1f2; color: #a1a1aa; }
.boss-damage { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 12px; }
.boss-damage > span { min-width: 24px; text-align: right; }
.damage-meter { width: 60px; height: 8px; background: #f3ece5; }
.damage-meter > span { display: block; height: 100%; background: #c18c59; }
.action-mix { display: flex; width: 100%; height: 18px; gap: 1px; }
.action-mix > span { flex-basis: 0; min-width: 0; }
.mix-0 { background: #4e8970; }
.mix-1 { background: #c49c67; }
.mix-2 { background: #b76c66; }
.mix-3 { background: #9285b2; }
.mix-4 { background: #ced2d6; }
.capability-table .cohort-divider > * { border-top: 2px solid #c9cdd0; }
.capability-table .incomplete-row { background: #fafafa; }
.capability-key { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 16px; font-size: 11px; color: var(--muted); align-items: center; }
.capability-key > span, .mix-legend, .mix-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.mix-legend { flex-wrap: wrap; gap: 12px; }
.capability-key i { display: inline-block; width: 8px; height: 8px; flex-shrink: 0; }
.key-square { background: #276451; }
/* Capability teaser: three distinct dimensions, with local model brand marks. */
.capability-wrapper { border-color: #dce3de; background: #fff; }
.capability-table thead tr:first-child > th { border-bottom: 0; padding-top: 18px; padding-bottom: 12px; background: #f8faf8; }
.capability-table thead tr:first-child > th:nth-child(3) { background: #f1f6f3; }
.capability-table thead tr:first-child > th:last-child { background: #f5f3f8; }
.dimension-label { display: flex; align-items: center; justify-content: center; gap: 7px; color: #253e33; font-size: 12px; }
.dimension-label > span { font-family: "Fusion Pixel", monospace; color: #84988c; font-size: 12px; }
.capability-table thead small { display: block; font-size: 10px; font-weight: 400; color: #859089; margin-top: 4px; }
.capability-table thead tr:last-child th { background: #f8faf8; padding-top: 4px; padding-bottom: 14px; }
.capability-table thead tr:last-child th:nth-child(n+3) { background: #f1f6f3; }
.capability-table tbody tr > * { border-color: #edf0ed; }
.capability-table tbody tr:hover { background: #f5f8f5; }
.agent-identity { display: flex; align-items: center; gap: 10px; }
.model-icon { width: 32px; height: 32px; background: #fff; border: 1px solid #e8eae7; display: grid; place-items: center; flex-shrink: 0; }
.model-icon img { width: 24px; height: 24px; object-fit: contain; }
.capability-table tbody th { font-size: 13px; letter-spacing: -.3px; }
.capability-table tbody th, .capability-table tbody td { padding-top: 6px; padding-bottom: 6px; }
.model-icon.icon-kimi { background: #17191e; border-color: #17191e; }
.capability-table .clear-heat { gap: 4px; }
.heat-cell { height: 30px; font-size: 12px; font-weight: 600; }
.capability-table .achievement-blocks i { height: 18px; }
.capability-table .boss-damage { gap: 10px; }
.damage-meter { height: 10px; background: #f4eee6; }
.damage-meter > span { background: #ba8552; }
.action-mix { height: 22px; }
.capability-key { padding: 16px 0 0; margin-top: 0; font-size: 11px; line-height: 1.6; }
.teaser-method { margin-top: 12px; font-size: 12px; color: var(--muted); }
.teaser-method summary { cursor: pointer; width: fit-content; padding: 6px 0; }
.teaser-method summary:hover { color: var(--ink); }
.teaser-method summary:focus-visible { outline: 2px solid #52525b; outline-offset: 4px; }
.teaser-method .results-note { margin-top: 8px; }
footer .brand { font-weight: 400; }
@media(max-width:800px) {
  .home-page main { grid-template-columns: 1fr; padding: 40px 24px 60px; gap: 32px; }
  .home-page header { padding: 20px 24px; }
  .home-page .visual { margin: 0 auto; width: 100%; max-width: 580px; }
  .home-page h1 span { display: block; }
}
@media(max-width:650px) {
  .benchmark-page .abstract { font-size: 15px; }
  .benchmark-page figcaption { font-size: 12px; }
  .paper-title { font-size: 24px; }
  .project-name { font-size: 36px; }
  .home-page h1 { font-size: 36px; }
  .home-page h2 { font-size: 24px; }
  .home-page header .brand { font-size: 12px; }
  .home-page header .brand img { width: 32px; height: 36px; }
  .home-page p { font-size: 16px; }
  .site-header nav a { font-size: 12px; }
  button.guide { width: auto; }
}
@media(prefers-reduced-motion:reduce) {
  .button, .resource-pill, button.guide { transition: none; }
  .button:active, button.guide:active { transform: none; }
}
