/* Scorekeeper V4 — every visitor can score every player directly. */
#scores .sc4-stepbar{display:flex;align-items:center;justify-content:center;gap:7px;margin:7px 0 10px;color:var(--mute);font-size:12px}
#scores .sc4-stepbar.sc2-hidden{display:none!important}
#scores .sc4-stepbar span{margin-right:6px}
#scores .sc4-stepbar button{min-height:39px;min-width:54px;padding:6px 14px;border-radius:24px;background:var(--panel2);border:1px solid var(--line);color:var(--ink);font-weight:750}
#scores .sc4-stepbar button.sel{background:linear-gradient(120deg,#ddb56c36,transparent),var(--panel);border-color:var(--gold);box-shadow:inset 0 1px #ffffff1c;color:var(--gold)}
#scores .sc3-grid.sc3-many{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#scores .sc4-player{position:relative;min-width:0;isolation:isolate;border:1px solid var(--line);border-radius:13px;padding:10px 9px 9px 13px;background:var(--panel2);overflow:hidden}
#scores .sc4-player:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--player)}
#scores .sc4-player-top{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:38px;margin-bottom:6px}
#scores .sc4-player-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(12px,2.6vw,15px);font-weight:750;color:var(--ink)}
#scores .sc4-player-score{font:normal clamp(26px,5.5vw,35px)/1 Georgia,serif;font-variant-numeric:tabular-nums;color:var(--ink)}
#scores .sc4-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
#scores .sc4-score-btn{min-height:44px;border-radius:9px;touch-action:manipulation;border:1px solid #ffffff24;font-size:clamp(13px,3vw,18px);font-weight:800;box-shadow:inset 0 1px #ffffff30,0 2px 4px #0002;transition:filter .13s,transform .13s}
#scores .sc4-score-btn.pos{background:#e1b960;color:#251806}
#scores .sc4-score-btn.neg{background:#24556b;color:#f5faff}
#scores .sc4-score-btn:active{transform:scale(.92);filter:brightness(1.2)}
#scores .sc4-score-btn:focus-visible{outline:3px solid var(--player);outline-offset:2px}
#scores .sc4-eight .sc4-player{padding:8px 8px 8px 12px}
#scores .sc4-eight .sc4-player-top{min-height:30px;margin-bottom:4px}
#scores .sc4-eight .sc4-score-btn{min-height:44px;font-size:20px}
#scores .sc4-eight .sc4-actions{grid-template-columns:1fr 1fr;gap:5px}
#scores .sc4-player-score.glow,#scores .sc2-total.glow{animation:sc4ScoreGlow .28s ease-out both}
#scores .sc4-float{position:absolute;right:10px;top:20px;z-index:5;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:3px 7px;color:var(--player);font-weight:850;pointer-events:none;animation:sc4Float .65s ease-out both}
@keyframes sc4Float{from{opacity:1;transform:translateY(8px)}to{opacity:0;transform:translateY(-25px)}}
@keyframes sc4ScoreGlow{0%{text-shadow:0 0 15px var(--player);transform:scale(1.17)}100%{text-shadow:none;transform:scale(1)}}
@media(max-width:430px){
 #scores .sc4-player{padding:7px 6px 7px 11px}
 #scores .sc3-grid.sc3-many{gap:6px}
 #scores .sc4-player-top{min-height:31px;margin-bottom:4px}
 #scores .sc4-score-btn{min-height:43px}
 #scores .sc4-eight .sc4-player{padding:5px 5px 5px 10px}
 #scores .sc4-eight .sc4-player-top{min-height:26px;margin-bottom:3px}
 #scores .sc4-eight .sc4-score-btn{min-height:42px}
}
@media(max-width:350px){#scores .sc4-player-name{font-size:11px}#scores .sc4-player-score{font-size:25px}#scores .sc4-score-btn{font-size:13px}}
@media(prefers-reduced-motion:reduce){#scores .sc4-score-btn,#scores .sc4-float,#scores .sc4-player-score.glow{animation:none!important;transition:none!important}}
