:root {
  color-scheme: dark;
  --red: #d71920;
  --red-deep: #8f1018;
  --navy: #07131f;
  --navy-2: #0c1f33;
  --paper: #f7f7f5;
  --muted: #aab5bf;
  --line: rgba(255, 255, 255, 0.14);
  --card: rgba(8, 21, 34, 0.82);
  --card-strong: rgba(13, 32, 52, 0.95);
  --green: #46d38a;
  --amber: #ffcf66;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--paper);
  background:
    radial-gradient(circle at 8% 6%, rgba(215, 25, 32, 0.68), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.12), transparent 24rem),
    linear-gradient(135deg, #050b12 0%, #07131f 48%, #1d0810 100%);
}

body {
  min-height: 100vh;
  margin: 0;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(110deg, transparent 0 43%, rgba(255, 255, 255, 0.055) 43% 45%, transparent 45%),
    linear-gradient(110deg, transparent 0 54%, rgba(215, 25, 32, 0.28) 54% 56%, transparent 56%);
  opacity: 0.9;
}

.page-shell {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.update-counter {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin: 0 4px 12px;
  color: #dce3ea;
  font-size: 0.9rem;
  line-height: 1.35;
}

.update-counter span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 21, 34, 0.72);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
}

.update-counter strong {
  color: white;
  font-weight: 900;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 22px;
  min-height: 500px;
  overflow: hidden;
  isolation: isolate;
}

.hero,
.panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 27% 35%, rgba(215, 25, 32, 0.18), transparent 25rem),
    linear-gradient(90deg, rgba(5, 11, 18, 0), rgba(5, 11, 18, 0.42) 52%, rgba(5, 11, 18, 0.92) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  padding: clamp(18px, 2.6vw, 34px);
}

.eyebrow {
  margin: 0 0 12px;
  color: #ffb7b9;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  position: relative;
  max-width: 470px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5.9vw, 5.6rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow:
    0 4px 24px rgba(0, 0, 0, 0.72),
    0 1px 0 rgba(0, 0, 0, 0.28);
}

.intro {
  max-width: 690px;
  color: #dce3ea;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.6;
}

.hero-photo {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -2;
  width: min(44%, 570px);
  margin: 0;
  opacity: 0.98;
  filter: brightness(1.24) saturate(1.2) contrast(1.04);
  -webkit-mask-image:
    linear-gradient(90deg, #000 0%, #000 62%, transparent 100%),
    linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, #000 0%, #000 62%, transparent 100%),
    linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
  mask-composite: intersect;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 62%;
}

.status,
.fine-print,
.section-note {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

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

.hero-summary {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  align-content: center;
  padding: clamp(18px, 3vw, 32px);
  min-height: 264px;
}

.hero-next-game {
  min-height: 186px;
}

.hero-score div {
  min-height: 84px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.hero-score span,
.chance span,
.game-round,
.game-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-score strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  line-height: 1;
}

.panel {
  margin-top: 22px;
  padding: clamp(20px, 4vw, 34px);
}

.hero-next-card {
  display: grid;
  gap: 9px;
  padding: clamp(14px, 1.8vw, 20px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 0%, rgba(215, 25, 32, 0.22), transparent 55%),
    linear-gradient(145deg, rgba(5, 11, 18, 0.9), rgba(12, 31, 51, 0.76));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.hero-next-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.hero-next-card h2 {
  margin: 5px 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.next-match-title,
.upcoming-match-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.next-match-team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.next-match-team img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.upcoming-match-title .next-match-team img {
  width: 24px;
  height: 24px;
}

.next-match-v {
  color: var(--muted);
}

.hero-next-card p {
  margin-bottom: 0;
  color: #dce3ea;
  line-height: 1.42;
}

.hero-next-card .game-explainer {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-next-card .game-explainer a {
  font-weight: 400;
}

.hero-next-card .chance {
  min-width: 108px;
}

.hero-next-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.hero-next-details div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.hero-next-details dt {
  margin-bottom: 4px;
  color: #ffb7b9;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-next-details dd {
  margin: 0;
  color: #e6edf3;
  font-size: 0.9rem;
  line-height: 1.3;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-grid + .ladder-panel {
  margin-top: 44px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-head.compact {
  display: block;
  min-height: 136px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}

.model-intro {
  max-width: 940px;
  margin-bottom: 18px;
  color: #dce3ea;
  line-height: 1.55;
}

.model-intro p {
  margin-bottom: 0;
}

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

.model-card {
  display: grid;
  gap: 11px;
  min-height: 218px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.model-card--aggregate {
  background:
    radial-gradient(circle at 16% 0%, rgba(215, 25, 32, 0.2), transparent 58%),
    rgba(255, 255, 255, 0.055);
}

.model-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.model-card h3 {
  margin-bottom: 0;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.model-card h3 a {
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 3px;
}

.model-badge {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(70, 211, 138, 0.14);
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.model-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  align-self: end;
  margin: 0;
}

.model-card dl div {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.model-card dt {
  margin-bottom: 3px;
  color: #ffb7b9;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.model-card dd {
  margin: 0;
  color: #f7f7f5;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

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

.venue-card {
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.venue-card-link {
  display: grid;
  gap: 0;
  color: inherit;
  text-decoration: none;
  text-align: left;
  min-height: 100%;
}

.venue-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.venue-card-content {
  display: grid;
  gap: 6px;
  padding: 11px 12px 13px;
}

.venue-card h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.venue-meta {
  margin: 0;
  color: #ffb7b9;
  font-size: 0.75rem;
  font-weight: 700;
}

.venue-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.venue-link {
  align-self: start;
  margin-top: 3px;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: #ffb7b9;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

th button {
  all: unset;
  cursor: pointer;
  color: #ffb7b9;
  font: inherit;
}

th button::after {
  content: " ↕";
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
}

th button.is-active::after {
  content: " ↓";
  color: white;
}

.is-swans td {
  background: linear-gradient(90deg, rgba(215, 25, 32, 0.32), rgba(255, 255, 255, 0.04));
  color: white;
  font-weight: 800;
}

.ladder-team {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ladder-team img,
.ladder-team-fallback {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
}

.ladder-team img {
  object-fit: contain;
}

img[src$="/carlton.png"] {
  filter: brightness(1.45) saturate(1.1) hue-rotate(-12deg) drop-shadow(0 0 4px rgba(145, 208, 255, 0.5)) drop-shadow(0 0 10px rgba(111, 184, 255, 0.2));
}

.ladder-team-fallback {
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

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

.game-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card-strong);
}

.game-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.game-card p:last-child {
  grid-column: 1 / -1;
  margin: 0;
  color: #dce3ea;
  line-height: 1.55;
}

.game-card .game-explainer {
  color: var(--muted);
  font-size: 0.9rem;
}

.countdown-clock {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(215, 25, 32, 0.28), transparent 62%),
    linear-gradient(145deg, rgba(5, 11, 18, 0.96), rgba(12, 31, 51, 0.9));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 18px 48px rgba(0, 0, 0, 0.28);
}

.countdown-label,
.countdown-status {
  color: #ffb7b9;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.countdown-digits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.countdown-digits span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
}

.countdown-digits strong {
  color: white;
  font-family: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.08em;
  line-height: 1;
  text-shadow:
    0 0 18px rgba(215, 25, 32, 0.62),
    0 0 4px rgba(255, 255, 255, 0.22);
}

.countdown-digits small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.glossary-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.feature-card .glossary-list,
.feature-card .mini-list {
  grid-template-rows: repeat(4, minmax(88px, 1fr));
}

.glossary-list div,
.story-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.story-card--player {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
}

.story-card--player img {
  display: block;
  width: 52px;
  height: 62px;
  object-fit: contain;
  object-position: bottom center;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.04);
}

.glossary-list dt {
  margin-bottom: 4px;
  color: #ffb7b9;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.glossary-list dd {
  margin: 0;
  color: #e6edf3;
  line-height: 1.45;
}

.season-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.season-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 64px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
}

.season-chip strong {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  font-size: 0.76rem;
}

.season-chip.win strong {
  background: rgba(70, 211, 138, 0.22);
  color: var(--green);
}

.season-chip.loss strong {
  background: rgba(215, 25, 32, 0.24);
  color: #ff9da2;
}

.mini-list {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.mini-list p,
.story-card {
  margin: 0;
  color: #dce3ea;
  line-height: 1.5;
}

.mini-player,
.story-card {
  display: grid;
  align-items: center;
}

.mini-player {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
}

.mini-player img {
  width: 52px;
  height: 62px;
  object-fit: contain;
  object-position: bottom center;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.04);
}

.mini-player strong,
.mini-player small {
  display: block;
}

.mini-player small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}

.game-round,
.game-meta {
  margin-bottom: 6px;
}

.chance {
  align-self: start;
  min-width: 92px;
  padding: 12px;
  border-radius: 18px;
  text-align: center;
}

.chance strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.chance.strong {
  background: rgba(70, 211, 138, 0.18);
  color: var(--green);
}

.chance.lean {
  background: rgba(255, 207, 102, 0.16);
  color: var(--amber);
}

.chance.danger {
  background: rgba(215, 25, 32, 0.18);
  color: #ff8f94;
}

.chance.neutral {
  background: rgba(255, 255, 255, 0.08);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.finals-panel {
  overflow-x: auto;
  overflow-y: hidden;
}

.finals-panel .section-head,
.finals-panel .section-head > div,
.finals-panel .section-note {
  width: 100%;
  max-width: none;
}

[data-finals] {
  min-height: 520px;
}

.finals-panel .section-head {
  margin-bottom: 34px;
}

.source-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.finals-step-label {
  margin: 0;
  color: #ffb7b9;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.finals-bracket {
  display: flex;
  gap: 0;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  min-height: 520px;
  overflow: visible;
  padding-top: 8px;
}

.bracket-round {
  display: grid;
  grid-template-rows: auto 1fr;
  flex: 1 1 0;
  min-width: 0;
}

.bracket-round h3 {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.bracket-round ul {
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bracket-slot {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding-right: 9px;
}

.bracket-slot::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 9px;
  border-top: 1px solid rgba(255, 183, 185, 0.62);
  content: "";
}

.bracket-round:last-child .bracket-slot::after,
.bracket-round--premier .bracket-slot::after {
  display: none;
}

.bracket-slot--top::before,
.bracket-slot--bottom::before {
  position: absolute;
  right: 0;
  width: 9px;
  border-right: 1px solid rgba(255, 183, 185, 0.62);
  content: "";
}

.bracket-slot--top::before {
  top: 50%;
  bottom: -50%;
  border-top: 1px solid rgba(255, 183, 185, 0.62);
}

.bracket-slot--bottom::before {
  top: -50%;
  bottom: 50%;
  border-bottom: 1px solid rgba(255, 183, 185, 0.62);
}

.bracket-spacer {
  flex: 1 1 24px;
  min-height: 18px;
}

.bracket-spacer--small {
  flex-basis: 18px;
}

.bracket-spacer--medium {
  flex-basis: 34px;
}

.bracket-spacer--large {
  flex-basis: 54px;
}

.bracket-spacer--xlarge {
  flex-basis: 120px;
}

.finals-match-card {
  display: grid;
  width: calc(100% - 9px);
  gap: 3px;
  padding: 0;
}

.bracket-round--grand .finals-match-card,
.finals-match-card--premier {
  position: relative;
  width: calc(100% - 9px);
}

.finals-match-card--premier::before,
.finals-match-card--premier::after {
  position: absolute;
  z-index: 0;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.finals-match-card--premier::before {
  top: 4px;
  left: 12px;
  animation: swans-firework 2.6s ease-out infinite;
  box-shadow:
    0 0 0 0 #ffeff0,
    16px -12px 0 0 #e21d2f,
    30px 1px 0 0 #ffffff,
    21px 18px 0 0 #e21d2f,
    -2px 18px 0 0 #ffffff,
    -14px 2px 0 0 #e21d2f,
    18px 5px 0 0 #ffb7b9;
}

.finals-match-card--premier::after {
  right: 10px;
  bottom: 8px;
  animation: swans-firework 2.6s ease-out 0.85s infinite;
  box-shadow:
    0 0 0 0 #ffffff,
    13px -16px 0 0 #e21d2f,
    29px -4px 0 0 #ffb7b9,
    23px 17px 0 0 #ffffff,
    1px 20px 0 0 #e21d2f,
    -13px 2px 0 0 #ffffff,
    12px 2px 0 0 #e21d2f;
}

.finals-match-card--premier .bracket-team {
  position: relative;
  z-index: 1;
}

@keyframes swans-firework {
  0% {
    opacity: 0;
    transform: scale(0.2);
  }

  18% {
    opacity: 1;
  }

  72% {
    opacity: 0.95;
    transform: scale(1.18);
  }

  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

.finals-match-label {
  display: none;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.finals-match-teams {
  display: grid;
  gap: 2px;
}

.bracket-team {
  display: grid;
  grid-template-columns: auto 15px minmax(0, 1fr);
  gap: 3px;
  align-items: center;
  min-height: 23px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
}

.bracket-team.is-projected-winner {
  border-color: rgba(70, 211, 138, 0.45);
  background: rgba(70, 211, 138, 0.13);
}

.bracket-team.is-swans {
  box-shadow: inset 0 0 0 1px rgba(255, 183, 185, 0.32);
}

.bracket-rank {
  color: #ffb7b9;
  font-size: 0.6rem;
  font-weight: 950;
}

.bracket-logo {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
}

.bracket-logo img {
  display: block;
  max-width: 14px;
  max-height: 14px;
  object-fit: contain;
}

.bracket-team-fallback {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 900;
}

.bracket-name {
  overflow: hidden;
  color: white;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finals-versus {
  color: #ffb7b9;
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.recent-list,
.source-list,
.news-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recent-list li,
.source-list li,
.news-list li {
  display: grid;
  gap: 5px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.recent-list li.recent-match {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 0;
}

.recent-logo {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.recent-logo img {
  display: block;
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
}

.recent-logo-fallback {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.recent-meta {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.recent-team--loser {
  opacity: 0.72;
}

.recent-team strong,
.recent-team small {
  display: block;
}

.recent-team strong {
  overflow: hidden;
  color: #f7f7f5;
  font-size: 1.12rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-team small {
  margin-top: 2px;
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.1;
}

.recent-v {
  color: #ffb7b9;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.recent-result-mark {
  display: grid;
  width: 118px;
  min-height: 34px;
  place-items: center;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.recent-match.is-win .recent-result-mark {
  background: rgba(70, 211, 138, 0.2);
  color: var(--green);
}

.recent-match.is-loss .recent-result-mark {
  background: rgba(215, 25, 32, 0.22);
  color: #ff9da2;
}

.recent-list span,
.source-list span {
  color: var(--muted);
  line-height: 1.5;
}

.source-list {
  gap: 8px;
}

.source-list li {
  display: block;
  padding-bottom: 8px;
}

.source-list a {
  color: white;
}

.sources-panel .fine-print {
  margin-top: 16px;
}

.stats-table td {
  white-space: nowrap;
}

.table-player {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  outline: none;
}

.table-player[data-position]::after {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 30;
  min-width: max-content;
  max-width: 220px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(215, 25, 32, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  color: white;
  content: attr(data-position);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.table-player[data-position]::before {
  position: absolute;
  left: 13px;
  bottom: calc(100% + 3px);
  z-index: 31;
  width: 9px;
  height: 9px;
  background: rgba(215, 25, 32, 0.94);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: rotate(45deg) translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.table-player[data-position]:hover::after,
.table-player[data-position]:focus-visible::after,
.table-player[data-position]:hover::before,
.table-player[data-position]:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.table-player[data-position]:hover::before,
.table-player[data-position]:focus-visible::before {
  transform: rotate(45deg) translateY(0);
}

.table-player-thumb {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: contain;
  object-position: bottom center;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.1), transparent 54%),
    rgba(255, 255, 255, 0.045);
}

.table-player-thumb--empty {
  opacity: 0.38;
}

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

.person-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 168px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card-strong);
}

.person-card img {
  display: block;
  width: 112px;
  height: 132px;
  object-fit: contain;
  object-position: bottom center;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.04);
}

.coach-card img {
  object-fit: cover;
}

.person-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.person-card p {
  margin-bottom: 0;
  color: #dce3ea;
  line-height: 1.45;
}

.person-number,
.person-meta {
  color: var(--muted) !important;
  font-size: 0.86rem;
}

.person-number {
  margin-bottom: 5px !important;
  font-weight: 800;
}

a {
  color: white;
  font-weight: 800;
}

@media (max-width: 920px) {
  .topbar,
  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .section-head.compact {
    min-height: 0;
  }

  .hero,
  .split,
  .games-grid,
  .model-grid,
  .feature-grid,
  .person-grid {
    grid-template-columns: 1fr;
  }

  .finals-bracket {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 20px, 1280px);
    padding-top: 18px;
  }

  .update-counter {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    margin: 0 0 10px;
  }

  .update-counter span {
    border-radius: 16px;
  }

  .hero,
  .panel {
    border-radius: 22px;
  }

  .hero-score {
    grid-template-columns: 1fr;
  }

  .hero-score .wide {
    grid-column: auto;
  }

  .game-card {
    grid-template-columns: 1fr;
  }

  .chance {
    width: 100%;
  }

  .hero-photo {
    inset: 0 auto 0 0;
    width: 100%;
    opacity: 0.56;
    filter: brightness(1.22) saturate(1.16) contrast(1.04);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 48%, transparent 88%);
    mask-image: linear-gradient(180deg, #000 0%, #000 48%, transparent 88%);
  }

  .countdown-digits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .person-card {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 142px;
    padding: 13px;
  }

  .person-card img {
    width: 86px;
    height: 108px;
  }

  .recent-list li.recent-match,
  .recent-scoreline {
    grid-template-columns: 1fr;
  }

  .recent-result-mark {
    width: 100%;
  }
}

@media (max-width: 1240px) {
  .venue-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .venue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .venue-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .finals-match-card--premier::before,
  .finals-match-card--premier::after {
    animation: none;
    opacity: 0.24;
    transform: scale(1);
  }
}
