/* #152: the compact score strip (docs/design/no-scroll.html). Name and score, 4 a row (one row for up to 4 players),
   about 40 px high, under the turn card. The player whose turn it is has a yellow outline; "me" gets a blue dot after
   the score; a long name ends in an ellipsis; a player who left is dimmed. Same on every phone. */
.live-game-page .live-score-section{margin:10px 0 14px}
.live-game-page .live-score-heading{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 6px;font:800 .72rem var(--fl-display,inherit);letter-spacing:.08em;text-transform:uppercase;color:var(--fl-muted)}
.live-game-page .live-score-heading b{color:var(--fl-muted);font:inherit}
.live-game-page .live-score-heading span{font:inherit;font-size:inherit;color:var(--fl-muted)}
.score-strip{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:5px;margin:0}
.sc-cell{position:relative;min-height:40px;min-width:0;border-radius:10px;border:1px solid var(--fl-line);background:color-mix(in srgb,var(--fl-surface) 85%,transparent);
 padding:4px 7px;display:flex;flex-direction:column;justify-content:center;gap:1px}
.sc-cell .sc-name{display:block;min-width:0;font-size:.68rem;line-height:1.2;color:var(--fl-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-cell .sc-legs{font-style:normal;margin-left:4px;color:var(--fl-accent)}
.sc-cell .sc-legs svg{width:9px;height:9px;vertical-align:-1px;margin-right:1px}
.sc-cell .sc-number{display:block;margin:0;padding:0;letter-spacing:.02em;font-style:normal;font:800 1.05rem/1 var(--fl-display,inherit);font-variant-numeric:tabular-nums;color:var(--fl-cream)!important;text-shadow:none!important;animation:none}
.sc-cell.turn{border-color:var(--fl-accent);box-shadow:0 0 0 1px var(--fl-accent) inset}
.sc-cell.turn .sc-name{color:var(--fl-accent)}
.sc-cell.me .sc-number::after{content:" •";color:var(--fl-select)}
.sc-cell.checkout .sc-number{color:var(--fl-good)!important}
.sc-cell.left{opacity:.45}
.sc-cell.left .sc-number{text-decoration:line-through}
@media(min-width:900px){.sc-cell{min-height:46px;padding:6px 10px}.sc-cell .sc-name{font-size:.78rem}.sc-cell .sc-number{font-size:1.25rem}}
/* #188: in Trivia every player answers. The change each player got (−70, +70, −35, 0) shows on the strip after the
   suspense; the question card says what a waiting player can win and who has answered (never what). */
.sc-cell .sc-change{font:800 .66rem/1 var(--fl-display,inherit);margin-left:5px;vertical-align:2px;padding:1px 4px;border-radius:6px;font-style:normal}
.sc-cell .sc-change.down{color:var(--fl-good);background:color-mix(in srgb,var(--fl-good) 16%,transparent)}
.sc-cell .sc-change.up{color:var(--fl-bad);background:color-mix(in srgb,var(--fl-bad) 16%,transparent)}
.sc-cell .sc-change.same{color:var(--fl-muted)}
.bonus-line{margin:2px 0 8px;font-size:.82rem;color:var(--fl-accent);font-weight:700}
.answered-row{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-top:8px;font-size:.7rem;color:var(--fl-muted)}
.answered-row .answered-note{margin-right:2px}
.answered-chip{display:inline-flex;align-items:center;gap:2px;max-width:9em;padding:2px 7px;border-radius:999px;border:1px solid var(--fl-line);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.answered-chip.in{border-color:var(--fl-good);color:var(--fl-cream)}
.answered-chip svg{width:10px;height:10px;flex:none;color:var(--fl-good)}
/* #213: after the Quiz reveal each name is fully green (right), red (wrong) or grey (no answer), with a mark (check, x, dash), the
   letter picked and the points, on the strip and in the result card. Before the reveal none of this shows. */
.sc-cell.res-right{background:color-mix(in srgb,var(--fl-good) 34%,var(--fl-surface));border-color:var(--fl-good)}
.sc-cell.res-wrong{background:color-mix(in srgb,var(--fl-bad) 34%,var(--fl-surface));border-color:var(--fl-bad)}
.sc-cell.res-none{background:color-mix(in srgb,var(--fl-muted) 22%,var(--fl-surface));border-color:var(--fl-muted)}
.sc-cell.res-right .sc-name,.sc-cell.res-wrong .sc-name,.sc-cell.res-none .sc-name{color:var(--fl-cream)}
.sc-cell .sc-pick{font-style:normal;font-weight:800;margin-right:4px}
.sc-cell.res-right .sc-change,.sc-cell.res-wrong .sc-change,.sc-cell.res-none .sc-change{color:var(--fl-cream);background:color-mix(in srgb,#000 28%,transparent)}
.reveal-row{list-style:none;padding:0;margin:8px 0 0}
.reveal-row .answered-chip{gap:5px;max-width:none;color:var(--fl-cream);font-weight:700}
.reveal-row .answered-chip.res-right{background:color-mix(in srgb,var(--fl-good) 34%,transparent);border-color:var(--fl-good)}
.reveal-row .answered-chip.res-wrong{background:color-mix(in srgb,var(--fl-bad) 34%,transparent);border-color:var(--fl-bad)}
.reveal-row .answered-chip.res-none{background:color-mix(in srgb,var(--fl-muted) 22%,transparent);border-color:var(--fl-muted)}
.reveal-row .rv-name{overflow:hidden;text-overflow:ellipsis;max-width:8em}
.reveal-row b{font-variant-numeric:tabular-nums}
.rv-mark{display:inline-flex;align-items:center;margin-right:3px}.rv-mark svg{width:.95em;height:.95em}
/* #214: a player who can finish on their next turn: a small tag on their chip, and a line in the turn card. */
.sc-cell.can-finish{border-color:var(--fl-good)}
.sc-cell .sc-finish{position:absolute;top:-7px;right:6px;padding:1px 5px;border-radius:6px;font:800 .55rem/1.3 var(--fl-display,inherit);letter-spacing:.04em;font-style:normal;color:var(--fl-night);background:var(--fl-good);white-space:nowrap;pointer-events:none}
.finish-tag{display:inline-flex;margin-left:8px;vertical-align:1px;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;font:800 .7rem/1.4 var(--fl-display,inherit);letter-spacing:.04em;color:var(--fl-night);background:var(--fl-good);white-space:nowrap}
.finish-tag svg{width:11px;height:11px}
.sc-cell .sc-away{position:absolute;top:-7px;left:6px;padding:1px 5px;border-radius:6px;font:800 .55rem/1.3 var(--fl-display,inherit);letter-spacing:.04em;font-style:normal;color:var(--fl-cream);background:var(--fl-line);white-space:nowrap;pointer-events:none}
.sc-cell.away .sc-name,.sc-cell.away .sc-number{opacity:.6}
@media(min-width:900px){.sc-cell .sc-away{font-size:.62rem}.sc-cell .sc-finish{font-size:.62rem}.finish-tag{font-size:.78rem}}
/* #216: nudge and remove in the lobby, the nudge button on someone else's slow turn, and the banner a phone shows when it
   is nudged or removed. */
.lobby-act{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:30px;min-height:30px;margin:0 -4px 0 0;padding:0 8px;border-radius:999px;border:1px solid color-mix(in srgb,var(--fl-muted) 45%,transparent);background:transparent;color:var(--fl-cream);font:800 .7rem/1 var(--fl-display,inherit);letter-spacing:.04em;cursor:pointer}
.lobby-act.icon-only{padding:0;width:30px}
.lobby-act svg{width:15px;height:15px}
/* #233: the lobby nudge stays hidden until the friend has waited long enough. */
.lobby-act.lobby-nudge[hidden]{display:none}
.lobby-act.yes{border-color:var(--fl-bad);color:var(--fl-bad)}
.lobby-kick-ask{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--fl-cream)}
.turn-nudge{display:inline-flex;align-items:center;gap:5px;max-width:60%;padding:4px 10px;border-radius:999px;border:1px solid var(--fl-accent);background:color-mix(in srgb,var(--fl-accent) 14%,transparent);color:var(--fl-cream);font:800 .7rem/1.2 var(--fl-display,inherit);letter-spacing:.04em;text-transform:none;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.turn-nudge[hidden]{display:none}
.turn-nudge span{overflow:hidden;text-overflow:ellipsis}
.turn-nudge svg{width:14px;height:14px;flex:none}
.live-game-page .live-score-heading{align-items:center;gap:8px}
.flash-banner{position:fixed;z-index:1000;left:50%;top:calc(env(safe-area-inset-top) + 10px);transform:translateX(-50%);display:flex;align-items:center;gap:10px;width:min(92vw,480px);padding:12px 12px 12px 16px;border-radius:14px;border:1px solid var(--fl-accent);background:var(--fl-surface-2,var(--fl-surface));color:var(--fl-cream);font-weight:800;box-shadow:0 12px 30px #0008}
.flash-banner.warn{border-color:var(--fl-bad)}
.flash-banner>svg{width:22px;height:22px;flex:none;color:var(--fl-accent)}
.flash-banner span{flex:1}
.flash-close{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;border:0;border-radius:10px;background:transparent;color:var(--fl-cream);cursor:pointer}
.flash-close svg{width:16px;height:16px}
@media(prefers-reduced-motion:no-preference){.flash-banner.nudge{animation:nudge-shake .5s ease-out}}
@keyframes nudge-shake{0%,100%{transform:translateX(-50%)}20%{transform:translateX(calc(-50% - 8px))}40%{transform:translateX(calc(-50% + 8px))}60%{transform:translateX(calc(-50% - 5px))}80%{transform:translateX(calc(-50% + 5px))}}
/* #217: «Ήχοι», the sound reactions. The button: in the score heading of a match (beside the nudge, never over the
   controls), beside «ΣΕΝΤΡΑ» / «ΕΙΜΑΙ ΕΤΟΙΜΟΣ» in the lobby, and on the result screen. The list opens in a sheet. */
.react-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;padding:3px 10px;min-height:26px;border-radius:999px;border:1px solid color-mix(in srgb,var(--fl-cream) 35%,transparent);background:color-mix(in srgb,var(--fl-cream) 8%,transparent);color:var(--fl-cream);font:800 .72rem/1.2 var(--fl-display,inherit);letter-spacing:.04em;text-transform:none;cursor:pointer;white-space:nowrap}
.react-btn::after{content:"";position:absolute;inset:-9px -2px}
.react-btn svg{width:15px;height:15px;flex:none}
.react-btn:focus-visible{outline:3px solid var(--fl-cream);outline-offset:2px}
.live-score-heading .react-btn{margin-left:auto}
.react-btn.dock{min-height:54px;padding:0 14px;border-radius:14px;font-size:.85rem;flex-direction:column;gap:2px}
.react-btn.dock::after{content:none}
.react-btn.dock svg{width:20px;height:20px}
.ready-row{display:flex;gap:8px;align-items:stretch}
.ready-row .ready-cta{flex:1;width:auto}
.ready-dock.is-ready .ready-row{justify-content:center;align-items:center}
.ready-dock.is-ready .react-btn.dock{min-height:44px;flex-direction:row}
.rs-more .react-btn{min-height:36px;font-size:.8rem}
.react-sheet{display:flex;flex-direction:column;gap:8px;max-height:min(92dvh,640px);overflow:auto;text-align:left}
.react-head{display:flex;align-items:center;gap:8px}
.react-head h2{display:flex;align-items:center;gap:8px;margin:0;font-size:1.05rem}
.react-head h2 svg{width:20px;height:20px;color:var(--fl-accent)}
.react-now{margin:4px 0 0;font:800 .7rem var(--fl-display,inherit);letter-spacing:.08em;text-transform:uppercase;color:var(--fl-muted)}
.react-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.react-item{width:100%;min-height:52px;padding:6px 6px;border-radius:12px;border:1px solid var(--fl-line);background:var(--fl-surface);color:var(--fl-cream);font:700 .82rem/1.2 inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer;text-align:center}
.react-item small{font-size:.66rem;font-weight:600;color:var(--fl-muted)}
.react-item.fit{border-color:var(--fl-accent);background:color-mix(in srgb,var(--fl-accent) 16%,var(--fl-surface))}
.react-item:disabled{opacity:.45;cursor:default}
.react-item:focus-visible{outline:3px solid var(--fl-cream);outline-offset:2px}
.react-wait{margin:2px 0 0;font-size:.8rem;color:var(--fl-muted);text-align:center}
@media(min-width:700px){.react-shade{align-items:center}.react-sheet{margin-bottom:0;max-width:520px}.react-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
.lobby-squad-tools{display:inline-flex;align-items:center;gap:8px}
