.ending-game{isolation:isolate;justify-content:center;overflow:hidden;animation:ending-arrive .8s ease both}.ending-game h1{letter-spacing:normal;font-family:Georgia,serif;font-size:clamp(36px,5.4vw,86px);font-weight:400;line-height:1.08;margin:22px 0 35px;color:#ddd7c0}.ending-game small{font:13px/1.5 monospace;letter-spacing:.22em;color:#a9ad98}.ending-game button{font-family:Georgia,serif;border:0;border-radius:0;background:none;color:#d5cfb9;cursor:pointer}.ending-game button:hover{color:#fff5d4;text-shadow:0 0 20px #c2bc8877}.ending-game button:focus-visible{outline:1px solid #c9c3a7;outline-offset:8px}.ending-game button:disabled{opacity:.4;cursor:default}.ending-summary{margin:auto;text-align:center;max-width:1100px;padding:35px;position:relative;z-index:1}.ending-summary>p{font:18px/1.6 Georgia,serif;color:#a3a995}.ending-summary>button{margin-top:30px;font-size:29px}.ending-scores{display:flex;justify-content:center;gap:100px}.ending-scores p{display:flex;flex-direction:column;gap:14px;min-width:140px;font:20px Georgia,serif}.ending-scores strong{font-size:66px;font-weight:400}.ending-backdrop,.ending-film{position:fixed;inset:0;width:100vw;height:100dvh;object-fit:cover;z-index:-2;background:#080b09}.ending-film{object-fit:contain;z-index:0}.ending-decision{margin:auto 0 auto 4vw;max-width:720px;position:relative;z-index:1}.ending-decision:before,.ending-final:before{content:'';position:fixed;inset:0;background:linear-gradient(90deg,#060907e8,#060907aa 55%,#06090733);z-index:-1}.ending-decision>p{font:15px/1.5 monospace;color:#afb49e;margin-top:38px}.ending-options{display:flex;gap:55px}.ending-options button{text-align:left;font-size:38px;padding:12px 0;border-top:1px solid #abb39477;min-width:175px}.ending-options span{display:block;font:16px/1.5 Georgia,serif;color:#a5ad97;margin-top:12px}.ending-controls{position:fixed;bottom:28px;left:35px;right:35px;display:flex;justify-content:space-between;z-index:3;opacity:.4;transition:opacity .2s}.ending-controls:hover,.ending-controls:focus-within{opacity:1}.ending-controls button{font:14px monospace;background:#080b09aa;padding:10px}.ending-playback{position:fixed;inset:auto 0 13vh;text-align:center;z-index:3;color:#d5cfb9}.ending-playback button{font-size:30px;padding:15px 25px;background:#080b09cf}.ending-playback p:empty{display:none}.ending-final:before{background:#06090788}.game-board-phone.ending-game{justify-content:center}.game-board-phone .ending-decision{margin:0;padding:10px}.game-board-phone .ending-decision h1{font-size:36px;margin:25px 0}.game-board-phone .ending-decision:before{display:none}.game-board-phone .ending-options{flex-direction:column;gap:18px}.game-board-phone .ending-options button{font-size:29px;padding:18px 10px;min-height:83px;background:#11170ec9;border:1px solid #6a765d80}.game-board-phone .ending-options span{font-size:15px;margin-top:6px}.game-board-phone .ending-decision small{font-size:11px}@keyframes ending-arrive{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.ending-game{animation:none}}
.ending-preview-reset{position:fixed;top:18px;left:24px;z-index:10;border:0;background:#080b09aa;color:#a9ad98;padding:10px;font:12px monospace;cursor:pointer}
.game-board-host.ending-game{position:fixed;inset:0}.ending-game button{font-weight:400;letter-spacing:normal}.game-board-phone .ending-decision{width:100%;max-width:none}.game-board-phone .ending-decision h1{letter-spacing:normal;font-weight:400}
