body { min-height:100vh; min-height:100svh; background:#0c0d0e; }
.login-shell { min-height:100vh; min-height:100svh; display:grid; place-items:center; padding:24px; }
.login-card { width:min(100%,430px); background:var(--panel); border:1px solid var(--line); border-radius:28px; padding:32px; display:grid; gap:15px; box-shadow:0 28px 90px rgba(0,0,0,.4); }
.login-card .eyebrow { color:var(--lime); text-transform:uppercase; letter-spacing:.15em; font-size:12px; font-weight:850; margin:28px 0 0; }
.login-card h1 { font-size:42px; line-height:.95; letter-spacing:-.05em; margin:0 0 20px; }
.login-card label { color:var(--muted); font-size:13px; font-weight:750; }
.login-card input { height:56px; border:1px solid var(--line); background:#0e1011; color:var(--ink); border-radius:14px; padding:0 18px; font-size:24px; letter-spacing:.18em; }
.form-error { color:#ff9a7c; min-height:20px; margin:0; font-size:13px; }
.remote { max-width:760px; margin:0 auto; padding:calc(18px + env(safe-area-inset-top)) 16px calc(120px + env(safe-area-inset-bottom)); }
.remote-header { display:flex; justify-content:space-between; align-items:flex-start; padding:4px 4px 20px; }
.live-status { margin:9px 0 0 21px; color:var(--muted); font-size:11px; }
.live-status::before { content:""; display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:50%; background:#777; }
.live-status.online::before { background:var(--lime); box-shadow:0 0 12px rgba(199,255,69,.7); }
.text-button { background:transparent; border:0; color:var(--muted); padding:8px; cursor:pointer; font-weight:750; }
.text-button.danger { color:#ff9a7c; }
.now-card,.preview-card,.jump-card,.questions-card { border:1px solid var(--line); border-radius:22px; background:var(--panel); overflow:hidden; margin-bottom:14px; }
.now-card { padding:24px; }
.scene-meta { display:flex; justify-content:space-between; color:var(--lime); text-transform:uppercase; letter-spacing:.12em; font-size:11px; font-weight:850; }
.now-card h1 { margin:14px 0 24px; font-size:clamp(34px,9vw,56px); line-height:.92; letter-spacing:-.055em; }
.cue-label { color:var(--muted); font-size:10px; font-weight:850; letter-spacing:.14em; margin-bottom:8px; }
.dialogue { display:grid; gap:12px; font-family:ui-serif,Georgia,serif; font-size:20px; line-height:1.42; }
.dialogue p { margin:0; }
.cue { margin-top:24px; border-left:3px solid var(--lime); background:rgba(199,255,69,.065); padding:14px 16px; color:#d9e6bd; font-size:13px; line-height:1.4; }
.controls { position:sticky; bottom:calc(10px + env(safe-area-inset-bottom)); z-index:10; display:grid; grid-template-columns:1fr 1.6fr; gap:10px; margin:14px 0; filter:drop-shadow(0 18px 26px rgba(0,0,0,.55)); }
.control-button { height:68px; border-radius:18px; border:1px solid var(--line); font-size:18px; font-weight:900; cursor:pointer; }
.control-button.secondary { color:var(--ink); background:#24272a; }
.control-button.next { color:var(--coal); background:var(--lime); border-color:var(--lime); }
.control-button:disabled { opacity:.35; }
.section-heading { min-height:58px; padding:0 18px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.section-heading h2 { margin:0; font-size:15px; letter-spacing:-.01em; }
.section-heading a { color:var(--lime); font-size:12px; font-weight:750; }
.section-heading p { color:var(--muted); font-size:11px; margin:4px 0 0; }
.preview-frame { aspect-ratio:16/9; position:relative; overflow:hidden; background:#08090a; }
.preview-frame iframe { position:absolute; width:1600px; height:900px; border:0; transform-origin:top left; transform:scale(var(--preview-scale,.45)); pointer-events:none; }
.jump-card { padding-bottom:16px; }
.jump-card select { width:calc(100% - 32px); margin:16px; height:52px; border:1px solid var(--line); border-radius:14px; background:#0e1011; color:var(--ink); padding:0 14px; }
.questions-card { min-height:180px; }
.question-list { display:grid; }
.question { padding:17px 18px; border-bottom:1px solid var(--line); }
.question:last-child { border-bottom:0; }
.question.answered { opacity:.5; }
.question-text { margin:0; font-size:16px; line-height:1.38; }
.question-meta { color:var(--muted); font-size:11px; margin-top:8px; }
.question-actions { display:flex; gap:8px; margin-top:12px; }
.question-actions button { border:1px solid var(--line); border-radius:999px; background:transparent; color:var(--ink); padding:8px 12px; font-size:11px; font-weight:750; cursor:pointer; }
.empty { color:var(--muted); padding:32px 18px; text-align:center; }
@media (min-width:700px) { .remote{padding-left:24px;padding-right:24px}.preview-frame iframe{transform:scale(var(--preview-scale,.445))} }
