/* ═══════════════════════════════════════════════════════════════════════════
   Padel del Lago — sitio público (una sola hoja para todas las páginas de clientes)
   Mismo lenguaje que el panel (.pl-*): superficies verde bosque, filete y acentos dorados, texto crema,
   títulos en Big Shoulders Display (condensada), etiquetas en Space Mono y texto en Manrope.
   Tema oscuro por defecto (como el panel); el claro usa las mismas formas sobre crema/blanco con dorado más profundo (AA).
   Celular primero: márgenes de 16 px, sin scroll horizontal, zonas táctiles de 44 px o más.

   Fichas del diseño (tokens):
     superficies  --bg #06130d · --bg-2 #0a2418 · --surface #0f2e20 → --surface-2 #0a2418 · --raise (velo 6 %)
     texto        --ink #f6f1e4 · --sub #b3c6b9 · --faint #8fa99a
     dorado       --gold #d8a848 (relleno) · --gold-hi #f0c060 · --accent (texto dorado) · --label (rótulos) · --on-gold #2a1d00
     verde        --green #25d366 (relleno) · --on-green #05220f · --green-ink #7df0ae (texto)
     líneas       --line (dorada 30 %) · --line-strong · --hair (crema 12 %)
     radios       10 / 14 / 18 / 22 px y píldora · sombras --shadow (tarjeta) y --shadow-sm
     tipografía   --display (títulos, cifras) · --mono (rótulos en versalitas) · --sans (texto). Las tres se sirven desde /public/fonts: sin pedidos a terceros.
   Las páginas viejas usan los mismos colores con sus nombres de antes (--forest, --card, --cream, --muted, --soft, --gold-light).
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Big Shoulders Display'; src: url('../fonts/bigshoulders-latin.woff2') format('woff2'), url('../fonts/BigShouldersDisplay.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Mono'; src: url('../fonts/spacemono-latin.woff2') format('woff2'), url('../fonts/SpaceMono-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }

/* ── Tokens: oscuro (por defecto) ── */
body.site, .site-foot {
  --bg: #06130d; --bg-2: #0a2418; --bg-glow: #12402c;
  --surface: #0f2e20; --surface-2: #0a2418; --surface-solid: #0c2418;
  --ink-rgb: 246, 241, 228;
  --raise: rgba(246, 241, 228, .06);
  --field: rgba(2, 14, 9, .55);
  --ink: #f6f1e4; --sub: #b3c6b9; --faint: #8fa99a;
  --hair: rgba(246, 241, 228, .12); --hair-strong: rgba(246, 241, 228, .24);
  --line: rgba(216, 168, 72, .3); --line-strong: rgba(216, 168, 72, .6);
  --gold: #d8a848; --gold-hi: #f0c060; --gold-deep: #b8893a; --on-gold: #2a1d00; --on-gold-2: #4a3300;
  --accent: #f0c060; --label: #d8a848;
  --green: #25d366; --green-2: #128c4a; --on-green: #05220f; --green-ink: #7df0ae;
  --red: #ef6a5e; --red-ink: #ff9a90; --blue-ink: #8cc2ff;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45); --shadow-sm: 0 8px 22px rgba(0, 0, 0, .3);
  --r-sm: 10px; --r: 14px; --r-lg: 18px; --r-xl: 22px; --r-pill: 999px;
  --display: 'Big Shoulders Display', 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  --mono: 'Space Mono', 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  /* Nombres de antes (partido, cartelera, canchas libres, americanos): los mismos colores */
  --forest: var(--bg); --forest-mid: var(--bg-2); --card: var(--surface); --cream: var(--ink); --muted: var(--sub);
  --soft: var(--raise); --gold-light: var(--accent); --green-dark: var(--green-2);
}
/* ── Tokens: claro ── */
:root[data-theme="light"] body.site, :root[data-theme="light"] .site-foot {
  --bg: #f4f1e8; --bg-2: #ebe6d8; --bg-glow: #e2ebe0;
  --surface: #ffffff; --surface-2: #fbf9f3; --surface-solid: #ffffff;
  --ink-rgb: 16, 38, 27;
  --raise: rgba(16, 38, 27, .045);
  --field: #ffffff;
  --ink: #10261b; --sub: #4f6459; --faint: #66796e;
  --hair: rgba(16, 38, 27, .12); --hair-strong: rgba(16, 38, 27, .26);
  --line: rgba(160, 118, 30, .32); --line-strong: rgba(138, 100, 24, .65);
  --gold: #d8a848; --gold-hi: #e9b955; --gold-deep: #a87d22;
  --accent: #7a560c; --label: #7a560c;
  --green: #25d366; --green-2: #1f9d55; --on-green: #05220f; --green-ink: #0b6537;
  --red: #c0392f; --red-ink: #a3281f; --blue-ink: #1f5fa8;
  --shadow: 0 14px 40px rgba(16, 38, 27, .12); --shadow-sm: 0 6px 16px rgba(16, 38, 27, .08);
}
/* Encabezado, menú y barra de resumen: siempre la banda verde bosque de la marca (también en el tema claro). */
.site-head, .site-menu-list, .book-bar {
  --ink: #f6f1e4; --sub: #b3c6b9; --hair: rgba(246, 241, 228, .14); --hair-strong: rgba(246, 241, 228, .26);
  --line: rgba(216, 168, 72, .3); --gold: #d8a848; --gold-hi: #f0c060; --on-gold: #2a1d00; --accent: #f0c060;
  --sans: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --display: 'Big Shoulders Display', 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  --mono: 'Space Mono', 'JetBrains Mono', ui-monospace, monospace;
}

/* ═════════════ Base ═════════════ */
body.site { box-sizing: border-box; --gutter: 16px; }
:where(body.site) *, :where(body.site) *::before, :where(body.site) *::after { box-sizing: border-box; }
html:has(body.site) { background: #06130d; }
:root[data-theme="light"]:has(body.site) { background: #f4f1e8; }
body.site {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 var(--gutter) 0;
  background: radial-gradient(1200px 600px at 50% -10%, var(--bg-glow) 0%, var(--bg) 60%) no-repeat, var(--bg);
  color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip;
}
body.site.has-cta { padding-bottom: 112px; }
:where(body.site) a { color: inherit; }
:where(body.site) :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
:where(body.site) img { max-width: 100%; }
:where(body.site) .sr-only, .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
:where(body.site) .skip { position: absolute; left: 8px; top: -60px; background: var(--gold); color: var(--on-gold); padding: .6rem 1rem; border-radius: 10px; font-weight: 800; z-index: 80; text-decoration: none; }
:where(body.site) .skip:focus { top: 8px; }
:where(body.site) .muted { color: var(--sub); }
:where(body.site) h1 { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 7vw, 2.4rem); line-height: 1; letter-spacing: .005em; margin: 0 0 8px; color: var(--ink); text-wrap: balance; }
:where(body.site) h2 { font-family: var(--mono); font-weight: 400; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--label); margin: 0 0 10px; line-height: 1.3; }
:where(body.site) h3 { font-family: var(--sans); font-weight: 800; font-size: 1.05rem; margin: 0 0 6px; color: var(--ink); }
:where(body.site) p { margin: 0 0 10px; }
:where(body.site) .eyebrow { margin: 0; font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--label); }

/* ═════════════ Encabezado compartido (_site_nav.ejs) ═════════════ */
.site-head {
  position: sticky; top: 0; z-index: 30; align-self: stretch;
  margin: 0 calc(var(--gutter, 16px) * -1) 18px;
  background: rgba(4, 16, 10, .94); color: var(--ink); font-family: var(--sans);
  border-bottom: 1px solid rgba(216, 168, 72, .25); box-shadow: 0 2px 16px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px);
}
.site-head *, .site-head *::before, .site-head *::after { box-sizing: border-box; }
.site-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(216, 168, 72, .55), rgba(31, 138, 91, .7), transparent); pointer-events: none; }
.site-bar { max-width: 1180px; margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 8px; padding: 0 var(--gutter, 16px); }
.site-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; color: var(--ink); text-decoration: none; flex: none; }
.site-brand img { width: 40px; height: 40px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px rgba(216, 168, 72, .5), 0 0 14px rgba(216, 168, 72, .18); }
.site-word { display: flex; flex-direction: column; font-family: var(--display); font-weight: 800; font-size: 1.12rem; line-height: .9; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.site-word b { font-weight: 900; color: var(--ink); }
.site-word span { color: var(--gold); }
.site-nav { display: none; }
.site-act { display: flex; align-items: center; gap: 8px; flex: none; }
.site-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border-radius: 12px; border: 1px solid transparent; font: 800 .84rem/1.1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  background: none; color: var(--ink); transition: filter .15s, background .15s, border-color .15s;
}
.site-btn.ghost { border-color: var(--hair-strong); }
.site-btn.ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.site-btn.gold { background: var(--gold); color: var(--on-gold); }
.site-btn.gold:hover { filter: brightness(1.08); }
.site-btn.wide-only { display: none; }
.site-avatar { width: 44px; padding: 0; border-radius: 50%; background: rgba(216, 168, 72, .16); border: 1px solid rgba(216, 168, 72, .5); color: var(--gold-hi); font: 900 1.15rem/1 var(--display); }
.site-icon {
  width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 0;
  border-radius: 12px; border: 1px solid var(--hair-strong); background: none; color: var(--ink); cursor: pointer; font-size: 1.05rem; line-height: 1;
}
.site-icon:hover, .site-menu summary:hover { border-color: var(--gold); color: var(--gold-hi); }
.site-icon svg, .site-menu summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.site-icon .i-moon { display: none; }

/* ═════════ «‹ Volver al panel» (partials/_volver_panel.ejs, dentro de .site-head) ═════════
   Franja dorada fija sobre el menú del sitio, en TODA página pública abierta desde el panel (?volver=/panel/…) o por el personal con sesión.
   El panel instalado como app (PWA) no tiene botón «atrás»: esta franja es la forma de regresar. Alto táctil de 44 px o más; sin JavaScript. */
.volver-panel {
  display: block; min-height: 44px; background: var(--gold); color: var(--on-gold); text-decoration: none;
  border-bottom: 1px solid rgba(42, 29, 0, .35); font: 800 .9rem/1.1 var(--sans); letter-spacing: .01em;
}
.volver-panel .vp-in { max-width: 1180px; margin: 0 auto; min-height: 44px; padding: 0 var(--gutter, 16px); display: flex; align-items: center; gap: 6px; }
.volver-panel .vp-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.volver-panel:hover, .volver-panel:focus-visible { background: var(--gold-hi); }
.volver-panel:focus-visible { outline: 3px solid var(--on-gold); outline-offset: -3px; }
:root[data-theme="light"] .site-icon .i-sun { display: none; }
:root[data-theme="light"] .site-icon .i-moon { display: inline; }
.site-btn:focus-visible, .site-icon:focus-visible, .site-menu summary:focus-visible, .site-nav a:focus-visible, .site-menu-list a:focus-visible, .site-brand:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.site-menu { position: relative; }
.site-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--hair-strong); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu[open] summary { border-color: var(--gold); color: var(--gold-hi); background: rgba(216, 168, 72, .12); }
.site-menu-list {
  position: absolute; right: 0; top: 52px; z-index: 60; width: min(300px, calc(100vw - 24px));
  display: flex; flex-direction: column; padding: 6px; border-radius: 16px;
  background: #0c2418; border: 1px solid rgba(216, 168, 72, .4); box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
  max-height: calc(100vh - 80px); overflow-y: auto;
}
.site-menu-list a, .site-menu-list button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 0; background: none; color: var(--ink); font: 700 .95rem/1.2 var(--sans); text-decoration: none; text-align: left; cursor: pointer; }
.site-menu-list a:hover, .site-menu-list button:hover { background: rgba(255, 255, 255, .06); color: var(--gold-hi); }
.site-menu-list a.on { background: rgba(216, 168, 72, .16); color: var(--gold-hi); box-shadow: inset 3px 0 0 var(--gold); }
.site-menu-list .mi-sep { height: 1px; margin: 6px 8px; background: rgba(216, 168, 72, .22); }
.site-menu-list .mi-label { padding: 8px 14px 4px; font: 400 .62rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #8fa99a; }
.site-menu-list .mi-acc { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px 6px 6px; }
.site-menu-list .mi-acc a { justify-content: center; border: 1px solid var(--hair-strong); }
.site-menu-list .mi-acc a.gold { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.site-menu-list .mi-acc a:only-child { grid-column: 1 / -1; }
.site-menu-list form { margin: 0; }
/* Celulares angostos (320–359 px): el encabezado (logo + palabra + cuenta + tema + menú) cabe sin empujar la página hacia los lados. */
@media (max-width: 359px) {
  .site-bar { gap: 6px; padding: 0 12px; }
  .site-brand { gap: 8px; min-width: 0; }
  .site-brand img { width: 36px; height: 36px; }
  .site-word { font-size: 1rem; letter-spacing: .02em; }
  .site-act { gap: 6px; }
  .site-btn { padding: 0 10px; font-size: .8rem; }
}
@media (max-width: 339px) {
  .site-word { font-size: .92rem; }
  .site-btn { padding: 0 8px; font-size: .78rem; }
}
/* Los adornos de fondo (franjas, brillos) nunca ensanchan la página: se recortan en el borde, sin crear otra barra de desplazamiento. */
body.site, body.ai { overflow-x: clip; }
@media (min-width: 560px) {
  .site-word { flex-direction: row; gap: .3em; font-size: 1.35rem; }
  .site-btn.wide-only { display: inline-flex; }
}
@media (min-width: 900px) {
  .site-bar { height: 68px; gap: 10px; }
  .site-brand { margin-right: auto; }
  .site-brand img { width: 44px; height: 44px; }
  .site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 10px; border: 1px solid transparent; color: #d7e3da; font-weight: 700; font-size: .86rem; text-decoration: none; white-space: nowrap; }
  .site-nav a:hover { background: rgba(255, 255, 255, .06); color: var(--gold-hi); }
  .site-nav a.on { background: rgba(216, 168, 72, .14); border-color: rgba(216, 168, 72, .45); color: var(--gold-hi); }
}
/* Escritorio: las secciones en fila SOLO desde 1200 px (antes, entre 900 y 1200 px los enlaces se montaban sobre «Mi cuenta» / «Reservar»); de 900 a 1199 px todo va en el menú ☰. */
@media (min-width: 1200px) {
  .site-brand { margin-right: 12px; }
  .site-nav { display: flex; align-items: center; gap: 2px; margin-right: auto; min-width: 0; }
  .site-nav a.nav-xl { display: none; }
}
/* Muy ancho: caben todas las secciones (Contacto y Torneos incluidas) y la barra se ensancha un poco. */
@media (min-width: 1360px) {
  .site-bar { max-width: 1280px; }
  .site-nav a.nav-xl { display: inline-flex; }
}

/* Portada (body.ai, con su propia hoja landing-ai.css): el encabezado flota sobre la foto y el pie va a todo el ancho */
body.ai .site-head { position: fixed; top: 0; left: 0; right: 0; margin: 0; }
body.ai .site-foot { margin: 0; }
@media (max-width: 820px) { body.ai .site-foot { padding-bottom: 110px; } }

/* Íconos del sitio (sprite _icons.ejs): línea de 1.75 sobre grilla de 24 px, color = texto actual */
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }
.ic-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.site-btn .ic, .site-menu-list .ic { width: 1.15em; height: 1.15em; }

/* Botón flotante de WhatsApp (_wafloat.ejs) */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 35; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 54px; padding: 0 1.1rem; border-radius: 999px; text-decoration: none;
  background: #0c2418; color: #f6f1e4; border: 1px solid rgba(37, 211, 102, .65); box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
  font: 800 .9rem/1 'Manrope', 'Inter', system-ui, sans-serif; transition: transform .15s, bottom .2s;
}
.wa-float:hover { transform: translateY(-2px); color: #f6f1e4; }
.wa-float:focus-visible { outline: 2px solid #f0c060; outline-offset: 2px; }
.wa-float-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #25d366; color: #05220f; line-height: 1; }
.wa-float-ic .ic { width: 22px; height: 22px; }
body.bar-on .wa-float { bottom: 104px; }
@media (max-width: 720px) { body.bar-on .wa-float { display: none; } }
@media (max-width: 720px) {
  .wa-float { width: 54px; padding: 0; }
  .wa-float-tx { display: none; }
}

/* ═════════════ Pie compartido (_site_foot.ejs) ═════════════ */
.site-foot {
  align-self: stretch; margin: 48px calc(var(--gutter, 16px) * -1) 0; padding: 28px var(--gutter, 16px) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(11, 58, 40, 0), rgba(11, 58, 40, .38));
  color: var(--sub); font-family: var(--sans); font-size: .88rem;
}
:root[data-theme="light"] .site-foot { background: linear-gradient(180deg, rgba(18, 105, 74, 0), rgba(18, 105, 74, .07)); }
.site-foot *, .site-foot *::before, .site-foot *::after { box-sizing: border-box; }
.site-foot-in { max-width: 1080px; margin: 0 auto; display: grid; gap: 18px; }
.site-foot-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.site-foot-brand img { width: 56px; height: 56px; border-radius: 50%; display: block; }
.site-foot-brand b { display: block; font: 900 1.5rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--ink); }
.site-foot-brand b span { color: var(--gold); }
.site-foot-brand small { display: block; margin-top: 4px; font: 400 .66rem/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
.site-foot-links { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0; padding: 0; }
.site-foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--ink); font-weight: 700; text-decoration: none; }
.site-foot-links a:hover { color: var(--accent); }
.site-foot-copy { margin: 0; font: 400 .66rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
@media (min-width: 820px) {
  .site-foot-in { grid-template-columns: auto 1fr; align-items: center; }
  .site-foot-links { justify-content: flex-end; }
  .site-foot-copy { grid-column: 1 / -1; }
}

/* ═════════════ Componentes (tarjeta de partido, americano, cartelera, canchas libres) ═════════════ */
:where(body.site) .card { width: 100%; max-width: 460px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px 18px 20px; box-shadow: var(--shadow); }
:where(body.site) .kicker { display: flex; align-items: center; justify-content: space-between; gap: .6rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--label); margin: 0 0 12px; }
:where(body.site) .chip-state { font-family: var(--sans); font-size: .72rem; letter-spacing: .04em; padding: .25rem .65rem; border-radius: 999px; background: rgba(37, 211, 102, .16); color: var(--green-ink); border: 1px solid rgba(37, 211, 102, .45); text-transform: none; font-weight: 800; }
:where(body.site) .chip-state.full { background: rgba(216, 168, 72, .16); color: var(--accent); border-color: var(--line); }
:where(body.site) .chip-state.off { background: var(--raise); color: var(--sub); border-color: var(--hair-strong); }
:where(body.site) .when { margin: 0 0 6px; }
:where(body.site) .when .day { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem; color: var(--sub); font-size: 1.05rem; font-weight: 700; }
:where(body.site) .when .dnum { font: 900 2.9rem/1 var(--display); color: var(--ink); }
:where(body.site) .when .time { margin: 2px 0 0; display: flex; align-items: baseline; gap: .6rem; }
:where(body.site) .when .time b { font: 900 2.9rem/1.02 var(--display); color: var(--accent); letter-spacing: .01em; }
:where(body.site) .when .time span { color: var(--sub); font-size: 1rem; }
:where(body.site) .countdown { display: inline-block; margin: 10px 0 16px; padding: .4rem .85rem; border-radius: 999px; background: var(--raise); border: 1px solid var(--line); color: var(--ink); font-weight: 800; font-size: .92rem; font-variant-numeric: tabular-nums; }
:where(body.site) .chips { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 16px; padding: 0; }
:where(body.site) .chips li { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 700; padding: .4rem .75rem; min-height: 36px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); background: rgba(216, 168, 72, .08); }
:where(body.site) .chips svg { width: 16px; height: 16px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:where(body.site) .note { margin: 0 0 16px; padding: .7rem .9rem; border-left: 3px solid var(--gold); background: var(--raise); border-radius: 0 12px 12px 0; font-size: .95rem; color: var(--ink); overflow-wrap: anywhere; }
:where(body.site) .slots { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 0 0 10px; padding: 0; }
:where(body.site) .slot { display: flex; flex-direction: column; align-items: center; gap: .3rem; min-width: 0; }
:where(body.site) .slot-plain { justify-content: center; min-height: 56px; }
:where(body.site) .circle { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; font-weight: 800; border: 2px dashed rgba(var(--ink-rgb), .4); color: var(--sub); }
:where(body.site) .av-box { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; }
:where(body.site) .av-box .avt { box-shadow: 0 0 0 2px var(--gold-hi); }
:where(body.site) .circle.on { background: var(--gold); border: 2px solid var(--gold-hi); color: var(--on-gold); }
:where(body.site) .sname { font-size: .82rem; font-weight: 700; color: var(--ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:where(body.site) .sname.free { color: var(--sub); font-weight: 500; }
/* Cupo libre = botón de sumarse (verde WhatsApp, con latido suave) */
:where(body.site) .slot-join { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-decoration: none; min-width: 0; width: 100%; padding: .1rem 0; -webkit-tap-highlight-color: transparent; }
:where(body.site) .circle.join { border: 2px solid var(--green); background: rgba(37, 211, 102, .16); color: var(--green-ink); font-size: 1.7rem; animation: pdlpulse 2.2s ease-in-out infinite; }
:where(body.site) .sname.join { color: var(--green-ink); font-weight: 800; }
:where(body.site) .slot-join:active .circle.join { background: var(--green); color: var(--on-green); }
/* Cupo libre como <button> (con sesión: suma al toque) */
:where(body.site) .slot-form { margin: 0; width: 100%; }
:where(body.site) button.slot-join { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
:where(body.site) button.slot-join:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 12px; }
:where(body.site) .tapme { margin: 2px 0 8px; color: var(--ink); font-size: .92rem; }
:where(body.site) .tapme b { color: var(--green-ink); }
@keyframes pdlpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); } 50% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); } }
:where(body.site) .bar { height: 10px; border-radius: 999px; background: rgba(var(--ink-rgb), .12); overflow: hidden; margin: 4px 0 8px; }
:where(body.site) .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); border-radius: 999px; }
:where(body.site) .left { font-size: 1.3rem; font-weight: 800; margin: 0 0 4px; }
:where(body.site) .sub { color: var(--sub); font-size: .92rem; margin: 0 0 18px; }
:where(body.site) .sub b { color: var(--ink); }

/* ── Botones ──
   .btn = acción principal ancha (verde WhatsApp). Variantes: .alt / .btn-gold (dorado), .line / .btn-ghost (contorno),
   .btn-wa (verde), .btn-danger (rojo, contorno), .small / .btn-sm (más bajo), .btn-auto (ancho según el texto). */
:where(body.site) .btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 52px; text-align: center; text-decoration: none;
  font: 800 1.05rem/1.15 var(--sans); padding: .8rem 1rem; border-radius: 16px; border: 1.5px solid transparent; cursor: pointer;
  background: var(--green); color: var(--on-green); box-shadow: 0 8px 22px rgba(37, 211, 102, .25); transition: filter .15s, transform .15s, background .15s;
}
:where(body.site) .btn:hover { filter: brightness(1.06); }
:where(body.site) .btn:active { transform: translateY(1px); background: var(--green-2); color: #fff; }
:where(body.site) .btn[disabled], :where(body.site) .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; filter: none; transform: none; }
:where(body.site) .btn.alt, :where(body.site) .btn.btn-gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 8px 22px rgba(216, 168, 72, .25); }
:where(body.site) .btn.alt:active, :where(body.site) .btn.btn-gold:active { background: var(--gold-deep); color: var(--on-gold); }
:where(body.site) .btn.line, :where(body.site) .btn.btn-ghost { background: transparent; color: var(--accent); border-color: var(--line-strong); box-shadow: none; font-size: 1rem; min-height: 48px; }
:where(body.site) .btn.line:active, :where(body.site) .btn.btn-ghost:active { background: rgba(216, 168, 72, .12); color: var(--accent); }
:where(body.site) .btn.btn-wa { background: var(--green); color: var(--on-green); }
:where(body.site) .btn.btn-danger { background: transparent; color: var(--red-ink); border-color: color-mix(in srgb, var(--red) 65%, transparent); box-shadow: none; }
:where(body.site) .btn.small, :where(body.site) .btn.btn-sm { font-size: .92rem; min-height: 46px; padding: .55rem .9rem; border-radius: 14px; }
:where(body.site) .btn.btn-auto { width: auto; display: inline-flex; padding-left: 1.4rem; padding-right: 1.4rem; }
:where(body.site) .btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 0 0 4px; }
:where(body.site) .btns .btn { padding: .7rem .6rem; }
:where(body.site) .cta-bar { margin: 4px 0 8px; }
:where(body.site) .hint { color: var(--sub); font-size: .82rem; text-align: center; margin: 10px 0 0; line-height: 1.4; }
:where(body.site) .block { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
:where(body.site) .steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: .55rem; }
:where(body.site) .steps li { counter-increment: s; display: flex; gap: .7rem; align-items: center; font-size: .95rem; }
:where(body.site) .steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); font: 900 1rem/1 var(--display); }
:where(body.site) .policy { margin: 0; padding: 0; list-style: none; display: grid; gap: .4rem; font-size: .9rem; color: var(--sub); }
:where(body.site) .policy b { color: var(--ink); }
:where(body.site) .addr { margin: 0 0 10px; font-size: .95rem; overflow-wrap: anywhere; }
:where(body.site) .msg { color: var(--sub); font-size: 1rem; line-height: 1.5; margin: 0 0 18px; }
:where(body.site) .links { display: flex; flex-direction: column; gap: .5rem; margin: 14px 0 0; }
:where(body.site) .tlink { display: flex; align-items: center; justify-content: center; min-height: 44px; color: var(--accent); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; text-align: center; }
:where(body.site) .foot { color: var(--faint); font-size: .78rem; margin-top: 18px; text-align: center; }
:where(body.site) .live { min-height: 1.2em; text-align: center; color: var(--accent); font-size: .85rem; margin: 6px 0 0; }
/* Botón de WhatsApp fijo abajo en el celular; en pantallas grandes queda dentro de la tarjeta. */
:where(body.site) .cta-fixed { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(var(--ink-rgb), 0), var(--bg) 35%); display: flex; justify-content: center; }
:root:not([data-theme="light"]) :where(body.site) .cta-fixed { background: linear-gradient(180deg, rgba(6, 19, 13, 0), rgba(6, 19, 13, .92) 35%); }
:where(body.site) .cta-fixed .btn { max-width: 460px; }
@media (min-width: 641px) {
  body.site.has-cta { padding-bottom: 0; }
  :where(body.site) .cta-fixed { position: static; padding: 0; background: none; margin: 0; }
}
/* Escritorio: la tarjeta del partido se ensancha y se parte en dos columnas. */
@media (min-width: 900px) {
  :where(body.site) .card.wide { max-width: 980px; padding: 30px 34px 28px; }
  :where(body.site) .card.wide .cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 44px; align-items: start; }
  :where(body.site) .card.wide .col-b { border-left: 1px solid var(--line); padding-left: 44px; }
  :where(body.site) .card.wide h1 { font-size: 2.4rem; }
  :where(body.site) .card.wide .when .dnum, :where(body.site) .card.wide .when .time b { font-size: 3.6rem; }
  :where(body.site) .card.wide .circle { width: 64px; height: 64px; }
  :where(body.site) .card.wide .av-box { height: 64px; }
  :where(body.site) .card.wide .slots.am .circle { width: 60px; height: 60px; }
  :where(body.site) .card.wide .slots.am .av-box { height: 60px; }
  :where(body.site) .card.wide .slot-join .circle { font-size: 2rem; }
  :where(body.site) .card.wide .sname { font-size: .9rem; }
  :where(body.site) .card.wide .col-b > section:first-child h2 { margin-top: 2px; }
  :where(body.site) .cta-fixed .btn { max-width: none; }
}
@media (max-width: 360px) { :where(body.site) .circle { width: 48px; height: 48px; font-size: 1.15rem; } :where(body.site) .when .dnum, :where(body.site) .when .time b { font-size: 2.3rem; } }

/* ═════════════ Páginas de cliente: contenedor, encabezado de página, paneles, avisos y campos ═════════════ */
:where(body.site) .page { width: 100%; max-width: 760px; }
:where(body.site) .page.narrow { max-width: 460px; }
:where(body.site) .page.wide { max-width: 1080px; }
:where(body.site) .page-head { margin: 4px 0 16px; }
:where(body.site) .page-head h1 { margin: 4px 0 6px; font-weight: 900; font-size: clamp(2.3rem, 10vw, 3.4rem); line-height: .92; text-transform: uppercase; }
:where(body.site) .page-head h1 span { color: var(--gold); }
:where(body.site) .page-head .lead { margin: 0; color: var(--sub); font-size: .98rem; }
:where(body.site) .panel { width: 100%; margin: 0 0 14px; padding: 18px 16px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { :where(body.site) .panel { padding: 22px 22px; } }
:where(body.site) .panel > h2:first-child, :where(body.site) .panel > .panel-h:first-child { margin-top: 0; }
:where(body.site) .panel-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
:where(body.site) .panel-h h2 { margin: 0; }
:where(body.site) .alert { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(216, 168, 72, .1); color: var(--ink); font-weight: 600; font-size: .94rem; line-height: 1.45; }
:where(body.site) .alert-error, :where(body.site) .auth-error { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--red) 55%, transparent); background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red-ink); font-weight: 700; font-size: .94rem; line-height: 1.45; }
:where(body.site) .alert-ok { border-color: rgba(37, 211, 102, .5); background: rgba(37, 211, 102, .1); color: var(--green-ink); }
:where(body.site) .alert a, :where(body.site) .auth-error a { color: inherit; text-decoration: underline; font-weight: 800; }
:where(body.site) .auth-error-help { display: block; margin-top: .5rem; font-size: .86rem; line-height: 1.5; font-weight: 600; }
:where(body.site) label { color: var(--ink); }
:where(body.site) .field { display: grid; gap: 6px; margin: 0 0 12px; }
:where(body.site) .field > span, :where(body.site) .lbl, :where(body.site) .auth-card form > label:not(.consent) { font-weight: 800; font-size: .86rem; color: var(--ink); }
:where(body.site) input[type="text"], :where(body.site) input[type="email"], :where(body.site) input[type="password"], :where(body.site) input[type="tel"], :where(body.site) input[type="number"],
:where(body.site) input:not([type]), :where(body.site) select, :where(body.site) textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--hair-strong);
  background: var(--field); color: var(--ink); font: 500 1rem/1.3 var(--sans); transition: border-color .15s, box-shadow .15s;
}
:where(body.site) textarea { padding: 12px 14px; min-height: 96px; }
:where(body.site) select option { color: #111; }
:where(body.site) input::placeholder, :where(body.site) textarea::placeholder { color: var(--faint); }
:where(body.site) input:focus, :where(body.site) select:focus, :where(body.site) textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216, 168, 72, .25); }
:where(body.site) input[type="checkbox"], :where(body.site) input[type="radio"] { accent-color: var(--gold); }
:where(body.site) .field-hint { display: block; margin: -4px 0 10px; font-size: .8rem; color: var(--sub); }
:where(body.site) .row-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
@media (min-width: 520px) { :where(body.site) .row-actions { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
:where(body.site) .center { text-align: center; }

/* ═════════════ Reservar (/reservar): ficha del club, pasos, horas, canchas y barra de resumen ═════════════ */
:where(body.site) .bk-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center;
  padding: 18px 16px 16px; border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  background: radial-gradient(420px 180px at 100% 0%, rgba(216, 168, 72, .2), transparent 70%), linear-gradient(180deg, var(--surface), var(--surface-2));
}
:where(body.site) .bk-hero::after { content: ''; position: absolute; right: -40px; bottom: -18px; width: 220px; height: 16px; background: var(--gold); opacity: .18; transform: rotate(-14deg); pointer-events: none; }
:where(body.site) .bk-hero > img { width: 60px; height: 60px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px var(--line-strong); }
:where(body.site) .bk-hero h1 { margin: 2px 0 0; font-weight: 900; font-size: clamp(2rem, 9vw, 3rem); line-height: .9; text-transform: uppercase; }
:where(body.site) .bk-hero h1 span { color: var(--gold); }
:where(body.site) .bk-facts { grid-column: 1 / -1; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; }
:where(body.site) .fact { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border-radius: 12px; background: var(--raise); border: 1px solid var(--hair); font-size: .86rem; font-weight: 700; color: var(--ink); max-width: 100%; }
:where(body.site) .fact svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:where(body.site) .fact .st { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); flex: none; }
:where(body.site) .fact.closed .st { background: var(--red); box-shadow: none; }
:where(body.site) .fact a { color: var(--accent); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
/* «Cómo llegar» y similares dentro de una línea: área de toque de ~44 px sin cambiar el alto de la fila (el relleno de un enlace en línea no mueve el texto). */
:where(body.site) .fact a { padding: 12px 6px; margin: -12px -6px; }
:where(body.site) .fact .addr-t { overflow-wrap: anywhere; }
:where(body.site) .bk-week { grid-column: 1 / -1; margin: 10px 0 0; font: 400 .7rem/1.5 var(--mono); letter-spacing: .06em; color: var(--sub); }
:where(body.site) .guest-note { margin: 12px 2px 0; font-size: .88rem; color: var(--sub); }
:where(body.site) .guest-note a { color: var(--accent); font-weight: 800; }
:where(body.site) .wizard { width: 100%; }
:where(body.site) .step { margin-top: 14px; padding: 16px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
:where(body.site) .step-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
:where(body.site) .step-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); font: 900 1.05rem/1 var(--display); }
:where(body.site) .step-label { margin: 0; font: 400 .75rem/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
:where(body.site) .step-aside { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--sub); white-space: nowrap; }
:where(body.site) .step-hint { margin: -4px 0 10px; font-size: .78rem; color: var(--sub); }
/* Días: carrusel con desplazamiento lateral (solo dentro del paso, nunca la página). Cada día es un ENLACE (<a>): funciona sin JavaScript. */
:where(body.site) .day-strip { position: relative; margin: 0 -16px; }
:where(body.site) .day-carousel {
  display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding: 0 16px;
  padding: 4px 16px 18px; margin-bottom: -10px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  /* Degradado en el borde que aún tiene más días (los pone reservar-dias.js con .more-left / .more-right) */
  --fade-l: 0px; --fade-r: 0px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
}
:where(body.site) .day-strip.more-left .day-carousel { --fade-l: 34px; }
:where(body.site) .day-strip.more-right .day-carousel { --fade-r: 34px; }
:where(body.site) .day-carousel::-webkit-scrollbar { display: none; }
:where(body.site) .day-carousel.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
:where(body.site) .day-chip {
  position: relative; flex: none; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  width: 62px; min-height: 78px; border-radius: 14px; border: 1px solid var(--hair); background: var(--raise); color: var(--ink); cursor: pointer; user-select: none;
  text-decoration: none; -webkit-user-drag: none;
  transition: background .15s, border-color .15s, transform .15s;
}
:where(body.site) .day-chip:hover { border-color: var(--line-strong); }
:where(body.site) .day-dow { font: 400 .62rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sub); }
:where(body.site) .day-dow.rel { font-weight: 800; color: var(--accent); }
:where(body.site) .day-num { font: 900 1.9rem/.95 var(--display); }
:where(body.site) .day-mon { font: 800 .62rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--sub); }
:where(body.site) .day-chip.on { background: var(--gold); border-color: var(--gold); color: var(--on-gold); box-shadow: 0 8px 20px rgba(216, 168, 72, .3); }
:where(body.site) .day-chip.on .day-dow, :where(body.site) .day-chip.on .day-mon { color: var(--on-gold-2); }
/* Hoy: aro dorado aunque no sea el elegido (así siempre se ve dónde empieza la semana) */
:where(body.site) .day-chip.is-today:not(.on) { border-color: var(--gold); }
/* Sin atención (feriado o día cerrado): atenuado pero se puede abrir; arriba de las horas se explica */
:where(body.site) .day-chip.is-closed:not(.on) { opacity: .55; border-style: dashed; }
:where(body.site) .day-chip.is-closed.on { opacity: .88; }
:where(body.site) .day-chip:focus-visible, :where(body.site) .dur-chip:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
/* Flechas ◀ ▶ del carrusel (ratón): las muestra el JS solo si hay más días fuera de la vista; en pantallas táctiles no hacen falta */
:where(body.site) .day-arrow {
  position: absolute; top: calc(50% - 6px); transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
}
:where(body.site) .day-arrow[hidden] { display: none; }
:where(body.site) .day-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
:where(body.site) .day-arrow:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
:where(body.site) .day-arrow:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
:where(body.site) .day-arrow:disabled { opacity: 0; pointer-events: none; }
:where(body.site) .day-prev { left: 4px; }
:where(body.site) .day-next { right: 4px; }
@media (hover: none) and (pointer: coarse) { :where(body.site) .day-arrow { display: none !important; } }
/* Duración: control segmentado */
:where(body.site) .seg-ctl { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--raise); border: 1px solid var(--hair); }
:where(body.site) .dur-chip { position: relative; display: flex; align-items: baseline; justify-content: center; gap: 5px; min-height: 48px; padding: 10px 6px; border-radius: 10px; color: var(--sub); cursor: pointer; user-select: none; transition: background .15s; }
:where(body.site) .dur-num { font: 900 1.55rem/1 var(--display); color: var(--ink); }
:where(body.site) .dur-unit { font: 400 .62rem/1 var(--mono); letter-spacing: .12em; }
:where(body.site) .dur-chip.on { background: var(--gold); color: var(--on-gold-2); box-shadow: 0 6px 16px rgba(216, 168, 72, .28); }
:where(body.site) .dur-chip.on .dur-num { color: var(--on-gold); }
/* Horas: agrupadas por tramo del día */
:where(body.site) .period { display: flex; align-items: center; gap: 8px; margin: 14px 0 8px; font: 800 .78rem/1 var(--sans); color: var(--sub); }
:where(body.site) .period:first-of-type { margin-top: 2px; }
:where(body.site) .period::after { content: ''; flex: 1; height: 1px; background: var(--hair); }
:where(body.site) .period small { font: 400 .62rem/1 var(--mono); letter-spacing: .1em; color: var(--faint); }
:where(body.site) .time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
@media (min-width: 520px) { :where(body.site) .time-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); } }
:where(body.site) .time-chip {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 66px; padding: 10px 12px; margin: 0;
  border-radius: 14px; border: 1px solid var(--hair); background: var(--raise); color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  transition: background .15s, border-color .15s;
}
:where(body.site) .time-chip:hover { border-color: var(--line-strong); }
:where(body.site) .time-chip.time-soon { background: transparent; border-style: dashed; color: var(--sub); cursor: help; }
:where(body.site) .time-chip.time-soon .tc-time, :where(body.site) .time-chip.time-soon .tc-price { color: var(--sub); }
:where(body.site) .tc-time { font: 900 1.6rem/.95 var(--display); letter-spacing: .01em; }
:where(body.site) .tc-price { font-weight: 800; font-size: .8rem; color: var(--accent); }
:where(body.site) .tc-pp { font-size: .7rem; color: var(--sub); }
@media (max-width: 519px) { :where(body.site) .tc-pp { display: none; } :where(body.site) .time-chip { min-height: 58px; padding: 9px 10px; } :where(body.site) .tc-time { font-size: 1.45rem; } :where(body.site) .time-chip[aria-pressed="true"]::after { top: -7px; right: -7px; box-shadow: 0 0 0 2px var(--bg); } }
:where(body.site) .time-chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); box-shadow: 0 8px 20px rgba(216, 168, 72, .3); }
:where(body.site) .time-chip[aria-pressed="true"] .tc-price, :where(body.site) .time-chip[aria-pressed="true"] .tc-pp { color: var(--on-gold-2); }
:where(body.site) .time-chip[aria-pressed="true"]::after, :where(body.site) .court-row[aria-pressed="true"]::after {
  content: '✓'; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--on-gold); color: var(--gold-hi); font-size: .72rem; font-weight: 900;
}
@media (max-width: 519px) { :where(body.site) .time-chip[aria-pressed="true"]::after { top: -7px; right: -7px; box-shadow: 0 0 0 2px var(--bg); } } /* va después de la regla base: antes quedaba pisada y la marca ✓ tapaba el último dígito de la hora */
/* Canchas */
:where(body.site) .court-list { display: grid; gap: 10px; }
@media (min-width: 640px) { :where(body.site) .court-list { grid-template-columns: 1fr 1fr; } }
:where(body.site) .court-row {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 84px; margin: 0;
  padding: 14px 16px; border-radius: 16px; border: 1px solid var(--hair); background: var(--raise); color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  transition: background .15s, border-color .15s;
}
:where(body.site) .court-row:hover { border-color: var(--line-strong); }
:where(body.site) .court-row[aria-pressed="true"] { border-color: var(--gold); background: linear-gradient(180deg, rgba(216, 168, 72, .2), rgba(216, 168, 72, .07)); box-shadow: 0 0 0 1px var(--gold) inset; }
:where(body.site) .court-row[aria-pressed="true"]::after { background: var(--gold); color: var(--on-gold); }
:where(body.site) .cr-main { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
:where(body.site) .cr-name { font: 900 1.45rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; overflow-wrap: anywhere; }
:where(body.site) .cr-kind { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; border: 1px solid; }
:where(body.site) .cr-kind.indoor { color: var(--blue-ink); border-color: color-mix(in srgb, var(--blue-ink) 45%, transparent); background: color-mix(in srgb, var(--blue-ink) 12%, transparent); }
:where(body.site) .cr-kind.outdoor { color: var(--green-ink); border-color: color-mix(in srgb, var(--green-ink) 45%, transparent); background: color-mix(in srgb, var(--green-ink) 10%, transparent); }
:where(body.site) .cr-money { display: flex; flex-direction: column; align-items: flex-end; text-align: right; margin-right: 18px; flex: none; }
:where(body.site) .cr-pp { font: 900 1.35rem/1 var(--display); color: var(--accent); }
:where(body.site) .cr-pp small { font: 400 .62rem/1 var(--mono); letter-spacing: .08em; color: var(--sub); margin-left: 2px; }
:where(body.site) .cr-price { margin-top: 4px; font-size: .76rem; font-weight: 700; color: var(--sub); }
/* Sin horarios / sin canchas */
:where(body.site) .wizard-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; padding: 22px 14px; border-radius: 14px; border: 1px dashed var(--line); background: var(--raise); text-align: center; color: var(--sub); }
:where(body.site) .wizard-empty b { font: 900 1.4rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
:where(body.site) .wizard-empty .we-ic { font-size: 1.6rem; line-height: 1; }
:where(body.site) .wizard-empty a { color: var(--accent); font-weight: 800; }
/* Esqueletos mientras HTMX trae las horas o las canchas */
:where(body.site) #step-times.htmx-request > :not(.step-head), :where(body.site) #step-courts.htmx-request > * { display: none; }
:where(body.site) #step-times.htmx-request::after, :where(body.site) #step-courts.htmx-request::after {
  content: ''; display: block; height: 146px; border-radius: 14px;
  background:
    linear-gradient(90deg, transparent 0, rgba(var(--ink-rgb), .1) 50%, transparent 100%) -60% 0 / 40% 100% no-repeat,
    repeating-linear-gradient(90deg, rgba(var(--ink-rgb), .07) 0 calc(33.33% - 6px), transparent calc(33.33% - 6px) 33.33%);
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 66px, transparent 66px 80px); mask: repeating-linear-gradient(180deg, #000 0 66px, transparent 66px 80px);
  animation: sk-shine 1.1s linear infinite;
}
:where(body.site) #step-courts.htmx-request { margin-top: 14px; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--surface-2)); }
:where(body.site) #step-courts.htmx-request::after { height: 84px; -webkit-mask: none; mask: none; background:
  linear-gradient(90deg, transparent 0, rgba(var(--ink-rgb), .1) 50%, transparent 100%) -60% 0 / 40% 100% no-repeat, rgba(var(--ink-rgb), .07); }
@keyframes sk-shine { to { background-position: 160% 0, 0 0; } }
/* Barra fija de resumen: día · hora · duración · cancha, total y «Continuar» */
.book-bar { display: none; }
.book-bar:not([hidden]) {
  display: flex; justify-content: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); pointer-events: none;
}
.book-bar .bb-in {
  pointer-events: auto; width: 100%; max-width: 760px; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px;
  border-radius: 18px; background: #0b2016; border: 1px solid rgba(216, 168, 72, .5); color: var(--ink); box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
  font-family: var(--sans);
}
.book-bar .bb-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.book-bar .bb-line { font-size: .8rem; font-weight: 700; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.book-bar .bb-line::first-letter { text-transform: uppercase; }
.book-bar .bb-money { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.book-bar .bb-money strong { font: 900 1.6rem/1 var(--display); color: var(--gold-hi); }
.book-bar .bb-money small { font-size: .74rem; color: var(--sub); }
.book-bar .bb-go {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 14px;
  background: var(--gold); color: var(--on-gold); font: 900 1.25rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.book-bar .bb-go:hover { filter: brightness(1.07); }
.book-bar .bb-go:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.book-bar .bb-go[disabled] { opacity: .45; cursor: not-allowed; filter: none; }
body.site.bar-on { padding-bottom: 104px; }

/* ── Resumen y resultado de la reserva ── */
:where(body.site) .ticket { position: relative; display: grid; gap: 6px; margin: 4px 0 14px; padding: 16px; border-radius: 16px; border: 1px dashed var(--line-strong); background: linear-gradient(135deg, rgba(216, 168, 72, .16), rgba(216, 168, 72, .03)); }
:where(body.site) .ticket-court { font: 900 1.9rem/.95 var(--display); text-transform: uppercase; letter-spacing: .02em; }
:where(body.site) .ticket-court small { margin-left: 6px; font: 800 .74rem/1 var(--sans); text-transform: none; letter-spacing: 0; color: var(--sub); }
:where(body.site) .ticket-when { font-weight: 800; color: var(--ink); }
:where(body.site) .ticket-when::first-letter { text-transform: uppercase; }
:where(body.site) .confirm-detail { margin: 0 0 12px; }
:where(body.site) .cd-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: .94rem; }
:where(body.site) .cd-row span { color: var(--sub); }
:where(body.site) .cd-row strong { text-align: right; overflow-wrap: anywhere; }
:where(body.site) .cd-row.total strong { font: 900 1.8rem/1 var(--display); color: var(--accent); }
:where(body.site) .cd-row.pp-row { font-size: .86rem; }
:where(body.site) .pay-opt { display: flex; align-items: flex-start; gap: 12px; margin: 8px 0 0; padding: 14px; min-height: 56px; border-radius: 14px; border: 1px solid var(--hair); background: var(--raise); cursor: pointer; transition: border-color .15s, background .15s; }
:where(body.site) .pay-opt:hover { border-color: var(--line-strong); }
:where(body.site) .pay-opt:has(input:checked) { border-color: var(--gold); background: rgba(216, 168, 72, .12); }
:where(body.site) .pay-opt input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
:where(body.site) .pay-opt div { display: flex; flex-direction: column; gap: 2px; }
:where(body.site) .pay-opt span { font-size: .84rem; color: var(--sub); }
:where(body.site) .policy-box { margin: 14px 0; padding: 14px; border-radius: 14px; border: 1px solid var(--hair); border-left: 4px solid var(--green); background: var(--raise); }
:where(body.site) .policy-box.late { border-left-color: var(--red); }
:where(body.site) .policy-box p { margin: 4px 0 10px; font-size: .9rem; line-height: 1.45; color: var(--sub); }
:where(body.site) .ack-row { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 800; font-size: .92rem; }
:where(body.site) .ack-row input { width: 22px; height: 22px; flex: none; }
:where(body.site) .multi-box { margin: 14px 0; padding: 4px 14px 10px; border-radius: 14px; border: 1px solid var(--hair); background: var(--raise); }
:where(body.site) .multi-box summary { cursor: pointer; font-weight: 800; font-size: .95rem; min-height: 44px; display: flex; align-items: center; }
:where(body.site) .multi-row { font-weight: 600; }
:where(body.site) .multi-item { border-bottom: 1px solid var(--hair); }
:where(body.site) .wa-note, :where(body.site) .policy-note { font-size: .84rem; color: var(--sub); margin: 10px 0; }
:where(body.site) .confirm-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
@media (min-width: 480px) { :where(body.site) .confirm-actions { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
:where(body.site) .confirm-actions.stack { grid-template-columns: 1fr; }
:where(body.site) .result-ok { text-align: center; }
:where(body.site) .result-ic { width: 72px; height: 72px; margin: 4px auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; background: rgba(216, 168, 72, .14); border: 1px solid var(--line-strong); }
:where(body.site) .result-ic.ok { background: rgba(37, 211, 102, .14); border-color: rgba(37, 211, 102, .55); }
:where(body.site) .result-title { margin: 0 0 6px; font: 900 clamp(1.9rem, 8vw, 2.6rem)/.95 var(--display); text-transform: uppercase; }
:where(body.site) .result-lines { margin: 0 0 10px; color: var(--sub); }
:where(body.site) .res-code, :where(body.site) .code-chip { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0; padding: 8px 14px; border-radius: 12px; border: 1px dashed var(--line-strong); background: var(--raise); font-size: .86rem; color: var(--sub); }
:where(body.site) .res-code strong, :where(body.site) .code-chip strong { font-family: var(--mono); font-size: 1.1rem; letter-spacing: .18em; color: var(--accent); }
:where(body.site) .elig-actions { margin-top: 12px; }
/* Plazo para confirmar */
:where(body.site) .hold-line { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: var(--raise); border: 1px solid var(--hair); font-size: .92rem; line-height: 1.45; }
:where(body.site) .hold-line .countdown, :where(body.site) strong.countdown { display: inline; margin: 0; padding: 0; border: 0; background: none; font-family: var(--mono); font-size: 1.05rem; color: var(--accent); }
:where(body.site) .countdown.urgent { color: var(--red-ink) !important; }
:where(body.site) .btn-copy { margin-top: 6px; }
/* Confirmar por WhatsApp */
:where(body.site) .wa-code-box { text-align: center; margin: 14px 0; padding: 16px; border: 1px dashed var(--line-strong); border-radius: 16px; background: var(--raise); }
:where(body.site) .wa-code-label { font: 400 .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
:where(body.site) .wa-code { margin-top: 6px; font: 900 2.8rem/1 var(--display); letter-spacing: .22em; padding-left: .22em; color: var(--ink); user-select: all; }
:where(body.site) .wa-code-sub { margin-top: 6px; font-size: .86rem; color: var(--sub); }
:where(body.site) .btn-wa-big { min-height: 58px; font-size: 1.15rem; margin: 6px 0 12px; }
:where(body.site) .steps-mini { margin: 0 0 14px; padding-left: 1.2rem; font-size: .9rem; line-height: 1.6; color: var(--sub); }
:where(body.site) .no-wa { margin-top: 16px; border-top: 1px solid var(--hair); padding-top: 12px; }
:where(body.site) .no-wa summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--sub); font-weight: 700; text-decoration: underline; }
:where(body.site) .no-wa > div { margin-top: 8px; }
:where(body.site) .code-input { max-width: 13rem; font-family: var(--mono) !important; font-size: 1.4rem !important; letter-spacing: .35em; text-align: center; margin-bottom: 10px; }
:where(body.site) .email-code-form { display: grid; gap: 6px; justify-items: start; }
:where(body.site) .spinner { display: inline-block; width: .9em; height: .9em; border: 2px solid var(--hair-strong); border-top-color: var(--gold); border-radius: 50%; animation: web-spin .9s linear infinite; vertical-align: -.12em; margin-right: .35em; }
@keyframes web-spin { to { transform: rotate(360deg); } }
/* Enlace de ingreso de un solo uso: el aviso «Si no entra, toca Entrar» (vacío no ocupa espacio). */
:where(body.site) .enlace-status { margin: 12px 0 0; font-weight: 700; color: var(--sub); }
:where(body.site) .enlace-status:empty { display: none; }
@media (prefers-reduced-motion: reduce) { :where(body.site) .spinner { animation: none; border-top-color: var(--gold); border-right-color: var(--gold); } }

/* ═════════════ Mi cuenta (/mi-cuenta) ═════════════ */
:where(body.site) .acct-hero { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 4px 0 16px; }
:where(body.site) .acct-hero .acct-who { flex: 1 1 200px; min-width: 0; }
:where(body.site) .acct-hero h1 { margin: 2px 0 2px; font-weight: 900; font-size: clamp(2rem, 9vw, 2.9rem); line-height: .92; text-transform: uppercase; overflow-wrap: anywhere; }
:where(body.site) .acct-hero p { margin: 0; color: var(--sub); font-size: .92rem; }
:where(body.site) .acct-hero p a { color: var(--accent); font-weight: 800; }
:where(body.site) .acct-hero .btn { flex: 1 1 100%; }
@media (min-width: 560px) { :where(body.site) .acct-hero .btn { flex: 0 0 auto; width: auto; padding: 0 22px; } }
:where(body.site) .acct-pic { display: inline-flex; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); text-decoration: none; }
:where(body.site) .verify-card { border-color: rgba(37, 211, 102, .45); }
:where(body.site) .res-notice { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: .92rem; line-height: 1.45; background: rgba(216, 168, 72, .1); }
:where(body.site) .res-notice.ok { border-color: rgba(37, 211, 102, .5); background: rgba(37, 211, 102, .1); color: var(--green-ink); }
:where(body.site) .res-notice.warn { color: var(--ink); }
:where(body.site) .flash-wrap .flash-next { margin-top: .6rem; }
:where(body.site) .hint-login { margin-top: .35rem; }
:where(body.site) .res-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 14px; border-radius: 14px; border: 1px dashed var(--line); background: var(--raise); text-align: center; color: var(--sub); }
:where(body.site) .res-empty b { font: 900 1.4rem/1 var(--display); text-transform: uppercase; color: var(--ink); }
:where(body.site) .res-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
:where(body.site) .res-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; border: 1px solid var(--hair); background: var(--raise); min-width: 0; }
:where(body.site) .rc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
:where(body.site) .rc-date { font: 900 1.5rem/.95 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
:where(body.site) .rc-time { margin-top: 4px; font-size: .88rem; font-weight: 700; color: var(--sub); }
:where(body.site) .res-badge { flex: none; padding: 4px 10px; border-radius: 999px; font: 800 .72rem/1.2 var(--sans); border: 1px solid; white-space: normal; text-align: center; max-width: 50%; }
:where(body.site) .res-badge.confirmed { color: var(--green-ink); border-color: rgba(37, 211, 102, .5); background: rgba(37, 211, 102, .12); }
:where(body.site) .res-badge.pending { color: var(--accent); border-color: var(--line-strong); background: rgba(216, 168, 72, .12); }
:where(body.site) .rc-money { font-size: .95rem; }
:where(body.site) .rc-money strong { font: 900 1.3rem/1 var(--display); color: var(--accent); }
:where(body.site) .rc-code { font-size: .82rem; color: var(--sub); }
:where(body.site) .rc-code strong { font-family: var(--mono); letter-spacing: .12em; color: var(--ink); }
:where(body.site) .rc-desc { font-size: .92rem; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
:where(body.site) .rc-desc-edit summary { min-height: 40px; display: flex; align-items: center; cursor: pointer; font-size: .84rem; font-weight: 700; color: var(--accent); }
:where(body.site) .rc-desc-form { display: flex; gap: 8px; margin-top: 4px; }
:where(body.site) .rc-desc-form input { flex: 1 1 auto; min-width: 0; }
:where(body.site) .rc-desc-form .btn { width: auto; flex: none; }
:where(body.site) .rc-desc-hint { font-size: .75rem; margin: 4px 0 0; }
:where(body.site) .rc-policy { font-size: .82rem; line-height: 1.4; color: var(--sub); }
:where(body.site) .rc-policy a { color: var(--accent); font-weight: 800; }
:where(body.site) .rc-policy.late { color: var(--red-ink); font-weight: 700; }
:where(body.site) .rc-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 4px; }
:where(body.site) .rc-actions .btn { min-height: 44px; font-size: .86rem; padding: .5rem .7rem; border-radius: 12px; }

/* ═════════════ Ingresar, crear cuenta y claves ═════════════ */
:where(body.site) .auth { display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
:where(body.site) .auth-card { position: relative; width: 100%; max-width: 440px; padding: 22px 18px 18px; border-radius: var(--r-xl); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow); overflow: hidden; }
:where(body.site) .auth-card::before { content: ''; position: absolute; top: -70px; right: -70px; width: 200px; height: 200px; border-radius: 36px; transform: rotate(18deg); background: linear-gradient(135deg, rgba(216, 168, 72, .22), rgba(216, 168, 72, 0)); pointer-events: none; }
@media (min-width: 520px) { :where(body.site) .auth-card { padding: 28px 28px 22px; } }
:where(body.site) .auth-head { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0 0 16px; }
:where(body.site) .auth-head img { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 8px; box-shadow: 0 0 0 1px var(--line-strong); }
:where(body.site) .auth-head h1 { margin: 2px 0 0; font-weight: 900; font-size: clamp(2.2rem, 10vw, 2.9rem); line-height: .9; text-transform: uppercase; }
:where(body.site) .auth-card form { position: relative; display: flex; flex-direction: column; gap: 6px; }
:where(body.site) .auth-card form > label:not(.consent) { margin-top: 6px; }
:where(body.site) .auth-card .btn { margin-top: 12px; }
:where(body.site) .auth-alt { margin: 12px 0 0; font-size: .9rem; color: var(--sub); text-align: center; }
:where(body.site) .auth-alt a { color: var(--accent); font-weight: 800; }
:where(body.site) .consent { display: flex; gap: .6rem; align-items: flex-start; margin-top: 10px; font-size: .84rem; line-height: 1.45; color: var(--sub); }
:where(body.site) .consent input { width: 22px; height: 22px; flex: none; margin: 0; }
:where(body.site) .consent a { color: var(--accent); text-decoration: underline; }
:where(body.site) .wa-hint { display: flex; gap: 12px; margin: 8px 0; padding: 14px; border-radius: 14px; border: 1px solid rgba(37, 211, 102, .45); background: rgba(37, 211, 102, .08); }
:where(body.site) .wa-hint-ico { font-size: 1.4rem; line-height: 1; }
:where(body.site) .wa-hint-body { min-width: 0; font-size: .88rem; color: var(--sub); }
:where(body.site) .wa-hint-body strong { color: var(--ink); }
:where(body.site) .wa-hint-body p { margin: 4px 0 8px; }
:where(body.site) .wa-hint-body .btn { margin-top: 4px; }

/* ═════════════ Textos legales ═════════════ */
:where(body.site) .legal { line-height: 1.7; }
:where(body.site) .legal h1 { font-weight: 900; font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: .92; text-transform: uppercase; }
:where(body.site) .legal h2 { margin: 26px 0 8px; }
:where(body.site) .legal p, :where(body.site) .legal li { font-size: .98rem; color: var(--ink); }
:where(body.site) .legal ul { padding-left: 1.2rem; }
:where(body.site) .legal a { color: var(--accent); text-decoration: underline; }
:where(body.site) .legal .upd { margin: 0 0 18px; font: 400 .7rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sub); }

/* ═════════════ Página suelta (404, error, cómo llegar) ═════════════ */
:where(body.site) .lone { width: 100%; max-width: 460px; margin: 6vh auto 0; text-align: center; }
:where(body.site) .lone .result-ic { font-size: 2.2rem; }
:where(body.site) .lone h1 { font-weight: 900; font-size: clamp(2.2rem, 10vw, 3rem); line-height: .92; text-transform: uppercase; }
:where(body.site) .lone .btn + .btn { margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
  :where(body.site) *, :where(body.site) *::before, :where(body.site) *::after, .site-head *, .wa-float { animation: none !important; transition: none !important; }
}

.step-n .ic { width: 16px; height: 16px; vertical-align: 0; }
:where(body.site) .wizard-empty .we-ic .ic { width: 32px; height: 32px; color: var(--gold); }
.pay-opt strong .ic, .cr-kind .ic, .wa-note .ic { width: 1.1em; height: 1.1em; }
.site-foot-wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 14px; background: #25d366; color: #05220f; font-weight: 800; text-decoration: none; justify-self: start; }
.site-foot-wa .ic { width: 22px; height: 22px; }
.site-foot-wa.site-foot-save { background: transparent; color: inherit; border: 1.5px solid currentColor; font-weight: 700; }

:where(body.site) .res-section { font-size: 1.05rem; margin: 20px 0 10px; }
:where(body.site) .rc-kind { margin: 6px 0; }

/* Resultado de una acción web (sumarme, avisarme, pedir bajarme, bajarse del americano): arriba de la tarjeta, fuera de la parte que se actualiza sola. */
:where(body.site) .flash-wrap { max-width: 980px; margin: 14px auto 0; padding: 0 16px; }
:where(body.site) .flash-wrap .res-notice { margin: 0; }
/* Un formulario de un solo botón dentro de la barra fija o de una fila: el botón se comporta como si estuviera suelto. */
:where(body.site) .cta-fixed form, :where(body.site) .col-b > form { display: contents; }

/* Americano en parejas: "¿Con quién juegas?" (con mi pareja: nombre y teléfono opcional; o voy solo). */
:where(body.site) .am-pair-form { display: grid; gap: .8rem; margin: 0 0 .5rem; }
:where(body.site) .am-pair-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .7rem; min-width: 0; }
:where(body.site) .am-pair-form legend { font-weight: 800; margin-bottom: .2rem; padding: 0; }
:where(body.site) .am-pair-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .92rem; }
:where(body.site) .am-pair-form label.opt { display: flex; align-items: center; gap: .55rem; min-height: 44px; }
:where(body.site) .am-pair-form input[type="text"], :where(body.site) .am-pair-form input[type="tel"] { min-height: 48px; padding: .6rem .85rem; border-radius: 12px; border: 1px solid var(--line); background: var(--raise); color: var(--ink); font: inherit; width: 100%; box-sizing: border-box; }

/* Reserva marcada por un enlace directo (/mi-cuenta?reserva=ID) o recién movida. */
:where(body.site) .res-card.hl { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold) inset, 0 8px 22px rgba(216, 168, 72, .18); scroll-margin-top: 90px; }
/* Pasos de "Mover reserva": las opciones son enlaces con la misma cara que los botones del asistente de reserva. */
:where(body.site) a.time-chip, :where(body.site) a.court-row { text-decoration: none; }

/* ═════════════ Páginas del club: /club, /clases, /sponsors, /cafeteria, /contacto ═════════════
   Tarjetas de profes y sponsors (antes solo vivían en web-extra.css / landing-pro.css, que no cargan estas páginas), hub y lista de contacto. */
:where(body.site) .cl-page { display: grid; gap: 14px; }
:where(body.site) .cl-lead { margin: 0; color: var(--sub); line-height: 1.5; }
:where(body.site) .cl-cards { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
:where(body.site) .cl-card { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; }
:where(body.site) .cl-card:hover { border-color: var(--line-strong); }
:where(body.site) .cl-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
:where(body.site) .cl-card-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(216, 168, 72, .14); border: 1px solid var(--line); color: var(--accent); }
:where(body.site) .cl-card-ic .ic { width: 24px; height: 24px; }
:where(body.site) .cl-card-tx { flex: 1; min-width: 0; }
:where(body.site) .cl-card-tx b { display: block; font-size: 1.05rem; line-height: 1.2; }
:where(body.site) .cl-card-tx span { display: block; margin-top: 2px; color: var(--sub); font-size: .88rem; line-height: 1.35; }
:where(body.site) .cl-card-go { flex: none; color: var(--accent); }
:where(body.site) .cl-sec-h { margin: 8px 0 0; font-family: var(--display); font-size: 1.6rem; font-weight: 900; text-transform: uppercase; line-height: 1; }
:where(body.site) .cl-sec-sub { margin: 4px 0 0; color: var(--sub); font-size: .92rem; line-height: 1.45; }
:where(body.site) .cl-empty { padding: 22px 16px; text-align: center; border-radius: var(--r-lg); border: 1px dashed var(--line-strong); background: var(--raise); color: var(--sub); }
:where(body.site) .cl-empty b { display: block; color: var(--ink); margin-bottom: 4px; font-size: 1.05rem; }
:where(body.site) .cl-grid { display: grid; gap: 14px; }
:where(body.site) .cl-coach, :where(body.site) .cl-sponsor { margin: 0; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow-sm); overflow: hidden; }
:where(body.site) .cl-coach-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--raise); }
:where(body.site) .cl-coach-ph { display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 4rem; font-weight: 900; color: var(--gold); }
:where(body.site) .cl-coach-body { display: grid; gap: 6px; padding: 16px 16px 18px; }
:where(body.site) .cl-coach-body h3, :where(body.site) .cl-sponsor h3 { margin: 0; font-size: 1.2rem; }
:where(body.site) .cl-coach-head { margin: 0; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; color: var(--accent); }
:where(body.site) .cl-coach-body p.cl-desc, :where(body.site) .cl-sponsor p.cl-desc { margin: 2px 0 6px; color: var(--sub); font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-line; }
:where(body.site) .cl-acts { display: grid; gap: 8px; }
:where(body.site) .cl-prices { display: block; width: 100%; border-radius: var(--r); border: 1px solid var(--line); margin-top: 4px; }
:where(body.site) .cl-sponsor { display: grid; gap: 8px; padding: 18px 16px; text-align: center; justify-items: center; }
:where(body.site) .cl-logo { display: block; max-width: 100%; max-height: 96px; object-fit: contain; border-radius: 10px; }
:where(body.site) .cl-sponsor .cl-acts { width: 100%; }
:where(body.site) .cl-note { margin: 0; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--raise); color: var(--sub); font-size: .9rem; line-height: 1.45; }
:where(body.site) .cl-menu { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--raise); }
:where(body.site) .cl-ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
:where(body.site) .cl-ul li { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--hair); }
:where(body.site) .cl-ul li:last-child { border-bottom: 0; }
:where(body.site) .cl-ul .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--accent); }
:where(body.site) .cl-ul b { display: block; font-size: .78rem; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--label); font-weight: 400; }
:where(body.site) .cl-ul a { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
:where(body.site) .cl-ul span { min-width: 0; }
:where(body.site) .cl-hours { width: 100%; border-collapse: collapse; }
:where(body.site) .cl-hours th, :where(body.site) .cl-hours td { padding: 9px 0; border-bottom: 1px solid var(--hair); text-align: left; font-size: .95rem; }
:where(body.site) .cl-hours td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
:where(body.site) .cl-hours tr:last-child th, :where(body.site) .cl-hours tr:last-child td { border-bottom: 0; }
:where(body.site) .cl-hours tr.closed td { color: var(--faint); font-weight: 400; }
:where(body.site) .cl-btns { display: grid; gap: 10px; }
@media (min-width: 640px) { :where(body.site) .cl-acts.row { grid-template-columns: 1fr 1fr; } }

/* Cafetería: la carta en texto (tarjetas por categoría) y la imagen completa plegable */
:where(body.site) .page.narrow:has(.cl-carta) { max-width: 760px; }
:where(body.site) .cl-carta { margin: 0 0 14px; }
:where(body.site) .cl-carta-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
/* Escritorio: 2 columnas que se llenan hacia abajo (Cafés, Tés, Bebidas | Sándwich, Dulces), sin huecos entre tarjetas. */
@media (min-width: 640px) { :where(body.site) .cl-carta-grid { display: block; column-count: 2; column-gap: 12px; } :where(body.site) .cl-carta-card { break-inside: avoid; margin-bottom: 12px; } }
:where(body.site) .cl-carta-card { padding: 16px 16px 8px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow-sm); }
:where(body.site) .cl-carta-card h3 { margin: 0; font-family: var(--display); font-size: 1.3rem; font-weight: 900; text-transform: uppercase; line-height: 1.1; color: var(--accent); }
:where(body.site) .cl-carta-note { margin: 6px 0 0; padding: 6px 10px; border-radius: 8px; background: rgba(216, 168, 72, .14); color: var(--ink); font-size: .85rem; font-weight: 700; line-height: 1.3; }
:where(body.site) .cl-carta-ul { list-style: none; margin: 8px 0 0; padding: 0; }
:where(body.site) .cl-carta-ul li { display: flex; align-items: baseline; gap: 8px; min-height: 40px; padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: .98rem; line-height: 1.3; }
:where(body.site) .cl-carta-ul li:last-child { border-bottom: 0; }
:where(body.site) .cl-carta-ul .n { min-width: 0; overflow-wrap: anywhere; }
:where(body.site) .cl-carta-ul .dots { flex: 1; min-width: 12px; align-self: end; margin-bottom: .32em; border-bottom: 2px dotted var(--line-strong); }
:where(body.site) .cl-carta-ul .p { flex: none; font-variant-numeric: tabular-nums; font-weight: 800; }
:where(body.site) .cl-carta-tag { margin: 14px 0 0; text-align: center; color: var(--sub); font-style: italic; }
:where(body.site) .cl-carta-img { margin-top: 12px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
:where(body.site) .cl-carta-img > summary { cursor: pointer; padding: 14px 16px; min-height: 44px; font-weight: 800; color: var(--accent); }
:where(body.site) .cl-carta-img > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: var(--r-lg); }
:where(body.site) .cl-carta-img[open] > a { display: block; padding: 0 12px; }
:where(body.site) .cl-carta-img .hint { padding-bottom: 12px; }
:where(body.site) .gift-box { margin: 14px 0; padding: 14px; border-radius: 14px; border: 1px solid var(--hair); border-left: 4px solid var(--gold, #c9a227); background: var(--raise); }
:where(body.site) .gift-box p { margin: 4px 0 10px; font-size: .9rem; line-height: 1.45; color: var(--sub); }
:where(body.site) .gift-box .gift-sub { margin: 4px 0 0; font-size: .84rem; }
:where(body.site) .gift-note { margin: 10px 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--hair); background: var(--raise); font-size: .9rem; line-height: 1.45; text-align: left; }
:where(body.site) .res-alerts .rc-share { display: grid; gap: 4px; margin-top: 10px; font-size: .8rem; color: var(--sub); }
:where(body.site) .res-alerts .rc-share input { width: 100%; min-width: 0; box-sizing: border-box; min-height: 44px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--hair); background: var(--raise); color: inherit; font: inherit; }

/* Modo contingencia (_contingency_banner.ejs, _wafloat.ejs): la web pasa al frente cuando WhatsApp no sirve. */
.ct-banner { padding: .55rem 1rem; text-align: center; font: 700 .88rem/1.35 'Manrope', 'Inter', system-ui, sans-serif; background: #3a2a07; color: #f6e7bd; border-bottom: 1px solid rgba(240, 192, 96, .5); }
.ct-banner a { color: #f0c060; text-decoration: underline; }
.wa-float-call { bottom: 82px; }
body.bar-on .wa-float-call { bottom: 170px; }

/* Cartel de apertura escalonada de reservas (views/public/_gate_banner.ejs). */
:where(body.site) .gate-banner { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong, var(--line)); background: rgba(216, 168, 72, .12); color: var(--ink); }
:where(body.site) .gate-banner .gate-ic { font-size: 1.5rem; line-height: 1; flex: none; }
:where(body.site) .gate-banner .gate-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
:where(body.site) .gate-banner b { font-weight: 800; font-size: 1rem; line-height: 1.3; }
:where(body.site) .gate-banner span { font-size: .92rem; line-height: 1.45; color: var(--sub); }
:where(body.site) .gate-banner .gate-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; }
:where(body.site) .gate-banner .gate-links a { color: var(--accent); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
:where(body.site) .day-chip.is-notyet { opacity: .5; }

/* Escenario D+: tarjeta «Te sumaste / Ya estás dentro» de una Alerta de Match o partido (con la lista y un botón grande para compartir el enlace por WhatsApp). */
:where(body.site) .joined-card { margin: 10px 0 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(37, 211, 102, .5); background: rgba(37, 211, 102, .1); }
:where(body.site) .joined-card .joined-title { margin: 0 0 4px; font-size: 1.15rem; color: var(--green-ink); }
:where(body.site) .joined-card .joined-sub { margin: 0; font-weight: 600; color: var(--ink); }
:where(body.site) .joined-card .joined-roster { margin: 4px 0 0; font-size: .9rem; color: var(--ink); opacity: .85; overflow-wrap: anywhere; }
:where(body.site) .joined-card .joined-share { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 52px; margin-top: 12px; font-size: 1.05rem; font-weight: 700; box-sizing: border-box; }
:where(body.site) .joined-card .joined-hint { margin: 8px 0 0; font-size: .8rem; opacity: .75; }

/* Alerta de Match con CANCHA RETENIDA (/p/CODIGO): qué cancha, hasta cuándo y, para quien la armó, «Extender +1 h» y «Liberar la cancha». */
:where(body.site) .hold-box { margin: 10px 0 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); border-left: 4px solid var(--gold); background: var(--raise, rgba(216, 168, 72, .08)); }
:where(body.site) .hold-box .hold-t { margin: 0; font-size: 1.02rem; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
:where(body.site) .hold-box .hold-s { margin: 4px 0 0; font-size: .88rem; line-height: 1.45; color: var(--sub); }
:where(body.site) .hold-box .hold-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
:where(body.site) .hold-box .hold-acts form { margin: 0; flex: 1 1 160px; }
:where(body.site) .hold-box .hold-acts .btn { width: 100%; min-height: 44px; box-sizing: border-box; }

/* «Invita a tus amigos» (solo el titular de la reserva): su enlace de invitación privado, seleccionable y listo para copiar o compartir. */
:where(body.site) .host-invite { margin: 0 0 1rem; }
:where(body.site) .host-invite-url { display: block; margin: .45rem 0 .6rem; padding: .5rem .65rem; border-radius: 8px; background: rgba(var(--ink-rgb), .08); font-size: .78rem; overflow-wrap: anywhere; user-select: all; }

/* Los dos números de WhatsApp (_wa_dos.ejs): chatbot de reservas automáticas y turno atendido por una persona. Apilados en celular, lado a lado desde 640 px. */
.wa2 { margin: 18px 0 14px; }
.wa2-h { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1.15rem; }
.wa2-h .ic { width: 22px; height: 22px; color: var(--accent); flex: none; }
.wa2-lead { margin: 0 0 12px; color: var(--sub); font-size: .95rem; line-height: 1.45; }
.wa2-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .wa2:not(.wa2-solo) .wa2-grid { grid-template-columns: 1fr 1fr; } .wa2:not(.wa2-solo) .wa2-kicker { min-height: 2.6em; } }
.wa2-card { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 16px; border-radius: var(--r-lg, 18px); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow-sm); }
.wa2-bot { border-top: 4px solid #25d366; }
.wa2-turno { border-top: 4px solid var(--gold, #d8a848); }
.wa2-kicker { margin: 0; font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--label); } .wa2-kicker .ic { width: 1.1em; height: 1.1em; vertical-align: -.2em; margin-right: .25em; }
.wa2-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.2; }
.wa2-num { display: flex; align-items: center; min-height: 44px; font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.wa2-num:hover { text-decoration: underline; }
.wa2-num:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.wa2-tx { margin: 2px 0 8px; color: var(--sub); font-size: .94rem; line-height: 1.5; }
.wa2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 6px 14px; border-radius: 14px; font-weight: 800; font-size: .94rem; line-height: 1.2; text-decoration: none; text-align: center; align-self: end; }
.wa2-btn .ic { width: 22px; height: 22px; flex: none; }
.wa2-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wa2-btn-bot { background: #25d366; color: #05220f; }
.wa2-btn-turno { background: var(--gold, #d8a848); color: var(--on-gold, #2a1d00); }

/* ═════════════ Reservar: panel «Tu reserva», pasos que se pliegan y marca «mixta» ═════════════ */
:where(body.site) .bk-cols { display: block; }
:where(body.site) .bk-panel { display: none; }
/* Pasos «Día» y «Tiempo de juego»: lo elegido queda a la derecha del título; plegados, solo se ve el título y «Cambiar». */
:where(body.site) .step-sum { text-transform: none; letter-spacing: 0; color: var(--accent); font-weight: 800; }
:where(body.site) .step-sum:empty { display: none; }
:where(body.site) .wizard-step.is-collapsed .step-body { display: none; }
:where(body.site) .wizard-step.is-collapsed .step-head { margin-bottom: 0; cursor: pointer; }
:where(body.site) .wizard-step.is-collapsed .step-sum::after { content: ' · Cambiar'; color: var(--label); font-weight: 700; }
:where(body.site) .wizard-step [data-step-head]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
/* Hora que cruza de tarifa: el precio es proporcional al tiempo en cada tramo */
:where(body.site) .tc-mix { display: inline-block; margin-top: 3px; padding: 1px 7px; border-radius: 99px; border: 1px solid var(--gold); color: var(--accent); font: 800 .58rem/1.5 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
:where(body.site) .mix-hint { margin: 10px 0 0; }

@media (min-width: 1000px) {
  :where(body.site) .page.bk { max-width: 1120px; }
  :where(body.site) .bk-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
  :where(body.site) .bk-cols:has(.bk-panel[hidden]) { grid-template-columns: minmax(0, 1fr); }
  :where(body.site) .bk-panel {
    display: block; position: sticky; top: 92px; margin-top: 14px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow-sm);
  }
  :where(body.site) .bk-panel[hidden] { display: none; }
  /* En pantallas grandes el resumen vive en el panel: la barra fija de abajo no se usa. */
  .book-bar, .book-bar:not([hidden]) { display: none; }
  body.site.bar-on { padding-bottom: 0; }
  body.bar-on .wa-float { bottom: 24px; }
  :where(body.site) .wizard-step .step-body { display: block; }
  :where(body.site) .wizard-step.is-collapsed .step-body { display: block; }
  :where(body.site) .wizard-step.is-collapsed .step-sum::after { content: none; }
}
:where(body.site) .bkp-title { margin: 0 0 14px; font: 900 1.7rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
:where(body.site) .bkp-empty { display: grid; justify-items: center; gap: 8px; padding: 22px 8px 26px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r); color: var(--sub); }
:where(body.site) .bkp-empty .ic { width: 64px; height: 64px; color: var(--accent); }
:where(body.site) .bkp-empty b { color: var(--ink); font-size: 1rem; }
:where(body.site) .bkp-empty span { font-size: .88rem; }
:where(body.site) .bkp-rows { margin: 0; }
:where(body.site) .bkp-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
:where(body.site) .bkp-rows dt { font: 400 .72rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
:where(body.site) .bkp-rows dd { margin: 0; text-align: right; font-weight: 800; overflow-wrap: anywhere; }
:where(body.site) .bkp-rows dd::first-letter { text-transform: uppercase; }
:where(body.site) .bkp-money { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding: 14px 0 4px; }
:where(body.site) .bkp-money strong { font: 900 2.2rem/1 var(--display); color: var(--accent); }
:where(body.site) .bkp-money small { font-size: .82rem; color: var(--sub); }
:where(body.site) .bkp-mix { flex-basis: 100%; margin: 6px 0 0; font-size: .8rem; color: var(--sub); }
:where(body.site) .bkp-go {
  width: 100%; margin-top: 14px; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--gold); color: var(--on-gold); font: 900 1.3rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
}
:where(body.site) .bkp-go:hover { filter: brightness(1.07); }
:where(body.site) .bkp-go:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
:where(body.site) .bkp-go[disabled] { opacity: .45; cursor: not-allowed; filter: none; }
/* El atributo hidden manda sobre el display de estas piezas del panel y de la marca */
:where(body.site) .bkp-empty[hidden], :where(body.site) .bkp-rows[hidden], :where(body.site) .bkp-money[hidden], :where(body.site) .bkp-mix[hidden] { display: none !important; }
:where(body.site) .time-chip[aria-pressed="true"] .tc-mix { color: var(--on-gold); border-color: var(--on-gold-2); }
/* Lo elegido (hora, día, duración) se pinta de golpe: el texto pasa a oscuro al instante, y si el fondo dorado llegaba con transición se veía «oscuro sobre oscuro» mientras la página
   estaba ocupada cargando las canchas. */
:where(body.site) .time-chip[aria-pressed="true"], :where(body.site) .day-chip.on, :where(body.site) .dur-chip.on { transition: none; }
