:root {
  --bg: #070b14;
  --bg-deep: #04070f;
  --surface: #0d1422;
  --surface-2: #121b2c;
  --surface-3: #17243b;
  --ink: #f2eee4;
  --muted: #95a0b1;
  --muted-2: #6f7b8e;
  --gold: #e9c264;
  --gold-deep: #c69b38;
  --gold-soft: #f5d78a;
  --gold-ink: #8a6114;
  --line: rgba(242, 238, 228, 0.11);
  --line-strong: rgba(242, 238, 228, 0.18);
  --red: #ff6f6a;
  --sky: #8ab9ff;
  --cream: #f2ecdf;
  --cream-ink: #0b1526;
  --console-bg: #091321;
  --console-panel: #0d192a;
  --console-line: rgba(242, 238, 228, 0.12);
  --console-muted: #8c99ab;
  --font: "Bahnschrift", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-display: "Arial Black", "Bahnschrift SemiBold", "Bahnschrift", "Microsoft YaHei UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --radius: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.026;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  border: 0;
}

.container {
  width: min(var(--container), calc(100% - 96px));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  z-index: 110;
  height: 34px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #03060d;
  border-bottom: 1px solid #121e30;
  color: #d5d1c6;
  font-size: 10px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.ticker-label {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 22px;
  background: var(--gold);
  color: #050912;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ticker-viewport {
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 54s linear infinite;
}

.ticker-viewport:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding-right: 44px;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.ticker-item b {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ticker-item em {
  margin-left: 2px;
  color: #788495;
  font-style: normal;
}

.ticker-comp {
  margin-right: 5px;
  color: #727d8f;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.ticker-note {
  color: #b8c0cf;
  letter-spacing: 0.16em;
}

.ticker-sep {
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  margin: 0 21px;
  border-radius: 50%;
  background: #313b4d;
}

@keyframes tickerScroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 78px;
  background: rgba(6, 10, 20, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(4, 8, 16, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25);
}

.header-inner {
  width: min(1360px, calc(100% - 64px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 32px;
  height: 36px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(233, 194, 100, 0.15));
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-type strong {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand-type sup {
  position: relative;
  top: -0.35em;
  margin-left: 1px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0;
}

.brand-type small {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
  margin-left: auto;
  margin-right: clamp(4px, 5vw, 72px);
}

.nav-link {
  position: relative;
  padding: 8px 0;
  color: #9faabd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-header {
  height: 42px;
  padding: 0 10px 0 20px;
  gap: 9px;
  font-size: 12px;
}

.btn-header .btn-arrow {
  width: 24px;
  height: 24px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  color: #b8c0cf;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease);
}

.theme-toggle:hover {
  border-color: rgba(233, 194, 100, 0.42);
  background: rgba(233, 194, 100, 0.08);
  color: var(--gold);
  transform: rotate(-8deg);
}

.theme-icon {
  width: 17px;
  height: 17px;
}

.theme-sun {
  display: none;
}

html[data-theme="light"] .theme-moon {
  display: none;
}

html[data-theme="light"] .theme-sun {
  display: block;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  height: 54px;
  padding: 0 12px 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.025em;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: #050912;
  box-shadow: 0 10px 30px rgba(233, 194, 100, 0.1);
}

.btn-gold:hover {
  background: #f5d78a;
  box-shadow: 0 14px 38px rgba(233, 194, 100, 0.18);
}

.btn-ghost {
  padding-right: 24px;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(242, 238, 228, 0.35);
  background: rgba(255, 255, 255, 0.055);
}

.btn-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #070b14;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn-arrow {
  transform: rotate(45deg);
}

.btn-arrow svg {
  width: 15px;
  height: 15px;
}

.play-badge {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(242, 238, 228, 0.3);
  border-radius: 50%;
}

.play-badge svg {
  width: 11px;
  height: 11px;
  margin-left: 1px;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: livePulse 1.9s infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(233, 194, 100, 0.5); }
  65% { box-shadow: 0 0 0 6px rgba(233, 194, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 194, 100, 0); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  min-height: calc(100svh - 112px);
  display: flex;
  align-items: center;
  padding: 70px 0 76px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 46% at 79% 36%, rgba(233, 194, 100, 0.12), transparent 62%),
    radial-gradient(ellipse 40% 52% at 9% 18%, rgba(80, 145, 255, 0.08), transparent 62%),
    #070b14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(90deg, transparent 2%, #000 35%, #000 100%);
  opacity: 0.46;
}

.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: rgba(233, 194, 100, 0.17);
}

.pitch-mid {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 62.5%;
  width: 1px;
  background: currentColor;
  opacity: 0.5;
}

.pitch-circle {
  position: absolute;
  top: 50%;
  left: 62.5%;
  width: min(56vw, 780px);
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.34;
}

.pitch-arc {
  position: absolute;
  right: -6%;
  bottom: -25%;
  width: min(44vw, 600px);
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.25;
}

.hero-watermark {
  position: absolute;
  top: 8%;
  right: -1.5%;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(240px, 31vw, 540px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.12em;
  -webkit-text-stroke: 1px rgba(242, 238, 228, 0.065);
  user-select: none;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(380px, 0.87fr);
  align-items: center;
  gap: clamp(40px, 6vw, 94px);
}

.hero-copy {
  padding-top: 10px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  margin: 25px 0 27px;
  font-family: var(--font-display);
  font-size: clamp(70px, 8.6vw, 132px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.085em;
  text-wrap: balance;
}

.hero-title > span {
  display: block;
}

.hero-title .accent {
  display: flex;
  align-items: baseline;
  color: var(--gold);
  text-shadow: 0 0 60px rgba(233, 194, 100, 0.12);
}

.title-dot {
  display: block;
  width: clamp(14px, 1.5vw, 22px);
  height: clamp(14px, 1.5vw, 22px);
  margin-left: clamp(12px, 1.4vw, 20px);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 34px rgba(233, 194, 100, 0.28);
}

.hero-lead {
  max-width: 505px;
  color: #9da8b8;
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.015em;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3.2vw, 44px);
  margin-top: 48px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hero-meta small,
.side-label {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-meta strong {
  color: #ebe6da;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.hero-side {
  position: relative;
  padding: 0 4px;
}

.side-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  padding: 0 4px;
}

.side-label span:first-child {
  color: #b2bbc9;
  letter-spacing: 0.18em;
}

.side-label span:last-child::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 8px;
  border-radius: 50%;
  background: #5c687b;
  vertical-align: middle;
}

.feature-card {
  position: relative;
  padding: 26px 26px 20px;
  overflow: hidden;
  border: 1px solid rgba(233, 194, 100, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 84% 8%, rgba(233, 194, 100, 0.11), transparent 36%),
    linear-gradient(145deg, #132139 0%, #0d1524 58%, #09101c 100%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotate(1.2deg);
  transition: transform 0.6s var(--ease), border-color 0.4s ease;
}

.feature-card:hover {
  transform: rotate(0deg) translateY(-5px);
  border-color: rgba(233, 194, 100, 0.35);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 62%);
}

.feature-head,
.feature-league,
.feature-teams,
.countdown,
.feature-foot {
  position: relative;
  z-index: 2;
}

.feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-kicker {
  color: #b8c0cf;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(233, 194, 100, 0.18);
  border-radius: 999px;
  background: rgba(233, 194, 100, 0.07);
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature-league {
  display: flex;
  justify-content: space-between;
  margin-top: 23px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #aab4c4;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.feature-league span:last-child {
  color: var(--muted-2);
}

.feature-teams {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  align-items: center;
  gap: 4px;
  margin: 28px 0 26px;
}

.feature-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-align: center;
}

.feature-team strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.feature-team small {
  color: #6c788b;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.feature-team .crest {
  width: 76px;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.36));
}

.feature-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #798595;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-vs i {
  width: 1px;
  height: 23px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.18), transparent);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 22px;
}

.countdown-cell {
  padding: 12px 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  text-align: center;
}

.countdown-cell b {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.countdown-cell small {
  display: block;
  margin-top: 7px;
  color: #747f92;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.feature-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.venue {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #d5dbcF;
  font-size: 11px;
  font-weight: 600;
}

.venue small {
  display: block;
  margin-top: 2px;
  color: #727d90;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.venue-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold);
}

.venue-icon svg {
  width: 15px;
  height: 17px;
}

.round-link {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  border: 1px solid rgba(233, 194, 100, 0.24);
  border-radius: 50%;
  background: rgba(233, 194, 100, 0.08);
  color: var(--gold);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.round-link:hover {
  background: var(--gold);
  color: #050912;
  transform: rotate(45deg);
}

.round-link svg {
  width: 17px;
  height: 17px;
}

.feature-ball {
  position: absolute;
  right: -28px;
  bottom: 60px;
  z-index: 1;
  width: 190px;
  height: 190px;
  color: rgba(233, 194, 100, 0.08);
  transform: rotate(-18deg);
  pointer-events: none;
}

.matchday-badge {
  position: absolute;
  top: -22px;
  right: -22px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  background: var(--gold);
  color: #050912;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transform: rotate(9deg);
}

.matchday-badge span {
  font-size: 7px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.matchday-badge b {
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.scroll-cue {
  position: absolute;
  left: 48px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #677285;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  transition: color 0.25s ease;
}

.scroll-cue:hover {
  color: var(--gold);
}

.scroll-line {
  width: 1px;
  height: 48px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.scroll-line i {
  display: block;
  width: 100%;
  height: 20px;
  background: var(--gold);
  animation: scrollCue 2.2s var(--ease) infinite;
}

@keyframes scrollCue {
  0% { transform: translateY(-22px); }
  55%, 100% { transform: translateY(52px); }
}

/* ---------- Crests ---------- */

.crest {
  --crest-a: #c7cedb;
  --crest-b: #737f8f;
  --crest-text: #0d1422;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 0.9;
  flex: 0 0 auto;
  clip-path: polygon(50% 0, 100% 11%, 100% 69%, 50% 100%, 0 69%, 0 11%);
  background: linear-gradient(145deg, var(--crest-a), var(--crest-b));
  color: var(--crest-text);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: -0.015em;
  text-align: center;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.2));
}

.crest::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  clip-path: polygon(50% 0, 100% 10%, 100% 70%, 50% 100%, 0 70%, 0 10%);
  pointer-events: none;
}

.crest-city {
  --crest-a: #8bd3f4;
  --crest-b: #235c88;
  --crest-text: #06202e;
}

.crest-arsenal {
  --crest-a: #f14a4f;
  --crest-b: #8e0b13;
  --crest-text: #fff;
}

.crest-liverpool {
  --crest-a: #e22235;
  --crest-b: #7d0619;
  --crest-text: #fff;
}

.crest-madrid {
  --crest-a: #f8f4e8;
  --crest-b: #d8ceb2;
  --crest-text: #263447;
}

.crest-barca {
  background: repeating-linear-gradient(90deg, #a50044 0, #a50044 3px, #153f9b 3px, #153f9b 6px);
  color: #f6d76b;
  --crest-text: #f6d76b;
}

.crest-bayern {
  --crest-a: #e83a44;
  --crest-b: #8a0a13;
  --crest-text: #fff;
}

.crest-psg {
  --crest-a: #2e4a8f;
  --crest-b: #0a1c49;
  --crest-text: #fff;
}

.crest-inter {
  --crest-a: #3276d4;
  --crest-b: #0b1e40;
  --crest-text: #fff;
}

.crest-chelsea {
  --crest-a: #3378d4;
  --crest-b: #0c2e62;
  --crest-text: #fff;
}

.crest-dortmund {
  --crest-a: #ffe437;
  --crest-b: #d3ad00;
  --crest-text: #16130a;
}

.crest-milan {
  --crest-a: #ef4b55;
  --crest-b: #1b1d1f;
  --crest-text: #fff;
}

.crest-marseille {
  --crest-a: #75d8f3;
  --crest-b: #1f8daf;
  --crest-text: #06252d;
}

.crest-united {
  --crest-a: #f05a5a;
  --crest-b: #951218;
  --crest-text: #fff;
}

.crest-tottenham {
  --crest-a: #f4f5ef;
  --crest-b: #c3c8bd;
  --crest-text: #152455;
}

/* ---------- Stats band ---------- */

.stats-band {
  position: relative;
  z-index: 4;
  background: var(--gold);
  color: #050912;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 26px 28px;
  border-left: 1px solid rgba(5, 9, 18, 0.14);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-no {
  align-self: flex-start;
  margin-top: 5px;
  color: rgba(5, 9, 18, 0.45);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.stat-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.stat-main strong {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.07em;
  font-variant-numeric: tabular-nums;
}

.stat-main span {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.stat > small {
  margin-left: auto;
  align-self: flex-start;
  color: rgba(5, 9, 18, 0.42);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

/* ---------- Shared section ---------- */

.section {
  position: relative;
  padding: 112px 0;
  overflow: hidden;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin-top: 13px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.accent-dot {
  color: var(--gold);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.kicker > span {
  width: 21px;
  height: 1px;
  background: currentColor;
}

.kicker.dark {
  color: #846019;
}

.section-desc {
  max-width: 380px;
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d9d6cc;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.25s ease;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--gold);
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* ---------- Fixtures ---------- */

.fixtures {
  background:
    radial-gradient(ellipse 36% 40% at 0% 35%, rgba(78, 108, 160, 0.10), transparent 70%),
    #080d18;
  border-bottom: 1px solid var(--line);
}

.filter-panel {
  margin-bottom: 16px;
  padding: 16px 18px 14px;
  border: 1px solid var(--console-line);
  border-radius: 20px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008) 55%),
    var(--console-bg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.filter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 37px;
  padding: 0 17px;
  border-radius: 999px;
  background: transparent;
  color: #95a0b0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.035em;
  transition: color 0.25s ease, background 0.25s ease;
}

.filter span {
  color: #758398;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.25s ease;
}

.filter:hover {
  color: var(--ink);
}

.filter.is-active {
  background: var(--gold);
  color: #050912;
  box-shadow: 0 5px 16px rgba(233, 194, 100, 0.16);
}

.filter.is-active span {
  color: rgba(5, 9, 18, 0.55);
}

.filter-status {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.filter-count {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: #9ba7b8;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.filter-count strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.filter-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a5b0c0;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.filter-live .live-dot {
  color: var(--red);
}

.filter-live[hidden] {
  display: none;
}

.filter-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--console-line);
}

.league-filters {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.filter-label {
  margin-right: 4px;
  color: #66748a;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.league-filter {
  height: 28px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #909cae;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.league-filter:hover {
  color: var(--ink);
}

.league-filter.is-active {
  border-color: rgba(233, 194, 100, 0.22);
  background: rgba(233, 194, 100, 0.08);
  color: var(--gold);
}

.filter-tools {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.team-filter {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6d7a8e;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.select-wrap select {
  width: 124px;
  height: 32px;
  padding: 0 29px 0 10px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--console-line);
  border-radius: 9px;
  outline: 0;
  background: #07101d;
  color: #e8e4da;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.select-wrap select:hover {
  border-color: rgba(233, 194, 100, 0.35);
  background: #091524;
}

.select-wrap select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.select-wrap svg {
  position: absolute;
  right: 9px;
  top: 50%;
  width: 12px;
  height: 12px;
  color: #8491a5;
  transform: translateY(-50%);
  pointer-events: none;
}

.filter-reset {
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--console-line);
  border-radius: 999px;
  background: transparent;
  color: #91a0b3;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.filter-reset:hover {
  border-color: rgba(233, 194, 100, 0.42);
  color: var(--gold);
}

.filter-reset[hidden] {
  display: none;
}

.match-list {
  overflow: hidden;
  padding: 0 12px;
  border: 1px solid var(--console-line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18%),
    var(--console-bg);
}

.match-list[hidden] {
  display: none;
}

.match-empty {
  padding: 50px 24px 46px;
  border: 1px solid var(--console-line);
  border-radius: 22px;
  background: var(--console-bg);
  color: #95a0b1;
  text-align: center;
}

.match-empty[hidden] {
  display: none;
}

.match-empty-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 17px;
  border: 1px solid rgba(233, 194, 100, 0.26);
  border-radius: 50%;
  background: rgba(233, 194, 100, 0.06);
  color: var(--gold);
}

.match-empty-icon svg {
  width: 26px;
  height: 26px;
}

.match-empty strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.match-empty p {
  max-width: 360px;
  margin: 7px auto 18px;
  color: #7e8b9e;
  font-size: 10px;
  line-height: 1.7;
}

.filter-reset-large {
  height: 36px;
  padding: 0 17px;
  border-color: rgba(233, 194, 100, 0.3);
  color: var(--gold);
  font-size: 9px;
}

.match-card {
  position: relative;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr) 172px 102px;
  align-items: center;
  gap: 20px;
  min-height: 101px;
  padding: 18px 18px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
  animation: matchIn 0.55s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}

.match-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--gold);
  opacity: 0;
  transform: scaleY(0.35);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.match-card:hover {
  background: rgba(255, 255, 255, 0.027);
}

.match-card:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.match-card.is-live {
  background: linear-gradient(90deg, rgba(233, 194, 100, 0.048), rgba(233, 194, 100, 0) 38%);
}

.match-card.is-live::before {
  opacity: 1;
  transform: scaleY(1);
}

.match-card[hidden] {
  display: none;
}

.match-card:last-child,
.match-card.is-last-visible {
  border-bottom: 0;
}

@keyframes matchIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.match-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.match-comp {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #aeb8c7;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.match-live-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.match-live-label .live-dot {
  width: 4px;
  height: 4px;
  color: var(--gold);
}

.match-detail-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #6c788b;
  text-align: left;
  transition: color 0.25s ease;
}

.match-detail-trigger time {
  color: inherit;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.match-detail-text {
  color: #5e6b7e;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.match-detail-trigger svg {
  width: 11px;
  height: 11px;
  opacity: 0.45;
  transition: transform 0.3s var(--ease), opacity 0.25s ease;
}

.match-detail-trigger:hover .match-detail-text {
  color: var(--gold);
}

.match-detail-trigger:hover {
  color: var(--gold);
}

.match-detail-trigger:hover svg {
  opacity: 1;
  transform: translateX(3px);
}

.match-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.match-team {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.match-team.home {
  justify-content: flex-end;
  text-align: right;
}

.match-team .crest {
  width: 38px;
}

.match-name {
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-name small {
  display: block;
  margin-top: 3px;
  color: #667183;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.match-score .score {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.match-card.is-live .match-score .score {
  color: var(--gold);
}

.match-score .colon {
  color: #606c7f;
  font-size: 16px;
  font-weight: 500;
}

.match-score .vs {
  color: #7b8798;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.match-state {
  color: #667183;
  font-family: var(--font);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.match-card.is-live .match-state {
  color: var(--gold);
}

.match-venue {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #8b96a7;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.match-venue small {
  color: #606c7f;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.remind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 37px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: transparent;
  color: #aab4c4;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.remind svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.remind:hover {
  border-color: rgba(233, 194, 100, 0.4);
  color: var(--gold);
}

.remind.is-on {
  border-color: transparent;
  background: var(--gold);
  color: #050912;
}

.fixtures-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 25px;
}

/* ---------- Standings ---------- */

.standings {
  background:
    radial-gradient(ellipse 42% 36% at 92% 12%, rgba(233, 194, 100, 0.045), transparent 70%),
    #0a111f;
  border-bottom: 1px solid var(--line);
}

.rankings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(290px, 0.7fr);
  align-items: stretch;
  gap: 18px;
}

.table-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0d1422;
}

.table-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 24px 20px;
  border-bottom: 1px solid var(--line);
}

.table-top > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.table-top span {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.09em;
}

.table-top strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.table-legend {
  display: flex;
  align-items: center;
  gap: 16px;
}

.table-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #768295;
  font-size: 8px;
  letter-spacing: 0.03em;
}

.legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.legend-dot.europa {
  background: #7fb0ea;
}

.table-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #303b4e transparent;
}

.table-scroll::-webkit-scrollbar {
  height: 5px;
}

.table-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #303b4e;
}

table {
  width: 100%;
  min-width: 660px;
}

th {
  padding: 13px 10px;
  color: #687386;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  padding-left: 24px;
}

th:last-child,
td:last-child {
  padding-right: 24px;
}

th.center,
td.center {
  text-align: center;
}

tbody tr {
  border-top: 1px solid rgba(242, 238, 228, 0.065);
  transition: background 0.25s ease;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

tbody td {
  height: 55px;
  padding: 8px 10px;
  color: #a9b3c2;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

tbody td:first-child {
  position: relative;
}

tbody tr.top-row td:first-child::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 0;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--gold);
}

.rank-num {
  display: inline-block;
  width: 20px;
  color: #e0dbcf;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.move {
  display: inline-block;
  width: 12px;
  margin-left: 4px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
}

.move.down {
  color: var(--red);
}

.move.flat {
  color: #606c7f;
}

.table-team {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-team .crest {
  width: 27px;
}

.table-team strong {
  color: #e8e3d7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

td.points {
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
}

.form {
  display: flex;
  gap: 3px;
}

.form span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 4px;
  font-size: 7px;
  font-weight: 600;
  font-style: normal;
}

.form .w {
  background: rgba(233, 194, 100, 0.14);
  color: var(--gold);
}

.form .d {
  background: rgba(255, 255, 255, 0.07);
  color: #98a2b1;
}

.form .l {
  background: rgba(255, 111, 106, 0.12);
  color: #ff9690;
}

.table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  color: #657184;
  font-size: 8px;
  letter-spacing: 0.03em;
}

.table-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a1abbb;
  font-size: 9px;
  font-weight: 600;
  transition: color 0.25s ease;
}

.table-foot a svg {
  width: 13px;
  height: 13px;
}

.table-foot a:hover {
  color: var(--gold);
}

.scorers-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 25px 24px 20px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #050912;
}

.scorers-card::before {
  content: "9";
  position: absolute;
  top: -38px;
  right: -7px;
  color: rgba(5, 9, 18, 0.055);
  font-family: var(--font-display);
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.1em;
  pointer-events: none;
}

.scorers-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scorers-top > span:first-child {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.boot-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(5, 9, 18, 0.24);
  border-radius: 50%;
}

.boot-mark svg {
  width: 17px;
  height: 17px;
}

.scorers-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.scorers-sub {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  color: rgba(5, 9, 18, 0.48);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.scorer-list {
  position: relative;
  z-index: 1;
  margin-top: 17px;
  border-top: 1px solid rgba(5, 9, 18, 0.18);
}

.scorer-list li {
  display: grid;
  grid-template-columns: 24px 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(5, 9, 18, 0.14);
}

.scorer-rank {
  color: rgba(5, 9, 18, 0.4);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 900;
}

.player-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #080d18;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.avatar-mbappe {
  background: #1a2332;
  color: #f2eee4;
}

.avatar-kane {
  background: #1b2635;
  color: #c8e1ff;
}

.avatar-salah {
  background: #2b1316;
  color: #ffb2ae;
}

.player-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.player-info strong {
  font-size: 12px;
  font-weight: 700;
}

.player-info small {
  color: rgba(5, 9, 18, 0.5);
  font-size: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.goals {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.scorers-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 13px 15px;
  border-radius: 12px;
  background: #050912;
  color: #a4aebd;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.scorers-foot strong {
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- Clubs ---------- */

.light-section {
  background:
    radial-gradient(ellipse 40% 34% at 88% 8%, rgba(188, 144, 56, 0.14), transparent 66%),
    var(--cream);
  color: var(--cream-ink);
}

.light-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 12, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 12, 22, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 70%, transparent);
  pointer-events: none;
}

.light-section .section-head,
.light-section .club-grid {
  position: relative;
  z-index: 1;
}

.light-section .section-desc {
  color: #5b6678;
}

.light-section .accent-dot {
  color: #8a651f;
}

.club-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.club-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 318px;
  overflow: hidden;
  padding: 22px 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  background: #0a111f;
  color: #f2eee4;
  transition: transform 0.45s var(--ease), border-color 0.35s ease, box-shadow 0.45s var(--ease);
}

.club-card:hover {
  border-color: rgba(233, 194, 100, 0.32);
  box-shadow: 0 24px 55px rgba(4, 11, 24, 0.22);
  transform: translateY(-6px);
}

.club-glow {
  position: absolute;
  top: -30%;
  right: -28%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--club-color);
  opacity: 0.22;
  filter: blur(44px);
  transition: opacity 0.4s ease, transform 0.6s var(--ease);
}

.club-card:hover .club-glow {
  opacity: 0.36;
  transform: scale(1.12);
}

.club-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, #000, transparent 62%);
  pointer-events: none;
}

.club-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.club-no {
  color: #6c7789;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.club-badge {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: #95a1b2;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.club-crest {
  position: relative;
  z-index: 2;
  width: 60px;
  margin: 23px 0 26px;
  transition: transform 0.45s var(--ease);
}

.club-card:hover .club-crest {
  transform: translateY(-3px) rotate(-3deg);
}

.club-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.club-body h3 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.club-body p {
  margin-top: 5px;
  color: #737e90;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.club-stats {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #7b8798;
  font-size: 8px;
}

.club-stats span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.club-stats b {
  color: #e8e3d7;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.club-stats .club-points {
  margin-left: auto;
  text-align: right;
}

.club-stats .club-points b {
  color: var(--gold);
}

.club-code {
  position: absolute;
  right: 13px;
  bottom: 65px;
  z-index: 1;
  color: transparent;
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

/* ---------- News ---------- */

.news {
  background: #070b14;
  border-top: 1px solid var(--line);
}

.news-grid {
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.news-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0f1828;
  transition: border-color 0.35s ease, transform 0.45s var(--ease);
}

.news-card:hover {
  border-color: rgba(233, 194, 100, 0.28);
  transform: translateY(-4px);
}

.news-featured {
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
}

.news-art {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  min-height: 150px;
  color: #f2eee4;
}

.news-featured .news-art {
  flex: 1 1 54%;
  min-height: 315px;
}

.news-small {
  display: grid;
  grid-template-columns: 39% minmax(0, 1fr);
}

.news-small .news-art {
  height: 100%;
  min-height: 190px;
}

.art-schedule {
  background:
    radial-gradient(circle at 72% 48%, rgba(233, 194, 100, 0.16), transparent 38%),
    linear-gradient(135deg, #102c4b 0%, #081525 57%, #0a1a2d 100%);
}

.art-schedule::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 70%;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(233, 194, 100, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.art-schedule::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.art-kicker {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.64);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.art-number {
  position: absolute;
  right: 22px;
  bottom: -17px;
  z-index: 1;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(150px, 12vw, 210px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.11em;
  -webkit-text-stroke: 1px rgba(233, 194, 100, 0.38);
}

.art-schedule .art-number {
  color: var(--gold);
  -webkit-text-stroke: 0;
  opacity: 0.9;
}

.pitch-ring {
  position: absolute;
  top: 24px;
  right: 36%;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(233, 194, 100, 0.35);
  border-radius: 50%;
}

.art-caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.13em;
}

.news-featured .art-caption {
  bottom: 27px;
}

.art-youth {
  background:
    radial-gradient(circle at 20% 85%, rgba(255, 177, 80, 0.38), transparent 42%),
    linear-gradient(145deg, #793514 0%, #2b160c 63%, #1a1009 100%);
}

.art-youth::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 207, 156, 0.18);
  border-radius: 50%;
}

.art-youth .art-number {
  font-size: clamp(100px, 9vw, 145px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 211, 167, 0.4);
}

.art-youth .art-caption {
  color: rgba(255, 223, 193, 0.58);
}

.art-tactics {
  background:
    radial-gradient(circle at 78% 20%, rgba(90, 178, 235, 0.26), transparent 37%),
    linear-gradient(145deg, #0b2b45 0%, #07131f 67%, #07131f 100%);
}

.art-tactics::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(122, 199, 239, 0.18);
}

.art-tactics::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(122, 199, 239, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.tactic-x,
.tactic-o {
  position: absolute;
  z-index: 2;
  color: rgba(122, 199, 239, 0.55);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.tactic-x {
  top: 31%;
  left: 22%;
}

.tactic-o {
  right: 17%;
  bottom: 30%;
}

.tactic-line {
  position: absolute;
  top: 47%;
  left: 31%;
  z-index: 2;
  width: 36%;
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 199, 239, 0.6), transparent);
  transform: rotate(24deg);
  transform-origin: left;
}

.art-tactics .art-caption {
  color: rgba(181, 225, 246, 0.55);
}

.news-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 26px 25px;
}

.news-featured .news-body {
  flex: 1 1 46%;
  justify-content: center;
  padding: 29px 30px 27px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #768295;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.035em;
}

.news-meta span:first-child {
  color: var(--gold);
  font-weight: 600;
}

.news-meta i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #5f6b7e;
}

.news-body h3 {
  max-width: 570px;
  margin-top: 12px;
  font-size: clamp(18px, 2vw, 29px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.035em;
}

.news-featured .news-body h3 {
  font-size: clamp(25px, 2.7vw, 38px);
  line-height: 1.28;
}

.news-body p {
  max-width: 540px;
  margin-top: 12px;
  color: #8f9aab;
  font-size: 12px;
  line-height: 1.85;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 17px 0 0;
  background: transparent;
  color: #cbc8bd;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.news-small .read-link {
  padding-top: 16px;
}

.read-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.read-link:hover {
  color: var(--gold);
}

.read-link:hover svg {
  transform: translateX(4px);
}

.news-card:hover .art-number {
  transform: translateY(-5px);
}

.art-number {
  transition: transform 0.6s var(--ease);
}

.art-schedule::before {
  transition: transform 0.6s var(--ease);
}

.news-card:hover .art-schedule::before {
  transform: translate(-50%, -50%) scale(1.04);
}

/* ---------- Tickets ---------- */

.ticket-cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: var(--gold);
  color: #050912;
}

.ticket-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(5, 9, 18, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 9, 18, 0.06) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.cta-watermark {
  position: absolute;
  right: -1.5%;
  bottom: -4%;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(150px, 22vw, 370px);
  font-weight: 900;
  line-height: 0.7;
  letter-spacing: -0.1em;
  -webkit-text-stroke: 1px rgba(5, 9, 18, 0.15);
  pointer-events: none;
  user-select: none;
}

.ticket-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: clamp(44px, 7vw, 104px);
}

.ticket-copy h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(54px, 6.2vw, 86px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.075em;
}

.ticket-copy .accent-dot {
  color: #7a5a12;
}

.ticket-copy p {
  max-width: 450px;
  margin-top: 20px;
  color: rgba(5, 9, 18, 0.61);
  font-size: 12px;
  line-height: 1.9;
}

.ticket-panel {
  position: relative;
  padding: 27px 28px 20px;
  border-radius: 26px;
  background: #080d18;
  color: #f2eee4;
  box-shadow: 0 30px 70px rgba(2, 8, 20, 0.30);
}

.ticket-panel::before,
.ticket-panel::after {
  content: "";
  position: absolute;
  top: 63%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

.ticket-panel::before {
  left: -12px;
}

.ticket-panel::after {
  right: -12px;
}

.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #a6b0bf;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ticket-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.ticket-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.ticket-panel h3 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(31px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

#newsletterForm {
  display: flex;
  gap: 7px;
  margin-top: 23px;
}

#newsletterForm[hidden] {
  display: none;
}

body.nav-open,
body.dialog-open {
  overflow: hidden;
}

#newsletterForm input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  outline: 0;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  font-size: 11px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

#newsletterForm input::placeholder {
  color: #737f92;
}

#newsletterForm input:focus {
  border-color: rgba(233, 194, 100, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

#newsletterForm input.is-invalid {
  border-color: var(--red);
}

#newsletterForm .btn {
  height: 50px;
  flex: 0 0 auto;
  padding-left: 17px;
  font-size: 11px;
}

#newsletterForm .btn-arrow {
  width: 26px;
  height: 26px;
}

.form-hint {
  margin-top: 11px;
  color: #707c8f;
  font-size: 8px;
  line-height: 1.6;
}

.form-hint.is-error {
  color: #ff9892;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 23px;
  padding: 13px 15px;
  border: 1px solid rgba(233, 194, 100, 0.2);
  border-radius: 12px;
  background: rgba(233, 194, 100, 0.07);
}

.form-success[hidden] {
  display: none;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  color: #050912;
}

.success-icon svg {
  width: 16px;
  height: 16px;
}

.form-success strong,
.form-success span {
  display: block;
}

.form-success strong {
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
}

.form-success div span {
  margin-top: 2px;
  color: #8d98a9;
  font-size: 8px;
}

.ticket-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  color: #717d8f;
  font-size: 8px;
  letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 70px 0 28px;
  background: #04070f;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.footer-brand p {
  margin-top: 22px;
  color: #6b7688;
  font-size: 11px;
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  gap: clamp(44px, 6vw, 90px);
}

.footer-nav > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-nav > div > span {
  margin-bottom: 5px;
  color: #5f6b7d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-nav a {
  color: #9aa6b7;
  font-size: 11px;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-wordmark {
  margin: 48px 0 26px;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(150px, 27vw, 360px);
  font-weight: 900;
  line-height: 0.7;
  letter-spacing: -0.12em;
  -webkit-text-stroke: 1px rgba(242, 238, 228, 0.1);
  user-select: none;
  pointer-events: none;
}

.footer-wordmark sup {
  position: relative;
  top: -0.4em;
  font-size: 0.3em;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(242, 238, 228, 0.08);
  color: #636f80;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.09em;
}

.footer-motto {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-motto i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.footer-bottom a {
  color: #8793a4;
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ---------- Match dialog ---------- */

.match-dialog {
  width: min(720px, calc(100% - 40px));
  max-height: min(90vh, 860px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(233, 194, 100, 0.24);
  border-radius: 26px;
  background: #0b1524;
  color: var(--ink);
  box-shadow: 0 46px 120px rgba(0, 0, 0, 0.62);
  scrollbar-width: thin;
  scrollbar-color: #344259 transparent;
}

.match-dialog::backdrop {
  background: rgba(2, 5, 13, 0.82);
  backdrop-filter: blur(8px);
}

.match-dialog[open] {
  animation: dialogIn 0.35s var(--ease);
}

.match-dialog::-webkit-scrollbar {
  width: 6px;
}

.match-dialog::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #344259;
}

.match-dialog-close {
  top: 18px;
  right: 18px;
}

.match-dialog-hero {
  position: relative;
  overflow: hidden;
  padding: 27px 30px 23px;
  border-bottom: 1px solid rgba(242, 238, 228, 0.1);
  background:
    radial-gradient(circle at 78% 8%, rgba(233, 194, 100, 0.17), transparent 38%),
    linear-gradient(150deg, #15263d 0%, #0c1727 63%, #08111e 100%);
}

.match-dialog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(135deg, #000, transparent 68%);
}

.match-dialog-hero::after {
  content: "90";
  position: absolute;
  right: -12px;
  bottom: -58px;
  color: transparent;
  font-family: var(--font-display);
  font-size: 190px;
  font-weight: 900;
  line-height: 0.7;
  letter-spacing: -0.1em;
  -webkit-text-stroke: 1px rgba(233, 194, 100, 0.1);
  pointer-events: none;
}

.md-topline,
.md-competition,
.match-dialog-teams,
.md-location {
  position: relative;
  z-index: 2;
}

.md-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-right: 42px;
}

.md-kicker {
  color: #9eabbd;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.md-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(233, 194, 100, 0.22);
  border-radius: 999px;
  background: rgba(233, 194, 100, 0.07);
  color: var(--gold);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.md-status .live-dot {
  width: 5px;
  height: 5px;
}

.md-status.is-live {
  border-color: rgba(255, 111, 106, 0.28);
  background: rgba(255, 111, 106, 0.08);
  color: #ff9a96;
}

.md-competition {
  margin-top: 22px;
  color: #b4becc;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.match-dialog-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 105px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  max-width: 550px;
  margin: 28px auto 23px;
}

.md-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
  text-align: center;
}

.md-team .crest {
  width: 72px;
  margin-bottom: 4px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.38));
}

.md-team strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.md-team small {
  color: #74839a;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.md-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.md-score {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.md-score.is-live {
  color: var(--gold);
}

.md-score .md-colon {
  margin: 0 2px;
  color: #6b788b;
  font-size: 23px;
  font-weight: 500;
}

.md-kickoff {
  margin-top: 9px;
  color: #8897ab;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.md-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-top: 16px;
  border-top: 1px solid rgba(242, 238, 228, 0.09);
  color: #9ca9ba;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.md-location svg {
  width: 13px;
  height: 15px;
  color: var(--gold);
}

.match-dialog-body {
  padding: 22px 28px 25px;
}

.md-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(242, 238, 228, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.md-fact {
  min-width: 0;
  padding: 13px 15px;
  border-left: 1px solid rgba(242, 238, 228, 0.08);
}

.md-fact:first-child {
  border-left: 0;
}

.md-fact small {
  display: block;
  color: #68768a;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.md-fact strong {
  display: block;
  margin-top: 5px;
  color: #d5d9df;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.md-preview-block {
  margin-top: 17px;
  padding: 16px 18px;
  border: 1px solid rgba(233, 194, 100, 0.13);
  border-radius: 14px;
  background: rgba(233, 194, 100, 0.035);
}

.md-preview-label {
  color: var(--gold);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.md-preview-block p {
  margin-top: 7px;
  color: #9da9b9;
  font-size: 11px;
  line-height: 1.85;
}

.md-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
}

.md-actions .btn {
  height: 47px;
  font-size: 11px;
}

.md-remind {
  padding-left: 20px;
}

.md-remind.is-on {
  background: rgba(233, 194, 100, 0.12);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(233, 194, 100, 0.35);
}

.md-remind.is-on .btn-arrow {
  background: var(--gold);
  color: #050912;
}

.md-actions .btn-ghost {
  padding: 0 20px;
}

/* ---------- Dialog ---------- */

.article-dialog {
  width: min(620px, calc(100% - 40px));
  max-height: min(86vh, 780px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(233, 194, 100, 0.22);
  border-radius: 22px;
  background: #0d1422;
  color: var(--ink);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.article-dialog::backdrop {
  background: rgba(2, 5, 13, 0.82);
  backdrop-filter: blur(8px);
}

.article-dialog[open] {
  animation: dialogIn 0.35s var(--ease);
}

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.dialog-close {
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(5, 9, 18, 0.5);
  color: #f2eee4;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, color 0.25s ease;
}

.dialog-close:hover {
  background: var(--gold);
  color: #050912;
}

.dialog-close svg {
  width: 17px;
  height: 17px;
}

.dialog-art {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 40%, rgba(233, 194, 100, 0.16), transparent 36%),
    linear-gradient(135deg, #102c4b, #081525);
}

.dialog-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.dialog-art .art-kicker {
  top: 26px;
  left: 28px;
}

.dialog-art-number {
  position: absolute;
  right: 24px;
  bottom: -16px;
  z-index: 1;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 145px;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.09em;
}

.dialog-body {
  padding: 27px 30px 26px;
}

.dialog-body h2 {
  margin-top: 12px;
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.dialog-content {
  margin-top: 19px;
}

.dialog-content p {
  margin-bottom: 13px;
  color: #9fa9b8;
  font-size: 12px;
  line-height: 1.95;
}

.dialog-content p:last-child {
  margin-bottom: 0;
}

.dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 23px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #6b7789;
  font-size: 8px;
  letter-spacing: 0.04em;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 40px);
  padding: 13px 17px 13px 13px;
  border: 1px solid rgba(233, 194, 100, 0.3);
  border-radius: 12px;
  background: #0f1828;
  color: #f2ecdf;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  font-size: 11px;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.35s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  color: #050912;
}

.toast-icon svg {
  width: 13px;
  height: 13px;
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
    gap: 52px;
  }

  .hero-title {
    font-size: clamp(66px, 8.4vw, 112px);
  }

  .hero-watermark {
    right: -3%;
    opacity: 0.75;
  }

  .stat {
    gap: 11px;
    padding: 23px 18px;
  }

  .stat > small {
    display: none;
  }

  .match-card {
    grid-template-columns: 120px minmax(0, 1fr) 145px 92px;
    gap: 15px;
  }

  .match-venue {
    font-size: 9px;
  }

  .club-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-featured .news-art {
    min-height: 280px;
  }
}

@media (max-width: 1020px) {
  .container {
    width: calc(100% - 64px);
  }

  .header-inner {
    width: calc(100% - 48px);
  }

  .hero {
    min-height: auto;
    padding: 66px 0 82px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.9fr);
    gap: 38px;
    align-items: start;
  }

  .hero-copy {
    padding-top: 12px;
  }

  .hero-title {
    font-size: clamp(60px, 8.5vw, 88px);
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-meta {
    gap: 24px;
    margin-top: 35px;
  }

  .hero-side {
    margin-top: 35px;
  }

  .feature-card {
    padding: 21px 20px 18px;
  }

  .feature-team .crest {
    width: 64px;
  }

  .countdown-cell b {
    font-size: 21px;
  }

  .matchday-badge {
    width: 76px;
    height: 76px;
    top: -18px;
    right: -10px;
  }

  .matchday-badge b {
    font-size: 22px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 92px 0;
  }

  .section-head {
    gap: 30px;
    margin-bottom: 38px;
  }

  .section-desc {
    max-width: 320px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat {
    padding: 20px 12px;
    display: block;
  }

  .stat-main {
    margin-top: 6px;
  }

  .stat-main strong {
    font-size: 36px;
  }

  .stat-main span {
    font-size: 10px;
  }

  .stat-no {
    display: block;
    margin: 0;
  }

  .match-card {
    grid-template-columns: 105px minmax(0, 1fr) 86px;
    min-height: 94px;
    padding: 16px 12px;
  }

  .match-venue {
    display: none;
  }

  .match-teams {
    grid-template-columns: minmax(0, 1fr) 65px minmax(0, 1fr);
    gap: 10px;
  }

  .match-name {
    font-size: 14px;
  }

  .match-score {
    font-size: 21px;
  }

  .remind {
    height: 34px;
    padding: 0 8px;
    font-size: 8px;
  }

  .rankings-grid {
    grid-template-columns: minmax(0, 1fr) 278px;
  }

  .scorers-card {
    padding: 22px 19px 18px;
  }

  .club-card {
    min-height: 300px;
    padding: 19px;
  }

  .club-crest {
    width: 52px;
    margin: 20px 0 23px;
  }

  .club-body h3 {
    font-size: 22px;
  }

  .club-stats {
    gap: 11px;
  }

  .news-small {
    grid-template-columns: 34% minmax(0, 1fr);
  }

  .news-body {
    padding: 22px 21px;
  }

  .news-small .news-art {
    min-height: 180px;
  }

  .news-featured .news-body {
    padding: 25px;
  }

  .news-featured .news-body h3 {
    font-size: 30px;
  }

  .ticket-inner {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.92fr);
    gap: 44px;
  }

  .ticket-copy h2 {
    font-size: clamp(48px, 6vw, 72px);
  }
}

@media (min-width: 861px) and (max-width: 1080px) {
  .table-scroll table {
    min-width: 0;
  }

  th.optional,
  td.optional {
    display: none;
  }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: calc(100% + 6px);
    left: 24px;
    right: 24px;
    z-index: 120;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 100px);
    margin: 0;
    padding: 10px;
    overflow-y: auto;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: rgba(8, 12, 22, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
  }

  .main-nav.is-open {
    display: flex;
    animation: navIn 0.25s var(--ease);
  }

  @keyframes navIn {
    from { opacity: 0; transform: translateY(-7px); }
    to { opacity: 1; transform: none; }
  }

  .nav-link {
    padding: 14px 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 14px;
  }

  .nav-link:last-child {
    border-bottom: 0;
  }

  .nav-link::after {
    left: auto;
    right: 15px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .nav-link:hover::after,
  .nav-link.is-active::after {
    transform: translateY(-50%);
  }

  .menu-toggle {
    display: block;
  }

  .site-header {
    height: 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-title {
    font-size: clamp(70px, 12.2vw, 112px);
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-lead {
    max-width: 540px;
  }

  .hero-side {
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
  }

  .feature-card {
    transform: none;
  }

  .feature-card:hover {
    transform: translateY(-4px);
  }

  .hero-watermark {
    top: 9%;
    right: -8%;
    font-size: 39vw;
  }

  .pitch-mid,
  .pitch-circle {
    left: 70%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 20px 22px;
    display: flex;
  }

  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid rgba(5, 9, 18, 0.14);
  }

  .stat:first-child {
    padding-left: 0;
  }

  .stat-no {
    margin-top: 4px;
  }

  .stat-main {
    margin-top: 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .section-desc {
    max-width: 510px;
  }

  .rankings-grid {
    grid-template-columns: 1fr;
  }

  .scorers-card {
    min-height: 0;
  }

  .scorer-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
  }

  .scorers-foot {
    margin-top: 17px;
  }

  .club-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .news-featured {
    grid-row: auto;
  }

  .news-featured .news-art {
    min-height: 310px;
  }

  .news-small .news-art {
    min-height: 220px;
  }

  .news-small {
    grid-template-columns: 40% minmax(0, 1fr);
  }

  .ticket-inner {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-inline: auto;
    gap: 34px;
  }

  .ticket-copy p {
    max-width: 500px;
  }

  .ticket-panel {
    max-width: 500px;
  }

  .footer-top {
    flex-direction: column;
    gap: 44px;
  }

  .footer-nav {
    width: 100%;
    justify-content: space-between;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 90px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .ticker-label {
    padding: 0 13px;
    font-size: 8px;
  }

  .ticker {
    font-size: 9px;
  }

  .ticker-group {
    padding-right: 28px;
  }

  .ticker-sep {
    margin: 0 13px;
  }

  .brand-mark {
    width: 28px;
    height: 32px;
  }

  .brand-type strong {
    font-size: 20px;
  }

  .brand-type small {
    font-size: 6px;
  }

  .site-header {
    height: 66px;
  }

  .main-nav {
    top: calc(100% + 4px);
    left: 16px;
    right: 16px;
  }

  .btn-header {
    width: auto;
    height: 38px;
    padding: 0 9px 0 13px;
    gap: 6px;
    font-size: 10px;
  }

  .btn-header .btn-arrow {
    width: 21px;
    height: 21px;
  }

  .btn-header .btn-arrow svg {
    width: 12px;
    height: 12px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding: 44px 0 64px;
  }

  .eyebrow {
    gap: 9px;
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .eyebrow-line {
    width: 20px;
  }

  .hero-title {
    margin: 20px 0 22px;
    font-size: clamp(56px, 18vw, 92px);
    line-height: 0.9;
  }

  .title-dot {
    width: 13px;
    height: 13px;
    margin-left: 10px;
  }

  .hero-lead {
    font-size: 13px;
    line-height: 1.9;
  }

  .hero-actions {
    margin-top: 26px;
    gap: 9px;
  }

  .hero-actions .btn {
    height: 49px;
    padding-left: 15px;
    font-size: 11px;
    gap: 9px;
  }

  .hero-actions .btn-ghost {
    padding-right: 17px;
  }

  .btn-arrow {
    width: 27px;
    height: 27px;
  }

  .hero-meta {
    gap: 17px;
    margin-top: 30px;
    padding-top: 20px;
  }

  .hero-meta > div {
    flex: 1 1 calc(50% - 17px);
    gap: 5px;
  }

  .hero-meta > div:nth-child(3) {
    flex-basis: 100%;
  }

  .hero-meta small {
    font-size: 8px;
  }

  .hero-meta strong {
    font-size: 10px;
  }

  .hero-side {
    margin-top: 8px;
    max-width: 100%;
  }

  .side-label {
    font-size: 7px;
    margin-bottom: 10px;
  }

  .feature-card {
    padding: 18px 16px 16px;
    border-radius: 20px;
  }

  .feature-kicker,
  .status-chip {
    font-size: 7px;
  }

  .status-chip {
    padding: 6px 8px;
    gap: 5px;
  }

  .feature-league {
    margin-top: 17px;
    padding-top: 13px;
    font-size: 8px;
  }

  .feature-teams {
    grid-template-columns: 1fr 35px 1fr;
    margin: 21px 0 20px;
  }

  .feature-team {
    gap: 7px;
  }

  .feature-team .crest {
    width: 55px;
  }

  .feature-team strong {
    font-size: 16px;
  }

  .feature-team small {
    font-size: 6px;
  }

  .feature-vs {
    gap: 8px;
    font-size: 7px;
  }

  .feature-vs i {
    height: 16px;
  }

  .countdown {
    gap: 5px;
    margin-bottom: 17px;
  }

  .countdown-cell {
    padding: 10px 4px 8px;
    border-radius: 9px;
  }

  .countdown-cell b {
    font-size: 19px;
  }

  .countdown-cell small {
    margin-top: 5px;
    font-size: 7px;
  }

  .feature-foot {
    padding-top: 14px;
  }

  .venue {
    gap: 8px;
    font-size: 9px;
  }

  .venue small {
    font-size: 7px;
  }

  .venue-icon {
    width: 27px;
    height: 27px;
  }

  .venue-icon svg {
    width: 12px;
    height: 14px;
  }

  .round-link {
    width: 33px;
    height: 33px;
  }

  .round-link svg {
    width: 14px;
    height: 14px;
  }

  .matchday-badge {
    top: -13px;
    right: -3px;
    width: 61px;
    height: 61px;
    gap: 3px;
    transform: rotate(7deg);
  }

  .matchday-badge span {
    font-size: 5px;
  }

  .matchday-badge b {
    font-size: 18px;
  }

  .feature-ball {
    width: 130px;
    height: 130px;
    right: -25px;
    bottom: 45px;
  }

  .stats-band .container {
    width: 100%;
  }

  .stat {
    padding: 17px 16px;
    gap: 9px;
  }

  .stat:first-child {
    padding-left: 18px;
  }

  .stat:nth-child(3) {
    padding-left: 18px;
  }

  .stat-no {
    font-size: 7px;
  }

  .stat-main {
    gap: 5px;
  }

  .stat-main strong {
    font-size: 30px;
  }

  .stat-main span {
    font-size: 9px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 30px;
    gap: 13px;
  }

  .kicker {
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .section-head h2 {
    margin-top: 10px;
    font-size: clamp(36px, 11vw, 50px);
  }

  .section-desc {
    font-size: 12px;
    line-height: 1.8;
  }

  .filter-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
  }

  .filter-pills {
    width: 100%;
    justify-content: space-between;
    padding: 4px;
  }

  .filter {
    flex: 1;
    justify-content: center;
    height: 34px;
    padding: 0 6px;
    font-size: 9px;
  }

  .filter span {
    display: none;
  }

  .filter-note {
    font-size: 8px;
  }

  .match-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 0;
    padding: 15px 4px 16px;
  }

  .match-info {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
  }

  .match-comp {
    font-size: 8px;
  }

  .match-info time {
    padding-left: 9px;
    border-left: 1px solid var(--line);
    font-size: 8px;
  }

  .remind {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    height: 29px;
    padding: 0 10px;
    font-size: 8px;
  }

  .remind svg {
    width: 11px;
    height: 11px;
  }

  .match-teams {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
    gap: 7px;
  }

  .match-team {
    gap: 8px;
  }

  .match-team .crest {
    width: 32px;
  }

  .match-name {
    font-size: 13px;
  }

  .match-name small {
    margin-top: 2px;
    font-size: 6px;
  }

  .match-score {
    font-size: 20px;
  }

  .match-score .score {
    gap: 4px;
  }

  .match-score .colon {
    font-size: 12px;
  }

  .match-state {
    font-size: 6px;
  }

  .fixtures-footer {
    justify-content: flex-start;
    margin-top: 21px;
  }

  .rankings-grid {
    gap: 13px;
  }

  .table-card {
    border-radius: 18px;
  }

  .table-top {
    padding: 18px 16px 16px;
    align-items: flex-start;
  }

  .table-top > div:first-child {
    flex-direction: column;
    gap: 4px;
  }

  .table-legend {
    display: none;
  }

  table {
    min-width: 100%;
  }

  th:first-child,
  td:first-child {
    padding-left: 14px;
  }

  th:last-child,
  td:last-child {
    padding-right: 14px;
  }

  th {
    padding: 11px 5px;
  }

  tbody td {
    height: 50px;
    padding: 7px 5px;
    font-size: 10px;
  }

  .table-team {
    gap: 7px;
  }

  th.form-head,
  tbody td:last-child {
    display: none;
  }

  .table-team .crest {
    width: 23px;
  }

  .table-team strong {
    font-size: 11px;
  }

  .table-team strong {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  td.points {
    font-size: 12px;
  }

  .form span {
    width: 16px;
    height: 16px;
    font-size: 6px;
  }

  .optional {
    display: none;
  }

  .form-head {
    display: none;
  }

  .table-foot {
    padding: 13px 15px;
    font-size: 7px;
  }

  .table-foot a {
    font-size: 8px;
  }

  .scorers-card {
    padding: 21px 17px 16px;
    border-radius: 18px;
  }

  .scorers-card h3 {
    margin-top: 14px;
    font-size: 32px;
  }

  .scorer-list {
    display: block;
    margin-top: 13px;
  }

  .scorer-list li {
    padding: 10px 0;
  }

  .goals {
    font-size: 21px;
  }

  .scorers-foot {
    margin-top: 14px;
  }

  .club-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .club-card {
    min-height: 250px;
    padding: 18px;
  }

  .club-crest {
    width: 51px;
    margin: 16px 0 18px;
  }

  .club-body h3 {
    font-size: 23px;
  }

  .club-stats {
    margin-top: 13px;
    padding-top: 12px;
    font-size: 7px;
  }

  .club-stats b {
    font-size: 15px;
  }

  .club-code {
    right: 12px;
    bottom: 55px;
    font-size: 72px;
  }

  .news-grid {
    gap: 11px;
  }

  .news-featured .news-art {
    min-height: 220px;
  }

  .art-number {
    font-size: 145px;
  }

  .art-kicker {
    top: 17px;
    left: 17px;
    font-size: 7px;
  }

  .art-caption {
    left: 17px;
    bottom: 17px;
    font-size: 7px;
  }

  .news-featured .art-caption {
    bottom: 19px;
  }

  .news-featured .news-body {
    padding: 21px 19px 20px;
  }

  .news-featured .news-body h3 {
    margin-top: 10px;
    font-size: 23px;
    line-height: 1.35;
  }

  .news-body p {
    font-size: 11px;
  }

  .news-small {
    grid-template-columns: 1fr;
  }

  .news-small .news-art {
    height: 170px;
    min-height: 0;
  }

  .news-body {
    padding: 19px;
  }

  .news-body h3 {
    margin-top: 9px;
    font-size: 18px;
    line-height: 1.4;
  }

  .news-small .read-link {
    padding-top: 13px;
  }

  .ticket-cta {
    padding: 68px 0;
  }

  .ticket-inner {
    gap: 28px;
  }

  .ticket-copy h2 {
    font-size: clamp(45px, 13vw, 62px);
  }

  .ticket-copy p {
    margin-top: 15px;
    font-size: 11px;
  }

  .ticket-panel {
    padding: 22px 18px 17px;
    border-radius: 20px;
  }

  .ticket-panel::before,
  .ticket-panel::after {
    top: 64%;
    width: 18px;
    height: 18px;
  }

  .ticket-panel::before {
    left: -9px;
  }

  .ticket-panel::after {
    right: -9px;
  }

  .ticket-head {
    font-size: 8px;
  }

  .ticket-panel h3 {
    margin-top: 17px;
    font-size: 32px;
  }

  #newsletterForm {
    flex-direction: column;
    margin-top: 19px;
  }

  #newsletterForm input {
    height: 47px;
    font-size: 11px;
  }

  #newsletterForm .btn {
    width: 100%;
    height: 47px;
  }

  .form-hint {
    font-size: 7px;
  }

  .ticket-foot {
    margin-top: 19px;
    padding-top: 13px;
    font-size: 7px;
  }

  .cta-watermark {
    font-size: 42vw;
    bottom: 0;
  }

  .site-footer {
    padding-top: 56px;
  }

  .footer-brand p {
    margin-top: 17px;
    font-size: 10px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .footer-nav a {
    font-size: 10px;
  }

  .footer-nav > div > span {
    font-size: 7px;
  }

  .footer-wordmark {
    margin: 35px 0 22px;
    font-size: 43vw;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 11px 18px;
    padding-top: 17px;
    font-size: 7px;
  }

  .footer-motto {
    order: 3;
    flex-basis: 100%;
  }

  .article-dialog {
    width: calc(100% - 24px);
    max-height: 90vh;
    border-radius: 18px;
  }

  .dialog-art {
    min-height: 130px;
  }

  .dialog-art-number {
    font-size: 105px;
  }

  .dialog-body {
    padding: 21px 19px;
  }

  .dialog-body h2 {
    font-size: 24px;
  }

  .dialog-content p {
    font-size: 11px;
    line-height: 1.9;
  }

  .dialog-foot {
    font-size: 7px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 52px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .filter {
    font-size: 8px;
  }

  .match-team .crest {
    width: 29px;
  }

  .match-name {
    font-size: 12px;
  }

  .match-score {
    font-size: 18px;
  }

  .stat-main strong {
    font-size: 27px;
  }
}

.select-wrap option,
.select-wrap optgroup {
  background: #07101d;
  color: #f2eee4;
}

@media (max-width: 860px) {
  .filter-bottom {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .filter-tools {
    margin-left: 0;
  }

  .match-dialog {
    width: calc(100% - 32px);
  }
}

@media (max-width: 640px) {
  .header-actions {
    gap: 8px;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .theme-icon {
    width: 15px;
    height: 15px;
  }

  .filter-panel {
    margin-bottom: 13px;
    padding: 13px 12px 12px;
    border-radius: 16px;
  }

  .filter-top {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }

  .filter-pills {
    width: 100%;
    justify-content: space-between;
  }

  .filter-status {
    justify-content: space-between;
    gap: 10px;
    padding: 0 2px;
  }

  .filter-count strong {
    font-size: 15px;
  }

  .filter-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
  }

  .league-filters {
    flex-wrap: nowrap;
    gap: 1px;
    margin: 0 -12px;
    padding: 0 12px 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .league-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-label {
    display: none;
  }

  .league-filter {
    flex: 0 0 auto;
    padding: 0 9px;
  }

  .filter-tools {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    margin-left: 0;
  }

  .team-filter {
    flex: 1;
    min-width: 0;
  }

  .team-filter > label {
    display: none;
  }

  .select-wrap {
    flex: 1;
    min-width: 0;
  }

  .select-wrap select {
    width: 100%;
    height: 34px;
  }

  .filter-reset {
    height: 32px;
  }

  .match-list {
    padding: 0 9px;
    border-radius: 18px;
  }

  .match-empty {
    padding: 40px 18px 36px;
    border-radius: 18px;
  }

  .match-card {
    gap: 10px;
    padding: 14px 3px 15px;
  }

  .match-detail-text {
    display: none;
  }

  .match-detail-trigger {
    padding-left: 8px;
    border-left: 1px solid var(--line);
  }

  .match-detail-trigger time {
    font-size: 8px;
  }

  .match-dialog {
    width: calc(100% - 24px);
    max-height: 92vh;
    border-radius: 20px;
  }

  .match-dialog-close {
    top: 13px;
    right: 13px;
    width: 34px;
    height: 34px;
  }

  .match-dialog-hero {
    padding: 20px 17px 17px;
  }

  .md-topline {
    gap: 8px;
    padding-right: 36px;
  }

  .md-kicker {
    font-size: 7px;
    line-height: 1.4;
  }

  .md-status {
    padding: 5px 7px;
    font-size: 7px;
  }

  .md-competition {
    margin-top: 16px;
    font-size: 8px;
  }

  .match-dialog-teams {
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    gap: 5px;
    max-width: none;
    margin: 22px auto 18px;
  }

  .md-team .crest {
    width: 55px;
    margin-bottom: 2px;
  }

  .md-team strong {
    font-size: 15px;
  }

  .md-team small {
    font-size: 6px;
  }

  .md-score {
    font-size: 32px;
  }

  .md-score .md-colon {
    font-size: 18px;
  }

  .md-kickoff {
    margin-top: 8px;
    font-size: 8px;
  }

  .md-location {
    padding-top: 13px;
    font-size: 8px;
  }

  .match-dialog-body {
    padding: 16px 16px 18px;
  }

  .md-facts {
    grid-template-columns: 1fr;
  }

  .md-fact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 13px;
    border-top: 1px solid rgba(242, 238, 228, 0.08);
    border-left: 0;
  }

  .md-fact:first-child {
    border-top: 0;
  }

  .md-fact strong {
    margin-top: 0;
    font-size: 9px;
    text-align: right;
  }

  .md-preview-block {
    margin-top: 13px;
    padding: 13px 14px;
  }

  .md-preview-block p {
    font-size: 10px;
    line-height: 1.8;
  }

  .md-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 14px;
  }

  .md-actions .btn {
    width: 100%;
    height: 44px;
  }
}

@media (max-width: 390px) {
  .filter {
    padding: 0 4px;
    font-size: 8px;
  }

  .filter-pills {
    gap: 2px;
  }

  .match-dialog {
    width: calc(100% - 16px);
  }

  .match-dialog-teams {
    grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
  }

  .md-team .crest {
    width: 48px;
  }

  .md-team strong {
    font-size: 14px;
  }

  .md-score {
    font-size: 28px;
  }
}

/* ---------- Image upload ---------- */

.publish-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #aab4c2;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.publish-field-label small {
  color: #69778b;
  font-size: 7px;
  font-weight: 500;
}

.publish-field .plan-upload {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 166px;
  overflow: hidden;
  border: 1px dashed rgba(242, 238, 228, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(233, 194, 100, 0.055), transparent 55%),
    #07101d;
  color: #aeb8c6;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.publish-field .plan-upload:hover,
.publish-field .plan-upload.is-dragging {
  border-color: rgba(233, 194, 100, 0.52);
  background:
    radial-gradient(circle at 50% 0%, rgba(233, 194, 100, 0.1), transparent 55%),
    #081525;
}

.publish-field .plan-upload:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.plan-upload input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.publish-field .plan-upload .plan-upload-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  color: #aeb8c6;
  text-align: center;
  pointer-events: none;
}

.publish-field .plan-upload .plan-upload-change {
  color: #f2eee4;
}

.plan-upload-empty[hidden] {
  display: none;
}

.plan-upload-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border: 1px solid rgba(233, 194, 100, 0.26);
  border-radius: 50%;
  background: rgba(233, 194, 100, 0.06);
  color: var(--gold);
}

.plan-upload-icon svg {
  width: 20px;
  height: 20px;
}

.plan-upload-empty strong {
  color: #dfddd4;
  font-size: 11px;
  font-weight: 600;
}

.plan-upload-empty small {
  margin-top: 4px;
  color: #6c798d;
  font-size: 8px;
}

.plan-upload-preview {
  display: block;
  width: 100%;
  height: 188px;
  object-fit: cover;
}

.plan-upload-preview[hidden] {
  display: none;
}

.plan-upload-change {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(5, 9, 18, 0.62);
  color: #f2eee4;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.plan-upload-change[hidden] {
  display: none;
}

.plan-upload.has-image {
  border-style: solid;
  border-color: rgba(233, 194, 100, 0.28);
}

.plan-upload-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 18px;
}

.plan-upload-hint {
  color: #667387;
  font-size: 7px;
  line-height: 1.5;
}

.plan-image-remove {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8996a8;
  font-size: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

.plan-image-remove:hover {
  color: var(--gold);
}

.plan-image-remove[hidden] {
  display: none;
}

/* Compact image plan card on the home CTA */

.plan-cta-card {
  display: block;
  min-height: 384px;
  padding: 0;
  color: var(--ink);
  text-decoration: none;
  transform: rotate(1.5deg);
}

.plan-cta-card::before {
  display: none;
}

.plan-cta-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.plan-cta-card:hover .plan-cta-card-image {
  transform: scale(1.04);
}

.plan-cta-card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.08) 0%, rgba(5, 9, 18, 0.22) 48%, rgba(5, 9, 18, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 9, 18, 0.2), transparent 55%);
  pointer-events: none;
}

.plan-cta-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 384px;
  padding: 23px 25px 24px;
}

.plan-cta-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  color: #b6c2d1;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.plan-cta-card-top span:last-child {
  color: var(--gold);
}

.plan-cta-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.plan-cta-card-label {
  color: var(--gold);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.plan-cta-card-body strong {
  margin-top: 9px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.plan-cta-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #e8e2d6;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.25s ease;
}

.plan-cta-card-link span {
  color: var(--gold);
  font-size: 14px;
}

.plan-cta-card:hover .plan-cta-card-link {
  color: var(--gold);
}

@media (max-width: 640px) {
  .publish-field .plan-upload {
    min-height: 142px;
  }

  .plan-upload-preview {
    height: 166px;
  }

  .plan-upload-empty strong {
    font-size: 10px;
  }

  .plan-upload-empty small {
    font-size: 7px;
  }

  .plan-cta-card {
    min-height: 332px;
  }

  .plan-cta-card-content {
    min-height: 332px;
    padding: 19px 18px 20px;
  }

  .plan-cta-card-body strong {
    font-size: 27px;
  }
}

/* ---------- Admin access ---------- */

.admin-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  color: #9da9ba;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.admin-toggle:hover {
  border-color: rgba(233, 194, 100, 0.45);
  background: rgba(233, 194, 100, 0.08);
  color: var(--gold);
}

.admin-toggle svg {
  width: 17px;
  height: 17px;
}

.admin-toggle.is-admin {
  border-color: var(--gold);
  background: var(--gold);
  color: #050912;
}

.admin-dot {
  display: none;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
}

.admin-toggle .admin-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  box-shadow: 0 0 0 2px #070b14;
}

.admin-toggle.is-admin .admin-dot {
  display: block;
  background: #050912;
  box-shadow: 0 0 0 2px var(--gold);
}

html[data-theme="light"] .admin-toggle {
  border-color: var(--page-line);
  background: rgba(255, 255, 255, 0.35);
  color: var(--page-ink);
}

html[data-theme="light"] .admin-toggle:hover {
  border-color: rgba(138, 97, 20, 0.4);
  color: var(--page-gold);
}

html[data-theme="light"] .admin-toggle.is-admin {
  border-color: var(--gold);
  background: var(--gold);
  color: #050912;
}

.nav-admin {
  display: none;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 14px 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #aab4c3;
  text-align: left;
}

.nav-admin-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #aab4c3;
}

.nav-admin-icon svg {
  width: 15px;
  height: 15px;
}

.nav-admin-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-admin-copy strong {
  font-size: 12px;
  font-weight: 600;
}

.nav-admin-copy small {
  color: #7d899a;
  font-size: 8px;
  font-weight: 400;
}

.nav-admin.is-admin {
  color: var(--gold);
}

.nav-admin.is-admin .nav-admin-icon {
  border-color: rgba(233, 194, 100, 0.3);
  background: rgba(233, 194, 100, 0.08);
  color: var(--gold);
}

.nav-admin.is-admin .nav-admin-copy small {
  color: #b7a36f;
}

.nav-admin.is-admin .admin-dot {
  display: block;
  margin-left: auto;
}

.admin-dialog {
  width: min(500px, calc(100% - 40px));
  max-height: min(91vh, 780px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(233, 194, 100, 0.26);
  border-radius: 25px;
  background: #0b1524;
  color: var(--ink);
  box-shadow: 0 46px 120px rgba(0, 0, 0, 0.64);
}

.admin-dialog::backdrop {
  background: rgba(2, 5, 13, 0.84);
  backdrop-filter: blur(9px);
}

.admin-dialog[open] {
  animation: dialogIn 0.35s var(--ease);
}

.admin-dialog-close {
  top: 18px;
  right: 18px;
}

.admin-dialog-head {
  position: relative;
  overflow: hidden;
  padding: 27px 30px 22px;
  border-bottom: 1px solid rgba(242, 238, 228, 0.1);
  background:
    radial-gradient(circle at 86% 4%, rgba(233, 194, 100, 0.19), transparent 40%),
    linear-gradient(145deg, #15263c, #0a1321);
}

.admin-dialog-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(120deg, #000, transparent 72%);
  pointer-events: none;
}

.admin-kicker,
.admin-shield,
.admin-dialog-head h2,
.admin-dialog-head p {
  position: relative;
  z-index: 1;
}

.admin-kicker {
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.admin-shield {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: 18px;
  border: 1px solid rgba(233, 194, 100, 0.28);
  border-radius: 50%;
  background: rgba(233, 194, 100, 0.07);
  color: var(--gold);
}

.admin-shield svg {
  width: 26px;
  height: 26px;
}

.admin-dialog-head h2 {
  margin-top: 13px;
  font-family: var(--font-display);
  font-size: clamp(27px, 4vw, 35px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.admin-dialog-head p {
  max-width: 380px;
  margin-top: 9px;
  color: #96a2b4;
  font-size: 10px;
  line-height: 1.75;
}

.admin-dialog-body {
  padding: 22px 30px 25px;
}

.admin-login-form[hidden],
.admin-session[hidden] {
  display: none;
}

.admin-login-form > label {
  display: block;
  margin-bottom: 7px;
  color: #aab4c2;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.admin-password-wrap {
  position: relative;
}

.admin-password-wrap input {
  width: 100%;
  height: 44px;
  padding: 0 46px 0 12px;
  border: 1px solid rgba(242, 238, 228, 0.14);
  border-radius: 10px;
  outline: 0;
  background: #07101d;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.admin-password-wrap input:focus {
  border-color: rgba(233, 194, 100, 0.58);
  background: #091524;
}

.admin-password-wrap input.is-invalid {
  border-color: rgba(255, 111, 106, 0.65);
}

.admin-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #7c8a9d;
  transform: translateY(-50%);
  transition: color 0.25s ease, background 0.25s ease;
}

.admin-password-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
}

.admin-password-toggle svg {
  width: 16px;
  height: 16px;
}

.admin-error {
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 111, 106, 0.23);
  border-radius: 8px;
  background: rgba(255, 111, 106, 0.07);
  color: #ff9b97;
  font-size: 9px;
  line-height: 1.5;
}

.admin-error[hidden] {
  display: none;
}

.admin-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.admin-actions .btn {
  height: 45px;
  font-size: 10px;
}

.admin-actions .btn-ghost {
  padding: 0 18px;
}

.admin-note {
  margin-top: 14px;
  color: #667387;
  font-size: 8px;
  line-height: 1.65;
}

.admin-session-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.admin-session-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(233, 194, 100, 0.08);
}

.admin-session h3 {
  margin-top: 15px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.admin-session > p {
  margin-top: 8px;
  color: #9aa6b6;
  font-size: 10px;
  line-height: 1.8;
}

@media (max-width: 860px) {
  .admin-toggle {
    display: none;
  }

  .nav-admin {
    display: flex;
  }
}

@media (max-width: 640px) {
  .admin-dialog {
    width: calc(100% - 24px);
    max-height: 92vh;
    border-radius: 20px;
  }

  .admin-dialog-close {
    top: 13px;
    right: 13px;
    width: 34px;
    height: 34px;
  }

  .admin-dialog-head {
    padding: 22px 18px 18px;
  }

  .admin-shield {
    width: 42px;
    height: 42px;
    margin-top: 15px;
  }

  .admin-dialog-head h2 {
    font-size: 27px;
  }

  .admin-dialog-head p {
    font-size: 9px;
  }

  .admin-dialog-body {
    padding: 18px 17px 20px;
  }

  .admin-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-actions .btn {
    width: 100%;
  }
}

/* Admin-only publishing */

html[data-role="guest"] [data-open-publish] {
  display: none !important;
}

html[data-role="guest"] .plan-filter[data-filter="mine"] {
  display: none !important;
}

html[data-role="guest"] [data-admin-only] {
  display: none !important;
}

html[data-role="admin"] [data-guest-only] {
  display: none !important;
}

.plan-access-note {
  margin-top: 13px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.58;
}

.plan-cta .plan-access-note {
  color: rgba(5, 9, 18, 0.65);
}

.plans-hero .plan-access-note {
  color: #77869a;
}

html[data-theme="light"] .plans-hero .plan-access-note {
  color: var(--page-muted);
}

html[data-user="user"] [data-anon-only],
html[data-role="admin"] [data-anon-only] {
  display: none !important;
}

/* User account entry */

.user-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  color: #9da9ba;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.user-toggle:hover {
  border-color: rgba(7, 193, 96, 0.5);
  background: rgba(7, 193, 96, 0.07);
  color: #7ee7ad;
}

.user-toggle svg {
  width: 17px;
  height: 17px;
}

.user-toggle.has-user {
  border-color: rgba(7, 193, 96, 0.5);
  background: rgba(7, 193, 96, 0.08);
}

.user-toggle.has-user .user-icon {
  display: none;
}

.user-initial {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #07c160;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.user-initial[hidden] {
  display: none;
}

.nav-user {
  display: none;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 14px 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #aab4c3;
  text-align: left;
}

.nav-user-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #aab4c3;
}

.nav-user-icon svg {
  width: 15px;
  height: 15px;
}

.nav-user-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-user-copy strong {
  font-size: 12px;
  font-weight: 600;
}

.nav-user-copy small {
  color: #7d899a;
  font-size: 8px;
  font-weight: 400;
}

.nav-user.has-user {
  color: #7ee7ad;
}

.nav-user.has-user .nav-user-icon {
  border-color: rgba(7, 193, 96, 0.35);
  background: rgba(7, 193, 96, 0.09);
  color: #7ee7ad;
}

.nav-user.has-user .nav-user-copy small {
  color: #78a88c;
}

.nav-user.has-user .user-dot {
  display: block;
  margin-left: auto;
  background: #07c160;
}

html[data-theme="light"] .user-toggle {
  border-color: var(--page-line);
  background: rgba(255, 255, 255, 0.35);
  color: var(--page-ink);
}

html[data-theme="light"] .nav-user {
  border-top-color: rgba(11, 21, 38, 0.08);
}

.user-dot {
  display: none;
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #07c160;
}

/* User login dialog */

.user-dialog {
  width: min(480px, calc(100% - 40px));
  max-height: min(91vh, 760px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(7, 193, 96, 0.28);
  border-radius: 24px;
  background: #0b1524;
  color: var(--ink);
  box-shadow: 0 46px 120px rgba(0, 0, 0, 0.64);
}

.user-dialog::backdrop {
  background: rgba(2, 5, 13, 0.84);
  backdrop-filter: blur(9px);
}

.user-dialog[open] {
  animation: dialogIn 0.35s var(--ease);
}

.user-dialog-close {
  top: 17px;
  right: 17px;
}

.user-dialog-head {
  position: relative;
  overflow: hidden;
  padding: 27px 30px 22px;
  border-bottom: 1px solid rgba(242, 238, 228, 0.1);
  background:
    radial-gradient(circle at 88% 6%, rgba(7, 193, 96, 0.22), transparent 44%),
    linear-gradient(145deg, #102a23, #0a1310 68%);
}

.user-dialog-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(120deg, #000, transparent 72%);
  pointer-events: none;
}

.user-kicker,
.wechat-mark,
.user-dialog-head h2,
.user-dialog-head p {
  position: relative;
  z-index: 1;
}

.user-kicker {
  color: #7ee7ad;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.wechat-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: 18px;
  border: 1px solid rgba(7, 193, 96, 0.34);
  border-radius: 50%;
  background: rgba(7, 193, 96, 0.09);
  color: #7ee7ad;
}

.wechat-mark svg {
  width: 26px;
  height: 26px;
}

.user-dialog-head h2 {
  margin-top: 13px;
  font-family: var(--font-display);
  font-size: clamp(27px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.user-dialog-head p {
  max-width: 360px;
  margin-top: 9px;
  color: #92a29a;
  font-size: 10px;
  line-height: 1.75;
}

.user-dialog-body {
  padding: 21px 30px 24px;
}

.user-guest-panel[hidden],
.user-profile-panel[hidden] {
  display: none;
}

.wechat-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 51px;
  padding: 0 12px;
  border-radius: 11px;
  background: #07c160;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.3s var(--ease);
}

.wechat-login:hover {
  background: #06ad56;
  transform: translateY(-1px);
}

.wechat-login-icon {
  display: grid;
  place-items: center;
}

.wechat-login-icon svg {
  width: 21px;
  height: 21px;
}

.wechat-local-tag {
  margin-left: 6px;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.user-login-note {
  margin-top: 12px;
  color: #667387;
  font-size: 8px;
  line-height: 1.7;
}

.user-admin-hint {
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid rgba(242, 238, 228, 0.09);
  color: #7b8799;
  font-size: 8px;
}

.phone-login-form {
  display: flex;
  flex-direction: column;
}

.phone-login-form > label {
  margin-bottom: 6px;
  color: #9aa8b6;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.phone-field {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(242, 238, 228, 0.16);
  border-radius: 10px;
  background: #07101d;
  transition: border-color 0.25s ease;
}

.phone-field:focus-within {
  border-color: rgba(233, 194, 100, 0.6);
}

.phone-field > span {
  padding: 0 12px;
  border-right: 1px solid rgba(242, 238, 228, 0.12);
  color: #77859a;
  font-size: 10px;
  line-height: 1;
}

.phone-field input {
  min-width: 0;
  flex: 1;
  height: 49px;
  padding: 0 13px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.phone-field input::placeholder {
  color: #5f6d80;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.phone-error {
  margin-top: 7px;
  color: #ef9a8e;
  font-size: 8px;
  line-height: 1.6;
}

.phone-error[hidden] {
  display: none;
}

.phone-login-button {
  margin-top: 12px;
}

.phone-warning {
  color: #b89a66;
}

.admin-phone-warning {
  margin-top: 9px;
  padding: 8px 9px;
  border: 1px solid rgba(233, 194, 100, 0.18);
  border-radius: 7px;
  background: rgba(233, 194, 100, 0.045);
  color: #b9a274;
  font-size: 7px;
  line-height: 1.6;
}

/* Phone account accents replace the old WeChat green */

.user-toggle:hover {
  border-color: rgba(233, 194, 100, 0.5);
  background: rgba(233, 194, 100, 0.07);
  color: #e9c264;
}

.user-toggle.has-user {
  border-color: rgba(233, 194, 100, 0.5);
  background: rgba(233, 194, 100, 0.08);
}

.user-initial {
  background: #e9c264;
  color: #08111e;
}

.user-dot,
.nav-user.has-user .user-dot {
  background: #e9c264;
}

.nav-user.has-user {
  color: #e9c264;
}

.nav-user.has-user .nav-user-icon {
  border-color: rgba(233, 194, 100, 0.35);
  background: rgba(233, 194, 100, 0.09);
  color: #e9c264;
}

.nav-user.has-user .nav-user-copy small {
  color: #a99a77;
}

.user-dialog {
  border-color: rgba(233, 194, 100, 0.28);
}

.user-dialog-head {
  background:
    radial-gradient(circle at 88% 6%, rgba(233, 194, 100, 0.2), transparent 44%),
    linear-gradient(145deg, #1a2232, #0a111d 68%);
}

.user-kicker {
  color: #e9c264;
}

.phone-mark {
  border-color: rgba(233, 194, 100, 0.34);
  background: rgba(233, 194, 100, 0.09);
  color: #e9c264;
}

.phone-login-button {
  background: #e9c264;
  color: #08111e;
}

.phone-login-button:hover {
  background: #f0d68e;
  color: #08111e;
}

.user-profile-avatar {
  background: #e9c264;
  color: #08111e;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-profile-avatar {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #07c160;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.user-profile h3 {
  font-size: 17px;
  font-weight: 700;
}

.user-profile p {
  margin-top: 3px;
  color: #7a899c;
  font-size: 8px;
}

.user-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 19px;
  overflow: hidden;
  border: 1px solid rgba(242, 238, 228, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.user-facts div {
  min-width: 0;
  padding: 11px 13px;
  background: #0b1524;
}

.user-facts small {
  display: block;
  color: #68768a;
  font-size: 7px;
  letter-spacing: 0.05em;
}

.user-facts strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #d4d8dd;
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-profile-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.user-profile-actions .btn {
  height: 44px;
  font-size: 10px;
}

@media (max-width: 860px) {
  .user-toggle {
    display: none;
  }

  .nav-user {
    display: flex;
  }
}

@media (max-width: 640px) {
  .user-dialog {
    width: calc(100% - 24px);
    max-height: 92vh;
    border-radius: 20px;
  }

  .user-dialog-close {
    top: 13px;
    right: 13px;
    width: 34px;
    height: 34px;
  }

  .user-dialog-head {
    padding: 22px 18px 18px;
  }

  .wechat-mark {
    width: 42px;
    height: 42px;
    margin-top: 15px;
  }

  .user-dialog-head h2 {
    font-size: 27px;
  }

  .user-dialog-head p {
    font-size: 9px;
  }

  .user-dialog-body {
    padding: 17px 17px 20px;
  }

  .user-profile-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .user-profile-actions .btn {
    width: 100%;
  }
}

/* Admin user information */

.admin-users-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(242, 238, 228, 0.1);
}

.admin-users-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-users-head h4 {
  margin: 0;
  color: #d8d5cc;
  font-size: 11px;
  font-weight: 600;
}

.admin-users-head span {
  color: #778498;
  font-size: 8px;
}

.admin-users-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 300px;
  margin-top: 10px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #344259 transparent;
}

.admin-users-empty {
  color: #6a788b;
  font-size: 9px;
  line-height: 1.6;
}

.admin-user-card {
  padding: 12px;
  border: 1px solid rgba(242, 238, 228, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.admin-user-top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.admin-user-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--user-color, #07c160);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.admin-user-name {
  min-width: 0;
}

.admin-user-name strong {
  display: block;
  color: #dfe2e6;
  font-size: 10px;
  font-weight: 600;
}

.admin-user-name small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #6d7a8d;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 10px;
  margin-top: 10px;
  color: #7d899b;
  font-size: 7px;
  line-height: 1.6;
}

.admin-user-meta b {
  color: #bcc6d3;
  font-weight: 500;
}

.admin-user-messages {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid rgba(242, 238, 228, 0.08);
}

.admin-user-messages strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.admin-user-message {
  margin-top: 5px;
  color: #8b97a8;
  font-size: 8px;
  line-height: 1.6;
}

.admin-user-message small {
  display: block;
  margin-top: 1px;
  color: #5f6e82;
  font-size: 7px;
}

.admin-users-empty {
  padding: 12px;
  border: 1px dashed rgba(242, 238, 228, 0.12);
  border-radius: 9px;
  text-align: center;
}

html[data-theme="light"] .admin-user-card {
  border-color: var(--page-line);
  background: rgba(255, 255, 255, 0.35);
}

html[data-theme="light"] .admin-user-name strong {
  color: var(--page-ink);
}

html[data-theme="light"] .admin-user-name small,
html[data-theme="light"] .admin-user-meta,
html[data-theme="light"] .admin-user-message {
  color: var(--page-muted);
}

html[data-theme="light"] .admin-user-message small {
  color: var(--page-muted-2);
}

/* Daily Jingcai board */

.jingcai {
  position: relative;
  background:
    radial-gradient(ellipse 34% 38% at 4% 42%, rgba(233, 194, 100, 0.06), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.jc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.jc-dates {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.jc-dates::-webkit-scrollbar {
  display: none;
}

.jc-date {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 88px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  white-space: nowrap;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.jc-date span {
  font-size: 10px;
  font-weight: 600;
}

.jc-date small {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.jc-date:hover {
  border-color: rgba(233, 194, 100, 0.38);
  color: var(--ink);
}

.jc-date.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--bg);
}

.jc-date.is-active small {
  color: rgba(7, 11, 20, 0.6);
}

.jc-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.jc-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.jc-source i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.jc-source.is-live {
  border-color: rgba(101, 211, 157, 0.28);
  color: #7ee7ad;
}

.jc-source.is-live i {
  background: #59d696;
  box-shadow: 0 0 0 3px rgba(89, 214, 150, 0.1);
}

.jc-source.is-demo {
  border-color: rgba(233, 194, 100, 0.24);
  color: var(--gold);
}

.jc-source.is-error {
  border-color: rgba(255, 111, 106, 0.24);
  color: var(--red);
}

.jc-source.is-error i {
  background: var(--red);
}

.jc-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 31px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 8px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.jc-refresh:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.jc-refresh:disabled {
  opacity: 0.45;
  cursor: wait;
}

.jc-refresh svg {
  width: 12px;
  height: 12px;
}

.jc-summary {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.022);
}

.jc-summary > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex: 0 0 auto;
}

.jc-summary strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.jc-summary span {
  color: var(--muted-2);
  font-size: 8px;
}

.jc-summary > p {
  margin: 0 0 0 auto;
  color: var(--muted-2);
  font-size: 8px;
  line-height: 1.6;
}

.jc-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #0a1320;
  color: var(--ink);
}

.jc-board[hidden],
.jc-empty[hidden] {
  display: none;
}

.jc-match {
  display: grid;
  grid-template-columns: 162px minmax(0, 1fr) 232px;
  align-items: center;
  gap: 22px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(242, 238, 228, 0.08);
  transition: background 0.25s ease;
}

.jc-match:last-child {
  border-bottom: 0;
}

.jc-match:hover {
  background: rgba(255, 255, 255, 0.025);
}

.jc-match.is-live {
  background: rgba(233, 194, 100, 0.055);
  box-shadow: inset 3px 0 0 var(--gold);
}

.jc-match-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.jc-no {
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.jc-league {
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jc-kickoff {
  margin-left: auto;
  color: #69788c;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.jc-match-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.jc-side {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.jc-side strong {
  overflow: hidden;
  color: #e5e7e9;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jc-home {
  justify-content: flex-end;
  text-align: right;
}

.jc-away {
  justify-content: flex-start;
}

.jc-team-code {
  display: grid;
  place-items: center;
  width: 28px;
  height: 31px;
  flex: 0 0 auto;
  clip-path: polygon(50% 0, 92% 17%, 92% 70%, 50% 100%, 8% 70%, 8% 17%);
  background: #1a2c43;
  color: #a9c8e8;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.jc-home .jc-team-code {
  order: 2;
}

.jc-scorebox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.jc-scorebox > strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.jc-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6f7e91;
  font-size: 7px;
  white-space: nowrap;
}

.jc-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 194, 100, 0.1);
  animation: livePulse 1.8s ease-in-out infinite;
}

.jc-match.is-live .jc-scorebox > strong {
  color: var(--gold);
}

.jc-match.is-live .jc-status {
  color: var(--gold);
}

.jc-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.jc-odds > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(242, 238, 228, 0.09);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}

.jc-odds small {
  color: #68778b;
  font-size: 7px;
}

.jc-odds b {
  color: #c8d1dc;
  font-size: 9px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.jc-empty {
  padding: 44px 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.jc-empty strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.jc-empty p {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 9px;
}

.jc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 13px;
  color: var(--muted-2);
  font-size: 7px;
}

.jc-foot b {
  color: var(--muted);
  font-weight: 500;
}

.jc-feature-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 21px;
  border: 1px solid rgba(242, 238, 228, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
}

.jc-feature-meta > div {
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.jc-feature-meta b {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.jc-feature-meta small {
  display: block;
  margin-top: 3px;
  color: #7c8a9c;
  font-size: 7px;
}

@keyframes livePulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

html[data-theme="light"] .jingcai {
  background:
    radial-gradient(ellipse 38% 36% at 94% 8%, rgba(197, 154, 63, 0.1), transparent 70%),
    var(--page-bg);
  border-bottom-color: var(--page-line);
}

html[data-theme="light"] .jc-date {
  border-color: var(--page-line);
  background: rgba(255, 255, 255, 0.45);
  color: var(--page-muted);
}

html[data-theme="light"] .jc-date small {
  color: var(--page-muted-2);
}

html[data-theme="light"] .jc-date:hover {
  color: var(--page-ink);
}

html[data-theme="light"] .jc-date.is-active {
  color: var(--page-ink);
}

html[data-theme="light"] .jc-date.is-active small {
  color: rgba(11, 21, 38, 0.6);
}

html[data-theme="light"] .jc-source,
html[data-theme="light"] .jc-refresh {
  border-color: var(--page-line);
  color: var(--page-muted);
}

html[data-theme="light"] .jc-summary {
  border-color: var(--page-line);
  background: rgba(255, 255, 255, 0.35);
}

html[data-theme="light"] .jc-summary strong {
  color: var(--page-ink);
}

html[data-theme="light"] .jc-summary span,
html[data-theme="light"] .jc-summary > p,
html[data-theme="light"] .jc-foot {
  color: var(--page-muted);
}

html[data-theme="light"] .jc-foot b {
  color: var(--page-ink);
}

html[data-theme="light"] .jc-empty {
  border-color: var(--page-line);
  background: rgba(255, 255, 255, 0.35);
}

html[data-theme="light"] .jc-empty strong {
  color: var(--page-ink);
}

html[data-theme="light"] .jc-empty p {
  color: var(--page-muted);
}

@media (max-width: 980px) {
  .jc-match {
    grid-template-columns: 135px minmax(0, 1fr) 190px;
    gap: 15px;
    padding: 13px;
  }

  .jc-match-main {
    grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
    gap: 8px;
  }

  .jc-side strong {
    font-size: 10px;
  }
}

@media (max-width: 760px) {
  .jc-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .jc-dates {
    width: 100%;
  }

  .jc-actions {
    width: 100%;
    justify-content: space-between;
  }

  .jc-summary {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 11px 18px;
  }

  .jc-summary > p {
    flex: 0 0 100%;
    margin-left: 0;
  }

  .jc-match {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px;
  }

  .jc-match-top {
    justify-content: space-between;
  }

  .jc-kickoff {
    margin-left: 0;
  }

  .jc-match-main {
    grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
  }

  .jc-odds {
    max-width: 230px;
    margin-left: auto;
  }

  .jc-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .jc-feature-meta {
    margin-top: 17px;
  }
}

/* ---------- Day theme ---------- */

html[data-theme="light"] {
  --page-bg: #f2ecdf;
  --page-ink: #0b1526;
  --page-muted: #586476;
  --page-muted-2: #778194;
  --page-line: rgba(11, 21, 38, 0.13);
  --page-gold: #8a6114;
  color-scheme: light;
}

html[data-theme="light"] body {
  background: var(--page-bg);
  color: var(--page-ink);
}

html[data-theme="light"] body::after {
  opacity: 0.018;
  mix-blend-mode: multiply;
}

html[data-theme="light"] .site-header {
  background: rgba(242, 236, 223, 0.82);
  border-bottom-color: transparent;
}

html[data-theme="light"] .site-header.is-scrolled {
  background: rgba(247, 242, 233, 0.94);
  border-bottom-color: var(--page-line);
  box-shadow: 0 16px 44px rgba(11, 21, 38, 0.08);
}

html[data-theme="light"] .brand-type strong {
  color: var(--page-ink);
}

html[data-theme="light"] .brand-type sup {
  color: var(--page-gold);
}

html[data-theme="light"] .brand-type small {
  color: var(--page-muted-2);
}

html[data-theme="light"] .nav-link {
  color: #687487;
}

html[data-theme="light"] .nav-link::after {
  background: var(--page-gold);
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.is-active {
  color: var(--page-ink);
}

html[data-theme="light"] .theme-toggle {
  border-color: var(--page-line);
  background: rgba(255, 255, 255, 0.35);
  color: var(--page-ink);
}

html[data-theme="light"] .theme-toggle:hover {
  border-color: rgba(138, 97, 20, 0.42);
  background: rgba(255, 255, 255, 0.6);
  color: var(--page-gold);
}

html[data-theme="light"] .menu-toggle {
  border-color: var(--page-line);
}

html[data-theme="light"] .menu-toggle span {
  background: var(--page-ink);
}

@media (max-width: 860px) {
  html[data-theme="light"] .main-nav {
    border-color: var(--page-line);
    background: rgba(248, 243, 234, 0.98);
    box-shadow: 0 24px 60px rgba(11, 21, 38, 0.16);
  }

  html[data-theme="light"] .main-nav .nav-link {
    border-bottom-color: rgba(11, 21, 38, 0.08);
  }
}

html[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse 50% 46% at 79% 36%, rgba(197, 154, 63, 0.16), transparent 62%),
    radial-gradient(ellipse 40% 52% at 9% 18%, rgba(56, 99, 170, 0.09), transparent 62%),
    var(--page-bg);
  border-bottom-color: var(--page-line);
}

html[data-theme="light"] .hero::before {
  background-image:
    linear-gradient(rgba(11, 21, 38, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 21, 38, 0.05) 1px, transparent 1px);
  opacity: 0.6;
}

html[data-theme="light"] .hero-lines {
  color: rgba(138, 97, 20, 0.23);
}

html[data-theme="light"] .hero-watermark {
  -webkit-text-stroke-color: rgba(11, 21, 38, 0.07);
}

html[data-theme="light"] .eyebrow {
  color: var(--page-gold);
}

html[data-theme="light"] .eyebrow-line {
  background: var(--page-gold);
}

html[data-theme="light"] .hero-title {
  color: var(--page-ink);
}

html[data-theme="light"] .hero-title .accent {
  color: var(--page-gold);
  text-shadow: none;
}

html[data-theme="light"] .title-dot {
  background: var(--page-gold);
  box-shadow: none;
}

html[data-theme="light"] .hero-lead {
  color: #596477;
}

html[data-theme="light"] .hero-meta {
  border-top-color: var(--page-line);
}

html[data-theme="light"] .hero-meta small,
html[data-theme="light"] .side-label {
  color: var(--page-muted-2);
}

html[data-theme="light"] .hero-meta strong {
  color: var(--page-ink);
}

html[data-theme="light"] .side-label span:first-child {
  color: #5b6678;
}

html[data-theme="light"] .side-label span:last-child::before {
  background: #a79a82;
}

html[data-theme="light"] .hero-actions .btn-ghost {
  border-color: var(--page-line);
  background: rgba(255, 255, 255, 0.32);
  color: var(--page-ink);
}

html[data-theme="light"] .hero-actions .btn-ghost:hover {
  border-color: rgba(11, 21, 38, 0.32);
  background: rgba(255, 255, 255, 0.62);
}

html[data-theme="light"] .hero-actions .play-badge {
  border-color: rgba(11, 21, 38, 0.25);
}

html[data-theme="light"] .scroll-cue {
  color: var(--page-muted-2);
}

html[data-theme="light"] .scroll-cue:hover {
  color: var(--page-gold);
}

html[data-theme="light"] .scroll-line {
  background: var(--page-line);
}

html[data-theme="light"] .scroll-line i {
  background: var(--page-gold);
}

html[data-theme="light"] .fixtures {
  background:
    radial-gradient(ellipse 36% 40% at 0% 35%, rgba(197, 154, 63, 0.09), transparent 70%),
    var(--page-bg);
  border-bottom-color: var(--page-line);
}

html[data-theme="light"] .section-desc {
  color: var(--page-muted);
}

html[data-theme="light"] .fixtures .kicker,
html[data-theme="light"] .standings .kicker,
html[data-theme="light"] .news .kicker {
  color: var(--page-gold);
}

html[data-theme="light"] .fixtures .kicker > span,
html[data-theme="light"] .standings .kicker > span,
html[data-theme="light"] .news .kicker > span {
  background: var(--page-gold);
}

html[data-theme="light"] .fixtures .accent-dot,
html[data-theme="light"] .standings .accent-dot,
html[data-theme="light"] .news .accent-dot {
  color: var(--page-gold);
}

html[data-theme="light"] .fixtures-footer .text-link {
  color: #344157;
}

html[data-theme="light"] .fixtures-footer .text-link:hover {
  color: var(--page-gold);
}

html[data-theme="light"] .standings {
  background:
    radial-gradient(ellipse 42% 36% at 92% 12%, rgba(197, 154, 63, 0.09), transparent 70%),
    #eee7db;
  border-bottom-color: var(--page-line);
}

html[data-theme="light"] .news {
  background: var(--page-bg);
  border-top-color: var(--page-line);
}

html[data-theme="light"] .light-section {
  border-top: 1px solid var(--page-line);
  border-bottom: 1px solid var(--page-line);
  background:
    radial-gradient(ellipse 40% 34% at 88% 8%, rgba(188, 144, 56, 0.14), transparent 66%),
    var(--cream);
}

html[data-theme="light"] .ticket-cta {
  border-bottom: 1px solid rgba(11, 21, 38, 0.1);
}

html[data-theme="light"] .site-footer,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .filter-panel,
html[data-theme="light"] .match-list,
html[data-theme="light"] .match-empty,
html[data-theme="light"] .table-card,
html[data-theme="light"] .news-card,
html[data-theme="light"] .article-dialog,
html[data-theme="light"] .match-dialog {
  color: var(--ink);
}

html[data-theme="light"] .news-card {
  border-color: rgba(242, 238, 228, 0.13);
}

html[data-theme="light"] .site-footer .brand-type strong {
  color: var(--ink);
}

html[data-theme="light"] .site-footer .brand-type small {
  color: var(--muted-2);
}

html[data-theme="light"] .feature-card .status-chip,
html[data-theme="light"] .match-live-label,
html[data-theme="light"] .table-foot a:hover,
html[data-theme="light"] .news-card .news-meta span:first-child {
  color: var(--gold);
}

html[data-theme="light"] .toast {
  color: var(--ink);
}

@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;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Publishing and plan CTA ---------- */

.publish-button:hover .btn-arrow {
  transform: rotate(90deg);
}

.footer-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #a1ac9d;
  font: inherit;
  font-size: 11px;
  text-align: left;
  transition: color 0.25s ease;
}

.footer-link:hover {
  color: var(--gold);
}

.plan-cta {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background: var(--gold);
  color: #050912;
}

.plan-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(5, 9, 18, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 9, 18, 0.07) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

.plan-cta .cta-watermark {
  color: transparent;
  -webkit-text-stroke: 1px rgba(5, 9, 18, 0.14);
}

.plan-cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(44px, 7vw, 104px);
}

.plan-cta-copy h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(48px, 5.7vw, 80px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.plan-cta-copy .accent-dot {
  color: #7a5a12;
}

.plan-cta-copy p {
  max-width: 470px;
  margin-top: 20px;
  color: rgba(5, 9, 18, 0.62);
  font-size: 12px;
  line-height: 1.9;
}

.plan-cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.btn-ink {
  background: #050912;
  color: var(--gold);
  box-shadow: 0 12px 30px rgba(5, 9, 18, 0.16);
}

.btn-ink:hover {
  background: #0c1a2d;
  color: var(--gold-soft);
}

.btn-ink .btn-arrow {
  background: var(--gold);
  color: #050912;
}

.btn-ink:hover .btn-arrow {
  transform: rotate(90deg);
}

.btn-outline-ink {
  padding-right: 22px;
  border-color: rgba(5, 9, 18, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: #050912;
}

.btn-outline-ink:hover {
  border-color: rgba(5, 9, 18, 0.45);
  background: rgba(255, 255, 255, 0.25);
}

.btn-outline-ink svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.btn-outline-ink:hover svg {
  transform: translateX(4px);
}

.plan-cta-card {
  position: relative;
  overflow: hidden;
  padding: 25px 26px 0;
  border: 1px solid rgba(233, 194, 100, 0.2);
  border-radius: 25px;
  background:
    radial-gradient(circle at 80% 0%, rgba(233, 194, 100, 0.14), transparent 40%),
    #07101d;
  color: var(--ink);
  box-shadow: 0 28px 65px rgba(24, 18, 4, 0.24);
  transform: rotate(1.5deg);
}

.plan-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
}

.plan-cta-card-top,
.plan-cta-match,
.plan-cta-details,
.plan-cta-card-foot {
  position: relative;
  z-index: 1;
}

.plan-cta-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #7f8da1;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.plan-cta-card-top span:last-child {
  color: var(--gold);
}

.plan-cta-match {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.plan-cta-match i {
  color: var(--gold);
  font-family: var(--font);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.plan-cta-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 22px;
  padding: 17px 0;
  border-top: 1px solid rgba(242, 238, 228, 0.1);
  border-bottom: 1px solid rgba(242, 238, 228, 0.1);
}

.plan-cta-details small,
.plan-cta-details strong {
  display: block;
}

.plan-cta-details small {
  color: #6c7a8e;
  font-size: 7px;
  letter-spacing: 0.08em;
}

.plan-cta-details strong {
  margin-top: 5px;
  color: #d8d5cc;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.plan-cta-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -26px;
  padding: 15px 26px;
  background: rgba(233, 194, 100, 0.06);
  color: #b7c0cb;
  font-size: 8px;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease;
}

.plan-cta-card-foot:hover {
  background: rgba(233, 194, 100, 0.12);
  color: var(--gold);
}

.plan-cta-card-foot span:last-child {
  color: var(--gold);
  font-size: 15px;
}

/* Publish dialog */

.publish-dialog {
  width: min(660px, calc(100% - 40px));
  max-height: min(92vh, 880px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(233, 194, 100, 0.24);
  border-radius: 26px;
  background: #0b1524;
  color: var(--ink);
  box-shadow: 0 46px 120px rgba(0, 0, 0, 0.62);
  scrollbar-width: thin;
  scrollbar-color: #344259 transparent;
}

.publish-dialog::backdrop {
  background: rgba(2, 5, 13, 0.82);
  backdrop-filter: blur(8px);
}

.publish-dialog[open] {
  animation: dialogIn 0.35s var(--ease);
}

.publish-dialog-close {
  top: 18px;
  right: 18px;
}

.publish-dialog-head {
  position: relative;
  overflow: hidden;
  padding: 28px 30px 22px;
  border-bottom: 1px solid rgba(242, 238, 228, 0.1);
  background:
    radial-gradient(circle at 82% 0%, rgba(233, 194, 100, 0.16), transparent 42%),
    linear-gradient(145deg, #14243a, #0a1321);
}

.publish-dialog-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(120deg, #000, transparent 72%);
  pointer-events: none;
}

.publish-kicker {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.publish-dialog-head h2 {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding-right: 36px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.publish-dialog-head h2 span {
  color: var(--gold);
}

.publish-dialog-head p {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin-top: 11px;
  color: #96a2b4;
  font-size: 10px;
  line-height: 1.75;
}

.publish-form {
  padding: 22px 30px 24px;
}

.publish-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.publish-field label {
  color: #aab4c2;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.publish-field label span {
  color: var(--gold);
}

.publish-field input,
.publish-field select,
.publish-field textarea {
  width: 100%;
  border: 1px solid rgba(242, 238, 228, 0.13);
  border-radius: 10px;
  outline: 0;
  background: #07101d;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.publish-field input,
.publish-field select {
  height: 42px;
  padding: 0 12px;
}

.publish-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%238491a5' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 13px;
  cursor: pointer;
}

.publish-field textarea {
  min-height: 84px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.7;
}

.publish-field input::placeholder,
.publish-field textarea::placeholder {
  color: #657286;
}

.publish-field input:focus,
.publish-field select:focus,
.publish-field textarea:focus {
  border-color: rgba(233, 194, 100, 0.55);
  background: #091524;
}

.publish-field input.is-invalid,
.publish-field select.is-invalid {
  border-color: rgba(255, 111, 106, 0.7);
}

.publish-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 12px;
}

.publish-grid .publish-field {
  min-width: 0;
}

.publish-error {
  margin: -2px 0 13px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 111, 106, 0.24);
  border-radius: 8px;
  background: rgba(255, 111, 106, 0.07);
  color: #ff9b97;
  font-size: 9px;
  line-height: 1.6;
}

.publish-error[hidden] {
  display: none;
}

.publish-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
}

.publish-actions .btn {
  height: 46px;
  font-size: 10px;
}

.publish-actions .btn-ghost {
  padding: 0 19px;
}

.publish-note {
  margin-top: 13px;
  color: #667387;
  font-size: 8px;
  line-height: 1.65;
}

@media (max-width: 1020px) {
  .plan-cta-inner {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
    gap: 34px;
  }

  .plan-cta-copy h2 {
    font-size: clamp(48px, 8vw, 68px);
  }

  .plan-cta-card {
    max-width: 500px;
    transform: rotate(0.8deg);
  }
}

@media (max-width: 640px) {
  .publish-button {
    font-size: 0;
    gap: 0;
  }

  .publish-button .btn-arrow {
    margin: 0;
  }

  .publish-button::before {
    content: "发布";
    font-size: 10px;
    margin-right: 4px;
  }

  .plan-cta {
    padding: 68px 0;
  }

  .plan-cta-copy h2 {
    margin-top: 12px;
    font-size: clamp(42px, 12.4vw, 58px);
  }

  .plan-cta-copy p {
    margin-top: 15px;
    font-size: 11px;
  }

  .plan-cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 21px;
  }

  .plan-cta-actions .btn {
    width: 100%;
    height: 48px;
  }

  .plan-cta-card {
    max-width: none;
    padding: 20px 18px 0;
    border-radius: 20px;
    transform: none;
  }

  .plan-cta-match {
    margin-top: 22px;
    font-size: 28px;
  }

  .plan-cta-details {
    margin-top: 18px;
    padding: 13px 0;
  }

  .plan-cta-details strong {
    font-size: 8px;
  }

  .plan-cta-card-foot {
    margin: 0 -18px;
    padding: 13px 18px;
    font-size: 7px;
  }

  .publish-dialog {
    width: calc(100% - 24px);
    max-height: 92vh;
    border-radius: 20px;
  }

  .publish-dialog-close {
    top: 13px;
    right: 13px;
    width: 34px;
    height: 34px;
  }

  .publish-dialog-head {
    padding: 22px 18px 18px;
  }

  .publish-dialog-head h2 {
    margin-top: 11px;
    font-size: 28px;
  }

  .publish-dialog-head p {
    font-size: 9px;
  }

  .publish-form {
    padding: 17px 16px 20px;
  }

  .publish-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .publish-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .publish-actions .btn {
    width: 100%;
  }
}

/* Primary / secondary administrator roles */
html:not([data-admin-role="primary"]) [data-primary-only] {
  display: none !important;
}

.admin-username-wrap {
  position: relative;
  margin-bottom: 12px;
}

.admin-username-wrap input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font: inherit;
  font-size: 10px;
}

.admin-username-wrap input:focus {
  outline: 0;
  border-color: rgba(233, 194, 100, 0.65);
}

.admin-subadmins-block {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.admin-subadmins-list {
  display: grid;
  gap: 6px;
  margin: 10px 0;
}

.admin-subadmin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-subadmin-row strong {
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
}

.admin-subadmin-row span {
  color: var(--muted-2);
  font-size: 7px;
}

.admin-subadmin-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
}

.admin-subadmin-form input {
  min-width: 0;
  height: 34px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font: inherit;
  font-size: 8px;
}

.admin-subadmin-form .btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: 8px;
}

.admin-subadmin-note {
  margin: 9px 0 0;
  color: var(--muted-2);
  font-size: 7px;
  line-height: 1.7;
}

@media (max-width: 620px) {
  .admin-subadmin-form {
    grid-template-columns: 1fr;
  }
}

.admin-subadmin-row > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admin-subadmin-delete {
  padding: 4px 8px;
  border: 1px solid rgba(255, 111, 106, 0.3);
  border-radius: 5px;
  background: transparent;
  color: var(--red);
  font: inherit;
  font-size: 7px;
  white-space: nowrap;
}

.admin-subadmin-delete:hover {
  background: rgba(255, 111, 106, 0.1);
  border-color: rgba(255, 111, 106, 0.6);
}

.admin-subadmin-delete:disabled {
  opacity: 0.4;
}

.admin-change-password {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.admin-change-password .admin-users-head span {
  color: var(--muted-2);
  font-size: 7px;
}

.admin-change-password-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 6px;
  align-items: center;
  margin-top: 9px;
}

.admin-change-password-fields input {
  min-width: 0;
  height: 34px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font: inherit;
  font-size: 8px;
}

.admin-change-password-fields .btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: 8px;
}

@media (max-width: 620px) {
  .admin-change-password-fields {
    grid-template-columns: 1fr;
  }
}


/* Star brand mark */
.brand-mark img,
.matches-brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.admin-users-export {
  margin-left: auto;
  padding: 4px 8px;
  border: 1px solid rgba(233, 194, 100, 0.35);
  border-radius: 5px;
  color: var(--gold);
  font-size: 7px;
  font-weight: 600;
  white-space: nowrap;
}

.admin-users-export:hover {
  background: rgba(233, 194, 100, 0.1);
  border-color: rgba(233, 194, 100, 0.65);
}

html[data-theme="light"] .admin-users-export {
  border-color: rgba(138, 97, 20, 0.3);
  color: var(--page-gold);
}
