:root{--bg: #0b0b0f;--panel: rgba(15, 15, 22, .92);--accent: #6c8cff;--accent-strong: #8aa2ff;--text: #f4f5fa;--muted: #9aa0b5;color-scheme:dark}*{box-sizing:border-box}html,body,#root{margin:0;height:100%}body{background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased}.stage{position:relative;width:100%;height:100%;min-height:100dvh;display:flex;align-items:center;justify-content:center;background:#000;overflow:hidden}.video-frame{position:relative;width:min(100vw,calc(100dvh * 16 / 9));aspect-ratio:16 / 9}.video-frame video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0}.video-frame video{object-fit:contain;background:#000}.video-error{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;padding:24px;text-align:center;color:var(--muted)}.video-error code{font-size:12px;word-break:break-all;color:var(--accent-strong)}.title-screen,.overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6vw 5vw;text-align:center;z-index:10;background:radial-gradient(ellipse at center,#0000008c,#000000d9);animation:fade-in .4s ease}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.overlay-inner{width:min(640px,100%);background:var(--panel);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:clamp(20px,4vw,40px);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 20px 60px #00000080}h1{font-size:clamp(28px,6vw,52px);margin:0 0 24px}.overlay-title{font-size:clamp(20px,3.2vw,30px);margin:0 0 24px;line-height:1.3}.ending-text{color:var(--muted);font-size:clamp(15px,2.2vw,19px);line-height:1.5;margin:0 0 24px}.choices{display:flex;flex-direction:column;gap:12px}button{font:inherit;cursor:pointer}.choice{width:100%;padding:16px 20px;font-size:clamp(15px,2.4vw,18px);color:var(--text);background:#6c8cff1f;border:1px solid rgba(108,140,255,.4);border-radius:12px;transition:background .15s ease,transform .05s ease}.choice:hover{background:#6c8cff47}.choice:active{transform:scale(.99)}.primary{padding:16px 36px;font-size:clamp(16px,2.6vw,20px);font-weight:600;color:#0b0b0f;background:var(--accent-strong);border:0;border-radius:12px;transition:background .15s ease}.primary:hover{background:var(--accent)}
