@import url('fonts.css');
.login-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.login-actions .action { min-width: 0; width: 100%; }
.login-error { color: #ffd486; min-height: 1.5em; }
.action:disabled { cursor: wait; opacity: .7; }
.notice { position: fixed; z-index: 50; bottom: max(16px,env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); border: 3px solid #fff5d9; border-radius: 20px; background: #123c3a; color: #fff5d9; padding: 12px 28px; font: 24px 'Lilita One',sans-serif; box-shadow: 0 4px 0 #062744; }
.parents-main .empty { color: #45605f; font-size: 16px; }
.parents-main .stats-note { margin-top: 12px; color: #45605f; }
.loading { display: grid; place-content: center; min-height: 70vh; color: #fff5d9; font: 38px 'Lilita One',sans-serif; }
.shell[data-screen="entrada"] .header-actions { display: none; }
.heard-label { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 4px 8px; border: 0; background: transparent; color: inherit; font: inherit; text-shadow: inherit; cursor: pointer; }
.heard-label .icon { width: 26px; height: 26px; }
/* Six small terraces move as groups; the portraits and controls stay still. */
.crowd { grid-template-columns: repeat(6,minmax(0,1fr)); grid-template-rows: 1fr; align-items: center; overflow: visible; }
.stand { width: 100%; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); grid-template-rows: repeat(3,18px); align-items: end; justify-items: center; transform-origin: 50% 100%; animation: terrace-idle 2.4s ease-in-out infinite alternate; animation-delay: calc(var(--section)*-.38s); }
.fan { display: block; width: clamp(7px,1.5vw,18px); height: clamp(12px,1.8vw,22px); overflow: visible; }
@keyframes terrace-idle { from { transform: translateY(1px) rotate(-.4deg); } to { transform: translateY(-1px) rotate(.4deg); } }
.gol .cheer { animation: none; }
.gol .scored-ball { z-index: 6; transform-origin: center; will-change: transform; }
.goal-kick:not(.goal-hit) .cheer,
.goal-kick:not(.goal-hit) .confetti { opacity: 0; }
.goal-kick .keeper { z-index: 2; animation: dibu-dive .55s .35s cubic-bezier(.3,.1,.6,1) both; }
.goal-hit .net { z-index: 1; pointer-events: none; animation: net-ripple .65s ease-out both; transform-origin: 86% 80%; }
.goal-hit .net-goal { animation: goal-frame-flash .7s ease-out; }
.goal-hit .stand { animation: terrace-roar .34s ease-in-out 7; animation-delay: calc(var(--section)*.045s); }
.goal-hit .cheer { animation: goal-pop .55s cubic-bezier(.15,.7,.3,1.2) both; }
.goal-hit .scoreboard strong:first-of-type { animation: score-pop .5s ease-out; }
.goal-hit .confetti { opacity: 1; }
.goal-hit .confetti i { top: 0; animation: goal-confetti 1.7s ease-out both; animation-delay: calc(var(--i)*.035s); }
@keyframes dibu-dive { 0% { transform: translateX(-50%) rotate(0); } 35% { transform: translateX(-42%) translateY(-3px) rotate(3deg); } 100% { transform: translateX(-95%) translateY(9px) rotate(-17deg); } }
@keyframes net-ripple { 0% { transform: scale(1); opacity: 1; } 24% { transform: scale(1.08,1.12); opacity: .65; } 48% { transform: scale(.97,1.04); opacity: 1; } 74% { transform: scale(1.025,1.04); } 100% { transform: none; opacity: 1; } }
@keyframes goal-frame-flash { 0%,100% { border-color: var(--cream); box-shadow: none; } 30% { border-color: var(--gold); box-shadow: 0 0 0 5px #ffda4333,0 0 24px #ffda4380; } }
@keyframes terrace-roar { 0%,100% { transform: translateY(1px) rotate(-1deg); } 45% { transform: translateY(-8px) rotate(1.4deg) scaleY(1.09); } 70% { transform: translateY(-4px) rotate(.5deg); } }
@keyframes goal-pop { 0% { opacity: 0; transform: translateY(15px) scale(.62) rotate(-5deg); } 55% { opacity: 1; transform: translateY(-2px) scale(1.08) rotate(2deg); } 100% { opacity: 1; transform: none; } }
@keyframes score-pop { 0% { transform: scale(1); } 45% { transform: scale(1.3); color: #fff6d9; } 100% { transform: scale(1); color: var(--gold); } }
@keyframes goal-confetti { 0% { transform: translateY(-8px) rotate(0); opacity: 0; } 12% { opacity: 1; } 100% { transform: translateY(200px) rotate(260deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
 .stand,.goal-kick .keeper,.goal-hit .net,.goal-hit .net-goal,.goal-hit .cheer,.goal-hit .scoreboard strong,.goal-hit .confetti i { animation: none!important; }
 .goal-hit .confetti { display: none; }
}
.goal-hit .scored-ball { z-index: 0; }

/* Login uses the same boot artwork as the practice header. */
.shell[data-screen="entrada"] .entrance{padding-top:40px}
.intro-boots{display:flex;justify-content:center;margin-bottom:12px}
.intro-boots .brand-boots{display:block;width:116px;height:102px;stroke-width:2.5}
.intro-boots .brand-boots g{fill:#173e4a;stroke:#ff9a3c}
.shell[data-screen="entrada"] .login-actions{grid-template-columns:1fr}
.shell[data-screen="entrada"] .login-actions>.action{width:100%;justify-content:center}

#login-form .login-legal{font-size:12px;line-height:1.6;margin:0}
.login-legal a{color:#164e75;font-weight:800;text-underline-offset:3px}

#login-form .login-microphone-warning{font-size:14px;line-height:1.5;color:#713019;background:#ffeadc;border:1px solid #d89468;border-radius:10px;padding:12px;margin:0}
