:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #090b16; color: #f2f4ff; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
[hidden] { display: none !important; }
#player, #unity-canvas, #launch-screen { width: 100%; height: 100%; }
#player { position: relative; height: 100dvh; }
#unity-canvas { display: block; background: #090b16; outline: none; touch-action: none; }
#launch-screen { position: absolute; inset: 0; display: grid; place-items: center; padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); overflow: auto; background: radial-gradient(ellipse at 50% 25%, #202040, #090b16 70%); }
.launch-card { width: min(100%, 540px); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.logo { display: block; width: min(100%, 480px); height: auto; }
#load-status { margin: 8px 0 0; line-height: 1.6; color: #c8cce1; font-size: clamp(15px, 1.6vw, 18px); }
progress { width: min(85%, 340px); height: 6px; border: 0; border-radius: 6px; overflow: hidden; background: #292d45; accent-color: #72d8f9; }
progress::-webkit-progress-bar { background: #292d45; border-radius: 6px; }
progress::-webkit-progress-value { background: linear-gradient(90deg, #8d49f8, #70ecf4); border-radius: 6px; }
progress::-moz-progress-bar { background: #72d8f9; border-radius: 6px; }
button { min-width: 220px; min-height: 54px; padding: 14px 26px; border: 0; border-radius: 14px; color: #101426; background: linear-gradient(110deg, #ab8cff, #70ecf4); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
button:hover { filter: brightness(1.08); }
button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
noscript { color: #c8cce1; line-height: 1.5; }
@media (max-height: 460px) { .launch-card { gap: 12px; } .logo { width: min(75%, 300px); } }
#sound-hint { position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 8px 14px; border-radius: 20px; background: rgba(9, 11, 22, 0.85); color: #c8cce1; font-size: 14px; line-height: 1.4; text-align: center; pointer-events: none; }

.hub-navigation { position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); display: flex; gap: 8px; pointer-events: none; }
.hub-navigation button { min-width: 0; min-height: 44px; padding: 8px 16px; border: 1px solid #53617b; border-radius: 12px; background: #101b2ced; color: #eef3ff; font-size: 15px; font-weight: 600; pointer-events: auto; touch-action: manipulation; }
.hub-navigation button:hover, .hub-navigation button:focus-visible { border-color: #70ecf4; }
