:root {
  --ink: #34413f;
  --muted: #697873;
  --paper: #fbf6ea;
  --panel: #fffdf6;
  --panel-strong: #eef5ec;
  --line: #dfd7c8;
  --charcoal: #34413f;
  --charcoal-soft: #51625e;
  --red: #df7b73;
  --teal: #72aeb1;
  --green: #91b991;
  --gold: #e8c76f;
  --violet: #9aa4cf;
  --blue: #bdd8df;
  --peach: #f2b996;
  --shadow: 0 16px 0 rgba(210, 197, 173, 0.5), 0 24px 42px rgba(96, 83, 61, 0.14);
  --paper-shadow: 0 5px 0 rgba(215, 205, 184, 0.65), 0 14px 26px rgba(96, 83, 61, 0.12);
  --inset-paper: inset 0 0 0 1px rgba(255, 255, 255, 0.74), inset 0 -3px 0 rgba(213, 204, 183, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20px 18px, rgba(139, 125, 96, 0.08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 7px 32px, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.5px),
    linear-gradient(90deg, rgba(189, 216, 223, 0.12) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(145, 185, 145, 0.1) 0 1px, transparent 1px 100%),
    var(--paper);
  background-size: 44px 44px, 38px 38px, 54px 54px, 54px 54px;
  letter-spacing: 0;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 5vw, 72px);
  background: rgba(255, 253, 246, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(179, 164, 135, 0.28);
  box-shadow: 0 6px 0 rgba(216, 207, 187, 0.42);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  color: var(--ink);
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 45%, rgba(101, 57, 37, 0.72) 46% 54%, transparent 55%),
    radial-gradient(circle at 50% 50%, transparent 0 48%, rgba(101, 57, 37, 0.72) 49% 53%, transparent 54%),
    #df8d52;
  border: 4px solid #fffdf6;
  box-shadow: 0 0 0 1px rgba(114, 94, 61, 0.2), 0 4px 0 rgba(213, 204, 183, 0.78);
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 720;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(189, 216, 223, 0.36);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 640px;
  padding: clamp(40px, 8vw, 96px) clamp(16px, 5vw, 72px) 36px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(233, 246, 245, 0.94), rgba(251, 246, 234, 0.96) 72%),
    var(--blue);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 9% 22%, #fffdf6 0 42px, transparent 43px),
    radial-gradient(circle at 15% 22%, #fffdf6 0 28px, transparent 29px),
    radial-gradient(circle at 82% 20%, #fffdf6 0 34px, transparent 35px),
    radial-gradient(circle at 88% 20%, #fffdf6 0 52px, transparent 53px),
    linear-gradient(180deg, transparent 0 54%, rgba(189, 216, 223, 0.45) 54% 64%, rgba(145, 185, 145, 0.46) 64% 76%, rgba(247, 228, 185, 0.58) 76% 100%);
  opacity: 0.86;
}

#heroCanvas {
  position: fixed;
  inset: 0;
  z-index: 12;
  width: 100vw;
  height: 100vh;
  opacity: 0.95;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 14;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #4f8f91;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.1rem, 5.9rem, 5.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 2.8rem, 2.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0;
}

.hero-lede {
  margin: 22px 0 0;
  max-width: 580px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 5px 0 rgba(184, 151, 123, 0.35);
}

.primary-action {
  background: var(--red);
  color: #fff;
  border: 2px solid #fffdf6;
}

.secondary-action {
  color: var(--ink);
  border: 2px solid #fffdf6;
  background: rgba(255, 253, 246, 0.76);
}

.title-fight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(132px, 0.72fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 260px;
  border: 5px solid #fffdf6;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow), var(--inset-paper);
}

.team-side,
.win-core {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: clamp(16px, 2vw, 24px);
  min-width: 0;
}

.team-side strong {
  max-width: 100%;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1;
  white-space: nowrap;
}

.team-side span:last-child {
  font-size: clamp(3rem, 5.5rem, 5.5rem);
  line-height: 0.9;
  font-weight: 950;
  color: var(--ink);
}

.team-side-right {
  align-items: flex-end;
  text-align: right;
}

.seed-pill {
  width: fit-content;
  min-width: 34px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
  border: 3px solid #fffdf6;
  box-shadow: 0 3px 0 rgba(190, 171, 108, 0.42);
}

.win-core {
  align-items: center;
  text-align: center;
  border-left: 1px dashed rgba(139, 125, 96, 0.28);
  border-right: 1px dashed rgba(139, 125, 96, 0.28);
  background: var(--panel-strong);
}

.win-core span {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 950;
  color: #4f8f91;
  white-space: nowrap;
}

.win-core small {
  color: var(--muted);
  line-height: 1.35;
}

.metric-strip {
  position: relative;
  z-index: 14;
  max-width: 1280px;
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 5px solid #fffdf6;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--paper-shadow), var(--inset-paper);
}

.hero-metric {
  padding: 18px;
  border-right: 1px dashed rgba(139, 125, 96, 0.22);
  min-width: 0;
}

.hero-metric:last-child {
  border-right: 0;
}

.metric-value {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 950;
  color: var(--ink);
}

.metric-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.83rem;
}

.band,
.split-band {
  padding: 68px clamp(16px, 5vw, 72px);
}

.band {
  background: rgba(251, 246, 234, 0.9);
}

.split-band {
  background: #f4f0e5;
}

.contrast {
  background: #e9f2ee;
}

.model-band {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 253, 246, 0.88) 0 30px, transparent 31px),
    radial-gradient(circle at 86% 22%, rgba(255, 253, 246, 0.72) 0 42px, transparent 43px),
    #dcebf0;
  color: var(--ink);
}

.section-head {
  position: relative;
  z-index: 14;
  max-width: 1280px;
  margin: 0 auto 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-head.full {
  align-items: center;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.segmented.wide {
  max-width: 680px;
}

.segment-button {
  min-height: 36px;
  padding: 8px 11px;
  border: 2px solid #fffdf6;
  border-radius: 999px;
  color: var(--muted);
  background: var(--panel);
  font-weight: 800;
  box-shadow: 0 3px 0 rgba(211, 200, 177, 0.55);
}

.segment-button.active {
  color: var(--ink);
  background: var(--gold);
  border-color: #fffdf6;
}

.model-band .segment-button {
  background: var(--panel);
  color: var(--muted);
  border-color: #fffdf6;
}

.bracket-stage {
  position: relative;
  z-index: 14;
  max-width: 1280px;
  margin: 0 auto;
}

.bracket-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
  align-items: start;
}

.round-column {
  min-width: 0;
}

.round-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  color: #5d8f87;
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.game-card {
  position: relative;
  margin-bottom: 10px;
  padding: 13px;
  border: 4px solid #fffdf6;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--paper-shadow), var(--inset-paper);
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--peach);
}

.game-matchup {
  display: grid;
  gap: 6px;
}

.team-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.team-row .team-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.team-row .score {
  font-weight: 900;
}

.winner-row {
  color: var(--ink);
  font-weight: 900;
}

.loser-row {
  color: var(--muted);
}

.prob-line {
  height: 7px;
  margin-top: 12px;
  background: #eadfcc;
  border-radius: 999px;
  overflow: hidden;
}

.prob-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.game-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.region-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
}

.region-card {
  min-width: 0;
  padding: 18px;
  border: 5px solid #fffdf6;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--paper-shadow), var(--inset-paper);
}

.region-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.path-list {
  display: grid;
  gap: 10px;
}

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

.path-item span:first-child {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.path-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.odds-layout {
  position: relative;
  z-index: 14;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
}

.chart-panel,
.team-spotlight,
.model-card,
.team-table-wrap {
  border: 5px solid #fffdf6;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--paper-shadow), var(--inset-paper);
}

.chart-panel {
  padding: 18px;
}

.chart {
  display: grid;
  gap: 10px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(130px, 190px) minmax(0, 1fr) 72px;
  gap: 12px;
  align-items: center;
  min-height: 38px;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
}

.bar-row:hover,
.bar-row.active {
  border-color: rgba(114, 174, 177, 0.42);
  background: rgba(189, 216, 223, 0.22);
}

.bar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 900;
}

.bar-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bar-track {
  height: 22px;
  background: #eadfcc;
  border-radius: 5px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--peach), var(--gold), var(--green));
}

.bar-value {
  text-align: right;
  font-weight: 950;
}

.team-spotlight {
  padding: 20px;
  align-self: start;
}

.spotlight-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.spotlight-head h3 {
  font-size: 1.7rem;
  line-height: 1.05;
}

.team-rank {
  display: inline-flex;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
  border: 4px solid #fffdf6;
  box-shadow: 0 4px 0 rgba(190, 171, 108, 0.42);
  font-weight: 950;
}

.spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.meta-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--panel-strong);
  border: 2px solid #fffdf6;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.round-ladder {
  display: grid;
  gap: 9px;
}

.ladder-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 58px;
  gap: 10px;
  align-items: center;
}

.ladder-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.ladder-track {
  height: 10px;
  background: #eadfcc;
  border-radius: 999px;
  overflow: hidden;
}

.ladder-fill {
  height: 100%;
  width: var(--w);
  background: var(--teal);
}

.spotlight-scores {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.score-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 56px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.score-track {
  height: 9px;
  border-radius: 999px;
  background: #eadfcc;
  overflow: hidden;
}

.score-fill {
  width: var(--w);
  height: 100%;
  background: var(--green);
}

.upset-grid {
  position: relative;
  z-index: 14;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
}

.upset-card {
  position: relative;
  min-height: 190px;
  padding: 16px;
  border: 5px solid #fffdf6;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--paper-shadow), var(--inset-paper);
  overflow: hidden;
}

.upset-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--peach), var(--gold), var(--green));
}

.upset-prob {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 950;
  color: #bb6b60;
}

.upset-region {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.upset-match {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.upset-match strong {
  line-height: 1.1;
}

.upset-match span {
  color: var(--muted);
  font-size: 0.88rem;
}

.model-grid {
  position: relative;
  z-index: 14;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.build-band {
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 253, 246, 0.82) 0 42px, transparent 43px),
    radial-gradient(circle at 88% 18%, rgba(189, 216, 223, 0.42) 0 72px, transparent 73px),
    #f4efe1;
}

.build-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 10px;
  max-width: 560px;
}

.proof-chip {
  min-width: 0;
  padding: 10px 12px;
  border: 4px solid #fffdf6;
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.86);
  box-shadow: 0 4px 0 rgba(211, 200, 177, 0.55), var(--inset-paper);
}

.proof-chip strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.05;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.proof-chip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 820;
}

.build-layout {
  position: relative;
  z-index: 14;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
  gap: 18px;
  align-items: start;
}

.build-story {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.story-card,
.process-step,
.artifact-card {
  border: 5px solid #fffdf6;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--paper-shadow), var(--inset-paper);
}

.story-card {
  padding: 22px;
}

.lead-story h3 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2rem, 2rem);
  line-height: 1.04;
}

.lead-story p {
  max-width: 840px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.brief-card {
  min-width: 0;
  padding: 18px;
  border: 5px solid #fffdf6;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 253, 246, 0.96), rgba(238, 245, 236, 0.9));
  box-shadow: var(--paper-shadow), var(--inset-paper);
}

.brief-card span {
  display: block;
  margin-bottom: 8px;
  color: #5d8f87;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.brief-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.brief-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
  font-size: 0.92rem;
}

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

.process-step {
  position: relative;
  min-width: 0;
  padding: 16px;
  overflow: hidden;
}

.process-step::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(189, 216, 223, 0.26);
  border: 8px solid rgba(255, 253, 246, 0.72);
}

.process-step span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 12px;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid #fffdf6;
  box-shadow: 0 3px 0 rgba(190, 171, 108, 0.42);
  font-weight: 950;
  font-size: 0.86rem;
}

.process-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.process-step p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
  font-size: 0.92rem;
}

.artifact-board {
  display: grid;
  gap: 14px;
}

.artifact-card {
  padding: 18px;
}

.artifact-card h3 {
  margin-bottom: 10px;
}

.artifact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.model-card {
  padding: 18px;
  background: rgba(255, 253, 246, 0.9);
  border-color: #fffdf6;
  box-shadow: var(--paper-shadow), var(--inset-paper);
}

.model-card h3 {
  margin-bottom: 18px;
}

.weight-bars {
  display: grid;
  gap: 12px;
}

.weight-row {
  display: grid;
  gap: 7px;
}

.weight-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-weight: 850;
}

.weight-track {
  height: 12px;
  border-radius: 999px;
  background: #eadfcc;
  overflow: hidden;
}

.weight-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--blue), var(--green), var(--gold));
}

.metric-list {
  display: grid;
  gap: 10px;
}

.small-metric {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(139, 125, 96, 0.22);
}

.small-metric span {
  color: var(--muted);
}

.small-metric strong {
  text-align: right;
}

.feature-card {
  grid-column: span 1;
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature-item {
  padding: 10px;
  border-radius: 8px;
  background: rgba(238, 245, 236, 0.9);
  color: var(--muted);
  border: 2px solid #fffdf6;
  line-height: 1.35;
}

.table-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.table-controls input,
.table-controls select {
  min-height: 40px;
  border: 3px solid #fffdf6;
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  padding: 9px 11px;
  box-shadow: 0 3px 0 rgba(211, 200, 177, 0.55);
}

.team-table-wrap {
  position: relative;
  z-index: 14;
  max-width: 1280px;
  margin: 0 auto;
  overflow-x: auto;
}

.team-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

.team-table th,
.team-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.team-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.team-table tbody tr {
  cursor: pointer;
}

.team-table tbody tr:hover {
  background: rgba(189, 216, 223, 0.24);
}

.team-table .team-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 900;
}

.team-table .team-cell span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.seed-dot {
  display: inline-flex;
  min-width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid #fffdf6;
  font-size: 0.8rem;
  font-weight: 950;
  box-shadow: 0 2px 0 rgba(190, 171, 108, 0.42);
}

.empty-state {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1120px) {
  .hero-grid,
  .odds-layout,
  .build-layout {
    grid-template-columns: 1fr;
  }

  .title-fight {
    max-width: 760px;
  }

  .metric-strip,
  .build-proof,
  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bracket-columns,
  .region-overview,
  .upset-grid,
  .pool-brief,
  .process-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 3.25rem;
  }

  .title-fight {
    grid-template-columns: 1fr;
  }

  .win-core {
    border-left: 0;
    border-right: 0;
    border-top: 1px dashed rgba(139, 125, 96, 0.28);
    border-bottom: 1px dashed rgba(139, 125, 96, 0.28);
  }

  .team-side-right {
    align-items: flex-start;
    text-align: left;
  }

  .metric-strip,
  .bracket-columns,
  .region-overview,
  .upset-grid,
  .pool-brief,
  .build-proof,
  .process-rail,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .section-head.full {
    align-items: flex-start;
    flex-direction: column;
  }

  .segmented {
    justify-content: flex-start;
  }

  .bar-row {
    grid-template-columns: minmax(0, 1fr) 70px;
  }

  .bar-track {
    grid-column: 1 / -1;
    order: 3;
  }

  .ladder-row,
  .score-row {
    grid-template-columns: 96px minmax(0, 1fr) 52px;
  }
}
