:root {
  --bg: #070806;
  --bg-deep: #030403;
  --surface: #0e100d;
  --surface-2: #15170f;
  --surface-3: #1c1c14;
  --gold: #f5c400;
  --gold-2: #ffe072;
  --gold-soft: rgba(245, 196, 0, 0.14);
  --gold-line: rgba(245, 196, 0, 0.42);
  --text: #f4efe2;
  --muted: #bdb5a2;
  --dim: #817a6c;
  --line: rgba(244, 239, 226, 0.14);
  --line-strong: rgba(244, 239, 226, 0.24);
  --live: #ff5348;
  --success: #65d990;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.46);
  --radius: 8px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 44px;
  --font-display: "Sora", "Aptos Display", "Segoe UI Variable Display", ui-sans-serif, sans-serif;
  --font-body: "Manrope", "Aptos", "Segoe UI Variable Text", ui-sans-serif, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  color-scheme: dark;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(245, 196, 0, 0.05) 0, transparent 210px),
    linear-gradient(90deg, rgba(245, 196, 0, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(245, 196, 0, 0.028) 1px, transparent 1px),
    var(--bg-deep);
  background-size: auto, 96px 96px, 96px 96px, auto;
  color: var(--text);
  font-family: var(--font-body);
  text-rendering: geometricPrecision;
  overflow-x: clip;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
.locale-option:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
p {
  margin: 0;
}

.frame {
  width: calc(100% - 48px);
  max-width: 1180px;
  margin-inline: auto;
}

.topbar,
.topbar-inner,
.page-stack,
.hero-card,
.broadcast-panel,
.broadcast-copy,
.broadcast-board,
.schedule-layout,
.match-column,
.match-list,
.news-panel,
.news-viewport,
.news-grid,
.ad-slot {
  max-width: 100%;
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(245, 196, 0, 0.18);
  background: rgba(3, 4, 3, 0.9);
  backdrop-filter: blur(18px);
}

.topbar::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 196, 0, 0.82), transparent);
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 78px;
  align-items: center;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  justify-self: start;
}

.brand-mark,
.brand-mark picture,
.brand-mark img {
  display: block;
  width: 58px;
  height: 58px;
}

.brand-mark {
  filter: drop-shadow(0 0 18px rgba(245, 196, 0, 0.34));
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-kicker {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 239, 226, 0.04);
  padding: 5px;
}

.nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  padding: 0 14px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav a.active {
  background: var(--gold);
  color: #090907;
}

.locale {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-self: end;
  gap: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(244, 239, 226, 0.055);
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 0 13px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.locale:hover {
  border-color: var(--gold-line);
  background: rgba(245, 196, 0, 0.1);
}

.locale-picker {
  position: relative;
  display: inline-flex;
  justify-self: end;
  width: max-content;
}

.locale-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 40;
  display: grid;
  min-width: 158px;
  gap: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(10, 11, 9, 0.98);
  box-shadow: var(--shadow);
  padding: 6px;
}

.locale-menu[hidden] {
  display: none !important;
}

html[dir="rtl"] .locale-menu {
  right: auto;
  left: 0;
}

.locale-option {
  display: inline-flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 9px 10px;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.locale-option:hover {
  border-color: var(--gold-line);
  color: var(--text);
}

.locale-option.active {
  border-color: var(--gold-line);
  background: rgba(245, 196, 0, 0.13);
  color: var(--gold);
}

.page-stack {
  display: grid;
  gap: var(--space-5);
  padding: 24px 0 72px;
}

.section-kicker,
.ad-slot span,
.board-label {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ad-slot {
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(245, 196, 0, 0.12), rgba(20, 19, 12, 0.9) 42%, rgba(245, 196, 0, 0.06)),
    repeating-linear-gradient(45deg, rgba(245, 196, 0, 0.05) 0 1px, transparent 1px 12px);
  color: var(--muted);
  text-align: center;
}

.ad-slot strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 950;
}

.banner-link,
.banner-link img {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-link img {
  object-fit: cover;
}

.ad-top {
  width: 100%;
  aspect-ratio: 970 / 90;
  max-width: 100%;
  min-height: 0;
  justify-self: center;
}

.ad-top .banner-link img {
  object-fit: contain;
}

.sponsor-slot {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.34);
  border-radius: var(--radius);
  background: rgba(7, 8, 6, 0.78);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.sponsor-slot picture,
.sponsor-slot img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.sponsor-slot img {
  height: auto;
  object-fit: contain;
}

.sponsor-footer {
  aspect-ratio: 1423 / 76;
}

.sponsor-footer img {
  height: 100%;
}

.match-sponsor {
  aspect-ratio: 993 / 130;
  scroll-margin-top: 96px;
}

.match-sponsor img {
  height: 100%;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  align-items: stretch;
  min-width: 0;
}

.broadcast-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 310px);
  gap: var(--space-4);
  min-width: 0;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(5, 6, 5, 0.98) 0%, rgba(5, 6, 5, 0.86) 48%, rgba(5, 6, 5, 0.42) 100%),
    url("./assets/world-cup-hero.png") center / cover;
  box-shadow: var(--shadow);
}

.broadcast-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 196, 0, 0.18), transparent 1px) 0 0 / 52px 52px,
    linear-gradient(180deg, rgba(245, 196, 0, 0.12), transparent 1px) 0 0 / 52px 52px;
  mask-image: linear-gradient(90deg, black, transparent 68%);
  opacity: 0.34;
  pointer-events: none;
}

.broadcast-panel::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 210px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.9;
}

.broadcast-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 540px;
  padding: 34px;
}

.hero-card h1 {
  margin-top: 15px;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.8vw, 58px);
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-card h1 .hero-line,
.hero-card h1 .hero-highlight {
  display: block;
}

.hero-highlight,
.section-heading h2 span,
.follow-band h2 span {
  color: var(--gold);
}

.hero-text {
  max-width: 460px;
  margin-top: 18px;
  color: rgba(244, 239, 226, 0.82);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button,
.stream-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  padding: 0 18px;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.button.primary,
.stream-button {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(245, 196, 0, 0.18);
  color: #090907;
}

.button.primary:hover,
.stream-button:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.button.secondary {
  background: rgba(244, 239, 226, 0.055);
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--gold-line);
  background: rgba(245, 196, 0, 0.1);
}

.refresh-button {
  min-height: 38px;
  padding: 0 14px;
}

.broadcast-board {
  position: relative;
  align-self: end;
  justify-self: end;
  z-index: 1;
  min-width: 0;
  width: min(100%, 310px);
  margin: 0 28px 28px 0;
  border: 1px solid rgba(245, 196, 0, 0.35);
  border-radius: var(--radius);
  background: rgba(7, 8, 6, 0.82);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  padding: 18px;
}

.board-brand {
  margin-top: 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
}

.board-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 16px;
}

.board-strip span {
  display: grid;
  min-width: 0;
  min-height: 28px;
  place-items: center;
  border: 1px solid rgba(245, 196, 0, 0.22);
  border-radius: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.tournament-pill {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
  text-transform: uppercase;
}

.pill-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 950;
}

.tournament-pill strong {
  display: block;
  color: var(--text);
  font-size: 11px;
  font-weight: 950;
}

.tournament-pill em {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.ad-hero {
  display: none;
  aspect-ratio: 300 / 250;
  align-self: start;
  max-width: 300px;
  min-height: 0;
  justify-self: end;
}

.ad-hero-mobile {
  display: none;
}

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.section-heading.compact {
  align-items: center;
  margin-bottom: var(--space-3);
}

.section-heading h2,
.follow-band h2 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 950;
  line-height: 0.94;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-heading h2 span {
  display: inline;
}

.heading-line,
.kicker-line {
  width: 66px;
  height: 2px;
  margin-top: 12px;
  background: var(--gold);
}

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

.empty-card,
.match-card,
.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 16, 13, 0.86);
}

.empty-card {
  display: grid;
  min-height: 104px;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.match-card {
  position: relative;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: center;
  min-height: 92px;
  width: 100%;
  overflow: hidden;
  padding: 16px 18px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.match-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
  transition: background 0.2s ease;
}

.match-card:hover,
.match-card:focus-visible {
  border-color: var(--gold-line);
  background: rgba(18, 20, 15, 0.98);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.match-card:hover::before,
.match-card:focus-visible::before {
  background: var(--gold);
}

.match-time {
  display: grid;
  gap: 5px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.match-time small {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--dim);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-main {
  min-width: 0;
}

.match-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

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

.team-side:last-child {
  justify-content: flex-end;
  text-align: right;
}

.team-side span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-vs {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.match-score {
  display: inline-flex;
  min-width: 54px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.12);
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.match-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.team-logo {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  object-fit: contain;
}

.team-logo.empty {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(244, 239, 226, 0.04);
}

.match-meta {
  margin-top: 7px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.match-stats {
  min-height: 15px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.match-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.match-stream-button {
  min-height: 32px;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.match-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 196, 0, 0.32);
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.1);
  color: #ffe69a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  padding: 0 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

.match-status.live {
  border-color: rgba(255, 83, 72, 0.58);
  background: rgba(255, 83, 72, 0.16);
  color: #ffe0de;
}

.match-status.half {
  border-color: rgba(255, 184, 0, 0.55);
  background: rgba(255, 184, 0, 0.18);
  color: #fff0bd;
}

.match-status.finished {
  border-color: rgba(101, 217, 144, 0.42);
  background: rgba(101, 217, 144, 0.14);
  color: #d7f9e3;
}

.match-status.postponed {
  border-color: rgba(190, 190, 190, 0.36);
  background: rgba(160, 160, 160, 0.12);
  color: #e5e2da;
}

.ad-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 300px));
  align-content: start;
  justify-content: center;
  gap: var(--space-4);
  margin-top: 0;
}

.ad-rect {
  aspect-ratio: 300 / 250;
  max-width: 300px;
  min-height: 0;
  justify-self: center;
}

.ad-tall {
  aspect-ratio: 300 / 600;
  max-width: 300px;
  min-height: 0;
  justify-self: center;
}

.ad-hero .banner-link img,
.ad-rect .banner-link img,
.ad-tall .banner-link img {
  object-fit: contain;
}

.news-panel {
  margin-top: 0;
  border-top: 1px solid var(--line);
  padding-top: var(--space-5);
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(245, 196, 0, 0.08);
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-size: 25px;
  font-weight: 950;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: #090907;
}

.news-viewport {
  min-width: 0;
  overflow: hidden;
}

.news-grid {
  display: grid;
  grid-auto-columns: minmax(320px, 38%);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(245, 196, 0, 0.46) rgba(244, 239, 226, 0.08);
  scrollbar-width: thin;
}

.news-card {
  display: grid;
  grid-template-rows: 158px minmax(0, 1fr);
  gap: 14px;
  min-height: 326px;
  overflow: hidden;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 12px;
  scroll-snap-align: start;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.news-card:hover,
.news-card:focus-visible {
  border-color: var(--gold-line);
  background: rgba(18, 20, 15, 0.98);
}

.news-image {
  display: block;
  min-height: 158px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(244, 239, 226, 0.055);
}

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

.news-image.empty {
  border: 1px solid var(--line);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 8px 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.12;
  text-transform: uppercase;
  text-wrap: pretty;
}

.news-card p {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.42;
}

.sponsor-news-card {
  grid-template-rows: 1fr;
  min-height: 0;
  aspect-ratio: 358 / 213;
  padding: 0;
}

.sponsor-news-card picture,
.sponsor-news-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.sponsor-news-card img {
  object-fit: cover;
}

.ad-bottom {
  aspect-ratio: 970 / 250;
  max-width: 970px;
  min-height: 0;
  justify-self: center;
}

.follow-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(105deg, rgba(14, 16, 13, 0.98), rgba(14, 16, 13, 0.92) 58%, rgba(245, 196, 0, 0.16)),
    repeating-linear-gradient(90deg, rgba(245, 196, 0, 0.045) 0 1px, transparent 1px 34px);
  padding: 28px 34px;
}

.follow-note {
  max-width: 760px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.match-modal[hidden] {
  display: none;
}

.match-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 14px;
}

.match-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(12px);
}

.match-detail {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 28px));
  max-height: min(760px, calc(100svh - 28px));
  overflow: auto;
  border: 1px solid rgba(245, 196, 0, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(245, 196, 0, 0.08), transparent 190px),
    var(--surface);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.68);
  padding: 24px;
}

.detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(244, 239, 226, 0.055);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.detail-close:hover,
.detail-close:focus-visible {
  border-color: var(--gold-line);
  background: rgba(245, 196, 0, 0.1);
}

.detail-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-3);
  padding-right: 46px;
}

.detail-head h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 9px 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.detail-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 4, 3, 0.4);
  padding: 18px;
}

.detail-team {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-team.away {
  justify-content: flex-end;
  text-align: right;
}

.detail-team span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-score {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 68px);
  font-weight: 950;
  line-height: 0.9;
  white-space: nowrap;
}

.detail-meta-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 16px;
  margin-top: 16px;
}

.detail-statline {
  min-height: 48px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 239, 226, 0.045);
  color: var(--text);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.45;
  padding: 14px;
}

.detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: 16px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.detail-refresh,
.detail-stream {
  margin-top: 0;
}

.detail-sponsor {
  width: min(100%, 335px);
  aspect-ratio: 335 / 46;
  margin: 16px auto 0;
  border-radius: 6px;
}

.detail-sponsor img {
  height: 100%;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-block,
.skeleton-inline,
.skeleton-pill {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(244, 239, 226, 0.08);
}

.skeleton-block::after,
.skeleton-inline::after,
.skeleton-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 18%, rgba(244, 239, 226, 0.25) 48%, transparent 78%);
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.skeleton-inline {
  display: block;
  height: 10px;
}

.skeleton-pill {
  width: 76px;
  height: 24px;
  border-radius: 999px;
}

.skeleton-text {
  margin-top: 8px;
}

.skeleton-meta {
  display: block;
}

.w-36 {
  width: 36%;
}

.w-40 {
  width: 40%;
}

.w-52 {
  width: 52%;
}

.w-84 {
  width: 84%;
}

.w-88 {
  width: 88%;
}

.w-92 {
  width: 92%;
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.news-empty {
  min-height: 90px;
}

.news-detail-image {
  display: block;
  width: min(100%, 720px);
  max-height: 260px;
  margin-top: 16px;
  border-radius: 6px;
  background: rgba(244, 239, 226, 0.055);
  object-fit: contain;
}

.news-detail-meta {
  margin-top: 16px;
}

.news-detail h3 {
  margin: 10px 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.news-detail p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.55;
}

.story-page {
  min-height: 70svh;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(245, 196, 0, 0.1), transparent 250px),
    var(--surface);
  padding: clamp(22px, 5vw, 54px);
}

.story-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.story-page h1 {
  max-width: 820px;
  margin-top: 14px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 950;
  line-height: 0.98;
  text-transform: uppercase;
}

.story-meta {
  margin-top: 18px;
}

.story-image {
  display: block;
  width: min(100%, 760px);
  max-height: 340px;
  margin-top: 28px;
  border-radius: var(--radius);
  background: rgba(244, 239, 226, 0.055);
  object-fit: contain;
}

.story-lead {
  max-width: 760px;
  margin-top: 28px;
  color: var(--text);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 850;
  line-height: 1.45;
}

.story-paragraph {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.62;
}

.story-note {
  max-width: 680px;
  margin-top: 18px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.5;
}

.story-page .button {
  margin-top: 28px;
}

@media (max-width: 1540px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .ad-hero {
    display: none;
  }

  .ad-hero-mobile {
    display: grid;
    aspect-ratio: 336 / 280;
    max-width: 336px;
    min-height: 0;
    justify-self: center;
  }

  .schedule-layout {
    grid-template-columns: 1fr;
  }

  .ad-rail {
    display: none;
    margin-top: 0;
  }
}

@media (max-width: 1100px) {
  .match-sponsor {
    aspect-ratio: 877 / 73;
  }

  .sponsor-footer {
    aspect-ratio: 1194 / 66;
  }

  .sponsor-news-card {
    aspect-ratio: 349 / 178;
  }
}

@media (max-width: 760px) {
  .frame {
    width: calc(100% - 24px);
    max-width: 560px;
  }

  .topbar-inner {
    display: flex;
    min-height: 72px;
    justify-content: space-between;
  }

  .brand-mark,
  .brand-mark picture,
  .brand-mark img {
    width: 44px;
    height: 44px;
  }

  .brand-kicker {
    font-size: 17px;
  }

  .nav {
    display: none;
  }

  .locale {
    min-height: 38px;
    padding: 0 12px;
  }

  .page-stack {
    gap: 18px;
    padding-top: 18px;
  }

  .ad-top {
    min-height: 70px;
  }

  .match-sponsor {
    aspect-ratio: 399 / 168;
  }

  .sponsor-footer {
    aspect-ratio: 557 / 96;
  }

  .broadcast-panel {
    grid-template-columns: 1fr;
    min-height: 460px;
  }

  .broadcast-copy {
    padding: 26px 20px;
  }

  .hero-card h1 {
    font-size: clamp(31px, 9.5vw, 36px);
    max-width: 100%;
  }

  .hero-text {
    max-width: 285px;
    font-size: 14px;
    overflow-wrap: break-word;
  }

  .broadcast-board {
    justify-self: stretch;
    width: auto;
    margin: 0 20px 20px;
  }

  .board-brand {
    font-size: 26px;
  }

  .board-strip span {
    font-size: 9px;
  }

  .board-strip {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .follow-band,
  .detail-footer {
    display: grid;
    gap: var(--space-3);
  }

  .refresh-button,
  .follow-band .button {
    width: 100%;
  }

  .match-card {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 136px;
    padding: 15px;
  }

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

  .match-teams {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .match-vs:not(.match-score) {
    display: none;
  }

  .match-score {
    justify-self: start;
  }

  .team-side:last-child {
    justify-content: flex-start;
    text-align: left;
  }

  html[dir="rtl"] .team-side:last-child {
    justify-content: flex-end;
    text-align: right;
  }

  .match-actions {
    justify-items: start;
  }

  .news-grid {
    grid-auto-columns: minmax(246px, 84%);
  }

  .sponsor-news-card {
    aspect-ratio: 310 / 134;
  }

  .detail-sponsor {
    width: min(100%, 299px);
    aspect-ratio: 299 / 46;
  }

  .ad-bottom {
    max-width: 100%;
  }

  .match-detail {
    padding: 20px;
  }

  .detail-head {
    display: grid;
    padding-right: 42px;
  }

  .detail-scoreboard {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .detail-team.away {
    justify-content: flex-start;
    text-align: left;
  }

  .detail-score {
    font-size: 52px;
  }

  .detail-meta-lines {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    justify-content: stretch;
  }

  .detail-actions .button,
  .detail-actions .stream-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
