@font-face { font-family: Oxanium; src: url('./assets/oxanium.ttf') format('truetype'); font-weight: 200 800; font-display: block; }
:root { color-scheme: dark; font-family: Oxanium, sans-serif; color: #ddd; background: #080909; }
* { box-sizing: border-box; }
body { margin: 0; overflow: hidden; }
button, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.preview { min-height: 100svh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; padding: 20px 18px 14px; }
.viewport { position: relative; flex: none; overflow: hidden; background: #0f0f0f; }
.canvas { width: 1920px; height: 1080px; position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; isolation: isolate; }
.background { position: absolute; inset: 0; background: #0f0f0f; box-shadow: inset -20px 0 0 #4200ff26, inset 20px 0 0 #4200ff26, inset 0 -20px 0 #4200ff26, inset 0 20px 0 #4200ff26; opacity: 0; }
#shared, #graphics { position: absolute; inset: 0; pointer-events: none; }
.asset, .text, .primitive { position: absolute; margin: 0; opacity: 0; }
.asset { pointer-events: none; }
.asset-image { display: block; max-width: none; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.asset-image { mask-repeat: no-repeat; mask-size: 100% 100%; }
.facet-glint { position: absolute; left: 0; top: 0; display: none; opacity: .2; pointer-events: none; }
.orbiting { will-change: transform; }
.text { white-space: pre; font-family: Oxanium, sans-serif; text-transform: uppercase; font-feature-settings: 'lnum' 1, 'pnum' 1; }
.press-start { position: absolute; left: 960px; top: 547px; transform: translate(-50%, -50%); border: 0; padding: 24px 36px; margin: 0; cursor: pointer; background: transparent; opacity: 0; pointer-events: none; color: #fff; font-size: max(32px, calc(18px / var(--scene-scale, 1))); min-height: calc(44px / var(--scene-scale, 1)); font-weight: 400; line-height: 1.3; letter-spacing: 4px; white-space: nowrap; }
.press-start span { display: block; color: transparent; background: linear-gradient(105deg, #626262 0%, #626262 36%, #f6f6f6 47%, #fff 50%, #969696 56%, #626262 66%, #626262 100%); background-size: 250% 100%; background-position: 140% 0; background-clip: text; -webkit-background-clip: text; animation: shimmer 2.6s linear infinite; }
.press-start:not(:disabled) { pointer-events: auto; }
.press-start:hover span { filter: brightness(1.3); }
.press-start:focus-visible { outline: 1px solid #c4ff53; outline-offset: 8px; }
@keyframes shimmer { from { background-position: 140% 0; } to { background-position: -70% 0; } }
.playback { height: 34px; flex: none; display: flex; align-items: center; justify-content: center; gap: 6px; color: #747777; font-family: Oxanium, sans-serif; }
.playback button, .playback select { background: transparent; color: #a1a5a5; border: 1px solid transparent; border-radius: 3px; font-size: 12px; line-height: 16px; padding: 7px 10px; cursor: pointer; transition: color 120ms, background 120ms; }
.playback button:hover:not(:disabled), .playback select:hover { color: #fff; background: #171a1a; }
.playback button:disabled { color: #3b3e3e; cursor: default; }
.playback button:focus-visible, .playback select:focus-visible { outline: 1px solid #c4ff53; outline-offset: 2px; }
.playback select { padding-left: 5px; padding-right: 3px; }
.playback option { background: #151717; }
.speed-label { font: 12px/16px Oxanium, sans-serif; display: flex; align-items: center; gap: 3px; margin-left: 5px; }
.control-divider { width: 1px; height: 14px; background: #282c2c; margin: 0 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.load-error { position: absolute; bottom: 60px; left: 20px; right: 20px; color: #ff7772; text-align: center; font-size: 14px; }
@media (max-width: 600px) { .preview { padding: 10px 8px; gap: 10px; } .playback { gap: 0; } .playback button { font-size: 11px; padding: 7px 6px; } .control-divider { margin: 0 4px; } }
@media (prefers-reduced-motion: reduce) { .press-start span { animation: none; background-position: 54% 0; } }
