:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; }
* { box-sizing: border-box; }
html, body, .app-shell { width: 100%; min-height: 100%; margin: 0; }
body { background: #db70d8; color: #fff; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #111; outline-offset: 4px; }
[hidden] { display: none !important; }
.app-shell { min-height: 100dvh; }
.start-screen, .fallback, .preview-mode { min-height: 100dvh; }
.start-screen { position: relative; overflow: hidden; background: #db70d8; }
.splash-art { display: block; width: 100%; height: 100dvh; object-fit: cover; object-position: center; }
.primary-button { min-height: 54px; min-width: 190px; padding: 13px 24px; border: 0; color: #000; background: #fff; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.primary-button:disabled { opacity: .68; cursor: wait; }
.start-screen .primary-button { position: absolute; z-index: 1; top: 40%; left: 50%; transform: translateX(-50%); width: 190px; height: 54px; line-height: 1.2; padding: 0 20px; white-space: nowrap; }
.ar-mount { position: fixed; inset: 0; overflow: hidden; background: #101721; }
.ar-mount a-scene { width: 100%; height: 100%; }
.status { position: fixed; z-index: 5; top: max(16px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(90vw, 390px); margin: 0; padding: 11px 15px; text-align: center; background: rgba(40,20,48,.86); font-size: 14px; line-height: 1.35; }
.film-controls { position: fixed; z-index: 5; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; gap: 10px; white-space: nowrap; }
.film-controls button { min-height: 44px; padding: 8px 14px; color: #000; border: 1px solid rgba(0,0,0,.3); background: rgba(255,255,255,.94); font-weight: 600; }
.fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 24px; background: #c060c7; }
.fallback h2 { font-size: 27px; margin: 0; }
.fallback p { max-width: 350px; line-height: 1.4; margin: 0; }
.fallback video { display: block; width: min(74vw, 290px); max-height: 55dvh; background: #000; }
.preview-mode { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; background: #251c2e; }
.preview-banner { position: relative; height: min(85dvh, 800px); aspect-ratio: 512 / 1280; overflow: hidden; }
.preview-banner img, .preview-banner video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.preview-banner video { z-index: 1; }
.preview-mode p { margin: 0; text-align: center; font-size: 13px; }
@media (min-aspect-ratio: 3 / 4) {
  .splash-art { object-fit: contain; }
}
