/* /Components/Truco/TrucoScoreBoard.razor.rz.scp.css */
.traditional-scoreboard[b-zm9mkzsd1d]{position:relative;display:grid;grid-template-rows:auto 1fr;min-width:0;height:100%;padding:clamp(.7rem,2vw,1.25rem);overflow:hidden;border:1px solid color-mix(in srgb,var(--team-accent) 52%,#e8dfcc);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.065),transparent 45%),rgba(11,48,35,.72);box-shadow:inset 0 0 28px rgba(0,0,0,.2),0 8px 24px rgba(24,20,15,.16);color:#f4ecd9}
.traditional-scoreboard[b-zm9mkzsd1d]::before{content:"";position:absolute;inset:0;border-top:4px solid var(--team-accent);opacity:.8;pointer-events:none}
.scoreboard-heading[b-zm9mkzsd1d]{position:relative;z-index:1;text-align:center}.scoreboard-heading h2[b-zm9mkzsd1d]{margin:.2rem 0 0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.15rem,3vw,1.75rem);font-weight:600;letter-spacing:.01em}.stage-label[b-zm9mkzsd1d]{display:inline-block;color:#f4ecd9;font-size:.72rem;font-weight:850;letter-spacing:.18em;text-shadow:0 1px 2px #0008}
.tally-field[b-zm9mkzsd1d]{position:relative;display:grid;place-items:center;min-height:0;overflow:visible}.tally-row[b-zm9mkzsd1d],.malas-transition[b-zm9mkzsd1d]{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr));justify-items:center;align-items:center;height:100%;max-height:450px;width:auto;max-width:150px;aspect-ratio:1/3;gap:clamp(.05rem,.6vh,.35rem)}
.tally-square[b-zm9mkzsd1d]{display:block;width:100%;height:auto;max-height:100%;min-height:0;aspect-ratio:1;overflow:visible}.tally-stroke[b-zm9mkzsd1d],.malas-transition line[b-zm9mkzsd1d]{fill:none;stroke:#f4ecd9;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.tally-stroke.is-pending[b-zm9mkzsd1d]{stroke:#f4ecd9;opacity:.1}.tally-stroke.is-drawn[b-zm9mkzsd1d]{opacity:.96;filter:drop-shadow(0 1px 1px #0008);stroke-dasharray:none;stroke-dashoffset:0}.tally-stroke.is-new[b-zm9mkzsd1d]{stroke-dasharray:var(--stroke-length) var(--stroke-length);stroke-dashoffset:var(--stroke-length);animation:tally-draw-b-zm9mkzsd1d 200ms ease-out var(--stroke-delay) forwards}.tally-stroke.is-diagonal[b-zm9mkzsd1d]{stroke-width:8}.tally-stroke.is-diagonal.is-new[b-zm9mkzsd1d]{animation-duration:240ms}
.malas-transition[b-zm9mkzsd1d]{position:absolute;inset:0;z-index:2;margin:auto;padding:.2rem;background:#173f31;animation:malas-away-b-zm9mkzsd1d 520ms ease-in-out forwards}.malas-transition .tally-square[b-zm9mkzsd1d]{animation:completed-pulse-b-zm9mkzsd1d 180ms ease-out}.is-winner[b-zm9mkzsd1d]{animation:winner-settle-b-zm9mkzsd1d 420ms ease-out}.is-winner[b-zm9mkzsd1d]::after{content:"";position:absolute;inset:0;border:2px solid #b4573f;border-radius:inherit;pointer-events:none;animation:winner-ring-b-zm9mkzsd1d 620ms ease-out forwards}
.visually-hidden[b-zm9mkzsd1d]{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@keyframes tally-draw-b-zm9mkzsd1d{to{stroke-dashoffset:0}}@keyframes malas-away-b-zm9mkzsd1d{0%,34%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.96);visibility:hidden}}@keyframes completed-pulse-b-zm9mkzsd1d{50%{filter:drop-shadow(0 0 5px #f4ecd9)}}@keyframes winner-settle-b-zm9mkzsd1d{0%{transform:translateY(4px)}100%{transform:none}}@keyframes winner-ring-b-zm9mkzsd1d{from{opacity:.85}to{opacity:0}}
@media(max-width:600px){.traditional-scoreboard[b-zm9mkzsd1d]{padding:.45rem;border-radius:14px}.scoreboard-heading h2[b-zm9mkzsd1d]{font-size:1.05rem}.stage-label[b-zm9mkzsd1d]{font-size:.64rem}.tally-row[b-zm9mkzsd1d],.malas-transition[b-zm9mkzsd1d]{max-width:115px;max-height:345px;gap:0}.tally-stroke[b-zm9mkzsd1d],.malas-transition line[b-zm9mkzsd1d]{stroke-width:5.5}.tally-stroke.is-diagonal[b-zm9mkzsd1d]{stroke-width:6.5}}
@media(prefers-reduced-motion:reduce){.tally-stroke.is-new[b-zm9mkzsd1d],.malas-transition[b-zm9mkzsd1d],.malas-transition .tally-square[b-zm9mkzsd1d],.is-winner[b-zm9mkzsd1d],.is-winner[b-zm9mkzsd1d]::after{animation:none!important}.tally-stroke.is-new[b-zm9mkzsd1d]{stroke-dasharray:none;stroke-dashoffset:0}.malas-transition[b-zm9mkzsd1d]{display:none}}
