/* =========================================================
   MATCHDAY LAB — 2026/27
   Editorial football prediction interface
   ========================================================= */

:root {
  --bg: #070a0f;
  --bg-deep: #04060a;
  --surface: #0c121b;
  --surface-2: #111a26;
  --surface-3: #162233;
  --text: #f4f7f0;
  --muted: #8b98a8;
  --muted-2: #617083;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.15);
  --lime: #d7ff4f;
  --lime-soft: #e7ff9a;
  --lime-dim: #a8cc2c;
  --teal: #52e0c0;
  --blue: #7db1ff;
  --amber: #ffb45e;
  --red: #ff6774;
  --violet: #b69cff;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Microsoft YaHei UI", sans-serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 300px;
  background:
    radial-gradient(1200px 620px at 82% -8%, rgba(77, 154, 112, 0.11), transparent 62%),
    radial-gradient(780px 520px at 4% 22%, rgba(94, 117, 255, 0.07), transparent 66%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--lime);
  color: #101407;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: #080c12;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #080c12;
  border-radius: 999px;
  background: #2b3847;
}

::-webkit-scrollbar-thumb:hover {
  background: #425266;
}

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

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

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

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.shell {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--lime);
  color: #101407;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 82%);
}

/* =========================================================
   Topline + header
   ========================================================= */

.topline {
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: #070a0e;
  color: var(--muted);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.topline__inner {
  display: flex;
  align-items: center;
  min-height: 34px;
  gap: 20px;
}

.data-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lime);
  font-weight: 700;
}

.data-live i,
.update-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(215, 255, 79, 0.08);
  animation: softPulse 2.4s ease-in-out infinite;
}

.topline__context {
  color: #707d8c;
}

.topline__right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.topline__right time {
  color: #d4dccd;
}

.topline__sep {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.14);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  background: rgba(7, 10, 15, 0.82);
  backdrop-filter: blur(18px) saturate(135%);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 10, 15, 0.94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  color: var(--lime);
  transition: transform 0.45s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(90deg);
}

.brand__mark svg {
  width: 100%;
  height: 100%;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}

.brand__text strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand__text small {
  color: var(--muted);
  font-family: var(--display);
  font-size: 8.5px;
  letter-spacing: 0.18em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: 10px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #b0bac6;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a span {
  color: #4f5c6b;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.main-nav a.is-active span {
  color: var(--lime);
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, var(--lime), transparent);
}

.nav-method {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.update-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 6px;
  color: #93a0ae;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--solid {
  background: var(--lime);
  color: #111708;
  box-shadow: 0 10px 30px rgba(188, 235, 36, 0.12);
}

.btn--solid:hover {
  background: #e4ff7d;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(215, 255, 79, 0.36);
  background: rgba(215, 255, 79, 0.05);
}

.btn--small {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 8px;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, top 0.25s ease;
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 22px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 19px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 19px;
  transform: rotate(-45deg);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  align-items: center;
  gap: 46px;
  padding-top: 46px;
  padding-bottom: 58px;
  min-height: 650px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding: 18px 0;
}

.hero__copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -80px;
  left: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 255, 79, 0.075), transparent 67%);
  filter: blur(15px);
  pointer-events: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px;
  color: #a1adba;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.eyebrow__line {
  width: 29px;
  height: 1px;
  background: var(--lime);
}

.eyebrow__dot {
  width: 3px;
  height: 3px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--lime);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(58px, 5.6vw, 83px);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 em {
  display: inline-block;
  padding-bottom: 5px;
  background: linear-gradient(101deg, #f3ffc7 0%, #d7ff4f 38%, #82e9bc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero__lead {
  max-width: 510px;
  margin-top: 27px;
  color: #a2adba;
  font-size: 15px;
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 450px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding-right: 12px;
}

.metric + .metric {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.metric strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.metric:nth-child(1) strong {
  color: var(--lime);
}

.metric span {
  color: #697788;
  font-size: 10px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hero__micro {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  color: #596777;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.hero__micro span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(82, 224, 192, 0.1);
}

/* ---- hero visual ---- */

.hero__visual {
  position: relative;
  height: 596px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 29px;
  background: #0b131a;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.48);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.5) contrast(1.08) brightness(0.47);
  transform: scale(1.025);
}

.hero__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 14, 18, 0.96) 0%, rgba(7, 14, 18, 0.42) 36%, rgba(7, 14, 18, 0.05) 68%),
    linear-gradient(180deg, rgba(7, 10, 15, 0.24) 0%, rgba(5, 9, 13, 0.08) 38%, rgba(5, 9, 13, 0.94) 100%),
    radial-gradient(circle at 79% 38%, rgba(215, 255, 79, 0.11), transparent 34%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 25%, #000 68%, #000);
}

.hero__ghost {
  position: absolute;
  z-index: 1;
  top: -21px;
  right: 10px;
  color: transparent;
  font-family: var(--display);
  font-size: 240px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.12em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.11);
  opacity: 0.6;
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  top: 17px;
  right: 18px;
  z-index: 7;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0 8px;
  padding: 8px 11px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(7, 12, 16, 0.63);
  backdrop-filter: blur(12px);
}

.hero__badge span,
.hero__badge small {
  color: #95a2ae;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.hero__badge strong {
  grid-row: span 2;
  color: var(--lime);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-player {
  position: absolute;
  z-index: 3;
  bottom: -13px;
  margin: 0;
  pointer-events: none;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.55));
  transform-origin: bottom center;
  animation: playerFloat 8s ease-in-out infinite;
}

.hero-player img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  transition: opacity 0.3s ease;
}

.hero-player__fallback {
  position: absolute;
  z-index: 1;
  inset: 8% 0 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.13);
  font-family: var(--display);
  font-size: 100px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.hp--likeqin {
  left: 1%;
  width: 36%;
  height: 65%;
  z-index: 5;
  opacity: 0.98;
  animation-delay: -2.3s;
}

.hp--likeqin::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 12%;
  right: 12%;
  bottom: 2%;
  height: 48%;
  border-radius: 50%;
  background: rgba(76, 164, 235, 0.34);
  filter: blur(42px);
}

.hp--likeqin img {
  filter: drop-shadow(0 0 14px rgba(91, 170, 255, 0.2)) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.48)) saturate(0.95);
}

.hero-wildcard {
  position: absolute;
  left: 18px;
  bottom: 17px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(126, 191, 255, 0.26);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(9, 24, 39, 0.9), rgba(7, 13, 20, 0.78));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(13px);
}

.hero-wildcard__crest {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(126, 191, 255, 0.3);
  border-radius: 7px;
  background: linear-gradient(145deg, #0d4e86, #0a2745);
  color: #cfe9ff;
  font-family: var(--display);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-wildcard div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.hero-wildcard strong {
  color: #f4f8ed;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-wildcard small {
  color: #80909d;
  font-size: 7px;
  white-space: nowrap;
}

.hero-wildcard__value {
  margin-left: 5px;
  padding-left: 9px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--lime);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hp--haaland {
  right: -8%;
  width: 47%;
  height: 86%;
  z-index: 3;
  animation-delay: -4.7s;
}

.hp--mbappe {
  left: 28%;
  width: 47%;
  height: 94%;
  z-index: 4;
  animation-delay: -1.1s;
}

.hp--mbappe::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 20%;
  right: 20%;
  bottom: 7%;
  height: 30%;
  border-radius: 50%;
  background: rgba(215, 255, 79, 0.17);
  filter: blur(35px);
}

.hero-pick {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 8;
  width: 270px;
  padding: 16px 17px 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(15, 24, 29, 0.89), rgba(7, 13, 17, 0.78));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(17px) saturate(130%);
}

.hero-pick__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8e9ca9;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.hero-pick__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--lime);
}

.hero-pick__live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.hero-pick__comp {
  margin-top: 13px;
  color: #81909f;
  font-size: 10px;
}

.hero-pick h2 {
  margin-top: 3px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero-pick h2 span {
  margin: 0 3px;
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.hero-pick__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 15px;
}

.hero-pick__prob {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  max-width: 135px;
}

.hero-pick__prob strong {
  color: var(--lime);
  font-family: var(--display);
  font-size: 42px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.hero-pick__prob > span {
  margin-left: 2px;
  color: var(--lime);
  font-family: var(--display);
  font-size: 16px;
}

.hero-pick__prob small {
  flex-basis: 100%;
  margin-top: 4px;
  color: #7c8997;
  font-size: 9px;
}

.hero-pick__score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding-bottom: 2px;
}

.hero-pick__score span {
  color: #6e7b8a;
  font-size: 8px;
}

.hero-pick__score b {
  color: #f0f5e6;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-pick__bar {
  display: flex;
  gap: 2px;
  height: 4px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
}

.hero-pick__bar i:nth-child(1) {
  background: var(--lime);
}

.hero-pick__bar i:nth-child(2) {
  background: #53616d;
}

.hero-pick__bar i:nth-child(3) {
  background: var(--blue);
}

.hero-pick__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: #7b8997;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.hero__caption {
  display: none;
}

.hero__visual::after {
  content: "";
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  height: 142px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 10, 14, 0.34) 52%, rgba(6, 10, 14, 0.92) 100%);
  pointer-events: none;
}

/* =========================================================
   Score ticker
   ========================================================= */

.score-ticker {
  display: flex;
  align-items: center;
  width: 100%;
  height: 54px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(215, 255, 79, 0.045), rgba(255, 255, 255, 0.012) 32%, rgba(255, 255, 255, 0.012));
}

.score-ticker__label {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  height: 100%;
  padding: 0 24px;
  border-right: 1px solid var(--line);
  color: #b6c1ca;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.score-ticker__label span {
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--lime);
  color: #111708;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.score-ticker__viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.score-ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scoreTicker 48s linear infinite;
}

.score-ticker:hover .score-ticker__track {
  animation-play-state: paused;
}

.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 27px;
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  color: #97a3ae;
  font-size: 11px;
  white-space: nowrap;
}

.tick-item i {
  color: #596673;
  font-family: var(--display);
  font-size: 9px;
  font-style: normal;
}

.tick-item b {
  color: #f0f4ea;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tick-item .tick-win {
  color: var(--lime);
}

.score-ticker__link {
  flex: 0 0 auto;
  padding: 0 24px;
  color: #7d8a96;
  font-size: 10px;
  transition: color 0.2s ease;
}

.score-ticker__link:hover {
  color: var(--lime);
}

/* =========================================================
   Sections + shared editorial bits
   ========================================================= */

.section {
  padding-top: 96px;
  scroll-margin-top: 100px;
}

.section--ruled {
  margin-top: 84px;
  padding-top: 78px;
  border-top: 1px solid var(--line);
}

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

.section-head__main {
  max-width: 790px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: #98a5b2;
  font-family: var(--display);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.section-kicker span {
  color: var(--lime);
}

.section-kicker::after {
  content: "";
  width: 32px;
  height: 1px;
  margin-left: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.section-head h2,
.results__head h2 {
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 49px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-head p {
  max-width: 650px;
  margin-top: 12px;
  color: #8d99a6;
  font-size: 13.5px;
  line-height: 1.8;
}

.section-head__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  padding-bottom: 3px;
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #95a1ad;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.status-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(215, 255, 79, 0.08);
}

.status-label--muted {
  color: #6f7c88;
}

.text-link {
  color: #9ca8b4;
  font-size: 11px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--lime);
}

/* countdown */

.countdown {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  padding-left: 20px;
}

.countdown__label {
  color: #697684;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.countdown__clock {
  display: flex;
  align-items: center;
  gap: 4px;
}

.countdown__clock div {
  display: grid;
  justify-items: center;
  min-width: 42px;
  padding: 7px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
}

.countdown__clock b {
  color: var(--text);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown__clock small {
  margin-top: 4px;
  color: #667482;
  font-size: 7px;
  letter-spacing: 0.08em;
}

.countdown__clock i {
  color: #4e5b69;
  font-size: 12px;
  font-style: normal;
}

/* reveal */

.js .reveal {
  opacity: 1;
  transform: none;
}

.js .reveal.is-visible {
  animation: revealUp 0.75s var(--ease) both;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(19px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Match cards
   ========================================================= */

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

.today-subhead {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 16px;
  color: #7b8895;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.today-subhead .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.today-subhead__note {
  color: #566472;
}

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

.match-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
  overflow: hidden;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(20, 31, 44, 0.8), rgba(10, 16, 24, 0.94) 63%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  animation: cardFade 0.55s ease both;
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s ease;
}

.match-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.match-card::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 255, 79, 0.09), transparent 67%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.match-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 255, 79, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.match-card:hover::after {
  opacity: 1;
}

.match-card--feature {
  gap: 18px;
  padding: 21px;
  min-height: 318px;
}

.match-card--mini {
  min-height: 0;
  padding: 18px;
}

.match-card--league {
  min-height: 252px;
}

.match-card.is-open {
  border-color: rgba(215, 255, 79, 0.29);
}

.match-top {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #84919e;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.match-top time {
  margin-left: auto;
  color: #bdc6ce;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.match-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #71808e;
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.match-state::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #687787;
}

.league-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.league-tag::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.league-tag--uel {
  background: rgba(255, 180, 94, 0.1);
  color: #ffc380;
}

.league-tag--epl {
  background: rgba(182, 156, 255, 0.1);
  color: #c8b8ff;
}

.league-tag--ucl {
  background: rgba(125, 177, 255, 0.1);
  color: #9cc4ff;
}

.match-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

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

.team--away {
  flex-direction: row-reverse;
  text-align: right;
}

.team__copy {
  min-width: 0;
}

.team strong {
  display: block;
  overflow: hidden;
  color: #f0f4ec;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #82909c;
  font-size: 9.5px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-card--feature .team strong {
  font-size: 15px;
}

.match-card--feature .team small {
  font-size: 9.5px;
}

.crest {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background:
    linear-gradient(145deg, var(--c1, #3b4a5c), var(--c2, #121b26));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: var(--ink, #fff);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.crest::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.23), transparent 42%),
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(0, 0, 0, 0.1) 8px 10px);
}

.crest span {
  position: relative;
  z-index: 1;
}

.crest--lg {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  font-size: 11px;
}

.crest--sm {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 7px;
}

.crest--xs {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  font-size: 5.5px;
}

.predicted-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  min-width: 58px;
  padding: 7px 8px 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.predicted-score span {
  color: #f1f5e9;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.predicted-score i {
  color: #5b6875;
  font-family: var(--display);
  font-size: 12px;
  font-style: normal;
}

.predicted-score small {
  display: none;
}

.match-card--feature .predicted-score {
  min-width: 70px;
  padding: 8px 9px 7px;
}

.match-card--feature .predicted-score span {
  font-size: 29px;
}

.match-card--feature .predicted-score small {
  display: block;
  flex-basis: 100%;
  margin-top: -2px;
  color: #667482;
  font-family: var(--sans);
  font-size: 7px;
  line-height: 1.5;
  text-align: center;
}

.prob-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prob-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #8996a2;
  font-size: 9.5px;
}

.prob-head span {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.prob-head b {
  color: #d0d8de;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
}

.prob-head span:nth-child(1) b {
  color: var(--lime);
}

.prob-head span:nth-child(3) b {
  color: var(--blue);
}

.prob-track {
  display: flex;
  gap: 2px;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}

.prob-track i {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: 99px;
  transform-origin: left center;
  animation: barIn 1.2s var(--ease) both;
}

.prob-track .p-home {
  background: linear-gradient(90deg, #b9eb2b, var(--lime));
}

.prob-track .p-draw {
  background: #596774;
}

.prob-track .p-away {
  background: linear-gradient(90deg, #5e95e7, var(--blue));
}

.match-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 23px;
  margin-top: auto;
}

.confidence {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.confidence i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.confidence--high {
  background: rgba(215, 255, 79, 0.1);
  color: #c9ef57;
}

.confidence--medium {
  background: rgba(255, 180, 94, 0.1);
  color: #ffc37d;
}

.confidence--low {
  background: rgba(255, 255, 255, 0.06);
  color: #9aa6b1;
}

.match-note {
  overflow: hidden;
  color: #7e8c98;
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analysis-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 4px 0 4px 6px;
  border: 0;
  background: transparent;
  color: #adbbc5;
  cursor: pointer;
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.analysis-toggle:hover {
  color: var(--lime);
}

.analysis-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s var(--ease);
}

.match-card.is-open .analysis-toggle svg {
  transform: rotate(45deg);
}

.analysis {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: -17px;
  transition: max-height 0.5s var(--ease), opacity 0.3s ease, margin-top 0.35s ease;
}

.match-card.is-open .analysis {
  max-height: 430px;
  opacity: 1;
  margin-top: 0;
}

.analysis__inner {
  overflow: hidden;
}

.analysis__content {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.analysis__content p {
  color: #a0acb8;
  font-size: 11.5px;
  line-height: 1.8;
}

.analysis-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.analysis-tags span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #7f8d9a;
  font-size: 8px;
}

/* =========================================================
   World league board
   ========================================================= */

.section--world {
  padding-top: 88px;
}

.league-index {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.league-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #8996a2;
  font-size: 9.5px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.league-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--league);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--league) 12%, transparent);
}

.league-chip small {
  color: #55636f;
  font-family: var(--display);
  font-size: 7.5px;
}

.league-chip:hover {
  border-color: color-mix(in srgb, var(--league) 30%, transparent);
  background: color-mix(in srgb, var(--league) 7%, transparent);
  color: #eef3e7;
}

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

.league-board {
  --league: #d7ff4f;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 252px;
  padding: 15px 15px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% -10%, color-mix(in srgb, var(--league) 9%, transparent), transparent 42%),
    linear-gradient(150deg, rgba(18, 28, 40, 0.88), rgba(8, 13, 20, 0.97) 66%);
  scroll-margin-top: 102px;
  transition: border-color 0.25s ease, transform 0.3s var(--ease), background 0.25s ease;
}

.league-board::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15px;
  right: 15px;
  height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--league) 55%, transparent), transparent 74%);
}

.league-board:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--league) 33%, rgba(255, 255, 255, 0.1));
}

.board-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding-bottom: 12px;
}

.board-flag {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--league) 30%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--league) 10%, transparent);
  color: color-mix(in srgb, var(--league) 84%, white 16%);
  font-family: var(--display);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.board-title h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.board-title p {
  margin-top: 3px;
  color: #6d7a87;
  font-size: 8px;
}

.board-count {
  color: #52606c;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.board-rows {
  border-top: 1px solid var(--line);
}

.board-row {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 82px;
  align-items: center;
  gap: 7px;
  min-height: 51px;
  padding: 7px 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.board-row:hover {
  background: rgba(255, 255, 255, 0.022);
}

.board-when {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
}

.board-when b {
  color: #aeb9c3;
  font-size: 8.5px;
  font-weight: 500;
}

.board-when span {
  color: #5f6c79;
  font-size: 7.5px;
}

.board-match {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto minmax(0, 1fr) 18px;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.board-name {
  overflow: hidden;
  color: #b8c2ca;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-name--home {
  color: #d6ded7;
}

.board-score {
  color: #f3f7eb;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.board-score i {
  margin: 0 1px;
  color: #62707c;
  font-size: 8px;
  font-style: normal;
}

.board-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 0;
}

.board-pick {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #c7d1d9;
  font-family: var(--display);
  font-size: 7.5px;
  white-space: nowrap;
}

.board-pick::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.board-pick--home {
  color: var(--lime);
}

.board-pick--away {
  color: var(--blue);
}

.board-pick--draw {
  color: #9aa6b1;
}

.board-side small {
  overflow: hidden;
  max-width: 82px;
  color: #5d6a77;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 9px;
  color: #596774;
  font-size: 7.5px;
}

.board-foot a {
  color: color-mix(in srgb, var(--league) 70%, #aab5bf 30%);
  transition: color 0.2s ease;
}

.board-foot a:hover {
  color: var(--league);
}

.world-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 17px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--lime);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.018);
}

.world-note__mark {
  flex: 0 0 auto;
  padding-top: 1px;
  color: var(--lime);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.world-note p {
  color: #71808d;
  font-size: 9px;
  line-height: 1.75;
}

/* =========================================================
   EPL section
   ========================================================= */

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-group::-webkit-scrollbar {
  display: none;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #7f8c98;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter span {
  color: #556370;
  font-family: var(--display);
  font-size: 8px;
}

.filter:hover {
  color: #dbe2d4;
  background: rgba(255, 255, 255, 0.04);
}

.filter.is-active {
  border-color: rgba(215, 255, 79, 0.19);
  background: rgba(215, 255, 79, 0.08);
  color: var(--lime);
}

.filter.is-active span {
  color: #9ebf33;
}

.legend {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #687582;
  font-size: 8.5px;
  white-space: nowrap;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend i {
  width: 11px;
  height: 3px;
  border-radius: 99px;
}

.legend__home {
  background: var(--lime);
}

.legend__draw {
  background: #596774;
}

.legend__away {
  background: var(--blue);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  align-items: start;
  gap: 19px;
}

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

.match-card.is-filtered {
  display: none;
}

.aside-stack {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(17, 27, 39, 0.92), rgba(9, 14, 21, 0.97));
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.panel__kicker {
  display: block;
  margin-bottom: 3px;
  color: #617081;
  font-family: var(--display);
  font-size: 7.5px;
  letter-spacing: 0.15em;
}

.panel h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.panel__tag {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #7d8a97;
  font-family: var(--display);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.panel__tag--lime {
  border-color: rgba(215, 255, 79, 0.17);
  background: rgba(215, 255, 79, 0.07);
  color: var(--lime);
}

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

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
}

.mini-table th {
  padding: 0 3px 7px;
  color: #6d7b89;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-align: right;
}

.mini-table th:nth-child(2) {
  text-align: left;
}

.mini-table td {
  padding: 6px 3px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #a1adb7;
  font-size: 10px;
  text-align: right;
}

.mini-table td:nth-child(2) {
  text-align: left;
}

.mini-table td:first-child {
  color: #52606e;
  font-family: var(--display);
  font-size: 8px;
  text-align: left;
}

.mini-table tr:first-child td {
  border-top: 0;
}

.mini-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.table-team {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.table-team strong {
  overflow: hidden;
  color: #dce3da;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-table td.points {
  color: #e8eee0;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
}

.mini-table .standing-lead td {
  background: linear-gradient(90deg, rgba(215, 255, 79, 0.08), transparent);
}

.mini-table .standing-lead td:first-child {
  color: var(--lime);
}

.panel__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: #64717f;
  font-size: 8px;
}

.panel__foot a {
  flex: 0 0 auto;
  color: #8b98a4;
  transition: color 0.2s ease;
}

.panel__foot a:hover {
  color: var(--lime);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: #7f8c98;
  cursor: pointer;
  font-family: var(--display);
  font-size: 10px;
}

.icon-button:hover {
  border-color: rgba(215, 255, 79, 0.3);
  color: var(--lime);
}

.signal-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.signal-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 29px;
  align-items: center;
  gap: 8px;
}

.signal-row > span {
  color: #8895a1;
  font-size: 9px;
}

.signal-row > b {
  color: #b9c4cd;
  font-family: var(--display);
  font-size: 9px;
  font-weight: 500;
  text-align: right;
}

.signal-track {
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}

.signal-track i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6d8b2b, var(--lime));
}

.panel__note {
  margin-top: 15px;
  color: #65727f;
  font-size: 8.5px;
  line-height: 1.65;
}

.text-button {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b4c0c9;
  cursor: pointer;
  font-size: 9px;
  font-weight: 600;
}

.text-button span {
  color: var(--lime);
}

.text-button:hover {
  color: var(--lime);
}

.quote-panel {
  padding: 22px 20px 19px;
  background:
    radial-gradient(circle at 88% 18%, rgba(215, 255, 79, 0.09), transparent 46%),
    linear-gradient(145deg, rgba(16, 27, 31, 0.92), rgba(8, 14, 18, 0.97));
}

.quote-panel__mark {
  display: block;
  height: 27px;
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 0.9;
  opacity: 0.75;
}

.quote-panel p {
  max-width: 230px;
  margin-top: 5px;
  color: #c9d2c8;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.75;
}

.quote-panel__by {
  display: block;
  margin-top: 14px;
  color: #5f6e7a;
  font-family: var(--display);
  font-size: 7px;
  letter-spacing: 0.1em;
}

/* =========================================================
   UCL section
   ========================================================= */

.ucl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  align-items: start;
  gap: 19px;
}

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

.table-panel--ucl .mini-table td {
  padding-top: 6.5px;
  padding-bottom: 6.5px;
}

.qualifier-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #727f8c;
  font-size: 8px;
}

.qualifier-note i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.spotlight-panel {
  min-height: 305px;
  padding: 18px 18px 0;
  background:
    radial-gradient(circle at 83% 38%, rgba(215, 255, 79, 0.15), transparent 44%),
    linear-gradient(145deg, #15221f, #09100f);
}

.spotlight-panel__top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}

.spotlight-panel__num {
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--display);
  font-size: 32px;
  line-height: 0.7;
}

.spotlight-panel__body {
  position: relative;
  z-index: 1;
  min-height: 220px;
}

.spotlight-panel__copy {
  position: relative;
  z-index: 2;
  width: 67%;
  padding-top: 7px;
}

.spotlight-panel__copy h3 {
  margin-top: 7px;
  color: #f2f7ea;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.spotlight-panel__copy p {
  margin-top: 9px;
  color: #98a79e;
  font-size: 9px;
  line-height: 1.7;
}

.spotlight-panel__tag {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 6px;
  border: 1px solid rgba(215, 255, 79, 0.16);
  border-radius: 3px;
  color: #b7d25a;
  font-family: var(--display);
  font-size: 6.5px;
  letter-spacing: 0.08em;
}

.spotlight-panel__body img {
  position: absolute;
  right: -24px;
  bottom: -7px;
  width: 53%;
  height: 270px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.48));
  transition: transform 0.5s var(--ease);
}

.spotlight-panel:hover .spotlight-panel__body img {
  transform: translateY(-4px) scale(1.02);
}

.spotlight-panel__foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 -18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spotlight-panel__foot span {
  padding: 9px 8px;
  color: #74847d;
  font-family: var(--display);
  font-size: 7px;
  text-align: center;
  letter-spacing: 0.04em;
}

.spotlight-panel__foot span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.format-panel {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.02);
}

.format-panel p {
  margin-top: 5px;
  color: #83909a;
  font-size: 9px;
  line-height: 1.75;
}

/* =========================================================
   Stars
   ========================================================= */

.wildcard-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 382px;
  margin-bottom: 14px;
  padding: 27px 28px 24px;
  border: 1px solid rgba(115, 184, 245, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 40%, rgba(46, 137, 212, 0.25), transparent 38%),
    radial-gradient(circle at 5% 100%, rgba(215, 255, 79, 0.07), transparent 34%),
    linear-gradient(118deg, #0a192b 0%, #0a121e 52%, #0b1b2e 100%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  isolation: isolate;
}

.wildcard-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(143, 198, 244, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 198, 244, 0.12) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, transparent 20%, #000 58%, #000);
}

.wildcard-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 4%;
  bottom: -45%;
  width: 55%;
  height: 95%;
  border-radius: 50%;
  background: rgba(50, 148, 224, 0.17);
  filter: blur(90px);
}

.wildcard-card__copy {
  position: relative;
  z-index: 4;
  width: 63%;
}

.wildcard-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #80b8e7;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.wildcard-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(215, 255, 79, 0.08);
}

.wildcard-card__edition {
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: #52697a;
  font-size: 7px;
}

.wildcard-card__copy h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 13px;
  color: #f7fbf1;
  font-family: var(--display);
  font-size: clamp(50px, 5vw, 67px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.wildcard-card__copy h3 span {
  color: #77a9ce;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wildcard-card__club {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #a4b7c5;
  font-size: 11px;
}

.wildcard-mini-crest {
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 22px;
  border: 1px solid rgba(126, 191, 255, 0.25);
  border-radius: 4px;
  background: linear-gradient(145deg, #0d4e86, #0a2745);
  color: #cfe9ff;
  font-family: var(--display);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wildcard-card__quote {
  max-width: 525px;
  margin-top: 14px;
  color: #aebdc7;
  font-size: 13px;
  line-height: 1.7;
}

.wildcard-card__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 620px;
  margin-top: 21px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wildcard-card__stats div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-right: 15px;
}

.wildcard-card__stats div + div {
  padding-left: 17px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.wildcard-card__stats strong {
  color: #edf4e5;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.wildcard-card__stats span {
  color: #6d8494;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.wildcard-card__stats .is-value strong {
  color: var(--lime);
}

.wildcard-card__leagues {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 19px;
}

.wildcard-card__leagues span {
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  color: #8ea7b8;
  font-size: 7px;
  letter-spacing: 0.03em;
}

.wildcard-card__leagues small {
  margin-left: 5px;
  color: #5f7788;
  font-size: 7.5px;
}

.wildcard-card__visual {
  position: absolute;
  z-index: 2;
  right: 2%;
  bottom: -5%;
  width: 39%;
  height: 112%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.wildcard-card__visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: saturate(0.96) drop-shadow(0 28px 30px rgba(0, 0, 0, 0.45));
}

.wildcard-card__ghost {
  position: absolute;
  z-index: 0;
  top: 2%;
  right: -3%;
  color: transparent;
  font-family: var(--display);
  font-size: 126px;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 1px rgba(133, 198, 252, 0.15);
  transform: rotate(-7deg);
  white-space: nowrap;
}

.wildcard-card__stamp {
  position: absolute;
  z-index: 5;
  top: 22px;
  right: 24px;
  color: #6e9ab8;
  font-family: var(--display);
  font-size: 7px;
  line-height: 1.55;
  letter-spacing: 0.14em;
  text-align: right;
}

.wildcard-card__stamp b {
  color: rgba(215, 255, 79, 0.7);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.career-entry {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 16px 20px;
  border: 1px solid rgba(215, 255, 79, 0.24);
  border-radius: 13px;
  background:
    radial-gradient(circle at 72% -40%, rgba(215, 255, 79, 0.13), transparent 46%),
    linear-gradient(90deg, rgba(215, 255, 79, 0.06), rgba(255, 255, 255, 0.022) 58%, rgba(81, 154, 225, 0.07));
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease);
}

.career-entry::after {
  content: "";
  position: absolute;
  right: 26%;
  top: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(215, 255, 79, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.career-entry:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 255, 79, 0.48);
}

.career-entry__copy {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.career-entry__kicker {
  color: var(--lime);
  font-family: var(--display);
  font-size: 7.5px;
  letter-spacing: 0.14em;
}

.career-entry h3 {
  margin-top: 3px;
  color: #eef5e3;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.career-entry p {
  margin-top: 3px;
  color: #7e8c99;
  font-size: 9px;
  line-height: 1.55;
}

.career-entry__rating {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex: 0 0 auto;
  padding-right: 8px;
}

.career-entry__rating span,
.career-entry__rating b {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

.career-entry__rating span {
  color: #697a88;
}

.career-entry__rating i {
  color: #52616e;
  font-size: 12px;
  font-style: normal;
}

.career-entry__rating b {
  color: var(--lime);
}

.career-entry__rating small {
  display: block;
  align-self: flex-end;
  margin-left: 2px;
  color: #5f6e7a;
  font-family: var(--display);
  font-size: 6.5px;
  letter-spacing: 0.05em;
}

.career-entry__cta {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  color: #d9e3d4;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.career-entry:hover .career-entry__cta {
  color: var(--lime);
}

@media (max-width: 680px) {
  .career-entry {
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
  }

  .career-entry__rating {
    margin-left: auto;
  }

  .career-entry__cta {
    flex-basis: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.stars-grid {
  margin-top: 14px;
}

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

.star-card {
  --tone: #508db3;
  --tone-2: #101d29;
  position: relative;
  min-height: 338px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 72% 30%, color-mix(in srgb, var(--tone) 46%, transparent), transparent 53%),
    linear-gradient(150deg, color-mix(in srgb, var(--tone) 22%, #0c121b), var(--tone-2) 78%);
  transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s ease;
}

.star-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 10, 14, 0.16), transparent 37%, rgba(5, 8, 12, 0.86) 100%),
    linear-gradient(90deg, rgba(6, 9, 13, 0.45), transparent 58%);
  pointer-events: none;
}

.star-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -54px;
  right: -54px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.022), 0 0 0 56px rgba(255, 255, 255, 0.015);
  pointer-events: none;
}

.star-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--tone) 58%, rgba(255, 255, 255, 0.2));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.star-card__head {
  position: absolute;
  z-index: 4;
  top: 17px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.star-card__club {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.star-card__club::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tone);
}

.star-card__index {
  color: rgba(255, 255, 255, 0.32);
}

.star-card__photo {
  position: absolute;
  z-index: 2;
  left: 2%;
  right: 2%;
  bottom: 34px;
  height: 86%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.star-card__photo::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 20%;
  right: 20%;
  bottom: 3%;
  height: 25%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tone) 42%, transparent);
  filter: blur(33px);
}

.star-card__fallback {
  position: absolute;
  z-index: 0;
  top: 23%;
  left: 0;
  right: 0;
  color: rgba(255, 255, 255, 0.14);
  font-family: var(--display);
  font-size: 105px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  letter-spacing: -0.09em;
}

.star-card__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 25px rgba(0, 0, 0, 0.4));
  transition: transform 0.55s var(--ease);
}

.star-card:hover .star-card__photo img {
  transform: scale(1.045) translateY(-3px);
}

.star-card__info {
  position: absolute;
  z-index: 4;
  left: 19px;
  right: 19px;
  bottom: 17px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.star-card__name h3 {
  color: #f8fbf2;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.star-card__name p {
  max-width: 220px;
  margin-top: 6px;
  color: rgba(232, 240, 228, 0.72);
  font-size: 10.5px;
  line-height: 1.55;
}

.star-card__role {
  flex: 0 0 auto;
  min-width: 42px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--display);
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: pre-line;
}

.image-credit {
  margin-top: 14px;
  color: #4f5c69;
  font-size: 8px;
}

/* =========================================================
   Results
   ========================================================= */

.results {
  margin-top: 84px;
  padding-top: 78px;
  padding-bottom: 98px;
  border-top: 1px solid var(--line);
}

.results__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

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

.result-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 16px 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.024);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.result-card:hover {
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.04);
}

.result-card--highlight {
  border-color: rgba(215, 255, 79, 0.19);
  background: linear-gradient(90deg, rgba(215, 255, 79, 0.075), rgba(255, 255, 255, 0.02));
}

.result-card__teams {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.result-team {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.result-team .crest {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  font-size: 6px;
}

.result-team span:last-child {
  overflow: hidden;
  color: #c8d1cc;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-team.is-winner span:last-child {
  color: #f0f5e7;
  font-weight: 700;
}

.result-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: 0 0 auto;
}

.result-score strong {
  color: #f3f7ec;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.result-card--highlight .result-score strong {
  color: var(--lime);
}

.result-score small {
  color: #5d6a77;
  font-family: var(--display);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.results__note {
  margin-top: 16px;
  color: #56636f;
  font-size: 8px;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  border-top: 1px solid var(--line);
  background: #06090d;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-top: 48px;
  padding-bottom: 38px;
}

.footer__brand p {
  max-width: 265px;
  margin-top: 15px;
  color: #697683;
  font-size: 11px;
  line-height: 1.7;
}

.footer__links {
  display: flex;
  gap: 84px;
}

.footer__links div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer__links span {
  margin-bottom: 3px;
  color: #4e5b68;
  font-family: var(--display);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.footer__links a,
.footer__links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #929eaa;
  cursor: pointer;
  font-size: 10px;
  text-align: left;
  transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__links button:hover {
  color: var(--lime);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: #505d69;
  font-family: var(--display);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}

/* =========================================================
   Match detail drawer
   ========================================================= */

.match-card[data-open-match] {
  cursor: pointer;
}

.board-row[data-open-match] {
  cursor: pointer;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 5, 8, 0.7);
  backdrop-filter: blur(7px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.match-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  display: flex;
  flex-direction: column;
  width: min(570px, 100vw);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  background: #080d14;
  box-shadow: -30px 0 100px rgba(0, 0, 0, 0.55);
  isolation: isolate;
  transform: translateX(102%);
  transition: transform 0.45s var(--ease);
}

body.drawer-open {
  overflow: hidden;
}

body.drawer-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.drawer-open .match-drawer {
  transform: none;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex: 0 0 auto;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 20, 0.96);
}

.drawer-kicker {
  color: #7a8896;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.drawer-close {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: #aeb9c2;
  cursor: pointer;
  font-size: 19px;
  font-weight: 300;
  line-height: 1;
}

.drawer-close:hover {
  border-color: rgba(215, 255, 79, 0.35);
  color: var(--lime);
}

.drawer-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 20px 28px;
  background: #080d14;
  scrollbar-width: thin;
}

.drawer-head {
  position: relative;
  overflow: hidden;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--accent, #d7ff4f) 13%, transparent), transparent 46%),
    linear-gradient(150deg, rgba(22, 33, 45, 0.9), rgba(8, 13, 20, 0.98));
}

.drawer-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent, #d7ff4f), transparent 74%);
  opacity: 0.65;
}

.drawer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #748290;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.drawer-meta time {
  margin-left: auto;
  color: #9ba7b1;
  font-size: 8.5px;
  white-space: nowrap;
}

.drawer-tag {
  padding: 3px 6px;
  border: 1px solid color-mix(in srgb, var(--accent, #d7ff4f) 28%, transparent);
  border-radius: 3px;
  background: color-mix(in srgb, var(--accent, #d7ff4f) 9%, transparent);
  color: color-mix(in srgb, var(--accent, #d7ff4f) 84%, white 16%);
  font-family: var(--display);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.drawer-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

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

.drawer-team--away {
  flex-direction: row-reverse;
  text-align: right;
}

.drawer-team strong {
  display: block;
  overflow: hidden;
  color: #f1f5eb;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-team small {
  display: block;
  margin-top: 3px;
  color: #778592;
  font-size: 8px;
}

.drawer-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.drawer-score b {
  color: #f5f9ec;
  font-family: var(--display);
  font-size: 33px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
}

.drawer-score small {
  color: #697785;
  font-size: 7.5px;
}

.drawer-bars {
  margin-top: 20px;
}

.drawer-bar-labels,
.drawer-bar-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.drawer-bar-labels {
  margin-bottom: 7px;
  color: #8794a0;
  font-size: 9px;
}

.drawer-bar-labels b {
  color: #d4dce0;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
}

.drawer-bar-labels span:nth-child(1) b {
  color: var(--lime);
}

.drawer-bar-labels span:nth-child(3) b {
  color: var(--blue);
}

.drawer-bar {
  display: flex;
  gap: 2px;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}

.drawer-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: 99px;
}

.drawer-bar .home {
  background: var(--lime);
}

.drawer-bar .draw {
  background: #5c6975;
}

.drawer-bar .away {
  background: var(--blue);
}

.drawer-bar-legend {
  margin-top: 7px;
  color: #62707d;
  font-size: 7.5px;
}

.drawer-section {
  margin-top: 25px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.drawer-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.drawer-section__head h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.drawer-section__head p {
  margin-top: 4px;
  color: #6e7c89;
  font-size: 8.5px;
  line-height: 1.6;
}

.drawer-kicker-mini {
  display: block;
  margin-bottom: 4px;
  color: var(--lime);
  font-family: var(--display);
  font-size: 7.5px;
  letter-spacing: 0.13em;
}

.drawer-pill {
  flex: 0 0 auto;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #8a97a2;
  font-family: var(--display);
  font-size: 7px;
  letter-spacing: 0.05em;
}

.evidence-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.evidence-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.022);
}

.evidence-card__label {
  padding-top: 1px;
  color: #7e8c98;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.evidence-card__label i {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--accent, var(--lime));
  vertical-align: 1px;
}

.evidence-card h4 {
  color: #dce4dc;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.45;
}

.evidence-card p {
  margin-top: 3px;
  color: #84919d;
  font-size: 9px;
  line-height: 1.65;
}

.factor-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.factor-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 9px;
  color: #8c99a5;
  font-size: 8.5px;
}

.factor-row b {
  color: #b3bdc6;
  font-family: var(--display);
  font-size: 8.5px;
  font-weight: 500;
  text-align: right;
}

.factor-track {
  position: relative;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}

.factor-track i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--w);
  border-radius: inherit;
}

.factor-track i.positive {
  background: linear-gradient(90deg, #7e9e28, var(--lime));
}

.factor-track i.negative {
  background: linear-gradient(90deg, #9e3941, var(--red));
}

.factor-track i.neutral {
  background: #5b6874;
}

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

.derived-card {
  min-width: 0;
  padding: 11px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.022);
}

.derived-card > span {
  display: block;
  color: #6d7b87;
  font-size: 7.5px;
}

.derived-card > strong {
  display: block;
  margin-top: 6px;
  color: #eef4e7;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.derived-card > small {
  display: block;
  margin-top: 4px;
  color: #6e7c88;
  font-size: 7.5px;
  line-height: 1.5;
}

.derived-card > p {
  margin-top: 8px;
  color: #7c8996;
  font-size: 7.5px;
  line-height: 1.55;
}

.derived-card--score > strong {
  color: var(--lime);
}

.derived-card--htft > strong {
  font-size: 17px;
}

.derived-score-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 8px;
}

.derived-score-list span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #7d8a96;
  font-family: var(--display);
  font-size: 7px;
}

.derived-score-list b {
  color: #9da9b2;
  font-weight: 500;
}

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

.form-card,
.injury-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.form-card__head,
.injury-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.form-card__head strong,
.injury-card__head strong {
  display: block;
  overflow: hidden;
  color: #dbe3da;
  font-size: 10.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-card__head small,
.injury-card__head small {
  display: block;
  margin-top: 2px;
  color: #657380;
  font-size: 7px;
}

.form-dots {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
}

.form-dot {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  font-family: var(--display);
  font-size: 7px;
  font-weight: 600;
}

.form-dot--w {
  background: rgba(215, 255, 79, 0.12);
  color: var(--lime);
}

.form-dot--d {
  background: rgba(255, 255, 255, 0.08);
  color: #a8b2bb;
}

.form-dot--l {
  background: rgba(255, 103, 116, 0.12);
  color: var(--red);
}

.form-row {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.form-row > span:first-child {
  font-family: var(--display);
  font-size: 7px;
  font-weight: 600;
}

.form-row .w { color: var(--lime); }
.form-row .d { color: #9da8b2; }
.form-row .l { color: var(--red); }

.form-opp {
  overflow: hidden;
  color: #7f8c98;
  font-size: 7.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-score {
  color: #c7d0d8;
  font-family: var(--display);
  font-size: 8px;
  white-space: nowrap;
}

.formation-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: #6f7d89;
  font-size: 7.5px;
}

.formation-line b {
  color: #b9c3cc;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
}

.injury-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px;
  padding: 5px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.injury-name {
  overflow: hidden;
  color: #aeb9c3;
  font-size: 7.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.injury-meta {
  color: #6e7b87;
  font-size: 7px;
  white-space: nowrap;
}

.injury-type {
  margin-left: 4px;
  color: #ffb45e;
}

.drawer-empty {
  padding: 8px 0;
  color: #5f6c78;
  font-size: 8px;
  line-height: 1.6;
}

.h2h-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 9px;
}

.h2h-summary div {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.h2h-summary b {
  display: block;
  color: #dfe7dc;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
}

.h2h-summary span {
  color: #687582;
  font-size: 7px;
}

.h2h-list {
  display: flex;
  flex-direction: column;
}

.h2h-row {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.h2h-date {
  color: #63707c;
  font-family: var(--display);
  font-size: 7px;
}

.h2h-teams {
  overflow: hidden;
  color: #8996a2;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.h2h-score {
  color: #d5dee3;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.drawer-source {
  margin-top: 23px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: #54616d;
  font-size: 7.5px;
  line-height: 1.65;
}

.drawer-source strong {
  color: #788691;
  font-weight: 600;
}

.drawer-error {
  padding: 40px 10px;
  color: #8a97a2;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 680px) {
  .match-drawer {
    width: 100%;
    border-left: 0;
  }

  .drawer-top {
    padding: 12px 16px;
  }

  .drawer-scroll {
    padding: 16px 16px 24px;
  }

  .drawer-teams {
    gap: 7px;
  }

  .drawer-team strong {
    font-size: 12px;
  }

  .drawer-score b {
    font-size: 29px;
  }

  .drawer-section {
    margin-top: 20px;
    padding-top: 17px;
  }

  .evidence-card {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }

  .derived-grid {
    grid-template-columns: 1fr;
  }

  .derived-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 4px 10px;
  }

  .derived-card > span {
    grid-row: span 2;
  }

  .derived-card > strong {
    margin-top: 0;
  }

  .derived-card > small,
  .derived-card > p {
    grid-column: 2;
    margin-top: 0;
  }

  .form-columns,
  .injury-grid {
    grid-template-columns: 1fr;
  }

  .drawer-section__head h3 {
    font-size: 17px;
  }
}

/* =========================================================
   Dialog + toast + utility
   ========================================================= */

.method-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: min(86vh, 780px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: #0c121a;
  color: var(--text);
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.66);
}

.method-dialog::backdrop {
  background: rgba(2, 5, 8, 0.74);
  backdrop-filter: blur(8px);
}

.method-dialog[open] {
  animation: dialogIn 0.35s var(--ease);
}

.method-dialog__inner {
  max-height: min(86vh, 780px);
  overflow-y: auto;
}

.method-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  padding: 27px 28px 22px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 0%, rgba(215, 255, 79, 0.11), transparent 52%),
    rgba(255, 255, 255, 0.015);
}

.method-dialog__head h2 {
  margin-top: 5px;
  font-family: var(--display);
  font-size: 33px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: #9da9b4;
  cursor: pointer;
  font-size: 21px;
  font-weight: 300;
  line-height: 1;
}

.dialog-close:hover {
  border-color: rgba(215, 255, 79, 0.3);
  color: var(--lime);
}

.method-dialog__body {
  padding: 24px 28px 27px;
}

.method-block {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.method-block:first-child {
  padding-top: 0;
}

.method-block__num {
  color: var(--lime);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.method-block h3 {
  color: #dfe6d8;
  font-size: 14px;
  font-weight: 700;
}

.method-block p {
  margin-top: 5px;
  color: #8d99a5;
  font-size: 11px;
  line-height: 1.85;
}

.method-note {
  margin-top: 20px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 180, 94, 0.17);
  border-radius: 9px;
  background: rgba(255, 180, 94, 0.045);
}

.method-note strong {
  color: #ffc27d;
  font-size: 10px;
}

.method-note p {
  margin-top: 4px;
  color: #9d9488;
  font-size: 10px;
  line-height: 1.75;
}

.method-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  margin-top: 19px;
}

.method-sources a {
  color: #8e9aa3;
  font-size: 9px;
}

.method-sources a:hover {
  color: var(--lime);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid rgba(215, 255, 79, 0.24);
  border-radius: 9px;
  background: rgba(14, 22, 22, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  color: #d9e3ce;
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(10, 16, 22, 0.88);
  color: #b2bdc6;
  cursor: pointer;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(9px);
  backdrop-filter: blur(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.back-to-top:hover {
  color: var(--lime);
}

.noscript {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 400;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--lime);
  color: #131a08;
  font-weight: 700;
}

/* =========================================================
   Animations
   ========================================================= */

@keyframes softPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(215, 255, 79, 0.08); }
  50% { opacity: 0.55; box-shadow: 0 0 0 7px rgba(215, 255, 79, 0.015); }
}

@keyframes playerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes scoreTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes barIn {
  from { transform: scaleX(0); opacity: 0.55; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes cardFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */

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

  .hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr);
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(54px, 5.6vw, 72px);
  }

  .hero__visual {
    height: 555px;
  }

  .hero-pick {
    width: 250px;
  }

  .header__inner {
    gap: 18px;
  }

  .main-nav {
    margin-left: 0;
  }

  .main-nav a {
    padding-inline: 10px;
  }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 44px;
    min-height: auto;
  }

  .hero__copy {
    max-width: 760px;
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(58px, 8vw, 84px);
  }

  .hero__lead {
    max-width: 600px;
  }

  .hero__visual {
    height: 540px;
    max-width: 900px;
  }

  .hero__metrics {
    max-width: 500px;
  }

  .countdown {
    display: none;
  }

  .content-grid,
  .ucl-layout {
    grid-template-columns: 1fr;
  }

  .aside-stack {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .aside-stack .quote-panel,
  .aside-stack .format-panel {
    display: none;
  }

  .spotlight-panel {
    min-height: 300px;
  }

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

@media (max-width: 860px) {
  .topline__context {
    display: none;
  }

  .topline__right {
    font-size: 9px;
  }

  .main-nav {
    position: fixed;
    top: 110px;
    left: 20px;
    right: 20px;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: rgba(10, 15, 21, 0.98);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-9px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(18px);
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav a {
    padding: 13px 14px;
    font-size: 14px;
  }

  .main-nav a.is-active::after {
    display: none;
  }

  .nav-method {
    display: block;
    margin-top: 4px;
    padding: 12px 14px;
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    color: #8f9ba6;
    cursor: pointer;
    font-size: 11px;
    text-align: left;
  }

  .menu-toggle {
    display: block;
  }

  .update-chip {
    display: none;
  }

  .featured-grid,
  .today-compact,
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .featured-grid .match-card:last-child {
    grid-column: 1 / -1;
  }

  .section-head {
    align-items: flex-start;
  }

  .section-head__side {
    display: none;
  }

  .footer__top {
    flex-direction: column;
    gap: 32px;
  }

  .footer__links {
    gap: 60px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: calc(100% - 32px);
  }

  .topline__right {
    display: none;
  }

  .topline__inner {
    justify-content: space-between;
  }

  .header__inner {
    min-height: 66px;
  }

  .brand__text strong {
    font-size: 15px;
  }

  .brand__text small {
    font-size: 7.5px;
  }

  .header__actions .btn {
    display: none;
  }

  .main-nav {
    top: 100px;
    left: 16px;
    right: 16px;
  }

  .hero {
    padding-top: 30px;
    gap: 28px;
  }

  .eyebrow {
    margin-bottom: 17px;
    font-size: 8.5px;
  }

  .hero h1 {
    font-size: clamp(45px, 13vw, 64px);
    letter-spacing: -0.06em;
  }

  .hero__lead {
    margin-top: 20px;
    font-size: 13.5px;
    line-height: 1.75;
  }

  .hero__actions {
    margin-top: 24px;
  }

  .btn {
    min-height: 43px;
    padding-inline: 16px;
    font-size: 12px;
  }

  .hero__metrics {
    margin-top: 31px;
    padding-top: 19px;
  }

  .metric strong {
    font-size: 26px;
  }

  .metric + .metric {
    padding-left: 15px;
  }

  .metric span {
    font-size: 8.5px;
  }

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

  .hero__visual {
    height: 438px;
    border-radius: 21px;
  }

  .hero__ghost {
    font-size: 170px;
  }

  .hero__badge {
    top: 13px;
    right: 13px;
    padding: 6px 8px;
  }

  .hero__badge strong {
    font-size: 24px;
  }

  .hero-pick {
    top: 13px;
    left: 13px;
    width: 216px;
    padding: 12px 13px 10px;
  }

  .hero-pick__comp {
    margin-top: 9px;
    font-size: 8.5px;
  }

  .hero-pick h2 {
    font-size: 13.5px;
  }

  .hero-pick__row {
    margin-top: 10px;
  }

  .hero-pick__prob strong {
    font-size: 34px;
  }

  .hero-pick__score b {
    font-size: 17px;
  }

  .hero-pick__bar {
    margin-top: 9px;
  }

  .hero-pick__meta {
    font-size: 7px;
  }

  .hp--likeqin {
    left: auto;
    right: 0;
    width: 47%;
    height: 70%;
    z-index: 5;
  }

  .hp--mbappe {
    left: 14%;
    width: 64%;
    height: 88%;
  }

  .hp--haaland {
    display: none;
  }

  .hero-wildcard {
    left: 12px;
    bottom: 12px;
    padding: 6px 8px;
    gap: 6px;
  }

  .hero-wildcard__crest {
    width: 28px;
    height: 28px;
    font-size: 6px;
  }

  .hero-wildcard strong {
    font-size: 9px;
  }

  .hero-wildcard small {
    font-size: 6.5px;
  }

  .hero-wildcard__value {
    font-size: 9px;
    margin-left: 2px;
    padding-left: 7px;
  }

  .hero__caption {
    display: none;
  }

  .score-ticker__label {
    padding-inline: 15px;
    font-size: 8px;
  }

  .score-ticker__link {
    display: none;
  }

  .tick-item {
    padding-inline: 18px;
  }

  .section,
  .results {
    padding-top: 69px;
  }

  .section--ruled,
  .results {
    margin-top: 60px;
    padding-top: 60px;
  }

  .section-head {
    margin-bottom: 25px;
  }

  .section-head h2,
  .results__head h2 {
    font-size: clamp(30px, 9.3vw, 40px);
  }

  .section-head p {
    font-size: 12.5px;
    line-height: 1.7;
  }

  .featured-grid,
  .today-compact,
  .epl-grid,
  .ucl-grid,
  .stars-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .world-grid {
    grid-template-columns: 1fr;
  }

  .league-index {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 13px;
    scrollbar-width: none;
  }

  .league-index::-webkit-scrollbar {
    display: none;
  }

  .league-chip {
    flex: 0 0 auto;
  }

  .league-board {
    min-height: 0;
    padding: 14px 13px 11px;
  }

  .board-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "when"
      "match"
      "side";
    gap: 4px;
    min-height: 62px;
    padding: 8px 2px;
  }

  .board-when {
    grid-area: when;
    flex-direction: row;
    align-items: center;
    gap: 7px;
  }

  .board-when b {
    font-size: 8px;
  }

  .board-when span {
    font-size: 8px;
  }

  .board-match {
    grid-area: match;
    gap: 6px;
  }

  .board-name {
    font-size: 10.5px;
  }

  .board-score {
    font-size: 14px;
  }

  .board-side {
    grid-area: side;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }

  .board-side small {
    max-width: none;
    margin-left: auto;
    font-size: 7.5px;
  }

  .board-pick {
    font-size: 8px;
  }

  .world-note {
    gap: 10px;
    padding: 12px 13px;
  }

  .featured-grid .match-card:last-child {
    grid-column: auto;
  }

  .match-card {
    padding: 16px;
  }

  .match-card--feature {
    min-height: 0;
    padding: 18px;
  }

  .match-card--league {
    min-height: 0;
  }

  .crest {
    width: 39px;
    height: 39px;
    border-radius: 11px;
    font-size: 9px;
  }

  .crest--lg {
    width: 45px;
    height: 45px;
  }

  .team strong {
    font-size: 12.5px;
  }

  .match-card--feature .team strong {
    font-size: 14px;
  }

  .predicted-score {
    min-width: 54px;
    padding-inline: 6px;
  }

  .predicted-score span {
    font-size: 21px;
  }

  .match-card--feature .predicted-score span {
    font-size: 27px;
  }

  .match-note {
    max-width: 150px;
  }

  .today-subhead {
    margin-top: 24px;
  }

  .today-subhead__note {
    display: none;
  }

  .filter-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .legend {
    display: none;
  }

  .filter-group {
    width: 100%;
  }

  .aside-stack {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 16px;
  }

  .panel h3 {
    font-size: 17px;
  }

  .ucl-grid {
    gap: 12px;
  }

  .wildcard-card {
    min-height: 0;
    padding: 20px 18px 12px;
  }

  .wildcard-card__copy {
    width: 100%;
  }

  .wildcard-card__eyebrow {
    gap: 6px;
    font-size: 7px;
  }

  .wildcard-card__edition {
    display: none;
  }

  .wildcard-card__copy h3 {
    gap: 8px;
    margin-top: 11px;
    font-size: 43px;
  }

  .wildcard-card__copy h3 span {
    font-size: 9px;
  }

  .wildcard-card__club {
    margin-top: 10px;
    font-size: 10px;
  }

  .wildcard-card__quote {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.65;
  }

  .wildcard-card__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 15px;
    padding-top: 10px;
  }

  .wildcard-card__stats div {
    padding: 8px 0;
    border-left: 0;
  }

  .wildcard-card__stats div + div {
    padding-left: 0;
    border-left: 0;
  }

  .wildcard-card__stats div:nth-child(even) {
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
  }

  .wildcard-card__stats div:nth-child(n+3) {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .wildcard-card__stats strong {
    font-size: 21px;
  }

  .wildcard-card__leagues {
    margin-top: 13px;
  }

  .wildcard-card__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 310px;
    margin-top: 3px;
  }

  .wildcard-card__visual img {
    height: 100%;
  }

  .wildcard-card__ghost {
    top: 8%;
    right: 0;
    font-size: 76px;
  }

  .wildcard-card__stamp {
    display: none;
  }

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

  .star-card {
    min-height: 266px;
    border-radius: 15px;
  }

  .star-card__head {
    top: 12px;
    left: 12px;
    right: 12px;
    font-size: 6.8px;
  }

  .star-card__photo {
    bottom: 42px;
    left: -3%;
    right: -3%;
    height: 77%;
  }

  .star-card__fallback {
    font-size: 70px;
  }

  .star-card__info {
    left: 12px;
    right: 12px;
    bottom: 11px;
    display: block;
  }

  .star-card__name h3 {
    font-size: 18px;
  }

  .star-card__name p {
    display: none;
  }

  .star-card__role {
    display: none;
  }

  .image-credit {
    line-height: 1.6;
  }

  .results__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .result-card {
    padding: 13px 14px;
  }

  .footer__top {
    padding-top: 37px;
    padding-bottom: 29px;
  }

  .footer__links {
    gap: 40px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 6px;
    line-height: 1.6;
  }

  .back-to-top {
    right: 13px;
    bottom: 13px;
  }

  .method-dialog__head {
    padding: 20px 19px 17px;
  }

  .method-dialog__head h2 {
    font-size: 27px;
  }

  .method-dialog__body {
    padding: 19px;
  }

  .method-block {
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 8px;
  }

  .method-sources {
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 420px) {
  .board-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .board-match {
    gap: 4px;
  }

  .board-name {
    font-size: 10px;
  }

  .board-score {
    font-size: 13px;
  }

  .board-side small {
    max-width: none;
    font-size: 7px;
  }

  .board-pick {
    font-size: 7.5px;
  }

  .crest--xs {
    width: 16px;
    height: 16px;
    font-size: 5px;
  }

  .hero__visual {
    height: 405px;
  }

  .hero-pick {
    width: 198px;
  }

  .hero-pick__score {
    display: none;
  }

  .hero-player__fallback {
    font-size: 70px;
  }

  .hero__metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .metric strong {
    font-size: 23px;
  }

  .metric span {
    font-size: 7.5px;
  }

  .match-teams {
    gap: 5px;
  }

  .team {
    gap: 7px;
  }

  .team strong {
    font-size: 11.5px;
  }

  .team small {
    font-size: 7.5px;
  }

  .crest {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 8px;
  }

  .crest--xl,
  .crest--lg {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 9px;
  }

  .crest--sm {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 6px;
  }

  .crest--xs {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    font-size: 5px;
  }

  .predicted-score {
    min-width: 47px;
  }

  .predicted-score span {
    font-size: 18px;
  }

  .match-card--feature .predicted-score span {
    font-size: 23px;
  }

  .match-note {
    max-width: 110px;
  }

  .prob-head {
    font-size: 7.5px;
  }

  .prob-head b {
    font-size: 9px;
  }

  .stars-grid {
    grid-template-columns: 1fr;
  }

  .star-card {
    min-height: 330px;
  }

  .star-card__photo {
    bottom: 42px;
    height: 80%;
  }

  .star-card__name h3 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
