:root{color-scheme:dark;--bg:#142e28;--panel:#1c3931;--panel-deep:#18342c;--border:#355044;--ink:#f1efdf;--muted:#a6b5a7;--accent:#c2d784;--accent-dark:#263a1b;--gold:#d3b477;--light-square:#e5e4cd;--dark-square:#789282;--font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--display:var(--font)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button,a,input{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{color:inherit;border:0;cursor:pointer;background:none}button:disabled{cursor:default}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}a{color:inherit;text-decoration:none}button{transition:background .18s,color .18s,transform .18s}button:not(:disabled):active{transform:translateY(1px)}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.piece{width:100%;height:100%;overflow:visible;display:block}.piece g{stroke-width:1.8}.piece.ivory g{fill:#f7f2db;stroke:#4b5144}.piece.obsidian g{fill:#263b33;stroke:#122b22}.piece.ivory{filter:drop-shadow(0 2px 0 #b2b09c) drop-shadow(0 4px 2px #21322655)}.piece.obsidian{filter:drop-shadow(0 2px 0 #0e201b) drop-shadow(0 4px 2px #21322655)}.topbar{height:98px;padding:0 4.4%;display:flex;align-items:center;border-bottom:1px solid #ffffff12;gap:40px}.brand{display:flex;gap:10px;align-items:center;min-width:217px}.brand>.piece{width:42px;height:48px}.brand>.piece g{fill:var(--accent);stroke:var(--accent);stroke-width:.7}.brand>span{font-family:"Manrope",var(--font);font-size:23px;font-weight:800;letter-spacing:1.5px;line-height:1.2}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:3.6px;font-weight:500;margin-top:6px;color:var(--muted)}nav{display:flex;align-items:center;gap:35px;height:100%;font-size:13px}nav>button,nav>.nav-active{height:100%;display:flex;align-items:center;gap:9px;position:relative;white-space:nowrap}nav>button{color:var(--muted);padding:0}nav>button:hover{color:var(--ink)}nav>.nav-active{color:var(--accent)}nav>.nav-active:after{position:absolute;content:"";bottom:0;left:0;right:0;height:2px;background:var(--accent)}.local-badge{display:flex;gap:9px;align-items:center;font-size:11px;color:var(--muted);margin-left:auto;white-space:nowrap}.status-dot{width:6px;height:6px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 4px #c2d7840c}main{max-width:1510px;margin:0 auto;padding:29px 4.4% 0}.table-heading{display:flex;justify-content:space-between;margin-bottom:24px;font-size:10px;letter-spacing:1.8px;color:var(--muted)}.table-heading>span{display:flex;align-items:center;gap:8px}.table-heading i{display:block;width:5px;height:5px;border:1px solid var(--accent);transform:rotate(45deg)}#saved-label{letter-spacing:0;color:#8fa695;font-size:11px}#saved-label>.icon{width:14px;height:14px}.game-layout{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(380px,1.8fr) minmax(260px,1fr);gap:36px;align-items:start}.intro{padding-top:28px}.eyebrow{color:var(--gold);font-size:9px;letter-spacing:1.6px;font-weight:600}.intro h1{font-family:var(--display);font-size:clamp(32px,3.2vw,48px);font-weight:400;line-height:1.16;letter-spacing:-1.7px;margin:20px 0 18px;white-space:nowrap}.intro h1 em{font-style:italic;color:var(--accent)}.intro-text{font-size:13px;color:var(--muted);max-width:215px;line-height:1.85;margin:0 0 30px}.mode-card{width:100%;border:1px solid #54705a80;border-radius:9px;padding:15px 12px;display:flex;text-align:left;align-items:center;gap:12px;background:#203d32}.mode-card:hover{background:#284838}.mode-icon{width:34px;height:39px;display:grid;place-items:center;color:var(--accent);background:#b3cf7512;border-radius:8px}.mode-card>span:nth-child(2){flex:1}.mode-card small{display:block;font-size:8px;letter-spacing:1.4px;color:var(--muted)}.mode-card strong{display:block;font-size:12px;margin:2px 0;font-weight:600;white-space:nowrap}.mode-card em{display:block;font-size:10px;color:#9eb09b;font-style:normal}.mode-card>.icon{width:14px;color:#96ac92}.mini-rules{margin-top:36px}.mini-rules h2{font-size:13px;font-weight:500;margin-bottom:19px}.mini-rules>div{display:flex;gap:14px;margin-bottom:20px}.mini-rules>div>span{font-family:var(--display);font-style:italic;font-size:16px;color:#779277;padding-top:1px}.mini-rules p{margin:0}.mini-rules strong{display:block;font-size:12px;font-weight:500;margin-bottom:4px}.mini-rules small{font-size:11px;line-height:1.65;color:var(--muted);display:block;max-width:180px}.text-button{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--accent);padding:8px 0}.text-button .icon{width:16px}.text-button:hover{gap:17px}.table-note{margin-top:38px;padding-top:20px;border-top:1px solid #ffffff13;color:#91a78f;font-family:var(--display);font-style:italic;font-size:15px;line-height:1.55}.table-note>.icon{width:16px;margin-right:6px;color:var(--gold)}.table-note>span{margin-left:26px}.play-area{min-width:0}.player-strip{display:flex;align-items:center;justify-content:space-between;min-height:64px;margin-bottom:12px;gap:8px}.player-identity{display:flex;align-items:center;gap:12px}.avatar{width:45px;height:45px;border-radius:11px;display:grid;place-items:center;background:#29463b;border:1px solid #415a46}.avatar>.icon{width:26px;height:26px;color:var(--accent)}.avatar>.piece{width:32px;height:32px}.white-avatar{background:#dcdcc8;border:1px solid #e5e6d4}.player-identity strong{display:block;font-size:14px;font-weight:500}.player-identity small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.player-right{display:flex;align-items:center;gap:10px}.turn-badge{font-size:10px;color:#91a78f;border:1px solid #ffffff17;padding:6px 10px;border-radius:5px;white-space:nowrap;display:flex;align-items:center;gap:6px}.turn-badge.active{color:var(--accent);border-color:#b4ce6f30;background:#b4ce6f0b}.turn-badge i{width:5px;height:5px;background:var(--accent);border-radius:50%}.captured-pieces{display:flex;flex-wrap:wrap;max-width:115px;justify-content:flex-end}.captured-pieces>.piece{width:15px;height:19px;margin-left:-4px}.captured-pieces>.piece.ivory g{stroke:#5d6d58}.captured-pieces>.piece.obsidian g{fill:#9aae99;stroke:#10251e}.board-frame{padding:12px;background:#233d32;border:1px solid #5f755243;border-radius:8px;box-shadow:0 20px 45px #081c2340,inset 0 0 0 4px #142b201c}#board{display:grid;grid-template-columns:repeat(8,1fr);aspect-ratio:1;border-radius:3px;overflow:hidden;border:1px solid #10291e;box-shadow:0 1px #b9c39a30}.square{padding:8%;display:flex;align-items:center;justify-content:center;position:relative;aspect-ratio:1;min-width:0;min-height:0;border-radius:0;transition:background .16s,box-shadow .16s}.square:active{transform:none!important}.square .piece{position:relative;z-index:2;pointer-events:none;transition:transform .18s}.light-square{background:var(--light-square);color:#687d67}.dark-square{background:var(--dark-square);color:#e5e4cd}.square .rank,.square .file{position:absolute;font-size:9px;font-family:var(--font);font-weight:700;z-index:3;pointer-events:none;line-height:1}.square .rank{top:5px;left:5px}.square .file{bottom:4px;right:5px}.square.playable:after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;bottom:5px;background:#4c6e2b;opacity:.8}.square.playable:hover .piece{transform:translateY(-3px)}.square.playable:hover{box-shadow:inset 0 0 0 3px #a8bf65}.square.last-move{background:#bbca88}.square.last-move.dark-square{background:#92ae69}.square.selected{background:#d0df87!important;box-shadow:inset 0 0 0 3px #789740}.square.selected .piece{transform:translateY(-3px)}.move-dot{width:25%;height:25%;border-radius:50%;background:#233d3450;position:absolute;z-index:3;pointer-events:none}.square.move-target:hover{background:#c4d489}.square.capture-target:before{content:"";position:absolute;inset:3px;border:4px solid #83583caa;border-radius:50%;z-index:3;pointer-events:none}.square.hint-square{box-shadow:inset 0 0 0 4px var(--gold)}.square:focus-visible{outline:0;box-shadow:inset 0 0 0 4px #ad742a;z-index:4}#player{margin-top:12px;margin-bottom:0}.board-toolbar{display:flex;justify-content:space-between;align-items:center;margin-top:12px;border-top:1px solid #ffffff12;padding-top:11px}.board-toolbar>span{font-size:10px;display:flex;align-items:center;gap:7px;color:#8ea38f}.board-toolbar>span .icon{width:13px;height:13px}.board-toolbar>div{display:flex;gap:3px}.icon-button{width:36px;height:36px;display:inline-grid;place-items:center;border-radius:6px;color:var(--muted)}.icon-button:hover{background:#ffffff0b;color:var(--ink)}.icon-button>.icon{width:17px;height:17px}.right-column{padding-top:9px;min-width:0}.turn-card{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:23px 22px 15px;box-shadow:0 8px 24px #0b241a14}.turn-eyebrow{display:flex;justify-content:space-between;align-items:center;color:var(--accent);font-size:9px;font-weight:500;letter-spacing:1.5px}.turn-eyebrow>.icon{color:#8ba17e;width:18px}.turn-card h2{font-size:24px;font-weight:500;letter-spacing:-.7px;margin:12px 0 5px;display:flex;align-items:center;gap:10px}.live-dot{width:7px;height:7px;background:var(--accent);border-radius:50%}.live-dot.thinking{animation:pulse 1s infinite}.turn-card h2+p{font-size:11px;color:var(--muted);margin:0;min-height:33px;line-height:1.6}.dice-tray{display:flex;justify-content:center;gap:13px;padding:22px 0 19px;perspective:800px}.die-wrap{padding:0;flex:1;min-width:0;text-align:center}.die{height:auto;aspect-ratio:1;max-width:73px;width:100%;background:linear-gradient(135deg,#fffbea,#e5e2ca);border-radius:12px;display:grid;place-items:center;box-shadow:0 5px #b3b59a,0 8px 12px #061e2b55,inset 0 1px #fff;position:relative;border:1px solid #fbf7e1;margin:0 auto;transition:transform .18s,opacity .18s}.die>.piece{width:68%;height:68%}.die>.piece g{fill:#334c3d;stroke:#334c3d;stroke-width:1}.die>.piece{filter:none}.die-wrap small{font-size:10px;display:block;color:#a1b49c;padding-top:12px}.die-wrap:not(:disabled):hover .die{transform:translateY(-4px) rotate(-3deg)}.die-wrap.used .die{opacity:.4;box-shadow:0 2px #b3b59a;transform:scale(.94)}.die-wrap.used small{color:#718b71}.die-check{position:absolute;bottom:-6px;right:-6px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--accent);border:2px solid var(--panel);color:var(--accent-dark)}.die-check .icon{width:13px;height:13px}.unrolled .die-wrap:first-child .die{transform:rotate(-7deg)}.unrolled .die-wrap:last-child .die{transform:rotate(7deg)}.rolling .die{animation:roll .7s both;animation-delay:calc(var(--i) * 35ms)}.primary-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;background:var(--accent);color:#263622;border:1px solid #d5e4a2;border-radius:7px;min-height:46px;padding:10px 13px;font-size:13px;font-weight:700;box-shadow:0 3px #8ca35c}.primary-button:not(:disabled):hover{background:#d1e49b;box-shadow:0 3px #a1b776,0 0 20px #c2d78410}.primary-button:disabled{background:#36513b;color:#c0ccad;border-color:#4c6747;box-shadow:none}.primary-button>.icon{width:18px;height:18px}.primary-button kbd{font-size:12px;line-height:17px;min-width:20px;border:1px solid #4c653b40;border-radius:3px;margin-left:auto;font-weight:400}.primary-button:has(kbd)>.icon{margin-left:auto}.dice-caption{text-align:center;font-size:9px;color:#8fa78b;margin:12px 0 20px}.coach{display:flex;gap:10px;border-top:1px solid #ffffff10;padding-top:18px}.coach>span{color:var(--gold);padding-top:1px}.coach>span>.icon{width:17px;height:17px}.coach strong{font-size:11px;font-weight:500;color:#d5dbc3}.coach p{color:#9db296;font-size:10px;line-height:1.75;margin:5px 0 0}.hint-button{font-size:10px;color:var(--accent);display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:12px 0 0}.hint-button .icon{width:13px;height:13px}.hint-button:disabled{color:#97ab8e}.hint-button:not(:disabled):hover{color:#effacb}.history-card{margin-top:20px;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#163229}.section-title{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #ffffff0b;gap:6px}.section-title h2{display:flex;align-items:center;gap:8px;font-weight:500;font-size:11px;margin:0}.section-title h2>.icon{width:15px;height:15px;color:var(--muted)}.section-title>span{font-size:9px;color:#8fa58b;white-space:nowrap}#history{height:138px;overflow:auto;scrollbar-width:thin;scrollbar-color:#426047 transparent}.empty-history{text-align:center;color:#7c967e;padding-top:24px}.empty-history>.icon{width:24px;height:24px;opacity:.6}.empty-history p{font-size:11px;margin:6px 0 2px;color:#b4c1aa}.empty-history small{font-size:9px;color:#7f987f}.history-row{display:flex;align-items:flex-start;gap:7px;padding:8px 12px;font-size:10px;border-bottom:1px solid #ffffff08}.history-number{width:15px;color:#889f83;padding-top:2px}.history-side{height:6px;width:6px;border-radius:50%;margin-top:8px;flex-shrink:0}.history-side.w{background:var(--ink)}.history-side.b{background:#6b927a}.history-row>div{display:flex;flex-wrap:wrap;gap:3px 7px}.notation{display:flex;align-items:center;white-space:nowrap;font-family:monospace;color:#c3cfb7;font-size:10px}.notation>.piece{width:17px;height:22px;filter:none}.notation>.piece.obsidian g{fill:#8eae96;stroke:#8eae96}.new-game{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:17px;border:1px solid #425740;min-height:43px;border-radius:7px;font-size:11px;color:#c2ceb5}.new-game>.icon{width:16px;height:16px}.new-game>span{font-size:17px;margin-left:auto;font-weight:400;color:#92a589}.new-game>.icon{margin-left:auto}.new-game:hover{background:#254232}footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #ffffff0d;margin-top:29px;padding:20px 0 22px;font-size:9px;color:#7f987f;letter-spacing:.2px}footer i{font-style:normal;padding:0 7px;color:#547153}dialog{color:var(--ink);background:#19382e;border:1px solid #547052;border-radius:18px;box-shadow:0 30px 100px #03180bbb;width:min(470px,calc(100vw - 32px));padding:34px;max-height:90dvh;overflow:auto}dialog::backdrop{background:#071b16b8;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.dialog-close{position:absolute;top:12px;right:12px}.modal-emblem{width:48px;height:48px;background:#c2d78413;color:var(--accent);display:grid;place-items:center;border-radius:12px;margin-bottom:20px}.modal-emblem>.icon{width:27px;height:27px}dialog h2{font-family:var(--display);font-size:32px;line-height:1.18;font-weight:400;letter-spacing:-.7px;margin:12px 0 16px}.modal-subtitle{color:var(--muted);font-size:13px;margin-bottom:24px}.rules-body p{font-size:13px;color:#b9c8b2;line-height:1.8}.rules-body strong{color:var(--ink);font-weight:500}.rules-body details{border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin:18px 0;padding:13px 0}.rules-body summary{cursor:pointer;color:var(--accent);font-size:12px}.rules-body .rules-footnote{font-size:11px;color:#90ab8e}.rules-body{margin-bottom:24px}fieldset{padding:0;border:0;margin:0 0 24px;min-width:0}legend{font-size:12px;margin-bottom:10px;color:#bacab1}.option-card{padding:14px 12px;border:1px solid var(--border);border-radius:8px;margin-bottom:8px;display:flex;align-items:center;gap:12px;cursor:pointer}.option-card:has(input:checked){background:#c2d7840b;border-color:#a9c379}.option-card input{accent-color:var(--accent)}.option-card>.icon{width:22px;height:22px;color:var(--accent)}.option-card strong{display:block;font-size:13px;font-weight:500}.option-card small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.difficulty-options{display:flex;gap:8px}.difficulty-options label{flex:1;cursor:pointer;position:relative}.difficulty-options input{position:absolute;inset:0;opacity:0;cursor:pointer}.difficulty-options span{display:block;border:1px solid var(--border);padding:10px 8px;border-radius:7px;text-align:center;font-size:12px}.difficulty-options input:checked+span{color:var(--accent);border-color:var(--accent);background:#c2d78410}.difficulty-options input:focus-visible+span{outline:2px solid var(--accent);outline-offset:3px}.promotion-options{display:flex;gap:8px}.promotion-options button{flex:1;border:1px solid var(--border);background:#31513f;padding:12px 4px;border-radius:8px}.promotion-options button:hover{background:#527049}.promotion-options .piece{width:55px;height:55px;max-width:100%;margin:auto}.promotion-options span{font-size:12px}.promotion-options .piece.obsidian g{fill:#b2cba7;stroke:#10251e}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);background:#e3e8c9;color:#243c2a;border:1px solid #eff4d6;padding:13px 21px;border-radius:9px;box-shadow:0 8px 35px #071f2060;z-index:10;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100vw - 32px);width:max-content;text-align:center}#toast.show{opacity:1;transform:translate(-50%)}[hidden]{display:none!important}@keyframes roll{0%{transform:rotate(0) translateY(0)}20%{transform:rotate(-20deg) translateY(-15px)}40%{transform:rotate(20deg) translateY(-4px)}65%{transform:rotate(-12deg) translateY(-12px)}85%{transform:rotate(8deg) translateY(-3px)}to{transform:rotate(0) translateY(0)}}@keyframes pulse{50%{opacity:.3}}@media(min-width:1550px){main{padding-left:40px;padding-right:40px}.game-layout{gap:46px}.intro{padding-top:35px}.intro h1{font-size:49px}.right-column{padding-top:10px}.turn-card{padding:26px 25px 18px}.dice-tray{gap:17px;padding-top:28px;padding-bottom:24px}#history{height:177px}.table-note{margin-top:52px}}@media(max-width:1200px){.topbar{padding:0 3%;gap:25px}.brand{min-width:190px}nav{gap:25px}.local-badge{font-size:10px}main{padding-left:3%;padding-right:3%}.game-layout{grid-template-columns:minmax(170px,.72fr) minmax(340px,1.7fr) minmax(245px,1fr);gap:23px}.intro h1{font-size:35px}.intro-text{font-size:12px}.mode-card{padding:12px 8px;gap:8px}.mode-card strong{font-size:11px}.mode-icon{width:28px}.turn-card{padding:20px 17px 14px}.turn-card h2{font-size:22px}.dice-tray{gap:10px}.die{border-radius:10px}.mini-rules{margin-top:26px}.mini-rules>div{margin-bottom:17px}.table-note{margin-top:24px}.board-frame{padding:9px}.square .rank,.square .file{font-size:8px}}@media(max-width:1000px){.topbar{height:83px}.brand{min-width:160px}.local-badge{display:none}nav{margin-left:auto}.game-layout{grid-template-columns:minmax(360px,1.65fr) minmax(260px,1fr);gap:27px}.intro{grid-column:1/-1;padding-top:0;display:flex;align-items:center;gap:24px}.intro>.eyebrow,.intro>.mini-rules,.intro>.text-button,.intro>.table-note{display:none}.intro h1{font-size:30px;margin:0;white-space:nowrap;line-height:1.05}.intro h1 br{display:none}.intro h1 em{display:block;margin-top:4px}.intro-text{margin:0;max-width:210px;font-size:12px}.mode-card{margin-left:auto;max-width:225px}.table-heading{margin-bottom:20px}.right-column{padding-top:9px}main{padding-top:22px}footer{margin-top:25px}}@media(max-width:700px){.topbar{height:76px;padding:0 20px}.brand{min-width:0}.brand>span{font-size:20px}.brand>.piece{width:34px;height:42px}.brand small{font-size:7px;letter-spacing:3px}.topbar nav{gap:17px;font-size:11px}.topbar nav>.nav-active{display:none}.topbar nav>button:last-child{font-size:0;gap:0}.topbar nav>button:last-child>.icon{width:21px;height:21px}.game-layout{grid-template-columns:1fr;gap:20px}.intro{gap:15px;justify-content:space-between}.intro h1{font-size:28px;letter-spacing:-1px}.intro-text{display:none}.mode-card{width:auto;max-width:190px;margin-left:0;padding:10px;gap:8px}.mode-card .mode-icon{width:28px;height:30px}.mode-card strong{font-size:10px}.mode-card small{font-size:7px}.mode-card em{font-size:9px}.mode-card>.icon{display:none}main{padding:18px 20px 0;max-width:570px}.table-heading{margin-bottom:20px;font-size:8px;letter-spacing:1px}#saved-label{font-size:9px}.play-area{grid-row:2}.player-strip{min-height:51px;margin-bottom:9px}.avatar{width:38px;height:38px;border-radius:9px}.avatar>.icon{width:23px;height:23px}.player-identity{gap:10px}.player-identity strong{font-size:13px}.player-identity small{font-size:10px}.turn-badge{padding:5px 8px}.board-frame{padding:8px;border-radius:7px}.square .rank,.square .file{font-size:8px}.square .rank{top:4px;left:4px}.square .file{bottom:3px;right:4px}.board-toolbar{margin-top:7px;padding-top:6px}.right-column{padding-top:0;display:grid;grid-template-columns:1fr}.turn-card{padding:20px}.turn-card h2{font-size:25px;margin-top:8px}.turn-card h2+p{min-height:0}.dice-tray{padding:20px 0 18px;gap:20px;max-width:290px;margin:0 auto}.die{max-width:76px}.die-wrap small{font-size:11px}.primary-button{min-height:48px;font-size:14px}.dice-caption{font-size:10px;margin:11px 0 18px}.coach{padding-top:15px}.coach strong{font-size:12px}.coach p{font-size:11px}.hint-button{font-size:12px;padding:15px 0 2px}.history-card{margin-top:18px}#history{height:130px}.section-title h2{font-size:12px}.section-title>span{font-size:10px}.empty-history p{font-size:12px}.empty-history small{font-size:10px}.new-game{font-size:12px;min-height:45px}.board-toolbar .icon-button{width:42px;height:42px}footer{font-size:9px;flex-direction:column;align-items:center;gap:5px;margin-top:25px;padding-bottom:22px}.captured-pieces{max-width:100px}dialog{padding:28px 24px}.history-row{font-size:12px;padding:8px 15px}.notation{font-size:12px}.notation>.piece{width:20px}.square.playable:after{width:4px;height:4px;bottom:3px}}@media(max-width:380px){main{padding-left:12px;padding-right:12px}.topbar{padding:0 13px}.topbar nav{gap:12px}.intro h1{font-size:24px}.mode-card{padding:8px}.mode-card .mode-icon{display:none}.board-frame{padding:6px}.square{padding:7%}.turn-badge{font-size:9px}.player-identity strong{font-size:12px}.captured-pieces{max-width:65px}}@media(max-width:700px){.topbar{height:64px}.intro{display:none}.game-layout{gap:12px}.play-area{grid-row:auto}main{padding-top:14px}.table-heading{margin-bottom:10px}.player-strip{min-height:43px}.avatar{width:35px;height:35px}.board-toolbar{padding-top:4px;margin-top:4px}.board-toolbar .icon-button{height:36px}.board-toolbar>span{font-size:9px}#player{margin-top:8px}.turn-card{padding:15px 17px}#turn-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:17px}.turn-eyebrow{grid-column:1/-1}.turn-card h2{grid-column:1/-1;font-size:21px;margin:5px 0}.turn-card h2+p{grid-column:1/-1;font-size:10px;min-height:0}.dice-tray{grid-column:1;grid-row:4;gap:8px;padding:13px 0 0;max-width:180px;width:100%}.die{border-radius:8px;max-width:53px}.die-wrap small{font-size:9px;padding-top:8px}.turn-card .primary-button{grid-column:2;grid-row:4;align-self:center;min-height:44px;font-size:11px;padding:9px 7px;gap:5px}.turn-card .primary-button .icon{width:16px}.primary-button kbd{display:none}.dice-caption{grid-column:1;grid-row:5;font-size:8px;margin:6px 0 0}.coach{display:none}.hint-button{grid-column:2;grid-row:5;font-size:10px;padding:0;align-self:center}.hint-button .icon{width:12px}.history-card{margin-top:14px}#history{height:110px}.new-game{margin-top:12px}footer{margin-top:20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.header-tools{margin-left:auto;display:flex;align-items:center;gap:12px}.header-tools select{background:#223e31;border:1px solid #4d6944;border-radius:6px;color:var(--accent);height:38px;padding:0 10px;font:600 12px var(--font)}.topbar nav{gap:26px}.topbar nav>.nav-online{color:var(--accent)}.topbar .brand{min-width:190px}.online-strip{border:1px solid #73895366;background:#203e30;border-radius:9px;padding:12px 16px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.online-strip>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.online-strip strong{font-size:12px;font-weight:500}.online-strip code{font-size:13px;letter-spacing:2px;color:var(--accent);padding:4px 7px;border:1px solid #c2d78433;border-radius:4px}.online-strip button{font-size:11px;padding:8px;border-radius:5px;color:var(--accent)}.online-strip button:hover{background:#c2d78412}.online-strip button .icon{width:14px;height:14px}.online-strip button[data-action=leave]{color:var(--muted)}.you-label{display:inline!important;font-size:9px!important;color:var(--accent)!important}.player-identity{min-width:0}.player-identity>div{min-width:0}.player-identity strong{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-identity small{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.league-preview{display:flex;align-items:center;text-align:left;gap:12px;margin-top:35px;padding:18px 0;border-top:1px solid #ffffff13;width:100%;font-size:12px}.league-preview>.icon{color:var(--gold)}.league-preview small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.league-preview>.icon:last-child{margin-left:auto;width:15px}.resign-button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:12px;font-size:11px;color:#d4b0a0}.resign-button .icon{width:14px}.field-label{display:block;font-size:12px;color:var(--muted);margin:0 0 17px}.field-label>input,.field-label>select,.copy-link{display:block;width:100%;margin-top:7px;background:#112b23;border:1px solid #486344;border-radius:7px;padding:11px 12px;font:14px var(--font);color:var(--ink);min-height:44px}.field-label>input:focus,.field-label>select:focus,.copy-link:focus{outline:2px solid var(--accent);outline-offset:2px}.field-label>input::placeholder{color:#8d9c88}.field-label>select option{background:#19382e;color:var(--ink)}#room-code{text-transform:uppercase;letter-spacing:2px}.lobby-actions{display:flex;gap:10px}.lobby-actions>*{flex:1;min-width:0}.secondary-button{min-height:46px;border:1px solid var(--accent);color:var(--accent);border-radius:7px;padding:10px 12px;font-weight:600;font-size:13px}.secondary-button:hover{background:#c2d78412}.secondary-button:disabled{opacity:.5}.form-error{font-size:12px;color:#ecd48e;line-height:1.6;min-height:20px}.online-choice{margin-bottom:24px}.rank-tabs{display:flex;gap:5px;padding:5px;background:#102b23;border:1px solid var(--border);border-radius:8px;margin:20px 0}.rank-tabs>button{flex:1;padding:10px 5px;font-size:11px;border-radius:5px;color:var(--muted)}.rank-tabs>button.active{background:#34523b;color:var(--accent)}#rank-content{min-height:140px}.rating-note{font-size:11px;line-height:1.7;color:var(--muted)}.ranking-table{overflow:auto;max-height:340px;margin:20px -5px 0}.ranking-table table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.ranking-table th{font-size:10px;color:var(--muted);font-weight:500;white-space:nowrap;border-bottom:1px solid var(--border);padding:10px 8px}.ranking-table td{padding:13px 8px;border-bottom:1px solid #ffffff0b}.ranking-table td:first-child{color:var(--gold);font-weight:600}.ranking-table td:nth-child(2){max-width:160px;overflow-wrap:anywhere}.ranking-table td:nth-child(3){font-variant-numeric:tabular-nums;color:var(--accent);font-weight:600}.ranking-table td small{display:block;color:var(--muted);font-size:10px;margin-top:3px;font-weight:400}.ranking-table tr.mine{background:#c2d7840b}.empty-ranking{text-align:center;padding:25px 0;color:var(--muted);font-size:13px}.empty-ranking>.icon{display:block;margin:0 auto 14px;width:32px;height:32px;color:var(--gold)}.empty-ranking strong{display:block;font-weight:500;color:var(--ink)}.empty-ranking p{font-size:12px}.league-hero{display:flex;align-items:center;gap:14px;padding:20px;background:#c2d7840b;border:1px solid #c2d78433;border-radius:10px;margin:18px 0}.league-hero>.icon{color:var(--gold);width:30px;height:30px}.league-hero strong{font-family:var(--display);font-weight:400;font-size:26px}.league-hero>span{margin-left:auto;color:var(--accent);font-size:13px}.intro h1{white-space:normal}html[lang=en] .intro h1{font-size:clamp(30px,3vw,44px)}@media(max-width:1000px){.topbar .brand{min-width:130px}.topbar nav{gap:20px}.header-tools{gap:5px}.intro>.league-preview{display:none}.intro h1{white-space:nowrap}.online-strip{margin-bottom:16px}.player-identity strong{max-width:160px}}@media(max-width:700px){.topbar{height:auto;min-height:112px;padding:12px 20px 0;flex-wrap:wrap;gap:8px;justify-content:space-between}.topbar .brand{min-width:130px}.topbar nav{order:3;width:100%;height:42px;margin:0;justify-content:space-between;gap:10px}.topbar nav>button{font-size:11px!important;gap:5px!important}.topbar nav>button:last-child{font-size:11px!important}.topbar nav>button .icon{width:15px;height:15px}.topbar nav>button:last-child>.icon{width:15px;height:15px}.header-tools{margin-left:auto}.header-tools .icon-button{width:36px}.header-tools select{height:36px}.online-strip{padding:10px 12px;display:block}.online-strip>div{gap:8px}.online-strip>div+div{justify-content:space-between;margin-top:4px}.online-strip strong{font-size:11px}.online-strip code{font-size:11px;margin-left:auto}.online-strip button{font-size:10px;padding:7px 0}.player-identity strong{max-width:135px}.player-identity small{font-size:9px;max-width:170px}.turn-badge{max-width:106px;white-space:normal;font-size:9px;text-align:center}.rank-tabs>button{font-size:10px}.ranking-table th,.ranking-table td{padding-left:5px;padding-right:5px}.turn-card h2{font-size:19px}.lobby-actions{gap:8px}.table-heading,#saved-label{font-size:8px}.resign-button{min-height:44px}}.brand>span{font-family:var(--font);letter-spacing:-.7px;font-weight:750}.brand-light{font-weight:450}.intro h1{font-weight:650;letter-spacing:-1.7px;line-height:1.2;font-size:clamp(30px,2.8vw,43px)}.intro h1 em,.mini-rules>div>span,.table-note{font-style:normal}.mini-rules>div>span{font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}dialog h2{font-weight:650;letter-spacing:-1px;font-size:29px}.league-hero strong{font-weight:650}.play-area>.turn-card{margin-top:12px;padding:14px 18px;border-color:#587347;background:linear-gradient(145deg,#223e32,#19362c)}.play-area #turn-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 22px;align-items:center}.play-area .turn-eyebrow{grid-column:1/-1;font-size:9px;letter-spacing:1px}.play-area .turn-card h2{grid-column:1;font-size:19px;letter-spacing:-.4px;margin:0;font-weight:650}.play-area .turn-card h2+p{grid-column:2;grid-row:2;min-height:0;font-size:11px;text-align:right}.play-area .dice-tray{grid-column:1;grid-row:3;gap:13px;max-width:215px;width:100%;padding:10px 0 2px;margin:0}.play-area .die{max-width:56px;border-radius:10px}.play-area .die-wrap small{padding-top:8px;font-size:10px}.play-area .turn-card .primary-button{grid-column:2;grid-row:3;min-height:46px;font-size:12px}.play-area .dice-caption{grid-column:1;grid-row:4;margin:0;font-size:10px;line-height:1.5;text-align:center}.play-area .hint-button{grid-column:2;grid-row:4;padding:3px 0;font-size:11px;min-height:28px}.play-area .coach{display:none}.turn-indicator{display:flex;align-items:center;justify-content:center;gap:8px;min-height:34px;margin-bottom:8px;padding:6px 12px;border:1px solid #557262;border-radius:8px;color:#d3dfd0;background:#29463a;font-size:12px;font-weight:650;text-align:center;line-height:1.3;transition:background .2s,border-color .2s}.turn-indicator:empty{display:none}.turn-indicator>.icon{width:16px;height:16px}.turn-indicator strong{font-weight:750}.turn-indicator small{font-size:11px;font-weight:450}.is-my-turn .turn-indicator{background:#c2d784;color:#20341b;border-color:#dbeaa9;box-shadow:0 2px 10px #a5c76d1a}.is-my-turn .board-frame{border-color:#b3ce6c85}.turn-badge.active{font-weight:700;border-color:#b5d68175}.chat-toggle{position:relative}.chat-unread{position:absolute;top:2px;right:0;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--accent);color:#213820;font-size:10px;line-height:17px;font-weight:750;border:1px solid var(--bg)}.right-column>.history-card:first-child{margin-top:0}.moving-piece{position:fixed;z-index:12;pointer-events:none;will-change:transform}.moving-piece>.piece{width:100%;height:100%;filter:drop-shadow(0 5px 4px #071b2566)}.result-overlay{position:fixed;inset:0;margin:auto;isolation:isolate;overflow:hidden;text-align:center;width:min(430px,calc(100vw - 32px));padding:44px 30px 30px;border:1px solid #8ba964;border-radius:24px;background:radial-gradient(ellipse at 50% 10%,#34573b,#19382e 65%);box-shadow:0 30px 100px #04190ddd}.result-overlay[open]{animation:result-enter .4s cubic-bezier(.18,.8,.25,1) both}.result-overlay::backdrop{background:#071d17bd;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.result-close{position:absolute;top:8px;right:8px;width:44px;height:44px;z-index:2}.result-emblem{display:grid;place-items:center;width:94px;height:94px;margin:0 auto 25px;border-radius:50%;background:#c2d78416;border:1px solid #c2d78445;box-shadow:0 0 0 12px #c2d78405;color:var(--accent)}.result-emblem>.icon{width:48px;height:48px;stroke-width:1.4}.result-win .result-emblem{animation:trophy-arrive .7s cubic-bezier(.16,.8,.3,1.2) both;color:#ebd68b;border-color:#d3b47775;background:#d3b47716}.result-loss{border-color:#6e8d7e;background:radial-gradient(ellipse at 50% 10%,#33504b,#19382e 70%)}.result-loss .result-emblem{color:#b5cfc5;border-color:#9abbad55;background:#9abbad13}.result-draw .result-emblem{color:#d2e6c1}.result-overlay h2{font-family:var(--font);font-size:clamp(25px,5vw,34px);font-weight:750;letter-spacing:-1px;line-height:1.18;margin:0 0 13px;position:relative;text-wrap:balance}.result-overlay p{font-size:14px;color:#c2d1bd;line-height:1.65;margin:0 0 27px;position:relative;text-wrap:balance}.result-overlay .primary-button{position:relative;min-height:48px;font-size:14px}.result-particles{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:-1}.result-particles>i{position:absolute;left:var(--x);top:-15px;width:6px;height:11px;border-radius:2px;background:var(--color);animation:confetti-fall 2.5s var(--delay) cubic-bezier(.15,.65,.5,1) both}.result-particles>i:nth-child(3n){width:7px;height:7px;border-radius:50%}@keyframes result-enter{0%{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}@keyframes trophy-arrive{0%{opacity:0;transform:translateY(16px) scale(.7) rotate(-12deg)}to{opacity:1;transform:none}}@keyframes confetti-fall{0%{opacity:0;transform:translateY(-10px) rotate(0)}12%{opacity:.95}80%{opacity:.8}to{opacity:0;transform:translate(var(--drift),480px) rotate(var(--spin))}}@media(max-width:1000px){.intro h1{font-size:28px}.intro-text{font-size:12px}.play-area #turn-panel{column-gap:14px}.play-area .turn-card{padding:12px}.play-area .turn-card h2{font-size:17px}.play-area .dice-tray{gap:9px}.play-area .turn-card h2+p{font-size:10px}.play-area .turn-card .primary-button{font-size:11px;padding:8px}.play-area .primary-button kbd{display:none}}@media(min-width:701px)and (min-height:601px){.topbar{height:76px}main{padding-top:20px}.table-heading{margin-bottom:14px}.player-strip{min-height:42px;margin-bottom:6px}.avatar{width:36px;height:36px}.avatar>.piece{width:27px;height:27px}.avatar>.icon{width:22px;height:22px}#player{margin-top:6px}.turn-indicator{min-height:30px;margin-bottom:6px}.board-frame{width:min(100%,max(260px,calc(100svh - 500px)));margin-inline:auto;padding:8px}.play-area>.turn-card{margin-top:8px}.board-toolbar{margin-top:6px;padding-top:6px}}@media(max-width:700px){body{padding-bottom:env(safe-area-inset-bottom,0px)}.topbar{height:54px;min-height:54px;padding:0 12px;gap:8px;flex-wrap:nowrap;justify-content:flex-start}.topbar .brand{min-width:0;gap:5px;margin-right:auto}.brand>.piece{width:27px;height:32px}.brand>span{font-size:20px}.brand small{display:none}.topbar nav{order:0;width:auto;height:44px;margin:0;gap:0;justify-content:flex-start}.topbar nav>button{width:44px;height:44px;justify-content:center;border-radius:8px;padding:0}.topbar nav>button>span{display:none}.topbar nav>button .icon{width:21px;height:21px}.topbar nav>button[data-action=rules]{display:none}.header-tools{margin:0;gap:0}.header-tools .icon-button{width:44px;height:44px}.header-tools select{width:48px;height:36px;padding:0 5px;font-size:12px;border-color:#48614b}main{padding:7px 12px 0;max-width:570px}.table-heading{height:17px;margin-bottom:4px;letter-spacing:.8px;align-items:center}.table-heading>span{font-size:9px}#saved-label{font-size:9px}.intro{display:none}.game-layout{display:block}.play-area{width:100%;margin:0 auto}.player-strip{min-height:34px;height:34px;margin:0 0 4px;gap:5px}.player-identity{gap:7px;min-width:0}.avatar{width:30px;height:30px;border-radius:8px;flex-shrink:0}.avatar>.piece{width:24px;height:24px}.avatar>.icon{width:20px;height:20px}.player-identity strong{font-size:12px;max-width:150px;line-height:1.3}.player-identity small{font-size:10px;margin-top:1px;line-height:1.2;max-width:170px}.player-right{gap:5px}.turn-badge{padding:4px 6px;font-size:10px;max-width:110px;line-height:1.2}.captured-pieces{max-width:70px}.captured-pieces>.piece{width:12px;height:14px}.turn-indicator{min-height:27px;margin-bottom:5px;padding:4px 8px;font-size:12px;border-radius:6px}.turn-indicator small{font-size:10px}.board-frame{width:min(100%,calc(100svh - 352px));margin-inline:auto;padding:5px;border-radius:7px;box-shadow:0 8px 24px #081c232e}.square .rank,.square .file{font-size:8px}.square .rank{top:3px;left:3px}.square .file{right:3px;bottom:3px}.square.playable:after{width:4px;height:4px;bottom:2px}#player{margin:4px 0 0;height:34px;min-height:34px}.play-area>.turn-card{margin-top:5px;padding:9px 11px 7px;border-radius:11px}.play-area #turn-panel{grid-template-columns:minmax(130px,1.08fr) minmax(115px,1fr);gap:3px 13px}.play-area .turn-eyebrow{display:none}.play-area .turn-card h2{grid-column:1/-1;grid-row:1;margin:0;font-size:14px;line-height:18px;font-weight:650;letter-spacing:-.2px;gap:7px}.play-area .turn-card h2+p{display:none}.live-dot{width:6px;height:6px}.play-area .dice-tray{grid-column:1;grid-row:2;max-width:200px;gap:10px;padding:5px 0 0;margin:0 auto}.play-area .die{max-width:47px;border-radius:8px;box-shadow:0 3px #b3b59a,0 5px 7px #061e2b44}.play-area .die-wrap small{font-size:10px;padding-top:4px;line-height:13px}.die-check{width:18px;height:18px;bottom:-4px;right:-4px}.die-check .icon{width:11px;height:11px}.play-area .turn-card .primary-button{grid-column:2;grid-row:2;align-self:center;min-height:44px;font-size:12px;line-height:1.3;padding:7px;gap:5px;border-radius:7px}.play-area .turn-card .primary-button>.icon{width:16px;height:16px;flex-shrink:0}.play-area .dice-caption{grid-column:1;grid-row:3;font-size:10px;line-height:16px;margin:0;white-space:nowrap}.play-area .hint-button{grid-column:2;grid-row:3;min-height:24px;font-size:11px;padding:2px 0;line-height:16px}.play-area .hint-button .icon{width:13px;height:13px}.board-toolbar{margin-top:3px;padding-top:0;min-height:44px;gap:3px;border-top:0}.board-toolbar>span{font-size:9px;line-height:1.3;max-width:140px;gap:4px}.board-toolbar>span>.icon{width:12px;height:12px;flex-shrink:0}.board-toolbar>div{gap:0}.board-toolbar .icon-button{width:40px;height:44px}.board-toolbar .icon-button>.icon{width:19px;height:19px}.online-strip{margin-bottom:6px;padding:7px 9px;border-radius:7px;font-size:10px}.online-strip>div{gap:5px}.online-strip>div+div{margin-top:2px}.online-strip button{font-size:10px;padding:4px}.online-strip strong,.online-strip code{font-size:11px}.online-strip:not([hidden])~.game-layout .board-frame{width:min(100%,calc(100svh - 430px))}.right-column{margin-top:9px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:9px}.right-column>.history-card{grid-column:1/-1;margin-top:0}.right-column>.new-game,.right-column>.resign-button{margin:0;min-height:44px}.right-column:has(>.resign-button[hidden])>.new-game{grid-column:1/-1}.right-column>section:not(.history-card){grid-column:1/-1}.right-column .history-card #history{height:104px}footer{margin-top:14px;padding:14px 0;font-size:9px}.result-overlay{padding:40px 24px 25px}.result-emblem{width:80px;height:80px;margin-bottom:23px}.result-emblem>.icon{width:42px;height:42px}}@media(max-width:350px){.topbar{padding-inline:8px;gap:2px}.brand>span{font-size:18px}.brand>.piece{width:24px}.topbar nav>button{width:40px}.header-tools .icon-button{width:40px}.header-tools select{width:43px}main{padding-inline:8px}.play-area #turn-panel{column-gap:9px}.play-area .turn-card .primary-button{font-size:11px}.board-toolbar .icon-button{width:36px}.board-toolbar>span{font-size:8px}.player-identity strong{max-width:110px}}@media(max-width:700px)and (max-height:700px){.topbar{height:48px;min-height:48px}main{padding-top:4px}.table-heading{display:none}.online-strip,.online-strip.ranked-strip{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;min-height:31px;padding:3px 8px;margin-bottom:4px;gap:5px}.online-strip>div{flex-wrap:nowrap;min-width:0}.online-strip>div+div,.online-strip.ranked-strip>div+div{margin-top:0;flex-shrink:0}.online-strip strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.online-strip button{white-space:nowrap;font-size:10px;padding:4px 0}.online-strip code{font-size:10px;letter-spacing:.5px}.online-strip button[data-action=copy]{font-size:0}.online-strip button[data-action=copy]>.icon{width:18px;height:18px}.player-strip,#player{min-height:32px;height:32px}.avatar{width:28px;height:28px}.player-identity small{font-size:9px}.turn-indicator{min-height:25px;padding:3px 6px;margin-bottom:4px;font-size:11px}.turn-indicator>span:last-child{font-size:10px}.board-frame{width:min(100%,max(280px,calc(100svh - 248px)));padding:4px}.online-strip:not([hidden])~.game-layout .board-frame{width:min(100%,max(280px,calc(100svh - 292px)))}.play-area>.turn-card{padding:7px 10px 6px;margin-top:4px}.play-area #turn-panel{row-gap:0}.play-area .turn-card h2,.play-area .dice-caption,.play-area .hint-button{display:none}.play-area .dice-tray{padding-top:0;padding-bottom:0}.play-area .die{max-width:43px}.play-area .die-wrap small{padding-top:4px;font-size:10px;line-height:12px}.play-area .turn-card .primary-button{min-height:44px}}@media(min-width:701px)and (max-height:600px){.topbar{height:58px}.intro,.table-heading{display:none}main{padding-top:10px}.game-layout{display:block}.play-area{max-width:850px;margin:auto;display:grid;grid-template-columns:minmax(200px,calc(100svh - 175px)) minmax(230px,1fr);column-gap:20px;justify-content:center}.play-area #opponent,.play-area #player,.play-area .board-frame,.play-area .turn-indicator{grid-column:1}.play-area .player-strip{min-height:34px;height:34px;margin:0}.play-area .avatar{width:30px;height:30px}.play-area .turn-indicator{margin:4px 0;min-height:25px}.play-area .board-frame{padding:5px}.play-area>.turn-card{grid-column:2;grid-row:2/5;align-self:center;margin:0}.play-area .board-toolbar{grid-column:2;grid-row:5;margin:0}.play-area .turn-card h2{font-size:17px}.play-area .turn-card h2+p{display:none}.right-column{max-width:850px;margin:14px auto 0}.right-column .history-card{display:none}.right-column>.new-game{max-width:220px;margin-left:auto}footer{display:none}}@media(prefers-reduced-motion:reduce){.moving-piece,.result-particles{display:none!important}.result-overlay,.result-emblem{animation:none!important}}.game-clock{display:grid;place-items:center;min-width:72px;border:1px solid #61745d;background:#152b24;border-radius:7px;padding:7px 10px;color:#c9d2b9;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:23px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.1}.game-clock.active{background:var(--accent);color:#253422;border-color:var(--accent);box-shadow:0 0 0 3px #c2d78412}.game-clock.low{background:#6c302c;color:#ffe2cd;border-color:#c77f62}.game-clock.paused{opacity:.7}.online-strip.ranked-strip code{display:none}.online-strip.ranked-strip{border-color:#b5ce713e}.queue-panel{text-align:center;padding:18px 0}.queue-spinner{width:38px;height:38px;border:3px solid #78916b44;border-top-color:var(--accent);border-radius:50%;animation:queue-spin 1s linear infinite;margin:12px auto 20px}.queue-panel strong{display:block;font-size:19px;margin-bottom:10px}.queue-time{color:var(--accent);font-variant-numeric:tabular-nums;font-size:24px}.queue-panel p{font-size:12px;line-height:1.7;color:var(--muted)}.match-choice{display:block;width:100%;border:1px solid #789559;border-radius:10px;padding:16px;margin:10px 0 18px;background:#c2d7840c;text-align:left}.match-choice strong{display:flex;gap:9px;align-items:center;font-size:16px;color:var(--accent)}.match-choice small{display:block;color:var(--muted);font-size:12px;line-height:1.6;margin-top:8px}.ranked-controls{margin:18px 0 22px;padding:17px;border:1px solid #607846;border-radius:9px;background:#c2d78409}.ranked-controls legend{margin-bottom:10px;color:var(--accent);font-weight:600}.ranked-controls .field-label{margin-bottom:12px}.lobby-divider{display:flex;align-items:center;gap:12px;margin:22px 0;color:var(--muted);font-size:11px}.lobby-divider:before,.lobby-divider:after{content:"";height:1px;flex:1;background:#ffffff18}.chat-log{height:38dvh;min-height:160px;max-height:350px;overflow-y:auto;padding:12px 2px;scrollbar-width:thin;scrollbar-color:#557449 transparent}.chat-message{margin:0 0 12px;display:flex;flex-direction:column;align-items:flex-start}.chat-message.mine{align-items:flex-end}.chat-message strong{font-size:10px;font-weight:500;color:var(--muted);margin:0 5px 4px}.chat-message p{margin:0;padding:10px 13px;background:#294a3a;border-radius:12px 12px 12px 3px;max-width:90%;overflow-wrap:anywhere;white-space:pre-wrap;font-size:13px;line-height:1.55}.chat-message.mine p{background:#425935;color:#edf1de;border-radius:12px 12px 3px}.chat-message time{font-size:9px;color:#97ae89;margin:4px 6px 0}.chat-compose{display:flex;gap:8px;padding-top:10px;border-top:1px solid var(--border)}.chat-compose input{flex:1;min-width:0;background:#112b23;border:1px solid #486344;border-radius:7px;padding:12px;font:14px var(--font);color:var(--ink)}.chat-compose .primary-button{width:auto;min-width:68px;font-size:12px}.chat-tools{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted)}.chat-tools button{padding:8px;color:var(--accent)}.chat-empty{text-align:center;color:var(--muted);font-size:12px;padding:35px 0}.chat-disabled{font-size:12px;color:var(--muted);margin:12px 0}.recovery-copy{margin-top:12px;width:100%}#recovery-code{font-family:monospace;font-size:12px;letter-spacing:.5px}.account-name{font-size:14px;color:var(--accent)}.auth-tabs{margin-top:15px}.clock-note{font-size:10px;color:var(--muted)}.result-overlay-open{overflow:hidden}.queue-status-inline{font-size:11px;color:var(--accent)}@keyframes queue-spin{to{transform:rotate(360deg)}}@media(max-width:700px){.game-clock{min-width:61px;font-size:19px;padding:6px 8px}.player-right{gap:6px}.player-right:has(.game-clock) .turn-badge{display:none}.player-right:has(.game-clock) .captured-pieces{max-width:70px}.player-identity strong{max-width:140px}.ranked-controls{padding:13px}.chat-log{height:40dvh}.chat-compose input{font-size:16px}.online-strip.ranked-strip{padding:7px 10px}.online-strip.ranked-strip button{font-size:10px}.online-strip.ranked-strip>div+div{margin-top:0}.queue-panel strong{font-size:17px}.clock-note{font-size:9px}.board-toolbar>span{display:none}.board-toolbar>div{width:100%;justify-content:flex-end}}@media(prefers-reduced-motion:reduce){.queue-spinner{animation:none}}@media(max-width:700px){.header-tools select{width:50px;min-width:50px;padding:0 4px;font-size:11px}}.landing-page{min-height:100svh;background:radial-gradient(ellipse at 76% 36%,#294b39 0,transparent 43%),#142e28;color:var(--ink);font-family:var(--font)}.landing-header{max-width:1320px;height:104px;padding:0 48px;margin:auto;display:flex;align-items:center;gap:36px}.landing-header .brand{min-width:0;margin-right:auto;gap:10px}.landing-header .brand>span{font-size:26px;letter-spacing:-.6px}.landing-header .brand small{font-size:8px;letter-spacing:3px;margin-top:5px}.landing-header .brand>.piece{width:40px;height:46px}.landing-header nav{height:auto;display:flex;gap:30px;font-size:13px}.landing-header nav>button{height:44px;display:flex;gap:8px;align-items:center;color:#c0cebb}.landing-header nav>button:hover{color:var(--accent)}.landing-header nav .icon{width:17px;height:17px}.landing-header select{height:40px;border:1px solid #69836566;background:#203d32;color:var(--ink);border-radius:8px;padding:0 9px;font:600 12px var(--font)}.landing-page .landing-main{max-width:1320px;padding:0 48px;margin:auto}.landing-hero{display:grid;grid-template-columns:1fr 1.08fr;align-items:center;min-height:610px;gap:30px;padding:30px 0 55px}.landing-copy{position:relative;z-index:1;padding-bottom:15px}.landing-eyebrow{display:flex;align-items:center;gap:9px;color:#bace9f;font-size:11px;font-weight:650;letter-spacing:2px;margin-bottom:27px}.landing-eyebrow .icon{width:18px;height:18px}.landing-copy h1{font-family:var(--font);font-size:clamp(48px,5.15vw,72px);font-weight:750;letter-spacing:-3.5px;line-height:1.1;margin:0 0 24px;text-wrap:balance}.landing-copy h1 span{color:var(--accent)}.landing-description{font-size:17px;line-height:1.8;color:#b3c4b1;max-width:390px;margin:0 0 32px;text-wrap:pretty}.landing-play{display:inline-flex;align-items:center;justify-content:space-between;gap:35px;min-height:58px;padding:16px 24px;border-radius:10px;border:1px solid #deebb6;background:#c2d784;color:#20341f;font-size:16px;font-weight:750;box-shadow:0 4px #829951,0 12px 32px #0b211b30;transition:background .18s,box-shadow .18s,transform .18s}.landing-play .icon{width:23px;height:23px}.landing-play:hover{background:#d0e59b;box-shadow:0 4px #91aa5b,0 12px 32px #0b211b50;transform:translateY(-2px)}.landing-play:not(:disabled):active{transform:translateY(2px);box-shadow:0 1px #829951}.landing-play-note{font-size:12px;color:#9eb39e;margin:18px 0 0;line-height:1.7}.landing-scene{position:relative;aspect-ratio:1.04;width:100%;max-width:590px;justify-self:end;perspective:1100px;isolation:isolate}.landing-orbit{position:absolute;inset:8% 3% 5%;border:1px solid #bbd49812;border-radius:50%;transform:rotate(-14deg)}.landing-orbit:after{content:"";position:absolute;inset:11%;border:1px solid #bbd4980d;border-radius:50%}.landing-board-edge{position:absolute;inset:11% 4% 11% 8%;padding:13px;background:#38523d;border:1px solid #78966580;border-radius:14px;transform:rotateX(17deg) rotate(-12deg);box-shadow:-2px 10px #213b2c,-4px 17px #142c22,0 40px 55px #071d1b80}.landing-preview-board{display:grid;grid-template-columns:repeat(8,1fr);height:100%;width:100%;border:1px solid #182f23;border-radius:4px;overflow:hidden;background:#e5e4cd}.landing-tile{position:relative;background:#e5e4cd;display:grid;place-items:center;min-width:0;min-height:0}.landing-tile-dark{background:#789282}.landing-tile-path{background:#bccd89}.landing-tile-path.landing-tile-dark{background:#9bb56f}.landing-tile>.piece{width:81%;height:81%;filter:drop-shadow(1px 4px 1px #20362460)}.landing-move-dot{width:17%;height:17%;border-radius:50%;background:#3b5f4270}.landing-dice{position:absolute;left:0;right:0;top:2%;display:flex;justify-content:center;gap:17px;z-index:2;transform:rotate(-6deg)}.landing-die{display:grid;place-items:center;width:78px;height:78px;border-radius:15px;background:linear-gradient(140deg,#fffceb,#e2dfc4);border:1px solid #fffbec;box-shadow:0 6px #a4ac87,0 12px 16px #0a241b66}.landing-die>.piece{width:75%;height:75%;filter:none}.landing-die-0{transform:translateY(10px) rotate(-12deg)}.landing-die-1{transform:translateY(-6px) rotate(7deg)}.landing-die-2{transform:translateY(11px) rotate(16deg)}.landing-scene-label{position:absolute;bottom:0;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;white-space:nowrap;color:#bbcca8;font-size:11px;letter-spacing:.3px}.landing-scene-label>.icon{width:16px;height:16px}.landing-how{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;padding:30px 0 34px;border-top:1px solid #9db18b26}.landing-how>div{display:flex;align-items:flex-start;gap:14px}.landing-step-icon{width:42px;height:42px;border-radius:11px;background:#b7cf8210;border:1px solid #b7cf8224;display:grid;place-items:center;flex-shrink:0;color:#c2d784}.landing-step-icon>.icon{width:22px;height:22px}.landing-step-icon>.piece{width:29px;height:29px;filter:none}.landing-step-icon>.piece g{fill:#c2d784;stroke:#c2d784;stroke-width:.5}.landing-how p{margin:0}.landing-how strong{display:block;font-size:14px;font-weight:650;margin-bottom:5px}.landing-how p>span{display:block;font-size:12px;color:#a7bca3;line-height:1.8;max-width:235px}.landing-page .landing-footer{margin:0;padding:22px 0 26px;border-top:1px solid #9db18b17;color:#91a78d;font-size:11px;display:flex;justify-content:space-between;gap:20px}@media(min-width:1600px){.landing-header,.landing-page .landing-main{max-width:1420px}.landing-hero{min-height:690px}.landing-copy h1{font-size:80px}.landing-scene{max-width:620px}.landing-description{font-size:18px}}@media(max-width:1000px){.landing-header{padding:0 28px;height:84px}.landing-page .landing-main{padding:0 28px}.landing-hero{min-height:520px;gap:15px}.landing-copy h1{font-size:50px;letter-spacing:-2.3px}.landing-description{font-size:15px;line-height:1.7;max-width:330px}.landing-eyebrow{font-size:10px;letter-spacing:1.5px}.landing-play{font-size:14px;min-height:54px;gap:24px}.landing-die{width:59px;height:59px;border-radius:12px}.landing-dice{gap:14px}.landing-board-edge{padding:9px}.landing-how{gap:20px}.landing-how>div{gap:10px}.landing-how p>span{font-size:11px}.landing-scene-label{font-size:10px}}@media(max-width:700px){.landing-header{height:76px;padding:0 22px;gap:16px}.landing-header .brand>span{font-size:23px}.landing-header .brand>.piece{width:33px;height:39px}.landing-header .brand small{display:block;font-size:7px;letter-spacing:2.6px}.landing-header nav{gap:0}.landing-header nav>button[data-action=rankings]{display:none}.landing-header nav>button{font-size:11px;height:44px}.landing-header select{width:47px;height:36px;font-size:11px;padding:0 4px}.landing-page .landing-main{padding:0 25px;max-width:540px}.landing-hero{display:flex;flex-direction:column;min-height:0;padding:37px 0 29px;gap:28px;text-align:center}.landing-copy{padding:0;width:100%}.landing-eyebrow{justify-content:center;font-size:9px;letter-spacing:1.9px;margin-bottom:19px}.landing-eyebrow .icon{width:16px;height:16px}.landing-copy h1{font-size:clamp(40px,11.5vw,57px);line-height:1.08;letter-spacing:-2.3px;margin-bottom:20px}.landing-description{font-size:14px;line-height:1.75;max-width:310px;margin:0 auto 24px}.landing-play{min-height:54px;width:100%;max-width:310px;padding:14px 22px;font-size:15px;justify-content:center;gap:25px}.landing-play-note{font-size:10px;margin-top:15px}.landing-scene{width:92%;max-width:365px;align-self:center;aspect-ratio:1.1;margin-top:11px;flex-shrink:0}.landing-die{width:57px;height:57px;border-radius:11px}.landing-dice{gap:13px}.landing-board-edge{padding:8px;box-shadow:-2px 7px #213b2c,-3px 12px #142c22,0 24px 36px #071d1b70}.landing-scene-label{font-size:10px}.landing-how{grid-template-columns:1fr;padding:25px 4px 28px;gap:20px;text-align:left}.landing-how>div{gap:15px}.landing-how strong{font-size:13px;margin-bottom:2px}.landing-how p>span{max-width:none;font-size:12px}.landing-step-icon{width:39px;height:39px}.landing-page .landing-footer{font-size:10px;padding:20px 0;flex-direction:column;align-items:center;gap:5px}}@media(max-width:360px){.landing-header{padding:0 14px;gap:10px}.landing-header .brand>span{font-size:21px}.landing-header .brand>.piece{width:28px}.landing-header nav>button{font-size:10px}.landing-page .landing-main{padding:0 20px}.landing-hero{padding-top:25px}.landing-copy h1{font-size:40px}.landing-description{font-size:13px}.landing-play-note{font-size:9px}.landing-die{width:49px;height:49px}.landing-scene{margin-top:4px}}@media(prefers-reduced-motion:reduce){.landing-play{transition:none}}.mode-menu{min-height:100svh;background:radial-gradient(ellipse at 50% 28%,#28483670,transparent 65%),#142e28;font-family:var(--font)}.menu-header{height:94px;max-width:1240px;padding:0 42px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.menu-header .brand{min-width:0}.menu-header .brand>span{font-size:25px}.menu-header .brand>.piece{width:38px;height:43px}.menu-header-actions{display:flex;gap:12px;align-items:center}.menu-header-actions .icon-button{width:44px;height:44px}.menu-header-actions select{height:38px;width:53px;border:1px solid #54704c;background:#203d32;color:var(--ink);border-radius:8px;padding:0 7px;font:600 12px var(--font)}.mode-menu .mode-menu-main{max-width:1040px;padding:65px 42px 28px;margin:0 auto}.menu-welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:35px}.menu-welcome p{font-size:14px;color:#b1c5a9;margin:0 0 10px;overflow-wrap:anywhere}.menu-welcome h1{font-family:var(--font);font-size:39px;font-weight:700;line-height:1.18;letter-spacing:-1.5px;margin:0;text-wrap:balance}.menu-account-badge{display:flex;align-items:center;gap:7px;padding:10px 13px;border:1px solid #91ac6c35;background:#c2d78408;border-radius:8px;font-size:11px;color:#b3c5a7;flex-shrink:0}.menu-account-badge>.icon{width:16px;height:16px;color:#d3b477}.menu-account-badge strong{font-size:15px;font-weight:750;color:#d6e2bc;font-variant-numeric:tabular-nums}.menu-modes{display:grid;grid-template-columns:1fr 1fr;gap:24px}.menu-mode-card{position:relative;text-align:left;display:flex;flex-direction:column;align-items:flex-start;padding:32px 30px 0;border:1px solid #67835b8c;border-radius:18px;background:linear-gradient(145deg,#2b4738,#1d392f);overflow:hidden;min-height:330px;transition:transform .18s,border-color .18s,background .18s,box-shadow .18s}.menu-mode-card:hover{border-color:#c2d784a3;background:linear-gradient(145deg,#34513e,#234033);transform:translateY(-3px);box-shadow:0 12px 28px #0b211e40}.menu-online{border-color:#9bb46e85;background:linear-gradient(145deg,#354a34,#213b2f)}.menu-online:hover{background:linear-gradient(145deg,#40573b,#284433)}.menu-card-art{position:relative;display:block;width:110px;height:95px;margin:0 0 22px}.menu-art-tile{position:absolute;top:0;left:0;width:76px;height:76px;background:#dae0c2;display:grid;place-items:center;border-radius:13px;transform:rotate(-8deg);box-shadow:0 5px #92a080,0 10px 18px #112c2444}.menu-art-tile>.piece{width:58px;height:58px;filter:drop-shadow(0 3px 1px #4d65414f)}.menu-art-badge{position:absolute;right:4px;bottom:6px;width:46px;height:46px;display:grid;place-items:center;border-radius:13px;border:1px solid #9ab878;background:#37533d;color:#c2d784;box-shadow:0 4px 12px #142b2640}.menu-art-badge>.icon{width:28px;height:28px}.menu-art-opponent{position:absolute;right:0;bottom:5px;width:65px;height:65px;background:#9db293;display:grid;place-items:center;transform:rotate(9deg);border-radius:12px;border:1px solid #bdd0a8;box-shadow:0 4px #708566,0 8px 12px #112c2440}.menu-art-opponent>.piece{width:48px;height:48px}.menu-mode-text{display:block;width:100%;margin-bottom:26px}.menu-mode-text>strong{display:block;font-size:26px;font-weight:700;letter-spacing:-.6px;line-height:1.2;margin-bottom:12px}.menu-mode-text>span{display:block;max-width:340px;color:#b5c8ad;font-size:13px;line-height:1.8;text-wrap:pretty}.menu-card-action{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #adc48726;width:100%;margin-top:auto;padding:19px 0;color:#d0e3a2;font-size:12px;font-weight:650}.menu-card-action>.icon{width:20px;height:20px}.menu-bottom{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:24px}.menu-local{display:flex;align-items:center;text-align:left;gap:13px;border:1px solid #56704a70;border-radius:11px;padding:15px 17px;min-width:310px;min-height:70px;background:#203c301f}.menu-local:hover{background:#294634;border-color:#789660}.menu-local>.icon:first-child{color:#b5ce94;width:25px;height:25px}.menu-local>span{flex:1}.menu-local strong{display:block;font-size:13px;font-weight:600}.menu-local small{display:block;font-size:11px;color:#9db395;margin-top:3px}.menu-local>.icon:last-child{width:17px;color:#a2bb87}.menu-help{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px;color:#b2c49d;padding:8px}.menu-help:hover{color:#d2e4ae}.menu-help>.icon{width:17px;height:17px}.menu-signoff{font-size:11px;color:#91a789;text-align:center;letter-spacing:.15px;margin:42px 0 0}@media(max-width:1000px){.mode-menu .mode-menu-main{padding-top:40px}.menu-welcome h1{font-size:33px}.menu-mode-card{padding:26px 24px 0}.menu-mode-text>strong{font-size:23px}.menu-header{height:82px}}@media(max-width:700px){.menu-header{height:72px;padding:0 20px;gap:12px}.menu-header .brand{gap:7px}.menu-header .brand>span{font-size:22px}.menu-header .brand>.piece{width:31px;height:37px}.menu-header .brand small{display:block;font-size:7px;letter-spacing:2.5px}.menu-header-actions{gap:2px}.menu-header-actions .icon-button{width:40px;height:44px}.menu-header-actions select{width:45px;height:35px;padding:0 4px;font-size:11px}.mode-menu .mode-menu-main{max-width:520px;padding:25px 21px 24px}.menu-welcome{align-items:flex-start;flex-direction:column;gap:15px;margin-bottom:25px}.menu-welcome p{font-size:12px;margin-bottom:8px}.menu-welcome h1{font-size:29px;letter-spacing:-1px;max-width:330px}.menu-account-badge{padding:7px 10px;font-size:10px}.menu-account-badge strong{font-size:13px}.menu-account-badge>.icon{width:14px;height:14px}.menu-modes{grid-template-columns:1fr;gap:15px}.menu-mode-card{min-height:0;display:grid;grid-template-columns:73px 1fr;column-gap:16px;padding:22px 20px 0;border-radius:14px;align-items:center}.menu-card-art{width:73px;height:78px;margin:0 0 15px}.menu-art-tile{width:57px;height:57px;border-radius:10px}.menu-art-tile>.piece{width:44px;height:44px}.menu-art-badge{width:35px;height:35px;border-radius:10px;right:-3px;bottom:3px}.menu-art-badge>.icon{width:22px;height:22px}.menu-art-opponent{width:47px;height:47px;right:-5px;bottom:7px;border-radius:9px}.menu-art-opponent>.piece{width:36px;height:36px}.menu-mode-text{margin-bottom:17px}.menu-mode-text>strong{font-size:21px;line-height:1.2;letter-spacing:-.5px;margin-bottom:8px}.menu-mode-text>span{font-size:11px;line-height:1.7}.menu-card-action{grid-column:1/-1;font-size:11px;padding:14px 0}.menu-card-action>.icon{width:18px;height:18px}.menu-bottom{margin-top:17px;flex-direction:column;gap:10px;align-items:stretch}.menu-local{min-width:0;width:100%;min-height:65px;padding:12px 16px}.menu-help{align-self:center}.menu-signoff{margin:18px 0 0;font-size:10px}}@media(max-width:360px){.menu-header{padding-inline:14px}.menu-header .brand>span{font-size:20px}.menu-header .brand>.piece{width:27px}.menu-header-actions .icon-button{width:36px}.mode-menu .mode-menu-main{padding:20px 16px}.menu-welcome h1{font-size:27px}.menu-mode-card{padding:18px 15px 0;grid-template-columns:62px 1fr;gap:0 12px}.menu-card-art{width:62px}.menu-mode-text>strong{font-size:19px}.menu-mode-text>span{font-size:11px}.menu-art-tile{width:50px;height:54px}.menu-art-tile>.piece{width:40px;height:42px}.menu-art-badge{right:-2px;width:32px;height:32px}.menu-art-opponent{right:-5px;width:41px;height:44px}.menu-art-opponent>.piece{width:33px;height:35px}}@media(prefers-reduced-motion:reduce){.menu-mode-card{transition:none}}.mode-menu .menu-mode-tag{display:inline-flex;border:1px solid #bad28e3d;background:#c2d7840b;color:#ccdda9;border-radius:5px;padding:3px 7px;font-size:9px;font-weight:600;line-height:1.4;margin-bottom:9px;letter-spacing:.2px}.menu-utilities{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:20px}.menu-utility{display:flex;align-items:center;gap:15px;text-align:left;padding:21px;border:1px solid #59734f7a;border-radius:13px;background:#1c372c;min-width:0;min-height:94px;transition:background .18s,border-color .18s}.menu-utility:hover{background:#294632;border-color:#99b476}.menu-utility-art{display:grid;place-items:center;flex-shrink:0;width:45px;height:45px;border-radius:11px;border:1px solid #d3b47729;background:#d3b4770b;color:#dbc288}.menu-utility-art>.icon{width:25px;height:25px}.menu-store .menu-utility-art{color:#bdcfa4;border-color:#b5cf9029;background:#b5cf900c}.menu-utility>span:nth-child(2){flex:1;min-width:0}.menu-utility strong{display:block;font-size:16px;font-weight:650;margin-bottom:4px;letter-spacing:-.2px}.menu-utility small{display:block;color:#9eb594;font-size:11px;line-height:1.5}.menu-utility>.icon{color:#a4bc8c;width:17px;height:17px;flex-shrink:0}@media(max-width:700px){.menu-utilities{gap:13px;margin-top:15px}.menu-utility{display:grid;grid-template-columns:1fr auto;align-items:start;gap:10px;padding:15px 14px;min-height:138px;border-radius:12px}.menu-utility-art{width:34px;height:34px;border-radius:9px;grid-column:1;grid-row:1}.menu-utility-art>.icon{width:21px;height:21px}.menu-utility>span:nth-child(2){grid-column:1/-1;grid-row:2}.menu-utility>.icon{grid-column:2;grid-row:1;align-self:center;width:15px;height:15px}.menu-utility strong{font-size:15px;margin-bottom:4px}.menu-utility small{font-size:10px}.mode-menu .menu-mode-tag{font-size:8px;margin-bottom:6px;padding:2px 5px}.menu-online .menu-card-art{align-self:center}}@media(max-width:360px){.menu-utilities{gap:11px}.menu-utility{padding:13px 12px}.menu-utility strong{font-size:14px}.menu-utility small{font-size:10px}}.mode-menu{background:radial-gradient(ellipse at 15% 32%,#b17f2320,transparent 38%),radial-gradient(ellipse at 88% 45%,#3eafa71b,transparent 42%),#122c27}.mode-menu .mode-menu-main{max-width:1080px;padding-top:35px}.menu-welcome{margin-bottom:25px}.menu-welcome h1{font-size:35px;letter-spacing:-1.2px}.menu-modes,.menu-utilities{gap:20px}.menu-mode-card{--card-accent:#f1c17b;--card-top:#51402b;--card-bottom:#302e25;position:relative;display:grid;grid-template-columns:180px minmax(0,1fr);grid-template-rows:1fr auto;gap:0 20px;min-height:266px;padding:24px 24px 0;border:1px solid #bd965a88;border-radius:20px;background:radial-gradient(ellipse at 25% 20%,#e2ac5130,transparent 65%),linear-gradient(145deg,var(--card-top),var(--card-bottom));box-shadow:inset 0 1px #ffffff0c,0 8px 20px #071f1a25;color:#fff3df;overflow:hidden}.menu-mode-card:hover{background:radial-gradient(ellipse at 25% 20%,#e2ac5140,transparent 65%),linear-gradient(145deg,var(--card-top),var(--card-bottom));border-color:var(--card-accent);box-shadow:0 10px 25px #071f1a50}.menu-online{--card-accent:#8de1db;--card-top:#205152;--card-bottom:#193c39;border-color:#65bdb38c;background:radial-gradient(ellipse at 25% 20%,#70d1d42b,transparent 65%),linear-gradient(145deg,var(--card-top),var(--card-bottom));color:#e9fffb}.menu-online:hover{background:radial-gradient(ellipse at 25% 20%,#70d1d43d,transparent 65%),linear-gradient(145deg,var(--card-top),var(--card-bottom))}.menu-card-art{display:flex;align-items:center;justify-content:center;width:180px;height:180px;margin:0;grid-column:1;grid-row:1;align-self:center}.menu-card-art>img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 9px 8px #101b2438);transition:transform .2s ease}.menu-mode-card:hover .menu-card-art>img{transform:translateY(-4px) rotate(-2deg)}.menu-mode-text{grid-column:2;grid-row:1;align-self:center;display:block;margin:0 0 8px;min-width:0}.menu-mode-text>strong{font-size:25px;line-height:1.16;letter-spacing:-.7px;margin-bottom:12px}.menu-mode-text>span{font-size:12px;line-height:1.75;color:#ead6ba}.menu-online .menu-mode-text>span{color:#baded9}.mode-menu .menu-mode-tag{font-size:8px;padding:3px 6px;margin-bottom:11px;border-color:#8de1db40;background:#8de1db0d;color:#c4f1e9}.menu-card-action{grid-column:1/-1;grid-row:2;font-size:12px;color:var(--card-accent);border-color:#fff2;padding:17px 0;margin-top:12px;align-self:end}.menu-utilities{margin-top:20px}.menu-utility{position:relative;display:flex;align-items:center;gap:20px;padding:14px 24px;min-height:160px;border-radius:17px;overflow:hidden;box-shadow:inset 0 1px #ffffff09}.menu-rank{border-color:#c9ad5c85;background:radial-gradient(ellipse at 22% 30%,#e1b6332e,transparent 65%),linear-gradient(135deg,#494124,#2e3326);color:#fff0c2}.menu-rank:hover{background:radial-gradient(ellipse at 22% 30%,#e1b63340,transparent 65%),linear-gradient(135deg,#504829,#353a2a);border-color:#edd47f}.menu-store{border-color:#a38bc085;background:radial-gradient(ellipse at 22% 30%,#b392e830,transparent 65%),linear-gradient(135deg,#423554,#2b3044);color:#f2eaff}.menu-store:hover{background:radial-gradient(ellipse at 22% 30%,#b392e840,transparent 65%),linear-gradient(135deg,#4c3d60,#33384e);border-color:#d0b3fc}.menu-utility-art,.menu-store .menu-utility-art{display:flex;align-items:center;justify-content:center;width:135px;height:130px;flex-shrink:0;background:none;border:0;border-radius:0}.menu-utility-art>img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 7px #17202d40);transition:transform .2s ease}.menu-utility:hover .menu-utility-art>img{transform:translateY(-3px)}.menu-utility strong{font-size:22px;letter-spacing:-.5px;margin-bottom:7px}.menu-utility small{color:#dfd3ab;font-size:12px}.menu-store small{color:#d6c9e9}.menu-utility>.icon{color:inherit;opacity:.75}.menu-bottom{margin-top:20px}.menu-signoff{margin-top:25px;opacity:.75}.landing-page{background:radial-gradient(ellipse at 82% 23%,#4c8b642f,transparent 45%),radial-gradient(ellipse at 55% 53%,#d0a35314,transparent 34%),#142e28}.landing-generated-art{position:absolute;object-fit:contain;display:block;height:auto;pointer-events:none;filter:drop-shadow(0 16px 15px #071d1b45);z-index:3}.landing-art-solo{width:56%;right:-2%;top:0;transform:rotate(8deg)}.landing-art-online{width:49%;left:-4%;bottom:10%;transform:rotate(-8deg)}.landing-scene .landing-dice{display:none}.landing-scene .landing-board-edge{inset:24% 4% 12% 10%;opacity:.88;transform:rotateX(25deg) rotate(-15deg)}.landing-scene .landing-preview-board>.landing-tile>.piece{opacity:.7}@media(min-width:701px)and (max-width:1000px){.menu-mode-card{grid-template-columns:130px minmax(0,1fr);gap:0 13px;padding:20px 20px 0;min-height:250px}.menu-card-art{width:130px;height:155px}.menu-mode-text>strong{font-size:22px}.menu-mode-text>span{font-size:11px}.menu-utility{padding:13px 18px;gap:14px;min-height:145px}.menu-utility-art,.menu-store .menu-utility-art{width:105px;height:116px}.menu-utility strong{font-size:20px}.menu-utility small{font-size:11px}}@media(max-width:700px){.menu-header{height:68px}.mode-menu .mode-menu-main{padding:17px 18px 22px;max-width:520px}.menu-welcome{gap:10px;margin-bottom:18px}.menu-welcome p{font-size:11px;line-height:1.5;margin-bottom:5px}.menu-welcome h1{font-size:26px;line-height:1.17;letter-spacing:-1px}.menu-account-badge{padding:5px 9px;min-height:26px;font-size:10px}.menu-modes,.menu-utilities{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.menu-utilities{margin-top:12px}.menu-mode-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;padding:16px 10px 14px;min-height:190px;border-radius:17px;text-align:center;box-shadow:inset 0 1px #ffffff14,0 5px 12px #071f1a20}.menu-card-art{display:flex;width:140px;max-width:100%;height:133px;flex-shrink:0;margin:-5px 0 6px;align-self:center}.menu-mode-text{margin:0;width:100%;align-self:auto}.menu-mode-text>strong{font-size:17px;font-weight:750;line-height:1.2;letter-spacing:-.4px;margin:0}.menu-mode-text>span,.mode-menu .menu-mode-tag{display:none}.menu-card-action{display:flex;position:absolute;top:9px;right:9px;width:25px;height:25px;min-height:0;justify-content:center;padding:0;margin:0;font-size:0;border:1px solid #ffffff26;border-radius:50%;color:var(--card-accent);background:#12241b16}.menu-card-action>.icon{width:13px;height:13px}.menu-utility{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;text-align:center;min-height:175px;padding:12px 10px 14px;border-radius:17px}.menu-utility-art,.menu-store .menu-utility-art{display:flex;width:130px;max-width:100%;height:122px;margin:-3px 0 6px;flex-shrink:0;grid-area:auto}.menu-utility>span:nth-child(2){flex:0;grid-area:auto}.menu-utility strong{font-size:17px;line-height:1.2;margin:0;font-weight:750;letter-spacing:-.35px}.menu-utility small{display:none}.menu-utility>.icon{position:absolute;top:12px;right:12px;width:12px;height:12px;opacity:.7}.menu-bottom{margin-top:15px;gap:7px}.menu-local{min-height:59px;padding:11px 14px;border-radius:12px;background:#203e32}.menu-local strong{font-size:12px}.menu-local small{font-size:10px;margin-top:2px}.menu-local>.icon:first-child{width:22px}.menu-help{font-size:11px;min-height:39px}.menu-signoff{display:none}.landing-header{height:68px}.landing-page .landing-main{padding:0 23px}.landing-hero{display:grid;grid-template-columns:1fr;gap:0;min-height:0;padding:18px 0 24px;justify-items:center}.landing-copy{display:contents}.landing-eyebrow{grid-row:1;margin:0 0 12px;font-size:9px}.landing-copy h1{grid-row:2;font-size:43px;line-height:1.08;letter-spacing:-2px;margin:0;max-width:100%}.landing-scene{grid-row:3;width:100%;height:255px;max-width:345px;aspect-ratio:auto;margin:5px 0 3px;align-self:auto;justify-self:center}.landing-description{grid-row:4;font-size:13px;line-height:1.6;max-width:300px;margin:3px 0 19px}.landing-play{grid-row:5;min-height:54px;width:100%;max-width:330px;font-size:15px;gap:25px}.landing-play-note{grid-row:6;font-size:10px;margin-top:14px}.landing-art-solo{width:56%;right:0;top:0;transform:rotate(6deg)}.landing-art-online{width:51%;left:-2%;bottom:10%;transform:rotate(-7deg)}.landing-scene .landing-board-edge{inset:26% 6% 15% 10%;padding:5px;border-radius:8px;opacity:.82}.landing-scene-label{display:none}.landing-orbit{inset:7% 4%}.landing-how{padding:23px 0;gap:17px}.landing-how p>span{font-size:11px}}@media(max-width:360px){.menu-header{padding-inline:13px;height:64px}.mode-menu .mode-menu-main{padding:14px 14px 18px}.menu-welcome h1{font-size:24px;max-width:270px}.menu-welcome{gap:9px;margin-bottom:15px}.menu-modes,.menu-utilities{gap:10px}.menu-utilities{margin-top:10px}.menu-mode-card{padding:13px 8px;min-height:170px}.menu-card-art{width:123px;height:116px;margin-bottom:6px}.menu-mode-text>strong{font-size:15px;letter-spacing:-.3px}.menu-utility{min-height:155px;padding:10px 8px 13px}.menu-utility-art,.menu-store .menu-utility-art{width:116px;height:105px;margin-bottom:6px}.menu-utility strong{font-size:16px}.menu-bottom{margin-top:12px}.menu-local{min-height:55px}.menu-help{min-height:36px}.landing-header{height:64px;padding-inline:15px}.landing-page .landing-main{padding:0 19px}.landing-hero{padding-top:15px}.landing-copy h1{font-size:38px}.landing-scene{height:220px}.landing-description{font-size:12px;margin-bottom:17px}.landing-play-note{font-size:9px}}@media(prefers-reduced-motion:reduce){.menu-card-art>img,.menu-utility-art>img{transition:none}.menu-mode-card:hover .menu-card-art>img,.menu-utility:hover .menu-utility-art>img{transform:none}}.landing-scene .landing-ground{position:absolute;left:3%;right:1%;bottom:5%;height:19%;border:0;border-radius:50%;background:radial-gradient(ellipse at center,#0418117a 0,#09271a36 44%,transparent 72%);filter:blur(12px);transform:rotate(-5deg);pointer-events:none}.landing-scene .landing-board-edge,.landing-scene .landing-stage,.landing-scene .landing-orbit{display:none}.landing-scene .landing-art-solo{top:auto;bottom:16%;right:0;width:54%;transform:rotate(5deg)}.landing-scene .landing-art-online{bottom:5%;left:-2%;width:51%;transform:rotate(-6deg)}.landing-scene .landing-scene-label{display:none}@media(max-width:700px){.landing-scene .landing-ground{bottom:1%;height:20%;filter:blur(8px)}.landing-scene .landing-art-solo{bottom:14%;width:56%;right:0;top:auto}.landing-scene .landing-art-online{bottom:3%;width:53%;left:-2%}}#mobile-dice-slot{display:contents}#desktop-dice-slot{display:none}@media(min-width:701px){.game-header{height:76px;min-height:76px;flex-wrap:nowrap}.game-main{max-width:1440px;padding:20px 40px 0;margin:0 auto}.game-main>.table-heading{display:flex;margin-bottom:16px}.game-main .game-layout{display:grid;grid-template-columns:minmax(170px,220px) minmax(500px,620px) minmax(260px,300px);gap:28px;align-items:start;justify-content:center}.game-main .intro{display:block;grid-column:auto;padding-top:29px;min-width:0}.game-main .intro h1{font-size:34px;line-height:1.22;letter-spacing:-1.4px;margin:18px 0;white-space:normal}.game-main .intro h1 br,.game-main .intro h1 em{display:initial}.game-main .intro-text{font-size:12px;line-height:1.85;margin:0 0 25px;max-width:210px}.game-main .intro>.eyebrow,.game-main .intro>.mini-rules,.game-main .intro>.text-button,.game-main .intro>.league-preview{display:revert}.game-main .intro>.text-button,.game-main .intro>.league-preview{display:flex}.game-main .mode-card{max-width:none;margin:0}.game-main .mini-rules{margin-top:28px}.game-main .league-preview{margin-top:22px}.game-main .play-area{display:block;width:100%;max-width:620px;min-width:0;margin:0;grid-column:auto}.game-main .board-frame{width:100%;max-width:620px;min-width:0;padding:10px;margin:0;border-radius:10px}.game-main .player-strip{height:44px;min-height:44px;margin-bottom:8px}.game-main #player{margin-top:8px;margin-bottom:0}.game-main .turn-indicator{min-height:30px;margin:0 0 7px;padding:5px 10px}.game-main .board-toolbar{display:flex;margin-top:7px;padding-top:4px;min-height:42px}.game-main .right-column{display:block;padding-top:0;margin:0;min-width:0;max-width:none}#mobile-dice-slot{display:none}#desktop-dice-slot{display:block}#desktop-dice-slot>.turn-card{padding:23px 21px 17px;margin:0;background:linear-gradient(145deg,#223e32,#19362c);border-color:#587347;border-radius:12px}#desktop-dice-slot #turn-panel{display:block}#desktop-dice-slot .turn-eyebrow{display:flex;font-size:10px;letter-spacing:1px}#desktop-dice-slot .turn-card h2{display:flex;font-size:25px;font-weight:650;letter-spacing:-.7px;line-height:1.2;margin:15px 0 9px}#desktop-dice-slot .turn-card h2+p{display:block;font-size:12px;line-height:1.6;min-height:38px;margin:0;text-align:left}#desktop-dice-slot .dice-tray{display:flex;width:100%;max-width:none;gap:13px;margin:0;padding:24px 0 23px}#desktop-dice-slot .die{max-width:72px;border-radius:11px}#desktop-dice-slot .die-wrap small{font-size:11px;padding-top:12px}#desktop-dice-slot .primary-button{min-height:48px;font-size:13px;padding:11px 10px;gap:7px}#desktop-dice-slot .dice-caption{display:block;font-size:10px;line-height:1.5;margin:13px 0 20px}#desktop-dice-slot .coach{display:flex;padding-top:17px}#desktop-dice-slot .coach p{font-size:11px}#desktop-dice-slot .coach strong{font-size:12px}#desktop-dice-slot .hint-button{display:flex;font-size:11px;min-height:35px;padding:12px 0 0}.game-main .right-column .history-card{display:block;margin-top:20px}.game-main #history{height:150px}.game-main .right-column>.new-game{max-width:none;margin:16px 0 0;min-height:44px}.game-main footer{display:flex;margin-top:22px;padding:18px 0 22px}}@media(min-width:701px)and (max-width:1100px){.game-main{padding:16px 24px 0;max-width:1000px}.game-main .game-layout{grid-template-columns:minmax(340px,1fr) minmax(260px,300px);gap:22px}.game-main .intro{display:none}.game-main .play-area{max-width:none}.game-main .board-frame{padding:8px}.game-main .player-identity strong{max-width:145px}.game-main .player-identity small{max-width:170px}#desktop-dice-slot>.turn-card{padding:20px 16px 15px}#desktop-dice-slot .turn-card h2{font-size:23px}#desktop-dice-slot .dice-tray{gap:10px}}@media(min-width:701px)and (max-width:780px){.game-main{padding-inline:16px}.game-main .game-layout{gap:16px;grid-template-columns:minmax(340px,1fr) 260px}.game-header{padding-inline:20px;gap:16px}}@media(max-width:700px){.game-main #mobile-dice-slot>.turn-card{margin-top:5px;padding:9px 11px 7px;border-radius:11px;border-color:#587347;background:linear-gradient(145deg,#223e32,#19362c)}.game-main .right-column>#desktop-dice-slot{display:none}}@media(max-width:700px)and (max-height:700px){.game-main #mobile-dice-slot>.turn-card{padding:7px 10px 6px;margin-top:4px}}.auth-heading{display:flex;align-items:center;gap:14px;margin-bottom:16px}.auth-heading .modal-emblem{margin:0;width:46px;height:46px}.auth-heading small{font-size:9px;letter-spacing:1.8px;color:var(--gold)}.auth-heading h2{font-family:var(--font);font-size:28px;line-height:1.1;margin:4px 0 0;font-weight:650;letter-spacing:-.7px}#dialog:has(#account-form){padding:28px;width:min(440px,calc(100vw - 28px))}#account-form .field-label{margin-bottom:13px}#account-form .form-error:empty{display:none}#account-form .primary-button{margin-top:17px}#account-form .rating-note{font-size:10px;margin-bottom:15px}.auth-links{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.auth-links button{font-size:10px;color:var(--muted);padding:5px 0}.auth-links button:hover{color:var(--accent)}.auth-divider{display:flex;align-items:center;gap:12px;margin:19px 0 15px;color:var(--muted);font-size:10px}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#52654b77;flex:1}.google-button{min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;gap:6px}.google-button small{font-size:10px;color:var(--muted)}.google-unavailable{width:100%;min-height:43px;border:1px solid #6b7d5c;border-radius:6px;color:var(--muted)}.guest-entry{width:100%;border:1px solid #63794b;background:#213e2d;border-radius:7px;color:var(--accent);display:flex;align-items:center;justify-content:center;gap:10px;padding:12px;margin-top:15px;font-size:12px;font-weight:600}.guest-entry:hover{background:#2b4934}.guest-entry .icon{width:15px;height:15px}.guest-hint{font-size:9px;text-align:center;color:#a3b398;margin:8px 0 0;line-height:1.6}.solo-start{margin-top:24px}.theme-store{display:grid;grid-template-columns:1fr 1fr;gap:13px}.theme-product{border:1px solid var(--border);padding:12px;background:#18362b;border-radius:9px;text-align:left}.theme-product.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.theme-product strong{display:block;font-size:13px;font-weight:600;margin-top:11px}.theme-product small{display:block;color:var(--accent);font-size:10px;margin-top:5px}.theme-preview{display:grid;place-items:center;aspect-ratio:1.45;border-radius:5px;overflow:hidden;background:conic-gradient(var(--preview-light) 25%,var(--preview-dark) 0 50%,var(--preview-light) 0 75%,var(--preview-dark) 0);background-size:50% 50%;box-shadow:inset 0 0 0 1px #ffffff19}.theme-preview .piece{width:65px;height:65px;filter:drop-shadow(0 3px 2px #15251d44)}body[data-screen=landing] .moving-piece,body[data-screen=menu] .moving-piece{display:none}body[data-screen=menu] .mode-menu-main,body[data-screen=landing] .landing-main{animation:screen-enter .3s ease both}@keyframes screen-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media(max-width:700px){#dialog:has(#account-form){padding:24px 21px}.auth-heading h2{font-size:25px}.auth-heading{margin-bottom:12px}.auth-tabs{margin:15px 0}.auth-links button{font-size:10px}.field-label input{font-size:16px}.theme-product{padding:10px}.theme-product strong{font-size:12px}.theme-preview .piece{width:55px;height:55px}}@media(prefers-reduced-motion:reduce){body[data-screen=menu] .mode-menu-main,body[data-screen=landing] .landing-main{animation:none}}.header-tools .profile-button,.menu-header-actions .profile-button{display:inline-grid;place-items:center;width:44px;height:44px;padding:4px;border-radius:50%;flex-shrink:0;color:#d9e6c2}.profile-button>[data-profile-avatar]{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;overflow:hidden;background:linear-gradient(145deg,#42644b,#294334);border:1px solid #a9c78570;box-shadow:0 2px 5px #0a211b30}.profile-button:hover>[data-profile-avatar]{border-color:#cee4a9;background:#426349}.profile-button .profile-person{width:23px;height:23px}[data-profile-avatar]>img,.avatar-photo,.player-avatar>img,.avatar>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.profile-button>[data-profile-avatar]>svg:not(.profile-person){display:block;width:100%;height:100%}.player-strip .avatar:has(img),.player-strip .avatar:has(.avatar-photo),.player-avatar{border-radius:50%;overflow:hidden;flex-shrink:0;background:#2f4c3a}.player-strip .avatar>img{max-width:100%;max-height:100%;border-radius:50%}.game-main .right-column>.chat-card{display:block;min-width:0;margin-top:20px;border:1px solid #4b665145;border-radius:13px;background:linear-gradient(155deg,#1d3a2f,#163228);overflow:hidden;box-shadow:0 7px 20px #0a231715;scroll-margin-top:14px}.chat-card-header{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:49px;padding:4px 13px 4px 15px;border-bottom:1px solid #a5bb8a18;background:#29433440}.chat-card-header h2{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;line-height:1.3;font-weight:650;letter-spacing:-.15px}.chat-card-header h2>.icon{width:17px;height:17px;color:#b9cd9a}.chat-mute-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:40px;min-width:63px;padding:7px 5px;border-radius:6px;color:#a7bd98;font-size:10px;line-height:1.2;text-align:center;flex-shrink:0}.chat-mute-button:hover{color:#e0eacb;background:#c2d7840b}.chat-mute-button[aria-pressed=true]{color:#e3c783;background:#e3c78309}.chat-card .chat-log{height:190px;min-height:180px;max-height:220px;padding:14px 11px 4px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#59754d transparent;background:radial-gradient(ellipse at 40% 10%,#4563440c,transparent 75%)}.chat-card .chat-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:155px;margin:0;padding:22px 16px;text-align:center;font-size:12px;line-height:1.7;color:#a1b596}.chat-card .chat-empty .icon{width:26px;height:26px;color:#819d75}.chat-card .chat-message{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:0;margin:0 0 12px;min-width:0}.chat-card .chat-message.mine{align-items:flex-end}.chat-card .chat-message strong{font-size:10px;line-height:1.35;font-weight:600;color:#b3c6a7;margin:0 5px 4px;max-width:100%;overflow-wrap:anywhere}.chat-card .chat-message p{display:block;margin:0;padding:9px 11px;background:#2e4d3c;border:1px solid #a4bd8a0e;border-radius:11px 11px 11px 3px;max-width:94%;font-size:12px;line-height:1.55;color:#e4ecd8;overflow-wrap:anywhere;white-space:pre-wrap}.chat-card .chat-message.mine p{border-color:#c2d7841e;background:#455d37;color:#f0f3de;border-radius:11px 11px 3px}.chat-card .chat-message time{font-size:9px;color:#91aa82;line-height:1.3;margin:4px 5px 0;white-space:nowrap}.chat-card .chat-avatar{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border:1px solid #6f8e5b70;border-radius:50%;overflow:hidden;background:#34533c}.chat-card .chat-avatar img,.chat-card .chat-avatar svg{display:block;width:100%;height:100%;object-fit:cover}.chat-card .chat-message:has(>.chat-avatar){display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:7px;align-items:start}.chat-card .chat-message:has(>.chat-avatar)>.chat-avatar{grid-column:1;grid-row:1/5;margin-top:1px}.chat-card .chat-message:has(>.chat-avatar)>.chat-content,.chat-card .chat-message:has(>.chat-avatar)>strong,.chat-card .chat-message:has(>.chat-avatar)>p,.chat-card .chat-message:has(>.chat-avatar)>time{grid-column:2;min-width:0}.chat-card .chat-message:has(>.chat-avatar)>p{max-width:100%}.chat-card .chat-message.mine:has(>.chat-avatar){grid-template-columns:minmax(0,1fr) 28px}.chat-card .chat-message.mine:has(>.chat-avatar)>.chat-avatar{grid-column:2}.chat-card .chat-message.mine:has(>.chat-avatar)>.chat-content,.chat-card .chat-message.mine:has(>.chat-avatar)>strong,.chat-card .chat-message.mine:has(>.chat-avatar)>p,.chat-card .chat-message.mine:has(>.chat-avatar)>time{grid-column:1;justify-self:end}.chat-card .chat-content{display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:100%}.chat-card .mine>.chat-content{align-items:flex-end}.chat-card .chat-content p{max-width:100%}.chat-card .chat-status{margin:0;padding:5px 13px 8px;font-size:10px;line-height:1.5;color:#a0b591}.chat-card .chat-status:empty,.chat-card .form-error:empty{display:none}.chat-card .form-error{margin:0;min-height:0;padding:6px 13px;color:#ecd69c;font-size:11px;line-height:1.5}.chat-card .chat-compose{display:flex;gap:7px;margin:0;padding:10px;border-top:1px solid #aac38c1b;background:#112a212e}.chat-card .chat-compose input{display:block;width:0;min-width:0;flex:1;min-height:42px;padding:10px 11px;border:1px solid #5f7a4f70;border-radius:8px;background:#102a21;color:#edf1df;font:12px var(--font);line-height:1.4}.chat-card .chat-compose input::placeholder{color:#94ab85}.chat-card .chat-compose input:focus{outline:2px solid #c2d784;outline-offset:1px}.chat-card .chat-compose input:disabled{opacity:.6}.chat-card .chat-compose .primary-button{width:auto;min-width:58px;min-height:42px;padding:9px 11px;flex-shrink:0;font-size:11px;line-height:1.3;border-radius:8px;box-shadow:0 2px #8ca35c;gap:5px}.chat-card .chat-compose .primary-button:disabled{box-shadow:none;opacity:.75}.chat-card:focus-within{border-color:#8eaf6680}.profile-editor{display:grid;grid-template-columns:minmax(0,1fr);gap:17px;min-width:0}.profile-editor .field-label{margin:0}.profile-preview{display:grid;place-items:center;width:88px;height:88px;margin:0 auto 2px;border:3px solid #bdd690;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 35% 25%,#52794b,#284c36);box-shadow:0 0 0 5px #bdd6900b}.profile-preview img,.profile-preview>[data-profile-avatar]{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.profile-preview>svg{width:64px;height:64px;color:#dfebc8}.avatar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;min-width:0}.avatar-option{position:relative;display:grid;place-items:center;aspect-ratio:1;min-width:0;min-height:44px;padding:6px;border:2px solid #55724b70;border-radius:13px;background:#254634;overflow:hidden;transition:background .16s,border-color .16s,box-shadow .16s}.avatar-option>img,.avatar-option>svg{display:block;width:100%;height:100%;min-width:0;object-fit:contain;border-radius:8px}.avatar-option>span:has(img){display:block;width:100%;height:100%}.avatar-option>span>img{display:block;width:100%;height:100%;object-fit:contain}.avatar-option:hover{border-color:#a7c57d;background:#35583d}.avatar-option[aria-pressed=true],.avatar-option.selected{border-color:#d0e59b;background:#46643a;box-shadow:inset 0 0 0 1px #d0e59b55,0 0 0 2px #d0e59b12}.avatar-option[aria-pressed=true]:after{content:"";position:absolute;right:5px;bottom:5px;width:8px;height:8px;border-radius:50%;background:#d5eda2;border:1px solid #294025}.profile-upload{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 14px;border:1px dashed #96b47580;border-radius:9px;background:#b1cc8010;color:#d1e0b7;font-size:12px;font-weight:600;cursor:pointer;text-align:center;line-height:1.5}.profile-upload:hover{background:#b1cc801b;border-color:#c1d998}.profile-upload>input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.profile-upload:focus-within{outline:2px solid #c2d784;outline-offset:3px}.profile-upload>.icon{width:18px;height:18px}.nickname-counter{display:block;margin:5px 0 0;text-align:right;font-size:10px;line-height:1.4;font-variant-numeric:tabular-nums;color:#a0b88f}.nickname-counter.invalid,.nickname-counter[data-overlimit=true]{color:#f0b49e}dialog:has(.profile-editor){max-height:90dvh;width:min(470px,calc(100vw - 28px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#5b7852 transparent}.profile-editor .primary-button{min-height:46px}@media(max-width:700px){.header-tools .profile-button,.menu-header-actions .profile-button{width:44px;height:44px;padding:5px}.profile-button>[data-profile-avatar]{width:32px;height:32px}.profile-button .profile-person{width:22px;height:22px}.game-main .right-column>.chat-card{grid-column:1/-1;margin-top:0;border-radius:12px}.chat-card-header{padding:3px 11px 3px 14px;min-height:48px}.chat-card-header h2{font-size:13px}.chat-mute-button{min-height:42px;min-width:70px;font-size:11px}.chat-card .chat-log{height:200px;min-height:180px;max-height:220px;padding:13px 12px 4px}.chat-card .chat-message p{font-size:13px;padding:9px 12px}.chat-card .chat-message strong{font-size:11px}.chat-card .chat-avatar{width:30px;height:30px}.chat-card .chat-message:has(>.chat-avatar){grid-template-columns:30px minmax(0,1fr);column-gap:8px}.chat-card .chat-message.mine:has(>.chat-avatar){grid-template-columns:minmax(0,1fr) 30px}.chat-card .chat-status{font-size:11px;padding:4px 13px 8px}.chat-card .chat-compose{padding:10px;gap:8px}.chat-card .chat-compose input{font-size:16px;min-height:44px;padding:9px 11px}.chat-card .chat-compose .primary-button{min-height:44px;min-width:64px;font-size:12px;padding:10px 12px}.profile-editor{gap:15px}.profile-preview{width:76px;height:76px}.avatar-grid{gap:8px}.avatar-option{padding:4px;border-radius:11px}.profile-upload{font-size:12px}.profile-editor .field-label>input{font-size:16px}dialog:has(.profile-editor){padding:28px 22px;max-height:90dvh}}@media(max-width:360px){.chat-card .chat-compose{gap:6px;padding:8px}.chat-card .chat-compose .primary-button{min-width:59px;padding-inline:9px}.chat-card .chat-log{height:185px}.avatar-grid{gap:7px}.profile-preview{width:70px;height:70px}dialog:has(.profile-editor){padding:27px 18px}}@media(prefers-reduced-motion:reduce){.avatar-option{transition:none}}#matchmaking-screen{width:100%;max-width:560px;margin:25px auto 35px;min-width:0}#matchmaking-screen:not([hidden])~.game-layout{display:none}.matchmaking-card{position:relative;isolation:isolate;overflow:hidden;border:1px solid #78b9a665;border-radius:24px;background:radial-gradient(ellipse at 80% 10%,#3bd6c11b,transparent 52%),radial-gradient(ellipse at 15% 70%,#abd77910,transparent 55%),linear-gradient(155deg,#21483c,#16352d);padding:34px 32px 28px;box-shadow:0 22px 60px #071c1838,inset 0 1px #c3f6db0b;text-align:center}.matchmaking-card:before{content:"";position:absolute;z-index:-1;inset:15% 10% 30%;border:1px solid #8bd1b90b;border-radius:50%;transform:rotate(-18deg)}.matchmaking-card>.eyebrow{color:#99cfb9;letter-spacing:1.8px;font-size:10px;margin-bottom:12px}.matchmaking-card h2{font-family:var(--font);font-size:29px;font-weight:700;letter-spacing:-.9px;line-height:1.2;color:#f0f5e6;margin:0 0 11px;text-wrap:balance}.matchmaking-card>p{font-size:13px;line-height:1.7;color:#b0c9b9;margin:0 auto;max-width:370px;text-wrap:pretty}.matchmaking-players{display:grid;grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);align-items:center;justify-items:center;gap:14px;margin:35px auto 26px;max-width:390px;padding:10px 8px}.matchmaking-players>div{min-width:0}.matchmaking-avatar{position:relative;display:grid;place-items:center;width:108px;height:108px;border-radius:50%;border:2px solid #bddb9373;background:radial-gradient(circle at 35% 22%,#527b51,#284b3b);box-shadow:0 0 0 7px #b1d68b08,0 12px 26px #071f1d2b;color:#c5e1ba;margin:0 auto}.matchmaking-avatar>img,.matchmaking-avatar>[data-profile-avatar]{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.matchmaking-avatar>[data-profile-avatar]>img{width:100%;height:100%;object-fit:cover;border-radius:50%}.matchmaking-avatar>.icon,.matchmaking-avatar>svg{width:47px;height:47px}.matchmaking-avatar.searching,.matchmaking-avatar.is-searching{border-color:#80dbd280;background:radial-gradient(circle at 45% 35%,#367c70,#224e44);color:#9fddd2;box-shadow:0 0 0 7px #72d6c70a,0 0 30px #4dd9c512}.matchmaking-orbit{position:absolute;inset:-12px;border:1.5px solid #72d9c51a;border-top-color:#8debd7;border-right-color:#8debd785;border-radius:50%;animation:match-orbit 1.9s linear infinite;pointer-events:none}.matchmaking-orbit:after{content:"";position:absolute;right:12%;top:11%;width:6px;height:6px;border-radius:50%;background:#a7f4df;box-shadow:0 0 10px #7ff3dd6b}.matchmaking-vs{display:grid;place-items:center;align-self:start;width:42px;height:42px;margin-top:33px;flex-shrink:0;border:1px solid #a3c7ae28;border-radius:50%;background:#16372c;color:#abc7b0;font-size:11px;font-weight:750;letter-spacing:1px;box-shadow:0 0 0 7px #9ad6bb04}.matchmaking-players strong,.matchmaking-players .player-name{display:block;font-size:12px;font-weight:650;color:#d7e5cd;max-width:130px;margin:18px auto 0;line-height:1.4;overflow-wrap:anywhere}.matchmaking-players small{display:block;font-size:10px;line-height:1.5;color:#a0bca5;margin-top:4px}.matchmaking-status{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px auto 7px;color:#bfe5cf;font-size:14px;font-weight:600;line-height:1.4}.matchmaking-status:before{content:"";width:6px;height:6px;border-radius:50%;background:#8ce2c3;box-shadow:0 0 0 4px #8ce2c30c;animation:match-status-pulse 1.7s ease-in-out infinite}.matchmaking-timer{display:block;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:35px;line-height:1.25;font-weight:650;letter-spacing:1px;font-variant-numeric:tabular-nums;color:#e1efcf;margin:8px 0 12px}.matchmaking-meta{font-size:11px!important;font-weight:400;line-height:1.75!important;color:#a5bfa8!important;max-width:360px;margin:0 auto 24px!important;text-wrap:pretty}.matchmaking-cancel{display:flex;align-items:center;justify-content:center;gap:8px;min-height:47px;width:100%;max-width:330px;margin:24px auto 0;padding:11px 16px;border:1px solid #94b58b73;border-radius:10px;background:#15362a4d;font-size:13px;font-weight:600;color:#d0dfbf;transition:background .18s,border-color .18s}.matchmaking-cancel:hover{background:#355341;border-color:#c2dba4}.matchmaking-cancel:disabled{opacity:.6;cursor:default}.matchmaking-card.is-found,#matchmaking-screen[data-state=found] .matchmaking-card{border-color:#badf86;background:radial-gradient(ellipse at 50% 20%,#b4e37328,transparent 65%),linear-gradient(155deg,#2b5139,#17392c)}.matchmaking-card.is-found .matchmaking-orbit,#matchmaking-screen[data-state=found] .matchmaking-orbit{animation:none;border-color:#c7e9947a}.matchmaking-card.is-found .matchmaking-status:before,#matchmaking-screen[data-state=found] .matchmaking-status:before{animation:none;background:#c7e994}@keyframes match-orbit{to{transform:rotate(360deg)}}@keyframes match-status-pulse{50%{opacity:.4}}@media(max-width:700px){#matchmaking-screen{margin:12px auto 24px;max-width:500px}.matchmaking-card{border-radius:20px;padding:29px 21px 23px}.matchmaking-card h2{font-size:26px;letter-spacing:-.8px}.matchmaking-card>p{font-size:12px}.matchmaking-players{grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);gap:9px;margin:28px auto 22px;padding:8px 3px}.matchmaking-avatar{width:90px;height:90px}.matchmaking-avatar>.icon,.matchmaking-avatar>svg{width:39px;height:39px}.matchmaking-vs{width:32px;height:32px;margin-top:29px;font-size:10px}.matchmaking-orbit{inset:-10px}.matchmaking-players strong,.matchmaking-players .player-name{font-size:11px;max-width:115px;margin-top:17px}.matchmaking-status{font-size:13px}.matchmaking-timer{font-size:32px;margin:7px 0 11px}.matchmaking-meta{font-size:11px!important;margin-bottom:20px!important}.matchmaking-cancel{min-height:46px;font-size:12px;margin-top:21px}}@media(max-width:360px){.matchmaking-card{padding:25px 17px 20px}.matchmaking-card h2{font-size:24px}.matchmaking-players{gap:6px;grid-template-columns:minmax(0,1fr) 29px minmax(0,1fr)}.matchmaking-avatar{width:76px;height:76px}.matchmaking-orbit{inset:-8px}.matchmaking-vs{width:27px;height:27px;margin-top:24.5px;font-size:9px}.matchmaking-players strong,.matchmaking-players .player-name{font-size:10px;max-width:100px}.matchmaking-meta{font-size:10px!important}}@media(prefers-reduced-motion:reduce){.matchmaking-orbit,.matchmaking-status:before{animation:none}.matchmaking-cancel{transition:none}}@media(max-width:700px){dialog:has(.profile-editor){padding:22px 20px;max-height:90dvh}.profile-editor{gap:9px}.profile-editor>.eyebrow{font-size:9px;line-height:14px;margin:0;padding-right:24px}.profile-editor>h2{font-size:26px;line-height:1.2;letter-spacing:-.7px;margin:0;padding-right:15px}.profile-editor>.modal-subtitle{font-size:12px;line-height:1.55;margin:0 0 2px;color:#adbf9e}.profile-editor .profile-preview{width:68px;height:68px;margin:3px auto 9px}.profile-editor .avatar-grid{width:100%;max-width:304px;gap:7px;margin:7px auto 8px}.profile-editor .profile-upload{min-height:43px;padding:9px 12px}.profile-editor .rating-note{font-size:10px;line-height:1.5;margin:7px 0 9px}.profile-editor .form-error:empty{display:none}#profile-editor-form>.primary-button{min-height:44px;margin-top:12px}.profile-editor>#profile-account{margin-top:0;min-height:36px;padding-block:5px}}@media(max-width:360px){dialog:has(.profile-editor){padding:21px 17px}.profile-editor>h2{font-size:24px}.profile-editor .profile-preview{width:64px;height:64px}.profile-editor .avatar-grid{gap:6px}}body.is-matchmaking .game-main>.table-heading{display:none}.room-display-name{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--ink)}.join-room-details{margin-top:20px;padding-top:15px;border-top:1px solid var(--border)}.join-room-details summary{color:var(--muted);cursor:pointer;font-size:12px;padding:5px 0}.join-room-details form{padding-top:15px}.join-room-details .secondary-button{width:100%}.form-error:empty{display:none}@media(max-width:700px){.room-display-name{max-width:165px;font-size:10px}body.is-matchmaking #matchmaking-screen{margin-top:6px}}:root{--club-ink:#18332a;--club-paper:#f5f0dd;--club-gold:#edb944;--club-muted:#5b6a5e;--club-line:#c9c9b7}#dialog{--ink:#18332a;--muted:#5b6a5e;--accent:#986321;--border:#c9c9b7;--panel:#e9e6d3;color:var(--club-ink);background:var(--club-paper);border:0;border-radius:5px;box-shadow:0 22px 70px #03170c65;padding:30px;max-width:calc(100vw - 28px);width:500px;max-height:92dvh}#dialog::backdrop{background:#071c16b8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}#dialog .dialog-close{color:#18332a;right:9px;top:9px;width:44px;height:44px;border-radius:0}#dialog .dialog-close:hover{background:#18332a0b}#dialog h2{color:var(--club-ink);font-family:var(--font);font-weight:800;font-size:32px;line-height:1.1;letter-spacing:-1px;margin:10px 0 16px}#dialog .eyebrow{color:#6b7158;letter-spacing:.8px}#dialog .modal-subtitle,#dialog .rating-note,#dialog .rules-body p,#dialog .rules-footnote{color:var(--club-muted)}#dialog .modal-emblem{width:38px;height:38px;background:transparent;border:0;color:#92702c;border-radius:0;margin-bottom:8px}#dialog .modal-emblem>.icon{width:32px;height:32px}#dialog .primary-button{background:var(--club-gold);color:#203026;border:0;border-radius:4px;box-shadow:0 3px #aa7726;min-height:48px}#dialog .primary-button:disabled{background:#d5ceaf;color:#536251;box-shadow:none}#dialog .secondary-button{border:0;border-bottom:1px solid #798676;background:transparent;border-radius:0;color:#294733;box-shadow:none}#dialog .text-button,#dialog .auth-links button,#dialog .guest-hint{color:#536451}#dialog .form-error{color:#9b3d20}#dialog .field-label{color:#475b4c;font-size:12px}#dialog .field-label>input,#dialog .field-label>select,#dialog .copy-link{background:#fffdf43d;border:0;border-bottom:1px solid #8b9785;color:var(--club-ink);border-radius:0;padding:11px 2px;font-size:15px;box-shadow:none}#dialog input::placeholder{color:#7b8475}#dialog .field-label>select option{background:#f5f0dd;color:#18332a}#dialog .field-label input:focus,#dialog .field-label select:focus{outline:2px solid #b98124;outline-offset:3px}#dialog .nickname-counter{color:#69765f}#dialog legend{color:#294733}#dialog .rank-tabs{border:0;border-radius:0;background:none;gap:0;padding:0;border-bottom:1px solid var(--club-line)}#dialog .rank-tabs>button{color:#65705e;border-radius:0;position:relative;min-height:44px;padding:10px 6px;font-size:12px}#dialog .rank-tabs>button.active{background:none;color:var(--club-ink);font-weight:750;box-shadow:inset 0 -3px #c8932e}#dialog .screen-label{color:#67745e;font-size:11px;letter-spacing:.4px;font-weight:600}#dialog[data-kind=account]{width:420px;padding:30px}#dialog .auth-heading{align-items:center;gap:12px;margin:0 0 20px}#dialog .auth-heading .modal-emblem{display:none}#dialog .auth-heading small{font-weight:650;letter-spacing:.8px;color:#617259}#dialog .auth-heading h2{font-size:36px;margin:5px 0 0}#dialog .auth-tabs{margin-top:0}#dialog .auth-divider{color:#77826c;margin:17px 0 12px}#dialog .auth-divider:before,#dialog .auth-divider:after{background:#c4c8b6}#dialog .guest-entry{border:0;border-radius:0;background:transparent;color:#294733;border-bottom:1px solid #8c9c7d;margin-top:13px;font-weight:650}#dialog .google-unavailable{color:#5b6a5e;border-color:#a5ae99;background:#faf8ed}#dialog .google-button small{color:#66765d}#dialog .account-name{color:#5d744d}#dialog .recovery-copy{margin-top:10px}#dialog .recovery-done{margin-top:18px}#dialog[data-kind=solo]{width:570px;padding:30px 30px 27px}.solo-heading{padding-right:20px}.solo-heading p{font-size:13px;color:#5b6a5e;margin:0 0 19px}.solo-roster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 24px}.solo-rival{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:8px 4px 12px;cursor:pointer;border-bottom:3px solid transparent}.solo-rival input{position:absolute;inset:0;opacity:0;cursor:pointer;z-index:3}.solo-portrait{display:block;position:relative;height:150px;width:100%;isolation:isolate}.solo-portrait:before{content:"";position:absolute;inset:36% 9% 1%;background:#dddcc6;z-index:-1;clip-path:polygon(12% 0,100% 0,88% 100%,0 100%)}.solo-portrait img{display:block;position:relative;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 3px #102d191c);transition:transform .18s}.solo-rival strong{font-size:16px;line-height:1.3;margin-top:9px;color:#1e3b2b}.solo-rival small{font-size:10px;color:#68755c;margin-top:4px}.rival-selected{position:absolute;top:9px;right:7px;color:#203026;display:none}.rival-selected .icon{width:17px;height:17px}.solo-rival:has(input:checked){border-bottom-color:#a77925}.solo-rival:has(input:checked) .solo-portrait:before{background:#edb944}.solo-rival:has(input:checked) .solo-portrait img{transform:translateY(-4px)}.solo-rival:has(input:checked) .rival-selected{display:block}.solo-rival:has(input:focus-visible){outline:2px solid #a77925;outline-offset:2px}#dialog .solo-start{margin-top:0}#dialog[data-kind=lobby]{width:510px}.lobby-heading{display:flex;align-items:center;justify-content:space-between;min-height:135px;margin:-8px -4px 9px}.lobby-heading>div{flex:1;padding-top:14px}.lobby-heading h2{font-size:35px!important;max-width:200px}.lobby-heading>img{width:145px;height:145px;object-fit:contain;margin-right:8px;filter:drop-shadow(0 7px 4px #19332620)}.lobby-tabs{display:flex;gap:24px;border-bottom:1px solid #bcc6ad;margin-bottom:22px}.lobby-tabs>button{position:relative;flex:1;min-height:48px;padding:8px 0;border-radius:0;color:#65725b;font-size:14px;text-align:left}.lobby-tabs>button[aria-pressed=true]{color:#193728;font-weight:750;box-shadow:inset 0 -3px #bc882a}#dialog .ranked-controls{margin:0;padding:0;border:0;background:none;border-radius:0}.time-control-line{display:flex;align-items:center;justify-content:space-between;margin:26px 0 20px}.time-control-line>label{font-size:14px;color:#5b6a5e}.time-control-line>select{appearance:auto;background:transparent;border:0;border-bottom:2px solid #a0ac94;padding:6px 13px 6px 5px;color:#18332a;font:750 32px/1.2 var(--font);width:140px;border-radius:0}.time-control-line option{font-size:18px;background:#f5f0dd;color:#18332a}.ranked-explainer{display:flex;gap:10px;align-items:flex-start;color:#5b6a5e;font-size:12px;line-height:1.7;padding:16px 0 25px}.ranked-explainer>.icon{color:#9d7026;width:19px;height:19px;margin-top:2px}.friend-controls{padding:7px 0}.friend-controls .rating-note{margin:6px 0 18px}.friend-controls .join-room-details{margin-top:23px;border-color:#bdc8b1}.friend-controls summary{color:#536b47;font-size:12px}.friend-controls #room-code{letter-spacing:2px;font-size:20px}#dialog[data-kind=rankings]{width:660px}.ranking-heading,.store-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:125px;margin:-9px 4px 10px 0}.ranking-heading img{width:115px;height:125px;object-fit:contain}.ranking-heading h2,.store-heading h2{font-size:38px!important;margin:6px 0 0!important}.ranking-table{margin:18px 0 0;max-height:340px}.ranking-table th{color:#627256;border-bottom:1px solid #a7b899;padding:12px 8px}.ranking-table td{border-bottom:1px solid #cbd3bc;color:#263e2d;padding:14px 8px}.ranking-table td:first-child{font-size:19px;color:#957024}.ranking-table td:nth-child(3){color:#263e2d}.ranking-table td small{color:#6d7b62}.ranking-table tr.mine{background:#e5d6a3}.ranking-table td:nth-child(2){max-width:none}.rank-person{display:flex;align-items:center;gap:9px}.rank-person>img{width:34px;height:34px;object-fit:contain;border-radius:0}.rank-person>span{min-width:0}#dialog .empty-ranking{padding:27px 15px 20px;color:#65715d}#dialog .empty-ranking strong{font-size:18px;color:#24402d}.empty-ranking .icon{display:none}.rank-empty-art{display:block;width:115px;height:115px;object-fit:contain;margin:0 auto 12px}.empty-ranking .text-button{margin:15px auto 0;font-weight:700}.country-filter{display:flex!important;align-items:center;justify-content:space-between;gap:20px}.country-filter>select{max-width:250px}#dialog .league-hero{padding:15px 0;background:none;border:0;border-radius:0;border-bottom:1px solid #c5ccb6}.league-hero strong{font-family:var(--font);font-size:30px;font-weight:750;color:#28402b}.league-hero>span{color:#856529}.league-hero>.icon{color:#a47a2c}#dialog .rating-note{font-size:11px;line-height:1.65}.store-heading img{width:138px;height:138px;object-fit:contain}#dialog[data-kind=store]{width:600px}.theme-store{gap:24px 18px;margin-top:15px}.theme-product{border:0;border-radius:0;background:none;padding:0 0 13px;text-align:left;box-shadow:none}.theme-product.selected{border:0;box-shadow:none;border-bottom:3px solid #aa7c26}.theme-preview{border-radius:0;aspect-ratio:1.5;box-shadow:0 5px #a99b78;transform:perspective(500px) rotateX(7deg);margin:5px 0 18px}.theme-product-line{display:flex;justify-content:space-between;align-items:center;gap:10px}.theme-product-line strong{margin:0;font-size:14px;color:#27412d}.theme-product-line .icon{width:16px;height:16px;color:#84642b}.theme-product small{color:#6e7d60;margin-top:4px}.shop-footnote{border-top:1px solid #c9cbb6;margin:22px 0 0;padding-top:16px}#dialog .option-card{border:0;border-bottom:1px solid #c5cbb5;border-radius:0;background:none;padding:15px 2px;gap:13px}#dialog .option-card:has(input:checked){background:#e9d9a7;border:0;border-bottom:1px solid #b78b32;padding-inline:10px}#dialog .option-card>.icon{color:#8f6a28}#dialog .option-card small{color:#64755b}#dialog .difficulty-options span{border:0;border-bottom:2px solid #bdc6b0;border-radius:0;color:#536c45}#dialog .difficulty-options input:checked+span{background:none;border-color:#a57728;color:#193728;font-weight:750}#dialog .rules-body strong{color:#173b27}#dialog .rules-body details{border-color:#bbc7aa}#dialog .rules-body summary{color:#425e36}body.is-matchmaking .game-header nav{visibility:hidden;pointer-events:none}body.is-matchmaking .game-main>footer{display:none}#matchmaking-screen{max-width:660px;margin:18px auto 35px}.matchmaking-card.club-duel{background:none;border:0;border-radius:0;box-shadow:none;padding:0 22px;text-align:left;overflow:visible}.club-duel:before{display:none}.duel-heading{position:relative;padding:13px 0 25px;border-bottom:1px solid #72876755}.duel-mode{display:inline-block;font-size:11px;letter-spacing:1px;color:#c4d4b9;text-transform:uppercase}.club-duel h2{font-size:44px;line-height:1.05;letter-spacing:-1.5px;margin:10px 0 18px;color:#f5f0dd;font-weight:800}.club-duel .matchmaking-meta{display:flex;gap:20px;max-width:none;margin:0!important;color:#c9d6bc!important;font-size:12px!important}.club-duel .matchmaking-meta span+span:before{content:"·";margin-right:20px;color:#d3ad58}.club-duel .matchmaking-players{position:relative;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);max-width:none;gap:10px;margin:27px 0 20px;padding:0}.duel-player{width:100%;text-align:center;position:relative}.club-duel .matchmaking-avatar{position:relative;border:0;border-radius:0;box-shadow:none;background:none;width:180px;max-width:100%;height:190px;isolation:isolate}.club-duel .matchmaking-avatar:before{content:"";position:absolute;z-index:-1;inset:37% 2% 0;background:#dcb247;clip-path:polygon(12% 0,100% 0,88% 100%,0 100%)}.club-duel .matchmaking-avatar>img{border-radius:0;object-fit:contain;height:100%;width:100%;filter:drop-shadow(0 8px 5px #061c1960)}.club-duel .matchmaking-avatar.searching{background:none;border:0;color:#849d86;box-shadow:none}.club-duel .searching:before{background:#294639}.club-duel .searching>.piece{width:100px;height:140px;filter:none;opacity:.6}.club-duel .searching>.piece g{fill:#597460;stroke:#91a88b}.club-duel .matchmaking-vs{align-self:center;width:auto;height:auto;border:0;background:none;box-shadow:none;margin:-35px 0 0;border-radius:0;color:#d7ae4a;font-size:30px;font-weight:850;letter-spacing:-1px;font-style:italic;transform:rotate(-8deg)}.club-duel .matchmaking-players strong{font-size:15px;max-width:220px;margin:15px auto 0;color:#f4efd9}.club-duel .matchmaking-players small{font-size:11px;color:#b0c3a4}.duel-search{display:flex;gap:22px;justify-content:space-between;align-items:center;border-top:1px solid #75896755;padding:23px 0 17px}.club-duel .matchmaking-status{font-size:12px;font-weight:400;display:block;line-height:1.6;margin:0;color:#b5c8ad}.club-duel .matchmaking-status:before{display:none}.duel-search-track{display:flex;gap:5px;margin-top:12px}.duel-search-track i{width:18px;height:5px;background:#d9b04d;animation:search-step 1.5s infinite;opacity:.25}.duel-search-track i:nth-child(2){animation-delay:.2s}.duel-search-track i:nth-child(3){animation-delay:.4s}.club-duel .matchmaking-timer{font-size:32px;line-height:1.1;letter-spacing:-.8px;color:#e7c25d;margin:0;white-space:nowrap}.club-duel .matchmaking-cancel{display:flex;width:auto;min-width:0;max-width:none;margin:18px 0 0;padding:10px 0;border:0;border-radius:0;border-bottom:1px solid #7f9881;background:none;color:#e1ead7;justify-content:flex-start;font-size:12px}.club-duel .matchmaking-cancel .icon{width:16px;height:16px}.club-duel .matchmaking-cancel:hover{background:none;color:#edc761}.duel-scan{position:absolute;inset:auto 12% 20%;height:2px;background:#8ba582;opacity:.5;animation:search-scan 2.4s ease-in-out infinite}@keyframes search-step{30%{opacity:1}}@keyframes search-scan{50%{transform:translateY(-75px);opacity:.1}}.result-overlay{background:none;border:0;border-radius:0;box-shadow:none;overflow:visible;padding:5px 25px 25px}.result-overlay::backdrop{background:#071c16e8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.result-emblem{width:190px;height:190px;border:0;border-radius:0;background:none!important;box-shadow:none;margin:0 auto 15px}.result-emblem img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 9px #0004)}.result-overlay h2{font-size:38px;letter-spacing:-1px;color:#f5f0dd}.result-overlay p{color:#c3d0b8;font-size:13px}.result-overlay .result-close{top:-8px;right:-5px;color:#ced9bd}.result-particles{z-index:0;inset:-80px -20px 0}.result-emblem,.result-overlay h2,.result-overlay p{position:relative;z-index:1}.result-overlay .primary-button{background:#edb944;color:#203026;border:0;border-radius:4px;box-shadow:0 3px #aa7726}@media(max-width:700px){#dialog{width:calc(100vw - 24px);padding:25px 23px;border-radius:4px;max-height:94dvh}#dialog h2{font-size:30px}#dialog[data-kind=account]{padding:27px 24px;width:calc(100vw - 24px)}#dialog .auth-heading h2{font-size:33px}#dialog[data-kind=lobby]{width:calc(100vw - 24px)}.lobby-heading{min-height:120px;margin:0 0 8px}.lobby-heading h2{font-size:31px!important}.lobby-heading img{width:125px;height:125px;margin:0}.lobby-tabs{gap:18px;margin-bottom:15px}.lobby-tabs>button{font-size:13px}.time-control-line{margin:20px 0 12px}.time-control-line>select{font-size:29px;width:120px}.ranked-explainer{font-size:11px;padding:13px 0 22px}#dialog[data-kind=solo]{padding:27px 20px 23px}.solo-heading p{font-size:12px}.solo-roster{gap:5px;margin:5px 0 21px}.solo-portrait{height:112px}.solo-rival strong{font-size:15px}.solo-rival small{font-size:9px}.rival-selected{top:3px;right:3px}.ranking-heading,.store-heading{min-height:108px;margin:0 0 10px}.ranking-heading img{width:95px;height:108px}.store-heading img{width:110px;height:115px}.ranking-heading h2,.store-heading h2{font-size:33px!important}#dialog .rank-tabs>button{font-size:10px;padding:9px 4px}.ranking-table th{font-size:9px;padding:10px 5px}.ranking-table td{font-size:11px;padding:12px 5px}.rank-person>img{width:28px;height:28px}.theme-store{gap:20px 14px}.theme-product-line strong{font-size:12px}.theme-preview{margin-bottom:14px}.theme-product small{font-size:10px}body.is-matchmaking .game-header nav{display:none}#matchmaking-screen{margin:13px auto 20px}.matchmaking-card.club-duel{padding:0 9px}.duel-heading{padding:12px 0 20px}.club-duel h2{font-size:37px;max-width:300px;margin-bottom:15px}.club-duel .matchmaking-players{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);gap:3px;margin:20px 0}.club-duel .matchmaking-avatar{width:145px;height:165px}.club-duel .searching>.piece{height:116px;width:85px}.club-duel .matchmaking-vs{font-size:26px;margin-top:-32px}.club-duel .matchmaking-players strong{font-size:13px;max-width:145px;margin-top:12px}.club-duel .matchmaking-players small{font-size:10px}.duel-search{gap:18px;padding:20px 0 10px}.club-duel .matchmaking-status{font-size:11px}.club-duel .matchmaking-timer{font-size:29px}.club-duel .matchmaking-cancel{min-height:44px;margin-top:15px}.result-overlay{width:calc(100vw - 40px)}.result-emblem{width:180px;height:180px}.result-overlay h2{font-size:35px}}@media(max-width:360px){#dialog{padding:24px 18px}#dialog[data-kind=account]{padding:24px 20px}.lobby-heading img{width:105px;height:110px}.lobby-heading h2{font-size:28px!important}.solo-portrait{height:95px}.solo-rival strong{font-size:13px}.solo-rival small{font-size:8px}.club-duel h2{font-size:33px}.club-duel .matchmaking-avatar{height:140px;width:125px}.club-duel .matchmaking-meta{font-size:11px!important}.club-duel .matchmaking-players strong{font-size:11px}.club-duel .matchmaking-status{font-size:10px}.club-duel .matchmaking-timer{font-size:26px}.duel-search{padding-top:17px}}@media(prefers-reduced-motion:reduce){.duel-search-track i,.duel-scan{animation:none}.solo-portrait img{transition:none}}#dialog{color-scheme:light}#dialog .auth-heading{justify-content:space-between;min-height:82px}#dialog .auth-club-art{width:84px;height:84px;object-fit:contain;margin-right:12px;margin-top:7px}#dialog .auth-heading>div{flex:1}.auth-heading .auth-club-art{flex-shrink:0}@media(max-width:360px){#dialog .auth-club-art{width:70px;height:70px;margin-right:4px}#dialog .auth-heading h2{font-size:29px}}#dialog>.dialog-close{z-index:20}#dialog header>img{pointer-events:none}.lobby-heading>img{margin-right:20px}#dialog .auth-divider,#dialog .auth-divider span,#dialog .nickname-counter,#dialog .google-button small{color:#52634f}#dialog .ranking-table td small,#dialog .ranking-table th,#dialog .theme-product small{color:#46583f}.square .rank,.square .file{color:#050805}#online-strip button[data-action=leave]{min-height:44px;display:inline-flex;align-items:center}#dialog .empty-ranking{padding-top:20px;padding-bottom:14px}#dialog .club-rules .rules-footnote{color:#52634f;opacity:1}#dialog .screen-label,#dialog .solo-rival small{color:#52634f}#dialog .promotion-options button{background:none;border:0;border-bottom:2px solid #a9b69c;border-radius:0;color:#18332a;padding:14px 4px}#dialog .promotion-options button:hover{background:#edb94455;border-color:#a77721}#dialog .promotion-options .piece.obsidian g{fill:#294335;stroke:#142b20}#dialog[data-kind=resign] .primary-button{background:#b85030;color:#fff8e9;box-shadow:0 3px #80391e}@media(max-width:360px){.game-main .online-strip{padding-top:5px;padding-bottom:5px}}#dialog,#dialog:has(.character-select){background:#f7f3e6;border:1px solid #e0e2d2;border-radius:16px;box-shadow:0 22px 65px #02150f70,inset 0 1px #ffffffa8}#dialog .primary-button{border:1px solid #dba940;border-radius:9px;background:#edbd4e;box-shadow:0 2px 3px #80602222}#dialog .primary-button:not(:disabled):hover{background:#f4c85f;box-shadow:0 3px 8px #80602222}#dialog[data-kind=resign] .primary-button{background:#b85030;border-color:#a8482a;color:#fff8e9}#dialog .field-label>input,#dialog .field-label>select{border-radius:3px 3px 0 0}#dialog[data-kind=new] .option-card small{color:#46583f}#online-strip button[data-action=copy]{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}.theme-preview{border-radius:6px}.theme-product-line strong{line-height:1.4}#matchmaking-screen{max-width:470px;margin:15px auto 25px}.matchmaking-card.modern-match{background:transparent;border:0;border-radius:0;box-shadow:none;padding:13px 30px 28px;text-align:center}.modern-match:before{display:none}.modern-match-heading{margin:0 0 16px}.queue-mode-label{font-size:10px;letter-spacing:1.4px;color:#b5cbb8;text-transform:uppercase}.modern-match h2{font-size:30px;font-weight:750;letter-spacing:-.8px;line-height:1.2;margin:10px 0 13px;color:#f4f0de}.modern-match .matchmaking-meta{display:flex;align-items:center;justify-content:center;gap:0;margin:0!important;max-width:none;font-size:11px!important;color:#bccfbd!important;line-height:1.4!important}.modern-match .matchmaking-meta>span{padding:5px 11px}.modern-match .matchmaking-meta>span+span{border-left:1px solid #a0b8a44a}.modern-match .matchmaking-players{display:block;margin:15px 0 18px;padding:0;max-width:none}.queue-self{display:flex;flex-direction:column;align-items:center}.modern-match .matchmaking-avatar{border:0;border-radius:0;background:none;box-shadow:none;isolation:isolate;position:relative;width:190px;height:205px;margin:0 auto}.modern-match .matchmaking-avatar:before{content:"";position:absolute;z-index:-1;left:11%;right:8%;bottom:0;height:50%;background:#e4b846;transform:skewY(-4deg);border-radius:4px}.modern-match .matchmaking-avatar>img{width:100%;height:100%;border-radius:0;object-fit:contain;filter:drop-shadow(0 9px 5px #00171033)}.modern-match .matchmaking-players strong{font-size:17px;font-weight:700;line-height:1.35;color:#f3f1e2;margin:18px 0 5px;max-width:100%;overflow-wrap:anywhere}.modern-match .matchmaking-players small{display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;color:#c6d4be;margin:0}.modern-match .matchmaking-players small>.icon{width:13px;height:13px;color:#dfbb5c}.queue-activity{display:flex;align-items:center;justify-content:center;gap:6px;margin:22px auto 12px;height:10px}.queue-activity>span{width:5px;height:5px;background:#dfbd60;border-radius:50%;animation:queue-dot 1.5s ease-in-out infinite}.queue-activity>span:nth-child(2){animation-delay:.18s}.queue-activity>span:nth-child(3){animation-delay:.36s}.modern-match .matchmaking-status{display:block;font-size:12px;font-weight:400;line-height:1.6;color:#b7cbb8;margin:0 auto 23px;max-width:280px}.modern-match .matchmaking-status:before{display:none}.queue-clock-line{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid #9eb5a02b;margin-top:12px}.queue-clock-line>span{font-size:11px;color:#aebfad}.modern-match .matchmaking-timer{font-size:25px;line-height:1.2;letter-spacing:.4px;font-weight:650;color:#f3e5b5;margin:0}.modern-match .matchmaking-cancel{display:flex;align-items:center;justify-content:center;width:100%;max-width:none;min-height:46px;padding:11px 16px;margin:14px 0 0;border:1px solid #8fa7905c;border-radius:10px;background:#c7d6be08;color:#e5ecdc;font-size:12px;font-weight:600;box-shadow:none}.modern-match .matchmaking-cancel:hover{background:#c7d6be14;border-color:#bbccad}.modern-match .matchmaking-cancel:focus-visible{outline-color:#edbd4e}@keyframes queue-dot{0%,70%,to{opacity:.3;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}@media(max-width:700px){#dialog,#dialog:has(.character-select){border-radius:15px}.matchmaking-card.modern-match{padding:11px 24px 24px}.modern-match h2{font-size:29px;margin:9px 0 11px}.modern-match .matchmaking-avatar{width:176px;height:183px}.modern-match .matchmaking-players{margin:13px 0 17px}.modern-match .matchmaking-players strong{font-size:16px;margin-top:16px}.queue-activity{margin-top:19px}.modern-match .matchmaking-status{font-size:11px;margin-bottom:18px}.queue-clock-line{padding:13px 0}.modern-match .matchmaking-timer{font-size:24px}.modern-match .matchmaking-cancel{margin-top:13px}}@media(max-width:360px){#matchmaking-screen{margin-top:8px}.matchmaking-card.modern-match{padding:4px 19px 18px}.modern-match h2{font-size:26px}.modern-match .matchmaking-avatar{width:152px;height:158px}.modern-match .matchmaking-players strong{font-size:14px;margin-top:12px}.modern-match .matchmaking-players{margin-bottom:11px}.queue-activity{margin-top:15px;margin-bottom:8px}.modern-match .matchmaking-status{margin-bottom:12px}.queue-clock-line{padding:11px 0;margin-top:8px}.modern-match .matchmaking-cancel{min-height:44px;margin-top:10px}}@media(prefers-reduced-motion:reduce){.queue-activity>span{animation:none}}#dialog[data-kind=profile-editor]:has(.character-select){background:#f7f3e6;border:1px solid #e0e2d2;border-radius:16px;box-shadow:0 22px 65px #02150f70,inset 0 1px #ffffffa8}#dialog[data-kind=profile-editor] .primary-button{border-radius:9px;border:1px solid #dba940;background:#edbd4e;box-shadow:0 2px 3px #80602222}#dialog[data-kind=new]{width:560px}.quick-game-heading{padding-right:32px;margin-bottom:21px}.quick-game-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:5px 0 24px}.quick-game-mode{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;min-height:178px;padding:12px 5px 15px;border:1px solid #d9dccb;border-radius:11px;background:#faf7ed;text-align:center;cursor:pointer;color:#18332a;isolation:isolate}.quick-game-mode input{position:absolute;inset:0;opacity:0;cursor:pointer;z-index:3}.quick-mode-art{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:105px;pointer-events:none}.quick-mode-art img{display:block;max-width:100%;width:105px;height:105px;object-fit:contain;filter:drop-shadow(0 3px 3px #19332820)}.quick-local-art img{position:absolute;width:72px;height:88px;bottom:0;left:0}.quick-local-art img+img{left:auto;right:0;bottom:8px}.quick-game-mode strong{font-size:15px;line-height:1.3;margin:9px 0 3px;font-weight:750}.quick-game-mode small{font-size:10px;color:#60705a;line-height:1.4}.quick-game-mode:has(input:checked){background:#f7eac6;border-color:#bb933b;box-shadow:inset 0 -3px #d0a644}.quick-game-mode:has(input:focus-visible){outline:2px solid #89631e;outline-offset:3px}.quick-mode-check{display:none;position:absolute;right:7px;top:7px;color:#755820}.quick-mode-check .icon{width:15px;height:15px}.quick-game-mode:has(input:checked) .quick-mode-check{display:block}.quick-online>.icon{position:absolute;right:7px;top:7px;width:15px;height:15px;color:#315a50}.quick-online{background:#eaf0e7;border-color:#c3d1c4}.quick-online:hover{background:#e0eadb}.quick-game-heading h2{margin-top:4px!important}#dialog[data-kind=new] #difficulty-options{margin-bottom:22px}#dialog[data-kind=new] #difficulty-options legend{font-size:11px;font-weight:600;margin-bottom:7px}#dialog .time-control-line{gap:12px}#dialog .time-control-line>select{width:180px;min-width:150px;font-size:25px;padding:6px 3px}#dialog .time-control-note{font-size:11px;line-height:1.6;color:#52634f;margin:-6px 0 7px}.time-control-line>label{flex:1}@media(max-width:700px){.quick-game-modes{gap:9px;margin-bottom:20px}.quick-game-mode{padding:11px 3px 13px;min-height:154px}.quick-mode-art{height:91px}.quick-mode-art img{width:91px;height:91px}.quick-local-art img{width:61px;height:76px}.quick-game-mode strong{font-size:13px;margin-top:7px}.quick-game-mode small{font-size:9px}#dialog .time-control-line>select{font-size:23px;width:169px}#dialog .time-control-note{font-size:10px}}@media(max-width:360px){.quick-game-modes{gap:7px}.quick-game-mode{min-height:145px}.quick-mode-art{height:82px}.quick-mode-art img{height:82px;width:82px}.quick-local-art img{width:53px;height:69px}.quick-game-mode strong{font-size:12px}.quick-game-mode small{font-size:8px}#dialog .time-control-line>select{font-size:21px;min-width:144px;width:154px}}#dialog[data-kind=rankings] .ranking-heading{min-height:74px;margin:0 28px 5px 0;gap:12px}#dialog[data-kind=rankings] .ranking-heading img{width:72px;height:74px}#dialog[data-kind=rankings] .ranking-heading h2{font-size:28px!important;letter-spacing:-.6px;margin:5px 0 0!important}#dialog[data-kind=rankings] .ranking-heading .screen-label{font-size:10px}#dialog[data-kind=rankings] .rank-tabs{margin:8px 0 10px}#dialog[data-kind=rankings] .league-hero{padding:7px 0 10px;margin:0;gap:9px;border-bottom:0}#dialog[data-kind=rankings] .league-hero strong{font-size:26px;line-height:1.2}#dialog[data-kind=rankings] .league-hero>.icon{width:23px;height:23px}#dialog[data-kind=rankings] .league-hero>span{font-size:11px;white-space:nowrap}.league-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;padding:0 0 12px;border-bottom:1px solid var(--club-line);font-size:10px;line-height:1.5;color:#586752}.league-meta time{white-space:nowrap}.league-meta>span{font-weight:600}#dialog[data-kind=rankings] .league-meta+.ranking-table{margin-top:9px}#dialog[data-kind=rankings] .league-scoring-note{font-size:10px;margin:12px 0 0;line-height:1.5}@media(max-width:360px){#dialog[data-kind=rankings] .ranking-heading{min-height:64px}#dialog[data-kind=rankings] .ranking-heading img{width:63px;height:64px}#dialog[data-kind=rankings] .ranking-heading h2{font-size:26px!important}.league-meta{font-size:9px;gap:4px 8px}}.brand>.brand-icon{display:block;width:40px;height:40px;flex:0 0 40px;object-fit:contain;border-radius:10px}@media(max-width:700px){.brand>.brand-icon{width:34px;height:34px;flex-basis:34px;border-radius:8px}}#dialog[data-kind=profile-editor],#dialog:has(.character-select){position:fixed;inset:0;width:min(820px,calc(100vw - 48px));max-width:none;max-height:90dvh;margin:auto;padding:30px 34px 28px;overflow-y:auto;border:0;border-radius:3px;background:#f5f0dd;color:#18332a;box-shadow:0 25px 80px #061a1666;scrollbar-color:#8c9c85 #ece6d1;overscroll-behavior:contain}#dialog:has(.character-select)::backdrop{background:#102720cc;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}#dialog:has(.character-select)>.dialog-close{top:12px;right:12px;color:#18332a;width:44px;height:44px;border-radius:0;background:none}#dialog:has(.character-select)>.dialog-close:hover{background:#18332a0b}#dialog:has(.character-select)>.dialog-close:focus-visible{outline:2px solid #18332a;outline-offset:0}.character-select.profile-editor{display:block;min-width:0;color:#18332a;font-family:var(--font);gap:0}.character-heading{margin:0 44px 22px 0;padding:0;display:block}.character-heading h2,.character-select #dialog-title{font-family:var(--font);font-size:32px;line-height:1.12;font-weight:750;letter-spacing:-1.2px;color:#18332a;margin:0;padding:0}.character-select .character-form{display:grid;grid-template-columns:220px minmax(0,1fr);column-gap:34px;row-gap:23px;min-width:0;margin:0;padding:0}.character-stage{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:stretch;gap:20px;min-width:0;margin:0;padding:4px 0 16px}.character-select .character-portrait.profile-preview{position:relative;isolation:isolate;display:grid;place-items:center;width:200px;height:200px;max-width:100%;padding:0;margin:0;overflow:visible;border:0;border-radius:0;background:none;box-shadow:none}.character-select .character-portrait:before{content:"";position:absolute;left:9%;right:6%;bottom:6px;height:53%;background:#edb944;z-index:-1;transform:skewY(-5deg)}.character-select .character-portrait>img.avatar-photo{display:block;width:100%;height:100%;object-fit:contain;border-radius:0;filter:drop-shadow(0 4px 1px #18332a0d)}.character-select .character-portrait.is-photo{width:188px;height:188px;overflow:hidden;margin:16px 0}.character-select .character-portrait.is-photo:before{display:none}.character-select .character-portrait.is-photo>img{object-fit:cover}.character-name{max-width:210px;font-size:22px;font-weight:750;line-height:1.15;letter-spacing:-.6px;text-align:center;color:#18332a;overflow-wrap:anywhere;margin:0}.character-details{grid-column:2;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr);gap:20px;min-width:0;align-content:start}.character-identity{display:grid;grid-template-columns:minmax(0,1fr) 112px;column-gap:18px;align-items:start;min-width:0}.character-nickname{position:relative;min-width:0}.character-select .field-label{display:block;font-size:11px;font-weight:650;line-height:1.4;color:#4f6357;margin:0;padding:0}.character-select .field-label>input,.character-select .field-label>select{display:block;width:100%;min-width:0;min-height:43px;height:43px;padding:8px 0 7px;margin-top:4px;border:0;border-bottom:2px solid #18332a45;border-radius:0;background:transparent;color:#18332a;box-shadow:none;font-family:var(--font);font-size:15px;font-weight:600;line-height:1.4;accent-color:#18332a}.character-select .field-label>select{font-size:12px;font-weight:500;padding-right:2px;color-scheme:light}.character-select .field-label>select option{background:#f5f0dd;color:#18332a}.character-select .field-label>input:focus,.character-select .field-label>select:focus{border-bottom-color:#18332a;outline:2px solid #edb944;outline-offset:3px}.character-select .nickname-counter{position:absolute;top:0;right:0;margin:0;font-size:10px;font-weight:500;color:#627363;line-height:1.4;text-align:right}.character-select .nickname-counter.invalid,.character-select .nickname-counter[data-overlimit=true]{color:#a14225}.character-roster{min-width:0}.character-roster-label{display:block;font-size:11px;font-weight:650;line-height:1.4;color:#4f6357;margin:0 0 7px}.character-select .avatar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;max-width:none;margin:0;padding:0;min-width:0}.character-select .avatar-option{position:relative;isolation:isolate;display:grid;place-items:center;min-width:0;min-height:44px;height:79px;aspect-ratio:auto;padding:2px 3px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;transition:background .15s,transform .15s}.character-select .avatar-option:before{content:"";position:absolute;inset:10px 1px 0;z-index:-1;background:transparent}.character-select .avatar-option:after{display:none;content:none}.character-select .avatar-option>img{display:block;width:100%;height:75px;min-width:0;max-width:100%;object-fit:contain;border-radius:0;filter:none}.character-select .avatar-option:hover{background:none;box-shadow:none;transform:translateY(-2px)}.character-select .avatar-option:hover:before{background:#18332a0b}.character-select .avatar-option[aria-pressed=true],.character-select .avatar-option.selected{background:none;border:0;box-shadow:none;transform:none}.character-select .avatar-option[aria-pressed=true]:before,.character-select .avatar-option.selected:before{background:#edb944}.character-check{display:none;position:absolute;right:1px;bottom:0;width:17px;height:17px;background:#18332a;color:#f5f0dd}.character-select .avatar-option[aria-pressed=true]>.character-check{display:grid;place-items:center}.character-check>.icon{width:12px;height:12px;stroke-width:2.2}.character-select .avatar-option:focus-visible{outline:2px solid #18332a;outline-offset:3px}.character-select button:focus-visible{outline:2px solid #18332a;outline-offset:3px}.character-select .avatar-option:disabled{cursor:wait;opacity:.55}.character-photo-action{min-width:0;padding-top:1px}.character-select .profile-upload{position:relative;display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;width:auto;min-width:0;min-height:36px;padding:5px 0;margin:0;border:0;border-radius:0;background:none;color:#18332a;text-align:left;font-size:12px;font-weight:650;line-height:1.5;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;cursor:pointer}.character-select .profile-upload:hover{background:none;color:#9b4c2a}.character-select .profile-upload>.icon{width:17px;height:17px}.character-select .profile-upload:focus-within{outline:2px solid #18332a;outline-offset:4px}.character-select .profile-upload:has(input:disabled){opacity:.55;cursor:wait}.character-select .rating-note{font-size:10px;font-weight:400;line-height:1.5;color:#647263;margin:1px 0 0;max-width:335px}.character-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:20px;flex-wrap:wrap;margin:0;padding:17px 0 0;border-top:1px solid #18332a22}.character-footer .form-error{flex-basis:100%;order:-1;color:#a14225;font-size:12px;line-height:1.5;margin:0;min-height:0;padding:0}.character-footer .form-error:empty{display:none}.character-select .character-submit.primary-button{display:flex;align-items:center;justify-content:space-between;gap:28px;width:auto;min-width:235px;min-height:48px;padding:12px 18px;margin:0;border:0;border-radius:2px;background:#edb944;color:#18332a;box-shadow:none;font-family:var(--font);font-size:14px;font-weight:750;line-height:1.4}.character-select .character-submit.primary-button:hover{background:#f3c75e;box-shadow:none}.character-select .character-submit.primary-button:disabled{background:#d9cfac;color:#5a6654;cursor:wait}.character-select .character-submit.primary-button>.icon{width:18px;height:18px}.character-select #profile-account{order:-1;display:inline-flex;align-items:center;min-height:44px;padding:7px 0;margin:0;color:#4f6357;font-size:12px;line-height:1.5;text-decoration:underline;text-underline-offset:4px}.character-select #profile-account:hover{color:#18332a}.character-select #profile-account:disabled{opacity:.5;cursor:wait}@media(max-width:700px){#dialog[data-kind=profile-editor],#dialog:has(.character-select){inset:auto 0 0;width:100%;max-width:none;max-height:90dvh;margin:0;padding:21px 20px max(18px,env(safe-area-inset-bottom));border:0;border-radius:0;box-shadow:0 -12px 60px #061a1659}#dialog:has(.character-select)>.dialog-close{top:9px;right:8px}.character-select.profile-editor{display:block;gap:0}.character-heading{margin:0 35px 14px 0}.character-heading h2,.character-select #dialog-title{font-size:28px;line-height:1.12;letter-spacing:-.9px;margin:0;padding:0}.character-select .character-form{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.character-stage{grid-column:1;grid-row:1;display:grid;grid-template-columns:122px minmax(0,1fr);align-items:center;justify-items:center;column-gap:20px;min-height:122px;gap:0 20px;margin:0;padding:0 8px}.character-select .character-portrait.profile-preview{width:122px;height:122px;max-width:100%;margin:0;border:0;border-radius:0;background:none;box-shadow:none}.character-select .character-portrait.is-photo{width:108px;height:108px;margin:7px 0}.character-name{font-size:21px;line-height:1.15;letter-spacing:-.6px;text-align:left;justify-self:start;max-width:170px}.character-details{grid-column:1;grid-row:2;gap:13px}.character-identity{grid-template-columns:minmax(0,1fr) 108px;gap:16px}.character-select .field-label{font-size:11px;line-height:1.4;margin:0}.character-select .field-label>input,.character-select .field-label>select{height:42px;min-height:42px;margin-top:1px;padding:8px 0 6px;font-size:16px}.character-select .field-label>select{font-size:12px}.character-select .nickname-counter{font-size:10px}.character-roster-label{font-size:10px;margin-bottom:5px}.character-select .avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 7px;max-width:350px;width:100%;margin:0 auto}.character-select .avatar-option{height:64px;min-height:44px;padding:0 2px;border:0;border-radius:0}.character-select .avatar-option>img{height:64px;border-radius:0}.character-select .avatar-option:before{inset:8px 2px 0}.character-select .avatar-option[aria-pressed=true]:after{display:none}.character-check{right:2px;width:16px;height:16px}.character-photo-action{padding:0}.character-select .profile-upload{font-size:11px;min-height:32px;padding:4px 0}.character-select .rating-note{font-size:9px;line-height:1.4;margin:0;max-width:none}.character-footer{grid-column:1;gap:7px 15px;justify-content:space-between;padding-top:12px;margin:0}.character-select .character-submit.primary-button{min-height:46px;min-width:0;flex:1;max-width:100%;padding:11px 16px;font-size:14px;margin:0}.character-select #profile-account{font-size:11px;min-height:44px;padding:5px 0}.character-footer .form-error{font-size:11px}}@media(max-width:360px){#dialog[data-kind=profile-editor],#dialog:has(.character-select){padding:19px 16px max(16px,env(safe-area-inset-bottom))}.character-heading h2,.character-select #dialog-title{font-size:26px}.character-heading{margin-bottom:12px}.character-stage{grid-template-columns:106px minmax(0,1fr);column-gap:15px;min-height:110px;padding-inline:3px}.character-select .character-portrait.profile-preview{width:110px;height:110px}.character-select .character-portrait.is-photo{width:98px;height:98px;margin:6px 0}.character-name{font-size:19px}.character-select .character-form{gap:12px}.character-details{gap:11px}.character-identity{grid-template-columns:minmax(0,1fr) 94px;gap:13px}.character-select .avatar-grid{gap:3px 5px}.character-select .avatar-option,.character-select .avatar-option>img{height:58px}.character-select .character-submit.primary-button{font-size:13px;padding-inline:13px}.character-select .rating-note{font-size:9px}}@media(prefers-reduced-motion:reduce){.character-select .avatar-option{transition:none}.character-select .avatar-option:hover{transform:none}}.rules-guide{--guide-paper:#f7f3e6;--guide-ink:#18332a;--guide-gold:#edb944;--guide-line:#d9d2bd;color:var(--guide-ink);font-family:var(--font)}.rules-guide [hidden]{display:none!important}.rules-guide .guide-heading{display:flex;align-items:center;gap:10px;margin:0 0 18px;padding-right:44px}.rules-guide #dialog-title{flex:1;min-width:0;font-family:var(--font);font-size:27px;font-weight:750;line-height:1.15;letter-spacing:-.8px;margin:0}.rules-guide .guide-count{font-size:11px;font-weight:650;line-height:1;color:#6a796c;white-space:nowrap;font-variant-numeric:tabular-nums}.rules-guide .guide-step{display:block;animation:guide-appear .16s ease both}.rules-guide .guide-illustration{position:relative;display:flex;align-items:center;justify-content:center;min-height:222px;background:#eee9d9;border:1px solid #e0d8c2;border-radius:12px;overflow:hidden;isolation:isolate}.rules-guide .guide-roll-illustration{flex-direction:column;gap:17px;background:#f0ead8}.rules-guide .guide-dice-set{display:flex;align-items:center;justify-content:center;gap:18px;padding-top:15px}.rules-guide .guide-die-item{display:flex;flex-direction:column;align-items:center;gap:16px;font-size:12px;font-weight:650;color:#536658}.rules-guide .guide-die{position:relative;display:grid;place-items:center;width:78px;height:78px;border:1px solid #fffaf0;border-radius:15px;background:linear-gradient(140deg,#fffef8,#f7edcd);box-shadow:0 7px #c7b98f,0 12px 17px #655b3520}.rules-guide .guide-die-item-0 .guide-die{transform:rotate(-9deg)}.rules-guide .guide-die-item-1{transform:translateY(-9px)}.rules-guide .guide-die-item-2 .guide-die{transform:rotate(9deg)}.rules-guide .guide-die>.piece{width:56px;height:56px;filter:none}.rules-guide .guide-die>.piece g{fill:var(--guide-ink);stroke:var(--guide-ink);stroke-width:1}.rules-guide .guide-die>i{position:absolute;width:4px;height:4px;background:#9c9a77;border-radius:50%;top:9px;left:9px}.rules-guide .guide-die>i+i{inset:auto 9px 9px auto}.rules-guide .guide-three-dice{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:#6a775d;padding-bottom:6px}.rules-guide .guide-copy{text-align:center;min-height:83px;margin:17px auto 0;max-width:340px}.rules-guide .guide-copy h3{font-family:var(--font);font-size:23px;font-weight:750;letter-spacing:-.5px;line-height:1.2;margin:0 0 8px;color:var(--guide-ink)}.rules-guide .guide-copy p{font-size:14px;line-height:1.55;margin:0;color:#536658;text-wrap:pretty}.rules-guide .guide-board-example{display:flex;align-items:center;justify-content:center;gap:19px;padding:11px 13px}.rules-guide .guide-board-wrap{display:grid;grid-template-columns:14px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 14px;gap:5px;width:200px;height:200px}.rules-guide .guide-grid{position:relative;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);grid-column:2;grid-row:1;border-radius:5px;overflow:hidden;box-shadow:0 3px #c7c5b3;outline:1px solid #18332a35;isolation:isolate}.rules-guide .guide-square{display:grid;place-items:center;position:relative;min-width:0;min-height:0;background:#e4e5ce}.rules-guide .guide-square-dark{background:#83a08a}.rules-guide .guide-square.guide-source{background:#ddcd8b}.rules-guide .guide-square.guide-target{background:#efc65a;box-shadow:inset 0 0 0 3px #c28d1e}.rules-guide .guide-square>.piece{position:relative;width:85%;height:85%;z-index:3;filter:drop-shadow(0 2px 1px #153c2030)}.rules-guide .guide-square>.guide-piece-ghost{opacity:.25}.rules-guide .guide-ranks{display:grid;grid-template-rows:repeat(4,1fr);grid-column:1;grid-row:1;text-align:center}.rules-guide .guide-ranks>span{align-self:center}.rules-guide .guide-files{display:grid;grid-template-columns:repeat(4,1fr);grid-column:2;grid-row:2;text-align:center}.rules-guide .guide-files,.rules-guide .guide-ranks{font-size:10px;font-weight:700;line-height:14px;color:#627464}.rules-guide .guide-move-line{position:absolute;inset:0;width:100%;height:100%;z-index:2;color:#a9750d;pointer-events:none}.rules-guide .guide-board-note{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:72px;flex-shrink:0;text-align:center}.rules-guide .guide-board-note>strong{font-size:13px;line-height:1.3;font-weight:750;white-space:nowrap}.rules-guide .guide-mini-die{display:grid;place-items:center;width:49px;height:49px;background:#fffcf1;border:1px solid #e7dcc1;border-radius:9px;box-shadow:0 4px #d4c7a3;transform:rotate(7deg)}.rules-guide .guide-mini-die>.piece{width:36px;height:36px;filter:none}.rules-guide .guide-notation{font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;color:#627464;line-height:1.1}.rules-guide .guide-notation>.icon{width:17px;height:17px;transform:rotate(-90deg);margin:3px 0;color:#b48620}.rules-guide .guide-win-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--guide-gold);color:var(--guide-ink)}.rules-guide .guide-win-icon>.icon{width:32px;height:32px;stroke-width:1.8}.rules-guide .guide-navigation{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;height:44px;margin:12px 0 10px}.rules-guide .guide-arrow{display:grid;place-items:center;width:44px;height:44px;padding:0;min-height:44px;border:1px solid #c6c4b0;border-radius:9px;background:transparent;color:var(--guide-ink)}.rules-guide .guide-arrow>.icon{width:21px;height:21px}.rules-guide .guide-prev>.icon{transform:rotate(180deg)}.rules-guide .guide-next{background:var(--guide-gold);border-color:#d4a333}.rules-guide .guide-arrow:not(:disabled):hover{background:#ead699}.rules-guide .guide-arrow:disabled{opacity:.3}.rules-guide .guide-dots{display:flex;align-items:center;justify-content:center}.rules-guide .guide-dot{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:none}.rules-guide .guide-dot>span{width:7px;height:7px;border-radius:50%;background:#b9c1af;transition:width .14s ease,background .14s ease}.rules-guide .guide-dot[aria-current=step]>span{width:23px;border-radius:4px;background:var(--guide-ink)}.rules-guide .guide-dot:hover>span{background:#638373}.rules-guide .guide-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.rules-guide .guide-finish{display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;margin:9px 0 13px;border:1px solid #d4a333;border-radius:9px;box-shadow:none;background:var(--guide-gold);color:var(--guide-ink);font:700 13px var(--font)}.rules-guide .guide-finish:hover{box-shadow:none;background:#f4c75b}.rules-guide .guide-special{margin-top:17px;border-top:1px solid var(--guide-line);border-bottom:0}.rules-guide .guide-special>summary{display:list-item;min-height:44px;padding:13px 0 10px;font-size:12px;font-weight:600;color:#637464}.rules-guide .guide-special>p{font-size:12px;line-height:1.7;padding:8px 0 10px;opacity:1;color:#526457}.rules-guide .guide-special .rules-footnote{font-size:11px;margin:0;padding-bottom:0;color:#6a796c}.rules-guide button:focus-visible,.rules-guide summary:focus-visible{outline:3px solid #b88415;outline-offset:3px}@keyframes guide-appear{0%{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}@media(max-width:700px){.rules-guide .guide-heading{margin-bottom:16px}.rules-guide #dialog-title{font-size:25px}.rules-guide .guide-illustration{min-height:214px}.rules-guide .guide-dice-set{gap:15px}.rules-guide .guide-die{width:70px;height:70px;border-radius:14px}.rules-guide .guide-die>.piece{width:50px;height:50px}.rules-guide .guide-board-wrap{width:190px;height:190px}.rules-guide .guide-board-example{gap:13px;padding:11px 9px}.rules-guide .guide-board-note{width:65px}.rules-guide .guide-copy{min-height:81px;margin-top:15px}.rules-guide .guide-copy h3{font-size:22px}.rules-guide .guide-copy p{font-size:13px;line-height:1.55}}@media(max-width:360px){.rules-guide #dialog-title{font-size:23px}.rules-guide .guide-heading{gap:7px;padding-right:44px}.rules-guide .guide-count{font-size:10px}.rules-guide .guide-dice-set{gap:12px}.rules-guide .guide-die{width:58px;height:58px;border-radius:12px}.rules-guide .guide-die>.piece{width:43px;height:43px}.rules-guide .guide-die-item{font-size:11px;gap:13px}.rules-guide .guide-board-wrap{width:168px;height:168px}.rules-guide .guide-board-example{gap:9px;padding:10px 6px}.rules-guide .guide-board-note{width:57px}.rules-guide .guide-board-note>strong{font-size:12px}.rules-guide .guide-win-icon{width:47px;height:47px}.rules-guide .guide-win-icon>.icon{width:27px;height:27px}.rules-guide .guide-copy h3{font-size:21px}.rules-guide .guide-navigation{gap:3px}}@media(max-height:650px)and (max-width:700px){.rules-guide .guide-heading{margin-bottom:11px}.rules-guide .guide-illustration{min-height:154px}.rules-guide .guide-board-wrap{width:142px;height:142px;grid-template-columns:11px 1fr;grid-template-rows:1fr 11px;gap:4px}.rules-guide .guide-files,.rules-guide .guide-ranks{font-size:8px;line-height:11px}.rules-guide .guide-board-example{padding:5px 7px;gap:15px}.rules-guide .guide-board-note{gap:5px}.rules-guide .guide-mini-die{width:39px;height:39px}.rules-guide .guide-mini-die>.piece{width:30px;height:30px}.rules-guide .guide-notation{font-size:10px}.rules-guide .guide-notation>.icon{width:14px;height:14px;margin:1px 0}.rules-guide .guide-dice-set{padding-top:12px}.rules-guide .guide-roll-illustration{gap:7px}.rules-guide .guide-die{width:58px;height:58px}.rules-guide .guide-die>.piece{width:43px;height:43px}.rules-guide .guide-three-dice{font-size:9px;padding-bottom:3px}.rules-guide .guide-die-item{gap:13px;font-size:10px}.rules-guide .guide-copy{margin-top:12px;min-height:77px}.rules-guide .guide-copy h3{font-size:20px;margin-bottom:6px}.rules-guide .guide-copy p{font-size:12px;line-height:1.5}.rules-guide .guide-navigation{margin-top:8px;margin-bottom:6px}.rules-guide .guide-special{margin-top:11px}.rules-guide .guide-finish{min-height:44px;margin:7px 0 9px}}@media(prefers-reduced-motion:reduce){.rules-guide .guide-step{animation:none}.rules-guide .guide-dot>span{transition:none}}@media(display-mode:standalone),(display-mode:fullscreen){body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.topbar,.landing-header,.menu-header{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}}
