.cup-page {
  --header-offset: 108px;
  --bg: #eef5fb;
  --bg-soft: #dcebf7;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: rgba(248, 252, 255, 0.98);
  --stroke: rgba(4, 88, 163, 0.14);
  --text: #0b2234;
  --muted: #567082;
  --accent: #0458a3;
  --accent-strong: #1a78c9;
  --warm: #ebbf3c;
  --countdown-card-bg: linear-gradient(180deg, rgba(255, 252, 242, 0.98), rgba(245, 250, 255, 0.95));
  --countdown-card-border: rgba(219, 181, 84, 0.36);
  --countdown-card-shadow: 0 18px 42px rgba(10, 36, 64, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  --countdown-face-bg: linear-gradient(180deg, rgba(255, 248, 229, 0.98), rgba(249, 240, 209, 0.94));
  --countdown-face-border: rgba(219, 181, 84, 0.28);
  --countdown-face-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68), inset 0 -8px 16px rgba(235, 191, 60, 0.08);
  --countdown-text: #8d620d;
  --countdown-glow-soft: rgba(235, 191, 60, 0.26);
  --countdown-glow-mid: rgba(255, 191, 73, 0.34);
  --countdown-glow-strong: rgba(235, 167, 36, 0.5);
  --shadow: 0 20px 60px rgba(4, 33, 63, 0.12);
  margin: 0;
  padding: calc(var(--header-offset) + 18px) 0 54px;
  color: var(--text);
  font-family: "Cairo", sans-serif;
  font-size: 0.9rem;
  background:
    radial-gradient(circle at top left, rgba(4, 88, 163, 0.11), transparent 28%),
    radial-gradient(circle at top right, rgba(235, 191, 60, 0.14), transparent 24%),
    radial-gradient(circle at bottom center, rgba(26, 120, 201, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(245, 250, 255, 0.95) 0%, rgba(236, 244, 251, 0.98) 100%);
}

.cup-page .hero-panel,
.cup-page .section-block {
  scroll-margin-top: calc(var(--header-offset) + 12px);
}

body.dark-mode .cup-page {
  --bg: #04141d;
  --bg-soft: #0a2430;
  --panel: rgba(9, 27, 39, 0.82);
  --panel-strong: rgba(6, 20, 30, 0.94);
  --stroke: rgba(125, 195, 230, 0.18);
  --text: #f4fbff;
  --muted: #98b5c4;
  --accent: #2dd4bf;
  --accent-strong: #00b7c4;
  --warm: #f59e0b;
  --countdown-card-bg: linear-gradient(180deg, rgba(12, 20, 31, 0.98), rgba(16, 28, 44, 0.9));
  --countdown-card-border: rgba(245, 158, 11, 0.34);
  --countdown-card-shadow: 0 22px 50px rgba(3, 10, 20, 0.34), inset 0 0 0 1px rgba(255, 221, 134, 0.1);
  --countdown-face-bg: linear-gradient(180deg, rgba(5, 10, 18, 0.96), rgba(9, 16, 24, 0.88));
  --countdown-face-border: rgba(242, 196, 91, 0.34);
  --countdown-face-shadow: inset 0 0 0 1px rgba(255, 225, 148, 0.06), inset 0 -10px 18px rgba(255, 186, 51, 0.04);
  --countdown-text: #ffd56f;
  --countdown-glow-soft: rgba(45, 212, 191, 0.22);
  --countdown-glow-mid: rgba(245, 158, 11, 0.34);
  --countdown-glow-strong: rgba(255, 210, 120, 0.5);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  background:
    radial-gradient(circle at top left, rgba(0, 183, 196, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.14), transparent 24%),
    radial-gradient(circle at bottom center, rgba(45, 212, 191, 0.12), transparent 30%),
    linear-gradient(160deg, #021018 0%, #071b27 45%, #031018 100%);
}

.cup-page,
.cup-page * {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.cup-page a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-panel,
.section-block,
.alert-banner {
  backdrop-filter: blur(22px);
  background: linear-gradient(180deg, var(--panel), var(--panel-strong));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.hero-panel {
  border-radius: 32px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}


.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.hero-panel::before {
  width: 320px;
  height: 320px;
  left: -90px;
  top: -110px;
  background: radial-gradient(circle, rgba(26, 120, 201, 0.18), transparent 70%);
}

.hero-panel::after {
  width: 280px;
  height: 280px;
  left: 55%;
  bottom: -130px;
  background: radial-gradient(circle, rgba(235, 191, 60, 0.22), transparent 70%);
}

body.dark-mode .hero-panel::before {
  background: radial-gradient(circle, rgba(45, 212, 191, 0.34), transparent 70%);
}

body.dark-mode .hero-panel::after {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.24), transparent 70%);
}

.topbar,
.hero-grid,
.section-heading,
.compact-grid,
.match-spotlight-grid,
.arab-grid,
.groups-grid,
.cities-grid,
.bracket-board {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-link strong,
.hero-copy h1,
.section-heading h2,
.group-card h3,
.round-head h3,
.team-heading h3,
.info-panel h3,
.arab-card h3,
.city-card h3 {
  font-family: "Cairo", sans-serif;
}

.brand-link small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.brand-mark {
  width: 74px;
  height: 120px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(4, 88, 163, 0.22);
}

body.dark-mode .brand-mark {
  color: #042030;
  box-shadow: 0 14px 34px rgba(0, 183, 196, 0.28);
}

.brand-mark-logo {
  padding: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 250, 235, 0.98), rgba(245, 250, 255, 0.94));
  border: 1px solid rgba(219, 181, 84, 0.42);
}

body.dark-mode .brand-mark-logo {
  background: linear-gradient(180deg, rgba(25, 35, 50, 0.96), rgba(10, 21, 34, 0.92));
  border-color: rgba(232, 189, 86, 0.34);
}

.brand-mark-logo img {
  display: block;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  object-fit: contain;
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ghost-button,
.primary-button {
  padding: 10px 15px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ghost-button {
  border: 1px solid var(--stroke);
  color: var(--text);
  background: rgba(255, 255, 255, 0.35);
}

body.dark-mode .ghost-button {
  background: rgba(255, 255, 255, 0.02);
}

.primary-button {
  background: linear-gradient(135deg, var(--warm), #ffd36a);
  color: #261500;
  box-shadow: 0 16px 40px rgba(235, 191, 60, 0.24);
}

.primary-button.large {
  padding-inline: 18px;
}

.ghost-button:hover,
.primary-button:hover,
.secondary-link:hover {
  transform: translateY(-2px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3.4vw, 2.85rem);
  line-height: 1.15;
  max-width: 9.5ch;
}

.hero-text,
.section-heading p,
.info-panel p,
.city-card p,
.card-label,
.subtle-line,
.countdown-card small,
.fixture-meta,
.mini-fixtures small,
.bracket-separator {
  color: var(--muted);
}

.hero-text {
  max-width: 60ch;
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 14px 0 0;
}

.hero-pills,
.hero-cta-row,
.stats-grid,
.match-meta-row,
.spotlight-head,
.group-card-head,
.round-head,
.section-heading,
.arab-card-head,
.fixture-meta,
.fixture-teams,
.alert-banner,
.compact-grid {
  display: flex;
}

.hero-pills {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.pill,
.badge,
.region-tag,
.group-code,
.match-number,
.team-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
}

.pill {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--text);
}

body.dark-mode .pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-cta-row {
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.secondary-link {
  color: var(--accent-strong);
  font-weight: 700;
}

.hero-sidecard {
  display: grid;
  gap: 14px;
}

.countdown-card,
.official-cup-card,
.info-panel,
.group-card,
.arab-card,
.city-card,
.spotlight-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.26));
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 26px;
}

body.dark-mode .countdown-card,
body.dark-mode .official-cup-card,
body.dark-mode .info-panel,
body.dark-mode .group-card,
body.dark-mode .arab-card,
body.dark-mode .city-card,
body.dark-mode .spotlight-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.countdown-card {
  padding: 16px;
  background: var(--countdown-card-bg);
  border: 1px solid var(--countdown-card-border);
  box-shadow: var(--countdown-card-shadow);
  overflow: visible;
}

.official-cup-card {
  margin: 0;
  padding: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 250, 235, 0.96), rgba(245, 250, 255, 0.9));
  border: 1px solid rgba(219, 181, 84, 0.38);
  box-shadow: 0 16px 36px rgba(8, 37, 68, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

body.dark-mode .official-cup-card {
  background: linear-gradient(180deg, rgba(25, 35, 50, 0.94), rgba(10, 21, 34, 0.92));
  border-color: rgba(232, 189, 86, 0.28);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 221, 145, 0.06);
}

.official-cup-card img {
  display: block;
  width: 100%;
  height: clamp(150px, 16vw, 220px);
  object-fit: contain;
  border-radius: 18px;
}

.countdown-card .card-label,
.countdown-card small {
  display: block;
  text-align: center;
}

.countdown-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(1.18rem, 2.35vw, 1.78rem);
}

.countdown-digital {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  text-align: center;
  font-family: "Consolas", "Courier New", monospace;
  letter-spacing: 0.12em;
  color: var(--countdown-text);
  text-shadow: 0 0 10px var(--countdown-glow-mid), 0 0 24px var(--countdown-glow-soft);
  padding: 11px 12px;
  border-radius: 18px;
  background: var(--countdown-face-bg);
  border: 1px solid var(--countdown-face-border);
  box-shadow: var(--countdown-face-shadow);
  overflow: visible;
}

.countdown-unit {
  min-width: 50px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 0;
  border-radius: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.countdown-value {
  display: inline-block;
  line-height: 1;
  position: relative;
  z-index: 2;
  transform-origin: center;
  will-change: transform, opacity, text-shadow;
  backface-visibility: hidden;
}

.countdown-unit-label {
  display: block;
  color: currentColor;
  font-family: inherit;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  text-shadow: inherit;
}

.countdown-unit-seconds {
  position: relative;
  background: transparent;
  box-shadow: none;
}

.countdown-separator {
  opacity: 0.8;
  align-self: flex-start;
  line-height: 1;
  margin-top: 4px;
}

.countdown-value.is-ticking {
  animation: countdownPulse 0.96s linear;
}

.countdown-unit-seconds.is-ticking {
  animation: none;
}

@keyframes countdownPulse {
  0% {
    opacity: 1;
    transform: scale(1);
    text-shadow: 0 0 10px var(--countdown-glow-mid), 0 0 24px var(--countdown-glow-soft);
  }
  1% {
    transform: scale(4.45) translateZ(0);
    text-shadow: 0 0 32px var(--countdown-glow-strong), 0 0 72px var(--countdown-glow-mid), 0 0 118px var(--countdown-glow-soft);
  }
  2% {
    opacity: 1;
    transform: scale(4.55) translateZ(0);
    text-shadow: 0 0 34px var(--countdown-glow-strong), 0 0 76px var(--countdown-glow-mid), 0 0 124px var(--countdown-glow-soft);
  }
  14% {
    transform: scale(4.08) translateZ(0);
    text-shadow: 0 0 31px var(--countdown-glow-strong), 0 0 68px var(--countdown-glow-mid), 0 0 108px var(--countdown-glow-soft);
  }
  30% {
    transform: scale(3.46) translateZ(0);
    text-shadow: 0 0 28px var(--countdown-glow-strong), 0 0 60px var(--countdown-glow-mid), 0 0 96px var(--countdown-glow-soft);
  }
  38% {
    transform: scale(2.72) translateZ(0);
    text-shadow: 0 0 26px var(--countdown-glow-strong), 0 0 56px var(--countdown-glow-mid), 0 0 88px var(--countdown-glow-soft);
  }
  46% {
    transform: scale(2.22) translateZ(0);
    text-shadow: 0 0 24px var(--countdown-glow-strong), 0 0 48px var(--countdown-glow-mid), 0 0 76px var(--countdown-glow-soft);
  }
  54% {
    transform: scale(1.82) translateZ(0);
    text-shadow: 0 0 22px var(--countdown-glow-strong), 0 0 42px var(--countdown-glow-mid), 0 0 64px var(--countdown-glow-soft);
  }
  62% {
    transform: scale(1.52) translateZ(0);
    text-shadow: 0 0 18px var(--countdown-glow-strong), 0 0 34px var(--countdown-glow-mid), 0 0 52px var(--countdown-glow-soft);
  }
  70% {
    transform: scale(1.31) translateZ(0);
  }
  78% {
    transform: scale(1.17) translateZ(0);
  }
  86% {
    transform: scale(1.08) translateZ(0);
  }
  94% {
    transform: scale(1.025) translateZ(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    text-shadow: 0 0 10px var(--countdown-glow-mid), 0 0 24px var(--countdown-glow-soft);
  }
}

.stats-grid {
  flex-wrap: wrap;
  gap: 8px;
}

.stats-grid article {
  flex: 1 1 calc(50% - 14px);
  min-width: 120px;
  padding: 12px 10px;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 250, 235, 0.95), rgba(245, 250, 255, 0.88));
  border: 1px solid rgba(219, 181, 84, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 10px 24px rgba(8, 37, 68, 0.08);
}

body.dark-mode .stats-grid article {
  background: linear-gradient(180deg, rgba(25, 35, 50, 0.94), rgba(10, 21, 34, 0.9));
  border: 1px solid rgba(232, 189, 86, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 221, 145, 0.06), 0 12px 28px rgba(0, 0, 0, 0.18);
}

.stats-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 32px;
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 5px;
  padding: 0 10px;
  border-radius: 999px;
  color: #8d620d;
  background: linear-gradient(180deg, rgba(255, 232, 154, 0.95), rgba(235, 191, 60, 0.78));
  border: 1px solid rgba(168, 120, 20, 0.18);
}

body.dark-mode .stats-grid span {
  color: #2b1900;
  background: linear-gradient(180deg, #ffe6a0, #f2bc3f);
}

.stats-grid small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
}

.section-block {
  border-radius: 28px;
  margin-top: 16px;
  padding: 18px;
}

.section-heading {
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-heading h2,
.info-panel h3,
.arab-card h3,
.city-card h3,
.round-head h3,
.team-heading h3 {
  margin: 0;
}

.section-heading h2 {
  font-size: 1.18rem;
  line-height: 1.35;
}

.arab-card h3,
.group-card h3,
.info-panel h3,
.city-card h3,
.team-heading h3 {
  font-size: 0.98rem;
  line-height: 1.35;
}

.section-heading p {
  margin: 0;
  max-width: 38ch;
  font-size: 0.78rem;
  line-height: 1.8;
}

.match-spotlight-grid,
.arab-grid,
.groups-grid,
.cities-grid,
.compact-grid {
  gap: 18px;
}

.upcoming-filter-strips {
  display: grid;
  gap: 8px;
  margin: 6px 0 12px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}

.filter-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.filter-strip-label {
  min-width: 78px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--muted);
}

.filter-strip-chips {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  min-width: 0;
  overflow: visible;
}

.upcoming-filter-strips::-webkit-scrollbar {
  height: 8px;
}

.upcoming-filter-strips::-webkit-scrollbar-thumb {
  background: rgba(4, 88, 163, 0.18);
  border-radius: 999px;
}

body.dark-mode .upcoming-filter-strips::-webkit-scrollbar-thumb {
  background: rgba(125, 195, 230, 0.18);
}

.filter-chip {
  appearance: none;
  border: 1px solid rgba(4, 88, 163, 0.16);
  background: rgba(255, 255, 255, 0.52);
  color: var(--text);
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

body.dark-mode .filter-chip {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.filter-chip:hover {
  transform: translateY(-1px);
}

.filter-chip.is-active {
  border-color: rgba(235, 191, 60, 0.55);
  background: linear-gradient(135deg, rgba(235, 191, 60, 0.42), rgba(255, 211, 106, 0.3));
}

body.dark-mode .filter-chip.is-active {
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.08));
}

.filter-chip:focus-visible {
  outline: 3px solid rgba(26, 120, 201, 0.28);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .filter-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .filter-strip-label {
    min-width: 0;
  }
}

.match-spotlight-grid,
.arab-grid,
.groups-grid,
.cities-grid {
  display: grid;
}

.empty-state {
  padding: 16px;
  border-radius: 20px;
  border: 1px dashed var(--stroke);
  background: var(--panel);
  color: var(--muted);
  text-align: center;
}

.match-spotlight-grid {
  grid-template-columns: 1fr;
  max-width: 1040px;
  margin: 0 auto;
  gap: 8px;
}

.spotlight-card {
  min-height: auto;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(260px, 320px);
  gap: 12px;
  align-items: center;
}

.spotlight-card,
.arab-card,
.group-card,
.city-card,
.info-panel {
  padding: 18px;
}

.spotlight-card {
  padding: 12px 15px;
}

.spotlight-card,
.group-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 208, 92, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(17, 77, 131, 0.22), transparent 36%),
    linear-gradient(180deg, #0a1624 0%, #0d1b2c 55%, #0a1622 100%);
  border: 1px solid rgba(232, 189, 86, 0.36);
  box-shadow: 0 18px 42px rgba(3, 10, 20, 0.2), inset 0 0 0 1px rgba(255, 221, 145, 0.06);
}

.spotlight-card::before,
.group-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(233, 192, 95, 0.12);
  pointer-events: none;
}

.group-card::before {
  display: none;
}

.spotlight-card .spotlight-head,
.group-card .group-card-head,
.spotlight-card .match-meta-row,
.group-card .fixture-meta,
.group-card h3,
.spotlight-card strong,
.group-card strong,
.group-card .team-inline,
.group-card .team-chips span,
.spotlight-card .versus-label,
.group-card .versus-label {
  position: relative;
  z-index: 1;
}

.spotlight-head,
.group-card-head,
.round-head,
.arab-card-head,
.match-meta-row,
.fixture-meta,
.compact-grid,
.alert-banner {
  justify-content: space-between;
}

.spotlight-head,
.group-card-head,
.round-head,
.arab-card-head,
.fixture-meta,
.fixture-teams,
.match-meta-row {
  align-items: center;
  gap: 10px;
}

.badge,
.region-tag,
.group-code,
.match-number,
.team-chips span {
  padding: 6px 10px;
  font-size: 0.8rem;
}

.badge,
.region-tag,
.group-code {
  background: rgba(4, 88, 163, 0.1);
  color: var(--accent-strong);
  border: 1px solid rgba(4, 88, 163, 0.18);
}

body.dark-mode .badge,
body.dark-mode .region-tag,
body.dark-mode .group-code {
  background: rgba(45, 212, 191, 0.12);
  color: #bffaf5;
  border: 1px solid rgba(45, 212, 191, 0.22);
}

.match-number {
  background: rgba(235, 191, 60, 0.16);
  color: #7f5b00;
  border: 1px solid rgba(235, 191, 60, 0.3);
}

.spotlight-card .badge,
.group-card .group-code,
.group-card .team-chips span,
.spotlight-card .match-number {
  background: linear-gradient(180deg, rgba(24, 34, 49, 0.96), rgba(13, 22, 34, 0.94));
  color: #f2ce7c;
  border: 1px solid rgba(232, 189, 86, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 221, 145, 0.05);
}

body.dark-mode .match-number {
  background: rgba(245, 158, 11, 0.12);
  color: #ffe7b1;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.teams-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  justify-self: stretch;
  overflow: hidden;
  gap: 8px;
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 0;
}

.team-line-item,
.team-inline,
.team-heading,
.bracket-team-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.team-line-item {
  min-width: 0;
  width: 100%;
  max-width: none;
  min-height: 38px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  justify-content: flex-start;
  box-shadow: none;
}

body.dark-mode .team-line-item {
  background: transparent;
  border: 0;
}

.team-line-item strong,
.team-inline {
  color: #f6fbff;
}

.team-line-item strong,
.team-inline strong,
.fixture-teams strong {
  min-width: 0;
}

.team-line-item strong {
  display: block;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  text-overflow: clip;
  font-size: 0.8rem;
}

.team-name-text {
  display: inline-block;
  min-width: 0;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  text-overflow: clip;
  font-size: 0.8rem;
  text-align: right;
}

.versus-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 46px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 222, 132, 0.24), rgba(235, 191, 60, 0.12));
  border: 1px solid rgba(255, 215, 120, 0.38);
  color: #ffe9a8;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 219, 113, 0.42), 0 0 24px rgba(245, 158, 11, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 239, 184, 0.08), 0 0 20px rgba(245, 158, 11, 0.12);
  margin-inline: 2px;
}

.versus-label::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -35%;
  width: 34px;
  transform: rotate(18deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 247, 210, 0.96), rgba(255, 255, 255, 0));
  box-shadow: 0 0 20px rgba(255, 239, 184, 0.38);
  animation: versusFlash 2.4s linear infinite;
}

body.dark-mode .versus-label {
  background: linear-gradient(180deg, rgba(255, 215, 120, 0.22), rgba(245, 158, 11, 0.11));
  border-color: rgba(255, 215, 120, 0.32);
  color: #ffe7ab;
}

@keyframes versusFlash {
  0% {
    transform: translateX(-42px) rotate(18deg);
    opacity: 0;
  }
  14% {
    opacity: 0.95;
  }
  36% {
    opacity: 0.72;
  }
  54% {
    transform: translateX(72px) rotate(18deg);
    opacity: 0;
  }
  100% {
    transform: translateX(72px) rotate(18deg);
    opacity: 0;
  }
}

.team-heading {
  gap: 14px;
}

.team-badge-img,
.team-badge-svg,
.team-flag-badge,
.team-badge-emoji {
  width: 22px;
  height: 22px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
  overflow: hidden;
}

.team-badge-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1.1rem;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(220, 235, 247, 0.78));
}

.team-flag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 2px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.98), rgba(210, 223, 236, 0.78));
  box-shadow: 0 10px 24px rgba(2, 11, 24, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.team-flag-badge svg {
  width: 100%;
  height: 100%;
  display: block;
}

body.dark-mode .team-badge-emoji {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(45, 212, 191, 0.12));
}

body.dark-mode .team-flag-badge {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(8, 26, 38, 0.9));
}

.team-badge-img.small,
.team-badge-svg.small,
.team-flag-badge.small,
.team-badge-emoji.small {
  width: 18px;
  height: 18px;
  border-radius: 9px;
}

.team-badge-emoji.small {
  font-size: 0.85rem;
}

.team-badge-img.large,
.team-badge-svg.large,
.team-flag-badge.large,
.team-badge-emoji.large {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.team-badge-emoji.large {
  font-size: 1.45rem;
}

.team-badge-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.match-meta-row,
.fixture-meta,
.mini-fixtures small {
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.match-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 4px 12px;
  align-self: center;
  padding-top: 0;
  border-top: 0;
  color: #b9c8d6;
}

.meta-date,
.meta-stadium,
.meta-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 14px;
}

.meta-date {
  background: linear-gradient(180deg, rgba(255, 248, 229, 0.98), rgba(249, 240, 209, 0.95));
  border: 1px solid rgba(219, 181, 84, 0.3);
  color: #8d6a21;
  font-weight: 700;
}

.meta-stadium,
.meta-label {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(240, 247, 253, 0.95));
  border: 1px solid rgba(4, 88, 163, 0.1);
  color: #5d7382;
}

body.dark-mode .meta-date {
  background: linear-gradient(180deg, rgba(42, 35, 16, 0.96), rgba(56, 46, 20, 0.94));
  border-color: rgba(232, 189, 86, 0.3);
  color: #f2ce7c;
}

body.dark-mode .meta-stadium,
body.dark-mode .meta-label {
  background: linear-gradient(180deg, rgba(12, 21, 32, 0.95), rgba(15, 27, 41, 0.9));
  border-color: rgba(232, 189, 86, 0.16);
  color: #b9c8d6;
}

body.dark-mode .match-meta-row {
  border-top-color: rgba(232, 189, 86, 0.18);
}

.compact-grid {
  align-items: stretch;
}

.compact-grid > * {
  flex: 1 1 0;
}

.info-panel.emphasis {
  background: linear-gradient(135deg, rgba(235, 191, 60, 0.14), rgba(4, 88, 163, 0.08));
}

body.dark-mode .info-panel.emphasis {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(0, 183, 196, 0.08));
}

.arab-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  gap: 8px;
}

.arab-card {
  position: relative;
  overflow: hidden;
  padding: 12px 15px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.mini-fixtures li {
  display: grid;
  gap: 6px;
  padding: 8px 0;
  border-radius: 0;
}

.mini-match-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 8px;
}

.mini-match-row .team-inline {
  min-width: 0;
  width: 100%;
  max-width: none;
  min-height: 28px;
  justify-content: flex-start;
  padding: 0;
  border-radius: 0;
  white-space: nowrap;
}

.teams-line > .team-line-item:first-child,
.mini-match-row > .team-inline:first-child,
.fixture-teams > .team-inline:first-child {
  justify-content: flex-end;
  text-align: left;
}

.teams-line > .team-line-item:last-child,
.mini-match-row > .team-inline:last-child,
.fixture-teams > .team-inline:last-child {
  justify-content: flex-start;
  text-align: right;
}

.teams-line > .versus-label,
.mini-match-row > .versus-label,
.fixture-teams > .versus-label {
  justify-self: center;
}

.mini-match-meta {
  display: grid;
  gap: 2px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
}

.arab-card-head span,
.subtle-line {
  font-size: 0.74rem;
}

.arab-card-head {
  display: grid;
  gap: 6px;
  align-content: start;
}

.arab-card-head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 248, 229, 0.98), rgba(249, 240, 209, 0.95));
  border: 1px solid rgba(219, 181, 84, 0.28);
  color: #9c6b0f;
  font-weight: 700;
}

body.dark-mode .arab-card-head > span {
  background: linear-gradient(180deg, rgba(24, 34, 49, 0.96), rgba(13, 22, 34, 0.94));
  border: 1px solid rgba(232, 189, 86, 0.26);
  color: #f2ce7c;
}

.mini-fixtures,
.fixture-list,
.bracket-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.mini-fixtures li,
.fixture-row,
.bracket-match {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 8px;
  margin-top: 8px;
}

body.dark-mode .mini-fixtures li,
body.dark-mode .fixture-row,
body.dark-mode .bracket-match {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.mini-fixtures li:first-child,
.fixture-row:first-child,
.bracket-match:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.mini-fixtures strong,
.fixture-teams strong {
  font-weight: 700;
}

.filter-heading {
  align-items: center;
}

.filter-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  min-width: min(100%, 320px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

body.dark-mode .filter-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.filter-box input::placeholder {
  color: var(--muted);
}

.groups-grid {
  grid-template-columns: 1fr;
  max-width: 1040px;
  margin: 0 auto;
}

.group-card-head {
  align-items: start;
  gap: 8px;
}

.group-card {
  padding: 12px 14px;
  background:
    linear-gradient(180deg, rgba(8, 18, 30, 0.96), rgba(10, 22, 36, 0.94));
  border: 1px solid rgba(232, 189, 86, 0.24);
  box-shadow: 0 20px 48px rgba(3, 10, 20, 0.16);
}

.group-code {
  font-weight: 800;
}

.team-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 6px;
}

.group-card h3 {
  margin: 0;
}

.team-chips span {
  border: 1px solid rgba(232, 189, 86, 0.24);
  background: linear-gradient(180deg, rgba(24, 34, 49, 0.96), rgba(13, 22, 34, 0.94));
  padding: 5px 8px;
  font-size: 0.76rem;
}

body.dark-mode .team-chips span {
  border: 1px solid rgba(232, 189, 86, 0.24);
  background: linear-gradient(180deg, rgba(24, 34, 49, 0.96), rgba(13, 22, 34, 0.94));
}

.fixture-list {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}

.fixture-day-group {
  display: grid;
  gap: 0;
  padding: 3px 0 0;
  border-top: 1px solid rgba(232, 189, 86, 0.14);
}

.fixture-day-group:first-child {
  padding: 0;
  border-top: 0;
}

.fixture-day-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 1px 0 2px;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.fixture-day-pill,
.fixture-day-count {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0;
  border-radius: 999px;
}

.fixture-day-pill {
  background: transparent;
  border: 0;
  color: #f0cf7d;
  font-weight: 800;
  direction: ltr;
  font-size: 0.84rem;
}

.fixture-day-count {
  background: transparent;
  border: 0;
  color: #8fa7b8;
  font-size: 0.74rem;
}

.fixture-day-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.fixture-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2px;
  padding: 3px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .fixture-row {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
}

.fixture-day-list .fixture-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fixture-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  font-size: 0.78rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.fixture-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 8px;
}

.fixture-teams .team-inline {
  min-width: 0;
  width: 100%;
  max-width: none;
  min-height: 28px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  justify-content: flex-start;
  align-items: center;
  overflow: visible;
  text-overflow: clip;
}

.group-card .fixture-meta .meta-date,
.group-card .fixture-meta .meta-stadium,
.group-card .fixture-meta .meta-label {
  min-height: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.group-card .fixture-meta .meta-date {
  justify-content: center;
  color: #f0cf7d;
  font-weight: 800;
  direction: ltr;
}

.group-card .fixture-meta .meta-stadium {
  justify-content: flex-start;
  color: #8fa7b8;
  text-align: left;
  direction: ltr;
}

.group-card .fixture-meta .meta-label {
  justify-content: flex-end;
  color: #8fa7b8;
}

.spotlight-card .meta-date,
.spotlight-card .meta-stadium,
.spotlight-card .meta-label,
.arab-card .meta-date,
.arab-card .meta-stadium,
.arab-card .meta-label {
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.spotlight-card .meta-date,
.arab-card .meta-date {
  color: #f0cf7d;
  font-weight: 800;
  direction: ltr;
}

.spotlight-card .meta-stadium,
.arab-card .meta-stadium,
.arab-card .meta-label {
  color: #8fa7b8;
}

.spotlight-card .meta-stadium,
.arab-card .meta-stadium {
  justify-content: flex-start;
  text-align: left;
  direction: ltr;
}

.arab-card .meta-date {
  justify-content: center;
}

.arab-card .meta-stadium {
  justify-content: flex-start;
}

.fixture-teams .team-name-text {
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.45;
  font-size: 0.84rem;
}

body.dark-mode .fixture-teams .team-inline {
  background: transparent;
  border-color: transparent;
}

body:not(.dark-mode) .spotlight-card,
body:not(.dark-mode) .group-card,
body:not(.dark-mode) .arab-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 208, 92, 0.16), transparent 26%),
    radial-gradient(circle at bottom right, rgba(4, 88, 163, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.94));
  border: 1px solid rgba(219, 181, 84, 0.38);
  box-shadow: 0 16px 38px rgba(10, 36, 64, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

body:not(.dark-mode) .spotlight-card::before,
body:not(.dark-mode) .group-card::before,
body:not(.dark-mode) .arab-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(219, 181, 84, 0.16);
  pointer-events: none;
}

body:not(.dark-mode) .spotlight-card .badge,
body:not(.dark-mode) .group-card .group-code,
body:not(.dark-mode) .group-card .team-chips span,
body:not(.dark-mode) .spotlight-card .match-number,
body:not(.dark-mode) .arab-card-head > span {
  background: linear-gradient(180deg, rgba(255, 248, 229, 0.98), rgba(249, 240, 209, 0.95));
  color: #9c6b0f;
  border: 1px solid rgba(219, 181, 84, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

body:not(.dark-mode) .team-line-item,
body:not(.dark-mode) .fixture-teams .team-inline,
body:not(.dark-mode) .mini-fixtures li {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.95));
  border: 1px solid rgba(4, 88, 163, 0.12);
  box-shadow: 0 8px 20px rgba(8, 37, 68, 0.05);
}

body:not(.dark-mode) .spotlight-card .team-line-item,
body:not(.dark-mode) .arab-card .mini-match-row .team-inline,
body:not(.dark-mode) .arab-card .mini-fixtures li {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body:not(.dark-mode) .group-card .fixture-teams .team-inline {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body:not(.dark-mode) .team-line-item strong,
body:not(.dark-mode) .fixture-teams .team-inline,
body:not(.dark-mode) .arab-card strong,
body:not(.dark-mode) .group-card strong {
  color: #163248;
}

body:not(.dark-mode) .versus-label {
  background: linear-gradient(180deg, rgba(255, 248, 229, 0.98), rgba(249, 240, 209, 0.95));
  border: 1px solid rgba(219, 181, 84, 0.3);
  color: #8d6a21;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.76), 0 0 20px rgba(235, 191, 60, 0.14);
}

body:not(.dark-mode) .match-meta-row,
body:not(.dark-mode) .fixture-meta,
body:not(.dark-mode) .mini-fixtures small {
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(240, 247, 253, 0.95));
  border: 1px solid rgba(4, 88, 163, 0.1);
  color: #5d7382;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

body:not(.dark-mode) .spotlight-card .match-meta-row,
body:not(.dark-mode) .arab-card .mini-fixtures small {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.dark-mode) .spotlight-card .meta-date,
body:not(.dark-mode) .spotlight-card .meta-stadium,
body:not(.dark-mode) .arab-card .meta-date,
body:not(.dark-mode) .arab-card .meta-stadium,
body:not(.dark-mode) .arab-card .meta-label {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body:not(.dark-mode) .spotlight-card .meta-date,
body:not(.dark-mode) .arab-card .meta-date {
  color: #9c6b0f;
}

body:not(.dark-mode) .spotlight-card .meta-stadium,
body:not(.dark-mode) .arab-card .meta-stadium,
body:not(.dark-mode) .arab-card .meta-label {
  color: #5d7382;
}

body:not(.dark-mode) .group-card .fixture-meta {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.dark-mode) .group-card .fixture-meta .meta-date,
body:not(.dark-mode) .group-card .fixture-meta .meta-stadium,
body:not(.dark-mode) .group-card .fixture-meta .meta-label {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body:not(.dark-mode) .group-card .fixture-meta .meta-date {
  color: #9c6b0f;
}

body:not(.dark-mode) .group-card .fixture-meta .meta-stadium,
body:not(.dark-mode) .group-card .fixture-meta .meta-label {
  color: #5d7382;
}

body:not(.dark-mode) .match-meta-row {
  border-top: 0;
}

body:not(.dark-mode) .fixture-row {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(4, 88, 163, 0.12);
}

body:not(.dark-mode) .fixture-day-heading {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

body:not(.dark-mode) .fixture-day-count {
  background: transparent;
  border-color: transparent;
  color: #5d7382;
}

body:not(.dark-mode) .group-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 254, 0.96));
  border: 1px solid rgba(4, 88, 163, 0.12);
  box-shadow: 0 16px 36px rgba(10, 36, 64, 0.08);
}

body:not(.dark-mode) .fixture-day-group {
  border-top-color: rgba(4, 88, 163, 0.12);
}

body:not(.dark-mode) .fixture-day-pill {
  color: #8d6a21;
}

body:not(.dark-mode) .versus-label::after {
  box-shadow: 0 0 18px rgba(255, 214, 117, 0.32);
}

body:not(.dark-mode) .group-card .team-chips span,
body:not(.dark-mode) .arab-card-head > span,
body:not(.dark-mode) .spotlight-card .badge,
body:not(.dark-mode) .spotlight-card .match-number,
body:not(.dark-mode) .group-card .group-code,
body:not(.dark-mode) .group-card h3,
body:not(.dark-mode) .arab-card h3,
body:not(.dark-mode) .spotlight-card strong {
  position: relative;
  z-index: 1;
}

.spotlight-card::before,
body:not(.dark-mode) .spotlight-card::before {
  display: none;
}

.spotlight-card .badge,
.spotlight-card .match-number {
  border: 0;
  box-shadow: none;
}

.spotlight-card .versus-label {
  border: 0;
  box-shadow: none;
}

body:not(.dark-mode) .spotlight-card .badge,
body:not(.dark-mode) .spotlight-card .match-number {
  background: rgba(255, 248, 229, 0.78);
  border: 0;
  box-shadow: none;
}

body:not(.dark-mode) .spotlight-card .versus-label {
  background: rgba(255, 248, 229, 0.82);
  border: 0;
  box-shadow: none;
}

body.dark-mode .spotlight-card .badge,
body.dark-mode .spotlight-card .match-number,
body.dark-mode .spotlight-card .versus-label {
  border: 0;
  box-shadow: none;
}

.compact-meta {
  margin-top: 12px;
  gap: 6px;
}

.cities-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.city-card {
  min-height: 150px;
}

.region-tag {
  margin-bottom: 18px;
}

.alert-banner {
  gap: 14px;
  align-items: center;
  border-radius: 22px;
  padding: 18px 20px;
  margin-top: 22px;
}

.alert-banner i {
  color: #ffd166;
  font-size: 1.12rem;
}

.alert-banner strong,
.alert-banner small {
  display: block;
}

@media (max-width: 1080px) {
  .hero-grid,
  .compact-grid {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .hero-sidecard {
    order: -1;
  }

  .topbar,
  .section-heading,
  .group-card-head {
    align-items: start;
    flex-direction: column;
  }

  .topbar-actions,
  .team-chips {
    justify-content: start;
  }

  .spotlight-card {
    grid-template-columns: 1fr;
  }

  .arab-card {
    grid-template-columns: 1fr;
  }

  .arab-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .groups-grid {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .cup-page {
    --header-offset: 94px;
  }

  .page-shell {
    width: min(100% - 18px, 1360px);
  }

  .hero-panel,
  .section-block {
    border-radius: 22px;
    padding: 18px;
  }

  .official-cup-card {
    padding: 6px;
  }

  .official-cup-card img {
    height: 126px;
    border-radius: 16px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: 1.55rem;
  }

  .section-heading h2 {
    font-size: 1rem;
  }

  .arab-card h3,
  .group-card h3,
  .info-panel h3,
  .city-card h3,
  .team-heading h3 {
    font-size: 0.86rem;
  }

  .section-heading p {
    font-size: 0.72rem;
  }

  .filter-chip {
    font-size: 0.68rem;
    padding: 5px 7px;
  }

  .filter-strip-label {
    font-size: 0.7rem;
  }

  .topbar {
    gap: 12px;
  }

  .topbar-actions {
    width: 100%;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .topbar-actions .ghost-button,
  .topbar-actions .primary-button {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 4px;
    font-size: 0.65rem;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
  }

  .match-spotlight-grid,
  .arab-grid,
  .groups-grid,
  .cities-grid {
    grid-template-columns: 1fr;
  }

  .group-card {
    padding: 14px;
  }

  .spotlight-card,
  .arab-card {
    padding: 13px;
  }

  .fixture-day-heading,
  .fixture-meta {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .fixture-day-heading {
    display: grid;
  }

  .match-meta-row,
  .mini-match-meta {
    grid-template-columns: 1fr;
  }

  .countdown-digital {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    letter-spacing: 0;
    padding: 8px 4px;
  }

  .countdown-unit {
    min-width: 0;
    width: 100%;
    gap: 3px;
    padding: 4px 0;
  }

  .countdown-unit-label {
    font-size: 0.5rem;
  }

  .countdown-separator {
    display: none;
  }

  .teams-line {
    gap: 4px;
  }

  .fixture-teams,
  .mini-match-row {
    gap: 4px;
  }

  .team-line-item,
  .fixture-teams .team-inline,
  .mini-match-row .team-inline {
    padding: 5px 5px;
  }

  .team-line-item strong,
  .team-name-text {
    font-size: 0.62rem;
  }

  .versus-label {
    min-width: 28px;
    padding: 0 5px;
    font-size: 0.64rem;
  }

  .team-line-item {
    width: 100%;
  }

  .stats-grid article {
    flex: 1 1 calc(50% - 14px);
  }
}
