:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #dcecf6; background: #060b16; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 10% 0%, #192039 0%, transparent 48%), radial-gradient(ellipse at 90% 100%, #0e2d35 0%, transparent 48%), #060b16; }
.arcade { width: min(100% - 32px, 800px); margin: 22px auto; }
.topbar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.eyebrow { color: #52e8ba; font-size: 10px; letter-spacing: 3px; }
h1 { font-size: 19px; font-weight: 600; letter-spacing: 2px; margin: 8px 0 0; }
h1 span { color: #5e829a; font-size: 12px; font-weight: 400; letter-spacing: 1px; }
button { color: #76ebd0; background: #10232b; border: 1px solid #275662; padding: 11px 14px; border-radius: 9px; cursor: pointer; font: 600 11px inherit; letter-spacing: 1px; }
button:hover { background: #15313a; border-color: #53e4bf; }
button:focus-visible, canvas:focus-visible { outline: 2px solid #53e4bf; outline-offset: 4px; }
.game-frame { position: relative; width: 100%; aspect-ratio: 5 / 4; background: #07101d; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px #244355, 0 15px 65px #0007, 0 0 55px #44d4cb0c; }
canvas { display: block; width: 100%; height: 100%; object-fit: contain; outline: none; }
canvas:fullscreen { width: 100vw; height: 100vh; background: #060b16; object-fit: contain; }
#loading { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 24px; text-align: center; background: #07101d; }
#loading[hidden], [hidden] { display: none !important; }
.loader-mark { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; color: #091620; background: #58ffb4; font-size: 34px; box-shadow: 0 0 45px #58ffb42c; animation: pulse 1.6s ease-in-out infinite; }
#status { font-size: 17px; font-weight: 500; color: #bde8e5; }
#loading-hint { font-size: 12px; max-width: 330px; line-height: 1.7; color: #718b9d; }
.footer { text-align: center; margin-top: 17px; color: #91aabb; font-size: 12px; line-height: 1.9; }
.footer p { margin: 6px 0; }
kbd { font: inherit; color: #c4e4e6; border: 1px solid #29404c; border-radius: 4px; padding: 1px 5px; }
.credit { color: #5e7b90; font-size: 11px; }
a { color: #6bbaae; text-decoration: none; }
a:hover { text-decoration: underline; }
@keyframes pulse { 50% { box-shadow: 0 0 65px #58ffb44a; opacity: .7; } }
@media (max-width: 540px) { .arcade { width: min(100% - 20px, 800px); margin: 12px auto; } h1 { font-size: 14px; } h1 span { display: none; } .footer { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .loader-mark { animation: none; } }
