/* Exibição pública: mesmos tokens da aventura retrô, sem controles de pontuação. */
#score-screen{margin:0;border:0;border-radius:0;max-width:none;max-height:none;width:100%;height:100%;min-height:100dvh;padding:var(--space-5);background:var(--bg);color:var(--ink);overflow:auto}
dialog#score-screen:not([open]){display:none}
#score-screen[open],main#score-screen{display:flex;flex-direction:column;gap:var(--space-5)}
dialog#score-screen{position:fixed;inset:0;height:100dvh}
#score-screen:fullscreen{height:100dvh;background:var(--bg)}
.score-screen-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4);flex-wrap:wrap}
.score-screen-header h1{font:700 clamp(28px,4vw,56px)/1.2 var(--font-display);overflow-wrap:anywhere}
.score-screen-header>div{min-width:0}
.score-screen-actions{display:flex;gap:var(--space-3);flex-wrap:wrap}
.score-screen-status{font-size:var(--text-lg);color:var(--ink-soft)}
#score-screen[data-connected=false] .score-screen-status{color:var(--danger)}
.score-screen-grid{display:grid;grid-template-columns:1fr;gap:var(--space-5);flex:1;align-content:start}
.score-screen-card{display:flex;flex-direction:column;gap:var(--space-4);min-width:0;padding:var(--space-5);border:2px solid var(--frame);background:var(--surface);box-shadow:4px 4px 0 var(--shadow)}
.score-screen-card.leading{border-color:var(--gold)}
.score-screen-card-heading{display:flex;gap:var(--space-4);align-items:baseline}
.score-screen-card h2{font:700 clamp(24px,3vw,48px)/1.2 var(--font-display);min-width:0}
.score-screen-rank{color:var(--accent);font-size:var(--text-2xl);font-weight:800;flex:none}
.score-screen-members{display:flex;flex-wrap:wrap;gap:var(--space-4)}
.score-screen-members figure{margin:0;display:grid;justify-items:center;gap:var(--space-1);width:80px;min-width:0}
.score-screen-members img{width:80px;height:80px;object-fit:cover;border:2px solid var(--frame)}
.score-screen-members figcaption{font-size:var(--text-sm);text-align:center;overflow-wrap:anywhere;width:100%}
.score-screen-points{margin-top:auto;display:flex;align-items:baseline;flex-wrap:wrap;gap:var(--space-3);overflow-wrap:anywhere}
.score-screen-points strong{font:700 clamp(56px,8vw,140px)/1.1 var(--font-display);color:var(--accent);font-variant-numeric:tabular-nums;max-width:100%}
.score-screen-points span{font-size:var(--text-xl);overflow-wrap:anywhere}
.score-screen-help{font-size:var(--text-sm);color:var(--ink-soft)}
.score-screen-empty{font-size:var(--text-2xl)}
.score-tv-actions{margin-block:var(--space-4)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(min-width:760px){#score-screen{padding:var(--space-6)}.score-screen-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.score-screen-members figure{width:96px}.score-screen-members img{width:96px;height:96px}}
@media(min-width:1400px){#score-screen[data-count="2"] .score-screen-card{min-height:55vh}#score-screen[data-count="2"] .score-screen-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

#score-screen [hidden]{display:none!important}
