@font-face{font-family:"Suisse Int'l";src:url(/liminalchess/assets/SuisseIntl-Regular-B7AM9lve.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:"Suisse Int'l";src:url(/liminalchess/assets/SuisseIntl-Medium-CpFcDFf0.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:"Suisse Int'l";src:url(/liminalchess/assets/SuisseIntl-Semibold-BGaYKH7e.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:"Suisse Int'l";src:url(/liminalchess/assets/SuisseIntl-Bold-Bjb5n-eU.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:"Suisse Int'l";src:url(/liminalchess/assets/SuisseIntl-RegularIt-pZQ_-Ikc.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}:root{font-family:var(--ui-font);color:#293d34;background:#f5f4ee;font-synthesis:none;font-weight:400;font-size:14px;--paper: #f5f4ee;--ink: #293d34;--muted: #81867d;--line: #dedfd5;--green: #2f4c3d;--lime: #d9e9a7;--board-light: #f0d9b5;--board-dark: #b58863;--board-coordinate-dark: #946f51;--ui-font: "Suisse Int'l", sans-serif}*{box-sizing:border-box}body{margin:0;min-width:340px}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button{border:0;background:none}button:disabled{cursor:default;opacity:.28}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid #aaa;outline-offset:4px}button{touch-action:manipulation}img{display:block;max-width:100%}::selection{background:#555;color:#fff}h1,h2,h3,p{margin:0}button svg{flex-shrink:0}em{font-weight:400}.app-shell{max-width:1312px;margin:auto;padding:0 54px}.site-header{height:102px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.wordmark{display:flex;align-items:center;font-size:34px;letter-spacing:-1.9px;font-weight:600;gap:12px}.brand-mark{display:grid;grid-template-columns:11px 11px;grid-template-rows:11px 11px;gap:3px;transform:rotate(-8deg);margin-right:2px}.brand-mark i{background:var(--green);border-radius:1px}.brand-mark i:nth-child(2){background:#9cae76;transform:translateY(-4px)}.brand-mark i:nth-child(3){background:#9cae76;transform:translateY(4px)}.wordmark-sub{font-size:9px;font-weight:500;letter-spacing:1.6px;margin-left:16px;margin-top:7px}.header-right{display:flex;align-items:center;gap:23px}.header-divider{height:20px;width:1px;background:var(--line)}.local-badge{display:flex;align-items:center;gap:8px;color:#6d796c;font-size:12px}.local-badge i,.live-dot{height:6px;width:6px;border-radius:50%;background:#7d9965}.text-button{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:500;padding:10px 0}.text-button:hover{color:#688447}.intro{display:flex;align-items:center;justify-content:space-between;padding:42px 0 35px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.65px;line-height:1.5}.intro .eyebrow{display:flex;align-items:center;gap:9px;color:#7d8577;font-size:9px}.tiny-line{width:20px;height:1px;background:#8c9a78}.intro h1{font-family:var(--ui-font);font-weight:400;font-size:70px;letter-spacing:-2px;line-height:1.08;margin:10px 0 12px}.intro h1 em{color:#77865e}.intro>div>p{color:#7f8478;font-size:13px;letter-spacing:.1px}.intro-note{display:flex;align-items:center;gap:22px;padding-right:20px}.note-symbol{font-family:var(--ui-font);color:#9eae82;font-size:76px;font-weight:400;line-height:1}.intro-note p{font-size:12px!important;line-height:1.65}.intro-note strong{font-weight:500;color:#536149}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:40px;align-items:start}.board-section{min-width:0}.player-bar{display:flex;align-items:center;justify-content:space-between;min-height:64px;gap:8px}.top-player{padding:0 1px 17px}.bottom-player{padding:16px 1px 0}.player-identity{display:flex;align-items:center;gap:11px;min-width:0}.player-avatar{width:40px;height:40px;background:#e0e2d8;border:1px solid #d4d8ca;border-radius:6px;display:flex;align-items:center;justify-content:center;padding:4px}.player-avatar.white-avatar{background:#eae9dd;border-color:#e0ded0}.chess-piece{width:100%;height:100%;object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.player-name{display:flex;align-items:center;gap:11px;font-weight:600;font-size:13px}.player-type{font-size:9px;font-weight:400;color:#8c9086}.captured-pieces{height:17px;display:flex;align-items:center;margin-top:4px;gap:0}.captured-pieces>.chess-piece{height:20px;width:17px;margin-right:-3px}.captured-pieces>span{font-size:10px;color:#999c92}.player-turn{font-size:10px;color:#969b90;display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:4px;white-space:nowrap}.player-turn>span{width:5px;height:5px;background:#b0b5aa;border-radius:50%}.player-turn.active{background:#e8eddd;color:#5b7048}.player-turn.active>span{background:#7f995d}.board-frame{position:relative;padding:0;border-radius:3px;box-shadow:0 8px 18px #263a2521,0 1px 1px #152c2614}.chessboard{position:relative;aspect-ratio:1;width:100%;isolation:isolate;background:url(/liminalchess/boards/lichess-brown.png) center / cover;border-radius:3px}.square-grid{display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);position:absolute;inset:0}.square{position:relative;display:block;padding:0;border:0;border-radius:0;background:transparent}.square.dark{background:transparent}.square.last-move,.square.dark.last-move{background:#9bc70069}.square.selected,.square.dark.selected{background:#14551e7f}.square.preview,.square.dark.preview{background:#9bc7007f}.square.checked,.square.dark.checked{background:radial-gradient(ellipse at center,red,#e70000 25%,#a9000000 89%)}.square:focus-visible{outline:3px solid #f4f9d2;outline-offset:-4px;z-index:2}.square.possible:after{content:"";position:absolute;inset:0;margin:auto;width:22%;height:22%;background:#14551e7f;border-radius:50%;transition:transform .15s}.square.possible:hover:after{transform:scale(1.4);background:#304a39b3}.square.capture:after{width:85%;height:85%;border:5px solid #52664794;background:none}.piece-button{position:absolute;width:12.5%;height:12.5%;padding:0;transform:translate(-50%,-50%);z-index:3;transition:left .2s ease,top .2s ease,filter .15s;border-radius:30%}.piece-button:hover{cursor:pointer}.piece-button.active-piece{z-index:4}.liminal-piece{z-index:5}.liminal-piece .chess-piece{filter:drop-shadow(0 0 3px #f2ffb9) drop-shadow(0 0 2px #f2ffb9)}.liminal-footprint{position:absolute;border:1.5px dashed #425a3480;border-radius:8px;background:#daf0a12b;pointer-events:none;z-index:2}.edge-target,.corner-target{position:absolute;width:calc(var(--cell-size) * .416);height:calc(var(--cell-size) * .416);transform:translate(-50%,-50%);display:grid;place-items:center;z-index:7;padding:0}.edge-target span{display:block;width:23%;height:72%;border:1px solid #436337;border-radius:5px;background:#e4f1b7;box-shadow:0 1px 4px #20391b4d;transition:background .15s,transform .15s}.edge-target.vertical span{width:72%;height:23%}.edge-target:hover span,.edge-target.hovered span{background:#f3ffcc;transform:scale(1.25);box-shadow:0 0 0 3px #2e4b3329}.edge-target:focus-visible{outline-offset:0}.corner-target span{display:block;width:42%;height:42%;transform:rotate(45deg);border:1px solid #436337;border-radius:2px;background:#e4f1b7;box-shadow:0 1px 4px #20391b4d;transition:transform .15s,background .15s}.corner-target:hover span,.corner-target.hovered span{transform:rotate(45deg) scale(1.2);background:#f3ffcc;box-shadow:0 0 0 3px #2e4b3329}.corner-target:focus-visible{outline-offset:0}.corner-footprint{border-radius:9px}.corner-dot{display:inline-block;width:7px;height:7px;border:1px solid #7a945d;border-radius:1px;background:#d9e9a7;transform:rotate(45deg);flex-shrink:0}.rank-labels{position:absolute;right:3px;top:0;bottom:0;width:12px;display:grid;grid-template-rows:repeat(8,1fr);color:var(--board-light);font-size:11px;font-weight:600;z-index:8;pointer-events:none}.rank-labels span{display:flex;justify-content:flex-end;align-items:flex-start;padding-top:2px}.rank-labels span:nth-child(2n),.file-labels span:nth-child(2n){color:var(--board-coordinate-dark)}.file-labels{position:absolute;left:0;right:0;bottom:0;height:16px;display:grid;grid-template-columns:repeat(8,1fr);color:var(--board-light);font-size:11px;font-weight:600;z-index:8;pointer-events:none}.file-labels span{display:flex;justify-content:flex-end;align-items:flex-end;padding:0 3px 1px 0}.board-toolbar{display:flex;align-items:center;justify-content:space-between;margin-top:20px;padding-top:15px;border-top:1px solid var(--line)}.board-legend{display:flex;gap:19px;align-items:center}.board-legend>span{display:flex;gap:7px;align-items:center;font-size:10px;color:#7c8576}.normal-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#849779;flex-shrink:0}.edge-dot{display:inline-block;width:13px;height:4px;border:1px solid #7a945d;border-radius:3px;background:#d9e9a7;flex-shrink:0}.toolbar-actions{display:flex;align-items:center;gap:5px}.icon-button{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;transition:background .15s}.icon-button:not(:disabled):hover{background:#e7e9df}.toolbar-separator{height:17px;width:1px;background:var(--line);margin:0 5px}.board-caption{height:37px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:#8f9586;margin-top:6px}.board-caption strong{font-weight:500;color:#465f3a;letter-spacing:1px}.preview-label{color:#7c8e64;font-size:9px;text-transform:uppercase;letter-spacing:1px;margin-right:8px}.game-sidebar{display:flex;flex-direction:column;gap:17px;padding-top:2px}.status-panel{background:#fffef9;border:1px solid #dddfd4;border-radius:7px;padding:22px 23px 20px}.panel-label{display:flex;align-items:center;justify-content:space-between;color:#94998b}.status-panel .live-dot{box-shadow:0 0 0 4px #eff3e8}.status-panel h2{font-family:var(--ui-font);font-weight:400;font-size:34px;letter-spacing:-.45px;margin-top:18px;line-height:1.12}.status-period{color:#90a369}.status-panel>p{font-size:11px;color:#8b9182;margin-top:9px;line-height:1.6;min-height:18px}.game-stats{display:flex;align-items:center;gap:24px;border-top:1px solid #e7e8df;padding-top:15px;margin:19px 0 17px}.game-stats>span{display:flex;align-items:center;gap:7px;font-size:10px;color:#8b9383}.game-stats strong{font-size:11px;font-weight:500;color:#495a3e;margin-left:1px}.liminal-small{font-family:var(--ui-font);font-size:19px;line-height:10px;color:#839369;font-style:normal}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:4px;background:var(--green);color:#fbfcf0;font-size:11px;font-weight:500;padding:13px 17px;transition:background .15s,transform .15s}.primary-button:hover{background:#3f5d49}.primary-button:active{transform:translateY(1px)}.new-game-button{width:100%;justify-content:flex-start}.opponent-controls{margin:18px 0}.opponent-toggle{display:grid;grid-template-columns:1fr 1fr;padding:4px;gap:4px;border:1px solid #d3dbce;border-radius:9px;background:#dfe5d8}.opponent-toggle button{padding:9px 6px;border-radius:6px;color:#5b6b5d;font-size:12px;font-weight:600;transition:background .15s,color .15s}.opponent-toggle button[aria-pressed=true]{background:var(--paper);color:var(--green);box-shadow:0 1px 3px #293d3410}.computer-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.computer-options label{display:flex;flex-direction:column;gap:6px;color:#687661;font-size:11px}.computer-options select{width:100%;min-height:37px;padding:7px 9px;border:1px solid #ccd4c5;border-radius:6px;background:#f5f6ef;color:var(--ink);font:inherit;font-size:12px}.computer-note{margin:11px 0 0;color:#73816c;font-size:10px;line-height:1.5}.computer-progress{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;color:#687661;font-size:11px}.computer-progress .text-button{font-size:11px;text-decoration:underline;text-underline-offset:3px}.live-dot.thinking{animation:thinking-pulse 1.2s ease-in-out infinite}@keyframes thinking-pulse{50%{opacity:.3}}@media(prefers-reduced-motion:reduce){.live-dot.thinking{animation:none}}.new-game-button svg:last-child{margin-left:auto}.status-panel.in-check{border-color:#c19176;background:#fcf6eb}.status-panel.in-check h2{color:#975e43}.selection-panel{background:#edeee5;border:1px solid #e0e3d5;border-radius:6px;padding:17px 20px}.hint-toggle{width:25px;height:14px;border-radius:20px;background:#c9cebf;padding:2px;display:flex;align-items:center}.hint-toggle span{height:10px;width:10px;border-radius:100%;background:#fffef5;transition:transform .15s}.hint-toggle.on{background:#879c70}.hint-toggle.on span{transform:translate(11px)}.guidance-content{display:flex;align-items:center;gap:14px;margin-top:13px}.guidance-symbol{font-size:34px;color:#7b8e66;line-height:1}.guidance-content h3,.selected-summary h3{font-size:12px;font-weight:500;line-height:1.4}.guidance-content p,.selected-summary p{font-size:10px;line-height:1.65;color:#8e9584;margin-top:4px}.selected-summary{display:flex;gap:12px;align-items:center;margin-top:12px}.selected-piece-icon{width:40px;height:40px;flex-shrink:0}.selected-summary h3{display:flex;align-items:center;gap:12px}.selected-summary h3>span{font-size:10px;font-weight:400;color:#889576}.possibility-counts{display:flex;gap:13px;border-top:1px solid #dce1d0;margin-top:12px;padding-top:11px;font-size:10px;color:#8a927e}.possibility-counts>span{display:flex;align-items:center;gap:6px}.possibility-counts strong{color:#536848;font-weight:500}.history-panel{border:1px solid #dddfd4;border-radius:6px;overflow:hidden;background:#f9f9f2}.history-heading{display:flex;align-items:center;gap:9px;padding:12px 17px 11px}.history-heading h3{font-size:12px;font-weight:500}.history-heading>span{font-size:9px;color:#93a17f;background:#e9eedf;border-radius:4px;padding:3px 5px}.history-heading .icon-button{margin-left:auto;color:#87927b}.journal-columns,.journal-row{display:grid;grid-template-columns:37px 1fr 1fr;align-items:center;column-gap:3px}.journal-columns{padding:10px 18px;background:#efefe7;font-size:8px;color:#8c9581;letter-spacing:1px}.journal-columns>span{display:flex;align-items:center;gap:6px}.white-indicator,.black-indicator{height:6px;width:6px;border-radius:100%;display:inline-block}.white-indicator{border:1px solid #acb69e;background:#fcfcf2}.black-indicator{background:#5b6d4e}.journal-scroll{height:149px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c7d0bb transparent;padding:5px 9px}.empty-journal{padding-top:19px}.journal-decoration{display:flex;align-items:center;justify-content:space-around;color:#9ba68d;font-family:var(--ui-font);font-size:17px;width:155px;margin:0 auto 15px}.journal-decoration>span{font-family:var(--ui-font);font-size:12px;font-weight:400;color:#b7bfaa}.empty-journal p{text-align:center;color:#a0a694;font-size:11px;line-height:1.6}.journal-row{font-size:11px;min-height:33px}.journal-row>span:first-child{font-size:10px;color:#9da58f;padding-left:9px}.journal-row>button{display:flex;align-items:center;justify-content:space-between;text-align:left;padding:8px;border-radius:3px;color:#58684a;font-size:11px;min-width:0}.journal-row>button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.journal-row>button:hover{background:#eff1e7}.journal-row>button.current{background:#e2eacb;color:#405e34}.journal-row>button.future{opacity:.4}.journal-row i{font-family:var(--ui-font);font-size:14px;font-style:normal;color:#859e5e;margin-left:2px}.journal-dash{color:#a6af99;padding-left:8px}.journal-footer{border-top:1px solid #e3e5da;padding:10px 17px;color:#9aa28e;font-size:9px;display:flex;gap:9px;align-items:center}.journal-footer>span{font-family:var(--ui-font);font-size:19px;color:#8fa474;line-height:10px}.learn-card{display:flex;align-items:center;gap:13px;text-align:left;background:#e5ead8;border:1px solid #dce3cb;border-radius:6px;padding:17px 14px;transition:background .15s}.learn-card:hover{background:#dfe7ce}.learn-illustration{width:52px;height:59px;position:relative;display:grid;grid-template-rows:1fr 1fr;flex-shrink:0;transform:rotate(-8deg);overflow:hidden;border:1px solid #abb991;border-radius:3px}.learn-illustration>span:first-child{background:var(--board-light)}.learn-illustration>span:nth-child(2){background:var(--board-dark)}.learn-illustration>div{position:absolute;inset:7px 5px;border-top:1px dashed transparent}.learn-illustration:after{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px dashed #e6efc6;z-index:-1}.learn-copy{display:flex;flex-direction:column;gap:6px;flex:1}.learn-copy .eyebrow{font-size:7px;letter-spacing:1.3px;color:#8c9a75}.learn-copy strong{font-family:var(--ui-font);font-size:21px;font-weight:400;letter-spacing:-.2px;line-height:1.1}.learn-copy>span:last-child{font-size:9px;color:#8d9a79}.learn-card>svg{color:#809269;margin-left:-4px;width:16px}.site-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:22px 0 25px;margin-top:24px;color:#939b86;font-size:9px}.site-footer>span:first-child{font-size:8px;letter-spacing:1.7px}.site-footer>span:last-child{display:flex;align-items:center;gap:16px}.site-footer i{font-family:var(--ui-font);font-size:19px;line-height:12px;color:#81976a}.site-footer button{font-size:9px;padding:0;color:#687b54}.site-footer button:hover{text-decoration:underline}dialog{border:1px solid #d8dece;border-radius:10px;background:#f7f7ef;color:var(--ink);padding:0;box-shadow:0 25px 80px #172d2840;max-height:90dvh;overflow-y:auto}dialog::backdrop{background:#0000008c;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.rules-dialog{max-width:690px;width:calc(100% - 36px)}.modal-inner{padding:28px 32px}.modal-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.modal-top>.eyebrow{color:#8e9a80}.rules-dialog h2{font-family:var(--ui-font);font-size:52px;font-weight:400;letter-spacing:-1px;margin:10px 0}.rules-dialog h2 em{color:#8a9b6b}.modal-intro{font-size:13px;color:#7c8971;line-height:1.7;max-width:500px}.rule-examples{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:25px}.rule-example{display:flex;flex-direction:column;background:#eeefe4;border:1px solid #dce1d0;border-radius:6px;overflow:hidden;text-align:left;padding:0}.rule-example:hover{border-color:#a5b68c}.example-board{height:123px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:1fr 1fr;position:relative;width:100%;overflow:hidden}.example-board>span{background:var(--board-light)}.example-board>span:nth-child(2n){background:var(--board-dark)}.example-piece{position:absolute;width:64px;height:64px;top:50%;left:50%;transform:translate(-50%,-50%);filter:drop-shadow(0 0 3px #f0ffd0)}.example-board i{position:absolute;bottom:8px;right:9px;color:#f8ffdf;background:#435a36b3;padding:4px 6px;border-radius:3px;font-size:9px;font-style:normal;letter-spacing:1px}.knight-example .example-piece{top:27%;left:66.66%}.corner-example{grid-template-columns:repeat(2,1fr)}.corner-example>span:nth-child(3){background:var(--board-dark)}.corner-example>span:nth-child(4){background:var(--board-light)}.corner-example .example-piece{top:50%;left:50%}.pawn-rule-link{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 14px;margin-top:13px;border:1px solid #dce1d0;border-radius:5px}.pawn-rule-link:hover{background:#eeefe4}.pawn-rule-icon{width:28px;height:36px;flex-shrink:0}.pawn-rule-link>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.pawn-rule-link strong{font-size:11px;font-weight:500}.pawn-rule-link>span>span{font-size:10px;color:#849276;line-height:1.6}.pawn-rule-link>svg{margin-left:auto}.example-title{font-family:var(--ui-font);font-size:21px;padding:16px 14px 8px;display:flex;gap:6px;align-items:center;width:100%;line-height:1.1}.example-title>svg{margin-left:auto}.example-copy{font-size:11px;color:#849276;line-height:1.7;padding:0 14px}.try-link{margin:12px 14px 15px;font-size:9px;color:#587a3c;font-weight:500}.rules-list{display:flex;flex-direction:column;gap:20px;margin-top:28px}.rules-list>div{display:flex;gap:18px}.rules-list>div>span{font-family:var(--ui-font);font-size:21px;color:#a0b082;line-height:1}.rules-list h3{font-size:12px;font-weight:500;line-height:1.3;margin-bottom:6px}.rules-list p{font-size:11px;color:#89947b;line-height:1.75}.rules-footnote{font-size:10px;line-height:1.7;color:#98a18c;background:#eff1e6;padding:14px;margin-top:23px;border-radius:4px}.modal-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding-top:20px;margin-top:24px}.modal-footer>span{font-size:10px;color:#8c977f}.small-dialog{width:calc(100% - 36px);max-width:440px}.small-dialog .modal-top h2{font-family:var(--ui-font);font-size:32px;font-weight:400;letter-spacing:-.4px}.dialog-copy{font-size:12px;line-height:1.8;color:#8a957c;margin-top:15px}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:25px}.secondary-button{font-size:11px;border:1px solid #cfd7c2;border-radius:4px;padding:11px 15px;color:#708160}.secondary-button:hover{background:#e8eddf}.promotion-choices{display:flex;gap:10px;margin-top:25px}.promotion-choices>button{flex:1;padding:10px 6px;background:#e8eddd;border:1px solid #d4dec4;border-radius:5px;display:flex;flex-direction:column;align-items:center;gap:8px}.promotion-choices>button:hover{background:#d9e7c0}.promotion-choices .chess-piece{height:50px}.promotion-choices span{font-size:10px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:10px;padding:13px 20px;border-radius:6px;background:#2f4c3d;color:#eef4e0;font-size:12px;box-shadow:0 5px 20px #17322026;z-index:20;max-width:90vw}@media(min-width:1400px){.app-shell{max-width:1312px;padding:0 66px}.game-layout{grid-template-columns:minmax(0,1fr) 350px;gap:52px}.intro{padding:46px 0 36px}.status-panel{padding:24px}.selection-panel{padding:20px}.journal-scroll{height:170px}.learn-card{padding:21px 17px}.game-sidebar{gap:20px}.learn-copy strong{font-size:23px}}@media(min-width:821px){.app-shell{max-width:calc(clamp(420px,100dvh - 350px,620px) + 450px);padding:0 40px}.site-header{height:78px}.intro{padding:23px 0 22px}.intro h1{font-size:61px;margin:8px 0}.game-layout{grid-template-columns:minmax(0,1fr) 330px;gap:40px}.journal-scroll{height:129px}.game-sidebar{gap:16px}.selection-panel{padding:17px 20px}.learn-card{padding:17px 14px}.learn-copy strong{font-size:21px}}@media(max-width:1100px){.app-shell{padding:0 35px}.game-layout{grid-template-columns:minmax(0,1fr) 285px;gap:25px}.wordmark-sub{display:none}.intro{padding:33px 0 28px}.intro h1{font-size:63px}.status-panel{padding:19px}.status-panel h2{font-size:30px}.game-sidebar{gap:13px}.selection-panel{padding:15px 17px}.learn-card{padding:14px 11px;gap:10px}.learn-copy strong{font-size:19px}.learn-illustration{width:42px;height:52px}.learn-copy .eyebrow{font-size:6.5px}.journal-scroll{height:118px}.journal-footer{font-size:8px}.game-stats{gap:19px}.intro-note{padding-right:0}}@media(max-width:820px){.app-shell{padding:0 25px;max-width:690px}.site-header{height:83px}.wordmark{font-size:30px}.local-badge,.header-divider{display:none}.intro{padding:30px 0 24px}.intro h1{font-size:62px}.intro-note{gap:13px}.intro-note .note-symbol{font-size:56px}.intro-note p{font-size:10px!important}.intro .eyebrow{font-size:8px}.game-layout{grid-template-columns:minmax(0,1fr);gap:20px}.game-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:15px}.status-panel{grid-row:span 2;display:flex;flex-direction:column;justify-content:space-between}.history-panel{grid-column:2;grid-row:2 / span 2}.learn-card{grid-column:1}.selection-panel{min-height:116px}.journal-scroll{height:155px}.board-caption{margin-top:4px;height:26px}.board-toolbar{margin-top:16px;padding-top:10px}.site-footer{margin-top:25px}.piece-button{transition-duration:.16s}.status-panel>p{min-height:34px}.board-frame{box-shadow:0 7px 16px #263a251c}}@media(max-width:520px){.app-shell{padding:0 17px}.site-header{height:72px}.wordmark{font-size:28px;gap:9px}.brand-mark{grid-template-columns:9px 9px;grid-template-rows:9px 9px;gap:3px}.text-button{font-size:11px;gap:7px}.text-button svg{width:16px}.intro{padding:25px 0 20px}.intro h1{font-size:57px;margin:8px 0 7px}.intro .eyebrow{font-size:7px;letter-spacing:1.4px;gap:7px}.intro>div>p{font-size:11px}.intro-note{display:none}.player-bar{min-height:55px}.top-player{padding-bottom:12px}.bottom-player{padding-top:12px}.player-avatar{width:34px;height:34px}.player-name{font-size:12px;gap:8px}.player-type{font-size:8px}.captured-pieces>span{font-size:9px}.player-turn{font-size:9px;padding:5px 7px}.board-frame{border-radius:3px}.rank-labels{width:10px;font-size:9px}.file-labels{height:13px;font-size:9px}.edge-target,.corner-target{width:7%;height:7%}.edge-target span{height:59%;width:19%}.edge-target.vertical span{width:59%;height:19%}.board-legend{gap:13px}.board-legend>span{font-size:9px}.toolbar-actions{gap:1px}.board-caption{font-size:9px;gap:5px}.board-caption>svg{width:12px}.game-layout{gap:16px}.game-sidebar{grid-template-columns:minmax(0,1fr);gap:13px}.status-panel,.history-panel,.learn-card{grid-column:auto;grid-row:auto}.status-panel{padding:19px 20px}.status-panel h2{font-size:32px;margin-top:12px}.status-panel>p{min-height:0}.game-stats{margin:14px 0;padding-top:13px;justify-content:space-between}.status-panel .panel-label .eyebrow{font-size:8px}.selection-panel{min-height:auto;padding:15px 19px}.selection-panel .guidance-content{margin-top:10px}.guidance-content p{font-size:11px}.journal-scroll{height:145px}.journal-footer{font-size:9px}.learn-card{padding:16px 19px;gap:17px}.learn-illustration{width:49px;height:54px}.learn-copy .eyebrow{font-size:7px}.learn-copy strong{font-size:24px}.learn-copy>span:last-child{font-size:10px}.learn-card>svg{width:20px}.site-footer{padding:20px 0;margin-top:22px}.site-footer>span:first-child{font-size:6px;letter-spacing:1px}.site-footer>span:last-child{font-size:8px;gap:10px}.site-footer>span:last-child>i{display:none}.site-footer button{font-size:8px}.modal-inner{padding:21px}.rules-dialog h2{font-size:43px}.modal-intro{font-size:11px}.rule-examples{gap:10px}.example-title{font-size:18px;padding:12px 10px 8px;line-height:1.2}.example-title svg{display:none}.example-copy{font-size:10px;padding:0 10px}.try-link{margin:10px;font-size:8px}.example-board{height:98px}.example-piece{width:55px;height:55px}.rules-list>div{gap:13px}.modal-footer>span{font-size:8px}.modal-footer .primary-button{font-size:10px;padding:11px 13px}.small-dialog .modal-top h2{font-size:29px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}body{background:#000;min-width:0}.match{--size: min(75dvh, 65vw);--gap: clamp(10px, 1.6vw, 32px);position:relative;min-height:100dvh;display:grid;place-items:center;color:#fff;font:400 14px/1.3 var(--ui-font)}.match-wordmark{position:absolute;top:18px;left:20px;font-size:13px;font-weight:400}.match-wordmark span,.rating{color:#969696}.playing-area{width:var(--size)}.playing-area .board-frame,.playing-area .chessboard{border-radius:0;box-shadow:none}.playing-area .chessboard{background:#826e60}.playing-area .square.dark:where(:not(.selected,.last-move,.preview,.checked)){background-color:#675246}.playing-area :is(.rank-labels,.file-labels){display:none}.match-info{position:absolute;left:calc(50% + var(--size) / 2 + var(--gap));right:0;height:var(--size)}.seat{height:50%;position:relative}.seat time{position:absolute;top:44%;transform:translateY(-50%);font-size:clamp(22px,2.8vw,60px);font-variant-numeric:tabular-nums}.seat.lower time{top:56%}.identity{position:absolute;bottom:0;width:100%;display:flex;flex-direction:column-reverse;padding-bottom:12px;border-bottom:1px solid #333}.lower .identity{top:0;bottom:auto;flex-direction:column;border:0;padding:12px 0 0}@media(max-aspect-ratio:1/1),(max-width:760px)and (pointer:coarse),(max-height:600px)and (pointer:coarse){.match:has(.playing-area){--size:100vw;min-height:max(100dvh,calc(100vw + 220px))}.match-info .seat{padding-inline:10px}.match-info{inset:auto;width:var(--size);pointer-events:none}.seat{position:absolute;bottom:100%;width:100%;display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;height:auto;padding:8px 0}.seat.lower{bottom:auto;top:100%}.seat time,.seat .identity{position:static;transform:none}.seat .identity{width:auto;flex-direction:row;gap:8px;align-items:center;padding:0;border:0}}.game-actions{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;align-items:center;justify-content:center;gap:16px;font:13px/1.4 var(--ui-font)}.game-actions button,.game-actions a{padding:6px 0;color:#aaa;white-space:nowrap}.game-actions button:hover,.game-actions a:hover{color:#fff}.small-dialog,.rules-dialog,.toast{border-radius:0;filter:grayscale(1)}:is(.small-dialog,.rules-dialog) *,:is(.small-dialog,.rules-dialog) *:before,:is(.small-dialog,.rules-dialog) *:after{border-radius:0!important}.small-dialog{color:#eee;background:#151515;border-color:#383838;box-shadow:none}.small-dialog .dialog-copy{color:#bbb}.small-dialog button{color:#eee;background:#252525;border-color:#454545}.small-dialog button:hover{background:#333}input,select,textarea{font-family:var(--ui-font)}@media(pointer:coarse),(max-width:600px){.playing-area :is(.edge-target,.corner-target){width:min(44px,calc(var(--cell-size) * .88));height:min(44px,calc(var(--cell-size) * .88))}.playing-area .edge-target span{width:5px;height:18px}.playing-area .edge-target.vertical span{width:18px;height:5px}.playing-area .corner-target span{width:11px;height:11px}}
