/* Gestiona tu club — Piezas propias de pantallas: agenda, caja, web del club, directorio y animación de entrada
   Orden de carga: app.css (estructura) → tokens → base → componentes → pantallas */

/* ---------------------------------------------------------------------
   10) PIEZAS PROPIAS (agenda, caja, web del club, directorio)
   --------------------------------------------------------------------- */
.deps-web{margin-bottom:.7rem}
.a-cancha small{display:block;font-size:.66rem;color:var(--muted);font-weight:600}
.a-hora small{color:inherit;opacity:.9}
.g-hora small{color:var(--muted)}
.cell-e{color:var(--muted)}
.leyenda span{color:var(--text)}
.caja-vivo{display:flex;gap:.3rem 1rem;flex-wrap:wrap;margin-top:.2rem}
.caja-vivo b{color:var(--text);font-weight:700}
.hero-datos span,.hero-sub{color:var(--muted)}
.dir-precio{color:var(--verde-txt)}
.dir-hora{background:var(--surface);border:1px solid var(--free-b)}
.dir-hora b{color:var(--verde-txt)}
.dir-hora small{color:var(--muted)}
html body .pso i,html body .blq-t i{background:var(--verde);color:#fff}
html body .pso:not(.act):not(.ok) i{background:var(--surface2);color:var(--text)}

/* ---------------------------------------------------------------------
   11) ANIMACIÓN DE ENTRADA: cancha de verdad
   --------------------------------------------------------------------- */
#intro{background:var(--bg)}
#intro::before,#intro::after{display:none}
#intro .intro-court{width:min(74vw,20rem);filter:drop-shadow(0 10px 22px rgba(23,37,27,.22))}
#intro .intro-court .pista{fill:#2E9E5B;fill-opacity:0;stroke:#FFFFFF;stroke-width:2.6;
  animation:dibujar 1.1s cubic-bezier(.65,0,.35,1) .15s forwards,rellenarCancha .45s ease forwards}
#intro .intro-court .red,#intro .intro-court .postes{stroke:#FFFFFF;stroke-width:3;opacity:1}
#intro .intro-court .saque,#intro .intro-court .centro{stroke:#FFFFFF;stroke-width:2}
@keyframes rellenarCancha{to{fill-opacity:1}}
@keyframes dibujar{to{stroke-dashoffset:0}}
#intro .intro-ball{z-index:3;opacity:0;animation:picaCancha 1.7s cubic-bezier(.3,.9,.4,1) .8s forwards}
@keyframes picaCancha{0%{opacity:0;transform:translate(-50%,-160%)}22%{opacity:1;transform:translate(-50%,10%) scale(1,.82)}42%{opacity:1;transform:translate(-30%,-120%) scale(.96)}62%{opacity:1;transform:translate(-14%,10%) scale(1,.9)}78%{opacity:1;transform:translate(0,-55%)}100%{opacity:1;transform:translate(0,0)}}
.intro-marca b{color:var(--text)}
.intro-marca span{color:var(--muted)}
@media (prefers-reduced-motion:reduce){#intro .intro-ball{animation:none;opacity:1}}

/* ---------------------------------------------------------------------
   12) AJUSTES DE LA AUDITORÍA
   --------------------------------------------------------------------- */
/* encabezado del torneo: verde liso como el resto de los bloques destacados */
.pub-head{background:var(--verde);color:#fff;border:0}
.pub-head .pub-club,.pub-head .pub-meta,.pub-head h1{color:#fff;opacity:1}
/* filas de días que se desplazan de costado en vez de salirse */
.dir-dias,.chips.dias{overflow-x:auto;scrollbar-width:none;max-width:100%;box-sizing:border-box}
/* portada de la web del club y pie del directorio */
.hero{background-color:var(--surface);color:var(--text);border:1px solid var(--line)}
.hero h1,.hero b{color:var(--text)}
.hero-sub,.hero-datos span{color:var(--muted);opacity:1}
footer small,.pie small,.pie-col small,.marca-pie small{color:var(--muted);opacity:1}
html body .pub-head .badge{background:rgba(0,0,0,.22);color:#fff;border-color:transparent}

