.online-card.player-invite{box-sizing:border-box;background:#152837e6;border:1px solid #d6c08c73;border-radius:18px;gap:.5rem;width:min(100%,26rem);margin:.75rem auto 0;padding:1rem;display:grid}.player-invite__main{width:100%;min-height:48px}.player-invite__hint{text-align:center;color:#ffeec2;margin:0;font-size:12px;line-height:1.5}.player-invite__note{text-align:center;color:#9cf0b0;margin:0;font-size:12px}.player-invite__note:empty{display:none}.player-invite__code{color:#fff4d4;max-width:100%;min-height:44px;font:inherit;cursor:pointer;background:#152a38d1;border:1px solid #f5dfac73;border-radius:999px;justify-self:center;align-items:baseline;gap:.45rem;padding:.3rem .85rem;font-size:13px;display:inline-flex}.player-invite__code b{letter-spacing:.14em;font-variant-numeric:tabular-nums;font-size:1.05rem}.player-invite__manual{color:#ffeec2;gap:.3rem;font-size:12px;display:grid}.player-invite input{box-sizing:border-box;width:100%;min-width:0;display:block}.player-match-settings,.player-join-settings{background:#152837d1;border:1px solid #d6c08c73;border-radius:14px;min-width:0;margin:0;overflow:hidden}.player-match-settings>summary,.player-join-settings>summary{color:#fff2cf;cursor:pointer;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:.5rem;min-height:44px;margin:0;padding:.55rem .9rem;font-size:14px;font-weight:700;list-style:none;display:flex}.player-match-settings>summary::-webkit-details-marker{display:none}.player-join-settings>summary::-webkit-details-marker{display:none}.player-match-settings>summary:after,.player-join-settings>summary:after{content:"▾";opacity:.75;font-size:12px}.player-match-settings[open]>summary:after,.player-join-settings[open]>summary:after{content:"▴"}.player-match-settings[open]>summary,.player-join-settings[open]>summary{border-bottom:1px solid #d6c08c47}.player-match-settings>:not(summary),.player-join-settings>:not(summary){padding:.55rem .9rem}.player-match-settings>:not(summary):last-child,.player-join-settings>:not(summary):last-child{padding-bottom:.8rem}.player-match-settings>.friend-times{grid-template-columns:minmax(0,1fr);margin-top:.5rem}.player-join-settings>.online-join{box-shadow:none;background:0 0;border:0;border-radius:0;margin:0}.player-match-settings>.online-info{background:0 0;border:0;border-radius:0}.friend-time-slider__field{box-sizing:border-box;gap:.35rem;width:100%;min-width:0;display:grid}.friend-time-slider__label{color:#ffeec2;margin:0;font-size:13px;font-weight:600}.friend-time-slider{accent-color:#f0d98c;box-sizing:border-box;background:0 0;width:100%;min-width:0;min-height:44px;margin:0;display:block}.online-wait-desc.online-wait-mode{color:#ffeec2;text-align:center;box-sizing:border-box;background:#152837b8;border-radius:12px;width:100%;margin:.5rem 0 0;padding:.45rem .8rem}@media (width<=380px){.online-card.player-invite{padding:.75rem}.player-invite__code b{letter-spacing:.1em;font-size:1rem}.player-match-settings>summary,.player-join-settings>summary{padding:.5rem .7rem;font-size:13px}}@media (height<=480px) and (orientation:landscape){.online-card.player-invite{gap:.35rem;margin-top:.4rem}.player-invite__hint,.online-wait-desc.online-wait-mode{font-size:11px;line-height:1.4}}.player-leaderboard{padding-bottom:6rem}.home-rule-row{justify-content:flex-end}.player-page-shell{min-height:100%}.player-page-shell.app-with-nav{--player-page-height:100%;block-size:calc(100dvh / var(--ui-scale,1));box-sizing:border-box;grid-template-rows:minmax(0,1fr) auto;display:grid;overflow:hidden}.app-with-nav>.player-page-content{overscroll-behavior-y:contain;height:100%;min-height:0;overflow:hidden auto}.app-with-nav>.player-page-content>.screen{box-sizing:border-box;min-height:100%;padding-bottom:20px}.player-page-shell.app-with-nav>.home-bottom-nav--fixed{box-sizing:border-box;justify-self:center;width:100%;position:static;transform:none}.topbar .topbar-tools{justify-content:flex-end;align-items:center;gap:4px;min-width:0;display:flex}.game .topbar{grid-template-columns:48px minmax(0,1fr) auto;height:auto;min-height:44px}.game .topbar h2{white-space:normal;overflow-wrap:anywhere;min-width:0}.topbar-tools>button{place-items:center;min-width:44px;min-height:44px;padding:8px;display:grid}.game-end-progress{text-align:center}.dice-online .friend-stage__title{font-size:clamp(30px,5vw,44px);line-height:1.25}.dice-online__subtitle{color:#f0d98c;text-align:center;margin:4px 0 12px}.app-with-nav .dice-online{min-height:var(--player-page-height)}.liubo{width:100%;min-width:0;color:var(--ink,#2b2118);flex-direction:column;gap:8px;display:flex}.liubo-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.liubo-score{margin:0;font-size:.95rem;font-weight:600}.liubo-captives{overflow-wrap:anywhere;font-size:.85rem}.liubo-captives p{margin:4px 0}.liubo-sticks{gap:4px;display:flex}.liubo-stick{background:#f3e6cd;border:1px solid #8a6a43;border-radius:4px;justify-content:center;align-items:center;width:22px;height:30px;font-size:.75rem;line-height:1;display:inline-flex}.liubo-stick[data-face=true]{color:#f9edd8;background:#7a2f22;border-color:#5d2118}.liubo-dice{flex-wrap:wrap;gap:8px;display:flex}.liubo-roll .dice-stage,.liubo-roll .dice-roll-target{height:150px;min-height:150px}.liubo-roll .dice-ready{padding:8px}.liubo-roll__face{margin:0;font-weight:600}.liubo-die{flex-direction:column;gap:6px;min-width:0;display:flex}.liubo-die[data-used=true]{opacity:.6}.liubo-die__button,.liubo-die__pass{background:#f7ecd6;border:1px solid #8a6a43;border-radius:10px;min-width:44px;min-height:44px;padding:8px 12px;font-size:.9rem}.liubo-die__button[aria-pressed=true]{background:#f0d7a8;border-color:#7a2f22;box-shadow:inset 0 0 0 2px #7a2f2259}.liubo-die__pass{background:#efe0c4;border-style:dashed}.liubo-board{--liubo-inset:26px;aspect-ratio:1;background:#557e70;border:1px solid #385e52;border-radius:12px;width:100%;max-width:100%;position:relative;overflow:hidden}.liubo-board__inner{inset:var(--liubo-inset);position:absolute}.liubo-board__svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.liubo-board__routes{pointer-events:none}.liubo-board__routes polyline{fill:none;stroke:#246e79;stroke-width:1px;stroke-dasharray:3 3;stroke-linecap:round;stroke-linejoin:round;opacity:.65;vector-effect:non-scaling-stroke}.liubo-landmark{pointer-events:none;color:#6b5334;white-space:nowrap;font-size:.6rem;position:absolute;transform:translate(-50%,-50%)}.liubo-landmark--pond{color:#244f50;text-shadow:0 1px #d2e3db;padding:2px 4px}.liubo-landmark--nest[data-player=black]{color:#1b1f24;font-weight:700}.liubo-landmark--nest[data-player=white]{color:#6b5334}.liubo-landmark--nest[data-modern=true]{transform:translate(-50%,8px)}.liubo-point{justify-content:center;align-items:center;gap:1px;min-width:0;min-height:22px;display:flex;position:absolute;transform:translate(-50%,-50%)}.liubo-point__birds{gap:1px;display:flex}.liubo-point__coord{color:#7d6647;pointer-events:none;font-size:.55rem}.liubo-point__dest{transform-origin:50%;cursor:pointer;background:#2f6b4f2e;border:2px solid #2f6b4f;border-radius:999px;width:100%;min-width:20px;height:100%;min-height:20px;position:absolute;top:50%;left:50%;transform:scale(1.9)}.liubo-point__routes{color:#fff;background:#2f6b4f;border-radius:999px;padding:0 3px;font-size:.5rem;position:absolute;inset:auto -2px -2px auto}.liubo-point[data-hint=true]:not([data-destination]){border-radius:999px;box-shadow:0 0 0 3px #2f6b4f40}.liubo-point[data-recommendation]{border-radius:999px;box-shadow:0 0 0 3px #b3261e73}.liubo-bird{border:1px solid #4a3a24;border-radius:999px;flex-direction:column;justify-content:center;align-items:center;width:20px;height:20px;padding:0;font-size:.5rem;line-height:1;display:inline-flex;position:relative}.liubo-bird[data-player=black]{color:#f7ecd6;background:#22262c}.liubo-bird[data-player=white]{color:#22262c;background:#fbf3e2;border-color:#8a6a43}.liubo-bird[data-owl=true]{border:2px solid #b3261e}.liubo-bird[data-selected=true]{outline-offset:1px;outline:3px solid #b3261e}.liubo-bird[data-playable=true]{cursor:pointer}.liubo-bird__glyph{font-size:.5rem}.liubo-bird__id{opacity:.85;font-size:.45rem}.liubo-choices{flex-direction:column;gap:6px;min-width:0;display:flex}.liubo-choices__title{color:#6b5334;margin:0;font-size:.85rem}.liubo-choices__hint{color:#4a3a24;margin:0;font-size:.85rem}.liubo-list{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.liubo-list>*{display:flex}.liubo-list--reserve .liubo-bird,.liubo-list .liubo-bird{width:44px;height:44px;font-size:.85rem}.liubo-list .liubo-bird__glyph{font-size:.8rem}.liubo-list .liubo-bird__id{font-size:.7rem}.liubo-choice{text-align:left;background:#f7ecd6;border:1px solid #8a6a43;border-radius:10px;min-height:44px;padding:8px 12px;font-size:.85rem}.liubo-choice:hover:not(:disabled){background:#f0d7a8}.liubo-disclaimer{color:#4a3a24;background:#b3261e0f;border-left:3px solid #b3261e;margin:0;padding:6px 8px;font-size:.8rem;line-height:1.5}@media (width<=420px){.liubo-stick{width:18px;height:26px}.liubo-bird{width:18px;height:18px}.liubo-point__dest{transform:scale(1.4)}}.liubo-options{border:1px solid #687b68;border-radius:8px;margin:12px;padding:12px}.liubo-options label{align-items:center;gap:10px;min-height:44px;display:flex}.liubo-options input{flex:none}.liubo-options p,.liubo-rules p{line-height:1.6}.liubo-dabo-status p{margin:6px 0}.liubo-water-fish{fill:#ead992;stroke:#355855;stroke-width:.45px}.liubo-water-fish circle{fill:#355855}.liubo-rules summary{cursor:pointer;min-height:44px;padding:10px 0}.liubo-removed{padding:8px 0}.liubo[data-dabo] .liubo-stick{color:#261e14;background:linear-gradient(90deg,#856135,#c49b62,#856135);border-radius:8px;width:14px;height:52px}.liubo[data-dabo] .liubo-stick[data-face=true]{color:#574328;background:linear-gradient(90deg,#e3d0a0,#fff7d9,#e3d0a0);border-color:#8a6a43}.folk-board{--folk-board-line:#4a2f14;--folk-board-select:#e8b64c;--folk-board-hint:#7b3a05;--folk-board-focus:#0b5fff;--folk-board-empty:#5b3a17;aspect-ratio:1;color:#1b1f24;background:linear-gradient(135deg,#e9b872,#c98d46);border-radius:16px;width:100%;min-width:308px;max-width:560px;margin-inline:auto;position:relative}.folk-board__svg{inset:var(--folk-board-inset,22px);width:calc(100% - var(--folk-board-inset,22px) * 2);height:calc(100% - var(--folk-board-inset,22px) * 2);pointer-events:none;position:absolute;overflow:visible}.folk-board__edge{stroke:var(--folk-board-line);stroke-width:2px;stroke-linecap:round}.folk-board__point{box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;color:inherit;font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:50%;place-items:center;margin:0;padding:0;line-height:1;display:grid;position:absolute;transform:translate(-50%,-50%)}.folk-board__point:disabled{cursor:default}.folk-board__point:focus-visible{outline:3px solid var(--folk-board-focus);outline-offset:2px}.folk-board .folk-board__point:active{transform:translate(-50%,-50%)}.folk-board__piece{box-sizing:border-box;pointer-events:none;border:2px solid #3d4450;border-radius:50%;place-items:center;width:28px;height:28px;font-size:clamp(9px,.72em,14px);line-height:1;display:grid;position:relative;overflow:hidden;box-shadow:2px 3px 2px #00000073}.folk-board__piece[data-player=black]{color:#fff;background:radial-gradient(circle at 35% 30%,#6b6b6b,#1b1b1b 45%,#000);border-color:#000}.folk-board__piece[data-player=white]{color:#111318;background:radial-gradient(circle at 35% 30%,#fff,#e9e4d8 70%,#b9b2a2);border-color:#b9b2a2}.folk-board__point[aria-pressed=true] .folk-board__piece{box-shadow:2px 3px 2px #00000073, 0 0 0 3px var(--folk-board-select)}.folk-board__role{letter-spacing:0;pointer-events:none;font-weight:700}.folk-board__dest{background:var(--folk-board-hint);pointer-events:none;border-radius:50%;width:12px;height:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #fff}.folk-board__coord{color:#33200d;font-variant-numeric:tabular-nums;pointer-events:none;text-shadow:0 0 2px #fff6e2d9;font-size:clamp(9px,.68em,13px);font-weight:700}.contrast-high .folk-board__edge{stroke:#000}.contrast-high .folk-board__piece[data-player=white]{border-color:#000}.contrast-high .folk-board__piece[data-player=black]{border-color:#fff}.folk-game-screen{--folk-surface:#1d2838;--folk-surface-alt:#253247;--folk-border:#e7d38b47;--folk-text:#f1ead4;--folk-muted:#b9b7a6;box-sizing:border-box;zoom:calc(1 / var(--ui-scale,1));width:100%;max-width:none;font-size:calc(1rem * var(--ui-scale,1));padding:12px;padding-inline:6px;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 80px);color:var(--folk-text);overflow-wrap:anywhere;align-content:start;align-items:stretch;gap:12px;display:grid}.folk-game-screen .folk-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.folk-game-screen :where(.folk-layout,.folk-panel,.folk-status,.folk-controls,.folk-actions,.folk-history,.folk-stats,.folk-rules,.folk-dialog){box-sizing:border-box;min-width:0}.folk-game-screen :where(.folk-panel,.folk-status,.folk-controls,.folk-stats,.folk-rules,.folk-dialog){border:1px solid var(--folk-border);background:var(--folk-surface);border-radius:14px;padding:12px}.folk-game-screen .folk-status{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.folk-game-screen .folk-controls{grid-template-columns:minmax(0,1fr);align-content:start;gap:8px;display:grid}.folk-game-screen .folk-controls>p{min-height:0;margin:0}.folk-game-screen .folk-controls>.folk-status{min-height:44px;padding:8px;line-height:1.35}.folk-game-screen .folk-controls>.folk-muted{font-size:.92em;line-height:1.4}.folk-game-screen .folk-actions{flex-wrap:wrap;gap:8px;display:flex}.folk-game-screen :where(.folk-actions,.folk-controls)>.folk-button{min-width:44px;min-height:44px}.folk-game-screen .folk-history{overscroll-behavior:contain;gap:8px;max-height:40vh;margin:0;padding:0;display:grid;overflow-y:auto}.folk-game-screen .folk-history>li{background:var(--folk-surface-alt);border-radius:8px;padding:6px 8px;list-style:none}.folk-game-screen .folk-history h2{margin:8px 0;font-size:1em}.folk-game-screen .folk-history_empty{margin:0;line-height:1.45}.folk-game-screen .folk-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.folk-game-screen .folk-stats>*{overflow-wrap:anywhere;min-width:0}.folk-game-screen .folk-rules{color:var(--folk-muted);font-size:.95em;line-height:1.55}.folk-game-screen .folk-dialog{width:100%;max-width:min(560px,100vw - 24px);margin-inline:auto}.folk-game-screen .folk-board-panel{background:0 0;border:0;border-radius:0;width:100%;min-width:0;padding:0}.folk-game-screen .folk-title{overflow-wrap:anywhere;margin:0;font-size:1.05em;font-weight:700;line-height:1.3}.folk-game-screen .folk-muted{color:var(--folk-muted)}.folk-game-screen .folk-error{color:#ff9c9c}.folk-game-screen .proto-head{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;width:100%;height:auto;min-height:44px;display:grid}.folk-game-screen .proto-head__title{overflow-wrap:anywhere;margin:0;font-size:1.15em}.folk-game-screen :where(.proto-back,.proto-head .folk-button){min-width:44px;max-width:100%;min-height:44px;font:inherit;white-space:normal;overflow-wrap:anywhere;font-size:1em}.folk-game-screen .folk-button{box-sizing:border-box;color:#1b2231;min-width:44px;min-height:44px;font:inherit;text-align:center;overflow-wrap:anywhere;cursor:pointer;touch-action:manipulation;background:#e3c97a;border:1px solid #e3c97a;border-radius:10px;justify-content:center;align-items:center;padding:0 14px;font-weight:600;line-height:1.2;display:inline-flex}.folk-game-screen .folk-button:disabled{color:#b9b7a6;cursor:default;background:#253247;border-color:#e7d38b47}.folk-game-screen :where(.folk-actions,.folk-controls)>.folk-button{flex:auto}@media (width<=360px){.folk-game-screen{padding-inline:6px}}@media (width>=760px) and (height<=600px){.folk-game-screen{overflow-y:auto}.folk-game-screen .folk-layout{grid-template-columns:minmax(308px,560px) minmax(0,1fr)}.folk-game-screen .folk-history{max-height:none}}@media (width>=960px){.folk-game-screen .folk-layout{grid-template-columns:minmax(308px,560px) minmax(280px,1fr);width:100%;max-width:1160px;margin-inline:auto}}.folk-game-screen .proto-back{font:inherit;min-width:44px;min-height:44px;font-size:1em}.folk-game-screen .folk-rules>summary{box-sizing:border-box;cursor:pointer;min-height:44px;padding-block:10px}.folk-game-screen .folk-slider{cursor:pointer;width:100%;min-height:44px;margin:0}.folk-game-screen .folk-variant{background:var(--folk-surface-alt);border-left:3px solid #e3c97a;margin:0;padding:8px 10px;font-size:.9em;line-height:1.4}.screen.game.wolf-game .folk-board{box-sizing:border-box;width:var(--board-size);height:var(--board-size);background:linear-gradient(135deg,#ead9ae,#d7bd86);border:2px solid #96724b;border-radius:14px;flex:none;min-width:0;max-width:none}.screen.game.wolf-game .folk-board__edge{stroke-width:.55px}.screen.game.wolf-game .folk-board__piece{width:clamp(30px, calc(var(--board-size) * .105), 66px);height:clamp(30px, calc(var(--board-size) * .105), 66px);font-size:clamp(14px, calc(var(--board-size) * .04), 24px)}.screen.game.wolf-game .wolf-seat-role{background:#152638d1;border:1px solid #e8c98752;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:6px 12px;display:flex}.wolf-game .seat--top .wolf-seat-role{grid-area:3/1}.wolf-game .seat--bottom .wolf-seat-role{grid-area:1/2}.wolf-dialog{max-height:calc(94dvh / var(--ui-scale,1));overflow:hidden auto}.wolf-dialog .wolf-details{overflow-wrap:anywhere;margin-block:12px}.wolf-dialog .wolf-details>summary{cursor:pointer;min-height:44px;padding-block:10px;display:list-item}.wolf-dialog .folk-history__list{padding:0;list-style:none}.wolf-dialog .folk-history__item{flex-wrap:wrap;gap:8px;margin-block:8px;display:flex}.wolf-dialog .folk-history__meta{flex-basis:100%}.wolf-dialog .folk-history__item button{min-height:44px}.screen.game.wolf-game.layout-wide .game-stage{grid-template-rows:minmax(max(28px, calc(var(--head-h,28px) - 45px)), auto) auto auto auto var(--board-size)}.screen.wolf-game.layout-wide .game-stage{grid-template-rows:minmax(var(--head-h,28px), auto) auto auto auto auto var(--board-size,276px);grid-template-areas:"rail-l head rail-r""rail-l note1 rail-r""rail-l note2 rail-r""rail-l note3 rail-r""rail-l voice rail-r""rail-l board rail-r"}.screen.wolf-game.layout-wide .game-communication{grid-area:voice;min-width:0}.screen.wolf-game .game-communication .voice-panel{margin:0;padding:.3rem .5rem}.xq-board{--xq-line:#4a2f14;--xq-select:#0e8577;--xq-hint:#7b3a05;--xq-focus:#0b5fff;--xq-frame:8px;--xq-gap:5px;--xq-piece-size:clamp(26px, 9.2cqw, 72px);--xq-radius:20px;--xq-inset:calc(var(--xq-frame) + var(--xq-gap) + var(--xq-piece-size) / 2);--xq-ink-black:#1b1d21;--xq-ink-red:#ae2a1d;--xq-font:"Kaiti SC", KaiTi, STKaiti, "Songti SC", SimSun, "Noto Serif CJK SC", serif;aspect-ratio:8/9;border-radius:var(--xq-radius);color:#1b1f24;background:repeating-linear-gradient(93deg,#ffe4b20f 0 1px,#0000 1px 6px),linear-gradient(152deg,#b0803f,#7c5227 46%,#4f3113);width:100%;min-width:300px;max-width:520px;margin-inline:auto;position:relative;box-shadow:inset 0 1px #ffe0ae8c,inset 0 -4px 8px #2012058c,0 16px 30px -14px #0009,0 2px 6px #00000047;container-type:inline-size}.xq-board:before{content:"";inset:var(--xq-frame);border-radius:calc(var(--xq-radius) - var(--xq-frame));pointer-events:none;background:repeating-linear-gradient(91deg,#784a1a0e 0 1px,#0000 1px 8px),repeating-linear-gradient(89deg,#784a1a0a 0 2px,#0000 2px 27px),radial-gradient(130% 85% at 50% -6%,#fff9e380,#0000 58%),linear-gradient(158deg,#f3d9a9,#e8c48c 52%,#d8ab6d);position:absolute;box-shadow:inset 0 0 0 1px #fff7db73,inset 0 4px 14px #5a381442,inset 0 -3px 10px #5a381433}.xq-board__svg{inset:var(--xq-inset);width:calc(100% - var(--xq-inset) * 2);height:calc(100% - var(--xq-inset) * 2);pointer-events:none;position:absolute;overflow:visible}.xq-board__edge{stroke:var(--xq-line);stroke-width:1.5px;stroke-linecap:round;vector-effect:non-scaling-stroke}.xq-board__mark{stroke:var(--xq-line);stroke-width:1.2px;stroke-linecap:round;opacity:.6;vector-effect:non-scaling-stroke}.xq-board__river{left:calc(var(--xq-inset) + (100% - var(--xq-inset) * 2) * .0556);right:calc(var(--xq-inset) + (100% - var(--xq-inset) * 2) * .0556);color:#6b3d13;font-family:var(--xq-font);font-size:clamp(13px, calc(var(--xq-piece-size) * .46), 28px);letter-spacing:.35em;text-shadow:0 1px #fff9e4bf;pointer-events:none;opacity:.9;line-height:1;display:flex;position:absolute;transform:translateY(-50%)}.xq-board__river>span{text-align:center;text-indent:.35em;flex:1 1 0;min-width:0}.xq-board__point{box-sizing:border-box;width:40px;min-width:40px;height:40px;min-height:40px;color:inherit;font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:50%;place-items:center;margin:0;padding:0;line-height:1;display:grid;position:absolute;transform:translate(-50%,-50%)}.xq-board__point:disabled{cursor:default}.xq-board__point:focus-visible{outline:3px solid var(--xq-focus);outline-offset:2px}.xq-board .xq-board__point:active{transform:translate(-50%,-50%)}.xq-board__piece{box-sizing:border-box;width:var(--xq-piece-size);height:var(--xq-piece-size);font-family:var(--xq-font);font-size:clamp(14px, calc(var(--xq-piece-size) * .6), 32px);text-shadow:0 1px #ffffffd9,0 -1px 1px #3e260c47;pointer-events:none;background:radial-gradient(circle at 34% 26%,#fffdf6 0%,#f9edd4 40%,#eedcbb 66%,#ddc292 86%,#c8a87b 100%);border:1.5px solid #7d5327;border-radius:50%;place-items:center;font-weight:700;line-height:1;transition:transform .16s,box-shadow .16s;display:grid;position:relative;box-shadow:0 3px 5px -1px #26160680,0 1px 2px #26160652,inset 0 1px 1px #ffffffd9,inset 0 -2px 3px #603e164d}.xq-board__piece:before{content:"";opacity:.45;border:1px solid;border-radius:50%;position:absolute;inset:8%}.xq-board__piece[data-player=black]{color:var(--xq-ink-black)}.xq-board__piece[data-player=white]{color:var(--xq-ink-red)}@media (hover:hover){.xq-board__point:not(:disabled):not([aria-pressed=true]):hover .xq-board__piece{transform:translateY(-1px)}}.xq-board__point[aria-pressed=true] .xq-board__piece{box-shadow:0 4px 8px -1px #2616068c, 0 0 0 2px #fffffff2, 0 0 0 5px var(--xq-select), 0 0 18px 2px #0e857780, inset 0 1px 1px #ffffffd9;transform:translateY(-2px)scale(1.03)}.xq-board__dest{width:calc(var(--xq-piece-size) * .34);height:calc(var(--xq-piece-size) * .34);background:var(--xq-hint);pointer-events:none;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #fff7e2f2,0 0 10px #e8b64cbf}.xq-board__coord{color:#33200d;font-variant-numeric:tabular-nums;pointer-events:none;text-shadow:0 0 2px #fff6e2d9;font-size:clamp(8px,.6em,12px);font-weight:700}.contrast-high .xq-board__edge,.contrast-high .xq-board__mark{stroke:#000}.contrast-high .xq-board__piece[data-player=black]{color:#000;border-color:#000}.contrast-high .xq-board__piece[data-player=white]{color:#7a0000;border-color:#000}.jq-board{--jq-line:#4a2c10d1;--jq-rail:#4a2a0d;--jq-rail-core:#f0ce92e6;--jq-select:#f2b53f;--jq-hint:#8a4a06;--jq-focus:#0b5fff;--jq-inset-x:10%;--jq-inset-y:max(14px, 4.16667%);--jq-row-intervals:11;--jq-radius:14px;--jq-frame:clamp(3px, calc(var(--board-size,400px) * .013), 7px);--jq-font:"Kaiti SC", KaiTi, STKaiti, "Songti SC", SimSun, "Noto Serif CJK SC", serif;--jq-ink-black:#191d27;--jq-ink-white:#ad2119;--jq-field-layers:radial-gradient(78% 48% at 18% 4%, #fffbe9d9, #fffbe900 72%), radial-gradient(72% 44% at 88% 98%, #7e502052, #7e502000 76%), radial-gradient(34% 24% at 50% 50%, #fff8e273, #fff8e200 80%), radial-gradient(46% 30% at 8% 62%, #8c5c2833, #8c5c2800 78%), radial-gradient(40% 26% at 96% 24%, #8c5c282e, #8c5c2800 78%);box-sizing:border-box;aspect-ratio:8/9;border:var(--jq-frame) solid transparent;border-radius:var(--jq-radius);color:#1b1f24;background-color:#6b3f1b;background-image:linear-gradient(150deg,#a06a35 0%,#7d4c22 34%,#5d3517 72%,#472610 100%);background-clip:border-box;width:100%;min-width:200px;max-width:420px;margin-inline:auto;position:relative;box-shadow:0 0 0 1px #ffe2b229,0 26px 44px -22px #140a02d9,0 8px 18px -10px #140a0299;container-type:inline-size}.jq-board:before{content:"";border-radius:calc(var(--jq-radius) - var(--jq-frame));background-color:#e8d0a4;background-image:var(--jq-field-layers);pointer-events:none;position:absolute;inset:0;box-shadow:0 0 0 1px #301a068c,inset 0 0 0 1px #fff8e273,inset 0 0 32px #70441866}.jq-board:not([data-rules-version=junqi\/v1]):before{background-image:linear-gradient(180deg, #fffcf000 39.5%, #fffcf09e 42.5%, #fffcf09e 57.5%, #fffcf000 60.5%), var(--jq-field-layers)}.jq-board__frame{inset:calc(-1 * var(--jq-frame));border-radius:var(--jq-radius);pointer-events:none;position:absolute;overflow:hidden;box-shadow:inset 0 0 0 1px #f8d8984d,inset 0 0 0 2px #1c0e0266}.jq-board__ridge{color:#7a3f16;font-family:var(--jq-font);letter-spacing:.22em;text-shadow:0 1px #fffdf4e6;white-space:nowrap;pointer-events:none;background:linear-gradient(#fdf4dcf0,#e8d1a4f0);border:1px solid #7a4a1a8c;border-radius:6px;padding:.3em .5em .3em .82em;font-size:clamp(9px,3.9cqw,17px);line-height:1;position:absolute;top:50%;transform:translate(-50%,-50%);box-shadow:0 2px 4px #3a200842,inset 0 1px #fffdf4f2,inset 0 -1px #8c602e4d}.jq-board__ridge[data-side=left]{left:calc(var(--jq-inset-x) + (100% - 2 * var(--jq-inset-x)) * .25)}.jq-board__ridge[data-side=right]{left:calc(var(--jq-inset-x) + (100% - 2 * var(--jq-inset-x)) * .75)}.jq-board__svg{inset:var(--jq-inset-y) var(--jq-inset-x);width:calc(100% - 2 * var(--jq-inset-x));height:calc(100% - 2 * var(--jq-inset-y));pointer-events:none;position:absolute;overflow:visible}.jq-board__road{stroke:var(--jq-line);stroke-width:1.15px;stroke-linecap:round;vector-effect:non-scaling-stroke}.jq-board__rail{stroke:var(--jq-rail);stroke-width:4.5px;stroke-linecap:round;vector-effect:non-scaling-stroke}.jq-board__rail-core{stroke:var(--jq-rail-core);stroke-width:1.8px;stroke-linecap:round;vector-effect:non-scaling-stroke}.jq-board__mountain{fill:#7c502252;stroke:#5c361294;stroke-width:1px;stroke-linejoin:round;vector-effect:non-scaling-stroke}.jq-board__camp,.jq-board__hq{box-sizing:border-box;width:calc((100% - 2 * var(--jq-inset-x)) / 4 * .86);height:calc((100% - 2 * var(--jq-inset-y)) / var(--jq-row-intervals) * .88);pointer-events:none;position:absolute;transform:translate(-50%,-50%)}.jq-board__camp{width:auto;height:calc((100% - 2 * var(--jq-inset-y)) / var(--jq-row-intervals) * .76);aspect-ratio:1;background:#fff6de80;border:1px solid #56300c8c;border-radius:50%;box-shadow:inset 0 0 6px #784c1c38,0 0 0 1px #fffae873}.jq-board__camp:before{content:"";border:1px solid #56300c52;border-radius:50%;position:absolute;inset:22%}.jq-board__hq{background:#fff6de42;border:1px dashed #56300c80;border-radius:4px;box-shadow:inset 0 0 8px #784c1c29}.jq-board__point{box-sizing:border-box;width:calc((100% - 2 * var(--jq-inset-x)) / 4);height:calc((100% - 2 * var(--jq-inset-y)) / var(--jq-row-intervals));min-width:0;min-height:0;color:inherit;font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:0;place-items:center;margin:0;padding:0;line-height:1;display:grid;position:absolute;transform:translate(-50%,-50%)}.jq-board__point:disabled{cursor:default}.jq-board__point:focus-visible{outline:2px solid var(--jq-focus);outline-offset:-2px}.jq-board .jq-board__point:active{transform:translate(-50%,-50%)}.jq-board__piece{box-sizing:border-box;width:88%;min-width:0;height:86%;min-height:0;font-family:var(--jq-font);text-shadow:0 1px #ffffffe6,0 -1px 1px #40260a38;pointer-events:none;background-color:#f6ecd4;background-image:linear-gradient(#fffffff2 0%,#fff0 45%),radial-gradient(110% 170% at 50% -10%,#fffef7 0%,#f9efd9 38%,#ecdcb6 72%,#ddc79a 100%);border:1px solid #542e0cc7;border-radius:clamp(2px,1cqw,5px);place-items:center;font-size:clamp(9px,5.8cqw,26px);font-weight:700;line-height:1;transition:transform .14s,box-shadow .14s;display:grid;position:relative;box-shadow:0 1px 2px #2c1a0873,0 3px 5px -2px #2c1a0866,inset 0 1px #fffffff2,inset 0 -2px #966c3847}.jq-board__piece:before{content:"";border-radius:inherit;opacity:.28;border:1px solid;position:absolute;inset:2px}.jq-board__piece[data-player=black]{color:var(--jq-ink-black)}.jq-board__piece[data-player=white]{color:var(--jq-ink-white)}@media (hover:hover){.jq-board__point:not(:disabled):not([aria-pressed=true]):hover .jq-board__piece{transform:translateY(-1px)}}.jq-board__piece[data-hidden=true]{color:#f0d49a;background-color:#4b3320;background-image:linear-gradient(#ffe2a838 0%,#ffe2a800 55%),radial-gradient(110% 170% at 50% -10%,#6b4a2c 0%,#54371f 52%,#3d2614 100%);border-color:#ffe2a88c;box-shadow:0 1px 2px #1e10048c,0 3px 5px -2px #1e100473,inset 0 1px #ffe4b04d,inset 0 -2px #00000059}.jq-board__piece[data-facedown=true]:not([data-hidden=true]){border-style:dashed}.jq-board__back{fill:none;stroke:currentColor;stroke-width:1.5px;width:72%;height:78%}.jq-board__piece[data-piece=M]{border-style:dashed}.jq-board__piece[data-piece=X]{border-color:#a11a1a}.jq-board__piece[data-piece=S]{border-width:2px;border-color:#b3261e}.jq-board__point[aria-pressed=true] .jq-board__piece{outline:2px solid var(--jq-select);outline-offset:-2px;transform:translateY(-1px);box-shadow:0 0 0 2px #ffd68073,0 6px 12px -4px #1e10048c,inset 0 1px #fffffff2,inset 0 -2px #966c3847}.jq-board__dest{aspect-ratio:1;pointer-events:none;background:radial-gradient(circle,#f6cf74 0%,#d79a2c 100%);border-radius:50%;outline:1px solid #fffaecf2;width:auto;height:38%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 8px #e8b64cbf}.jq-board__coord{color:#33200d;font-variant-numeric:tabular-nums;pointer-events:none;text-shadow:0 0 2px #fff6e2d9;font-size:clamp(8px,4.4cqw,13px);font-weight:700}.contrast-high .jq-board{background-color:#fff;background-image:none;border-color:#000}.contrast-high .jq-board:before{background-color:#fff;background-image:none;box-shadow:inset 0 0 0 2px #000}.contrast-high .jq-board__frame,.contrast-high .jq-board__ridge{display:none}.contrast-high .jq-board__road,.contrast-high .jq-board__rail{stroke:#000}.contrast-high .jq-board__rail-core{stroke:#fff}.contrast-high .jq-board__mountain{stroke:#000;fill:#fff}.contrast-high .jq-board__piece{box-shadow:none;background-color:#fff;background-image:none}.contrast-high .jq-board__piece[data-player=black]{color:#000;border-color:#000}.contrast-high .jq-board__piece[data-player=white]{color:#7a0000;border-color:#000}.contrast-high .jq-board__piece[data-hidden=true]{color:#000;background-color:#fff;border-color:#000}.contrast-high .jq-board__camp,.contrast-high .jq-board__hq{background:#fff;border-color:#000}.contrast-high .jq-board__camp:before{border-color:#000}.dsq-board{--dsq-select:#ffd34d;--dsq-focus:#0b5fff;--dsq-radius:20px;--dsq-frame:clamp(3px, calc(var(--board-size,360px) * .013), 11px);--dsq-gap:clamp(1px, calc(var(--board-size,360px) * .006), 4px);--dsq-font:"Yuanti SC", YouYuan, "Hiragino Maru Gothic ProN", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;--dsq-ink-black:#26456a;--dsq-ink-white:#cf452e;gap:var(--dsq-gap);box-sizing:border-box;aspect-ratio:7/9;width:100%;min-width:200px;max-width:420px;padding:var(--dsq-frame);border-radius:var(--dsq-radius);color:#1b1f24;background-color:#1b2c44;background-image:radial-gradient(130% 60% at 50% -12%,#96beeb47,#96beeb00 62%),linear-gradient(168deg,#2a4463 0%,#1b2c44 46%,#12202f 100%);grid-template-rows:repeat(9,1fr);grid-template-columns:repeat(7,1fr);margin-inline:auto;display:grid;position:relative;box-shadow:inset 0 2px #ffffff29,inset 0 -4px #00000059,0 12px 22px -12px #020810e6,0 3px 8px -4px #020810b3;container-type:inline-size}.dsq-board:before{content:"";inset:var(--dsq-frame);border-radius:calc(var(--dsq-radius) - var(--dsq-frame) * .7);pointer-events:none;background-color:#14273c;background-image:radial-gradient(#ffffff0f 0 1px,#fff0 1.4px),radial-gradient(120% 62% at 50% -10%,#78aadc33,#78aadc00 66%),linear-gradient(172deg,#1c3150 0%,#142438 58%,#0e1b29 100%);background-size:11px 11px,auto,auto;position:absolute;box-shadow:inset 0 0 0 1px #e8b64c57,inset 0 -6px 14px #00000073}.dsq-board:after{content:"";inset:calc(var(--dsq-frame) * .34);border-radius:calc(var(--dsq-radius) - var(--dsq-frame) * .25);pointer-events:none;position:absolute;box-shadow:inset 0 1px #ffe2a059,inset 0 0 0 1px #e8b64c29}.dsq-cell{min-width:0;min-height:0;color:inherit;font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background-color:#f6ecd8eb;background-image:linear-gradient(#fffaf0f5 0%,#f3e6cde6 62%,#e4d2afdb 100%);border:1.5px solid #e8b64c75;border-radius:22%;place-items:center;margin:0;padding:0;line-height:1;display:grid;position:relative;box-shadow:0 2px #040c1661,inset 0 -2px #be9e6842}.dsq-cell[data-water=true]{cursor:default;background-color:#7cc4ea;background-image:radial-gradient(circle at 28% 30%,#fffffff2 0 1.6px,#fff0 2.4px),radial-gradient(circle at 66% 62%,#ffffffb3 0 1px,#fff0 1.8px),radial-gradient(circle at 44% 82%,#ffffff8c 0 .9px,#fff0 1.6px),linear-gradient(176deg,#b9e6ff 0%,#79c6ef 52%,#4e9dd1 100%);border-color:#96d2f5b3;box-shadow:0 2px #040c1659,inset 0 2px 3px #ffffffb3,inset 0 -3px 6px #1c5c8a47}.dsq-cell[data-trap]{background-color:#f6cf92;background-image:radial-gradient(circle at 50% 44%,#ffffffd1,#fff0 66%),linear-gradient(178deg,#f9dbaa 0%,#eab96f 100%);border-color:#e2a854cc;box-shadow:0 2px #040c1659,inset 0 -2px #aa702657}.dsq-cell[data-trap]:after{content:"";pointer-events:none;border:2px dashed #c57a20b8;border-radius:16%;position:absolute;inset:21%;transform:rotate(45deg)}.dsq-cell[data-den=true]{cursor:default;background-color:#ffdf95;background-image:radial-gradient(circle at 50% 44%,#fffbdf 0%,#ffdd8a 56%,#efb748 100%);border-color:#ffd678e6;box-shadow:0 2px #040c1659,inset 0 0 0 2px #ffffffd9,0 0 10px #e8b64c8c}.dsq-cell[data-den=true]:after{content:"";pointer-events:none;border:2px dashed #ba7c16ad;border-radius:50%;position:absolute;inset:10%}.dsq-cell:disabled{cursor:default}.dsq-cell:focus-visible{outline:2px solid var(--dsq-focus);outline-offset:-2px}.dsq-cell[data-recommendation]{outline-offset:-3px;outline:2px solid #ffc62e}.dsq-cell[data-recommendation=from]{outline-color:#7fd7ff}.dsq-piece{--dsq-ring:#e0533d;--dsq-ring-dark:#b23a28;--dsq-face-top:#fffdf8;--dsq-face-bottom:#ffe1d3;--dsq-piece-ink:var(--dsq-ink-white);box-sizing:border-box;background-color:var(--dsq-face-top);background-image:radial-gradient(circle at 50% 118%, var(--dsq-face-bottom) 0%, var(--dsq-face-top) 68%), linear-gradient(180deg, var(--dsq-face-top), var(--dsq-face-bottom));width:84%;height:84%;color:var(--dsq-piece-ink);font-family:var(--dsq-font);text-shadow:0 1px #fffffff2;box-shadow:inset 0 0 0 2px #fff, inset 0 -3px 5px #7850281f, 0 0 0 2px var(--dsq-ring), 0 3px 0 var(--dsq-ring-dark), 0 6px 9px -4px #040e189e;pointer-events:none;border-radius:50%;place-items:center;font-size:clamp(12px,7cqw,31px);font-weight:700;line-height:1;transition:transform .16s cubic-bezier(.34,1.56,.64,1),box-shadow .16s;display:grid;position:relative}.dsq-piece:before{content:"";pointer-events:none;background:radial-gradient(closest-side,#fffffff2,#fff0);border-radius:50%;width:40%;height:27%;position:absolute;top:8%;left:15%;transform:rotate(-20deg)}.dsq-piece[data-player=white]{--dsq-ring:#e0533d;--dsq-ring-dark:#b23a28;--dsq-face-top:#fffdf9;--dsq-face-bottom:#ffe0d1;--dsq-piece-ink:var(--dsq-ink-white)}.dsq-piece[data-player=black]{--dsq-ring:#3f648f;--dsq-ring-dark:#294662;--dsq-face-top:#fbfdff;--dsq-face-bottom:#dbe7f6;--dsq-piece-ink:var(--dsq-ink-black)}@media (hover:hover){.dsq-cell:not(:disabled):not([aria-pressed=true]):hover .dsq-piece{box-shadow:inset 0 0 0 2px #fff, inset 0 -3px 5px #7850281f, 0 0 0 2px var(--dsq-ring), 0 5px 0 var(--dsq-ring-dark), 0 9px 12px -5px #040e189e;transform:translateY(-2px)}}@media (prefers-reduced-motion:reduce){.dsq-piece{transition:none}}.dsq-cell[aria-pressed=true] .dsq-piece{box-shadow:inset 0 0 0 2px #fff, inset 0 -3px 5px #7850281f, 0 0 0 3px #fff, 0 0 0 6px var(--dsq-select), 0 4px 0 var(--dsq-ring-dark), 0 10px 16px -5px #040e18b3;transform:translateY(-3px)scale(1.04)}.dsq-mark{z-index:1;font-family:var(--dsq-font);color:#b07d24;text-shadow:0 1px #fffcf0f2;pointer-events:none;font-size:clamp(8px,3.6cqw,16px);font-weight:700;position:relative}.dsq-cell[data-trap] .dsq-mark{color:#9a6416}.dsq-cell[data-den=true] .dsq-mark{color:#8d5f12}.dsq-dest{pointer-events:none;background:radial-gradient(circle at 34% 28%,#fff6b8 0%,#ffc62e 52%,#e8940f 100%);border-radius:50%;width:36%;height:36%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #fff,0 2px 5px #96641073}@media (prefers-reduced-motion:no-preference){:root:not(.motion-reduce) .dsq-dest{animation:1.6s ease-in-out infinite dsq-dest-pulse}@keyframes dsq-dest-pulse{0%,to{transform:translate(-50%,-50%)scale(1)}50%{transform:translate(-50%,-50%)scale(1.14)}}}.contrast-high .dsq-board{background-color:#fff;background-image:none;box-shadow:inset 0 0 0 2px #000}.contrast-high .dsq-board:before{background-color:#fff;background-image:none;box-shadow:inset 0 0 0 1px #000}.contrast-high .dsq-board:after{box-shadow:none}.contrast-high .dsq-cell{box-shadow:none;background-color:#fff;background-image:none;border-color:#000}.contrast-high .dsq-cell[data-water=true]{box-shadow:none;background-color:#cfe6f5;background-image:none}.contrast-high .dsq-cell[data-trap]{box-shadow:none;background-color:#fff;background-image:none}.contrast-high .dsq-cell[data-trap]:after,.contrast-high .dsq-cell[data-den=true]:after{border-color:#000}.contrast-high .dsq-cell[data-den=true]{background-color:#fff;background-image:none;box-shadow:inset 0 0 0 2px #000}.contrast-high .dsq-piece{background-color:#fff;background-image:none;box-shadow:0 0 0 2px #000}.contrast-high .dsq-piece:before{display:none}.contrast-high .dsq-cell[aria-pressed=true] .dsq-piece{box-shadow:0 0 0 2px #000,0 0 0 5px #000}.contrast-high .dsq-piece[data-player=black]{color:#000}.contrast-high .dsq-piece[data-player=white]{color:#7a0000}.contrast-high .dsq-mark{color:#000;text-shadow:none}.contrast-high .dsq-dest{box-shadow:none;background:#000;animation:none}.screen.game.wolf-game .xq-board{--xq-frame:clamp(6px, calc(var(--board-size) * .014), 14px);--xq-gap:clamp(4px, calc(var(--board-size) * .007), 8px);--xq-radius:clamp(12px, calc(var(--board-size) * .03), 26px);box-sizing:border-box;width:min(100%, calc(var(--board-size) * 8 / 9));aspect-ratio:8/9;flex:none;min-width:0;max-width:none;height:auto}.screen.game.wolf-game .dsq-board{box-sizing:border-box;width:min(100%, calc(var(--board-size) * 7 / 9));aspect-ratio:7/9;flex:none;min-width:0;max-width:none;height:auto}.screen.game.wolf-game .jq-board{box-sizing:border-box;width:min(100%, calc(var(--board-size) * 8 / 9));aspect-ratio:8/9;flex:none;min-width:0;max-width:none;height:auto}.folk-board[data-kind=wuziqi] .folk-board__point{border-radius:0;width:calc(7.14286% - 3.14286px);min-width:0;height:calc(7.14286% - 3.14286px);min-height:0}.folk-board[data-kind=wuziqi] .folk-board__piece,.screen.game.wolf-game .folk-board[data-kind=wuziqi] .folk-board__piece{width:86%;min-width:0;height:86%;min-height:0;box-shadow:none;border-width:1px}.folk-board[data-kind=wuziqi] .folk-board__point[aria-pressed=true] .folk-board__piece{outline:1px solid var(--folk-board-select);outline-offset:0}.folk-board[data-kind=wuziqi] .folk-board__dest{width:24%;height:24%;box-shadow:none;background:#7a4e1e73;outline:0}.folk-board[data-kind=wuziqi] .folk-board__coord{max-width:100%;max-height:100%;text-shadow:none;font-size:clamp(5px,1.5vw,9px);overflow:hidden}.folk-board[data-kind=wuziqi] .folk-board__point[data-recommendation]{outline-offset:-1px;outline-width:1px}.dr-board{--dr-light:#f2dcae;--dr-dark:#6a4420;--dr-select:#e8b64c;--dr-hint:#ffd479;--dr-focus:#0b5fff;--dr-frame:clamp(9px, 4.2%, 26px);isolation:isolate;box-sizing:border-box;aspect-ratio:1;width:100%;min-width:220px;max-width:440px;padding:var(--dr-frame);background:repeating-linear-gradient(93deg,#ffe2b009 0 5px,#3a200c0d 5px 13px,#ffe2b005 13px 23px),linear-gradient(150deg,#8b6031 0%,#6f4722 44%,#53320f 100%);border-radius:clamp(10px,4%,22px);flex-direction:column;margin-inline:auto;display:flex;position:relative;box-shadow:0 16px 28px #0c070273,0 4px 9px #180e0561,inset 0 2px #ffe4ae57,inset 0 -5px 10px #180d048c;container-type:inline-size}.dr-board__field{background:#46290e;border-radius:clamp(4px,1.4%,8px);flex:auto;grid-template-rows:repeat(10,1fr);grid-template-columns:repeat(10,1fr);min-width:0;min-height:0;display:grid;overflow:hidden;box-shadow:inset 0 0 0 1px #ffe8ba42,inset 0 5px 12px #00000080,inset 0 -4px 10px #0000004d}.dr-board:before{content:"";inset:calc(var(--dr-frame) * .5);z-index:-1;pointer-events:none;border-radius:clamp(6px,3%,16px);position:absolute;box-shadow:inset 0 0 0 1px #ffe2b02e,inset 0 0 0 2px #26140661}.dr-board:after{content:"";z-index:-1;pointer-events:none;border-radius:clamp(8px,3.2%,18px);position:absolute;inset:clamp(2px,1%,6px);box-shadow:inset 0 0 0 1px #ffd68a38}.dr-cell{box-sizing:border-box;color:#f6ead2;background-color:var(--dr-dark);background-image:repeating-linear-gradient(97deg,#ffdca009 0 5px,#26140609 5px 17px),repeating-linear-gradient(83deg,#ffe2ac05 0 3px,#26140600 3px 9px),radial-gradient(120% 90% at 26% 20%,#ffd69e21,#ffd69e00 64%),linear-gradient(158deg,#6f4720 0%,#573618 52%,#43260c 100%);border:0;justify-content:center;align-items:center;min-width:0;min-height:0;margin:0;padding:0;display:flex;position:relative;box-shadow:inset 0 1px #ffe2ae1a,inset 0 0 0 .5px #1e10044d}.dr-cell[data-light=true]{background-color:var(--dr-light);background-image:repeating-linear-gradient(99deg,#fffcee0d 0 6px,#b0844a04 6px 19px),repeating-linear-gradient(85deg,#ffffff08 0 3px,#b0844a00 3px 11px),radial-gradient(120% 90% at 28% 18%,#fffdf280,#fffdf200 66%),linear-gradient(158deg,#f4e2b8 0%,#ecd4a2 56%,#dfc28c 100%);box-shadow:inset 0 1px #ffffff57,inset 0 0 0 .5px #78542833}.dr-cell:disabled{cursor:default}.dr-cell:focus-visible{outline:2px solid var(--dr-focus);outline-offset:-2px}.dr-piece{aspect-ratio:1;border-radius:50%;width:82%;position:relative;box-shadow:inset 0 clamp(1px,.32cqw,1.8px) clamp(1px,.5cqw,2.6px) #fff4d680,inset 0 calc(-1*clamp(1px,.6cqw,2px)) clamp(2px,.8cqw,4px) #1c0f0580,inset 0 0 0 clamp(1px,.28cqw,1.6px) #fff6dc61,inset 0 0 0 clamp(2px,.62cqw,3.4px) #3a220c52,inset 0 0 0 clamp(3px,.9cqw,5px) #fff0cd2e,0 clamp(2px,.5cqw,3px) clamp(3px,.9cqw,5px) #10080273,0 1px 1.5px #10080280}.dr-piece:after{content:"";border:clamp(1px, .3cqw, 1.6px) solid var(--dr-groove,#fff4d642);pointer-events:none;border-radius:50%;position:absolute;inset:21%;box-shadow:0 1px 1px #fff8e259,inset 0 1px 1.5px #22130666}.dr-piece[data-player=black]{--dr-groove:#d6c6a84d;background:radial-gradient(circle at 33% 25%,#6b6258 0%,#4a433a 22%,#2c2721 50%,#191510 76%,#0c0a07 100%)}.dr-piece[data-player=white]{--dr-groove:#7a684861;background:radial-gradient(circle at 33% 25%,#fffefb 0%,#faf3e2 26%,#ecdfc4 54%,#d2c1a0 80%,#b3a184 100%);box-shadow:inset 0 clamp(1px,.32cqw,1.8px) clamp(1px,.5cqw,2.6px) #fffc,inset 0 calc(-1*clamp(1px,.6cqw,2px)) clamp(2px,.8cqw,4px) #6c5c3e61,inset 0 0 0 clamp(1px,.28cqw,1.6px) #fff9,inset 0 0 0 clamp(2px,.62cqw,3.4px) #70604247,inset 0 0 0 clamp(3px,.9cqw,5px) #ffffff4d,0 clamp(2px,.5cqw,3px) clamp(3px,.9cqw,5px) #1e100566,0 1px 1.5px #1e100573}.dr-piece[data-king=true]:before{content:"";pointer-events:none;border-radius:50%;position:absolute;inset:15%;box-shadow:inset 0 0 0 clamp(1px,.3cqw,1.6px) #f0c460eb,0 0 0 clamp(1px,.3cqw,1.6px) #180d0347}.dr-piece[data-king=true]:after{box-shadow:none;filter:drop-shadow(0 1px #fffae880);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M5 24.4h22l-1.9-11.2-5.9 4.4L16 8.6 12.8 17.6 6.9 13.2z' fill='%23f3ca6d' stroke='%23512f08' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='M7.2 27.2h17.6' stroke='%23512f08' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 50%/contain no-repeat;border:0;border-radius:0;inset:24%}.dr-cell[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--dr-select), inset 0 0 14px #f0c26473}.dr-cell[aria-pressed=true] .dr-piece{filter:drop-shadow(0 0 4px #ffcd6ecc)brightness(1.05)}.dr-dest{aspect-ratio:1;pointer-events:none;background:radial-gradient(circle at 38% 32%,#fff3c8 0%,#ffcf6a 46%,#cf8a20 100%);border-radius:50%;width:34%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 clamp(1px,.3cqw,1.6px) #fff3c880,0 0 8px #ffc45480,inset 0 1px 2px #ffffffb3}.dr-coord{color:#f3e3c6;opacity:.5;text-shadow:0 1px #00000073;font-size:clamp(6px,1.6cqw,11px)}.dr-cell[data-recommendation]{outline:2px solid var(--dr-select);outline-offset:-3px}@media (prefers-reduced-motion:no-preference){.dr-piece{transition:filter .16s}}.contrast-high .dr-cell,.contrast-high .dr-cell[data-light=true]{background-image:none;box-shadow:inset 0 0 0 1px #000}.contrast-high .dr-cell{background-color:#3a3a3a}.contrast-high .dr-cell[data-light=true]{background-color:#fff}.contrast-high .dr-piece[data-player=black]{background:#000;box-shadow:inset 0 0 0 2px #fff}.contrast-high .dr-piece[data-player=white]{background:#fff;box-shadow:inset 0 0 0 2px #000}.contrast-high .dr-piece:after{box-shadow:none;border-color:#0000}.contrast-high .dr-dest{background:#ffd400;box-shadow:0 0 0 2px #000}.screen.game.wolf-game .dr-board{box-sizing:border-box;width:var(--board-size);height:var(--board-size);flex:none;min-width:0;max-width:none}.tq-board{--tq-hole:#c9a86a;--tq-line:#8a6a3c;--tq-select:#e8b64c;--tq-hint:#ffd479;--tq-focus:#0b5fff;box-sizing:border-box;aspect-ratio:1;border:2px solid var(--tq-line);background:radial-gradient(circle,#fff6e0d9,#e2c694f2),#e2c694;border-radius:18px;width:100%;max-width:460px;margin-inline:auto;position:relative;overflow:hidden}.tq-point{aspect-ratio:1;box-sizing:border-box;background:var(--tq-hole);border:0;border-radius:50%;justify-content:center;align-items:center;width:3.6%;min-width:0;min-height:0;margin:0;padding:0;display:flex;position:absolute;transform:translate(-50%,-50%)}.tq-point[data-camp=white]{box-shadow:inset 0 0 0 1px var(--tq-line);background:#fff6e0}.tq-point[data-camp=black]{box-shadow:inset 0 0 0 1px var(--tq-line);background:#b08b52}.tq-board .tq-point:active{transform:translate(-50%,-50%)}.tq-point:disabled{cursor:default}.tq-point:focus-visible{outline:2px solid var(--tq-focus);outline-offset:1px}.tq-point[aria-pressed=true]{box-shadow:0 0 0 2px var(--tq-select)}.tq-piece{aspect-ratio:1;border-radius:50%;width:92%;box-shadow:inset 0 1px 1px #fff6,0 1px 2px #0000004d}.tq-piece[data-player=black]{background:radial-gradient(circle at 35% 30%,#4a4f57,#14161a 70%)}.tq-piece[data-player=white]{background:radial-gradient(circle at 35% 30%,#fff,#d8cfbd 70%);box-shadow:inset 0 0 0 1px #5a462866,0 1px 2px #00000040}.tq-dest{aspect-ratio:1;background:var(--tq-hint);border-radius:50%;width:52%;position:absolute;box-shadow:0 0 0 1px #0000004d}.tq-coord{opacity:.5;color:#2a1c0c;font-size:6px}.tq-point[data-recommendation]{outline:2px solid var(--tq-select);outline-offset:1px}.screen.game.wolf-game .tq-board{box-sizing:border-box;width:var(--board-size);height:var(--board-size);flex:none;max-width:none}.rv-board{--rv-light:#7fa86a;--rv-dark:#5c8a4b;--rv-line:#33502a;--rv-select:#e8b64c;--rv-hint:#ffffff6b;--rv-focus:#0b5fff;box-sizing:border-box;aspect-ratio:1;border:2px solid var(--rv-line);background:linear-gradient(135deg,#3f5f33,#24401f);border-radius:14px;grid-template-rows:repeat(8,1fr);grid-template-columns:repeat(8,1fr);width:100%;min-width:220px;max-width:440px;margin-inline:auto;padding:6px;display:grid;container-type:inline-size}.rv-cell{box-sizing:border-box;background:var(--rv-dark);color:#f2f8ec;border:0;justify-content:center;align-items:center;margin:0;padding:0;display:flex;position:relative}.rv-cell[data-parity=light]{background:var(--rv-light)}.rv-cell:disabled{cursor:default}.rv-cell:focus-visible{outline:2px solid var(--rv-focus);outline-offset:-2px}.rv-cell[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--rv-select)}.rv-disc{aspect-ratio:1;border-radius:50%;width:80%;box-shadow:inset 0 1px 2px #ffffff59,0 1px 2px #0006}.rv-disc[data-player=black]{background:radial-gradient(circle at 35% 30%,#4a4f57,#14161a 70%)}.rv-disc[data-player=white]{background:radial-gradient(circle at 35% 30%,#fff,#d8cfbd 70%);box-shadow:inset 0 0 0 1px #3c321e80,0 1px 2px #00000059}.rv-cell[data-suggestion=true]{box-shadow:inset 0 0 0 2px var(--rv-hint)}.rv-hint{aspect-ratio:1;background:var(--rv-hint);border-radius:50%;width:26%;position:absolute;box-shadow:0 0 0 1px #0003}.rv-coord{opacity:.55;font-size:clamp(6px,1.6cqw,11px)}.rv-cell[data-recommendation]{outline:2px solid var(--rv-select);outline-offset:-3px}.contrast-high .rv-cell{border:1px solid #000}.contrast-high .rv-disc[data-player=white]{box-shadow:inset 0 0 0 2px #000}.screen.game.wolf-game .rv-board{box-sizing:border-box;width:var(--board-size);height:var(--board-size);flex:none;min-width:0;max-width:none}.lhb-board{--lhb-frame:#6b4a26;--lhb-cell:#c9a86d;--lhb-select:#e8b64c;--lhb-hint:#fff9;--lhb-focus:#0b5fff;box-sizing:border-box;aspect-ratio:1;border:2px solid var(--lhb-frame);background:linear-gradient(135deg,#8a5f30,#4d331a);border-radius:14px;grid-template-rows:repeat(4,1fr);grid-template-columns:repeat(4,1fr);gap:4px;width:100%;min-width:200px;max-width:360px;margin-inline:auto;padding:8px;display:grid;container-type:inline-size}.lhb-cell{box-sizing:border-box;background:var(--lhb-cell);cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:3px;display:flex;position:relative}.lhb-cell:disabled{cursor:default}.lhb-cell:focus-visible{outline:2px solid var(--lhb-focus);outline-offset:-2px}.lhb-cell[data-suggestion=true]{box-shadow:inset 0 0 0 2px var(--lhb-hint)}.lhb-card{border-radius:7px;justify-content:center;align-items:flex-end;width:100%;height:100%;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 1px 2px #ffffff59,0 1px 2px #00000059}.lhb-face{object-fit:cover;pointer-events:none;-webkit-user-select:none;user-select:none;border-radius:5px;width:86%;height:86%;position:absolute;inset:7%;box-shadow:0 1px 2px #0000004d}.lhb-glyph{letter-spacing:.05em;border-radius:999px;margin-bottom:2%;padding:0 7%;font-size:clamp(11px,5.4cqw,20px);font-weight:700;line-height:1.5;position:relative}.lhb-card[data-player=black] .lhb-glyph{color:#ffe6b8;background:#0a0806cc;box-shadow:inset 0 0 0 1px #d6b0668c}.lhb-card[data-player=white] .lhb-glyph{color:#2b2114;background:#fffbf0e6;box-shadow:inset 0 0 0 1px #78603c80}.lhb-card[data-player=black]{color:#f4efe3;background:linear-gradient(160deg,#4a5058,#14171c);box-shadow:inset 0 0 0 2px #0b0d10,0 1px 2px #00000073}.lhb-card[data-player=white]{color:#23201a;background:linear-gradient(160deg,#fffdf6,#d8cbb0);box-shadow:inset 0 0 0 2px #b8a882,0 1px 2px #00000059}.lhb-back{background:repeating-linear-gradient(45deg,#2f5b7a 0 6px,#27506d 6px 12px);box-shadow:inset 0 0 0 2px #173345,0 1px 2px #0006}.lhb-coord{opacity:.5;font-size:clamp(8px,2.2cqw,13px)}.lhb-cell[aria-pressed=true]{box-shadow:inset 0 0 0 3px var(--lhb-select)}.lhb-hint{aspect-ratio:1;background:var(--lhb-hint);border-radius:50%;width:18%;position:absolute;box-shadow:0 0 0 1px #00000040}.lhb-cell[data-recommendation]{outline:2px solid var(--lhb-select);outline-offset:-3px}.contrast-high .lhb-cell{border:1px solid #000}.contrast-high .lhb-card[data-player=white]{box-shadow:inset 0 0 0 2px #000}.folk-board[data-kind=chengsan],.screen.game.wolf-game .folk-board[data-kind=chengsan]{--folk-board-line:#46280f;--folk-board-select:#f0c264;isolation:isolate;box-sizing:border-box;background:repeating-linear-gradient(96deg,#ffdca00d 0 4px,#2814080f 4px 9px),linear-gradient(155deg,#7c4f25 0%,#5f3819 40%,#46260f 100%);border:0;border-radius:20px;position:relative;box-shadow:0 20px 34px #0c060280,0 6px 12px #1e100666,inset 0 2px #ffdb9e66,inset 0 -4px 8px #180c0499}.folk-board[data-kind=chengsan]:before{content:"";z-index:-1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cg fill='none' stroke='%23683d13' stroke-opacity='.085' stroke-width='1.4' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M8 54l19-21 12 13 8-9 17 17'/%3E%3Cpath d='M58 54l13-15 9 10 8-8 12 13'/%3E%3Cpath d='M30 20c4-4 9-4 12 0 3-3 8-3 11 1'/%3E%3Cpath d='M70 25c4-4 9-4 12 0 3-3 8-3 11 1'/%3E%3C/g%3E%3C/svg%3E") 50% 52%/78% no-repeat,radial-gradient(115% 70% at 50% 0,#fff2d099,#fff2d000 62%),repeating-linear-gradient(92deg,#7c4c1e0e 0 5px,#fff1cd0f 5px 11px,#7c4c1e09 11px 19px),radial-gradient(80% 62% at 50% 56%,#fff7e099,#fff7e000 74%),linear-gradient(160deg,#eccb93 0%,#ddb271 46%,#c9904b 100%);border-radius:13px;position:absolute;inset:11px;box-shadow:inset 0 0 0 2px #5c36148c,inset 0 0 0 3px #ffecc46b,inset 0 9px 20px #5c321047,inset 0 -7px 16px #ffeec852}.folk-board[data-kind=chengsan]:after{content:"";pointer-events:none;background-image:radial-gradient(circle,#fff0c8 0 2.5px,#d8a55c 3px 6px,#603714bf 6.5px 8px,#60371400 8.5px),radial-gradient(circle,#fff0c8 0 2.5px,#d8a55c 3px 6px,#603714bf 6.5px 8px,#60371400 8.5px),radial-gradient(circle,#fff0c8 0 2.5px,#d8a55c 3px 6px,#603714bf 6.5px 8px,#60371400 8.5px),radial-gradient(circle,#fff0c8 0 2.5px,#d8a55c 3px 6px,#603714bf 6.5px 8px,#60371400 8.5px);background-position:-1px -1px,calc(100% + 1px) -1px,-1px calc(100% + 1px),calc(100% + 1px) calc(100% + 1px);background-repeat:no-repeat;background-size:18px 18px;border-radius:17px;position:absolute;inset:3px;box-shadow:inset 0 0 0 1px #ffdea842}.folk-board[data-kind=chengsan] .folk-board__edge{stroke:#41240c;stroke-width:.85px;stroke-linecap:round;filter:drop-shadow(0 1px #fff0cd99)}.folk-board[data-kind=chengsan] .folk-board__point:before{content:"";pointer-events:none;background:radial-gradient(circle at 42% 36%,#6f4620 0%,#4a2a10 58%,#2e1a08 100%);border-radius:50%;width:13px;height:13px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:inset 0 1px 1px #0000008c,0 1px #ffeec88c}.folk-board[data-kind=chengsan] .folk-board__piece,.screen.game.wolf-game .folk-board[data-kind=chengsan] .folk-board__piece{width:clamp(22px, calc(var(--board-size,320px) * .085), 42px);height:clamp(22px, calc(var(--board-size,320px) * .085), 42px);pointer-events:none;border:0;font-size:0;overflow:visible;box-shadow:inset 0 0 0 2px #fff9,inset 0 0 0 3px #785c344d,inset 0 0 0 5.5px #ffffff52,inset 0 0 0 6.5px #785c3429,inset 0 -4px 7px #60441e61,inset 0 4px 6px #fff9,0 4px 6px #26140873,0 1px 2px #26140880}.folk-board[data-kind=chengsan] .folk-board__piece:after{content:"";opacity:.6;pointer-events:none;background-position:50%;background-repeat:no-repeat;background-size:contain;border-radius:50%;position:absolute;inset:22%}.folk-board[data-kind=chengsan] .folk-board__piece[data-player=white]{color:#3a2a14;background:radial-gradient(circle at 34% 24%,#fffdf6 0%,#f6edda 34%,#e2cfa8 68%,#bfa377 100%);border:0}.folk-board[data-kind=chengsan] .folk-board__piece[data-player=white]:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23806a44' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M16 5.8a10.2 10.2 0 1 0 10.2 10.2'/%3E%3Cpath d='M16 10.6a5.4 5.4 0 1 1-5.4 5.4'/%3E%3C/g%3E%3C/svg%3E")}.folk-board[data-kind=chengsan] .folk-board__piece[data-player=black]{color:#e8e2cf;background:radial-gradient(circle at 34% 24%,#52637d 0%,#33415a 34%,#1d273b 68%,#0e1522 100%);border:0;box-shadow:inset 0 0 0 2px #e2ecff42,inset 0 0 0 3px #0000007a,inset 0 0 0 5.5px #bed2f029,inset 0 0 0 6.5px #0006,inset 0 -4px 7px #00000080,inset 0 4px 6px #b4cdf04d,0 4px 6px #140c0680,0 1px 2px #140c068c}.folk-board[data-kind=chengsan] .folk-board__piece[data-player=black]:after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23cfd8e6' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M16 5.8a10.2 10.2 0 1 0 10.2 10.2'/%3E%3Cpath d='M16 10.6a5.4 5.4 0 1 1-5.4 5.4'/%3E%3C/g%3E%3C/svg%3E")}.folk-board[data-kind=chengsan] .folk-board__point[aria-pressed=true] .folk-board__piece{box-shadow:inset 0 0 0 2px #ffffff8c, inset 0 0 0 3.5px #785c3461, 0 4px 6px #26140873, 0 0 0 3px var(--folk-board-select), 0 0 12px #f0c26499}.folk-board[data-kind=chengsan] .folk-board__dest{background:radial-gradient(circle,#ffe7b0e6 0 2.5px,#ffd07e00 4px);border-radius:50%;width:16px;height:16px;box-shadow:0 0 0 1px #ffd48e80,0 0 8px #ffbe5a4d}.folk-board[data-kind=chengsan] .folk-board__coord{color:#4a2c11;text-shadow:0 1px #fff0cdcc}@media (prefers-reduced-motion:no-preference){.folk-board[data-kind=chengsan] .folk-board__piece{transition:box-shadow .16s,filter .16s}}.contrast-high .folk-board[data-kind=chengsan] .folk-board__piece[data-player=black]{box-shadow:inset 0 0 0 2px #fff,0 2px 4px #0009}.contrast-high .folk-board[data-kind=chengsan] .folk-board__piece[data-player=white]{box-shadow:inset 0 0 0 2px #000,0 2px 4px #0009}.folk-board[data-kind=langchiwa],.screen.game.wolf-game .folk-board[data-kind=langchiwa]{--folk-board-line:#4a2b0e;--folk-board-select:#ffd977;--folk-board-hint:#a8601b;--folk-board-inset:clamp(34px, 9%, 64px);isolation:isolate;box-sizing:border-box;background:repeating-linear-gradient(94deg,#ffd89e0d 0 3px,#2e180812 3px 9px),linear-gradient(158deg,#955f2b 0%,#74441c 46%,#4f2a10 100%);border:0;border-radius:20px;position:relative;box-shadow:0 18px 30px #0a060280,0 5px 10px #1a0d046b,inset 0 2px #ffd69861,inset 0 -5px 10px #1a0c0499}.folk-board[data-kind=langchiwa]:before{content:"";z-index:-1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cg fill='none' stroke='%235c3811' stroke-opacity='.045' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 62c9-5 15-15 17-25 3 9 7 16 15 22'/%3E%3Cpath d='M40 62c8-7 13-16 15-23 4 8 8 15 16 21'/%3E%3Cpath d='M74 62c7-5 11-11 13-17 3 6 7 11 14 15'/%3E%3Cpath d='M14 68c2-4 4-4 6 0M28 68c2-4 4-4 6 0M46 68c2-4 4-4 6 0M62 68c2-4 4-4 6 0M80 68c2-4 4-4 6 0M96 68c2-4 4-4 6 0'/%3E%3C/g%3E%3C/svg%3E") 50% 58%/64% no-repeat,radial-gradient(112% 68% at 50% 0,#fff4d68c,#fff4d600 62%),repeating-linear-gradient(91deg,#7e4e1e0d 0 6px,#fff3d20f 6px 12px,#7e4e1e08 12px 20px),radial-gradient(78% 60% at 50% 54%,#fff8e28c,#fff8e200 74%),linear-gradient(160deg,#efd3a4 0%,#dfb67d 48%,#c8944e 100%);border-radius:12px;position:absolute;inset:clamp(7px,2.2%,12px);box-shadow:inset 0 0 0 2px #5a341280,inset 0 0 0 3px #ffecc666,inset 0 10px 22px #5a300e42,inset 0 -8px 18px #fff0ce4d}.folk-board[data-kind=langchiwa]:after{content:"";pointer-events:none;background-image:radial-gradient(circle,#ffeec2 0 2px,#d9a95f 2.5px 5px,#603714b3 5.5px 7px,#60371400 7.5px),radial-gradient(circle,#ffeec2 0 2px,#d9a95f 2.5px 5px,#603714b3 5.5px 7px,#60371400 7.5px),radial-gradient(circle,#ffeec2 0 2px,#d9a95f 2.5px 5px,#603714b3 5.5px 7px,#60371400 7.5px),radial-gradient(circle,#ffeec2 0 2px,#d9a95f 2.5px 5px,#603714b3 5.5px 7px,#60371400 7.5px);background-position:-1px -1px,calc(100% + 1px) -1px,-1px calc(100% + 1px),calc(100% + 1px) calc(100% + 1px);background-repeat:no-repeat;background-size:16px 16px;border-radius:17px;position:absolute;inset:3px;box-shadow:inset 0 0 0 1px #ffdea838}.folk-board[data-kind=langchiwa] .folk-board__edge{stroke:#4a2b0e;stroke-width:.55px;stroke-linecap:round;filter:drop-shadow(0 1px #fff0cd61)}.folk-board[data-kind=langchiwa] .folk-board__point{width:clamp(44px, calc(var(--board-size,320px) * .13), 96px);height:clamp(44px, calc(var(--board-size,320px) * .13), 96px);min-width:0;min-height:0}.folk-board[data-kind=langchiwa] .folk-board__point:before{content:"";width:clamp(8px, calc(var(--board-size,320px) * .021), 15px);height:clamp(8px, calc(var(--board-size,320px) * .021), 15px);pointer-events:none;background:radial-gradient(circle at 42% 36%,#7a4c1f 0%,#502d10 58%,#33190a 100%);border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:inset 0 1px 1px #00000080,0 1px #ffeec880}.folk-board[data-kind=langchiwa] .folk-board__piece,.screen.game.wolf-game .folk-board[data-kind=langchiwa] .folk-board__piece{width:clamp(30px, calc(var(--board-size,320px) * .12), 92px);height:clamp(30px, calc(var(--board-size,320px) * .12), 92px);font-size:clamp(13px, calc(var(--board-size,320px) * .048), 34px);letter-spacing:0;border:0;font-weight:700;overflow:visible}.folk-board[data-kind=langchiwa] .folk-board__piece[data-player=white]{color:#43331a;text-shadow:0 1px #fffcf0d9,0 -1px #60461e2e;background:radial-gradient(circle at 34% 26%,#fffdf6 0%,#f9f1dd 32%,#ead9b4 68%,#cdb285 100%);border:0;box-shadow:inset 0 0 0 2px #ffffffb8,inset 0 0 0 3px #667c329e,inset 0 0 0 6.5px #ffffff4d,inset 0 0 0 7.5px #667c3233,inset 0 -5px 10px #6850284d,inset 0 5px 9px #fff9,0 5px 9px #2614086b,0 1px 2px #26140880}.folk-board[data-kind=langchiwa] .folk-board__piece[data-player=black]{color:#ffe6b8;text-shadow:0 1px 1px #000000b3,0 -1px #ffe0aa24;background:radial-gradient(circle at 34% 26%,#5d646c 0%,#383e45 26%,#1a1e22 66%,#07090b 100%);border:0;box-shadow:inset 0 0 0 2px #ffd6964d,inset 0 0 0 3px #c4682aa6,inset 0 0 0 6.5px #ffce8424,inset 0 0 0 7.5px #00000073,inset 0 -5px 10px #0000008c,inset 0 5px 9px #c6d6e833,0 5px 9px #100a0480,0 1px 2px #100a048c}.folk-board[data-kind=langchiwa] .folk-board__point[aria-pressed=true] .folk-board__piece{outline:3px solid var(--folk-board-select);outline-offset:1px;filter:drop-shadow(0 0 10px #ffcd69bf)}.folk-board[data-kind=langchiwa] .folk-board__dest{width:clamp(10px, calc(var(--board-size,320px) * .026), 18px);height:clamp(10px, calc(var(--board-size,320px) * .026), 18px);background:radial-gradient(circle at 50% 40%,#fff6d8 0%,#f4bd55 55%,#b9752a 100%);box-shadow:0 0 0 1px #fff6dcd9,0 2px 5px #3c200880}.folk-board[data-kind=langchiwa] .folk-board__coord{z-index:1;box-sizing:border-box;width:clamp(16px, calc(var(--board-size,320px) * .042), 26px);height:clamp(16px, calc(var(--board-size,320px) * .042), 26px);color:#4d2f0d;font-size:clamp(8px, calc(var(--board-size,320px) * .019), 11px);font-variant-numeric:tabular-nums;text-shadow:none;background:radial-gradient(circle at 42% 34%,#fffaf0,#f3e2c2 70%,#e0c69b 100%);border-radius:50%;place-items:center;font-weight:700;display:grid;position:relative;box-shadow:0 1px 2px #3c220a59,inset 0 0 0 1px #7852284d}@media (prefers-reduced-motion:no-preference){.folk-board[data-kind=langchiwa] .folk-board__piece{transition:box-shadow .16s,filter .16s}}.contrast-high .folk-board[data-kind=langchiwa] .folk-board__piece[data-player=white]{box-shadow:inset 0 0 0 2px #000,0 2px 4px #0009}.contrast-high .folk-board[data-kind=langchiwa] .folk-board__piece[data-player=black]{box-shadow:inset 0 0 0 2px #fff,0 2px 4px #0009}.folk-board[data-kind=weiqi],.screen.game.wolf-game .folk-board[data-kind=weiqi]{--folk-board-inset:6.7%;--folk-board-line:#60401f;--folk-board-select:#af4c28;--folk-board-hint:#76502b;background:repeating-linear-gradient(92deg,#0000 0 6px,#85501909 7px,#0000 8px 18px),repeating-linear-gradient(88deg,#0000 0 29px,#fff6d918 31px,#0000 33px 47px),radial-gradient(at 28% 18%,#fff0c54d,#0000 65%),linear-gradient(115deg,#e9c88d,#dfb575 58%,#d6a668);border:0;border-radius:12px;min-width:0;box-shadow:inset 0 0 0 1px #80532d,inset 0 0 0 4px #fff0cc52,inset 0 -3px 0 1px #8b582c45,0 3px 8px #1a100e30}.folk-board[data-kind=weiqi]:before{content:"";pointer-events:none;border:1px solid #8f622932;border-radius:5px;position:absolute;inset:2.4%}.folk-board[data-kind=weiqi] .folk-board__edge{stroke-width:1.05px;stroke-linecap:square;vector-effect:non-scaling-stroke}.folk-board[data-kind=weiqi] .weiqi-board__star{fill:var(--folk-board-line)}.folk-board[data-kind=weiqi] .folk-board__point{width:calc((100% - var(--folk-board-inset) * 2) / 12);height:calc((100% - var(--folk-board-inset) * 2) / 12);border-radius:0;min-width:0;min-height:0}.folk-board[data-kind=weiqi] .folk-board__piece,.screen.game.wolf-game .folk-board[data-kind=weiqi] .folk-board__piece{border-width:1px;width:92%;min-width:0;height:92%;min-height:0}.folk-board[data-kind=weiqi] .folk-board__piece[data-player=black]{background:radial-gradient(at 32% 23%,#fff2,#0000 42%),radial-gradient(circle at 38% 30%,#505552,#252a27 46%,#101411 80%,#080b09);border-color:#121312;box-shadow:inset 0 1px 1px #ffffff38,inset 0 -2px 3px #0008,0 1px 2px #28180966}.folk-board[data-kind=weiqi] .folk-board__piece[data-player=white]{background:radial-gradient(at 32% 23%,#fff 5%,#ffffff70 24%,#0000 50%),radial-gradient(circle at 38% 30%,#fffef8,#f0eee2 60%,#d5d1c1 86%,#bdb8a6);border-color:#bdb7a6;box-shadow:inset 0 1px 1px #fff,inset 0 -2px 3px #958e7052,0 1px 2px #28180966}.folk-board[data-kind=weiqi] .folk-board__point[aria-pressed=true] .folk-board__piece{outline:2px solid var(--folk-board-select);outline-offset:-2px}.folk-board[data-kind=weiqi] .folk-board__dest{opacity:.3;width:12%;height:12%;box-shadow:none}.folk-board[data-kind=weiqi] .folk-board__coord{max-width:100%;text-shadow:none;font-size:clamp(6px,1.6vw,10px);overflow:hidden}.folk-board[data-kind=weiqi] .folk-board__point[data-recommendation]{outline-offset:-2px;outline-width:2px}.contrast-high .folk-board[data-kind=weiqi] .folk-board__edge,.contrast-high .folk-board[data-kind=weiqi] .weiqi-board__star{stroke:#000;fill:#000}.contrast-high .folk-board[data-kind=weiqi] .folk-board__piece[data-player=black]{background:#111;border-color:#fff}.contrast-high .folk-board[data-kind=weiqi] .folk-board__piece[data-player=white]{background:#fff;border-color:#000}.gjxq-board{--gjxq-light:#f2dfba;--gjxq-light-deep:#e4c89c;--gjxq-dark:#b08355;--gjxq-dark-deep:#94683f;--gjxq-line:#4a2f14;--gjxq-select:#e8b64c;--gjxq-hint:#7b3a05;--gjxq-focus:#0b5fff;--gjxq-frame:clamp(6px, 3.6cqw, 22px);--gjxq-radius:16px;aspect-ratio:1;border-radius:var(--gjxq-radius);color:#1b1f24;isolation:isolate;background:repeating-linear-gradient(94deg,#ffe2b00e 0 1px,#0000 1px 6px),repeating-linear-gradient(4deg,#3a20080d 0 1px,#0000 1px 9px),linear-gradient(150deg,#ab7d47,#7c5228 46%,#4e3013);width:100%;min-width:260px;max-width:520px;margin-inline:auto;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffe4b480,inset 0 -5px 12px #1c0e0399,0 16px 30px -14px #0000009e,0 2px 6px #0000004d;container-type:inline-size}.gjxq-board__inner{inset:var(--gjxq-frame);border-radius:calc(var(--gjxq-radius) - 6px);background:var(--gjxq-light);position:absolute;overflow:hidden;box-shadow:inset 0 0 0 1px #fff6d980,inset 0 3px 12px #462a0e59,0 0 0 1px #3a200873}.gjxq-board__grid{grid-template-rows:repeat(8,1fr);grid-template-columns:repeat(8,1fr);width:100%;height:100%;display:grid}.gjxq-board__square{box-sizing:border-box;background-image:linear-gradient(158deg, #ffffff29, #fff0 56%), linear-gradient(184deg, var(--gjxq-light), var(--gjxq-light-deep));min-width:0;min-height:0;color:inherit;font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;border:0;border-radius:0;place-items:center;margin:0;padding:0;line-height:1;transition:box-shadow .14s,filter .14s;display:grid;position:relative}.gjxq-board__square[data-shade=dark]{background-image:linear-gradient(158deg, #ffffff1f, #fff0 56%), linear-gradient(184deg, var(--gjxq-dark), var(--gjxq-dark-deep))}.gjxq-board__square:disabled{cursor:default}.gjxq-board__square:focus-visible{outline:3px solid var(--gjxq-focus);outline-offset:-3px;z-index:2}@media (hover:hover){.gjxq-board__square:not(:disabled):hover{filter:brightness(1.06)}.gjxq-board__square:not(:disabled):not([aria-pressed=true]):hover .gjxq-board__piece{transform:translateY(-2%)}}.gjxq-board__square[aria-pressed=true]{z-index:1;box-shadow:inset 0 0 0 3px var(--gjxq-select), inset 0 0 18px #e8b64c8c}.gjxq-board__square[data-recommendation]{z-index:1;box-shadow:inset 0 0 0 3px var(--gjxq-hint), inset 0 0 14px #7b3a0566}.gjxq-board__piece{pointer-events:none;-webkit-user-select:none;user-select:none;filter:drop-shadow(0 2px 2px #2e1a0866);width:84%;height:92%;line-height:1;transition:transform .16s,filter .16s;display:block}.gjxq-board__square[aria-pressed=true] .gjxq-board__piece{filter:drop-shadow(0 5px 6px #2e1a0885);transform:translateY(-4%)scale(1.04)}.gjxq-piece{--gjxq-piece-hi:#fffef8;--gjxq-piece-fill:#efdfbe;--gjxq-piece-shade:#c8ab7c;--gjxq-piece-edge:#33271a;--gjxq-piece-detail:#8d7757;width:100%;height:100%;display:block;overflow:visible}.gjxq-piece[data-player=black]{--gjxq-piece-hi:#5c6b7c;--gjxq-piece-fill:#313b47;--gjxq-piece-shade:#131a22;--gjxq-piece-edge:#f3e6cc;--gjxq-piece-detail:#b3ac9e}.gjxq-piece__body{fill:var(--gjxq-piece-face,var(--gjxq-piece-fill));stroke:var(--gjxq-piece-edge);stroke-width:1.7px}.gjxq-piece__stop-hi{stop-color:var(--gjxq-piece-hi)}.gjxq-piece__stop-mid{stop-color:var(--gjxq-piece-fill)}.gjxq-piece__stop-shade{stop-color:var(--gjxq-piece-shade)}.gjxq-piece__detail{fill:none;stroke:var(--gjxq-piece-detail);stroke-width:1.3px}.gjxq-piece__eye{fill:var(--gjxq-piece-detail);stroke:none}.gjxq-board__dest{background:radial-gradient(circle at 38% 32%, #c06a12, var(--gjxq-hint) 64%);pointer-events:none;border-radius:50%;width:28%;height:28%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #fffae8e6,0 2px 6px #28160473}.gjxq-board__dest[data-capture=true]{background:0 0;width:78%;height:78%;box-shadow:inset 0 0 0 3px #7b3a05d9,inset 0 0 14px #7b3a0559}.gjxq-board__coord{color:#5a4023;font-variant-numeric:tabular-nums;opacity:.66;text-shadow:0 1px #fff8e699;pointer-events:none;font-size:clamp(7px,1.15vmin,10px);font-weight:700;line-height:1;position:absolute}.gjxq-board__square[data-shade=dark] .gjxq-board__coord{color:#fdf3dd;text-shadow:0 1px 1px #3c220a8c}.gjxq-board__coord--file{bottom:1px;right:2px}.gjxq-board__coord--rank{top:1px;left:2px}.gjxq-board__promote{z-index:3;box-sizing:border-box;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#18140eb8;align-content:center;justify-items:center;gap:10px;padding:12px;display:grid;position:absolute;inset:0}.gjxq-board__promote-title{color:#fdf5e3;text-shadow:0 1px 2px #00000080;margin:0;font-size:clamp(13px,2.4vmin,17px)}.gjxq-board__promote-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:min(100%,254px);display:grid}.gjxq-board__promote-button{aspect-ratio:1;background:linear-gradient(158deg, var(--gjxq-light), var(--gjxq-light-deep));cursor:pointer;border:1px solid #fff0cd8c;border-radius:10px;place-items:center;width:100%;min-width:0;min-height:44px;padding:6%;display:grid;box-shadow:0 4px 10px -4px #0009,inset 0 1px #fff9}@media (hover:hover){.gjxq-board__promote-button:hover{filter:brightness(1.06)}}.gjxq-board__promote-button:focus-visible{outline:3px solid var(--gjxq-focus);outline-offset:2px}.gjxq-board__promote-cancel{color:#fdf5e3}.screen.game.wolf-game .gjxq-board{width:min(100%, var(--board-size,520px));flex:none;min-width:0;max-width:none}@media (prefers-reduced-motion:reduce){.gjxq-board__square,.gjxq-board__piece{transition:none}}.contrast-high .gjxq-board{--gjxq-light:#fff;--gjxq-light-deep:#f2f2f2;--gjxq-dark:#7a7a7a;--gjxq-dark-deep:#686868;--gjxq-line:#000}.contrast-high .gjxq-piece{--gjxq-piece-hi:#fff;--gjxq-piece-fill:#fff;--gjxq-piece-shade:#fff;--gjxq-piece-edge:#000;--gjxq-piece-detail:#000}.contrast-high .gjxq-piece[data-player=black]{--gjxq-piece-hi:#000;--gjxq-piece-fill:#000;--gjxq-piece-shade:#000;--gjxq-piece-edge:#fff;--gjxq-piece-detail:#fff}.screen.proto-screen.dice{box-sizing:border-box;block-size:auto;inline-size:100%;max-inline-size:none;min-block-size:var(--player-page-height,calc(100dvh / var(--ui-scale,1)));max-block-size:none;min-inline-size:0;padding:max(12px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));flex-direction:column;gap:4px;display:flex;overflow:visible}.screen.proto-screen.dice .proto-head{box-sizing:border-box;flex:none;grid-template-columns:minmax(56px,1fr) minmax(0,5fr) minmax(56px,1fr);align-items:center;gap:8px;min-block-size:48px;inline-size:100%;max-inline-size:1000px;margin-inline:auto;display:grid}.screen.proto-screen.dice .proto-back{box-sizing:border-box;justify-self:start;min-block-size:44px;min-inline-size:44px;padding:8px 10px;font-size:14px}.screen.proto-screen.dice .proto-head__title{color:#fff4d7;text-align:center;letter-spacing:.045em;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;min-inline-size:0;margin:0;font-size:clamp(28px,4.8vw,42px);font-weight:900;line-height:1.16;overflow:visible}.screen.proto-screen.dice .proto-head__spacer{min-inline-size:0}.screen.proto-screen.dice .dice-table{box-sizing:border-box;flex:1 0 auto;grid-template-columns:minmax(0,1fr);align-content:center;align-items:center;gap:clamp(12px,2.2vh,22px);min-block-size:0;max-block-size:none;inline-size:100%;min-inline-size:0;max-inline-size:900px;margin:0 auto;padding:12px 0 8px;display:grid;overflow:visible}.screen.proto-screen.dice .dice-intro{text-align:center;grid-column:1/-1;justify-items:center;gap:4px;min-inline-size:0;display:grid}.screen.proto-screen.dice .dice-intro .proto-sub{color:#fff1d0;margin:0;font-size:clamp(17px,2.4vw,21px);font-weight:700;line-height:1.35}.screen.proto-screen.dice .dice-intro .proto-context{color:#e1e8df;overflow-wrap:anywhere;max-inline-size:100%;margin:0;font-size:12px;line-height:1.4}.screen.proto-screen.dice .dice-visual{justify-self:center;gap:10px;inline-size:100%;min-inline-size:0;max-inline-size:420px;display:grid}.screen.proto-screen.dice .dice-seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-inline-size:0;margin:0;display:grid}.screen.proto-screen.dice .dice-seat{text-align:center;overflow-wrap:anywhere;border-radius:14px;gap:5px;min-inline-size:0;padding:10px 8px}.screen.proto-screen.dice .dice-seat__name{flex-wrap:wrap;justify-content:center;font-size:14px;line-height:1.3}.screen.proto-screen.dice .dice-seat__parity{font-size:22px;line-height:1.2}.screen.proto-screen.dice .dice-die{flex:none;min-block-size:184px;inline-size:100%;min-inline-size:0;margin:0}.screen.proto-screen.dice .dice-die .dice-opening--embedded{inline-size:100%}.screen.proto-screen.dice .dice-die .dice-stage{flex:none;block-size:clamp(184px,28vh,256px);min-block-size:184px}.screen.proto-screen.dice .dice-ready{inline-size:100%}.screen.proto-screen.dice .dice-roll-target{box-sizing:border-box;min-block-size:184px;inline-size:100%;padding:26px}.screen.proto-screen.dice .dice-roll-stage{transform:scale(1.08)}.screen.proto-screen.dice .dice-summary{flex-direction:column;justify-content:center;justify-self:center;gap:14px;inline-size:100%;min-inline-size:0;max-inline-size:360px;display:flex}.screen.proto-screen.dice .dice-verdict{gap:8px;min-block-size:0;line-height:1.4}.screen.proto-screen.dice .dice-verdict>span{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;max-inline-size:100%}.screen.proto-screen.dice .dice-verdict__hint{font-size:14px}.screen.proto-screen.dice .dice-extras:empty{display:none}.screen.proto-screen.dice .dice-variant-note{text-align:center;overflow-wrap:anywhere;max-inline-size:100%}.screen.proto-screen.dice .dice-variants{flex-wrap:wrap;justify-content:center;gap:8px;min-inline-size:0;margin:0;display:flex}.screen.proto-screen.dice .dice-variant{box-sizing:border-box;color:#fff9e8;letter-spacing:.02em;background:#152b3ebd;border:1px solid #e8ca8a8c;border-radius:999px;min-block-size:40px;min-inline-size:76px;margin:0;padding:8px 18px;font-size:15px;font-weight:800;line-height:1.2}.screen.proto-screen.dice .dice-variant[aria-pressed=true]{color:#402e16;background:linear-gradient(#ffe9a3,#ecc158);border-color:#fff2b2;box-shadow:0 0 14px #ffcd6e47}.screen.proto-screen.dice .dice-variant:disabled{cursor:default;opacity:.55}.screen.proto-screen.dice .dice-variant[aria-pressed=true]:disabled{opacity:.85}.screen.proto-screen.dice .dice-variant:focus-visible{outline-offset:2px;outline:2px solid #fff2b2}.screen.proto-screen.dice .dice-extras,.screen.proto-screen.dice .dice-start{inline-size:100%;min-inline-size:0;margin:0}.screen.proto-screen.dice .proto-primary{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;min-block-size:48px;inline-size:100%;margin:0;padding:12px 16px;font-size:18px;line-height:1.35}.screen.proto-screen.dice .proto-foot{overflow-wrap:anywhere;inline-size:auto;max-inline-size:100%;margin:0;line-height:1.4}.screen.proto-screen.dice .dice-failed{box-sizing:border-box;overflow-wrap:anywhere;max-inline-size:560px;margin:auto}.dice-surface-black .dice-face{background:linear-gradient(145deg,#fffdf5 0%,#f7efd9 58%,#e7dac0 100%);border:1px solid #9f8b6c66;border-radius:16%;box-shadow:inset 0 2px 3px #ffffffd9,inset 0 -3px 5px #846f4f29}.dice-surface-black .dice-face[data-pip=red] .dice-pip:not(.dice-pip--off){background:radial-gradient(circle at 38% 32%,#c45d51,#a44138 74%,#8b3931);box-shadow:inset 0 1px 2px #4d1b1542,0 1px #ffffffb3}.dice-surface-black .dice-face[data-pip=blue] .dice-pip:not(.dice-pip--off){background:radial-gradient(circle at 38% 32%,#505453,#303535 74%,#252a2a);box-shadow:inset 0 1px 2px #00000038,0 1px #ffffffa6}@media (orientation:landscape) and (width>=540px) and (height<=600px){.screen.proto-screen.dice{gap:0;padding-block:8px 10px}.screen.proto-screen.dice .proto-head{min-block-size:44px}.screen.proto-screen.dice .proto-head__title{font-size:clamp(25px,4vw,34px)}.screen.proto-screen.dice .dice-table{grid-template-rows:auto auto;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:8px 24px;padding-block:4px}.screen.proto-screen.dice .dice-intro{grid-area:1/2;align-self:end;gap:2px}.screen.proto-screen.dice .dice-intro .proto-sub{font-size:16px}.screen.proto-screen.dice .dice-intro .proto-context{font-size:11px}.screen.proto-screen.dice .dice-visual{grid-area:1/1/span 2;gap:4px;max-inline-size:360px}.screen.proto-screen.dice .dice-seat{gap:2px;padding:6px}.screen.proto-screen.dice .dice-seat__name{font-size:12px}.screen.proto-screen.dice .dice-seat__parity{font-size:18px}.screen.proto-screen.dice .dice-die,.screen.proto-screen.dice .dice-roll-target,.screen.proto-screen.dice .dice-die .dice-stage{block-size:128px;min-block-size:128px}.screen.proto-screen.dice .dice-roll-target{padding:20px}.screen.proto-screen.dice .dice-roll-stage{transform:scale(.9)}.screen.proto-screen.dice .dice-summary{grid-area:2/2;align-self:start;gap:10px}}@media (width<=360px){.screen.proto-screen.dice{padding-inline:12px}.screen.proto-screen.dice .proto-head{grid-template-columns:52px minmax(0,1fr) 52px;gap:4px}.screen.proto-screen.dice .proto-head__title{font-size:26px}}@media (width<=360px) and (height<=620px){.screen.proto-screen.dice{padding-block:8px 12px}.screen.proto-screen.dice .dice-table{gap:10px;padding-block:8px 4px}.screen.proto-screen.dice .dice-die,.screen.proto-screen.dice .dice-roll-target,.screen.proto-screen.dice .dice-die .dice-stage{block-size:152px;min-block-size:152px}.screen.proto-screen.dice .dice-roll-target{padding:20px}.screen.proto-screen.dice .dice-roll-stage{transform:scale(.95)}}:root.text-xlarge main.screen.proto-screen.dice .dice-table{flex:1 0 auto}@media (orientation:portrait) and (width<=500px) and (height<=900px){:root.text-xlarge main.screen.proto-screen.dice{gap:2px;padding-block:6px 10px}:root.text-xlarge main.screen.proto-screen.dice .proto-head{min-block-size:44px}:root.text-xlarge main.screen.proto-screen.dice .dice-table{gap:7px;padding-block:6px 0}:root.text-xlarge main.screen.proto-screen.dice .dice-intro{gap:2px}:root.text-xlarge main.screen.proto-screen.dice .dice-intro .proto-sub{font-size:15px}:root.text-xlarge main.screen.proto-screen.dice .dice-intro .proto-context{font-size:11px}:root.text-xlarge main.screen.proto-screen.dice .dice-visual{gap:4px}:root.text-xlarge main.screen.proto-screen.dice .dice-seat{gap:2px;padding:5px 6px}:root.text-xlarge main.screen.proto-screen.dice .dice-seat__name{font-size:12px;line-height:1.2}:root.text-xlarge main.screen.proto-screen.dice .dice-seat__parity{font-size:18px;line-height:1.1}:root.text-xlarge main.screen.proto-screen.dice .dice-die,:root.text-xlarge main.screen.proto-screen.dice .dice-roll-target,:root.text-xlarge main.screen.proto-screen.dice .dice-die .dice-stage{block-size:clamp(104px,20vh,152px);min-block-size:104px}:root.text-xlarge main.screen.proto-screen.dice .dice-roll-target{padding:4px}:root.text-xlarge main.screen.proto-screen.dice .dice-roll-stage{transform:scale(.78)}:root.text-xlarge main.screen.proto-screen.dice .dice-summary{gap:8px}:root.text-xlarge main.screen.proto-screen.dice .dice-verdict{gap:5px}:root.text-xlarge main.screen.proto-screen.dice .dice-verdict__hint{padding:4px 8px;font-size:12px}:root.text-xlarge main.screen.proto-screen.dice .proto-primary{min-block-size:44px;padding:8px 12px;font-size:16px}:root.text-xlarge main.screen.proto-screen.dice .proto-foot{padding:4px 6px;font-size:11px}}@media (orientation:portrait) and (width<=360px) and (height<=620px){:root.text-xlarge main.screen.proto-screen.dice .proto-head{grid-template-columns:44px minmax(0,1fr) 44px;gap:3px}:root.text-xlarge main.screen.proto-screen.dice .proto-back{padding-inline:4px;font-size:12px}:root.text-xlarge main.screen.proto-screen.dice .proto-head__title{letter-spacing:0;font-size:24px}}@media (orientation:landscape) and (width>=540px) and (height<=460px){:root.text-xlarge main.screen.proto-screen.dice{gap:0;padding-block:5px 7px}:root.text-xlarge main.screen.proto-screen.dice .proto-head{min-block-size:44px}:root.text-xlarge main.screen.proto-screen.dice .proto-head__title{font-size:clamp(22px,3.2vw,30px)}:root.text-xlarge main.screen.proto-screen.dice .dice-table{gap:4px 16px;padding-block:0}:root.text-xlarge main.screen.proto-screen.dice .dice-intro{gap:1px}:root.text-xlarge main.screen.proto-screen.dice .dice-intro .proto-sub{font-size:14px}:root.text-xlarge main.screen.proto-screen.dice .dice-intro .proto-context{font-size:10px;line-height:1.2}:root.text-xlarge main.screen.proto-screen.dice .dice-visual{gap:2px}:root.text-xlarge main.screen.proto-screen.dice .dice-seat{gap:1px;padding:4px}:root.text-xlarge main.screen.proto-screen.dice .dice-seat__name{font-size:11px;line-height:1.15}:root.text-xlarge main.screen.proto-screen.dice .dice-seat__parity{font-size:15px;line-height:1.1}:root.text-xlarge main.screen.proto-screen.dice .dice-die,:root.text-xlarge main.screen.proto-screen.dice .dice-roll-target,:root.text-xlarge main.screen.proto-screen.dice .dice-die .dice-stage{block-size:88px;min-block-size:88px}:root.text-xlarge main.screen.proto-screen.dice .dice-roll-target{padding:0}:root.text-xlarge main.screen.proto-screen.dice .dice-roll-stage{transform:scale(.64)}:root.text-xlarge main.screen.proto-screen.dice .dice-summary{gap:6px}:root.text-xlarge main.screen.proto-screen.dice .dice-verdict{gap:4px}:root.text-xlarge main.screen.proto-screen.dice .dice-verdict__hint{padding:4px 8px;font-size:12px}:root.text-xlarge main.screen.proto-screen.dice .proto-primary{min-block-size:44px;padding:8px;font-size:16px;line-height:1.2}:root.text-xlarge main.screen.proto-screen.dice .proto-foot{padding:3px 6px;font-size:10px;line-height:1.2}}.sanyao-screen{box-sizing:border-box;block-size:auto;inline-size:100%;max-inline-size:1100px;min-block-size:calc(100dvh / var(--ui-scale,1));padding:max(8px,env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) max(8px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));overflow-wrap:break-word;min-inline-size:0;margin-inline:auto}.screen.sanyao-screen{padding:max(8px,env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) max(8px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));justify-content:flex-start;align-items:stretch;display:block}.sanyao-panel{color:#f7f0dc;background:#182232f0;border:1px solid #785a3259;border-radius:16px;min-inline-size:0;padding:12px}.sanyao-header{flex-wrap:wrap;align-items:center;gap:8px;min-inline-size:0;display:flex}.sanyao-actions{grid-template-columns:minmax(0,1fr);gap:8px;margin-block-start:12px;display:grid}@media (width>=420px){.sanyao-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.sanyao-layout{grid-template-columns:minmax(0,1fr);gap:12px;min-inline-size:0;display:grid}.sanyao-summary,.sanyao-history{overflow-wrap:break-word;min-inline-size:0}.sanyao-status{overflow-wrap:break-word;margin:8px 0 0;font-size:clamp(12px,11px + .4vw,15px);line-height:1.4}.sanyao-caption{color:#f0e2c4;overflow-wrap:break-word;flex-wrap:wrap;gap:8px;margin:6px 0 0;font-size:clamp(11px,10px + .3vw,13px);line-height:1.35;display:flex}.sanyao-btn,.sanyao-pit{min-block-size:44px;min-inline-size:44px;font:inherit;color:#3b2b1a;cursor:pointer;touch-action:manipulation;border-radius:12px;transition:background-color .15s,box-shadow .15s}.sanyao-btn:focus-visible,.sanyao-pit:focus-visible{outline-offset:2px;outline:3px solid #2f6f4f}.sanyao-btn{white-space:normal;overflow-wrap:break-word;background:#fdf6e6;border:1px solid #785a3259;padding:6px 12px;line-height:1.25}.sanyao-btn--primary{color:#fdf6e6;background:#2f6f4f;border-color:#275c41}.sanyao-board-wrap{min-inline-size:0;container-type:inline-size}.sanyao-board{grid-template-columns:minmax(72px,96px) minmax(0,1fr) minmax(72px,96px);grid-template-areas:"left pits right";align-items:stretch;gap:6px;min-inline-size:0;display:grid}.sanyao-board__bank{color:#3b2b1a;overflow-wrap:normal;word-break:normal;text-align:center;background:#f0e2c4;border:1px solid #785a3247;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-block-size:44px;min-inline-size:0;padding:4px;font-size:clamp(10px,9px + .4vw,13px);line-height:1.15;display:flex}.sanyao-board__bank--left{grid-area:left}.sanyao-board__bank--right{grid-area:right}.sanyao-board__bank-count{font-size:clamp(13px,12px + .6vw,17px);font-weight:700;line-height:1}.sanyao-board__bank-name{opacity:.8;line-height:1.1}.sanyao-pits{grid-area:pits;grid-template-columns:repeat(5,minmax(calc(44px / var(--ui-scale,1)),1fr));grid-auto-rows:minmax(44px,auto);gap:3px;min-inline-size:0;display:grid}.sanyao-pit{min-inline-size:calc(44px / var(--ui-scale,1));color:#3b2b1a;overflow-wrap:anywhere;background:#fdf6e6;border:1px solid #785a324d;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-block-size:44px;padding:2px;line-height:1.05;display:flex}.sanyao-seeds{aspect-ratio:1;pointer-events:none;inline-size:100%;display:block}.sanyao-pit__lock{font-size:11px;line-height:1}.sanyao-pit.is-active{background:#fff4c9;box-shadow:inset 0 0 0 2px #2f6f4f73}.sanyao-pit.is-locked{opacity:.62;background:repeating-linear-gradient(45deg,#efe7d6 0 6px,#e4dac5 6px 12px)}.sanyao-pit.is-highlight{outline-offset:-3px;outline:3px solid #d98324}.sanyao-pit:disabled{cursor:not-allowed}@container (width<=480px){.sanyao-board{grid-template-columns:minmax(0,1fr);grid-template-areas:"left""pits""right";gap:4px}.sanyao-board__bank{text-align:start;flex-direction:row;justify-content:flex-start}}.dialog.sanyao-dialog{inline-size:100%;max-inline-size:min(560px,calc(100dvw / var(--ui-scale,1) - 24px));max-block-size:calc(90dvh / var(--ui-scale,1) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));text-align:start;flex-direction:column;padding:0;display:flex;overflow:hidden}.sanyao-dialog__title{overflow-wrap:break-word;flex:none;margin:0;padding:12px 14px;font-size:clamp(15px,13px + .6vw,19px);line-height:1.3}.sanyao-dialog__body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;overflow-wrap:break-word;flex:auto;min-block-size:0;min-inline-size:0;padding:0 14px 8px;overflow-y:auto}.sanyao-dialog__body:focus-visible{outline-offset:-3px;outline:3px solid #f0b429}.sanyao-dialog__foot{padding:10px 14px max(10px,env(safe-area-inset-bottom,0px));border-block-start:1px solid #785a322e;flex:none;justify-content:flex-end;display:flex}.sanyao-rules{gap:6px;margin:0;padding-inline-start:20px;font-size:clamp(12px,11px + .4vw,15px);line-height:1.45;display:grid}@media (prefers-reduced-motion:reduce){.sanyao-btn,.sanyao-pit,.sanyao-dialog{transition:none;animation:none}}.sanyao-screen>.sanyao-panel{box-sizing:border-box;inline-size:100%;max-inline-size:100%}.sanyao-options{border:1px solid #785a3247;border-radius:12px;min-inline-size:0;margin:0;padding:8px}.sanyao-options legend{overflow-wrap:break-word;padding-inline:4px;font-size:clamp(12px,11px + .4vw,15px);line-height:1.35}.sanyao-options label{cursor:pointer;overflow-wrap:break-word;align-items:center;gap:8px;min-block-size:44px;line-height:1.35;display:flex}.sanyao-options input[type=radio]{block-size:20px;inline-size:20px;flex:none;min-height:20px;margin:0;display:inline-block}.sanyao-history ul{margin:0;padding:0;list-style:none}.sanyao-history li{border-block-end:1px solid #785a3240;flex-wrap:wrap;align-items:center;gap:8px;min-inline-size:0;padding:12px 0;display:flex}.sanyao-history li>span{overflow-wrap:anywhere;min-inline-size:0}.sanyao-screen .proto-head{flex-wrap:wrap;min-inline-size:0;max-inline-size:100%}.sanyao-screen .proto-back{justify-content:center;align-items:center;min-block-size:44px;min-inline-size:44px;display:inline-flex}@media (width<=600px){.sanyao-screen .proto-head--with-action{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"title title""back action";align-items:center;gap:8px;display:grid}.sanyao-screen .proto-head--with-action>.proto-head__title{text-align:center;white-space:normal;grid-area:title;justify-self:center;min-inline-size:0;max-inline-size:100%}.sanyao-screen .proto-head--with-action .proto-back{white-space:normal;overflow-wrap:anywhere;grid-area:back;justify-self:start;max-inline-size:100%}.sanyao-screen .proto-head--with-action>:last-child{grid-area:action;justify-self:end;min-inline-size:0;max-inline-size:100%}.sanyao-screen .proto-head--with-action>:last-child>button{max-inline-size:100%}}.manual-sanyao-board{box-sizing:border-box;background:linear-gradient(145deg,#dfbd88,#bc915d);border:2px solid #99734a;border-radius:20px;gap:8px;width:100%;min-width:0;padding:10px;display:grid;box-shadow:inset 0 1px #f8dfad,0 5px 14px #0004}.manual-sanyao-pit{min-inline-size:calc(44px / var(--ui-scale,1));min-block-size:calc(44px / var(--ui-scale,1));aspect-ratio:1;box-sizing:border-box;color:#3c2b1c;cursor:pointer;touch-action:auto;background:radial-gradient(at 50% 60%,#f1d7a5,#cba06b);border:2px solid #8b643c;border-radius:50%;width:100%;padding:0;display:block;position:relative;box-shadow:inset 0 4px 7px #704a3b66,0 1px #f9dfb0}.manual-sanyao-pit>.sanyao-seeds{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.manual-sanyao-pit:disabled{opacity:1;cursor:default}.manual-sanyao-pit.is-store{background:radial-gradient(at 50% 60%,#f5e4aa,#cdac61);border:4px double #8d692e;border-radius:24%}.manual-sanyao-pit[data-store-owner="0"]{background:radial-gradient(at 50% 60%,#d5e6b8,#87ad86);border-color:#326f67}.manual-sanyao-pit.is-last{box-shadow:inset 0 0 0 3px #fff0bd,inset 0 4px 7px #704a3b66}.manual-sanyao-pit.is-legal{outline-offset:2px;border-color:#20684c;outline:2px solid #20684c}.manual-sanyao-pit.is-legal:hover{filter:brightness(1.08);background-color:#fbe9ba}.manual-sanyao-pit.is-legal:active{box-shadow:inset 0 3px 10px #49332699}.manual-sanyao-pit[data-click-role=cw],.manual-sanyao-pit[data-click-role=ccw]{border-color:#215d8c;outline-color:#215d8c}.manual-sanyao-pit[data-click-role=relay]{border-color:#8a3c27;outline:3px double #8a3c27}.manual-sanyao-pit:focus-visible{outline-offset:3px;outline:3px solid #142e43}.manual-sanyao-store-mark,.manual-sanyao-action-mark{z-index:1;box-sizing:border-box;color:#fff6d9;pointer-events:none;background:#75542c;border:1px solid #e6cf98;border-radius:50%;place-items:center;width:20px;height:20px;display:grid;position:absolute}.manual-sanyao-store-mark{fill:none;stroke:currentColor;stroke-width:2px;padding:3px;top:-5px;right:-5px}.manual-sanyao-pit[data-store-owner="0"] .manual-sanyao-store-mark{background:#326f67}.manual-sanyao-action-mark{background:#20684c;font:700 17px/1 sans-serif;bottom:-4px;right:-4px}.manual-sanyao-pit[data-click-role=cw] .manual-sanyao-action-mark,.manual-sanyao-pit[data-click-role=ccw] .manual-sanyao-action-mark{background:#215d8c}.manual-sanyao-pit[data-click-role=relay] .manual-sanyao-action-mark{background:#8a3c27}.manual-sanyao-hands{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;min-width:0;display:grid}.manual-sanyao-hands>div{color:#f2e2c4;background:#122638db;border:1px solid #d2b77a66;border-radius:12px;grid-template-columns:auto auto;justify-content:center;align-items:center;gap:2px 8px;min-width:0;padding:6px 8px;line-height:1.25;display:grid}.manual-sanyao-hands>.is-current{color:#ffe6a3;background:#2e3829ed;border-color:#e8c45d}.manual-sanyao-hands>div>span:first-child{grid-column:1/-1}.manual-sanyao-hands strong{text-align:center;font-size:22px;line-height:1}.manual-sanyao-hands span{overflow-wrap:anywhere;font-size:12px}.manual-sanyao-setup .sanyao-panel{box-sizing:border-box;color:#fff3d9;background:#122638db;border-color:#d2b77a66;align-self:center;gap:14px;width:100%;max-width:740px;padding:16px;display:grid}.manual-sanyao-setup .sanyao-panel>p{margin:0;line-height:1.6}.manual-sanyao-setup .sanyao-options{border-color:#d2b77a66}.manual-sanyao-setup .sanyao-options input{accent-color:#e8c45d}.manual-sanyao-setup .sanyao-actions{margin:0}.manual-sanyao-setup .sanyao-actions>button{min-height:calc(44px / var(--ui-scale,1))}.game-kind-sanyao .manual-sanyao-live{gap:8px;width:100%;min-width:0;display:grid}.game-kind-sanyao .manual-sanyao-live .sanyao-caption{justify-content:center;margin:0;font-size:12px}.game-kind-sanyao .manual-sanyao-live .sanyao-actions{gap:6px;margin:0;display:flex}.game-kind-sanyao .manual-sanyao-live .sanyao-btn{min-height:calc(44px / var(--ui-scale,1));flex:1 1 0;padding:6px}.manual-sanyao-board[data-orientation="1"],.manual-sanyao-board[data-orientation="3"]{inline-size:max(calc(88px / var(--ui-scale,1) + 32px), calc(var(--board-size,500px) * .4 + 10px));justify-self:center;max-inline-size:100%}.screen.game.game-kind-sanyao.layout-wide .game-stage{grid-template-rows:minmax(var(--head-h,28px), auto) auto auto auto auto}.screen.game.game-kind-sanyao .game-stage>.controls .prompt:empty,.screen.game.game-kind-sanyao .game-stage>.controls .event-line:empty{display:none}.game-kind-sanyao .academy-tip:has(>[data-testid=manual-save]:only-child){background:0 0;border:0;padding:0}.game-kind-sanyao .academy-tip>[data-testid=manual-save]{margin:0}.contrast-high .manual-sanyao-board{background:#e5d2b0;border-color:#000}.contrast-high .manual-sanyao-pit{background:#fff4d8;border-color:#000}.contrast-high .manual-sanyao-pit.is-legal{outline-color:#000}.contrast-high .manual-sanyao-hands>div{color:#fff;background:#000;border-color:#fff}.contrast-high .manual-sanyao-hands>.is-current{border-width:2px;border-color:#ffdf60}@media (width<=360px){.manual-sanyao-board{gap:7px;padding:8px}.manual-sanyao-hands{gap:6px}}.gather-allow{flex-wrap:wrap;align-items:center;gap:8px;min-height:44px;padding:12px 0;display:flex}.gather-allow input{accent-color:#735332;width:20px;height:20px}.gather-allow small,.gather-hint{color:#755f49}.gather-entry,.gather-panel{box-sizing:border-box;background:#faf2df;border:1px solid #cbb48f;border-radius:14px;width:100%;margin:10px auto;padding:12px}.gather-entry h3,.gather-entry p,.gather-hint{margin:4px 0 8px}.gather-entry form,.gather-actions{flex-wrap:wrap;gap:8px;display:flex}.gather-entry input{flex:1;min-width:0;max-width:12em}.gather-roster{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.gather-member{border-left:3px solid var(--gather-color);grid-template-columns:28px minmax(0,1fr);align-items:center;column-gap:5px;padding-left:6px;display:grid}[data-role=black]{--gather-color:#252222}[data-role=white]{--gather-color:#82745c}[data-role=blue]{--gather-color:#1264c0}[data-role=orange]{--gather-color:#d06a06}.gather-member strong{overflow-wrap:anywhere;font-size:.9em}.gather-member small,.gather-voice-status{grid-column:2;font-size:.78em}.gather-avatar{object-fit:contain;grid-row:1/4;width:28px;height:28px;font-size:24px}.gather-actions button{min-height:44px}.gather-panel .dialog{max-width:420px}.gather-panel .dialog button{margin:6px}.gather-board-layer{pointer-events:none;z-index:8;position:absolute;inset:0}.gather-point-hit{pointer-events:auto;opacity:0;border:0;min-width:0;min-height:0;padding:0;position:absolute;transform:translate(-50%,-50%)}.gather-point-hit:focus-visible{opacity:.55;background:#fff;outline:3px solid #1264c0}.gather-mark{pointer-events:none;color:var(--gather-color);text-align:center;white-space:nowrap;text-shadow:0 0 2px #fff,0 0 4px #fff;font-size:11px;font-weight:700;line-height:1.1;position:absolute;transform:translate(-50%,-50%)}.gather-mark i{border:3px solid var(--gather-color);background:#fff6;border-radius:50%;width:24px;height:24px;margin:auto;display:block}.gather-mark[data-role=white] i{border-color:#fff;outline:2px solid #555}.gather-watch.screen.game{--board-size:min(94vw,560px);box-sizing:border-box;max-width:720px;height:auto;min-height:100dvh;margin:auto;padding:8px;display:block;overflow:visible}.gather-watch .topbar{margin-bottom:12px}.gather-watch .topbar button{white-space:nowrap}.gather-watch-board{width:100%;max-width:560px;margin:auto}.gather-watch-board>svg{width:100%;height:auto;display:block}.gather-watch .gather-panel{margin-bottom:24px}.gather-panel,.gather-entry{color:#4a2f14}@media (width<=360px){.gather-roster{gap:6px}.gather-panel{padding:8px}.gather-actions{gap:4px}}.gather-board-layer .gather-point-hit:active{transform:translate(-50%,-50%)}.gather-mark[data-role=black]{--gather-diameter:22px}.gather-mark[data-role=white]{--gather-diameter:28px}.gather-mark[data-role=blue]{--gather-diameter:34px}.gather-mark[data-role=orange]{--gather-diameter:40px}.gather-mark i{width:var(--gather-diameter);height:var(--gather-diameter);background:0 0}.gather-board-layer[data-kind=xiangqi] [data-role=white],.gather-panel[data-kind=xiangqi] [data-role=white]{--gather-color:#ae2a1d;--gather-ring:#ae2a1d}.gather-board-layer[data-kind=junqi] [data-role=white],.gather-panel[data-kind=junqi] [data-role=white]{--gather-color:#ad2119;--gather-ring:#ad2119}.gather-board-layer[data-kind=doushouqi] [data-role=black],.gather-panel[data-kind=doushouqi] [data-role=black]{--gather-color:#26456a}.gather-board-layer[data-kind=doushouqi] [data-role=white],.gather-panel[data-kind=doushouqi] [data-role=white]{--gather-color:#cf452e;--gather-ring:#cf452e}.gather-mark[data-role=white] i{border-color:var(--gather-ring,#fff)}.player-settings-page .player-settings-content{box-sizing:border-box;gap:1rem;width:min(100%,44rem);margin:0 auto;padding:1rem;display:grid}.player-settings-page .set-group{margin:0}.player-settings-content .set-row,.dialog.settings .set-row{gap:.75rem}.player-settings-content .set-row>input[type=range],.dialog.settings .set-row>input[type=range]{flex:1;min-width:4rem;max-width:13rem}.player-settings-content .set-row>select,.dialog.settings .set-row>select{max-width:55%}.player-settings-help summary{cursor:pointer;padding:.4rem 0;font-weight:700}.player-settings-help[open]{display:block}.player-settings-content .player-audio-row,.dialog.settings .player-audio-row{grid-template-columns:minmax(2em,max-content) minmax(0,1fr) 4ch 46px;align-items:center;gap:.65rem;min-width:0;display:grid}.player-audio-name{overflow-wrap:normal;word-break:keep-all;min-width:2em;font-weight:700;line-height:1.35}.player-settings-content .player-audio-row.set-row>input.player-audio-volume[type=range],.dialog.settings .player-audio-row.set-row>input.player-audio-volume[type=range]{width:100%;min-width:0;max-width:none;margin:0}.player-audio-percent{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums;font-size:.88em}.player-audio-row>.player-audio-switch{justify-self:end;margin:0}.player-audio-row[data-muted=true]>.player-audio-volume{opacity:.4;cursor:not-allowed;filter:grayscale()}.player-audio-row[data-muted=true]>.player-audio-percent{opacity:.55}.player-audio-volume:focus-visible{outline-offset:3px;outline:2px solid}@media (width<=380px){.player-settings-content .player-audio-row,.dialog.settings .player-audio-row{gap:.35rem}}.player-settings-content>.set-group:first-child,.dialog.settings .dialog-body>.set-group:first-child{container:player-audio/inline-size}@container player-audio (width<=180px){.player-settings-content .player-audio-row,.dialog.settings .player-audio-row{grid-template-columns:minmax(0,1fr) 4ch 46px}.player-audio-row>.player-audio-name{grid-column:1/-1}.player-audio-row>.player-audio-volume{grid-column:1}.player-audio-row>.player-audio-percent{grid-column:2}.player-audio-row>.player-audio-switch{grid-column:3}}.game-menu-backdrop{overscroll-behavior:contain;padding:12px}.dialog.game-menu{width:min(660px, calc(100vw / var(--ui-scale,1) - 24px));max-width:none;max-height:min(760px, calc(100dvh / var(--ui-scale,1) - 24px));color:#f7f1db;text-align:start;background:#172430;border:1px solid #c7b46a80;border-radius:24px;outline:none;flex-direction:column;padding:0;display:flex;overflow:hidden}.game-menu__head{border-bottom:1px solid #ede2b51f;justify-content:space-between;align-items:start;gap:16px;padding:20px 22px 16px;display:flex}.game-menu__head h3{color:#f3dc86;text-align:start;margin:0;font-size:22px}.game-menu__head p{color:#c1cbd0;overflow-wrap:anywhere;margin:6px 0 0;font-size:13px;line-height:1.5}.game-menu__close{color:#f7f1db;background:#ffffff08;border:1px solid #ede2b533;border-radius:50%;flex:none;place-items:center;width:44px;min-height:44px;padding:10px;display:grid}.game-menu__close svg{width:22px;height:22px}.game-menu__body{overscroll-behavior:contain;min-height:0;padding:18px 22px;overflow-y:auto}.game-menu__room{color:#ebd891;overflow-wrap:anywhere;border:1px solid #ede2b533;border-radius:99px;margin:0 0 14px;padding:6px 12px;font-size:13px;display:inline-block}.game-menu__actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.game-menu__action{width:100%;min-height:68px;color:inherit;font:inherit;text-align:start;background:#243441;border:1px solid #e9dfa72e;border-radius:14px;align-items:center;gap:12px;padding:14px;font-weight:650;line-height:1.45;display:flex}.game-menu__action svg{color:#ecd587;flex:none;width:24px;height:24px}.game-menu__action span{overflow-wrap:break-word;min-width:0}.game-menu__action small{margin-top:4px;font-size:12px;font-weight:400;line-height:1.5;display:block}.game-menu__action.game-menu__leave{color:#f0b9a6}.game-menu__action:hover:not(:disabled){background:#2d414e;border-color:#e9dfa777}.game-menu__action:disabled,.game-menu__navigation button:disabled{opacity:.45;cursor:not-allowed}.game-menu__tools{flex-wrap:wrap;gap:4px 16px;margin-top:12px;display:flex}.game-menu__tools button,.game-menu__navigation button{text-align:start;align-items:center;gap:8px;min-height:44px;padding:8px 4px;line-height:1.4;display:flex}.game-menu__tools svg,.game-menu__navigation svg{flex:none;width:19px;height:19px}.game-menu__details{margin-top:14px}.game-menu__details details{text-align:start;border-top:1px solid #ede2b51f;margin:0;padding:12px 0}.game-menu__details summary{cursor:pointer;color:#dce4e5;min-height:44px;line-height:1.5}.game-menu__details p{font-size:13px;line-height:1.55}.game-menu__details .record-list{padding:0}.game-menu__details .record-item{flex-wrap:wrap}.game-menu__details .record-main{flex-basis:160px;min-width:0}.game-menu__footer{background:#172430;border-top:1px solid #ede2b51f;flex:none;padding:12px 22px 18px}.game-menu__navigation{flex-wrap:wrap;justify-content:space-between;gap:4px 16px;margin-bottom:10px;display:flex}.game-menu__navigation .game-menu__leave{color:#f0b9a6}.game-menu__resume{width:100%;min-height:48px}.game-menu__confirmation{margin:0;line-height:1.8}.game-menu__confirm-actions{gap:12px;display:flex}.game-menu__confirm-actions button{flex:1;min-height:44px}.game-menu button:focus-visible,.game-menu summary:focus-visible{outline-offset:2px;outline:2px solid #f5db7c}@media (width<=420px){.game-menu__head,.game-menu__body{padding:14px}.game-menu__footer{padding:10px 14px 14px}.game-menu__actions{grid-template-columns:minmax(0,1fr)}.game-menu__action{gap:12px;min-height:52px;padding:12px}}@media (height<=480px){.game-menu__head{align-items:center;padding-block:10px}.game-menu__head h3{font-size:18px}.game-menu__head p{margin-top:2px}.game-menu__footer{padding-block:8px}.game-menu__navigation{margin-bottom:4px}}.game .board-wrap{position:relative}.end-card-layer{z-index:5;pointer-events:none;justify-content:center;align-items:center;padding:8px;display:flex;position:absolute;inset:0}.game .board-wrap .end-card-panel{width:min(380px,100%);min-width:0;max-height:min(calc(var(--board-size) - 16px), calc(100dvh / var(--ui-scale,1) - 24px));-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:auto;background:#12202fd6;border-color:#ffe197a6;flex-direction:column;padding:8px 14px 14px;display:flex;overflow:hidden;box-shadow:0 8px 24px #0000004d}.end-card-header{z-index:2;justify-content:flex-end;display:flex;position:absolute;top:4px;right:4px}.end-card-close{color:#fff3d9;background:0 0;border:0;border-radius:50%;place-items:center;min-width:44px;min-height:44px;padding:8px;display:grid}.end-card-close:hover{background:#fff3d91f}.end-card-body{overscroll-behavior:contain;scrollbar-width:thin;overflow-wrap:anywhere;min-height:0;overflow:auto}.game .board-wrap .end-card-panel .end-title{min-height:44px;margin:0 0 8px;padding:8px 32px 0;font-size:clamp(20px,5vw,30px)}.game .board-wrap .end-card-panel .end-actions{flex:none;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:12px;display:grid}.game .board-wrap .end-card-panel .end-actions button{white-space:normal;overflow-wrap:anywhere;width:100%;min-width:0;min-height:44px;padding:8px;font-size:14px;line-height:1.3}.game .board-wrap .end-card-panel .end-again{box-shadow:none}.end-card-panel button:focus-visible,.end-card-body:focus-visible{outline-offset:-2px;outline:2px solid #ffd27a}.end-card-bets{text-align:center;justify-items:center;gap:8px;margin-top:12px;display:grid}.end-card-bets p{margin:0 0 6px}.end-stake-images{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.end-stake-images figure{width:64px;min-width:0;margin:0}.end-stake-images img{object-fit:contain;background:#08121e66;border:1px solid #ffe19773;border-radius:8px;width:56px;height:56px;margin:0 auto;display:block}.end-stake-images figcaption{overflow-wrap:anywhere;margin-top:4px;font-size:12px;line-height:1.3}.end-card-academy{margin-top:8px;display:inline-block}@media (width>=600px) and (height<=480px){.game .board-wrap .end-card-panel{padding:6px 10px 8px}.game .board-wrap .end-card-panel .end-title{min-height:40px;margin-bottom:4px;padding-top:4px;font-size:22px}.game .board-wrap .end-card-panel .end-actions{margin-top:8px}.end-card-panel .end-card-bets{gap:4px;margin-top:8px}.end-card-panel .end-stake-images img{width:44px;height:44px}}@media (prefers-reduced-motion:reduce){.game .end-card-panel{animation:none}}.academy-teaching-root{width:calc(100dvw / var(--ui-scale,1));height:calc(100dvh / var(--ui-scale,1));pointer-events:none;z-index:60;position:fixed;top:0;left:0}.academy-teaching-tip{display:contents}:is(body:has([role=dialog]:not(.academy-teaching-dialog)) .academy-teaching-toolbar,body:has([role=dialog]:not(.academy-teaching-dialog)) .academy-teaching-hint){display:none}.academy-teaching-toolbar{top:calc(env(safe-area-inset-top,0px) + 76px);right:calc(env(safe-area-inset-right,0px) + 10px);pointer-events:none;justify-content:flex-end;max-width:calc(100vw - 20px);display:flex;position:fixed}.academy-teaching-toolbar[hidden]{display:none}.academy-teaching-button{color:#f3e3bd;max-width:min(62vw,168px);font:inherit;pointer-events:auto;cursor:pointer;background:linear-gradient(#3a2917f2,#21160bf2);border:1px solid #d6b05c8c;border-radius:999px;align-items:center;gap:6px;padding:6px 11px;font-size:13px;line-height:1.25;display:inline-flex;box-shadow:0 4px 14px #00000061}.academy-teaching-button svg{flex:none;width:16px;height:16px}.academy-teaching-button__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.academy-teaching-button__grade{color:#f7ecd2;white-space:nowrap;background:#d6b05c38;border-radius:999px;flex:none;padding:0 6px;font-size:11px;display:none}.academy-teaching-button:hover{border-color:#f0cd82d9}.academy-teaching-button:focus-visible{outline-offset:2px;outline:2px solid #e8c675}.academy-teaching-button[data-unread=true]{border-color:#f0cd82f2;position:relative;box-shadow:0 0 0 2px #f0cd8266,0 4px 14px #00000061}.academy-teaching-button[data-unread=true]:after{content:"";background:#f2c14e;border-radius:50%;width:8px;height:8px;position:absolute;top:-2px;right:-2px;box-shadow:0 0 0 2px #21160beb}.academy-teaching-hint{top:calc(env(safe-area-inset-top,0px) + 116px);width:max-content;max-width:min(440px, calc(100vw / var(--ui-scale,1) - 24px));pointer-events:none;z-index:61;position:fixed;left:50%;transform:translate(-50%)}@media (orientation:landscape) and (height<=420px){.academy-teaching-toolbar{top:calc(env(safe-area-inset-top,0px) + 52px)}.academy-teaching-button{max-width:min(46vw,144px);padding:4px 9px}}.academy-teaching-hint__card{color:#f4e7c8;pointer-events:none;background:linear-gradient(#302112f2,#1c130af2);border:1px solid #d6b05c80;border-radius:12px;flex-direction:column;gap:6px;padding:8px 12px;display:flex;box-shadow:0 6px 18px #0000006b}.academy-teaching-hint__text{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:13px;line-height:1.35;display:-webkit-box;overflow:hidden}.academy-teaching-hint__actions{pointer-events:none;justify-content:flex-end;gap:8px;display:flex;position:absolute;bottom:calc(100% + 8px);left:0}.academy-teaching-hint__actions>button{pointer-events:auto}.academy-teaching-backdrop{box-sizing:border-box;width:calc(100dvw / var(--ui-scale,1));height:calc(100dvh / var(--ui-scale,1));padding:calc((env(safe-area-inset-top,0px) + 12px) / var(--ui-scale,1)) calc((env(safe-area-inset-right,0px) + 12px) / var(--ui-scale,1)) calc((env(safe-area-inset-bottom,0px) + 12px) / var(--ui-scale,1)) calc((env(safe-area-inset-left,0px) + 12px) / var(--ui-scale,1));pointer-events:auto;z-index:70;background:#0a0703a3;justify-content:center;align-items:center;display:flex;position:fixed;top:0;left:0}.academy-teaching-dialog{box-sizing:border-box;width:100%;max-width:min(440px, calc(100vw / var(--ui-scale,1) - 24px));max-height:calc((100dvh - 24px) / var(--ui-scale,1));color:#f5e8cc;background:linear-gradient(#3b2a17,#241708);border:1px solid #d6b05c8c;border-radius:14px;outline:none;flex-direction:column;min-height:0;display:flex;box-shadow:0 18px 48px #0000008c}.academy-teaching-dialog:focus-visible{outline-offset:2px;outline:2px solid #e8c675}.academy-teaching-dialog__head{border-bottom:1px solid #d6b05c40;justify-content:space-between;align-items:flex-start;gap:8px;padding:12px 12px 8px;display:flex}.academy-teaching-dialog__head h3{margin:0;font-size:15px;font-weight:600}.academy-teaching-dialog__subtitle{color:#f3e3bdb8;margin:2px 0 0;font-size:12px}.academy-teaching-dialog__close{color:#f3e3bd;cursor:pointer;background:#00000040;border:1px solid #d6b05c59;border-radius:50%;flex:none;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:inline-flex}.academy-teaching-dialog__close svg{width:16px;height:16px}.academy-teaching-dialog__body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;padding:10px 14px;font-size:13px;line-height:1.5;overflow:auto}.academy-teaching-dialog__footer{border-top:1px solid #d6b05c40;flex:none;justify-content:flex-end;gap:8px;padding:10px 12px;display:flex}.academy-teaching-dialog__later,.academy-teaching-dialog__close-action,.academy-teaching-dialog__known{color:#f3e3bd;font:inherit;cursor:pointer;background:#00000040;border:1px solid #d6b05c73;border-radius:10px;padding:7px 14px;font-size:13px}.academy-teaching-dialog__known{color:#fff6df;background:linear-gradient(#a8812f,#6f5218);border-color:#f0cd82cc}.academy-teaching-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.academy-teaching-list__item{background:#fff0cd0f;border:1px solid #d6b05c2e;border-radius:10px;padding:8px 10px}.academy-teaching-list__item.is-intro{background:#d6b05c1a;border-color:#d6b05c73}.academy-teaching-text{margin:0}.academy-teaching-empty{color:#f5e8ccb8;margin:0}.screen.game .game-stage>.controls .prompt.academy-move-hint-text{-webkit-line-clamp:2;box-sizing:border-box;overflow-wrap:anywhere;-webkit-box-orient:vertical;block-size:2.8em;min-block-size:2.8em;max-block-size:2.8em;max-inline-size:100%;margin:0;padding-block:0;line-height:1.4;display:-webkit-box;overflow:hidden}.screen.game .game-stage>.controls .prompt.academy-move-hint-text:empty,.screen.game.game-kind-sanyao .game-stage>.controls .prompt.academy-move-hint-text:empty{display:-webkit-box}.academy-move-hint-button{white-space:nowrap;flex:none;min-inline-size:0}.folk-board__point[data-recommendation],.manual-sanyao-pit[data-recommendation],.sanyao-btn[data-recommendation],.xq-board__point[data-recommendation]{outline-offset:1px;outline:2px solid #ffc62e}.folk-board__point[data-recommendation=from],.manual-sanyao-pit[data-recommendation=from],.sanyao-btn[data-recommendation=from],.xq-board__point[data-recommendation=from]{outline-color:#7fd7ff}.academy-recommendation{pointer-events:none;fill:none;stroke:#ffc62e;stroke-width:3px}.academy-recommendation--from,.academy-recommendation[data-recommendation=from]{stroke:#7fd7ff}@media (prefers-reduced-motion:reduce){.folk-board__point[data-recommendation],.manual-sanyao-pit[data-recommendation],.sanyao-btn[data-recommendation],.xq-board__piece,.academy-recommendation{transition:none;animation:none}}.game-select{overflow-anchor:none;box-sizing:border-box;width:min(100%,800px);max-width:800px;color:inherit;flex-direction:column;gap:16px;margin:0 auto;padding:20px;display:flex}body:has(.game-select):before{content:none;display:none}body:has(.game-select):after{content:none;display:none}body:has(.game-select){background:#14252b}.game-select:before{content:"";z-index:-1;pointer-events:none;background:#14252b;position:fixed;inset:0}.game-select-header{grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;display:grid}.game-select-back{width:44px;height:44px;min-height:44px;box-shadow:none;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;grid-column:1;justify-content:center;align-items:center;padding:0;font-size:1.6rem;line-height:1;display:inline-flex}.game-select-header h1{text-align:center;outline:none;grid-column:2;margin:0;font-size:1.25rem;font-weight:600}.game-select-grid{box-sizing:border-box;grid-template-columns:repeat(auto-fit,minmax(min(100%,104px),1fr));gap:16px;width:100%;margin:0 auto;display:grid}.game-select-item{box-shadow:none;color:inherit;font:inherit;text-align:center;cursor:pointer;background:0 0;border:0;border-radius:16px;flex-direction:column;align-items:center;gap:8px;padding:0;display:flex}.game-select-art{aspect-ratio:1;object-fit:cover;background:#fffaf00f;border-radius:16px;width:100%;height:auto;display:block;overflow:hidden}.game-select-art>.game-card-preview{object-fit:cover;border-radius:inherit;width:100%;height:100%;display:block}.game-select-name{overflow-wrap:anywhere;font-size:1rem;line-height:1.3}.game-select-item:focus-visible,.game-select-back:focus-visible{outline-offset:2px;outline:2px solid #ffd696e6}.game-select-item:active{opacity:.82}.wolf-game .academy-tip:has(:only-child:empty){display:none}.wolf-game .seat-player__nick{text-overflow:ellipsis;max-width:100%;overflow:hidden}.wolf-game .wolf-dialog>.voice-panel{margin-block:12px}.player-rank{width:min(100%,42rem);margin:0 auto}.player-rank-self h2{margin:0;font-size:1em}.player-rank-self__position{justify-content:space-between;align-items:baseline;gap:1rem;font-size:1.35em;font-weight:800;display:flex}.player-rank-self__position span{font-size:.72em;font-weight:500}.player-rank-list{gap:.5rem;margin:1rem 0;padding:0;list-style:none;display:grid}.player-rank-row{border:1px solid;border-radius:.8rem;grid-template-columns:2.1rem 2.5rem minmax(0,1fr) auto;align-items:center;gap:.7rem;padding:.85rem .75rem;display:grid}.player-rank-row--top{background:#deaa461f;border-width:2px;padding-block:1.1rem}.player-rank-row--1{background:#deaa4640}.player-rank-number{text-align:center;font-weight:800}.player-rank-row--top .player-rank-number{font-size:1.35em}.player-rank-avatar{background:#80808029;border-radius:50%;place-items:center;width:2.5rem;height:2.5rem;font-weight:700;display:grid}.player-rank-name{overflow-wrap:anywhere}.player-rank-score{font-variant-numeric:tabular-nums;font-weight:800}.player-rank-privacy summary{cursor:pointer;font-size:.85em}@media (width<=360px){.player-rank-row{grid-template-columns:1.4rem 2rem minmax(0,1fr) auto;gap:.4rem;padding-inline:.5rem}.player-rank-avatar{width:2rem;height:2rem}}.bag-overflow,.bag-gifts{overflow-wrap:anywhere;border:1px solid;border-radius:12px;margin:12px 0;padding:12px}.bag-overflow-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;display:flex}.bag-overflow-row label{align-items:center;gap:8px;display:flex}.bag-overflow-row input[type=number]{width:5em;min-height:44px}.bag-overflow button{white-space:normal;max-width:100%}.bag-overflow button,.bag-gifts button{min-height:44px}.bag-gifts button{white-space:normal;overflow-wrap:anywhere;max-width:100%}.screen.mode-select.platform-mode-select{box-sizing:border-box;height:auto;min-height:calc(100dvh / var(--ui-scale,1));max-height:none;flex-direction:column;justify-content:flex-start;min-inline-size:0;max-inline-size:100%;display:flex;overflow:visible;container:mode-page/inline-size}.screen.mode-select.platform-mode-select .mode-select-head,.screen.mode-select.platform-mode-select .mode-cards{width:100%;min-inline-size:0;max-inline-size:1100px;margin-inline:auto}.screen.mode-select.platform-mode-select .mode-select-head{grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;min-height:44px}.screen.mode-select.platform-mode-select .mode-back{box-sizing:border-box;min-width:44px;min-height:44px}.screen.mode-select.platform-mode-select .mode-select-title{overflow-wrap:break-word;min-width:0}.screen.mode-select.platform-mode-select .mode-cards{flex:none;grid-template-columns:repeat(auto-fit,minmax(min(100%,max(19rem,50% - 6px)),1fr));grid-auto-rows:auto;align-content:start;align-items:stretch;gap:12px;min-height:0;margin-top:14px;display:grid;overflow:visible}.screen.mode-select.platform-mode-select .mode-card{box-sizing:border-box;aspect-ratio:auto;flex:none;align-self:stretch;gap:8px;width:100%;height:auto;min-height:140px;max-height:none;padding:16px 12px 16px clamp(88px,34%,180px)}.screen.mode-select.platform-mode-select .mode-card:after{background:linear-gradient(100deg,#f7f0de00 20%,#f7f0dee0 40%,#fcf6e8f7 100%)}.screen.mode-select.platform-mode-select .mode-card-body{min-width:0;min-height:0;flex:auto;gap:4px;max-inline-size:100%}.screen.mode-select.platform-mode-select .mode-card-body strong{overflow-wrap:break-word;max-width:100%;font-size:clamp(18px,14px + .7vw,24px);line-height:1.25}.screen.mode-select.platform-mode-select .mode-card-body small{overflow-wrap:break-word;max-width:100%;margin:0;font-size:13px;line-height:1.35}.screen.mode-select.platform-mode-select .mode-card-go{flex:0 0 28px;width:28px;height:28px}.screen.mode-select.platform-mode-select .mode-card-badge{letter-spacing:0;white-space:normal;overflow-wrap:anywhere;max-inline-size:34%;padding:3px 6px;font-size:10px;line-height:1.2}.screen.mode-select.platform-mode-select .mode-card:disabled{cursor:not-allowed;opacity:1;color:#4a3a26;filter:saturate(.6)}.screen.mode-select.platform-mode-select .mode-card:disabled .mode-card-go{display:none}.screen.mode-select.platform-mode-select .mode-card:focus-visible,.screen.mode-select.platform-mode-select .mode-back:focus-visible{outline-offset:3px;outline:3px solid #ffe6a3}@container mode-page (width<=300px){.screen.mode-select.platform-mode-select .mode-card-go{position:absolute;inset:auto auto 12px 12px}.screen.mode-select.platform-mode-select .mode-card-body strong,.screen.mode-select.platform-mode-select .mode-card-body small{overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none}.screen.mode-select.platform-mode-select .mode-card:has(.mode-card-badge){padding-top:36px}.screen.mode-select.platform-mode-select .mode-card-badge{white-space:nowrap;max-inline-size:calc(100% - 24px)}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f6ecd8;--gold:#e8b64c;--gold-soft:#e8b64c52;--red:#e0533d;--ink:#2a1a05;--panel:#121e3099;--panel-strong:#121e30c7;--paper:#f6ecd8;-webkit-tap-highlight-color:transparent;background:#101c2e;font-family:system-ui,-apple-system,PingFang SC,Microsoft YaHei,serif,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}html,body{max-width:100%;overflow-x:clip}body{overscroll-behavior:none;touch-action:manipulation;-webkit-user-select:none;user-select:none;background-color:#0000;background-image:none}body:before{content:"";z-index:-1;pointer-events:none;background-image:linear-gradient(#0c142285, #0c142285), var(--asset-app-body,url(../assets/bg/home.webp));background-position:50%,50%;background-repeat:no-repeat,no-repeat;background-size:100% 100%,cover;position:fixed;inset:0}@media (aspect-ratio>=6/5){body:before{background-size:100% 100%,contain}body:after{content:"";z-index:-2;pointer-events:none;background-image:var(--asset-app-body,url(../assets/bg/home.webp));filter:blur(28px)saturate(1.05);opacity:.6;background-position:50%;background-repeat:no-repeat;background-size:cover;position:fixed;inset:0;transform:scale(1.12)}}button{font:inherit;color:inherit;cursor:pointer;border:none;border-radius:12px;min-height:44px;padding:0 18px}.muted{opacity:.6}.screen{min-height:100dvh;padding:env(safe-area-inset-top) clamp(6px, 2.2vw, 40px) env(safe-area-inset-bottom);max-width:var(--page-max);flex-direction:column;align-items:center;margin:0 auto;display:flex}.topbar{grid-template-columns:72px 1fr 72px;align-items:center;width:100%;height:42px;display:grid}.topbar h2{text-align:center;white-space:nowrap;margin:0;font-size:17px}.topbar .ply{opacity:.7;font-size:14px;font-weight:400}.round{opacity:.7;text-align:right;font-size:13px}.btn-primary{color:#2a1a05;background:linear-gradient(#f0c766,#c8902c);font-weight:600}.btn-secondary{background:var(--panel);border:1px solid #f4e6c440}.btn-danger{color:#ffd9cf;background:#3a1a14;border:1px solid #b3594a}.btn-text{text-align:left;background:0 0;padding:0 8px}.btn-big{width:100%;min-height:56px;font-size:18px}button:active{transform:scale(.97)}.home{width:100%;max-width:var(--page-max);background:linear-gradient(#08131d1f, #08131d5c), var(--asset-bg-home-main,url(../assets/bg/home-main.webp)) center / cover no-repeat;justify-content:flex-end;gap:12px;min-height:100dvh;padding:14px 18px 72px;position:relative;overflow:hidden}.home-topbar{top:max(10px, env(safe-area-inset-top));z-index:2;align-items:center;gap:8px;display:flex;position:absolute;left:18px;right:18px}.home-avatar{background:#0a1923b8;border:2px solid #e8b64c;border-radius:50%;width:48px;min-height:48px;padding:0}.home-user{color:#fff4dd;background:#0a1923b8;border-radius:22px;flex-direction:column;padding:7px 14px;font-weight:700;display:flex}.home-user small{color:#ffe09a;font-size:11px}.home-top-actions{gap:7px;margin-left:auto;display:flex}.home-top-actions button{background:#0a1923b8;border-radius:50%;width:40px;min-height:40px;padding:0;font-size:20px}.home-title{text-align:center;margin-bottom:auto;padding-top:22dvh}.home-title img{object-fit:contain;width:clamp(280px,26vw,460px);max-height:clamp(168px,16vh,260px)}.home-title p{color:#fff4dd;text-shadow:0 2px 5px #172415;margin:2px 0 0;font-weight:700}.home-main-action,.home-sub-action{border-radius:28px;width:min(100%,clamp(340px,30vw,480px));font-weight:800}.home-main-action{color:#3b270b;background:linear-gradient(#ffe9aa,#e7b84d);min-height:clamp(62px,5.2vh,76px);font-size:clamp(25px,1.9vw,32px)}.home-sub-action{color:#49351b;background:#fff6e2e6;min-height:clamp(44px,3.6vh,56px);font-size:clamp(17px,1.35vw,22px)}.home-menu{align-items:center;gap:8px;width:min(100%,clamp(360px,32vw,520px))}.home-bottom-nav{padding:8px 14px max(8px, env(safe-area-inset-bottom));background:#121415d6;grid-template-columns:repeat(4,1fr);display:grid;position:absolute;bottom:0;left:0;right:0}.home-bottom-nav--fixed{width:min(100%, var(--page-max));z-index:40;position:fixed;left:50%;right:auto;transform:translate(-50%);box-shadow:0 -6px 18px #040c1273}.app-with-nav>main.screen{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}.app-with-nav>main.backpack.screen{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}.home-bottom-nav button{color:#fff3d0;background:0 0;flex-direction:column;align-items:center;gap:2px;min-height:44px;padding:0;font-size:20px;display:flex}.home-bottom-nav span{font-size:11px}.mode-select{width:100%;max-width:var(--page-max);box-sizing:border-box;background:linear-gradient(#0c192233,#0c19226b),var(--asset-bg-mode-create,url(../assets/bg/mode-create.webp)) center/cover no-repeat;min-height:100dvh;padding:14px 10px 20px}.mode-select-head{color:#fff4dd;grid-template-columns:64px 1fr 64px;align-items:center;min-height:70px;display:grid}.mode-select-head h1{text-shadow:0 2px 4px #172415;margin:0;font-size:26px}.mode-back{background:#0a192394;border-radius:14px;justify-self:start;width:52px;min-height:42px;padding:0;font-size:30px;line-height:1;position:static}.mode-cards{flex-direction:column;gap:10px;margin-top:22px;display:flex}.mode-card{color:#24170c;text-align:right;text-shadow:0 1px 1px #fff3d1;background-position:50%;background-size:cover;border:2px solid #fff0caad;border-radius:18px;flex-direction:column;justify-content:center;align-items:flex-end;min-height:145px;padding:16px 28px;display:flex}.mode-card span{font-size:28px;font-weight:900}.mode-card small{font-size:13px;font-weight:700}.mode-quick{background-image:var(--asset-bg-mode-quick,url(../assets/bg/mode-quick.webp))}.mode-ai,.mode-academy{background-image:var(--asset-bg-mode-ai,url(../assets/bg/mode-ai.webp))}.mode-friend,.mode-create{background-image:var(--asset-bg-mode-create,url(../assets/bg/mode-create.webp))}.mode-hotseat{background-image:var(--asset-bg-mode-friend,url(../assets/bg/mode-friend.webp))}.mode-card{aspect-ratio:2.35;border-radius:20px;width:100%;max-width:none;padding:10px 18px}.mode-card span{font-size:clamp(23px,6.5vw,32px)}.mode-card small{font-size:clamp(11px,3vw,15px)}.home-menu{flex-direction:column;gap:14px;width:min(320px,100%);display:flex}.rps-pick,.rps-result{text-align:center;width:100%;margin-top:40px;padding:0 12px}.rps-who{font-size:20px}.rps-hands{justify-content:center;gap:10px;margin-top:24px;display:flex}.rps-hand{background:var(--panel);border:1px solid #f4e6c440;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:6px;max-width:110px;min-height:100px;display:flex}.rps-icon{font-size:36px}.rps-icon.big{font-size:56px}.rps-reveal{justify-content:center;gap:16px;display:flex}.rps-card{background:var(--panel);border-radius:14px;flex-direction:column;align-items:center;gap:6px;min-width:120px;padding:16px;display:flex}.rps-verdict{color:var(--gold);margin:24px 0 16px;font-size:20px}.dot{vertical-align:middle;border-radius:50%;width:14px;height:14px;display:inline-block}.dot-black{background:radial-gradient(circle at 35% 30%,#666,#050505);border:1px solid #888}.dot-white{background:radial-gradient(circle at 35% 30%,#fff,#c9c4b8)}.players{grid-template-columns:1fr 1fr;gap:6px;width:100%;display:grid}.player{background:var(--panel);border:2px solid #0000;border-radius:10px;flex-wrap:wrap;align-items:center;gap:4px;padding:4px 8px;font-size:14px;transition:border-color .2s;display:flex}.player-active{border-color:var(--gold);box-shadow:0 0 12px var(--gold-soft)}.player-name{font-weight:600}.player-count{opacity:.85;margin-left:auto}.badge{background:var(--gold);color:#2a1a05;border-radius:8px;padding:1px 6px;font-size:12px}.badge-red{background:var(--red);color:#fff}.announce-slot{justify-content:center;align-items:center;height:26px;display:flex}.announce{color:var(--gold);text-shadow:0 0 10px #e8b64c80;font-size:18px;font-weight:700;animation:.45s ease-out announce-pop}.announce-delta{font-variant-numeric:tabular-nums;margin-left:6px;font-size:16px}.announce-delta--plus{color:#7de3a2;text-shadow:0 0 10px #7de3a273}.announce-delta--minus{color:#ff9d86;text-shadow:0 0 10px #ff8a6e73}@keyframes announce-pop{0%{opacity:0;transform:scale(1.5)}to{opacity:1;transform:scale(1)}}.board-wrap{justify-content:center;display:flex}.board{touch-action:manipulation;display:block}.board .grid{stroke:#4a2f14;stroke-width:3px}.board .coord{fill:#5b3a17;text-anchor:middle;dominant-baseline:central;font-size:18px;font-weight:600}.board .pat,.board .pat-fresh{stroke-linecap:round;stroke-linejoin:round}.board .pat{stroke-width:10px;opacity:.3}.board polygon.pat{fill:currentColor;fill-opacity:.35}.board .pat-black{stroke:#1d1d1d;color:#1d1d1d}.board .pat-white{stroke:#fffaf0;color:#fffaf0}.board .pat-fresh{stroke:var(--gold);fill:#e8b64c59;stroke-width:14px;opacity:.95;animation:1.2s ease-in-out 2 fresh-glow}@keyframes fresh-glow{50%{opacity:.45}}.board .stone{filter:drop-shadow(2px 3px 2px #00000073)}.board .stone-selected{stroke:var(--gold);stroke-width:6px}.board .hint-place,.board .hint-moveTo{fill:#e8b64c8c}.board .hint-moveFrom{fill:none;stroke:#e8b64c8c;stroke-width:4px;stroke-dasharray:8 6}.board .hint-capture{fill:none;stroke:var(--red);stroke-width:5px;animation:1s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.35}}.board .last-marker{fill:var(--red)}.board .captured-mark circle{fill:none;stroke:var(--red);stroke-width:5px;stroke-dasharray:10 8;animation:1.6s ease-out forwards fade-out}@keyframes fade-out{to{opacity:.25}}.board .hit{fill:#0000;cursor:pointer}.board-disabled .hit{cursor:default}.control-bar{justify-content:center;align-items:center;gap:8px;width:100%;padding:2px 8px 0;display:flex}.control-bar .control-btn{min-width:88px;min-height:34px;padding:6px 14px;font-size:15px}.controls{flex-direction:column;align-items:center;gap:3px;width:100%;padding:2px 8px 6px;display:flex}.prompt{text-align:center;margin:0;font-size:15px;font-weight:600}.event-line{opacity:.8;text-align:center;min-height:20px;margin:0;font-size:13px}.dialog-backdrop{z-index:10;background:#050a14b3;justify-content:center;align-items:center;padding:16px;animation:.25s ease-out fade-in;display:flex;position:fixed;inset:0}@keyframes fade-in{0%{opacity:0}}.dialog{background:var(--panel-strong);text-align:center;border:1px solid #e8b64c73;border-radius:18px;width:min(380px,100%);max-height:90dvh;padding:20px;overflow:auto;box-shadow:0 12px 40px #00000073}.dialog h3{margin-top:0}.dialog.rules{text-align:left}.dialog.rules ol{padding-left:20px;font-size:14px;line-height:1.6}.dialog.rules button{width:100%}.end-title{color:var(--gold);font-size:30px}.end-undecided .end-title{color:#9fc3ff}.dialog-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:16px;display:flex}.dialog-actions.vertical{flex-direction:column}.prize-editor{flex-direction:column;align-items:center;gap:8px;margin-top:14px;display:flex}.prize-form{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;display:flex}.prize-form .muted{text-align:center;width:100%}.prize-title{width:150px;padding:6px 8px}.prize-value{width:96px;padding:6px 8px}.prize-saved{color:var(--gold);font-weight:600}.prize-error{color:var(--danger,#d33);margin:0;font-size:12px}.prize-bar{background:#00000040;border-radius:8px;align-items:center;gap:6px;margin:2px 0;padding:3px 10px;display:flex}.prize-bar .prize-icon{object-fit:contain;width:24px;max-width:24px;height:24px;max-height:24px}.prize-bar .prize-name{color:var(--gold);font-weight:600}.prize-bar .prize-value{color:var(--gold,#e0b84f);padding:0;font-size:12px}.prize-chip{white-space:nowrap;background:#ffffff0d;border-radius:6px;flex-wrap:nowrap;align-items:center;gap:4px;padding:2px 6px;display:flex}.prize-chip .dot{border-radius:50%;width:10px;height:10px}.prize-side{font-size:12px;font-weight:600}.prize-chip .prize-icon{width:18px;max-width:18px;height:18px;max-height:18px}.prize-chip .prize-name{font-size:12px}.prize-chip .badge{font-size:10px}.prize-tabs{justify-content:center;gap:6px;display:flex}.prize-tabs button{border:1px solid var(--line,#555);color:inherit;cursor:pointer;background:0 0;border-radius:6px;padding:4px 10px}.prize-tabs button.active{border-color:var(--gold);color:var(--gold)}.prize-zodiac-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:4px 0;display:grid}.prize-zodiac{border:1px solid var(--line,#555);color:inherit;cursor:pointer;background:0 0;border-radius:8px;flex-direction:column;align-items:center;gap:2px;padding:6px 4px;display:flex}.prize-zodiac img{object-fit:contain;width:34px;height:34px}.prize-zodiac.selected{border-color:var(--gold);background:#e0b84f1f}.prize-zodiac-name{font-size:12px}.prize-zodiac-value{color:var(--gold,#e0b84f);font-size:11px}.prize-zodiac-stock{color:var(--muted,#aaa);font-size:10px}.prize-zodiac.disabled{opacity:.45;cursor:not-allowed}.prize-custom{flex-direction:column;align-items:center;gap:8px;padding:4px 0;display:flex}.prize-custom-result{flex-direction:column;align-items:center;gap:8px;display:flex}.prize-custom-result img{object-fit:contain;width:96px;height:96px}.report-stage{justify-content:center;width:100%;margin-top:8px;display:flex}.report-canvas{max-width:100%;height:auto;box-shadow:0 0 0 2px var(--gold-soft);border-radius:14px}.report-text{white-space:pre-wrap;border:1px solid var(--gold-soft);color:var(--paper);background:#121e3099;border-radius:14px;padding:14px 18px;font-size:14px;line-height:1.7}.report-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px;display:flex}.report-notice{color:var(--gold);margin-top:8px;font-size:13px}.report-foot{text-align:center;margin-top:12px;font-size:12px}.record-report{min-height:0;padding:0 8px;font-size:13px}.replay-info{margin:4px 0 8px;font-size:14px}.replay-slider{width:100%;height:44px;accent-color:var(--gold)}.replay-buttons{gap:8px;display:flex}.replay-buttons button{min-width:56px}.motion-reduce *,.motion-reduce :before,.motion-reduce :after{transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){:root:not(.motion-full) *,:root:not(.motion-full) :before,:root:not(.motion-full) :after{transition:none!important;animation:none!important}}.home-nick{color:var(--gold);margin:8px 0 0;font-size:15px}.btn-sub{opacity:.8;font-size:13px;font-weight:400;display:block}.home-links{grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;display:grid}.home-links button{min-height:48px;padding:0 4px;font-size:15px}.small{font-size:13px}.notice{color:var(--gold);margin:8px 0;font-size:14px}.notice.warn{color:#ffb08a}.danger{color:#ff9b8a;min-height:44px;margin:16px auto}.stats{grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:4px;width:100%;margin:4px 0 8px;display:grid}.stat{background:var(--panel);text-align:center;border-radius:10px;flex-direction:column;gap:2px;padding:6px 2px;display:flex}.stat b{color:var(--gold);font-size:15px}.stat span{opacity:.75;font-size:11px}.proto-list.records{background:linear-gradient(180deg, #0c1a26e6 0%, #0c1c28c7 26%, #0d1e289e 52%, #0a161cd6 100%), var(--asset-bg-records,url(../assets/bg/records.webp)) center / cover no-repeat}.records .empty{text-align:center;margin-top:40px;padding:0 16px}.record-list{-webkit-overflow-scrolling:touch;flex:1 1 0;width:100%;min-height:0;margin:0;padding:0;list-style:none;overflow-y:auto}.record-item{align-items:stretch;gap:4px;margin-bottom:6px;display:flex}.record-main{text-align:left;background:var(--panel);flex:1;align-items:center;gap:12px;min-height:56px;padding:6px 12px;display:flex}.record-result{color:var(--gold);min-width:3.2em;font-size:20px}.record-meta{font-size:13px;line-height:1.5}.record-del{text-align:center;min-width:56px}.records-footer{padding:8px 0}.rank-tabs{gap:8px;margin-top:10px;display:flex}.rank-tab{border:1px solid var(--line,#ffffff29);color:inherit;font:inherit;background:0 0;border-radius:10px;flex:1;padding:8px 10px}.rank-tab.on{border-color:var(--gold,#d8b25a);background:color-mix(in srgb, var(--gold,#d8b25a) 16%, transparent)}.rank-me-line{margin:0 0 4px;font-size:1.05rem}.rank .record-item,.rank-list .record-item{grid-template-columns:minmax(0,1fr)}.panel{background:var(--panel);border-radius:14px;width:100%;margin-top:10px;padding:12px 14px}.field{flex-direction:column;gap:6px;font-size:14px;display:flex}.field-row{gap:8px;display:flex}.field-row input,.code-input{min-height:44px;color:inherit;background:#00000040;border:1px solid #f4e6c44d;border-radius:10px;flex:1;min-width:0;padding:0 10px;font-size:16px}.code-input{text-transform:uppercase;width:100%;font-family:ui-monospace,monospace}.profile-actions{grid-template-columns:1fr 1fr;gap:8px;margin:8px 0;display:grid}.profile-actions button{min-height:48px}.recovery-code{letter-spacing:.04em;word-break:break-all;-webkit-user-select:all;user-select:all;background:#0000004d;border-radius:10px;padding:12px;font-family:ui-monospace,monospace;font-size:17px}.check{text-align:left;align-items:center;gap:8px;min-height:44px;font-size:14px;display:flex}.check input{width:22px;height:22px}.delete-scope{text-align:left;font-size:14px;line-height:1.7}.char-avatar{object-fit:cover;background:radial-gradient(circle at 35% 30%,#f4e6c42e,#14223a99);border-radius:50%;flex:none}.home-char{background:var(--panel);color:var(--gold);border:1px solid #e8b64c59;border-radius:999px;align-items:center;gap:10px;margin-top:10px;padding:4px 14px 4px 4px;font-size:15px;display:inline-flex}.profile-char-info{text-align:left;flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.characters{-webkit-overflow-scrolling:touch;height:100dvh;overflow-y:auto}.char-current{align-items:center;gap:14px;display:flex}.char-current-info{text-align:left;flex-direction:column;gap:2px;display:flex}.char-section-title{text-align:left;justify-content:space-between;align-items:baseline;gap:8px;margin:2px 0 10px;font-size:15px;display:flex}.char-grid{grid-template-columns:repeat(auto-fill,minmax(min(140px,100%),1fr));gap:8px;display:grid}.char-card{min-height:96px;color:inherit;background:#0003;border:2px solid #f4e6c41f;border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:10px 4px 8px;display:flex;position:relative}.char-card.char-selected{border-color:var(--gold);background:var(--gold-soft)}.char-name{font-size:13px;font-weight:600}.char-using{background:var(--gold);color:#2a1a05;border-radius:8px;padding:1px 6px;font-size:11px;position:absolute;top:4px;right:4px}.char-select-btn{min-height:0;color:inherit;background:0 0;flex-direction:column;align-items:center;gap:4px;padding:0;display:flex}.char-select-btn .char-avatar{margin:6px auto 0}.char-ai .char-del{background:var(--red);color:#fff;border-radius:50%;width:24px;height:24px;min-height:24px;padding:0;font-size:13px;line-height:1;position:absolute;top:4px;right:4px}.char-empty{text-align:left;padding:4px 0}.end-avatar{margin:6px auto}.end-treasures{flex-direction:column;align-items:center;gap:4px;margin-top:10px;display:flex}.end-treasures__label{color:#ffe6a3;margin:0;font-size:13px;font-weight:700}.end-treasures[data-direction=lost] .end-treasures__label{color:#ffb3ad}.end-treasures__slots{--showcase-slot:54px;gap:8px;padding-bottom:17px}.end-treasures .showcase-slot{cursor:default;font-size:11px}.end-treasures .showcase-slot__title{color:#ffe9bd;font-size:11px;inset:calc(100% + 3px) 0 auto}.online-card{background:var(--panel);border-radius:14px;flex-direction:column;align-items:stretch;gap:10px;width:100%;margin-top:12px;padding:14px;display:flex}.room-code{letter-spacing:.22em;text-align:center;color:var(--gold);margin:2px 0;font-family:ui-monospace,monospace;font-size:34px;font-weight:700}.code-row{gap:8px;display:flex}.invite-link{word-break:break-all;-webkit-user-select:all;user-select:all}.conn-banner{margin-top:0}.outfits{-webkit-overflow-scrolling:touch;height:100dvh;overflow-y:auto}.outfit-preview{justify-content:center;align-items:center;display:inline-flex;position:relative}.outfit-preview .char-avatar{border-radius:50%}.outfit-overlay{filter:drop-shadow(0 2px 3px #00000073);pointer-events:none;line-height:1;position:absolute;left:50%;transform:translate(-50%)}.outfit-type-row{gap:8px;margin-top:8px;display:flex}.outfit-type{color:inherit;background:#0003;border:2px solid #f4e6c41f;border-radius:12px;flex-direction:column;flex:1;align-items:center;gap:4px;padding:10px 4px;display:flex}.outfit-type-on{border-color:var(--gold);background:var(--gold-soft);color:#2a1a05}.outfit-type-emoji{font-size:26px;line-height:1}.outfit-target-preview{align-items:center;gap:12px;margin-top:10px;display:flex}.consent-box{text-align:left;background:#0000002e;border-radius:10px;align-items:flex-start;gap:8px;margin-top:10px;padding:10px;font-size:13px;display:flex}.consent-box input{accent-color:var(--gold);margin-top:2px}.outfit-card{min-height:120px}.outfit-current{border-color:var(--gold);background:var(--gold-soft)}.outfit-card-main{text-align:center;flex-direction:column;align-items:center;gap:3px;display:flex}.outfit-card-actions{flex-wrap:wrap;justify-content:center;gap:4px;margin-top:6px;display:flex}.outfit-current-tag{color:var(--gold);font-size:12px;font-weight:600}.tiny{font-size:11px}.voice-panel{margin-top:12px}.voice-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.voice-actions .btn-secondary{font-size:13px}.voice-consent,.voice-recording{flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:inline-flex}.voice-clips{flex-direction:column;gap:4px;margin-top:10px;display:flex}.voice-clip-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.voice-clip{background:#0000002e;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;display:flex}.voice-clip-actions{gap:4px;display:inline-flex}.voice-clip-actions .btn-text{font-size:12px}.danger{color:#ff9d9d}.settings .screen-head{align-items:center;gap:10px;display:flex}.settings-fields{flex-direction:column;gap:10px;margin-top:12px;display:flex}.settings-row{border:1px solid var(--gold-soft);border-radius:8px;grid-template-columns:minmax(160px,1fr) minmax(120px,180px) auto;align-items:center;gap:8px;padding:8px 10px;display:grid}.settings-row .muted{grid-column:1/-1;margin-top:-4px}.settings-row input,.settings-row select{font:inherit;color:inherit;background:#0e1a2b;border:1px solid #3a4a63;border-radius:6px;padding:6px 8px}.tag-pending{color:#ffd27a;border:1px solid #ffd27a;border-radius:4px;margin-left:6px;padding:0 4px;font-size:11px}.settings-toggles,.settings-audit{margin-top:16px}.settings-check{align-items:center;gap:8px;margin:6px 0;display:flex}.settings-audit ul{margin:0;padding:0;list-style:none}.audit-row{border-bottom:1px dashed #3a4a63;padding:6px 0}.notice.ok{color:#b8e6a0;background:#4a6a3a26;border:1px solid #4a6a3a;border-radius:6px;padding:6px 10px}.warehouse .screen-head{align-items:center;gap:10px;display:flex}.backpack-tabs{background:#fff5dc7a;border-radius:24px;grid-template-columns:repeat(3,1fr);gap:5px;width:min(100%,420px);margin:10px auto 6px;padding:4px;display:grid}.backpack-tabs button{color:#f6ecd8;background:0 0;border-radius:20px;min-height:38px;padding:0 8px;font-weight:700}.backpack-tabs button.active{color:#3b270b;background:linear-gradient(#ffe49b,#e9b54c)}.backpack-hint{text-align:center;color:#f6ecd8;width:min(100%,560px);margin:5px auto 10px;font-size:12px}.warehouse-tabs{flex-wrap:wrap;gap:6px;margin:10px 0;display:flex}.warehouse-tabs .btn-text.active{color:#ffd27a;border-bottom:2px solid #ffd27a}.empty{border:1px dashed #3a4a63;border-radius:8px;margin-top:10px;padding:16px}.treasure-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.treasure-card{border:1px solid var(--gold-soft);border-radius:8px;align-items:center;gap:10px;padding:8px 10px;display:flex}.treasure-thumb{background:#0e1a2b;border-radius:6px;flex:none;justify-content:center;align-items:center;width:44px;height:44px;display:flex;overflow:hidden}.treasure-thumb img{object-fit:cover;width:100%;height:100%}.treasure-info{flex:1;min-width:0}.treasure-actions{flex-wrap:wrap;flex:none;gap:4px;display:flex}.treasure-actions .btn-text{font-size:12px}.showcase-bar{border:1px dashed var(--gold-soft);border-radius:8px;max-width:min(92vw,560px);margin-top:4px;padding:5px 10px}.showcase-thumb{object-fit:cover;background:linear-gradient(135deg,#2c3e50,#1a2737);border-radius:4px;width:40px;height:40px}.showcase-title{font-size:12px}.muted.tiny{font-size:10px}.showcase-detail-thumb{background:linear-gradient(135deg,#2c3e50,#1a2737);border-radius:6px;width:96px;height:96px;margin:8px auto}.showcase-detail p{text-align:center;margin:4px 0}.cabinet-preview h3{margin:4px 0 8px}.cabinet-preview a.btn-secondary{text-align:center;margin-top:8px;text-decoration:none;display:inline-block}.warehouse-gen{border:1px dashed var(--gold-soft);border-radius:8px;margin-bottom:10px;padding:8px 10px}.gen-row{align-items:center;gap:8px;margin-top:6px;display:flex}.gen-row select{color:inherit;background:#0e1a2b;border:1px solid #3a4a63;border-radius:6px;padding:6px 8px}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(150px,100%),1fr));gap:8px;width:100%;margin:0;padding:0;list-style:none;display:grid}.card-tile{border:1px solid var(--gold-soft);cursor:pointer;background:#0e1a2b;border-radius:8px;flex-direction:column;align-items:center;gap:4px;padding:8px 6px;display:flex}.card-tile .card-avatar-layer{aspect-ratio:1;background:#00000073;border-radius:6px;width:100%;position:relative;overflow:hidden}.card-tile .card-avatar-layer img{object-fit:cover;z-index:1;width:100%;height:100%;display:block;position:relative}.card-tile.lost .card-avatar-layer:after{content:"";z-index:2;background:#0009;position:absolute;inset:0}.card-tile.lost .card-avatar-layer img{filter:grayscale();opacity:.85}.card-tile .card-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;overflow:hidden}.card-tile .card-badge{border-radius:4px;padding:1px 6px;font-size:10px}.card-tile .card-badge.free{color:#9fb4cc;background:#9fb4cc26}.card-tile .card-badge.paid{color:#ffd27a;background:#ffd27a26}.card-gift-code{letter-spacing:6px;text-align:center;color:#ffd27a;background:#ffd27a1a;border-radius:8px;margin:8px 0;padding:10px 6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:26px}.card-tile .card-tile__flag{color:#ffb3a7;background:#ff78642e;border-radius:4px;padding:1px 6px;font-size:10px}.card-tile.lost .card-badge{color:#7c8aa0;background:#7c8aa026}.card-tile.ph{cursor:pointer;background:#0a1626;border-style:dashed}.card-tile.ph:hover{background:#12233a;border-color:#ffd27a}.card-tile-ph{aspect-ratio:1;color:#9fb4cc;background:#16263a;border-radius:6px;justify-content:center;align-items:center;width:100%;font-size:24px;display:flex}.card-tile .card-check{align-items:center;gap:4px;font-size:11px;display:flex}.pick-grid{grid-template-columns:repeat(4,1fr);gap:8px;width:100%;margin:0;padding:0;list-style:none;display:grid}.pick-grid .card-tile{gap:3px;padding:6px 4px}.pick-grid .card-tile img{aspect-ratio:1;object-fit:cover;border-radius:6px;width:100%;display:block}.pick-grid .card-tile .card-name{font-size:11px}.card-detail-backdrop{z-index:30;background:#050a12b3;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.card-detail{border:1px solid var(--gold-soft);background:#0e1a2b;border-radius:10px;flex-direction:column;gap:10px;width:100%;max-width:320px;padding:16px;display:flex}.card-detail-img{object-fit:cover;background:#16263a;border-radius:8px;width:120px;height:120px;margin:0 auto}.card-detail h3{text-align:center;margin:0}.card-detail .muted{text-align:center}.card-detail-actions{flex-direction:column;gap:6px;margin-top:4px;display:flex}.stake-screen{isolation:isolate;width:100%;max-width:none;min-height:100dvh;padding:max(env(safe-area-inset-top), 8px) 12px max(env(safe-area-inset-bottom), 12px);background:0 0;position:relative;overflow:hidden}.stake-screen:before{content:"";z-index:-1;background:linear-gradient(180deg, #0c142275, #0c142214 42%, #0c142252), var(--asset-bg-stake-detail,url(../assets/bg/stake-detail.webp)) center / cover no-repeat;position:fixed;inset:0}.stake-topbar{z-index:1;background:#0f1c2d61;border:1px solid #f6ecd829;border-radius:12px;flex:none;grid-template-columns:80px 1fr 80px;width:min(100%,600px);height:46px;padding:0 5px;position:relative}.stake-topbar h2{color:#fff4dd;font-size:17px}.stake-topbar .btn-text{color:#fff4dd}.stake-first{text-align:right;white-space:nowrap;color:#fff4dd;font-size:12px}.stake-side-switch{z-index:1;background:#0f1c2d94;border:1px solid #fae8c06b;border-radius:14px;gap:8px;width:min(100%,420px);margin-top:10px;padding:5px;display:flex;position:relative}.stake-side-switch button{white-space:nowrap;color:#fff4dd;background:0 0;border:1px solid #0000;border-radius:10px;flex:1;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:0 8px;font-size:13px;display:flex}.stake-side-switch button.active{background:#d59d426b;border-color:#ffde8fd9}.stake-side-switch .dot,.stake-prize-summary .dot{border-radius:50%;flex:0 0 9px;width:9px;height:9px}.stake-side-check{color:#ffe2a0;font-size:10px}.stake-player-label{z-index:1;color:#fff4dd;background:#0f1c2d80;border:1px solid #fae8c059;border-radius:99px;margin:10px 0 0;padding:7px 15px;font-size:13px;position:relative}.stake-carousel{z-index:1;touch-action:manipulation;flex:auto;justify-content:center;align-items:center;width:min(100%,560px);min-height:270px;display:flex;position:relative}.stake-animal{flex-direction:column;justify-content:center;align-items:center;animation:.18s ease-out stake-animal-in;display:flex;transform:translateY(-5vh)}.stake-animal img{object-fit:contain;object-position:center bottom;transform-origin:bottom;vertical-align:bottom;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:min(76vw,360px);height:min(41dvh,370px);display:block;transform:scale(.9)translateY(-30px)}.stake-animal-caption{color:#fff3d5;white-space:nowrap;background:#141f2cbd;border:1px solid #ffe2a0b8;border-radius:99px;align-items:center;gap:9px;margin-top:-2px;padding:6px 17px;display:flex}.stake-animal-caption strong{font-size:16px}.stake-animal-caption span{color:#ffe09a;font-size:13px}.stake-arrow{z-index:2;color:#fff0cc;background:#0f1c2d94;border:1px solid #ffe8bca6;border-radius:50%;place-items:center;width:42px;min-height:48px;padding:0;font-size:36px;line-height:1;display:grid;position:absolute;top:48%}.stake-arrow:disabled{opacity:.35;cursor:default}.stake-arrow-left{left:2px}.stake-arrow-right{right:2px}.stake-swipe-hint{color:#fff4dd;background:#0f1c2d7a;border-radius:99px;margin:0;padding:5px 12px;font-size:11px;position:absolute;bottom:16px}.stake-no-stock{color:#fff4dd;background:#141f2cb3;border:1px solid #ffe2a08c;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:min(72vw,300px);min-height:180px;display:flex;transform:translateY(42px)}.stake-no-stock span{opacity:.8;font-size:12px}.stake-bottom{z-index:1;color:#fff4dd;background:#0e1a2ac7;border:1px solid #fae8c06b;border-radius:18px;flex-direction:column;flex:none;align-items:center;gap:8px;width:min(100%,520px);margin:0 auto;padding:12px;display:flex;position:relative}.stake-prize-summary{flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;min-height:24px;font-size:12px;display:flex}.stake-prize-summary strong{color:#ffe09a;font-size:15px}.stake-backpack-picker{z-index:1;box-sizing:border-box;flex:none;width:min(100%,560px);padding:0 8px;position:relative}.stake-slot-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;display:grid}.stake-prize-slot{color:#fff4dd;background:#0e1a2aad;border:1px dashed #ffe2a0b3;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:68px;padding:5px 3px;display:flex;position:relative}.stake-prize-slot.active{background:#d59d4240;border:2px solid #ffda78}.stake-prize-slot.filled{border-style:solid}.stake-prize-slot img{object-fit:contain;width:34px;height:34px}.stake-prize-slot strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:11px;overflow:hidden}.stake-slot-plus{color:#ffda78;font-size:23px;line-height:1}.stake-slot-remove{color:#fff;background:#7d332a;border-radius:50%;place-items:center;width:18px;height:18px;font-size:15px;line-height:1;display:grid;position:absolute;top:-5px;right:-4px}.stake-backpack-list{gap:7px;padding:7px 0 2px;display:flex;overflow-x:auto}.stake-backpack-card{color:#fff4dd;background:#0e1a2a85;border:1px solid #ffffff38;border-radius:9px;flex-direction:column;flex:0 0 56px;align-items:center;gap:3px;padding:4px;font-size:10px;display:flex}.stake-backpack-card img{object-fit:contain;width:40px;height:40px}.stake-paid-tag{color:#ffe09a;background:#ffd27a2b;border-radius:99px;padding:2px 7px;font-size:10px}.dialog-treasure-list{flex-wrap:wrap;justify-content:center;gap:8px;margin:10px 0;display:flex}.dialog-treasure-list button{align-items:center;gap:6px;display:flex}.dialog-treasure-list img{object-fit:cover;border-radius:6px;width:28px;height:28px}.stake-custom-button,.stake-start-button{width:100%;max-width:360px}.stake-opponent-note{color:#fff4ddc2;margin:0;font-size:11px}.stake-start-button:disabled{opacity:.5;cursor:not-allowed}@keyframes stake-animal-in{0%{opacity:.45}to{opacity:1}}@media (height<=680px){.stake-carousel{min-height:200px}.stake-animal img{height:min(34dvh,250px)}.stake-bottom{gap:5px;padding:8px 10px}.stake-swipe-hint{bottom:4px}}.stake-treasure-picker{background:#0c14268c;border:1px solid #ffffff38;border-radius:14px;width:min(92vw,520px);margin:8px auto 0;padding:8px 12px}.stake-picker-title{margin-bottom:6px;font-weight:700}.stake-treasure-list{gap:8px;display:flex;overflow-x:auto}.stake-treasure-list button{color:inherit;background:#ffffff14;border:1px solid #ffffff4d;border-radius:10px;flex:none;align-items:center;gap:5px;padding:5px 9px;display:flex}.stake-treasure-list button.active{background:#f4cf6533;border-color:#f4cf65}.stake-treasure-list img{object-fit:cover;border-radius:6px;width:28px;height:28px}.mode-select{background-image:linear-gradient(#0c19222e,#0c192259),var(--asset-bg-mode-background,url(../assets/bg/mode-background.webp))}.screen.mode-select{align-items:stretch;width:100%;max-width:none;padding-left:2vw;padding-right:2vw}.mode-cards{box-sizing:border-box;flex-direction:column;align-self:stretch;align-items:stretch;gap:12px;width:100%;min-width:0;margin-top:24px;display:flex}.mode-card{aspect-ratio:2.35;box-sizing:border-box;text-align:center;background-position:50%;background-size:cover;flex:none;justify-content:center;align-self:stretch;align-items:center;width:100%;min-width:0;max-width:none;min-height:0;padding:10px 18px;display:flex}.mode-card span{font-size:clamp(24px,7vw,32px);line-height:1.1}.mode-card small{margin-top:5px;font-size:clamp(12px,3.3vw,15px);line-height:1.2}.dice-opening{box-sizing:border-box;width:100%;min-height:min(72vh,560px);padding:12px 14px;padding:max(12px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));color:#f7e8cd;text-align:center;background:radial-gradient(circle at 50% 16%,#ffe4b04d,#0000 62%),linear-gradient(168deg,#5f3d22 0%,#3f2814 56%,#241608 100%);flex-direction:column;justify-content:space-between;align-items:stretch;gap:8px;display:flex;position:relative;overflow:hidden}.dice-opening__head{flex-direction:column;align-items:center;gap:6px;display:flex}.dice-opening__title{letter-spacing:.18em;color:#ffe6b8;text-shadow:0 2px 6px #00000073;margin:0;font-size:clamp(15px,4.2vw,19px)}.dice-opening__seats{flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;list-style:none;display:flex}.dice-opening__seat{background:#160d0573;border:1px solid #ffd6964d;border-radius:999px;align-items:center;gap:6px;padding:3px 12px;font-size:clamp(11px,3.2vw,13px);display:flex}.dice-opening__side{opacity:.82}.dice-opening__odd{color:#ffd479;font-weight:700}.dice-opening__seat[data-odd="1"]{border-color:#ffd479bf;box-shadow:0 0 8px #ffcd6e40}.dice-stage{perspective:600px;perspective-origin:50%;flex:auto;width:100%;min-height:clamp(150px,38vh,280px);position:relative}.dice-stage:before{content:"";pointer-events:none;background:radial-gradient(circle,#ffd69624,#0000 68%);border-radius:50%;position:absolute;inset:10% 6%}.dice-anchor{transform-style:preserve-3d;position:absolute;transform:translate(-50%,-50%)}.dice-lift{width:100%;height:100%;transform-style:preserve-3d}.dice-cube{width:100%;height:100%;transform-style:preserve-3d;will-change:transform;position:relative}.dice-face{box-sizing:border-box;backface-visibility:hidden;background:linear-gradient(150deg,#fff8e8 0%,#f2dfba 56%,#d6b184 100%);border-radius:14%;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);place-items:center;width:100%;height:100%;padding:9%;display:grid;position:absolute;top:0;left:0;box-shadow:inset 0 0 0 1px #7a542859,inset 0 -6px 10px #7854282e}.dice-face span{aspect-ratio:1;border-radius:50%;width:62%;display:block}.dice-face .dice-pip{background:radial-gradient(circle at 34% 30%,#4d3b2c,#211508 74%);box-shadow:inset 0 1px 1px #ffffff38}.dice-face[data-pip=blue] .dice-pip:not(.dice-pip--off){background:radial-gradient(circle at 34% 30%,#5d93dd,#123a72 76%);box-shadow:inset 0 1px 1px #ffffff4d}.dice-face[data-pip=red] .dice-pip:not(.dice-pip--off){background:radial-gradient(circle at 34% 30%,#ec6146,#9c1206 76%);box-shadow:inset 0 1px 1px #ffffff52}.dice-face .dice-pip--off{box-shadow:none;background:0 0}.dice-opening__result{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:0;font-size:clamp(12px,3.4vw,14px);display:flex}.dice-opening__face,.dice-opening__first{background:linear-gradient(#ffe2aa38,#ffe2aa0f);border:1px solid #ffd69659;border-radius:999px;padding:3px 12px}.dice-opening__first{color:#ffe0a3;font-weight:700}@media (height<=560px){.dice-opening{min-height:0;padding-top:max(6px,env(safe-area-inset-top));padding-bottom:max(6px,env(safe-area-inset-bottom));gap:4px}.dice-opening__title{letter-spacing:.12em;font-size:14px}.dice-stage{min-height:110px}}@media (orientation:landscape) and (height<=480px){.dice-opening__head{flex-flow:wrap;justify-content:center;gap:10px}}@media (prefers-reduced-motion:reduce){.dice-cube{will-change:auto}}.academy{align-items:stretch;gap:12px;padding:10px 12px 24px}.academy-head h1{font-size:22px}.academy-summary{background:#fff4d61f;border-radius:14px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.academy-summary p{margin:0}.academy-stage{flex-direction:column;gap:4px;display:flex}.academy-stage h3{margin:6px 0 0;font-size:17px}.academy-grade{background:#140d0659;border:1px solid #ffd69647;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex}.academy-grade-current{border-color:#ffd479d9;box-shadow:0 0 10px #ffcd6e38}.academy-grade-cleared{opacity:.92}.academy-grade-locked{opacity:.55}.academy-grade-main{flex-direction:column;gap:2px;display:flex}.academy-grade-tag{opacity:.8;font-size:12px}.academy-grade button{min-width:92px;min-height:34px}.academy-knowledge ul{flex-direction:column;gap:4px;margin:4px 0 0;padding:0;font-size:13px;list-style:none;display:flex}.academy-knowledge .know-taught{color:#b9e6b0}.academy-knowledge .know-pending{opacity:.62}.academy-admin{flex-direction:column;gap:8px;margin-top:6px;display:flex}.academy-admin-body{background:#140d0659;border-radius:12px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.academy-admin-grades{flex-wrap:wrap;gap:6px;display:flex}.academy-admin-grades .chip{color:inherit;background:0 0;border:1px solid #ffd69652;border-radius:999px;padding:4px 10px;font-size:12px}.academy-admin-grades .chip-on{background:#ffd47938;border-color:#ffd479d9;font-weight:700}.academy-versions{flex-direction:column;gap:4px;margin:0;padding:0;font-size:12px;list-style:none;display:flex}.academy-versions li{justify-content:space-between;align-items:center;gap:8px;display:flex}.academy-tip{background:linear-gradient(#ffe2aa2e,#ffe2aa0d);border:1px solid #ffd69673;border-radius:12px;flex-direction:column;gap:2px;margin:4px 8px;padding:8px 12px;display:flex}.academy-tip p{margin:0;font-size:13px;line-height:1.45}.academy-tip-badge{letter-spacing:.08em;color:#ffd479;font-size:11px}.academy-promotion{text-align:center;position:relative}.academy-promotion-seal{color:#c0392b;opacity:.85;border:2px solid #c0392b;border-radius:8px;justify-content:center;align-items:center;width:42px;height:42px;font-weight:900;display:flex;position:absolute;top:12px;right:16px;transform:rotate(-12deg)}.dialog.certificate{text-align:center;color:#4a3423;background:linear-gradient(160deg,#fdf6e3,#f0e2c4);border:2px solid #c9a86a;position:relative}.dialog.certificate h3{letter-spacing:.3em}.dialog.certificate .certificate-name{border-bottom:1px solid #c9a86a;padding:0 12px 2px;font-size:20px;font-weight:800;display:inline-block}.certificate-stamp{color:#c0392b;opacity:.8;border:2px solid #c0392b;border-radius:50%;justify-content:center;align-items:center;width:46px;height:46px;font-weight:900;display:flex;position:absolute;top:14px;right:16px;transform:rotate(-14deg)}.quick-match{justify-content:center;gap:14px;padding:16px 14px}.quick-card{background:#140d066b;border:1px solid #ffd69666;border-radius:18px;flex-direction:column;align-items:center;gap:10px;padding:22px 18px;display:flex}.quick-title{margin:0;font-size:18px;font-weight:700}.quick-count{color:#ffd479;letter-spacing:.04em;margin:0;font-size:44px;font-weight:900}.quick-card .muted{text-align:center}.move-clock{color:#ffd479;margin:2px 0 0;font-size:13px;font-weight:700}.dice-ready{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:26px 18px;display:flex}.dice-ready-title{margin:0;font-size:18px;font-weight:700}.dice-ready-hint{color:#ffd479;margin:0;font-size:13px}.dice-roll-target{cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;justify-content:center;align-items:center;padding:18px 26px;display:flex}.dice-roll-target:focus-visible{outline-offset:6px;border-radius:20px;outline:2px solid #ffd479d9}.dice-roll-stage{perspective:520px;perspective-origin:50%;width:96px;height:96px;display:block;position:relative}.dice-roll-stage:after{content:"";background:radial-gradient(#0000006b,#0000 72%);border-radius:50%;width:86px;height:18px;position:absolute;bottom:-14px;left:50%;transform:translate(-50%)}.dice-roll-cube{width:96px;height:96px;transform-style:preserve-3d;animation:2.6s ease-in-out infinite dice-idle;display:block;position:relative;transform:rotateX(-12deg)rotateY(22deg)}.dice-roll-target:hover .dice-roll-cube,.dice-roll-target:active .dice-roll-cube{animation-play-state:paused;transform:rotateX(-16deg)rotateY(28deg)scale(1.06)}.dice-roll-target:active .dice-roll-cube{transform:rotateX(-10deg)rotateY(34deg)scale(.96)}.dice-roll-cube .dice-face{width:96px;height:96px;position:absolute;top:0;left:0}@keyframes dice-idle{0%,to{transform:rotateX(-12deg)rotateY(22deg)}50%{transform:rotateX(-12deg)rotateY(30deg)translateZ(4px)}}@media (prefers-reduced-motion:reduce){.dice-roll-cube{animation:none}}.dice-table{box-sizing:border-box;flex-direction:column;align-items:stretch;gap:8px;width:100%;max-width:560px;margin:0 auto;padding:6px 12px 14px;display:flex}.dice-table__title{text-align:center;margin:2px 0 0;font-size:18px;font-weight:700}.dice-table__note{text-align:center;margin:0}.dice-seats{justify-content:center;gap:10px;margin:4px 0 0;padding:0;list-style:none;display:flex}.dice-seat{background:#160d0573;border:1px solid #ffd6964d;border-radius:999px;align-items:center;gap:6px;padding:3px 12px;font-size:13px;display:flex}.dice-seat__parity{color:#ffd479;font-weight:700}.dice-seat[data-odd="0"] .dice-seat__parity{color:#f7e8cdb8;font-weight:600}.dice-verdict{text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;min-height:26px;margin:2px 0 0;font-size:13px;display:flex}.dice-verdict__face,.dice-verdict__first{background:linear-gradient(#ffe2aa38,#ffe2aa0f);border:1px solid #ffd69659;border-radius:999px;padding:3px 12px}.dice-verdict__first{color:#ffe0a3;font-weight:700}.dice-stakes{box-sizing:border-box;text-align:center;flex-direction:column;gap:4px;width:100%;max-width:560px;margin:0 auto;padding:0 12px;display:flex}.dice-stakes__title{color:#ffd479;margin:0;font-size:13px;font-weight:700}.dice-stakes__list{flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;list-style:none;display:flex}.dice-stakes__item{background:#160d0573;border:1px solid #ffd6964d;border-radius:999px;align-items:center;gap:6px;padding:3px 12px;font-size:13px;display:flex}.dice-stakes__zodiac{color:#ffe0a3;font-weight:700}.dice-stakes .small{margin:0}.dice-stakes__missing{text-align:center}.dice-opening--embedded{background:0 0;min-height:0;padding:0;display:block}.dice-table .dice-stage{min-height:clamp(160px,34vh,240px)}.dice-table .dice-ready{gap:6px;padding:4px 10px 0}.dice-start{text-align:center;flex-direction:column;align-items:center;gap:6px;margin-top:4px;display:flex}.dice-start__button{min-width:168px;padding:12px 26px;font-size:16px}.dice-start .small{margin:0}.home{padding:0 16px calc(78px + env(safe-area-inset-bottom));background:linear-gradient(180deg, #08131d0f 40%, #08131d80), var(--asset-bg-home-main,url(../assets/bg/home-main.webp)) center / cover no-repeat;justify-content:flex-end;gap:10px}.home-topbar{top:max(12px, env(safe-area-inset-top));gap:8px;left:14px;right:14px}.home-avatar{flex:0 0 46px;width:46px;min-height:46px}.home-user{background:#0a1923c2;border:1px solid #ffe09a47;border-radius:14px;gap:1px;padding:5px 13px;line-height:1.2}.home-user strong{font-size:15px}.home-user small{color:#ffe09a;opacity:.9;font-size:10px;font-weight:600}.home-top-actions{gap:8px}.home-top-actions button{background:#0a1923c2;border:1px solid #fff1d238;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:1px;width:46px;min-height:46px;padding:3px 0 2px;font-size:17px;line-height:1;display:flex}.home-top-actions em{color:#ffe6a3;font-size:9px;font-style:normal;font-weight:700}.home-title{padding-top:clamp(24px,14dvh,180px)}.home-title img{width:clamp(280px,26vw,460px);max-height:clamp(168px,16vh,260px)}.home-title p{letter-spacing:.06em;font-size:15px}.home-menu{gap:8px;width:min(100%,clamp(360px,32vw,520px))}.home-continue{text-align:left;color:#fff6e3;background:linear-gradient(#142636e6,#101e2beb);border:1px solid #ffe9b052;border-radius:28px;align-items:center;gap:8px;width:100%;min-height:56px;padding:8px 10px 8px 12px;display:flex}.home-continue-tag{color:#fff3e2;background:#c9613f;border-radius:8px;flex:none;padding:3px 8px;font-size:10px;font-weight:800}.home-continue-text{text-overflow:ellipsis;white-space:nowrap;opacity:.92;flex:1;min-width:0;font-size:12px;overflow:hidden}.home-continue-go{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d);border-radius:20px;flex:none;padding:8px 14px;font-size:13px;font-weight:800}.home-main-action{letter-spacing:.04em;color:#36270d;background:linear-gradient(#ffeaa1,#e4b84e);border:1px solid #fff0ad;border-radius:32px;min-height:60px;font-size:24px;box-shadow:0 4px 16px #112e3566}.home-sub-action{color:#49351b;background:#fff6e2f0;border:1px solid #fff2b2;border-radius:26px;min-height:46px;font-size:16px;font-weight:800}.home-rule-row{justify-content:space-between;align-items:center;gap:10px;width:min(100%,380px);display:flex}.home-rule-link{color:#fff3d5c7;text-underline-offset:3px;background:0 0;min-height:32px;padding:4px 10px;font-size:12px;font-weight:600;text-decoration:underline}.home-lang-switch{background:#0a1923a8;border:1px solid #ffe9b066;border-radius:999px;flex:none;padding:3px;display:flex}.home-lang-switch>button{color:#fff0d2d1;letter-spacing:.02em;background:0 0;border:0;border-radius:999px;min-height:28px;padding:0 12px;font-size:12px;font-weight:800}.home-lang-switch>button.on{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d)}.home-lang-switch>button:focus-visible{outline-offset:2px;outline:2px solid #ffd27a}.home-hint{z-index:3;color:#fff3d8;text-align:center;background:#141b20eb;border:1px solid #ffe9b04d;border-radius:24px;padding:11px 14px;font-size:13px;position:absolute;bottom:20%;left:12%;right:12%}.home-bottom-nav{padding:6px 10px max(6px, env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#101416eb;border-top:1px solid #fff0ca1f;gap:2px}.home-bottom-nav button{color:#fff3d0d1;gap:1px;min-height:46px;font-size:19px}.home-bottom-nav .home-nav-glyph,.home-bottom-nav button>svg{flex:none;justify-content:center;align-items:center;width:22px;height:22px;line-height:1;display:flex}.home-bottom-nav .home-nav-glyph{font-size:19px;line-height:1}.home-bottom-nav button[aria-current=page]{color:#ffd77e}.home-bottom-nav button[aria-current=page] span{color:#ffd77e;font-weight:800}.home-bottom-nav span{opacity:.95;font-size:11px}.mode-select{background:linear-gradient(180deg, #091a2852, #0a1a249e), var(--asset-bg-mode-background,url(../assets/bg/mode-background.webp)) center / cover no-repeat;padding:12px 14px 22px}.mode-select-head{grid-template-columns:56px 1fr 56px;min-height:76px}.mode-select-title{text-align:center}.mode-select-title h1{letter-spacing:.04em;text-shadow:0 2px 6px #102837cc;margin:0;font-size:26px}.mode-select-title p{color:#ffe6a3;text-shadow:0 1px 4px #102837cc;margin:4px 0 0;font-size:12px;font-weight:600}.mode-back{color:#fff6dd;background:#0f2636bd;border:1px solid #fff1d24d;border-radius:50%;width:44px;min-height:44px;font-size:26px}.mode-cards{gap:12px;margin-top:14px}.mode-card{aspect-ratio:2.1;color:#33210c;text-align:left;width:100%;max-height:30dvh;text-shadow:none;background-position:0;background-repeat:no-repeat;background-size:cover;border:3px solid #fff6dfeb;border-radius:22px;flex-direction:row;justify-content:flex-end;align-items:center;gap:8px;padding:10px 12px 10px 46%;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 22px #0c202c61}.mode-card:after{content:"";pointer-events:none;background:linear-gradient(100deg,#f7f0de00 30%,#f7f0ded1 54%,#fcf6e8f5 100%);position:absolute;inset:0}.mode-card-body{z-index:1;text-align:right;flex-direction:column;align-items:flex-end;gap:2px;display:flex;position:relative}.mode-card-body strong{letter-spacing:.02em;font-size:clamp(21px,6vw,28px);font-weight:900}.mode-card-body small{opacity:.82;font-size:clamp(11px,2.9vw,13px);font-weight:700}.mode-card-go{z-index:1;color:#fff8e6;background:#305260d1;border-radius:50%;flex:0 0 30px;place-items:center;width:30px;height:30px;display:grid;position:relative}.mode-card-go svg{width:18px;height:18px;display:block}.mode-card-badge{z-index:2;color:#fff6e3;letter-spacing:.04em;background:linear-gradient(#f08a4b,#d8552f);border-radius:9px;padding:3px 9px;font-size:10px;font-weight:800;position:absolute;top:8px;right:10px}.mode-select{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.mode-cards{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex}.mode-card{aspect-ratio:auto;flex:1 1 0;min-height:0;max-height:24dvh}.mode-card-badge{top:10px;left:12px;right:auto}.proto-screen{max-width:var(--page-max);padding:calc(env(safe-area-inset-top) + 10px) 16px calc(env(safe-area-inset-bottom) + 18px);color:#fff9e8;background:linear-gradient(#254f79 0%,#5883a1 27%,#99b7bb 48%,#c7c3a1 65%,#33493d 88%,#15252a 100%);justify-content:flex-start;gap:10px;position:relative;overflow:hidden}.proto-screen:before{content:"";pointer-events:none;background:radial-gradient(at 75% 31%,#f4e6b45c,#0000 40%),linear-gradient(#13334c21 0%,#17394a21 55%,#172b2980 100%);position:absolute;inset:0}.proto-screen:after{content:"";background:var(--asset-bg-mode-friend,url(../assets/bg/mode-friend.webp)) center 42% / cover no-repeat;opacity:.95;pointer-events:none;height:32%;position:absolute;bottom:9%;left:0;right:0;-webkit-mask-image:linear-gradient(#0000 0%,#000 16% 86%,#0000 100%);mask-image:linear-gradient(#0000 0%,#000 16% 86%,#0000 100%)}.proto-screen>*{z-index:1;position:relative}.proto-head{grid-template-columns:minmax(52px,1fr) minmax(0,2.4fr) minmax(52px,1fr);align-items:center;gap:6px;width:100%;min-height:36px;display:grid}.proto-head strong{text-align:center;letter-spacing:.03em;font-size:18px}.proto-head__spacer{width:0}.proto-back{white-space:nowrap;color:#fff;background:#142837b8;border:1px solid #ffffff4d;border-radius:20px;justify-self:start;min-height:34px;padding:6px 13px;font-size:14px;font-weight:600}.proto-body{text-align:center;flex-direction:column;align-items:stretch;gap:8px;width:100%;display:flex}.proto-title{text-shadow:0 2px 8px #172e41bf;margin:2px 0 0;font-size:clamp(24px,7vw,31px);font-weight:900;line-height:1.2}.proto-sub{color:#ffe6a3;margin:0;font-size:14px;font-weight:700}.proto-note{color:#fff9e8e0;max-width:340px;margin:0 auto;font-size:12px;line-height:1.6}.proto-foot{color:#fff3dbdb;margin:0;font-size:12px;line-height:1.5}.proto-panel{background:#152b3edb;border:1px solid #e8ca8a8c;border-radius:18px;flex-direction:column;gap:8px;width:100%;padding:16px 14px;font-size:13px;line-height:1.6;display:flex}.proto-primary{color:#36270d;letter-spacing:.03em;background:linear-gradient(#ffeaa1,#e4b84e);border:1px solid #fff2b2;border-radius:30px;width:100%;min-height:52px;margin-top:4px;font-size:19px;font-weight:900;box-shadow:0 4px 14px #11181e73}.proto-primary:disabled{opacity:.6}.dice{color:#fff9e8}.dice-table{gap:10px}.dice-seats{gap:10px;margin:2px 0 0;padding:0;list-style:none;display:flex}.dice-seat{background:#152b3ebd;border:1px solid #e8ca8a8c;border-radius:15px;flex-direction:column;flex:1;align-items:center;gap:2px;padding:10px 4px;display:flex}.dice-seat__name{align-items:center;gap:6px;font-size:16px;font-weight:800;display:flex}.dice-seat__parity{color:#ffe0a3;font-size:22px;font-weight:900;line-height:1.1}.dice-seat__hint{color:#fff3dbd1;font-size:11px}.dice-seat[data-odd="1"]{border-color:#ffd479f2;box-shadow:0 0 14px #ffcd6e47}.dice-seat[data-first="1"]{color:#402e16;background:linear-gradient(#ffe9a3,#ecc158);border-color:#fff2b2;box-shadow:0 0 20px #ffe2a3b3}.dice-seat[data-first="1"] .dice-seat__parity{color:#6d3f08}.dice-seat[data-first="1"] .dice-seat__hint{color:#402e16cc}.dice-seat[data-first="1"] .dot{box-shadow:0 0 0 2px #402e1640}.dice-die{justify-content:center;margin-top:2px;display:flex}.dice-die .dice-ready{padding:0}.dice-verdict{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;min-height:30px;margin:0;font-size:13px;display:flex}.dice-verdict__hint{color:#ffe9b2;background:#152b3eb3;border-radius:999px;padding:5px 14px;font-size:12px}.dice-verdict__face,.dice-verdict__first{background:#152b3ec7;border:1px solid #ffd69666;border-radius:999px;padding:5px 13px;font-weight:700}.dice-verdict__first{color:#4b3116;background:linear-gradient(#ffe9a3,#ecc158);border-color:#fff2b2}.dice-start{flex-direction:column;gap:6px;display:flex}.dice-failed{text-align:left}.dice-failed .proto-primary{margin-top:6px}.dice-failed-detail{color:#ffc9a4;word-break:break-all;font-size:12px}.dice-roll-stage{transform:scale(1.28)}.dice-die .dice-opening--embedded{display:block}.proto-foot{background:#10222ebd;border-radius:12px;align-self:center;max-width:330px;padding:6px 12px}.proto-screen:after{opacity:.92;height:27%;bottom:0}.proto-screen:before{background:radial-gradient(at 75% 31%,#f4e6b45c,#0000 40%),linear-gradient(#13334c21 0%,#17394a29 50%,#0e1c20d1 100%)}.dice-die .dice-stage{min-height:170px}.dice-die .dice-stage:before{background:radial-gradient(circle,#ffe2a338,#0000 70%);inset:30% 28%}.proto-body{flex:auto}.dice-table>.proto-primary,.dice-start{margin-top:auto}.dice-die{flex:auto;justify-content:center;align-items:center;display:flex}.dice-die .dice-opening--embedded{align-self:stretch}.dice-die .dice-stage{height:100%}.proto-screen.dice,.proto-screen.dice-online{background:linear-gradient(#00000080, #00000080), var(--asset-bg-dice-roll,url(../assets/bg/dice-roll.webp)) center / cover no-repeat}.proto-screen.dice:before,.proto-screen.dice-online:before{background:radial-gradient(at 72% 18%,#ffe8b04d,#0000 46%)}.proto-screen.dice:after,.proto-screen.dice-online:after{content:none}.game{--seat-avatar:clamp(70px, min(21vw, 10vh), 132px);--showcase-slot:clamp(52px, min(15vw, 7vh), 96px);--game-chrome:300px;--board-max:max(276px, min(calc(100dvh / var(--ui-scale) - var(--seat-avatar) * 2 - var(--game-chrome)), calc(100vw / var(--ui-scale) - 24px), 900px));max-width:calc(var(--board-max) + 24px);padding:calc(env(safe-area-inset-top) + 8px) 12px calc(env(safe-area-inset-bottom) + 10px);color:#fff6df;background:linear-gradient(180deg, #0e2c3f94 0%, #0f242cbd 42%, #091418ed 100%), var(--asset-bg-stake-detail,url(../assets/bg/stake-detail.webp)) center / cover no-repeat;justify-content:flex-start;gap:6px}.game .topbar{grid-template-columns:56px 1fr 56px}.game .topbar h2{text-shadow:0 2px 6px #0a1a20cc;font-size:17px;font-weight:800}.game .topbar .ply{opacity:.82;font-size:13px}.game .topbar .btn-text{color:#fff6dd;text-align:center;background:#152638d1;border:1px solid #e8c98752;border-radius:14px;width:44px;min-height:40px;padding:0;font-size:18px}.game .topbar .topbar-bag{justify-self:end;place-items:center;display:grid}.game .topbar .topbar-bag:hover{border-color:#f3c5509e}.game .seat{width:min(100%, var(--board-max));grid-template-columns:auto auto;justify-content:space-between;align-items:center;gap:2px 14px;margin-inline:auto;display:grid}.game .seat-player{display:contents}.game .seat .showcase-tray{align-self:end}.game .seat--bottom{padding-block-start:7px}.game .seat--bottom .seat-avatar{grid-area:1/1}.game .seat--bottom .showcase-tray{grid-area:1/2}.game .seat--bottom .seat-player__name{grid-area:2/1}.game .seat--bottom .seat-player__meta{grid-area:3/1}.game .seat--top{padding-block-end:7px}.game .seat--top .showcase-tray{grid-area:3/1}.game .seat--top .seat-avatar{grid-area:3/2}.game .seat--top .seat-player__name{grid-area:2/2}.game .seat--top .seat-player__meta{grid-area:1/2}.game .seat--bottom .seat-avatar-slot,.game .seat--bottom .seat-player__name{width:var(--seat-avatar);justify-self:start}.game .seat--top .seat-avatar-slot,.game .seat--top .seat-player__name{width:var(--seat-avatar);justify-self:end}.game .seat-avatar-slot{position:relative}.game .seat--bottom .seat-avatar-slot{grid-area:1/1}.game .seat--top .seat-avatar-slot{grid-area:3/2}.game .seat-pieces{color:#fff3e2;font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;text-shadow:0 1px 2px #3c120880;background:#c9613f;border-radius:10px;padding:1px 7px;font-size:11px;font-weight:800;line-height:1.4;position:absolute;top:-2px;box-shadow:0 2px 6px #0610168c}.game .seat--bottom .seat-pieces{right:-2px}.game .seat--top .seat-pieces{left:-2px}.game .seat-pieces--plus{text-shadow:0 1px 2px #0828168c;background:#2f7d4f}.game .seat .seat-avatar{width:var(--seat-avatar);height:var(--seat-avatar);pointer-events:none;flex:none}.game .seat img.seat-avatar{box-shadow:none;object-fit:contain;filter:drop-shadow(0 4px 8px #040c12a6);background:0 0;border:0;border-radius:0}.game .seat-active img.seat-avatar{filter:drop-shadow(0 0 5px #ffd873d9)drop-shadow(0 4px 8px #040c12a6)}.game .seat--top img.seat-avatar{transform:scaleX(-1)}.game .seat-player__name{white-space:nowrap;text-shadow:0 1px 5px #061016f2;justify-content:center;justify-self:center;align-items:center;gap:4px;max-width:100%;font-size:13px;font-weight:700;line-height:1.3;display:flex;overflow:hidden}.game .seat-player__nick{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.game .seat-active .seat-player__nick{color:#ffd873}.game .seat-player__meta{opacity:.92;white-space:nowrap;justify-content:center;align-items:center;gap:4px;max-width:100%;font-size:11px;display:flex}.game .seat-player__meta .badge{padding:0 4px;font-size:10px}.game .seat .player-count{opacity:.9;margin-left:0;font-size:11px}.game .board-wrap{justify-content:center;width:100%;padding:0}.game .board{width:100%;max-width:var(--board-max);aspect-ratio:1;border-radius:18px;height:auto;box-shadow:0 10px 24px #08141a80}.showcase-tray{min-width:0;max-width:calc(var(--board-max) - var(--seat-avatar,82px) - 14px);justify-self:center;display:block;position:relative}.showcase-tray__label{color:#ffe0a6;text-align:center;white-space:nowrap;text-shadow:0 1px 5px #061016f2;pointer-events:none;font-size:10px;line-height:1.2;position:absolute;left:0;right:0}.game .seat .showcase-tray__label{bottom:calc(100% + 2px)}.game .seat--top .showcase-tray__label{bottom:calc(100% + 22px)}.showcase-tray__hint{color:#ffd479;text-align:center;white-space:nowrap;text-shadow:0 1px 5px #061016f2;pointer-events:none;font-size:10px;line-height:1.2;position:absolute;bottom:calc(100% + 2px);left:0;right:0}.game .seat .showcase-tray:has(.showcase-tray__hint) .showcase-tray__label{bottom:calc(100% + 16px)}.game .seat--top .showcase-tray:has(.showcase-tray__hint) .showcase-tray__label{bottom:calc(100% + 36px)}@keyframes showcase-blink{0%,to{opacity:1}50%{opacity:.32}}.showcase-tray__label[data-empty="1"],.showcase-tray__hint{animation:1.15s ease-in-out infinite showcase-blink}@media (prefers-reduced-motion:reduce){.showcase-tray__label[data-empty="1"],.showcase-tray__hint{animation:none}}.motion-reduce .showcase-tray__label[data-empty="1"],.motion-reduce .showcase-tray__hint{animation:none}.showcase-slots{grid-template-columns:repeat(var(--showcase-count,3), minmax(0, var(--showcase-slot,58px)));justify-content:center;align-items:start;gap:4px;min-width:0;display:grid}.showcase-slot{aspect-ratio:1;color:#ffe6b0;cursor:pointer;background:0 0;border:0;width:100%;min-width:0;padding:0;font-size:10px;display:block;position:relative;overflow:visible}.showcase-slot__thumb,.showcase-slot__blank{background:#0a1822b8;border:1px dashed #e8c98761;border-radius:9px;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.showcase-slot__thumb{object-fit:cover;border-style:solid;border-color:#e8c9878c}.showcase-slot[data-filled="1"] .showcase-slot__thumb{border-color:#e8c9878c}.showcase-slot__title{text-align:center;white-space:nowrap;text-overflow:ellipsis;text-shadow:0 1px 4px #061016f2;max-width:none;line-height:1.15;position:absolute;left:-4px;right:-4px;overflow:hidden}.game .seat--bottom .showcase-slot__title{top:calc(100% + 1px)}.game .seat--top .showcase-slot__title{bottom:calc(100% + 1px)}.showcase-slot__empty{opacity:.5;font-size:15px;line-height:1}.game .control-bar{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;margin-top:0;padding:0 2px;display:grid}.game .control-bar .control-btn{color:#fff5db;background:#1a283be0;border:1px solid #e7c987;border-radius:13px;flex:1 1 0;min-width:0;min-height:46px;font-size:15px;font-weight:700}.game .control-bar .control-btn:disabled{opacity:.45}.game .control-side{gap:6px;min-width:0;display:flex}.game .control-side .control-btn{white-space:nowrap;padding:0 4px}.game .control-call{color:#ffe9b2;background:radial-gradient(circle at 50% 28%,#ffecb24d,#182e28eb);border:1px solid #f3c550;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:1px;width:56px;height:56px;min-height:56px;padding:0;display:flex;box-shadow:0 4px 14px #08141a80}.game .control-call[data-state=connected]{color:#06251a;background:radial-gradient(circle at 50% 28%,#8cebb0,#2f7d54);border-color:#b9f5cf}.game .control-call[data-state=connecting]{animation:1.2s ease-in-out infinite call-pulse}.game .control-call:disabled{opacity:.42;box-shadow:none}.game .control-call__label{letter-spacing:.06em;font-size:10px;font-weight:700}@keyframes call-pulse{0%,to{box-shadow:0 0 #f3c5508c}50%{box-shadow:0 0 0 7px #f3c55000}}@media (prefers-reduced-motion:reduce){.game .control-call[data-state=connecting]{animation:none}}@media (width<=340px){.game{--seat-avatar:68px;--showcase-slot:52px}}@media (height<=800px){.game{--seat-avatar:64px;--showcase-slot:52px;--game-chrome:268px;gap:2px}.game .seat-player{gap:0}.game .seat-player__name{font-size:12px}.game .seat-player__meta{font-size:10px}.game .showcase-slot{font-size:9px}.game .announce-slot{display:none}.game .prompt{font-size:13px}.game .control-bar .control-btn{min-height:42px;font-size:14px}.game .control-call{width:50px;height:50px;min-height:50px}.game .control-call svg{width:19px;height:19px}}@media (height<=660px){.game{--seat-avatar:56px;--showcase-slot:46px}.game .seat--bottom{padding-block-start:6px}.game .seat--top{padding-block-end:6px}}.game .controls{gap:2px;margin-top:auto;padding:0 2px}.game .prompt{text-shadow:0 2px 6px #08141acc;font-size:15px;font-weight:800}@keyframes prompt-blink{0%,to{opacity:1}50%{opacity:.4}}.game .prompt{animation:1.1s ease-in-out infinite prompt-blink}@media (prefers-reduced-motion:reduce){.game .prompt{animation:none}}.motion-reduce .game .prompt{animation:none}.game .event-line{opacity:.82;font-size:12px}.game .move-clock{color:#ffd479;font-size:13px}.game .announce-slot{min-height:20px}.online.proto-friend{max-width:var(--page-max);padding:calc(env(safe-area-inset-top) + 10px) 18px calc(env(safe-area-inset-bottom) + 18px);color:#fff9e8;background:linear-gradient(180deg, #12283ae0 0%, #1834409e 38%, #1c343661 62%, #101e20bd 100%), var(--asset-bg-friend-create,url(../assets/bg/friend-create.webp)) center / cover no-repeat;justify-content:flex-start;gap:10px;position:relative;overflow:hidden}.online.proto-friend:before{content:"";pointer-events:none;background:radial-gradient(at 72% 25%,#ffe4a76b,#0000 45%),linear-gradient(#16374c45,#0000 54%,#1223227a);position:absolute;inset:0}.online.proto-friend:after{content:none}.online.proto-friend>*{z-index:1;position:relative}.online.proto-friend .topbar{grid-template-columns:76px 1fr 76px;min-height:40px}.online.proto-friend .topbar h2{font-size:19px;font-weight:800}.online.proto-friend .topbar .btn-text{color:#fff;text-align:center;background:#152a38bd;border:1px solid #ffffff45;border-radius:22px;min-height:36px;padding:7px 13px;font-size:14px}.online-tagline{text-align:center;color:#ffe6a3;margin:12px 0 4px;font-size:14px;font-weight:800}.online-card{background:0 0;border-radius:16px;flex-direction:column;gap:10px;width:100%;padding:13px;display:flex}.friend-tabs,.friend-times{grid-template-columns:1fr 1fr;gap:10px;display:grid}.friend-choice{color:#fff6e3;background:#1b2d3cd1;border:1px solid #f5dfac80;border-radius:15px;min-height:66px;padding:11px 6px;font-size:15px;font-weight:800;line-height:1.3}.friend-choice small{opacity:.85;margin-top:4px;font-size:11px;font-weight:400;display:block}.friend-choice.selected{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d);border-color:#fff2b2;box-shadow:0 0 16px #ffde818c}.friend-times .friend-choice{min-height:52px;font-size:14px}.online-info{text-align:left;color:#fff6e3;background:#162b3dc7;border:1px solid #e5d1a34d;border-radius:14px;margin:0;padding:11px 12px;font-size:12px;line-height:1.65}.friend-main{color:#382708;background:linear-gradient(#ffe99d,#e8b945);border:1px solid #fff0ad;border-radius:30px;width:100%;min-height:54px;font-size:20px;font-weight:900;box-shadow:0 4px 16px #172e3566}.friend-main:disabled{opacity:.55}.online-help{text-align:center;color:#fff0c7;margin:0;font-size:12px}.online-join{text-align:left;background:#172c3bcc;border:1px solid #d6c08c7a;border-radius:15px;gap:8px;padding:12px}.online-join label{font-size:15px;font-weight:800}.online-join .code-row{gap:8px;display:flex}.online-join .code-input,.online-join .code-row input{color:#fff;letter-spacing:.16em;text-transform:uppercase;background:#102333db;border:1px solid #fff6;border-radius:11px;flex:1;width:auto;min-width:0;padding:12px;font-size:16px}.friend-darkbtn{color:#fff4d4;white-space:nowrap;background:#192b3beb;border:1px solid #e8d6ac87;border-radius:12px;min-height:44px;padding:11px 16px;font-size:15px;font-weight:700}.online-wait-card{color:#5b310f;text-align:center;background:linear-gradient(#fff5d8,#f6d59a);border:6px ridge #9b642e;border-radius:17px;width:100%;margin-top:16px;padding:18px 10px;box-shadow:0 8px 24px #102e4166}.online-wait-card small{font-size:14px;font-weight:700}.online-wait-card .room-code{letter-spacing:6px;margin:8px 0;font-size:34px;font-weight:900}.online-wait-desc{margin:0;font-size:12px;line-height:1.6}.online-url{color:#60462a;background:#f8e4bf;border-radius:12px;align-items:center;gap:6px;width:100%;margin-top:12px;padding:7px 8px;display:flex}.online-url .invite-link{white-space:nowrap;text-overflow:ellipsis;text-align:left;flex:1;min-width:0;font-size:12px;overflow:hidden}.online-url button{color:#65421a;background:#fff4d7;border:0;border-radius:8px;min-height:34px;padding:6px 12px;font-weight:700}.online-actions{gap:9px;width:100%;margin-top:12px;display:flex}.online-actions button{flex:1}.online-wait-note{color:#62451c;text-align:left;background:#f6e5c6eb;border-radius:13px;width:100%;margin:14px 0 0;padding:11px 12px;font-size:12px;line-height:1.7}.online-waiting{color:#ffe9b2;background:#1a3547cc;border-radius:30px;margin:12px auto 0;padding:8px 16px;font-size:13px}.online-opponent{text-align:center;color:#fff6e3e6;margin:0;font-size:13px}.dice-online-ready{flex-direction:column;align-items:center;gap:8px;width:100%;display:flex}.dice-online .dice-table{gap:10px}.dice-online .dice-stakes{max-width:none;padding:0}.dice-online .dice-stakes__item{background:#152b3ecc;border-color:#e8ca8a80}.online-join{background:#142634f5}.online-help{text-shadow:0 2px 6px #0a1920d9}.online.proto-friend:after{opacity:.8}.academy{max-width:var(--page-max);padding:calc(env(safe-area-inset-top) + 10px) 14px calc(env(safe-area-inset-bottom) + 18px);color:#fff9e8;background:linear-gradient(180deg, #102c4299, #0f242cd1 55%, #0a161af2), var(--asset-bg-mode-ai,url(../assets/bg/mode-ai.webp)) center 30% / cover no-repeat;justify-content:flex-start;gap:10px;position:relative}.academy-head{align-items:center;gap:8px;width:100%;display:flex}.academy-head h1{text-align:center;flex:1;margin:0;font-size:20px}.academy-head .btn-text{color:#fff;background:#142837bf;border:1px solid #ffffff42;border-radius:20px;min-height:36px;padding:7px 13px;font-size:14px}.academy-summary{background:#152b3edb;border:1px solid #e8ca8a73;border-radius:16px;width:100%;padding:13px;font-size:13px;line-height:1.7}.academy-summary b{color:#ffe0a3}.academy-stage{background:#142738d1;border:1px solid #e8ca8a61;border-radius:16px;width:100%;margin-top:4px;padding:12px}.academy-stage h3{color:#ffe6a3;margin:0 0 4px;font-size:16px}.academy-grades{flex-direction:column;gap:8px;margin:10px 0 0;padding:0;list-style:none;display:flex}.academy-grades li{background:#1c3446e0;border:1px solid #fff1d233;border-radius:13px;align-items:center;gap:10px;padding:10px 12px;display:flex}.academy-grade-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.academy-grade-name{font-size:15px;font-weight:800}.academy-grade-tag{color:#ffe6a3e6;font-size:11px}.academy-grades li button{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d);border:1px solid #fff0ad;border-radius:20px;min-height:38px;padding:7px 16px;font-size:14px;font-weight:800}.academy-grades li button:disabled{color:#fff6e380;background:#263a4ae6;border-color:#ffffff2e}.academy-knowledge,.academy-admin{background:#122434d1;border:1px solid #e8ca8a4d;border-radius:16px;width:100%;margin-top:4px;padding:12px;font-size:13px;line-height:1.7}.academy-knowledge h3{color:#ffe6a3;margin:0 0 6px;font-size:15px}.academy-knowledge ul{margin:0;padding-left:16px}.proto-head__context{text-align:center;letter-spacing:.04em;color:#fff6e3e0;flex:1;font-size:13px;font-weight:700}.proto-head__title{text-align:center;letter-spacing:.03em;margin:0;font-size:19px;font-weight:800}.proto-context{color:#ffe6a3;background:#152b3eb3;border:1px solid #ffd69666;border-radius:999px;align-self:center;margin:0;padding:4px 12px;font-size:12px;font-weight:700}.profile{max-width:var(--page-max);padding:calc(env(safe-area-inset-top) + 10px) 14px calc(env(safe-area-inset-bottom) + 20px);color:#fff3d9;background:linear-gradient(180deg, #102c4299, #12252edb 55%, #0a161af2), var(--asset-bg-home-main,url(../assets/bg/home-main.webp)) center 35% / cover no-repeat;justify-content:flex-start;gap:12px;position:relative}.profile .topbar{grid-template-columns:76px 1fr 76px}.profile .topbar h2{font-size:20px;font-weight:800}.profile .topbar .btn-text{color:#fff;text-align:center;background:#152638cc;border:1px solid #ffffff42;border-radius:20px;min-height:36px;padding:7px 13px;font-size:14px}.profile .panel{background:#192c41e0;border:1px solid #e8c98742;border-radius:18px;flex-direction:column;gap:10px;width:100%;padding:16px 14px;font-size:14px;display:flex}.profile .panel b{font-size:15px}.profile .profile-char{flex-direction:row;align-items:center;gap:12px}.profile .profile-char .profile-char-info{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.profile .panel .btn-secondary,.profile .panel .btn-primary{color:#fff5dc;background:#1f354aeb;border:1px solid #e8d6ac66;border-radius:13px;min-height:44px;font-size:15px;font-weight:700}.profile .panel .btn-primary{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d);border-color:#fff0ad}.profile .field-row input{color:#fff;background:#142134eb;border:1px solid #a8a18ecc;border-radius:12px;flex:1;min-width:0;padding:12px;font-size:16px}.profile .profile-actions{grid-template-columns:1fr 1fr;gap:9px;display:grid}.profile .panel .btn-text.danger{color:#ff9d97;background:#3a1a1480;border:1px solid #d45751;border-radius:12px;align-self:flex-start;min-height:42px;padding:9px 14px}.profile>.btn-text.danger{color:#ff9d97;background:#3a1a1480;border:1px solid #d45751;border-radius:14px;align-self:stretch;min-height:46px;padding:10px 14px;font-size:15px;font-weight:700}.game .controls{margin-top:auto}.proto-list{max-width:var(--page-max);min-height:100dvh;padding:calc(env(safe-area-inset-top) + 10px) 14px calc(env(safe-area-inset-bottom) + 22px);color:#fff3d9;background:linear-gradient(180deg, #102c42bd, #0e202ae6 52%, #091418f7), var(--asset-app-body,url(../assets/bg/home.webp)) center / cover no-repeat;justify-content:flex-start;gap:10px;position:relative}.proto-list .proto-head{flex:none}.proto-head__title{text-align:center;letter-spacing:.02em;white-space:nowrap;text-overflow:ellipsis;min-width:0;margin:0;font-size:clamp(14px,4.2vw,19px);font-weight:800;overflow:hidden}.proto-head__meta{color:#ffe6a3;text-align:center;background:#142838d1;border:1px solid #e8c98761;border-radius:999px;align-self:center;margin:0;padding:4px 13px;font-size:12px;font-weight:700}.proto-list .notice{width:100%;margin:0}.records{height:auto}.records .stats{grid-template-columns:repeat(auto-fit,minmax(94px,1fr));gap:8px;width:100%;display:grid}.records .stat{background:#182c40db;border:1px solid #e8c98747;border-radius:14px;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;display:flex}.records .stat b{color:#ffe0a3;font-size:14px;line-height:1.35}.records .stat span{text-align:center;color:#fff6e3c7;font-size:11px;line-height:1.3}.records-empty{color:#fff6e3db;text-align:center;background:#142634b3;border:1px dashed #e8c98759;border-radius:16px;width:100%;margin:14px 0 0;padding:16px;font-size:13px;line-height:1.7}.records-empty p{margin:0}.proto-list .record-list{flex:none;grid-template-columns:repeat(auto-fill,minmax(min(360px,100%),1fr));gap:8px;width:100%;margin:0;padding:0;list-style:none;display:grid;overflow:visible}.record-item{grid-template-columns:minmax(0,1fr) auto auto;gap:6px;margin:0;display:grid}.record-main{color:#fff3d9;text-align:left;background:#182c40e6;border:1px solid #e8c98742;border-radius:14px;align-items:center;gap:10px;padding:11px 12px;display:flex}.record-result{color:#ffe0a3;text-align:center;background:#ffe9a329;border:1px solid #ffe9a352;border-radius:10px;flex:none;min-width:2.6em;padding:5px 9px;font-size:15px;font-weight:800}.record-meta{color:#fff6e3e6;min-width:0;font-size:12px;line-height:1.55}.record-prize{color:#ffe0a3}.record-item .record-del,.record-item .record-report{color:#fff4d4;text-align:center;background:#192b3be6;border:1px solid #e8d6ac4d;border-radius:12px;min-width:46px;padding:0 10px;font-size:13px;font-weight:700}.record-item .record-del{color:#ff9d97;border-color:#d457518c}.records-footer{text-align:center;width:100%;padding:8px 0 0}.records-footer .btn-text{color:#ff9d97;font-size:13px}.backpack.screen{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:manipulation;scrollbar-width:none;-ms-overflow-style:none;height:100dvh;max-height:100dvh;overflow:hidden auto}.backpack.screen::-webkit-scrollbar{width:0;height:0;display:none}.backpack-tabs{background:#0e1e2cd6;border:1px solid #e8c9873d;border-radius:16px;gap:4px;width:100%;margin:0;padding:4px;display:flex}.backpack-tabs button{color:#fff6e3d1;white-space:normal;overflow-wrap:anywhere;background:0 0;border-radius:12px;flex:1;min-width:0;min-height:38px;padding:4px;font-size:12.5px;font-weight:700;line-height:1.15}.backpack-tabs button.active{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d);box-shadow:0 2px 10px #ffd67842}.backpack-hint{color:#fff6e3e6;text-align:left;background:#142634d1;border:1px solid #e8c9873d;border-radius:14px;flex:none;width:100%;min-height:0;margin:0;padding:11px 13px;font-size:12px;line-height:1.7}.backpack.screen>.card-grid{flex:none}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(150px,100%),1fr));gap:10px}.card-tile{color:#fff3d9;background:#142636e6;border:1px solid #e8c98742;border-radius:14px;gap:5px;padding:8px 7px 9px;transition:transform .12s,border-color .12s}.card-tile:active{transform:scale(.97)}.card-tile .card-avatar-layer{background:#0a162299;border-radius:10px}.card-tile .card-name{color:#fff3d9;font-size:12px;font-weight:700}.card-tile .muted.tiny{color:#fff6e3b8;opacity:1;font-size:10px}.card-tile .card-badge{border-radius:8px;font-weight:700}.card-tile.lost{border-color:#e8c98729}.card-tile.current{border-color:#ffd27a;box-shadow:0 0 0 1px #ffd27a,0 0 14px #ffd27a42}.card-tile-ph{color:#ffd27a;background:#1e364ae6;border-radius:10px}.settings-note{color:#fff6e3db;background:#142634cc;border:1px solid #e8c9873d;border-radius:14px;width:100%;margin:0;padding:11px 13px;font-size:12px;line-height:1.7}.settings-fields,.settings-toggles,.settings-audit{background:#142634d1;border:1px solid #e8c9873d;border-radius:16px;flex-direction:column;gap:9px;width:100%;margin:0;padding:12px 13px;display:flex}.settings-toggles h3,.settings-audit h3{color:#ffe6a3;margin:0;font-size:14px}.settings-row{border:0;border-bottom:1px solid #fff1d21a;border-radius:0;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:10px 0;display:flex}.settings-row:last-child{border-bottom:0}.settings-row label{flex:100%;font-size:13px;font-weight:700}.settings-row input,.settings-row select{color:#fff;background:#0e1c2aeb;border:1px solid #a8a18eb3;border-radius:11px;flex:auto;min-width:0;padding:10px 12px;font-size:14px}.settings-row .btn-text{color:#3d2a0b;text-align:center;background:linear-gradient(#ffe9a3,#e9ba4d);border:1px solid #fff0ad;border-radius:11px;min-height:40px;padding:0 14px;font-weight:800}.settings-row .muted.small{flex:100%;margin:0}.settings-check{border-bottom:1px solid #fff1d214;align-items:center;gap:8px;margin:0;padding:9px 0;font-size:13px;display:flex}.settings-check input{accent-color:#e8b64c;width:18px;height:18px}.tag-pending{color:#ffb4a2;white-space:nowrap;background:#e0533d38;border:0;border-radius:8px;margin-left:6px;padding:1px 7px;font-size:10px;font-weight:700}.audit-row{word-break:break-all;border:0;border-bottom:1px solid #fff1d214;padding:8px 0;font-size:12px;line-height:1.6}.audit-row:last-child{border-bottom:0}.audit-row code{color:#ffe0a3}.panel{color:#fff3d9;background:#142634db;border:1px solid #e8c98742;border-radius:16px;flex-direction:column;gap:10px;width:100%;margin:0;padding:14px;display:flex}.char-current{flex-direction:row;align-items:center;gap:14px}.char-section-title{text-align:left;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:0;font-size:14px;display:flex}.char-section-title .muted.small{font-size:11px}.char-grid{grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px}.char-card{color:#fff3d9;background:#142636e6;border:1px solid #e8c9873d;border-radius:14px;min-height:92px;padding:9px 5px 8px}.char-card.char-selected{background:#ffe2a31f;border-color:#ffd27a;box-shadow:0 0 0 1px #ffd27a}.char-card:disabled{opacity:.45}.char-name{font-size:12px}.char-using{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d);font-weight:800}.char-ai{border-style:dashed}.outfits{height:auto;overflow:visible}.outfit-type{color:#fff3d9;background:#142636e6;border:1px solid #e8c9873d;border-radius:13px}.outfit-type-on{color:#ffe6a3;background:#ffe2a329;border-color:#ffd27a}.consent-box{background:#0c1a26b3;border:1px solid #e8c98733;border-radius:12px;margin:0;font-size:12px;line-height:1.6}.outfit-card-actions .btn-text{padding:2px 8px;font-size:12px}.proto-list .panel .btn-secondary,.proto-list .panel .btn-primary{color:#fff5dc;background:#1f354aeb;border:1px solid #e8d6ac66;border-radius:13px;min-height:44px;font-size:15px;font-weight:700}.proto-list .panel .btn-primary{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d);border-color:#fff0ad}.proto-list .field input,.proto-list .field textarea{color:#fff;background:#0e1c2aeb;border:1px solid #a8a18eb3;border-radius:12px;padding:11px 12px;font-size:15px}.proto-list .field span{font-size:13px;font-weight:700}.replay{height:auto}.replay .board-wrap{padding:8px 0 0}.replay .board{border-radius:18px;max-width:100%;height:auto;box-shadow:0 10px 24px #08141a80}.replay-info{color:#ffe6a3;text-align:center;background:#142634d1;border:1px solid #e8c9873d;border-radius:12px;width:100%;margin:0;padding:8px 12px;font-size:13px;font-weight:700}.replay .controls{gap:6px;width:100%;padding:6px 0 0}.replay-slider{accent-color:#e8b64c;width:100%}.replay-buttons{gap:8px;width:100%;display:flex}.replay-buttons .btn-secondary{color:#fff5db;background:#1a2b3ce6;border:1px solid #e8d6ac66;border-radius:13px;flex:1;min-height:46px;font-size:16px}.report-stage{background:#142634db;border:1px solid #e8c98742;border-radius:16px;width:100%;padding:10px}.report-canvas{border-radius:12px;width:100%;height:auto}.report-text{color:#fff3d9;white-space:pre-wrap;word-break:break-word;text-align:left;background:#0a1622db;border-radius:12px;margin:0;padding:12px;font-size:12px;line-height:1.75}.report-actions{flex-wrap:wrap;gap:8px;width:100%;display:flex}.report-actions .btn-secondary{color:#fff5db;background:#1a2b3ce6;border:1px solid #e8d6ac66;border-radius:13px;flex:46%;min-height:46px;font-size:14px;font-weight:700}.report-notice{color:#ffd479;text-align:center;width:100%;margin:0;font-size:12px}.report-foot{text-align:center;width:100%;margin:0;font-size:11px;line-height:1.6}.quick-match .proto-body{gap:12px}.quick-body{align-items:stretch}.quick-ring{background:#12283880;border:9px solid #f8d477;border-left-color:#f8d47752;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:148px;height:148px;margin:6px auto 0;animation:1.2s ease-in-out infinite alternate quick-ring-glow;display:flex;box-shadow:0 0 24px #f7dc8a8c}.quick-ring b{color:#ffe7a3;font-size:34px;font-weight:900;line-height:1.1}.quick-ring small{color:#fff6e3cc;font-size:12px}@keyframes quick-ring-glow{to{box-shadow:0 0 38px #ffe390cc}}.quick-steps{color:#ffe9b2;letter-spacing:-.2px;background:#152c3cc7;border:1px solid #e6c57966;border-radius:14px;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 8px;margin:0;padding:10px 12px;font-size:12px;display:flex}.proto-primary--ghost{color:#fff3db;box-shadow:none;background:#142633cc;border-color:#fff2b261;margin-top:auto}.dialog-backdrop,.card-detail-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#040c14c7}.dialog{color:#fff3d9;background:linear-gradient(#172b3efa,#0e1e2cfc);border:1px solid #e8c98780;border-radius:20px;box-shadow:0 16px 44px #00000080}.dialog h3{color:#ffe6a3;font-size:18px}.dialog.settings{text-align:left;flex-direction:column;width:min(430px,100%);max-height:min(88dvh,760px);padding:0;display:flex;overflow:hidden}.dialog.settings:focus-visible{outline-offset:2px;outline:2px solid #ffd27a}.dialog.settings .dialog-head{background:#0a16208c;border-bottom:1px solid #e8c9872e;flex:none;justify-content:space-between;align-items:center;gap:10px;padding:14px 12px 12px 18px;display:flex}.dialog.settings .dialog-head h3{letter-spacing:.04em;margin:0;font-size:17px}.dialog.settings .dialog-close{color:#ffe9b8;cursor:pointer;background:#0c1824b8;border:1px solid #e8c9874d;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;padding:0;font-size:20px;line-height:1;display:grid}.dialog.settings .dialog-close:hover{color:#fff6dd;border-color:#f3c550b3}.dialog.settings .dialog-close:focus-visible{outline-offset:2px;outline:2px solid #ffd27a}.dialog.settings .dialog-body{-webkit-overflow-scrolling:touch;flex-direction:column;flex:auto;gap:10px;min-height:0;padding:12px 14px 14px;display:flex;overflow-y:auto}.dialog.settings .set-group{background:#0a16209e;border-color:#e8c98729}.dialog.settings .set-row__text{text-align:left}.dialog.settings .set-row select{max-width:48%;min-height:40px}.dialog.settings .set-row input[type=range]{accent-color:#ffd27a}.dialog.settings .set-row .btn-secondary{border-radius:11px;min-height:40px;padding:0 14px}.dialog.settings .ui-segmented>button{min-height:40px;font-size:13px}.dialog.settings .set-hint{margin:0}.dialog.settings .dialog-foot{padding:10px 14px calc(12px + env(safe-area-inset-bottom,0px));background:#0a1620b8;border-top:1px solid #e8c9872e;flex:none}.dialog.settings .dialog-foot .btn-primary{border-radius:14px;width:100%;min-height:46px;font-size:15px}@media (height<=700px){.dialog.settings{max-height:92dvh}.dialog.settings .dialog-body{gap:8px;padding:10px 12px 12px}.dialog.settings .set-group{padding:10px 12px}.dialog.settings .set-row{min-height:46px;padding:6px 0}}.dialog .field{text-align:left}.dialog .field input{width:100%;min-height:44px;color:inherit;background:#00000040;border:1px solid #f4e6c44d;border-radius:10px;padding:0 10px;font-size:16px}.dialog .btn-secondary{color:#fff5dc;background:#1f354aeb;border:1px solid #e8d6ac66;font-weight:700}.dialog .btn-primary{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d);border:1px solid #fff0ad;font-weight:800}.dialog.rules ol{font-size:13px;line-height:1.7}.card-detail{color:#fff3d9;background:linear-gradient(#172b3efa,#0e1e2cfc);border:1px solid #e8c98773;border-radius:20px;max-width:340px;padding:18px 16px;box-shadow:0 16px 44px #00000080}.card-detail-img{background:#0a1622cc;border-radius:14px;width:132px;height:132px}.card-detail h3{color:#ffe6a3;font-size:18px}.card-detail .muted.small{opacity:.85;font-size:12px;line-height:1.7}.card-detail-actions .btn-secondary{color:#fff5dc;background:#1f354aeb;border:1px solid #e8d6ac66;border-radius:13px;min-height:44px;font-size:14px;font-weight:700}.card-detail-actions .btn-text{color:#fff3dbcc;font-size:13px}.notice{color:#ffe6a3;background:#182c40e6;border:1px solid #ffe2aa57;border-radius:12px;padding:9px 12px;font-size:13px;line-height:1.6}.notice.warn{color:#ffc9b4;background:#3a1a14b8;border-color:#e0785a8c}.notice.ok{color:#b6f0cd;background:#183428b8;border-color:#78c89673}.showcase-bar{background:#142b3dcc;border-style:solid;border-color:#e8c7805c;border-radius:14px}.voice-panel{color:#fff3d9;background:#142634eb;border:1px solid #e8c9874d;border-radius:16px}.home-user strong,.home-user small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}@media (width<=380px){.home-topbar{gap:6px;left:10px;right:10px}.home-avatar{flex-basis:40px;width:40px;min-height:40px}.home-user{min-width:0;padding:5px 10px}.home-user strong{font-size:14px}.home-user small{font-size:9px}.home-top-actions{gap:5px}.home-top-actions button{width:38px;min-height:38px;font-size:14px}.home-top-actions em{font-size:8px}.home-title img{width:min(64vw,280px)}.home-main-action{min-height:56px;font-size:21px}.home-sub-action{min-height:44px;font-size:15px}.home-bottom-nav button{font-size:17px}.home-bottom-nav span{font-size:10px}.mode-card-body strong{font-size:clamp(19px,5.6vw,26px)}.dice-seat__parity{font-size:19px}.proto-head__meta{padding:4px 10px;font-size:11px}.backpack-tabs button{font-size:11.5px}}.proto-list select,.proto-list input[type=text],.proto-list input[type=number],.proto-list input:not([type]),.proto-list textarea{color:#fff;background:#0e1c2aeb;border:1px solid #a8a18eb3;border-radius:11px;padding:10px 12px;font-size:14px}.proto-list select option{color:#fff3d9;background:#0e1c2a}.proto-list input[type=checkbox]{accent-color:#e8b64c;width:18px;height:18px}.outfit-target-preview{align-items:center;gap:10px}.outfit-target-preview>span,.outfit-target-preview .muted.small{font-size:12px}.quick-body .proto-note{color:#fff6e3eb;text-align:center;background:#102230db;border:1px solid #e8c9873d;border-radius:12px;padding:9px 12px}.proto-primary--ghost{color:#fff3db;background:#162a38f0;border-color:#fff2b280}.quick-match:after{content:none}.quick-match .proto-body{padding-bottom:4px}.quick-match{background:var(--asset-bg-quick-wait,url(../assets/bg/quick-wait.webp)) center / cover no-repeat}.quick-match:before{background:linear-gradient(#091d2ef0 0%,#0b2234e0 16%,#0d2738b8 32%,#102c3885 48%,#122f3652 64%,#14303429 78%,#1430340d 90%,#14303400 100%)}.profile .panel.profile-char{flex-flow:wrap;align-items:center;gap:10px 12px;display:flex}.profile .profile-char .profile-char-info{flex:150px;min-width:0}.profile .profile-char .btn-secondary{flex:none;margin-left:auto}.profile .panel .field-row{align-items:center;gap:8px;display:flex}.profile .panel .field-row .btn-secondary{flex:none;min-width:64px}.dialog.end{scrollbar-width:none;-ms-overflow-style:none;animation:.24s ease-out both end-in;position:relative}.dialog.end::-webkit-scrollbar{width:0;height:0;display:none}.dialog.end .end-corners{z-index:3;background:linear-gradient(#122432f7 62%,#12243200);justify-content:space-between;align-items:center;gap:8px;margin:0 0 8px;padding:2px 0 4px;display:flex;position:sticky;top:0}.dialog.end .end-corner{color:#fff3d5db;text-underline-offset:3px;white-space:nowrap;text-overflow:ellipsis;background:#0a16208f;border:1px solid #e8c98747;border-radius:999px;align-items:center;max-width:46%;min-height:28px;padding:3px 10px;font-size:12px;font-weight:700;line-height:1.2;text-decoration:underline;display:inline-flex;overflow:hidden}.dialog.end .end-corner:active{background:#ffe9a32e}.dialog.end .end-corner:focus-visible{outline-offset:2px;outline:2px solid #ffd27a}.dialog.end .end-corner--academy{color:#ffe6a3;border-color:#ffd9798c}.dialog.end .end-corner-spacer{width:0}@keyframes end-in{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:none}}.end-seal{letter-spacing:0;border:2px solid;border-radius:12px;place-items:center;width:46px;height:46px;margin:0 auto 6px;font-size:26px;font-weight:900;line-height:1;animation:.3s cubic-bezier(.22,1.2,.36,1) both seal-stamp;display:grid}.end-seal--win{color:#ffd979;background:#ffd9791f;box-shadow:0 0 14px #ffd97947}.end-seal--lose{color:#aebbcd;background:#aebbcd1a}.end-seal--draw{color:#8fd8bb;background:#8fd8bb1f}@keyframes seal-stamp{0%{opacity:0;transform:scale(1.4)rotate(-8deg)}60%{opacity:1;transform:scale(.96)rotate(1deg)}to{opacity:1;transform:scale(1)rotate(0)}}.end-avatars{justify-content:center;align-items:flex-start;gap:10px;margin:6px 0 2px;display:flex}.end-avatars__item{flex-direction:column;align-items:center;gap:2px;display:flex}.end-avatars__label{color:#fff6e3b8;font-size:11px}.end-cheer{color:#ffe6a3;margin:6px 0 0;font-size:15px;font-weight:700}.end-lose .end-cheer{color:#cfd9e6;font-weight:600}.end-draw .end-cheer{color:#bfe8d8;font-weight:600}.end-reason{color:#fff3d9;margin:6px 0 0;font-size:14px}.end-meta{margin:4px 0 0;font-size:13px}.dialog.end .end-actions{flex-direction:column;align-items:stretch;gap:8px;margin-top:16px;display:flex}.end-actions__minor{gap:8px;display:flex}.end-actions__minor .btn-secondary{flex:1 1 0;min-height:40px}.dialog.end .end-again{letter-spacing:.04em;width:100%;min-height:48px;font-size:16px;font-weight:800;box-shadow:0 8px 22px #e8b64c47}.dialog.end .end-again:disabled{opacity:.55;box-shadow:none}.dialog.end .end-actions .btn-text{align-self:center}.winfx{pointer-events:none;position:absolute;inset:0;overflow:hidden}.winfx .ink{background:radial-gradient(circle,#ffe7a380,#ffe7a300 68%);border-radius:50%;width:190px;height:190px;margin:-95px 0 0 -95px;animation:1.6s ease-out both win-ink;position:absolute;top:42%;left:50%}.winfx .ink-2{background:radial-gradient(circle,#8fd8bb52,#8fd8bb00 70%);width:260px;height:260px;margin:-130px 0 0 -130px;animation-delay:.12s}@keyframes win-ink{0%{opacity:0;transform:scale(.55)}40%{opacity:.85}to{opacity:.35;transform:scale(1)}}.winfx .spark{width:6px;height:6px;animation:1.15s ease-out both win-spark;animation-delay:var(--d,0s);background:#ffe6a3;border-radius:50%;margin:-3px 0 0 -3px;position:absolute;top:48%;left:50%;box-shadow:0 0 8px #ffe6a3e6}@keyframes win-spark{0%{opacity:0;transform:rotate(var(--a)) translateY(0) scale(.4)}25%{opacity:1}to{opacity:0;transform:rotate(var(--a)) translateY(-96px) scale(.75)}}.winfx .halo{border:2px solid #ffd979b3;border-radius:50%;width:220px;height:220px;margin:-110px 0 0 -110px;animation:1.5s ease-out both win-halo;position:absolute;top:42%;left:50%}@keyframes win-halo{0%{opacity:0;transform:scale(.6)}35%{opacity:.9}to{opacity:0;transform:scale(1.25)}}.winfx .juesha{color:#ffd979;letter-spacing:.12em;text-shadow:0 0 18px #ffd979a6;font-size:30px;font-weight:900;animation:1.1s ease-out .15s both juesha-in;position:absolute;top:16%;left:50%;transform:translate(-50%)}@keyframes juesha-in{0%{opacity:0;transform:translate(-50%)scale(.7)}45%{opacity:1;transform:translate(-50%)scale(1.06)}to{opacity:1;transform:translate(-50%)scale(1)}}.losefx{pointer-events:none;position:absolute;inset:0;overflow:hidden}.losefx__drop{background:#96a8be8c;border-radius:50% 50% 60% 60%;width:12px;height:16px;margin-left:-6px;animation:1.5s ease-in both lose-drop;position:absolute;top:30%;left:50%}@keyframes lose-drop{0%{opacity:0;transform:translateY(-28px)scale(.5)}35%{opacity:.85}70%{opacity:.5;transform:translateY(22px)scale(1)}to{opacity:0;transform:translateY(34px)scale(1.15)}}.losefx__pool{background:radial-gradient(#96a8be42,#96a8be00 72%);border-radius:50%;width:150px;height:74px;margin-left:-75px;animation:1.5s ease-out .35s both lose-pool;position:absolute;top:34%;left:50%}@keyframes lose-pool{0%{opacity:0;transform:scale(.5)}50%{opacity:.9}to{opacity:0;transform:scale(1.15)}}.drawfx{pointer-events:none;position:absolute;inset:0;overflow:hidden}.drawfx__ink{border-radius:50%;width:150px;height:150px;animation:1.4s ease-out both draw-open;position:absolute;top:40%}.drawfx__ink--black{background:radial-gradient(circle,#142234bf,#14223400 70%);left:calc(50% - 130px)}.drawfx__ink--white{background:radial-gradient(circle,#fff3d966,#fff3d900 70%);animation-delay:.1s;right:calc(50% - 130px)}@keyframes draw-open{0%{opacity:0;transform:scale(.6)}45%{opacity:.85}to{opacity:.4;transform:scale(1.05)}}.end-zodiac{color:#ffe6a3;justify-content:center;align-items:center;gap:6px;margin:8px 0 0;font-size:13px;font-weight:700;display:flex}.end-zodiac[data-direction=lost]{color:#ffb3ad}.end-zodiac__thumb{object-fit:cover;border-radius:6px;width:24px;height:24px}.end-academy{color:#ffe9bd;background:#ffe7a314;border:1px dashed #e8c98780;border-radius:10px;margin:10px 0 0;padding:8px 10px;font-size:12px;line-height:1.5}.board .stone-new{transform-box:fill-box;transform-origin:50%;animation:.14s ease-out both stone-drop}@keyframes stone-drop{0%{opacity:.55;transform:scale(1.22)}to{opacity:1;transform:scale(1)}}.board-wrap[data-fx=phase] .board{animation:.9s ease-out both board-phase}@keyframes board-phase{0%{filter:none}35%{filter:brightness(1.18)saturate(1.1)}to{filter:none}}.board-wrap[data-fx=phase]:after{content:"";pointer-events:none;border:2px solid #ffd979bf;border-radius:18px;animation:.9s ease-out both phase-ring;position:absolute;inset:0}@keyframes phase-ring{0%{opacity:0;transform:scale(.97)}30%{opacity:.9}to{opacity:0;transform:scale(1.01)}}.board-wrap[data-fx=repetition]:before{content:"";pointer-events:none;z-index:2;border:2px solid #e27a6ad9;border-radius:18px;animation:1.3s ease-in-out 2 both repetition-warn;position:absolute;inset:0;box-shadow:0 0 18px #e27a6a59}@keyframes repetition-warn{0%,to{opacity:.25}50%{opacity:.95}}.move-clock[data-urgent="1"]{color:#ffd066;font-weight:700;animation:1s ease-in-out infinite clock-urgent}@keyframes clock-urgent{0%,to{opacity:1}50%{opacity:.55}}.board-wrap,.home-top-actions button{position:relative}.home-badge{color:#fff5e8;text-align:center;background:#c9453f;border-radius:9px;min-width:17px;height:17px;padding:0 4px;font-size:10px;font-weight:800;line-height:17px;position:absolute;top:-2px;right:-3px;box-shadow:0 0 0 2px #0a1923e6}.notify{width:min(100%, var(--page-max));box-sizing:border-box;min-height:100dvh;padding:0 12px 20px}.msg-toolbar{justify-content:space-between;align-items:center;gap:10px;margin:4px 0 10px;display:flex}.msg-filters{gap:6px;display:flex}.msg-filters button{color:#ffe9bb;background:#12202cb3;border:1px solid #ffecc252;border-radius:16px;min-height:32px;padding:0 12px;font-size:12px;font-weight:700}.msg-filters button[aria-pressed=true]{color:#3b270b;background:linear-gradient(#ffe9aa,#e7b84d);border-color:#fff0cacc}.msg-toolbar .btn-text:disabled{opacity:.45}.msg-list{grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.msg-item{background:#101e2bd1;border:1px solid #ffecc238;border-radius:14px;overflow:hidden}.msg-item.unread{background:#172837eb;border-color:#ffde9480}.msg-open{color:#fff4dd;text-align:left;background:0 0;border:0;flex-direction:column;gap:3px;width:100%;padding:10px 12px 8px;display:flex}.msg-meta{justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.msg-kind{color:#ffe0a0;font-weight:700}.msg-kind.warn{color:#ffb4a4}.msg-time{color:#c9d6e0;opacity:.8}.msg-title{align-items:center;gap:6px;font-size:15px;font-weight:800;display:flex}.msg-dot{background:#e2574c;border-radius:50%;flex:none;width:7px;height:7px}.msg-body{color:#e6eef4;opacity:.92;word-break:break-word;font-size:12px;line-height:1.5}.msg-source{color:#c9d6e0;opacity:.6;font-size:10px}.msg-actions{justify-content:flex-end;gap:10px;padding:0 12px 8px;display:flex}.msg-actions .btn-text{font-size:11px}.msg-empty{text-align:center;color:#e6eef4;opacity:.7;margin:40px 0 0;font-size:13px}.settings-page{box-sizing:border-box;overscroll-behavior-y:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;flex-direction:column;align-items:stretch;gap:12px;width:100%;max-width:640px;height:100dvh;max-height:100dvh;margin:0 auto;padding:0 14px 32px;display:flex;overflow:hidden auto}.settings-page::-webkit-scrollbar{width:0;height:0;display:none}.settings-page>.proto-head{margin-top:max(14px, calc(env(safe-area-inset-top,0px) + 12px))}.settings-page>*{flex:none}.settings-page>.notice{margin:0}.set-group{background:#122230d6;border:1px solid #e8c98738;border-radius:16px;flex-direction:column;gap:2px;padding:12px 14px 14px;display:flex}.set-group>h2{color:#ffe6a3;align-items:center;gap:6px;margin:0 0 6px;font-size:14px;font-weight:800;display:flex}.set-row{border-bottom:1px solid #fff1d217;align-items:center;gap:14px;min-height:52px;padding:8px 0;display:flex}.set-row:last-child{border-bottom:0}.set-row--stack{flex-direction:column;align-items:stretch;gap:8px}.set-row--action{flex-wrap:wrap}.set-row__text{flex-direction:column;flex:auto;gap:2px;min-width:0;display:flex}.set-row__text>b{color:#fff6e3;font-size:14px;font-weight:700}.set-row__text>em{color:#fff6e3b8;font-size:12px;font-style:normal;line-height:1.5}.set-row__text>em.set-row__state{color:#ffd27a}.set-row__text>em.set-row__state[data-state=denied]{color:#ff9d97}.set-row__value{font-variant-numeric:tabular-nums;color:#ffe6a3;text-align:right;flex:none;min-width:28px;font-size:13px;font-style:normal;font-weight:700}.set-row select{color:#fff;text-overflow:ellipsis;background:#0c1824eb;border:1px solid #a8a18eb3;border-radius:11px;flex:0 auto;min-width:132px;max-width:min(54%,200px);margin-left:4px;padding:9px 12px;font-size:13px}.set-row:has(select){flex-wrap:wrap;row-gap:8px}.set-row:has(select)>.set-row__text{flex:190px}.set-row:has(select)>select{flex:none;max-width:100%;margin-left:auto}.set-row input[type=range]{accent-color:#e8b64c;flex:90px;min-width:80px}.set-row input[type=range]:disabled{opacity:.4}.set-row input[role=switch]{appearance:none;cursor:pointer;background:#0c1824f2;border:1px solid #e8c98773;border-radius:999px;flex:none;width:46px;height:27px;transition:background .18s,border-color .18s;position:relative}.set-row input[role=switch]:after{content:"";background:#d9d2c2;border-radius:50%;width:21px;height:21px;transition:transform .18s,background .18s;position:absolute;top:2px;left:2px}.set-row input[role=switch]:checked{background:linear-gradient(#ffe9a3,#e9ba4d);border-color:#ffe9a3}.set-row input[role=switch]:checked:after{background:#3d2a0b;transform:translate(19px)}.set-row input[role=switch]:disabled{opacity:.45;cursor:not-allowed}.set-row input[role=switch]:focus-visible,.set-row button:focus-visible,.set-row select:focus-visible{outline-offset:2px;outline:2px solid #ffd27a}.set-hint{color:#fff6e3b8;margin:6px 0 0;font-size:12px;line-height:1.65}.set-hint.warn{color:#ffd27a}.set-about__link{align-self:flex-start;text-decoration:none}.settings-page .segmented{background:#0a141ecc;border:1px solid #e8c98747;border-radius:12px;gap:0;padding:3px;display:flex}.settings-page .segmented>button{color:#fff6e3c7;cursor:pointer;background:0 0;border:0;border-radius:9px;flex:1 1 0;min-width:0;min-height:38px;padding:0 8px;font-size:13px;font-weight:700}.settings-page .segmented>button.on{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d)}.home-title-text{letter-spacing:.04em;color:#fff6e3;text-shadow:0 3px 10px #172415;margin:0;font-size:clamp(38px,12vw,64px);line-height:1.1}.dialog.policy{text-align:left;max-width:640px;max-height:82dvh;overflow:auto}.dialog.policy h3{text-align:center}.policy-list{gap:12px;margin:10px 0 16px;padding-left:1.1em;display:grid}.policy-list>li{color:#fff6e3eb}.policy-list>li>b{color:#ffe9a3;margin-bottom:4px;display:block}.policy-list>li>p{margin:0;font-size:14px;line-height:1.65}.academy-lesson-toggle{white-space:nowrap;margin-left:8px;font-size:12px}.academy-lesson{background:#08101a8c;border:1px solid #e8c98738;border-radius:10px;gap:8px;margin:8px 0 4px;padding:10px 12px;display:grid}.academy-lesson>p{margin:0;font-size:13px;line-height:1.6}.academy-lesson>p>b{color:#ffe9a3;margin-bottom:2px;display:block}:root{--ui-scale:1}:root.text-large{--ui-scale:1.12}:root.text-xlarge{--ui-scale:1.26}body{zoom:var(--ui-scale)}.screen{min-height:calc(100dvh / var(--ui-scale))}:root{--page-max:100%}:root.contrast-high body{background-color:#05080d}:root.contrast-high .screen{text-shadow:0 1px 3px #000000e6}:root.contrast-high .muted,:root.contrast-high .set-hint,:root.contrast-high .set-row__text>em,:root.contrast-high small{color:#fff;opacity:1}:root.colorblind .board .stone-black{stroke:#fff;stroke-width:3px;stroke-dasharray:4 3}:root.colorblind .board .stone-white{stroke:#101010;stroke-width:3px}.settings-page a.set-about__link{color:#ffe6a3;background:#0e1c2ae6;border:1px solid #e8c98780;border-radius:12px;justify-content:center;align-items:center;min-height:40px;padding:0 16px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.proto-head--with-action{grid-template-columns:minmax(64px,1fr) minmax(0,2.2fr) minmax(64px,1fr)}.proto-head__action{justify-self:end;align-items:center;min-width:0;display:flex}.proto-action{white-space:nowrap;color:#fff;background:#142837b8;border:1px solid #ffffff4d;border-radius:20px;min-height:34px;padding:6px 13px;font-size:14px;font-weight:600}.ui-card{color:#fff3d9;box-sizing:border-box;background:#122232db;border:1px solid #e8c98738;border-radius:18px;flex-direction:column;gap:10px;width:100%;padding:14px;display:flex}.ui-card--danger{background:#26181cd1;border-color:#d457516b}.ui-card__head{justify-content:space-between;align-items:center;gap:8px;display:flex}.ui-card__title{letter-spacing:.02em;color:#ffe6a3;margin:0;font-size:15px;font-weight:800}.ui-card__aside{flex:none}.ui-card__hint{color:#fff6e3b8;margin:0;font-size:12px;line-height:1.6}.ui-card__body{flex-direction:column;gap:12px;display:flex}.ui-card__foot{margin:0}.ui-card .field{flex-direction:column;gap:6px;display:flex}.ui-card .field>span:first-child{color:#fff6e3db;font-size:13px;font-weight:700}.ui-tag{color:#ffe6a3;white-space:nowrap;background:#ffe9a31f;border:1px solid #ffe9a361;border-radius:999px;align-items:center;padding:2px 9px;font-size:11px;font-weight:700;display:inline-flex}.ui-tag--ok{color:#c8f0cf;background:#46965a38;border-color:#96dca073}.ui-tag--warn{color:#ffc3b8;background:#963c3238;border-color:#e27a6a80}.ui-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.ui-row--stack{flex-direction:column;align-items:stretch}.ui-row__text{flex-direction:column;gap:2px;min-width:0;display:flex}.ui-row__text>b{font-size:14px;font-weight:700}.ui-row__text>em{color:#fff6e3ad;font-size:12px;font-style:normal;line-height:1.5}.ui-row__control{flex:none;align-items:center;gap:8px;display:flex}.ui-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.ui-actions>button,.ui-actions>a{color:#fff5dc;background:#1f354aeb;border:1px solid #e8d6ac61;border-radius:12px;min-height:42px;padding:0 12px;font-size:14px;font-weight:700}.ui-actions>button.btn-primary{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d);border-color:#fff0ad}.ui-segmented{box-sizing:border-box;background:#0a1620d1;border:1px solid #e8c98747;border-radius:999px;grid-auto-columns:1fr;grid-auto-flow:column;gap:4px;width:100%;padding:4px;display:grid}.ui-segmented>button{color:#fff6e3c7;cursor:pointer;background:0 0;border:0;border-radius:999px;min-height:36px;font-size:14px;font-weight:700}.ui-segmented>button.on{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d);box-shadow:0 2px 8px #00000047}.ui-segmented>button:focus-visible{outline-offset:2px;outline:2px solid #ffd27a}.ui-toast{left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 20px);z-index:60;color:#d7f5dd;text-align:center;background:#0e2018f2;border:1px solid #96dca080;border-radius:999px;max-width:min(88vw,420px);margin:0;padding:9px 16px;font-size:13px;font-weight:700;animation:.18s ease-out both ui-toast-in;position:fixed;transform:translate(-50%);box-shadow:0 10px 28px #00000080}@keyframes ui-toast-in{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}.ui-danger{text-align:center;width:100%;padding:4px 0 12px}.ui-danger .btn-text.danger{color:#ff9d97;background:#301a1c99;border:1px solid #d457516b;border-radius:12px;min-height:40px;padding:0 16px;font-size:13px;font-weight:700}.profile,.proto-list.records,.settings-page{max-width:var(--page-max);width:100%}.profile,.records{gap:10px}.profile-char{align-items:center;gap:12px;display:flex}.profile-char-info{flex-direction:column;flex:auto;gap:3px;min-width:0;display:flex}.profile-char-info>b{font-size:16px}.profile-char .btn-secondary{border-radius:12px;flex:none;min-height:38px;padding:0 14px}.profile .ui-card .notice{margin:0}.records .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.records .stat--lead{flex-direction:row;grid-column:1/-1;justify-content:center;align-items:baseline;gap:10px;padding:12px 10px}.records .stat--lead b{font-size:30px;line-height:1.1}.records .stat--lead span{font-size:12px}.records .stat b{font-size:15px}.proto-list .record-item{background:#142637e6;border:1px solid #e8c9873d;border-radius:16px;flex-direction:column;gap:0;padding:0;display:flex;overflow:hidden}.proto-list .record-item[data-tone=win]{border-color:#96dca061}.proto-list .record-item[data-tone=loss]{border-color:#e27a6a5c}.proto-list .record-main{background:0 0;border:0;border-radius:0;flex-direction:column;align-items:stretch;gap:4px;padding:10px 12px 6px;display:flex}.record-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.record-time{color:#fff6e394;flex:none;font-size:11px}.record-item[data-tone=win] .record-result{color:#c8f0cf;background:#46965a42;border-color:#96dca080}.record-item[data-tone=loss] .record-result{color:#ffc3b8;background:#963c3242;border-color:#e27a6a80}.record-item[data-tone=draw] .record-result{color:#e6e9f0;background:#78829138;border-color:#c8c8d266}.record-prize{color:#ffe0a3;font-size:12px;display:block}.record-actions{justify-content:flex-end;gap:6px;padding:0 10px 9px;display:flex}.record-act{color:#fff4d4;background:#192b3be6;border:1px solid #e8d6ac4d;border-radius:999px;min-height:30px;padding:0 12px;font-size:12px;font-weight:700}.record-act--danger{color:#ff9d97;border-color:#d4575180}.records-empty{border-radius:18px;flex-direction:column;align-items:center;gap:6px;padding:26px 16px;display:flex}.records-empty__glyph{color:#ffe0a3;opacity:.9;font-size:24px;line-height:1}.records-empty b{font-size:15px}.records-empty p{color:#fff6e3b3;max-width:30em;font-size:12px;line-height:1.7}.settings-nav{z-index:5;scrollbar-width:none;-webkit-overflow-scrolling:touch;background:linear-gradient(#0a161ef5 70%,#0a161e00);gap:6px;width:100%;padding:6px 0;display:flex;position:sticky;top:0;overflow:auto hidden}.settings-nav::-webkit-scrollbar{display:none}.settings-nav__chip{color:#ffe6a3;white-space:nowrap;background:#142634e6;border:1px solid #e8c9874d;border-radius:999px;flex:none;min-height:32px;padding:0 12px;font-size:12px;font-weight:700}.settings-nav__chip:active{background:#ffe9a32e}.settings-page .set-group{scroll-margin-top:56px}.ui-actions--single>button{justify-self:start;min-width:46%}.set-row>select{flex:0 auto;min-width:132px;max-width:min(54%,200px)}.set-row__text{min-width:0}.set-row__text>em{word-break:break-word}.set-row__value{flex:none}.settings-nav{-webkit-backdrop-filter:blur(6px);background:linear-gradient(#0a1620eb,#0a1620b8);padding:8px 2px;-webkit-mask-image:linear-gradient(90deg,#000 88%,#0000 100%);mask-image:linear-gradient(90deg,#000 88%,#0000 100%)}.records .rank-tabs{background:#0a1620d1;border:1px solid #e8c98747;border-radius:999px;gap:4px;margin:0;padding:4px}.records .rank-tab{color:#fff6e3c7;background:0 0;border:0;border-radius:999px;min-height:34px;padding:0 10px;font-size:13px;font-weight:700}.records .rank-tab.on{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d);border:0}.records .rank .panel,.records .rank>.panel{background:#122232db;border:1px solid #e8c98738;border-radius:18px}.records-pane{flex-direction:column;align-items:stretch;gap:10px;width:100%;display:flex}.records-pane[hidden]{display:none}.records-pane>*{width:100%}.records-pane .rank{flex-direction:column;align-items:stretch;gap:10px;width:100%;display:flex}.records-pane .panel{width:100%}.records-pane .rank-list,.records-pane ul{margin:0;padding:0}.records .rank-tabs{background:0 0;border:0;border-radius:0;justify-content:flex-start;gap:6px;margin:0;padding:0;display:flex}.records .rank-tab{color:#fff6e3cc;background:#142634b8;border:1px solid #e8c9874d;border-radius:999px;flex:none;min-height:30px;padding:0 14px;font-size:12px;font-weight:700}.records .rank-tab.on{color:#ffe6a3;background:#ffe9a32e;border-color:#ffe9a38c}.notify{max-width:var(--page-max);gap:10px}.notify-summary{color:#fff6e3ad;text-align:center;margin:0;font-size:12px}.notify .ui-segmented>button{font-size:13px}.notify .msg-list{gap:10px}.notify .msg-item{background:#142637e6;border:1px solid #e8c9873d;border-radius:16px}.notify .msg-item.unread{background:#182a3cf0;border-color:#ffde9475}.notify .msg-item.warn{border-color:#e27a6a80}.notify .msg-open{gap:4px;padding:10px 12px 6px}.notify .msg-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.notify .msg-kind{background:#ffe9a31f;border:1px solid #ffe9a357;border-radius:999px;align-items:center;padding:1px 8px;font-size:11px;font-weight:700;display:inline-flex}.notify .msg-kind.warn{color:#ffc3b8;background:#963c323d;border-color:#e27a6a80}.notify .msg-title{color:#fff4dd;align-items:center;gap:6px;font-size:15px;font-weight:800;display:flex}.notify .msg-item.unread .msg-title{color:#fff}.notify .msg-body{color:#fff6e3db;font-size:12px;line-height:1.6}.notify .msg-source{color:#fff6e380;font-size:10px}.notify .msg-actions{justify-content:flex-end;gap:6px;padding:0 10px 9px;display:flex}.notify .msg-act{color:#fff4d4;background:#192b3be6;border:1px solid #e8d6ac4d;border-radius:999px;min-height:30px;padding:0 12px;font-size:12px;font-weight:700}.notify .msg-act--danger{color:#ff9d97;border-color:#d4575180}.notify .msg-empty{color:#fff6e3d1;background:#142634b3;border:1px dashed #e8c98759;border-radius:18px;flex-direction:column;align-items:center;gap:8px;margin:0;padding:30px 16px;font-size:13px;display:flex}.notify .msg-empty:before{content:"✉";color:#ffe0a3;opacity:.9;font-size:24px;line-height:1}.settings-page .set-group{background:#122232db;border-color:#e8c98738;border-radius:18px;padding:14px}.settings-page .set-group>h2{color:#ffe6a3;font-size:15px;font-weight:800}.proto-action:disabled{opacity:.45;cursor:default}.notify .msg-toolbar{width:100%;margin:0;display:block}.game .control-bar .control-btn{font-size:15px}@media (width<=359px){.game .control-bar .control-btn{padding-inline:4px;font-size:13px}}@media (width<=379px){.game .control-bar:has(.control-side>.control-btn:nth-child(2)){grid-template-columns:minmax(0,1fr) auto auto}}.home-avatar{box-sizing:border-box;aspect-ratio:1;flex:none;align-self:center;place-items:center;height:auto;min-height:0;padding:2px;line-height:0;display:grid;overflow:hidden}.home-avatar>.char-avatar{border-radius:50%;width:100%;height:100%;display:block}.end-academy-chip{letter-spacing:.04em;color:#ffe9bd;background:#ffe7a31a;border:1px solid #e8c9878c;border-radius:999px;margin:2px auto 0;padding:2px 10px;font-size:11px;font-weight:700;display:inline-block}.end-academy-chip[data-kind=retain],.end-academy-chip[data-kind=retain-replay]{color:#cfd9e6;background:#aebbcd1f;border-color:#aebbcd99}.end-academy-chip[data-kind=graduate-stage],.end-academy-chip[data-kind=graduate-all]{color:#ffe6a3;background:#ffd9792e;border-color:#ffd979d9}.home-top-actions button em,.home-bottom-nav>button>span:not(.home-nav-glyph){white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.settings-page .segmented>button,.segmented>button{white-space:normal;overflow-wrap:anywhere;padding-top:3px;padding-bottom:3px;line-height:1.15}:root[data-locale=en] .home-top-actions button em,:root[data-locale=en] .home-bottom-nav>button>span:not(.home-nav-glyph){letter-spacing:0;font-size:11px}:root[data-locale=en] .segmented>button,:root[data-locale=en] .settings-page .segmented>button{letter-spacing:0;padding:0 4px;font-size:12px}:root[data-locale=en] .set-row__text>b{letter-spacing:0}:root[data-locale=en] .home-main-action,:root[data-locale=en] .home-sub-action{letter-spacing:.01em}.home-topbar{min-width:0}.home-topbar>.home-avatar{flex:none}.home-user{min-width:0;max-width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;border:0;flex:auto;overflow:hidden}.home-user strong,.home-user small{white-space:nowrap;text-overflow:ellipsis;min-width:0;max-width:100%;display:block;overflow:hidden}.home-top-actions{flex:none}.card-detail{position:relative}.card-detail-close{color:#fff3dbb3;background:0 0;border:none;border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;padding:0;font-size:16px;line-height:1;display:inline-flex;position:absolute;top:6px;right:6px}.card-detail-close:hover{color:#fff3d9;background:#fff3db1a}.card-detail-close:focus-visible{outline-offset:2px;outline:2px solid #ffe6a3cc}.card-detail h3{padding:0 40px}.home-announcement{color:#f2f7ff;text-align:left;background:#0c1e2cc7;border:1px solid #ffffff2e;border-radius:12px;align-items:center;gap:8px;width:min(100%,560px);margin:0 auto;padding:8px 10px 8px 12px;font-size:12.5px;line-height:1.45;display:flex;box-shadow:0 6px 18px #00000047}.home-announcement--warn{color:#ffe6b8;background:#3a280cd1;border-color:#ffd47980}.home-announcement__icon{background:#ffffff2e;border-radius:50%;flex:none;place-items:center;width:18px;height:18px;font-size:11px;font-weight:700;display:grid}.home-announcement--warn .home-announcement__icon{background:#ffd47947}.home-announcement__text{overflow-wrap:anywhere;flex:1;min-width:0}.home-announcement__text.as-link{color:inherit;font:inherit;text-align:left;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.home-announcement__close{width:22px;height:22px;color:inherit;opacity:.72;background:0 0;border:0;border-radius:50%;flex:none;font-size:16px;line-height:1}.home-announcement__close:hover{opacity:1;background:#ffffff1f}.academy{gap:8px}.academy-grades li.academy-grade{flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px}.academy-grades li.academy-grade-locked{opacity:.72}.academy-grade__mark{color:#fff6e380;border:1px solid #fff1d247;border-radius:50%;flex:none;place-items:center;width:20px;height:20px;font-size:11px;font-weight:800;display:grid}.academy-grade__mark[data-state=cleared]{color:#b9e6b0;background:#3a763e57;border-color:#7ec978bf}.academy-grade__mark[data-state=current]{color:#ffe9a3;background:#e9ba4d42;border-color:#ffe9a3e6}.academy-grade-tag{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.academy .academy-grades li button.academy-lesson-toggle{color:#fff6e3e0;background:#0b1a2680;border:1px solid #fff1d24d;border-radius:999px;flex:none;min-width:0;min-height:30px;padding:4px 10px;font-size:12px;font-weight:700}.academy .academy-grades li button.academy-lesson-toggle[aria-expanded=true]{color:#ffe9a3;border-color:#ffe9a3d9}.academy .academy-grades li button.academy-grade-go{border-radius:16px;flex:none;min-width:74px;min-height:34px;padding:5px 12px;font-size:13px}.academy .academy-grades li button.academy-grade-go.is-replay{color:#fff5dc;background:#263a4aeb;border-color:#fff1d273}.academy-lesson{flex:1 0 100%;margin-top:2px}.academy-summary{flex-direction:column;gap:8px;display:flex}.academy-summary__top{align-items:center;gap:10px;display:flex}.academy-summary__grade{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.academy-summary__kicker{letter-spacing:.05em;color:#fff6e3a8;font-size:11px}.academy-summary__grade b{font-size:19px;line-height:1.2}.academy-summary__go{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d);border:1px solid #fff0ad;border-radius:20px;flex:none;min-height:38px;padding:7px 16px;font-size:14px;font-weight:800}.academy-bar{background:#ffffff24;border-radius:999px;height:6px;overflow:hidden}.academy-bar>i{border-radius:inherit;background:linear-gradient(90deg,#ffe9a3,#e9ba4d);height:100%;display:block}.academy-summary__stats,.academy-summary__hint{margin:0}.academy-summary__cert{align-self:flex-start;min-height:36px;padding:6px 14px;font-size:13px}.academy-stage{padding:10px 12px 12px}.academy-stage.is-done{border-color:#7ec9786b}.academy-stage__head{align-items:baseline;gap:8px;display:flex}.academy-stage__head h3{margin:0}.academy-stage__count{color:#ffe6a3d9;margin-left:auto;font-size:12px;font-weight:800}.academy-stage__hint{margin:2px 0 0}.academy-grades{gap:6px;margin:8px 0 0}.academy-knowledge{padding:10px 12px}.academy-knowledge__head{margin:0}.academy-knowledge__toggle{color:#ffe6a3;text-align:left;background:0 0;border:0;align-items:center;gap:8px;width:100%;padding:0;font-size:14px;font-weight:800;display:flex}.academy-knowledge__count{color:#ffe6a3cc;margin-left:auto;font-size:12px;font-weight:700}.academy-knowledge__chev{text-align:center;color:#fff6e3b8;width:14px;font-size:11px}.academy-knowledge__list{flex-direction:column;gap:6px;margin:8px 0 0;padding:0;font-size:12.5px;line-height:1.6;list-style:none;display:flex}.academy-knowledge__list li{gap:6px;display:flex}.academy-bar{height:8px;box-shadow:inset 0 0 0 1px #ffffff1a}.academy-bar>i{min-width:0;box-shadow:0 0 8px #ffd68266}.academy-summary__hint{font-size:12.5px;line-height:1.6}.academy-summary__stats{letter-spacing:.01em}.academy .academy-grades li .academy-lesson{border-left:2px solid #ffe9a373;margin:4px 0 2px 28px}.academy-trial{background:#0e1e2cc7;border:1px solid #e8ca8a38;border-radius:16px;width:100%;padding:10px 12px}.academy-trial h3{color:#ffebbed1;margin:0 0 4px;font-size:13px;font-weight:700}.academy-trial>p{margin:0 0 8px;font-size:12px;line-height:1.6}.academy-trial-row{gap:8px;display:flex}.academy-trial-row input{color:#fff9e8;background:#070f189e;border:1px solid #fff1d23d;border-radius:10px;flex:1;min-width:0;min-height:38px;padding:6px 10px;font-size:13px}.academy-trial-row input::placeholder{color:#fff6e373}.academy-trial-row .btn-secondary{flex:none;min-height:38px;padding:6px 14px;font-size:13px}.dialog.certificate{padding:20px 18px;position:relative}.dialog.certificate h3{color:#4a3423;margin:6px 0 10px;font-size:20px}.certificate-stamp{letter-spacing:0;text-align:center;word-break:break-word;width:54px;height:54px;padding:4px;font-size:10px;line-height:1.15;top:12px;right:12px;overflow:hidden}.certificate-close{color:#4a34238c;background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;font-size:15px;line-height:1;display:inline-flex;position:absolute;top:6px;right:6px}.certificate-close:hover{color:#4a3423;background:#4a34231a}.certificate-close:focus-visible{outline-offset:2px;outline:2px solid #4a342399}.dialog.certificate .certificate-stamp{left:12px;right:auto}.dice-online{justify-content:flex-start;gap:10px}.dice-online .proto-head strong{text-align:center;letter-spacing:.04em;color:#fff6e3;flex:1;font-size:15px;font-weight:800}.friend-stage{color:#fff6e3;background:linear-gradient(#162b3eed,#0e1e2cf2);border:1px solid #e8c98757;border-radius:18px;flex-direction:column;align-items:center;gap:8px;width:100%;padding:14px;display:flex;box-shadow:0 10px 26px #040c1461}.friend-stage__state{letter-spacing:.02em;color:#ffe6a3;background:#0a162299;border:1px solid #ffe2aa6b;border-radius:999px;align-items:center;gap:7px;margin:0;padding:5px 12px;font-size:12px;font-weight:800;display:inline-flex}.friend-stage__state[data-state=you]{color:#fff2b2;background:#e9ba4d33;border-color:#ffe9a3e6}.friend-stage__state[data-state=result]{color:#c8f2bf;background:#3a763e47;border-color:#7ec978b3}.friend-stage__pulse{background:currentColor;border-radius:50%;width:7px;height:7px;animation:1.6s ease-out infinite friend-pulse;box-shadow:0 0 #ffe6a38c}@keyframes friend-pulse{0%{box-shadow:0 0 #ffe6a380}70%{box-shadow:0 0 0 7px #ffe6a300}to{box-shadow:0 0 #ffe6a300}}@media (prefers-reduced-motion:reduce){.friend-stage__pulse,.friend-waiting__dots i{animation:none}}.friend-stage__title{letter-spacing:.02em;color:#ffe6a3;text-align:center;margin:0;font-size:22px;font-weight:900}.friend-stage__sub{color:#fff6e3c7;text-align:center;margin:0;font-size:12.5px;font-weight:700}.friend-vs{justify-content:center;align-items:center;gap:8px;width:100%;margin-top:2px;display:flex}.friend-vs__side{background:#0a162280;border:1px solid #fff1d238;border-radius:12px;flex:1 1 0;align-items:center;gap:6px;min-width:0;padding:7px 10px;font-size:12.5px;font-weight:700;line-height:1.35;display:inline-flex}.friend-vs__side[data-side=black] .dot{background:#d9d3c4;border-color:#f4ecd8}.friend-vs__side[data-side=white] .dot{background:#f7f3e6;border-color:#d8cba8}.friend-vs__mid{letter-spacing:.1em;color:#ffe6a399;flex:none;font-size:11px;font-weight:900}.friend-stage__mode{text-align:center;color:#fff6e3b8;margin:0;font-size:11.5px;line-height:1.55}.friend-waiting{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:6px 2px 2px;display:flex}.friend-waiting__dots{gap:5px;display:inline-flex}.friend-waiting__dots i{background:#ffe6a3d9;border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite friend-blink}.friend-waiting__dots i:nth-child(2){animation-delay:.18s}.friend-waiting__dots i:nth-child(3){animation-delay:.36s}@keyframes friend-blink{0%,to{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(-2px)}}.friend-waiting__who{color:#ffe6a3;margin:0;font-size:15px;font-weight:800}.friend-waiting__note{color:#fff6e3b8;max-width:300px;margin:0;font-size:11.5px;line-height:1.6}.online-alert{align-items:center;gap:8px;padding:6px 10px;font-size:12px;line-height:1.4;display:flex}.online-alert>span{flex:1;min-width:0}.online-alert .btn-text{color:#ffd9cf;background:#0000002e;border:1px solid #ffc9b48c;border-radius:999px;flex:none;min-height:28px;padding:3px 10px;font-size:12px;font-weight:700}.dice-online .voice-panel{margin-top:2px}.voice-call{border-radius:22px;min-height:42px;padding:8px 22px;font-size:14px;font-weight:800}.voice-incoming{color:#ffe6a3;align-items:center;gap:7px;font-size:13px;font-weight:800;display:inline-flex}.voice-incoming__dot{background:#ff8f6b;border-radius:50%;width:8px;height:8px;animation:1.4s ease-out infinite friend-pulse}.voice-calling{color:#fff6e3c7;font-size:12px}.dice-online .stake-panel,.dice-online .result-panel{color:#fff6e3;background:linear-gradient(#162b3eed,#0e1e2cf2);border:1px solid #e8c9874d;border-radius:18px;flex-direction:column;gap:10px;width:100%;padding:12px 14px;display:flex;box-shadow:0 10px 26px #040c1457}.dice-online .stake-panel__head,.dice-online .result-panel__head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.dice-online .stake-panel__title,.dice-online .result-panel__title{color:#ffe6a3;margin:0;font-size:14px;font-weight:800;line-height:1.4}.dice-online .stake-panel__badge{color:#ffe9b2;background:#0a16228c;border:1px solid #ffe2aa73;border-radius:999px;flex:none;margin-left:auto;padding:4px 10px;font-size:11.5px;font-weight:800}.dice-online .stake-panel__hint{color:#fff6e3ad;margin:-2px 0 0;font-size:11.5px;line-height:1.5}.dice-online .stake-panel__sides{gap:8px;margin:0;padding:0;list-style:none;display:flex}.dice-online .stake-side{background:#0a162280;border:1px solid #fff1d238;border-radius:12px;flex:1 1 0;align-items:center;gap:6px;min-width:0;padding:7px 10px;font-size:12.5px;display:flex}.dice-online .stake-side[data-on="1"]{background:#e9ba4d29;border-color:#ffe9a3cc}.dice-online .stake-side__seat{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-weight:700;overflow:hidden}.dice-online .stake-side__count{color:#ffe9b2;flex:none;font-weight:800}.dice-online .stake-panel__pick{color:#fff6e3ad;margin:0;font-size:11.5px;line-height:1.5}.dice-online .stake-panel__empty,.dice-online .stake-panel__foot,.dice-online .stake-panel__missing,.dice-online .result-panel__hint,.dice-online .result-panel__wait{color:#fff6e3b8;margin:0;font-size:11.5px;line-height:1.6}.dice-online .stake-panel__missing{color:#ffc9b4;text-align:center;background:#3a1a14b3;border:1px solid #e0785a80;border-radius:14px;width:100%;padding:10px 12px}.dice-online .bet-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.dice-online .bet-cards>li{min-width:0}.dice-online .bet-card{color:#fff6e3;text-align:left;background:#0a16229e;border:1px solid #fff1d242;border-radius:12px;align-items:center;gap:6px;width:100%;min-height:46px;padding:6px 8px;font-size:12.5px;font-weight:700;line-height:1.25;display:flex}.dice-online .bet-card__mark{color:#fff6e38c;border:1px solid #fff1d24d;border-radius:50%;flex:none;place-items:center;width:18px;height:18px;font-size:11px;display:grid}.dice-online .bet-card__name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.dice-online .bet-card--on{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d);border-color:#fff2b2;box-shadow:0 0 14px #ffde8173}.dice-online .bet-card--on .bet-card__mark{color:#3d2a0b;border-color:#3d2a0b73}.dice-online .bet-card:disabled{opacity:.6}@media (width<=380px){.dice-online .bet-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}.dice-online .result-panel .dice-seats,.dice-online .result-panel .dice-die{margin:0}.dice-online .result-panel .dice-verdict{min-height:0;margin:0}.dice-online .result-panel__go{color:#3d2a0b;letter-spacing:.04em;background:linear-gradient(#ffe9a3,#e9ba4d);border:1px solid #fff0ad;border-radius:24px;width:100%;min-height:48px;font-size:16px;font-weight:900}.dice-online .result-panel__go:active{transform:translateY(1px)}.dice-online .result-panel__hint{text-align:center}.dice-online .result-panel__wait{text-align:center;border:1px dashed #ffe2aa61;border-radius:12px;padding:9px 12px}.dice-online .result-panel__table{background:radial-gradient(circle at 50% 45%,#ffe2aa1a,#08101a57 70%);border:1px solid #fff1d229;border-radius:14px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;padding:8px 6px;display:grid}.dice-online .result-panel__table .dice-seat[data-side=black]{order:1}.dice-online .result-panel__table .dice-die{order:2}.dice-online .result-panel__table .dice-seat[data-side=white]{order:3}.dice-online .result-panel__table .dice-seat{flex:initial;border-radius:12px;gap:1px;padding:8px 6px}.dice-online .result-panel__table .dice-seat__name{font-size:13px}.dice-online .result-panel__table .dice-seat__parity{font-size:19px}.dice-online .result-panel__table .dice-seat__hint{font-size:10.5px}.dice-online .result-panel__table .dice-die{justify-content:center}.dice-online .result-panel__table .dice-stage{height:104px;min-height:0}@media (width<=380px){.dice-online .result-panel__table .dice-stage{height:88px}}.dice-online .stake-panel{gap:8px}.dice-online .stake-slots{flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0;list-style:none;display:flex}.dice-online .stake-slots>li{flex:none}.dice-online .stake-slot{color:#fff6e3d1;background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;width:64px;padding:0;font-size:10.5px;line-height:1.2;display:flex;position:relative}.dice-online .stake-slot__thumb{background:#0a1822b8;border:1px dashed #e8c98773;border-radius:10px;width:64px;height:64px;display:block;position:relative;overflow:hidden}.dice-online .stake-slot__thumb>img{object-fit:cover;opacity:.78;width:100%;height:100%;display:block}.dice-online .stake-slot[data-on="1"] .stake-slot__thumb{border-style:solid;border-color:#fff2b2;box-shadow:0 0 0 2px #ffe2a38c,0 0 14px #ffde8180}.dice-online .stake-slot[data-on="1"] .stake-slot__thumb>img{opacity:1}.dice-online .stake-slot[data-on="1"]{color:#ffe9b2;font-weight:800}.dice-online .stake-slot__check{color:#3d2a0b;background:linear-gradient(#ffe9a3,#e9ba4d);border-radius:50%;place-items:center;width:18px;height:18px;font-size:11px;font-weight:900;display:grid;position:absolute;bottom:2px;right:2px}.dice-online .stake-slot__name{text-overflow:ellipsis;white-space:nowrap;max-width:64px;overflow:hidden}.dice-online .stake-slot:disabled{opacity:.6}.dice-online .stake-panel__foot{color:#fff6e3b3;margin:0;font-size:11.5px;line-height:1.6}.dice-online .stake-panel__rule{color:#fff6e394;display:block}@media (width<=380px){.dice-online .stake-slot,.dice-online .stake-slot__thumb{width:56px}.dice-online .stake-slot__thumb{height:56px}}.voice-panel{gap:6px;padding:8px 12px}.voice-panel .voice-head{align-items:baseline;gap:8px;min-width:0;display:flex}.voice-panel .voice-head__title{color:#ffe6a3;font-size:13px;font-weight:800}.voice-panel .voice-head__status{text-overflow:ellipsis;white-space:nowrap;color:#fff6e3a8;cursor:help;min-width:0;margin-left:auto;font-size:11px;overflow:hidden}.voice-panel .voice-actions{gap:6px}.voice-panel .voice-call{border-radius:18px;min-height:36px;padding:6px 18px;font-size:13px}.voice-panel .voice-actions .btn-secondary{min-height:34px;padding:5px 12px;font-size:12.5px}.voice-panel .voice-tip{color:#ffc9b4;margin:0;font-size:11px;line-height:1.5}.voice-dialog{padding:14px;position:relative}.voice-dialog__close{z-index:1;color:#fff3dbb3;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;font-size:15px;line-height:1;display:inline-flex;position:absolute;top:6px;right:6px}.voice-dialog__close:hover{color:#fff3d9;background:#fff3db1a}.voice-dialog__close:focus-visible{outline-offset:2px;outline:2px solid #ffe6a3cc}.dice-online .stake-slots{grid-template-columns:repeat(6,minmax(0,1fr));justify-items:center;gap:8px;display:grid}.dice-online .stake-slots>li,.dice-online .stake-slot{width:100%}.dice-online .stake-slot__thumb{aspect-ratio:1;width:100%;height:auto}.dice-online .stake-slot__name{max-width:100%}@media (width<=380px){.dice-online .stake-slots{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.dice-online .stake-slot,.dice-online .stake-slot__thumb{width:100%}.dice-online .stake-slot__thumb{height:auto}}.dice-online .result-panel__table{grid-template-columns:minmax(0,1fr) 106px minmax(0,1fr)}.dice-online .result-panel__table .dice-die,.dice-online .result-panel__table .dice-stage{width:106px}@media (width<=380px){.dice-online .result-panel__table{grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr)}.dice-online .result-panel__table .dice-die,.dice-online .result-panel__table .dice-stage{width:90px}}.call-ring{z-index:45;padding:0 16px calc(env(safe-area-inset-bottom,0px) + 96px);pointer-events:none;background:linear-gradient(#040c1400,#040c148c);justify-content:center;align-items:flex-end;animation:.18s ease-out fade-in;display:flex;position:fixed;inset:0}.call-ring__card{pointer-events:auto;text-align:center;color:#fff3d9;background:linear-gradient(#261e22fa,#14161efc);border:1px solid #ffb59b8c;border-radius:20px;width:min(100%,360px);padding:16px 18px 18px;box-shadow:0 16px 44px #0000008c}.call-ring__pulse{color:#2a0d06;background:radial-gradient(circle at 50% 28%,#ff9a75,#b23b1f);border-radius:50%;place-items:center;width:52px;height:52px;margin-bottom:8px;animation:1.1s ease-in-out infinite call-incoming;display:inline-grid}.call-ring__title{color:#ffe6a3;margin:0;font-size:17px;font-weight:800}.call-ring__hint{color:#fff6e3c7;margin:4px 0 14px;font-size:12px;line-height:1.6}.call-ring__actions{gap:10px;display:flex}.call-ring__actions .call-ring__btn{border-radius:14px;flex:1 1 0;min-height:46px;font-size:15px;font-weight:800}@media (prefers-reduced-motion:reduce){.call-ring__pulse{animation:none}}.voice-calling-hint{color:#ffd479;text-align:center;margin:2px 0 0;font-size:12px;font-weight:700;animation:1.2s ease-in-out infinite prompt-blink}@media (prefers-reduced-motion:reduce){.voice-calling-hint{animation:none}}.motion-reduce .voice-calling-hint{animation:none}.voice-dialog .voice-panel{background:0 0;border:0;padding:0}.voice-dialog .voice-head{padding-right:30px}.game .control-call[data-state=incoming]{color:#2a0d06;background:radial-gradient(circle at 50% 28%,#ff9a75,#b23b1f);border-color:#ffb59b;animation:1.1s ease-in-out infinite call-incoming}.game .control-call[data-state=incoming] .control-call__label{font-size:11px;font-weight:900}@keyframes call-incoming{0%,to{box-shadow:0 0 #ff8f6ba6}50%{box-shadow:0 0 0 9px #ff8f6b00}}@media (prefers-reduced-motion:reduce){.game .control-call[data-state=incoming]{animation:none}}.dice-online{padding-top:calc(env(safe-area-inset-top) + 8px);gap:8px}.dice-online .room-bar{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.dice-online .room-bar__title{text-align:center;letter-spacing:.02em;color:#fff6e3;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:15px;font-weight:800;overflow:hidden}.dice-online .room-bar__copy{color:#fff6e3;background:#142837b8;border:1px solid #fff1d252;border-radius:12px;min-width:40px;min-height:34px;padding:0 10px;font-size:13px;font-weight:700}.dice-online .room-bar__actions{align-items:center;gap:6px;display:flex}.dice-online .room-bar__msg{color:#fff6e3;background:#142837b8;border:1px solid #fff1d252;border-radius:12px;justify-content:center;align-items:center;min-width:40px;min-height:34px;padding:0 10px;font-size:15px;display:inline-flex;position:relative}.dice-online .room-bar__badge{color:#fff;text-align:center;background:#e0533d;border-radius:999px;min-width:17px;height:17px;padding:0 4px;font-size:10.5px;font-style:normal;font-weight:800;line-height:17px;position:absolute;top:-5px;right:-5px}.dice-online .room-seats{grid-template-columns:minmax(0,1fr) 108px minmax(0,1fr);align-items:center;gap:6px;width:100%;margin-top:4px;display:grid}.dice-online .room-seats__mid{place-items:center;min-height:96px;display:grid}.dice-online .room-seats__mid .dice-die{width:100%;margin:0}.dice-online .room-seats__mid .dice-die .dice-opening,.dice-online .room-seats__mid .dice-die .dice-stage{width:100%;height:158px;min-height:0}.dice-online .room-seats__ready{letter-spacing:.06em;color:#ffe2a3d9;text-shadow:0 2px 8px #061016cc;font-size:22px;font-style:italic;font-weight:900}.dice-online .room-seat{border-radius:14px;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:6px 4px;display:flex}.dice-online .room-seat[data-first="1"]{background:linear-gradient(#ffe9a329,#ffe9a30a);box-shadow:inset 0 0 0 1px #ffe9a380}.dice-online .room-seat__avatar{color:#fff6e3;background:radial-gradient(circle at 40% 32%,#fff6e347,#0c1a26e6);border:2px solid #fff1d28c;border-radius:50%;place-items:center;width:58px;height:58px;font-size:22px;font-weight:900;display:grid;overflow:hidden}.dice-online .room-seat__avatar--black{border-color:#d8d3c4d9}.dice-online .room-seat__avatar--white{border-color:#fff8e4f2}.dice-online .room-seat__avatar .char-avatar{object-fit:cover;width:100%;height:100%}.dice-online .room-seat__name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:13px;font-weight:800;overflow:hidden}.dice-online .room-seat__meta{color:#fff6e3b3;align-items:center;gap:4px;font-size:11px;display:inline-flex}.dice-online .room-seat__parity{color:#ffe9b2;font-size:17px;font-weight:900;line-height:1.1}.dice-online .room-seat__ready{color:#fff6e3b8;background:#0a16228c;border:1px solid #fff1d242;border-radius:999px;margin-top:1px;padding:2px 9px;font-size:10.5px;font-weight:700}.dice-online .room-seat__ready[data-ready="1"]{color:#c8f2bf;background:#3a763e4d;border-color:#7ec978b3}.dice-online .room-action{background:#122434d1;border:1px solid #e8c9874d;border-radius:16px;flex-direction:column;align-items:center;gap:6px;width:100%;padding:10px 12px;display:flex}.dice-online .room-action .dice-roll-target{min-height:0}.dice-online .room-action .dice-roll-stage{height:108px}.dice-online .room-action__hint{color:#fff6e3cc;margin:0;font-size:12px}.dice-online .room-facts{background:#0e1e2cc7;border:1px solid #e8c9873d;border-radius:14px;grid-template-columns:1fr 1fr;gap:4px 14px;width:100%;margin:0;padding:8px 12px;display:grid}.dice-online .room-facts__row{align-items:baseline;gap:6px;min-width:0;font-size:11.5px;display:flex}.dice-online .room-facts dt{color:#fff6e394;flex:none}.dice-online .room-facts dd{text-align:right;color:#ffe9b2;text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;margin:0;font-weight:800;overflow:hidden}.dice-online .stake-panel__trays{grid-template-columns:1fr 1fr;gap:8px;display:grid}.dice-online .stake-tray{flex-direction:column;gap:6px;min-width:0;display:flex}.dice-online .stake-tray__who{color:#fff6e3cc;text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:5px;font-size:11.5px;display:flex;overflow:hidden}.dice-online .stake-tray__who b{color:#ffe9b2;flex:none;margin-left:auto}.dice-online .stake-tray__slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none;display:grid}.dice-online .stake-tray__slots .stake-slot{width:100%;font-size:10px}.dice-online .stake-tray__slots .stake-slot__thumb{aspect-ratio:1;height:auto}.dice-online .stake-slot--empty{opacity:1}.dice-online .stake-slot--empty .stake-slot__thumb{background:#0a18228c;border-style:dashed;border-color:#e8c98773;place-items:center;display:grid}.dice-online .stake-slot__plus{color:#ffe9a3cc;font-size:16px}.dice-online .stake-slot__blank{color:#fff6e399;font-size:11px}.dice-online .stake-slot--empty .stake-slot__name{color:#fff6e373;font-weight:600}.dice-online .stake-pick{background:#08101a80;border:1px dashed #ffe2aa66;border-radius:12px;flex-direction:column;gap:6px;padding:8px;display:flex}.dice-online .stake-pick__hint{color:#fff6e3a8;margin:0;font-size:11px}.dice-online .stake-pick .bet-cards{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.dice-online .stake-pick .bet-cards .stake-slot{width:56px}.dice-online .stake-pick .bet-cards .stake-slot__thumb{aspect-ratio:1;height:auto}.dice-online .stake-panel__title small{color:#fff6e394;margin-left:6px;font-size:10.5px;font-weight:600}img.showcase-slot__thumb{width:100%;height:100%}.seat-avatar-btn{cursor:pointer;background:0 0;border:0;border-radius:50%;width:100%;height:100%;min-height:0;padding:0;display:block}.seat-avatar-btn:focus-visible{outline-offset:2px;outline:2px solid #ffd27a}.dialog .dialog-close{color:#fff6e3;background:#0a162299;border:1px solid #fff1d247;border-radius:50%;place-items:center;width:30px;height:30px;min-height:0;padding:0;font-size:14px;line-height:1;display:grid;position:absolute;top:6px;right:6px}.dialog .dialog-close:hover{border-color:#f3c550b3}.dialog.bet-dialog,.dialog.avatar-dialog{max-width:460px;position:relative}.bet-dialog__slots,.bet-dialog__pool,.avatar-dialog__grid{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.bet-dialog__slots{margin-bottom:10px}.stake-slot--compact{color:#ffe6b0;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;width:68px;min-height:0;padding:0;font-size:11px;display:flex}.stake-slot--compact .stake-slot__thumb{aspect-ratio:1;background:#0a1822b8;border:1px solid #e8c9878c;border-radius:10px;width:100%;display:block;position:relative;overflow:hidden}.stake-slot--compact .stake-slot__thumb>img{object-fit:cover;width:100%;height:100%;display:block}.stake-slot--compact .stake-slot__name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.stake-slot--compact:disabled{opacity:.45;cursor:default}.stake-slot--empty{opacity:1}.stake-slot--empty .stake-slot__thumb{background:#0a18228c;border-style:dashed;border-color:#e8c98773;place-items:center;display:grid}.stake-slot__plus{color:#ffe9a3cc;font-size:20px}.stake-slot__check{color:#2a1a05;background:#e8b64c;border-radius:50%;place-items:center;width:16px;height:16px;font-size:10px;font-weight:900;display:grid;position:absolute;bottom:3px;right:3px}.avatar-dialog__item{color:#ffe6b0;cursor:pointer;background:#0a18228c;border:1px solid #fff1d22e;border-radius:12px;flex-direction:column;align-items:center;gap:3px;width:80px;min-height:0;padding:6px 2px 5px;font-size:11px;display:flex}.avatar-dialog__item .char-avatar{object-fit:contain;width:56px!important;height:56px!important}.avatar-dialog__item.is-current{background:#e8b64c24;border-color:#e8b64c;box-shadow:inset 0 0 0 1px #e8b64c8c}.avatar-dialog__item:disabled{opacity:.42;cursor:default}.crash-screen{z-index:2147483647;color:#f6ecd8;background:#101c2e;flex-direction:column;justify-content:center;gap:14px;padding:24px;display:flex;position:fixed;inset:0}.crash-screen__title{color:var(--gold);margin:0;font-size:20px}.crash-screen__hint{opacity:.85;margin:0;font-size:15px}.crash-screen__detail{white-space:pre-wrap;word-break:break-all;background:#ffffff0f;border-radius:8px;max-height:32vh;margin:0;padding:10px;font-size:12px;overflow:auto}.crash-screen__actions{flex-wrap:wrap;gap:10px;display:flex}.card-detail.bet-picker{gap:8px;width:100%;max-width:400px;max-height:min(86vh,640px);padding:12px 14px 10px;overflow:hidden}.bet-picker__head{align-items:center;gap:8px;display:flex}.bet-picker__head h3{text-align:left;flex:auto;margin:0;padding:0;font-size:16px}.bet-picker .card-detail-close{color:#fff6e3;cursor:pointer;background:#0a162299;border:1px solid #fff1d247;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;min-height:0;padding:0;font-size:12px;line-height:1;display:grid;position:static}.bet-picker .card-detail-close:hover{border-color:#f3c550b3}.bet-picker__body{overscroll-behavior:contain;scrollbar-width:thin;flex:auto;min-height:72px;max-height:min(58vh,430px);padding:2px;overflow-y:auto}.bet-picker__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.bet-picker__grid .card-tile{width:100%;min-height:0;color:inherit;font:inherit;text-align:center;cursor:pointer;background:#0a1822b8;border:1px solid #e8c9873d;border-radius:10px;gap:3px;padding:5px 3px}.bet-picker__grid .card-tile img{aspect-ratio:1;object-fit:cover;border-radius:8px;width:100%;display:block}.bet-picker__grid .card-tile .card-name{color:#fff3d9;font-size:11px;font-weight:700}.bet-picker__grid .card-tile.current{border-color:#ffd27a;box-shadow:0 0 0 1px #ffd27a,0 0 14px #ffd27a4d}.bet-picker__grid .card-tile.pick--blocked{opacity:.45}.bet-picker__foot{display:grid}.bet-picker__foot .btn-primary{width:100%;min-height:42px}.showcase-tray__demo{color:#ffd479;white-space:nowrap;pointer-events:none;background:#0a1822cc;border:1px solid #ffd27a73;border-radius:999px;padding:0 5px;font-size:9px;line-height:1.5;position:absolute;right:0}.game .seat .showcase-tray__demo{bottom:calc(100% + 2px)}.game .seat--top .showcase-tray__demo{bottom:calc(100% + 22px)}.showcase-tray:has(.showcase-tray__hint) .showcase-tray__demo{bottom:calc(100% + 16px)}.game .seat--top .showcase-tray:has(.showcase-tray__hint) .showcase-tray__demo{bottom:calc(100% + 36px)}.showcase-tray__swap{color:#ffd479;cursor:pointer;background:#0a1822cc;border:1px solid #ffd27a73;border-radius:999px;min-height:0;padding:0 6px;font-size:9px;line-height:1.5;position:absolute;left:0}.showcase-tray__swap:hover{color:#fff3d9;border-color:#ffd27a}.showcase-tray__swap:focus-visible{outline-offset:1px;outline:2px solid #ffd27a}.game .seat .showcase-tray__swap{bottom:calc(100% + 2px)}.game .seat--top .showcase-tray__swap{bottom:calc(100% + 22px)}.showcase-tray:has(.showcase-tray__hint) .showcase-tray__swap{bottom:calc(100% + 16px)}.game .seat--top .showcase-tray:has(.showcase-tray__hint) .showcase-tray__swap{bottom:calc(100% + 36px)}:root{--content-max:720px;--control-max:360px}.settings-page>.set-group,.profile .ui-card,.records .ui-card,.notify .msg-toolbar,.notify-summary,.notify .msg-list,.academy-summary,.academy-stage,.academy-knowledge,.academy-trial,.online-card,.report-stage,.report-text,.report-actions,.report-notice,.report-foot,.records .stats{width:min(100%, var(--content-max));margin-inline:auto}.btn-primary,.btn-secondary,.btn-danger,.friend-main,.friend-darkbtn,.academy-summary__go,.academy-summary__cert{max-inline-size:var(--control-max)}.ui-actions{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}.set-row:has(select)>select{max-width:320px}.set-row input[type=range],.profile .field-row input{max-inline-size:360px}.profile .panel .btn-primary,.profile .panel .btn-secondary{max-inline-size:var(--control-max)}:root{--content-max:720px;--control-max:360px;--mode-grid-max:1100px;--dialog-gutter:32px}.screen.mode-select{height:auto;max-height:none;min-height:calc(100dvh / var(--ui-scale,1));padding-inline:max(14px, env(safe-area-inset-left,0px), env(safe-area-inset-right,0px));padding-block:calc(env(safe-area-inset-top,0px) + 12px) calc(env(safe-area-inset-bottom,0px) + 22px);flex-direction:column;justify-content:flex-start;display:flex;overflow:visible}.mode-select-head{width:100%;min-height:44px;max-inline-size:min(100%, var(--mode-grid-max));grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin-inline:auto}.mode-back{width:44px;height:44px;min-height:44px;padding:0}.mode-select-title{min-width:0}.mode-select-title h1{overflow-wrap:break-word;font-size:clamp(18px,8px + 1.6vw,26px);line-height:1.25}.mode-select-title p{font-size:clamp(11px,8px + .6vw,12px);line-height:1.4}.mode-cards{width:100%;min-height:0;max-inline-size:min(100%, var(--mode-grid-max));margin-top:14px;flex:none;grid-template-columns:minmax(0,1fr);align-content:start;gap:12px;margin-inline:auto;display:grid}@media (width>=760px){.mode-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}.mode-card{aspect-ratio:auto;flex:none;justify-content:flex-end;align-items:center;gap:8px;height:auto;min-height:clamp(140px,10vw + 60px,220px);max-height:none;padding:12px 12px 12px 46%;overflow:hidden}.mode-card-body{min-width:0;flex:auto;align-items:flex-end;gap:3px;max-inline-size:100%}.mode-card-body strong{overflow-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;hyphens:auto;font-size:clamp(16px,9px + .9vw,24px);line-height:1.2}.mode-card-body small{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;font-size:clamp(11px,9px + .35vw,13px);line-height:1.35}.mode-card-go{flex:0 0 30px;align-self:center}@media (width<=480px){.mode-card{border-radius:18px;padding:12px 10px 12px 42%}.mode-card:after{background:linear-gradient(100deg,#f7f0de00 22%,#f7f0dedb 46%,#fcf6e8f7 100%)}.mode-card-body strong{font-size:17px}}.dialog-backdrop,.card-detail-backdrop{padding-block:max(16px, env(safe-area-inset-top,0px)) max(16px, env(safe-area-inset-bottom,0px));padding-inline:max(16px, env(safe-area-inset-left,0px), env(safe-area-inset-right,0px))}.dialog{max-block-size:calc((100dvh / var(--ui-scale,1)) - var(--dialog-gutter) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-inline-size:calc((100dvw / var(--ui-scale,1)) - var(--dialog-gutter) - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));overscroll-behavior:contain;overflow:auto}.dialog.policy{max-height:min(calc(82dvh / var(--ui-scale,1)), calc((100dvh / var(--ui-scale,1)) - var(--dialog-gutter) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)))}.dialog.settings{max-height:min(calc((100dvh / var(--ui-scale,1)) - var(--dialog-gutter) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)), 760px);flex-direction:column;display:flex;overflow:hidden}.dialog.settings .dialog-head,.dialog.settings .dialog-foot{flex:none}.dialog.settings .dialog-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;overflow-y:auto}.dialog h3{overflow-wrap:break-word}.set-row,.ui-row{flex-wrap:wrap;row-gap:8px;min-width:0}.set-row__text,.ui-row__text,.set-row__value,.ui-row__control{min-width:0}.dialog.settings .set-row select,.set-row>select,.set-row select{flex:0 auto;min-inline-size:min(132px,100%);max-inline-size:min(100%,320px)}.set-row:has(select)>select{flex:0 auto;min-inline-size:min(132px,100%);max-inline-size:min(100%,320px)}.set-row input[type=range]{min-inline-size:min(80px,100%);max-inline-size:min(100%, var(--control-max))}.dialog.settings .ui-segmented>button,.ui-segmented>button{white-space:normal;overflow-wrap:break-word;text-align:center;min-width:0;height:auto;min-height:44px;padding-block:6px;line-height:1.25}.ui-actions{grid-template-columns:minmax(0,1fr);min-width:0}@media (width>=420px){.ui-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.ui-actions--single{grid-template-columns:minmax(0,1fr)}.online-card .btn-primary,.online-card .ui-actions--single>button{inline-size:min(100%, var(--control-max));justify-self:center;margin-inline:auto}.settings-page{height:calc(100dvh / var(--ui-scale,1));max-height:calc(100dvh / var(--ui-scale,1));padding-inline:max(14px, env(safe-area-inset-left,0px)) max(14px, env(safe-area-inset-right,0px))}.backpack.screen{height:calc(100dvh / var(--ui-scale,1));max-height:calc(100dvh / var(--ui-scale,1))}@media (height<=560px){.home{height:auto;min-height:calc(100dvh / var(--ui-scale,1));padding-block:calc(env(safe-area-inset-top,0px) + 8px) calc(78px + env(safe-area-inset-bottom,0px));justify-content:flex-start;gap:8px;overflow-y:auto}.home-topbar{width:100%;margin:0 0 4px;position:static;inset:auto}.home-title{padding-top:8px}.home-title img{width:clamp(180px,24vw,320px);max-height:min(32vh,180px)}.home-title p{font-size:13px}.home-menu{margin-block:8px 0}}.screen .dialog-backdrop,.screen .card-detail-backdrop,.dialog-backdrop,.card-detail-backdrop{z-index:70;position:fixed;inset:0;overflow:visible}.card-detail:not(.bet-picker){max-block-size:calc((100dvh / var(--ui-scale,1)) - var(--dialog-gutter) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-inline-size:min(340px, calc((100dvw / var(--ui-scale,1)) - var(--dialog-gutter) - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;overflow-y:auto}.card-detail:not(.bet-picker)>*{flex-shrink:0}.card-detail.bet-picker{max-height:min(640px, calc((100dvh / var(--ui-scale,1)) - var(--dialog-gutter) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)));overflow:hidden}.card-detail.bet-picker .bet-picker__head,.card-detail.bet-picker .card-detail-actions{flex:none}.card-detail.bet-picker .bet-picker__body{overscroll-behavior:contain;flex:auto;min-height:0;overflow-y:auto}.screen.game{--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);width:100%;max-width:none;min-height:calc(100dvh / var(--ui-scale,1));background-position:50%;background-repeat:no-repeat;background-size:cover}body:has(.screen.game):before{content:none}body:has(.screen.game):after{content:none}.game-stage{flex-direction:column;gap:3px;width:100%;min-width:0;display:flex}.game .game-stage .board-wrap{justify-content:center;width:100%;padding:0}.game .game-stage .board{width:var(--board-size);max-width:none;height:var(--board-size);aspect-ratio:1;flex:none}.game .game-stage .board>svg{width:100%;height:100%}.screen.game .game-stage>.controls{width:100%;min-width:0;margin:0;padding:0}.screen.game .game-stage>.controls .prompt,.screen.game .game-stage>.controls .event-line,.screen.game .game-stage>.controls .muted,.screen.game .game-stage>.controls .move-clock{white-space:normal;overflow-wrap:anywhere;word-break:break-word;min-width:0;max-width:100%;margin:0}.screen.game .game-stage>.controls .prompt,.screen.game .game-stage>.controls .event-line{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;word-break:break-word;flex:none;width:100%;min-width:0;max-width:100%;margin:0;line-height:1.25;display:block;overflow:auto}.screen.game .game-stage>.controls .prompt{height:2.5em;min-height:2.5em;max-height:2.5em}.screen.game .game-stage>.controls .event-line{height:1.25em;min-height:1.25em;max-height:1.25em}.screen.game .game-stage>.controls .prompt:empty,.screen.game .game-stage>.controls .event-line:empty{display:none}.screen.game .game-stage>.controls .prompt:focus-visible,.screen.game .game-stage>.controls .event-line:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}.screen.game .game-stage>.controls .muted:empty,.screen.game .game-stage>.controls .move-clock:empty{display:none}.screen.game.layout-portrait{max-width:none;padding-inline:calc((var(--safe-left) + 12px) / var(--ui-scale,1)) calc((var(--safe-right) + 12px) / var(--ui-scale,1));padding-block:calc(var(--safe-top) / var(--ui-scale,1) + 8px) calc(var(--safe-bottom) / var(--ui-scale,1) + 10px)}.screen.game.layout-portrait .game-stage{width:100%;max-width:var(--board-size);flex:auto;margin-inline:auto}.screen.game.layout-portrait .game-stage .seat{width:min(100%, var(--board-size))}.screen.game.layout-portrait .game-stage .showcase-tray{max-width:calc(var(--board-size) - var(--seat-avatar) - 14px)}.screen.game.layout-portrait .control-bar{width:100%;max-width:var(--board-size);margin-top:0;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:6px;min-width:0;margin-inline:auto;padding:0 2px;display:flex}.screen.game.layout-portrait .control-tools,.screen.game.layout-portrait .control-side{display:contents}.screen.game.layout-portrait .control-bar .control-btn{white-space:normal;overflow-wrap:anywhere;text-align:center;flex:72px;min-width:44px;min-height:44px;padding:4px 6px;font-size:13px;line-height:1.2}.screen.game.layout-portrait .control-call{border-radius:50%;flex:0 0 48px;width:48px;height:48px;min-height:48px}.screen.game.layout-portrait .control-call__label{letter-spacing:0;font-size:9px}.screen.game.layout-portrait .game-stage>.controls{text-align:center;flex-direction:column;align-items:center;gap:2px;width:100%;min-width:0;max-width:100%;margin:0;padding:0;display:flex}.screen.game.layout-portrait.layout-compact{--seat-avatar:48px;--showcase-slot:44px}.screen.game.layout-portrait.layout-compact .game-stage{gap:2px}.screen.game.layout-portrait.layout-compact .game-stage .seat{gap:0 8px}.screen.game.layout-portrait.layout-compact .game-stage .seat--bottom,.screen.game.layout-portrait.layout-compact .game-stage .seat--top{padding-block:1px}.screen.game.layout-portrait.layout-compact .game-stage .seat-player__name{font-size:11px;line-height:1.15}.screen.game.layout-portrait.layout-compact .game-stage .seat-player__meta{font-size:10px}.screen.game.layout-portrait.layout-compact .game-stage .showcase-tray{margin-top:0}.screen.game.layout-portrait.layout-compact .game-stage .academy-tip{padding:2px 6px;font-size:11px}.screen.game.layout-portrait.layout-compact .control-bar{gap:4px;padding:0 1px}.screen.game.layout-portrait.layout-compact .control-bar .control-btn{flex:56px;min-width:44px;min-height:44px;padding:2px 4px;font-size:12px;line-height:1.15}.screen.game.layout-portrait.layout-compact .control-call{flex:0 0 44px;width:44px;height:44px;min-height:44px}.screen.game.layout-wide{max-width:none;padding:calc(var(--safe-top) / var(--ui-scale,1)) calc(var(--safe-right) / var(--ui-scale,1)) calc(var(--safe-bottom) / var(--ui-scale,1)) calc(var(--safe-left) / var(--ui-scale,1));gap:0;overflow-y:auto}.screen.game.layout-wide .game-stage{grid-template-columns:var(--rail-width,112px) var(--board-size,276px) var(--rail-width,112px);grid-template-rows:minmax(var(--head-h,28px), auto) auto auto auto var(--board-size,276px);place-content:center;align-items:start;column-gap:calc(var(--stage-gap,8px) / 2);padding:var(--stage-pad,8px);flex:auto;grid-template-areas:"rail-l head rail-r""rail-l note1 rail-r""rail-l note2 rail-r""rail-l note3 rail-r""rail-l board rail-r";row-gap:0;min-width:0;min-height:0;display:grid}.screen.game.layout-wide .game-stage>.board-wrap{grid-area:board;place-self:start center;width:100%;min-width:0;max-width:none}.screen.game.layout-wide .topbar{display:contents}.screen.game.layout-wide .topbar>.btn-text{z-index:2;background:#0f2636bd;border:1px solid #fff1d24d;border-radius:12px;grid-area:rail-l;place-self:start;place-items:center;width:44px;height:44px;min-height:44px;margin:0;padding:0;font-size:18px;display:grid;position:relative}.screen.game.layout-wide .topbar>.topbar-bag{grid-area:rail-r;justify-self:end}.screen.game.layout-wide .topbar>.topbar-spacer{display:none}.screen.game.layout-wide .topbar h2{text-overflow:ellipsis;white-space:nowrap;grid-area:head;place-self:center start;min-width:0;max-width:34%;margin:0;font-size:13px;line-height:1.2;overflow:hidden}.screen.game.layout-wide .topbar h2 .ply{font-size:11px}.screen.game .game-stage>.academy-tip:empty{display:none}.screen.game.layout-wide .stage-note--banner{grid-area:note1;min-width:0}.screen.game.layout-wide .academy-tip{grid-area:note2;min-width:0}.screen.game.layout-wide .announce-slot{grid-area:note3;align-self:start}.screen.game .game-stage .announce-slot{box-sizing:border-box;text-align:center;white-space:nowrap;overflow-wrap:normal;word-break:normal;flex:none;align-items:center;column-gap:8px;width:100%;min-width:0;max-width:100%;height:45px;min-height:45px;max-height:45px;margin:0;font-size:18px;line-height:1.25;display:flex;overflow:visible}.screen.game .game-stage .announce-scroll{white-space:nowrap;overflow-wrap:normal;word-break:normal;touch-action:auto;scrollbar-width:none;flex:1;align-items:center;min-width:0;height:100%;display:flex;overflow:auto hidden}.screen.game .game-stage .announce-scroll:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}.screen.game .game-stage .announce-track{flex:none;align-items:center;width:max-content;min-width:100%;height:100%;display:flex}.screen.game .game-stage .announce-scroll[data-marquee="1"]{overflow-x:hidden}@keyframes status-marquee{0%{transform:translate(0)}to{transform:translateX(var(--marquee-distance,0px))}}.screen.game .game-stage .announce-scroll[data-marquee="1"] .announce-track{animation:status-marquee var(--marquee-duration,8s) ease-in-out infinite alternate;will-change:transform}@media (prefers-reduced-motion:reduce){:root:not(.motion-full) .screen.game .game-stage .announce-scroll[data-marquee="1"]{overflow-x:auto}}.motion-reduce .screen.game .game-stage .announce-scroll[data-marquee="1"]{overflow-x:auto}.screen.game .game-stage .announce-slot .announce{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex:none;margin:0 auto;font-size:18px;font-weight:700;line-height:1.25}.screen.game .game-stage .announce-scroll .announce :is(p,div){white-space:nowrap;margin:0;display:inline}.screen.game .game-stage .game-status-bar__action{flex:none;min-width:44px;max-width:60%}.screen.game .game-stage .game-status-bar__action>button{white-space:nowrap;min-width:44px;max-width:100%;height:44px;min-height:44px;max-height:44px;margin:0;padding:0 10px;font-size:14px;line-height:1.1;display:block}.screen.game.layout-wide .game-stage>.controls{flex-flow:wrap;grid-area:head;justify-content:flex-end;place-self:center end;align-items:center;gap:2px 10px;width:64%;min-width:0;max-width:64%;margin:0;padding:0;display:flex}.screen.game.layout-wide .game-stage>.controls .muted:empty,.screen.game.layout-wide .game-stage>.controls .move-clock:empty{display:none}.screen.game.layout-wide .game-stage>.controls .prompt,.screen.game.layout-wide .game-stage>.controls .event-line,.screen.game.layout-wide .game-stage>.controls .muted,.screen.game.layout-wide .game-stage>.controls .move-clock{white-space:normal;overflow-wrap:anywhere;word-break:break-word;min-width:0;max-width:100%}.screen.game.layout-wide .game-stage>.controls .prompt{flex:0 0 100%;margin:0;font-size:13px;line-height:1.25}.screen.game.layout-wide .game-stage>.controls .event-line{flex:0 0 100%}.screen.game.layout-wide .game-stage>.controls .event-line,.screen.game.layout-wide .game-stage>.controls .move-clock,.screen.game.layout-wide .game-stage>.controls .muted{margin:0;font-size:11px;line-height:1.25}.screen.game.layout-wide .game-stage>.controls .btn-secondary{min-height:44px}.screen.game.layout-wide .game-stage>.seat{text-align:center;flex-direction:column;grid-area:rail-l;justify-content:center;place-self:stretch stretch;align-items:center;gap:6px;width:auto;min-width:0;height:auto;margin:0;padding:4px 0;display:flex}.screen.game.layout-wide .topbar>.topbar-bag,.screen.game.layout-wide .control-bar .control-btn,.screen.game.layout-wide .control-call{z-index:2;position:relative}.screen.game.layout-wide .game-stage>.seat--bottom{grid-area:rail-r}.screen.game.has-human-seat.layout-wide .game-stage>.seat--bottom{grid-area:rail-l}.screen.game.has-human-seat.layout-wide .game-stage>.seat--top{grid-area:rail-r}.screen.game.layout-wide .game-stage>.seat .seat-player{flex-direction:column;align-items:center;gap:2px;width:100%;min-width:0;display:flex}.screen.game.layout-wide .game-stage>.seat .seat-avatar-slot{width:var(--seat-avatar);flex:none;position:relative}.screen.game.layout-wide .game-stage>.seat .seat-avatar{width:var(--seat-avatar);height:var(--seat-avatar)}.screen.game.layout-wide .game-stage>.seat--top img.seat-avatar{transform:none}.screen.game.layout-wide .game-stage>.seat .seat-player__name{flex-wrap:wrap;width:100%;max-width:100%;font-size:12px;line-height:1.2}.screen.game.layout-wide .game-stage>.seat .seat-player__meta{font-size:10px}.screen.game.layout-wide .game-stage .showcase-tray{align-self:stretch;width:100%;max-width:none;margin:4px 0 0;padding-top:16px}.screen.game.layout-wide .game-stage .showcase-slots{grid-template-columns:var(--showcase-slot);gap:20px}.screen.game.layout-wide .game-stage .showcase-slot{width:var(--showcase-slot);height:var(--showcase-slot)}.screen.game.layout-wide .game-stage .showcase-tray__label,.screen.game.layout-wide .game-stage .seat--top .showcase-tray__label{font-size:10px;position:absolute;top:0;bottom:auto}.screen.game.layout-wide .game-stage .showcase-slot__title,.screen.game.layout-wide .game-stage .seat--top .showcase-slot__title{font-size:10px;top:calc(100% + 2px);bottom:auto}.screen.game.layout-wide .control-bar{display:contents}.screen.game.layout-wide .control-tools{flex-wrap:wrap;grid-area:rail-l;place-self:end stretch;gap:6px;min-width:0;margin:0;display:flex}.screen.game.layout-wide .control-side{flex-wrap:wrap;grid-area:rail-r;place-self:end stretch;gap:6px;min-width:0;margin:0;display:flex}.screen.game.layout-wide .control-bar .control-btn{white-space:normal;overflow-wrap:anywhere;border-radius:11px;flex:1 1 0;min-width:0;min-height:44px;padding:2px 4px;font-size:12px;line-height:1.2}.screen.game.layout-wide .control-call{border-radius:11px;flex-direction:row;flex:none;gap:4px;width:auto;height:44px;min-height:44px;padding:0 8px}.screen.game.layout-wide .control-call__label{letter-spacing:0;font-size:10px}.screen.game.layout-wide.layout-compact{--seat-avatar:44px;--showcase-slot:44px}.screen.game.layout-wide.layout-compact .game-stage>.seat{gap:4px;padding:2px 0}.screen.game.layout-wide.layout-compact .game-stage .seat-player__name{font-size:10px;line-height:1.15}.screen.game.layout-wide.layout-compact .game-stage .showcase-tray{margin-top:0;padding-top:0}.screen.game.layout-wide.layout-compact .game-stage .showcase-slots{gap:4px}.screen.game.layout-wide.layout-compact .game-stage .showcase-tray__label,.screen.game.layout-wide.layout-compact .game-stage .showcase-slot__title{display:none}.screen.game.layout-wide.layout-compact .game-stage>.controls .prompt{font-size:12px}.screen.game.layout-wide.layout-compact .control-bar .control-btn{font-size:11px}.screen.game.layout-scroll{overscroll-behavior:contain;overflow-y:auto}.screen.game .game-stage>.controls .prompt,.screen.game .game-stage>.controls .event-line{scrollbar-width:none;overflow:hidden auto}.screen.game .game-stage .announce-scroll::-webkit-scrollbar{width:0;height:0;display:none}.screen.game .game-stage>.controls .prompt::-webkit-scrollbar{width:0;height:0;display:none}.screen.game .game-stage>.controls .event-line::-webkit-scrollbar{width:0;height:0;display:none}.screen.game .game-stage>footer.controls:not(:has(>:not(:empty))){display:none}main.settings-page{width:100%;max-width:none;padding-inline:max(14px, env(safe-area-inset-left,0px)) max(14px, env(safe-area-inset-right,0px));padding-bottom:calc(96px + env(safe-area-inset-bottom,0px));overscroll-behavior-y:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;background-color:#0b1822;background-image:linear-gradient(#09141cd6, #09141cf0), var(--asset-app-body,url(../assets/bg/home.webp));background-position:50%;background-repeat:no-repeat;background-size:cover;flex-direction:column;align-items:stretch;margin:0 auto;display:flex;overflow:hidden auto}main.settings-page::-webkit-scrollbar{width:0;height:0;display:none}body.app-with-nav main.settings-page,.app-with-nav main.settings-page{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}body:has(main.settings-page):before{content:none;display:none}body:has(main.settings-page):after{content:none;display:none}main.settings-page>.proto-head{align-items:center;width:100%;max-width:1120px;margin-inline:auto}main.settings-page>.proto-head button{min-width:44px;min-height:44px}.settings-page .settings-shell{flex-direction:column;gap:10px;width:100%;max-width:720px;margin:0 auto;display:flex}.settings-page .settings-content{flex-direction:column;gap:12px;width:100%;min-width:0;max-width:720px;display:flex}.settings-page .settings-content>.set-group{gap:4px;width:100%;max-width:720px;padding:16px 20px}@media (width<=480px){.settings-page .settings-content>.set-group{padding:16px}}.settings-page .set-row{gap:12px;min-height:48px}.settings-page .set-row__text{flex:auto;min-width:0}.settings-page .set-row__text em{line-height:1.45}.settings-page .set-row>select{flex:0 auto;width:min(100%,320px);max-width:320px;min-height:44px}.settings-page .set-row>input[type=range]{flex:0 auto;width:min(100%,360px);max-width:360px;min-height:44px}.settings-page .set-row>button,.settings-page .set-group>button{flex:0 auto;max-width:360px;min-height:44px}.settings-page .segmented>button{box-sizing:border-box;white-space:normal;min-width:44px;height:auto;min-height:44px;padding:6px 12px;line-height:1.3}@media (width<=560px){.settings-page .set-row{flex-wrap:wrap;row-gap:8px}.settings-page .set-row>select,.settings-page .set-row>input[type=range]{flex:100%;width:100%;max-width:none}.settings-page .set-row>button,.settings-page .set-group>button{flex:auto;max-width:none}}.settings-page .settings-nav{display:none}.settings-jump{z-index:6;box-sizing:border-box;color:#ffe6a3;width:100%;min-height:44px;font:inherit;text-overflow:ellipsis;background:#0a161ef7;border:1px solid #e8c9876b;border-radius:12px;padding:6px 10px;font-size:14px;font-weight:700;display:block;position:sticky;top:0}.settings-jump option{color:#10222e;background:#f2f6f7;font-size:14px}.settings-page h2[id]{scroll-margin-top:60px}.settings-page :focus-visible{outline-offset:2px;outline:2px solid #ffe6a3}.settings-page h2[id]:focus,.settings-page h2[id]:focus-visible{outline-offset:4px;border-radius:6px;outline:2px solid #ffe6a3}@media (width>=1000px) and (height>=600px){.settings-jump{display:none}.settings-page .settings-shell{grid-template-columns:200px minmax(0,720px);justify-content:center;align-items:start;column-gap:24px;max-width:1120px;display:grid}.settings-page .settings-nav{width:100%;max-height:calc(100dvh / var(--ui-scale,1) - 108px - env(safe-area-inset-bottom,0px) / var(--ui-scale,1));scrollbar-width:thin;background:#0c1a24e6;border:1px solid #e8c98738;border-radius:16px;flex-direction:column;align-items:stretch;gap:4px;padding:8px;display:flex;position:sticky;top:0;overflow:hidden auto;-webkit-mask-image:none;mask-image:none}.settings-page .settings-nav__chip{color:#d9e7de;text-align:start;white-space:normal;background:0 0;border:1px solid #0000;border-radius:12px;flex:none;min-height:44px;padding:8px 12px;font-size:14px;font-weight:700;line-height:1.3}.settings-page .settings-nav__chip:hover{background:#ffe9a31f}.settings-page .settings-nav__chip[aria-current=location]{color:#ffe6a3;background:#ffe9a32e;border-color:#e8c9878c;box-shadow:inset 3px 0 #ffe6a3}.settings-page h2[id]{scroll-margin-top:16px}}@media (prefers-reduced-motion:reduce){.settings-page,.settings-page *{transition:none;animation:none}}.settings-page .dialog-backdrop{z-index:70}.records-ux{--records-max:1120px;--records-radius:16px}.proto-list.records.records-ux{width:100%;max-width:var(--records-max);background:0 0;gap:12px;margin-inline:auto}.records-ux:before{content:"";z-index:-1;pointer-events:none;background-color:#071019;background-image:linear-gradient(180deg, #060e168c 0%, #050c13cc 55%, #03080df0 100%), var(--asset-bg-records,url(../assets/bg/records.webp));background-position:50%,50%;background-repeat:no-repeat,no-repeat;background-size:cover,cover;position:fixed;inset:0}body.records-ux-open:before,body.records-ux-open:after{content:none!important;display:none!important}.records.records-ux .proto-back{min-width:44px;min-height:44px}.records.records-ux .records-tabs{width:min(100%,400px);margin-inline:auto}.records.records-ux .records-tabs>*{width:100%}.records.records-ux .ui-card,.records.records-ux .stats{width:100%;max-width:none;margin-inline:0}.records.records-ux .stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.records.records-ux .stat{text-align:center;background:#0c1a269e;border:1px solid #e8c98729;border-radius:12px;min-width:0;padding:10px 8px}.records.records-ux .stat b{overflow-wrap:anywhere;font-size:16px;line-height:1.25;display:block}.records.records-ux .stat span{color:#fff6e3b8;margin-top:2px;font-size:12px;line-height:1.35;display:block}.records.records-ux .stat--lead{flex-direction:row;grid-column:auto;justify-content:center;align-items:baseline;gap:6px;padding:10px 8px;display:flex}.records.records-ux .stat--lead b{font-size:26px}.records.records-ux .stat--lead span{margin-top:0;font-size:12px}.records.records-ux .record-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin:0;padding:0;list-style:none;display:grid}.records.records-ux .record-item{border-radius:var(--records-radius);background:#10202ee6;border:1px solid #e8c98738;flex-direction:column;gap:0;padding:0;transition:border-color .15s,background-color .15s;display:flex;overflow:hidden}.records.records-ux .record-item[data-tone=win]{background:#122820e6;border-color:#96dca066}.records.records-ux .record-item[data-tone=loss]{background:#2c181ae6;border-color:#e27a6a6b}.records.records-ux .record-item[data-tone=draw]{background:#1a202ae6;border-color:#bec4d252}.records.records-ux .record-item[data-tone=neutral]{background:#18222ee6;border-color:#e8c98747}.records.records-ux .record-item[data-tone=neutral] .record-result{color:#ffe6a3;background:#5a50374d;border-color:#e8c98766}.records.records-ux .record-main{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;flex-direction:column;flex:auto;align-items:stretch;gap:6px;min-height:96px;padding:14px 14px 12px;display:flex}.records.records-ux .record-main:hover{background:#fff0c80f}.records.records-ux .record-main:active{background:#fff0c81a}.records.records-ux .record-head{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.records.records-ux .record-result{font-size:17px;font-weight:800;line-height:1.3}.records.records-ux .record-time{color:#fff6e3a8;font-variant-numeric:tabular-nums;flex:none;font-size:12px}.records.records-ux .record-meta{color:#fff6e3d6;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.records.records-ux .record-detail{color:#ffe9a3eb;background:#0a162099;border:1px solid #e8c98738;border-radius:999px;align-self:flex-start;padding:2px 8px;font-size:12px;line-height:1.6}.records.records-ux .record-prize{color:#ffe0a3;overflow-wrap:anywhere;font-size:12px;line-height:1.5;display:block}.records.records-ux .record-cta{color:#ffe6a3;align-self:flex-start;margin-top:auto;padding-top:4px;font-size:13px;font-weight:800}.records.records-ux .record-actions{justify-content:flex-end;gap:8px;padding:0 12px 12px;display:flex}.records.records-ux .record-act{color:#fff4d4;cursor:pointer;background:#162836e6;border:1px solid #e8d6ac4d;border-radius:999px;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:0 14px;font-size:13px;font-weight:700;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.records.records-ux .record-act:hover{background:#223848f2;border-color:#ffe9a38c}.records.records-ux .record-act--danger{color:#ffbeb4bd;background:0 0;border-color:#d4575147}.records.records-ux .record-act--danger:hover,.records.records-ux .record-act--danger:focus-visible{color:#ffc3b8;background:#963c3238;border-color:#e27a6ab3}.records.records-ux .records-empty{background:#0c182299;border:1px dashed #e8c98738;border-radius:18px;flex-direction:column;align-items:center;gap:6px;padding:32px 16px;display:flex}.records.records-ux .records-footer{padding:14px 0 calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid #e8c98729;justify-content:center;margin-top:4px;display:flex}.records.records-ux .records-footer .btn-text{color:#ffb0a6cc;border-radius:999px;align-items:center;min-height:44px;padding:0 18px;font-size:13px;display:inline-flex}.records.records-ux .records-footer .btn-text:hover,.records.records-ux .records-footer .btn-text:focus-visible{color:#ffc3b8;background:#963c322e}.records.records-ux .dialog-backdrop{z-index:70;padding-top:calc((16px + env(safe-area-inset-top,0px)) / var(--ui-scale,1));padding-right:calc((16px + env(safe-area-inset-right,0px)) / var(--ui-scale,1));padding-bottom:calc((16px + env(safe-area-inset-bottom,0px)) / var(--ui-scale,1));padding-left:calc((16px + env(safe-area-inset-left,0px)) / var(--ui-scale,1));background:#040a10a8;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.records.records-ux .dialog{width:min(100%,420px);max-width:calc((100dvw - 32px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)) / var(--ui-scale,1));max-height:calc((100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)) / var(--ui-scale,1));overscroll-behavior:contain;padding:18px 16px calc(16px + env(safe-area-inset-bottom,0px));background:#12202c;border:1px solid #e8c98747;border-radius:18px;flex-direction:column;gap:10px;display:flex;overflow-y:auto;box-shadow:0 18px 48px #0000008c}.records.records-ux .dialog h3{overflow-wrap:anywhere;min-width:0;margin:0;font-size:16px;line-height:1.4}.records.records-ux .dialog p{overflow-wrap:anywhere;min-width:0;margin:0;font-size:13px;line-height:1.6}.records.records-ux .records-confirm-target{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;background:#08121acc;border:1px solid #e8c98729;border-radius:10px;flex-wrap:wrap;gap:6px 10px;min-width:0;padding:8px 10px;display:flex}.records.records-ux .records-confirm-target__outcome{color:#ffe6a3;font-weight:700}.records.records-ux .dialog-actions{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}.records.records-ux .dialog-actions button{border-radius:12px;flex-shrink:0;min-height:44px;padding:0 16px;font-size:14px;font-weight:700}.records.records-ux button:focus-visible,.records.records-ux [tabindex]:focus-visible{outline-offset:2px;outline:2px solid #ffe6a3}@media (width<=719px){.records.records-ux .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.records.records-ux .stat--lead{grid-column:1/-1}.records.records-ux .record-list{grid-template-columns:minmax(0,1fr)}}@media (width>=1320px){.records.records-ux .record-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.records.records-ux .record-item,.records.records-ux .record-main,.records.records-ux .record-act,.records.records-ux .records-footer .btn-text{transition:none}}body.profile-ux-open{background-color:#0000}body.profile-ux-open:before,body.profile-ux-open:after{content:none;background-image:none;display:none}.profile-ux:before{content:"";z-index:-1;pointer-events:none;background-color:#0b1822;background-image:linear-gradient(180deg, #102c429e, #12252ee0 55%, #0a161af5), var(--asset-bg-home-main,url(../assets/bg/home-main.webp));background-position:50%;background-repeat:no-repeat;background-size:cover;position:fixed;inset:0}.screen.profile.profile-ux{box-sizing:border-box;width:100%;max-width:none;min-height:100vh;min-height:calc(100dvh / var(--ui-scale,1));padding:calc(env(safe-area-inset-top,0px) + 10px) clamp(14px, 2.4vw, 28px) calc(env(safe-area-inset-bottom,0px) + 88px);align-items:center;gap:16px;margin:0;background:0 0!important}.profile-ux .proto-head{grid-template-columns:minmax(0,max-content) minmax(0,1fr) minmax(0,max-content);align-items:center;gap:10px;width:100%;max-width:1120px;margin-inline:auto;display:grid}.profile-ux .proto-head__title{text-align:center;letter-spacing:.04em;overflow-wrap:anywhere;min-width:0;margin:0;font-size:clamp(16px,2.4vw,22px);font-weight:800;line-height:1.3}.profile.profile-ux .proto-back,.profile-ux .proto-head__action .proto-action,.profile-ux .proto-head__action button{white-space:normal;overflow-wrap:anywhere;text-align:center;border-radius:14px;justify-content:center;align-items:center;min-width:44px;height:auto;min-height:44px;padding:8px 14px;font-size:14px;line-height:1.35;display:inline-flex}@media (width<=380px){.profile-ux .proto-head{gap:8px}.profile.profile-ux .proto-back,.profile-ux .proto-head__action .proto-action,.profile-ux .proto-head__action button{padding:8px 10px;font-size:13px}}.profile-ux .profile-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;width:100%;max-width:1120px;margin-inline:auto;display:grid}.profile-ux .profile-primary,.profile-ux .profile-secondary{grid-template-columns:minmax(0,1fr);align-content:start;gap:16px;min-width:0;display:grid}.profile-ux .profile-primary>*,.profile-ux .profile-secondary>*,.profile-ux .profile-card{min-width:0}@media (width>=1000px){.profile-ux .profile-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:20px}.profile-ux .profile-primary,.profile-ux .profile-secondary{gap:20px}}.profile-ux .profile-layout .ui-card{background:#10202feb;border:1px solid #e8c9873d;border-radius:18px;flex-direction:column;gap:12px;width:100%;min-width:0;max-width:100%;margin-inline:0;padding:clamp(14px,1.5vw,20px);display:flex;box-shadow:0 10px 26px #040c1247}.profile-ux .ui-card__title{margin:0;font-size:18px;line-height:1.35}.profile-ux .ui-card__hint{color:#fff3d9bd;margin:0;font-size:14px;line-height:1.5}@media (width>=1000px){.profile-ux .ui-card__title{font-size:20px}}.profile-ux .ui-card__body{flex-direction:column;gap:12px;min-width:0;display:flex}.profile-ux .ui-card__body>*{min-width:0}.profile-ux .ui-card__foot,.profile-ux .muted.small{font-size:13.5px;line-height:1.5}.profile-ux .profile-card--rank .ui-card{background:#0e1c29a8}.profile-ux .profile-card--rank .ui-card__title{font-size:16px}.profile-ux .profile-char{flex-wrap:nowrap;align-items:center;gap:12px;min-width:0;margin-bottom:14px;display:flex}.profile-ux .profile-char>svg,.profile-ux .profile-char>img{flex:none;width:56px;height:56px}.profile-ux .profile-char .profile-char-info{flex-direction:column;flex:auto;gap:4px;min-width:0;display:flex}.profile-ux .profile-char .profile-char-info>b{overflow-wrap:anywhere;font-size:17px;line-height:1.3}.profile-ux .profile-char .profile-char-hint{overflow-wrap:anywhere;display:block}.profile-ux .profile-char>button,.profile-ux .profile-char .profile-avatar-change{white-space:nowrap;flex:none;min-height:44px;padding:6px 12px;font-size:14px;line-height:1.2}@media (width<=380px){.profile-ux .profile-char{gap:10px}.profile-ux .profile-char>svg,.profile-ux .profile-char>img{width:48px;height:48px}.profile-ux .profile-char>button,.profile-ux .profile-char .profile-avatar-change{padding-inline:10px;font-size:13px}}.profile-ux .profile-nick{flex-direction:column;gap:6px;min-width:0;margin:0;display:flex}.profile-ux .profile-nick-label{color:#fff3d9cc;font-size:13px;line-height:1.4}.profile-ux .profile-nick-row,.profile-ux .field-row{flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;display:flex}.profile-ux .field-row input,.profile-ux .profile-nick-row input{flex:auto;width:auto;min-width:0;max-width:none;min-height:44px;padding:10px 12px;font-size:16px}.profile-ux .profile-nick-save{white-space:nowrap;flex:none;min-width:0;min-height:44px;padding:8px 14px;font-size:15px;line-height:1.2}@media (width<=360px){.profile-ux .profile-nick-row,.profile-ux .field-row{gap:6px}.profile-ux .profile-nick-save{padding-inline:10px;font-size:14px}}.profile-ux .profile-idline{overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:4px 6px;margin:0;display:flex}.profile-ux .profile-public-id{letter-spacing:.04em;color:#ffe6b0;-webkit-user-select:all;user-select:all;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.profile-ux .profile-idline-dot{opacity:.55}.profile-ux .profile-wrap-text{overflow-wrap:anywhere}.profile-ux .profile-actions{grid-template-columns:minmax(0,1fr);gap:10px;width:100%;display:grid}.profile-ux .profile-actions--pair,.profile-ux .profile-actions--grid2{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-ux .profile-actions>button,.profile-ux .ui-card__body>.ui-actions>button{white-space:normal;overflow-wrap:anywhere;width:100%;max-width:none;height:auto;min-height:44px;padding:10px 14px;font-size:14px;line-height:1.35}@media (width<=420px){.profile-ux .profile-actions--pair{grid-template-columns:minmax(0,1fr)}}.profile-ux .profile-danger{border-top:1px solid #e8c98724;justify-content:center;width:100%;max-width:1120px;margin-inline:auto;padding-block:6px 0;display:flex}.profile-ux .profile-danger .btn-text{color:#ffb4a6;opacity:.92;min-height:44px;padding:10px 18px;font-size:14px;line-height:1.4}.profile-ux .dialog-backdrop{z-index:70;padding-block:max(16px, env(safe-area-inset-top,0px)) max(16px, env(safe-area-inset-bottom,0px));padding-inline:max(16px, env(safe-area-inset-left,0px), env(safe-area-inset-right,0px))}.profile-ux .dialog{overscroll-behavior:contain;flex-direction:column;gap:12px;min-width:0;display:flex;overflow-y:auto}.profile-ux .dialog>*{min-width:0}.profile-ux .dialog h3{margin:0;font-size:18px;line-height:1.35}.profile-ux .dialog .field{flex-direction:column;gap:6px;min-width:0;display:flex}.profile-ux .dialog .field input,.profile-ux .dialog .code-input{width:100%;min-width:0;max-width:none;min-height:44px;padding:10px 12px;font-size:16px}.profile-ux .dialog .check{align-items:flex-start;gap:10px;min-height:44px;line-height:1.45;display:flex}.profile-ux .dialog .check input{flex:none;width:20px;height:20px;margin-top:2px}.profile-ux .dialog .dialog-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;display:grid}.profile-ux .dialog .dialog-actions>button{white-space:normal;overflow-wrap:anywhere;width:100%;min-width:0;height:auto;min-height:44px;padding:10px 14px;font-size:14px;line-height:1.35}@media (width<=380px){.profile-ux .dialog .dialog-actions{grid-template-columns:minmax(0,1fr)}}.profile-ux :focus-visible{outline-offset:2px;outline:2px solid #ffd98a}@media (prefers-reduced-motion:reduce){.profile-ux *,.profile-ux :before,.profile-ux :after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}body:has(.home.platform-home):before{content:none;display:none}body:has(.home.platform-home):after{content:none;display:none}body:has(.home.platform-home){background-color:#0000}.home.platform-home{box-sizing:border-box;width:100%;max-width:none;min-height:calc(100dvh / var(--ui-scale,1));padding:0 16px calc(78px + env(safe-area-inset-bottom,0px));background:0 0;flex-direction:column;justify-content:flex-end;align-items:center;gap:clamp(10px,1.2vh,14px);display:flex;position:relative;overflow:visible}.home.platform-home:before{content:"";z-index:-1;pointer-events:none;background-color:#0b1822;background-image:linear-gradient(180deg, #08131d0f 40%, #08131d80), var(--asset-bg-home-main,url(../assets/bg/home-main.webp));background-position:50%,50%;background-repeat:no-repeat,no-repeat;background-size:cover,cover;position:fixed;inset:0}.home.platform-home button,.home.platform-home a,.home.platform-home [role=button]{min-height:44px}.home.platform-home .home-topbar{top:max(12px, env(safe-area-inset-top,0px));z-index:2;align-items:center;gap:8px;width:auto;min-height:44px;display:flex;position:absolute;left:14px;right:14px}.home.platform-home .home-topbar>*{flex:none}.home.platform-home .home-avatar{border-radius:50%;width:46px;min-width:46px;height:46px;min-height:46px;padding:0}.home.platform-home .home-user{flex:auto;justify-content:center;min-width:0;min-height:44px;overflow:hidden}.home.platform-home .home-user strong,.home.platform-home .home-user small{white-space:nowrap;text-overflow:ellipsis;max-width:100%;display:block;overflow:hidden}.home.platform-home .home-top-actions{flex:none;gap:7px;margin-left:auto;display:flex}.home.platform-home .home-top-actions button,.home.platform-home .home-top-actions a{border-radius:50%;width:46px;min-width:46px;min-height:46px;padding:0}.home.platform-home .home-title{text-align:center;width:100%;margin:0 auto auto;padding-top:clamp(72px,14dvh,180px)}.home.platform-home .home-title-art{width:min(88vw,560px);max-width:100%;height:auto;object-fit:contain;object-position:center;max-block-size:clamp(140px,26dvh,280px);margin:0 auto;display:block}.home.platform-home .home-title p{display:none}.home.platform-home .game-carousel{touch-action:manipulation;flex-direction:column;flex:none;align-items:center;gap:8px;width:min(100%,760px);max-width:760px;margin:0 auto;display:flex;position:relative;container-type:inline-size}.home.platform-home .game-carousel-row{grid-template-columns:minmax(0,.3fr) minmax(0,.4fr) minmax(0,.3fr);align-items:center;gap:7px;width:100%;display:grid}.home.platform-home .game-card{box-sizing:border-box;aspect-ratio:1;color:#fff6e3;cursor:pointer;background:#0a1a22;border:1px solid #ffe9b057;border-radius:6px;flex-direction:column;justify-content:flex-end;align-items:stretch;gap:0;width:100%;min-width:0;min-height:110px;padding:0;transition:border-color .16s,transform .16s;display:flex;position:relative;overflow:visible}.home.platform-home .game-card--center{background:#0a1a22;border:2px solid #ffd977;min-height:124px;transform:translateY(-6px);box-shadow:0 6px 18px #00000073,inset 0 0 0 1px #ffebaa38}.home.platform-home .game-card--prev:hover,.home.platform-home .game-card--next:hover{opacity:1}.home.platform-home .game-card-preview{object-fit:cover;object-position:center;border-radius:inherit;-webkit-user-select:none;user-select:none;pointer-events:none;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.home.platform-home .game-card-caption{z-index:1;box-sizing:border-box;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;pointer-events:none;background:linear-gradient(#040c1000 0%,#040c10ad 45%,#040c10eb 100%);flex-direction:column;align-items:center;gap:2px;width:100%;padding:26px 8px 8px;display:flex;position:relative}.home.platform-home .game-card-title{letter-spacing:.02em;white-space:normal;overflow-wrap:anywhere;text-align:center;text-shadow:0 1px 3px #000000f2,0 0 10px #0009;min-width:0;max-width:100%;font-size:clamp(13px,1.5vw,15px);font-weight:800;line-height:1.25}.home.platform-home .game-card--center .game-card-title{font-size:clamp(16px,1.8vw,18px)}.home.platform-home .game-card-status{color:#ffe6a3;opacity:.92;text-align:center;text-shadow:0 1px 3px #000000f2;font-size:12px;font-weight:700}.home.platform-home .game-card[aria-pressed=true] .game-card-status{color:#ffe08a}.home.platform-home .game-carousel-controls{z-index:3;pointer-events:none;justify-content:space-between;align-items:center;gap:0;min-height:0;margin:0;padding:0;display:flex;position:absolute;inset:0}.home.platform-home .game-carousel-arrow{pointer-events:auto;color:#ffe9b8;background:#0c1e2ac7;border:1px solid #ffe9b066;border-radius:50%;width:44px;height:44px;min-height:44px;padding:0;font-size:22px;line-height:1;display:none}@media (width>=901px){.home.platform-home .game-carousel-arrow{justify-content:center;align-items:center;display:inline-flex}}.home.platform-home .home-menu{width:min(100%, calc(84vw / var(--ui-scale,1)), 640px);flex-direction:column;flex:none;align-items:center;gap:10px;max-width:640px;margin:0 auto;display:flex}.home.platform-home .home-continue{width:100%;max-width:640px}.home.platform-home .home-main-action,.home.platform-home .home-sub-action{white-space:normal;width:100%;min-width:0;max-width:640px;height:auto;padding-block:6px;line-height:1.35}.home.platform-home .home-main-action{min-height:60px}.home.platform-home .home-sub-action{min-height:46px}.home.platform-home .home-main-action[disabled],.home.platform-home .home-sub-action[disabled]{opacity:.62;cursor:not-allowed;filter:saturate(.55);box-shadow:none}.home.platform-home .home-sub-action .home-selected{color:#7a5320;margin-left:2px;font-size:12px;font-weight:700;display:inline}.home.platform-home .home-sub-action[disabled] .home-selected{color:#6d6a63}.home.platform-home .home-rule-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;width:100%;max-width:640px;margin:0 auto;display:flex}.home.platform-home .home-rule-row>*{align-items:center;min-height:44px;display:inline-flex}.home.platform-home :focus-visible{outline-offset:2px;outline:3px solid #ffd977}.home.platform-home .dialog-backdrop{z-index:70}.home.platform-home .dialog{box-sizing:border-box;max-width:min(560px,100% - 32px);max-height:calc(82vh / var(--ui-scale,1));margin-inline:auto;overflow-y:auto}@media (prefers-reduced-motion:reduce){.home.platform-home .game-card{transition:none}}@media (width>=720px){.home.platform-home .home-main-action{min-height:72px}}@media (width>=1200px){.home.platform-home .home-topbar{left:max(14px,50% - 560px);right:max(14px,50% - 560px)}}@media (width<=560px){.home.platform-home .game-card-caption{padding:22px 5px 6px}}@media (width<=380px){.home.platform-home{padding-left:12px;padding-right:12px}.home.platform-home .game-carousel-row{gap:6px}.home.platform-home .game-card{min-height:96px}.home.platform-home .game-card--center{min-height:110px}}@media (height<=560px){.home.platform-home{gap:8px}.home.platform-home .home-title{padding-top:70px}.home.platform-home .home-title-art{width:min(70vw,420px);max-block-size:100px}.home.platform-home .game-card{min-height:88px}.home.platform-home .game-card--center{min-height:96px}.home.platform-home .game-card-caption{padding:18px 5px 5px}}.home.platform-home{padding-bottom:calc(66px + env(safe-area-inset-bottom,0px));gap:12px}.home.platform-home:before{background-image:linear-gradient(180deg, #08131d0a 35%, #08131dc7), var(--asset-bg-home-main,url(../assets/bg/home-main.webp))}.home.platform-home .home-topbar{gap:10px}.home.platform-home .home-user{background:#0d1d23c7;border-color:#ffebc338;border-radius:16px;flex:0 260px;padding:7px 14px}.home.platform-home .home-top-actions button{background:#0d1d23c7;border-radius:16px}.home.platform-home .home-title{padding-top:clamp(82px,10dvh,120px);padding-bottom:14px}.home.platform-home .home-title-art{width:min(88vw,500px);max-block-size:clamp(140px,24dvh,220px)}.home.platform-home .game-carousel{gap:10px;width:min(100%,600px)}.home.platform-home .game-carousel-row{gap:10px}.home.platform-home .game-card{border-color:#ffedc652;border-radius:18px;transition:border-color .18s,transform .18s,opacity .18s,box-shadow .18s}.home.platform-home .game-card--center{border-color:#f5d480;transform:translateY(-4px);box-shadow:0 8px 24px #00000047,inset 0 0 0 1px #ffebaa2e}.home.platform-home .game-card--prev,.home.platform-home .game-card--next{opacity:.78;transform:scale(.9)}.home.platform-home .game-card-caption{padding:28px 8px 13px}.home.platform-home .game-card-status[aria-hidden=true]{display:none}.home.platform-home .game-carousel-controls{pointer-events:none;grid-template-columns:minmax(0,.3fr) minmax(0,.4fr) minmax(0,.3fr);gap:10px;width:100%;min-height:0;display:grid;position:absolute;inset:-8px 0 auto}.home.platform-home .game-carousel-arrow{box-shadow:none;color:#000000a6;pointer-events:auto;background:0 0;border:0;justify-content:center;justify-self:center;align-items:center;font-family:monospace;font-size:32px;font-weight:500;display:inline-flex;transform:translateY(-50%)}.home.platform-home .game-carousel-arrow:last-child{grid-column:3}.home.platform-home .game-carousel-position{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.home.platform-home .home-menu{gap:10px;width:min(100%,520px)}.home.platform-home .home-main-action{background:linear-gradient(135deg,#ffe8a6,#e8bc58);border-color:#ffe7a1;border-radius:18px;min-height:58px;font-size:22px;font-weight:800;box-shadow:0 5px 18px #09171b38}.home.platform-home .home-sub-action{color:#fff0d4;background:#112429db;border-color:#ffeabe6b;border-radius:16px;min-height:48px}.home.platform-home .home-sub-action .home-selected{color:#f5d480}.home.platform-home .home-continue{background:#10242af0;border-radius:16px}.home.platform-home .home-rule-link{color:#fff0d4;text-decoration-color:#fff0d473}.home.platform-home .home-lang-switch{box-shadow:none;background:0 0;border:0;border-radius:0;align-items:center;padding:0;display:inline-flex;position:static}.home.platform-home .home-lang-switch:before,.home.platform-home .home-lang-switch:after,.home.platform-home .home-lang-switch>button:before,.home.platform-home .home-lang-switch>button:after{content:none;box-shadow:none;background:0 0;border:0;border-radius:0}.home.platform-home .home-lang-switch>button{min-width:44px;min-height:44px;box-shadow:none;color:#f3e8cf;background:0 0;border:0;border-radius:0;padding:0;font-size:13px;font-weight:400;position:static}.home.platform-home .home-lang-switch>button.on{color:#f5d480;background:0 0;font-weight:800}.home.platform-home .home-lang-switch>.home-lang-sep{color:#f3e8cf;opacity:.55;white-space:pre;pointer-events:none;-webkit-user-select:none;user-select:none;font-size:13px;font-weight:400}.home.platform-home .home-rule-row{justify-content:center}@media (hover:hover){.home.platform-home .game-card:hover{opacity:1;border-color:#f5d480}.home.platform-home .home-sub-action:not(:disabled):hover{background:#243d41}}@media (width<=380px){.home.platform-home .game-carousel-row,.home.platform-home .game-carousel-controls{gap:5px}.home.platform-home .game-card{border-radius:13px}.home.platform-home .game-card-caption{padding:24px 5px 10px}.home.platform-home .home-topbar{gap:6px}}@media (height<=700px){.home.platform-home{gap:8px}.home.platform-home .home-title{padding-top:76px;padding-bottom:6px}.home.platform-home .home-title-art{max-block-size:130px}}@media (height<=500px){.home.platform-home .home-title-art{max-block-size:90px}.home.platform-home .game-carousel{width:min(100%,400px)}}.home.platform-home{--game-backlight:255, 214, 138;--game-backlight-soft:255, 242, 212}.home.platform-home .game-card:before{content:"";z-index:-1;background-blend-mode:screen;background-color:#ffe2a48c;background-image:var(--game-art);filter:blur(14px)saturate(1.65)brightness(2.2);opacity:.62;pointer-events:none;background-position:50%;background-size:cover;border-radius:26px;transition:opacity .18s;position:absolute;inset:-10px}.home.platform-home .game-card--prev:before,.home.platform-home .game-card--next:before{opacity:.5;inset:-8px}.home.platform-home .game-card--center:before{filter:blur(18px)saturate(1.75)brightness(2.5);opacity:.68;animation:4.6s ease-in-out infinite home-game-aura;inset:-14px}.home.platform-home .game-card-preview{filter:brightness(1.05)saturate(1.04)}.home.platform-home .game-card{box-shadow:0 0 0 1px rgba(var(--game-backlight), .24), 0 8px 22px #06121852;isolation:isolate}.home.platform-home .game-card--center{box-shadow:0 0 0 1px #fff6d670, 0 0 22px rgba(var(--game-backlight), .3), 0 10px 28px #0000004d, inset 0 0 0 1px #ffebaa2e}.home.platform-home .game-card:after{content:"";z-index:0;border-radius:inherit;background:radial-gradient(120% 100% at 50% 12%, rgba(var(--game-backlight-soft), .32), rgba(var(--game-backlight), .1) 46%, rgba(var(--game-backlight), 0) 76%), linear-gradient(180deg, rgba(var(--game-backlight-soft), .1), rgba(var(--game-backlight), 0) 42%);box-shadow:inset 0 0 0 1px rgba(var(--game-backlight-soft), .32), inset 0 0 22px rgba(var(--game-backlight), .28);mix-blend-mode:screen;opacity:.72;pointer-events:none;transition:opacity .18s;position:absolute;inset:0}.home.platform-home .game-card--prev:after,.home.platform-home .game-card--next:after{opacity:.48}.home.platform-home .game-card--center:after{animation:4.2s ease-in-out infinite home-game-backlight}@keyframes home-game-backlight{0%,to{opacity:.7}50%{opacity:.95}}@keyframes home-game-aura{0%,to{opacity:.58}50%{opacity:.8}}@media (hover:hover){.home.platform-home .game-card:hover:before{opacity:.72}.home.platform-home .game-card--center:hover:before{opacity:.82}.home.platform-home .game-card:hover:after{opacity:1}}@media (prefers-reduced-motion:reduce){.home.platform-home .game-card,.home.platform-home .game-card:before,.home.platform-home .game-card:after{transition:none}.home.platform-home .game-card--center:before,.home.platform-home .game-card--center:after{animation:none}}.motion-reduce .home.platform-home .game-card,.motion-reduce .home.platform-home .game-card:before,.motion-reduce .home.platform-home .game-card:after{transition:none}.motion-reduce .home.platform-home .game-card--center:before,.motion-reduce .home.platform-home .game-card--center:after{animation:none}.home.platform-home.home--game-lobby .home-title{margin-bottom:auto}.home.platform-home.home--game-lobby .home-menu{width:min(100%,400px);max-width:400px;margin:clamp(80px,16dvh,200px) auto 0}@media (width<=360px),(height<=640px){.home.platform-home.home--game-lobby .home-title{padding-top:clamp(56px,10dvh,96px)}.home.platform-home.home--game-lobby .home-title-art{max-block-size:clamp(112px,20dvh,180px)}.home.platform-home.home--game-lobby .home-menu{margin-top:clamp(32px,8dvh,80px)}}@media (width>=1200px),(height>=900px){.home.platform-home.home--game-lobby .home-menu{margin-top:clamp(120px,18dvh,240px)}}
