:root { color-scheme: dark; font-family: Arial, Helvetica, sans-serif; }
* { box-sizing: border-box; }
html, body, .app-shell { width: 100%; min-height: 100%; margin: 0; }
body { background: #132b54; color: #fff; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #7ed5ea; outline-offset: 4px; }
[hidden] { display: none !important; }
.app-shell { min-height: 100dvh; }
.start-screen, .fallback, .preview-mode { min-height: 100dvh; }
.start-screen { display: grid; place-items: center; padding: 24px; background: #132b54; }
.brand { font-weight: 800; font-size: 24px; letter-spacing: .14em; margin: 0; }
.brand span { display: block; font-family: Georgia, serif; font-size: 19px; font-style: italic; font-weight: 400; letter-spacing: 0; }
.primary-button { min-height: 52px; min-width: 190px; padding: 13px 23px; border: 0; color: #102b54; background: #fff; font-weight: 700; }
.primary-button:disabled { opacity: .6; cursor: wait; }
.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(10,31,60,.85); 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: #fff; border: 1px solid rgba(255,255,255,.65); background: rgba(10,31,60,.84); }
.fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 24px; }
.fallback h2 { font-size: 29px; margin: 12px 0 0; }
.fallback p:not(.brand) { 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; }
.preview-banner { position: relative; height: min(85dvh, 800px); aspect-ratio: 544 / 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; }
