:root { color-scheme: dark; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: #13251f; color: #f0f5ed; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; border: 1px solid #c8ddad; border-radius: 6px; padding: 8px 16px; background: #d6e8bc; color: #192b20; }
button:focus-visible, canvas:focus-visible { outline: 3px solid #edc974; outline-offset: -3px; }
button:disabled { opacity: .45; cursor: default; }
#player { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 240px; }
.game-surface { position: relative; flex: 1; min-height: 0; background: #101b16; }
#unity-canvas { display: block; width: 100%; height: 100%; background: #101b16; }
.loading-screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; background: radial-gradient(ellipse at 50% 25%, #2a4936, #13251f 75%); overflow: auto; }
h1 { font-size: clamp(2rem, 7vw, 4rem); font-weight: 650; letter-spacing: -.045em; margin: 0; }
p { line-height: 1.5; margin: 0; }
#loading-message { color: #d1ded3; }
progress { width: min(320px, 100%); height: 12px; accent-color: #d6e8bc; }
#error-message { max-width: 480px; color: #ffe0bc; }
.player-footer { flex: none; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; }
.player-footer p { font-size: .75rem; color: #c4d3c7; }
.player-footer button { padding: 6px 12px; font-size: .8rem; background: transparent; color: #edf4e7; }
@media (max-width: 600px) { .player-footer p { font-size: .65rem; } .loading-screen { gap: 12px; padding: 20px; } }
