/* === variables.css === */
/* chinchin wines fantasy — design tokens */
:root {
  /* breakpoints (for reference in media queries) */
  --bp-mobile: 320px;
  --bp-tablet: 768px;
  --bp-laptop: 1024px;
  --bp-desktop: 1440px;

  /* brand palette — WC 2026 vibes */
  --color-bg-deep: #0a0e1a;
  --color-bg-panel: #111827;
  --color-bg-card: #1a2235;
  --color-bg-elevated: #232d42;
  --color-accent-green: #00e676;
  --color-accent-green-dim: #00c853;
  --color-accent-gold: #ffd54f;
  --color-accent-gold-dark: #f9a825;
  --color-pitch: #1b5e20;
  --color-pitch-light: #2e7d32;
  --color-pitch-stripe: #388e3c;
  --color-text: #f5f7fa;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  --color-border: #2d3a52;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;
  --color-success: #22c55e;
  --color-info: #38bdf8;

  /* typography */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", "Roboto", sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-hero: clamp(2rem, 5vw, 3.5rem);
  --line-height-tight: 1.2;
  --line-height-base: 1.6;

  /* spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-section: clamp(3rem, 8vw, 6rem);

  /* layout */
  --container-max: 1280px;
  --header-height: 64px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* shadows & transitions */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* z-index layers */
  --z-ticker: 90;
  --z-header: 100;
  --z-mobile-menu: 110;
  --z-modal: 200;
  --z-toast: 250;
  --z-cookie: 300;
}

/* === fonts.css === */
/* self-hosted fonts — no external requests in prod */
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* === base.css === */
/* reset + base — keep it boring on purpose */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-green);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus-visible {
  color: var(--color-accent-gold);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent-green);
  outline-offset: 2px;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: var(--line-height-tight);
  font-weight: 700;
}

h1 {
  font-size: var(--font-size-hero);
}
h2 {
  font-size: var(--font-size-2xl);
}
h3 {
  font-size: var(--font-size-xl);
}
h4 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-xl);
  }
}

.section {
  padding-block: var(--space-section);
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.hero,
.page-hero {
  content-visibility: visible;
}

.section__header {
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.section__title {
  margin-bottom: var(--space-sm);
}

.section__subtitle {
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* scroll reveal — toggled by JS */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === components.css === */
/* shared UI components */

/* --- live ticker --- */
.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-ticker);
  background: var(--color-bg-panel);
  border-bottom: 1px solid var(--color-border);
  height: 32px;
  overflow: hidden;
}

.ticker__track {
  display: flex;
  gap: var(--space-2xl);
  animation: ticker-scroll 80s linear infinite;
  white-space: nowrap;
  padding: var(--space-xs) 0;
}

.ticker__item {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.ticker__score {
  color: var(--color-accent-green);
  font-weight: 700;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  .site-header {
    background: var(--color-bg-deep);
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- header --- */
.site-header {
  position: sticky;
  top: 32px;
  z-index: var(--z-header);
  background: rgba(10, 14, 26, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-md);
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-size-sm);
}

.site-header__logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(
    135deg,
    var(--color-accent-green),
    var(--color-accent-gold)
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  color: var(--color-bg-deep);
}

.site-header__nav {
  display: none;
}

.site-header__nav-list {
  display: flex;
  gap: var(--space-lg);
}

.site-header__nav-link {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.site-header__nav-link:hover,
.site-header__nav-link--active {
  color: var(--color-accent-green);
}

.site-header__nav-num {
  color: var(--color-text-dim);
  margin-right: var(--space-xs);
}

/* hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition:
    transform var(--transition-base),
    opacity var(--transition-base);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .site-header__nav {
    display: block;
  }
  .menu-toggle {
    display: none;
  }
}

/* mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-mobile-menu);
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-menu.is-open .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--color-bg-panel);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  padding: var(--space-2xl) var(--space-lg);
  overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--font-size-lg);
  cursor: pointer;
}

.mobile-menu__list {
  margin-top: var(--space-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-menu__link {
  display: block;
  padding: var(--space-md);
  color: var(--color-text);
  font-size: var(--font-size-md);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
  background: var(--color-bg-card);
  color: var(--color-accent-green);
}

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-size-sm);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-accent-green);
  color: var(--color-bg-deep);
}

.btn--primary:hover {
  background: var(--color-accent-green-dim);
  box-shadow: 0 4px 16px rgba(0, 230, 118, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
}

.btn--gold {
  background: var(--color-accent-gold);
  color: var(--color-bg-deep);
}

.btn--gold:hover {
  background: var(--color-accent-gold-dark);
}

.btn:disabled,
.btn--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* --- cards --- */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
}

.card__title {
  margin-bottom: var(--space-sm);
}

.card__text {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

/* placeholder image block — no background-image allowed */
.img-placeholder {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-md);
}

.img-placeholder__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-placeholder--hero {
  aspect-ratio: 16 / 9;
}

.img-placeholder--square {
  aspect-ratio: 1;
}

.img-placeholder--wide {
  aspect-ratio: 21 / 9;
}

/* --- hero --- */
.hero {
  position: relative;
  padding-block: var(--space-3xl);
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--color-bg-deep) 90%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__title {
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  color: var(--color-text-muted);
  font-size: var(--font-size-md);
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* --- stats counter --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.stat-card__value {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  color: var(--color-accent-gold);
  display: block;
}

.stat-card__label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* --- footer --- */
.site-footer {
  background: var(--color-bg-panel);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-3xl) var(--space-xl);
  margin-top: var(--space-section);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer__brand {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
}

.site-footer__text {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.site-footer__heading {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-md);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.site-footer__link {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.site-footer__link:hover {
  color: var(--color-accent-green);
}

.site-footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.site-footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  border: 1px solid var(--color-border);
}

.site-footer__bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: var(--font-size-xs);
  color: var(--color-text-dim);
}

/* newsletter form */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.newsletter-form__input {
  padding: 0.75rem var(--space-md);
  background: var(--color-bg-deep);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  min-height: 44px;
}

.newsletter-form__input::placeholder {
  color: var(--color-text-dim);
}

/* --- modal --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base);
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform var(--transition-base);
}

.modal.is-open .modal__dialog {
  transform: scale(1);
}

.modal__title {
  margin-bottom: var(--space-md);
}

.modal__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.modal__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  cursor: pointer;
  font-size: var(--font-size-lg);
}

/* --- toast --- */
.toast-container {
  position: fixed;
  bottom: 100px;
  right: var(--space-md);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  box-shadow: var(--shadow-md);
  animation: toast-in 0.3s ease;
  max-width: 320px;
}

.toast--success {
  border-left: 4px solid var(--color-success);
}
.toast--error {
  border-left: 4px solid var(--color-danger);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- cookie banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-cookie);
  background: var(--color-bg-panel);
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) var(--space-lg);
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform var(--transition-slow),
    opacity var(--transition-slow);
  box-shadow: var(--shadow-lg);
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-banner__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  flex: 1;
}

.cookie-banner__text a {
  color: var(--color-accent-green);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* --- accordion (faq) --- */
.accordion__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-card);
  border: none;
  color: var(--color-text);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
}

.accordion__trigger:hover {
  background: var(--color-bg-elevated);
}

.accordion__icon {
  font-size: var(--font-size-lg);
  transition: transform var(--transition-fast);
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.accordion__content {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

/* tabs */
.tabs__list {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  overflow-x: auto;
  padding-bottom: var(--space-xs);
}

.tabs__btn {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
}

.tabs__btn--active {
  background: var(--color-accent-green);
  color: var(--color-bg-deep);
  border-color: var(--color-accent-green);
}

.tabs__panel {
  display: none;
}

.tabs__panel--active {
  display: block;
}

/* mini league table */
.league-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.league-table th,
.league-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.league-table th {
  color: var(--color-text-dim);
  font-weight: 600;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
}

.league-table tr:hover td {
  background: var(--color-bg-elevated);
}

.league-table__pos {
  color: var(--color-accent-gold);
  font-weight: 700;
}

/* fixture list */
.fixture-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-size-sm);
}

.fixture-list__teams {
  font-weight: 600;
}

.fixture-list__time {
  color: var(--color-text-dim);
  font-size: var(--font-size-xs);
}

/* star rating */
.stars {
  color: var(--color-accent-gold);
  letter-spacing: 2px;
}

/* page-body — no extra offset, ticker + sticky header handle spacing */

/* === pages.css === */
/* page-specific layouts */

/* grid helpers */
.grid-2 {
  display: grid;
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3--4col {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* how it works steps */
.steps {
  display: grid;
  gap: var(--space-lg);
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin: 0 auto var(--space-md);
  background: var(--color-accent-green);
  color: var(--color-bg-deep);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
}

.step-card__arrow {
  display: none;
}

@media (min-width: 768px) {
  .step-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent-green);
    font-size: var(--font-size-xl);
    z-index: 1;
  }
}

/* virtual tour CTA */
.cta-block {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block__img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-block__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}

.cta-block__content {
  position: relative;
  z-index: 1;
}

/* league focus split */
.league-focus {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .league-focus {
    grid-template-columns: 1fr 1fr;
  }
}

/* about page */
.about-split {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .about-split {
    grid-template-columns: 1fr 1fr;
  }
}

.values-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* news grid */
.news-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .news-card--featured {
    grid-row: span 2;
  }
}

.news-card__meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-dim);
  margin-bottom: var(--space-sm);
}

/* reviews */
.review-card {
  padding: var(--space-xl);
}

.review-card__quote {
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-md);
}

.review-card__author {
  font-weight: 700;
  font-size: var(--font-size-sm);
}

/* contact form */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group__label {
  display: block;
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.form-group__input,
.form-group__textarea,
.form-group__select {
  width: 100%;
  padding: 0.75rem var(--space-md);
  background: var(--color-bg-deep);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--font-size-base);
  min-height: 44px;
}

.form-group__textarea {
  min-height: 140px;
  resize: vertical;
}

/* player cards */
.player-card {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-fast);
}

.player-card:hover {
  transform: translateY(-2px);
}

.player-card__photo {
  width: 64px;
  background: #f1f3f3;
  height: 64px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--color-accent-green);
}

.player-card__info {
  flex: 1;
}

.player-card__name {
  font-weight: 700;
  font-size: var(--font-size-base);
}

.player-card__club {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.player-card__rating {
  background: var(--color-accent-gold);
  color: var(--color-bg-deep);
  font-weight: 700;
  font-size: var(--font-size-sm);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
}

.player-card__form {
  font-size: var(--font-size-xs);
  color: var(--color-text-dim);
  letter-spacing: 1px;
}

/* player comparison */
.comparison {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .comparison {
    grid-template-columns: 1fr 1fr;
  }
}

.comparison__bar-group {
  margin-bottom: var(--space-md);
}

.comparison__label {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-xs);
}

.comparison__bar {
  height: 8px;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.comparison__fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

.comparison__fill--a {
  background: var(--color-accent-green);
}
.comparison__fill--b {
  background: var(--color-info);
}

/* tactics field */
.tactics-field {
  position: relative;
  aspect-ratio: 105 / 68;
  background: linear-gradient(
    180deg,
    var(--color-pitch-light) 0%,
    var(--color-pitch) 100%
  );
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.tactics-field__dot {
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--color-accent-green);
  border: 2px solid #fff;
  border-radius: var(--radius-full);
  transform: translate(-50%, 50%);
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-bg-deep);
}

/* coach cards */
.coach-card__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

/* stadium cards */
.stadium-card__img-wrap {
  aspect-ratio: 16 / 10;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* leaderboard */
.leaderboard-row--gold td:first-child {
  color: var(--color-accent-gold);
}

.leaderboard-row--silver td:first-child {
  color: #c0c0c0;
}

.leaderboard-row--bronze td:first-child {
  color: #cd7f32;
}

/* legal pages */
.legal-content {
  max-width: 800px;
  margin-inline: auto;
}

.legal-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-content ul {
  list-style: disc;
}
.legal-content ol {
  list-style: decimal;
}

/* article page */
.article-header {
  margin-bottom: var(--space-2xl);
}

.article-meta {
  color: var(--color-text-dim);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-md);
}

.article-body p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

/* filter bar for teams */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.filter-bar__btn {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  cursor: pointer;
  min-height: 44px;
}

.filter-bar__btn--active {
  background: var(--color-accent-green);
  color: var(--color-bg-deep);
  border-color: var(--color-accent-green);
}

/* top players grid */
.top-player-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.top-player-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.top-player-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-elevated);
}

.top-player-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-player-card__rating {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: var(--color-accent-gold);
  color: var(--color-bg-deep);
  font-weight: 700;
  font-size: var(--font-size-sm);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
}

.top-player-card__body {
  padding: var(--space-lg);
}

.top-player-card__name {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xs);
}

.top-player-card__meta {
  font-size: var(--font-size-sm);
  color: var(--color-text-dim);
  margin-bottom: var(--space-md);
}

.top-player-card__stats {
  font-size: var(--font-size-sm);
  color: var(--color-accent-green);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.top-player-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* manager profiles on homepage */
.manager-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.manager-card__header {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.manager-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--color-accent-green);
  flex-shrink: 0;
}

.manager-card__name {
  font-size: var(--font-size-lg);
}

.manager-card__nation {
  font-size: var(--font-size-sm);
  color: var(--color-text-dim);
}

.manager-card__formation {
  display: inline-block;
  background: var(--color-bg-elevated);
  color: var(--color-accent-green);
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  margin-top: var(--space-xs);
}

.manager-card__pros,
.manager-card__cons {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.manager-card__pros strong {
  color: var(--color-success);
}
.manager-card__cons strong {
  color: var(--color-warning);
}

/* home squad builder embed */
.squad-embed {
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-2xl);
}

.squad-embed__title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

/* page hero (inner pages) */
.page-hero {
  padding-block: var(--space-2xl);
  background: var(--color-bg-panel);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-2xl);
}

.page-hero__title {
  font-size: var(--font-size-2xl);
}

.page-hero__desc {
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

/* === squad-builder.css === */
/* squad builder — the main event */

.squad-builder {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 1024px) {
  .squad-builder {
    grid-template-columns: 60% 40%;
    align-items: start;
  }
}

/* --- pitch area --- */
.squad-builder__pitch-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.formation-tabs {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding-bottom: var(--space-xs);
}

.formation-tabs__btn {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

.formation-tabs__btn--active {
  background: var(--color-accent-green);
  color: var(--color-bg-deep);
  border-color: var(--color-accent-green);
}

.pitch {
  position: relative;
  width: 100%;
  aspect-ratio: 105 / 68;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.5);
  background: repeating-linear-gradient(
    0deg,
    var(--color-pitch-light) 0px,
    var(--color-pitch-light) 40px,
    var(--color-pitch-stripe) 40px,
    var(--color-pitch-stripe) 80px
  );
}

/* pitch markings via pseudo elements */
.pitch__markings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pitch__center-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.6);
  transform: translateX(-50%);
}

.pitch__center-circle {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 18%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transform: translate(-50%, 50%);
}

.pitch__box {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.pitch__box--top {
  left: 25%;
  bottom: 0;
  width: 50%;
  height: 18%;
}

.pitch__box--bottom {
  left: 25%;
  top: 0;
  width: 50%;
  height: 18%;
}

.pitch__goal--top {
  position: absolute;
  left: 40%;
  bottom: 0;
  width: 20%;
  height: 6%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: none;
}

.pitch__goal--bottom {
  position: absolute;
  left: 40%;
  top: 0;
  width: 20%;
  height: 6%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-top: none;
}

/* player slots */
.pitch__slots {
  position: absolute;
  inset: 0;
}

.pitch-slot {
  position: absolute;
  width: 60px;
  height: 60px;
  transform: translate(-50%, 50%);
  cursor: pointer;
  transition:
    left 0.4s ease,
    bottom 0.4s ease;
  z-index: 2;
}

@media (max-width: 767px) {
  .pitch-slot {
    width: 40px;
    height: 40px;
  }
}

.pitch-slot--empty {
  border: 2px dashed rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
}

.pitch-slot--empty .pitch-slot__label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.pitch-slot--filled {
  animation: slot-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pitch-slot--filled .pitch-slot__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent-green);
}

.pitch-slot__info {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
  font-size: 9px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.pitch-slot__name {
  font-weight: 700;
  display: block;
}

.pitch-slot__price {
  color: var(--color-accent-gold);
}

.pitch-slot__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-accent-gold);
  color: var(--color-bg-deep);
  font-size: 9px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pitch-slot__remove {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 18px;
  height: 18px;
  background: var(--color-danger);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.pitch-slot--filled:hover .pitch-slot__remove {
  display: flex;
}

.pitch-slot--shake {
  animation: slot-shake 0.4s ease;
}

@keyframes slot-pop {
  0% {
    transform: translate(-50%, 50%) scale(0);
  }
  100% {
    transform: translate(-50%, 50%) scale(1);
  }
}

@keyframes slot-shake {
  0%,
  100% {
    transform: translate(-50%, 50%) translateX(0);
  }
  25% {
    transform: translate(-50%, 50%) translateX(-6px);
  }
  75% {
    transform: translate(-50%, 50%) translateX(6px);
  }
}

/* --- control panel --- */
.squad-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-height: none;
}

@media (min-width: 1024px) {
  .squad-panel {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}

.squad-panel__budget {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

@media (max-width: 767px) {
  .squad-panel__budget {
    position: sticky;
    top: calc(32px + var(--header-height));
    z-index: 5;
  }
}

.squad-panel__budget-label {
  font-size: var(--font-size-xs);
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.squad-panel__budget-value {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  color: var(--color-accent-green);
  transition: color 0.3s ease;
}

.squad-panel__budget-bar {
  height: 6px;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-full);
  margin-top: var(--space-sm);
  overflow: hidden;
}

.squad-panel__budget-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition:
    width 0.4s ease,
    background 0.3s ease;
  background: var(--color-success);
}

.squad-panel__budget-fill--warn {
  background: var(--color-warning);
}
.squad-panel__budget-fill--danger {
  background: var(--color-danger);
}

.squad-panel__chemistry {
  margin-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-sm);
}

.squad-panel__chemistry-value {
  font-weight: 700;
}

.squad-panel__chemistry--low {
  color: var(--color-danger);
}
.squad-panel__chemistry--medium {
  color: var(--color-warning);
}
.squad-panel__chemistry--high {
  color: var(--color-success);
}
.squad-panel__chemistry--perfect {
  color: var(--color-accent-gold);
}

.squad-panel__formation-select {
  width: 100%;
  padding: 0.75rem var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  min-height: 44px;
}

.squad-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.squad-panel__actions .btn {
  flex: 1;
  min-width: 120px;
}

/* position filter tabs */
.pos-filter {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
}

.pos-filter__btn {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
}

.pos-filter__btn--active {
  background: var(--color-accent-green);
  color: var(--color-bg-deep);
  border-color: var(--color-accent-green);
}

/* player list */
.player-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-height: 400px;
  overflow-y: auto;
  padding-right: var(--space-xs);
}

@media (min-width: 1024px) {
  .player-list {
    max-height: 360px;
  }
}

.player-list__card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  animation: card-fade-in 0.3s ease;
}

.player-list__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.player-list__card--in-squad {
  opacity: 0.45;
}

.player-list__card--hidden {
  display: none;
}

@keyframes card-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.player-list__avatar {
  width: 44px;
  height: 44px;
  background: #f1f3f3;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
}

.player-list__details {
  flex: 1;
  min-width: 0;
}

.player-list__name {
  font-weight: 700;
  font-size: var(--font-size-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-list__club {
  font-size: var(--font-size-xs);
  color: var(--color-text-dim);
}

.player-list__meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.player-list__meta--over-budget {
  color: var(--color-danger);
}

.player-list__rating {
  background: var(--color-bg-elevated);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent-gold);
}

.player-list__add {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent-green);
  color: var(--color-bg-deep);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: 700;
  cursor: pointer;
  min-height: 36px;
  min-width: 44px;
  flex-shrink: 0;
}

.player-list__add:disabled {
  background: var(--color-bg-elevated);
  color: var(--color-text-dim);
  cursor: not-allowed;
}

.player-list__badge {
  font-size: var(--font-size-xs);
  color: var(--color-text-dim);
  padding: var(--space-xs) var(--space-sm);
}

.squad-panel__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: transparent;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  cursor: pointer;
  min-height: 44px;
}

.squad-panel__clear:hover {
  border-color: var(--color-danger);
  color: var(--color-danger);
}

/* player picker modal list */
.picker-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-height: 50vh;
  overflow-y: auto;
}

.picker-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.picker-list__item:hover {
  background: var(--color-bg-elevated);
  border-color: var(--color-accent-green);
}

.picker-list__item--disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* confetti canvas */
.confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: calc(var(--z-modal) + 1);
}

/* confirm modal stats */
.confirm-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.confirm-stats__item {
  text-align: center;
  padding: var(--space-md);
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
}

.confirm-stats__value {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--color-accent-gold);
}

.confirm-stats__label {
  font-size: var(--font-size-xs);
  color: var(--color-text-dim);
}
