/* SportProgress — Recreo Soleado
   Fredoka (display) + Nunito Sans (text) */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Fredoka';
  src: url('/assets/fonts/Fredoka-var.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('/assets/fonts/NunitoSans-var.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-style: normal;
  font-display: optional;
}

/* ---------- Tokens ---------- */
:root {
  --cream: #FFF8EE;
  --cream-2: #FDEFDC;
  --ink: #2A2018;
  --ink-soft: #5E5346;
  --orange: #FF6B2C;
  --orange-d: #E4551A;
  --teal: #0E6E67;
  --teal-d: #0A544E;
  --teal-l: #E4F1EF;
  --sun: #FFC93C;
  --sun-d: #F0B41E;
  --white: #FFFFFF;
  --line: #EBDECB;
  --card: #FFFFFF;
  --ok: #1E9E5A;
  --shadow-sm: 0 2px 8px rgba(42,32,24,.06);
  --shadow: 0 12px 32px -12px rgba(42,32,24,.18);
  --shadow-lg: 0 24px 60px -20px rgba(42,32,24,.30);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --r-pill: 999px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ff-display: 'Fredoka', system-ui, sans-serif;
  --ff-text: 'Nunito Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.34, 1.56, .64, 1);
  --ease-smooth: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--ff-text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.08;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
  letter-spacing: -.01em;
}
p { overflow-wrap: break-word; word-break: break-word; }
a {
  color: var(--teal);
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: break-word;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.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;
}

/* Disable tap/selection on UI */
.btn, .nav a, .chip, .burger, .tab, .pill, .icon-btn, .swatch, [role="button"] {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section__head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 56ch; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display); font-weight: 600; font-size: 14px;
  color: var(--teal); text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 12px;
}
.section__title { font-size: clamp(1.7rem, 4vw, 2.9rem); }
.section__sub { margin-top: 14px; color: var(--ink-soft); font-size: 1.05rem; }

.h1 { font-size: clamp(2.1rem, 6vw, 4rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-display); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--r-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease-smooth), background .2s;
  white-space: nowrap; text-align: center; line-height: 1.1;
}
.btn svg { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
.btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 10px 24px -8px rgba(255,107,44,.6); }
.btn--primary:hover { background: var(--orange-d); transform: translateY(-3px); box-shadow: 0 16px 30px -8px rgba(255,107,44,.7); }
.btn--teal { background: var(--teal); color: var(--white); box-shadow: 0 10px 24px -8px rgba(14,110,103,.5); }
.btn--teal:hover { background: var(--teal-d); transform: translateY(-3px); }
.btn--ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--teal); color: var(--teal); transform: translateY(-3px); }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 10px 24px -8px rgba(255,201,60,.7); }
.btn--sun:hover { background: var(--sun-d); transform: translateY(-3px); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn[disabled]:hover { transform: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,248,238,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 74px; padding-block: 10px;
}
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--ff-display); font-weight: 700; font-size: 1.32rem; color: var(--ink); }
.logo__mark { width: 40px; height: 40px; flex: 0 0 auto; }
.logo span { color: var(--teal); }
.logo b { color: var(--orange); }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  display: inline-block; padding: 9px 14px; border-radius: var(--r-pill);
  font-family: var(--ff-display); font-weight: 500; font-size: 1rem; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav a:not(.btn):hover { background: var(--teal-l); color: var(--teal); }
.nav a.is-active:not(.btn) { color: var(--teal); }
.nav a.nav__cta { /* Escuelas — highlighted */
  background: var(--sun); color: var(--ink);
}
.nav a.nav__cta:hover { background: var(--sun-d); }
.header__actions { display: flex; align-items: center; gap: 12px; }

/* Burger */
.burger {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  align-items: center; justify-content: center; background: var(--white);
  box-shadow: var(--shadow-sm); flex: 0 0 auto; margin-left: auto;
}
.burger span { position: relative; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-smooth), opacity .2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-smooth); }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translateY(7px) rotate(45deg); }
.burger.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  position: fixed; inset: 74px 0 auto 0; z-index: 90;
  background: var(--cream); border-bottom: 1px solid var(--line);
  padding: 18px var(--gutter) 26px;
  transform: translateY(calc(-100% - 90px)); visibility: hidden; transition: transform .35s var(--ease-smooth), visibility .35s;
  box-shadow: var(--shadow-lg); max-height: calc(100vh - 74px); overflow-y: auto;
}
.nav-mobile.is-open { transform: translateY(0); visibility: visible; }
.nav-mobile a { display: block; padding: 13px 16px; border-radius: 14px; font-family: var(--ff-display); font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.nav-mobile a:hover, .nav-mobile a.is-active { background: var(--teal-l); color: var(--teal); }
.nav-mobile a.nav__cta { background: var(--sun); margin-top: 6px; }
.nav-mobile__actions { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 1220px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: inline-flex; }
}
@media (min-width: 1221px) {
  .nav-mobile { display: none; }
}

/* ---------- Hero (full-bleed video, height by content) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--teal-d); }
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--teal-d) url('/assets/img/hero-poster.avif') center/cover no-repeat; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(9,74,69,.97) 0%, rgba(9,74,69,.88) 42%, rgba(9,74,69,.78) 72%, rgba(9,74,69,.72) 100%); }
.hero__inner { padding-block: clamp(52px, 9vw, 120px) clamp(96px, 12vw, 150px); }
.hero__box { max-width: 640px; color: var(--white); }
.hero__title { font-size: clamp(2.2rem, 6vw, 4.2rem); color: var(--white); font-weight: 700; }
.hero__title em { color: var(--sun); font-style: normal; }
.hero__sub { margin-top: 20px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.92); max-width: 52ch; }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 26px; }
.hero__stat { color: var(--white); }
.hero__stat b { display: block; font-family: var(--ff-display); font-weight: 700; font-size: 1.8rem; color: var(--sun); line-height: 1; }
.hero__stat span { font-size: .92rem; color: rgba(255,255,255,.82); }

/* Quick search panel — overlaps hero bottom */
.searchbar { position: relative; z-index: 5; margin-top: clamp(-70px, -8vw, -56px); }
.searchbar__card {
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px;
  grid-template-columns: 1fr 1fr 1fr auto; align-items: end;
  border: 1px solid var(--line);
}
.searchbar__geo { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .95rem; color: var(--ink-soft); }
.searchbar__geo svg { width: 18px; height: 18px; color: var(--orange); flex: 0 0 auto; }
.searchbar__geo b { color: var(--ink); font-family: var(--ff-display); }
.searchbar__geo button { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label { font-family: var(--ff-display); font-weight: 600; font-size: .86rem; color: var(--ink-soft); }

/* ---------- Custom select ---------- */
.cselect { position: relative; }
.cselect__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 16px; border-radius: 14px; background: var(--cream); border: 2px solid var(--line);
  font-family: var(--ff-text); font-weight: 600; color: var(--ink); text-align: left;
  transition: border-color .2s; min-width: 0;
}
.cselect__trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect__trigger:hover { border-color: var(--teal); }
.cselect__trigger svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--ink-soft); transition: transform .25s; }
.cselect.is-open .cselect__trigger { border-color: var(--teal); }
.cselect.is-open .cselect__trigger svg { transform: rotate(180deg); }
.cselect__panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 6px; max-height: 262px; overflow-y: auto; opacity: 0; transform: translateY(-8px);
  visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.cselect.is-open .cselect__panel { opacity: 1; transform: translateY(0); visibility: visible; }
.cselect__opt { padding: 11px 14px; border-radius: 10px; cursor: pointer; font-weight: 600; transition: background .15s; }
.cselect__opt:hover, .cselect__opt.is-sel { background: var(--teal-l); color: var(--teal); }

/* Styled scrollbars (site-wide for scroll containers) */
.cselect__panel, .nav-mobile, .chat__body, .players__list, .modal__body { scrollbar-width: thin; scrollbar-color: var(--orange) var(--cream-2); }
.cselect__panel::-webkit-scrollbar, .nav-mobile::-webkit-scrollbar, .chat__body::-webkit-scrollbar, .players__list::-webkit-scrollbar, .modal__body::-webkit-scrollbar { width: 10px; height: 10px; }
.cselect__panel::-webkit-scrollbar-track, .nav-mobile::-webkit-scrollbar-track, .chat__body::-webkit-scrollbar-track, .players__list::-webkit-scrollbar-track, .modal__body::-webkit-scrollbar-track { background: var(--cream-2); border-radius: 999px; }
.cselect__panel::-webkit-scrollbar-thumb, .nav-mobile::-webkit-scrollbar-thumb, .chat__body::-webkit-scrollbar-thumb, .players__list::-webkit-scrollbar-thumb, .modal__body::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 999px; border: 2px solid var(--cream-2); }

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
@media (max-width: 820px) {
  .searchbar__card { grid-template-columns: 1fr 1fr; }
  .searchbar__card .field--submit { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .searchbar__card { grid-template-columns: 1fr; }
  .hero__stats { gap: 18px; }
}

/* ---------- Sports icon grid (home) ---------- */
.sportgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sportgrid__item {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 22px 12px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .2s;
  color: var(--ink);
}
.sportgrid__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sun); }
.sportgrid__ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-l); transition: background .3s, transform .4s var(--ease); }
.sportgrid__ic svg { width: 30px; height: 30px; color: var(--teal); }
.sportgrid__item:hover .sportgrid__ic { background: var(--sun); transform: scale(1.08); }
.sportgrid__item:hover .sportgrid__ic svg { color: var(--ink); }
.sportgrid__item span { font-family: var(--ff-display); font-weight: 600; font-size: .96rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(18px, 2.5vw, 26px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- School card ---------- */
.scard {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--r);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s; min-width: 0;
}
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.scard__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--teal-l); }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-smooth); }
.scard:hover .scard__media img { transform: scale(1.06); }
.scard__badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.94); border-radius: var(--r-pill); padding: 6px 12px; font-family: var(--ff-display); font-weight: 600; font-size: .82rem; box-shadow: var(--shadow-sm); }
.scard__badge svg { width: 14px; height: 14px; color: var(--sun-d); }
.scard__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.scard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.scard__name { font-size: 1.22rem; }
.scard__rating { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-family: var(--ff-display); flex: 0 0 auto; }
.scard__rating svg { width: 16px; height: 16px; color: var(--sun-d); }
.scard__rating small { color: var(--ink-soft); font-weight: 400; }
.scard__desc { color: var(--ink-soft); font-size: .96rem; }
.scard__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.tag { display: inline-flex; align-items: center; gap: 5px; background: var(--teal-l); color: var(--teal-d); border-radius: var(--r-pill); padding: 5px 11px; font-size: .82rem; font-weight: 700; }
.tag--age { background: var(--cream-2); color: var(--ink-soft); }
.scard__next { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ok); font-size: .9rem; }
.scard__next svg { width: 15px; height: 15px; }
.scard__foot { margin-top: auto; padding-top: 6px; }

/* ---------- Why-us ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2.5vw,24px); }
.why__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.why__item:hover { transform: translateY(-5px); }
.why__ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--orange); color: var(--white); margin-bottom: 16px; }
.why__ic svg { width: 26px; height: 26px; }
.why__item:nth-child(2n) .why__ic { background: var(--teal); }
.why__item:nth-child(3n) .why__ic { background: var(--sun); color: var(--ink); }
.why__item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.why__item p { color: var(--ink-soft); font-size: .97rem; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2.5vw,24px); }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.review__stars { display: inline-flex; gap: 2px; }
.review__stars svg { width: 17px; height: 17px; color: var(--sun-d); }
.review__text { font-size: 1rem; color: var(--ink); }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.review__who b { font-family: var(--ff-display); display: block; font-size: .98rem; }
.review__who span { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Photo gallery ---------- */
.photostrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photostrip figure { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1; background: var(--teal-l); }
.photostrip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-smooth); }
.photostrip figure:hover img { transform: scale(1.08); }

/* ---------- Footer «Día de Partido» ticket ---------- */
.footer { background: var(--teal-d); color: rgba(255,255,255,.86); margin-top: clamp(48px,7vw,90px); overflow: clip; }
.ticket { position: relative; display: grid; grid-template-columns: 1fr 300px; background: var(--teal-d); }
.ticket__main { padding: clamp(34px,5vw,60px) clamp(24px,4vw,56px) clamp(34px,5vw,60px) 0; }
.ticket__stub { position: relative; padding: clamp(34px,5vw,60px) clamp(22px,3vw,40px); background: var(--teal); border-left: 3px dashed rgba(255,255,255,.4); }
.ticket__stub::before {
  content: ''; position: absolute; left: -13px; top: 0; bottom: 0; width: 24px;
  background-image: radial-gradient(circle at 0 0, transparent 11px, var(--teal) 12px);
  background-size: 24px 30px; background-position: -12px -15px; background-repeat: repeat-y;
}
.ticket__brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--ff-display); font-weight: 700; font-size: 1.35rem; color: var(--white); margin-bottom: 12px; }
.ticket__brand .logo__mark { width: 38px; height: 38px; }
.ticket__tagline { max-width: 34ch; font-size: .98rem; margin-bottom: 26px; }
.ticket__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ticket__col h2 { color: var(--sun); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; font-family: var(--ff-display); }
.ticket__col a { display: block; padding: 5px 0; color: rgba(255,255,255,.82); font-size: .96rem; transition: color .2s, padding-left .2s; }
.ticket__col a:hover { color: var(--sun); padding-left: 5px; }
.ticket__follow { margin-top: 30px; }
.ticket__follow h2 { color: var(--white); font-family: var(--ff-display); font-size: 1.05rem; margin-bottom: 6px; }
.ticket__follow p { font-size: .9rem; margin-bottom: 14px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: var(--white); transition: background .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--sun); color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.ticket__stub .stub__row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.ticket__stub .stub__label { color: var(--sun); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--ff-display); flex: 0 0 auto; }
.ticket__stub .stub__val { color: var(--white); font-size: .92rem; }
.ticket__stub a.stub__val { text-decoration: underline; text-underline-offset: 2px; }
.ticket__barcode { margin-top: 20px; height: 44px; background: repeating-linear-gradient(90deg, var(--white) 0 2px, transparent 2px 4px, var(--white) 4px 5px, transparent 5px 9px); opacity: .7; border-radius: 4px; }
.footer__base { border-top: 1px solid rgba(255,255,255,.15); padding: 18px var(--gutter); text-align: center; font-size: .85rem; color: rgba(255,255,255,.6); }

@media (max-width: 1100px) {
  .sportgrid { grid-template-columns: repeat(4, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 940px) {
  .grid--3, .why, .reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket__stub { border-left: none; border-top: 3px dashed rgba(255,255,255,.4); }
  .ticket__stub::before { display: none; }
  .photostrip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .sportgrid { grid-template-columns: repeat(3, 1fr); }
  .grid--3, .grid--2, .why, .reviews { grid-template-columns: 1fr; }
  .ticket__nav { grid-template-columns: 1fr 1fr; }
  .photostrip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .sportgrid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Catalog layout ---------- */
.catalog { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px,3vw,36px); align-items: start; }
.filters { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); position: sticky; top: 92px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.filters__head h2 { font-size: 1.2rem; }
.filters__toggle { display: none; }
.filters__body { padding: 8px 20px 20px; }
.fgroup { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fgroup:last-child { border-bottom: none; }
.fgroup > h3 { font-size: .96rem; font-family: var(--ff-display); margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: .94rem; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); flex: 0 0 auto; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check__box svg { width: 12px; height: 12px; color: var(--white); opacity: 0; transition: opacity .15s; }
.check input:checked + .check__box { background: var(--teal); border-color: var(--teal); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { outline: 3px solid var(--teal); outline-offset: 2px; }
.filters__actions { display: flex; gap: 10px; padding-top: 16px; }
.catalog__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.catalog__count { font-family: var(--ff-display); font-weight: 600; }
.catalog__count b { color: var(--orange); }
.catalog__empty { padding: 50px 20px; text-align: center; color: var(--ink-soft); grid-column: 1/-1; }

/* ---------- Detail (school) ---------- */
.dhero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px,3vw,40px); align-items: center; }
.dhero__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/2; box-shadow: var(--shadow); background: var(--teal-l); }
.dhero__media img { width: 100%; height: 100%; object-fit: cover; }
.dhero h1 { font-size: clamp(1.8rem,4vw,3rem); }
.dhero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.dhero__lead { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 22px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pill { display: inline-flex; align-items: center; gap: 7px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 15px; font-weight: 700; font-size: .86rem; box-shadow: var(--shadow-sm); }
.pill svg { width: 15px; height: 15px; color: var(--ok); flex: 0 0 auto; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.4rem,3vw,2rem); margin-top: 1.4em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.2em; }
.prose p, .prose li { color: var(--ink); }
.prose ul { display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* schedule table */
.tablewrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
table.sched { width: 100%; border-collapse: collapse; min-width: 480px; background: var(--white); }
table.sched th, table.sched td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
table.sched thead th { background: var(--teal-l); color: var(--teal-d); font-family: var(--ff-display); font-weight: 600; }
table.sched tbody tr:hover { background: var(--cream); }

/* coaches */
.coach { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); }
.coach img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }
.coach h3 { font-size: 1.12rem; }
.coach__role { color: var(--teal); font-weight: 700; font-size: .88rem; margin-bottom: 4px; }
.coach__loves { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--orange); font-weight: 700; margin: 6px 0; }
.coach__loves svg { width: 14px; height: 14px; }
.coach p { font-size: .9rem; color: var(--ink-soft); }

/* gallery grid detail */
.dgallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dgallery button { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1; background: var(--teal-l); cursor: pointer; padding: 0; }
.dgallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-smooth); }
.dgallery button:hover img { transform: scale(1.07); }

/* booking form / cards */
.formcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(22px,3vw,34px); }
.form-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-row label { font-family: var(--ff-display); font-weight: 600; font-size: .9rem; }
.input, textarea.input {
  width: 100%; padding: 13px 15px; border-radius: 12px; background: var(--cream);
  border: 2px solid var(--line); font-family: var(--ff-text); transition: border-color .2s; min-width: 0;
}
.input:focus { outline: none; border-color: var(--teal); }
textarea.input { resize: none; min-height: 110px; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Blog ---------- */
.bcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.bcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bcard__media { aspect-ratio: 16/10; overflow: hidden; background: var(--teal-l); }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-smooth); }
.bcard:hover .bcard__media img { transform: scale(1.06); }
.bcard__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bcard__cat { align-self: flex-start; background: var(--sun); color: var(--ink); border-radius: var(--r-pill); padding: 4px 12px; font-size: .76rem; font-weight: 700; font-family: var(--ff-display); }
.bcard__title { font-size: 1.2rem; }
.bcard__excerpt { color: var(--ink-soft); font-size: .95rem; }
.bcard__foot { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--ink-soft); padding-top: 6px; }
.article blockquote { border-left: 4px solid var(--orange); padding: 12px 20px; background: var(--cream-2); border-radius: 0 12px 12px 0; font-style: italic; font-size: 1.1rem; }

/* checklist */
.checklist { background: var(--teal); color: var(--white); border-radius: var(--r-lg); padding: clamp(26px,4vw,44px); }
.checklist h2 { color: var(--white); }
.checklist ol { counter-reset: c; display: grid; gap: 12px; margin-top: 20px; }
.checklist li { counter-increment: c; position: relative; padding: 12px 16px 12px 54px; background: rgba(255,255,255,.1); border-radius: 12px; }
.checklist li::before { content: counter(c); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; }

/* ---------- Legal ---------- */
.legal-content h2 { font-size: clamp(1.3rem,2.5vw,1.7rem); margin-top: 1.8em; }
.legal-content p, .legal-content li { color: var(--ink); }
.legal-content > p + p { margin-top: 1em; }
.legal-content ul { margin-top: 1em; display: grid; gap: 8px; }
.legal-content ul li { position: relative; padding-left: 24px; }
.legal-content ul li::before { content: ''; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.legal-updated { color: var(--ink-soft); font-style: italic; margin-bottom: 1.5em; }

/* ---------- Page hero (non-video) ---------- */
.phero { background: linear-gradient(150deg, var(--teal) 0%, var(--teal-d) 100%); color: var(--white); position: relative; overflow: hidden; }
.phero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,201,60,.35), transparent 70%); }
.phero__inner { padding-block: clamp(44px,6vw,84px); position: relative; z-index: 1; }
.phero h1 { color: var(--white); font-size: clamp(2rem,5vw,3.4rem); max-width: 20ch; }
.phero p { color: rgba(255,255,255,.9); margin-top: 16px; max-width: 60ch; font-size: 1.1rem; }

@media (max-width: 1000px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters__toggle { display: inline-flex; }
  .filters__body { display: none; }
  .filters.is-open .filters__body { display: block; }
  .dhero { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .dgallery { grid-template-columns: repeat(2, 1fr); }
  .form-grid2 { grid-template-columns: 1fr; }
}

/* ---------- Tournaments / Fantasy ---------- */
.tinfo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tstep { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); }
.tstep__n { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; margin-bottom: 12px; }
.tstep h3 { font-size: 1.08rem; margin-bottom: 6px; }
.tstep p { font-size: .92rem; color: var(--ink-soft); }

.fantasy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,3vw,32px); align-items: start; }
.pitch {
  position: relative; border-radius: var(--r-lg); overflow: hidden; padding: 20px 12px;
  background: linear-gradient(175deg, #1B8A4E, #12703E);
  box-shadow: var(--shadow); height: 700px; display: flex; flex-direction: column; justify-content: space-around;
}
.pitch::before { content: ''; position: absolute; inset: 14px; border: 2px solid rgba(255,255,255,.35); border-radius: 12px; pointer-events: none; }
.pitch::after { content: ''; position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; border: 2px solid rgba(255,255,255,.35); border-radius: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.pitch__stripes { position: absolute; inset: 0; z-index: 0; background: repeating-linear-gradient(180deg, rgba(255,255,255,.05) 0 40px, transparent 40px 80px); }
.pline { position: relative; z-index: 1; display: flex; justify-content: center; gap: clamp(6px,2vw,18px); }
.slot {
  width: clamp(60px, 17vw, 82px); display: flex; flex-direction: column; align-items: center; gap: 5px;
  cursor: pointer; -webkit-user-select: none; user-select: none;
}
.slot__disc {
  width: clamp(46px,12vw,60px); height: clamp(46px,12vw,60px); border-radius: 50%; background: rgba(255,255,255,.18);
  border: 2px dashed rgba(255,255,255,.6); display: grid; place-items: center; color: var(--white);
  transition: transform .3s var(--ease), background .25s, border-style .2s; overflow: hidden;
}
.slot__disc svg { width: 22px; height: 22px; }
.slot__disc img { width: 100%; height: 100%; object-fit: cover; }
.slot:hover .slot__disc { transform: scale(1.08); background: rgba(255,255,255,.3); }
.slot.is-filled .slot__disc { border-style: solid; border-color: var(--sun); background: var(--white); }
.slot__label { font-size: .72rem; color: var(--white); font-weight: 700; text-align: center; background: rgba(0,0,0,.3); padding: 2px 8px; border-radius: 999px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot.is-filled .slot__label { background: var(--sun); color: var(--ink); }

.squad { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; min-height: 0; height: 700px; }
.squad__budget { padding: 18px 20px; background: var(--teal); color: var(--white); }
.squad__budget .brow { display: flex; justify-content: space-between; align-items: baseline; }
.squad__budget b { font-family: var(--ff-display); font-size: 1.5rem; }
.squad__bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.25); margin-top: 10px; overflow: hidden; }
.squad__bar i { display: block; height: 100%; background: var(--sun); border-radius: 999px; transition: width .4s var(--ease-smooth); }
.squad__tools { padding: 16px 20px; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.chipbar { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { padding: 4px 10px; border-radius: 999px; background: var(--cream); border: 2px solid var(--line); font-weight: 700; font-size: .76rem; cursor: pointer; transition: all .2s; }
.fchip.is-active { background: var(--teal); color: var(--white); border-color: var(--teal); }
.players__list { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.pcard { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .2s, background .2s; min-width: 0; cursor: pointer; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.pcard__add { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-l); color: var(--teal); display: grid; place-items: center; transition: background .2s, color .2s, transform .25s var(--ease); }
.pcard__add svg { width: 14px; height: 14px; }
.pcard:hover .pcard__add { background: var(--orange); color: var(--white); transform: scale(1.1); }
.pcard.is-picked .pcard__add { background: var(--ok); color: var(--white); }
.pcard:hover { border-color: var(--teal); background: var(--cream); }
.pcard img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.pcard__info { min-width: 0; }
.pcard__info b { font-family: var(--ff-display); font-size: .96rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__info span { font-size: .8rem; color: var(--ink-soft); }
.pcard__pos { display: inline-block; font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--teal-l); color: var(--teal-d); margin-right: 6px; }
.pcard__cost { text-align: right; flex: 0 0 auto; align-self: end; }
.pcard__cost b { font-family: var(--ff-display); color: var(--orange); display: block; }
.pcard__cost span { font-size: .74rem; color: var(--ink-soft); }
.pcard.is-picked { opacity: .5; pointer-events: none; }
.pcard.is-blocked { opacity: .38; cursor: not-allowed; }
.pcard.is-blocked .pcard__add { background: var(--cream-2); color: var(--ink-soft); }
.pcard.is-blocked:hover { border-color: var(--line); background: var(--white); }
.pcard.is-blocked:hover .pcard__add { transform: none; }
.squad__foot { padding: 18px 20px; }

.disclaimer { border: 2px dashed var(--orange); border-radius: var(--r); padding: 22px 24px; background: var(--cream-2); display: flex; gap: 16px; align-items: flex-start; }
.disclaimer__age { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 12px; background: var(--ink); color: var(--white); display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; font-size: 1.15rem; }
.disclaimer h3 { font-size: 1.1rem; margin-bottom: 6px; }
.disclaimer p { font-size: .92rem; color: var(--ink-soft); }

/* RG plates */
.rgplates { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.rgplate { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; font-weight: 700; font-size: .82rem; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.rgplate svg { width: 22px; height: 22px; color: var(--teal); flex: 0 0 auto; }

/* ---------- Chat (Pipa) ---------- */
.chat-toggle { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(255,107,44,.6); transition: transform .3s var(--ease), box-shadow .3s; }
.chat-toggle:hover { transform: scale(1.08); box-shadow: 0 16px 36px -6px rgba(255,107,44,.7); }
.chat-toggle svg { width: 30px; height: 30px; }
.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 95; width: 360px; height: 460px; max-width: calc(100vw - 44px); max-height: calc(100vh - 44px);
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(20px) scale(.96); opacity: 0; visibility: hidden; transform-origin: bottom right; transition: transform .3s var(--ease), opacity .25s, visibility .25s;
}
.chat-panel.is-open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--teal); color: var(--white); }
.chat__head img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--sun); flex: 0 0 auto; }
.chat__head b { font-family: var(--ff-display); font-size: 1.05rem; display: block; }
.chat__head span { font-size: .78rem; opacity: .85; }
.chat__close { margin-left: auto; color: var(--white); width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; transition: background .2s; }
.chat__close:hover { background: rgba(255,255,255,.2); }
.chat__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.45; animation: msgIn .3s var(--ease-smooth) both; }
.msg--bot { background: var(--white); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--user { background: var(--teal); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 8px; background: var(--cream); }
.chat__quick button { font-size: .78rem; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--teal); font-weight: 700; transition: background .2s; }
.chat__quick button:hover { background: var(--teal-l); }
.chat__input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat__input input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 999px; background: var(--cream); border: 2px solid var(--line); }
.chat__input input:focus { outline: none; border-color: var(--teal); }
.chat__input button { width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; flex: 0 0 auto; transition: background .2s, transform .2s; }
.chat__input button:hover { background: var(--orange-d); transform: scale(1.05); }
.chat__input button svg { width: 20px; height: 20px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(42,32,24,.6); backdrop-filter: blur(3px); animation: fadeIn .25s; }
.modal__card { position: relative; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 480px; max-height: 90vh; display: flex; flex-direction: column; animation: modalIn .35s var(--ease); }
.modal__head { padding: 22px 24px 0; }
.modal__head h3 { font-size: 1.4rem; }
.modal__head p { color: var(--ink-soft); font-size: .95rem; margin-top: 6px; }
.modal__body { padding: 20px 24px 24px; overflow-y: auto; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--cream); transition: background .2s; }
.modal__close:hover { background: var(--cream-2); }
.modal__close svg { width: 18px; height: 18px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 24px; background: rgba(42,32,24,.9); animation: fadeIn .25s; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.15); color: var(--white); display: grid; place-items: center; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.toast-wrap .modal__backdrop { pointer-events: auto; }
.toast { position: relative; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 30px 34px; text-align: center; max-width: 380px; animation: modalIn .4s var(--ease); pointer-events: auto; }
.toast__ic { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--ok); color: var(--white); animation: pop .5s var(--ease) both; }
.toast__ic.is-err { background: var(--orange); }
.toast__ic svg { width: 32px; height: 32px; }
.toast h3 { font-size: 1.25rem; margin-bottom: 8px; }
.toast p { color: var(--ink-soft); font-size: .95rem; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 120; max-width: 640px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 20px 22px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; transform: translateY(140%); transition: transform .5s var(--ease); }
.cookie.is-open { transform: translateY(0); }
.cookie__txt { flex: 1; min-width: 200px; }
.cookie__txt b { font-family: var(--ff-display); }
.cookie__txt p { font-size: .9rem; color: var(--ink-soft); margin-top: 3px; }
.cookie__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Cubic-bezier reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease-smooth), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-smooth), transform .6s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .19s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .26s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .33s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .47s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .54s; }

/* floating deco blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; pointer-events: none; z-index: 0; animation: float 8s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(6deg); } }

@media (max-width: 940px) {
  .tinfo { grid-template-columns: repeat(2, 1fr); }
  .fantasy { grid-template-columns: 1fr; }
  .pitch { height: auto; aspect-ratio: 4/3; max-width: 560px; margin-inline: auto; width: 100%; }
  .squad { height: auto; }
  .players__list { max-height: 440px; }
}
@media (max-width: 520px) {
  .tinfo { grid-template-columns: 1fr; }
  .pitch { aspect-ratio: 3/4; height: auto; }
  .players__list { grid-template-columns: 1fr; }
  .chat-panel { right: 12px; bottom: 12px; }
  .chat-toggle { right: 16px; bottom: 16px; }
  .disclaimer { flex-direction: column; }
}

/* Unsized inline sprite icons guard (clock in blog cards, article hero meta) */
.bcard__foot svg, .phero p svg, .formcard p svg { width: 1em; height: 1em; flex: 0 0 auto; display: inline-block; vertical-align: -0.12em; }

/* Stub background continues right to viewport edge */
.ticket__stub::after { content: ''; position: absolute; left: 100%; top: 0; bottom: 0; width: 50vw; background: var(--teal); }
@media (max-width: 820px) { .ticket__stub::after { display: none; } }

/* rgplate as link */
a.rgplate { transition: transform .25s var(--ease), border-color .2s, color .2s; }
a.rgplate:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
