.quiz{max-width:560px;min-height:100dvh;color:var(--text-h,#16171d);flex-direction:column;gap:16px;margin:0 auto;padding:16px;display:flex}.quiz-head{justify-content:space-between;align-items:center;font-size:14px;display:flex}.quiz-code{letter-spacing:.1em;font-weight:700}.dot:before{content:"●";color:#b42318;margin-right:4px}.dot.on:before{color:#2e9d57}.quiz-card{border:1px solid var(--border,#e5e4e7);background:var(--bg,#fff);border-radius:12px;flex-direction:column;gap:12px;padding:20px;display:flex}.quiz-card h1{margin:0;font-size:22px;line-height:1.4}.quiz-note{opacity:.7;margin:0;font-size:14px}.quiz-error{color:var(--error,#b42318);margin:0}.quiz input{border:1px solid var(--border,#e5e4e7);box-sizing:border-box;border-radius:8px;width:100%;padding:12px;font-size:18px}.code-input{text-align:center;letter-spacing:.3em;text-transform:uppercase;font-size:32px!important}.quiz button{cursor:pointer;border:0;border-radius:10px;padding:14px;font-size:18px}.quiz button.primary{background:var(--accent,#6c3bff);color:#fff}.quiz button:disabled{opacity:.6;cursor:default}.quiz form{flex-direction:column;gap:12px;display:flex}.choices{grid-template-columns:1fr;gap:12px;display:grid}.choice{color:#fff;text-align:left;min-height:64px;font-weight:600}.choice.c0{background:#d6423f}.choice.c1{background:#2f6fdb}.choice.c2{background:#d99a12}.choice.c3{background:#2e9d57}.choice.picked{outline:4px solid var(--text-h,#16171d);outline-offset:2px}.names{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.names li{background:var(--code-bg,#f2f1f4);border-radius:999px;padding:4px 12px}.score{margin:0;font-size:24px;font-weight:700}.ranking{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.ranking li{background:var(--code-bg,#f2f1f4);border-radius:8px;justify-content:space-between;padding:10px 14px;display:flex}.ranking li.me{outline:2px solid var(--accent,#6c3bff)}.quiz.host{max-width:960px}.big-code{letter-spacing:.2em;text-align:center;margin:0;font-size:96px;font-weight:800;line-height:1.1}.host-question{font-size:34px!important}.choice.dim{opacity:.35}div.choice{border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:14px;font-size:22px;display:flex}.bar-wrap{flex:1;align-items:center;gap:8px;max-width:50%;display:flex}.bar{background:#ffffffd9;border-radius:7px;min-width:2px;height:14px;display:block}.bar-n{white-space:nowrap;font-size:18px}.quiz-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.quiz-list li{border:1px solid var(--border,#e5e4e7);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.quiz-list li div{flex-direction:column;display:flex}@media (width>=700px){.choices{grid-template-columns:1fr 1fr}}.builder{flex-direction:column;gap:16px;display:flex}.builder label,.builder fieldset{border:0;flex-direction:column;gap:6px;margin:0;padding:0;font-size:14px;display:flex}.builder-head{justify-content:space-between;align-items:center;display:flex}.builder-head h2{margin:0;font-size:18px}.choice-row{align-items:center;gap:8px;display:flex}.choice-row input[type=radio]{flex:none;width:22px;height:22px}.quiz button.ghost{border:1px solid var(--border,#e5e4e7);color:var(--text-h,#16171d);background:0 0;padding:8px 12px;font-size:14px}.correct-pick{white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;font-size:13px;display:flex}.choice-row.is-correct input:not([type=radio]){background:#16a34a14;border-color:#16a34a}.choice-row.is-correct .correct-pick{color:#16a34a;font-weight:700}
