:root {
  color-scheme: light;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #f3f2e9;
  color: #252720;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  background: #f3f2e9;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 720;
  letter-spacing: 0;
}

h2 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 680;
  letter-spacing: 0;
}

.muted {
  color: #74766b;
}

.pill,
.untrusted {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #d3d4c8;
  border-radius: 999px;
  background: #eeeee4;
  color: #52554a;
  font-size: 13px;
  white-space: nowrap;
}

.untrusted {
  border-color: #8a6a28;
  color: #876626;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: stretch;
  margin: 10px 0 28px;
  padding: 18px;
  border: 1px solid #d3d4c8;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(122, 162, 247, 0.12), transparent 42%), #f8f8f1;
}

.intro-copy {
  display: grid;
  gap: 12px;
  align-content: center;
}

.intro-copy h2 {
  max-width: 680px;
  font-size: 34px;
  line-height: 1.08;
}

.intro-copy p {
  max-width: 760px;
  color: #52554a;
  line-height: 1.55;
}

.eyebrow {
  color: #b14226;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benchmark-grid {
  display: grid;
  gap: 10px;
}

.benchmark-grid article {
  display: grid;
  gap: 6px;
  padding: 13px 14px;
  border: 1px solid #d3d4c8;
  border-radius: 8px;
  background: #eeeee4;
}

.benchmark-grid article:nth-child(1) {
  border-left: 3px solid #506442;
}

.benchmark-grid article:nth-child(2) {
  border-left: 3px solid #876626;
}

.benchmark-grid article:nth-child(3) {
  border-left: 3px solid #65735b;
}

.benchmark-grid h3 {
  color: #252720;
  font-size: 15px;
  line-height: 1.25;
}

.benchmark-grid p {
  color: #74766b;
  font-size: 14px;
  line-height: 1.45;
}

.section {
  margin-top: 24px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid #d3d4c8;
  border-radius: 8px;
  background: #eeeee4;
}

.segmented button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #74766b;
  cursor: pointer;
}

.segmented button:hover,
.segmented button.active {
  background: #e4e6d8;
  color: #252720;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #d3d4c8;
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: #f8f8f1;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid #d9dacd;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

th {
  color: #74766b;
  font-size: 12px;
  font-weight: 640;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.model {
  color: #252720;
  font-weight: 650;
}

.throw-dist {
  display: grid;
  grid-template-columns: repeat(3, minmax(54px, 1fr));
  gap: 4px;
  min-width: 190px;
}

.throw-dist > span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 26px;
  padding: 0 7px;
  overflow: hidden;
  border: 1px solid #d3d4c8;
  border-radius: 5px;
  color: #42463b;
}

.throw-dist > span::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--c);
  content: "";
  opacity: 0.22;
}

.throw-dist span span,
.throw-dist b {
  position: relative;
}

.match-list {
  display: grid;
  gap: 8px;
}

.match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border: 1px solid #d3d4c8;
  border-radius: 8px;
  background: #f8f8f1;
}

.match-row:hover {
  border-color: #828777;
  background: #e9eadd;
}

.score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 6px;
  border: 1px solid #d3d4c8;
  border-radius: 6px;
  background: #e3e5d8;
  font-weight: 700;
}

.versus {
  color: #74766b;
  font-size: 13px;
}

.status,
.empty {
  padding: 16px;
  border: 1px solid #d3d4c8;
  border-radius: 8px;
  background: #f8f8f1;
  color: #52554a;
}

.status.error {
  border-color: #6f3340;
  color: #f7768e;
}

.back-link {
  display: inline-flex;
  margin-bottom: 8px;
  color: #e9532c;
}

.primary-link,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #252720;
  border-radius: 7px;
  background: #252720;
  color: #fffef3;
  font-weight: 680;
  cursor: pointer;
}

.primary-link:hover,
.primary-button:hover {
  border-color: #e9532c;
  background: #414738;
}

.ghost-button {
  border-color: #d3d4c8;
  background: #eeeee4;
  color: #52554a;
}

.primary-button:disabled,
.ghost-button:disabled,
.throw-button:disabled,
.chat-compose button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.summary-band {
  padding: 18px 0 8px;
}

.play-shell {
  width: min(1240px, calc(100vw - 32px));
}

.play-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 18px;
  align-items: start;
}

.play-panel,
.side-section,
.human-setup,
.arena {
  border: 1px solid #d3d4c8;
  border-radius: 8px;
  background: #f8f8f1;
}

.play-panel {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.human-setup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
}

.human-setup label {
  display: grid;
  gap: 6px;
  color: #74766b;
  font-size: 13px;
}

.human-setup input,
.human-setup select,
.throw-comment-field input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d3d4c8;
  border-radius: 7px;
  background: #eeeee4;
  color: #252720;
  padding: 0 10px;
}

.arena {
  padding: 18px;
}

.scoreboard {
  display: grid;
  grid-template-columns: 1fr minmax(150px, 220px) 1fr;
  gap: 12px;
  align-items: stretch;
}

.scoreboard > div {
  display: grid;
  gap: 6px;
  align-content: center;
  min-height: 96px;
  padding: 12px;
  border: 1px solid #d9dacd;
  border-radius: 8px;
  background: #eeeee4;
}

.scoreboard strong {
  font-size: 38px;
  line-height: 1;
}

.scoreboard > div:last-child {
  text-align: right;
}

.round-state {
  text-align: center;
}

.round-state span {
  color: #252720;
  font-size: 18px;
  font-weight: 700;
}

.round-state b {
  color: #74766b;
  font-size: 13px;
  font-weight: 640;
  text-transform: uppercase;
}

.phase-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.phase,
.inline-error {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 680;
}

.phase.ready {
  background: #e3e5d8;
  color: #52554a;
}

.phase.waiting {
  background: #2e2818;
  color: #876626;
}

.phase.live {
  background: #252720;
  color: #506442;
}

.phase.done {
  background: #e4e6d8;
  color: #e9532c;
}

.inline-error {
  background: #351b24;
  color: #f7768e;
}

.throw-pad {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.strategy-summary-field {
  display: grid;
  gap: 6px;
  color: #74766b;
  font-size: 13px;
}

.throw-comment-field {
  display: grid;
  gap: 6px;
  color: #74766b;
  font-size: 13px;
}

.throw-comment-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d3d4c8;
  border-radius: 7px;
  background: #eeeee4;
  color: #252720;
  padding: 0 12px;
}

.strategy-summary-field textarea {
  width: 100%;
  min-height: 82px;
  resize: vertical;
  border: 1px solid #d3d4c8;
  border-radius: 7px;
  background: #eeeee4;
  color: #252720;
  padding: 10px;
}

.throw-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.throw-hint {
  margin: 0;
  font-size: 13px;
  color: #876626;
}

.throw-button {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 138px;
  padding: 16px;
  border: 1px solid #d3d4c8;
  border-radius: 8px;
  background: #eeeee4;
  color: #252720;
  cursor: pointer;
}

.throw-button:hover:not(:disabled),
.throw-button.active {
  border-color: #e9532c;
  background: #e6e9dc;
}

.throw-button span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e4e6d8;
  color: #b14226;
  font-size: 28px;
  font-weight: 800;
}

.throw-button b {
  font-size: 18px;
}

.play-side {
  display: grid;
  gap: 14px;
}

.side-section {
  padding: 12px;
}

.live-chat {
  display: grid;
  gap: 8px;
  max-height: 300px;
  overflow: auto;
}

.live-chat article {
  padding: 9px 10px;
  border: 1px solid #d9dacd;
  border-radius: 7px;
  background: #eeeee4;
}

.live-chat strong {
  color: #252720;
  font-size: 13px;
}

.live-chat p {
  margin-top: 4px;
  color: #52554a;
  overflow-wrap: anywhere;
}

.compact {
  padding: 10px;
}

.event-log {
  display: grid;
  gap: 8px;
  max-height: 340px;
  margin: 0;
  padding-left: 20px;
  color: #52554a;
}

.event-log li {
  padding-left: 2px;
}

@media (max-width: 840px) {
  .topbar,
  .match-row,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .play-layout,
  .human-setup,
  .scoreboard,
  .intro-band,
  .throw-buttons {
    grid-template-columns: 1fr;
  }

  .thinking-pair {
    grid-template-columns: 1fr;
  }

  .throw-emoji {
    font-size: 34px;
  }

  .scoreboard > div:last-child {
    text-align: left;
  }

  .throw-button {
    grid-template-columns: 56px 1fr;
    justify-items: start;
    align-items: center;
    min-height: 84px;
  }
}

.summary-band h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 6px 0;
  font-size: 26px;
}

.big-score {
  color: #b14226;
}

/* Match transcript: one block per attempt — the two throws as large flanking
   emoji, a side-by-side pair of 💭 thinking cards (both strategize at once),
   and the round's chat conversation below. */
.match-transcript {
  display: grid;
  gap: 8px;
}

.round-block {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.round-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 2px;
  color: #74766b;
  font-size: 13px;
  white-space: nowrap;
}

.round-divider::before,
.round-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d9dacd;
}

.round-face {
  display: flex;
  align-items: center;
  gap: 14px;
}

.throw-emoji {
  flex: 0 0 auto;
  font-size: 52px;
  line-height: 1;
  filter: grayscale(0.4);
  opacity: 0.65;
}

.throw-emoji.win {
  filter: none;
  opacity: 1;
  transform: scale(1.12);
  text-shadow: 0 0 14px rgba(158, 206, 106, 0.6);
}

.throw-emoji.tie {
  filter: none;
  opacity: 0.9;
}

.round-center {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 8px;
}

.thinking-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.thought-card {
  min-width: 0;
  padding: 9px 12px;
  border: 1px dashed #a8ad9a;
  border-radius: 12px;
  background: rgba(122, 162, 247, 0.06);
  color: #52554a;
  font-style: italic;
}

.thought-card.winner {
  border-style: solid;
  border-color: #506442;
  background: rgba(158, 206, 106, 0.08);
}

.thought-card.tie {
  border-color: #876626;
}

.thought-card > header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-style: normal;
}

.thought-card .thought-emoji {
  font-size: 15px;
  line-height: 1;
}

.thought-card .who {
  font-weight: 700;
  color: #252720;
  overflow-wrap: anywhere;
}

.thought-card p {
  margin: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

/* The conversation (chat) for the round, below the thinking. */
.round-convo {
  padding-top: 6px;
  border-top: 1px solid #d3d4c8;
}

.convo {
  display: grid;
  gap: 6px;
}

.convo-row {
  display: flex;
}

.convo-row.right {
  justify-content: flex-end;
}

.convo-bubble {
  max-width: 80%;
  min-width: 0;
  padding: 6px 11px;
  border: 1px solid #d3d4c8;
  border-radius: 12px;
  background: #edeee4;
}

.convo-row.right .convo-bubble {
  background: #e6e9dc;
}

.convo-bubble > header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.convo-bubble .who {
  font-weight: 700;
  color: #252720;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.convo-bubble p {
  margin: 0;
  color: #42463b;
  line-height: 1.4;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

@media (max-width: 760px) {
  .shell {
    width: min(100vw - 20px, 1180px);
    padding-top: 18px;
  }

  .topbar,
  .section-heading,
  .match-row {
    align-items: stretch;
    flex-direction: column;
  }

  .match-row {
    gap: 8px;
  }

  table {
    min-width: 760px;
  }
}

.match-result {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 20px;
  border: 1px solid #d3d4c8;
  border-radius: 10px;
  background: #eeeee4;
}

.match-result h2 {
  margin: 0;
  font-size: 24px;
}

.match-result.win {
  border-color: #506442;
}

.match-result.loss {
  border-color: #f7768e;
}

.match-result.draw {
  border-color: #876626;
}

.match-result .final-score {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
}

.match-result .reveal {
  margin: 0;
  font-size: 15px;
  color: #252720;
}

.match-result .reveal::before {
  content: "\1F575  ";
}

.agent-footer {
  margin-top: 48px;
  padding: 28px 0 40px;
  border-top: 1px solid #d3d4c8;
}

.agent-footer h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.agent-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.agent-footer-grid article {
  background: #eeeee4;
  border: 1px solid #d3d4c8;
  border-radius: 8px;
  padding: 16px 18px;
}

.agent-footer-grid h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.agent-footer-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #74766b;
}

.agent-footer-note {
  margin: 18px 0 0;
  font-size: 13px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #526a42;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #526a42;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.5);
  }
  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 5px rgba(63, 185, 80, 0);
  }
}

@keyframes flashUpA {
  0% {
    background: rgba(63, 185, 80, 0.4);
    color: #526a42;
  }
  100% {
    background: transparent;
  }
}

@keyframes flashUpB {
  0% {
    background: rgba(63, 185, 80, 0.4);
    color: #526a42;
  }
  100% {
    background: transparent;
  }
}

@keyframes flashDownA {
  0% {
    background: rgba(248, 81, 73, 0.4);
    color: #f85149;
  }
  100% {
    background: transparent;
  }
}

@keyframes flashDownB {
  0% {
    background: rgba(248, 81, 73, 0.4);
    color: #f85149;
  }
  100% {
    background: transparent;
  }
}

td.flash-up-a {
  animation: flashUpA 2.5s ease-out;
}
td.flash-up-b {
  animation: flashUpB 2.5s ease-out;
}
td.flash-down-a {
  animation: flashDownA 2.5s ease-out;
}
td.flash-down-b {
  animation: flashDownB 2.5s ease-out;
}

@keyframes matchNewA {
  0% {
    background: rgba(63, 185, 80, 0.25);
    border-color: #526a42;
  }
  100% {
    background: transparent;
  }
}

@keyframes matchNewB {
  0% {
    background: rgba(63, 185, 80, 0.25);
    border-color: #526a42;
  }
  100% {
    background: transparent;
  }
}

.match-row.match-new-a {
  animation: matchNewA 3s ease-out;
}
.match-row.match-new-b {
  animation: matchNewB 3s ease-out;
}
/* Tournament identity: warm paper, ink, signal orange. */
:root {
  font-family: "Helvetica Neue", Arial, sans-serif;
  --paper: #f3f2e9;
  --ink: #252720;
  --line: #d3d4c8;
  --orange: #e9532c;
  --mono: "SFMono-Regular", Consolas, monospace;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
a,
button {
  transition:
    background 0.16s,
    color 0.16s;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}
.preview-banner {
  padding: 8px 24px;
  background: var(--ink);
  color: #f6f4e9;
  display: flex;
  justify-content: center;
  gap: 20px;
  font: 10px var(--mono);
  letter-spacing: 1px;
}
.preview-banner span {
  color: #d1d4c4;
  letter-spacing: 0;
}
.shell,
.play-shell {
  width: min(1440px, calc(100% - 96px));
  padding: 0 0 24px;
}
.topbar {
  height: 99px;
  border-bottom: 1px solid var(--ink);
  align-items: center;
  margin: 0;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand > span:last-child {
  font-weight: 400;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  background: var(--orange);
  color: var(--paper);
  width: 31px;
  height: 31px;
  font-size: 28px;
  margin-right: 5px;
}
nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 38px;
  font-size: 13px;
}
nav a {
  color: #74766b;
  padding: 10px 0;
}
nav a:hover,
.nav-active {
  color: var(--ink);
}
.nav-active {
  box-shadow: 0 1px var(--ink);
}
.primary-link,
.primary-button,
.ghost-button {
  border-radius: 0;
  min-height: 43px;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 600;
  gap: 28px;
}
.primary-link,
.primary-button {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.primary-link:hover,
.primary-button:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 70px;
  padding: 58px 0 49px;
  align-items: center;
}
.eyebrow {
  font: 10px var(--mono);
  letter-spacing: 1.4px;
  color: #666b5c;
}
.hero .eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 23px;
}
.tiny-square {
  width: 6px;
  height: 6px;
  background: var(--orange);
  display: inline-block;
}
h1 {
  font-size: clamp(52px, 5.8vw, 84px);
  letter-spacing: -5px;
  font-weight: 750;
  line-height: 0.99;
}
.hero-description {
  font-size: 15px;
  line-height: 1.65;
  max-width: 420px;
  color: #6a6e61;
  margin-top: 25px;
}
.text-link {
  font-size: 12px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  margin-top: 25px;
}
.text-link:hover {
  color: var(--orange);
  border-color: var(--orange);
}
.hero-art {
  background: #e8e9dc;
  border: 1px solid #d8dacb;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 25px 16px;
}
.art-top,
.art-bottom {
  display: flex;
  justify-content: space-between;
  font: 9px var(--mono);
  letter-spacing: 1px;
  color: #717664;
}
.art-bottom {
  padding-top: 14px;
  border-top: 1px solid #cdd0bd;
  font-size: 8px;
}
.art-bottom > span:last-child {
  font: 22px Arial;
  color: var(--ink);
  line-height: 0.6;
}
.hero-art svg {
  width: 100%;
  max-height: 280px;
  overflow: visible;
}
.hero-art text {
  font: 8px var(--mono);
  letter-spacing: 0.3px;
  fill: #555d49;
}
.stats-strip {
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 0.85fr 1.7fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 24px 0;
}
.stats-strip > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 30px;
  border-left: 1px solid var(--line);
}
.stats-strip > div:first-child {
  border: 0;
  padding-left: 0;
}
.stats-strip strong {
  font-size: 32px;
  letter-spacing: -1.3px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.stats-strip > div > span {
  font: 9px var(--mono);
  letter-spacing: 0.8px;
  color: #757b69;
}
.stats-strip .fair-play {
  flex-direction: row;
  align-items: center;
  gap: 15px;
}
.fair-play p {
  display: grid;
  gap: 7px;
}
.fair-play b {
  font-size: 12px;
  font-weight: 550;
}
.fair-play p span {
  font-size: 11px;
  color: #7b8072;
  line-height: 1.5;
  max-width: 240px;
}
.stats-strip .seal {
  border: 1px solid #828e72;
  border-radius: 50%;
  height: 34px;
  width: 34px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #566947;
  flex-shrink: 0;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 36px;
  margin: 42px 0 50px;
}
.section {
  margin-top: 0;
  scroll-margin-top: 24px;
}
.section-heading {
  align-items: center;
  margin-bottom: 24px;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
  font-size: 9px;
}
h2 {
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.9px;
}
.small {
  font-size: 11px;
}
.live-badge {
  font: 8px var(--mono);
  letter-spacing: 0.4px;
  color: #637452;
  margin-left: 13px;
  gap: 5px;
}
.live-dot {
  height: 5px;
  width: 5px;
  background: #637452;
  animation: none;
}
.table-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.segmented {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  gap: 2px;
  flex-wrap: nowrap;
}
.segmented button {
  font-size: 10px;
  min-height: 29px;
  padding: 0 10px;
  border-radius: 0;
  white-space: nowrap;
}
.segmented button.active {
  background: var(--ink);
  color: var(--paper);
}
.segmented button:hover:not(.active) {
  background: #e3e5d8;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  max-width: 160px;
}
.search-field > span {
  font-size: 22px;
  line-height: 16px;
}
.search-field input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
}
.search-field:focus-within {
  border-color: var(--orange);
}
.table-wrap {
  border: 0;
  border-radius: 0;
}
table {
  background: transparent;
  min-width: 670px;
  font-variant-numeric: tabular-nums;
}
th {
  font: 9px var(--mono);
  letter-spacing: 0.35px;
  color: #7a7e70;
  padding: 12px 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
td {
  height: 65px;
  padding: 10px 8px;
  font: 11px var(--mono);
  border-bottom: 1px solid var(--line);
}
tbody tr:last-child td {
  border-bottom: 1px solid var(--line);
}
tbody tr:hover {
  background: #eaece0;
}
th:first-child,
td:first-child {
  padding-left: 0;
}
.rank {
  font-size: 10px;
  color: #7b806f;
  width: 30px;
}
tbody tr:first-child .rank {
  color: var(--orange);
}
td.model {
  font:
    12px "Helvetica Neue",
    Arial,
    sans-serif;
  font-weight: 550;
}
.model-icon {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-right: 10px;
  border: 1px solid #bfc4b0;
  background: #e7eadd;
  font:
    13px Georgia,
    serif;
}
.provider-c {
  background: #e9dccd;
  color: #865a36;
  border-color: #d8c5ac;
}
.provider-g {
  background: #e1e6ef;
  color: #465e7c;
  border-color: #c6cedc;
}
.provider-d {
  background: #dce4e6;
  color: #496572;
  border-color: #b7cbd1;
}
.provider-h {
  background: #f0dfc6;
  color: #927040;
  border-color: #ddc6a6;
}
td.elo {
  font-size: 14px;
  font-weight: 650;
}
.record {
  font-size: 10px;
  color: #777c6c;
}
.win-rate {
  display: grid;
  gap: 7px;
  min-width: 59px;
}
.win-rate i {
  display: block;
  height: 3px;
  background: linear-gradient(
    to right,
    #748262 var(--rate),
    #dedfd2 var(--rate)
  );
  width: 58px;
}
.throw-dist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 76px;
  max-width: 98px;
}
.distribution-bar {
  display: flex;
  height: 5px;
  gap: 2px;
}
.distribution-bar i {
  min-width: 0;
}
.throw-0 {
  background: #565e4a;
}
.throw-1 {
  background: #b8bea5;
}
.throw-2 {
  background: #e57850;
}
.distribution-labels {
  display: flex;
  justify-content: space-between;
  font: 9px var(--mono);
  color: #787e6c;
}
.table-note {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  color: #858a7a;
  padding-top: 15px;
  line-height: 1.5;
}
.recent {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.recent .section-heading {
  margin-bottom: 16px;
}
.recent h2 {
  font-size: 23px;
}
.corner-arrow {
  font-size: 27px;
  align-self: flex-end;
  color: #888f7a;
}
.section-description {
  font-size: 11px;
  color: #858a7a;
  margin-bottom: 20px;
}
.match-list {
  display: grid;
  gap: 0;
}
.match-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 15px 0 13px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  gap: 8px;
}
.match-row:hover {
  background: #eaece0;
  border-color: #b7beaa;
}
.match-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font: 8px var(--mono);
  color: #858a7a;
  margin-bottom: 4px;
}
.match-meta > span:last-child {
  text-align: right;
}
.contestant {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: #828775;
}
.contestant b {
  font: 13px var(--mono);
}
.contestant.winner {
  color: var(--ink);
  font-weight: 600;
}
.contestant.winner b {
  color: var(--orange);
}
.transcript-link {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #898e7e;
  margin-top: 3px;
}
.match-row:hover .transcript-link {
  color: var(--orange);
}
.match-footnote {
  font-size: 9px;
  line-height: 1.5;
  color: #888e7c;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.protocol {
  border-top: 1px solid var(--ink);
  padding: 35px 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.protocol .eyebrow {
  font-size: 8px;
  margin-bottom: 17px;
}
.protocol h2 {
  font-size: 25px;
  line-height: 1.05;
}
.protocol br {
  display: none;
}
.protocol .text-link {
  font-size: 10px;
  gap: 30px;
}
.protocol article > span {
  font: 10px var(--mono);
  color: var(--orange);
  display: block;
  margin-bottom: 25px;
}
.protocol h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.protocol article p {
  font-size: 12px;
  line-height: 1.7;
  color: #777e6b;
}
.site-footer {
  display: flex;
  align-items: center;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  font-size: 10px;
  color: #858a7a;
}
.site-footer .brand {
  font-size: 15px;
  color: var(--ink);
}
.site-footer .brand-mark {
  height: 22px;
  width: 22px;
  font-size: 20px;
}
.site-footer > a:last-child {
  margin-left: auto;
  color: var(--ink);
}
/* Carry the same identity through gameplay and transcripts. */
.shell:not(.dashboard) {
  padding-top: 24px;
}
.shell:not(.dashboard) .topbar {
  height: auto;
  min-height: 120px;
  margin-bottom: 28px;
  padding-bottom: 24px;
}
.shell:not(.dashboard) h1 {
  font-size: 44px;
  letter-spacing: -2px;
  margin: 12px 0;
}
.shell:not(.dashboard) .muted {
  font-size: 13px;
  line-height: 1.6;
}
.back-link {
  font-size: 12px;
  color: var(--orange);
}
.play-panel,
.side-section,
.human-setup,
.arena,
.throw-button,
.scoreboard > div,
.match-result,
.status,
.empty,
.thought-card,
.live-chat article {
  border-radius: 0;
}
.scoreboard strong {
  font-weight: 500;
  font-size: 55px;
}
.throw-button:hover:not(:disabled),
.throw-button.active {
  background: #e8eadc;
  border-color: var(--orange);
}
.throw-button span {
  background: transparent;
}
.thought-card {
  font-style: normal;
  background: #eceee2;
  border-style: solid;
  line-height: 1.6;
}
.thought-card.winner {
  background: #e6eadb;
}
.thought-card .who {
  font-size: 12px;
}
.thought-card p {
  font-size: 13px;
}
.throw-emoji.win {
  text-shadow: none;
}
.round-block {
  margin-bottom: 26px;
}
.convo-bubble {
  border-radius: 0;
  background: transparent;
}
.summary-band {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 30px;
}
.untrusted,
.pill {
  border-radius: 0;
  font: 10px var(--mono);
  min-height: 24px;
}
@media (min-width: 1500px) {
  .hero {
    gap: 100px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 45px;
  }
  td {
    height: 70px;
  }
}
@media (max-width: 1150px) {
  .shell,
  .play-shell {
    width: calc(100% - 48px);
  }
  nav {
    gap: 20px;
    margin-right: 0;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 20px;
  }
  .recent {
    padding-left: 20px;
  }
  .hero {
    gap: 35px;
  }
  .hero h1 {
    font-size: 65px;
    letter-spacing: -3.5px;
  }
  .table-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .search-field {
    max-width: none;
    width: 100%;
  }
  .stats-strip > div,
  .stats-strip .fair-play {
    padding-left: 20px;
  }
  .record,
  th:nth-child(5) {
    display: none;
  }
  table {
    min-width: 540px;
  }
  .protocol {
    gap: 25px;
  }
}
@media (max-width: 840px) {
  .topbar {
    flex-direction: row;
    align-items: center;
  }
  nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 35px 0;
    gap: 24px;
  }
  .hero h1 {
    font-size: 53px;
    letter-spacing: -3px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-art {
    padding: 20px 15px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .stats-strip .fair-play {
    display: none;
  }
  .stats-strip strong {
    font-size: 27px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .recent {
    border-left: 0;
    padding-left: 0;
    margin-top: 24px;
  }
  .match-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 25px;
  }
  .section-heading {
    flex-direction: row;
    align-items: center;
  }
  .table-toolbar {
    flex-direction: row;
    align-items: center;
  }
  .search-field {
    max-width: 180px;
  }
  .protocol {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .hero-art svg {
    min-height: 190px;
  }
  .play-layout {
    grid-template-columns: 1fr;
  }
  .scoreboard {
    grid-template-columns: 1fr 1.3fr 1fr;
  }
  .scoreboard > div:last-child {
    text-align: right;
  }
  .throw-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
  .throw-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 540px) {
  .shell,
  .play-shell {
    width: calc(100% - 36px);
  }
  .preview-banner {
    font-size: 8px;
    gap: 12px;
    padding: 8px 10px;
  }
  .topbar {
    height: 80px;
    gap: 10px;
  }
  .brand {
    font-size: 18px;
    gap: 5px;
  }
  .brand-mark {
    width: 25px;
    height: 25px;
    font-size: 24px;
  }
  .topbar .primary-link {
    padding: 0 12px;
    font-size: 10px;
    gap: 12px;
    min-height: 38px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 34px 0 27px;
    gap: 28px;
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero-description {
    max-width: 310px;
    margin-top: 20px;
  }
  .hero-art {
    min-height: 220px;
    padding: 17px 20px;
  }
  .hero-art svg {
    height: 190px;
    min-height: 0;
  }
  .art-bottom {
    padding-top: 11px;
  }
  .stats-strip {
    padding: 20px 0;
  }
  .stats-strip > div {
    padding-left: 16px;
  }
  .stats-strip strong {
    font-size: 26px;
  }
  .stats-strip > div > span {
    font-size: 7px;
    letter-spacing: 0.25px;
  }
  .dashboard-grid {
    margin-top: 30px;
    margin-bottom: 35px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .section-heading .small {
    font-size: 9px;
  }
  .live-badge {
    font-size: 7px;
    margin-left: 8px;
  }
  .table-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .search-field {
    max-width: none;
  }
  .segmented {
    justify-content: space-between;
  }
  .segmented button {
    font-size: 10px;
    padding: 0 10px;
  }
  .table-note {
    flex-direction: column;
    gap: 5px;
  }
  .match-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }
  .contestant {
    font-size: 10px;
  }
  .match-meta {
    font-size: 7px;
  }
  .match-meta > span:last-child {
    max-width: 75px;
  }
  .protocol {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }
  .protocol > div {
    grid-column: 1 / -1;
  }
  .protocol article:last-child {
    grid-column: 1 / -1;
    max-width: 280px;
  }
  .site-footer {
    gap: 15px;
    flex-wrap: wrap;
  }
  .site-footer > span {
    display: none;
  }
  .shell:not(.dashboard) h1 {
    font-size: 34px;
  }
  .scoreboard {
    gap: 5px;
  }
  .scoreboard > div {
    padding: 8px;
  }
  .scoreboard strong {
    font-size: 38px;
  }
  .round-state span {
    font-size: 14px;
  }
  .throw-buttons {
    gap: 6px;
  }
  .throw-button {
    padding: 10px;
  }
  .throw-button b {
    font-size: 14px;
  }
  .thinking-pair {
    grid-template-columns: 1fr;
  }
  .throw-emoji {
    font-size: 28px;
  }
  .round-face {
    gap: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.dashboard-grid > * {
  min-width: 0;
}
.table-wrap {
  max-width: 100%;
}
.throw-emoji {
  display: grid;
  place-items: center;
  width: 48px;
  height: 58px;
  border: 1px solid var(--line);
  font: 28px var(--mono);
  opacity: 1;
  filter: none;
}
.throw-emoji.win {
  background: var(--ink);
  color: var(--paper);
  transform: none;
  border-color: var(--ink);
}
.strategy-label {
  font: 8px var(--mono);
  letter-spacing: 0.6px;
  color: #737b65;
  margin-right: 4px;
}
.match-result .reveal::before {
  content: none;
}
@media (max-width: 540px) {
  .throw-emoji {
    width: 28px;
    height: 40px;
    font-size: 20px;
  }
  .round-divider {
    font-size: 10px;
    white-space: normal;
  }
  .round-divider span {
    max-width: 80%;
  }
  .shell:not(.dashboard) .section-heading {
    flex-wrap: wrap;
  }
  .untrusted {
    white-space: normal;
    line-height: 1.5;
  }
  .table-note::before {
    content: "Scroll table →";
    color: #525b46;
    font: 9px var(--mono);
  }
}
