@media (prefers-reduced-motion:no-preference){.gm-cover:hover .fr-cv-drop,.gm-cover.open .fr-cv-drop{animation:1.8s ease-in-out infinite fr-cv}@keyframes fr-cv{0%{opacity:0;transform:translateY(-60px)}30%{opacity:1;transform:none}to{opacity:1;transform:none}}}
.ch-turn{color:var(--para);font-size:14px}.ch-turn.on{color:#f5c543}.ch-board{aspect-ratio:1;border:1px solid #e9e6df24;border-radius:10px;grid-template-columns:repeat(8,1fr);width:min(100%,480px);margin:0 auto;display:grid;overflow:hidden}.ch-sq{font:inherit;cursor:pointer;border:0;place-items:center;min-width:0;min-height:0;padding:0;display:grid;position:relative}.ch-sq.lt{background:#e9e6df17}.ch-sq.dk{background:#e9e6df06}.ch-sq.last{background:#f5c54324}.ch-sq.sel{background:#f5c54342}.ch-sq.to:after{content:"";background:#e9e6df47;border-radius:50%;width:26%;height:26%;position:absolute}.ch-sq.take:after{content:"";border:2px solid #e9e6df52;border-radius:50%;position:absolute;inset:6%}.ch-sq.check{box-shadow:inset 0 0 0 2px #f5c543bf,inset 0 0 18px #f5c54373}.ch-sq:focus-visible{outline-offset:-2px;outline:2px solid #f5c543}.ch-piece{z-index:1;width:84%;height:84%;position:relative}.ch-piece.w path{fill:#e9e6df;stroke:#0b0b0f;stroke-width:2.5px;stroke-linejoin:round}.ch-piece.b path{fill:#f5c543;stroke:#0b0b0f;stroke-width:2.5px;stroke-linejoin:round}.ch-promo{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.ch-promo-btn{cursor:pointer;background:#f5c54314;border:1px solid #f5c54380;border-radius:12px;place-items:center;width:52px;height:52px;padding:4px;display:grid}.ch-acts{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.ch-btn{min-height:44px;font:inherit;color:var(--fg);background:var(--surface-2);border:1px solid var(--line-strong);cursor:pointer;border-radius:999px;padding:0 18px;font-size:15px}.ch-btn:disabled{opacity:.5;cursor:default}.ch-btn.sure{color:#f5c543;border-color:#f5c543}@media (prefers-reduced-motion:no-preference){.ch-sq.last .ch-piece{animation:.35s ease-out ch-arrive}@keyframes ch-arrive{0%{opacity:.6;transform:scale(.86)}to{opacity:1;transform:none}}.gm-ch-king{transition:transform .6s cubic-bezier(.2,.7,.2,1)}.gm-cover:hover .gm-ch-king,.gm-cover:focus-within .gm-ch-king{transform:translateY(-10px)}.gm-cover:hover .gm-ch-halo,.gm-cover:focus-within .gm-ch-halo{opacity:.9}}.gm-ch-halo{opacity:.35;transition:opacity .6s}
.bg-turn{color:var(--para);font-size:14px}.bg-turn.on{color:#f5c543}.bg-dice{justify-content:center;align-items:center;gap:10px;min-height:44px;display:flex}.bg-die{width:38px;height:38px}.bg-die rect{fill:#e9e6df}.bg-die circle{fill:#0b0b0f}.bg-die.used{opacity:.25}.bg-board{grid-template-columns:1fr 1fr;gap:8px;width:min(100%,520px);margin:0 auto;display:grid}.bg-col{flex-direction:column;gap:2px;display:flex}.bg-pt{min-height:40px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:0 8px;display:flex;position:relative;overflow:hidden}.bg-pt:before{content:"";pointer-events:none;background:#e9e6df12;width:78%;position:absolute;top:4px;bottom:4px}.bg-pt.l:before{clip-path:polygon(0 0,100% 50%,0 100%);left:0}.bg-pt.r:before{clip-path:polygon(100% 0,0 50%,100% 100%);right:0}.bg-pt.even:before{background:#e9e6df09}.bg-pt.r{flex-direction:row-reverse}.bg-col:last-child .bg-pt:nth-child(n+7):before{background:#f5c5430f}.bg-pip{font-family:var(--mono);color:#e9e6df66;text-align:center;width:16px;font-size:10px;position:relative}.bg-stack{align-items:center;gap:2px;display:flex;position:relative}.bg-pt.r .bg-stack{flex-direction:row-reverse}.bg-ck{border-radius:50%;flex:none;width:20px;height:20px;display:inline-block}.bg-ck.x{background:#e9e6df;box-shadow:inset 0 0 0 2px #0b0b0f59}.bg-ck.o{background:#f5c543;box-shadow:inset 0 0 0 2px #0b0b0f59}.bg-more{color:var(--para);margin:0 2px;font-size:12px}.bg-pt.can .bg-pip{color:#f5c543}.bg-pt.last{background:#f5c5430f}.bg-pt.sel{background:#f5c54333}.bg-pt.to{background:#e9e6df1a;box-shadow:inset 0 0 0 1px #f5c5438c}.bg-trays{grid-template-columns:1fr 1fr;gap:8px;width:min(100%,520px);margin:0 auto;display:grid}.bg-tray{min-height:48px;font:inherit;color:var(--fg);background:var(--surface-2);border:1px solid var(--line-strong);cursor:pointer;border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 12px;display:flex}.bg-tray.can{border-color:#f5c5438c}.bg-tray.sel{background:#f5c54333}.bg-tray.to{border-color:#f5c543;box-shadow:0 0 14px #f5c5434d}.bg-tray-label{font-family:var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--para);font-size:11px}.bg-off-n{align-items:center;gap:4px;font-size:15px;display:inline-flex}.bg-off-n .bg-ck{width:14px;height:14px}.bg-acts{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.bg-btn{min-height:44px;font:inherit;color:var(--fg);background:var(--surface-2);border:1px solid var(--line-strong);cursor:pointer;border-radius:999px;padding:0 18px;font-size:15px}.bg-btn:disabled{opacity:.45;cursor:default}.bg-btn.go,.bg-btn.sure{color:#f5c543;border-color:#f5c543}.bg-pt:focus-visible,.bg-tray:focus-visible{outline-offset:-2px;outline:2px solid #f5c543}.gm-bg-die{transition:transform .7s cubic-bezier(.2,.7,.2,1)}@media (prefers-reduced-motion:no-preference){.bg-dice .bg-die:not(.used){animation:.45s ease-out bg-roll}@keyframes bg-roll{0%{opacity:0;transform:rotate(-30deg)scale(.7)}to{opacity:1;transform:none}}.gm-cover:hover .gm-bg-die.a,.gm-cover:focus-within .gm-bg-die.a{transform:translate(-10px,-14px)rotate(-18deg)}.gm-cover:hover .gm-bg-die.b,.gm-cover:focus-within .gm-bg-die.b{transform:translate(12px,-10px)rotate(22deg)}}
.gr-score{font-family:var(--mono);color:var(--para);font-variant-numeric:tabular-nums;font-size:13px}.gr-them{flex-direction:column;align-items:center;gap:4px;display:flex}.gr-them .pc-row{padding-top:0}.gr-middle{border:1px solid var(--line);background:radial-gradient(#f5c54312,#0000 70%),#0c0c10;border-radius:22px;justify-content:center;gap:28px;padding:16px 0;display:flex}.ea-home .gr-pile{cursor:pointer;min-width:64px;min-height:44px;color:inherit;font:inherit;background:0 0;border:0;flex-direction:column;align-items:center;gap:6px;padding:4px;display:inline-flex}.ea-home .gr-pile:disabled{cursor:default}.ea-home .gr-pile:focus-visible{outline-offset:3px;border-radius:10px;outline:2px solid #fff1c6}.gr-say{text-align:center;color:var(--para);margin:0;font-size:15px}.gr-say.mine{color:#fff}.gr-hand{flex-direction:column;align-items:center;gap:8px;display:flex}.gr-groups{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.gr-meld{background:#e9e6df0d;border:1px solid #e9e6df1f;border-radius:12px;gap:3px;padding:12px 6px 6px}.gr-loose{gap:3px;padding:12px 6px 6px}.gr-dw{color:#fff;font-family:var(--mono)}.gr-acts{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.gr-acts .gm-pill,.gr-acts .gm-play{min-height:44px}.gr-shown{flex-direction:column;gap:12px;display:flex}.gr-shown-hand{flex-direction:column;gap:4px;display:flex}.gr-shown-hand .gr-groups{justify-content:flex-start}.gr-foot{justify-content:flex-start;display:flex}.ea-home .gm-pill.gr-quiet{color:var(--mut);padding:10px 14px;font-size:13px}@media (prefers-reduced-motion:no-preference){.gr-cv-draw{transition:transform .7s cubic-bezier(.2,.7,.2,1)}.gm-cover:hover .gr-cv-draw,.gm-cover.open .gr-cv-draw{transform:translate(-6px,18px)}}
