:root {
  --bg: #0b0907;
  --ink: #f4ede3;
  --muted: #a99d8f;
  --gold: #f2a54a;
  --gold2: #ffcf8a;
  --line: rgba(242, 165, 74, .25);
  --head: "Impact", "Haettenschweiler", "Arial Narrow Bold", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); overflow: hidden; }
body { font-family: var(--body); }
button { font: inherit; color: inherit; }

.app { position: relative; height: 100dvh; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); background: var(--bg); }
.wide .app { max-width: none; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; z-index: 5; }
.wide .top { position: absolute; inset: 0 0 auto 0; background: linear-gradient(#000a, #0000); }
.brand { font-family: var(--head); letter-spacing: .3em; color: var(--gold); font-size: 18px; }
.dots { display: flex; gap: 7px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--gold); opacity: .55; }
.dots i.on { background: var(--gold); opacity: 1; }
.snd { width: 40px; height: 34px; border: 1px solid var(--line); border-radius: 10px; background: #0006; display: grid; place-items: center; cursor: pointer; position: relative; }
.snd i { width: 9px; height: 11px; background: var(--gold); clip-path: polygon(0 25%, 45% 25%, 100% 0, 100% 100%, 45% 75%, 0 75%); }
.snd.off b { position: absolute; width: 22px; height: 2px; background: var(--gold); transform: rotate(-45deg); }

.stage { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.screen { position: relative; width: 100%; aspect-ratio: 720 / 780; background: #000; flex: none; overflow: hidden; }
.wide .screen { aspect-ratio: auto; flex: 1; }
.screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; opacity: 0; transition: opacity .12s; }
.screen video.on { opacity: 1; }

.talk { flex: 1; min-height: 96px; padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; justify-content: flex-start; }
.wide .talk { position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%); width: min(1100px, 80vw); flex: none; min-height: 0;
  align-items: center; text-align: center; text-shadow: 0 2px 6px #000, 0 0 14px #000; pointer-events: none; }
.sp { font-family: var(--head); letter-spacing: .14em; color: var(--gold); font-size: 15px; text-transform: uppercase; min-height: 1em; }
.line { font-size: 18px; line-height: 1.35; }
.line.narr { color: #e8ddcf; font-style: italic; }
.wide .line { font-size: clamp(22px, 2.3vw, 38px); }
.wide .sp { font-size: clamp(15px, 1.3vw, 22px); }
.talk.fresh .line { animation: up .25s ease-out; }
@keyframes up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.cover { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; background: #000; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(.9); }
.cover.end { background: radial-gradient(80% 60% at 50% 40%, #2a1c10, #000); }
.coverText { position: relative; text-align: center; padding: 24px; }
.coverText h1 { font-family: var(--head); font-weight: 400; font-size: clamp(56px, 14vw, 130px); letter-spacing: .06em; margin: 0; line-height: .95;
  text-shadow: 0 4px 24px #000; }
.coverText h2 { font-family: var(--head); font-weight: 400; color: var(--gold); letter-spacing: .5em; margin: 6px 0 18px; font-size: clamp(18px, 4.5vw, 36px); }
.coverText p { color: var(--ink); opacity: .9; margin: 0 0 22px; font-size: 17px; }
.coverText small { display: block; margin-top: 12px; color: var(--muted); }
.go { border: 0; border-radius: 999px; padding: 14px 34px; font-size: 19px; font-weight: 700; color: #1a1006;
  background: linear-gradient(var(--gold2), var(--gold)); box-shadow: 0 6px 28px #f2a54a55; cursor: pointer; }

.choice { position: absolute; inset: 0; z-index: 7; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 18px 16px 22px;
  background: linear-gradient(#0000 25%, #000c 70%, #000e); animation: fade .25s ease-out; }
.wide .choice { justify-content: center; align-items: center; background: radial-gradient(70% 70% at 50% 60%, #000c, #0005); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.prompt { margin: 0; text-align: center; font-family: var(--head); letter-spacing: .06em; font-size: clamp(22px, 5.5vw, 44px); text-shadow: 0 2px 10px #000; }
.opts { display: grid; gap: 10px; width: 100%; }
.wide .opts { grid-template-columns: 1fr 1fr; width: min(1100px, 80vw); gap: 18px; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer;
  background: linear-gradient(#2a1c10ee, #15110dee); text-align: left; font-size: 18px; font-weight: 650; transition: transform .1s, border-color .1s; }
.opt:hover, .opt:focus-visible { border-color: var(--gold); transform: translateY(-1px); outline: none; }
.opt b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1a1006; font-family: var(--head); font-size: 18px; }
.wide .opt { font-size: clamp(18px, 1.6vw, 28px); padding: 20px 22px; }
.hint { text-align: center; color: var(--muted); }
kbd { border: 1px solid var(--line); border-radius: 5px; padding: 0 6px; font-family: var(--body); }

.loading { position: absolute; inset: 0; display: grid; place-items: center; z-index: 6; pointer-events: none; }
.loading i { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff3; border-top-color: var(--gold); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
