:root{color-scheme:light;font-family:Avenir Next,Segoe UI,sans-serif;color:#1a1c20;background:#f4f1ea;--ink: #17191d;--muted: #6c6f76;--line: #d8d1c4;--paper: #fffdf8;--accent: #0f766e;--accent-dark: #0b514c;--danger: #a83232}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.booth-shell,.settings-shell,.room-shell{min-height:100vh}.booth-shell{display:grid;grid-template-columns:minmax(0,.9fr) minmax(360px,520px);align-items:start;background:#f4f1ea}.cover{width:100%;height:100vh;object-fit:cover;position:sticky;top:0}.briefing,.login-panel{align-self:start;margin:32px;padding:32px;background:var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:0 24px 80px #1e1a141f}.briefing.compact{grid-column:1 / -1;max-width:560px;justify-self:center}.briefing{max-height:calc(100vh - 64px);overflow-y:auto;scrollbar-gutter:stable}.briefing h1,.room-panel h1,.login-panel h1,.settings-header h1{margin:0 0 14px;line-height:1.05;letter-spacing:0;color:var(--ink)}.briefing h1{font-size:clamp(2rem,4.2vw,3.4rem);line-height:1.08;max-width:11ch;overflow-wrap:anywhere}.briefing p,.login-panel p,.muted{color:var(--muted);line-height:1.55}.eyebrow{margin:0 0 12px;text-transform:uppercase;font-size:.76rem;font-weight:800;color:var(--accent-dark);letter-spacing:.08em}.field-grid{display:grid;gap:14px}.field{display:grid;gap:8px;margin:16px 0;font-size:.95rem;font-weight:700}.field input,.answer-box textarea{width:100%;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:6px;padding:12px 14px}.answer-box textarea{min-height:240px;resize:vertical}.primary,.secondary,.danger,.icon-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;padding:0 16px;font-weight:800}.primary{color:#fff;background:var(--accent)}.primary:hover{background:var(--accent-dark)}.secondary,.icon-button{color:var(--ink);background:#eee8dc;border:1px solid var(--line)}.danger{color:#fff;background:var(--danger)}.error{color:var(--danger);font-weight:800}.success{color:var(--accent-dark);font-weight:800}.settings-shell{padding:32px}.settings-header{display:flex;align-items:center;justify-content:space-between;max-width:1080px;margin:0 auto 24px}.settings-grid{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:18px}.tool-panel{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:22px}.tool-panel h2{margin:0 0 12px}.split,.button-row,.round-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.booth-list{display:grid;gap:10px}.booth-list a{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line);border-radius:6px;color:var(--ink);text-decoration:none}.booth-list code{color:var(--accent-dark);white-space:nowrap}.login-panel{max-width:420px;margin:12vh auto}.mark{width:42px;height:42px;display:grid;place-items:center;color:#fff;background:var(--accent);border-radius:6px;margin-bottom:22px}.room-shell{display:grid;grid-template-columns:240px minmax(0,1fr);height:100vh;overflow:hidden}.room-nav{padding:20px;background:#202124;color:#fff;overflow-y:auto}.room-nav h2{margin:0 0 20px;font-size:1.05rem}.room-nav button{width:100%;display:flex;align-items:center;gap:8px;margin-bottom:8px;min-height:54px;padding:8px 10px;border-radius:6px;color:#ece8dd;background:transparent;text-align:left}.room-nav button span{display:grid;gap:2px}.room-nav button strong{font-size:1rem}.room-nav button small{color:#a9adb3;font-size:.78rem;font-weight:800}.room-nav button.active,.room-nav button:hover{background:#34363a}.room-nav button:disabled{cursor:default;opacity:.62}.room-nav button.active:disabled{opacity:1}.room-panel{padding:28px 32px;align-self:stretch;overflow-y:auto}.room-panel h1{font-size:clamp(1.75rem,3vw,2.75rem);max-width:1040px;margin-bottom:10px}.timer{font-variant-numeric:tabular-nums;font-size:1.25rem;font-weight:900;color:var(--accent-dark)}.recorder-grid{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(360px,1.05fr);align-items:start;gap:14px;margin:14px 0 0}.preview-stack{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px}.video-tile{position:relative;aspect-ratio:16 / 9;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:#1f2125;color:#eee8dc}.video-tile video{width:100%;height:100%;object-fit:contain}.video-tile .mirror{transform:scaleX(-1)}.tile-label{position:absolute;top:10px;left:10px;z-index:1;display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:6px;color:#fffdf8;background:#14161ab8;font-size:.78rem;font-weight:900}.tile-note{max-width:75%;color:#bfc3c8;text-align:center;font-weight:800}.round-guidance{max-width:980px;color:var(--muted);line-height:1.5;font-weight:700}.countdown{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-bottom:14px;padding:0 18px;border-radius:6px;color:#fff;background:#202124;font-size:1.15rem;font-weight:900}.answer-box{display:grid;gap:8px;font-weight:800}.answer-box textarea{min-height:270px}.answer-box textarea:disabled{color:var(--muted);background:#f7f3ec}.question-card{max-width:1040px;margin:12px 0 10px;padding:16px 18px;border:1px dashed #bfb7aa;border-radius:8px;background:#fffdf894}.question-card.visible{padding:0;border:0;background:transparent}.question-card h1{margin-bottom:0}.prep-text{max-width:780px;margin:0 0 12px;color:var(--muted);line-height:1.45;font-weight:800}.round-state{margin:0;color:var(--muted);font-weight:900}.action-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;margin:14px 0;border:1px solid var(--line);border-radius:8px;background:#fffdf8b8}.large-action{min-height:48px;padding:0 20px;font-size:1rem}.attempt-meter{margin-left:auto;color:var(--muted);font-weight:900}.verified-email{display:inline-flex;max-width:100%;padding:8px 10px;border-radius:6px;color:var(--accent-dark);background:#e6f0eb;font-weight:900;overflow-wrap:anywhere}.auth-briefing{max-width:480px}.auth-briefing h1{max-width:none}.review-panel{margin-top:18px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}.review-panel h2{margin:0}.attempt-history{display:flex;gap:10px;overflow-x:auto;padding:10px 0}.attempt-history button{width:132px;min-width:132px;min-height:112px;display:grid;gap:2px;align-content:start;padding:6px;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:#f7f3ec;text-align:left}.attempt-history button.active{border-color:var(--accent);background:#e6f0eb}.attempt-history small{color:var(--muted);font-weight:800}.thumb-frame{width:100%;aspect-ratio:16 / 9;display:grid;place-items:center;overflow:hidden;border-radius:4px;background:#202124;color:#fffdf8}.thumb-frame video{width:100%;height:100%;object-fit:cover}.review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,320px));gap:12px}.review-clip,.review-text{display:grid;gap:8px;font-weight:900}.review-clip video{width:100%;aspect-ratio:16 / 9;display:block;object-fit:contain;border-radius:6px;background:#202124}.review-clip audio{width:100%}.review-selected{display:grid;gap:12px}.review-selected-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.selected-pill{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border-radius:6px;color:var(--accent-dark);background:#e6f0eb;font-weight:900}.review-text p{margin:0;padding:12px;border:1px solid var(--line);border-radius:6px;color:var(--muted);background:#f7f3ec;line-height:1.45}@media (max-width: 820px){.booth-shell,.room-shell,.settings-grid,.recorder-grid{grid-template-columns:1fr}.room-shell{height:auto;min-height:100vh;overflow:visible}.cover{display:none}.briefing,.login-panel,.settings-shell,.room-panel{margin:0;padding:22px}.room-nav{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:12px}.room-nav h2{display:none}.room-nav button{min-width:116px;margin:0}.attempt-meter{width:100%;margin-left:0}}
