:root{--bg:#fff4e0;--surface:#fff;--surface-2:#ffecc9;--line:#1c1a17;--border:var(--line);--text:#1c1a17;--muted:#5d564c;--accent:#ff5b3a;--accent-ink:#1c1a17;--accent-text:#b8341a;--accent-soft:#ff5b3a24;--good:#137a43;--bad:#c42f2f;--go:#13774a;--wait:#b52a2a;--ink:#1c1a17;--paper:#fff;--yellow:#ffd23f;--blue:#4a74f5;--green:#1f9d57;--pink:#ff9cc2;--teal:#2bb3a3;--purple:#9b7bf0;--heart:#ff4b4b;--stage-bg:#ffd23f;--stage-dot:#0000001a;--stage-text:#1c1a17;--stroke:2.5px;--shadow:4px 4px 0 var(--line);--shadow-sm:2px 2px 0 var(--line);--radius:16px;--font-body:"Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", system-ui, sans-serif;--font-pop:"Dela Gothic One", "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#1d1a17;--surface:#2b2723;--surface-2:#383129;--line:#000;--text:#f7efe0;--muted:#bdb2a1;--accent:#ff6a4a;--accent-text:#ff9a80;--accent-soft:#ff6a4a2e;--good:#5fd894;--bad:#ff8a7a;--stage-bg:#3a3226;--stage-dot:#ffffff12;--stage-text:#f7efe0;--shadow:4px 4px 0 #000;--shadow-sm:2px 2px 0 #000;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#1d1a17;--surface:#2b2723;--surface-2:#383129;--line:#000;--text:#f7efe0;--muted:#bdb2a1;--accent:#ff6a4a;--accent-text:#ff9a80;--accent-soft:#ff6a4a2e;--good:#5fd894;--bad:#ff8a7a;--stage-bg:#3a3226;--stage-dot:#ffffff12;--stage-text:#f7efe0;--shadow:4px 4px 0 #000;--shadow-sm:2px 2px 0 #000;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);font-family:var(--font-body);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0;font-size:16px;font-weight:500;line-height:1.65}h1,h2,h3{margin:0;font-weight:900;line-height:1.3}button,input{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.mono{font-variant-numeric:tabular-nums;letter-spacing:.02em;font-weight:900}.room-code .mono,.message .mono{font-family:var(--font-pop);letter-spacing:.08em;font-weight:400}.muted{color:var(--muted)}.page{flex-direction:column;min-height:100dvh;display:flex}.topbar{padding:10px 16px;padding-top:max(10px, env(safe-area-inset-top));border-bottom:var(--stroke) solid var(--line);background:var(--surface);z-index:10;justify-content:space-between;align-items:center;gap:8px;display:flex;position:sticky;top:0}.brand{flex:none;align-items:center;min-height:44px;padding-right:4px;text-decoration:none;display:inline-flex}.logo{font-family:var(--font-pop);letter-spacing:.06em;color:#fff;background:var(--accent);border:var(--stroke) solid var(--line);box-shadow:3px 3px 0 var(--line);-webkit-text-stroke:1px var(--ink);paint-order:stroke fill;white-space:nowrap;border-radius:10px;padding:6px 10px 7px;font-size:17px;line-height:1;display:inline-block;overflow:hidden;transform:rotate(-3deg)}.logo-slit{vertical-align:middle;background:var(--bg);border-left:2px solid var(--ink);border-right:2px solid var(--ink);width:7px;height:1.6em;margin:-.4em 2px -.4em 3px;display:inline-block;transform:rotate(14deg)}@media (width<=380px){.logo{padding:5px 8px 6px;font-size:14px}}.demo-banner{background:var(--surface-2);color:var(--text);border-bottom:2px dashed var(--muted);text-align:center;padding:8px 16px;font-size:14px}.center{flex:1;place-items:center;padding:28px 16px;display:grid}.stack{flex-direction:column;gap:18px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.panel{background:var(--surface);border:var(--stroke) solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:14px;min-width:0;padding:18px 16px;display:flex}.panel-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.panel-head h2{font-family:var(--font-pop);font-size:18px;font-weight:400}.btn{border:var(--stroke) solid var(--line);background:var(--surface);min-height:50px;color:var(--text);box-shadow:var(--shadow);cursor:pointer;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:0 20px;font-size:16px;font-weight:900;transition:transform 80ms,box-shadow 80ms,background .15s;display:inline-flex}a.btn{text-decoration:none}.btn:active:not(:disabled){box-shadow:1px 1px 0 var(--line);transform:translate(3px,3px)}.btn:disabled{opacity:.55;box-shadow:none;cursor:not-allowed;border-style:dashed}.btn.primary{background:var(--accent);color:var(--accent-ink);font-size:18px}.btn.block{width:100%}.btn.small{min-height:44px;box-shadow:var(--shadow-sm);padding:0 14px;font-size:14px}.btn.ghost{box-shadow:none;color:var(--muted);background:0 0;border-color:#0000;padding:0 8px}.btn.ghost:active:not(:disabled){box-shadow:none;transform:none}.link{color:var(--accent-text);cursor:pointer;text-underline-offset:3px;background:0 0;border:none;min-height:44px;margin-left:auto;padding:0 4px;font-size:14px;font-weight:700;text-decoration:underline}input{border:var(--stroke) solid var(--line);background:var(--bg);border-radius:12px;outline:none;width:100%;min-height:52px;padding:0 16px;font-size:17px}input::placeholder{color:var(--muted)}input:focus{box-shadow:0 0 0 3px var(--accent)}.field{flex-direction:column;gap:6px;display:flex}.label{color:var(--muted);margin:0 0 6px;font-size:14px;font-weight:700}.field .label{margin:0}.pill,.tag{border:2px solid var(--line);background:var(--surface-2);color:var(--text);white-space:nowrap;border-radius:999px;align-items:center;padding:1px 10px;font-size:12px;font-weight:700;line-height:1.6;display:inline-flex}.tag{background:0 0;border-color:currentColor;margin-left:6px;padding:0 8px;font-weight:900}.tag.good{color:var(--good)}.tag.bad{color:var(--bad)}.hint,.lead-sm{color:var(--muted);margin:0;font-size:14px}.lead-sm{font-size:15px}.notice{background:var(--surface-2);color:var(--text);text-align:center;border-radius:12px;margin:0;padding:12px 14px;font-size:15px;font-weight:700}.notice.waiting{text-align:left;justify-content:center;align-items:center;gap:10px;display:flex}.dots{flex:none;gap:4px;display:flex}.dots i{background:var(--accent);border:1.5px solid var(--line);border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite dot-bounce}.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}@keyframes dot-bounce{0%,60%,to{transform:none}30%{transform:translateY(-4px)}}.error{color:var(--bad);margin:0;font-size:14px;font-weight:700}.error:before{content:"! "}.rules{flex-direction:column;gap:6px;margin:0;padding-left:1.3em;font-size:15px;display:flex}.countdown{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:16px;font-weight:900}.countdown-label{color:var(--muted);margin-right:6px;font-size:12px;font-weight:700}.countdown.urgent{color:var(--bad);border:2px dashed;border-radius:999px;padding:0 8px}.home-main{gap:26px;width:100%;max-width:1080px;margin:0 auto;padding:24px 16px 64px;display:grid}.hero{align-content:start;gap:12px;display:grid}.hero .eyebrow{color:var(--muted);margin:0;font-size:14px;font-weight:700}.hero h1{font-family:var(--font-pop);word-break:keep-all;overflow-wrap:anywhere;font-size:clamp(26px,8.4vw,46px);font-weight:400;line-height:1.3}.hero h1 .mark{background:var(--yellow);color:var(--ink);border:var(--stroke) solid var(--line);box-shadow:3px 3px 0 var(--line);border-radius:8px;margin-top:6px;padding:0 8px;display:inline-block;transform:rotate(-2deg)}.hero .lead{color:var(--muted);margin:0;font-size:16px}.stickers{flex-wrap:wrap;gap:8px;margin:2px 0 0;padding:0;list-style:none;display:flex}.sticker{border:2px solid var(--line);color:var(--ink);border-radius:999px;padding:3px 12px;font-size:13px;font-weight:900}.sticker:first-child{background:var(--pink);transform:rotate(-3deg)}.sticker:nth-child(2){background:var(--teal);transform:rotate(2deg)}.sticker:nth-child(3){background:var(--yellow);transform:rotate(-1deg)}.entry{width:100%;max-width:440px}.message{text-align:center;align-items:center}.message h2{font-family:var(--font-pop);word-break:keep-all;overflow-wrap:anywhere;font-size:22px;font-weight:400;line-height:1.45}.message-mark{background:var(--yellow);width:64px;height:64px;color:var(--ink);border:var(--stroke) solid var(--line);box-shadow:var(--shadow-sm);font-family:var(--font-pop);border-radius:50%;place-items:center;font-size:30px;line-height:1;display:grid;transform:rotate(-6deg)}.divider{color:var(--muted);align-items:center;gap:10px;font-size:13px;font-weight:700;display:flex}.divider:before,.divider:after{content:"";border-top:2px dashed var(--muted);opacity:.6;flex:1}.join-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.code-input{font-family:var(--font-pop);letter-spacing:.3em;text-transform:uppercase;text-align:center;font-size:18px}.code-input::placeholder{font-family:var(--font-pop)}.practice-card{background:var(--surface-2);min-height:56px;color:var(--text);border:var(--stroke) solid var(--line);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-weight:900;text-decoration:none;transition:transform 80ms;display:flex}.practice-card:active{transform:translate(2px,2px)}.practice-card small{color:var(--muted);font-size:13px;font-weight:500;display:block}.practice-arrow{font-size:20px}.game-catalog h2{font-family:var(--font-pop);flex-wrap:wrap;align-items:baseline;gap:10px;margin-bottom:12px;font-size:21px;font-weight:400;display:flex}.catalog-sub{font-family:var(--font-body);color:var(--muted);font-size:13px;font-weight:700}.catalog-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.catalog-item{border-radius:var(--radius);background:var(--surface);border:var(--stroke) solid var(--line);box-shadow:var(--shadow);align-items:center;gap:12px;padding:12px;display:flex}.catalog-item h3{font-size:17px}.catalog-item p{color:var(--muted);margin:2px 0 0;font-size:14px;line-height:1.5}.catalog-item .meta{color:var(--text);font-size:12px;font-weight:700}.game-icon,.game-icon-fallback{flex:none;display:block}.game-icon-fallback{place-items:center;line-height:1;display:inline-grid}@media (width>=900px){.home-main{grid-template-columns:1.15fr 1fr;align-items:start;gap:32px 48px;padding:48px 40px 72px}.entry{max-width:none}.game-catalog{grid-column:1/-1}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}.join-wrap{background:repeating-linear-gradient(-45deg,#0000 0 14px,#ff5b3a14 14px 28px)}.join-card{gap:16px}.invite{border:2px solid var(--line);background:var(--yellow);color:var(--ink);border-radius:999px;align-self:flex-start;padding:3px 12px;font-size:13px;font-weight:900;transform:rotate(-2deg)}.join-title{font-size:22px;line-height:1.6}.code-chip{font-family:var(--font-pop);letter-spacing:.12em;background:var(--surface-2);border:var(--stroke) solid var(--line);border-radius:10px;margin:0 6px;padding:0 6px 0 10px;font-size:26px;font-weight:400;line-height:1.3;display:inline-block}.note{color:var(--muted);text-align:center;margin:0;font-size:13px}.room-top{z-index:10;position:sticky;top:0}.room-top .topbar{position:static}.conn-banner{background:var(--yellow);min-height:30px;color:var(--ink);border-bottom:var(--stroke) solid var(--line);text-align:center;justify-content:center;align-items:center;gap:8px;padding:4px 16px;font-size:14px;font-weight:900;line-height:1.4;display:flex}.conn-sub{margin-left:.5em;font-weight:500}.conn-spinner{border:2.5px solid #1c1a1740;border-top-color:var(--ink);border-radius:50%;flex:none;width:14px;height:14px;animation:.9s linear infinite conn-spin}@keyframes conn-spin{to{transform:rotate(360deg)}}.message-actions{justify-content:center}.room-meta{align-items:center;gap:6px;min-width:0;display:flex}.room-code{white-space:nowrap;margin-right:4px;font-size:12px;font-weight:700}.room-code .mono{color:var(--text);font-size:16px}.room-layout{flex:1;align-items:start;gap:18px;width:100%;max-width:1200px;margin:0 auto;padding:18px 16px 40px;display:grid}.room-main{flex-direction:column;gap:18px;min-width:0;display:flex}.lobby{display:contents}.selected-panel{order:1}.members-panel{order:2}.picker-panel{order:3}@media (width>=960px){.room-layout{grid-template-columns:minmax(0,1fr) 340px;gap:24px;padding:24px 24px 32px}.room-side{position:sticky;top:84px}.room-top:has(.conn-banner)~.room-layout .room-side{top:116px}.room-side .chat-list{height:calc(100dvh - 260px)}}.members{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:2px 16px;margin:0;padding:0;list-style:none;display:grid}.members li{align-items:center;gap:10px;min-height:40px;font-size:16px;font-weight:700;display:flex}.members li.offline .member-name{color:var(--muted)}.dot{border:2px dashed var(--muted);background:0 0;border-radius:50%;flex-shrink:0;width:12px;height:12px}.dot.on{background:var(--green);border:2px solid var(--line)}.member-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.member-name .muted{font-weight:500}.picker-group{flex-direction:column;gap:8px;display:flex}.picker-label{margin:0;font-size:15px;font-weight:900}.picker-label .muted{font-size:12px;font-weight:500}.game-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}@media (width>=600px){.game-picker{grid-template-columns:repeat(3,minmax(0,1fr))}}.game-option{border:var(--stroke) solid var(--line);background:var(--surface);min-height:44px;color:var(--text);cursor:pointer;text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:12px 8px;transition:transform 80ms;display:flex;container-type:inline-size}.game-option:active:not(:disabled){transform:translate(2px,2px)}.game-option:disabled{cursor:default;color:inherit}.game-option.selected{background:var(--yellow);color:var(--ink);box-shadow:3px 3px 0 var(--line);position:relative}.game-option.selected .game-meta{color:#4a443b}.game-option.selected:after{content:"✓";background:var(--accent);width:24px;height:24px;color:var(--ink);border:2px solid var(--line);border-radius:50%;place-items:center;font-size:13px;font-weight:900;display:grid;position:absolute;top:-9px;right:-7px}.game-name,.game-header h1,.panel-head h2,.catalog-item h3,.now-head h3{word-break:keep-all;overflow-wrap:anywhere}.game-name{font-size:clamp(11px,10.5cqi,15px);font-weight:900;line-height:1.35}.game-meta{color:var(--muted);font-size:12px;font-weight:700}.now-head{align-items:center;gap:12px;display:flex}.now-head h3{font-family:var(--font-pop);font-size:21px;font-weight:400}.now-head .lead-sm{margin-top:2px}.option-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.option-row .label{margin:0}.segmented{border:var(--stroke) solid var(--line);background:var(--line);gap:var(--stroke);border-radius:22px;flex-wrap:wrap;display:flex;overflow:hidden}.segmented button{background:var(--surface);min-width:52px;min-height:44px;color:var(--text);cursor:pointer;border:none;flex:1 0 auto;padding:0 14px;font-size:15px;font-weight:900}.segmented button.selected{background:var(--yellow);color:var(--ink);text-underline-offset:4px;text-decoration:underline;text-decoration-thickness:3px}.segmented button:disabled{cursor:default}.segmented button:disabled:not(.selected){color:var(--muted)}.game-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.game-header h1{font-family:var(--font-pop);align-items:center;gap:10px;font-size:22px;font-weight:400;display:flex}.chat{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex}.chat-list{overscroll-behavior:contain;flex-direction:column;gap:10px;height:320px;padding:2px 6px 4px 2px;display:flex;overflow-y:auto}.chat-empty{margin:auto;font-size:14px}.chat-system{text-align:center;color:var(--muted);border:1.5px dashed var(--muted);border-radius:999px;align-self:center;margin:0;padding:0 10px;font-size:13px;font-weight:700}.chat-msg{flex-direction:column;align-items:flex-start;max-width:85%;margin:0;display:flex}.chat-msg.mine{align-self:flex-end;align-items:flex-end}.chat-name{color:var(--muted);margin:0 6px 2px;font-size:12px;font-weight:700}.chat-text{background:var(--surface-2);color:var(--text);border:2px solid var(--line);word-break:break-word;border-radius:16px 16px 16px 4px;padding:7px 13px;font-size:16px;line-height:1.5}.chat-msg.mine .chat-text{background:var(--accent);color:var(--accent-ink);border-radius:16px 16px 4px}.chat-form{gap:8px;display:flex}.chat-form .btn{flex:none;min-height:52px}.chat-limit{color:var(--bad);margin:0;font-size:13px;font-weight:700}.chat-toggle{width:44px;padding:0;position:relative}@media (width<=539px){.room-label,.room .room-code{display:none}}.only-narrow{display:none}@media (width<=420px){.only-wide{display:none}.only-narrow{display:inline}.room .topbar,.room-meta{gap:4px}.room-meta>.btn{flex:none}.room-meta>.btn.small:not(.ghost):not(.chat-toggle){padding:0 10px}.room-meta .btn-label{text-align:center;line-height:1.1}.room-meta .exit-btn{min-width:44px;padding:0 6px}}.badge{background:var(--accent);min-width:22px;height:22px;color:var(--ink);border:2px solid var(--line);border-radius:11px;place-items:center;padding:0 6px;font-size:12px;font-weight:900;display:grid;position:absolute;top:-8px;right:-8px}.sheet-backdrop{z-index:30;background:#00000080;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);border-top:var(--stroke) solid var(--line);width:100%;height:min(78dvh,640px);padding:16px;padding-bottom:max(16px, env(safe-area-inset-bottom));border-radius:20px 20px 0 0;flex-direction:column;gap:12px;animation:.2s ease-out sheet-up;display:flex}.sheet .chat-list{flex:1;height:auto}@keyframes sheet-up{0%{opacity:0;transform:translateY(40px)}}.share-popover{background:var(--surface);border:var(--stroke) solid var(--line);max-width:440px;box-shadow:var(--shadow);border-radius:14px;gap:8px;margin-left:auto;padding:10px;display:flex;position:absolute;top:calc(100% + 6px);left:16px;right:16px}.btn.armed,.link.armed{color:var(--bad);border-color:var(--bad);border-style:dashed}.choices{flex-wrap:wrap;gap:8px;display:flex}.choice{border:var(--stroke) solid var(--line);background:var(--surface);min-width:52px;height:52px;color:var(--text);cursor:pointer;font-variant-numeric:tabular-nums;box-shadow:var(--shadow-sm);border-radius:12px;font-size:20px;font-weight:900}.choice:active{box-shadow:none;transform:translate(2px,2px)}.choice.selected{background:var(--yellow);color:var(--ink);text-underline-offset:4px;text-decoration:underline;text-decoration-thickness:3px}.result-banner{text-align:center;padding:8px 0}.result-banner p{margin:0}.result-banner.hit .big-number,.result-banner.hit .big-text{color:var(--good)}.result-banner.miss .big-text{color:var(--bad)}.big-number{font-family:var(--font-pop);font-variant-numeric:tabular-nums;font-size:60px;line-height:1.1}.big-text{font-family:var(--font-pop);font-size:30px;font-weight:400;margin:6px 0!important}.ranking{counter-reset:rank;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.ranking h3{margin-bottom:6px;font-size:15px}.ranking ol{margin:0;padding-left:1.4em}.ranking>li,.tally>li{background:var(--surface-2);border-radius:12px;justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:6px 12px;font-weight:700;display:flex}.ranking>li.first{background:var(--yellow);color:var(--ink);border:var(--stroke) solid var(--line);box-shadow:var(--shadow-sm);font-weight:900}.ranking>li.first .muted{color:#4a443b}.tally{flex-direction:column;gap:6px;margin:0;padding:0;font-size:15px;list-style:none;display:flex}.tally>li>span:first-child{overflow-wrap:anywhere;min-width:0}.seat-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.seat{background:var(--surface-2);border:var(--stroke) solid transparent;text-align:center;border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;display:flex}.seat.is-caller{border-color:var(--line);background:var(--surface);box-shadow:var(--shadow-sm)}.seat-name{font-size:15px;font-weight:900}.hands{gap:6px;font-size:28px;line-height:1.2;display:flex}.hands .hand{padding:0;display:inline}.hand.gone{opacity:.25}.word-card{border:var(--stroke) dashed var(--line);background:var(--surface-2);width:100%;min-height:100px;color:var(--muted);cursor:pointer;border-radius:16px;padding:16px;font-size:16px;font-weight:700}.word-card.open{background:var(--surface);color:var(--text);box-shadow:var(--shadow);font-family:var(--font-pop);border-style:solid;font-size:30px;font-weight:400}.vote-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr));gap:10px;display:grid}.vote-item{border:var(--stroke) solid var(--line);background:var(--surface);min-height:52px;color:var(--text);cursor:pointer;border-radius:14px;justify-content:space-between;align-items:center;gap:8px;padding:0 14px;font-weight:900;display:flex}.vote-item.selected{background:var(--yellow);color:var(--ink);box-shadow:3px 3px 0 var(--line)}.vote-item.selected .tag.good{color:#0d5a31}.vote-item:disabled{cursor:default;opacity:.6;border-style:dashed}.word-reveal{grid-template-columns:1fr 1fr;gap:10px;margin:0;display:grid}.word-reveal div{background:var(--surface-2);border:2px solid var(--line);text-align:center;border-radius:14px;padding:12px}.word-reveal dt{color:var(--muted);font-size:12px;font-weight:700}.word-reveal dd{overflow-wrap:anywhere;margin:4px 0 0;font-size:19px;font-weight:900}.reaction-pad{border:var(--stroke) solid var(--line);width:100%;height:min(56dvh,420px);box-shadow:var(--shadow);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;color:#fff;background:#3b3631;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:8px;transition:background 50ms;display:flex;position:relative}.reaction-pad.wait{background:var(--wait)}.reaction-pad.go{background:var(--go)}.reaction-pad.done{filter:saturate(.6)}.reaction-round{font-size:14px;font-weight:700;position:absolute;top:14px;left:18px}.reaction-text{font-family:var(--font-pop);font-variant-numeric:tabular-nums;-webkit-text-stroke:5px var(--ink);paint-order:stroke fill;font-size:clamp(34px,10vw,56px)}.reaction-sub{font-size:16px;font-weight:700}.question{text-align:center;margin:0;font-size:22px;font-weight:900}.ab{grid-template-columns:1fr 1fr;gap:12px;display:grid}.ab-option{border:var(--stroke) solid var(--line);background:var(--surface);min-height:110px;color:var(--text);box-shadow:var(--shadow-sm);cursor:pointer;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:12px;display:flex;position:relative}.ab-option:disabled{cursor:default}.ab-option.selected{background:var(--yellow);color:var(--ink)}.ab-option.selected .ab-count small{color:#4a443b}.ab-option.majority{box-shadow:0 0 0 4px var(--green), var(--shadow)}.ab-option.majority:before{content:"多数派";background:var(--green);color:var(--ink);border:2px solid var(--line);white-space:nowrap;border-radius:999px;padding:0 10px;font-size:12px;font-weight:900;position:absolute;top:-12px;left:50%;transform:translate(-50%)rotate(-3deg)}.ab-label{font-size:18px;font-weight:900}.ab-count{font-family:var(--font-pop);flex-direction:column;align-items:center;font-size:22px;display:flex}.ab-count small{font-family:var(--font-body);color:var(--muted);font-size:12px;font-weight:700}.card{--card-ink:#1c1a17;border:2px solid var(--ink);width:44px;height:64px;color:var(--card-ink);box-shadow:2px 2px 0 var(--line);background:#fffdf8;border-radius:8px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;padding:0;font-family:Georgia,Times New Roman,serif;line-height:1.05;transition:transform .12s,box-shadow .12s;display:inline-flex}button.card{cursor:pointer}.card.red{--card-ink:#c42f2f}.card.joker{--card-ink:#6b3fa0}.card-rank{font-size:20px;font-weight:700}.card-suit{font-size:18px}.card-joker{letter-spacing:.05em;writing-mode:vertical-rl;font-size:9px;font-weight:900;font-family:var(--font-body)}.card.selected{box-shadow:0 0 0 3px var(--yellow), 3px 5px 0 var(--line);transform:translateY(-12px)}.hand{flex-wrap:wrap;gap:6px;padding-top:12px;display:flex}@media (width>=600px){.card{width:52px;height:76px}.card-rank{font-size:24px}}.hand-actions{grid-template-columns:1fr 2fr;gap:10px;display:grid}.table-field{background:var(--surface-2);background-image:radial-gradient(var(--stage-dot) 1.5px, transparent 2px);border:var(--stroke) solid var(--line);text-align:center;background-size:14px 14px;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:130px;padding:16px;font-size:14px;display:flex}.field-cards{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.field-cards .card{width:56px;height:80px}.turn-line{text-align:center;margin:0;font-weight:700}.turn-line strong{color:var(--accent-text);font-weight:900}.event-log{color:var(--muted);text-align:center;margin:0;padding:0;font-size:13px;list-style:none}.tally>li.is-turn{background:var(--surface);box-shadow:inset 0 0 0 var(--stroke) var(--line), var(--shadow-sm)}.pill.revolution{background:var(--bad);color:#fff}.rush-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.stage-wrap{flex-direction:column;gap:6px;display:flex}.stage-no{font-family:var(--font-pop);background:var(--surface);border:var(--stroke) solid var(--line);box-shadow:var(--shadow-sm);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;align-self:flex-start;padding:1px 12px;font-size:20px;line-height:1.4}.stage-no small{font-family:var(--font-body);color:var(--muted);font-size:13px;font-weight:700}.track{align-items:center;gap:5px;padding-left:4px;display:flex}.track i{border:2px solid var(--text);background:var(--surface);border-radius:50%;width:12px;height:12px}.track i.done{background:var(--text)}.track i.flag{background:var(--yellow);border-radius:3px}.track i.done.flag{background:var(--text)}.track i.cur{background:var(--accent);transform:scale(1.35)}.hearts{flex:none;align-items:center;gap:3px;display:inline-flex}.hearts svg{width:30px;height:28px;display:block}.heart-body{stroke:var(--line);stroke-width:2.5px;stroke-linejoin:round}.heart .heart-body{fill:var(--heart)}.heart-shine{stroke:#fff;stroke-width:2px;fill:none;stroke-linecap:round}.heart.lost .heart-body{fill:none;stroke:var(--muted);stroke-dasharray:3 3}.tally .hearts svg{width:20px;height:19px}.tally .hearts{gap:2px}.tally>li.out{color:var(--muted)}.tally>li.out>span:first-child{text-decoration:line-through}.challenge-hero,.challenge-over,.micro-intro,.micro-play{background-color:var(--stage-bg);background-image:radial-gradient(var(--stage-dot) 1.5px, transparent 2px);border:var(--stroke) solid var(--line);box-shadow:var(--shadow);background-size:14px 14px;border-radius:20px}.micro-intro{min-height:min(56dvh,440px);color:var(--stage-text);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:24px 16px;display:flex;overflow:hidden}.micro-intro p{margin:0}.micro-intro.ok{background-color:var(--green)}.micro-intro.ng{background-color:var(--blue)}.micro-label{font-family:var(--font-pop);letter-spacing:.06em;color:var(--ink);background:var(--paper);border:2px solid var(--ink);border-radius:999px;padding:0 12px;font-size:15px;transform:rotate(-3deg)}.micro-label.speed{color:#fff;background:var(--blue);-webkit-text-stroke:3px var(--ink);paint-order:stroke fill;border-radius:6px}.micro-title,.micro-title-sm{font-family:var(--font-pop);color:#fff;-webkit-text-stroke:7px var(--ink);paint-order:stroke fill;text-shadow:4px 4px 0 var(--ink);word-break:keep-all;overflow-wrap:anywhere;font-weight:400;line-height:1.15}.micro-title{font-size:clamp(32px,10vw,72px);animation:.25s cubic-bezier(.2,1.6,.4,1) slam-in;transform:rotate(-4deg)}.micro-hint{color:var(--ink);background:var(--paper);border:2px solid var(--ink);border-radius:999px;padding:2px 14px;font-size:15px;font-weight:900}.micro-count{font-family:var(--font-pop);color:var(--accent);-webkit-text-stroke:5px var(--ink);paint-order:stroke fill;font-variant-numeric:tabular-nums;font-size:44px;line-height:1}@keyframes slam-in{0%{opacity:0;transform:scale(1.8)rotate(-10deg)}}@keyframes pop-in{0%{opacity:0;transform:scale(.4)}}.micro-play{flex-direction:column;gap:10px;padding:12px;display:flex}.micro-title-sm{transform-origin:0;-webkit-text-stroke:6px var(--ink);text-shadow:3px 3px 0 var(--ink);margin:2px 0 0 4px;font-size:clamp(28px,9vw,46px);transform:rotate(-3deg)}.micro-stage{background:var(--surface);border:var(--stroke) solid var(--line);touch-action:none;-webkit-user-select:none;user-select:none;border-radius:16px;width:100%;height:min(52dvh,420px);position:relative;overflow:hidden}.micro-stage.center-col{flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:36px 16px 20px;display:flex}.micro-timebar{border:var(--stroke) solid var(--ink);z-index:1;background:#fff;border-radius:999px;height:16px;position:absolute;top:10px;left:12px;right:12px;overflow:hidden}.micro-timebar span{background-color:var(--accent);border-right:var(--stroke) solid var(--ink);background-image:repeating-linear-gradient(90deg,#0000 0 18px,#0003 18px 20px);height:100%;display:block}.micro-corner{font-family:var(--font-pop);font-variant-numeric:tabular-nums;font-size:18px;position:absolute;top:34px;right:14px}.micro-big{font-family:var(--font-pop);font-variant-numeric:tabular-nums;margin:0;font-size:64px;line-height:1}.micro-big.small{font-size:42px}.micro-stage p{margin:0}.micro-stage .muted{font-weight:700}.mash-button{aspect-ratio:1;border:3px solid var(--line);background:var(--accent);color:#fff;width:min(70%,240px);font-family:var(--font-pop);-webkit-text-stroke:5px var(--ink);paint-order:stroke fill;cursor:pointer;box-shadow:6px 6px 0 var(--line);border-radius:50%;font-size:34px}.mash-button:active{box-shadow:2px 2px 0 var(--line);transform:translate(4px,4px)}.stop-bar{background:var(--surface-2);border:var(--stroke) solid var(--line);border-radius:14px;width:100%;height:60px;position:relative}.stop-zone{background-color:var(--green);border-left:2px solid var(--line);border-right:2px solid var(--line);background-image:repeating-linear-gradient(-45deg,#0000 0 6px,#0000002e 6px 9px);position:absolute;top:0;bottom:0}.stop-needle{background:var(--text);border-radius:3px;width:6px;margin-left:-3px;position:absolute;top:-10px;bottom:-10px}.whack-target{border:var(--stroke) solid var(--ink);width:64px;height:64px;box-shadow:3px 3px 0 var(--ink);cursor:pointer;background:radial-gradient(circle,#ff5b3a 0 30%,#fff 30% 55%,#ff5b3a 55%);border-radius:50%;margin:-32px 0 0 -32px;animation:.15s ease-out pop-in;position:absolute}.dodge{cursor:none;background:var(--surface);background-image:linear-gradient(transparent 80%, var(--surface-2) 80%)}.rock,.dodger{pointer-events:none;font-size:28px;line-height:1;position:absolute;transform:translate(-50%,-50%)}.rock{color:var(--text)}.dodger{font-size:34px}.balloon{cursor:pointer;transform-origin:bottom;background:0 0;border:none;font-size:96px;line-height:1;transition:transform 80ms}.count-dot{font-size:30px;position:absolute;transform:translate(-50%,-50%)}.micro-choices{flex-direction:column;justify-content:center;align-items:center;gap:16px;font-size:19px;font-weight:900;display:flex;position:absolute;inset:0}.choice.wide{min-width:84px}.color-word{font-family:var(--font-pop);-webkit-text-stroke:2px var(--ink);paint-order:stroke fill;font-size:56px}.color-buttons{grid-template-columns:repeat(4,1fr);gap:10px;width:100%;max-width:360px;display:grid}.color-buttons button{aspect-ratio:1;border:var(--stroke) solid var(--ink);min-height:44px;box-shadow:var(--shadow-sm);cursor:pointer;border-radius:14px}.odd-grid{grid-template-columns:repeat(5,1fr);gap:6px;width:100%;max-width:340px;display:grid}.odd-grid button{aspect-ratio:1;border:2px solid var(--line);background:var(--surface-2);cursor:pointer;border-radius:10px;padding:0;font-size:clamp(22px,7vw,32px)}.odd-grid button.found{background:var(--yellow);box-shadow:0 0 0 3px var(--accent)}.ok-text{color:var(--good);font-weight:900}.micro-frozen{position:relative}.micro-verdict{pointer-events:all;background:#0000001f;border-radius:16px;place-items:center;display:grid;position:absolute;inset:0}.verdict-badge{place-items:center;width:min(84%,290px);animation:.22s cubic-bezier(.2,1.6,.4,1) stamp-in;display:grid;position:relative;transform:rotate(-5deg)}.verdict-burst{width:100%;height:auto;display:block;overflow:visible}.verdict-burst path{stroke:var(--ink);stroke-width:3px;stroke-linejoin:round}.micro-verdict.ok .verdict-burst path{fill:var(--green)}.micro-verdict.ng .verdict-burst path{fill:var(--blue)}.verdict-txt{flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex;position:absolute;inset:0}.verdict-main{font-family:var(--font-pop);color:#fff;-webkit-text-stroke:6px var(--ink);paint-order:stroke fill;align-items:center;gap:6px;font-size:clamp(30px,10vw,40px);line-height:1.1;display:flex}.verdict-main i{border:3px solid var(--ink);width:38px;height:38px;font-style:normal;font-family:var(--font-body);color:var(--ink);-webkit-text-stroke:0;background:#fff;border-radius:50%;place-items:center;font-size:22px;font-weight:900;display:grid}.micro-verdict.ng .verdict-main i{border-radius:8px}.verdict-txt small{color:var(--ink);border:2px solid var(--ink);background:#fff;border-radius:999px;padding:0 10px;font-size:13px;font-weight:900}@keyframes stamp-in{0%{opacity:0;transform:scale(1.6)rotate(-14deg)}}@media (width<=420px){.rush-header .hearts svg{width:26px;height:24px}}@media (width>=760px){.rush-header,.micro-intro,.micro-play{width:100%;max-width:640px;margin-inline:auto}}.practice-main{width:100%;max-width:720px;margin:0 auto;padding:18px 16px 40px}.practice-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr));gap:10px;display:grid}.practice-grid .game-option{box-shadow:var(--shadow-sm)}.practice-actions{justify-content:center}.challenge-hero{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:28px 18px 24px;display:flex}.challenge-hero h1{font-family:var(--font-pop);color:#fff;-webkit-text-stroke:7px var(--ink);paint-order:stroke fill;text-shadow:4px 4px 0 var(--ink);word-break:keep-all;font-size:clamp(34px,10vw,52px);font-weight:400;transform:rotate(-3deg)}.challenge-hero p{max-width:34em;margin:0}.challenge-hero .muted{color:var(--stage-text);font-weight:700}.challenge-start{min-width:220px;min-height:58px;margin-top:6px;font-size:20px}.challenge-over{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:36px 16px;display:flex}.challenge-over p{margin:0}.challenge-over>.muted{color:var(--stage-text);font-weight:900}.challenge-record{font-family:var(--font-pop);color:var(--accent);-webkit-text-stroke:8px var(--ink);paint-order:stroke fill;text-shadow:5px 5px 0 var(--ink);font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;font-size:92px;line-height:1;display:flex}.challenge-record small{font-family:var(--font-body);color:var(--ink);-webkit-text-stroke:0;text-shadow:none;background:var(--paper);border:2px solid var(--ink);border-radius:999px;margin-top:10px;padding:0 12px;font-size:16px;font-weight:900}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
