#chain-finish{z-index:7;pointer-events:none;color:#fff7df;letter-spacing:0;white-space:nowrap;background:#14263a;border-left:3px solid #edc96c;border-radius:3px;justify-content:center;align-items:center;gap:6px;padding:0 5px;font-family:system-ui,sans-serif;line-height:1;display:flex;position:fixed}#chain-finish strong{font-size:var(--finish-size);font-variant-numeric:tabular-nums;color:#ffe09a;font-weight:850}#chain-finish span{font-size:clamp(10px,calc(var(--finish-size)*.55),14px);font-weight:750}#chain-finish small{font-size:clamp(9px,calc(var(--finish-size)*.4),11px);color:#d6e2ef;margin-left:6px}#chain-finish[data-reduced=true]{transition:none!important;animation:none!important}#chain-finish[data-compact=true]{border-left-width:2px;grid-template-rows:1fr 8px;grid-template-columns:auto auto;gap:0 2px;padding:0 2px;display:grid}#chain-finish[data-compact=true] strong{font-size:calc(var(--finish-size)*.75);grid-row:1}#chain-finish[data-compact=true] span{align-self:center;font-size:8px}#chain-finish[data-compact=true] small{grid-column:1/3;place-self:start center;margin:0;font-size:8px}.room-chat{right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:40;max-width:calc(100vw - 24px);font-size:.875rem;line-height:1.5;position:fixed}.room-chat[hidden],.room-chat-toggle[hidden]{display:none}.room-chat-toggle{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.room-chat-toggle[aria-expanded=true]{color:var(--accent)}.room-chat-unread{background:var(--accent);color:#fff;text-align:center;font-variant-numeric:tabular-nums;border-radius:999px;min-width:1.5em;padding:0 5px;font-size:.75em;line-height:1.5}html[data-layout=phone] body.has-room-chat{--ph-chat:44px}.board-heading .room-chat-toggle{gap:2px;padding:0 4px}.room-chat-toggle-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.room-chat-icon{flex:none}.room-chat-panel{border:1px solid var(--line);background:var(--paper);width:min(360px,100vw - 24px);max-height:min(520px,100dvh - 72px);color:var(--ink);overscroll-behavior:contain;border-radius:10px;flex-direction:column;display:flex;overflow-y:auto;box-shadow:0 6px 24px #0004}.room-chat-panel[hidden]{display:none}.room-chat-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:4px 4px 4px 12px;display:flex}.room-chat-close{background:0 0;border:0;min-width:44px;min-height:44px;font-size:1.25rem;line-height:1}.room-chat-log{overscroll-behavior:contain;flex:1 0 auto;min-height:4em;max-height:40dvh;margin:0;padding:6px 12px;list-style:none;overflow-y:auto}.room-chat-line{overflow-wrap:anywhere;padding:3px 0}.room-chat-who{color:var(--muted);margin-right:6px;font-weight:700}.room-chat-line.mine .room-chat-who{color:var(--accent)}.room-chat-line.private{border-left:3px solid var(--accent);background:color-mix(in srgb,var(--accent) 10%,transparent);margin:2px -6px;padding:3px 6px}.room-chat-private{font-weight:400}.room-chat-line.team{border-left:3px dashed var(--accent);background:color-mix(in srgb,var(--muted) 12%,transparent);margin:2px -6px;padding:3px 6px}.room-chat-form{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr);gap:4px;padding:8px 12px 10px;display:grid}.room-chat-to-row{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.room-chat-select{min-width:0;max-width:100%;min-height:36px;font:inherit;flex:8em;font-size:max(16px,1rem)}.room-chat-seat{font-variant-numeric:tabular-nums}.room-chat-panel:focus{outline:none}.room-chat-to{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:.8125rem}.room-chat-to.private{color:var(--accent);font-weight:700}.room-chat-row{flex-wrap:wrap;gap:6px;display:flex}.room-chat-input{border:1px solid var(--line);background:var(--paper);min-width:0;min-height:44px;color:var(--ink);border-radius:6px;flex:10em;padding:6px 8px;font-size:max(16px,1rem)}.room-chat-send{border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:6px;min-width:64px;min-height:44px;font-weight:700}.room-chat-error{color:var(--accent);overflow-wrap:anywhere;margin:0;font-size:.8125rem}.room-chat-error:empty{display:none}.room-chat-note{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:.75rem}html:not([data-layout=phone]) body.has-room-chat .match-panel{grid-template-columns:repeat(3,auto);place-content:start;column-gap:10px;display:grid}html:not([data-layout=phone]) body.has-room-chat .match-panel>:not(.match-seats,.room-chat){grid-column:1/-1}html:not([data-layout=phone]) body.has-room-chat .match-seats{display:contents}html:not([data-layout=phone]) body.has-room-chat .match-panel .seat-card{min-width:auto;margin-bottom:10px}@media (max-width:1279px){html:not([data-layout=phone]) body.has-room-chat .match-panel{grid-template-columns:repeat(2,auto)}}.room-chat.docked{z-index:auto;contain:size;min-width:240px;max-width:none;min-height:300px;margin-bottom:10px;display:flex;position:static}.room-chat.docked .room-chat-panel{width:auto;max-height:none;box-shadow:none;flex:1}.room-chat.docked .room-chat-close{display:none}.room-chat.docked .room-chat-head{min-height:36px}.room-chat.docked .room-chat-log{flex:1 1 0;max-height:none}html[lang]{--text-body:.875rem;--text-control:.8125rem;--text-small:.75rem;--text-heading:1.125rem;--text-leading:1.65;--text-spacing:.015em}html[lang=en]{--text-body:.9375rem;--text-control:.875rem;--text-small:.8125rem;--text-heading:1.1875rem;--text-leading:1.5;--text-spacing:normal}html[lang][data-layout] body :is(dialog,.tutorial-card,.puzzle-screen,.waiting-practice,.board-overlay){letter-spacing:var(--text-spacing)}html[lang][data-layout] body :is(dialog .small-note,dialog>p:not(.eyebrow),.instructions p,.setting-row,.puzzle-screen-rule,.puzzle-group-note,.puzzle-tile strong,.tutorial-goals,.puzzle-tip,.puzzle-hint,.waiting-info,.speedrun-note){font-size:var(--text-body);line-height:var(--text-leading);overflow-wrap:anywhere}html[lang][data-layout] body :is(dialog h2,.puzzle-screen-head h2,.result-overlay h2){font-size:calc(var(--text-heading) * 1.4);overflow-wrap:anywhere;line-height:1.4}html[lang][data-layout] body :is(dialog h3,dialog h4,.tutorial-card h2,.waiting-title,.puzzle-group h3){font-size:var(--text-heading);overflow-wrap:anywhere;line-height:1.4}html[lang][data-layout] body :is(dialog button:not(.dialog-close),dialog select,.tutorial-actions button,.puzzle-tabs button,.puzzle-screen-back,.board-overlay button,.waiting-practice button,.item-dock button){font-size:var(--text-control);letter-spacing:var(--text-spacing);white-space:normal;overflow-wrap:anywhere;min-width:0;line-height:1.4}html[lang][data-layout] body :is(.tutorial-setting,.tutorial-tip,.puzzle-meta,.puzzle-no,.puzzle-done,.puzzle-tabs small,.result-grid dt,.overlay-foot){font-size:var(--text-small);line-height:var(--text-leading);overflow-wrap:anywhere}html[lang][data-layout] body .board-overlay>p:not(.eyebrow):not(.overlay-index),html[lang][data-layout] body #result-insight{font-size:var(--text-body);line-height:var(--text-leading);overflow-wrap:anywhere}html[lang][data-layout] body .setting-row{flex-wrap:wrap;gap:.5rem 1rem}html[lang][data-layout] body .setting-row select{min-width:0;max-width:100%}html[lang][data-layout] body #settings-dialog .setting-row:has(>input[type=checkbox]){flex-wrap:nowrap;align-items:center}html[lang][data-layout] body .settings-box{min-width:0}html[lang][data-layout] body .orientation-choice{flex-wrap:wrap;max-width:100%}html[lang][data-layout] body .puzzle-grid{grid-template-columns:repeat(auto-fill,minmax(min(15rem,100%),1fr))}html[lang][data-layout] body .puzzle-tabs{border-radius:1rem;max-width:100%}html[lang][data-layout] body .puzzle-tabs button{flex-wrap:wrap}html[lang][data-layout] body .tutorial-actions button{flex-shrink:1;max-width:100%}html[lang][data-layout] body .board-overlay{justify-content:safe center;overflow-y:auto}@media (max-width:600px){html[lang][data-layout] body dialog{padding:24px 16px}html[lang][data-layout] body .setting-row select{flex:100%;width:100%}html[lang][data-layout] body .phone-menu-list{grid-template-columns:minmax(0,1fr)}}html[lang][data-layout=phone][data-tall] body:not(.is-match):not(.is-cpu):not(.is-tutorial):not(.is-puzzle):not(.is-watching) .workspace>.left-rail{overscroll-behavior-x:contain;scrollbar-width:thin;grid-template-columns:repeat(3,minmax(6rem,1fr));justify-content:flex-start;gap:8px;overflow:auto hidden}html[lang][data-layout=phone][data-tall] body .left-rail :is(.score-card,.time-card),html[lang][data-layout=phone][data-tall] body .left-rail .time-card>*{flex-shrink:0}html[lang][data-layout=phone][data-tall] body .left-rail .time-card .steady-toggle{white-space:normal;align-items:center;min-height:44px}html[lang][data-layout=phone][data-tall] body .left-rail .time-card .steady-toggle strong{font-size:var(--text-small);line-height:1.2}:root{--gray-1:#99a2ae;--gray-10:#c8cfd8;--gray-11:#ccd3dd;--gray-2:#a1a7af;--gray-3:#a9b1bc;--gray-4:#b0b9c4;--gray-5:#b3bac4;--gray-6:#b8bfc9;--gray-7:#bac2cc;--gray-8:#c2c9d2;--gray-9:#c7ced6;--ink-1:#051326;--ink-10:#4c535d;--ink-11:#295083;--ink-12:#5a687b;--ink-2:#0e1c2f;--ink-3:#121d2c;--ink-4:#0f2037;--ink-5:#14273f;--ink-6:#1e3a5f;--ink-7:#20334c;--ink-8:#344357;--ink-9:#445163;--paper-1:#d6d8dd;--paper-10:#e4e5e8;--paper-11:#dfe4ed;--paper-12:#dee4f1;--paper-13:#e4e8ef;--paper-14:#e8eaee;--paper-15:#eaecf1;--paper-16:#eaedf2;--paper-17:#e8edf6;--paper-18:#e9edf6;--paper-19:#f6f7fa;--paper-2:#d4d9e3;--paper-20:#fff;--paper-3:#cdd7ea;--paper-4:#d9dce3;--paper-5:#d6dce8;--paper-6:#d6deed;--paper-7:#d3ddf2;--paper-8:#e1e3e6;--paper-9:#dde2ed;--teal-1:#646a72;--teal-10:#afc9eb;--teal-11:#bacee9;--teal-12:#d9e0e8;--teal-13:#dbe3ed;--teal-14:#dee5ed;--teal-15:#e5eaf1;--teal-2:#647285;--teal-3:#6d747d;--teal-4:#737c88;--teal-5:#838a94;--teal-6:#6899da;--teal-7:#82a5d3;--teal-8:#8cacd6;--teal-9:#87aee1;--board-w:404;--board-h:610;--next-w:112px;--next-tile:24px;color:var(--ink-6);background:var(--paper-15);font-synthesis:none;--ink:var(--ink-6);--muted:var(--teal-3);--line:var(--paper-1);--accent:#b7412a;--paper:var(--paper-19);--serif:"Yu Mincho","Hiragino Mincho ProN",serif;--mono:"Cascadia Code","Consolas",monospace;font-family:Yu Gothic UI,Yu Gothic,Hiragino Kaku Gothic ProN,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline-offset:4px;outline:3px solid #c96440}button{border:0}button:hover:not(:disabled){filter:brightness(.96)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button,input{touch-action:manipulation}a{color:inherit}.skip{z-index:100;background:#fff;padding:12px;position:fixed;top:-100px;left:16px}.skip:focus{top:10px}.masthead{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;max-width:1400px;margin:auto;padding:22px 44px;display:flex}.wordmark{font-family:var(--serif);letter-spacing:.08em;align-items:center;gap:12px;font-size:27px;font-weight:800;text-decoration:none;display:flex}.brand-symbol{width:38px;height:38px;display:block}.edition{font-family:var(--mono);letter-spacing:.06em;border-left:1px solid var(--line);margin-left:4px;padding-left:18px;font-size:10px;font-weight:400}.header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:16px;display:flex}.prototype,.eyebrow{font-family:var(--mono);letter-spacing:.12em;font-size:10px;font-weight:600}.prototype{color:var(--muted);font-size:9px}.quiet{background:0 0;padding:8px 10px;font-size:12px}.quiet span{border:1px solid var(--line);border-radius:50%;place-items:center;width:18px;height:18px;margin-left:8px;display:inline-grid}.intro{justify-content:space-between;align-items:flex-end;gap:20px;margin:30px 0 28px;display:flex}.intro .eyebrow{color:var(--accent);margin-bottom:9px}.intro h1{font-family:var(--serif);letter-spacing:.02em;font-size:clamp(26px,2.8vw,36px);font-weight:600;line-height:1.45}.intro h1 span{margin-left:.2em}.intro-note{color:var(--muted);margin-bottom:4px;font-size:12px;line-height:1.9}main{max-width:1180px;margin:auto;padding:0 40px}.workspace{grid-template-columns:minmax(170px,.8fr) minmax(320px,calc(var(--board-w)*1px + var(--next-w))) minmax(250px,1.15fr);align-items:start;gap:32px;display:grid}.left-rail{padding-top:44px}.score-card{border-top:3px solid var(--ink);padding:24px 0}.score-card>strong{font-family:var(--mono);letter-spacing:-.05em;margin:8px 0 16px;font-size:clamp(32px,4vw,54px);font-weight:500;line-height:1.4;display:block}.best-row{color:var(--muted);justify-content:space-between;font-size:11px;display:flex}.best-row span:last-child{font-family:var(--mono);color:var(--ink)}.time-card{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0}.time-card>div{justify-content:space-between;align-items:center;display:flex}.time-card strong{font-family:var(--mono);font-size:25px;font-weight:500}.time-card p{color:var(--muted);margin-top:8px;font-size:10px}progress{appearance:none;background:var(--line);border:0;border-radius:2px;width:100%;height:3px;margin-top:14px;display:block}progress::-webkit-progress-bar{background:var(--line);border-radius:2px}progress::-webkit-progress-value{background:var(--accent);border-radius:2px}progress::-moz-progress-bar{background:var(--accent)}.next-card{border-bottom:1px solid var(--line);padding:26px 0}#next-pieces{gap:20px;margin-top:20px;display:flex}.next-pair{opacity:.6;flex-direction:column;gap:4px;display:flex}.next-pair:first-child{opacity:1;transform-origin:0;transform:scale(1.1)}.mini-tile{border-radius:7px;place-items:center;width:28px;height:28px;font-size:14px;font-weight:700;display:grid}.chain-card{flex-direction:column;gap:6px;padding-top:24px;display:flex}.chain-card>span{color:var(--muted);font-size:11px}.chain-card strong{font-family:var(--mono);font-size:17px;font-weight:500}.chain-card small{font-size:10px}.seed-note{font-family:var(--mono);color:var(--muted);word-break:break-all;margin-top:30px;font-size:9px}.board-heading{letter-spacing:.06em;justify-content:space-between;align-items:center;min-height:44px;font-size:10px;display:flex}.board-heading>span{align-items:center;gap:7px;display:flex}.live-dot{background:var(--accent);border-radius:50%;width:6px;height:6px}kbd{font-family:var(--mono);color:var(--muted);margin-left:4px;font-size:9px}.board-wrap{width:100%;aspect-ratio:var(--board-w)/var(--board-h);background:var(--ink);box-shadow:0 14px 25px -15px color-mix(in srgb,var(--ink-6) 53%,transparent);isolation:isolate;border-radius:12px;position:relative}#game-surface{border-radius:12px;width:100%;height:100%;position:absolute;inset:0;overflow:hidden}canvas{display:block}.board-overlay{background:color-mix(in srgb,var(--ink-6) 96%,transparent);color:var(--paper-13);z-index:2;border-radius:12px;flex-direction:column;justify-content:center;gap:15px;padding:34px 28px;display:flex;position:absolute;inset:0}.overlay-index{font-family:var(--mono);letter-spacing:.1em;color:var(--gray-5);font-size:9px}.board-overlay h2{font-family:var(--serif);letter-spacing:.05em;font-size:40px;font-weight:500;line-height:1.4}.board-overlay h2 em{color:#ebc676;font-style:normal}.board-overlay>p:not(.eyebrow):not(.overlay-index){color:var(--gray-10);font-size:12px;line-height:1.8}.seed-input{color:var(--gray-7);flex-direction:column;gap:6px;margin:2px 0 0;font-size:10px;display:flex}.seed-input input{border:1px solid var(--ink-12);background:var(--ink-7);width:100%;color:var(--paper-13);font-family:var(--mono);letter-spacing:.06em;border-radius:3px;padding:9px 12px;font-size:12px}.primary,.secondary{border-radius:4px;width:100%;padding:13px 16px;font-size:12px;font-weight:700;transition:transform .15s}.primary{background:var(--accent);color:#fff}.primary:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-1px)}.secondary{border:1px solid var(--line);color:var(--ink);background:0 0}.board-overlay .primary{color:var(--ink-6);background:#edc66f}.board-overlay .secondary{color:var(--paper-11);border-color:var(--teal-2)}.overlay-foot{text-align:center;color:var(--gray-3);font-size:9px}.compact h2{font-size:34px}.notice{min-height:42px;color:var(--teal-1);padding:12px 1px 5px;font-size:11px;line-height:1.7}.control-strip{gap:4px;display:flex}.control-strip button{background:var(--paper-8);border-radius:4px;flex:1;min-width:31px;padding:8px 0;font-size:15px}.control-strip .drop-button{white-space:nowrap;flex:3;font-size:10px}.control-hint{color:var(--muted);margin-top:10px;font-size:9px;line-height:1.8}.tool-rail{padding-top:44px}.tools-heading{border-top:3px solid var(--ink);justify-content:space-between;align-items:flex-start;gap:8px;padding-top:24px;display:flex}.tools-heading .eyebrow{color:var(--accent)}.tools-heading h2{font-family:var(--serif);letter-spacing:.015em;margin-top:7px;font-size:18px;font-weight:600}.tools-heading>span{font-family:var(--mono);color:var(--muted);white-space:nowrap;padding-top:3px;font-size:10px}.reward-line{color:var(--muted);justify-content:space-between;margin-top:22px;font-size:10px;display:flex}.reward-line strong{color:var(--ink);font-weight:500}#reward-bar{height:2px;margin-top:7px}.inventory{grid-template-columns:repeat(4,1fr);gap:7px;margin:20px 0 24px;display:grid}.tool-slot{border:1px solid var(--gray-1);background:var(--paper-4);border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:5px;height:77px;display:flex;position:relative}.tool-slot strong{font-size:23px;font-weight:400;line-height:1}.tool-slot>span:last-child{font-size:9px}.tool-slot .slot-number{font-family:var(--mono);color:var(--teal-5);font-size:8px;position:absolute;top:4px;left:5px}.tool-slot.empty{border:1px dashed var(--gray-8);opacity:1;color:var(--gray-2);background:0 0}.tool-slot.empty>span:last-child{font-size:8px}.tool-slot.selected{box-shadow:0 0 0 2px var(--paper-15) inset;background:#f2d395;border:2px solid #b87939}.item-panel{border-top:1px solid var(--line);min-height:155px;padding:20px 0}.item-panel .eyebrow{color:var(--accent);font-size:9px}.item-panel h3{font-family:var(--serif);margin:10px 0;font-size:18px}.item-panel p:not(.eyebrow){color:var(--muted);font-size:11px;line-height:1.9}#item-target{color:var(--accent);min-height:16px;padding:9px 0}#item-actions .primary{font-size:11px}.item-secondary{justify-content:space-between;margin-top:4px;display:flex}.item-secondary button{padding:6px 0;font-size:10px}.tool-guide{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 0;font-size:11px}.tool-guide summary{cursor:pointer}.tool-guide dl{grid-template-columns:60px 1fr;gap:10px 8px;margin:18px 0 2px;display:grid}.tool-guide dt{font-weight:700}.tool-guide dd{color:var(--muted);margin:0;font-size:10px}.small-note{color:var(--muted);margin-top:15px;font-size:10px;line-height:1.9}.save-status{color:#a75237;text-align:center;min-height:20px;margin:22px 0 12px;font-size:11px}footer{border-top:1px solid var(--line);max-width:1400px;color:var(--muted);justify-content:space-between;margin:16px auto 0;padding:20px 44px;font-size:9px;display:flex}.result-overlay{gap:12px;padding:25px}.result-overlay h2{font-size:26px}.result-overlay #result-score{font-family:var(--mono);letter-spacing:-.05em;color:#edc66f;font-size:54px;font-weight:400;line-height:1.1}.result-grid{border-top:1px solid var(--ink-9);border-bottom:1px solid var(--ink-9);grid-template-columns:1fr 1fr;gap:16px;margin:0;padding:17px 0;display:grid}.result-grid dt{color:var(--gray-6);font-size:9px}.result-grid dd{font-family:var(--mono);margin:6px 0 0;font-size:18px}.result-overlay #result-insight{font-size:11px;line-height:1.7}.text-button{text-underline-offset:4px;background:0 0;padding:8px;font-size:10px;text-decoration:underline}.board-overlay .text-button{color:var(--gray-6)}dialog{border:1px solid var(--line);background:var(--paper);color:var(--ink);max-width:min(550px,100% - 32px);box-shadow:0 20px 80px color-mix(in srgb,var(--ink-3) 27%,transparent);border-radius:12px;max-height:90vh;padding:35px;overflow:auto}dialog::backdrop{background:color-mix(in srgb,var(--ink-4) 53%,transparent);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog h2{font-family:var(--serif);margin:15px 0 25px;font-size:25px;line-height:1.5}dialog h3{margin:20px 0 10px;font-size:14px}dialog .eyebrow{color:var(--accent)}.dialog-close{background:0 0;padding:4px 12px;font-size:24px;position:absolute;top:8px;right:10px}.instructions{gap:18px;margin-bottom:25px;padding-left:22px;display:grid}.instructions strong{font-family:var(--serif);font-size:16px}.instructions p,dialog>p:not(.eyebrow){margin-top:7px;font-size:12px;line-height:1.9}.help-practice{background:var(--teal-13);margin-bottom:20px;padding:13px}.setting-row{justify-content:space-between;align-items:center;gap:16px;padding:10px 0;font-size:12px;display:flex}.setting-row button{border:1px solid var(--line);min-width:85px;font-family:var(--mono);background:#fff;border-radius:4px;padding:6px 20px}.setting-row input[type=range]{width:160px;accent-color:var(--accent)}input[type=checkbox]{accent-color:var(--accent);width:20px;height:20px}#binding-message{color:var(--muted);min-height:40px;margin:15px 0;font-size:11px;line-height:1.8}dialog hr{border:0;border-top:1px solid var(--line);margin:20px 0}.reduced-motion *{transition:none!important;animation:none!important}@media (min-width:1300px) and (min-height:850px){:where(html[data-layout=wide]) .intro{margin-top:38px;margin-bottom:32px}:where(html[data-layout=wide]) .workspace{gap:40px}}@media (max-width:1000px){main{padding:0 24px}.masthead{padding:18px 24px}:where(html:not([data-layout=phone])) .workspace{grid-template-columns:150px minmax(280px,calc(340px + var(--next-w))) minmax(215px,1fr);gap:20px}:where(html:not([data-layout=phone])) .intro-note{display:none}:where(html:not([data-layout=phone])) .intro h1{font-size:28px}:where(html:not([data-layout=phone])) .inventory{gap:5px}:where(html:not([data-layout=phone])) .tool-slot{height:66px}:where(html:not([data-layout=phone])) .tool-slot strong{font-size:20px}:where(html:not([data-layout=phone])) .tools-heading h2{font-size:16px}:where(html:not([data-layout=phone])) .prototype,:where(html:not([data-layout=phone])) .edition{display:none}}@media (max-width:780px){main{padding:0 16px}.masthead{padding:14px 16px}.wordmark{font-size:22px}.header-actions{gap:2px}:where(html:not([data-layout=phone])) .intro{margin:22px 0 16px}:where(html:not([data-layout=phone])) .intro h1{font-size:23px}:where(html:not([data-layout=phone])) .intro h1 span{margin-left:0;display:block}:where(html:not([data-layout=phone])) .workspace{grid-template-columns:minmax(280px,calc(var(--board-w)*1px + var(--next-w))) minmax(195px,1fr);gap:18px}:where(html:not([data-layout=phone])) .left-rail{grid-column:1/-1;align-items:center;gap:25px;padding:0;display:flex}:where(html:not([data-layout=phone])) .score-card{border:0;min-width:120px;padding:5px 0}:where(html:not([data-layout=phone])) .score-card>strong{margin:8px 0;font-size:29px;line-height:1}:where(html:not([data-layout=phone])) .score-card .best-row{gap:14px;font-size:9px}:where(html:not([data-layout=phone])) .time-card{border:0;min-width:120px;padding:5px 0}:where(html:not([data-layout=phone])) .next-card{border:0;padding:0}:where(html:not([data-layout=phone])) .next-card .eyebrow{font-size:8px}:where(html:not([data-layout=phone])) #next-pieces{gap:12px;margin-top:10px}:where(html:not([data-layout=phone])) .mini-tile{width:20px;height:20px;font-size:11px}:where(html:not([data-layout=phone])) .chain-card,:where(html:not([data-layout=phone])) .seed-note{display:none}:where(html:not([data-layout=phone])) .tool-rail{padding-top:44px}:where(html:not([data-layout=phone])) .board-overlay h2{font-size:34px}:where(html:not([data-layout=phone])) .intro .eyebrow{font-size:9px}footer{gap:20px;padding:16px}.tool-guide dl{grid-template-columns:1fr}.tool-guide dd{margin-bottom:8px}}@media (max-width:560px){main{max-width:430px}:where(html:not([data-layout=phone])) .workspace{flex-direction:column;gap:12px;display:flex}:where(html:not([data-layout=phone])) .left-rail{gap:16px;width:100%}:where(html:not([data-layout=phone])) .time-card{flex:1;min-width:95px}:where(html:not([data-layout=phone])) .next-card{min-width:85px}:where(html:not([data-layout=phone])) .score-card{min-width:90px}:where(html:not([data-layout=phone])) .left-rail .eyebrow{font-size:8px}:where(html:not([data-layout=phone])) .play-column{width:100%;max-width:calc(var(--board-w)*1px + var(--next-w));margin:auto}:where(html:not([data-layout=phone])) .tool-rail{width:100%;padding:16px 0 0}:where(html:not([data-layout=phone])) .tools-heading{padding-top:18px}:where(html:not([data-layout=phone])) .inventory{grid-template-columns:repeat(6,1fr);gap:6px;margin-bottom:18px}:where(html:not([data-layout=phone])) .tool-slot{height:62px}:where(html:not([data-layout=phone])) .tool-slot strong{font-size:21px}:where(html:not([data-layout=phone])) .item-panel{min-height:0}:where(html:not([data-layout=phone])) .intro{display:none}:where(html:not([data-layout=phone])) .left-rail{margin-top:20px}.wordmark{gap:8px;font-size:20px}.brand-symbol{width:30px;height:30px}.header-actions .quiet{font-size:10px}.header-actions .quiet span{display:none}:where(html:not([data-layout=phone])) .board-overlay{gap:12px;padding:24px}:where(html:not([data-layout=phone])) .board-overlay h2{font-size:36px}:where(html:not([data-layout=phone])) .result-overlay h2{font-size:24px}:where(html:not([data-layout=phone])) .board-heading{font-size:9px}:where(html:not([data-layout=phone])) .control-strip{gap:3px}:where(html:not([data-layout=phone])) .control-strip button{min-width:28px}.tool-guide dl{grid-template-columns:60px 1fr}:where(html:not([data-layout=phone])) .result-grid{gap:14px}:where(html:not([data-layout=phone])) .result-overlay #result-score{font-size:44px}footer{line-height:1.8;display:block}footer span{display:block}dialog{padding:25px}:where(html:not([data-layout=phone])) .primary,:where(html:not([data-layout=phone])) .secondary{padding:12px}:where(html:not([data-layout=phone])) .board-overlay>p:not(.eyebrow):not(.overlay-index){font-size:11px}:where(html:not([data-layout=phone])) .overlay-foot{font-size:8px}:where(html:not([data-layout=phone])) .seed-input{font-size:9px}:where(html:not([data-layout=phone])) .result-overlay{gap:10px}}.skip:not(:focus){clip-path:inset(50%);width:1px;height:1px;padding:0;overflow:hidden}.spawn-warning{color:#a64027;padding:8px 0;font-size:12px;line-height:1.6}.is-playing .intro{display:none}.control-hint,kbd,.seed-note,.overlay-foot,.tool-slot>span:last-child,.tool-guide dd,.result-grid dt{font-size:11px}:where(html[data-layout=wide]) .is-playing{--play-width:calc(var(--play-height)*var(--board-w)/var(--board-h))}:where(html[data-layout=wide]) .is-playing .masthead{padding-top:10px;padding-bottom:10px}:where(html[data-layout=wide]) .is-playing .workspace{grid-template-columns:minmax(150px,.8fr) var(--play-width) minmax(250px,1.15fr);margin-top:14px}:where(html[data-layout=wide]) .is-playing .board-wrap{height:var(--play-height);aspect-ratio:auto}:where(html[data-layout=wide]) .is-playing .board-heading{min-height:38px}:where(html[data-layout=wide]) .is-playing .left-rail,:where(html[data-layout=wide]) .is-playing .tool-rail{padding-top:38px}:where(html[data-layout=wide]) .is-playing .control-hint{font-size:11px}:where(html[data-layout=wide]) .is-playing .tool-slot{height:64px}:where(html[data-layout=wide]) .is-playing .inventory{margin-top:14px;margin-bottom:16px}:where(html[data-layout=wide]) .is-playing .tools-heading{padding-top:16px}:where(html[data-layout=wide]) .is-playing .item-panel{min-height:0;padding:14px 0}@media (max-height:800px){:where(html[data-layout=wide]) .is-playing .result-overlay{gap:7px;padding:16px}:where(html[data-layout=wide]) .is-playing .result-overlay h2{font-size:20px}:where(html[data-layout=wide]) .is-playing .result-overlay #result-score{font-size:38px}:where(html[data-layout=wide]) .is-playing .result-grid{gap:8px;padding:10px 0}:where(html[data-layout=wide]) .is-playing .result-overlay .primary,:where(html[data-layout=wide]) .is-playing .result-overlay .secondary{padding:10px}:where(html[data-layout=wide]) .is-playing .score-card{padding:16px 0}:where(html[data-layout=wide]) .is-playing .next-card{padding:18px 0}:where(html[data-layout=wide]) .is-playing .time-card{padding:16px 0}:where(html[data-layout=wide]) .is-playing .seed-note{margin-top:18px}:where(html[data-layout=wide]) .is-cpu .result-overlay{gap:4px}:where(html[data-layout=wide]) #match-setup{gap:6px}:where(html[data-layout=wide]) #match-setup h2{font-size:22px}}.cpu-panel{min-width:0;padding-top:38px}.cpu-heading,.cpu-score-row{font-family:var(--mono);justify-content:space-between;align-items:center;gap:8px;padding:10px 0;font-size:12px;display:flex}.cpu-heading{min-height:30px;padding-top:0}.cpu-heading span{font-size:11px}#cpu-canvas{width:100%;height:auto;aspect-ratio:var(--board-w)/var(--board-h);border-radius:10px}#cpu-score{font-size:24px}#cpu-tools{letter-spacing:3px;overflow-wrap:anywhere;min-height:25px;font-size:18px}.attack-tool{background:var(--paper-5);border-color:#c47b63}.attack-tool>span:last-child{color:#a1472c}#effect-status{color:#a1472c;min-height:0}:where(html[data-layout=wide]) .is-cpu main{max-width:1360px;padding-left:24px;padding-right:24px}:where(html[data-layout=wide]) .is-cpu .workspace{grid-template-columns:minmax(105px,.55fr) var(--play-width) calc(var(--play-width)*.78) minmax(240px,1fr);gap:18px}:where(html[data-layout=wide]) .is-cpu .left-rail .mini-tile{width:24px;height:24px}:where(html[data-layout=wide]) .is-cpu #next-pieces{gap:12px}@media (min-width:781px) and (max-width:1000px){:where(html:not([data-layout=phone])) .is-cpu .workspace{grid-template-columns:125px minmax(240px,1fr) minmax(185px,.7fr)}:where(html:not([data-layout=phone])) .is-cpu .tool-rail{grid-column:2/4;padding-top:0}:where(html:not([data-layout=phone])) .is-cpu .inventory{grid-template-columns:repeat(6,1fr)}}@media (max-width:780px){:where(html:not([data-layout=phone])) .is-cpu .workspace{grid-template-columns:minmax(0,1fr) minmax(105px,.65fr);gap:14px;display:grid}:where(html:not([data-layout=phone])) .is-cpu .left-rail{flex-wrap:wrap;grid-column:1/-1;gap:12px}:where(html:not([data-layout=phone])) .is-cpu .tool-rail{grid-column:1/-1;padding-top:0}:where(html:not([data-layout=phone])) .is-cpu .cpu-panel{padding-top:44px}:where(html:not([data-layout=phone])) .is-cpu .board-heading{flex-wrap:wrap;height:auto;font-size:10px}:where(html:not([data-layout=phone])) .is-cpu .control-strip{flex-wrap:wrap}:where(html:not([data-layout=phone])) .is-cpu .drop-button{flex-basis:100%}:where(html:not([data-layout=phone])) .is-cpu .control-strip button{min-width:24px}:where(html:not([data-layout=phone])) .is-cpu .small-note{font-size:10px}:where(html:not([data-layout=phone])) .is-cpu .board-overlay{justify-content:flex-start;gap:7px;padding:12px;overflow-y:auto}:where(html:not([data-layout=phone])) .is-cpu .board-overlay h2{font-size:20px}:where(html:not([data-layout=phone])) .is-cpu .result-grid{gap:6px}:where(html:not([data-layout=phone])) .is-cpu .result-overlay #result-score{font-size:30px}}#game-surface canvas{transition:transform .2s;width:100%!important;height:100%!important;margin:0!important}#game-surface canvas.upside{transform:scaleY(-1)}.shadow-look{z-index:1;pointer-events:none;position:absolute}.shadow-look svg{width:100%;height:100%;display:block}.board-wrap.has-shadow-look .dark-overlay{background:#0e1c2fcc;gap:2px;padding:8px 0;inset:3.6% 6.4% auto}.board-wrap.has-shadow-look .dark-overlay strong{font-size:22px}.attack-meter{border-bottom:1px solid var(--line);padding:12px 0;font-size:11px}.attack-meter>div{justify-content:space-between;gap:8px;display:flex}.attack-meter strong{font-family:var(--mono);font-weight:500}.attack-meter p{color:var(--muted);margin-top:7px;font-size:10px}.attack-meter progress{height:6px;margin-top:8px}.dark-overlay{z-index:1;pointer-events:none;color:#dfd7ef;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex;position:absolute;inset:0}.dark-overlay strong{font-family:var(--mono);letter-spacing:.16em;font-size:32px}.dark-overlay span{font-size:12px}#cpu-effect{color:#705782;font-size:11px;line-height:1.6}.speed-card{background:var(--ink);color:var(--paper);border:2px solid #edc66f;border-radius:8px;margin-bottom:16px;padding:13px 14px;box-shadow:0 4px #d8b85e33}.speed-heading,.speed-reading,.speed-scale{justify-content:space-between;align-items:center;gap:8px;display:flex}.speed-heading{flex-wrap:wrap}.speed-heading h2{letter-spacing:.02em;font-size:13px}.speed-heading>span{color:var(--gray-9);font-size:10px}.speed-reading{margin:8px 0}.speed-reading strong{font:600 30px/1.1 var(--mono);color:#f4d078}.speed-reading>span{white-space:nowrap;font-size:10px}#speed-gauge{appearance:none;border:1px solid var(--teal-4);background:var(--ink-8);border-radius:3px;width:100%;height:18px;display:block;overflow:hidden}#speed-gauge::-webkit-meter-bar{background:var(--ink-8);border:0;border-radius:2px;height:100%}#speed-gauge::-webkit-meter-optimum-value{background:linear-gradient(90deg,var(--teal-8),#f4d078,#f18b59)}#speed-gauge::-moz-meter-bar{background:linear-gradient(90deg,var(--teal-8),#f4d078,#f18b59)}.speed-scale{color:var(--gray-9);margin-top:5px;font-size:9px}.left-rail .score-card{padding:12px 0}.left-rail .score-card>strong{margin:5px 0 8px;font-size:36px}.left-rail .time-card{padding:12px 0}.left-rail .next-card{padding:16px 0}.left-rail #next-pieces{margin-top:12px}#attack-meter{border-left:3px solid var(--accent);background:var(--paper-2);margin-top:10px;padding:10px 9px}#attack-meter progress{height:12px}.chain-card{padding-top:14px}.item-dock{padding:9px 0 7px}.dock-heading{justify-content:space-between;align-items:center;gap:5px;margin-bottom:6px;display:flex}.dock-heading h2{font-size:11px}.dock-heading h2 span{color:var(--muted);margin-left:5px;font-size:9px;font-weight:400}.dock-heading>span{font:10px var(--mono)}.item-dock .inventory{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin:0}.item-dock .tool-slot{border-radius:4px;gap:2px;min-width:0;height:36px;padding-top:3px}.item-dock .tool-slot strong{font-size:17px;font-weight:600}.item-dock .tool-slot>span:last-child{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:10px;line-height:1.1;overflow:hidden}.item-dock .slot-number,.item-dock .empty>span:last-child{display:none}.item-dock .selected{box-shadow:0 0 0 1px var(--paper-7) inset;background:#f4d078;border-color:#b36229}.tool-rail .notice{border-top:1px solid var(--line);min-height:44px;padding:10px 0}.tool-rail .control-hint{margin:8px 0}.tool-rail #loss-rule{margin:12px 0 16px}.tool-rail .item-panel{border-top:0}.cpu-board-wrap{position:relative}.cpu-item-dock{border-bottom:1px solid var(--line);padding:9px 0 5px}.cpu-item-dock>span{color:var(--muted);font-size:10px}#cpu-tools{font:600 17px/1.5 var(--mono);letter-spacing:2px;min-height:26px;margin-top:4px}.combo-feedback{z-index:1;pointer-events:none;color:var(--paper-6);background:color-mix(in srgb,var(--ink-4) 87%,transparent);border:1px solid var(--teal-7);text-align:center;transform-origin:50%;min-width:126px;max-width:92%;box-shadow:0 5px 25px color-mix(in srgb,var(--ink-1) 50%,transparent);border-radius:6px;padding:7px 15px 8px;position:absolute;top:12%;left:50%}.combo-feedback>p{letter-spacing:.18em;color:var(--teal-11);font-size:10px}.combo-reading{white-space:nowrap;isolation:isolate;justify-content:center;align-items:baseline;gap:7px;display:flex;position:relative}.combo-reading canvas.ink-dab{z-index:-1;pointer-events:none;width:84px;height:84px;position:absolute;top:50%;left:50%;transform:translate(-64%,-50%)}.combo-reading strong{font:800 42px/1.05 var(--mono);letter-spacing:-.06em}.combo-reading>span{font:700 12px var(--mono);letter-spacing:.05em}.combo-points{font:11px var(--mono);color:var(--teal-11)}.combo-feedback[data-tier="2"]{border:2px solid var(--teal-10);box-shadow:0 0 22px color-mix(in srgb,var(--teal-9) 30%,transparent)}.combo-feedback[data-tier="3"]{color:#ffe49b;border:2px solid #f2d07b;box-shadow:0 0 28px #f2d07b70}.combo-feedback[data-tier="4"],.combo-feedback[data-tier="5"]{color:#ffe49b;border:2px solid #ffe49b;box-shadow:0 0 34px #edac5280,0 0 0 4px #edc66f33}.combo-feedback[data-tier="4"] .combo-reading strong{font-size:49px}.combo-feedback[data-tier="5"] .combo-reading strong{font-size:56px}.combo-feedback[data-tier="6"]{color:#fff;background:linear-gradient(160deg,#1c2634f2,#080b12f5) padding-box padding-box,linear-gradient(115deg,#8ff6ff,#fff 42%,#ffe08a 58%,#ff9f62) border-box;border:2px solid #0000;border-radius:3px;min-width:150px;padding:8px 22px 10px;box-shadow:0 0 0 1px #ffffff0f,0 0 24px #8ff6ff61,0 0 64px #ffbe5a42}.combo-feedback[data-tier="6"]:before{content:"";pointer-events:none;background-color:#0000;background-image:linear-gradient(#ffe08a 0 0),linear-gradient(#ffe08a 0 0),linear-gradient(#8ff6ff 0 0),linear-gradient(#8ff6ff 0 0),linear-gradient(#8ff6ff 0 0),linear-gradient(#8ff6ff 0 0),linear-gradient(#ffe08a 0 0),linear-gradient(#ffe08a 0 0);background-position:0 0,0 0,100% 0,100% 0,0 100%,0 100%,100% 100%,100% 100%;background-repeat:no-repeat;background-size:16px 2px,2px 16px,16px 2px,2px 16px,16px 2px,2px 16px,16px 2px,2px 16px;background-attachment:scroll,scroll,scroll,scroll,scroll,scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box,padding-box,padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box,border-box,border-box,border-box,border-box;position:absolute;inset:-7px}.combo-feedback[data-tier="6"]:after{content:"";pointer-events:none;opacity:0;background:linear-gradient(100deg,#0000 30%,#ffffffbf 48%,#8ff6ff73 52%,#0000 70%) 120% 0/250% 100% no-repeat;position:absolute;inset:0}.combo-feedback[data-tier="6"].combo-burst:after{animation:.7s cubic-bezier(.2,.7,.2,1) combo-sheen}.combo-feedback[data-tier="6"]>p{color:#ffe08a;letter-spacing:.34em}.combo-feedback[data-tier="6"] .combo-reading>span{color:#8ff6ff;letter-spacing:.14em}.combo-feedback[data-tier="6"] .combo-points{color:#ffe08a}.combo-feedback[data-tier="6"] .combo-reading strong{color:#fff;text-shadow:-1.5px 0 #8ff6ffd9,1.5px 0 #ff9f62d9,0 0 16px #ffe08ab3,0 0 40px #8ff6ff73;font-size:64px}@keyframes combo-sheen{0%{opacity:1;background-position:120% 0}to{opacity:0;background-position:-20% 0}}.chain-fx{z-index:1;pointer-events:none;border-radius:inherit;animation:.8s ease-out both cfx-edge;position:absolute;inset:0;overflow:hidden}.chain-fx>i{left:var(--cx);top:var(--cy);display:block;position:absolute}html.is-paused :is(#board-wrap,#cpu-board-wrap) .chain-fx,html.is-paused :is(#board-wrap,#cpu-board-wrap) .chain-fx *,html.is-paused :is(#board-wrap,#cpu-board-wrap) .chain-fx :after{animation-play-state:paused!important}.cfx-ray{width:calc(var(--s)*.42);transform-origin:0;background:linear-gradient(90deg,#fff,#8ff6fff2 30%,#0000);height:2px;margin-top:-1px;animation:.24s cubic-bezier(.6,0,1,.7) both cfx-ray;box-shadow:0 0 6px #8ff6ffb3}.cfx-streak{width:var(--l);transform-origin:0;background:linear-gradient(90deg,#0000,#fff 30%,#ffe08ab3 70%,#0000);height:2px;margin-top:-1px;animation:.4s cubic-bezier(.1,.8,.3,1) .2s both cfx-streak}.cfx-core{width:calc(var(--s)*.55);aspect-ratio:1;background:radial-gradient(closest-side,#ffffffe6,#ffe08a73 30%,#8ff6ff2e 58%,#8ff6ff00);border-radius:50%;animation:.5s ease-out .2s both cfx-core;translate:-50% -50%}.cfx-ring{width:var(--s);aspect-ratio:1;border:3px solid #d6fcfff2;border-radius:50%;animation:.65s cubic-bezier(.15,.7,.3,1) .22s both cfx-ring;translate:-50% -50%;box-shadow:0 0 14px #8ff6ffb3,inset 0 0 14px #8ff6ff59}.cfx-ring2{border-width:1px;border-color:#ffe08ae6;animation-delay:.32s;box-shadow:0 0 10px #ffbe5a99}.cfx-slash{width:calc(var(--s)*1.1);height:4px;translate:-50% -50%;rotate:var(--a)}.cfx-slash2{height:1.5px;transform:translateY(11px)}.cfx-slash2>b{animation-delay:.22s}.cfx-slash2:after{display:none}.cfx-slash>b{transform-origin:var(--o) 50%;background:linear-gradient(90deg,#0000,#8ff6ffe6 18%,#fff 50%,#ffe08af2 82%,#0000);border-radius:2px;animation:.55s cubic-bezier(.2,.9,.25,1) .16s both cfx-slash;position:absolute;inset:0;box-shadow:0 0 8px #8ff6ffe6,0 0 22px #ffe08a8c}.cfx-slash:after{content:"";filter:blur(3px);background:linear-gradient(90deg,#0000,#8ff6ff3d 30%,#ffe08a3d 70%,#0000);height:16px;margin-top:-8px;animation:.6s ease-out .3s both cfx-trail;position:absolute;top:50%;left:0;right:0}.cfx-shard{width:calc(var(--z)*10px);height:calc(var(--z)*28px);clip-path:polygon(50% 0,94% 26%,64% 100%,16% 78%,4% 22%);filter:drop-shadow(0 0 3px #8ff6ffcc);background:linear-gradient(115deg,#fff 0 34%,#8ff6ffe6 34% 68%,#8ff6ff59 68%);animation:.75s cubic-bezier(.12,.75,.25,1) .22s both cfx-shard}.cfx-gold{filter:drop-shadow(0 0 3px #ffbe5acc);background:linear-gradient(115deg,#fff 0 34%,#ffe08af2 34% 68%,#ff9f6266 68%)}@keyframes cfx-streak{0%{opacity:0;transform:rotate(var(--r)) translateX(calc(var(--s)*.06)) scaleX(.2)}20%{opacity:1}to{opacity:0;transform:rotate(var(--r)) translateX(calc(var(--s)*.32)) scaleX(1)}}@keyframes cfx-ray{0%{opacity:0;transform:rotate(var(--r)) translateX(calc(var(--s)*.6)) scaleX(1)}30%{opacity:1}to{opacity:0;transform:rotate(var(--r)) translateX(0) scaleX(.15)}}@keyframes cfx-core{0%{opacity:0;transform:scale(.25)}25%{opacity:1}to{opacity:0;transform:scale(1.6)}}@keyframes cfx-ring{0%{opacity:0;transform:scale(.06)}8%{opacity:1}to{opacity:0;transform:scale(1)}}@keyframes cfx-slash{0%{opacity:1;transform:scaleX(0)}40%{opacity:1;transform:scaleX(1)}to{opacity:0;transform:scaleX(1)scaleY(.2)}}@keyframes cfx-trail{0%{opacity:0}30%{opacity:1}to{opacity:0}}@keyframes cfx-shard{0%{opacity:0;transform:translate(-50%,-50%) rotate(var(--r)) translateY(0) rotate(0) scale(.6)}12%{opacity:1}to{opacity:0;transform:translate(-50%,-50%) rotate(var(--r)) translateY(calc(var(--d)*-1)) rotate(var(--t)) scale(1)}}@keyframes cfx-edge{0%{box-shadow:inset 0 0 #ffe08a00,inset 0 0 #8ff6ff00}20%{box-shadow:inset 0 0 0 2px #ffe08ae6,inset 0 0 34px #8ff6ff59}to{box-shadow:inset 0 0 #ffe08a00,inset 0 0 #8ff6ff00}}#cpu-combo{min-width:100px;padding:6px 9px}#cpu-combo .combo-reading strong{font-size:32px}#cpu-combo .combo-reading>span{font-size:10px}:where(html[data-layout=wide]) .is-playing .left-rail .speed-card{margin-bottom:12px}:where(html[data-layout=wide]) .is-playing .left-rail{padding-top:38px}:where(html[data-layout=wide]) .is-playing .seed-note{margin-top:14px}@media (max-width:1000px){:where(html:not([data-layout=phone])) .speed-card{padding:10px}:where(html:not([data-layout=phone])) .speed-reading{flex-wrap:wrap;gap:3px}:where(html:not([data-layout=phone])) .speed-reading strong{font-size:27px}}@media (max-width:780px){:where(html:not([data-layout=phone])) .left-rail{flex-wrap:wrap;gap:16px}:where(html:not([data-layout=phone])) .speed-card{flex:1 0 100%;margin-bottom:0}:where(html:not([data-layout=phone])) .speed-heading{flex-wrap:nowrap}:where(html:not([data-layout=phone])) .speed-reading{margin:5px 0}:where(html:not([data-layout=phone])) .speed-scale{font-size:10px}:where(html:not([data-layout=phone])) .left-rail .next-card{padding:0}:where(html:not([data-layout=phone])) .combo-feedback{min-width:110px;padding:5px 10px}:where(html:not([data-layout=phone])) .is-cpu .combo-reading strong{font-size:32px}:where(html:not([data-layout=phone])) .is-cpu .combo-reading>span,:where(html:not([data-layout=phone])) .is-cpu .item-dock .tool-slot>span:last-child{font-size:10px}:where(html:not([data-layout=phone])) .is-cpu #cpu-combo{min-width:80px;padding:5px}:where(html:not([data-layout=phone])) .is-cpu #cpu-combo .combo-reading{gap:3px}:where(html:not([data-layout=phone])) .is-cpu #cpu-combo .combo-reading strong{font-size:24px}}.item-cycle{gap:4px;display:flex}.item-cycle button{background:var(--teal-12);border:1px solid var(--gray-4);white-space:nowrap;border-radius:4px;padding:5px 6px;font-size:11px}.item-cycle kbd{color:var(--ink);margin-left:2px;font-size:10px}.item-dock .item-panel{border:0;flex-wrap:wrap;align-items:center;gap:5px 8px;min-height:0;padding:6px 0 0;display:flex}.item-dock #item-category{font-size:9px}.item-dock #item-name{margin:0;font-family:inherit;font-size:13px;line-height:1.5}.item-dock #item-actions{order:1;gap:4px;width:100%;display:flex}.item-dock #item-actions button{white-space:nowrap;border-radius:4px;flex:1;min-width:0;padding:7px 2px;font-size:11px}.item-dock #item-actions kbd{color:inherit;margin-left:2px;font-size:10px}.item-dock .item-details{width:100%;color:var(--muted);order:3;font-size:10px}.item-details summary{cursor:pointer}.item-dock #item-description{padding-top:5px;font-size:11px;line-height:1.7}.item-dock #item-target{order:2;width:100%;min-height:0;padding:0;font-size:10px;line-height:1.5}.tool-rail .control-strip{margin:16px 0}.control-strip{flex-wrap:wrap}.control-strip .drop-button{min-width:max-content}html body.is-watching .control-strip,:where(html:not([data-layout=phone])) :is(.is-cpu,.is-match) .control-strip{display:none}@media (max-width:780px){:where(html:not([data-layout=phone])) .is-cpu .item-dock #item-category{display:none}:where(html:not([data-layout=phone])) .is-cpu .item-cycle button{padding:5px 3px;font-size:10px}:where(html:not([data-layout=phone])) .is-cpu .dock-heading,:where(html:not([data-layout=phone])) .is-cpu .item-dock #item-actions{flex-wrap:wrap}:where(html:not([data-layout=phone])) .is-cpu .item-dock #item-actions button{min-width:58px}}#reward-bar{width:100%;height:8px;margin-top:7px;display:block}.reward-guide{color:var(--muted);margin-top:10px;font-size:11px}.reward-guide summary{cursor:pointer}.reward-guide p{margin:8px 0;line-height:1.7}.reward-table-wrap{max-width:100%;overflow-x:auto}.reward-guide table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:11px}.reward-guide th,.reward-guide td{border-bottom:1px solid var(--line);text-align:right;padding:6px 4px}.reward-guide th:first-child{text-align:left}.reward-guide thead{color:var(--ink)}.reward-result:empty{display:none}.reward-result{color:var(--ink);margin:8px 0;font-size:12px;font-weight:600;line-height:1.6}.board-row{align-items:stretch;gap:6px;display:flex}.board-row>.board-wrap,.board-row>.cpu-board-wrap{flex:1;min-width:0}.speed-rail{flex-direction:column;flex:0 0 24px;align-items:center;gap:5px;padding:2px 0;display:flex}.speed-title{writing-mode:vertical-rl;font:700 9px var(--mono);letter-spacing:.2em;color:var(--muted)}.speed-track{border:1px solid var(--teal-4);background:var(--ink-8) repeating-linear-gradient(0deg,transparent 0 calc(25% - 1px),color-mix(in srgb,var(--paper-20) 20%,transparent) calc(25% - 1px) 25%);border-radius:4px;flex:1;width:14px;position:relative;overflow:hidden}.speed-fill{background:linear-gradient(0deg,var(--teal-8),#f4d078 55%,#f18b59);height:25%;transition:height .25s ease-out;position:absolute;bottom:0;left:0;right:0}.speed-rail[data-state=slow] .speed-fill{background:#89ace0}.speed-rail[data-state=quick] .speed-fill{background:#f18b59}.speed-rail strong{font:600 10px var(--mono);white-space:nowrap}.speed-rail{position:relative}.gauge-rows{z-index:2;color:#1d1410;font:700 10px var(--mono);white-space:nowrap;background:#f18b59;border-radius:4px;padding:1px 4px;line-height:1.3;position:absolute;top:0;right:0;box-shadow:0 0 0 1px #00000059}.gauge-rows[hidden]{display:none}.seat-rail .gauge-rows{padding:0 2px;font-size:8px}.speed-note{color:var(--muted);font-size:10px}.cpu-board-row .speed-rail{flex-basis:20px}.cpu-board-row .speed-track{width:11px}:where(html[data-layout=wide]) .is-playing .workspace{grid-template-columns:minmax(var(--rail-min,150px),.8fr) calc(var(--play-width) + 30px + var(--next-w)) minmax(250px,1.15fr)}:where(html[data-layout=wide]) .is-cpu .workspace{grid-template-columns:minmax(var(--rail-min,105px),.55fr) calc(var(--play-width) + 30px + var(--next-w)) calc(var(--play-width)*.78 + 26px) minmax(240px,1fr)}:where(html[data-layout=wide]) .is-tutorial{--rail-min:12rem}.item-dock .inventory,.cpu-item-dock .inventory{grid-template-columns:repeat(12,minmax(0,1fr));gap:2px;margin:4px 0 0;display:grid}.item-dock .tool-slot,.cpu-item-dock .tool-slot{aspect-ratio:1;border-radius:4px;gap:0;height:auto;padding:1px}.tool-slot .item-icon{width:100%;height:100%;display:block}.tool-slot.selected{outline-offset:1px;background:#f4d078;outline:2px solid #b36229}.item-icon{--icon-bg:var(--ink-11);color:#fff}.item-icon .icon-bg{fill:var(--icon-bg)}.item-icon .cut{stroke:var(--icon-bg)}.item-icon.tone-attack{--icon-bg:#b8492e}.item-icon.tone-special{--icon-bg:#a87a1f}.item-icon.tone-practice{--icon-bg:#5b6e8c}#item-name .item-icon{vertical-align:-4px;width:20px;height:20px;margin-right:6px;display:inline-block}.fx-layer{pointer-events:none;z-index:60;position:fixed;inset:0;overflow:hidden}.fx-flight,.fx-burst{background:color-mix(in srgb,var(--ink-2) 93%,transparent);color:var(--paper-18);border:2px solid var(--fx);white-space:nowrap;will-change:transform,opacity;border-radius:10px;align-items:center;gap:8px;padding:7px 12px 7px 7px;display:flex;position:absolute;transform:translate(-50%,-50%);box-shadow:0 4px 14px #0008}.fx-flight{z-index:1}.fx-flight.fx-winner{z-index:3;box-shadow:0 0 0 2px var(--fx),0 0 22px 6px color-mix(in srgb,var(--fx) 70%,transparent),0 4px 14px #0008;border-color:#fff}.fx-flight .item-icon{width:34px;height:34px}.fx-burst .item-icon{width:44px;height:44px}.fx-flight span,.fx-burst span{flex-direction:column;line-height:1.3;display:flex}.fx-flight small,.fx-burst small{font:700 10px var(--mono);color:var(--fx)}.fx-flight strong{font-size:13px}.fx-burst strong{font-size:17px}.fx-parry{z-index:2;color:#b7412a;letter-spacing:.12em;white-space:nowrap;will-change:transform,opacity;background:#fff;border:3px solid #b7412a;border-radius:999px;padding:8px 16px;font:900 20px/1 system-ui,sans-serif;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 6px #fff6,0 0 28px #ffd27a}.fx-parry-part{z-index:2;pointer-events:none;will-change:transform,opacity;position:absolute;transform:translate(-50%,-50%)}.fx-ghost{background:color-mix(in srgb,var(--ink-2) 93%,transparent);border:2px solid var(--fx);border-radius:10px;padding:5px;box-shadow:0 4px 14px #0008}.fx-ghost .item-icon{width:38px;height:38px;display:block}.fx-frag{background:var(--fx);border-radius:2px;width:11px;height:11px;box-shadow:0 0 6px #ffd27a88}.fx-frag.white{background:#fff}.fx-frag.red{background:#b8492e}.fx-frag.big{width:18px;height:18px}.fx-frag.tri{clip-path:polygon(50% 0,100% 100%,0 100%);box-shadow:none}.fx-flash{background:radial-gradient(circle,#fff 0 30%,#fff3c4 45%,#ffd27a99 62%,#0000 72%);border-radius:50%;width:170px;height:170px}.fx-wave{border:5px solid #fff;border-radius:50%;width:70px;height:70px;box-shadow:0 0 16px #ffd27a,inset 0 0 10px #ffd27a}.fx-streak{background:linear-gradient(90deg,#fff,#ffd27a 45%,#f18b59);border-radius:2px;width:38px;height:4px}.fx-lane{flex-direction:column;align-items:center;gap:6px;width:max-content;display:flex;position:absolute;transform:translate(-50%)}.fx-lane .fx-burst{white-space:normal;will-change:opacity;max-width:100%;position:static;transform:none}.fx-lane .fx-burst span{overflow-wrap:anywhere;min-width:0}.fx-lane .fx-burst .item-icon{flex:none}.fx-lane.compact .fx-burst{gap:5px;padding:4px 6px}.fx-lane.compact .fx-burst .item-icon{width:28px;height:28px}.fx-lane.compact .fx-burst strong{font-size:12px}.fx-lane.compact .fx-burst small{font-size:9px}.fx-lane.header{flex-direction:row;gap:4px;transform:translate(-50%,-50%)}.fx-lane.header .fx-burst{max-width:var(--lane-w,100%);flex:none}.fx-lane.header.has-more .fx-burst{max-width:calc(var(--lane-w,100%) - 34px)}.fx-lane.header .fx-burst span{min-width:0}.fx-lane.header .fx-burst :is(small,strong){text-overflow:ellipsis;min-width:0;overflow:hidden}.fx-lane.header .fx-burst small{flex-shrink:1000}.fx-lane.header .fx-burst,.fx-lane.header.compact .fx-burst{white-space:nowrap;border-width:1px;border-radius:7px;gap:5px;padding:2px 8px 2px 3px;box-shadow:0 2px 6px #0006}.fx-lane.header .fx-burst .item-icon,.fx-lane.header.compact .fx-burst .item-icon{width:18px;height:18px}.fx-lane.header .fx-burst span{flex-direction:row;align-items:baseline;gap:5px}.fx-lane.header .fx-burst strong,.fx-lane.header.compact .fx-burst strong{font-size:11px}.fx-lane.header .fx-burst small,.fx-lane.header.compact .fx-burst small{font-size:9px}.fx-lane.header .fx-more{background:color-mix(in srgb,var(--ink-2) 85%,transparent);color:var(--paper-18);border-radius:5px;padding:1px 5px;font-size:9px}:where(html:not([data-layout=phone])) .fx-lane.header.board .fx-burst .item-icon{width:20px;height:20px}:where(html:not([data-layout=phone])) .fx-lane.header.board .fx-burst strong{font-size:12px}.fx-more{background:var(--ink-2);color:var(--paper-18);border-radius:4px;padding:3px 8px;font-size:11px}.fx-ring{border:4px solid var(--fx);will-change:opacity;border-radius:12px;position:absolute}.fx-lane.peek{gap:3px}.fx-lane.peek .fx-burst{background:color-mix(in srgb,var(--ink-2) 72%,transparent);white-space:nowrap;border-width:1px;border-radius:8px;gap:6px;padding:3px 10px 3px 4px;box-shadow:0 2px 8px #0006}.fx-lane.peek .fx-burst .item-icon{width:24px;height:24px}.fx-lane.peek .fx-burst span{flex-direction:row;align-items:baseline;gap:6px}.fx-lane.peek .fx-burst strong{font-size:13px}.fx-lane.peek .fx-burst small{font-size:10px}.item-fx.faint{opacity:.5}.fx-send{--fx:#f18b59}.fx-receive{--fx:#c09be6}.fx-self{--fx:var(--teal-6)}.setting-row select{font:inherit;border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:4px;max-width:60%;padding:6px 10px;font-size:12px}.admin-open{flex-wrap:wrap;gap:8px;display:flex}.admin-open .secondary{flex:1;width:auto;min-width:140px}.admin-dialog{max-width:min(760px,100% - 32px)}.admin-state{margin:12px 0;font-size:12px;font-weight:700}.admin-message{color:var(--accent);min-height:20px;margin:10px 0;font-size:12px;line-height:1.7}.admin-fields .setting-row input{width:110px;font:inherit;border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:4px;padding:5px 8px;font-size:12px}.admin-actions{flex-wrap:wrap;gap:8px;display:flex}.admin-actions button{flex:1;width:auto;min-width:150px}.admin-table-wrap{margin:12px 0;overflow-x:auto}.admin-table{border-collapse:collapse;min-width:100%;font-size:11px}.admin-table th,.admin-table td{border-bottom:1px solid var(--line);text-align:center;white-space:nowrap;padding:4px 6px}.admin-table th[scope=row],.admin-table tr>th:first-child{text-align:left}.admin-table input{width:56px;font:inherit;border:1px solid var(--line);color:var(--ink);text-align:right;background:#fff;border-radius:3px;padding:3px 4px;font-size:12px}.admin-table tr.total td{font-family:var(--mono);font-weight:700}.admin-table td.invalid{color:#b3261e;background:var(--paper-12)}.odds-bars{gap:6px;margin:10px 0;display:grid}.odds-bar-row{font-size:10px;font-family:var(--mono);grid-template-columns:70px 1fr auto;align-items:center;gap:8px;display:grid}.odds-bar{background:var(--teal-14);border-radius:3px;height:14px;display:flex;overflow:hidden}.odds-bar span{height:100%;display:block}.odds-bar .miss{background:repeating-linear-gradient(45deg,var(--gray-11) 0 4px,var(--teal-15) 4px 8px)}.odds-legend{flex-wrap:wrap;gap:6px 12px;margin-top:4px;font-size:10px;display:flex}.odds-legend span:before{content:"";vertical-align:-1px;background:var(--tone,var(--gray-11));border-radius:2px;width:10px;height:10px;margin-right:4px;display:inline-block}.odds-bar{height:16px}.odds-bar .odds-part{height:100%;display:flex}.odds-part.support+.odds-part.attack,.odds-part+.miss{border-left:2px solid var(--paper)}.odds-split{white-space:nowrap;gap:8px;display:flex}.odds-split b{min-width:56px;font-weight:600}.odds-split .support{color:#1f6f52}.odds-split .attack{color:#9e2a1f}.odds-split .miss{color:var(--muted);font-weight:400}.odds-legend strong{margin-right:2px;font-size:10px}.odds-legend.support strong{color:#1f6f52}.odds-legend.attack strong{color:#9e2a1f}.admin-table tr.odds-family th{text-align:left;letter-spacing:.06em;border-bottom:2px solid;padding:12px 6px 4px;font-size:11px}.admin-table tr.odds-family.support th{color:#1f6f52;border-color:#4fa877}.admin-table tr.odds-family.attack th{color:#9e2a1f;border-color:#d4573a}.admin-table tr.odds-sum.support>*{color:#1f6f52;background:#4fa8771f}.admin-table tr.odds-sum.attack>*{color:#9e2a1f;background:#d4573a1a}.cpu-live{justify-content:flex-end;gap:4px;margin:-4px 0 4px;display:flex}.cpu-live .text-button{padding:4px 6px}.cpu-live [aria-pressed=true]{color:var(--accent);font-weight:700}.admin-dialog.live[open]{inset:calc(env(safe-area-inset-top,0px) + 64px) 16px auto auto;z-index:50;width:min(440px,100% - 32px);max-height:calc(100vh - 96px);margin:0;padding:24px;position:fixed}.admin-fields h4{color:var(--accent);margin:14px 0 2px;font-size:12px}.admin-field{border-bottom:1px solid var(--line);padding-bottom:6px}.admin-field .setting-row{padding:8px 0 2px}.field-desc{color:var(--muted);margin:0 0 4px;font-size:10px;line-height:1.7}.admin-fields input.invalid{background:var(--paper-17);border-color:#b3261e}.admin-fields input:disabled{opacity:.55}.admin-message p{margin:2px 0}.heading-actions{align-items:center;gap:2px;display:flex}:where(html:not([data-layout=phone])) .board-heading{flex-wrap:nowrap;gap:8px;height:44px}:where(html[data-layout=wide]) .is-playing .board-heading{height:38px}:where(html:not([data-layout=phone])) .board-heading>span:first-child{white-space:nowrap;min-width:0;overflow:hidden}:where(html:not([data-layout=phone])) .board-heading .heading-actions{flex:none}:where(html:not([data-layout=phone])) .board-heading .heading-actions>*{white-space:nowrap}.match-head .quiet{white-space:nowrap;padding:2px 6px}.assist-toggle[aria-checked=true]{color:var(--accent);font-weight:700}.assist-panel{border:1px solid var(--line);background:var(--paper);border-left:3px solid #d8a93f;border-radius:6px;margin-top:16px;padding:11px 12px 10px;font-size:11px;line-height:1.7}.assist-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.assist-chip{font-family:var(--mono);letter-spacing:.06em;background:var(--paper-3);color:#7a4f10;white-space:nowrap;border-radius:3px;padding:2px 7px;font-size:9px}.assist-panel[data-fire=now] .assist-chip{color:#4a2f00;background:#ffc933;font-weight:700;animation:.7s ease-in-out infinite alternate assist-fire}.assist-panel[data-fire=next] .assist-chip{color:#6a4300;background:#ffe9a8}@keyframes assist-fire{0%{box-shadow:0 0 #ffc93388}to{box-shadow:0 0 0 5px #ffc93300}}@media (prefers-reduced-motion:reduce){.assist-panel[data-fire=now] .assist-chip{animation:none}}.assist-panel[data-status=blocked] .assist-chip,.assist-panel[data-status=none] .assist-chip{background:var(--paper-10);color:var(--muted)}.assist-combo{color:var(--muted);white-space:nowrap;align-items:baseline;gap:4px;font-size:9px;display:flex}.assist-combo strong{color:var(--ink);font-size:22px;line-height:1}.assist-style{color:var(--muted);margin:4px 0 0;font-size:9px}.assist-style:empty{display:none}.assist-title{margin:6px 0 3px;font-size:13px;font-weight:700}.assist-steps{background:var(--paper-9);border-radius:4px;margin:0;padding:5px 8px;font-weight:600}.assist-steps:empty,.assist-reason:empty,.assist-here:empty{display:none}.assist-reason{color:var(--ink-10);margin:6px 0 0}.assist-here{color:var(--muted);margin:4px 0 0;font-size:10px}.assist-detail{border:1px solid var(--line);width:100%;color:var(--ink);background:0 0;border-radius:4px;margin-top:8px;padding:8px 10px;font-size:11px;font-weight:700;display:block}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}dialog.assist-dialog{max-width:min(760px,100% - 32px);padding:28px}.assist-dialog h2{margin:8px 0 14px;font-size:21px}.assist-tabs{flex-wrap:wrap;gap:6px;margin-bottom:8px;display:flex}.assist-tab{border:1px solid var(--line);color:var(--ink);background:0 0;border-radius:4px;padding:6px 10px;font-size:11px}.assist-tab[aria-selected=true]{background:var(--ink-6);color:var(--paper-16);border-color:var(--ink-6)}.assist-tabs.steps .assist-tab{font-size:10px}.assist-stage{grid-template-columns:minmax(0,240px) 1fr;align-items:start;gap:18px;margin-top:6px;display:grid}.assist-stage canvas{background:var(--ink-5);border-radius:8px;width:100%;height:auto}.assist-stage-text p{font-size:12px;line-height:1.8}.assist-controls{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.assist-controls button{border:1px solid var(--line);background:var(--paper-14);color:var(--ink);border-radius:4px;padding:7px 10px;font-size:11px}@media (max-width:620px){.assist-stage{grid-template-columns:1fr}.assist-stage canvas{max-width:240px;margin:auto}}.competition-toggle{color:var(--gray-10);cursor:pointer;align-items:flex-start;gap:10px;font-size:11px;line-height:1.6;display:flex}.competition-toggle input{flex:none;margin:1px 0 0}.competition-toggle strong{color:var(--paper-13);font-size:12px;display:block}:is(.result-overlay,#match-setup) .competition-toggle input{width:16px;height:16px}:is(.result-overlay,#match-setup) .competition-toggle strong{font-size:11px}.time-card .steady-toggle{color:var(--muted);align-items:flex-start;margin-top:8px;font-size:10px}.time-card .steady-toggle small{font-size:10px}.time-card .steady-toggle input{width:16px;height:16px}.time-card .steady-toggle strong{color:var(--ink,inherit);font-size:11px;font-weight:600}#help-dialog{max-height:calc(100dvh - 32px);overflow:auto}.help-toc{flex-wrap:wrap;gap:6px 14px;margin:10px 0 6px;font-size:12px;display:flex}.help-toc a{color:var(--ink)}.help-section{border-top:1px solid var(--line);padding:14px 0 4px}.help-section h3{font-family:var(--serif);margin:0 0 6px;font-size:16px}.help-section p{margin:6px 0;font-size:12px;line-height:1.9}.tool-list{grid-template-columns:max-content 1fr;gap:8px 14px;margin:12px 0;font-size:12px;display:grid}.tool-list dt{white-space:nowrap;align-items:center;gap:6px;font-weight:700;display:flex}.tool-list dt .item-icon{flex:none;width:22px;height:22px}.tool-list dd{color:var(--muted);margin:0;line-height:1.7}@media (max-width:560px){.tool-list{grid-template-columns:1fr;gap:2px}.tool-list dd{margin-bottom:8px}}.next-rail{flex:0 0 var(--next-w);justify-content:flex-end;align-items:flex-start;gap:8px;padding-top:6px;display:flex}.next-rail .eyebrow{margin:0;font-size:9px}.next-rail #next-pieces{flex-direction:row-reverse;gap:6px;margin:0;display:flex}.next-rail .next-pair:first-child{transform-origin:100% 0;transform:scale(1.1)}.next-rail .mini-tile{width:var(--next-tile);height:var(--next-tile);border-radius:6px;font-size:12px}.mini-tile.ingot{color:#4f6278;background-image:linear-gradient(135deg,#ffffffbf,#fff0 42%,#4f627838);font-weight:400;box-shadow:inset 1px 1px #ffffffe6,inset -1px -1px #4f627873}@media (max-width:560px){:root{--next-w:94px;--next-tile:18px}:where(html:not([data-layout=phone])) .next-rail #next-pieces{gap:4px}:where(html:not([data-layout=phone])) .next-rail .mini-tile{border-radius:4px;font-size:10px}}.is-cpu .score-only{display:none!important}#settings-dialog{max-height:calc(100dvh - 32px);overflow:auto}.settings-group{border-top:1px solid var(--line);padding:14px 0 6px}.settings-group h3{font-family:var(--serif);margin:0 0 8px;font-size:16px}.settings-group h4{color:var(--muted);margin:16px 0 6px;font-size:12px}.settings-box{border:1.5px solid var(--muted);background:var(--paper);border-radius:8px;margin:14px 0;padding:6px 12px 10px}.settings-box h5{color:var(--ink);margin:14px 0 2px;font-size:13px;font-weight:700}.settings-box h4{color:var(--ink);border-bottom:1px solid var(--muted);margin:6px 0;padding-bottom:6px;font-size:13px}.is-match .score-only{display:none!important}.is-match .left-rail{display:none}.match-panel{min-width:0;padding-top:38px}.match-head{justify-content:space-between;align-items:center;gap:10px;min-height:30px;font-size:11px;display:flex}.match-head strong{font-size:13px}#match-lock{color:var(--muted);font-size:10px}.match-seats{--card-h:calc((var(--play-height,560px) - 128px) / 2);grid-template-columns:repeat(3,auto);justify-content:start;gap:10px;display:grid}.seat-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:3px;min-width:0;padding:5px 6px 6px;display:flex}.seat-card.empty{background:0 0;border-style:dashed}.seat-card.teamed{border-top:4px solid var(--tc)}.seat-card.ally{border:3px solid var(--tc);background:color-mix(in srgb,var(--tc) 12%,var(--paper-15));box-shadow:0 0 0 3px color-mix(in srgb,var(--tc) 14%,transparent)}.seat-head{align-items:center;gap:6px;min-width:0;min-height:21px;font-size:12px;display:flex}.seat-head b{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.seat-no{background:var(--ink);color:#fff;width:20px;height:20px;font:700 11px var(--mono);border-radius:5px;flex:none;place-items:center;display:inline-grid}.seat-card.empty .seat-no{background:var(--gray-8)}.seat-tag{color:#fff;background:#b7412a;border-radius:4px;margin-left:auto;padding:1px 5px;font-size:9px;font-weight:700}.seat-card[data-state=out] .seat-tag{background:var(--teal-3)}.seat-sub{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;max-width:calc(var(--card-h) * .55 + 20px);margin-top:-3px;font-size:9px;overflow:hidden}.seat-row{align-items:stretch;gap:3px;display:flex}.seat-field{line-height:0;position:relative}.seat-canvas{height:var(--card-h);aspect-ratio:auto;border-radius:5px;width:auto;display:block}.seat-rail{flex:0 0 13px;gap:3px;padding:0}.seat-rail .speed-track{width:9px}.seat-rail strong{font-size:8px}.seat-inv{grid-template-columns:repeat(6,16px);gap:2px;display:grid}.seat-inv .tool-slot{border-radius:3px;gap:0;width:16px;height:16px;padding:1px}.seat-ov{color:#fff;text-align:center;background:color-mix(in srgb,var(--ink-2) 72%,transparent);border-radius:5px;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:10px;line-height:1.4;display:flex;position:absolute;inset:0}.seat-ov strong{letter-spacing:.1em;font-size:15px}.seat-ov.out{background:color-mix(in srgb,var(--gray-1) 80%,transparent);color:var(--ink-3)}.seat-ov.empty{background:color-mix(in srgb,var(--ink-2) 55%,transparent)}.seat-ov.vacant{background:color-mix(in srgb,var(--ink-2) 80%,transparent);color:var(--gray-6);font-size:11px}.seat-ov.edit{background:color-mix(in srgb,var(--ink-2) 86%,transparent);justify-content:flex-start;align-items:stretch;gap:5px;padding:12px 7px}.seat-ov.edit select{font:inherit;border:1px solid var(--ink-12);background:var(--ink-7);color:var(--paper-13);border-radius:4px;width:100%;padding:3px 4px;font-size:11px}.seat-ov-label{color:var(--gray-6);letter-spacing:.08em;text-align:left;margin-top:3px;font-size:9px}.seat-add{color:var(--ink-6);background:#edc66f;border-radius:6px;padding:8px 10px;font-size:12px;font-weight:700}.seat-ov.plate{pointer-events:none;background:0 0;overflow:hidden}.plate-back{aspect-ratio:1;color:#9fc0ea;opacity:.16;width:82%;height:auto;position:absolute}.plate-box{box-sizing:border-box;color:#fff;background:#0d1a30f0;border:2px solid #9fc0ea;border-radius:9px;flex-direction:column;align-items:center;gap:3px;max-width:calc(100% - 8px);padding:6px 6px 7px;display:flex;position:relative;box-shadow:0 3px 10px #0006}.plate-cpu{letter-spacing:.2em;color:#b8cdea;font-size:9px}.seat-ov .plate-title{letter-spacing:.06em;white-space:nowrap;font-size:20px;line-height:1.15}.plate-way{white-space:nowrap;border:1.5px solid #fff9;border-radius:99px;align-items:center;gap:3px;padding:0 8px;font-size:12px;font-weight:700;display:inline-flex}.way-mark{flex:none;width:14px;height:14px}.cpu-strength{color:#c9d4e6;white-space:nowrap;align-items:center;gap:2px;font-size:10px;display:inline-flex}.cpu-strength>span{margin-right:3px}.cpu-strength b{background:#ffffff38;border-radius:2px;width:6px;height:6px}.cpu-strength b.on{background:#f4d27f}.person-plate .plate-box{background:#0d1a30db;border-width:1.5px;border-color:#9fc0ea99;flex-direction:row;gap:6px;padding:4px 10px}.plate-role{font-size:13px;font-weight:700}.plate-ally{background:#2f6fd0;border-radius:99px;padding:0 7px;font-size:10px}.seat-ov.vacant.open{color:#dfe6f0;gap:6px}.seat-ov .seat-left{letter-spacing:.04em;color:#fff;font-size:18px}.seat-count{color:#c9d4e6;font-size:11px}.seat-invite{color:#fff;pointer-events:auto;background:#2f6fd0;border-radius:99px;padding:6px 12px;font-size:12px;font-weight:700}.seat-ov-note{color:#dfe8f5;text-align:left;flex-wrap:wrap;align-items:center;gap:3px 5px;margin:0;font-size:10px;line-height:1.35;display:flex}.seat-start .seat-field{animation:.7s ease-out seat-start}@keyframes seat-start{0%{box-shadow:0 0 0 3px var(--tc,#9fc0ea),0 0 16px 4px var(--tc,#9fc0ea)}to{box-shadow:0 0 #0000,0 0 #0000}}.plate-leave{animation:.6s ease-in forwards plate-leave}@keyframes plate-leave{to{opacity:0;transform:translateY(-45%)}}@media (prefers-reduced-motion:reduce){.seat-start .seat-field,.plate-leave{animation:none}.plate-leave{display:none}}html[data-layout=phone] .plate-cpu,html[data-layout=phone] .plate-back,html[data-layout=phone] .seat-count,html[data-layout=phone] .cpu-strength>span,html[data-layout=phone] .seat-ov-note{display:none}html[data-layout=phone] .plate-box{border-width:1.5px;gap:2px;padding:3px 4px}html[data-layout=phone] .seat-ov .plate-title{letter-spacing:0;font-size:13px}html[data-layout=phone] .plate-way{border:0;padding:0;font-size:10px}html[data-layout=phone] .way-mark{width:11px;height:11px}html[data-layout=phone] .cpu-strength{gap:1px}html[data-layout=phone] .cpu-strength b{width:3px;height:5px}html[data-layout=phone] .seat-ov .seat-left{font-size:13px}html[data-layout=phone] .seat-invite{padding:3px 8px;font-size:10px}html[data-layout=phone] .plate-role{font-size:11px}.seat-remove{color:var(--gray-6);text-underline-offset:3px;background:0 0;margin-top:auto;font-size:10px;text-decoration:underline}.seat-chips{flex-wrap:wrap;gap:3px;display:flex}.seat-chips button{border:2px solid #0000;border-radius:4px;width:17px;height:17px;padding:0;font-size:9px;font-weight:700}.seat-chip-color{background:var(--c)}.seat-chip-none{background:var(--ink-8);color:var(--paper-13);width:auto!important;padding:0 4px!important}.seat-chips button[aria-pressed=true]{box-shadow:0 0 0 2px var(--c,var(--gray-6));border-color:#fff}.seat-chips.big button{color:#fff;width:34px;height:28px;font-size:12px}.seat-chips.big .seat-chip-none{padding:0 8px!important}.match-setup{gap:10px}.match-setup h2{font-size:30px}.match-setup-label{color:var(--gray-10);font-size:11px}.match-self{gap:6px;display:flex}.match-self select{font:inherit;border:1px solid var(--line);background:var(--paper-15);color:var(--ink);border-radius:4px;padding:5px 8px;font-size:12px}.match-problem{min-height:34px;color:var(--gray-10);font-size:11px;line-height:1.6}.play-column.teamed{box-shadow:0 0 0 4px var(--tc),0 0 0 9px color-mix(in srgb,var(--tc) 18%,transparent);background:color-mix(in srgb,var(--tc) 8%,transparent);border-radius:12px}.down-overlay{z-index:2;color:#fff;text-align:center;background:color-mix(in srgb,var(--ink-2) 70%,transparent);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex;position:absolute;inset:0}.down-overlay strong{letter-spacing:.12em;font-size:30px}.down-overlay span{font-size:12px}:where(html[data-layout=wide]) .is-match main{max-width:1400px;padding-left:20px;padding-right:20px}:where(html[data-layout=wide]) .is-match .workspace{grid-template-columns:calc(var(--play-width) + 30px + var(--next-w)) auto minmax(190px,1fr);gap:18px}@media (max-width:1000px){:where(html:not([data-layout=phone])) .is-match .workspace{flex-direction:column;display:flex}:where(html:not([data-layout=phone])) .match-seats{grid-template-columns:repeat(2,auto)}}.alpha-badge{font-family:var(--mono);letter-spacing:.04em;color:var(--paper);background:var(--accent);border:0;border-radius:4px;margin-left:2px;padding:3px 7px;font-size:11px;font-weight:600}.brand{align-items:center;gap:10px;display:flex}.feedback-label{margin:18px 0 8px;font-size:12px;display:block}#feedback-text{width:100%;font:inherit;border:1px solid var(--line);color:var(--ink);resize:vertical;background:#fff;border-radius:6px;padding:10px;font-size:12px;line-height:1.7}.feedback-env{font-family:var(--mono);white-space:pre-wrap;word-break:break-all;background:var(--paper-4);border:1px solid var(--line);-webkit-user-select:all;user-select:all;border-radius:6px;max-height:180px;margin:0;padding:10px;font-size:10px;line-height:1.7;overflow:auto}.feedback-actions{gap:10px;margin-top:16px;display:flex}.feedback-actions>*{flex:1}.feedback-send{text-align:center;box-sizing:border-box;text-decoration:none;display:block}.feedback-status{color:var(--accent);min-height:18px;margin-top:10px;font-size:11px}:root:not(.show-hidden) .alpha-hidden,#settings-dialog[data-mode=public] [data-admin],#settings-dialog[data-mode=admin] #settings-general>:not([data-admin]):not([data-both]),#settings-dialog[data-mode=admin] #settings-general>h3,#settings-dialog[data-mode=admin] .help-toc{display:none!important}.mode-nav{border:1px solid var(--line);background:var(--paper-4);border-radius:999px;flex-wrap:wrap;gap:4px;max-width:100%;padding:3px;display:flex}.mode-nav button{color:var(--muted);background:0 0;border-radius:999px;padding:7px 16px;font-size:12px;font-weight:600}.mode-nav button[aria-pressed=true]{background:var(--ink);color:var(--paper)}@media (max-width:780px){.mode-nav button{padding:6px 10px;font-size:11px}}.seat-ov.win{background:#edc66f38}.seat-ov.win strong{color:#f4d27f;text-shadow:0 1px 3px #0009;font-size:22px}#online-share label{grid-template-columns:minmax(0,1fr);gap:.25rem;width:100%;font-size:.85rem;display:grid}#online-link{box-sizing:border-box;width:100%;font:inherit;padding:.45rem .6rem}.online-part{grid-template-columns:minmax(0,1fr);gap:10px;width:100%;display:grid}.online-part[hidden]{display:none}.online-room-line{margin:0;font-size:.9rem}.online-room-line strong{font-family:var(--mono,monospace);letter-spacing:.06em}#online-share{gap:6px;margin:0;display:grid}.seat-ov.draw{background:color-mix(in srgb,var(--ink-2) 55%,transparent)}.seat-ov.draw strong{color:var(--paper,#fff);text-shadow:0 1px 3px #0009;font-size:18px}#online-setup{justify-content:flex-start;overflow-y:auto}.online-result{margin:0;font-size:.9rem;line-height:1.5}.online-result strong{font-size:1.05rem;display:block}.seat-card[data-state=draw] .seat-tag{background:var(--ink-8,#555)}:where(html:not([data-layout=phone])) .is-online .tool-rail{display:none}:where(html[data-layout=wide]) .is-online .workspace{grid-template-columns:calc(var(--play-width) + 30px + var(--next-w)) minmax(0,1fr)}.online-notice{display:none}.is-online .online-notice{min-height:18px;color:var(--ink-3);margin:4px 0 8px;font-size:12px;display:block}.is-online .online-notice:empty{visibility:hidden}.board-heading .my-seat{vertical-align:middle;margin-right:6px;display:inline-grid}.board-heading .my-seat[hidden],.my-seat-name[hidden]{display:none}.my-seat-name{margin-right:10px;font-size:13px}.assist-mark{color:#1b2433;background:#ffb020;border-radius:999px;padding:0 4px;font-weight:800;line-height:1.35;display:inline-block}.online-link-row{align-items:stretch;gap:6px;display:flex}.online-link-row #online-link{flex:1;min-width:0}.icon-button{border:1px solid var(--line);width:40px;color:inherit;background:0 0;border-radius:4px;flex:none;place-items:center;padding:0;display:grid}.online-copy-status,.online-go-note{min-height:1em;margin:0;font-size:.8rem}.online-copy-status:empty,.online-go-note:empty,body.waiting-practice-active #online-setup{display:none}.countdown{z-index:3;pointer-events:none;background:color-mix(in srgb,var(--ink-2) 45%,transparent);border-radius:12px;place-items:center;display:grid;position:absolute;inset:0}.countdown[hidden]{display:none}.countdown strong{font:800 clamp(72px,14vw,140px)/1 var(--mono,monospace);color:#edc66f;text-shadow:0 2px 6px #00000080}.online-name-label{grid-template-columns:minmax(0,1fr);gap:.25rem;width:100%;font-size:.85rem;display:grid}.online-name-row{gap:6px;display:flex}.online-name{box-sizing:border-box;min-width:0;font:inherit;flex:1;padding:.45rem .6rem}.online-name-set{width:auto;padding:0 12px}.online-card{gap:8px}.online-card h2{margin:0;font-size:24px}.online-card .online-part{gap:8px}#online-status:empty{display:none}.online-create-note{opacity:.9;margin:-2px 0 0;font-size:.78rem;line-height:1.55}.online-team-row{justify-items:center;gap:4px;width:100%;display:grid}body.is-lobby .workspace{display:none}.lobby-screen{color:var(--ink);gap:14px;margin:24px 0 8px;display:grid}.lobby-head{border-top:3px solid var(--ink);flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:8px 20px;padding-top:18px;display:flex}.lobby-head .eyebrow{color:var(--accent)}.lobby-head h2{font-family:var(--serif);margin-top:6px;font-size:24px;font-weight:600}.lobby-line{color:var(--muted);flex-wrap:wrap;gap:4px 10px;margin:0;font-size:12px;display:flex}.lobby-people-line{flex-wrap:wrap;align-items:baseline;gap:4px 10px;display:flex}.lobby-people-box{font-size:12px}.lobby-people-box summary{cursor:pointer}.lobby-people{flex-wrap:wrap;gap:4px;max-width:min(560px,100vw - 32px);max-height:120px;margin:6px 0 0;padding:0;list-style:none;display:flex;overflow-y:auto}.lobby-people li{border:1px solid var(--line);background:var(--paper);border-radius:999px;padding:1px 8px}#lobby-status:empty{display:none}.lobby-bar{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.lobby-bar .online-name-label{flex:280px;max-width:460px}.lobby-screen .online-name{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:4px}.lobby-create-open{width:auto;padding:12px 28px;font-size:13px}.lobby-note{min-height:1.4em;color:var(--teal-1);font-size:12px}.lobby-note:empty{min-height:0}.lobby-create{border:1px solid var(--line);background:var(--paper);border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;padding:16px;display:grid}.lobby-field{gap:4px;font-size:12px;display:grid}.lobby-field input,.lobby-field select{font:inherit;border:1px solid var(--line);background:var(--paper-15);color:var(--ink);border-radius:4px;min-width:0;padding:.45rem .6rem}.lobby-visibility{border:0;gap:4px;margin:0;padding:0;font-size:12px;display:grid}.lobby-visibility legend{margin-bottom:4px;padding:0}.lobby-visibility label{align-items:center;gap:6px;display:flex}.lobby-create-actions{grid-column:1/-1;align-items:center;gap:10px;display:flex}.lobby-create-actions .primary{width:auto;padding:11px 26px}.lobby-create-note{color:var(--muted);grid-column:1/-1;font-size:11px}.lobby-list-title{margin-top:6px;font-size:14px}.lobby-rooms{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.lobby-room{border:1px solid var(--line);background:var(--paper);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px 10px;padding:14px;font-size:12px;display:grid}.lobby-room-title{overflow-wrap:anywhere;font-size:15px}.lobby-room-state{color:var(--muted);white-space:nowrap;font-size:11px}.lobby-room-format{overflow-wrap:anywhere;grid-column:1/-1;gap:1px;margin:0;display:grid}.lobby-seats{grid-column:1/-1;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin:2px 0;padding:0;list-style:none;display:grid}.seat-cell{justify-items:center;gap:3px;min-width:0;display:grid}.seat-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--ink);font-size:11px;overflow:hidden}.seat-cell.has-empty .seat-name{color:var(--gray-2)}.seat-pip{--tc:var(--ink);width:26px;height:26px;font-family:var(--mono);border-radius:50%;place-items:center;font-size:11px;display:grid}.seat-pip.person{background:var(--tc);color:#fff}.seat-pip.cpu{border:2px solid var(--tc);color:var(--tc);border-radius:6px}.seat-pip.empty{border:1px dashed var(--gray-8);color:var(--gray-2)}.lobby-room-join{grid-column:1/-1;width:100%;padding:10px}.lobby-empty{color:var(--muted);margin:0;font-size:12px}.lobby-empty[hidden]{display:none}.online-room-setup{gap:6px;width:100%;display:grid}.online-room-title-line{overflow-wrap:anywhere;margin:0;font-size:.9rem}.online-setup-edit{font-size:.8rem;display:block}.online-setup-edit>label,.online-setup-edit>input,.online-setup-edit>select,.online-setup-edit>button{width:100%;margin-top:4px;display:block}.online-setup-edit summary{cursor:pointer;font-size:.8rem}.online-setup-edit[open]{padding-bottom:4px}.online-setup-edit input,.online-setup-edit select{font:inherit;min-width:0;padding:.35rem .5rem}.online-setup-edit button{padding:8px}.online-share summary{cursor:pointer;font-size:.8rem}.match-end{z-index:3;text-align:center;color:#fff;background:color-mix(in srgb,var(--ink-2) 78%,transparent);justify-items:center;gap:4px;padding:16px 12px;animation:.35s ease-out match-end-in;display:grid;position:absolute;top:34%;left:0;right:0}.match-end-label{font-family:var(--mono);letter-spacing:.14em;color:var(--gray-6);font-size:10px}.match-end strong{letter-spacing:.06em;font-size:28px}.match-end span{color:var(--gray-10);font-size:11px}.match-end button{width:auto;color:var(--paper-11);border-color:var(--teal-2);margin-top:8px;padding:8px 20px}.match-end.win{background:#3a2a05b3}.match-end.win strong{color:#f4d27f;text-shadow:0 1px 3px #0009;animation:.6s ease-out match-end-pop}.match-end.win .match-end-label{color:#f4d27f}.match-end.lose strong{color:var(--gray-10)}@keyframes match-end-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes match-end-pop{0%{opacity:0;transform:scale(.6)}60%{opacity:1;transform:scale(1.12)}to{transform:scale(1)}}.next-group{flex-direction:column;align-items:flex-end;gap:8px;display:flex}.current-preview{flex:0 0 calc(var(--next-tile) + 24px);text-align:center;background:linear-gradient(160deg,#243c59,#14263d);border:1px solid #365273;border-radius:8px;min-width:0;padding:8px 0;box-shadow:0 5px 12px #14263d24}.current-preview .eyebrow{color:#b8dce9;letter-spacing:.08em;white-space:nowrap;font-size:9px;font-weight:700}#current-piece{height:calc(var(--next-tile)*3 + 12px);justify-content:center;align-items:center;margin-top:5px;display:flex}.current-tiles{flex-direction:column;gap:4px;display:flex}.current-tiles.horizontal{flex-direction:row;gap:2px}.current-preview .current-tiles.horizontal .mini-tile{width:calc((var(--next-tile) + 16px)/3);height:calc((var(--next-tile) + 16px)/3);border-radius:3px;font-size:9px}.piece-flight{pointer-events:none;z-index:15}@media (max-width:560px){:where(html:not([data-layout=phone])) .next-rail{gap:6px}:where(html:not([data-layout=phone])) .tf{--tf-x:16px;--tf-h:22px}}.item-dock{position:relative}.reward-arrivals{z-index:3;pointer-events:none;flex-wrap:wrap;justify-content:flex-end;gap:5px;max-width:100%;display:flex;position:absolute;bottom:calc(100% + 8px);right:0}.reward-arrival{color:#edf7fb;background:#183149;border:1px solid #8db5c4;border-radius:8px;align-items:center;gap:7px;padding:8px 10px;font-size:11px;display:flex;box-shadow:0 4px 14px #14263d40}.reward-arrival svg{width:24px;height:24px}.reward-arrival small{color:#b8dce9;margin-top:3px;font-size:9px;display:block}.reward-flight{flex:none;width:24px;height:24px;display:block}.reward-flight svg{filter:drop-shadow(0 2px 3px #14263d60);will-change:transform;display:block}dialog.display-gate{z-index:200;background:color-mix(in srgb,var(--paper-15) 82%,transparent);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);width:100%;max-width:none;height:100%;max-height:none;color:var(--ink);text-align:center;box-shadow:none;border:0;border-radius:0;margin:0;padding:16px;position:fixed;inset:0}dialog.display-gate[open]{justify-content:center;align-items:center;display:flex}.gate-card{background:var(--paper-20);border:2px solid #edc66f;border-radius:22px;flex-direction:column;align-items:center;gap:10px;width:min(100%,340px);padding:22px 20px 20px;display:flex;box-shadow:0 10px 30px #1e3a5f29}dialog.display-gate h2{color:var(--ink);margin:0;font-size:clamp(18px,5vw,22px);line-height:1.4}dialog.display-gate p{max-width:30em;color:var(--ink-12);margin:0;font-size:13px;line-height:1.7}.gate-phone{width:72px;height:72px}.gate-device rect{fill:var(--ink)}.gate-device .gate-screen{fill:#7fd0b8}.gate-dot{fill:var(--paper-20)}.gate-arrow{stroke:#f08a5d}.gate-device{transform-origin:35px 33px;animation:2.4s ease-in-out infinite gate-turn}@keyframes gate-turn{0%,25%{transform:rotate(0)}55%,85%{transform:rotate(-90deg)}to{transform:rotate(0)}}html.reduced-motion .gate-device{animation:none;transform:rotate(-90deg)}html.is-held .workspace,html.is-held .workspace *,html.is-held #fx-layer{transition:none!important;animation-play-state:paused!important}html[data-layout=phone],html[data-layout=phone] body{overscroll-behavior:none;height:100dvh;margin:0;overflow:hidden}html[data-layout=phone] .masthead,html[data-layout=phone] footer,html[data-layout=phone] .skip,html[data-layout=phone] .lobby-screen{display:none}html[data-layout=phone] main{max-width:none;padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);margin:0;position:fixed;inset:0}html[data-layout=phone] .workspace{--ph-row:calc((var(--ph-board-h) - 5 * var(--ph-gap)) / 6);inset:var(--ph-status) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);gap:var(--ph-gap);padding:var(--ph-pad);grid-template-columns:var(--ph-ctrl-left) var(--ph-next) var(--ph-board-w) repeat(3,var(--ph-card-w)) var(--ph-btn) var(--ph-btn);grid-template-rows:repeat(6,var(--ph-row));place-content:start center;align-items:stretch;display:grid;position:absolute}html[data-layout=phone] .workspace>.left-rail,html[data-layout=phone] .workspace>.tool-rail{padding:0}html[data-layout=phone] .play-column{display:contents}html[data-layout=phone] .board-heading{height:var(--ph-status);min-height:0;padding:0 max(8px,env(safe-area-inset-right)) 0 max(8px,env(safe-area-inset-left));background:var(--paper);border-bottom:1px solid var(--line);z-index:5;position:fixed;top:0;left:0;right:0}html[data-layout=phone] .board-heading .quiet{height:24px;padding:0 8px;font-size:11px}html[data-layout=phone] .board-row:not(.cpu-board-row){display:contents}html[data-layout=phone] .next-rail{width:var(--ph-next);flex-direction:column;flex:none;grid-area:1/2/5;justify-content:flex-start;align-items:center;gap:2px;padding:0;display:flex}html[data-layout=phone] .next-rail .eyebrow{margin:0;font-size:8px}html[data-layout=phone] .next-rail .next-group,html[data-layout=phone] .next-rail .current-preview{flex-direction:column;align-items:center;gap:1px;margin:0;display:flex}html[data-layout=phone] .next-rail .current-preview{order:-1}html[data-layout=phone] .next-rail #next-pieces{flex-direction:column;gap:3px;margin:0;display:flex}html[data-layout=phone] .next-rail #current-piece{height:auto;margin:0;display:flex}html[data-layout=phone] .next-rail .current-preview{box-shadow:none;border-radius:4px;flex:none;padding:2px 0}html[data-layout=phone] .next-rail .current-tiles{gap:2px}html[data-layout=phone] .next-rail .mini-tile{border-radius:3px;width:12px;height:12px;font-size:7px}html[data-layout=phone] .next-rail .next-pair:first-child{transform:none}html[data-layout=phone] .board-wrap:not(.cpu-board-wrap){width:var(--ph-board-w);height:var(--ph-board-h);aspect-ratio:auto;border-radius:6px;grid-area:1/3/7}html[data-layout=phone] #speed-rail{width:var(--ph-next);z-index:1;flex-direction:column;flex:none;grid-area:5/2/7;place-self:stretch center;align-items:center;gap:1px;padding:0;display:flex}html[data-layout=phone] #speed-rail .speed-title{display:none}html[data-layout=phone] #speed-rail .speed-track{flex:1;width:8px;min-height:24px}html[data-layout=phone] #speed-rail strong{font-size:8px}html[data-layout=phone] .tool-rail,html[data-layout=phone] .control-strip{display:contents}html[data-layout=phone] .tool-rail>:not(.control-strip):not(#seat-send){display:none}html[data-layout=phone] .control-strip button{border-radius:6px;min-width:0;min-height:0;padding:0;font-size:18px}html[data-layout=phone] .control-strip [data-command=left]{grid-area:1/1/3}html[data-layout=phone] .control-strip [data-command=right]{grid-area:3/1/5}html[data-layout=phone] .control-strip [data-command=soft]{grid-area:5/1/7}html[data-layout=phone][data-scheme=gesture] .control-strip [data-command=left],html[data-layout=phone][data-scheme=gesture] .control-strip [data-command=right],html[data-layout=phone][data-scheme=gesture] .control-strip [data-command=soft]{display:none}html[data-layout=phone] .control-strip [data-command=reverse]{grid-area:1/7/3}html[data-layout=phone] .control-strip [data-command=rotate]{grid-area:3/7/5}html[data-layout=phone] .control-strip .drop-button{white-space:normal;grid-area:5/7/7;font-size:11px}html[data-layout=phone] .control-strip .drop-button kbd{display:none}html[data-layout=phone] #seat-send{gap:var(--ph-gap);flex-direction:column;grid-area:1/8/7;display:flex}html[data-layout=phone] #seat-send button{flex:1;min-height:0;padding:0}html[data-layout=phone] .item-dock{grid-template-columns:1fr 1fr;grid-template-rows:auto minmax(var(--ph-own-btn),1fr) minmax(var(--ph-own-btn),1fr);border:1px solid var(--line);background:var(--white);border-radius:5px;align-content:stretch;gap:2px;min-width:0;padding:2px;display:grid;overflow:visible}html[data-layout=phone] .item-dock .dock-heading,html[data-layout=phone] .item-dock .item-cycle,html[data-layout=phone] .item-dock .item-panel,html[data-layout=phone] .item-dock #item-actions{display:contents}html[data-layout=phone] .item-dock .dock-heading h2,html[data-layout=phone] .item-dock #item-category,html[data-layout=phone] .item-dock #item-name,html[data-layout=phone] .item-dock .item-details,html[data-layout=phone] .item-dock #item-target,html[data-layout=phone] .item-dock #item-description{display:none}html[data-layout=phone] .item-dock #inventory{grid-area:1/1/auto/3;grid-template-columns:repeat(6,var(--ph-own-item));grid-auto-rows:var(--ph-own-item);justify-content:center;gap:1px;height:auto;margin:0;display:grid}html[data-layout=phone] .item-dock .tool-slot{width:var(--ph-own-item);height:var(--ph-own-item);aspect-ratio:auto;border-radius:3px;gap:0;padding:1px}html[data-layout=phone] .item-dock button{border-radius:5px;min-width:0;height:100%;padding:0;font-size:11px}html[data-layout=phone] .item-dock kbd{display:none}html[data-layout=phone] .is-match .match-panel,html[data-layout=phone] .is-match .match-seats{display:contents}html[data-layout=phone] .is-match .match-head,html[data-layout=phone] .is-match .workspace>.left-rail{display:none}html[data-layout=phone] .is-match .seat-card{grid-template-columns:auto auto;grid-template-rows:var(--ph-header) auto;border-radius:5px;align-content:start;gap:2px;min-width:0;padding:2px;display:grid}html[data-layout=phone] .is-match .seat-card:first-child{grid-area:1/4/4}html[data-layout=phone] .is-match .seat-card:nth-child(2){grid-area:1/5/4}html[data-layout=phone] .is-match .seat-card:nth-child(3){grid-area:1/6/4}html[data-layout=phone] .is-match .seat-card:nth-child(4){grid-area:4/4/7}html[data-layout=phone] .is-match .seat-card:nth-child(5){grid-area:4/5/7}html[data-layout=phone] .is-match .seat-card:nth-child(6){grid-area:4/6/7}html[data-layout=phone] .is-match .workspace:has(.seat-card:nth-child(6)) .item-dock{display:none}html[data-layout=phone] .is-match .item-dock{grid-area:4/6/7}html[data-layout=phone] .is-match .seat-head{grid-column:1/3;gap:3px;min-height:0;font-size:10px}html[data-layout=phone] .is-match .seat-head .seat-no{width:14px;height:14px;font-size:9px}html[data-layout=phone] .is-match .seat-sub{display:none}html[data-layout=phone] .is-match .seat-row{grid-column:1;gap:2px}html[data-layout=phone] .is-match .seat-field{width:var(--ph-seat-w);height:var(--ph-seat-h)}html[data-layout=phone] .is-match .seat-field canvas{width:100%;height:100%}html[data-layout=phone] .is-match .seat-rail{flex:0 0 4px;width:4px;padding:0}html[data-layout=phone] .is-match .seat-rail strong{display:none}html[data-layout=phone] .is-match .seat-inv{grid-column:2;grid-template-columns:repeat(2,var(--ph-item));align-content:start;gap:1px}html[data-layout=phone] .is-match .seat-inv .tool-slot{width:var(--ph-item);height:var(--ph-item)}html[data-layout=phone] #result{inset:var(--ph-status) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);z-index:30;overscroll-behavior:contain;border-radius:0;justify-content:flex-start;gap:6px;width:auto;height:auto;padding:8px 12px;position:fixed;overflow-y:auto}html[data-layout=phone] .board-overlay.compact{padding:6px;overflow-y:auto}.phone-only{display:none}html[data-layout=phone] .phone-only{display:inline-block}html[data-layout=phone] #seat-send:not([hidden]){display:flex}.phone-menu{max-width:min(420px,90vw);padding:12px 16px}.phone-menu h2{margin:0 0 8px;font-size:16px}.phone-menu-list{grid-template-columns:1fr 1fr;gap:8px;display:grid}.phone-menu-group+.phone-menu-group{margin-top:12px}.phone-menu-head{letter-spacing:.06em;color:var(--muted);margin:0 0 6px;font-size:11.5px}.phone-menu-list button{background:var(--paper-8);border-radius:8px;min-height:44px;padding:6px 8px;font-size:13px}#settings-dialog input[type=checkbox]{appearance:none;cursor:pointer;background:#64748b;border-radius:12px;flex:0 0 44px;width:44px;height:24px;margin:0;transition:background .15s;position:relative}#settings-dialog input[type=checkbox]:before{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .15s;position:absolute;top:2px;left:2px}#settings-dialog input[type=checkbox]:checked{background:#126e59}#settings-dialog input[type=checkbox]:checked:before{transform:translate(20px)}#settings-dialog input[type=checkbox]:disabled{opacity:.4;cursor:default}@media (prefers-reduced-motion:reduce){#settings-dialog input[type=checkbox],#settings-dialog input[type=checkbox]:before{transition:none}}.state-switch{white-space:nowrap;justify-content:center;align-items:center;gap:8px;display:inline-flex}.state-switch>span{border:0;border-radius:0;width:auto;height:auto;margin:0;display:block}.state-switch .switch-track{background:#64748b;border:2px solid #64748b;border-radius:12px;flex:0 0 36px;width:36px;height:20px;display:block;position:relative}.switch-track:before{content:"";background:#fff;border-radius:50%;width:12px;height:12px;position:absolute;top:2px;left:2px}.state-switch[aria-checked=true] .switch-track{background:#126e59;border-color:#126e59}.state-switch[aria-checked=true] .switch-track:before{transform:translate(16px)}.phone-menu-list .state-switch{grid-column:1/-1}html[data-layout=phone] .workspace{align-content:center}html[data-layout=phone] #game-surface:focus,html[data-layout=phone] #game-surface:focus-visible,html[data-layout=phone] .board-wrap:focus-within{outline:none}html[data-layout=phone] body:not(.is-match):not(.is-cpu) .workspace>.left-rail{grid-area:1/4/4/7;grid-template-rows:auto auto;grid-template-columns:1fr 1fr;align-content:start;gap:2px 8px;min-width:0;display:grid;overflow:hidden}html[data-layout=phone] body:not(.is-match):not(.is-cpu) .item-dock{grid-area:4/4/7/7}html[data-layout=phone] .left-rail .score-card,html[data-layout=phone] .left-rail .time-card,html[data-layout=phone] .left-rail .chain-card{border:0;min-width:0;margin:0;padding:0}html[data-layout=phone] .left-rail .score-card>strong{margin:0;font-size:22px;line-height:1.1}html[data-layout=phone] .left-rail .score-card .eyebrow,html[data-layout=phone] .left-rail .time-card .eyebrow{margin:0;font-size:8px}html[data-layout=phone] .left-rail #time{font-size:18px}html[data-layout=phone] body:not(.is-match):not(.is-tutorial):not(.is-puzzle) .workspace>.left-rail{padding:0 4px}html[data-layout=phone] .left-rail .steady-toggle small{display:none}.speed-mode-row{flex-direction:column;gap:4px}.speed-mode-row select{width:100%;min-height:36px;font:inherit;border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:4px;padding:4px 8px;font-size:12px}html[data-layout=phone] .left-rail .best-row{gap:6px;font-size:9px}html[data-layout=phone] .left-rail .speed-note,html[data-layout=phone] .left-rail #mode-label,html[data-layout=phone] .left-rail #effect-status,html[data-layout=phone] .left-rail .seed-note,html[data-layout=phone] .left-rail .chain-card,html[data-layout=phone] .left-rail #time-bar{display:none}html[data-layout=phone] .is-cpu .cpu-panel{flex-direction:column;grid-area:1/4/7/6;gap:2px;min-width:0;padding:0;display:flex;overflow:hidden}html[data-layout=phone] .is-cpu .cpu-panel .cpu-heading{min-height:0;font-size:10px}html[data-layout=phone] .is-cpu .cpu-board-row{align-items:flex-start;gap:2px;display:flex}html[data-layout=phone] .is-cpu .cpu-board-wrap{height:calc(var(--ph-board-h) - 40px);width:auto;aspect-ratio:var(--board-w)/var(--board-h);flex:none}html[data-layout=phone] .is-cpu .cpu-board-wrap canvas{width:100%;height:100%}html[data-layout=phone] .is-cpu .cpu-board-row .speed-rail{flex:0 0 6px;width:6px;padding:0}html[data-layout=phone] .is-cpu .cpu-board-row .speed-rail .speed-title,html[data-layout=phone] .is-cpu .cpu-board-row .speed-rail strong{display:none}html[data-layout=phone] .is-cpu .cpu-item-dock{padding:0}html[data-layout=phone] .is-cpu .cpu-item-dock>span{display:none}html[data-layout=phone] .is-cpu .cpu-item-dock .inventory{grid-template-columns:repeat(6,var(--ph-item));justify-content:start;gap:1px;margin:0}html[data-layout=phone] .is-cpu .cpu-item-dock .tool-slot{width:var(--ph-item);height:var(--ph-item)}html[data-layout=phone] .is-cpu .workspace>.left-rail{grid-area:1/6/4;min-width:0;display:block;overflow:hidden}html[data-layout=phone] .is-cpu .item-dock{grid-area:4/6/7}html[data-layout=phone] .item-dock #use-opponent{display:none}html[data-layout=phone] .is-cpu .cpu-panel{padding-top:0;padding-bottom:0}html[data-layout=phone] .is-cpu .cpu-panel .cpu-heading{min-height:12px;padding:0;line-height:1}html[data-layout=phone] .is-cpu .cpu-panel .cpu-heading span{font-size:9px}html[data-layout=phone] .is-cpu .cpu-score-row{display:none}html[data-layout=phone] .is-cpu .workspace>.left-rail .time-card{display:block}html[data-layout=phone] .is-cpu .workspace>.left-rail .time-card>div{flex-direction:column;align-items:flex-start;gap:0;display:flex}html[data-layout=phone] .is-cpu .workspace>.left-rail #time-label{white-space:normal;font-size:8px;line-height:1.2}html[data-layout=phone] .is-cpu .workspace>.left-rail #time{font-size:18px}html[data-layout=phone] .board-wrap{isolation:auto}html[data-layout=phone] #result{background:var(--ink-2)}html[data-layout=phone] #match-setup{overscroll-behavior:contain;justify-content:flex-start;gap:4px;padding:6px;overflow-y:auto}html[data-layout=phone] #match-setup h2{margin:0;font-size:18px}html[data-layout=phone] #match-problem{flex-shrink:0;min-height:0}html[data-layout=phone] #match-setup .overlay-index{font-size:8px}html[data-layout=phone] #match-setup .match-setup-label,html[data-layout=phone] #match-problem,html[data-layout=phone] #match-setup .overlay-foot{font-size:9px}html[data-layout=phone] #match-team{flex-wrap:wrap;gap:3px;display:flex}html[data-layout=phone] .seat-chip,html[data-layout=phone] .seat-chip-color,html[data-layout=phone] .seat-chip-none{min-width:24px;min-height:24px}html[data-layout=phone] .seat-ov.edit,html[data-layout=phone] .seat-ov.empty{overscroll-behavior:contain;justify-content:flex-start;gap:2px;padding:3px;overflow-y:auto}html[data-layout=phone] .seat-ov.edit select{min-height:28px;font-size:11px}html[data-layout=phone] .seat-ov.edit .seat-ov-label{margin-top:0;font-size:8px}html[data-layout=phone] .seat-add{min-height:44px;padding:4px;font-size:11px}html[data-layout=phone] .board-overlay h2{margin:0;font-size:20px;line-height:1.25}html[data-layout=phone] .board-overlay p{margin:0;font-size:11px}html[data-layout=phone] .board-overlay .overlay-index,html[data-layout=phone] .board-overlay .eyebrow{font-size:8px}html[data-layout=phone] .board-overlay.compact{gap:6px}html[data-layout=phone] .board-overlay .primary,html[data-layout=phone] .board-overlay .secondary{min-height:40px;padding:8px 12px;font-size:12px}html[data-layout=phone] #result #result-score{margin:0;font-size:32px}html[data-layout=phone] #result .result-grid{gap:4px 16px}html[data-layout=phone] #current-label{white-space:nowrap;max-width:var(--ph-next);text-overflow:clip;font-size:7px;overflow:hidden}.seat-send{display:none}html[data-layout=phone] .seat-card{position:relative}html[data-layout=phone] .seat-field.has-seat-edit{position:static}html[data-layout=phone] .seat-ov.edit .seat-chips{flex-wrap:wrap;gap:3px;display:flex}html[data-layout=phone] .seat-ov.edit,html[data-layout=phone] .seat-ov.empty{background:var(--ink-2);z-index:3;border-radius:5px;top:20px}html[data-layout=phone] #spawn-warning{top:var(--ph-status);z-index:6;text-align:center;background:var(--paper);border-bottom:1px solid var(--line);margin:0;padding:2px 8px;font-size:10px;position:fixed;left:0;right:0}html[data-layout=phone] .tool-rail>p#notice.notice{height:var(--ph-status);z-index:6;min-height:0;line-height:var(--ph-status);white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;margin:0;padding:0;font-size:10px;display:block;position:fixed;top:0;left:128px;right:150px;overflow:hidden}html[data-layout=phone] .tool-rail>p#notice.notice:empty{display:none}html[data-layout=phone] body.has-fullscreen{--ph-fs:110px}html[data-layout=phone] body.is-online .phone-mode{display:none}html[data-layout=phone] body:not(.is-online){--ph-modes:240px}@media (pointer:coarse){html[data-layout=phone] #pause kbd{display:none}}html[data-layout=phone] .is-cpu .cpu-board-wrap{height:calc(var(--ph-board-h) - 21px - 2 * var(--ph-item))}dialog.display-gate button{border-radius:999px;width:auto;min-width:200px}dialog.display-gate .primary{color:var(--ink-6);background:#edc66f;border-color:#edc66f;font-weight:700}html[data-layout=phone] .seat-card{border-width:1px}html[data-layout=phone] .seat-card.teamed{border-top-width:4px}html[data-layout=phone] .seat-card.ally{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--tc) 45%,transparent);border-width:4px 1px 1px}html[data-layout=phone] .seat-card .seat-row{gap:2px}html[data-layout=phone] .is-match .seat-rail .speed-track{width:4px}html[data-layout=phone] body:not(.is-match):not(.is-cpu) .workspace{grid-template-columns:var(--ph-ctrl-left) var(--ph-next) var(--ph-board-w) repeat(3,var(--ph-card-w)) var(--ph-btn)}html[data-layout=phone] .is-cpu .cpu-board-row{align-items:stretch}html[data-layout=phone] .is-cpu .cpu-board-row .speed-rail{flex-direction:column;align-self:stretch;display:flex}html[data-layout=phone] .is-cpu .cpu-board-row .speed-track{flex:1;width:6px;min-height:24px}html[data-layout=phone] .cpu-live{display:none}html[data-layout=phone] .tool-rail>p#notice.notice{background:var(--paper);left:120px;right:calc(170px + var(--ph-fs,0px) + var(--ph-modes,0px))}html[data-scheme=gesture] #game-surface{touch-action:none}.control-strip button{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}#seat-send button,.item-dock button{touch-action:manipulation}html[data-layout=phone] #game-surface,html[data-layout=phone] .control-strip,html[data-layout=phone] #seat-send{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.online-display-band{z-index:60;color:var(--ink);text-align:center;pointer-events:none;background:#f0d9a8;border-bottom:1px solid #b87939;margin:0;padding:6px 12px;font-size:12px;line-height:1.5;position:fixed;top:0;left:0;right:0}html[data-layout=phone] .is-online .tool-rail>p#notice.notice{display:none}html[data-layout=phone] .is-online p#online-notice.online-notice{top:0;left:120px;right:calc(170px + var(--ph-fs,0px) + var(--ph-chat,0px));height:var(--ph-status);z-index:6;line-height:var(--ph-status);white-space:nowrap;text-overflow:ellipsis;background:var(--paper);visibility:visible;min-height:0;margin:0;padding:0;font-size:10px;display:block;position:fixed;overflow:hidden}html[data-layout=phone] .is-online p#online-notice.online-notice:empty{display:none}html[data-layout=phone] body.has-online-stop p#online-notice.online-notice{right:calc(300px + var(--ph-fs,0px) + var(--ph-chat,0px))}html[data-layout=phone] body.has-scene-replay .tool-rail>p#notice.notice,html[data-layout=phone] body.has-scene-replay p#online-notice.online-notice{right:calc(290px + var(--ph-fs,0px) + var(--ph-modes,0px))}html[data-layout=phone] .is-match .seat-head{white-space:nowrap;flex-wrap:nowrap;overflow:hidden}html[data-layout=phone] .is-match .seat-head>b{text-overflow:ellipsis;flex:1 1 0;min-width:0;overflow:hidden}html[data-layout=phone] .is-match .seat-head .seat-tag{white-space:nowrap;flex:none;margin-left:0;padding:0 3px;font-size:8px;line-height:1.3}html[data-layout=phone] .is-match .seat-inv{grid-auto-flow:column;grid-template-rows:repeat(6,var(--ph-item));grid-template-columns:repeat(2,var(--ph-item))}html[data-layout=phone] .next-rail #next-pieces{gap:0}html[data-layout=phone] .next-rail .next-pair{flex-direction:column;align-items:center;gap:1px;padding:3px 0;display:flex}html[data-layout=phone] .next-rail .next-pair+.next-pair{border-top:1px solid var(--line)}html[data-layout=phone]{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}html[data-layout=phone] .board-heading .my-seat-name{text-overflow:ellipsis;white-space:nowrap;max-width:96px;margin-right:6px;font-size:12px;overflow:hidden}html[data-layout=phone] .tool-rail>p#notice.notice,html[data-layout=phone] .is-online p#online-notice.online-notice{left:150px}html[data-layout=phone] #online-setup :is(select,input[type=text]){padding:3px 6px}html[data-layout=phone] .seat-ov.edit select{min-height:22px;padding:0 2px;font-size:10px}html[data-layout=phone] .seat-ov.edit .seat-chips{flex-wrap:nowrap;gap:2px}html[data-layout=phone] .seat-ov.edit .seat-chips button{width:22px;min-width:0;height:24px;padding:0;font-size:9px}html[data-layout=phone] .seat-ov.edit .seat-chips .seat-chip-none{width:auto;padding:0 5px}html[data-layout=phone] .seat-ov.edit .seat-remove{padding:2px 0;font-size:9px}html[data-layout=phone] #online-setup{gap:2px;padding:5px 8px}html[data-layout=phone] #online-setup h2{font-size:14px;line-height:1.2}html[data-layout=phone] #online-setup .overlay-index,html[data-layout=phone] #online-setup #online-room-title-line{display:none}html[data-layout=phone] #online-setup :is(summary,label,select,option,input,p,button,.online-setup-edit){font-size:9px;line-height:1.3}html[data-layout=phone] #online-setup .seat-chips.big button{width:26px;height:22px;font-size:10px}html[data-layout=phone] #online-setup #online-go{padding:5px 0}.share-row{flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0 4px;display:flex}.share-row[hidden]{display:none}.share-row .share-label{letter-spacing:.06em;opacity:.8;margin-right:2px;font-size:11px}.share-row button{border:1px solid var(--line);width:auto;color:inherit;background:0 0;border-radius:6px;padding:6px 10px;font-size:11px}.board-overlay .share-row button{border-color:var(--teal-2);color:var(--paper-11)}.lobby-scene{border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 12px;list-style:none;display:flex}.lobby-scene strong{overflow-wrap:anywhere;flex:100%;min-width:0}.lobby-scene span{opacity:.85;flex:260px;font-size:12px}.lobby-scene button{width:auto;padding:6px 12px}.watch-bar{background:var(--ink);color:var(--paper-13);border-radius:8px;margin-top:8px;padding:6px}.watch-title{display:none}.watch-actions{grid-template-columns:1fr;gap:6px;display:grid}.watch-actions button{min-width:0;padding:7px 4px;font-size:11px;line-height:1.2}.watch-bar .primary{color:var(--ink-6);background:#edc66f}.watch-bar .secondary{color:var(--paper-11);border-color:var(--teal-2)}body.is-watching #item-actions,body.is-watching .item-cycle,body.is-watching #notice{display:none}.is-watching .best-row{visibility:hidden}.challenge-card{border:1px solid #edc66f;border-radius:6px;padding:10px 12px}.challenge-card .eyebrow{color:#edc66f}#challenge-text{color:var(--paper-13);margin-top:4px;font-size:13px;line-height:1.7}.watch-intro{z-index:5;position:absolute}.tf{--tf-x:22px;--tf-h:26px;--tf-gap:10px;--tf-body:12.5px;--tf-btn:44px;text-align:left;width:auto;color:var(--paper-13);box-shadow:none;border-radius:12px;flex-direction:column;gap:0;padding:0;display:flex;inset:0;overflow-y:auto;transform:none;container-type:size}.watch-intro.tf{background:linear-gradient(to bottom,transparent 26%,color-mix(in srgb,var(--ink-6) 88%,transparent) 54%,color-mix(in srgb,var(--ink-6) 97%,transparent))}.board-overlay.tf{background:linear-gradient(to bottom,color-mix(in srgb,var(--ink-6) 88%,transparent),color-mix(in srgb,var(--ink-6) 97%,transparent) 50%)}.tf .tf-sheet{gap:var(--tf-gap);padding:26px var(--tf-x) 18px;flex-direction:column;margin-top:auto;display:flex}.tf .tf-status{font:600 10px/1 var(--mono);letter-spacing:.16em;color:var(--gray-6);white-space:nowrap;align-items:center;gap:8px;margin:0;display:flex}.tf .tf-status b{letter-spacing:.08em;font-weight:600}.tf .tf-status i{opacity:.5;background:currentColor;flex:none;width:18px;height:1px}.tf-glyph{background:#e0553a;border-radius:50%;flex:none;width:8px;height:8px}.tf-glyph.ready{border-left:8px solid #edc66f;background:0 0;border-block:5px solid #0000;border-radius:0;width:0;height:0}.tf-glyph.pause{background:0 0;border-inline:3px solid;border-radius:0;height:9px}.tf .tf-sheet h2,.tf .tf-h{font-family:inherit;font-weight:700;font-size:var(--tf-h);letter-spacing:.01em;color:var(--paper-13);word-break:auto-phrase;text-wrap:balance;margin:0;line-height:1.28}.tf .tf-sheet h2 em{color:#edc66f;font-style:normal}.tf .tf-body{max-width:34em;font-size:var(--tf-body);color:var(--gray-10);word-break:auto-phrase;margin:0;line-height:1.7}.tf .tf-actions{gap:8px;margin-top:6px;display:grid}.tf .tf-pairs{grid-template-columns:1fr 1fr}.tf .tf-pairs .tf-quiet{grid-column:1/-1}.tf .tf-actions button{min-width:0;min-height:var(--tf-btn);text-align:left;border-radius:6px;justify-content:space-between;align-items:center;gap:10px;margin:0;padding:0 14px;font-size:13px;line-height:1.2;display:flex}.tf .primary{color:var(--ink-6);background:#edc66f;border:0}.tf .secondary{background:color-mix(in srgb,var(--ink-6) 60%,transparent);color:var(--paper-11);border:1px solid var(--teal-2)}.tf .tf-actions .tf-quiet{min-height:30px;box-shadow:none;color:var(--gray-6);background:0 0;border:0;justify-content:flex-start;padding:0;font-size:12px;font-weight:400;text-decoration:none}.tf .tf-quiet:before{content:"";background:currentColor;flex:none;width:14px;height:1px}@container (height<=460px) or (width<=300px){.tf .tf-sheet{--tf-x:12px;--tf-h:17px;--tf-gap:6px;--tf-body:11px;--tf-btn:32px;padding-top:12px;padding-bottom:8px}.tf .tf-sheet .tf-status{font-size:9px}.tf .tf-sheet .tf-actions{gap:6px;margin-top:2px}.tf .tf-sheet .tf-actions button{min-height:var(--tf-btn);padding:0 6px;font-size:11px}.tf .tf-sheet .tf-actions .tf-quiet{min-height:24px;padding:0;font-size:11px}}html[data-layout=phone] .tf .tf-sheet h2{font-size:var(--tf-h);line-height:1.28}html[data-layout=phone] .tf .tf-body{font-size:var(--tf-body);line-height:1.5}html[data-layout=phone] body.is-watching .item-dock #item-actions,html[data-layout=phone] body.is-watching .item-dock .item-cycle{display:none}html[data-layout=phone] .item-dock .watch-bar{background:0 0;border-radius:0;grid-area:2/1/4/3;gap:0;margin:0;padding:2px}html[data-layout=phone] .watch-actions{grid-auto-rows:1fr;gap:2px;height:100%}html[data-layout=phone] .watch-actions button{white-space:normal;height:100%;padding:0 4px;font-size:10px;line-height:1.25}html[data-layout=phone] .watch-bar .secondary{color:var(--ink);border-color:var(--line)}.update-check-row{flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:8px;display:flex}.update-check-row .update-status{margin:0}.update-check-row .update-status:empty{display:none}.update-check{background:var(--paper-8);border-radius:8px;min-height:40px;padding:6px 14px;font-size:12px}.update-now{color:var(--ink-6);white-space:nowrap;background:#edc66f;border-radius:5px;padding:6px 10px;font-size:12px;font-weight:700}.update-bar{z-index:90;background:var(--ink);max-width:calc(100% - 16px);color:var(--paper-13);border-radius:8px;align-items:center;gap:10px;padding:8px 10px 8px 14px;font-size:12px;display:flex;position:fixed;top:8px;left:50%;transform:translate(-50%);box-shadow:0 6px 18px #0005}.update-bar button{color:var(--ink-6);white-space:nowrap;background:#edc66f;border-radius:5px;padding:6px 10px;font-size:12px;font-weight:700}.seed-note{display:none!important}.perf-hud{z-index:60;pointer-events:none;flex-direction:column;align-items:flex-end;gap:4px;font:11px/1.35 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;display:flex;position:fixed;top:44px;right:6px}.perf-chip,.perf-tools{pointer-events:auto}.perf-chip,.perf-tools button{font:inherit;color:#fff;cursor:pointer;background:#000a;border:1px solid #fff4;border-radius:4px;padding:3px 8px}.perf-hud.open .perf-chip{background:#0c4a6e}.perf-text{pointer-events:none;color:#e7f6ff;background:#000d;border-radius:5px;max-width:min(640px,100vw - 12px);max-height:calc(100vh - 60px);margin:0;padding:6px 8px;font:12px/1.45 system-ui,sans-serif;overflow:auto}.perf-text p,.perf-text ul{margin:0}.perf-head{color:#bfe6ff;font-weight:700}.perf-words{padding:0;list-style:none}.perf-note{color:#9fb6c6;font-size:11px;margin-top:4px!important}.perf-text table{border-collapse:collapse;width:100%;margin-top:6px}.perf-text caption{text-align:left;color:#bfe6ff;padding:2px 0;font-weight:700}.perf-text th,.perf-text td{text-align:left;white-space:nowrap;border-bottom:1px solid #fff2;padding:1px 6px;font-weight:400}.perf-text thead th{color:#9fb6c6;font-size:11px}.perf-text .note{white-space:normal;color:#9fb6c6;font-size:11px}.perf-text .num{text-align:right;font-variant-numeric:tabular-nums}.perf-tools{gap:4px;display:flex}.perf-hud.detail .perf-text{pointer-events:auto}.perf-hud[data-level=tight] .perf-text{box-shadow:inset 3px 0 #f5b942}.perf-hud[data-level=over] .perf-text{box-shadow:inset 3px 0 #f0605a}:where(html:not([data-layout=phone])) .is-match.is-watching .tool-rail{display:none}:where(html[data-layout=wide]) .is-match .workspace{grid-template-columns:calc(var(--play-width) + 30px + var(--next-w)) minmax(0,1fr)}:where(html[data-layout=wide]) .is-match .tool-rail{grid-column:1/-1;padding-top:0}:where(html[data-layout=wide]) .is-match .match-panel{container-type:inline-size}:where(html[data-layout=wide]) .is-match .match-seats{--card-h:max(calc((var(--play-height) - 72px)/2),calc((100dvh - 380px)/2))}:where(html[data-layout=wide]) .is-match .seat-canvas{width:min(calc(var(--card-h)*2/3),calc((100cqw - 128px)/3));height:auto}:where(html:not([data-layout=phone])) .seat-card.ally{padding:3px 4px 4px}:where(html:not([data-layout=phone])) .seat-rail{flex:0 0 19px;min-width:0}:where(html:not([data-layout=phone])) .seat-ov.edit{overflow-y:auto}#item-actions #discard-item{flex:.6;order:-1}#item-actions #use-opponent{order:0}#item-actions #use-self{flex:1.4;order:1}html[data-layout=phone] .item-dock{grid-template-columns:repeat(10,minmax(0,1fr))}html[data-layout=phone] .item-dock #inventory{grid-column:1/-1}html[data-layout=phone] .item-dock #discard-item{grid-area:2/1/auto/5}html[data-layout=phone] .item-dock #use-self{grid-area:2/5/auto/11}html[data-layout=phone] .item-dock #cycle-next{grid-area:3/1/auto/6}html[data-layout=phone] .item-dock #cycle-previous{grid-area:3/6/auto/11}html[data-layout=phone] .item-dock .watch-bar{grid-column:1/-1}.tutorial-card{z-index:3;background:var(--ink-6);color:var(--paper-13);border-radius:10px;flex-direction:column;gap:6px;margin-bottom:10px;padding:12px 14px;display:flex;position:relative;box-shadow:0 8px 20px -10px #0008}.tutorial-card .eyebrow{color:#ebc676}.tutorial-card h2{font-family:var(--serif);font-size:16px;font-weight:600;line-height:1.4}.tutorial-goals{gap:3px;margin:0;padding:0;font-size:12px;line-height:1.5;list-style:none;display:grid}.tutorial-goals li{align-items:baseline;gap:8px;min-width:0;display:flex}.tutorial-goals li span:last-child{overflow-wrap:anywhere;min-width:0}.tutorial-mark{font-family:var(--mono);min-width:2.4em;color:var(--gray-6);font-size:10px}.tutorial-goals li.ok .tutorial-mark{color:#8fd88f;font-size:13px}.tutorial-goals li.ok span:last-child{color:var(--gray-6)}.tutorial-tip{color:var(--gray-6);font-size:11px;line-height:1.6}.tutorial-next-play{font-size:12px;line-height:1.6}.tutorial-goals li.info .tutorial-mark{color:#bfe6ff;min-width:1.4em;font-size:12px}.tutorial-setting{color:#bfe6ff;font-size:11px;line-height:1.6}.tutorial-card{max-height:calc(100dvh - 90px);overflow:auto}.tutorial-actions{flex-wrap:wrap;gap:6px;display:flex}.tutorial-actions .primary,.tutorial-actions .secondary{width:auto;padding:8px 14px;font-size:12px}.tutorial-actions .quiet{color:var(--gray-6);padding:6px 8px;font-size:11px}.tutorial-card .primary{color:var(--ink-6);background:#edc66f}.tutorial-card .secondary{color:var(--paper-11);border-color:var(--teal-2)}.tutorial-card.done{box-shadow:0 0 0 2px #edc66f,0 8px 20px -10px #0008}html[data-layout=phone] .tutorial-card{gap:3px;margin-bottom:4px;padding:6px 8px}html[data-layout=phone] .tutorial-card h2{font-size:12px}html[data-layout=phone] .tutorial-goals{font-size:10px}html[data-layout=phone] .tutorial-tip{display:none}html[data-layout=phone] .tutorial-setting{font-size:9px}html[data-layout=phone] .tutorial-card{max-height:calc(100dvh - 60px)}html[data-layout=phone] .tutorial-actions .primary,html[data-layout=phone] .tutorial-actions .secondary{padding:4px 10px;font-size:11px}html[data-layout=phone] .tutorial-actions .quiet{padding:2px 6px;font-size:10px}.is-tutorial #steady-row,.is-tutorial #notime-row,.is-tutorial #export-replay,.is-tutorial #finish{display:none}.tutorial-recommendations>button{min-width:44px;min-height:44px}.tutorial-card.complete>*{flex-shrink:0}html[data-layout=phone]:not([data-tall]) body.is-tutorial.tutorial-complete .workspace>.left-rail{grid-area:1/4/7/7;display:block;overflow:auto}html[data-layout=phone]:not([data-tall]) body.is-tutorial.tutorial-complete :is(.item-dock,.left-rail>:not(.tutorial-card)){display:none}@media (max-width:560px){#mode-tutorial{display:none}}.seat-card[data-state=out] .seat-inv,.seat-card[data-state=down] .seat-inv{z-index:3;position:relative}.tool-slot.lost{opacity:.55;filter:grayscale(.6)}.practice-choice #practice-progress{opacity:.8;margin-left:.6em;font-weight:400}.practice-choice #practice-progress:empty{display:none}.practice-guide{text-align:left;margin-top:6px;padding:4px 0;display:block}@keyframes swap-glow{0%{box-shadow:0 0 0 4px #66661a,0 0 18px 6px #66661abf}to{box-shadow:0 0 #66661a00}}.item-fx{z-index:60;pointer-events:none;place-items:center;display:grid;position:fixed;overflow:visible}.item-fx>*{grid-area:1/1}.item-fx-icon{filter:drop-shadow(0 0 10px #ffffff8c);width:auto}.item-fx-ring{aspect-ratio:1;border-radius:50%}.revive-fx .item-fx-icon{height:min(34%,120px);animation:1.3s ease-out forwards revive-heart}.revive-fx .item-fx-ring{border:3px solid #4fd39a;height:30%;animation:1s ease-out .35s both revive-ring}.revive-fx-host{animation:1.3s ease-out revive-glow}@keyframes revive-heart{0%{opacity:0;transform:scale(.35)}14%{opacity:1;transform:scale(1.12)}26%{transform:scale(.94)}40%{transform:scale(1.1)}55%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.7)}}@keyframes revive-ring{0%{opacity:.95;transform:scale(.4)}to{opacity:0;transform:scale(4.5)}}@keyframes revive-glow{0%{box-shadow:inset 0 0 #4fd39a00}45%{box-shadow:inset 0 -60vh 70px -30px #4fd39a52,0 0 0 3px #4fd39a}to{box-shadow:inset 0 -60vh 70px -30px #4fd39a00,0 0 #4fd39a00}}.vanish-fx .item-fx-icon{height:var(--fx-mark);animation:.9s cubic-bezier(.55,0,.9,.4) forwards vanish-suck}.vanish-fx .item-fx-ring{height:calc(var(--fx-mark) * 1.5);border:3px dashed #b05ad0;animation:.9s ease-in forwards vanish-ring}.vanish-fx-host{animation:.9s ease-out vanish-flash}@keyframes vanish-suck{0%{opacity:1;transform:scale(1.25)rotate(0)}70%{opacity:1}to{opacity:0;transform:scale(0)rotate(540deg)}}@keyframes vanish-ring{0%{opacity:.9;transform:scale(1.3)rotate(0)}to{opacity:0;transform:scale(0)rotate(-240deg)}}@keyframes vanish-flash{0%{box-shadow:0 0 0 3px #b05ad0,0 0 22px 6px #b05ad099}to{box-shadow:0 0 #b05ad000}}.metal-fx .item-fx-ring{aspect-ratio:auto;background:linear-gradient(100deg,#6f8296 0%,#b9c7d4 40%,#fff 50%,#b9c7d4 60%,#6f8296 100%) 0 0/250% 100%;border-radius:3px;align-self:end;width:94%;height:7.7%;margin-bottom:2%;animation:1.1s ease-out forwards metal-plate;box-shadow:0 0 14px #dce8f4bf}.metal-fx .item-fx-icon{height:var(--fx-mark);align-self:end;margin-bottom:16%;animation:1.1s cubic-bezier(.2,.9,.3,1) forwards metal-stamp}.metal-fx-host{animation:1.1s ease-out metal-flash}@keyframes metal-plate{0%{opacity:0;background-position:100% 0;transform:translateY(130%)}22%{opacity:1;transform:translateY(0)}70%{opacity:1;background-position:0 0}to{opacity:0;background-position:0 0;transform:translateY(0)}}@keyframes metal-stamp{0%{opacity:0;transform:translateY(-70%)scale(1.6)}20%{opacity:1;transform:translateY(0)scale(.9)}30%{transform:scale(1.06)}40%{transform:scale(1)}75%{opacity:1}to{opacity:0;transform:translateY(10%)scale(1)}}@keyframes metal-flash{0%{box-shadow:0 0 #b9c7d400}22%{box-shadow:0 0 0 3px #c9d6e2,0 8px 24px 4px #d6e2ee99}to{box-shadow:0 0 #b9c7d400}}.is-puzzle #steady-row,.is-puzzle #notime-row,.is-puzzle #export-replay,.is-puzzle #finish,.is-puzzle .item-dock,.is-puzzle #item-actions,.is-puzzle #assist-panel,.is-puzzle #assist-toggle,.is-puzzle .reward-line,body.is-puzzle-list .workspace{display:none}.puzzle-screen{color:var(--ink);gap:14px;margin:24px 0 32px;display:grid}.puzzle-screen-head{border-top:3px solid var(--ink);flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:8px 20px;padding-top:18px;display:flex}.puzzle-screen-head .eyebrow{color:var(--accent)}.puzzle-screen-head h2{font-family:var(--serif);margin-top:6px;font-size:24px;font-weight:600}.puzzle-screen-rule{color:var(--muted);flex:280px;margin:0;font-size:12px;line-height:1.6}.puzzle-screen-back{font-size:12px}.puzzle-tabs{border:1px solid var(--line);background:var(--paper-4);border-radius:999px;flex-wrap:wrap;justify-self:start;gap:4px;padding:3px;display:flex}.puzzle-tabs button{color:var(--muted);background:0 0;border-radius:999px;padding:7px 16px;font-size:12px;font-weight:600}.puzzle-tabs button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.puzzle-tabs small{font-family:var(--mono);margin-left:6px;font-size:10px;font-weight:400}.puzzle-panel{gap:18px;display:grid}.puzzle-group h3{font-size:14px}.puzzle-group-note{color:var(--muted);margin:2px 0 8px;font-size:12px}.puzzle-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;display:grid}.puzzle-tile{border:1px solid var(--line);background:var(--paper);color:var(--ink);text-align:left;border-radius:8px;grid-template-columns:80px minmax(0,1fr);align-items:start;gap:12px;padding:10px;display:grid}.puzzle-tile:hover{border-color:var(--ink)}.puzzle-tile canvas{border-radius:4px;width:80px;height:auto;display:block}.puzzle-tile-text{gap:3px;min-width:0;display:grid}.puzzle-tile strong{overflow-wrap:anywhere;font-size:13px;line-height:1.45}.puzzle-no{font-family:var(--mono);color:var(--muted);font-size:10px}.puzzle-meta{color:var(--muted);font-size:11px}.puzzle-done{color:var(--accent);font-size:11px;font-weight:700}html[data-layout=phone] .puzzle-screen{padding:12px 16px calc(16px + env(safe-area-inset-bottom));background:var(--paper-15);align-content:start;margin:0;position:absolute;inset:0;overflow-y:auto}.puzzle-status{color:#edc66f;font-size:15px;font-weight:700}.puzzle-tip{font-size:11px;line-height:1.5}.puzzle-hint{border-left:3px solid #edc66f;padding-left:8px;font-size:12px;line-height:1.55}.puzzle-card.done{animation:1.2s ease-out puzzle-solved}@keyframes puzzle-solved{0%,50%{box-shadow:0 0 0 3px #edc66f,0 0 32px #edc66f}to{box-shadow:0 0 0 2px #edc66f,0 8px 20px -10px #0008}}html[data-layout=phone] .puzzle-status{font-size:12px}html[data-layout=phone] .puzzle-tip,html[data-layout=phone] .puzzle-hint{font-size:10px}html[data-layout=phone] body.is-puzzle:not(.is-match):not(.is-cpu) .workspace>.left-rail{grid-row:1/7;display:block;overflow:auto}.is-puzzle .left-rail>.score-card,.is-puzzle .left-rail>.time-card,.is-puzzle .left-rail>.seed-note,html[data-layout=phone] body.is-puzzle .item-dock{display:none}.trade-fx{border-radius:10px;overflow:hidden}.trade-fx .item-fx-ring{aspect-ratio:auto;background:linear-gradient(90deg,#0000,#e8e88c61 45%,#ffffd28c 50%,#e8e88c61 55%,#0000);border-radius:0;justify-self:start;width:40%;height:100%;animation:.9s cubic-bezier(.4,0,.2,1) forwards trade-wipe}.trade-fx .item-fx-icon{height:var(--fx-mark);animation:.9s ease-out forwards trade-mark}.trade-fx-host{animation:.9s ease-out swap-glow}@keyframes trade-wipe{0%{transform:translate(-110%)}to{transform:translate(260%)}}@keyframes trade-mark{0%{opacity:0;transform:scale(.6)}25%{opacity:.7;transform:scale(1.05)}70%{opacity:.7;transform:scale(1)}to{opacity:0;transform:scale(1.1)}}.skull-fx .item-fx-icon{height:var(--fx-mark);animation:1.2s ease-out forwards skull-loom}.skull-fx .item-fx-ring{height:calc(var(--fx-mark) * 2.2);border:3px solid #9b2335;animation:1.2s ease-in forwards skull-ring}.skull-fx-host{animation:1.2s ease-out skull-flash}@keyframes skull-loom{0%{opacity:0;transform:scale(.5)}25%{opacity:1;transform:scale(1.15)}70%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.5)}}@keyframes skull-ring{0%{opacity:0;transform:scale(1.4)}30%{opacity:.9}to{opacity:0;transform:scale(.45)}}@keyframes skull-flash{0%{box-shadow:inset 0 0 #78122400}30%{box-shadow:inset 0 0 60px 18px #7812248c,0 0 0 3px #9b2335}to{box-shadow:inset 0 0 #78122400,0 0 #9b233500}}:is(.control-strip button,#seat-send button,#item-actions #use-opponent,#item-actions #discard-item,#item-actions #use-self,.item-dock .item-cycle button,#watch-setup){box-shadow:inset 0 0 0 1px var(--key-edge),inset 0 2px 0 var(--key-shine);border-color:#0000;border-radius:6px}:is(.control-strip button,#seat-send button,#item-actions #use-opponent,#watch-setup){color:var(--paper-13);--key-edge:#365273;--key-shine:#ffffff1f;background:linear-gradient(160deg,#243c59,#14263d);font-weight:700}:is(#item-actions #discard-item,.item-dock .item-cycle button){background:var(--paper-19);color:var(--ink);--key-edge:var(--ink-12);--key-shine:#fff}#item-actions #use-self{--key-edge:#8f2f1d;--key-shine:#fff3}#item-actions #use-self:hover{transform:none}@media (hover:hover){:is(.control-strip button,#seat-send button,#item-actions #use-opponent,#watch-setup):hover:not(:disabled){filter:brightness(1.15)}:is(#item-actions #discard-item,.item-dock .item-cycle button):hover:not(:disabled){filter:none;background:var(--paper-16);--key-edge:var(--ink)}}:is(.control-strip button,#seat-send button,#item-actions #use-opponent,#item-actions #discard-item,#item-actions #use-self,.item-dock .item-cycle button,#watch-setup):active:not(:disabled){box-shadow:inset 0 0 0 1px var(--teal-6),inset 0 2px 5px #051326a0;filter:brightness(.9)}:is(.control-strip button,#seat-send button,#item-actions #use-opponent,#item-actions #discard-item,#item-actions #use-self,.item-dock .item-cycle button):disabled{--key-shine:transparent}:is(#seat-send button,#item-actions #use-opponent){font-family:var(--mono)}html[data-layout=phone] #seat-send button{font-size:18px}#seat-send button i,#use-opponent i{opacity:.7;margin-right:2px;font-size:max(.7em,9px);font-style:normal}:where(html:not([data-layout=phone])) :is(#item-actions,.item-cycle,.control-strip) kbd{outline-offset:1px;color:inherit;border-radius:3px;outline:1px solid}#watch-bar #watch-setup{--key-edge:#edc66f}#watch-setup:before{content:"SETUP";content:"SETUP" / "";font:700 9px var(--mono);letter-spacing:.18em;color:#edc66f;margin-right:8px}html[data-layout=phone] #watch-setup:before{margin:0 0 2px;display:block}html.has-museum,html.has-museum body{overflow:clip}.museum-screen{width:100dvw;max-width:none;height:100dvh;max-height:none;padding:max(16px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));background:var(--paper-15);color:var(--ink);border:0;border-radius:0;grid-template:"stage head""stage info"minmax(0,1fr)/minmax(0,1fr) minmax(230px,340px);gap:20px 36px;margin:0;position:fixed;inset:0;overflow:hidden}.museum-screen[open]{display:grid}.museum-screen::backdrop{background:var(--paper-15)}.museum-header{grid-area:head;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.museum-header h1{margin:5px 0 0;font-size:clamp(20px,2.4vw,30px);line-height:1.25}.museum-header .eyebrow{margin:0}.museum-header button{flex-shrink:0;padding:8px}.museum-stage{grid-area:stage;justify-content:center;align-items:center;min-width:0;min-height:0;display:flex}.museum-board{background:var(--ink-3);border-radius:8px;flex:none;position:relative;overflow:hidden}.museum-board canvas{display:block;width:100%!important;height:100%!important}.museum-start{z-index:2;pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.museum-start-piece{aspect-ratio:22/70;grid-template-rows:repeat(3,minmax(0,1fr));gap:2px;height:min(70px,70%);display:grid}.museum-start .mini-tile{width:100%;height:100%}.museum-info{grid-area:info;align-self:center;min-width:0}.museum-dimensions{color:var(--muted);margin:0;font-size:14px}.museum-status{min-height:1.5em;margin:8px 0 20px;font-size:14px}.museum-controls{flex-wrap:wrap;gap:8px;display:flex}.museum-controls button{flex:1;width:auto;min-width:94px;min-height:44px;padding:10px 14px}.museum-condition,.museum-note{margin:18px 0 0;font-size:13px;line-height:1.65}.museum-note{color:var(--muted);margin-top:8px}.museum-screen[data-view=list][open]{display:block;overflow-y:auto}.museum-screen[data-view=list]>:not(.museum-list),.museum-screen:not([data-view=list])>.museum-list{display:none}.museum-list{gap:14px;max-width:1100px;margin:0 auto;display:grid}.museum-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:8px;display:grid}.museum-grid-named{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.museum-pick{border:1px solid var(--line);background:var(--paper);min-height:44px;color:var(--ink);text-align:left;border-radius:8px;align-content:start;gap:3px;padding:9px 10px;display:grid}.museum-pick:hover{border-color:var(--ink)}.museum-pick strong{font-size:13px;line-height:1.45}.museum-pick span{color:var(--muted);font-size:11px;line-height:1.5}.museum-pick[aria-current=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}@media (max-aspect-ratio:4/5){.museum-screen{padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));grid-template:"head""stage"minmax(0,1fr)"info"/minmax(0,1fr);gap:10px}.museum-header h1{font-size:22px}.museum-info{grid-template-columns:minmax(0,1fr);align-items:center;gap:4px 12px;display:grid}.museum-dimensions{grid-column:1;font-size:12px}.museum-status{grid-column:1;margin:0;font-size:12px}.museum-controls{grid-column:1/-1;justify-content:center;margin-top:3px}.museum-controls button{flex:1;max-width:170px}.museum-condition,.museum-note{grid-column:1/-1;margin:0;font-size:11px;line-height:1.4}.museum-condition{margin-top:4px}}@media (max-height:500px) and (min-aspect-ratio:4/5){.museum-screen{padding:10px max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));grid-template-columns:minmax(0,1fr) minmax(230px,45%);gap:10px 20px}.museum-header h1{font-size:21px}.museum-status{margin:4px 0 10px}.museum-condition{margin-top:10px}.museum-note,.museum-condition{font-size:12px;line-height:1.45}.museum-controls button{min-width:88px;padding:8px}}.museum-share{flex-wrap:nowrap;gap:8px;margin:12px 0 0}.museum-share button{white-space:nowrap;width:auto;min-height:36px;padding:6px 10px}@media (max-aspect-ratio:4/5){.museum-share{grid-column:1/-1;justify-content:center;margin:3px 0 0}.museum-share button{min-height:36px}.museum-info{grid-template-columns:minmax(0,1fr)}.museum-header>div{min-width:0}}@media (max-height:500px) and (min-aspect-ratio:4/5){.museum-info{grid-template-columns:minmax(0,1fr);gap:4px 10px;display:grid}.museum-dimensions{grid-column:1;font-size:12px}.museum-status{grid-column:1;margin:0;font-size:12px}.museum-controls,.museum-share,.museum-condition,.museum-note{grid-column:1/-1}.museum-share,.museum-condition,.museum-note{margin:3px 0 0}}.museum-screen .combo-points{display:none}.museum-screen[data-state=paused] .museum-board *{animation-play-state:paused!important}html[data-layout=phone][data-tall] .workspace{inset:calc(var(--ph-status) + var(--tl-notice)) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);column-gap:0;row-gap:var(--ph-gap);grid-template-columns:minmax(0,1fr) var(--ph-next) calc(var(--ph-board-w) + 2 * var(--ph-gap)) var(--tl-send) minmax(0,1fr);grid-template-rows:var(--tl-top) var(--ph-board-h) var(--tl-dock) var(--tl-ctrl);grid-template-areas:"band band band band band"".next board send.""dock dock dock dock dock""ctrl ctrl ctrl ctrl ctrl";justify-content:stretch}html[data-layout=phone][data-tall] body:not(.is-match):not(.is-cpu) .workspace{grid-template-columns:minmax(0,1fr) var(--ph-next) calc(var(--ph-board-w) + 2 * var(--ph-gap)) minmax(0,1fr);grid-template-areas:"band band band band"".next board.""dock dock dock dock""ctrl ctrl ctrl ctrl"}html[data-layout=phone][data-tall] body.is-puzzle:not(.is-match):not(.is-cpu) .workspace{grid-template-rows:var(--tl-top) var(--ph-board-h) var(--tl-ctrl);grid-template-areas:"band band band band"".next board.""ctrl ctrl ctrl ctrl"}html[data-layout=phone][data-tall] .tool-rail>p#notice.notice,html[data-layout=phone][data-tall] .is-online p#online-notice.online-notice,html[data-layout=phone][data-tall] #spawn-warning,html[data-layout=phone][data-tall] body.has-online-stop p#online-notice.online-notice,html[data-layout=phone][data-tall] body.has-scene-replay .tool-rail>p#notice.notice,html[data-layout=phone][data-tall] body.has-scene-replay p#online-notice.online-notice{top:var(--ph-status);height:var(--tl-notice);line-height:var(--tl-notice);white-space:nowrap;text-overflow:ellipsis;text-align:center;border-bottom:1px solid var(--line);padding:0 8px;font-size:10px;left:0;right:0;overflow:hidden}html[data-layout=phone][data-tall] .board-wrap:not(.cpu-board-wrap){grid-area:board;justify-self:center}html[data-layout=phone][data-tall] .next-rail{max-height:calc(var(--ph-board-h) * .66);grid-area:next;align-self:start;overflow:visible clip}html[data-layout=phone][data-tall] #speed-rail{height:calc(var(--ph-board-h) * .3);grid-area:next;align-self:end}html[data-layout=phone][data-tall] #seat-send{grid-area:send}html[data-layout=phone][data-tall] .item-dock{grid-area:dock;grid-template-rows:auto var(--tl-item-btn);grid-template-columns:repeat(10,minmax(0,1fr))}html[data-layout=phone][data-tall] .item-dock #inventory{grid-column:1/-1;grid-template-columns:repeat(12,var(--ph-own-item))}html[data-layout=phone][data-tall] .item-dock #cycle-next{grid-area:2/1/auto/3}html[data-layout=phone][data-tall] .item-dock #discard-item{grid-area:2/3/auto/5}html[data-layout=phone][data-tall] .item-dock #use-self{grid-area:2/5/auto/9}html[data-layout=phone][data-tall] .item-dock #cycle-previous{grid-area:2/9/auto/11}html[data-layout=phone][data-tall] .item-dock .watch-bar{grid-area:2/1/auto/-1}html[data-layout=phone][data-tall] .control-strip{gap:var(--ph-gap);grid-area:ctrl;display:flex}html[data-layout=phone][data-tall] .control-strip button{height:var(--tl-ctrl);flex:1 1 0}html[data-layout=phone][data-tall] .control-strip [data-command=left]{order:1}html[data-layout=phone][data-tall] .control-strip [data-command=right]{order:2}html[data-layout=phone][data-tall] .control-strip [data-command=soft]{order:3}html[data-layout=phone][data-tall] .control-strip [data-command=reverse]{order:4}html[data-layout=phone][data-tall] .control-strip [data-command=rotate]{order:5}html[data-layout=phone][data-tall] .control-strip .drop-button{order:6}html[data-layout=phone][data-tall] body:not(.is-match):not(.is-cpu) .workspace>.left-rail{grid-area:band;grid-template-rows:auto auto;grid-template-columns:repeat(3,minmax(0,1fr));align-content:center;align-items:center;gap:4px;display:grid;overflow:hidden}html[data-layout=phone][data-tall] body.is-tutorial:not(.is-match):not(.is-cpu) .workspace>.left-rail,html[data-layout=phone][data-tall] body.is-puzzle:not(.is-match):not(.is-cpu) .workspace>.left-rail{overscroll-behavior:contain;display:block;overflow:auto}html[data-layout=phone][data-tall] body:not(.is-match):not(.is-cpu) .item-dock{grid-area:dock}html[data-layout=phone][data-tall] .is-cpu .cpu-panel{grid-area:band;grid-template-rows:auto minmax(0,1fr);grid-template-columns:auto auto;align-content:start;justify-self:start;gap:2px 6px;display:grid}html[data-layout=phone][data-tall] .is-cpu .cpu-panel .cpu-heading{grid-column:1/-1}html[data-layout=phone][data-tall] .is-cpu .cpu-board-row{grid-area:2/1}html[data-layout=phone][data-tall] .is-cpu .cpu-board-wrap{height:calc(var(--tl-top) - 16px)}html[data-layout=phone][data-tall] .is-cpu .cpu-item-dock{grid-area:2/2;align-self:start}html[data-layout=phone][data-tall] .is-cpu .workspace>.left-rail{grid-area:band;place-self:end}html[data-layout=phone][data-tall] .is-cpu .item-dock{grid-area:dock}html[data-layout=phone][data-tall] body.is-tutorial.is-cpu :is(.cpu-item-dock,.left-rail .time-card){display:none}html[data-layout=phone][data-tall] body.is-tutorial.is-cpu .cpu-board-wrap{height:96px}html[data-layout=phone][data-tall] body.is-tutorial.is-cpu .cpu-panel{max-width:calc(96px * var(--board-w) / var(--board-h) + 10px);white-space:nowrap;overflow:hidden}html[data-layout=phone][data-tall] body.is-tutorial.is-cpu .workspace>.left-rail{overscroll-behavior:contain;min-height:0;margin-left:calc(96px * var(--board-w) / var(--board-h) + 16px);place-self:stretch stretch;display:block;overflow:auto}html[data-layout=phone] body.is-tutorial .workspace>.left-rail>:not(#tutorial-card){display:none}html[data-layout=phone] body.is-tutorial .tutorial-card{min-width:0;max-width:100%;overflow-x:hidden}html[data-layout=phone][data-tall] body.is-tutorial .tutorial-card,html[data-layout=phone][data-tall] body.is-puzzle .puzzle-card{max-height:none;overflow:visible}html[data-layout=phone][data-tall] body.is-tutorial .workspace>.left-rail{overflow-x:hidden}html[data-layout=phone][data-tall] .is-match .match-panel{grid-area:band;min-width:0;display:block}html[data-layout=phone][data-tall] .is-match .match-seats{justify-content:center;gap:2px;display:flex}html[data-layout=phone][data-tall] .is-match .seat-card{width:var(--ph-card-w);height:var(--ph-card-h);grid-template-columns:auto;grid-template-rows:var(--ph-header) auto auto;flex:none;justify-content:center;justify-items:center}html[data-layout=phone][data-tall] .is-match .seat-head{grid-column:1/-1;justify-self:stretch}html[data-layout=phone][data-tall] .is-match .seat-row{grid-column:1}html[data-layout=phone][data-tall] .is-match .seat-inv{grid-column:1;grid-auto-flow:row;grid-template-columns:repeat(4,var(--ph-item));grid-template-rows:repeat(3,var(--ph-item))}html[data-layout=phone][data-tall] .is-match .item-dock{grid-area:dock}html[data-layout=phone][data-tall] .is-match .workspace:has(.seat-card:nth-child(6)){grid-template-rows:var(--tl-top) var(--tl-board-h6) var(--ph-card-h);grid-template-areas:"band band band band band"".next board send.""low low low low low"}html[data-layout=phone][data-tall] .is-match .workspace:has(.seat-card:nth-child(6)) .board-wrap:not(.cpu-board-wrap){width:var(--tl-board-w6);height:var(--tl-board-h6)}html[data-layout=phone][data-tall] .is-match .workspace:has(.seat-card:nth-child(6)) .match-panel{grid-area:1/1/-1/-1;grid-template-rows:subgrid;grid-template-columns:minmax(0,1fr) repeat(3,var(--ph-card-w)) minmax(0,1fr);pointer-events:none;column-gap:2px;display:grid}html[data-layout=phone][data-tall] .is-match .workspace:has(.seat-card:nth-child(6)) .match-seats{display:contents}html[data-layout=phone][data-tall] .is-match .workspace:has(.seat-card:nth-child(6)) .seat-card{pointer-events:auto;grid-row:1}html[data-layout=phone][data-tall] .is-match .workspace:has(.seat-card:nth-child(6)) .seat-card:nth-child(n+4){grid-row:-2}:is(html[data-layout=phone][data-tall] .is-match .workspace:has(.seat-card:nth-child(6)) .seat-card:first-child,html[data-layout=phone][data-tall] .is-match .workspace:has(.seat-card:nth-child(6)) .seat-card:nth-child(4)){grid-column:2}:is(html[data-layout=phone][data-tall] .is-match .workspace:has(.seat-card:nth-child(6)) .seat-card:nth-child(2),html[data-layout=phone][data-tall] .is-match .workspace:has(.seat-card:nth-child(6)) .seat-card:nth-child(5)){grid-column:3}:is(html[data-layout=phone][data-tall] .is-match .workspace:has(.seat-card:nth-child(6)) .seat-card:nth-child(3),html[data-layout=phone][data-tall] .is-match .workspace:has(.seat-card:nth-child(6)) .seat-card:nth-child(6)){grid-column:4}html[data-layout=phone][data-tall] .tool-rail .control-strip{margin:0}html[data-layout=phone][data-tall] .is-match .match-panel{padding:0}html[data-layout=phone][data-tall] body:not(.is-puzzle) .left-rail .time-card{align-items:center;gap:10px;display:flex}html[data-layout=phone][data-tall] body:not(.is-match):not(.is-cpu):not(.is-tutorial):not(.is-puzzle) .left-rail .time-card{display:contents}html[data-layout=phone][data-tall] .left-rail .time-card>div{grid-column:2/4;justify-content:flex-end;gap:8px}html[data-layout=phone][data-tall] .left-rail .steady-toggle{align-items:center;min-height:44px}html[data-layout=phone][data-tall] .left-rail .steady-toggle>span{overflow-wrap:anywhere;min-width:0}html[data-layout=phone][data-tall] .left-rail #practice-guide{min-height:44px;margin:0;line-height:1.4}html[data-layout=phone][data-tall] .left-rail #steady-row,html[data-layout=phone][data-tall] .left-rail #notime-row{gap:4px;margin:0;padding:2px 6px;font-size:11px}html[data-layout=phone][data-tall] .left-rail #steady-row small,html[data-layout=phone][data-tall] .left-rail #nofall-row small,html[data-layout=phone][data-tall] .left-rail #notime-row small,html[data-layout=phone][data-tall] body.is-watching .control-strip{display:none}html[data-layout=phone][data-tall] #spawn-warning{z-index:7}html[data-layout=phone][data-tall] .is-match .workspace:has(.seat-card:nth-child(6)) .control-strip{display:none}html[data-layout=phone][data-tall] .seat-ov.edit .seat-chips{flex-wrap:wrap}html[data-layout=phone][data-tall] .seat-ov.edit .seat-chips button{flex:none;width:24px;height:24px}html[data-layout=phone][data-tall] .seat-ov.edit .seat-chips .seat-chip-none{width:auto;min-width:24px}html[data-layout=phone][data-tall] .is-match .workspace:has(.seat-card:nth-child(6)){--ph-board-h:var(--tl-board-h6);--ph-board-w:var(--tl-board-w6)}html[data-layout=phone][data-tall] .board-heading{flex-wrap:nowrap;gap:4px;overflow:hidden}html[data-layout=phone][data-tall] .board-heading>span:first-child{white-space:nowrap;flex:0 auto;align-items:center;min-width:0;display:flex;overflow:hidden}html[data-layout=phone][data-tall] .board-heading .heading-actions{margin-left:auto}html[data-layout=phone][data-tall] #play-status{text-overflow:ellipsis;min-width:0;overflow:hidden}html[data-layout=phone][data-tall] .board-heading .heading-actions{flex-wrap:nowrap;flex:none;display:flex}html[data-layout=phone][data-tall] .board-heading .quiet{white-space:nowrap;padding:0 4px}html[data-layout=phone][data-tall] .board-heading .heading-actions{gap:2px}@media (max-width:339px){html[data-layout=phone][data-tall] .board-heading .quiet{padding:0 1px}}html[data-layout=phone][data-tall] .board-heading #assist-toggle{display:none}html[data-layout=phone][data-tall] .board-heading :is(#fullscreen-open,#pause){min-width:26px;font-size:0}html[data-layout=phone][data-tall] .board-heading :is(#fullscreen-open,#pause):before{content:"";vertical-align:middle;width:14px;height:14px;-webkit-mask:var(--mark) center/contain no-repeat;mask:var(--mark) center/contain no-repeat;background:currentColor;display:inline-block}html[data-layout=phone][data-tall] #pause kbd{display:none}#fullscreen-open{--mark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M1 5V1h4M9 1h4v4M13 9v4H9M5 13H1V9'/%3E%3C/svg%3E")}#pause{--mark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 1h3v12H3zM8 1h3v12H8z'/%3E%3C/svg%3E")}html[data-layout=phone][data-tall] .is-cpu .cpu-panel #cpu-effect{grid-area:2/2;align-self:end;max-height:3.9em;margin:0;font-size:9px;line-height:1.3;overflow:hidden}html[data-layout=phone][data-tall] .is-cpu .cpu-panel{max-width:calc(100% - 64px)}html[data-layout=phone][data-tall] .is-cpu .cpu-panel #cpu-effect{max-width:calc(6 * var(--ph-item) + 5px)}html[data-layout=phone][data-tall] .tutorial-card :is(.primary,.secondary,.quiet,button){min-width:44px;min-height:44px}@supports selector(::-webkit-scrollbar){html[data-layout=phone][data-tall] :is(.workspace>.left-rail,.board-overlay,.seat-ov.edit,#result)::-webkit-scrollbar{width:5px;height:5px}html[data-layout=phone][data-tall] :is(.workspace>.left-rail,.board-overlay,.seat-ov.edit,#result)::-webkit-scrollbar-thumb{background:#9fb6c6;border-radius:3px}html[data-layout=phone][data-tall] :is(.workspace>.left-rail,.board-overlay,.seat-ov.edit,#result)::-webkit-scrollbar-track{background:#ffffff1a}}@supports not selector(::-webkit-scrollbar){html[data-layout=phone][data-tall] :is(.workspace>.left-rail,.board-overlay,.seat-ov.edit,#result){scrollbar-width:thin;scrollbar-color:#9fb6c6 #ffffff1a}}.museum-screen{inset:var(--museum-top,0px) 0 auto 0;height:calc(100dvh - var(--museum-top,0px));z-index:40}html[data-layout=phone] body.is-puzzle-list.is-puzzle-list .workspace{display:block}html[data-layout=phone] body.is-puzzle-list .workspace>:not(.play-column),html[data-layout=phone] body.is-puzzle-list .play-column>:not(.board-heading){display:none!important}html[data-layout=phone] body.is-puzzle-list .puzzle-screen{top:var(--ph-status)}html[data-layout=phone] body.is-puzzle-list.is-puzzle-list .workspace{pointer-events:none}html[data-layout=phone] body.is-puzzle-list .board-heading{pointer-events:auto}.seat-chips.big{grid-auto-columns:1fr;grid-auto-flow:column;display:inline-grid}.seat-chips.big button,.seat-chips.big .seat-chip-none{min-width:34px;width:auto!important;padding:0 6px!important}html[data-layout=phone] #online-setup .seat-chips.big button{width:auto;min-width:30px}html[data-layout=phone] .seat-ov.edit .seat-chips .seat-chip-none{font-size:8px;width:22px!important;padding:0!important}html[data-layout=phone][data-tall] .seat-ov.edit .seat-chips .seat-chip-none{min-width:24px;width:24px!important}.own-team{display:none}html[data-layout=phone] .play-column.teamed .board-wrap:not(.cpu-board-wrap){box-shadow:0 0 0 3px var(--tc),0 0 0 6px color-mix(in srgb,var(--tc) 35%,transparent)}html[data-layout=phone] .play-column.teamed .own-team:not([hidden]){z-index:4;background:var(--tc);color:#fff;pointer-events:none;border-radius:4px;padding:1px 6px;font-size:10px;font-weight:700;line-height:1.5;display:block;position:absolute;top:6px;left:6px}html[data-tap-send] #seat-send{display:none!important}html[data-layout=phone][data-tap-send]:not([data-tall]) .workspace{grid-template-columns:var(--ph-ctrl-left) var(--ph-next) var(--ph-board-w) repeat(3,var(--ph-card-w)) var(--ph-btn)}html[data-tap-send] :is(.is-match .seat-card,.is-cpu #cpu-board-wrap){touch-action:manipulation;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.orientation-choice{flex-wrap:wrap;justify-content:flex-end;gap:6px 14px;display:flex}.orientation-choice label{align-items:center;gap:4px;min-height:44px;display:inline-flex}body.is-watching #assist-toggle{display:none}.tutorial-group{border-top:1px solid var(--gray-3,#444);padding:3px 0}.tutorial-group summary{cursor:pointer;padding:3px 0;font-size:12px;font-weight:600}.tutorial-group .tutorial-goals{margin-top:3px}html[data-layout=phone] .play-column.has-overlay .own-team{display:none!important}.menu-group{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.admin-group{border-left:1px solid var(--line);padding-left:16px}.menu-group-label{font-family:var(--mono);letter-spacing:.12em;color:var(--muted);margin:6px 0 0;font-size:10px}.admin-group .menu-group-label{margin:0}@media (max-width:780px){.menu-group{gap:2px}.admin-group{padding-left:8px}}dialog.orient-splash{cursor:pointer}dialog.orient-splash h2{letter-spacing:.08em;font-size:clamp(28px,8vw,36px)}html.victory .board-wrap{isolation:auto}#victory{z-index:1;pointer-events:none;--ink-band:#1e3a5f;position:fixed;inset:0;overflow:hidden}.victory-stack{left:-30vw;right:-30vw;top:calc(56% + var(--low,0px));display:grid;position:absolute;transform:translateY(-50%)rotate(-12deg)}.victory-row{background:var(--band,#f4d27f);color:var(--ink-band);animation:victory-in .25s cubic-bezier(.2,.8,.3,1) var(--d) both;border-top:6px solid #faf6e8cc;border-bottom:6px solid #1e3a5f40;justify-content:center;align-items:center;gap:clamp(10px,2vw,28px);padding:clamp(10px,2vh,22px) 30vw;display:flex}.victory.team .victory-row{color:#faf6e8}.victory-row>*{animation:victory-text .12s linear calc(var(--d) + .12s) both}.victory-place{font-size:clamp(18px,2.6vw,34px);font-weight:800}.victory-place b,.victory-place small{font:inherit}.victory-place small:after{content:"位"}html:lang(en) .victory-place small:after{content:"th"}html:lang(en) .victory-place[data-rank="1"] small:after{content:"st"}html:lang(en) .victory-place[data-rank="2"] small:after{content:"nd"}html:lang(en) .victory-place[data-rank="3"] small:after{content:"rd"}.victory-name{text-overflow:ellipsis;white-space:nowrap;max-width:44vw;font-size:clamp(34px,7vw,100px);font-style:italic;font-weight:900;line-height:1;overflow:hidden}.victory.team .victory-name{font-size:clamp(24px,4.2vw,60px)}.victory-row ul{gap:2px;margin:0;padding:0;font-size:clamp(13px,1.7vw,26px);font-weight:700;list-style:none;display:grid}.victory.team .victory-row ul{font-size:clamp(12px,1.4vw,20px)}.victory .confetti{left:var(--x);top:var(--y);background:var(--c);width:14px;height:7px;animation:victory-confetti var(--dur) linear var(--t0) both;border-radius:2px;position:absolute}.victory.reduced .victory-row{animation:.3s linear both victory-fade}.victory.reduced .victory-row>*{animation:none}.victory.still *{animation:none!important}@keyframes victory-in{0%{transform:translate(-130%)}to{transform:none}}@keyframes victory-text{0%{opacity:0}to{opacity:1}}@keyframes victory-fade{0%{opacity:0}to{opacity:1}}@keyframes victory-confetti{0%{transform:translateY(0) rotate(var(--r)) scaleY(1)}50%{transform:translateY(55vh) rotate(calc(var(--r) + 180deg)) scaleY(.2)}to{transform:translateY(112vh) rotate(calc(var(--r) + 360deg)) scaleY(1)}}.match-end.band-only{background:0 0;grid-template-rows:minmax(0,1fr) auto;gap:10px;padding:12px 0;animation:none;inset:0}.match-end.band-only>:not(#victory):not(.match-end-actions):not(#match-state){display:none}.match-end-actions{flex-wrap:wrap;justify-content:center;gap:8px;padding:0 8px;display:flex}.match-end.band-only .match-end-actions{grid-row:2}.match-end.band-only button{color:#fff;background:#132237;min-height:44px;margin:0 0 4px;padding:8px 12px}.match-end.band-only #victory{pointer-events:auto;overscroll-behavior:contain;width:100%;height:100%;min-height:0;position:relative;inset:auto;overflow:auto}@font-face{font-family:Victory Rank;src:url(./anton-rensa-DUZzjkvB.woff2)format("woff2");font-display:swap}.match-end.band-only #victory{container-type:inline-size}.match-end.band-only .victory-stack{align-content:center;gap:16px;min-height:100%;padding:8px 4px;position:static;transform:none}.match-end.band-only .victory-row{text-align:left;color:#f3f1ec;background:0 0;border:0;grid-template-columns:clamp(48px,20cqw,84px) minmax(0,1fr);gap:5px;padding:5px 3px;display:grid;position:relative}.match-end.band-only .victory-place{isolation:isolate;color:#f3f1ec;text-shadow:2px 2px #121214,-1px -1px #121214;grid-area:1/1/3;align-self:start;min-height:90px;position:relative}.match-end.band-only .victory-place:before{content:"";z-index:-1;background:var(--band,#105fe1);position:absolute;inset:-2px -5px 0;-webkit-mask:url(./victory-rank-DAtVUzME.png) 50%/100% 100% no-repeat;mask:url(./victory-rank-DAtVUzME.png) 50%/100% 100% no-repeat}.match-end.band-only .victory-place b{text-align:center;font:400 clamp(66px,22cqw,88px)/1 Victory Rank,sans-serif;display:block;transform:skew(-8deg)}.match-end.band-only .victory-place small{font:700 13px/1.2 sans-serif;position:absolute;bottom:2px;right:3px}.match-end.band-only .victory-name{z-index:0;white-space:normal;overflow-wrap:anywhere;color:#f3f1ec;text-shadow:2px 2px #121214,-2px -2px #121214,2px -2px #121214,-2px 2px #121214;grid-column:2;align-self:end;min-width:0;max-width:none;padding:0 4px 6px;font-size:clamp(23px,8cqw,34px);font-style:normal;line-height:1.15;animation:none;position:relative;overflow:visible}.match-end.band-only .victory-name:after{content:"";z-index:-1;background:var(--band,#105fe1);height:12px;position:absolute;bottom:0;left:0;right:0;-webkit-mask:url(./victory-stroke-CWYlCK7B.png) 50%/100% 100% no-repeat;mask:url(./victory-stroke-CWYlCK7B.png) 50%/100% 100% no-repeat}.match-end.band-only .victory-row ul{color:#f3f1ec;overflow-wrap:anywhere;background:#121214;grid-column:2;gap:2px;min-width:0;padding:4px 7px;font-size:clamp(12px,3.7cqw,15px);line-height:1.35}.match-end.band-only .confetti{pointer-events:none;position:fixed}.feats{color:#e4e8ef;text-align:left;background:#0e1c2fd9;border-radius:8px;justify-items:start;gap:3px;padding:10px 14px;display:grid}.feats p{color:#b8bfc9;margin:0;font-size:11px;font-weight:700}.feats ul{gap:2px;margin:0;padding:0;font-size:15px;font-weight:700;list-style:none;display:grid}.match-end .feats{margin-top:6px}.result-overlay.narrow{clip-path:inset(var(--clip-t,0) 0 var(--clip-b,0) 0 round 12px)}#watch-bar{color:#f7f8fb;background:#192f49;border:1px solid #edc66f;flex-direction:column;justify-content:center;gap:3px;margin-top:2px;padding:6px;display:flex}#watch-bar .watch-title{justify-content:center;align-items:center;gap:6px;font-size:13px;line-height:1.25;display:flex}#watch-bar .watch-explain{text-align:center;font-size:11px;line-height:1.25}#watch-bar .watch-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;height:auto}#watch-bar .watch-actions button{white-space:normal;min-height:32px;padding:4px;font-size:12px;line-height:1.2}#watch-bar .primary{color:#162a43;background:#edc66f;font-weight:700}#watch-bar .secondary{color:#f7f8fb}#watch-setup:before,body.is-watching .item-dock .item-panel{display:none}html[data-layout=phone] #watch-bar{gap:2px;padding:3px}html[data-layout=phone] #watch-bar .watch-title{font-size:11px}html[data-layout=phone] #watch-bar .watch-explain{font-size:10px}html[data-layout=phone] #watch-bar .watch-actions{grid-template-rows:32px 24px;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}html[data-layout=phone] #watch-bar .watch-actions button{height:100%;min-height:24px;padding:2px;font-size:10px}html[data-layout=phone] #watch-bar #watch-setup{grid-column:1/-1}html[data-layout=phone] #watch-setup:before{display:none}html[data-layout=phone][data-tall] body.is-watching .item-dock{grid-row:3/5;grid-template-rows:auto minmax(0,1fr)}html[data-layout=phone][data-tall] #watch-bar .watch-title{font-size:13px}html[data-layout=phone][data-tall] #watch-bar .watch-explain{font-size:12px}html[data-layout=phone][data-tall] #watch-bar .watch-actions{grid-template-rows:44px;grid-template-columns:repeat(3,minmax(0,1fr))}html[data-layout=phone][data-tall] #watch-bar .watch-actions button{font-size:12px}html[data-layout=phone][data-tall] #watch-bar #watch-setup{grid-column:auto}.control-strip .turn-arrow{vertical-align:middle;fill:currentColor;pointer-events:none}.control-strip [data-command=rotate] .turn-arrow{transform:rotate(180deg)}html[data-layout=phone] .item-cycle-label{white-space:normal;max-width:100%;font-size:10px;line-height:1.3;display:inline-block}.waiting-launch{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.waiting-launch button{min-height:44px}#waiting-launch{width:100%}#waiting-launch button{color:#fff;background:#203b5d;border:1px solid #aab8ca;border-radius:8px;flex:40%;min-width:0;padding:10px 8px;font-weight:700}.waiting-menu-open{z-index:3;color:#fff;background:#0c182adb;border:1px solid #fff6;border-radius:8px;min-height:36px;padding:4px 12px;font-size:12px;font-weight:700;position:absolute;top:6px;left:6px}.waiting-practice{z-index:4;color:#e6edf6;background:#0c182af2;border:1px solid #ffffff59;border-radius:10px;flex-direction:column;gap:6px;min-width:0;max-height:84%;padding:10px;display:flex;position:absolute;top:8%;left:5%;right:5%;overflow:auto;box-shadow:0 10px 30px #00000073}.waiting-head,.waiting-modes{flex-wrap:wrap;gap:6px;display:flex}.waiting-body{flex-direction:column;gap:6px;display:flex}.waiting-info{margin:0;font-size:12px;line-height:1.45}.waiting-practice :is(.waiting-head,.waiting-modes) button{color:#fff;white-space:normal;background:#ffffff1f;border:1px solid #ffffff4d;border-radius:6px;flex:30%;min-width:0;min-height:44px;padding:4px 6px;font-size:13px}@media (pointer:coarse){html[data-scheme=gesture] .control-strip :is([data-command=drop],[data-command=reverse],[data-command=rotate]),html[data-scheme=gesture] .waiting-practice [data-command=drop]{display:none}}.waiting-title{overflow-wrap:anywhere;margin:6px 0;font-size:14px;line-height:1.45}.waiting-practice .waiting-info{max-height:none;overflow:visible}html[data-layout] .waiting-practice .puzzle-screen{background:var(--paper);flex:1;min-height:0;margin:0;padding:8px;position:static;inset:auto;overflow:auto}.waiting-practice .puzzle-screen-head{padding-top:8px}.waiting-practice .puzzle-grid{grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr))}.waiting-practice .puzzle-tile{white-space:normal;min-width:0}#fullscreen-open{white-space:nowrap;flex:none;inline-size:10em}html[data-layout=phone][data-tall] #fullscreen-open{inline-size:26px}#fullscreen-open[data-fullscreen=true]{--mark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M1 5h4V1M9 1v4h4M13 9H9v4M5 13V9H1'/%3E%3C/svg%3E")}#fullscreen-open.fullscreen-nudge{outline:2px solid var(--accent);outline-offset:-2px;animation:1.6s ease-in-out 3 fullscreen-nudge}@keyframes fullscreen-nudge{50%{opacity:.55}}html.reduced-motion #fullscreen-open.fullscreen-nudge{animation:none}@media (prefers-reduced-motion:reduce){#fullscreen-open.fullscreen-nudge{animation:none}}.speedrun-time{font-variant-numeric:tabular-nums;margin:6px 0;font:700 24px/1.15 ui-monospace,monospace}.speedrun-card h2{font-size:14px}.speedrun-card .speedrun-note{margin:6px 0;font-size:11px;line-height:1.4}.speedrun-card .tutorial-actions{gap:4px}.speedrun-card .tutorial-actions button{min-height:36px;padding:5px 9px;font-size:12px}.speedrun-card details{overflow-wrap:anywhere;font-size:12px}.speedrun-card ol{padding-left:20px}.speedrun-dialog{max-width:min(540px,90vw);max-height:85dvh;overflow:auto}.speedrun-dialog p{line-height:1.6}html[data-layout] :is(.puzzle-card,.waiting-practice) .puzzle-success{box-sizing:border-box;overflow-wrap:anywhere;background:#ffe08a;border:2px solid #203755;border-radius:6px;width:-moz-fit-content;width:fit-content;max-width:100%;margin:8px 0;padding:6px 12px;font-size:22px;font-weight:800;line-height:1.25;animation:none;display:block;color:#203755!important}html[data-layout] .puzzle-success[hidden]{display:none}.first-guide{box-sizing:border-box;z-index:1;pointer-events:none;background:var(--ink-6);width:min(84vw,420px);color:var(--paper-13);text-align:center;border-radius:10px;padding:10px 12px;font-size:clamp(11px,1.15vw + 6px,14px);line-height:1.55;position:absolute;top:calc(100% + 10px);left:50%;transform:translate(-50%)}body.is-entry :is(#steady-row,#notime-row,.item-dock){visibility:hidden}html[data-layout=phone]:not([data-tall]) .first-guide{width:min(420px,100vw - 100% - 140px);top:auto;bottom:8%;left:calc(100% + 14px);transform:none}.first-call{z-index:1;pointer-events:none;background:color-mix(in srgb,var(--ink-6) 80%,transparent);color:var(--paper-13);text-align:center;text-wrap:balance;border-radius:12px;margin:0;padding:12px 8px;line-height:1.35;position:absolute;top:50%;left:5%;right:5%;transform:translateY(-50%)}.first-call[hidden]{display:none}.first-call b{color:#edc66f;font-size:clamp(19px,1.4vw + 12px,28px);display:block}.first-call span{margin-top:4px;font-size:clamp(12px,.6vw + 9px,15px);display:block}.first-guide p{margin:0}.first-guide p+p{color:#edc66f;margin-top:6px;font-weight:700}.assist-on{color:#fff;letter-spacing:.04em;white-space:nowrap;background:#2f6f8f;border-radius:999px;margin-left:10px;padding:2px 9px;font-size:11px;font-weight:700;line-height:1.6;display:inline-block}html:not([data-layout=phone]) .assist-on.phone-only{display:none}html[data-layout=phone] .score-card .assist-on{margin:2px 0 0;padding:0 7px;font-size:10px}.board-wrap.has-shadow-standard .dark-overlay{color:#fff;text-align:center;background:0 0;gap:.65rem;padding:0;inset:5% 8%}.board-wrap.has-shadow-standard .dark-overlay:before{content:"";background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='.5' y='.5' width='23' height='23' rx='5' fill='%233a3d5c'/%3E%3Cpath d='M15.5 4.5a8 8 0 1 0 4 12.6A7 7 0 0 1 15.5 4.5z' fill='white'/%3E%3C/svg%3E") 50%/contain no-repeat;flex:none;width:36px;height:36px;display:block}.board-wrap.has-shadow-standard .dark-overlay strong{font-family:var(--sans,system-ui,sans-serif);letter-spacing:.04em;font-size:1.3rem;line-height:1.3}.board-wrap.has-shadow-standard .dark-overlay span{overflow-wrap:anywhere;background:#0e1c2f;border:1px solid #aab8ca;border-radius:4px;max-width:100%;padding:.25rem .5rem;font-size:.8rem;line-height:1.5}.down-overlay{background:0 0;justify-content:safe center;padding:9%;overflow:auto}.down-card{color:#fff;text-align:left;background:#203b5d;border:1px solid #aab8ca;border-radius:16px 5px;width:100%;padding:1rem;line-height:1.5}:is(#result,#match-end,.down-card)>.moon-state{width:-moz-fit-content;width:fit-content;max-width:100%;font:700 .75rem/1.45 var(--sans,system-ui,sans-serif);letter-spacing:0;overflow-wrap:anywhere;color:#dce5f2;background:#203b5d;border:1px solid #aab8ca;border-radius:999px;padding:.15rem .6rem;display:inline-block}.down-card .moon-state{margin-bottom:.65rem;font-size:.75rem}.down-card h2{letter-spacing:0;margin-bottom:.55rem;font-size:1.3rem;line-height:1.3;display:block}.down-card #down-text{overflow-wrap:anywhere;font-size:.85rem;line-height:1.6;display:block}#result{border:0;border-radius:16px 5px;box-shadow:inset 0 0 0 1px #aab8ca}#result>.moon-state{flex-shrink:0;align-self:flex-start}#result button{scroll-margin-block:8px}#match-end:not(.band-only){background:#203b5d;border:1px solid #aab8ca;border-radius:16px 5px}#match-end.band-only{grid-template-rows:auto minmax(0,1fr) auto;gap:6px;padding:0}#match-end.band-only>.moon-state{grid-row:1;justify-self:end;margin:0 8px;display:block}#match-end.band-only>#victory{grid-row:2}#match-end.band-only>.match-end-actions{grid-row:3}html[data-layout=wide] body:not(.is-cpu):not(.is-match) #result{z-index:30;width:min(26rem,100vw - 32px);height:auto;max-height:calc(100dvh - 32px);position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%)}html[data-layout=wide] body:not(.is-cpu):not(.is-match) .board-wrap.has-result{isolation:auto}
