@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#101314;--panel:#191d1f;--border:#2a3133;--text:#f1f4f2;--muted:#9daaa6;--subtle:#768580;--green:#70dfb1;--green-dark:#122b22;--warning:#e9b385;--board-light:#d4ddd0;--board-dark:#6d9284;background:var(--bg);color:var(--text);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;scrollbar-gutter:stable;font-family:Inter Variable,Inter,system-ui,sans-serif;font-size:16px}*,:before,:after{box-sizing:border-box}body{min-width:300px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.42}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--green);outline-offset:3px}button svg{flex:none}h1,h2,h3,p{margin:0}img{display:block}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.masthead{background:#15191a;border-bottom:1px solid #252c2d}.header-inner{grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;width:min(100% - 72px,1112px);min-height:70px;margin:auto;display:grid}.brand{color:var(--text);letter-spacing:-.055em;background:0 0;border:0;justify-self:start;align-items:center;gap:11px;padding:0;font-size:1.2rem;font-weight:760;display:flex}.brand img{background:#17332a;border-radius:10px;width:39px;height:39px}.brand span span{color:var(--green)}.header-inner nav{gap:5px;display:flex}.header-inner nav button{color:var(--muted);white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-size:.875rem;font-weight:560;display:flex}.header-inner nav button:hover{color:var(--text);background:#222829}.header-inner nav button[aria-current]{color:#8be8c2;background:#21352d;border-color:#2b453b}.icon-button{color:var(--muted);background:0 0;border:1px solid #0000;border-radius:8px;flex:none;place-items:center;width:38px;height:38px;padding:0;display:inline-grid}.icon-button:not(:disabled):hover{color:var(--text);background:#282f31}.settings-button{border-color:var(--border);justify-self:end}.container{width:min(100% - 72px,1112px);min-height:calc(100vh - 70px);padding-bottom:max(20px, env(safe-area-inset-bottom));margin:0 auto}.page-heading{justify-content:space-between;align-items:flex-end;gap:20px;padding:39px 0 29px;display:flex}.page-heading h1{letter-spacing:-.052em;text-wrap:balance;font-size:clamp(1.85rem,3.45vw,2.42rem);font-weight:730;line-height:1.14}.page-heading p{color:var(--muted);margin-top:9px;line-height:1.55}.heading-copy{min-width:0}.button{color:#e2eae6;text-align:center;background:#23292b;border:1px solid #343e3f;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:8px 13px;font-size:.875rem;font-weight:620;line-height:1.25;display:inline-flex}.button:not(:disabled):hover{background:#2b3434;border-color:#596862}.button.primary{background:var(--green);color:#10251d;border-color:#80e7bd}.button.primary:not(:disabled):hover{background:#9decca;border-color:#a5f0d2}.button.plain{color:var(--muted);background:0 0;border-color:#0000}.button.toggled{color:var(--green);background:#203a2f;border-color:#416e5a}.button.danger{background:#703f3b;border-color:#8f5650}.new-game{flex:none;min-height:44px;padding:8px 15px}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.panel{background:var(--panel);border:1px solid var(--border);border-radius:13px}.play-layout{grid-template-columns:minmax(0,624px) minmax(0,1fr);align-items:start;gap:28px;display:grid}.board-column{--eval-width:17px;--eval-gap:7px;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}.player-row{min-height:50px;justify-content:space-between;align-items:center;gap:10px;padding-inline-start:calc(var(--eval-width) + var(--eval-gap));display:flex}.top-player{margin-bottom:9px}.bottom-player{margin-top:9px}.player{align-items:center;gap:10px;min-width:0;display:flex}.player div:last-child{min-width:0}.player strong,.player span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.player strong{font-size:.95rem;font-weight:650;line-height:1.25}.player span{color:var(--muted);margin-top:3px;font-size:.79rem}.player-icon,.row-icon{color:#a6c2b8;background:#222c2b;border:1px solid #31403e;border-radius:9px;flex:none;place-items:center;width:40px;height:40px;display:grid}.white-avatar{color:#b8d8ca;background:#202825}.board-tool{border-color:var(--border);width:35px;height:35px}.turn-status{color:var(--muted);white-space:nowrap;background:#1c2524;border-radius:999px;align-items:center;gap:7px;padding:7px 11px;font-size:.79rem;display:flex}.turn-status i{background:currentColor;border-radius:50%;width:7px;height:7px}.turn-status.your-turn{color:#8be2bc;background:#1b3529}.board-frame{grid-template-columns:minmax(0,1fr);display:grid;position:relative}.board-frame.with-eval{grid-template-columns:var(--eval-width) minmax(0, 1fr);gap:var(--eval-gap)}.board{aspect-ratio:1;background:var(--board-dark);touch-action:manipulation;border-radius:8px;grid-template:repeat(8,1fr)/repeat(8,1fr);width:100%;display:grid;position:relative;overflow:hidden}.square{isolation:isolate;-webkit-user-select:none;user-select:none;touch-action:manipulation;border:0;border-radius:0;place-items:center;width:100%;height:100%;min-height:0;padding:0;display:grid;position:relative}.square:focus-visible{outline-offset:-3px;z-index:2;outline-color:#285943}.square.light{background:var(--board-light);color:#4d7565}.square.dark{background:var(--board-dark);color:#eff5e9}.square:before{content:"";z-index:-1;pointer-events:none;transition:background-color .16s,box-shadow .16s;position:absolute;inset:0}.square.last:before{background:#e4d5737a}.square.selected:before,.square.hinted:before{background:#5aec8b63;box-shadow:inset 0 0 0 3px #237e53aa}.square.checked:before,.square.threatened:before{background:#c7463e70;box-shadow:inset 0 0 0 2px #af3f35bb}.square .piece{pointer-events:none;object-fit:contain;filter:drop-shadow(0 2px 1px #23382c35);width:85%;height:85%;position:absolute}.square.piece-in-motion{z-index:3}.board-hint-arrow{z-index:4;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.board-hint-arrow path{fill:#105741;stroke:#d3fae7;stroke-width:2.5px;stroke-linejoin:round;opacity:.88}.rank,.file{z-index:1;pointer-events:none;font-size:clamp(.63rem,1.4vw,.87rem);font-weight:760;line-height:1;position:absolute}.rank{top:5px;left:6px}.file{bottom:4px;right:6px}.move-marker{aspect-ratio:1;pointer-events:none;background:#203f3372;border-radius:50%;width:27%}.capture-marker{pointer-events:none;border:clamp(3px,.55vw,7px) solid #2646378f;border-radius:50%;position:absolute;inset:3%}.eval-slot{background:#202725;border-radius:5px;min-width:0;position:relative;overflow:hidden}.eval{background:#37433e;position:absolute;inset:0;overflow:hidden}.eval-white{background:#dbe5db;transition:height .32s cubic-bezier(.2,.7,.25,1);position:absolute;inset-inline:0}.eval-label{writing-mode:vertical-rl;font-variant-numeric:tabular-nums;color:#fff;background:#222c28;border-radius:3px;padding:5px 1px;font-size:.64rem;font-weight:760;transition:opacity .2s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.eval.pending .eval-label{opacity:.65}.board-note{color:var(--muted);margin:5px 0 8px;font-size:.81rem}.preview-nav{color:var(--muted);background:#192321;border:1px solid #34463e;border-radius:8px;justify-content:flex-end;align-items:center;gap:5px;margin:4px 0 0;padding:6px;font-size:.83rem;display:flex}.preview-nav span{margin-right:auto}.preview-nav strong{color:var(--text);margin-left:4px;font-weight:660}.preview-nav small{font-variant-numeric:tabular-nums;margin-left:4px}.promotion{z-index:5;background:#0e1514a8;place-items:center;display:grid;position:absolute;inset:0}.promotion>div{background:var(--panel);border:1px solid var(--border);text-align:center;border-radius:11px;width:min(88%,320px);padding:16px}.promotion-pieces{justify-content:center;gap:6px;margin-top:10px;display:flex}.promotion-pieces button{border:1px solid var(--border);background:var(--board-dark);border-radius:7px;width:23%;padding:4px}.promotion-pieces img{width:100%}.play-aside{overflow-anchor:none;gap:15px;min-width:0;margin-top:4px;display:grid}.coach-panel{overflow:hidden}.segmented{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.coach-tabs{background:#111617;border:1px solid #252d2e;border-radius:9px;margin:13px 14px 0;padding:4px}.segmented button{min-height:37px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:5px;font-size:.87rem;font-weight:640;display:flex}.segmented button:not(:disabled):hover{background:#242d2c}.segmented button.active{color:#a6efd0;background:#263e34;border-color:#365449}.coach-body{padding:17px}.coach-body h2,.move-title h2{letter-spacing:-.025em;font-size:1.04rem;font-weight:690;line-height:1.32}.coach-body p{color:var(--muted);margin-top:5px;font-size:.88rem;line-height:1.53}.coach-title,.section-heading{align-items:center;gap:11px;margin-bottom:15px;display:flex}.coach-title p{margin-top:2px;font-size:.78rem}.coach-symbol{color:#94ebc6;background:#223c32;border:1px solid #3a5d4d;border-radius:10px;flex:none;place-items:center;width:41px;height:41px;display:grid}.coach-tip{background:#202d28;border:1px solid #32473e;border-radius:9px;padding:13px 14px}.coach-tip strong{color:#ccf1df;font-size:.92rem;font-weight:670}.coach-tip p{color:#c2d2ca}.ai-reply p+p{margin-top:8px}.hint-result+.ai-reply{margin-top:10px}.hint-reveal{color:#abefd0;text-underline-offset:.2em;background:0 0;border:0;min-height:35px;padding:7px 4px 4px 0;font-size:.835rem;font-weight:640;text-decoration:underline}.hint-reveal:not(:disabled):hover{color:#e0fff0}.hint-summary{justify-content:space-between;align-items:start;gap:10px;display:flex}.hint-summary>div{gap:3px;display:grid}.hint-summary>div>span{color:#a7c7b9;font-size:.81rem;font-weight:610}.hint-summary strong{color:#e2f7ed;letter-spacing:-.025em;font-size:1.34rem;font-weight:735}.hint-summary .subtle-tag{color:#c5e5d5;font-variant-numeric:tabular-nums}.hint-variation{color:#e6f7ed;text-align:left;background:#293d34;border:1px solid #40594e;border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:41px;margin:12px 0 8px;padding:8px 10px;font-size:.86rem;font-weight:615;display:grid}.hint-variation:not(:disabled):hover,.hint-variation[aria-pressed=true]{background:#324c3e;border-color:#698c79}.hint-variation span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hint-gpt{background:0 0;border-color:#3b5e4d;width:100%}.hint-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.hint-actions .button:only-child{grid-column:1/-1}.hint-actions .button svg{color:#a8c4b9}.ask{grid-template-columns:1fr auto;gap:7px;margin-top:12px;display:grid}.ask select{min-width:0;font-size:.82rem}.section-heading{justify-content:space-between;align-items:flex-start}.section-heading p,.analysis-body .analysis-description{font-size:.81rem}.subtle-tag{color:var(--muted);white-space:nowrap;background:#252e2b;border-radius:5px;padding:5px 8px;font-size:.74rem}.review-summary{border:1px solid var(--border);color:#c8dfd4;font-variant-numeric:tabular-nums;background:#1e2724;border-radius:8px;align-items:center;gap:9px;padding:9px 12px;font-size:.86rem;display:flex}.review-summary span:last-child{margin-left:auto}.warning{color:var(--warning)}.variations{gap:6px;margin:12px 0;display:grid}.variation{text-align:left;color:var(--text);background:#232a2a;border:1px solid #303c39;border-radius:7px;grid-template-columns:64px 47px minmax(0,1fr);align-items:center;gap:7px;padding:9px 8px;font-size:.76rem;display:grid}.variation:hover{border-color:#698177}.variation span{color:var(--muted)}.variation strong{color:var(--green);font-variant-numeric:tabular-nums}.variation code{text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;overflow:hidden}.variation.played{background:#2c2b26;border-color:#443d32}.variation.played strong{color:#e5c5a5}.recalculate{margin-top:4px;padding-inline:0;font-size:.79rem}.move-panel{overflow:hidden}.move-title{border-bottom:1px solid #2b3233;justify-content:space-between;align-items:center;gap:6px;padding:15px 16px 13px;display:flex}.move-title h2{align-items:center;gap:8px;display:flex}.move-title h2 svg{color:#9dada8}.move-title>span{color:var(--muted);white-space:nowrap;font-size:.76rem}.move-list{scrollbar-width:thin;scrollbar-gutter:stable;min-height:101px;max-height:211px;position:relative;overflow-y:auto}.no-moves{text-align:center;min-height:101px;color:var(--muted);place-items:center;padding:13px;font-size:.86rem;display:grid}.move-row{grid-template-columns:38px 1fr 1fr;align-items:center;gap:5px;min-height:35px;padding:2px 10px;display:grid}.move-row:nth-child(odd){background:#1e2425}.move-row>span{color:var(--subtle);padding-left:6px;font-size:.8rem}.move-row button{text-align:left;min-height:29px;color:var(--text);background:0 0;border:1px solid #0000;border-radius:5px;align-items:center;gap:8px;padding:3px 8px;font-size:.86rem;display:flex}.move-row button:hover{background:#2a3331}.move-row button.current{color:#a3edce;background:#274337;border-color:#355445}.move-row i{background:#ed9b79;border-radius:50%;width:6px;height:6px;display:inline-block}.move-controls{border-top:1px solid #2b3233;justify-content:space-between;padding:5px 7px;display:flex}.move-controls>div{gap:2px;display:flex}.move-controls .icon-button{width:34px;height:35px}.notice{color:#f4d7bf;overflow-wrap:anywhere;background:#392c26;border:1px solid #594033;border-radius:8px;margin-top:10px;padding:10px 12px;line-height:1.45}.notice .button{margin-top:6px}.coach-notice{margin:0 14px 14px}.global-notice{justify-content:space-between;align-items:center;gap:12px;display:flex}.success{color:var(--green);background:#233b30;border-radius:8px;padding:10px 12px}.spin{animation:1.1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.muted{color:var(--muted);font-size:.92rem;line-height:1.55}.overview-card{min-width:0;padding:22px}.overview-card h2{letter-spacing:-.03em;font-size:1.19rem}.overview-card>p{margin-top:8px}.overview-grid{grid-template-columns:1.3fr 1fr;gap:15px;display:grid}.metrics{grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:15px;display:grid}.stat{padding:18px 20px}.stat div{color:var(--muted);align-items:center;gap:8px;font-size:.89rem;display:flex}.stat svg{color:var(--green);flex:none}.stat strong{margin-top:8px;font-size:2rem;display:block}.stat small{color:var(--muted);font-size:1.2rem}.chart{grid-auto-columns:minmax(34px,1fr);grid-auto-flow:column;align-items:end;gap:7px;height:180px;margin-top:16px;display:grid;overflow-x:auto}.chart>div{grid-template-rows:20px 1fr 25px;place-items:end center;height:100%;display:grid}.chart>div>div{width:min(80%,48px);height:var(--bar);background:#5bc69c;border-radius:5px 5px 1px 1px;align-self:end}.chart small,.chart span{color:var(--muted);text-align:center;font-size:.73rem}.theme-list{gap:6px;margin-bottom:0;padding:0;list-style:none;display:grid}.theme-list li{background:#202827;border-radius:7px;justify-content:space-between;padding:10px 12px;display:flex}.theme-list strong{color:var(--green)}.empty{text-align:center;justify-items:center;gap:7px;padding:34px 14px;display:grid}.empty-icon{color:#8dc7af;margin-bottom:3px}.empty h3{font-size:1rem}.empty p{color:var(--muted);max-width:38ch;font-size:.87rem;line-height:1.5}.history-row{border-bottom:1px solid var(--border);align-items:center;gap:11px;padding:14px 16px;display:flex}.history-row:last-child{border-bottom:0}.history-row p,.tasks p,.exercise-row p{color:var(--muted);margin-top:4px;font-size:.84rem;line-height:1.42}.grow{flex:1;min-width:0}.history-accuracy{font-variant-numeric:tabular-nums;color:var(--green);font-size:.86rem}.result-label{white-space:nowrap;background:#232c2a;border-radius:7px;padding:6px 8px;font-size:.8rem}.tasks{margin-bottom:15px;padding:3px 17px}.tasks>div{grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 0;display:grid}.tasks>div+div{border-top:1px solid var(--border)}.exercise-row{justify-content:space-between;align-items:center;gap:10px;padding:12px 0;display:flex}.exercise-row+.exercise-row{border-top:1px solid var(--border)}.exercise-list h2{margin-bottom:7px}.exercise-layout{grid-template-columns:minmax(0,550px) 1fr;align-items:start;gap:22px;display:grid}.quiz .actions{margin-top:14px}.eyebrow{color:var(--green);margin-bottom:6px;font-size:.84rem;font-weight:660}.line-preview{border:1px solid var(--border);color:var(--muted);background:#212b27;border-radius:7px;margin-top:10px;padding:9px;font-size:.85rem}.line-preview strong{color:var(--text);margin-top:4px;display:block}dialog{width:min(95vw,480px);max-height:90dvh;color:var(--text);background:var(--panel);border:1px solid #3b4844;border-radius:14px;padding:0;box-shadow:0 14px 70px #070c0bc0}dialog::backdrop{background:#0b100ed4}.dialog-inner{gap:13px;padding:18px 21px 21px;display:grid}.dialog-inner header{justify-content:space-between;align-items:center;display:flex}.dialog-inner header h2{letter-spacing:-.036em;font-size:1.3rem}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.dialog-inner h3{align-items:center;gap:6px;font-size:.96rem;display:flex}.dialog-inner h3 svg{color:var(--green)}.settings-section+.settings-section{border-top:1px solid var(--border);padding-top:13px}.settings-section p,.form-note{color:var(--muted);margin:5px 0 10px;font-size:.84rem;line-height:1.5}.field-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.game-options{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}label{color:#d5e0db;gap:5px;min-width:0;font-size:.85rem;display:grid}select,textarea,input{width:100%;color:var(--text);background:#13191a;border:1px solid #3a4544;border-radius:7px;min-height:39px;padding:8px 9px}select{appearance:none;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23a1b1ab' stroke-width='1.5' d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-position:right 8px center;background-repeat:no-repeat;padding-right:27px}textarea{resize:vertical}.option-cards{grid-template-columns:1fr 1fr;gap:8px;display:grid}.option-cards button{text-align:left;color:var(--text);background:#232b2a;border:1px solid #3b4745;border-radius:8px;gap:6px;padding:11px;display:grid}.option-cards svg{color:#a2c5b8}.option-cards span{color:var(--muted);font-size:.81rem;line-height:1.4}.option-cards .selected-option{background:#243e32;border-color:#579d7f}.pair-form,.pair-code{align-items:end;gap:8px;display:flex}.pair-form label{flex:1}.pair-code{background:#111819;border-radius:7px;justify-content:space-between;align-items:center;padding:4px 8px}.pair-code code{overflow-wrap:anywhere}.upload{cursor:pointer;width:max-content}.upload input{opacity:0;width:1px;height:1px;min-height:0;position:absolute}.upload:focus-within{outline:2px solid var(--green);outline-offset:3px}.resign-text{color:var(--muted);align-items:center;gap:8px;line-height:1.4;display:flex}.resign-text svg{flex:none}@media (max-width:1060px){.play-layout{grid-template-columns:minmax(0,1.42fr) minmax(0,1fr);gap:18px}.header-inner,.container{width:calc(100% - 48px)}}@media (min-width:1000px) and (max-height:950px){.container:has(.play-layout){--board-width:clamp(400px, calc(100svh - 310px), 624px);width:min(calc(100% - 48px), calc(var(--board-width) + 488px))}.play-layout{grid-template-columns:minmax(0, var(--board-width)) minmax(0, 1fr)}.header-inner{min-height:61px}.play-heading{padding:26px 0 19px}}@media (max-width:760px){.masthead{padding-top:env(safe-area-inset-top)}.header-inner,.container{width:calc(100% - 28px)}.header-inner{grid-template-columns:1fr auto;row-gap:7px;min-height:55px;padding:9px 0 7px}.brand img{width:33px;height:33px}.brand{gap:8px;font-size:1.12rem}.header-inner nav{grid-area:2/1/auto/3;grid-template-columns:repeat(4,1fr);gap:2px;display:grid}.header-inner nav button{gap:4px;padding:7px 3px;font-size:.79rem}.header-inner nav svg{width:15px;height:15px}.settings-button{width:34px;height:34px}.page-heading{align-items:flex-start;padding:23px 0 16px}.page-heading h1{font-size:clamp(1.53rem,6.4vw,2.05rem)}.page-heading p{margin-top:6px;font-size:.87rem}.play-heading{grid-template-columns:minmax(0,1fr) auto;row-gap:4px;display:grid}.play-heading .heading-copy{display:contents}.play-heading p{grid-area:2/1/auto/-1}.play-heading .new-game{grid-area:1/2}.play-layout,.exercise-layout{grid-template-columns:1fr;gap:10px}.play-aside{margin-top:0}.new-game{gap:4px;min-height:36px;padding:6px 8px;font-size:.78rem}.new-game svg{width:15px;height:15px}.player-row{min-height:39px}.player-icon{width:33px;height:33px}.top-player{margin-bottom:6px}.bottom-player{margin-top:6px}.board-column{--eval-width:12px;--eval-gap:4px}.rank{top:4px;left:4px}.file{bottom:3px;right:4px}.eval-label{font-size:.56rem}.overview-grid{grid-template-columns:1fr}.overview-card,.stat{padding:14px}.metrics{gap:7px}.stat div{align-items:flex-start;gap:4px;font-size:.75rem}.stat div svg{width:13px;height:13px}.stat strong{font-size:1.52rem}.history-row{flex-wrap:wrap;gap:7px;padding:11px}.history-row .grow{flex-basis:calc(100% - 65px)}.history-row .button{margin-left:auto}.history-row .row-icon{width:35px;height:35px}.move-controls .icon-button{width:41px;height:41px}}@media (max-width:390px){.header-inner,.container{width:calc(100% - 20px)}.header-inner nav button{font-size:.74rem}.page-heading{gap:9px}.new-game{white-space:nowrap}.page-heading:not(.play-heading){flex-wrap:wrap}.coach-body{padding-inline:12px}.tasks{padding-inline:10px}.tasks>div{gap:7px}.tasks .row-icon{width:31px;height:31px}.tasks .button{padding:6px 8px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
