:root {
  --paper: #f4f3ee;
  --ink: #202c26;
  --muted: #657069;
  --line: #d9ded6;
  --green: #204f3b;
  --mint: #e1e9df;
  --white: #fffef9;
  --purple: #7861ad;
  --orange: #c37532;
  --radius: 14px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #b16a2a;
  outline-offset: 4px;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 17px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover:not(:disabled),
.button:hover {
  background: var(--mint);
}
button.primary,
.button.primary {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}
button.primary:hover:not(:disabled),
.button.primary:hover {
  background: #123d2b;
}
.site-header,
main,
footer {
  max-width: 1280px;
  margin: auto;
  padding-inline: 56px;
}
.site-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.brand-mark {
  background: var(--green);
  color: var(--paper);
  width: 38px;
  height: 38px;
  border-radius: 9px;
  padding: 5px;
  font:
    26px Georgia,
    serif;
  position: relative;
}
.brand-mark span {
  position: absolute;
  font: 11px Arial;
  right: 3px;
  top: 4px;
}
nav {
  display: flex;
  gap: 30px;
}
nav a {
  font-size: 13px;
  text-decoration: none;
}
nav a:hover,
.text-link:hover {
  text-decoration: underline;
}
.hero {
  padding: 73px 0 51px;
  position: relative;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.9px;
  color: var(--green);
  margin: 0 0 22px;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: #4b8b5b;
  margin-right: 6px;
  vertical-align: middle;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -2.5px;
  margin: 0;
  line-height: 1.06;
}
h1 {
  font-size: clamp(45px, 5.6vw, 76px);
  max-width: 820px;
}
h1 em {
  color: var(--green);
  font-weight: 400;
}
.hero-text {
  font-size: 18px;
  line-height: 1.65;
  max-width: 500px;
  color: var(--muted);
  margin: 25px 0 28px;
}
.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
}
.text-link {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.hero-meta {
  display: flex;
  gap: 24px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 43px;
}
.hero-meta span + span:before {
  content: "·";
  margin-right: 24px;
}
.hero-stamp {
  position: absolute;
  right: 25px;
  top: 120px;
  transform: rotate(8deg);
  width: 165px;
  height: 165px;
  border: 1px solid #b3bdb2;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--green);
}
.hero-stamp span {
  font:
    25px Georgia,
    serif;
}
.hero-stamp small {
  font-size: 8px;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 1.1px;
  margin-top: 14px;
}
.section {
  border-top: 1px solid var(--line);
  padding: 55px 0;
  scroll-margin-top: 25px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}
.section-heading .eyebrow {
  margin-bottom: 13px;
}
h2 {
  font-size: 40px;
  letter-spacing: -1.4px;
}
.section-heading > p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 290px;
}
.simulator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.sim-main {
  padding: 20px 24px 18px;
}
.sim-topline {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.pill {
  background: var(--mint);
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 9px;
  letter-spacing: 0.7px;
  color: var(--green);
  font-weight: 600;
}
.world-wrap {
  max-width: 570px;
  margin: 16px auto 12px;
  aspect-ratio: 1;
}
canvas {
  display: block;
  width: 100%;
  height: auto;
}
.map-legend {
  display: flex;
  justify-content: center;
  gap: 17px;
  font-size: 10px;
  color: var(--muted);
  align-items: center;
}
.map-legend > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.legend-agent {
  display: inline-grid;
  place-items: center;
  color: white;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 9px;
}
.scout {
  background: var(--purple);
}
.runner {
  background: var(--orange);
}
.legend-depot {
  font-size: 19px;
  color: var(--green);
}
.legend-view {
  background: #eff4eb;
  border: 1px dashed #9caf94;
  width: 13px;
  height: 13px;
}
.transport {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.transport button {
  font-size: 12px;
  padding: 11px 12px;
}
.speed {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
}
.speed select {
  font-size: 12px;
  padding: 8px;
  max-width: 90px;
}
.sim-aside {
  background: #f9f9f3;
  border-left: 1px solid var(--line);
  padding: 25px 24px;
}
.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 9px;
}
select,
input {
  border: 1px solid #cdd5c9;
  border-radius: 5px;
  background: var(--white);
  padding: 10px 9px;
  color: var(--ink);
  width: 100%;
  font-size: 12px;
  min-height: 38px;
}
.field p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 9px 0 18px;
  min-height: 34px;
}
.scenario-row {
  display: grid;
  grid-template-columns: 1fr 95px;
  gap: 15px;
  align-items: end;
}
.scenario-row button {
  padding: 11px 8px;
  font-size: 11px;
}
.seed-field {
  margin-top: 17px;
}
.target-box {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 15px;
  margin: 22px 0;
  background: var(--white);
}
.target-box > span {
  font-size: 10px;
  display: block;
  color: var(--muted);
}
.target-box strong {
  display: block;
  font:
    26px Georgia,
    serif;
  margin: 8px 0;
}
.target-box small {
  font-size: 10px;
  color: var(--muted);
}
dl {
  margin: 0;
}
.readouts div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 15px 0;
  font-size: 11px;
}
.readouts dt {
  color: var(--muted);
}
.readouts dd {
  font-weight: 600;
  margin: 0;
  text-align: right;
}
.outcome {
  padding: 12px;
  background: var(--mint);
  font-size: 12px;
  border-radius: 5px;
  line-height: 1.5;
}
.outcome.fail {
  background: #f3e8df;
}
.tape-panel {
  padding: 20px 0 5px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 25px;
}
.tape-panel h3 {
  font-size: 13px;
  margin: 0 0 6px;
}
.tape-panel p {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.tape-scroll {
  overflow-x: auto;
  padding-bottom: 5px;
}
.tape-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  min-width: max-content;
}
.tape-row > span {
  width: 72px;
  font-size: 10px;
  color: var(--muted);
}
.tape-cells {
  display: flex;
  gap: 3px;
}
.tape-cell {
  width: 21px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  border: 1px solid var(--line);
  font: 10px monospace;
  color: var(--green);
  background: var(--white);
}
.tape-cell.empty {
  background: transparent;
  color: #8b948a;
}
.caption {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 930px;
  margin: 14px 0 0;
}
.explain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin-top: 37px;
}
.step-number {
  font:
    italic 25px Georgia,
    serif;
  color: #8d9b88;
}
.explain-grid h3,
.benchmark-notes h3 {
  font-size: 16px;
  margin: 17px 0 12px;
}
.explain-grid p,
.benchmark-notes p,
.note,
.ablation p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.note {
  background: var(--mint);
  padding: 20px 24px;
  margin-top: 30px;
  border-radius: 7px;
}
.note b {
  color: var(--green);
}
.result-tabs {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.result-tabs button {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 13px 18px;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.result-tabs button[aria-selected="true"] {
  color: var(--green);
  border-bottom-color: var(--green);
  background: #e6ece2;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.metric {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.metric.highlight {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.metric-label {
  font-size: 11px;
  line-height: 1.5;
}
.metric-value {
  font:
    45px Georgia,
    serif;
  letter-spacing: -1.5px;
  margin: 16px 0 9px;
}
.metric-ci {
  font-size: 10px;
  color: var(--muted);
}
.metric.highlight .metric-ci {
  color: #cdddcf;
}
.result-story {
  font-size: 14px;
  line-height: 1.8;
  margin: 23px 0;
  color: var(--muted);
  max-width: 930px;
}
.result-story strong {
  color: var(--ink);
}
.bar-table {
  margin: 24px 0;
  border-top: 1px solid var(--line);
}
.bar-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 52px;
  gap: 20px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.bar-track {
  height: 8px;
  background: #e4e8df;
  border-radius: 4px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--green);
}
.bar-row:last-child .bar-fill {
  background: #82967d;
}
.bar-row > strong {
  text-align: right;
  font-size: 12px;
}
.result-foot {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.benchmark-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 10px;
}
.benchmark-notes h3 {
  font-size: 13px;
}
.benchmark-notes p {
  font-size: 11px;
}
.ablation {
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.ablation summary {
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
}
.ablation summary span {
  float: right;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.ablation[open] summary {
  margin-bottom: 18px;
}
.ablation .result-story {
  font-size: 13px;
  margin: 12px 0;
}
.replay-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
}
.replay-section h2 {
  margin-bottom: 20px;
}
.replay-section p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 460px;
}
.replay-links a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.replay-links a:first-child {
  padding-top: 0;
}
.replay-links > a > span {
  font-size: 12px;
  color: var(--muted);
}
.replay-links > a > span:last-child {
  margin-left: auto;
  font-size: 23px;
  color: var(--green);
}
.replay-links b {
  font-size: 15px;
  display: block;
}
.replay-links small {
  display: block;
  font-size: 11px;
  margin-top: 8px;
  color: var(--muted);
}
.replay-links a:hover b {
  text-decoration: underline;
}
.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.local-grid article {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.local-grid h3 {
  font-size: 16px;
  margin: 0 0 13px;
}
.local-grid p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
pre {
  background: #edf0e8;
  padding: 17px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 18px 0;
}
pre code {
  font:
    11px/1.9 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
.download-links {
  display: flex;
  gap: 10px;
  margin-top: 25px;
  flex-wrap: wrap;
}
.download-links .button {
  font-size: 12px;
  padding: 13px 15px;
}
footer {
  border-top: 1px solid var(--line);
  padding-block: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
footer p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
footer > a:last-child {
  font-size: 11px;
  color: var(--muted);
}
.notice {
  padding: 20px;
  background: var(--mint);
  line-height: 1.6;
  font-size: 13px;
}
@media (min-width: 1400px) {
  .site-header,
  main,
  footer {
    max-width: 1350px;
  }
  .hero {
    padding-block: 90px 60px;
  }
  .simulator {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}
@media (max-width: 950px) {
  .site-header,
  main,
  footer {
    padding-inline: 28px;
  }
  .hero-stamp {
    right: 5px;
    top: 130px;
    width: 125px;
    height: 125px;
  }
  .hero h1 {
    font-size: 58px;
    max-width: 650px;
  }
  .simulator {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .sim-main {
    padding: 17px;
  }
  .sim-aside {
    padding: 23px 17px;
  }
  .sim-topline {
    flex-direction: column;
    align-items: start;
    gap: 8px;
  }
  .transport {
    flex-wrap: wrap;
  }
  .speed {
    margin-left: 0;
  }
  .tape-panel {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .hero-meta {
    gap: 13px;
  }
  .hero-meta span + span:before {
    margin-right: 13px;
  }
  .replay-section {
    gap: 30px;
  }
  .metric {
    padding: 19px;
  }
  .metric-value {
    font-size: 37px;
  }
}
@media (max-width: 690px) {
  .site-header,
  main,
  footer {
    padding-inline: 20px;
  }
  .site-header {
    height: 78px;
  }
  .brand {
    font-size: 14px;
  }
  nav {
    gap: 15px;
  }
  nav a {
    font-size: 11px;
  }
  nav a:nth-child(3) {
    display: none;
  }
  .hero {
    padding: 48px 0 35px;
  }
  .hero h1 {
    font-size: 43px;
    letter-spacing: -1.8px;
  }
  .hero-stamp {
    display: none;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .hero-text {
    font-size: 15px;
    margin: 22px 0;
  }
  .hero-actions {
    gap: 16px;
    align-items: center;
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 13px;
  }
  .hero-actions .text-link {
    font-size: 11px;
    max-width: 125px;
    line-height: 1.6;
  }
  .hero-meta {
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 27px;
    font-size: 8px;
  }
  .hero-meta span + span:before {
    margin-right: 9px;
  }
  .section {
    padding: 35px 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 22px;
  }
  .section-heading > p {
    margin-top: 16px;
    font-size: 12px;
  }
  h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .section-heading > .text-link {
    display: inline-block;
    margin-top: 20px;
  }
  .simulator {
    display: block;
  }
  .sim-main {
    padding: 15px 12px;
  }
  .sim-topline {
    flex-direction: row;
    align-items: center;
    font-size: 8px;
  }
  .pill {
    font-size: 7px;
    padding: 5px;
  }
  .world-wrap {
    margin-top: 12px;
  }
  .map-legend {
    gap: 12px;
    font-size: 8px;
  }
  .transport {
    gap: 6px;
    justify-content: space-between;
  }
  .transport button {
    font-size: 10px;
    padding: 10px;
  }
  .speed {
    font-size: 9px;
    gap: 4px;
  }
  .speed select {
    font-size: 10px;
    padding: 5px;
    max-width: 70px;
    min-height: 32px;
  }
  .sim-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }
  .sim-aside > .field:first-child {
    grid-column: 1/-1;
  }
  .field p {
    min-height: 0;
    margin-bottom: 15px;
  }
  .scenario-row {
    gap: 8px;
    grid-template-columns: 1fr 70px;
  }
  .seed-field {
    margin: 0;
  }
  .target-box {
    grid-column: 1/-1;
    margin: 18px 0 8px;
  }
  .target-box strong {
    font-size: 24px;
  }
  .readouts {
    grid-column: 1/-1;
  }
  .readouts div {
    margin: 11px 0;
  }
  .outcome {
    grid-column: 1/-1;
    margin-top: 7px;
  }
  .explain-grid,
  .benchmark-notes,
  .local-grid,
  .replay-section {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .explain-grid {
    margin-top: 25px;
  }
  .explain-grid h3 {
    margin-top: 10px;
  }
  .note {
    padding: 18px;
    font-size: 12px;
  }
  .metric-grid {
    gap: 8px;
  }
  .metric {
    padding: 13px 10px;
    border-radius: 6px;
  }
  .metric-label {
    font-size: 9px;
    min-height: 27px;
  }
  .metric-value {
    font-size: 29px;
    letter-spacing: -1px;
    margin: 13px 0 9px;
  }
  .metric-ci {
    font-size: 8px;
    line-height: 1.7;
  }
  .result-tabs {
    gap: 0;
  }
  .result-tabs button {
    font-size: 10px;
    padding: 10px 9px;
    flex: 1;
    line-height: 1.7;
  }
  .result-story {
    font-size: 12px;
  }
  .bar-row {
    grid-template-columns: 122px minmax(0, 1fr) 45px;
    gap: 12px;
    font-size: 10px;
  }
  .bar-row > strong {
    font-size: 11px;
  }
  .benchmark-notes {
    gap: 4px;
  }
  .ablation {
    padding: 17px;
  }
  .ablation summary {
    font-size: 12px;
    line-height: 1.8;
  }
  .ablation summary span {
    float: none;
    display: block;
    font-size: 10px;
    margin-top: 6px;
  }
  .local-grid article {
    padding: 20px;
  }
  pre {
    padding: 13px;
  }
  pre code {
    font-size: 9px;
  }
  .download-links {
    gap: 8px;
  }
  .download-links .button {
    font-size: 10px;
    flex: 1 1 44%;
    padding: 12px 8px;
  }
  footer {
    flex-wrap: wrap;
    gap: 10px;
  }
  footer p {
    font-size: 10px;
  }
  footer > a:last-child {
    font-size: 10px;
  }
  .caption {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Live experiment selection and the persistent evidence view. */
[hidden] {
  display: none !important;
}
.simulation-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 15px;
  width: max-content;
  max-width: 100%;
  padding: 5px;
  background: #e7ebe1;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.simulation-tabs button {
  border: 0;
  background: transparent;
  font-size: 12px;
  gap: 10px;
  padding: 12px 18px;
  color: var(--muted);
}
.simulation-tabs button span {
  font-weight: 400;
  font-size: 11px;
}
.simulation-tabs button[aria-selected="true"] {
  background: var(--white);
  color: var(--green);
  box-shadow: 0 1px 5px #273d2420;
}
.scene-live {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #fafaf4;
}
.scene-live > canvas {
  width: 100%;
  height: 100%;
  touch-action: none;
  outline-offset: -4px;
}
.world-wrap {
  position: relative;
}
.camera-controls {
  display: flex;
  gap: 5px;
  position: absolute;
  right: 10px;
  bottom: 10px;
}
.camera-controls button {
  padding: 8px;
  background: #fffef9e8;
  border-color: #c4cdbd;
}
.camera-controls .icon {
  width: 15px;
  height: 15px;
  margin: 0;
}
.scene-bubble {
  position: absolute;
  transform: translate(-50%, -100%);
  pointer-events: none;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  background: #fffef9ed;
  box-shadow: 0 1px 5px #243d2320;
  border: 1px solid #cfd6c6;
  border-radius: 5px;
  padding: 5px 7px;
}
.scout-bubble {
  border-color: #b4a2cd;
}
.runner-bubble {
  border-color: #d1b38d;
}
.view-help {
  text-align: center;
  font-size: 9px;
  color: var(--muted);
  margin: -4px 0 12px;
}
.sim-aside .split-field p {
  min-height: 0;
  margin-bottom: 16px;
}
.sim-aside:has(.split-field:not([hidden])) {
  padding-top: 20px;
}
.sim-aside:has(.split-field:not([hidden])) .target-box {
  margin: 16px 0;
}
.sim-aside:has(.split-field:not([hidden])) .readouts div {
  margin: 12px 0;
}
.two-words .tape-cell {
  width: 40px;
  font-size: 9px;
}
.transport button {
  gap: 6px;
}
.transport button .icon {
  margin: 0;
  width: 14px;
  height: 14px;
}
.scenario-row button {
  gap: 4px;
}
.scenario-row .icon {
  width: 13px;
  height: 13px;
  margin: 0;
}
.brand-mark .icon {
  width: 10px;
  height: 10px;
  margin: 0;
}
.hero-stamp > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-stamp .icon {
  width: 17px;
  height: 17px;
}
.legend-depot .icon {
  width: 17px;
  height: 17px;
  margin: 0;
}
.replay-links > a > .icon {
  margin-left: auto;
  width: 20px;
  height: 20px;
  color: var(--green);
}
.result-tabs {
  position: relative;
  isolation: isolate;
  gap: 0;
}
.result-tabs button {
  position: relative;
  z-index: 1;
  flex: 1;
  border-bottom: 0 !important;
  background: transparent !important;
  transition: color 0.3s;
}
.tab-indicator {
  position: absolute;
  inset: 0 auto 0 0;
  width: 33.333333%;
  background: #e6ece2;
  border-bottom: 2px solid var(--green);
  transform: translateX(calc(var(--tab-index, 0) * 100%));
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}
.metric-value,
.bar-number {
  font-variant-numeric: tabular-nums;
}
.metric-label {
  min-height: 33px;
}
.metric-ci {
  min-height: 24px;
  line-height: 1.6;
}
.bar-slot {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition:
    grid-template-rows 500ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 350ms ease;
}
.bar-clip {
  min-height: 0;
  overflow: hidden;
}
.bar-slot.is-inactive {
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
}
.bar-fill {
  width: 0;
  transition: width 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: width;
}
.bar-slot[data-key^="oracle"] .bar-fill {
  background: #82967d;
}
.bar-slot[data-key$="unseen"] .bar-fill {
  background: #69816b;
}
.bar-table .bar-row:last-child .bar-fill {
  background: var(--green);
}
.bar-slot[data-key^="oracle"] .bar-row:last-child .bar-fill {
  background: #82967d;
}
.bar-slot[data-key$="unseen"] .bar-row:last-child .bar-fill {
  background: #69816b;
}
@media (max-width: 690px) {
  .simulation-tabs {
    width: 100%;
  }
  .simulation-tabs button {
    flex: 1;
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 5px;
    padding: 10px 12px;
    font-size: 12px;
  }
  .simulation-tabs button span {
    font-size: 9px;
  }
  .scene-bubble {
    font-size: 8px;
    padding: 4px;
  }
  .camera-controls {
    right: 5px;
    bottom: 5px;
    gap: 4px;
  }
  .camera-controls button {
    padding: 6px;
  }
  .camera-controls .icon {
    width: 12px;
    height: 12px;
  }
  .split-field {
    grid-column: 1/-1;
  }
  .metric-label {
    min-height: 42px;
  }
  .metric-ci {
    min-height: 29px;
  }
  .transport button {
    font-size: 10px;
    padding: 9px;
  }
  .transport button .icon {
    width: 12px;
    height: 12px;
  }
  .hero-stamp {
    display: none;
  }
}
.world-wrap:has(.scene-live:not([hidden])) {
  aspect-ratio: 4/3;
  max-width: 690px;
}
.metric-value {
  white-space: nowrap;
}
@media (max-width: 690px) {
  .metric-value {
    font-size: 24px;
  }
  .metric-ci {
    min-height: 39px;
  }
}
@media (max-width: 360px) {
  .metric-value {
    font-size: 22px;
  }
}
