.dice-page{max-width:760px;margin:0 auto;padding:0 16px 32px}.dice-page h1{color:var(--ink);margin:8px 0 4px;font-size:26px;font-weight:800}.dice-lead{color:var(--ink2);margin:0 0 16px;font-size:14px;line-height:1.6}.dice-panel{background:var(--surface);border:1px solid var(--surface3);border-radius:18px;margin-bottom:20px;padding:18px}.dice-controls{flex-wrap:wrap;gap:14px 24px;margin-bottom:14px;display:flex}.dice-group{flex-direction:column;gap:6px;display:flex}.dice-group-label{text-transform:uppercase;letter-spacing:.06em;color:var(--ink3);font-size:11px;font-weight:600}.dice-chips{flex-wrap:wrap;gap:6px;display:flex}.dice-chip{border:1px solid var(--surface3);background:var(--surface2);min-width:40px;height:36px;color:var(--ink2);cursor:pointer;border-radius:10px;padding:0 10px;font:600 14px Outfit,sans-serif}.dice-chip:hover{color:var(--ink)}.dice-chip[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}.dice-chip:focus-visible,.dice-roll:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.dice-notation{border:1px solid var(--surface3);background:var(--surface2);width:120px;height:36px;color:var(--ink);font-variant-numeric:tabular-nums;border-radius:10px;padding:0 10px;font:600 15px Outfit,sans-serif}.dice-notation:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.dice-notation[aria-invalid=true]{border-color:#e5484d}.dice-notation-bad{color:#e5484d;margin:-6px 0 12px;font-size:12px}.dice-tray{background:var(--bg2,#0003);cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border-radius:14px;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;min-height:120px;padding:16px 8px;display:flex}.dice-die{width:84px;height:84px;display:block}.dice-tray.many{gap:10px}.dice-tray.many .dice-die{width:56px;height:56px}.dice-tile{color:#1d1d2b;font-variant-numeric:tabular-nums;background:#f7f4ec;border:2px solid #c9c2b0;border-radius:9px;justify-content:center;align-items:center;min-width:40px;height:40px;padding:0 6px;font:800 16px Outfit,sans-serif;display:inline-flex}.dice-tray.rolling .dice-tile{animation:.45s ease-in-out diceShake}@media (prefers-reduced-motion:reduce){.dice-tray.rolling .dice-tile{animation:none}}.dice-die rect,.dice-die polygon{fill:#f7f4ec;stroke:#c9c2b0;stroke-width:2px}.dice-die circle{fill:#1d1d2b}.dice-die text{fill:#1d1d2b;font:800 22px Outfit,sans-serif}.dice-tray.rolling .dice-die{animation:.45s ease-in-out diceShake}@keyframes diceShake{0%{transform:rotate(0)translateY(0)}25%{transform:rotate(-18deg)translateY(-10px)}50%{transform:rotate(14deg)translateY(2px)}75%{transform:rotate(-8deg)translateY(-4px)}to{transform:rotate(0)translateY(0)}}@media (prefers-reduced-motion:reduce){.dice-tray.rolling .dice-die{animation:none}}.dice-result{text-align:center;min-height:26px;color:var(--ink);margin:12px 0 4px;font-size:18px}.dice-result b{color:var(--gold);font-size:22px}.dice-double{color:var(--accent);margin-left:8px;font-size:13px;font-weight:700}.dice-roll{background:linear-gradient(135deg, var(--accent), #2a9a8c);color:#fff;cursor:pointer;border:0;border-radius:14px;width:100%;max-width:320px;margin:12px auto 4px;padding:14px 20px;font:700 17px Outfit,sans-serif;display:block}.dice-roll:active{transform:scale(.97)}.dice-roll:disabled{opacity:.45;cursor:default;transform:none}.dice-chip:disabled{opacity:.45;cursor:default}.dice-hint{text-align:center;color:var(--ink3);margin:0;font-size:12px}.dice-history{margin-top:14px}.dice-history ol{flex-direction:column;gap:4px;margin:6px 0 0;padding:0;list-style:none;display:flex}.dice-history li{color:var(--ink2);font-variant-numeric:tabular-nums;font-size:13px}.dice-history button{color:var(--ink3);cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;text-decoration:underline}.dice-article{color:var(--ink2);font-size:15px;line-height:1.7}.dice-article h2{color:var(--ink);margin:28px 0 10px;font-size:20px;font-weight:700}.dice-article p{margin:0 0 12px}.dice-article ul,.dice-article ol{margin:0 0 12px;padding-left:22px}.dice-article li{margin-bottom:4px}.dice-article a{color:var(--accent)}.dice-article table{border-collapse:collapse;width:100%;max-width:420px;margin:0 0 12px;font-size:14px}.dice-article th,.dice-article td{border:1px solid var(--surface3);text-align:center;padding:6px 10px}.dice-article th{color:var(--ink);background:var(--surface2)}.dice-cta{flex-wrap:wrap;gap:10px;margin:8px 0 16px;display:flex}.dice-cta a{border:1px solid var(--surface3);background:var(--surface2);color:var(--ink);border-radius:12px;padding:10px 16px;font-size:14px;font-weight:600;text-decoration:none}@media (width<=480px){.dice-die{width:68px;height:68px}.dice-page h1{font-size:22px}}.coin-tray{perspective:600px;min-height:190px}.coin-face{filter:drop-shadow(0 6px 10px #00000040);width:150px;height:150px;display:block}.coin-rim{fill:#d9a520;stroke:#a67c12;stroke-width:3px}.coin-inner{fill:#f2c94c;stroke:#c9971a;stroke-width:2px}.coin-mark{fill:#8a6410;font:800 44px Outfit,sans-serif}.coin-label{fill:#8a6410;letter-spacing:.12em;font:700 11px Outfit,sans-serif}.coin-tray.flipping .coin-face{animation:.7s cubic-bezier(.3,.6,.4,1) coinFlip}@keyframes coinFlip{0%{transform:translateY(0)rotateX(0)}50%{transform:translateY(-46px)rotateX(900deg)scale(1.08)}to{transform:translateY(0)rotateX(1800deg)}}@media (prefers-reduced-motion:reduce){.coin-tray.flipping .coin-face{animation:none}}.coin-score{color:var(--ink2);margin:6px 0 10px;font-size:14px}.coin-score b{color:var(--ink)}.coin-history{flex-wrap:wrap;flex-direction:row!important;gap:6px!important}.coin-history li{background:var(--surface2);border:1px solid var(--surface3);border-radius:50%;place-items:center;width:26px;height:26px;font-size:12px;font-weight:700;display:grid}.coin-history li.heads{color:var(--gold)}.coin-history li.tails{color:var(--accent)}@media (width<=480px){.coin-face{width:128px;height:128px}}.rng-tabs{margin-bottom:14px}.rng-form{flex-direction:column;gap:12px;display:flex}.rng-fields{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;display:grid}.rng-field{flex-direction:column;gap:6px;min-width:0;display:flex}.rng-field input,.rng-field textarea{box-sizing:border-box;border:1px solid var(--surface3);background:var(--surface2);width:100%;color:var(--ink);border-radius:10px;padding:9px 12px;font:600 16px Outfit,sans-serif}.rng-field textarea{resize:vertical;min-height:120px;font-weight:500;line-height:1.5}.rng-field input:focus-visible,.rng-field textarea:focus-visible{outline:2px solid var(--gold);outline-offset:1px}.rng-checks{color:var(--ink2);flex-wrap:wrap;gap:8px 20px;font-size:14px;display:flex}.rng-checks label{cursor:pointer;align-items:center;gap:6px;display:inline-flex}.rng-checks input{width:18px;height:18px;accent-color:var(--accent)}.rng-presets{flex-direction:column;gap:6px;display:flex}.rng-out{min-height:40px;margin-top:14px}.rng-out-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.rng-copy{border:1px solid var(--surface3);color:var(--ink2);cursor:pointer;background:0 0;border-radius:8px;padding:4px 10px;font-size:12px}.rng-big{text-align:center;color:var(--gold);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font:800 64px/1.1 Outfit,sans-serif}.rng-list{flex-wrap:wrap;gap:6px;max-height:320px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.rng-list li{text-align:center;font-variant-numeric:tabular-nums;background:var(--surface2);border:1px solid var(--surface3);min-width:44px;color:var(--ink);border-radius:10px;padding:6px 10px;font-weight:700}.rng-winners{color:var(--ink);overflow-wrap:anywhere;margin:0;padding-left:26px;font-size:18px;font-weight:700}.rng-winners li{margin-bottom:4px}.rng-error{color:var(--p2,#e5484d);margin:0;font-size:14px}@media (width<=480px){.rng-big{font-size:52px}}.wheel-wrap{aspect-ratio:1;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;width:100%;max-width:340px;margin:6px auto 0;position:relative}.wheel-rotor{will-change:transform;width:100%;height:100%;transition-property:transform;transition-timing-function:cubic-bezier(.17,.67,.12,.99)}.wheel-svg{filter:drop-shadow(0 6px 14px #00000040);width:100%;height:100%;display:block}.wheel-rim{fill:#1d1d2b}.wheel-hub{fill:#f7f4ec;stroke:#1d1d2b;stroke-width:2px}.wheel-label{fill:#1d1d2b;font-family:Outfit,sans-serif;font-weight:700}.wheel-pointer{z-index:2;border-left:13px solid #0000;border-right:13px solid #0000;border-top:26px solid var(--accent);filter:drop-shadow(0 2px 3px #00000059);width:0;height:0;position:absolute;top:-6px;left:50%;transform:translate(-50%)}.wheel-form{margin-top:16px}@media (prefers-reduced-motion:reduce){.wheel-rotor{transition:none!important}}.ttt-status{min-height:28px}.ttt-board{aspect-ratio:1;box-sizing:border-box;background:var(--surface3);border-radius:14px;gap:4px;width:100%;max-width:360px;margin:6px auto 0;padding:4px;display:grid}.ttt-board.ttt-n4,.ttt-board.ttt-n5{max-width:400px}.ttt-board.ttt-n10{gap:2px;max-width:520px;padding:3px}.ttt-board.ttt-n15{border-radius:10px;gap:1px;max-width:600px;padding:2px}.ttt-cell{background:var(--surface2);cursor:pointer;-webkit-tap-highlight-color:transparent;border:0;border-radius:8px;place-items:center;min-width:0;min-height:0;padding:0;display:grid}.ttt-n10 .ttt-cell{border-radius:4px}.ttt-n15 .ttt-cell{border-radius:2px}.ttt-cell:disabled{cursor:default;opacity:1}.ttt-cell:not(:disabled):hover{background:var(--surface)}.ttt-cell:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}.ttt-cell.last{box-shadow:inset 0 0 0 2px var(--surface3)}.ttt-cell.win{background:color-mix(in srgb, var(--gold) 28%, var(--surface2))}.ttt-board.over .ttt-cell:not(.win) .ttt-mark{opacity:.45}.ttt-mark{fill:none;stroke-linecap:round;stroke-width:1.5px;width:78%;height:78%;display:block}.ttt-x{stroke:var(--accent)}.ttt-o{stroke:var(--gold)}.ttt-mark{animation:.16s ease-out tttPop}@keyframes tttPop{0%{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.ttt-mark{animation:none}}.ttt-score{text-align:center;margin:12px 0 0}.ttt-actions{justify-content:center;margin-top:6px}.ug-board{aspect-ratio:1;border:3px solid #6b4f36;border-radius:10px;grid-template-rows:repeat(8,minmax(0,1fr));grid-template-columns:repeat(8,minmax(0,1fr));width:100%;max-width:440px;margin:6px auto 0;display:grid;overflow:hidden;box-shadow:0 6px 18px #0000002e}.ug-board.flip{transform:rotate(180deg)}.ug-cell{cursor:pointer;-webkit-tap-highlight-color:transparent;border:0;place-items:center;min-width:0;min-height:0;padding:0;display:grid;position:relative}.ug-cell.light{background:#ecd9b8}.ug-cell.dark{background:#b58863}.ug-cell.home-w.light{background:#e3e6d2}.ug-cell.home-w.dark{background:#a99f74}.ug-cell.home-b.light{background:#e6d3c6}.ug-cell.home-b.dark{background:#a8775f}.ug-cell:disabled{cursor:default;opacity:1}.ug-cell.last:after{content:"";pointer-events:none;background:#ffd66661;position:absolute;inset:0}.ug-cell.sel:after{content:"";box-shadow:inset 0 0 0 3px var(--accent);pointer-events:none;position:absolute;inset:0}.ug-cell:focus-visible{outline:3px solid var(--gold);outline-offset:-3px}.ug-piece{z-index:1;aspect-ratio:1;box-sizing:border-box;border-radius:50%;width:74%;display:block;position:relative}.ug-piece.w{background:radial-gradient(circle at 35% 30%,#fff,#e9e4da 60%,#cfc6b4);border:2px solid #8d826c}.ug-piece.b{background:radial-gradient(circle at 35% 30%,#5a5a6a,#2a2a35 60%,#15151c);border:2px solid #0b0b10}.ug-cell.sel .ug-piece{box-shadow:0 0 0 3px var(--accent);transform:scale(1.08)}.ug-dot{z-index:1;background:#1d1d2b73;border-radius:50%;width:28%;height:28%;position:relative}.ug-hint{min-height:18px;margin-top:8px}.ck-board .ug-cell.must .ug-piece{box-shadow:0 0 0 3px var(--gold)}.ck-board .ug-cell.step:after{content:"";box-shadow:inset 0 0 0 3px var(--gold);pointer-events:none;position:absolute;inset:0}.ug-piece.king{place-items:center;display:grid}.ck-crown{pointer-events:none;font-size:clamp(14px,4.6vw,26px);line-height:1}.ug-piece.w .ck-crown{color:#a0781e}.ug-piece.b .ck-crown{color:#f2c94c}.ug-board.flip .ck-crown{transform:rotate(180deg)}.sb-boards{grid-template-columns:1fr;gap:16px;margin-top:6px;display:grid}@media (width>=760px){.sb-boards{grid-template-columns:1fr 1fr}}.sb-boards.single{grid-template-columns:1fr}.sb-wrap{min-width:0}.sb-title{color:var(--ink2);text-align:center;margin-bottom:4px;font-size:13px;font-weight:700}.sb-board{-webkit-user-select:none;user-select:none;grid-template-columns:18px repeat(10,minmax(0,1fr));width:100%;max-width:400px;margin:0 auto;display:grid}.sb-label{color:var(--ink3);place-items:center;font-size:11px;display:grid}.sb-label.col,.sb-corner{height:18px}.sb-cell{aspect-ratio:1;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#e6f1fb;border:0;border-radius:0;place-items:center;min-width:0;padding:0;display:grid;position:relative;box-shadow:inset 0 0 0 .5px #a3c4e3}.sb-cell:disabled{cursor:default;opacity:1}.sb-wrap.enemy .sb-cell:not(:disabled):hover{background:#cfe3f7}.sb-cell:focus-visible{outline:2px solid var(--gold);outline-offset:-2px;z-index:1}.sb-cell.ship{background:#5a7ea8;box-shadow:inset 0 0 0 .5px #3f5f86}.sb-cell.preview{background:#8fb2d8}.sb-cell.preview.bad{background:#f1b0ac}.sb-cell.hit{background:#ffd8d2}.sb-cell.sunk{background:#b5413b;box-shadow:inset 0 0 0 .5px #7d2622}.sb-cell.last{box-shadow:inset 0 0 0 2px #ff9800}.sb-dot{background:#3f6c99;border-radius:50%;width:22%;height:22%}.sb-x{width:64%;height:64%;position:relative}.sb-x:before,.sb-x:after{content:"";background:#d32f2f;border-radius:2px;width:2.5px;height:100%;position:absolute;top:0;left:50%;transform:translate(-50%)rotate(45deg)}.sb-x:after{transform:translate(-50%)rotate(-45deg)}.sb-cell.sunk .sb-x:before,.sb-cell.sunk .sb-x:after{background:#fff}.sb-stats{color:var(--ink3);text-align:center;margin-top:4px;font-size:12px}.sb-log{color:var(--ink2);margin-top:2px;font-size:13px}.sb-setup{justify-content:center;margin:12px 0 4px}.sb-cover{text-align:center;padding:40px 12px 28px}.sb-cover p{color:var(--ink);margin:0 0 16px;font-size:16px}.sb-fleet-left{color:var(--ink2);flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 8px;margin:2px 0 4px;font-size:12px;display:flex}.sb-ship-icon{gap:1px;display:inline-flex}.sb-ship-icon i{background:#5a7ea8;border-radius:1px;width:8px;height:8px;display:block}.sb-ship-icon.dead i{background:var(--surface3);opacity:.55}.ms-sub{opacity:.7;font-size:12px;font-weight:500}.ms-bar{color:var(--ink2);flex-wrap:wrap;justify-content:center;gap:6px 18px;margin-bottom:4px;font-size:14px;display:flex}.ms-bar b{color:var(--ink);font-variant-numeric:tabular-nums}.ms-board{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation;background:#8a97a8;border-radius:8px;gap:1px;width:100%;margin:6px auto 0;padding:1px;display:grid}.ms-cell{min-width:0;min-height:0;font:800 var(--ms-font,16px) "Outfit", sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent;border:0;border-radius:2px;place-items:center;padding:0;line-height:1;display:grid}.ms-cell.closed{background:linear-gradient(160deg,#cfe0f5,#a9c2e2);box-shadow:inset 0 -2px #0000001f}.ms-cell.closed:not(:disabled):hover{background:linear-gradient(160deg,#deeafa,#b8cfec)}.ms-cell.open{background:#f3f5f8}.ms-cell:disabled{cursor:default;opacity:1;color:inherit}.ms-cell:focus-visible{outline:2px solid var(--gold);outline-offset:-2px;z-index:1;position:relative}.ms-cell.n1{color:#1e63d6}.ms-cell.n2{color:#2e8b3e}.ms-cell.n3{color:#d93a32}.ms-cell.n4{color:#23318f}.ms-cell.n5{color:#8e2a1f}.ms-cell.n6{color:#138a8a}.ms-cell.n7{color:#222}.ms-cell.n8{color:#777}.ms-cell.boom{background:#f05a4f}.ms-mine{background:radial-gradient(circle at 35% 30%,#6a6a78,#1b1b22 70%);border-radius:50%;width:52%;height:52%;box-shadow:0 0 0 2px #1b1b2240}.ms-flag{color:#e0362c;font-size:1.05em}.ms-cell.wrong{position:relative}.ms-cell.wrong:after{content:"✕";color:#1b1b22;place-items:center;font-size:1.1em;display:grid;position:absolute;inset:0}.ms-board.won .ms-cell.closed{background:linear-gradient(160deg,#d6efd9,#a9d8b0)}.ms-hint{margin-top:8px;font-size:12px}.ms-hint-touch{display:none}@media (hover:none) and (pointer:coarse){.ms-hint-touch{display:inline}.ms-hint-mouse{display:none}}.sd-board{aspect-ratio:1;box-sizing:border-box;-webkit-user-select:none;user-select:none;touch-action:manipulation;background:#fff;border:2px solid #344050;border-radius:6px;grid-template-rows:repeat(9,minmax(0,1fr));grid-template-columns:repeat(9,minmax(0,1fr));width:100%;max-width:460px;margin:6px auto 0;display:grid;overflow:hidden}.sd-cell{box-sizing:border-box;color:#1d2430;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#fff;border:1px solid #c3cbd6;border-top:0;border-left:0;border-radius:0;place-items:center;min-width:0;min-height:0;margin:0;padding:0;font:500 min(6vw,27px)/1 Outfit,sans-serif;display:grid;position:relative}.sd-cell:nth-child(9n){border-right:0}.sd-cell:nth-child(n+73){border-bottom:0}.sd-cell.br{border-right:2px solid #344050}.sd-cell.bb{border-bottom:2px solid #344050}.sd-cell.given{color:#1d2430;font-weight:700}.sd-cell.user{color:#1f5fc8}.sd-cell.peer{background:#e9eef5}.sd-cell.same{background:#c9dcf5}.sd-cell.sel{background:#a9c9f2}.sd-cell.bad{color:#d32f2f}.sd-cell.bad:not(.sel){background:#fde4e1}.sd-cell:focus-visible{outline:2px solid var(--gold);outline-offset:-2px;z-index:1}.sd-board.done .sd-cell{cursor:default;background:#e6f5e8}.sd-notes{box-sizing:border-box;color:#5b6676;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);width:100%;height:100%;padding:1px;font:500 min(2.5vw,11px)/1 Outfit,sans-serif;display:grid}.sd-notes span{place-items:center;display:grid}.sd-notes span.hl{color:#1f5fc8;font-weight:800}.sd-pad{grid-template-columns:repeat(9,minmax(0,1fr));gap:4px;width:100%;max-width:460px;margin:12px auto 0;display:grid}.sd-key{border:1px solid var(--surface3);background:var(--surface2);min-width:0;color:var(--ink);cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:10px;flex-direction:column;align-items:center;gap:2px;padding:6px 0 4px;font:700 22px/1 Outfit,sans-serif;display:flex}.sd-key small{color:var(--ink3);font-size:10px;font-weight:500}.sd-key:active:not(:disabled){transform:scale(.95)}.sd-key:disabled{opacity:.3;cursor:default}.sd-key:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.sd-tools{justify-content:center;margin-top:10px}.sd-bar{gap:4px 14px}@media (width<=420px){.sd-bar{gap:4px 8px;font-size:12px}.sd-key{font-size:20px}.sd-levels .dice-chip{font-size:13px}}.sd-controls{margin-bottom:10px}.sd-controls .dice-group{flex:1}.sd-levels{grid-template-columns:repeat(4,minmax(0,1fr));max-width:460px;display:grid}.sd-levels .dice-chip{min-width:0;padding:0 4px}@media (width<=359px){.sd-levels{grid-template-columns:repeat(2,minmax(0,1fr))}}.nd-status{min-height:52px;font-size:16px;line-height:1.45}.nd-board{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;width:100%;max-width:720px;height:auto;margin:6px auto 8px;display:block}.nd-frame{fill:#6b4423}.nd-field{fill:#f1e2bf}.nd-tray{fill:#4a2f18}.nd-pt.a{fill:#a4532c}.nd-pt.b{fill:#3d5246}.nd-tgt{fill:var(--accent);opacity:.42;pointer-events:none}.nd-dot{fill:var(--accent);stroke:#fff;stroke-width:2px;pointer-events:none}.nd-last{fill:#b9892a}.nd-last.to{fill:#e0a91e}.nd-ck{stroke-width:2px}.nd-ck.w{fill:#f7f2e7;stroke:#8d826c}.nd-ck.b{fill:#2b2b36;stroke:#0b0b10}.nd-ck.src{stroke:var(--gold);stroke-width:4px}.nd-ck.sel{stroke:var(--accent);stroke-width:6px}.nd-count{pointer-events:none;font:800 17px Outfit,sans-serif}.nd-count.w{fill:#3a3326}.nd-count.b,.nd-off.w{fill:#f7f2e7}.nd-off.b{fill:#2b2b36;stroke:#8d826c;stroke-width:1px}.nd-die rect{fill:#fffdf7;stroke:#c9c2b0;stroke-width:2px}.nd-die circle{fill:#1d1d2b}.nd-die.dark rect{fill:#2b2b36;stroke:#0b0b10}.nd-die.dark circle{fill:#f7f2e7}.nd-die.used{opacity:.3}.nd-hit{fill:#0000;cursor:pointer;outline:none}.nd-hit:focus-visible{stroke:var(--gold);stroke-width:4px}.nd-hint{min-height:18px}.nd-btn{cursor:pointer;outline:none}.nd-btn rect{fill:var(--accent);stroke:#ffffffd9;stroke-width:2px}.nd-btn text{fill:#fff;pointer-events:none;font:700 29px Outfit,sans-serif}.nd-btn:hover rect{filter:brightness(1.08)}.nd-btn:focus-visible rect{stroke:var(--gold);stroke-width:4px}.rv-board{background:#1f5a39;border-color:#1f5a39;gap:1px}.rv-board .ug-cell{background:#2f8a57}.rv-board .ug-cell:not(:disabled):hover{background:#369a62}.rv-board .ug-piece{width:80%}.rv-board .ug-dot{background:#00000047;width:24%;height:24%}.rv-board .ug-cell.last:after{background:0 0;box-shadow:inset 0 0 0 3px #ffd666d9}.ug-piece.rv-flip{animation:.32s ease-out rv-flip}@keyframes rv-flip{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@media (prefers-reduced-motion:reduce){.ug-piece.rv-flip{animation:none}}.fp-board{aspect-ratio:1;box-sizing:content-box;-webkit-user-select:none;user-select:none;touch-action:none;background:#44546a;border:6px solid #44546a;border-radius:12px;width:100%;max-width:420px;margin:6px auto 0;position:relative}.fp-tile{width:calc(100% / var(--fp-n));height:calc(100% / var(--fp-n));box-sizing:border-box;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;margin:0;padding:3px;transition:left .12s,top .12s;position:absolute}.fp-tile span{color:#3b2f1e;width:100%;height:100%;font:800 calc(min(100vw - 56px, 420px) / var(--fp-n) * .4) / 1 "Outfit", sans-serif;font-variant-numeric:tabular-nums;background:linear-gradient(160deg,#fdf3dc,#eed8a8);border-radius:8px;place-items:center;display:grid;box-shadow:inset 0 -3px #00000024}.fp-tile.home span{color:#2f6b3a;background:linear-gradient(160deg,#fff8e8,#f3e2bb)}.fp-tile:not(:disabled):hover span{filter:brightness(1.04)}.fp-tile:focus-visible{outline:2px solid var(--gold);outline-offset:-2px;z-index:1}.fp-tile:disabled{cursor:default;opacity:1}.fp-board.won .fp-tile span{color:#1f5a2b;background:linear-gradient(160deg,#e3f5e5,#b4dfba)}@media (prefers-reduced-motion:reduce){.fp-tile{transition:none}}.dm-opp{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:4px 0 8px;display:flex}.dm-who{color:var(--ink2);font-size:14px;font-weight:600}.dm-backs{flex-wrap:wrap;gap:3px;display:flex}.dm-back{background:linear-gradient(135deg,#3b4a63,#26324a);border-radius:4px;width:14px;height:28px;box-shadow:inset 0 0 0 1.5px #ffffff2e}.dm-small{width:14px;height:28px;display:block}.dm-small .dm-svg{width:100%;height:100%;display:block}.dm-table{--dm-u:26px;min-height:calc(var(--dm-u) * 2 + 60px);background:#2f7d55;border:6px solid #1f5a39;border-radius:16px;flex-direction:column;gap:6px;padding:30px 12px 14px;display:flex;position:relative;box-shadow:inset 0 2px 10px #00000040}.dm-yard{color:#e8f5ec;background:#00000038;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:700;position:absolute;top:6px;right:10px}.dm-empty{color:#ffffffb3;margin:auto;font-size:14px}.dm-snake{flex-direction:column;align-self:center;gap:6px;max-width:100%;display:flex}.dm-row{min-height:calc(var(--dm-u) * 2);align-items:center;gap:1px;display:flex}.dm-row.rev{flex-direction:row-reverse}.dm-tile{width:calc(var(--dm-u) * 2);height:var(--dm-u);background:0 0;border:0;border-radius:5px;flex:none;padding:0;display:block}.dm-tile.dbl{width:var(--dm-u);height:calc(var(--dm-u) * 2)}.dm-tile .dm-svg{filter:drop-shadow(0 1px 1px #00000059);width:100%;height:100%;display:block}.dm-tile.last .dm-face{fill:#fff1bd}.dm-tile.target{cursor:pointer;outline-offset:1px;outline:3px solid #ffd666;animation:.9s ease-in-out infinite alternate dm-pulse}@keyframes dm-pulse{0%{outline-color:#ffd66673}to{outline-color:#ffd666}}.dm-face{fill:#fbf6ea;stroke:#bfb39a;stroke-width:4px}.dm-line{stroke:#9d9078;stroke-width:4px}.dm-pip{fill:#26221c}.dm-info{color:var(--ink2);margin-top:4px;font-size:13px;display:block}.dm-sides{justify-content:center;margin:6px 0}.dm-act{margin:6px auto 4px}.dm-hand{flex-wrap:wrap;justify-content:center;gap:6px;min-height:80px;margin:12px 0 6px;padding-top:8px;display:flex}.dm-htile{background:0 0;border:0;border-radius:7px;width:36px;height:72px;padding:0;transition:transform .15s}.dm-htile .dm-svg{filter:drop-shadow(0 2px 2px #00000040);width:100%;height:100%;display:block}.dm-htile:disabled{opacity:.55;cursor:default}.dm-htile.can{cursor:pointer;box-shadow:0 0 0 2px #2f8a57}.dm-htile.can:hover{transform:translateY(-3px)}.dm-htile.sel{transform:translateY(-8px);box-shadow:0 0 0 3px #ffd666}@media (prefers-reduced-motion:reduce){.dm-tile.target{animation:none}.dm-htile{transition:none}}@media (width>=700px){.dm-htile{width:44px;height:88px}}.kc-board{--kc-w:48px;--kc-h:67px;--kc-gap:4px;-webkit-user-select:none;user-select:none;background:#2f7d55;border:6px solid #1f5a39;border-radius:16px;padding:10px 8px 16px;box-shadow:inset 0 2px 10px #00000040}.kc-top{align-items:flex-start;gap:var(--kc-gap);margin-bottom:12px;display:flex}.kc-slot{width:var(--kc-w);height:var(--kc-h);box-sizing:border-box;border-radius:6px;flex:none;position:relative}.kc-stock{cursor:pointer;background:#0000001f;border:2px dashed #ffffff59;justify-content:center;align-items:center;padding:0;display:flex}.kc-stock.has{background:0 0;border:0}.kc-stock .kc-card{cursor:pointer;position:absolute;top:0;left:0}.kc-recycle{color:#fffc;font-size:calc(var(--kc-w) * .55);line-height:1}.kc-waste .kc-card{position:absolute;top:0}.kc-gap{flex:1}.kc-found{background:#0000001a;border:2px solid #ffffff47;justify-content:center;align-items:center;display:flex}.kc-found .kc-card{position:absolute;top:-2px;left:-2px}.kc-mark{color:#ffffff59;font-size:calc(var(--kc-w) * .5);line-height:1}.kc-tab{grid-template-columns:repeat(7, var(--kc-w));justify-content:space-between;column-gap:var(--kc-gap);display:grid}.kc-col{min-height:var(--kc-h);position:relative}.kc-col:before{content:"";width:var(--kc-w);height:var(--kc-h);box-sizing:border-box;border:2px solid #ffffff2e;border-radius:6px;position:absolute;top:0;left:0}.kc-col .kc-card{position:absolute;left:0}.kc-card{width:var(--kc-w);height:var(--kc-h);box-sizing:border-box;color:#1d1d1f;text-align:left;appearance:none;touch-action:none;cursor:grab;background:#fffdf8;border:1px solid #b9b3a5;border-radius:6px;margin:0;padding:0;font-family:Outfit,system-ui,sans-serif;display:block;box-shadow:0 1px 2px #0000004d}.kc-card.red{color:#c8262b}.kc-card.down{cursor:default;touch-action:auto;background:repeating-linear-gradient(45deg,#2e4f8f 0 4px,#36599c 4px 8px);border:2px solid #fff}.kc-card.drag{cursor:grabbing;box-shadow:0 10px 22px #0006}.kc-card:focus-visible{outline-offset:1px;outline:3px solid #ffd666}.kc-corner{letter-spacing:-.02em;align-items:baseline;gap:1px;font-weight:700;line-height:1;display:flex;position:absolute;top:2px;left:3px}.kc-corner i{font-style:normal}.kc-pip{line-height:1;position:absolute;bottom:6%;right:8%}.kc-status{color:var(--ink2);margin:10px 0 0;font-size:14px}.sp-board{padding:8px 6px 14px}.sp-top{height:var(--kc-h);justify-content:space-between;align-items:flex-start;margin-bottom:12px;display:flex}.sp-done{height:var(--kc-h);flex:1;position:relative}.sp-done .kc-card{cursor:default;position:absolute;top:0}.sp-stock{height:var(--kc-h);cursor:pointer;background:0 0;border:0;flex:none;padding:0;position:relative}.sp-stock:disabled{cursor:default}.sp-stock .kc-card{position:absolute;top:0}.sp-tab{grid-template-columns:repeat(10, var(--kc-w));justify-content:space-between;column-gap:var(--kc-gap);display:grid}.sp-target:before{border-color:#ffd666!important}.kc-card.sp-hint{box-shadow:0 0 0 3px #ffd666,0 1px 2px #0000004d}@media (width<=480px){.sp-board{border-width:4px;border-radius:12px;margin:0 -17px;padding:8px 4px 12px}}.dk-board{flex-direction:column;gap:10px;padding:10px 8px 12px;display:flex}.dk-board .kc-card{touch-action:manipulation;cursor:default}.dk-opp{flex-direction:column;align-items:center;gap:4px;display:flex}.dk-who{color:#ffffffd9;font-size:13px}.dk-fan{max-width:100%;margin:0 auto;position:relative}.dk-fan .kc-card{position:absolute;top:0}.dk-ofan{height:var(--dk-oh)}.dk-ofan .kc-card{width:var(--dk-ow);height:var(--dk-oh)}.dk-mid{min-height:calc(var(--kc-h) * 1.24 + 4px);align-items:flex-start;gap:10px;display:flex}.dk-side{width:calc(var(--kc-w) * 1.75);flex-direction:column;flex:none;gap:3px;display:flex}.dk-deck{height:var(--kc-h);margin-bottom:2px;position:relative}.dk-deck .kc-card{position:absolute;top:0;left:0}.dk-deck .dk-trump{left:calc(var(--kc-w) * .52);transform:rotate(90deg)}.dk-count{width:var(--kc-w);text-align:center;color:#fff;text-shadow:0 1px 2px #000000b3;font-size:13px;font-weight:700;position:absolute;bottom:5px;left:0}.dk-suit{width:var(--kc-w);height:var(--kc-h);box-sizing:border-box;color:#fff;font-size:calc(var(--kc-w) * .6);border:2px dashed #ffffff59;border-radius:6px;justify-content:center;align-items:center;display:flex}.dk-suit.red{color:#ffc2c4}.dk-note{color:#ffffffd9;font-size:12px;line-height:1.3}.dk-note b{color:#fff;font-size:14px}.dk-note b.dk-red{color:#ffc2c4}.dk-table{flex-wrap:wrap;flex:1;align-content:flex-start;gap:6px;min-width:0;display:flex}.dk-pair{width:calc(var(--kc-w) * 1.32);height:calc(var(--kc-h) * 1.24);position:relative}.dk-pair .kc-card{position:absolute;top:0;left:0}.dk-pair .dk-def{top:calc(var(--kc-h) * .24);left:calc(var(--kc-w) * .32);box-shadow:0 2px 6px #00000059}.kc-card.dk-target{cursor:pointer;animation:1.2s ease-in-out infinite dk-pulse;box-shadow:0 0 0 3px #ffd666,0 1px 2px #0000004d}@keyframes dk-pulse{50%{box-shadow:0 0 0 6px #ffd66680,0 1px 2px #0000004d}}.dk-hand{height:calc(var(--kc-h) + 14px);margin-top:2px}.dk-hand .kc-card{transition:transform .15s;top:14px}.dk-hand .kc-card.can{cursor:pointer;transform:translateY(-10px)}.dk-hand .kc-card.sel{transform:translateY(-14px);box-shadow:0 0 0 3px #ffd666,0 4px 10px #00000059}.dk-acts{justify-content:center;margin:4px 0 6px}.dk-acts .dice-roll{flex:1 1 0;max-width:200px;margin:0}.dice-roll.dk-take{background:linear-gradient(135deg,#c9782a,#a85d18)}@media (prefers-reduced-motion:reduce){.kc-card.dk-target{animation:none}.dk-hand .kc-card{transition:none}}.mj-wrap{flex-direction:column;display:flex}.mj-wrap.full{background:#173f2a;justify-content:center;padding:12px;overflow:auto}.mj-bar{flex-wrap:wrap;justify-content:center;gap:4px 12px}.mj-wrap.full .mj-bar,.mj-wrap.full .mj-status{color:#e8f2ec}.mj-wrap.full .mj-bar b{color:#fff}.mj-felt{background:#2f7d55;border:6px solid #1f5a39;border-radius:16px;justify-content:center;padding:10px 6px;display:flex;overflow:hidden;box-shadow:inset 0 2px 10px #00000040}.mj-wrap.full .mj-felt{box-shadow:none;background:0 0;border:0}.mj-board{-webkit-user-select:none;user-select:none;flex:none;position:relative}.mj-tile{box-sizing:border-box;appearance:none;cursor:default;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:linear-gradient(145deg,#fffdf6,#f1e9d4);border:1px solid #c9bd9c;border-radius:12%/9%;margin:0;padding:0;display:block;position:absolute;box-shadow:1px 1px #ddd2b4,2px 2px #c8ba95,3px 3px #ad9e78,3px 4px 5px #00000059}.mj-tile.free{cursor:pointer}.mj-board.light .mj-tile:not(.free){background:linear-gradient(145deg,#e9e3d2,#d9d0b8)}.mj-board.light .mj-tile:not(.free) .mj-face{opacity:.62}.mj-tile.sel{background:linear-gradient(145deg,#fff3b0,#ffe17a);border-color:#d4a017}.mj-tile.hint{animation:.5s ease-in-out 4 alternate mj-hint}@keyframes mj-hint{to{background:#b6f0c8;border-color:#2e8b57}}.mj-tile:focus-visible{outline-offset:1px;z-index:1;outline:3px solid #ffd666}.mj-face{pointer-events:none;width:100%;height:100%;display:block}.mj-status{min-height:26px;font-size:15px}.mj-acts{justify-content:center;margin:4px 0 2px}.dice-chip.mj-primary{background:var(--accent);border-color:var(--accent);color:#fff}@media (width<=480px){.mj-felt{border-width:4px;border-radius:12px;margin:0 -17px;padding:8px 2px}.mj-bar{font-size:12px}}@media (prefers-reduced-motion:reduce){.mj-tile.hint{background:#b6f0c8;animation:none}}.fc-board{padding:8px 6px 14px}.fc-cell{background:#0000001f;border:2px dashed #ffffff59}.fc-cell .kc-card{position:absolute;top:-2px;left:-2px}.fc-target{border-style:solid;border-color:#ffd666!important}.fc-tab{grid-template-columns:repeat(8, var(--kc-w));justify-content:space-between;column-gap:var(--kc-gap);display:grid}@media (width<=480px){.fc-board{border-width:4px;border-radius:12px;margin:0 -17px;padding:8px 4px 12px}}.ch-board{aspect-ratio:1;-webkit-user-select:none;user-select:none;border:3px solid #6b4f36;border-radius:8px;grid-template-rows:repeat(8,minmax(0,1fr));grid-template-columns:repeat(8,minmax(0,1fr));width:100%;max-width:520px;margin:0 auto;display:grid;position:relative;overflow:hidden;box-shadow:0 6px 18px #0000002e}.ch-cell{cursor:pointer;-webkit-tap-highlight-color:transparent;min-width:0;min-height:0;font:inherit;border:0;place-items:center;padding:0;display:grid;position:relative}.ch-cell.light{background:#ecd9b8}.ch-cell.dark{background:#b58863}.ch-cell:disabled{cursor:default;opacity:1;color:inherit}.ch-cell.last:before{content:"";pointer-events:none;background:#ffd66673;position:absolute;inset:0}.ch-cell.sel:before{content:"";pointer-events:none;background:#6eaa5a8c;position:absolute;inset:0}.ch-cell.hint:after{content:"";pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 0 4px #2f7de1}.ch-cell.check{background-image:radial-gradient(circle,#e62828f2 0%,#e628288c 45%,#0000 75%)}.ch-cell:focus-visible{outline:3px solid var(--gold);outline-offset:-3px}.ch-piece{z-index:1;pointer-events:none;font-family:Segoe UI Symbol,Apple Symbols,"Noto Sans Symbols 2",DejaVu Sans,sans-serif;font-size:clamp(26px,9.4vw,52px);line-height:1;position:relative}.ch-piece.w{color:#fbf7ee;-webkit-text-stroke:1.2px #2b2118;text-shadow:0 2px 2px #00000040}.ch-piece.b{color:#241a12;-webkit-text-stroke:.6px #000;text-shadow:0 1px 1px #ffffff40}.ch-rank,.ch-file{pointer-events:none;z-index:2;font-size:clamp(9px,2.4vw,12px);font-weight:700;line-height:1;position:absolute}.ch-rank{top:3px;left:3px}.ch-file{bottom:2px;right:3px}.ch-cell.light .ch-rank,.ch-cell.light .ch-file{color:#b58863}.ch-cell.dark .ch-rank,.ch-cell.dark .ch-file{color:#ecd9b8}.ch-dot{z-index:2;pointer-events:none;background:#141e1459;border-radius:50%;width:30%;height:30%;position:absolute}.ch-ring{z-index:2;pointer-events:none;border-radius:50%;position:absolute;inset:6%;box-shadow:inset 0 0 0 5px #141e1459}.ch-promo{z-index:5;color:#fff;background:#1e1812eb;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:15px;font-weight:700;display:flex;position:absolute;inset:30% 6%;box-shadow:0 8px 24px #0006}.ch-promo div{gap:8px;display:flex}.ch-promo button{pointer-events:auto;cursor:pointer;background:#ecd9b8;border:0;border-radius:10px;width:56px;height:56px;font-size:40px}.ch-promo button:hover,.ch-promo button:focus-visible{background:#ffd666;outline:none}.ch-taken{align-items:center;gap:1px;max-width:520px;min-height:22px;margin:4px auto;font-size:18px;line-height:1;display:flex}.ch-taken span{font-family:Segoe UI Symbol,Apple Symbols,"Noto Sans Symbols 2",DejaVu Sans,sans-serif}.ch-taken .w{color:#fbf7ee;-webkit-text-stroke:1px #2b2118}.ch-taken .b{color:#241a12}.ch-taken em{color:var(--ink2);margin-left:6px;font-size:13px;font-style:normal;font-weight:700}.ch-moves{background:var(--surface2,#0000000a);border-radius:10px;max-width:520px;max-height:132px;margin:12px auto 0;padding:8px 10px;font-size:14px;overflow-y:auto}.ch-moves ol{flex-wrap:wrap;gap:4px 14px;margin:0;padding:0;list-style:none;display:flex}.ch-moves li span,.ch-moves>span{color:var(--ink2)}@media (width<=480px){.ru-board{border-width:4px;border-radius:12px;margin:0 -17px;padding:8px 4px 12px}}.ps-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin:4px 0 8px;display:grid}.ps-card{border:1px solid var(--surface3);background:var(--surface2);color:var(--ink);border-radius:16px;align-items:center;gap:14px;padding:14px 16px;text-decoration:none;transition:border-color .15s,transform .15s;display:flex}.ps-card:hover{border-color:var(--accent);transform:translateY(-1px)}.ps-icon{color:#1d1d1f;background:#fffdf8;border:1px solid #b9b3a5;border-radius:8px;flex:none;justify-content:center;align-items:center;width:52px;height:70px;font-size:30px;line-height:1;display:flex;box-shadow:0 1px 3px #00000040}.ps-icon.red{color:#c8262b}.ps-body{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.ps-body b{font-size:17px}.ps-body span{color:var(--ink2);font-size:13px;line-height:1.45}.ps-play{background:var(--accent);color:#fff;border-radius:10px;flex:none;align-self:center;padding:8px 12px;font-size:13px;font-weight:700}@media (width<=480px){.ps-play{display:none}}@media (prefers-reduced-motion:reduce){.ps-card{transition:none}.ps-card:hover{transform:none}}.pm-pyr{margin:0 auto 14px;position:relative}.pm-pyr .kc-card{position:absolute}.kc-card.pm-covered{cursor:default;filter:brightness(.9)}.kc-card.pm-sel{transform:translateY(-4px);box-shadow:0 0 0 3px #4da3ff,0 4px 10px #00000059}.pm-bottom{align-items:center;margin-bottom:0}.pm-info{color:#ffffffd9;flex-direction:column;gap:2px;font-size:12px;line-height:1.3;display:flex}.pm-out b{color:#ffffffd9;font-size:calc(var(--kc-w) * .38)}.kc-stock:disabled{cursor:default}.mc-board .mj-tile{box-shadow:1px 1px #c8ba95,2px 2px 3px #0000004d}.mc-line{pointer-events:none;z-index:2;position:absolute;top:0;left:0;overflow:visible}.mc-line polyline{fill:none;stroke:#ffd666;stroke-width:4px;stroke-linejoin:round;stroke-linecap:round;filter:drop-shadow(0 0 2px #00000080);animation:.38s ease-out forwards mc-fade}@keyframes mc-fade{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.mc-line polyline{animation:none}}
