:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #f1f2f8; background: #090a10; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
button { font: inherit; cursor: pointer; }
button:focus-visible, canvas:focus-visible { outline: 3px solid #ffb09f; outline-offset: -3px; }
[hidden] { display: none !important; }
.touch-player { display: flex; flex-direction: column; width: 100%; height: 100%; background: #090a10; }
.stage { position: relative; display: grid; place-items: center; flex: 1; min-height: 0; overflow: hidden; }
canvas { display: block; max-width: 100%; max-height: 100%; touch-action: none; }
.controls { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; min-height: 88px; padding: 12px max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); border-top: 1px solid #292d43; background: #111321; }
.space-button { flex: 0 0 132px; min-height: 60px; border: 1px solid #b6d3ff; border-radius: 14px; background: #89b9ff; color: #101729; font-size: 19px; font-weight: 850; letter-spacing: .06em; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.space-button span { display: block; font-size: 11px; font-weight: 650; letter-spacing: .02em; }
.space-button.is-held { background: #ffb09f; border-color: #ffb09f; box-shadow: inset 0 3px 8px #0004; }
.space-button:disabled { opacity: .45; cursor: wait; }
.controls p { flex: 1; margin: 0; color: #c2c8dd; font-size: 12px; line-height: 1.5; }
.fullscreen-button, .retry { min-height: 44px; padding: 9px 12px; border: 1px solid #3f4965; border-radius: 11px; background: #1b2236; color: #f1f2f8; touch-action: manipulation; }
.fullscreen-button { font-size: 12px; }
.touch-player.expanded { position: fixed; inset: 0; z-index: 100; height: 100%; height: 100dvh; }
.loading { position: absolute; inset: 0; display: grid; place-items: center; padding: 18px; background: linear-gradient(#090a10d9, #090a10f2), url('/images/olympic-ragdoll-gameplay.png') center / cover; }
.loading-card { width: min(400px, 100%); text-align: center; }
.eyebrow { color: #89b9ff; margin: 0 0 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
h1 { font-size: clamp(18px, 4vw, 26px); margin: 0 0 8px; }
.load-value { margin: 8px 0; font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.load-track { height: 8px; border-radius: 99px; overflow: hidden; background: #30364e; }
.load-track span { display: block; width: 0; height: 100%; background: #89b9ff; }
.load-hint { color: #b8bfd3; font-size: 12px; line-height: 1.5; margin: 10px 0 0; }
.retry { margin-top: 12px; }
@media (max-width: 420px) { .controls { gap: 8px; } .space-button { flex-basis: 104px; } .controls p { font-size: 11px; } .fullscreen-button { padding: 9px 8px; font-size: 11px; } }
@media (max-height: 330px) { .loading { padding: 10px; } .eyebrow { display: none; } .load-hint { margin-top: 6px; font-size: 11px; } .load-value { font-size: 24px; margin: 4px 0; } }
