.mw-game{--g-bg:#e4eef8;--g-ink:#273044;--g-muted:#4f5b75;--g-focus:#2f4f86;--g-accent:#3f6fb0;--g-soft:#cfdbea}.mw-scene{position:absolute;top:0;bottom:6px;left:50%;transform:translateX(-50%);width:min(calc(100% - 16px),760px);display:flex;flex-direction:column;align-items:center;gap:10px}.mw-board{position:relative;flex:1;min-height:0;aspect-ratio:5/7;max-width:100%;border-radius:22px;overflow:hidden;touch-action:none;cursor:pointer;background:repeating-linear-gradient(90deg,#f4f7fb 0 calc(20% - 1px),#dde6f1 calc(20% - 1px) 20%),#f4f7fb;box-shadow:0 2px 0 #c3d0e2,0 14px 30px #27304418}.mw-platform{top:0}.mw-lane,.mw-platform{position:absolute;left:0;right:0}.mw-lane:after{position:absolute;background-image:linear-gradient(90deg,#c3cfe0 0 10px,transparent 10px 26px);background-size:26px 100%}.mw-lane[data-dir=left]:after{transform:scaleX(-1)}.mw-piece{position:absolute;left:calc(var(--cx) * 100%);top:calc(var(--cy) * 100%);width:20%;height:calc(100% / 7);display:grid;place-items:center;pointer-events:none}.mw-piece>svg{width:78%;height:78%}.mw-gate>svg{width:86%;height:86%}.mw-speaker{overflow:visible}.mw-pulse{position:absolute;inset:8%;border-radius:50%;border:3px solid #f29a5b;animation:mw-pulse 1.1s ease-out forwards}.mw-pulse[data-soft=true]{border-color:#b8c4d8;border-width:2px}@keyframes mw-pulse{0%{transform:scale(.5);opacity:1}to{transform:scale(2.8);opacity:0}}.mw-crowd{position:absolute;display:grid;place-items:center;pointer-events:none;z-index:2}.mw-crowd>svg{width:100%;height:100%}.mw-ghost{position:absolute;border:2px dashed #8fa3c4;border-radius:14px;pointer-events:none;z-index:1}@keyframes mw-walk{to{transform:translateY(-3px)}}.mw-maya{z-index:3;transition:left .14s ease-out,top .14s ease-out}.mw-maya>svg{width:72%;height:auto;max-height:100%}.mw-maya[data-emotion=startled]>svg{animation:mw-shake .3s}@keyframes mw-shake{30%{transform:translateX(-4px)}70%{transform:translateX(4px)}}.mw-scene[data-load=high] .mw-board{box-shadow:0 0 0 4px #f29a5b88,0 14px 30px #27304418}.mw-ping{position:absolute;right:4%;z-index:5;display:flex;align-items:center;gap:8px;min-height:48px;padding:6px 12px;border:0;border-radius:14px;background:#273044;color:#fff!important;font-size:13px;box-shadow:0 8px 20px #27304440;animation:mw-ping-in .22s ease-out}@keyframes mw-ping-in{0%{opacity:0;transform:translateY(-10px)}}.mw-pad{display:grid;grid-template-columns:repeat(3,52px);grid-template-rows:repeat(2,52px);gap:6px}.mw-pad button{display:grid;place-items:center;border:0;border-radius:16px;background:#fff;color:var(--g-ink);box-shadow:0 3px 0 #c3d0e2}.mw-pad button:active{transform:translateY(2px);box-shadow:0 1px 0 #c3d0e2}.mw-pad [data-dir=up]{grid-column:2;grid-row:1}.mw-pad [data-dir=left]{grid-column:1;grid-row:2}.mw-pad [data-dir=down]{grid-column:2;grid-row:2}.mw-pad [data-dir=right]{grid-column:3;grid-row:2}.mw-done{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);z-index:6}.mw-rest{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:12px;border-radius:22px;background:radial-gradient(90% 70% at 50% 40%,#f4f7fb,#dbe6f3)}.mw-rest-maya{display:flex;align-items:end;gap:6px}.mw-choices{display:flex;flex-direction:column;gap:10px;width:min(360px,100%)}.mw-pair{display:flex;gap:8px}.mw-pair .mw-prop{flex:1}.mw-prop{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:54px;padding:0 14px;border:2px solid transparent;border-radius:16px;background:#fff;box-shadow:0 3px 0 #c3d0e2;font-size:14px;font-weight:650}@keyframes mw-call{50%{box-shadow:0 0 0 5px #9dc0ea88,0 3px 0 #c3d0e2}}.mw-pair:has([aria-pressed=true]) .mw-prop{animation:none}.mw-prop[aria-pressed=true]{border-color:var(--g-accent);background:#e7f0fb;box-shadow:none}.mw-choices .kit-primary{width:100%}@media (max-width:640px){.mw-scene{width:calc(100% - 12px);bottom:4px;gap:8px}.mw-pad{grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,48px)}}@media (max-height:560px) and (min-aspect-ratio:1/1){.mw-scene{flex-direction:row;justify-content:center;gap:24px}.mw-board{height:100%;flex:none}.mw-rest{flex-direction:row}}.mw-game[data-theme=library]{--g-bg:#f1eadc;--g-soft:#e3d7bf;--g-accent:#796645}.mw-game[data-theme=market]{--g-bg:#f7e8d9;--g-soft:#ebcdb3;--g-accent:#986342}.mw-floor{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.mw-platform{background:#ffffff30}.mw-lane{background:#62798612}.mw-lane:after{background:none;content:"›     ›     ›     ›";inset:36% 6%;color:#4f667c;opacity:.3;white-space:pre;font-size:18px}.mw-piece>img{width:78%;height:78%;object-fit:contain}.mw-crowd>img{width:100%;height:100%}.mw-footstep{z-index:1}.mw-footstep>img{width:26%;height:26%}.mw-maya[data-protected=true]:before{content:"";position:absolute;inset:8%;border-radius:50%;background:#fff9;border:2px solid #628690;z-index:-1}.mw-maya>.mw-worn{position:absolute;width:63%;height:49%;top:2%}.mw-warning{position:absolute;inset:0;border:3px dotted #a76833;border-radius:50%}.mw-wait{grid-column:1;grid-row:1}.mw-prop>img{width:34px;height:34px;object-fit:contain}.mw-ping-icon{width:22px;height:26px}.mw-prop:not([aria-pressed=true]){animation:none}@media (prefers-reduced-motion:reduce){.mw-maya{transition:none}.mw-maya[data-emotion=startled]>svg,.mw-ping,.mw-pulse{animation:none}.mw-pulse{display:none}}.mw-wait{align-content:center;gap:1px}.mw-wait>img{width:23px;height:23px}.mw-wait>span{font-size:12px;line-height:1.1;font-weight:650}@media (min-width:900px) and (min-height:561px){.mw-board{aspect-ratio:6/5}}