:root {
  color-scheme: dark;
  --bg: #081016;
  --ink: #f4fbff;
  --muted: #a9bac6;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(8, 18, 26, 0.78);
  --panel-strong: rgba(15, 32, 43, 0.92);
  --blue: #4bb9ff;
  --green: #3ee6a3;
  --red: #ff5d6c;
  --gold: #f8c85a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

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

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(1.05) contrast(1.04);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 12, 18, 0.9) 0%, rgba(4, 12, 18, 0.62) 44%, rgba(4, 12, 18, 0.34) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(8, 16, 22, 0.08) 40%);
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(18px, 5vw, 72px);
}

.brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav__language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.nav__language select {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 18, 26, 0.72);
  color: #eef7fb;
  padding: 0 10px;
  font: inherit;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(54px, 10vh, 110px) clamp(18px, 6vw, 86px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
  max-width: 820px;
}

.lede {
  max-width: 650px;
  color: #d7e6ee;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  border: 1px solid var(--line);
  touch-action: manipulation;
}

.button--primary {
  background: var(--green);
  color: #06231a;
  border-color: transparent;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.band,
.console,
.method {
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 72px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #0c1820;
  padding-top: 0;
  padding-bottom: 0;
}

.stats div {
  padding: 24px;
  background: #0f202b;
  min-height: 108px;
}

.stats div:first-child {
  background: linear-gradient(135deg, rgba(50, 240, 164, 0.16), rgba(15, 32, 43, 0.96));
}

.stats strong {
  display: block;
  color: var(--gold);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.disclaimer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
  background: #0b171f;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.disclaimer strong {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.disclaimer p {
  margin: 0;
  color: #c4d4df;
  font-size: 14px;
  line-height: 1.5;
}

.accuracy-lab {
  background: #081219;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 26px;
  padding-bottom: 26px;
}

.accuracy-lab .section-head {
  display: none;
}

.accuracy-lab-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.accuracy-lab-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10202a;
  padding: 16px;
  min-height: 104px;
}

.accuracy-lab-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.accuracy-lab-grid strong {
  display: block;
  color: var(--gold);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.accuracy-lab-grid p {
  display: none;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.hit-list {
  margin-top: 16px;
  border: 1px solid rgba(50, 240, 164, 0.22);
  border-radius: 8px;
  background: rgba(8, 25, 22, 0.86);
  overflow: hidden;
}

.hit-list__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(50, 240, 164, 0.18);
}

.hit-list__head strong {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hit-list__head span {
  color: var(--gold);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.hit-list__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
}

.hit-list__items > p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  color: var(--muted);
  font-weight: 700;
}

.hit-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(18, 67, 50, 0.58);
}

.hit-card span {
  color: var(--gold);
  font-weight: 900;
}

.hit-card strong {
  color: #effff8;
  overflow-wrap: anywhere;
}

.hit-card em {
  grid-column: 2 / 3;
  color: #9eeacb;
  font-style: normal;
  font-weight: 800;
}

.hit-card .button {
  grid-column: 3;
  grid-row: 1 / span 2;
  min-height: 34px;
  padding: 0 12px;
  border-color: rgba(50, 240, 164, 0.34);
}

.section-head {
  max-width: 800px;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.toolbar {
  display: grid;
  grid-template-columns: 160px 160px minmax(220px, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

select,
input {
  width: 100%;
  border: 1px solid var(--line);
  background: #0f202b;
  color: var(--ink);
  border-radius: 8px;
  min-height: 44px;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0;
}

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

.match-list {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  max-height: 760px;
  overflow: auto;
}

.match-card {
  width: 100%;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.match-card > span:nth-child(2) {
  min-width: 0;
}

.match-card:hover,
.match-card.is-active {
  background: rgba(75, 185, 255, 0.12);
}

.match-no {
  color: var(--gold);
  font-weight: 900;
  font-size: 13px;
}

.match-title {
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.match-countdown {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 7px;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(248, 200, 90, 0.12);
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.mode-pill {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: 6px;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.mode-pill--group {
  background: rgba(75, 185, 255, 0.12);
  color: #9fd8ff;
}

.mode-pill--knockout {
  background: rgba(248, 200, 90, 0.16);
  color: var(--gold);
}

.countdown-detail {
  color: #dbe9ef;
}

.winner-pill {
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(62, 230, 163, 0.13);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.empty-list {
  padding: 18px;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 800;
}

.pk-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 620px;
}

.pk-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}

.pk-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "lane lane"
    "left right";
  gap: 18px;
  align-items: stretch;
  padding: 24px;
  min-height: 520px;
}

.team-side--left {
  grid-area: left;
}

.team-side--right {
  grid-area: right;
}

.team-side {
  min-height: 260px;
  border-radius: 8px;
  padding: 18px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team-card-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.flag-frame {
  display: inline-grid;
  place-items: center;
  width: 100%;
  max-width: 122px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.flag-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flag-frame--emoji {
  font-size: 54px;
}

.flag-frame--small,
.match-flag {
  width: 32px;
  min-width: 32px;
  max-width: 32px;
  height: 24px;
  border-radius: 4px;
  box-shadow: none;
}

.match-title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.match-title > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-flags {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.slot-badge,
.flag-frame--slot {
  display: inline-grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.slot-badge {
  width: 58px;
  height: 24px;
  border-radius: 4px;
}

.flag-frame--slot {
  box-shadow: none;
}

.team-name {
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 900;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  max-width: 100%;
}

.team-code {
  color: var(--muted);
  font-weight: 800;
  margin-top: 8px;
}

.language {
  color: #d6e5ec;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 14px;
}

.local-language {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #f0f8fb;
  font-size: 13px;
  line-height: 1.45;
}

.local-language strong,
.local-language span,
.local-language em {
  display: block;
}

.local-language strong {
  color: var(--gold);
}

.local-language span {
  margin-top: 4px;
  color: #d6e5ec;
  font-weight: 800;
}

.local-language em {
  margin-top: 6px;
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

.octopus-lane {
  --crawl-x: 0%;
  grid-area: lane;
  position: relative;
  min-height: clamp(330px, 34vw, 460px);
  display: grid;
  place-items: center;
  overflow: visible;
}

.lane-line {
  position: absolute;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--red));
  opacity: 0.55;
}

.crawler {
  display: block;
  position: relative;
  z-index: 2;
  width: min(620px, 76vw);
  height: auto;
  max-height: clamp(290px, 31vw, 420px);
  object-fit: contain;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.36));
  animation: crawl 1.5s ease-in-out both;
}

@keyframes crawl {
  0% {
    transform: translateX(0) rotate(0deg) scale(0.9);
  }
  55% {
    transform: translateX(calc(var(--crawl-x) * 0.58)) rotate(4deg) scale(1.03);
  }
  100% {
    transform: translateX(var(--crawl-x)) rotate(-2deg) scale(1);
  }
}

.octopus-lane[data-direction="center"] .crawler {
  animation: none;
  transform: translateX(0) rotate(0deg) scale(0.86);
}

.prediction-copy {
  padding: 0 24px 20px;
  color: #dbe9ef;
  line-height: 1.65;
}

.prediction-copy strong {
  color: var(--gold);
}

.daily-read {
  padding: 0 24px 22px;
  border-top: 1px solid var(--line);
}

.daily-read__head,
.daily-read__pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.daily-read__head {
  padding: 16px 0 12px;
}

.daily-read__head span,
.daily-read__pick span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.daily-read__head strong,
.daily-read__pick strong {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.daily-read__pick {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.daily-read__pick strong {
  color: #f4fbff;
}

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

.daily-read__row {
  position: relative;
  min-height: 78px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.daily-read__row span,
.daily-read__row strong {
  position: relative;
  z-index: 1;
  display: block;
}

.daily-read__row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.daily-read__row strong {
  margin-top: 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.daily-read__row i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.daily-read__empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.poll-panel {
  padding: 0 24px 22px;
  border-top: 1px solid var(--line);
}

.poll-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 0 12px;
}

.poll-head span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.poll-head strong {
  color: var(--muted);
  font-size: 13px;
}

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

.poll-option {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  padding: 12px;
  text-align: left;
  cursor: pointer;
}

.poll-option:hover,
.poll-option.is-selected {
  border-color: rgba(51, 255, 170, 0.55);
  background: rgba(51, 255, 170, 0.08);
}

.poll-option__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
}

.poll-option strong {
  font-size: 13px;
  line-height: 1.25;
}

.poll-option em {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.poll-bar {
  display: block;
  height: 6px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.poll-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.model-card {
  padding: 16px;
  border-right: 1px solid var(--line);
  min-height: 128px;
}

.model-card:last-child {
  border-right: 0;
}

.model-card--wide {
  grid-column: 1 / -1;
}

.model-card h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.model-card .vote {
  color: var(--green);
  font-weight: 900;
  margin-bottom: 8px;
}

.model-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 0;
}

.qwen-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: rgba(75, 185, 255, 0.07);
}

.qwen-panel h3 {
  margin-bottom: 6px;
}

.qwen-panel p:not(.eyebrow),
.qwen-result {
  color: var(--muted);
  line-height: 1.55;
}

.qwen-result {
  grid-column: 1 / -1;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(8, 16, 22, 0.58);
}

.qwen-result strong {
  color: var(--gold);
}

.qwen-result.is-loading {
  color: var(--blue);
}

.qwen-result.is-error {
  color: #ffb8bf;
  border-color: rgba(255, 93, 108, 0.45);
}

.automation {
  background: #071219;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof {
  background: #0b171f;
  border-bottom: 1px solid var(--line);
}

.proof-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(50, 240, 164, 0.2);
  border-radius: 8px;
  background: rgba(50, 240, 164, 0.12);
}

.proof-guide span {
  padding: 12px 14px;
  color: #dffcf1;
  background: rgba(10, 28, 31, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.verify {
  background: #071219;
  border-bottom: 1px solid var(--line);
}

.automation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.automation-grid div {
  min-height: 116px;
  padding: 20px;
  background: #10202a;
}

.automation-grid strong {
  display: block;
  color: var(--gold);
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1;
}

.automation-grid span,
.automation-actions span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.automation-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.public-trace {
  background: #08131a;
}

.trace-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #10202a;
  margin-bottom: 16px;
}

.trace-summary article {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.trace-summary article:last-child {
  border-right: 0;
}

.trace-summary strong {
  display: block;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

.trace-summary span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.trace-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10202a;
  overflow: hidden;
}

.trace-table {
  max-height: 720px;
  overflow: auto;
}

.trace-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(160px, 0.95fr) minmax(160px, 0.95fr) minmax(170px, 1fr) minmax(90px, 0.5fr);
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
}

.trace-row:first-child {
  border-top: 0;
}

.trace-row--correct {
  background: rgba(50, 240, 164, 0.09);
  box-shadow: inset 4px 0 0 rgba(50, 240, 164, 0.78);
}

.trace-row--head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #132b38;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trace-row strong,
.trace-row em {
  display: block;
}

.trace-row strong {
  color: #eff8fb;
  overflow-wrap: anywhere;
}

.trace-row em {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.trace-impact--win strong {
  color: var(--green);
}

.trace-impact--loss strong {
  color: var(--red);
}

.proof-ledger-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  background: rgba(16, 32, 42, 0.76);
}

.proof-ledger-stats div {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.proof-ledger-stats div:last-child {
  border-right: 0;
}

.proof-ledger-stats strong {
  display: block;
  color: var(--gold);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.proof-ledger-stats span,
.proof-ledger-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.proof-ledger-controls {
  display: grid;
  grid-template-columns: 180px minmax(220px, 1fr) auto minmax(220px, 0.9fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.proof-ledger-controls label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-ledger-controls select,
.proof-ledger-controls input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #102938;
  color: #eef7fb;
  padding: 0 14px;
  font: inherit;
  font-weight: 800;
}

.proof-ledger-controls .button {
  min-height: 44px;
}

.proof-ledger-status {
  align-self: center;
  text-transform: none;
}

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

.proof-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10202a;
  padding: 16px;
}

.proof-card__top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.winner-pill--warn {
  background: rgba(248, 200, 90, 0.13);
  color: var(--gold);
}

.proof-card__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.proof-card h3 {
  margin: 0;
}

.proof-card__heading .button {
  min-height: 34px;
  padding: 0 12px;
  white-space: nowrap;
}

.proof-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.proof-card dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
}

.proof-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-card dd {
  margin: 0;
  min-width: 0;
  color: #e8f3f8;
  overflow-wrap: anywhere;
}

.proof-card code {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.proof-card a {
  color: var(--green);
  font-weight: 900;
}

.proof-card__actions,
.proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.proof-card__actions .button,
.proof-actions .button {
  min-height: 38px;
}

.proof-verifier {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.proof-verifier textarea {
  width: 100%;
  min-height: 210px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 16, 22, 0.84);
  color: #e8f3f8;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.55;
}

.proof-actions span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.proof-result {
  margin-top: 14px;
}

.proof-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.proof-result-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10202a;
  padding: 14px;
}

.proof-result-card.is-pass {
  border-color: rgba(62, 230, 163, 0.42);
}

.proof-result-card.is-fail {
  border-color: rgba(255, 93, 108, 0.48);
}

.proof-result-card.is-warn {
  border-color: rgba(255, 205, 87, 0.5);
}

.proof-result-card strong {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.proof-result-card.is-fail strong {
  color: var(--red);
}

.proof-result-card.is-warn strong {
  color: var(--gold);
}

.proof-result-card span {
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.proof-result-card code {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.proof-download-inline {
  justify-self: start;
}

.verify-actions {
  display: grid;
  grid-template-columns: minmax(220px, 320px) auto minmax(220px, 1fr);
  align-items: center;
  gap: 14px;
}

.verify-actions span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.verify-token {
  text-transform: none;
  letter-spacing: 0;
}

.verify-report {
  margin-top: 18px;
}

.verify-note {
  color: var(--muted);
  line-height: 1.55;
  margin: 14px 0 0;
}

.verify-title {
  margin: 22px 0 10px;
  color: var(--gold);
}

.verify-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10202a;
  padding: 16px;
}

.verify-summary strong {
  color: var(--green);
  font-size: 22px;
}

.verify-summary.is-fail strong {
  color: var(--red);
}

.verify-summary span {
  color: var(--muted);
  font-weight: 800;
}

.verify-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.verify-check {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10202a;
  padding: 12px;
}

.verify-check span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.verify-check.is-fail span {
  color: var(--red);
}

.verify-check strong {
  display: block;
  color: #e8f3f8;
  overflow-wrap: anywhere;
}

.verify-health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.verify-health-card,
.verify-safe-check {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10202a;
  padding: 12px;
}

.verify-health-card.is-pass,
.verify-safe-check.is-pass {
  border-color: rgba(62, 230, 163, 0.42);
}

.verify-health-card.is-fail,
.verify-safe-check.is-fail {
  border-color: rgba(255, 93, 108, 0.48);
}

.verify-health-card span,
.verify-safe-check strong {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.verify-health-card.is-fail span,
.verify-safe-check.is-fail strong {
  color: var(--red);
}

.verify-health-card h3 {
  margin: 6px 0;
  color: #e8f3f8;
  font-size: 17px;
}

.verify-health-card p,
.verify-safe-check span {
  color: var(--muted);
  line-height: 1.55;
}

.verify-safe-check {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
}

.verify-report pre {
  margin: 12px 0 0;
  max-height: 340px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 16, 22, 0.75);
  color: #dbe9ef;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.verify-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.verify-group,
.verify-round {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10202a;
  padding: 12px;
}

.verify-group h4,
.verify-round h4 {
  margin: 0 0 10px;
  color: #e8f3f8;
}

.verify-group table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.verify-group th,
.verify-group td {
  padding: 7px 4px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.verify-group th {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.verify-rounds {
  display: grid;
  gap: 12px;
}

.verify-match {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(120px, auto);
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.verify-match span {
  color: var(--gold);
  font-weight: 900;
}

.verify-match strong {
  overflow-wrap: anywhere;
}

.verify-match em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.origin {
  background: #f7f3ea;
  color: #172129;
}

.origin .eyebrow {
  color: #0b7f63;
}

.origin .section-head p:not(.eyebrow),
.origin-note {
  color: #5d655f;
}

.origin-ritual {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.origin-ritual article {
  border: 1px solid rgba(23, 33, 41, 0.14);
  border-radius: 8px;
  background: #fffdf8;
  padding: 18px;
  min-height: 178px;
}

.origin-ritual span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #172129;
  color: #f8c85a;
  font-weight: 900;
  margin-bottom: 16px;
}

.origin-ritual p,
.origin-note {
  line-height: 1.62;
}

.origin-note {
  max-width: 860px;
  margin: 22px 0 0;
  font-weight: 700;
}

.groups {
  background: #0b171f;
}

.paul-reference {
  background: #f4f6f6;
  color: #14202a;
}

.paul-reference .eyebrow {
  color: #0b7f63;
}

.paul-reference .section-head p:not(.eyebrow) {
  color: #53616a;
}

.reference-frame {
  margin: 0;
  border-radius: 8px;
  border: 1px solid rgba(8, 16, 22, 0.12);
  background: white;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(8, 16, 22, 0.16);
}

.reference-frame img {
  display: block;
  width: 100%;
  height: auto;
}

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

.group-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10202a;
  padding: 16px;
}

.group-card h3 {
  margin-bottom: 14px;
  color: var(--gold);
}

.team-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  border-top: 1px solid var(--line);
  color: #e8f3f8;
}

.team-row span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.method-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10202a;
  padding: 18px;
}

.method-grid p,
.sources {
  color: var(--muted);
  line-height: 1.6;
}

.sources {
  margin: 24px 0 0;
  max-width: 980px;
}

@media (max-width: 980px) {
  .stats,
  .accuracy-lab-grid,
  .automation-grid,
  .layout,
  .group-grid,
  .origin-ritual,
  .method-grid,
  .verify-groups,
  .verify-checks,
  .verify-health-grid,
  .proof-ledger-stats,
  .trace-summary,
  .proof-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-ledger-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-ledger-status {
    grid-column: 1 / -1;
  }

  .trace-row {
    grid-template-columns: minmax(180px, 1.1fr) repeat(4, minmax(120px, 0.9fr));
  }

  .pk-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lane"
      "left"
      "right";
  }

  .pk-panel[data-direction="right"] .pk-stage {
    grid-template-areas:
      "left"
      "lane"
      "right";
  }

  .octopus-lane {
    min-height: 220px;
  }

  .crawler {
    width: min(520px, 82vw);
    max-height: 260px;
  }
}

@media (max-width: 700px) {
  .nav {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
    padding: 14px 16px 10px;
    background: linear-gradient(180deg, rgba(5, 14, 20, 0.88), rgba(5, 14, 20, 0.18));
    backdrop-filter: blur(14px);
  }

  .nav__links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    font-size: 12px;
  }

  .nav__links a,
  .nav__language {
    min-width: 0;
    min-height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    padding: 8px 9px;
    color: #dbe9ef;
    text-align: center;
  }

  .nav__language {
    grid-column: 1 / -1;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    text-align: left;
  }

  .nav__language span {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .nav__language select {
    flex: 1 1 180px;
    width: auto;
    min-width: 150px;
    min-height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(5, 18, 26, 0.84);
    color: #f4fbff;
    padding: 0 12px;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 86vh;
  }

  .hero__image {
    object-position: 58% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(4, 12, 18, 0.94) 0%, rgba(4, 12, 18, 0.72) 56%, rgba(4, 12, 18, 0.42) 100%),
      linear-gradient(0deg, var(--bg) 0%, rgba(8, 16, 22, 0.08) 48%);
  }

  h1 {
    font-size: clamp(38px, 13vw, 56px);
    line-height: 0.98;
  }

  .section-head h2 {
    font-size: clamp(28px, 10vw, 42px);
    line-height: 1.04;
  }

  .public-trace .section-head p:not(.eyebrow),
  .automation .section-head p:not(.eyebrow),
  .proof .section-head p:not(.eyebrow),
  .groups .section-head p:not(.eyebrow) {
    display: none;
  }

  .lede {
    font-size: 16px;
  }

  .band,
  .console,
  .method {
    padding: 34px 16px;
  }

  .disclaimer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .hero__content {
    width: calc(100% - 32px);
    margin: 0 16px 38px;
  }

  .hero__actions {
    gap: 10px;
  }

  .hero__actions .button {
    flex: 1 1 160px;
    min-height: 48px;
  }

  .toolbar,
  .verify-actions,
  .stats,
  .accuracy-lab-grid,
  .automation-grid,
  .layout,
  .group-grid,
  .method-grid,
  .verify-groups,
  .verify-checks,
  .verify-health-grid,
  .proof-ledger-stats,
  .trace-summary,
  .proof-ledger-controls,
  .proof-guide,
  .proof-result-grid,
  .proof-grid,
  .model-grid,
  .poll-options,
  .daily-read__bars,
  .qwen-panel {
    grid-template-columns: 1fr;
  }

  .stats,
  .proof-ledger-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats div,
  .accuracy-lab-grid article {
    min-height: 96px;
    padding: 18px;
  }

  .hit-list__items {
    grid-template-columns: 1fr;
  }

  .hit-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hit-card .button {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: start;
  }

  .stats strong,
  .accuracy-lab-grid strong {
    font-size: 34px;
  }

  .toolbar {
    gap: 10px;
  }

  select,
  input,
  .button {
    min-height: 48px;
  }

  .layout {
    gap: 14px;
  }

  .match-list {
    max-height: 360px;
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .match-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .match-card .winner-pill {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }

  .match-title > span:last-child {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .match-sub {
    line-height: 1.45;
  }

  .pk-panel {
    min-height: auto;
    border-radius: 8px;
  }

  .pk-topline {
    padding: 14px;
    line-height: 1.45;
    font-size: 12px;
  }

  .pk-stage {
    padding: 14px;
    gap: 12px;
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "lane lane"
      "left right";
  }

  .pk-panel[data-direction="right"] .pk-stage {
    grid-template-areas:
      "lane lane"
      "left right";
  }

  .octopus-lane {
    min-height: 176px;
  }

  .lane-line {
    left: 8%;
    right: 8%;
  }

  .crawler {
    width: min(330px, 78vw);
    max-height: 168px;
  }

  .team-side {
    min-height: 0;
    padding: 12px;
    gap: 12px;
    justify-content: flex-start;
  }

  .flag-frame {
    max-width: 82px;
  }

  .team-name {
    font-size: clamp(18px, 5vw, 23px);
    overflow-wrap: anywhere;
  }

  .team-code {
    font-size: 12px;
  }

  .language,
  .local-language {
    font-size: 11px;
  }

  .prediction-copy,
  .daily-read,
  .poll-panel,
  .qwen-panel {
    padding-left: 14px;
    padding-right: 14px;
  }

  .model-grid[hidden] {
    display: none;
  }

  .prediction-copy {
    padding-top: 0;
    font-size: 14px;
  }

  .daily-read__head,
  .daily-read__pick,
  .poll-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .daily-read__head strong,
  .daily-read__pick strong {
    text-align: left;
  }

  .poll-options {
    gap: 8px;
  }

  .poll-option {
    padding: 11px;
  }

  .qwen-panel .button {
    width: 100%;
  }

  .qwen-result {
    min-height: 64px;
  }

  .proof-verifier textarea {
    min-height: 220px;
  }

  .proof-card__top,
  .proof-card__actions,
  .proof-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .proof-card__actions .button,
  .proof-actions .button {
    width: 100%;
  }

  .proof-ledger-controls select,
  .proof-ledger-controls input {
    min-height: 48px;
  }

  .proof-card {
    padding: 14px;
  }

  .proof-card__heading {
    grid-template-columns: 1fr;
  }

  .proof-card__heading .button {
    width: 100%;
    min-height: 40px;
  }

  .proof-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .proof-result-card {
    padding: 12px;
  }

  .proof-ledger-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trace-summary article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-ledger-stats div:last-child {
    border-bottom: 0;
  }

  .trace-summary article:last-child {
    border-bottom: 0;
  }

  .trace-row,
  .trace-row--head {
    grid-template-columns: 1fr;
  }

  .trace-row--head {
    display: none;
  }

  .model-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pk-topline {
    flex-direction: column;
  }

  .verify-match {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand {
    font-size: 18px;
  }

  .nav__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 11px;
  }

  .nav__links a,
  .nav__language {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .nav__language select {
    flex-basis: 150px;
    min-width: 132px;
    font-size: 12px;
  }

  .hero {
    min-height: 82vh;
  }

  .band,
  .console,
  .method {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero__content {
    width: calc(100% - 24px);
    margin-left: 12px;
    margin-right: 12px;
  }

  .hero__content .lede {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button {
    flex-basis: auto;
    width: 100%;
  }

  .stats strong,
  .accuracy-lab-grid strong {
    font-size: 30px;
  }

  .match-list {
    max-height: 320px;
  }

  .match-card {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 11px 10px;
  }

  .match-no {
    font-size: 12px;
  }

  .match-flag {
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    height: 21px;
  }

  .octopus-lane {
    min-height: 150px;
  }

  .crawler {
    width: min(292px, 80vw);
    max-height: 144px;
  }

  .team-name {
    font-size: 20px;
  }

  .flag-frame {
    max-width: 72px;
  }

  .daily-read__row,
  .poll-option {
    min-height: 64px;
  }

  .proof-ledger-stats div {
    min-height: 86px;
  }

  .proof-ledger-stats strong {
    font-size: 30px;
  }

  .proof-verifier textarea {
    min-height: 190px;
    font-size: 11px;
  }
}
