:root{font-family:"PingFang TC","Microsoft JhengHei",sans-serif;color:#212a48;background:#fff7e8;font-synthesis:none;--ink:#212a48;--muted:#626474;--blue:#2154d8;--orange:#bd4316;--paper:#fffefa;--line:#ddd9ce;--ease:cubic-bezier(.16,1,.3,1);color-scheme:light}*{box-sizing:border-box}body{margin:0}header{max-width:1100px;margin:auto;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:2px;font-size:20px;font-weight:900;text-decoration:none;white-space:nowrap}.brand span{font-weight:700}.brand svg{width:38px;margin-left:8px;fill:none;stroke:var(--blue);stroke-width:3;stroke-linecap:round}#connection{font-size:12px;font-weight:700;color:var(--muted)}a{color:inherit;text-underline-offset:4px}main{max-width:1040px;margin:auto;padding:24px 24px 48px;min-height:calc(100svh - 150px)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,6vw,64px);line-height:1.3;letter-spacing:-.03em;font-weight:900;text-wrap:balance;margin-bottom:16px}h2{font-size:22px;margin-bottom:12px}p{line-height:1.65;color:var(--muted)}button,input{font:inherit}button{cursor:pointer;border:0;border-radius:14px;padding:17px 22px;font-weight:800;font-size:17px;min-height:56px;background:var(--blue);color:white;box-shadow:0 5px 12px #2020201a;transition:transform .18s var(--ease),background .18s}button:hover{background:#163fac}button:active{transform:scale(.97)}button:disabled{cursor:default;opacity:.65;box-shadow:none}button.secondary{background:#e9edf9;color:#23449b;box-shadow:none}button.line{background:transparent;color:var(--ink);box-shadow:none;padding:10px 12px;min-height:44px;font-size:14px}.wide{width:100%}:focus-visible{outline:3px solid #883ca8;outline-offset:4px}input{background:white;border:2px solid #d3d5dc;border-radius:12px;padding:14px 16px;color:var(--ink);width:100%;font-size:18px;margin-bottom:18px;caret-color:var(--blue)}input::placeholder{color:#777887}label{display:block;font-size:14px;font-weight:800;margin-bottom:7px}.welcome{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;max-width:900px;margin:36px auto}.intro h1 em{color:var(--blue);font-style:normal}.intro p{font-weight:600}.answer-art{display:flex;gap:14px;margin-bottom:24px}.answer-art span{width:90px;height:90px;border-radius:20px;display:grid;place-items:center;background:var(--blue);transform:rotate(-9deg)}.answer-art span+span{background:var(--orange);transform:rotate(9deg)}.symbol{display:inline-flex;justify-content:center;align-items:center}.symbol svg{width:70px;height:70px;fill:none;stroke:currentColor;stroke-width:8;stroke-linecap:round}.answer-art svg{width:56px;height:56px;color:white}.join{background:var(--paper);padding:28px;border-radius:20px;box-shadow:0 12px 32px #302d4510}.join h2{font-size:26px}.join p{font-size:14px;margin-bottom:24px}#code{font-size:27px;letter-spacing:.18em;font-weight:800;font-variant-numeric:tabular-nums}.divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin:22px 0 14px}.divider:before,.divider:after{content:"";height:1px;background:var(--line);flex:1}.topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:24px}.pill{font-size:13px;background:#ece8dc;padding:9px 12px;border-radius:10px;font-weight:700;overflow-wrap:anywhere}.lobby{text-align:center}.lobby h1{font-size:clamp(30px,5vw,48px)}.roomcode{font-size:clamp(48px,12vw,88px);letter-spacing:.08em;font-weight:900;color:var(--blue);font-variant-numeric:tabular-nums;line-height:1.2;margin:10px 0 18px}.room-label{font-size:14px;font-weight:700;margin-bottom:0}.share{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:24px;text-align:left;max-width:540px;margin:0 auto 32px}.share p{overflow-wrap:anywhere;font-size:12px}#qr{width:148px;background:white;padding:8px;border-radius:12px}#qr svg{display:block;width:100%;height:auto}.actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.players{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;margin:18px auto 28px;max-width:800px}.player{background:#e7ecff;color:#2b4697;border-radius:10px;padding:10px 15px;font-weight:700;overflow-wrap:anywhere;max-width:100%}.player:nth-child(3n+2){background:#ffe2ce;color:#963a15}.player:nth-child(3n){background:#e0eed7;color:#335e25}.quiet{font-size:14px;color:var(--muted)}.question{max-width:840px;margin:auto;text-align:center}.question-meta{display:flex;justify-content:space-between;font-size:14px;font-weight:800;color:#4c5571}.progress{height:6px;border-radius:8px;background:#e5e1d7;overflow:hidden;margin:14px 0 24px}.progress span{height:100%;display:block;background:var(--blue);transition:transform .4s var(--ease)}.question h1{font-size:clamp(27px,4vw,44px);margin:24px 0 30px;overflow-wrap:anywhere}.choices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.choice{min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--blue);font-size:30px;color:#fff;position:relative}.choice.no{background:var(--orange)}.choice.no:hover{background:#9d3410}.choice:disabled{opacity:1}.choice.selected{outline:4px solid var(--ink);outline-offset:4px}.choice.dim{opacity:.28}.choice .symbol svg{width:80px;height:80px}.answer-state{font-size:18px;font-weight:800;color:var(--blue);margin-bottom:6px}.answer-hint{font-size:14px}.submitted{background:#edf1ff;padding:16px;border-radius:12px;margin-top:20px}.submitted .symbol svg{width:36px;height:36px;stroke-width:6}.submitted h2{margin:8px 0}.reveal{margin:12px 0 24px;padding:26px 20px;background:#e4efdd;border-radius:16px}.reveal.incorrect{background:#fbe5d6}.reveal.neutral{background:#e7ecfa}.result-mark .symbol svg{width:64px;height:64px}.reveal h2{font-size:28px;margin:12px 0}.reveal strong{font-size:20px}.reveal p{color:#394732;max-width:65ch;margin:14px auto 0}.reveal.incorrect p{color:#6b3f29}.reveal.neutral p{color:#35436a}.score-change{display:inline-block;background:white;padding:8px 16px;border-radius:10px;font-weight:900;margin-top:14px}.counts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px auto 0;max-width:400px}.count{padding:12px;background:#ffffffb0;border-radius:10px;text-align:left}.count b{float:right}.count-bar{height:6px;background:#d6dae5;margin-top:10px;border-radius:8px;overflow:hidden}.count-bar i{display:block;background:var(--blue);height:100%}.count.no .count-bar i{background:var(--orange)}#control,#start{min-width:240px}.host-control{position:sticky;bottom:12px;padding:12px 0;background:#fff7e8f5;z-index:2}.ranking{max-width:600px;margin:32px auto;text-align:left}.ranking h2{text-align:center;font-size:20px}.rank{display:flex;gap:14px;align-items:center;padding:15px 12px;border-bottom:1px solid var(--line)}.rank:first-of-type{background:#ffedab;border-radius:12px;border:0}.rank b{width:28px;font-size:21px}.rank span{overflow-wrap:anywhere;min-width:0}.rank strong{margin-left:auto;white-space:nowrap;font-size:18px}.finish-symbol{font-size:56px;color:var(--blue);font-weight:900;margin:18px 0}.music{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0 24px}.music button{min-height:44px;font-size:14px;padding:10px 16px}.music small{color:var(--muted);font-size:12px}.music button[aria-pressed=true]{background:#e1eddb;color:#335d28}#notice{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:14px 20px;border-radius:12px;width:max-content;max-width:90vw;display:none;z-index:10;font-size:14px}footer{padding:16px 24px calc(18px + env(safe-area-inset-bottom));text-align:center;color:var(--muted);font-size:11px}footer summary{cursor:pointer}footer p{font-size:11px;margin:10px}#celebration{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:8}.confetti{position:absolute;left:var(--x);top:-20px;width:10px;height:18px;background:var(--c);animation:fall 1.8s var(--ease) var(--delay) both}.new-scene .reveal,.new-scene .finish-symbol{animation:pop .5s var(--ease)}@keyframes pop{from{transform:scale(.86);clip-path:inset(0 8% round 16px)}to{transform:scale(1);clip-path:inset(0 round 16px)}}@keyframes fall{to{transform:translate3d(var(--drift),105vh,0) rotate(500deg)}}::selection{background:#ffdb69;color:var(--ink)}*{scrollbar-color:#9ba8cc #fff7e8;scrollbar-width:thin}@media(max-width:600px){header{padding:18px 18px 12px}.brand{font-size:18px}.brand svg{width:30px}#connection{font-size:11px}main{padding:16px 18px 28px;min-height:calc(100svh - 130px)}.welcome{display:block;margin:4px auto;max-width:420px}.intro{text-align:center}.intro h1{font-size:38px;margin-bottom:8px}.intro h1 br{display:none}.intro p{font-size:14px;margin-bottom:22px}.answer-art{justify-content:center;margin:12px 0 20px;gap:10px}.answer-art span{width:58px;height:58px;border-radius:14px}.answer-art svg{width:38px;height:38px}.join{padding:23px}.join h2{font-size:23px}.join>p{display:none}.topline{margin-bottom:20px}.pill{font-size:12px}.share{gap:16px;grid-template-columns:120px 1fr;margin-bottom:28px}#qr{width:120px}.share .actions{justify-content:flex-start}.share button{font-size:13px;min-height:44px;padding:10px 12px}.lobby>p{font-size:14px}.lobby h1{margin-bottom:12px}.question h1{font-size:28px;text-wrap:pretty;margin:24px 0}.choices{gap:12px;margin:24px 0 18px}.choice{min-height:190px;font-size:28px}.choice .symbol svg{width:65px;height:65px}.question-meta{font-size:13px}.reveal{padding:24px 16px}.reveal h2{font-size:26px}.reveal p{font-size:15px}.host-control button{width:100%}.ranking{margin-top:26px}.rank{padding:14px 10px}.music{flex-wrap:wrap}.question .quiet{font-size:13px}.join input{margin-bottom:16px}.roomcode{margin-top:6px}.player-lobby{padding-top:28px}.player-lobby .waiting-art{margin:22px auto;color:var(--blue)}.waiting-art .symbol svg{width:90px;height:90px}.player-lobby .players{margin-top:22px}.actions>button{flex-grow:1}.answer-state{font-size:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}}
