.scene-endgame { min-height: 100vh; background: radial-gradient(circle at top center, rgba(255, 232, 192, 0.34), transparent 24%), linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(70, 42, 20, 0.18)), repeating-linear-gradient( 0deg, #d7b084 0, #d7b084 2px, #c69d71 2px, #c69d71 5px, #b88760 5px, #b88760 7px ); } .endgame-shell { box-sizing: border-box; min-height: 100vh; padding: 5vh 5vw 6vh; display: flex; align-items: center; justify-content: center; } .endgame-card { width: min(720px, 100%); padding: clamp(26px, 5vh, 44px); border-radius: 34px; box-sizing: border-box; text-align: center; background: linear-gradient(180deg, rgba(61, 38, 23, 0.94), rgba(38, 24, 15, 0.98)); color: #f7ead7; box-shadow: 0 18px 32px rgba(38, 23, 12, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08); } .endgame-kicker { margin: 0 0 12px; font-family: "Cinzel", serif; font-size: 0.95rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(245, 217, 178, 0.8); } #whoWon { margin: 0; font-family: "Cinzel", serif; font-size: clamp(2rem, 3vw, 3.8rem); line-height: 1.02; letter-spacing: 0.03em; } .endgame-subtitle { margin: 18px auto 0; max-width: 560px; font-family: "Cormorant Garamond", serif; font-size: clamp(1.35rem, 1.8vw, 2rem); line-height: 1.1; color: rgba(247, 234, 215, 0.86); } .endgame-menu-button { appearance: none; margin-top: 28px; border: 1px solid rgba(243, 210, 160, 0.28); border-radius: 999px; padding: 0.85em 1.45em; background: linear-gradient(180deg, rgba(255, 245, 227, 0.98), rgba(235, 205, 168, 0.95)); color: #342012; font-family: "Cinzel", serif; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 20px rgba(18, 10, 4, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.84); transition: transform 0.16s ease, filter 0.16s ease; } .endgame-menu-button:active { transform: scale(0.985); filter: brightness(0.98); } @media (max-width: 640px) { .endgame-shell { padding: max(14px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom)); } .endgame-card { border-radius: 26px; padding: 20px; } .endgame-menu-button { width: 100%; } }