:root {
  color-scheme: dark;
  --bg: #0c1015;
  --panel: #151b23;
  --raised: #1c2430;
  --ink: #f1f3ed;
  --muted: #a8b3c1;
  --line: #303b48;
  --green: #c4f56e;
  --violet: #b6a1ff;
  --orange: #ffbb7c;
  --red: #ff9696;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
html {
  scroll-behavior: smooth;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--green);
}
button,
input,
textarea,
select {
  font: inherit;
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.wrap {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--green);
  color: var(--bg);
  padding: 10px;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
.header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
  white-space: nowrap;
}
.brand img {
  width: 32px;
  height: 32px;
}
.brand span {
  color: var(--green);
}
nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
}
nav a {
  text-decoration: none;
  color: var(--muted);
}
nav a[aria-current='page'] {
  color: var(--ink);
}
.nav-cta {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
}
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 65px;
  align-items: center;
  padding: 77px 0 65px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--green);
  margin-right: 9px;
  transform: rotate(45deg);
}
h1 {
  font-size: clamp(46px, 6.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -4px;
  margin: 0 0 24px;
  font-weight: 800;
}
h1 em {
  font-style: normal;
  color: var(--green);
}
h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0 0 18px;
  font-weight: 650;
}
h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 10px;
  font-weight: 650;
}
p {
  margin: 0 0 16px;
}
.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 590px;
}
.actions,
.match-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 45px;
  padding: 11px 19px;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  color: var(--bg);
}
.button:hover {
  color: var(--bg);
  background: #d8ffa1;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button.secondary:hover {
  border-color: var(--green);
}
.button.small {
  min-height: 36px;
  padding: 7px 12px;
}
.button.wide {
  width: 100%;
}
.micro,
.muted {
  color: var(--muted);
}
.micro {
  font-size: 12px;
  margin-top: 14px;
}
.hero-note {
  display: flex;
  gap: 24px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 12px;
}
.hero-note span {
  border-left: 2px solid var(--line);
  padding-left: 12px;
}
.arena-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 26px;
  box-shadow: 0 28px 70px #0004;
}
.panel-top,
.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 21px;
}
.panel-top {
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
}
.panel-top h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
  margin: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--raised);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.badge.green {
  color: var(--green);
}
.badge.orange {
  color: var(--orange);
}
.badge.violet {
  color: var(--violet);
}
.segmented {
  display: flex;
  gap: 5px;
  background: var(--bg);
  padding: 5px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.segmented label {
  flex: 1;
  margin: 0;
  text-align: center;
  position: relative;
}
.segmented input,
.fighter-pick input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.segmented span {
  display: block;
  padding: 9px 6px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  color: var(--muted);
}
.segmented input:checked + span {
  background: var(--raised);
  color: var(--ink);
}
.segmented input:focus-visible + span,
.fighter-pick input:focus-visible + span {
  outline: 2px solid var(--green);
}
label,
.label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 7px;
}
.field {
  margin-bottom: 17px;
}
input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #435162;
  border-radius: 5px;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
}
textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}
input[type='checkbox'],
input[type='radio'] {
  accent-color: var(--green);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
}
.check input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}
.fighters-select {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.fighter-pick {
  position: relative;
  margin: 0;
}
.fighter-pick span {
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
  min-height: 47px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  overflow-wrap: anywhere;
  color: var(--muted);
}
.fighter-pick input:checked + span {
  border-color: var(--green);
  color: var(--green);
  background: #c4f56e09;
}
.fighter-pick input:checked + span::before {
  content: '✓';
}
.advanced {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-bottom: 18px;
}
.advanced summary {
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: 12px;
}
.form-error {
  padding: 12px 14px;
  border-left: 3px solid var(--red);
  background: #ff96960c;
  font-size: 13px;
  color: var(--red);
  margin: 14px 0;
}
.form-success {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green);
  overflow-wrap: anywhere;
}
.hidden,
[hidden] {
  display: none !important;
}
.strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-block: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
.strip b {
  color: var(--green);
  margin-right: 9px;
  font-weight: 500;
}
.section {
  padding: 65px 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-bottom: 27px;
}
.section-head p {
  max-width: 430px;
  color: var(--muted);
  font-size: 14px;
}
.grid3,
.fighter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feature {
  padding: 22px 0;
}
.feature .number {
  font-size: 12px;
  color: var(--green);
  display: block;
  margin-bottom: 20px;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
}
.fighter-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
}
.fighter-card h3 {
  font-size: 26px;
  letter-spacing: -1px;
}
.fighter-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.fighter-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 800;
  font-size: 20px;
  color: var(--green);
  background: var(--bg);
}
.fighter-card:nth-child(3n + 2) .fighter-icon {
  color: var(--violet);
}
.fighter-card:nth-child(3n) .fighter-icon {
  color: var(--orange);
}
.fighter-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: auto;
}
.fighter-card .actions {
  margin-top: 5px;
}
.callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px;
  margin: 60px 0;
}
.callout h2 {
  margin-bottom: 10px;
}
.callout p {
  color: var(--muted);
  max-width: 620px;
  font-size: 14px;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
}
.footer .brand {
  font-size: 20px;
}
.footer p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.footer-links a {
  text-decoration: none;
}
.page-head {
  padding: 55px 0 30px;
  max-width: 900px;
}
.page-head h1 {
  font-size: clamp(38px, 5vw, 59px);
  letter-spacing: -2.8px;
}
.page-content {
  padding-bottom: 65px;
}
.prose {
  max-width: 820px;
}
.prose section {
  padding: 23px 0;
}
.prose h2 {
  font-size: 24px;
}
.prose p,
.prose li {
  color: var(--muted);
  font-size: 14px;
}
.notice {
  border-left: 3px solid var(--green);
  padding: 15px 18px;
  background: var(--panel);
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0;
}
.notice.orange {
  border-color: var(--orange);
}
.empty {
  padding: 40px 28px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 9px;
}
.empty h3 {
  font-size: 22px;
}
.empty p {
  color: var(--muted);
  font-size: 14px;
}
.empty .button {
  margin-top: 12px;
}
.match-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 25px 0;
}
.answer-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 24px;
  background: var(--panel);
  min-width: 0;
}
.answer-card.winner {
  border-color: var(--green);
}
.answer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.answer-head h3 {
  margin: 0;
}
.answer-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.8;
}
.answer-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 11px;
  color: var(--muted);
}
.match-top {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.match-prompt {
  max-width: 850px;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.score-big {
  font-size: 42px;
  color: var(--green);
  line-height: 1;
  letter-spacing: -2px;
}
.score-big small {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0;
}
.criteria {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 20px;
  margin: 18px 0;
  font-size: 12px;
  color: var(--muted);
}
.score-note {
  font-size: 12px;
  color: var(--muted);
}
.match-actions {
  margin: 25px 0;
}
.loading-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.match-rules,
.join-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  font-size: 13px;
  color: var(--muted);
}
.match-rules summary,
.join-box summary {
  cursor: pointer;
  color: var(--ink);
}
.match-rules p {
  margin-top: 15px;
}
.table-scroll {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th,
td {
  padding: 17px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th {
  background: var(--panel);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
tr:last-child td {
  border: 0;
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.86em;
  overflow-wrap: anywhere;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 20px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.code-wrap {
  position: relative;
}
.copy-code {
  position: absolute;
  right: 10px;
  top: 10px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-size: 11px;
  padding: 4px 10px;
}
.filter-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.filter-row select {
  max-width: 220px;
}
.api-list {
  display: grid;
  gap: 10px;
}
.api-row {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  gap: 20px;
  align-items: start;
  font-size: 13px;
}
.api-row b {
  min-width: 46px;
  color: var(--green);
  font-size: 11px;
}
.api-row p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.form-container {
  max-width: 680px;
}
.inline-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--green);
  font-size: 12px;
  text-decoration: underline;
}
.key-box {
  background: var(--bg);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  word-break: break-all;
  font-size: 11px;
}
.request-panel {
  max-width: 680px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 50px;
  }
  .hero-copy {
    max-width: 740px;
  }
  .hero h1 {
    font-size: 68px;
  }
  .hero-note {
    margin-top: 22px;
  }
  .grid3,
  .fighter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-head {
    align-items: start;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  nav {
    gap: 17px;
  }
  .hero .arena-panel {
    max-width: 680px;
    width: 100%;
  }
  .footer {
    flex-direction: column;
  }
  .callout {
    gap: 25px;
    padding: 28px;
  }
  .match-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header {
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0;
    min-height: auto;
  }
  .brand {
    font-size: 23px;
  }
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
  }
  .nav-cta {
    padding: 6px 10px;
  }
  .hero {
    padding: 42px 0;
  }
  .hero h1 {
    font-size: 57px;
    letter-spacing: -3px;
  }
  .hero-note {
    gap: 18px;
  }
  .arena-panel {
    padding: 20px;
  }
  .segmented span {
    font-size: 10px;
    padding: 9px 3px;
  }
  .fighters-select {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .section {
    padding: 43px 0;
  }
  .section-head {
    flex-direction: column;
    gap: 5px;
  }
  .grid3,
  .fighter-grid {
    grid-template-columns: 1fr;
  }
  .feature {
    padding: 14px 0;
  }
  .callout {
    flex-direction: column;
    align-items: start;
    margin: 40px 0;
  }
  .page-head {
    padding-top: 37px;
  }
  .page-head h1 {
    font-size: 43px;
  }
  .match-prompt {
    font-size: 21px;
  }
  .answer-card {
    padding: 19px;
  }
  .row-between {
    align-items: start;
    flex-direction: column;
  }
  .strip {
    font-size: 10px;
    gap: 12px;
  }
  .footer-links {
    gap: 14px;
  }
  .api-row {
    gap: 12px;
  }
  .request-panel {
    padding: 20px;
  }
  h2 {
    font-size: 28px;
  }
  .fighter-card {
    padding: 22px;
  }
  .hero-note span {
    font-size: 11px;
  }
}
.hero {
  align-items: start;
}
.hero-copy {
  padding-top: 36px;
}
.arena-quick-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 0 24px;
  font-size: 13px;
}
.arena-quick-links span {
  color: var(--muted);
  font-size: 12px;
}
.decision-clock {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border: 1px solid #536641;
  border-radius: 9px;
  background: #182016;
  margin: 0 0 24px;
}
.decision-clock > span {
  font-size: 13px;
  color: var(--green);
}
.decision-clock strong {
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
  line-height: 1.2;
}
.decision-clock time {
  font-size: 11px;
  color: var(--muted);
}
.decision-clock p {
  width: 100%;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.clock-compact {
  padding: 12px;
  gap: 7px 12px;
  margin: 0 0 16px;
}
.clock-compact > span {
  font-size: 11px;
}
.clock-compact strong {
  font-size: 22px;
}
.clock-compact time {
  width: 100%;
  font-size: 10px;
}
.scorecard {
  border: 1px solid var(--green);
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
  scroll-margin-top: 24px;
}
.scorecard > summary {
  cursor: pointer;
  font-size: 21px;
  font-weight: 700;
  color: var(--green);
}
.scorecard .match-grid {
  margin-bottom: 0;
}
.scorecard:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}
.ranking-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ranking-controls .filter-row {
  margin-bottom: 0;
}
.ranking-controls label {
  margin: 0;
}
.ranking-controls + .micro {
  margin-bottom: 18px;
}
.ranking-owner {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  margin-top: 5px;
}
td.rank-number {
  color: var(--green);
  font-weight: 750;
  font-size: 18px;
}
tbody th {
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}
@media (max-width: 650px) {
  .decision-clock {
    padding: 16px;
    gap: 10px 14px;
  }
  .decision-clock time {
    width: 100%;
  }
  .decision-clock strong {
    font-size: 28px;
  }
  .clock-compact {
    padding: 12px;
    gap: 7px 12px;
  }
  .clock-compact strong {
    font-size: 22px;
  }
  .scorecard {
    padding: 13px;
  }
  .scorecard > summary {
    font-size: 19px;
  }
  .arena-quick-links {
    gap: 8px;
  }
  .ranking-controls .filter-row {
    width: 100%;
    justify-content: space-between;
  }
  .ranking-controls select {
    max-width: 240px;
  }
}
@media (max-width: 900px) {
  .hero-copy {
    padding-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .spinner {
    animation: none;
  }
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.account-grid .request-panel {
  max-width: none;
  width: 100%;
}
.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.evidence {
  margin-bottom: 24px;
}
.evidence p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.key-box {
  overflow-wrap: anywhere;
}
nav {
  flex-wrap: wrap;
}
.account-grid pre {
  font-size: 12px;
}
@media (max-width: 700px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
  .account-row {
    align-items: start;
    flex-direction: column;
  }
  .header nav {
    justify-content: flex-start;
    gap: 15px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.arena-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 0 30px;
}
.arena-head h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.05;
  margin: 0 0 15px;
}
.arena-head .eyebrow {
  margin-bottom: 17px;
}
.arena-head .lead {
  font-size: 17px;
  margin: 0;
}
.arena-head > .button {
  flex-shrink: 0;
  margin-bottom: 5px;
}
.arena-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(115deg, #171f29, #11171e);
  padding: 20px 0;
  margin-bottom: 32px;
}
.arena-stats > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.arena-stats > div:last-child {
  border: 0;
}
.arena-stats strong {
  font-size: 29px;
  line-height: 1.2;
  font-weight: 750;
}
.arena-stats span {
  font-size: 12px;
  color: var(--muted);
}
.feed-heading,
.feed-toolbar,
.feed-context,
.feed-refresh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.feed-heading {
  margin-bottom: 19px;
}
.feed-heading h2 {
  font-size: 24px;
  margin: 0;
}
.feed-refresh {
  gap: 12px;
}
.feed-toolbar {
  margin-bottom: 16px;
}
.feed-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.feed-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  padding: 9px 15px;
  font-size: 13px;
}
.feed-tabs button[aria-pressed='true'] {
  background: var(--green);
  border-color: var(--green);
  color: var(--bg);
  font-weight: 700;
}
.feed-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.feed-sort select {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  padding: 9px 34px 9px 12px;
  min-width: 150px;
}
.feed-search {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.feed-search input {
  width: 100%;
  background: #10161d;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  padding: 11px 14px;
}
.feed-search .button {
  padding-inline: 23px;
}
.feed-context {
  margin-bottom: 19px;
}
.fight-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.fight-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  min-width: 0;
  transition: border-color 0.15s;
}
.fight-card:hover {
  border-color: #5d6b7c;
}
.fight-live {
  border-color: #72974b;
}
.fight-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 22px;
}
.fight-card-top .badge {
  font-size: 9px;
  max-width: 80%;
  line-height: 1.6;
}
.fight-card-top time {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.fight-lineup {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
  color: #dde4ec;
  font-size: 11px;
  font-weight: 650;
  flex-wrap: wrap;
}
.fight-card-lineup {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  margin-bottom: 20px;
}
.fight-card-lineup > .versus {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: var(--panel);
}
.fight-card-fighter {
  min-width: 0;
  padding: 12px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10161d;
  text-align: center;
}
.fight-card-fighter.is-winner {
  border-color: #b79a46;
  background: linear-gradient(180deg, #342d1b 0, #14191d 62%);
}
.fight-fighter-profile {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
  color: var(--ink);
  text-decoration: none;
}
.fight-fighter-profile strong {
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.fight-fighter-profile:hover strong {
  text-decoration: underline;
}
.fight-fighter-profile:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 4px;
}
.fight-fighter-portrait {
  position: relative;
  display: block;
  width: 76px;
  height: 76px;
}
.fight-fighter-portrait > img {
  display: block;
  width: 100%;
  height: 100%;
}
.fight-fighter-crown {
  position: absolute;
  top: -9px;
  right: -5px;
  width: 29px;
  height: 25px;
  color: #efd17c;
  filter: drop-shadow(0 2px 2px #10161d);
}
.fight-fighter-crown svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: #715b24;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.fight-fighter-result {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  margin: 3px 0 10px;
}
.is-winner .fight-fighter-result,
.fight-outcome.has-winner {
  color: #efd17c;
  font-weight: 650;
}
.fight-fighter-score {
  min-height: 49px;
  margin: 0 0 12px;
}
.fight-fighter-score strong {
  display: block;
  font-size: 23px;
  font-weight: 650;
  line-height: 1.3;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.fight-fighter-score small {
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
}
.fight-fighter-score > span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}
.fight-fighter-score.is-unscored strong {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
}
.fight-fighter-stats {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 3px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.fight-fighter-stats > div {
  min-width: 0;
}
.fight-fighter-stats dt {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
}
.fight-fighter-stats dd {
  font-size: 10px;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}
.fight-fighter-record-label {
  margin: 9px 0 0;
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
}
.fight-fighter-record-label > span {
  display: block;
  margin-top: 2px;
}
.versus {
  font-size: 10px;
  color: var(--muted);
}
.fight-card h3 {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.2px;
  margin: 0 0 12px;
}
.fight-card h3 a {
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.fight-outcome {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 15px;
}
.fight-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 13px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 21px;
}
.fight-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.fight-open {
  font-size: 12px;
  text-decoration: none;
}
.fight-open span {
  margin-left: 5px;
}
.like-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.like-button svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}
.like-button.is-liked {
  color: var(--green);
  border-color: #6c8749;
  background: #20291c;
}
.like-button.is-liked svg {
  fill: currentColor;
}
.like-button [data-like-count] {
  margin-left: 3px;
  font-variant-numeric: tabular-nums;
}
.arena-empty {
  grid-column: 1/-1;
  padding: 50px 24px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #10161d;
}
.feed-pagination {
  text-align: center;
  padding: 25px 0 8px;
}
.feed-note {
  margin-bottom: 32px;
}
.create-fight-panel {
  border-top: 1px solid var(--line);
  padding: 25px 0 40px;
  margin-top: 17px;
  scroll-margin-top: 25px;
}
.create-fight-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
  font-size: 21px;
  font-weight: 650;
  list-style: none;
}
.create-fight-panel > summary:after {
  content: '+';
  color: var(--green);
  font-size: 30px;
  font-weight: 400;
}
.create-fight-panel[open] > summary:after {
  content: '−';
}
.create-fight-panel .form-container {
  margin: 25px 0 0;
  max-width: 760px;
}
.create-fight-panel .arena-panel {
  width: 100%;
}
@media (max-width: 1000px) {
  .fight-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .arena-stats > div {
    gap: 9px;
    padding: 0 17px;
  }
  .arena-stats strong {
    font-size: 25px;
  }
}
@media (max-width: 650px) {
  .arena-head {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 30px;
  }
  .arena-head > .button {
    margin: 0;
  }
  .arena-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 17px 0;
    padding: 18px 0;
    margin-bottom: 26px;
  }
  .arena-stats > div:nth-child(2) {
    border: 0;
  }
  .arena-stats span {
    font-size: 11px;
  }
  .feed-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .feed-heading h2 {
    font-size: 21px;
  }
  .feed-refresh .micro {
    display: none;
  }
  .feed-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .feed-sort {
    width: 100%;
    justify-content: space-between;
  }
  .feed-tabs button {
    font-size: 12px;
    padding: 8px 12px;
  }
  .feed-sort select {
    min-width: 165px;
  }
  .fight-feed {
    grid-template-columns: 1fr;
  }
  .feed-context {
    align-items: flex-start;
    gap: 8px;
  }
  .feed-context .micro {
    font-size: 10px;
  }
  .create-fight-panel > summary {
    font-size: 19px;
  }
  .create-fight-panel > summary .micro {
    display: none;
  }
  .fight-card h3 a {
    -webkit-line-clamp: 4;
  }
}

.source-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 9px;
  padding: 20px 24px;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}
.source-panel h3 {
  font-size: 17px;
}
.source-panel p {
  font-size: 13px;
  color: var(--muted);
}
.source-panel a {
  font-size: 12px;
}
.source-panel .micro {
  font-size: 11px;
}
.source-panel code {
  word-break: break-all;
}

.fight-template-picker {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
  min-width: 0;
}
.fight-template-picker legend {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.fight-template-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.fight-template-grid label {
  position: relative;
  margin: 0;
  min-width: 0;
}
.fight-template-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.fight-template-grid span {
  display: block;
  height: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
}
.fight-template-grid strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
}
.fight-template-grid small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 5px;
}
.fight-template-grid input:checked + span {
  border-color: var(--green);
  background: #c4f56e09;
}
.fight-template-grid input:focus-visible + span {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.source-review {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin: 20px 0;
  background: var(--bg);
  overflow-wrap: anywhere;
}
.source-review h3 {
  font-size: 16px;
  margin: 0;
}
.source-review .panel-top {
  margin-bottom: 13px;
}
.source-review-status {
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
}
.needs-attention {
  color: var(--orange);
}
.source-rule-list {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 7px 14px;
  font-size: 12px;
  margin: 10px 0 18px;
}
.source-rule-list dt {
  color: var(--muted);
}
.source-rule-list dd {
  margin: 0;
  min-width: 0;
}
.source-sample {
  font-size: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.source-review summary {
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
.source-review code {
  font-size: 10px;
  word-break: break-all;
}
@media (max-width: 480px) {
  .source-rule-list {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .source-rule-list dd {
    margin-bottom: 8px;
  }
  .fight-template-grid span {
    padding: 10px;
  }
  .source-review {
    padding: 14px;
  }
}

/* Fighter skins remain decorative; their native radios work by keyboard. */
.skin-picker {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0 0 28px;
}
.skin-picker legend {
  font-size: 1.1rem;
  font-weight: 800;
}
.skin-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.skin-option {
  position: relative;
  cursor: pointer;
  min-width: 0;
}
.skin-option input {
  position: absolute;
  inset: 12px auto auto 10px;
  z-index: 1;
  accent-color: var(--green);
  width: 16px;
  height: 16px;
}
.skin-tile {
  display: flex;
  min-height: 175px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  text-align: center;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.skin-tile img {
  display: block;
  max-width: 100%;
  height: auto;
}
.skin-tile small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}
.skin-option input:checked + .skin-tile {
  border-color: var(--green);
  background: #1c2a23;
}
.skin-option input:focus-visible + .skin-tile {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}
.fighter-icon {
  width: 72px;
  height: 72px;
  background: none;
  border: 0;
  overflow: visible;
}
.fighter-skin {
  display: block;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.fighter-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fighter-heading .fighter-skin {
  width: 48px;
  height: 48px;
}
.lineup-initial {
  overflow: hidden;
  background: transparent;
}
.lineup-initial img {
  display: block;
  width: 100%;
  height: 100%;
}
.ranking-controls {
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
}
.ranking-controls .filter-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}
.ranking-controls select {
  max-width: 100%;
}
@media (max-width: 680px) {
  .skin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .skin-tile {
    min-height: 175px;
  }
  .ranking-controls .filter-row {
    flex: 1 1 100%;
  }
  .ranking-controls select {
    width: 100%;
  }
  .fighter-heading {
    gap: 8px;
  }
}
.builder-head {
  padding-bottom: 0;
}
.builder-head + .agent-builder {
  padding-top: 32px;
}
.profile-bio {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.account-row h4 {
  margin: 0 0 8px;
}
.account-row p {
  overflow-wrap: anywhere;
}
.account-grid .request-panel {
  min-width: 0;
}
.account-row .actions {
  flex-wrap: wrap;
}
.fighter-card .inline-link {
  font-size: 0.85rem;
}
.fighter-card .micro {
  overflow-wrap: anywhere;
}
.agent-builder .section-head {
  align-items: flex-start;
}
@media (max-width: 680px) {
  .account-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .account-row .actions {
    width: 100%;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
  .builder-head h1 {
    font-size: clamp(2.6rem, 13vw, 4.8rem);
  }
}

/* First visit: show an actual bout before asking the visitor to build one. */
.home-hero {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  padding: 54px 0 42px;
  align-items: center;
}
.home-hero .hero-copy {
  padding: 0;
}
.home-hero h1 {
  font-size: clamp(42px, 4.8vw, 63px);
  letter-spacing: -2.8px;
  line-height: 1.04;
}
.home-hero .eyebrow {
  margin-bottom: 22px;
}
.home-intro {
  max-width: 430px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.hero-membership {
  margin-top: 22px;
  max-width: 390px;
}
.hero-membership a {
  color: var(--green);
  font-weight: 700;
}
.spotlight {
  min-width: 0;
  min-height: 470px;
  border: 1px solid #4c5a68;
  border-radius: 12px;
  padding: 24px;
  background: radial-gradient(ellipse at 0 0, #233128 0, transparent 65%), #121a22;
  box-shadow: 0 18px 65px #0003;
}
.spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.spotlight-top a {
  font-size: 11px;
  color: var(--muted);
}
.spotlight-verdict {
  font-size: 12px;
  color: var(--green);
  font-weight: 750;
  margin-bottom: 9px;
}
.spotlight-task {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.4px;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 22px;
}
.spotlight-contenders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.spotlight-fighter {
  min-width: 0;
  padding: 14px 12px 8px;
  background: #0b1118b3;
  border: 1px solid #384654;
  border-radius: 9px;
}
.spotlight-fighter.is-winner {
  border-color: #8cae5b;
}
.spotlight-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid #34414e;
  padding-bottom: 10px;
  margin-bottom: 13px;
  background: radial-gradient(ellipse, #c4f56e15, transparent 70%);
}
.spotlight-fighter:nth-child(even) .spotlight-portrait {
  background: radial-gradient(ellipse, #b6a1ff22, transparent 70%);
}
.spotlight-portrait img {
  width: 100%;
  height: 100px;
  object-fit: contain;
}
.spotlight-portrait span {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-top: 5px;
}
.is-winner .spotlight-portrait span {
  color: var(--green);
}
.spotlight-fighter h3 {
  font-size: 15px;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}
.spotlight-score {
  color: var(--green);
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}
.spotlight-fighter p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.spotlight-bottom {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.spotlight-bottom > a:last-child {
  font-size: 11px;
}
.spotlight-footnote {
  font-size: 10px;
  margin: 15px 0 0;
  color: var(--muted);
}
.spotlight-loading,
.spotlight-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 330px;
}
.spotlight-loading {
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}
.spotlight-empty p {
  color: var(--muted);
  font-size: 14px;
  max-width: 370px;
}
.home-steps {
  margin-bottom: 8px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.quick-start {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 65px;
  align-items: start;
  scroll-margin-top: 25px;
  border-bottom: 1px solid var(--line);
}
.quick-start > div {
  padding-top: 20px;
}
.quick-start > div > a {
  font-size: 12px;
  color: var(--green);
}
.quick-start .lead {
  font-size: 15px;
}
.quick-start h3 {
  margin: 0;
}
.quick-start textarea {
  min-height: 116px;
}
.quick-start .badge {
  font-size: 9px;
}
.quick-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -5px 0 22px;
}
.quick-examples button {
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 10px;
  background: transparent;
}
.quick-examples button:hover {
  border-color: var(--green);
  color: var(--green);
}
.home-agent-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 5px 0 48px;
}
.home-agent-entry h2 {
  font-size: 23px;
  margin-bottom: 9px;
}
.home-agent-entry p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.home-agent-entry > a {
  font-size: 12px;
  color: var(--green);
}
.signup-benefit {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}
.signup-benefit span {
  font-size: 12px;
  color: var(--muted);
  max-width: 330px;
}
.header nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}
.header nav [data-account-link] {
  color: var(--green);
}
.nav-cta {
  border-color: #556a42;
}
.header nav [aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 7px;
}
.header nav a:focus-visible {
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  .home-hero {
    gap: 25px;
    grid-template-columns: 0.9fr 1.1fr;
  }
  .home-hero h1 {
    font-size: 48px;
  }
  .spotlight {
    padding: 20px;
  }
  .spotlight-contenders {
    gap: 10px;
  }
  .spotlight-top {
    flex-wrap: wrap;
  }
  .quick-start {
    gap: 30px;
  }
  .header {
    gap: 18px;
  }
  .header nav {
    gap: 16px;
  }
  .header nav .nav-cta {
    padding-inline: 10px;
  }
}
@media (max-width: 800px) {
  .home-hero {
    grid-template-columns: 1fr;
    padding-top: 35px;
    gap: 30px;
  }
  .home-hero .hero-copy {
    max-width: 650px;
  }
  .home-hero h1 {
    font-size: clamp(42px, 8vw, 65px);
  }
  .home-intro {
    max-width: 550px;
  }
  .hero-membership {
    max-width: 500px;
  }
  .spotlight {
    max-width: none;
    min-height: 0;
  }
  .spotlight-portrait img {
    height: 105px;
  }
  .spotlight-fighter p {
    -webkit-line-clamp: 3;
  }
  .quick-start {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .quick-start > div {
    padding-top: 0;
  }
  .home-steps {
    gap: 18px;
    justify-content: flex-start;
  }
  .home-agent-entry {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .signup-benefit {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .header {
    flex-wrap: wrap;
    padding: 18px 0;
    gap: 10px;
  }
  .header nav {
    width: 100%;
    justify-content: flex-start;
    gap: 5px 19px;
  }
  .header nav a {
    font-size: 12px;
  }
  .header nav .nav-cta {
    margin-left: auto;
  }
  .home-hero .actions {
    gap: 10px;
  }
  .home-hero .button {
    padding: 12px 17px;
  }
}
@media (max-width: 440px) {
  .home-hero h1 {
    font-size: 41px;
    letter-spacing: -2px;
  }
  .spotlight {
    padding: 17px 14px;
  }
  .spotlight-task {
    font-size: 18px;
  }
  .spotlight-contenders {
    gap: 9px;
  }
  .spotlight-fighter {
    padding: 12px 9px 5px;
  }
  .spotlight-score {
    font-size: 16px;
  }
  .spotlight-fighter h3 {
    font-size: 13px;
  }
  .spotlight-top {
    gap: 9px;
  }
  .spotlight-portrait img {
    height: 85px;
  }
  .spotlight-bottom {
    gap: 14px;
  }
  .spotlight-bottom .button {
    font-size: 11px;
  }
  .header nav {
    gap: 3px 18px;
  }
  .header nav .nav-cta {
    margin-left: 0;
  }
  .quick-start .panel-top {
    flex-wrap: wrap;
    gap: 9px;
  }
  .home-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .home-hero .actions {
    flex-wrap: wrap;
  }
  .hero-membership {
    font-size: 11px;
  }
  .quick-start .arena-panel {
    padding: 20px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.sealed-entry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  color: var(--muted);
  font-size: 13px;
  padding: 24px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
[data-fighter-editor] {
  max-width: 100%;
  min-width: 0;
}
[data-fighter-editor] pre {
  max-width: 100%;
  overflow-wrap: anywhere;
}
[data-fighter-editor] .table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
[data-fighter-editor] caption {
  text-align: left;
  padding: 14px;
  font-size: 12px;
  color: var(--muted);
}

.verification-summary {
  margin: 16px 0;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--violet);
  border-radius: 7px;
  overflow-wrap: anywhere;
}
.verification-summary strong {
  font-size: 13px;
}
.verification-summary p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
.spotlight .verification-summary {
  padding: 11px 13px;
  margin-bottom: 0;
}
.spotlight .verification-summary p {
  font-size: 10px;
}
.fight-card > .badge {
  margin-bottom: 13px;
  align-self: flex-start;
  white-space: normal;
  line-height: 1.5;
}
.verification-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 40px;
  padding-left: 22px;
  margin: 0;
}
.verification-steps li {
  padding-left: 6px;
  color: var(--green);
}
.verification-steps strong {
  color: var(--ink);
  font-size: 16px;
}
.verification-steps p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 9px 0 0;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.catalog-entry {
  background: var(--panel);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.catalog-entry .panel-top {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}
.catalog-entry .panel-top h3 {
  font-size: 19px;
  margin-bottom: 0;
}
.catalog-entry > p,
.catalog-limits {
  font-size: 12px;
  color: var(--muted);
}
.catalog-entry .source-rule-list {
  grid-template-columns: 105px 1fr;
  gap: 8px 12px;
  font-size: 11px;
}
.catalog-limits {
  padding-left: 17px;
  line-height: 1.8;
}
.catalog-planned-title {
  margin-top: 30px;
}
.verification-proposals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding-top: 45px;
  border-top: 1px solid var(--line);
}
.verification-proposals > div > p {
  font-size: 14px;
  color: var(--muted);
}
.verification-proposals > div > a {
  font-size: 12px;
}
.comparison-cell {
  white-space: normal;
  max-width: 270px;
  min-width: 190px;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.ranking-controls [data-ranking-comparison] {
  max-width: 360px;
}
.ranking-controls {
  align-items: flex-end;
}
.verification-readability {
  line-height: 1.7;
}
@media (max-width: 760px) {
  .catalog-grid,
  .verification-proposals {
    grid-template-columns: 1fr;
  }
  .verification-proposals {
    gap: 24px;
  }
  .verification-steps {
    gap: 22px 30px;
  }
  .ranking-controls [data-ranking-comparison] {
    max-width: 100%;
  }
}
@media (max-width: 500px) {
  .verification-steps {
    grid-template-columns: 1fr;
  }
  .catalog-entry {
    padding: 18px;
  }
  .catalog-entry .source-rule-list {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .catalog-entry .source-rule-list dd {
    margin-bottom: 9px;
  }
}

#source-directory {
  scroll-margin-top: 24px;
}
.directory-connection {
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12px;
  color: var(--muted);
  background: var(--panel);
  margin-bottom: 24px;
}
.directory-filters {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 14px;
  align-items: end;
}
.directory-filters .field {
  margin-bottom: 0;
}
.directory-filters .field label {
  font-size: 11px;
}
.directory-filters > .button {
  justify-self: start;
  margin-top: 0;
}
.directory-results-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0;
}
.directory-results-status p {
  margin: 0;
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.directory-provider {
  min-width: 0;
  padding: 23px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-wrap: anywhere;
}
.directory-provider-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 17px;
}
.directory-provider-head .badge {
  white-space: normal;
}
.directory-provider h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.directory-role {
  color: var(--violet);
  text-transform: capitalize;
  margin-bottom: 14px;
}
.directory-semantics {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.directory-outcomes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.directory-outcomes span {
  padding: 4px 8px;
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
}
.directory-readiness-count {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  line-height: 1.8;
}
.directory-details > summary {
  font-size: 12px;
  cursor: pointer;
  color: var(--ink);
  padding-bottom: 10px;
}
.directory-details .source-rule-list {
  grid-template-columns: 112px 1fr;
  font-size: 11px;
  line-height: 1.8;
}
.directory-details h4 {
  font-size: 12px;
  margin: 17px 0 8px;
}
.directory-details ul,
.directory-docs ul {
  padding-left: 19px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.directory-details > p {
  font-size: 12px;
  color: var(--muted);
}
.directory-docs {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.directory-docs summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 11px;
}
.directory-docs a {
  text-underline-offset: 4px;
}
.directory-docs details {
  max-width: 100%;
}
.directory-boundary {
  margin-top: 22px;
  line-height: 1.8;
}
.directory-empty {
  grid-column: 1/-1;
}
.directory-filters input:disabled,
.directory-filters select:disabled {
  opacity: 0.6;
}
.directory-results-status .button {
  flex-shrink: 0;
}
.fight-template-grid .live-debate-choice {
  grid-column: 1 / -1;
  border-color: #79924f;
  background: #1a2418;
}
.debate-setup {
  margin: 18px 0 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.debate-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.debate-room {
  margin: 0 0 32px;
  overflow: hidden;
  border: 1px solid #596746;
  border-radius: 16px;
  background: var(--panel);
}
.debate-room-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--line);
}
.debate-room-top .eyebrow {
  margin: 0 0 4px;
}
.debate-room-top h2 {
  margin: 0;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -1px;
}
.debate-lineup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  background: linear-gradient(115deg, #c4f56e0a, transparent 42%, #b6a1ff0a);
}
.debate-contender {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  text-decoration: none;
}
.debate-contender img {
  flex: 0 0 56px;
  border-radius: 12px;
}
.debate-contender span {
  min-width: 0;
}
.debate-contender strong {
  display: block;
  font-size: 19px;
  overflow-wrap: anywhere;
}
.debate-contender small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  overflow-wrap: anywhere;
}
.debate-lineup .debate-corner-1 {
  flex-direction: row-reverse;
  text-align: right;
}
.debate-vs {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--muted);
}
.debate-ring-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  padding: 11px 24px;
  border-block: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 11px;
}
.debate-explainer {
  margin: 18px 28px 0;
  font-size: 12px;
  color: var(--muted);
}
.debate-transcript {
  max-height: 680px;
  overflow-y: auto;
  overflow-anchor: none;
  scrollbar-color: var(--line) var(--panel);
  list-style: none;
  margin: 0;
  padding: 26px 28px;
}
.debate-turn {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.debate-turn:last-child {
  margin-bottom: 0;
}
.debate-turn-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}
.debate-turn article {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 0 11px 11px 11px;
  background: #19221c;
}
.debate-turn.debate-corner-1 article {
  border-left-color: var(--violet);
  background: #201e2b;
}
.debate-turn header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}
.debate-turn header a {
  color: var(--green);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.debate-corner-1 header a {
  color: var(--violet);
}
.debate-turn header span,
.debate-turn header time,
.debate-turn-meta {
  color: var(--muted);
  font-size: 10px;
}
.debate-turn header time {
  margin-left: auto;
}
.debate-turn-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
  font-size: 14px;
  margin: 14px 0;
}
.debate-turn-meta {
  margin: 0;
}
.debate-concession {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.debate-concession .badge {
  margin-right: 7px;
}
.debate-empty {
  padding: 28px 15px 34px;
  text-align: center;
}
.debate-empty-mark {
  color: var(--line);
  font-weight: 800;
  font-size: 54px;
  letter-spacing: -3px;
  line-height: 1;
}
.debate-empty h3 {
  margin: 15px 0 4px;
}
.debate-empty p {
  color: var(--muted);
  font-size: 12px;
  max-width: 420px;
  margin: auto;
}
.debate-next {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 28px 20px;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
}
.debate-next-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: var(--orange);
  border-radius: 50%;
}
.debate-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0 28px 22px;
}
.debate-integrity {
  margin: 0;
  padding: 17px 28px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
@media (max-width: 600px) {
  .debate-room-top,
  .debate-lineup {
    padding: 20px 17px;
  }
  .debate-room-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .debate-lineup {
    gap: 10px;
  }
  .debate-contender,
  .debate-lineup .debate-corner-1 {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    text-align: left;
  }
  .debate-lineup .debate-corner-1 {
    align-items: flex-end;
    text-align: right;
  }
  .debate-contender strong {
    font-size: 16px;
  }
  .debate-explainer {
    margin-inline: 17px;
  }
  .debate-transcript {
    max-height: 70vh;
    padding: 20px 12px;
  }
  .debate-turn {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
  }
  .debate-turn-avatar img {
    width: 28px;
    height: 28px;
  }
  .debate-turn article {
    padding: 14px;
  }
  .debate-turn header time {
    margin-left: 0;
  }
  .debate-turn-text {
    font-size: 13px;
  }
  .debate-next {
    margin-inline: 17px;
  }
  .debate-controls,
  .debate-integrity {
    padding-inline: 17px;
  }
}
@media (max-width: 850px) {
  .directory-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .directory-search {
    grid-column: 1/-1;
  }
  .directory-grid {
    grid-template-columns: 1fr;
  }
  .directory-details .source-rule-list {
    grid-template-columns: 140px 1fr;
  }
}
@media (max-width: 480px) {
  .directory-filters {
    grid-template-columns: 1fr;
  }
  .directory-filters .directory-search {
    grid-column: auto;
  }
  .directory-provider {
    padding: 19px;
  }
  .directory-results-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .directory-details .source-rule-list {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .directory-details .source-rule-list dd {
    margin-bottom: 9px;
  }
  .directory-provider-head {
    gap: 9px;
  }
  .directory-docs {
    align-items: flex-start;
    flex-direction: column;
  }
}
