
/* P3.7.5 — paginated records, result legibility and share recovery. */
.board-note{position:absolute;bottom:0;left:0;right:0;margin:0;font-size:11px;font-weight:600;color:#e8e1ff;opacity:.72;text-align:center;pointer-events:none;}

.game .over-screen:not(.qualifying) .final-value[data-long=true]{font-size:clamp(34px,13cqw,56px);letter-spacing:-1px}
.game .over-screen:not(.qualifying) .final-value[data-very-long=true]{font-size:clamp(18px,7cqw,34px);letter-spacing:0}
.game .over-screen .final-value{white-space:nowrap;max-width:100%;}
.share-screen .share-notice{min-height:16px;height:auto;max-width:100%;}
/* P3.7.6: center the single-column landscape hero and use a styled restart confirmation. */


.restart-panel{position:fixed;inset:0;margin:auto;width:min(320px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;padding:22px;border:1px solid #ffffff32;border-radius:20px;background:#302479;color:#f5f3ff;box-shadow:0 16px 48px #0b091d90;font:inherit;text-align:center}
.restart-panel::backdrop{background:#0b091d88}
.restart-panel[open]{animation:settings-enter .16s cubic-bezier(.2,.75,.25,1)}
.restart-panel h2{margin:0 0 10px;font-size:24px;font-weight:900;letter-spacing:-.04em}
.restart-panel p{margin:0 0 20px;font-size:14px;line-height:1.5;color:#e3dafa}
.restart-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.restart-actions button{min-height:44px;font-size:14px;padding:8px 10px}
.restart-actions .secondary{background:#ffffff14;border:1px solid #ffffff30}
.restart-actions button:focus-visible{outline:2px solid white;outline-offset:3px}
