:root{--accent:#c2410c;--warning:#dc2626;--bg:#fff;--fg:#1b1b1f;--field:#efeff3;color:var(--fg);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:18px;line-height:1.4}@media (prefers-color-scheme:dark){:root{--accent:#fb923c;--warning:#f87171;--bg:#121216;--fg:#f1f1f4;--field:#26262d}}*{box-sizing:border-box}body{margin:0}main{max-width:28rem;min-height:100dvh;margin:0 auto;padding:1rem}.stack{flex-direction:column;gap:1rem;display:flex}h1{margin:0;font-size:2rem}label{flex-direction:column;gap:.25rem;font-weight:600;display:flex}input,button,.button{min-height:48px;font:inherit;border-radius:.75rem;padding:0 1rem}input{background:var(--field);color:var(--fg);border:2px solid #0000}input:focus{border-color:var(--accent);outline:none}button,.button{background:var(--accent);color:var(--bg);cursor:pointer;border:0;justify-content:center;align-items:center;font-weight:700;text-decoration:none;display:flex}button:disabled{opacity:.6}button:focus-visible,.button:focus-visible{outline:3px solid var(--fg);outline-offset:2px}button.secondary{background:var(--field);color:var(--fg)}hr{border:0;border-top:1px solid var(--field);width:100%}.lang{justify-content:flex-end;gap:.5rem;margin-bottom:1rem;display:flex}.lang button{min-width:48px}.lang button[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--accent)}.error,.notice{border-left:4px solid var(--accent);margin:0;padding-left:.75rem;font-weight:600}h2,h3,p{margin:0}.row{align-items:center;gap:.5rem;display:flex}.grow{flex:1}.code{letter-spacing:.2em;text-align:center;font-size:4rem;font-weight:800}.link{overflow-wrap:anywhere;flex:1}.qr{width:60%;margin:0 auto}.list{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.dot{background:var(--field);width:.75rem;height:.75rem;box-shadow:inset 0 0 0 2px var(--fg);border-radius:50%;flex:none}.dot.on{box-shadow:none;background:#16a34a}.stepper output{text-align:center;min-width:2.5rem;font-weight:700}.status{font-weight:600}button.big{min-height:4.5rem;padding:.5rem 1rem;font-size:1.25rem}button.goal{flex-direction:column;gap:.25rem}.my-goal summary{cursor:pointer;padding:.75rem 0;font-weight:600}.question,.options,.scores tbody th,.my-goal,.feedback{overflow-wrap:anywhere}.question{font-size:1.5rem;font-weight:800;line-height:1.2}.options{flex-direction:column;gap:.75rem;margin:0;padding:0;list-style:none;display:flex}.options li{background:var(--field);border-radius:.75rem;padding:.75rem 1rem;font-weight:600}.rule{font-size:1.25rem;font-weight:700}.countdown{font-variant-numeric:tabular-nums;font-size:2.5rem;font-weight:800}.countdown.warning{color:var(--warning)}.feedback{border-left:8px solid var(--warning);background:var(--field);border-radius:.75rem;padding:.75rem 1rem;font-weight:600}.feedback.right,.feedback.close{border-color:#16a34a}.verdict{font-size:2rem;font-weight:800;line-height:1.2}.scores{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.scores th,.scores td{text-align:right;padding:.5rem}.scores th:first-child{text-align:left}.scores tbody th{width:100%}.answer{font-weight:400}.small{font-size:.875rem}a{color:var(--accent)}.columns{align-items:start;gap:3rem;display:grid}.columns>*{min-width:0}.answering{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.answering li{background:var(--field);border-radius:.75rem;gap:.5rem;min-width:0;padding:.25rem .75rem;display:flex}.answering .answered{background:var(--accent);color:var(--bg);font-weight:700}.stage canvas{display:none}.stage{margin-top:1rem}.tv .countdown.over{font-size:1.25rem}@media (width>=48rem){html:has(main.tv){font-size:min(1.5vw,2.6667vh)}main.tv{max-width:66.67rem;padding:1.5rem 1.5rem 11rem;font-size:1.5rem;position:relative}.tv .stack{gap:.75rem}.stage{z-index:-1;margin:0;position:fixed;inset:auto 0 0}.stage canvas{width:100%;height:12.5rem;display:block}.stage .answering{grid-auto-columns:var(--step);grid-auto-flow:column;gap:0;position:absolute;bottom:9.2rem;left:50%;transform:translate(-50%)}.stage .answering li{justify-self:center;max-width:calc(100% - .5rem);padding:0 .5rem;font-size:1.25rem}.stage.map canvas{height:100vh}.stage.map .answering{display:block;inset:0;transform:none}.stage.map .answering li{max-width:10rem;padding:0 .4rem;font-size:1rem;line-height:1.25;position:absolute;transform:translate(-50%,-100%)}.tv .caption{max-width:calc(100% - 3rem);position:fixed;bottom:1.5rem;left:1.5rem}.tv .caption .question{font-size:2.25rem}.tv:has(.map) :is(h1,h2){background:var(--bg);border-radius:.75rem;align-self:start;padding:.25rem .75rem}.tv .status{flex-wrap:wrap;column-gap:2rem;display:flex}.tv .status br{display:none}.tv .lang{margin:0;position:absolute;top:1.5rem;right:1.5rem}.tv h1{font-size:1.5rem}.tv .columns{grid-template-columns:1fr 1fr}.tv .scene{font-size:1.75rem;font-weight:600;line-height:1.3}.tv .code{font-size:5rem;line-height:1}.tv .qr{width:18rem}.tv :is(.link,.sound){text-align:center}.tv .question{font-size:3rem}.tv .columns .question{font-size:2.25rem}.tv .options{grid-template-columns:1fr 1fr;font-size:2rem;display:grid}.tv .rule{font-size:2rem}.tv .long .question{font-size:1.75rem}.tv .long .options,.tv .long .rule{font-size:1.5rem}.tv .columns .long,.tv .columns .long>*{font-size:1.25rem}.tv .countdown{font-size:6rem;line-height:1}.tv .countdown.over{font-size:2rem}.tv .answering .name,.tv .scores tbody th{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tv .scores tbody th{max-width:0}.tv .answer{margin-left:1rem;display:inline}.tv .scores th,.tv .scores td{padding:.25rem .5rem}.tv .scores:has(tbody tr:nth-child(7)){font-size:1.25rem}.tv .scores:has(tbody tr:nth-child(7)) :is(th,td){padding-block:0}.tv h2+.scores{max-width:40rem}}
