:root{color:#172033;font-synthesis:none;background:#f1f4f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 15% 0,#fff 0,#f4f7fb 38%,#ebf0f6 100%);min-width:320px;margin:0}button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}main{max-width:1320px;margin:auto;padding:26px 30px 46px}header{border-bottom:1px solid #dce3ec;justify-content:space-between;align-items:center;min-height:48px;padding-bottom:18px;display:flex}h1{color:#16294a;letter-spacing:.16em;margin:0;font-size:30px;line-height:1}h2{color:#33445c;letter-spacing:.08em;margin:0 0 11px;font-size:13px}.landing{min-height:100vh;padding:clamp(32px,10vh,112px) 30px;display:block}.landingContent{width:min(620px,100%);margin:0 auto}.landingHeader{border:0;min-height:0;padding:0;display:block}.landing h1{letter-spacing:.2em;font-size:clamp(34px,5vw,48px)}.landingTagline{color:#1d365a;letter-spacing:.02em;margin:28px 0 0;font-size:clamp(20px,2.6vw,26px);font-weight:750;line-height:1.45}.landingDescription{color:#5c6d83;max-width:500px;margin:12px 0 0;font-size:15px;line-height:1.75}.landingActions{align-items:center;gap:22px;margin-top:30px;display:flex}.startButton{color:#fff;letter-spacing:.08em;background:#2267ad;border:0;border-radius:10px;min-width:168px;padding:15px 24px;font-size:16px;font-weight:750;transition:transform .16s,background .16s;box-shadow:0 10px 20px #2267ad44}.startButton:hover{background:#185a9d;transform:translateY(-2px)}.rulesLink{color:#315f90;background:0 0;border:0;padding:10px 0;font-size:14px;font-weight:700}.rulesLink:hover{color:#174e85;text-underline-offset:4px;text-decoration:underline}.landingIllustration{color:#708096;margin-top:56px;font-size:13px}.landingIllustration p{letter-spacing:.04em;margin:12px 0 0}.miniBoard{background:repeating-conic-gradient(#edf3f8 0 25%,#dce7f0 0 50%) 0/68px 68px;border:1px solid #cdd8e5;border-radius:7px;grid-template-rows:repeat(3,34px);grid-template-columns:repeat(6,34px);width:204px;display:grid;position:relative;overflow:hidden;box-shadow:0 10px 24px #31587914}.miniBoard>*{z-index:1;place-items:center;font-size:20px;display:grid}.miniPiece{font-weight:700}.miniPiece.blue{color:#2267ad}.miniPiece.red{color:#bd5148}.miniPiece.pawn{grid-area:3/2}.miniPiece.king{grid-area:1/6}.miniObstacle{color:#68798c;grid-area:2/3;font-size:17px}.miniFog{color:#fff;background:#9aabba;border-radius:50%;grid-area:2/5;place-self:center;width:26px;height:26px;font-size:15px;font-weight:800;box-shadow:0 0 0 6px #9aabba33}.miniBoard .blue:first-child{grid-area:3/1}@media (width<=520px){.landing{padding:56px 24px}.landingActions{flex-direction:column;align-items:flex-start;gap:12px}.landingIllustration{margin-top:46px}.miniBoard{transform-origin:0 0;transform:scale(.9)}.landingIllustration p{margin-top:2px}}.gameMeta{align-items:center;gap:8px;display:flex}.sideBadge,.turnCounter{white-space:nowrap;border:1px solid #d6dee9;border-radius:999px;align-items:center;min-height:32px;padding:5px 11px;font-size:12px;font-weight:750;display:inline-flex}.sideBadge.p1{color:#15528e;background:#eff7ff;border-color:#b9d2ef}.sideBadge.p2{color:#9e352e;background:#fff1f0;border-color:#f0c4c0}.turnCounter{color:#526075;font-variant-numeric:tabular-nums;background:#fff}.turnCounter.urgent{color:#a12e28;background:#fff0ed;border-color:#e8aaa4}.iconButton{color:#38506c;background:#fff;border:1px solid #c7d3e0;border-radius:50%;place-items:center;width:32px;height:32px;margin:0;font-weight:800;display:grid}.iconButton:hover{background:#eef7ff;border-color:#70a2d1}.deploymentHeader,.turnPrompt{color:#52657d;justify-content:space-between;width:min(660px,100%);margin:16px auto 10px;font-size:13px;font-weight:750;display:flex}.turnPrompt{color:#31506f;border-left:3px solid #3278c4;justify-content:flex-start;padding:6px 10px}.turnPrompt.thinking{color:#9d4038;border-color:#c6544a}.winner{color:#705519;background:#fffaf0;border:1px solid #ebcf8f;border-radius:11px;width:min(680px,100%);margin:16px auto;padding:13px 16px;font-weight:650}.gameLayout{grid-template-columns:minmax(520px,1fr) 275px;align-items:start;gap:30px;display:grid}.boardColumn{justify-items:center;gap:12px;min-width:0;display:grid}.boardColumn.deploymentMode{grid-template-columns:auto auto;justify-content:center;align-items:center}.boardColumn.deploymentMode .deploymentPalette{flex-direction:column;grid-area:1/1}.boardColumn.deploymentMode .palettePieces{flex-direction:column}.boardColumn.deploymentMode .boardWrap{grid-area:1/2}.boardColumn.deploymentMode .deploymentHint{grid-column:1/-1}.boardWrap{background:#fff;border:1px solid #c7d3e0;border-radius:15px;width:fit-content;padding:16px;box-shadow:0 15px 38px #1b365715}.topLabels{color:#748399;letter-spacing:.08em;text-align:center;grid-template-columns:repeat(6,clamp(56px,8.6vw,86px));margin-left:32px;font-size:12px;font-weight:800;display:grid}.boardRow{display:flex}.sideLabels{color:#748399;grid-template-rows:repeat(6,clamp(56px,8.6vw,86px));place-items:center;width:32px;font-size:12px;font-weight:800;display:grid}.board{border:1px solid #b9c8d8;border-radius:9px;grid-template-rows:repeat(6,clamp(56px,8.6vw,86px));grid-template-columns:repeat(6,clamp(56px,8.6vw,86px));display:grid;overflow:hidden}.cell{background:#eef3f8;border:0;border-radius:0;place-items:center;margin:0;padding:0;transition:background .14s,box-shadow .14s;display:grid;position:relative}.cell.dark{background:#d8e2ed}.cell:hover:not(:focus-visible){outline-offset:-2px;outline:2px solid #70a2d1}.cell:focus-visible{z-index:5;outline-offset:-3px;outline:3px solid #1d6fbd}.cell.legal:after{content:"";opacity:.75;background:#2877c1;border-radius:50%;width:11px;height:11px;position:absolute}.cell.legal.captureTarget:after{opacity:1;background:0 0;border:3px solid #c14b43;width:48%;height:48%}.cell.lastTo{background:#d2e7f9;box-shadow:inset 0 0 0 3px #5796d0}.cell.lastTo.dark{background:#c6deef}.obstacle{aspect-ratio:1;color:#fff;background:repeating-linear-gradient(135deg,#9ca9b7 0 3px,#b7c1cb 3px 6px);border:1px solid #aeb9c5;border-radius:8px;place-items:center;width:48%;font-size:18px;display:grid;box-shadow:inset 0 1px #fff6}.piece{z-index:1;aspect-ratio:1;color:#fff;text-shadow:0 1px 1px #0004;border:2px solid #ffffffbd;border-radius:50%;place-items:center;width:61%;font-size:clamp(17px,2.1vw,24px);font-weight:850;display:grid;position:relative;box-shadow:0 4px 8px #182e4a38}.pieceGlyph{object-fit:contain;filter:brightness(0)invert();pointer-events:none;width:112%;height:112%}.unknownGlyph{font-family:ui-monospace,monospace;font-weight:850}.picked{outline-offset:3px;outline:3px solid #f5bd3c;transform:translateY(-2px)}.boost{color:#ffc53d;text-shadow:0 1px 2px #19243a;font-size:16px;line-height:1;position:absolute;top:-11px;right:-11px}.replayPiece{z-index:2;outline:3px solid #f3bd3c;animation:.85s ease-in-out replay-step}@keyframes replay-step{0%{opacity:.25;transform:scale(.45)}65%{opacity:1;transform:scale(1.14)}to{opacity:1;transform:scale(1)}}.deploymentPalette{align-items:center;gap:16px;min-height:62px;display:flex}.palettePieces{gap:10px;display:flex}.palettePiece{color:#fff;touch-action:none;border:2px solid #ffffffbd;border-radius:50%;place-items:center;width:43px;height:43px;margin:0;padding:0;font-size:18px;font-weight:850;display:grid;overflow:hidden;box-shadow:0 3px 7px #182e4a30}.palettePiece.placed{filter:grayscale();opacity:.28}.palettePiece.dragging{outline-offset:3px;outline:3px solid #f5bd3c;transform:scale(1.06)}.confirmDeploy{color:#fff;background:#d8dee6;border:0;border-radius:8px;margin:0;padding:9px 20px;font-weight:800}.deploymentHint{color:#718095;margin:0;font-size:12px}aside{gap:11px;padding-top:2px;display:grid}aside section{background:#ffffffdb;border:1px solid #d8e1ec;border-radius:11px;padding:13px;box-shadow:0 5px 16px #182d480a}.controls{grid-template-columns:1fr 1fr 1fr;gap:6px;display:grid}.controls button{color:#3d5068;background:#fff;border:1px solid #c4d1df;border-radius:7px;margin:0;padding:8px 4px;font-size:12px;font-weight:700}.controls button:hover:not(:disabled){background:#eef7ff;border-color:#6ea3d4}.inspection{color:#536176;font-size:13px;line-height:1.75;border-left:3px solid #5a91c8!important}.inspection button{color:#2671b8;background:0 0;border:0;margin:8px 0 0;padding:0;font-size:12px;font-weight:750}.history ol{gap:8px;margin:0;padding:0;list-style:none;display:grid}.history li{color:#5f6f84;grid-template-columns:25px 1fr;align-items:start;gap:5px;font-size:12px;line-height:1.45;display:grid}.turnNumber{color:#98a6b6;font-variant-numeric:tabular-nums;grid-row:span 2}.move{display:block}.move.p1{color:#2263a1;background:0 0}.move.p2{color:#b14b43;background:0 0}.history p{color:#8491a0;margin:0;font-size:12px}.error{color:#ad3932;margin:9px 0 0;font-size:12px;font-weight:650}.rulesBackdrop{z-index:20;background:#101b2db3;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.rulesPanel{background:#fff;border-radius:15px;width:min(690px,100%);max-height:min(700px,90vh);padding:26px;position:relative;overflow:auto;box-shadow:0 20px 60px #0b142a66}.rulesPanel h2{margin-bottom:18px;font-size:19px}.closeRules{color:#506077;background:#eef2f6;border:0;border-radius:50%;width:30px;height:30px;font-size:21px;line-height:1;position:absolute;top:14px;right:14px}.ruleGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.ruleGrid article{color:#637287;background:#f9fbfd;border:1px solid #dbe4ed;border-radius:9px;min-height:105px;padding:12px;font-size:13px;line-height:1.55}.ruleGrid b{color:#25405f}.ruleGrid p{margin:6px 0 0}@media (width<=930px){main{padding:20px 16px 36px}.boardColumn.deploymentMode{grid-template-columns:auto auto}.gameLayout{grid-template-columns:1fr;gap:18px}aside{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));align-items:start}.board{grid-template-rows:repeat(6,min(14vw,76px));grid-template-columns:repeat(6,min(14vw,76px))}.topLabels{grid-template-columns:repeat(6,min(14vw,76px))}.sideLabels{grid-template-rows:repeat(6,min(14vw,76px))}}@media (width<=380px){.boardColumn.deploymentMode{grid-template-columns:1fr}.boardColumn.deploymentMode .deploymentPalette{flex-direction:row;grid-area:1/1}.boardColumn.deploymentMode .palettePieces{flex-direction:row}.boardColumn.deploymentMode .boardWrap{grid-area:2/1}.boardColumn.deploymentMode .deploymentHint{grid-row:3}}@media (width<=460px){main{padding:16px 8px 30px}.boardWrap{padding:9px}.topLabels{margin-left:26px}.sideLabels{width:26px}.deploymentPalette{gap:10px}.palettePieces{gap:6px}.palettePiece{width:38px;height:38px}.confirmDeploy{padding-inline:14px}.ruleGrid{grid-template-columns:1fr}.rulesPanel{padding:22px 17px}}:root{color:var(--theme-text,#172033);background:var(--theme-page-background,#f1f4f8)}body{color:var(--theme-text,#172033);background:var(--theme-page-background,radial-gradient(circle at 15% 0,#fff 0,#f4f7fb 38%,#ebf0f6 100%))}header{border-color:var(--theme-border,#dce3ec)}h1,.roomCode{color:var(--theme-text,#16294a)}h2,.ruleGrid b{color:var(--theme-text,#33445c)}.landingTagline{color:var(--theme-text,#1d365a)}.landingDescription,.landingIllustration,.deploymentHint,.history p,.turnNumber{color:var(--theme-muted,#5c6d83)}.startButton{background:var(--theme-accent,#2267ad);box-shadow:var(--theme-card-shadow,0 10px 20px #2267ad44)}.startButton:hover{background:var(--theme-accent-hover,#185a9d)}.rulesLink,.inspection button{color:var(--theme-accent,#315f90)}.rulesLink:hover{color:var(--theme-accent-hover,#174e85)}.miniBoard{border-color:var(--theme-border,#cdd8e5);box-shadow:var(--theme-card-shadow,0 10px 24px #31587914);background:repeating-conic-gradient(var(--theme-square-light,#edf3f8) 0 25%,var(--theme-square-dark,#dce7f0) 0 50%) 0/68px 68px}.miniPiece.blue,.move.p1{color:var(--theme-side-blue,#2267ad)}.miniPiece.red,.move.p2{color:var(--theme-side-red,#bd5148)}.miniObstacle{color:var(--theme-obstacle,#68798c)}.miniFog{background:var(--theme-stealth-background,#9aabba)}.sideBadge,.turnCounter,.iconButton{border-color:var(--theme-border,#d6dee9)}.sideBadge.p1{border-color:var(--theme-side-blue,#b9d2ef);background:var(--theme-surface,#eff7ff);color:var(--theme-side-blue,#15528e)}.sideBadge.p2{border-color:var(--theme-side-red,#f0c4c0);background:var(--theme-surface,#fff1f0);color:var(--theme-side-red,#9e352e)}.turnCounter,.iconButton{background:var(--theme-surface,#fff);color:var(--theme-text,#526075)}.iconButton:hover{border-color:var(--theme-accent,#70a2d1);background:var(--theme-surface,#eef7ff)}.deploymentHeader,.turnPrompt{color:var(--theme-muted,#52657d)}.winner{border-color:var(--theme-buff,#ebcf8f);background:var(--theme-surface,#fffaf0);color:var(--theme-text,#705519)}.turnPrompt{border-color:var(--theme-side-blue,#3278c4)}.turnPrompt.thinking{border-color:var(--theme-side-red,#c6544a);color:var(--theme-side-red,#9d4038)}.boardWrap{border-color:var(--theme-border,#c7d3e0);background:var(--theme-board-frame,#fff);box-shadow:var(--theme-card-shadow,0 15px 38px #1b365715)}.topLabels,.sideLabels{color:var(--theme-muted,#748399)}.board{border-color:var(--theme-border,#b9c8d8);background-image:var(--theme-board-texture,none);background-size:cover}.cell{background-color:var(--theme-square-light,#eef3f8);background-image:var(--theme-board-texture,none);background-size:600% 600%}.cell.dark{background-color:var(--theme-square-dark,#d8e2ed);background-image:var(--theme-board-texture,none)}.cell:hover:not(:focus-visible){outline-color:var(--theme-accent,#70a2d1)}.cell:focus-visible{outline-color:var(--theme-accent,#1d6fbd)}.cell.legal:after{background:var(--theme-legal,#2877c1)}.cell.legal.captureTarget:after{border-color:var(--theme-capture,#c14b43);background:0 0}.cell.lastFrom{box-shadow:inset 0 0 0 3px var(--theme-last-from,#6685a755)}.cell.lastTo{background-color:var(--theme-last-to-fill,#d2e7f9);background-image:var(--theme-board-texture,none);box-shadow:inset 0 0 0 3px var(--theme-last-to,#5796d0)}.cell.lastTo.dark{background-color:var(--theme-last-to-dark-fill,#c6deef)}.obstacle{border:var(--theme-obstacle-border,1px solid #aeb9c5);border-radius:var(--theme-obstacle-shape,8px);background:var(--theme-obstacle,repeating-linear-gradient(135deg,#9ca9b7 0 3px,#b7c1cb 3px 6px));background-image:var(--theme-obstacle-image,none);color:var(--theme-obstacle-ink,#fff);background-size:cover}.piece,.palettePiece{border:var(--theme-piece-border,2px solid #ffffffbd);border-radius:var(--theme-piece-shape,50%);box-shadow:var(--theme-piece-shadow,0 4px 8px #182e4a38)}.p1{background:var(--theme-piece-blue,linear-gradient(145deg,#3d8bd8,#175797))}.p2{background:var(--theme-piece-red,linear-gradient(145deg,#dc6f64,#a83731))}.piece.p1,.palettePiece.p1{background-image:var(--theme-piece-blue-texture,none);background-size:cover}.piece.p2,.palettePiece.p2{background-image:var(--theme-piece-red-texture,none);background-size:cover}.picked,.palettePiece.dragging{outline-color:var(--theme-accent,#f5bd3c)}.boost{color:var(--theme-boost,#ffc53d)}.replayPiece{outline-color:var(--theme-boost,#f3bd3c)}.confirmDeploy:not(:disabled){background:var(--theme-accent,#2c9b63);box-shadow:var(--theme-card-shadow,0 4px 10px #2c9b633b)}aside section{border-color:var(--theme-border,#d8e1ec);background:var(--theme-surface,#ffffffdb);box-shadow:var(--theme-card-shadow,0 5px 16px #182d480a)}.controls button{border-color:var(--theme-border,#c4d1df);background:var(--theme-surface,#fff);color:var(--theme-text,#3d5068)}.controls button:hover:not(:disabled){border-color:var(--theme-accent,#6ea3d4);background:var(--theme-surface,#eef7ff)}.inspection{color:var(--theme-muted,#536176);border-left-color:var(--theme-accent,#5a91c8)!important}.history li{color:var(--theme-muted,#5f6f84)}.rulesPanel{background:var(--theme-surface,#fff);box-shadow:var(--theme-card-shadow,0 20px 60px #0b142a66)}.closeRules{background:var(--theme-surface,#eef2f6);color:var(--theme-text,#506077)}.ruleGrid article{border-color:var(--theme-border,#dbe4ed);background:var(--theme-surface,#f9fbfd);color:var(--theme-muted,#637287)}.themePicker{flex:none;position:relative}.themeButton{border:1px solid var(--theme-border,#b8c8db);background:var(--theme-surface,#fff);width:38px;height:38px;color:var(--theme-text,#425a76);cursor:pointer;border-radius:9px;place-items:center;padding:0;display:grid}.themeButton:hover,.themeButton[aria-expanded=true]{border-color:var(--theme-accent,#2267ad);color:var(--theme-accent-hover,#174e85)}.themeButton:focus-visible,.themeOption:focus-visible{outline:2px solid var(--theme-accent,#2267ad);outline-offset:2px}.themePopup{z-index:20;border:1px solid var(--theme-border,#b8c8db);background:var(--theme-surface,#fff);width:230px;max-width:calc(100vw - 24px);color:var(--theme-text,#425a76);border-radius:10px;padding:10px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 32px #00000038}.themePopupTitle{padding:5px 8px 9px;font-size:13px;display:block}.themeOption{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;padding:7px 8px;font-size:14px;display:flex}.themeOption:hover,.themeOption[aria-pressed=true]{background:var(--theme-border,#e4ebf2)}.themePreview{border:1px solid;border-radius:5px;flex:none;justify-content:center;align-items:center;gap:3px;width:38px;height:30px;display:flex}.themePreview span{border:1px solid #ffffffb3;border-radius:50%;width:11px;height:11px}.themeOptionCheck{color:var(--theme-accent,#2267ad);margin-left:auto;font-weight:800}.turnCounter.urgent,.error{color:var(--theme-danger,#ad3932)}.turnCounter.urgent{border-color:var(--theme-danger,#e8aaa4);background:var(--theme-danger-surface,#fff0ed)}.rulesBackdrop{background:var(--theme-overlay,#101b2db3)}.piece{box-shadow:none!important;border:1px solid #ffffff2e!important}.piece.p1{background:#236bad!important}.piece.p2{background:#b84842!important}.piece .pieceGlyph{width:112%;height:112%}.palettePiece{aspect-ratio:1;box-shadow:none!important;border:1px solid #ffffff29!important;width:auto!important;height:auto!important;min-height:0!important}.palettePiece.p1{background:#236bad!important}.palettePiece.p2{background:#b84842!important}.palettePiece .pieceGlyph{object-position:center;width:82%;height:82%;transform:none}.palettePiece.dragging{z-index:1;outline-offset:0;transform:scale(1.15);outline:4px solid #fff!important;box-shadow:0 8px 18px #192c4661,0 2px 5px #192c463d!important}.rulesText{color:#40506a;font-size:13px;line-height:1.65}.rulesText p{margin:0 0 12px}.rulesText h3{color:#33445c;letter-spacing:.08em;margin:16px 0 7px;font-size:13px}.rulesText table{border-collapse:collapse;text-align:left;width:100%;margin:12px 0;font-size:12px}.rulesText th,.rulesText td{vertical-align:top;border:1px solid #dce3ec;padding:7px}.rulesText th{color:#33445c;background:#f4f7fb}.rulesText ul{margin:0;padding-left:20px}.rulesText li+li{margin-top:5px}.capturedPiece{vertical-align:middle;margin-left:3px;display:inline-flex}.captureGlyph{vertical-align:middle;filter:none!important;width:15px!important;height:15px!important}.buff{color:#9a6d14;background:#fff3b8;border:1px solid #9a6d14;border-radius:50%;place-items:center;font-size:18px;font-weight:800;display:grid;position:absolute;inset:22%;box-shadow:0 0 0 2px #fff4b473}.piece.stealthed{filter:none!important}.piece.p1.stealthed{background:#fff!important;border:2px solid #236bad!important;box-shadow:0 2px 5px #192c462e!important}.piece.p2.stealthed{background:#fff!important;border:2px solid #b84842!important;box-shadow:0 2px 5px #531c1c2e!important}.piece.picked{outline-offset:0;outline:4px solid #fff!important;box-shadow:0 3px 8px #192c4647!important}.actionAllowance{color:#526075;text-align:center;width:min(660px,100%);margin:0 auto 12px;font-size:12px}.piece,.palettePiece{border-radius:var(--theme-piece-shape,50%);border:var(--theme-piece-border,1px solid #ffffff2e)!important;box-shadow:var(--theme-piece-shadow,none)!important}.palettePiece{border:var(--theme-piece-border,1px solid #ffffff29)!important}.piece.p1,.palettePiece.p1{background:var(--theme-piece-blue,#236bad)!important;background-image:var(--theme-piece-blue-texture,none)!important;background-size:cover!important}.piece.p2,.palettePiece.p2{background:var(--theme-piece-red,#b84842)!important;background-image:var(--theme-piece-red-texture,none)!important;background-size:cover!important}.pieceGlyph{filter:var(--theme-piece-glyph-filter,brightness(0) invert(1))}.captureGlyph{filter:var(--theme-piece-glyph-filter,none)!important}.rulesText{color:var(--theme-text,#40506a)}.rulesText h3,.rulesText th{color:var(--theme-text,#33445c)}.rulesText th,.rulesText td{border-color:var(--theme-border,#dce3ec)}.rulesText th{background:var(--theme-surface,#f4f7fb)}.buff{border:var(--theme-buff-border,1px solid #9a6d14);border-radius:var(--theme-buff-shape,50%);background:var(--theme-buff,#fff3b8);background-image:var(--theme-buff-image,none);color:var(--theme-buff-ink,#9a6d14);background-size:cover}.piece.p1.stealthed{color:var(--theme-side-blue,#236bad);border:2px solid var(--theme-side-blue,#236bad)!important;background:var(--theme-stealth-background,#fff)!important;box-shadow:var(--theme-piece-shadow,0 2px 5px #192c462e)!important}.piece.p2.stealthed{color:var(--theme-side-red,#b84842);border:2px solid var(--theme-side-red,#b84842)!important;background:var(--theme-stealth-background,#fff)!important;box-shadow:var(--theme-piece-shadow,0 2px 5px #531c1c2e)!important}.piece.p1.stealthed .pieceGlyph{filter:var(--theme-stealth-blue-filter,invert(36%) sepia(25%) saturate(1585%) hue-rotate(168deg) brightness(91%) contrast(91%))!important}.piece.p2.stealthed .pieceGlyph{filter:var(--theme-stealth-red-filter,invert(35%) sepia(46%) saturate(916%) hue-rotate(316deg) brightness(91%) contrast(91%))!important}.piece.picked{outline-color:var(--theme-selection-ring,#fff)!important;box-shadow:var(--theme-piece-shadow,0 3px 8px #192c4647)!important}.palettePiece.dragging{outline-color:var(--theme-selection-ring,#fff)!important;box-shadow:var(--theme-piece-shadow,0 8px 18px #192c4661,0 2px 5px #192c463d)!important}.actionAllowance{color:var(--theme-muted,#526075)}.boardColumn.setupBoardColumn{flex-direction:column!important;justify-content:flex-start!important;align-items:center!important;display:flex!important}.boardColumn.setupBoardColumn .boardWrap{order:1;width:max-content!important;max-width:none!important;position:static!important;overflow:visible!important}.boardColumn.setupBoardColumn .deploymentPalette{order:2;align-self:center!important;position:static!important}.deploymentPalette{width:min(100%,430px);box-shadow:none;background:0 0;border:0;border-radius:12px;margin:18px auto 0;padding:16px}.deploymentTrayHeader{color:#65758a;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:13px;font-size:12px;display:flex}.deploymentTrayHeader strong{color:#263d5b;letter-spacing:.04em;font-size:14px}.deploymentTrayHeader strong span{color:#2267ad;font-variant-numeric:tabular-nums}.palettePieces{align-items:center;gap:10px;display:flex}.palettePiece{flex:1;min-width:0;min-height:58px}.confirmDeploy{color:#fff;letter-spacing:.08em;background:#2267ad;border:0;border-radius:8px;width:100%;margin-top:14px;padding:12px 16px;font-weight:750;transition:background .16s,transform .16s;display:block}.confirmDeploy:not(:disabled):hover{background:#185a9d;transform:translateY(-1px)}.confirmDeploy:disabled{color:#f5f8fb;opacity:1;background:#9eafc1}.setupGuide{background:#fff;border:1px solid #d6e0eb;border-radius:12px;max-width:310px;margin-top:18px;padding:17px}.setupGuide p{color:#617187;margin:0 0 16px;font-size:13px;line-height:1.65}.terrainLegend{gap:12px;display:grid}.terrainLegend>div{align-items:center;gap:10px;display:flex}.terrainLegend b,.terrainLegend small{display:block}.terrainLegend b{color:#344a66;font-size:13px}.terrainLegend small{color:#7a899b;margin-top:2px;font-size:11px}.legendMark{border-radius:7px;flex:none;place-items:center;width:28px;height:28px;font-weight:800;display:grid}.legendMark.legendBuff{color:#b27b00;background:#fff5cc}.legendMark.obstacle{color:#617187;background:#e7edf3}.legendMark.boosted{color:#bc6a12;background:#fff0df}@media (width>=701px){.palettePieces{gap:16px}.boardColumn.setupBoardColumn .deploymentPalette{grid-template-columns:200px minmax(160px,1fr);align-items:center;gap:28px;width:min(100%,550px);display:grid}.boardColumn.setupBoardColumn .palettePieces{width:200px;min-width:0}.boardColumn.setupBoardColumn .palettePiece{flex:0 0 38px}.boardColumn.setupBoardColumn .confirmDeploy{width:100%;margin:0}.boardColumn.setupBoardColumn .topLabels{height:32px}.boardColumn.setupBoardColumn .boardWrap{padding-bottom:16px}.boardColumn.setupBoardColumn .deploymentPalette{margin-top:0}}@media (width<=700px){main{padding:16px 14px 30px}header{min-height:40px;padding-bottom:13px}h1{font-size:24px}.gameLayout{margin-top:16px;display:block}.boardColumn,.deploymentMode{width:100%;min-width:0}.boardWrap{width:min(100%,430px);margin-inline:auto;padding-right:22px}.topLabels{width:100%;padding-left:0}.boardRow{grid-template-columns:22px minmax(0,1fr);width:100%;display:grid}.sideLabels{grid-template-rows:repeat(6,minmax(0,1fr));height:auto;display:grid}.board{aspect-ratio:1;width:100%;height:auto}.cell{aspect-ratio:1;width:auto;min-width:0;height:auto}.deploymentPalette{margin-top:14px;padding:14px;grid-template-columns:minmax(0,1fr)!important;display:grid!important}.deploymentTrayHeader{flex-direction:column;align-items:flex-start;gap:4px}.palettePieces{gap:7px}.palettePiece{min-height:48px}.setupGuide{max-width:430px;margin:18px auto 0}aside{width:100%;min-width:0}.controls{flex-wrap:wrap}.history,.inspection{max-width:430px;margin-inline:auto}}@media (width<=380px){.boardWrap{padding-right:18px}.boardRow{grid-template-columns:18px minmax(0,1fr)}.deploymentPalette{padding:12px}.palettePieces{gap:5px}.palettePiece{min-height:43px}}@media (width<=700px){.boardColumn.setupBoardColumn .boardWrap{width:100%!important;max-width:430px!important}.boardColumn.setupBoardColumn .board{grid-template-rows:repeat(6,minmax(0,1fr))!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;width:100%!important}.boardColumn.setupBoardColumn .cell{aspect-ratio:1;width:auto!important;min-width:0!important;height:auto!important}.boardColumn.setupBoardColumn .deploymentPalette{width:100%!important;max-width:430px!important}}.deploymentTrayHeader,.setupGuide p,.terrainLegend small{color:var(--theme-muted,#65758a)}.deploymentTrayHeader strong,.terrainLegend b{color:var(--theme-text,#263d5b)}.deploymentTrayHeader strong span{color:var(--theme-accent,#2267ad)}.confirmDeploy{background:var(--theme-accent,#2267ad)}.confirmDeploy:not(:disabled):hover{background:var(--theme-accent-hover,#185a9d)}.confirmDeploy:disabled{background:var(--theme-muted,#9eafc1)}.setupGuide{border-color:var(--theme-border,#d6e0eb);background:var(--theme-surface,#fff)}.legendMark.legendBuff{border:var(--theme-buff-border,1px solid #9a6d14);border-radius:var(--theme-buff-shape,50%);background:var(--theme-buff,#fff5cc);background-image:var(--theme-buff-image,none);color:var(--theme-buff-ink,#b27b00)}.legendMark.obstacle{aspect-ratio:1;border:var(--theme-obstacle-border,1px solid #aeb9c5);border-radius:var(--theme-obstacle-shape,8px);background:var(--theme-obstacle,#e7edf3);background-image:var(--theme-obstacle-image,none);width:28px;color:var(--theme-obstacle-ink,#fff)}.legendMark.boosted{background:var(--theme-buff,#fff0df);color:var(--theme-buff-ink,#bc6a12)}@media (width<=700px){.gameDashboard{width:100%;min-width:0;max-width:430px}.dashboardTurn{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;padding:16px;display:grid}.dashboardTurn>div{min-width:0}.dashboardTurn small{white-space:normal;line-height:1.45}.dashboardTurn b{grid-column:1/-1;font-size:16px}.dashboardActions{flex:none;grid-area:1/2;align-self:start}.dashboardUndo{white-space:nowrap;padding:7px 10px}.moreControlsButton{flex:none}.moveLedger{min-width:0;overflow-x:auto}}.turnStatus{color:#596b83;border-left:4px solid #2267ad;justify-content:space-between;align-items:center;width:min(100%,660px);margin:18px auto 12px;padding:8px 0 8px 16px;display:flex}.turnStatus>div{gap:3px;display:grid}.turnStatus strong{color:#2b4668;letter-spacing:.04em;font-size:15px}.turnStatus span{font-size:13px}.turnStatus small{color:#7c8b9c;font-variant-numeric:tabular-nums;padding-right:2px;font-size:12px}.turnStatus.thinking strong{animation:1.3s ease-in-out infinite turnThinking}@keyframes turnThinking{50%{opacity:.55}}.stealthSkipActions{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex!important}.stealthSkipActions button{color:#465d78;background:#fff;border:1px solid #aab8c9;border-radius:5px;padding:3px 8px;font-size:12px;font-weight:650}.stealthSkipActions button:hover{color:#174e85;border-color:#2267ad}@media (width<=700px){.turnStatus{width:min(100%,430px);margin:14px auto 10px;padding-left:12px}.turnStatus strong{font-size:14px}.turnStatus span{font-size:12px}}.turnStatus{border-left-color:var(--theme-side-blue,#2267ad);color:var(--theme-muted,#596b83)}.turnStatus.turnPlayer2{border-left-color:var(--theme-side-red,#bd5148)}.turnStatus strong{color:var(--theme-side-blue,#2b4668)}.turnStatus.turnPlayer2 strong{color:var(--theme-side-red,#8f3d37)}.turnStatus small{color:var(--theme-muted,#7c8b9c)}.stealthSkipActions button{border-color:var(--theme-border,#aab8c9);background:var(--theme-surface,#fff);color:var(--theme-text,#465d78)}.stealthSkipActions button:hover{border-color:var(--theme-accent,#2267ad);color:var(--theme-accent-hover,#174e85)}.cell.possibleThreat{outline:0;box-shadow:inset 0 0 0 999px #ffb8c23b}.cell.confirmedThreat{outline:0;box-shadow:inset 0 0 0 999px #eb748257}.threatLegend{color:#6d7989;justify-content:center;align-items:center;gap:7px;width:min(100%,660px);margin:0 auto 12px;font-size:11px;display:flex}.possibleThreatMark,.confirmedThreatMark{border-radius:3px;width:13px;height:13px;margin-left:5px;display:inline-block}@media (width<=700px){.threatLegend{width:min(100%,430px);font-size:10px}}.cell.possibleThreat{box-shadow:inset 0 0 0 999px var(--theme-threat-possible,#ffb8c23b)}.cell.confirmedThreat{box-shadow:inset 0 0 0 999px var(--theme-threat-confirmed,#eb748257)}.threatLegend{color:var(--theme-muted,#6d7989)}.possibleThreatMark{background:var(--theme-threat-possible,#ffd5dae6)}.confirmedThreatMark{background:var(--theme-threat-confirmed,#f49fa8e6)}main:has(.gameDashboard){max-width:1480px}.gameLayout:has(.gameDashboard)>aside{width:100%!important;max-width:660px!important}.gameDashboard{gap:16px;width:100%;min-width:0;max-width:660px;margin:0 auto;display:grid}.moveLedger{min-width:0;max-width:100%;overflow:hidden}.ledgerHeader,.ledgerRow{grid-template-columns:minmax(42px,.35fr) repeat(2,minmax(0,1fr))}.ledgerBlue,.ledgerRed{overflow-wrap:anywhere;min-width:0}.ledgerMove{white-space:normal;flex-wrap:wrap;align-items:center;gap:4px 8px;display:inline-flex}.ledgerBlue,.ledgerRed{flex-wrap:wrap;align-content:center;align-items:center;gap:6px 10px;display:flex}.ledgerBlue em,.ledgerRed em{white-space:nowrap;align-items:center;max-width:100%;display:inline-flex}.dashboardTurn small{white-space:normal!important}.dashboardTurn,.scoreCard,.moveLedger{background:#fff;border:1px solid #d8dee7;border-radius:18px;box-shadow:0 5px 13px #243a530f}.dashboardTurn{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:19px 24px;display:flex}.dashboardTurn>div{min-width:0;max-width:100%}.dashboardTurn small{white-space:normal;line-height:1.45}.dashboardTurn>div{gap:4px;display:grid}.dashboardTurn strong{color:#202734;font-size:19px}.dashboardTurn small{color:#697586;white-space:nowrap;font-size:12px}.victoryLead{color:#425a76;font-weight:700}.dashboardTurn b{color:#373d47;white-space:nowrap;font-size:18px;font-weight:500}.turnCountdown.critical{color:#c73d48;font-weight:800}.dashboardTitle{align-items:center;gap:10px;display:flex}.dashboardTurnDot{background:#236bad;border-radius:50%;width:12px;height:12px;display:inline-block}.dashboardActions{align-items:center;gap:8px;display:flex!important;position:relative!important}.dashboardUndo,.moreControlsButton,.moreControlsMenu button{color:#425a76;background:#fff;border:1px solid #b8c8db;border-radius:7px;font-weight:700}.dashboardUndo{padding:7px 12px}.moreControlsButton{letter-spacing:1px;width:34px;height:34px;padding:0;font-size:14px}.dashboardUndo:not(:disabled):hover,.moreControlsButton:hover,.moreControlsMenu button:hover{color:#174e85;border-color:#2267ad}.moreControlsMenu{z-index:5;background:#fff;border:1px solid #d2dce8;border-radius:9px;gap:5px;min-width:112px;padding:6px;display:grid;position:absolute;top:42px;right:0;box-shadow:0 10px 24px #28415b29}.moreControlsMenu button{text-align:left;border:0;padding:8px 10px}.moreControlsMenu button:hover{background:#f1f6fb;border-color:#0000}.dashboardError{color:#a71f2d;background:#fff0f1;border:1px solid #f0b5ba;border-radius:9px;margin:0;padding:10px 14px;font-size:13px}.debugNotice{color:#24613a;background:#f1fbf4;border:1px solid #b8d7c1;border-radius:9px;margin:0;padding:10px 14px;font-size:13px}.dashboardTurn.thinking .dashboardTurnDot{animation:1.3s ease-in-out infinite dashboardPulse}@keyframes dashboardPulse{50%{transform:scale(1.35);box-shadow:0 0 0 6px #ed617029}}.scoreCards{grid-template-columns:1fr 1fr;gap:16px;display:grid}.scoreCard{padding:20px 24px}.scoreCard span{font-size:14px;font-weight:700;display:block}.scoreCard strong{color:#151b25;margin-top:11px;font-size:35px;line-height:1;display:inline-block}.scoreCard small{color:#5f6978;margin-left:9px;font-size:14px}.moveLedger{overflow:hidden}.ledgerHeader,.ledgerRow{grid-template-columns:68px 1fr 1fr;display:grid}.ledgerHeader{color:#5e6875;padding:16px 24px 14px;font-size:13px;font-weight:750}.ledgerRow{color:#4d5662;border-top:1px solid #e7ebf0;align-items:center;min-height:54px;padding:0 24px}.ledgerRow>span{min-width:0}.ledgerBlue{color:#1553bb;font-size:16px}.ledgerRed{color:#aa1e2d;font-size:16px}.ledgerMove{display:block}.ledgerRow em{color:#a71f2d;background:#ffdfe3;border-radius:999px;margin-left:8px;padding:4px 8px;font-size:12px;font-style:normal;font-weight:700;display:inline-block}.emptyLedger{color:#687586;margin:0;padding:22px 24px}.ledgerNote{color:#697586;border-top:1px solid #e7ebf0;margin:0;padding:14px 24px;font-size:12px;line-height:1.55}.dashboardControls{margin:0}.dashboardControls .error{grid-column:1/-1}.dashboardTurn .stealthSkipActions{margin-top:4px}@media (width>=701px) and (width<=1399px){.gameLayout:has(.gameDashboard){display:block!important}.gameLayout:has(.gameDashboard)>aside{margin-top:24px}}@media (width>=1400px){.gameLayout:has(.gameDashboard){grid-template-columns:minmax(0,1fr) minmax(560px,660px)!important}}@media (width<=700px){.dashboardTurn{gap:10px}.dashboardActions{margin-left:auto}.dashboardUndo{padding:6px 9px}.gameDashboard{gap:12px;width:100%}.dashboardTurn{border-radius:14px;padding:15px 16px}.dashboardTurn strong{font-size:17px}.dashboardTurn b{font-size:15px}.scoreCards{gap:12px}.scoreCard{border-radius:14px;padding:16px}.scoreCard strong{font-size:29px}.scoreCard small{margin-left:6px;font-size:12px}.moveLedger{border-radius:14px}.ledgerHeader,.ledgerRow{grid-template-columns:44px 1fr 1fr;padding-left:16px;padding-right:16px}.ledgerRow{min-height:48px}.ledgerBlue,.ledgerRed{font-size:14px}.ledgerRow em{display:none}.ledgerNote{padding:12px 16px}}.ledgerBlue,.ledgerRed{overflow-wrap:normal;min-width:0;display:block}.ledgerMove{white-space:normal;flex-wrap:wrap;align-items:center;gap:2px 5px;min-width:0;line-height:1.4;display:flex}.ledgerMove+.ledgerMove{margin-top:6px}.ledgerPath{white-space:nowrap;align-items:center;gap:8px;display:inline-flex}.ledgerRole{flex:none;justify-content:center;align-items:center;width:20px;height:22px;font-size:15px;font-weight:750;line-height:1;display:inline-flex}.ledgerRole img{object-fit:contain;width:20px;height:20px;display:block}.ledgerEvent{color:#92313c;white-space:nowrap;background:#f5e8eb;border-radius:4px;align-items:center;gap:2px;padding:0 3px;font-size:12px;line-height:1.5;display:inline-flex}.ledgerEventIcon{vertical-align:-2px;flex:none;width:12px;height:12px;display:inline-block}.ledgerRow{gap:8px;padding-top:9px;padding-bottom:9px}@media (width<=700px){.ledgerRow{gap:5px}.ledgerEvent{font-size:11px}}.dashboardTurn>.dashboardTurnStatus{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;width:100%;max-width:none;display:grid}.dashboardTurnStatus>div:first-child{gap:4px;min-width:0;display:grid}.dashboardTurnStatus>.dashboardActions{justify-self:end}.dashboardTurn>.turnInspection{color:#596b83;border-top:1px solid #e7ebf0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-width:0;padding-top:12px;font-size:13px;line-height:1.5;display:grid}.turnInspectionSummary{overflow-wrap:anywhere;color:#596b83;min-width:0}.turnInspectionSummary strong{color:#2b4668;font-size:16px}.turnInspectionScreenReader{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.turnInspectionClose{color:#687586;background:0 0;border:0;border-radius:6px;flex:none;width:26px;height:26px;margin-left:auto;font-size:20px;line-height:1}.turnInspectionClose:hover,.turnInspectionClose:focus-visible{color:#174e85;background:#eef3f8}@media (width<=700px){.dashboardTurn>.dashboardTurnStatus{grid-template-columns:minmax(0,1fr) auto;gap:10px}.dashboardTurnStatus>.dashboardActions{grid-column:1/-1}.dashboardTurn>.turnInspection{padding-top:10px}}.dashboardTurn,.scoreCard,.moveLedger{border-color:var(--theme-border,#d8dee7);background:var(--theme-surface,#fff);box-shadow:var(--theme-card-shadow,0 5px 13px #243a530f)}.dashboardTurn strong{color:var(--theme-text,#202734)}.dashboardTurn b{color:var(--theme-text,#373d47)}.scoreCard strong{color:var(--theme-text,#151b25)}.dashboardTurn small,.scoreCard small,.ledgerHeader,.emptyLedger,.ledgerNote{color:var(--theme-muted,#697586)}.victoryLead{color:var(--theme-text,#425a76)}.dashboardTurnDot{background:var(--theme-side-blue,#236bad)}.dashboardTurn.turnPlayer2 .dashboardTurnDot{background:var(--theme-side-red,#ed6170)}.dashboardUndo,.moreControlsButton,.moreControlsMenu button{border-color:var(--theme-border,#b8c8db);background:var(--theme-surface,#fff);color:var(--theme-text,#425a76)}.dashboardUndo:not(:disabled):hover,.moreControlsButton:hover,.moreControlsMenu button:hover{border-color:var(--theme-accent,#2267ad);color:var(--theme-accent-hover,#174e85)}.moreControlsMenu{border-color:var(--theme-border,#d2dce8);background:var(--theme-surface,#fff);box-shadow:var(--theme-card-shadow,0 10px 24px #28415b29)}.moreControlsMenu button:hover{background:var(--theme-surface,#f1f6fb)}.scoreBlue span{color:var(--theme-side-blue,#1c3150)}.ledgerBlue{color:var(--theme-side-blue,#1553bb)}.scoreBlue span:first-letter{color:var(--theme-side-blue,#2267cf)}.scoreRed span{color:var(--theme-side-red,#5b3034)}.ledgerRed{color:var(--theme-side-red,#aa1e2d)}.scoreRed span:first-letter{color:var(--theme-side-red,#e91d38)}.ledgerRow,.ledgerNote{border-color:var(--theme-border,#e7ebf0)}.ledgerRow{color:var(--theme-text,#4d5662)}.ledgerThinking{background:var(--theme-surface,#fff0f1)}.ledgerBlue .ledgerRole img{filter:var(--theme-stealth-blue-filter,invert(31%) sepia(61%) saturate(1041%) hue-rotate(174deg) brightness(87%))}.ledgerRed .ledgerRole img{filter:var(--theme-stealth-red-filter,invert(23%) sepia(66%) saturate(1159%) hue-rotate(321deg) brightness(87%))}.ledgerRow em,.ledgerEvent{background:color-mix(in srgb,var(--theme-capture,#92313c) 12%,var(--theme-surface,#fff));color:var(--theme-capture,#92313c)}.dashboardTurn>.turnInspection{border-color:var(--theme-border,#e7ebf0);color:var(--theme-muted,#596b83)}.turnInspectionSummary{color:var(--theme-muted,#596b83)}.turnInspectionSummary strong{color:var(--theme-text,#2b4668)}.turnInspectionClose{color:var(--theme-muted,#687586)}.turnInspectionClose:hover,.turnInspectionClose:focus-visible{background:var(--theme-surface,#eef3f8);color:var(--theme-accent-hover,#174e85)}.turnCountdown.critical{color:var(--theme-danger,#c73d48)}.dashboardError{border-color:var(--theme-danger,#f0b5ba);background:var(--theme-danger-surface,#fff0f1);color:var(--theme-danger,#a71f2d)}.debugNotice{border-color:var(--theme-success,#b8d7c1);background:var(--theme-success-surface,#f1fbf4);color:var(--theme-success,#24613a)}.resultBackdrop{z-index:20;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#17263b61;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.resultDialog{text-align:center;background:#fff;border:1px solid #d6e0ec;border-radius:20px;width:min(420px,100%);padding:30px;box-shadow:0 24px 60px #12243a47}.resultDialog h2{color:#1d3557;letter-spacing:.03em;margin:0 0 25px;font-size:25px;line-height:1.45}.resultDialog .roomControlNotice{text-align:left;margin:-10px 0 20px}.resultActions{grid-template-columns:1fr 1fr;gap:9px;display:grid}.resultActions button{border-radius:8px;min-height:42px;padding:8px 12px;font-weight:750}.resultUndo,.resultReplay{color:#425a76;background:#fff;border:1px solid #b8c8db}.resultUndo:hover:not(:disabled),.resultReplay:hover{color:#174e85;border-color:#2267ad}.resultNewGame{color:#fff;background:#2267ad;border:1px solid #2267ad;grid-column:1/-1}.resultDecline{color:#697586;text-underline-offset:3px;background:0 0;border:0;grid-column:1/-1;text-decoration:underline}@media (width<=500px){.resultBackdrop{padding:18px}.resultDialog{padding:25px 20px}.resultActions{grid-template-columns:1fr}.resultNewGame{grid-column:auto}}.resultBackdrop{background:var(--theme-overlay-soft,#17263b61)}.resultDialog{border-color:var(--theme-border,#d6e0ec);background:var(--theme-surface,#fff);box-shadow:var(--theme-card-shadow,0 24px 60px #12243a47)}.resultDialog h2{color:var(--theme-text,#1d3557);letter-spacing:0;white-space:nowrap;font-size:clamp(15px,4vw,19px)}.resultIcon{letter-spacing:normal;margin-bottom:8px;font-size:48px;line-height:1.2;display:block}.resultUndo,.resultReplay{border-color:var(--theme-border,#b8c8db);background:var(--theme-surface,#fff);color:var(--theme-text,#425a76)}.resultUndo:hover:not(:disabled),.resultReplay:hover{border-color:var(--theme-accent,#2267ad);color:var(--theme-accent-hover,#174e85)}.resultNewGame{border-color:var(--theme-accent,#2267ad);background:var(--theme-accent,#2267ad)}.resultNewGame:hover{background:var(--theme-accent-hover,#185a9d)}.resultDecline{color:var(--theme-muted,#697586)}.resultDecline:hover{color:var(--theme-text,#425a76)}.gameTopControls{justify-content:space-between;align-items:center;gap:12px;min-height:38px;margin-bottom:12px;display:flex}.gamePreferences{align-items:center;gap:8px;display:flex}.languageButton{color:#425a76;background:#fff;border:1px solid #b8c8db;border-radius:9px;place-items:center;min-width:38px;height:38px;font-size:15px;font-weight:750;display:grid}.languageButton:hover{color:#174e85;border-color:#2267ad}.homeButton{border:1px solid var(--theme-border,#b8c8db);background:var(--theme-surface,#fff);min-height:38px;color:var(--theme-text,#425a76);border-radius:9px;flex:none;padding:7px 14px;font-size:14px;font-weight:700}.homeButton:hover:not(:disabled){border-color:var(--theme-accent,#2267ad);color:var(--theme-accent-hover,#174e85)}.homeButton:focus-visible{outline:2px solid var(--theme-accent,#2267ad);outline-offset:2px}@media (width<=460px){.gamePreferences{min-width:0}.homeButton{padding-inline:10px}}.topLabels span,.sideLabels span{color:#8b99ad!important;font-weight:500!important}@media (width>=701px){.boardWrap{padding-bottom:64px;padding-right:48px}.topLabels{align-items:center;height:64px}}@media (width<=700px){.boardWrap{--board-label-gutter:36px}.boardRow{grid-template-columns:var(--board-label-gutter) minmax(0,1fr)}.sideLabels{width:var(--board-label-gutter)}.topLabels{width:calc(100% - var(--board-label-gutter));margin-left:var(--board-label-gutter);grid-template-columns:repeat(6,minmax(0,1fr))}.board{grid-template-rows:repeat(6,minmax(0,1fr));grid-template-columns:repeat(6,minmax(0,1fr))}.cell{aspect-ratio:1;width:auto;min-width:0;height:auto}}@media (width<=380px){.boardWrap{--board-label-gutter:30px}}.gamePreferences .iconButton{border-radius:9px;width:38px;height:38px}.languageButton{border-color:var(--theme-border,#b8c8db);background:var(--theme-surface,#fff);color:var(--theme-text,#425a76)}.languageButton:hover{border-color:var(--theme-accent,#2267ad);color:var(--theme-accent-hover,#174e85)}.topLabels span,.sideLabels span{color:var(--theme-muted,#8b99ad)!important}.boardWithCaptures{--capture-rail-width:54px;padding:16px 18px 22px}.boardWithCaptures .boardRow{grid-template-columns:var(--capture-rail-width) 32px minmax(0,1fr) var(--capture-rail-width);align-items:stretch;display:grid}.boardWithCaptures .topLabels{height:32px;margin-left:calc(var(--capture-rail-width) + 32px);grid-template-columns:repeat(6,76px)}.boardWithCaptures .board{grid-template-rows:repeat(6,76px);grid-template-columns:repeat(6,76px)}.captureRail{flex-direction:column;align-items:center;min-width:0;padding:8px 3px;display:flex}.captureRail-opponent{justify-content:flex-end}.captureRail-own{justify-content:flex-start}.captureRailPieces{flex-direction:column;align-items:center;gap:8px;width:100%;display:flex}.captureRail-opponent .captureRailPieces{flex-direction:column-reverse}.captureRailPiece{filter:grayscale(.55);opacity:.93;flex:none;width:34px;height:34px;font-size:13px}.captureRailPiece:after{border-radius:inherit;content:"";pointer-events:none;background:#7878781f;position:absolute;inset:0}.captureRailPiece .pieceGlyph{width:72%;height:72%}@media (width<=700px){.boardWithCaptures{--capture-rail-width:34px;width:min(100%,620px);padding:9px 4px 14px}.boardWithCaptures .boardRow{grid-template-columns:var(--capture-rail-width) var(--board-label-gutter,36px) minmax(0,1fr) var(--capture-rail-width)}.boardWithCaptures .topLabels{width:calc(100% - 2 * var(--capture-rail-width) - var(--board-label-gutter,36px));margin-left:calc(var(--capture-rail-width) + var(--board-label-gutter,36px))}.boardWithCaptures .board{grid-template-rows:repeat(6,minmax(0,1fr));grid-template-columns:repeat(6,minmax(0,1fr));width:100%}.captureRail{gap:6px;padding:5px 1px}.captureRailPieces{gap:5px}.captureRailPiece{width:26px;height:26px;font-size:11px}}@media (width<=380px){.boardWithCaptures .boardRow{grid-template-columns:var(--capture-rail-width) var(--board-label-gutter,30px) minmax(0,1fr) var(--capture-rail-width)}}.onlineLobby{gap:16px;max-width:520px;margin-top:28px;display:grid}.onlineChoice,.roomPanel{background:#fff;border:1px solid #d8e1ed;border-radius:14px;gap:14px;padding:22px;display:grid;box-shadow:0 8px 22px #243a5314}.onlineChoice h2,.roomPanel h2{color:#1d365a;letter-spacing:.03em;margin:0;font-size:18px}.onlineChoice p,.roomPanel p{color:#5c6d83;margin:0;line-height:1.55}.roomActions{flex-wrap:wrap;gap:10px;display:flex}.roomCodeForm{gap:8px;display:flex}.roomCodeForm input{color:#172033;min-width:0;font:inherit;letter-spacing:.08em;text-transform:uppercase;border:1px solid #b8c8db;border-radius:8px;flex:1;padding:11px 12px}.roomCodeForm input:focus{outline-offset:1px;outline:2px solid #78a6d6}.secondaryButton{color:#315f90;background:#fff;border:1px solid #9eb4cd;border-radius:9px;padding:11px 16px;font-weight:700}.secondaryButton:hover{color:#174e85;border-color:#2267ad}.roomStatus{border-left:3px solid #2267ad;padding-left:11px}.roomCode{letter-spacing:.12em;color:#16294a;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:18px;font-weight:800}.onlineError{color:#a71f2d;margin:0;font-size:13px}.onlineNotice{color:#42627f;margin:0;font-size:13px}.networkStatus{color:#697586;margin:8px 0 0;font-size:12px}.leaveRoomButton{margin-left:auto}.waitingPanel{background:#fff;border:1px solid #d8e1ed;border-radius:14px;gap:10px;padding:22px;display:grid}.waitingPanel h2{color:#1d365a;margin:0;font-size:18px}.onlineFinishedActions{justify-content:center;gap:10px;display:flex}.roomControlNotice{color:#1c578e;background:#edf6ff;border:1px solid #b7d1ea;border-radius:10px;margin:0;padding:12px 14px;font-size:13px;font-weight:700;line-height:1.5}.roomControlNotice.waitingForControl{background:#e7f3ff;border-color:#9fc6e8}.roomControlNotice.incomingControl{color:#8b5712;background:#fff7e9;border-color:#efcf9d}@media (width<=700px){.landingActions,.roomCodeForm{flex-direction:column;align-items:stretch}.onlineLobby{margin-top:22px}.leaveRoomButton{margin-left:0}}.onlineChoice,.roomPanel,.waitingPanel{border-color:var(--theme-border,#d8e1ed);background:var(--theme-surface,#fff);box-shadow:var(--theme-card-shadow,0 8px 22px #243a5314)}.onlineChoice h2,.roomPanel h2,.waitingPanel h2,.roomCode{color:var(--theme-text,#1d365a)}.onlineChoice p,.roomPanel p,.networkStatus{color:var(--theme-muted,#5c6d83)}.roomCodeForm input{border-color:var(--theme-border,#b8c8db);background:var(--theme-surface,#fff);color:var(--theme-text,#172033)}.roomCodeForm input:focus{outline-color:var(--theme-accent,#78a6d6)}.secondaryButton{border-color:var(--theme-border,#9eb4cd);background:var(--theme-surface,#fff);color:var(--theme-accent,#315f90)}.secondaryButton:hover{border-color:var(--theme-accent,#2267ad);color:var(--theme-accent-hover,#174e85)}.roomStatus{border-color:var(--theme-accent,#2267ad)}.onlineNotice{color:var(--theme-muted,#42627f)}.roomControlNotice{border-color:var(--theme-border,#b7d1ea);background:var(--theme-surface,#edf6ff);color:var(--theme-accent,#1c578e)}.roomControlNotice.waitingForControl{border-color:var(--theme-border,#9fc6e8);background:var(--theme-surface,#e7f3ff)}.roomControlNotice.incomingControl{border-color:var(--theme-warning,#efcf9d);background:var(--theme-warning-surface,#fff7e9);color:var(--theme-warning,#8b5712)}.onlineError{color:var(--theme-danger,#a71f2d)}.gameHome.landing{max-width:1320px;min-height:100vh;padding:30px clamp(16px,3vw,42px) 60px}.gameHome .gameTopControls{border-bottom:1px solid var(--theme-border,#dce3ec);margin-bottom:clamp(28px,5vh,64px);padding-bottom:22px}.gameHome .gameTopControls h1{letter-spacing:.12em;font-size:clamp(30px,3.5vw,46px);line-height:1.2}.homeLayout{grid-template-columns:minmax(0,1.3fr) minmax(350px,.9fr);align-items:center;gap:clamp(24px,4vw,60px)}.homeLayout .boardColumn{justify-items:center;min-width:0}.homeLayout .boardWrap{max-width:100%}.homeAside{flex-direction:column;justify-content:center;gap:20px;min-width:0;display:flex}.homeAside section{border-color:var(--theme-border,#d8e1ec);background:var(--theme-surface,#fff);box-shadow:var(--theme-card-shadow,0 14px 36px #182d4814);border-radius:20px;padding:clamp(24px,3vw,38px)}.homeAside .homeIntroduction{transition:opacity .3s,transform .3s}.homeAside.homeLeaving{pointer-events:none}.homeAside.homeLeaving .homeIntroduction,.homeAside.homeLeaving .homeTurn{opacity:0;animation:none;transform:translateY(-10px)}.homeEyebrow{color:var(--theme-accent,#2267ad);letter-spacing:.1em;text-transform:uppercase;font-size:12px;font-weight:800;display:block}.homeIntroduction h2{color:var(--theme-text,#16294a);letter-spacing:0;margin:14px 0 18px;font-size:clamp(23px,2.4vw,34px);line-height:1.35}.homeIntroduction p{color:var(--theme-muted,#5c6d83);margin:10px 0;font-size:15px;line-height:1.8}.homeIntroduction .landingActions{flex-wrap:wrap;gap:10px;margin-top:24px}.homeIntroduction .startButton,.homeIntroduction .secondaryButton{letter-spacing:0;min-width:0;padding:12px 17px;font-size:14px}.homeIntroduction .rulesLink{margin-top:12px}.homeAside.homePlaying:not(.homeLeaving) .homeIntroduction{animation:.4s both homeIntroIn}@keyframes homeIntroIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.homeAside .homeTurn{padding:clamp(14px,2.5vw,28px);animation:.4s both homeIntroIn}.homeAside .onlineLobbyContent{width:100%;margin:0}.onlineLobbyContent .landingHeader{display:none}.onlineLobbyContent .landingTagline{margin:0;font-size:clamp(22px,2.4vw,30px)}.onlineLobbyContent .onlineLobby{gap:12px;margin-top:20px;display:grid}.onlineLobbyContent .onlineChoice{padding:16px}.onlineLobbyContent .onlineChoice h2{font-size:16px}.homeTurn .dashboardTurn{box-shadow:none;background:0 0;border:0;margin:0;padding:0}.homeLastMove{border-top:1px solid var(--theme-border,#dce3ec);color:var(--theme-text,#16294a);margin:20px 0 0;padding-top:14px;font-weight:750}.boardWrap{transform-origin:0 0}.previewPalette{pointer-events:none}.previewPalette .palettePiece:disabled{opacity:1}.pieceTransfer .boardColumn>.deploymentPalette{pointer-events:none;animation:none}.gameLayout>aside>.setupGuide,.gameLayout>aside>.gameDashboard,.gameLayout>aside>.onlineLobbyContent,.gameLayout>aside>.homeIntroduction,.boardColumn>.threatLegend{animation:.38s cubic-bezier(.22,1,.36,1) both panelArrive}@keyframes panelArrive{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media (width<=1050px){.homeLayout{grid-template-columns:1fr;gap:28px}.homeAside{width:min(620px,100%);margin:auto}.gameHome .gameTopControls{margin-bottom:24px}}@media (width<=700px){.gameHome.landing{padding:18px 8px 35px}.homeAside section{padding:22px}.homeIntroduction .landingActions{flex-direction:column;align-items:stretch}.homeIntroduction .landingActions button{width:100%}.homeLayout .boardWrap{width:fit-content}}@media (prefers-reduced-motion:reduce){.pieceTransfer .boardColumn>.deploymentPalette{pointer-events:auto;animation:none}.homePlaying .homeIntroduction,.homeAside .homeTurn,.gameLayout>aside>.setupGuide,.gameLayout>aside>.gameDashboard,.gameLayout>aside>.onlineLobbyContent,.gameLayout>aside>.homeIntroduction,.boardColumn>.threatLegend{animation:none}.homeAside .homeIntroduction{transition:none}}:root[data-theme=cipher]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:Avenir Next,PingFang SC,Microsoft YaHei,sans-serif}[data-theme=cipher] body{background-attachment:fixed;min-height:100vh}[data-theme=cipher] main{isolation:isolate;position:relative}[data-theme=cipher] main:before{z-index:-1;pointer-events:none;content:"";background:repeating-linear-gradient(90deg,#0000 0 79px,#e8d39f05 79px 80px),radial-gradient(at 94% 80%,#b2834c17,#0000 38%);position:fixed;inset:0}[data-theme=cipher] .gameTopControls{border-color:#dec48f42;position:relative}[data-theme=cipher] .gameHome .gameTopControls:after{content:"";background:#d9b975;width:62px;height:2px;position:absolute;bottom:-1px;left:0}[data-theme=cipher] .gameTopControls h1{color:#f5eddc;letter-spacing:.17em;text-shadow:0 3px 20px #0000004d;font-family:Songti SC,Noto Serif CJK SC,Georgia,serif;font-weight:700}[data-theme=cipher] .gameHome .gameTopControls{margin-bottom:clamp(35px,6vh,76px)}[data-theme=cipher] .gameTopControls .homeButton,[data-theme=cipher] .gamePreferences .themeButton,[data-theme=cipher] .gamePreferences .languageButton,[data-theme=cipher] .gamePreferences .iconButton{color:#f5eddc;height:38px;min-height:38px;box-shadow:none;background-color:#203238;border:1px solid #62736b;border-radius:7px;font-size:14px;font-weight:600;line-height:1;text-decoration:none}[data-theme=cipher] .gameTopControls .homeButton:hover:not(:disabled),[data-theme=cipher] .gamePreferences .themeButton:hover,[data-theme=cipher] .gamePreferences .themeButton[aria-expanded=true],[data-theme=cipher] .gamePreferences .languageButton:hover,[data-theme=cipher] .gamePreferences .iconButton:hover{color:#f2d69b;background-color:#293e41;border-color:#d9b975}[data-theme=cipher] .gamePreferences .themeButton,[data-theme=cipher] .gamePreferences .languageButton,[data-theme=cipher] .gamePreferences .iconButton{width:38px;min-width:38px;padding:0}[data-theme=cipher] button:focus-visible,[data-theme=cipher] select:focus-visible{outline-offset:3px;outline:2px solid #f2d69b}[data-theme=cipher] .boardWrap{background:#243238;border-color:#a78d62;border-radius:4px;position:relative;box-shadow:0 0 0 5px #17272b,0 0 0 6px #d6b87b57,0 26px 60px #00090c66}[data-theme=cipher] .boardWrap:before,[data-theme=cipher] .boardWrap:after{z-index:2;pointer-events:none;content:"";width:12px;height:12px;position:absolute}[data-theme=cipher] .boardWrap:before{border-top:1px solid #d6bb84;border-left:1px solid #d6bb84;top:7px;left:7px}[data-theme=cipher] .boardWrap:after{border-bottom:1px solid #d6bb84;border-right:1px solid #d6bb84;bottom:7px;right:7px}[data-theme=cipher] .topLabels,[data-theme=cipher] .sideLabels{color:#cabd9f;letter-spacing:.12em;font-family:Georgia,serif;font-size:13px}[data-theme=cipher] .topLabels span,[data-theme=cipher] .sideLabels span{color:#cabd9f!important;font-weight:600!important}[data-theme=cipher] .board{border-color:#967c58;border-radius:1px;box-shadow:0 0 0 3px #23353a,0 0 0 4px #967c58,inset 0 0 30px #563b2126}[data-theme=cipher] .cell{box-shadow:inset 0 0 0 1px #49382417}[data-theme=cipher] .cell.dark{box-shadow:inset 0 0 0 1px #4938241f}[data-theme=cipher] .cell:hover:not(:focus-visible){outline-offset:-3px;outline:3px solid #2e7f80}[data-theme=cipher] .cell.legal:after{opacity:.95;width:13px;height:13px;box-shadow:0 0 0 5px #226d7526}[data-theme=cipher] .cell.legal.captureTarget:after{width:60%;height:60%;box-shadow:none;background:0 0}[data-theme=cipher] .piece,[data-theme=cipher] .palettePiece{box-shadow:var(--theme-piece-shadow)!important}[data-theme=cipher] .palettePiece .pieceGlyph{width:112%;height:112%}[data-theme=cipher] .piece.picked{outline-offset:3px;outline:3px solid #f8df9e!important;box-shadow:0 4px 14px #0006!important}[data-theme=cipher] .piece.p1.stealthed,[data-theme=cipher] .piece.p2.stealthed{box-shadow:0 2px #0000004d,0 5px 12px #0000003d!important}[data-theme=cipher] .buff,[data-theme=cipher] .legendBuff{isolation:isolate;text-shadow:0 1px #ffffff8c;font-family:Georgia,serif;font-size:clamp(18px,2.5vw,25px);line-height:1;box-shadow:inset 0 0 0 2px #774d1a40,0 2px 5px #39260f38,0 0 0 3px #fad98e42,0 0 15px #f4ca6f6b}[data-theme=cipher] .buff:before,[data-theme=cipher] .legendBuff:before{pointer-events:none;content:"";border:1px solid #865e2b80;border-radius:50%;position:absolute;inset:4px}[data-theme=cipher] .legendBuff{font-size:19px;position:relative}[data-theme=cipher] .obstacle,[data-theme=cipher] .legendMark.obstacle{text-shadow:0 1px 2px #00000061;font-family:Georgia,serif;font-size:clamp(17px,2.5vw,24px);line-height:1;box-shadow:inset 0 1px #fff6d347,inset 0 -3px #081c1e57,0 2px 5px #2424183d}[data-theme=cipher] .legendMark.obstacle{font-size:19px}[data-theme=cipher] .homeAside{gap:16px}[data-theme=cipher] .homeAside section{background:linear-gradient(145deg,#293b3c,#1b2d31 70%);border:1px solid #697264;border-radius:4px;position:relative;box-shadow:0 18px 45px #00090c47}[data-theme=cipher] .homeAside .homeIntroduction{padding:clamp(26px,3.3vw,48px)}[data-theme=cipher] .homeIntroduction:before{content:"?";color:#dcbb79a6;border:1px solid #dcbb7966;border-radius:50%;place-items:center;width:48px;height:48px;font:italic 28px Georgia,serif;display:grid;position:absolute;top:20px;right:22px;transform:rotate(-16deg)}[data-theme=cipher] .homeEyebrow{color:#dbc28a;letter-spacing:.19em;text-transform:uppercase;font-size:11px}[data-theme=cipher] .homeIntroduction h2{color:#fff2d9;letter-spacing:.025em;max-width:13em;margin:19px 0 23px;font-family:Songti SC,Noto Serif CJK SC,Georgia,serif;font-size:clamp(28px,3vw,42px);font-weight:650;line-height:1.35}[data-theme=cipher] .homeIntroduction p{color:#c4cdc5;max-width:43ch;font-size:14px;line-height:1.9}[data-theme=cipher] .homeIntroduction p+p{margin-top:14px}[data-theme=cipher] .homeIntroduction .landingActions{margin-top:30px}[data-theme=cipher] .startButton{color:#17282d;background:#d9b975;border:1px solid #e3ca92;border-radius:3px;font-weight:800;box-shadow:0 8px 24px #00000038}[data-theme=cipher] .startButton:hover{color:#122328;background:#f2d69b}[data-theme=cipher] .secondaryButton{color:#f0e7d5;background:0 0;border-color:#84938a;border-radius:3px}[data-theme=cipher] .secondaryButton:hover:not(:disabled){color:#fff4da;background:#2d4140;border-color:#dfc58d}[data-theme=cipher] .rulesLink{color:#dfc58d}[data-theme=cipher] .rulesLink:hover{color:#ffe3a5}[data-theme=cipher] .dashboardTurn,[data-theme=cipher] .scoreCard,[data-theme=cipher] .moveLedger,[data-theme=cipher] .setupGuide,[data-theme=cipher] .waitingPanel,[data-theme=cipher] .rulesPanel,[data-theme=cipher] aside:not(.homeAside) section{background:#203237;border-color:#586b63;border-radius:4px;box-shadow:0 14px 35px #000c1033}[data-theme=cipher] .dashboardTurn,[data-theme=cipher] .scoreCard,[data-theme=cipher] .moveLedger{background:#203237}[data-theme=cipher] .homeAside .homeTurn .dashboardTurn{box-shadow:none;background:0 0;border:0;border-radius:0}[data-theme=cipher] .dashboardTurn strong,[data-theme=cipher] .scoreCard strong{color:#f5eddc}[data-theme=cipher] .dashboardTurn small,[data-theme=cipher] .scoreCard small,[data-theme=cipher] .ledgerHeader,[data-theme=cipher] .ledgerNote{color:#b8c1bc}[data-theme=cipher] .dashboardTurnDot{box-shadow:0 0 0 4px #8bceca21}[data-theme=cipher] .dashboardTurn.turnPlayer2 .dashboardTurnDot{box-shadow:0 0 0 4px #f1a99821}[data-theme=cipher] .ledgerThinking{background:#2b3d40}[data-theme=cipher] .dashboardUndo,[data-theme=cipher] .moreControlsButton,[data-theme=cipher] .moreControlsMenu button{color:#f5eddc;background:#293d40}[data-theme=cipher] .moreControlsMenu{background:#293d40}[data-theme=cipher] .moreControlsMenu button:hover{background:#39504f}[data-theme=cipher] .ledgerEvent{color:#ffd0b9;background:#4a3937}[data-theme=cipher] .confirmDeploy:not(:disabled){color:#17282d;background:#d9b975}[data-theme=cipher] .confirmDeploy:not(:disabled):hover{background:#f2d69b}[data-theme=cipher] .confirmDeploy:disabled{color:#e6e6db;background:#61706b}[data-theme=cipher] .rulesPanel h2,[data-theme=cipher] .rulesText h3,[data-theme=cipher] .rulesText th{color:#f5eddc}[data-theme=cipher] .rulesText th{background:#2d4142}[data-theme=cipher] .ruleGrid article{background:#293d40}[data-theme=cipher] .closeRules{background:#344747}[data-theme=cipher] .miniFog{color:#203237}@media (width<=700px){[data-theme=cipher] .gameHome .gameTopControls{margin-bottom:28px}[data-theme=cipher] .homeIntroduction:before{width:32px;height:32px;font-size:20px;top:16px;right:16px}[data-theme=cipher] .homeIntroduction h2{padding-right:8px}}@media (prefers-reduced-motion:reduce){[data-theme=cipher] .startButton{transition:none}}[data-theme=classic] .board{border-color:#a88e65;border-radius:3px}[data-theme=classic] .cell,[data-theme=classic] .cell.dark{background-image:linear-gradient(90deg,#0000 calc(100% - 1px),#84633761 calc(100% - 1px)),linear-gradient(#0000 calc(100% - 1px),#84633761 calc(100% - 1px));background-size:100% 100%}[data-theme=classic] .piece,[data-theme=classic] .palettePiece{text-shadow:none;border:2px solid #b89b6e!important;box-shadow:inset 0 0 0 2px #fff8e9,inset 0 0 0 3px,0 2px 3px #4b30142e!important}[data-theme=classic] .piece{width:76%;font-size:clamp(20px,2.6vw,30px)}[data-theme=classic] .palettePiece{font-size:clamp(21px,2.3vw,27px)}[data-theme=classic] .piece.p1,[data-theme=classic] .palettePiece.p1{color:#345d79}[data-theme=classic] .piece.p2,[data-theme=classic] .palettePiece.p2{color:#a23930}[data-theme=classic] .pieceMark{pointer-events:none;font-family:Songti SC,Noto Serif CJK SC,Source Han Serif SC,serif;font-weight:800;line-height:1;display:block}[data-theme=classic] .unknownGlyph{font-family:inherit;line-height:1}[data-theme=classic] .piece.stealthed{border-style:dashed!important}[data-theme=classic] .piece.picked,[data-theme=classic] .palettePiece.dragging{outline-offset:2px;outline:3px solid var(--theme-selection-ring)!important}[data-theme=classic] .ledgerRole .pieceMark{font-size:18px}[data-theme=classic] .captureRailPiece{width:34px;height:34px;font-size:13px}@media (width<=700px){[data-theme=classic] .captureRailPiece{width:26px;height:26px;font-size:11px}}
