@font-face{font-family:Heebo;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/heebo-hebrew-400-normal-CVTJgQVK.woff2)format("woff2");unicode-range:U+307-308,U+590-5FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Heebo;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/heebo-hebrew-500-normal-TEhwuRN-.woff2)format("woff2");unicode-range:U+307-308,U+590-5FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Heebo;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/heebo-hebrew-700-normal-BmueYKsA.woff2)format("woff2");unicode-range:U+307-308,U+590-5FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Heebo;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/heebo-latin-400-normal-BGyEuwIV.woff2)format("woff2");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}@font-face{font-family:Heebo;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/heebo-latin-500-normal-CRntKADR.woff2)format("woff2");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}@font-face{font-family:Heebo;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/heebo-latin-700-normal-PoyjiH5f.woff2)format("woff2");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}@font-face{font-family:Heebo;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/heebo-symbols-400-normal-DYSXrd5A.woff2)format("woff2");unicode-range:U+1-C,U+E-1F,U+7F-9F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+28??,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B??,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F0??,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F7??,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB??}@font-face{font-family:Heebo;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/heebo-symbols-500-normal-DH-fW6iB.woff2)format("woff2");unicode-range:U+1-C,U+E-1F,U+7F-9F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+28??,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B??,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F0??,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F7??,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB??}@font-face{font-family:Heebo;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/heebo-symbols-700-normal-DjMVWKhZ.woff2)format("woff2");unicode-range:U+1-C,U+E-1F,U+7F-9F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+28??,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B??,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F0??,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F7??,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB??}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#16181d;--surface:#1f2229;--surface-2:#272b33;--border:#2f343d;--text:#e8e6e3;--text-2:#a7abb3;--text-3:#8e939c;--accent:#5fb36b;--accent-hover:#6fc47b;--on-accent:#0f1a11;--warn:#e0b44c;--error:#e06c5f;--info:#6aa7e8;--r-sm:8px;--r-md:12px;--r-lg:16px;--shadow:0 6px 20px #00000047;--font:"Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;--mono:ui-monospace, "SF Mono", Menlo, Consolas, monospace;--tabbar-h:0px}*{box-sizing:border-box}html{background:var(--bg);scrollbar-gutter:stable}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0;font-size:15px;line-height:1.5}::selection{background:#5fb36b59}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}[data-square]:focus-visible{outline-offset:-3px;z-index:1;outline:3px solid #f5c542}[hidden]{display:none!important}.app{max-width:1180px;margin:0 auto;padding:0 20px 24px}a{color:var(--info);text-decoration:none}@media (hover:hover){a:hover{text-decoration:underline}}p a,.muted a{text-underline-offset:2px;text-decoration:underline}.muted{color:var(--text-3);font-size:13px}h2,h3{letter-spacing:-.01em;font-weight:700}button{font:inherit;color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-sm);cursor:pointer;touch-action:manipulation;padding:9px 14px;font-size:14px;font-weight:500;transition:background .15s,border-color .15s,transform 50ms}@media (hover:hover){button:hover:not(:disabled){background:#30353e}}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.4;cursor:default}button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:700}@media (hover:hover){button.primary:hover:not(:disabled){background:var(--accent-hover)}}button.ghost{background:0 0}@media (hover:hover){button.ghost:hover:not(:disabled){background:var(--surface-2)}}button.small{padding:3px 10px;font-size:12px}button.link{color:var(--info);background:0 0;border:none;padding:0 4px;font-size:12px}.buttons{flex-wrap:wrap;gap:8px;display:flex}select,input[type=text],input:not([type]){font:inherit;color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-sm);padding:7px 10px;font-size:14px}select:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}input[type=range]{accent-color:var(--accent);direction:ltr;width:100%}.toggle{cursor:pointer;color:var(--text);-webkit-user-select:none;user-select:none;align-items:center;gap:10px;font-size:14px;display:inline-flex}.toggle input{opacity:0;pointer-events:none;position:absolute}.toggle-track{background:var(--border);border-radius:11px;flex:none;width:38px;height:22px;transition:background .2s;position:relative}.toggle-track:after{content:"";top:3px;background:var(--text);border-radius:50%;width:16px;height:16px;transition:transform .2s;position:absolute;inset-inline-start:3px}.toggle input:checked+.toggle-track{background:var(--accent)}.toggle input:checked+.toggle-track:after{background:#fff;transform:translate(-16px)}[dir=ltr] .toggle input:checked+.toggle-track:after{transform:translate(16px)}.toggle input:focus-visible+.toggle-track{outline:2px solid var(--accent);outline-offset:2px}.topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:8px;padding:14px 0;display:flex}.brand{align-items:center;gap:10px;margin:0;font-size:20px;display:flex}.brand-mark{width:36px;height:36px;box-shadow:0 0 0 1px var(--border);border-radius:9px;flex:none;display:block}.tabs{background:var(--surface);border:1px solid var(--border);border-radius:999px;gap:4px;padding:4px;display:flex}.tab{color:var(--text-2);background:0 0;border:none;border-radius:999px;align-items:center;gap:6px;padding:8px 16px;display:inline-flex;position:relative}@media (hover:hover){.tab:hover:not(:disabled){background:var(--surface-2);color:var(--text)}}.tab.active,.tab.active:hover:not(:disabled){background:var(--surface-2);color:var(--text);box-shadow:inset 0 0 0 1px var(--border)}.tab-icon{opacity:.85;font-size:15px}.lang-switch{box-shadow:inset 0 0 0 1px var(--border);margin-inline-start:6px}.tab{position:relative}.badge.badge-dot{width:8px;min-width:8px;height:8px;padding:0}.badge{background:var(--accent);min-width:18px;height:18px;color:var(--on-accent);text-align:center;font-variant-numeric:tabular-nums;border-radius:9px;padding:0 5px;font-size:11px;font-weight:700;line-height:18px}.card{border-radius:var(--r-md);background:var(--surface);border:1px solid var(--border);padding:14px 16px}.card h2{margin:0 0 12px;font-size:16px}.card h3{color:var(--text-2);margin:16px 0 8px;font-size:14px}.card p{margin:0}.tone-info,.tone-warn,.tone-error,.tone-ok{border-inline-start:4px solid var(--info)}.tone-warn{border-inline-start-color:var(--warn)}.tone-error{border-inline-start-color:var(--error)}.tone-ok{border-inline-start-color:var(--accent)}.notice{color:var(--text-2);font-size:14px}.notice .buttons{margin-top:10px}.notice.tone-ok{color:var(--text)}.feedback{flex-direction:column;gap:6px;display:flex}.feedback strong{font-size:16px}.feedback p{color:var(--text-2);font-size:14px}.feedback .buttons{margin-top:6px}.feedback .buttons button{flex:1}.settings-toggle,.settings-backdrop,.sheet-handle,.sheet-done{display:none}.controls{border-radius:var(--r-md);background:var(--surface);border:1px solid var(--border);flex-wrap:wrap;align-items:flex-end;gap:14px 20px;margin-bottom:16px;padding:12px 16px;display:flex}.controls>label{color:var(--text-2);flex-direction:column;gap:5px;min-width:150px;font-size:12px;display:flex}.controls>label b{color:var(--text)}.toggles{flex-wrap:wrap;gap:10px 20px;padding-bottom:6px;display:flex}.more-settings{align-self:center}.more-settings[open]{flex-basis:100%}.more-settings summary{cursor:pointer;color:var(--text-2);-webkit-user-select:none;user-select:none;border-radius:999px;padding:7px 12px;font-size:13px;list-style:none;display:inline-block}.more-settings summary::-webkit-details-marker{display:none}.more-settings summary:after{content:" ▾"}.more-settings[open] summary:after{content:" ▴"}@media (hover:hover){.more-settings summary:hover{background:var(--surface-2);color:var(--text)}}.more-settings-body{flex-wrap:wrap;align-items:flex-end;gap:12px 20px;padding:10px 4px 2px;display:flex}.more-settings-body>label{color:var(--text-2);flex-direction:column;gap:5px;min-width:170px;font-size:12px;display:flex}main{align-items:flex-start;gap:24px;display:flex}.board-wrap{--bar-w:0px;width:min(820px, 100%, calc(max(var(--fit-h,100dvh), 320px) + var(--bar-w)));flex-shrink:0;gap:10px;display:flex}.board-wrap:has(.evalbar){--bar-w:44px}.board{flex:1;min-width:0}aside{flex-direction:column;flex:1;gap:12px;min-width:260px;display:flex}@media (width>=901px){.board-wrap{width:min(820px, calc(100% - 384px), calc(max(var(--fit-h,100dvh), 320px) + var(--bar-w)))}aside{max-height:max(var(--fit-h,100dvh), 320px);overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--border) transparent;padding-inline-end:2px;overflow-y:auto}aside>*{flex-shrink:0}}.status{border-radius:var(--r-md);background:var(--surface);border:1px solid var(--border);align-items:center;gap:10px;padding:12px 14px;font-weight:700;display:flex}.status-text{flex:1}.status-dot{background:var(--text-3);border-radius:50%;flex:none;width:10px;height:10px}.status-user .status-dot{background:var(--accent);box-shadow:0 0 0 4px #5fb36b2e}.status-opponent .status-dot,.status-checking .status-dot{background:var(--warn);animation:1s ease-in-out infinite pulse}.status-paused{border-color:#e06c5f73}.status-paused .status-dot{background:var(--error)}@keyframes pulse{50%{opacity:.35}}.spinner{border:2px solid var(--border);border-top-color:var(--accent);vertical-align:-2px;border-radius:50%;width:14px;height:14px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation:none}}.loading-line{align-items:center;gap:8px;margin:0;display:flex}.pill{background:var(--surface-2);color:var(--text-2);white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:500}.actions{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.actions button{justify-content:center;align-items:center;gap:6px;padding:10px 8px;display:flex}.actions .icon{font-size:16px;line-height:1}.actions button.confirm-new{border-color:var(--warn);color:var(--warn)}@media (width>=601px){.actions button,.feedback .buttons button{white-space:nowrap}.feedback .buttons{flex-wrap:wrap}}.moves{border-radius:var(--r-md);background:var(--surface);border:1px solid var(--border);max-height:210px;font-family:var(--mono);grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:2px 8px;margin:0;padding:10px 12px;font-size:13px;list-style:none;display:grid;overflow-y:auto}.moves li{grid-template-columns:30px 1fr 1fr;align-items:center;display:grid}.move-no{color:var(--text-3)}.move{border-radius:4px;padding:1px 6px}.move.last{color:var(--text);background:#5fb36b38;font-weight:700}.moves-bar{flex-direction:column;gap:6px;display:flex}.moves-nav{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.moves-nav button{padding:6px 8px;font-size:15px;line-height:1}.status .viewing{white-space:nowrap;margin-inline-start:auto;padding:4px 10px;font-size:12px}.stats{flex-wrap:wrap;gap:8px;display:flex}.chip-stat{background:var(--surface);border:1px solid var(--border);color:var(--text-2);border-radius:999px;align-items:center;gap:4px;padding:4px 10px;font-size:12px;display:inline-flex}.chip-stat b{color:var(--text);font-variant-numeric:tabular-nums}.evalbar{flex-direction:column;align-items:center;gap:6px;width:34px;font-size:12px;display:flex}.evalbar-label{font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;line-height:1.15;display:flex}.evalbar-label small{color:var(--text-3);font-size:10px}.evalbar-track{width:10px;box-shadow:inset 0 0 0 1px var(--border);background:#0b0c0f;border-radius:5px;flex:1;position:relative;overflow:hidden}.evalbar-white{background:#f1f0ec;transition:height .45s;position:absolute;left:0;right:0}.white-bottom .evalbar-white{bottom:0}.white-top .evalbar-white{top:0}.drill-meta a{margin-inline-start:2px}.drill-empty{text-align:center;max-width:520px;margin:24px auto;padding:48px 20px}.empty-mark{background:var(--surface-2);width:72px;height:72px;color:var(--accent);border-radius:20px;place-items:center;margin:0 auto 14px;font-size:40px;display:grid}.today{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;display:flex}.today-title{color:var(--text-3);margin-inline-end:4px;font-size:13px;font-weight:700}.today button{border-radius:999px;padding:7px 14px;font-size:13px}.guide{border-color:#5fb36b66;margin-bottom:14px}.opening-picker{border-color:#5fb36b66;flex-direction:column;gap:8px;margin-bottom:14px;display:flex}.opening-picker p{margin:0}.picker-group{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.picker-label{min-width:150px;color:var(--text-2);font-size:13px}.opening-picker .chips{flex-wrap:wrap}.opening-picker .buttons{gap:8px;margin-top:4px;display:flex}.opening-picker .chip{white-space:normal;text-align:start}.picked-note{border-color:#5fb36b66;align-items:center;gap:12px;margin-bottom:12px;padding:10px 14px;display:flex}.picked-note p{flex:1;margin:0;font-size:14px;line-height:1.5}.loading-note{margin:6px 0 0;font-size:12px}.guide-picked{color:var(--accent);margin:2px 0 0;font-size:12px;line-height:1.4}.guide:has(.guide-picked) ol{line-height:1.35}.picker-recommend{border-radius:var(--r-md);background:var(--surface-2);flex-wrap:wrap;align-items:center;gap:6px 12px;padding:10px 12px;display:flex}.picker-recommend p{flex:220px;font-size:13px}.recommend-btn{background:var(--surface);border-color:var(--accent);color:var(--text);font-weight:600}.guide-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.guide ol{color:var(--text-2);margin:8px 0 10px;padding-inline-start:22px;font-size:14px;line-height:1.8}.guide ol b{color:var(--text)}.guide li::marker{color:var(--accent);font-weight:700}.progress-pill{color:var(--accent);background:#5fb36b1f}.notice strong{color:var(--text);margin-bottom:4px;display:block}.learn-header{flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:16px;display:flex}.learn-header select{min-width:240px;padding:9px 12px}.picker-btn{text-align:start;flex:280px;align-items:center;gap:8px;min-width:0;padding:9px 12px;display:flex}.picker-btn-label{color:var(--text-3);flex:none;font-size:12px;font-weight:600}.picker-btn-value{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:600;overflow:hidden}.picker-btn-meta{color:var(--text-3);font-variant-numeric:tabular-nums;flex:none;font-size:12px}.picker-btn-meta.progress-pill{color:var(--accent);border-radius:999px;padding:1px 8px}.picker-btn-arrow{color:var(--text-3);flex:none;font-size:12px}.name-short,.phone-only,.chips.puzzle-modes{display:none}.pick-sheet{z-index:61;flex-direction:column;gap:12px;width:min(520px,100vw - 32px);max-height:min(720px,100dvh - 64px);display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 16px 40px #00000073}.pick-sheet-body{overscroll-behavior:contain;flex-direction:column;gap:14px;min-height:0;display:flex;overflow-y:auto}.pick-sheet-body>p{margin:0;font-size:13px}.sheet-group{flex-direction:column;gap:4px;display:flex}.sheet-group .picker-label{min-width:0;margin-bottom:2px}.sheet-row{text-align:start;background:var(--surface-2);justify-content:space-between;align-items:center;gap:10px;width:100%;padding:10px 12px;display:flex}.sheet-row.active{box-shadow:inset 0 0 0 2px var(--accent)}.sheet-row-name{min-width:0;font-weight:600}.sheet-row-meta{color:var(--text-3);font-variant-numeric:tabular-nums;flex:none;font-size:13px}.sheet-row-meta.all{color:var(--accent)}.sheet-line{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.sheet-line .hardest{padding-inline-start:12px;font-size:13px}.sheet-foot{border-top:1px solid var(--border);flex-direction:column;gap:6px;padding-top:10px;display:flex}.sheet-foot button{text-align:start}.sheet-foot.sheet-actions{border-top:none;border-bottom:1px solid var(--border);margin-bottom:4px;padding:0 0 10px}.sheet-wide{width:100%}.learn-move{flex-direction:column;gap:6px;min-height:112px;display:flex}.learn-move-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.learn-move-head strong{font-size:18px}.learn-move-head .move-label{font-family:var(--mono);direction:ltr}.learn-move p{color:var(--text);font-size:15px}.learn-move p.muted{color:var(--text-3);font-size:13px}.stepper{grid-template-columns:auto 1fr 1fr auto;gap:8px;display:grid}.stepper button{padding:11px 12px}.actions.actions-2{grid-template-columns:1fr 1fr}:root{--head-h:46px;--info-h:200px}@media (width>=601px){.app .stage-head{height:var(--head-h);scrollbar-width:none;flex-wrap:nowrap;align-items:center;gap:10px;margin-bottom:14px;display:flex;overflow:auto hidden}.stage-head::-webkit-scrollbar{display:none}.stage-head>*{flex-shrink:0}.stage-head>.picker-btn{flex:280px;min-width:170px}.stage-head .today{flex-wrap:nowrap;margin:0}.stage-head .segmented{flex:none;margin:0}.stage-head .chips{flex-wrap:nowrap}.stage-head .game-review-title{flex-wrap:nowrap;flex:1 1 0;min-width:0}.stage-head .game-review-title>*{flex:none}.stage-head .game-review-title .game-review-info{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.panel-info{height:var(--info-h);overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex-direction:column;flex:none;gap:8px;display:flex;overflow-y:auto}.panel-info>*{flex-shrink:0}.panel-info>.status{z-index:1;position:sticky;top:0}.panel-info>.card:last-child{flex-grow:1}.panel-info .card>.buttons:last-child{background:var(--surface);box-shadow:0 0 0 1px var(--surface);margin-bottom:-14px;padding:8px 0 14px;position:sticky;bottom:-14px}.panel-info .learn-move{min-height:0}.coach{--coach-h:var(--info-h)}.stepper,.actions,.panel-buttons>.buttons{flex:none}.panel-buttons>.buttons{flex-wrap:nowrap;min-height:43px}.panel-buttons>.buttons>button{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.today-phone{display:none}.actions button{min-width:0;overflow:hidden}.settings-toggle{background:var(--surface);max-width:100%;color:var(--text-2);text-align:start;border-radius:999px;align-items:center;gap:8px;padding:10px 14px;font-size:14px;display:flex}.settings-what{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.settings-edit{color:var(--accent);flex:none;font-weight:600}.controls{display:none}.settings-backdrop{z-index:40;background:#0000008c;animation:.15s ease-out fade;display:block;position:fixed;inset:0}.controls.open{z-index:50;flex-flow:column;align-items:stretch;gap:14px;width:min(520px,100vw - 32px);max-height:min(720px,100dvh - 64px);margin:0;padding:18px 20px;display:flex;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 16px 40px #00000073}.controls.open>label{min-width:0}.controls.open .more-settings{align-self:stretch}.controls.open .more-settings-body{flex-direction:column;align-items:stretch}.controls.open .toggles{flex-direction:column;gap:12px}.controls.open .sheet-done{padding:11px;display:block}.topbar .brand{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.topbar .tabs{flex:none}.topbar .tab{white-space:nowrap}}.panel-buttons{flex-direction:column;flex:none;gap:12px;display:flex}aside>.picked-note,aside>.guide,aside>.install-card,aside>.import-card{margin:0}.panel-info{flex-direction:column;gap:8px;display:flex}@media (width>=601px){.board-wrap{--bar-w:44px}.board-wrap:not(:has(.evalbar)):before{content:"";flex:none;width:34px}}.moves button.move{color:var(--text-2);font:inherit;text-align:start;background:0 0;border:none;border-radius:4px;padding:1px 6px}@media (hover:hover){.moves button.move:hover:not(:disabled){background:var(--surface-2);color:var(--text)}}.moves button.move:disabled{opacity:1;cursor:default}.moves button.move.mine{color:var(--text)}.moves button.move.last{color:var(--text);background:#5fb36b38;font-weight:700}.moves button.move.noted:after{content:"•";color:var(--accent);margin-inline-start:3px}.branches h3,.idea h3{margin:0 0 8px}.branches .chip{font-family:var(--font)}.idea p{color:var(--text-2);font-size:14px}.review{flex-direction:column;gap:16px;display:flex}.review>p{margin:0}.search{border-radius:var(--r-md);background:var(--surface);border:1px solid var(--border);flex-wrap:wrap;align-items:flex-end;gap:10px;padding:14px 16px;display:flex}.search label{color:var(--text-2);flex-direction:column;gap:5px;font-size:12px;display:flex}.search input{width:240px;padding:9px 12px;font-size:15px}.search button{padding:10px 18px}.search .games-site-row{flex-basis:100%}.search .games-site{margin-bottom:0}.search .games-site button{width:auto;padding:6px 16px}.tips{background:linear-gradient(180deg, #5fb36b14, var(--surface) 70%);border-color:#5fb36b66}.tips ol{flex-direction:column;gap:14px;margin:0;padding-inline-start:22px;display:flex}.tips li::marker{color:var(--accent);font-weight:700}.tips p{color:var(--text-2);margin:4px 0 8px;font-size:14px}.tiles{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.tile{border-radius:var(--r-md);background:var(--surface);border:1px solid var(--border);padding:14px 16px}.deep .tile{background:var(--surface-2)}.tile-value{font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:26px;font-weight:700}.grid2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;display:grid}.chips{flex-wrap:wrap;gap:6px;display:flex}.manage-chip{opacity:.8}.manage-card{flex-direction:column;gap:8px;display:flex}.manage-card h3,.manage-card p{margin:0}.manage-row{cursor:pointer;align-items:center;gap:8px;display:flex}.manage-row input{width:18px;height:18px}.chip{background:var(--surface);color:var(--text-2);border-radius:999px;padding:6px 14px;font-size:13px}.chip.active,.chip.active:hover:not(:disabled){background:var(--text);border-color:var(--text);color:var(--bg)}.bar-row{grid-template-columns:minmax(90px,40%) 1fr auto;align-items:center;gap:10px;padding:4px 0;font-size:13px;display:grid}.bar-label{text-overflow:ellipsis;white-space:nowrap;text-align:start;overflow:hidden}[dir=rtl] .bar-label[dir=auto]{text-align:right}.bar{background:var(--surface-2);border-radius:4px;height:8px;overflow:hidden}.bar-fill{background:var(--accent);border-radius:4px;height:100%;display:block}.bar-value{text-align:end;min-width:72px;color:var(--text-2);font-variant-numeric:tabular-nums}.opening{align-items:center;gap:8px;display:flex}.opening .bar-row{flex:1}.opening.weak .bar-label{color:var(--error);font-weight:700}.opening.weak .bar-label:before{content:"▾ "}.opening.weak .bar-fill{background:var(--error)}.opening.strong .bar-label{color:var(--accent);font-weight:700}.opening.strong .bar-label:before{content:"★ "}.strengths ul{gap:6px;margin:0;padding-inline-start:18px;display:grid}.progress{background:var(--surface-2);border-radius:3px;height:6px;margin-top:10px;overflow:hidden}.progress>div{background:var(--accent);height:100%;transition:width .2s}.chart{position:relative}.chart svg{width:100%;height:auto;display:block}.chart .grid{stroke:var(--border);stroke-width:1px}.chart .axis{fill:var(--text-3);font-size:11px;font-family:var(--font)}.chart .line{fill:none;stroke:var(--accent);stroke-width:2px;stroke-linejoin:round}.chart .crosshair{stroke:var(--text-3);stroke-width:1px;stroke-dasharray:3 3}.chart .dot{fill:var(--accent);stroke:var(--surface);stroke-width:2px}.acc-own .line{stroke:var(--info)}.acc-own .dot{fill:var(--info)}.accuracy-card .dot{cursor:pointer}.chart-legend{color:var(--text-2);flex-wrap:wrap;gap:6px 16px;margin-top:6px;font-size:12px;display:flex}.legend i{background:var(--accent);vertical-align:-1px;border-radius:50%;width:10px;height:10px;margin-inline-end:6px;display:inline-block}.legend.acc-own i{background:var(--info)}.accuracy-card .trend{margin-bottom:8px}.accuracy-card .trend.up{color:var(--accent)}.accuracy-card .trend.down{color:var(--warn)}.accuracy-card>p.muted:last-child{margin-top:8px}.chart .tooltip{border-radius:var(--r-sm);background:var(--surface-2);border:1px solid var(--border);box-shadow:var(--shadow);white-space:nowrap;pointer-events:none;padding:5px 9px;font-size:12px;position:absolute;top:0;transform:translate(-50%)}.worst{color:var(--text-2);margin:0 0 12px;padding-inline-start:18px;font-size:14px;line-height:1.8}.deep{margin-top:12px}.deep .tiles{margin-bottom:4px}.cls-book{--cls:var(--info)}.cls-great{--cls:#3fb6b2}.cls-best{--cls:var(--accent)}.cls-excellent{--cls:#7cbf6b}.cls-good{--cls:var(--text-2)}.cls-inaccuracy{--cls:var(--warn)}.cls-mistake{--cls:#e68a4c}.cls-miss{--cls:#e0709a}.cls-blunder{--cls:var(--error)}.recent-games-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px;display:flex}.recent-games-head h2{margin:0}.recent-list{grid-template-columns:minmax(0,1fr);gap:6px;margin:10px 0 6px;padding:0;list-style:none;display:grid}.recent-game{text-align:start;background:var(--surface-2);align-items:center;gap:10px;width:100%;padding:8px 10px;display:flex}.recent-main{flex-direction:column;flex:1;min-width:0;display:flex}.recent-opp,.recent-meta{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.recent-go{color:var(--accent);white-space:nowrap;font-weight:600}.result-badge{color:#111;border-radius:6px;flex:none;place-items:center;width:26px;height:26px;font-size:13px;font-weight:700;display:grid}.result-badge.result-win,.pill.result-win{background:var(--accent);color:#111}.result-badge.result-loss,.pill.result-loss{background:var(--error);color:#111}.result-badge.result-draw,.pill.result-draw{background:var(--text-3);color:#111}.game-review-head{flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:14px;display:flex}.game-review-title{flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0;display:flex}.game-review-title strong{overflow-wrap:anywhere}.small-link{font-size:13px}.review-moves .move[class*=cls-]{color:var(--cls)}.review-moves .move.cls-best,.review-moves .move.cls-excellent,.review-moves .move.cls-good{color:var(--text-2)}.review-moves .move.last{color:var(--text)}.review-moves button.move{font:inherit;text-align:start;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:1px 6px}@media (hover:hover){.review-moves button.move:hover{background:var(--surface-2)}}.review-moves button.move.last{background:#5fb36b38;font-weight:700}.eval-graph{border-radius:var(--r-md);border:1px solid var(--border);cursor:pointer;flex-shrink:0;height:88px;position:relative;overflow:hidden}.eval-graph svg{width:100%;height:100%;display:block}.eval-graph-black{fill:#2b2e36}.eval-graph-white{fill:#d9dbe0}.eval-graph-mid{stroke:#80808099;stroke-width:.6px;vector-effect:non-scaling-stroke}.eval-graph-now{stroke:var(--accent);stroke-width:2px;vector-effect:non-scaling-stroke}.eval-graph-mark{background:var(--cls);pointer-events:none;border-radius:50%;width:8px;height:8px;margin:-4px 0 0 -4px;position:absolute;box-shadow:0 0 0 1.5px #0009}.cls-icon{background:var(--cls);color:#fff;letter-spacing:-.04em;width:22px;height:22px;font-size:11px;font-weight:800;line-height:1;font-family:var(--font);border-radius:50%;flex:none;place-items:center;display:inline-grid}.cls-icon svg{width:62%;height:62%}.cls-icon-sm{width:16px;height:16px;font-size:9px}.cls-icon-lg{width:34px;height:34px;font-size:15px}.cls-good .cls-icon,.cls-icon.cls-good,.cls-icon.cls-excellent{color:#14210f}.review-moves .cls-icon{vertical-align:-3px;margin-inline-start:4px}.review-board{position:relative;container-type:inline-size}.board-badge{z-index:5;pointer-events:none;position:absolute;transform:translate(-72%,-28%)}.board-badge .cls-icon{width:max(20px,5.6cqw);height:max(20px,5.6cqw);font-size:max(10px,2.6cqw);box-shadow:0 2px 6px #00000073,0 0 0 2px #ffffffe6}.coach{height:var(--coach-h,184px);border-inline-start:4px solid var(--cls,var(--border));flex-direction:column;padding:0;display:flex;position:relative;overflow:hidden}.coach-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex-direction:column;flex:1;gap:10px;min-height:0;padding:14px 16px;display:flex;overflow-y:auto}.coach-progress{background:var(--surface-2);border-radius:0;height:3px;margin:0;position:absolute;inset:0 0 auto}.coach-progress>div{background:var(--accent);height:100%;transition:width .2s linear}.coach-head{align-items:center;gap:12px;display:flex}.coach-line{flex:1;margin:0;font-size:16px;line-height:1.35}.coach-line b{font-family:var(--mono)}.coach-score{text-align:center;border-radius:var(--r-sm);background:var(--surface-2);min-width:58px;font-family:var(--mono);flex:none;padding:4px 8px;font-size:14px;font-weight:700}.coach-body{flex-direction:column;gap:6px;padding-inline-start:46px;display:flex}.coach-body p{margin:0}.coach-body>button{align-self:flex-start}.coach-start{flex-direction:column;gap:10px;display:flex}.next-mistake{white-space:nowrap;text-overflow:ellipsis;padding:10px;overflow:hidden}.explore-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.explore-head .muted{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;overflow:hidden}.explore-head button{flex:none}.coach-actions{flex-wrap:wrap;gap:6px;display:flex}.explore-next{border-radius:var(--r-sm);background:#5fb36b24;margin:0;padding:6px 10px;font-size:14px}.explore-next b{font-family:var(--mono)}.coach>.explore-next{flex:none;margin:0 16px 12px}.retry-right{color:var(--accent)}.review-moves li.variation{border-inline-start:3px solid var(--accent);border-radius:var(--r-sm);background:var(--surface-2);flex-wrap:wrap;grid-column:1/-1;gap:2px;margin:2px 0 4px;padding:4px 6px;font-size:13px;display:flex}.engine-lines{flex-direction:column;gap:6px;padding:12px;display:flex}.engine-lines-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.engine-lines-head strong{font-size:14px}.engine-lines p{margin:0}.engine-line{text-align:start;background:var(--surface-2);font-family:var(--mono);border:1px solid #0000;align-items:center;gap:10px;min-width:0;padding:6px 8px;font-size:13px;display:flex}@media (hover:hover){.engine-line:not(:disabled):hover{border-color:var(--accent)}}.engine-line:disabled{opacity:1;cursor:default}.engine-line-score{flex:none;min-width:48px;font-weight:700}.engine-line-moves{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.rv-grid{grid-template-columns:minmax(0,1fr) 84px 84px;align-items:center;gap:8px 6px;display:grid}.rv-row{display:contents}.rv-player{text-align:center;flex-direction:column;align-items:center;min-width:0;font-size:13px;display:flex}.rv-player .rv-name{overflow-wrap:anywhere;-webkit-line-clamp:2;text-wrap:balance;-webkit-box-orient:vertical;max-width:84px;font-weight:700;line-height:1.25;display:-webkit-box;overflow:hidden}.rv-player.me .rv-name{color:var(--accent)}.rv-piece{font-size:22px;line-height:1}.rv-label{color:var(--text-2);font-size:14px}.rv-cls{color:var(--text);align-items:center;gap:8px;display:flex}.rv-acc{border-radius:var(--r-sm);text-align:center;justify-self:center;min-width:58px;padding:6px 8px;font-size:18px;font-weight:800}.rv-acc-w{color:#16181d;background:#eceef2}.rv-acc-b{color:#eceef2;border:1px solid var(--border);background:#101114}.rv-count{text-align:center;color:var(--cls);font-variant-numeric:tabular-nums;font-weight:700}.rv-count.zero{opacity:.35}.review-summary>p{margin-top:12px}.review-extra{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.review-extra p{margin:0}@media (width<=900px){main{flex-direction:column;gap:14px}.board-wrap{width:min(640px,100%);margin-inline:auto}aside{width:100%;min-width:0}}@media (width<=600px){:root{--tabbar-h:60px}body{font-size:14px}.app{padding:8px 8px calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px)}.topbar{z-index:30;padding:0 0 env(safe-area-inset-bottom);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--border);background:#16181df0;margin:0;position:fixed;inset:auto 0 0}.brand{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.opening-picker .buttons{bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom));z-index:5;background:var(--surface);border-top:1px solid var(--border);border-radius:0 0 var(--r-md) var(--r-md);margin:4px -12px -12px;padding:10px 12px 12px;position:sticky}.opening-picker .buttons button{flex:1}.tabs{height:var(--tabbar-h);background:0 0;border:none;border-radius:0;flex:1;gap:0;padding:0}.tab{border-radius:0;flex-direction:column;flex:1;justify-content:center;gap:2px;padding:6px 4px;font-size:11px}.tab.active,.tab.active:hover:not(:disabled){box-shadow:none;color:var(--accent);background:0 0}.tab:hover:not(:disabled){background:0 0}.tab-icon{opacity:1;font-size:20px}.lang-switch{box-shadow:none;flex:.8;margin:0}.badge{top:3px;min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px;position:absolute;inset-inline-start:calc(50% + 8px)}.settings-toggle{background:var(--surface);width:100%;color:var(--text-2);text-align:start;border-radius:999px;align-items:center;gap:8px;margin-bottom:8px;padding:9px 12px;font-size:13px;display:flex}.settings-what{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.settings-edit{color:var(--accent);flex:none;font-weight:600}.controls{display:none}.settings-backdrop{z-index:40;background:#0000008c;animation:.15s ease-out fade;display:block;position:fixed;inset:0}.controls.open{z-index:50;max-height:85dvh;padding:10px 18px calc(18px + env(safe-area-inset-bottom));border-radius:var(--r-lg) var(--r-lg) 0 0;background:var(--surface);border:none;flex-flow:column;align-items:stretch;gap:14px;margin:0;animation:.2s ease-out sheet-up;display:flex;position:fixed;inset:auto 0 0;overflow-y:auto;box-shadow:0 -10px 30px #0006}.controls.open>label{min-width:0;font-size:13px}.controls.open select{padding:10px 12px;font-size:15px}.toggles{flex-direction:column;gap:14px;padding:4px 0}.more-settings{align-self:stretch}.more-settings summary{padding:8px 0;font-size:14px}.more-settings-body{flex-direction:column;align-items:stretch;gap:14px;padding:6px 0 0}.more-settings-body>label{min-width:0;font-size:13px}.more-settings,.more-settings-body{min-width:0;max-width:100%}.more-settings-body .toggle{max-width:100%}.more-settings-body select{width:100%;min-width:0}.today{scrollbar-width:none;flex-wrap:nowrap;margin-bottom:8px;overflow-x:auto}.today::-webkit-scrollbar{display:none}.today button{flex:none}.sheet-handle{background:var(--border);touch-action:none;border-radius:2px;align-self:center;width:40px;height:4px;display:block;position:relative}.sheet-handle:before{content:"";position:absolute;inset:-12px -40px}.pick-sheet .account-head,.account-panel .account-head{touch-action:none}.sheet-dragging{transition:none!important;animation:none!important}.learn-move,.game-review .coach{touch-action:pan-y}.sheet-done{padding:12px;font-size:15px;display:block}main{gap:8px}.board-wrap{gap:6px;width:min(100%,100dvh - 300px)}.evalbar{gap:4px;width:26px;font-size:11px}.evalbar-label small{display:none}.evalbar-track{width:8px}aside{gap:8px}.status{padding:9px 12px;font-size:14px}.card{padding:12px}.feedback strong{font-size:15px}.feedback .hint-text{display:none}.feedback .buttons button,.notice .buttons button{flex:1;min-height:46px}.actions button{flex-direction:column;gap:2px;min-height:54px;padding:6px 4px;font-size:12px}.actions .icon{font-size:18px}.moves{white-space:nowrap;scrollbar-width:none;gap:10px;max-height:none;padding:8px 10px;display:flex;overflow:auto hidden}.moves::-webkit-scrollbar{display:none}.moves li{gap:4px;display:inline-flex}.moves-bar{flex-direction:row;align-items:stretch}.moves-nav{display:contents}.moves-nav .nav-start,.moves-nav .nav-end{display:none}.moves-nav .nav-prev{order:0}.moves-bar .moves{flex:1;order:1;min-width:0}.moves-nav .nav-next{order:2}.moves-nav button{min-width:44px;padding:0;font-size:20px}.move{padding:1px 4px}.picker-btn{flex:none;padding:8px 12px}.pick-sheet{border-radius:var(--r-lg) var(--r-lg) 0 0;width:auto;max-height:85dvh;padding-bottom:calc(18px + env(safe-area-inset-bottom));animation:.2s ease-out sheet-up;inset:auto 0 0;transform:none}.guide{margin-bottom:8px;padding:10px 12px}.guide ol{margin:4px 0 0;font-size:13px;line-height:1.5}.learn-move{min-height:0}.learn-move-head strong{font-size:16px}.learn-move p{font-size:14px}.badge.badge-dot{min-width:8px;height:8px;padding:0;top:6px}.stepper button{min-height:48px}.actions.actions-2 button{flex-direction:row;min-height:46px;font-size:13px}.coach{--coach-h:172px;padding:0}.coach-scroll{padding:12px}.coach>.explore-next{margin:0 12px 12px}.coach-body{padding-inline-start:0}.search{padding:12px}.search label{flex:1}.search input,.search button{width:100%}.search .games-site button{flex:1;width:auto}.tiles{grid-template-columns:1fr 1fr;grid-auto-flow:dense;gap:8px}.tile.wide{grid-column:1/-1}.tile{padding:12px}.tile-value{font-size:22px}.grid2{grid-template-columns:1fr;gap:12px}.bar-row{grid-template-columns:minmax(80px,38%) 1fr auto;gap:8px}.bar-label,.recent-meta{-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;line-height:1.25;display:-webkit-box}.bar-value{min-width:64px}}@keyframes sheet-up{0%{transform:translateY(100%)}}@keyframes fade{0%{opacity:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.segmented{background:var(--surface);border:1px solid var(--border);border-radius:12px;gap:4px;width:fit-content;max-width:100%;margin-bottom:14px;padding:4px;display:flex}.segmented button{color:var(--text-2);background:0 0;border:none;border-radius:9px;align-items:center;gap:6px;padding:7px 16px;font-weight:500;display:inline-flex}.segmented button.active,.segmented button.active:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.segmented .badge{position:static}.puzzle-header .puzzle-rating b{color:var(--text);font-variant-numeric:tabular-nums}.puzzle-stats{font-size:13px}.rush-clock{color:var(--text);font-variant-numeric:tabular-nums;font-size:15px;font-weight:700}.rush-chip.active{color:var(--warn)}.daily-pill.done,.today .daily-btn.done{color:var(--accent);background:#5fb36b1f}.daily-done{color:var(--accent);font-weight:600}.account-backdrop{z-index:60;background:#00000080;animation:.15s ease-out fade;position:fixed;inset:0}.account-panel{z-index:61;top:72px;flex-direction:column;gap:16px;width:min(380px,100vw - 32px);display:flex;position:fixed;inset-inline-end:max(16px,50% - 600px);box-shadow:0 16px 40px #00000073}.account-head{justify-content:space-between;align-items:center;display:flex}.account-head h2{font-size:18px}.privacy-panel{max-height:calc(100dvh - 96px)}.privacy-body{overscroll-behavior:contain;min-height:0;color:var(--text-2);font-size:14px;line-height:1.6;overflow-y:auto}.privacy-body h3{color:var(--text);margin:14px 0 2px;font-size:15px}.privacy-body p{margin:0 0 6px}.account-foot button.link{font-size:inherit;padding:0}.icon-btn{padding:4px 10px}.account-user{grid-template-columns:auto 1fr;align-items:center;gap:6px 12px;display:grid}.account-user>button{grid-column:1/-1}.account-user>button.delete-data{color:var(--error);justify-self:start;padding:0;font-size:13px}.deleted-note{color:var(--text-2)}.confirm-backdrop{z-index:70}.confirm-dialog{z-index:71;flex-direction:column;gap:10px;width:min(420px,100vw - 32px);display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 16px 40px #00000073}.confirm-dialog h2{margin:0;font-size:18px}.confirm-dialog p{color:var(--text-2);margin:0;line-height:1.6}.confirm-dialog .buttons{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}button.danger{background:var(--error);border-color:var(--error);color:#111;font-weight:700}.account-who{flex-direction:column;gap:2px;min-width:0;display:flex}.account-who strong,.account-who .muted{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-who .muted{font-size:13px}.sync-status{color:var(--accent);font-size:13px}.sync-status.warn{color:#e0a85f}.avatar{object-fit:cover;border-radius:50%;width:44px;height:44px}.avatar-letter{background:var(--surface-2);text-transform:uppercase;place-items:center;font-weight:700;display:grid}.avatar-sm{vertical-align:middle;width:22px;height:22px}.account-signin{flex-direction:column;gap:10px;display:flex}.account-signin p{font-size:13px;line-height:1.5}.google-btn{color:#1f1f1f;background:#fff;border:1px solid #dadce0;border-radius:999px;justify-content:center;align-items:center;gap:10px;padding:11px 16px;font-weight:600;display:inline-flex}@media (hover:hover){.google-btn:hover:not(:disabled){background:#f2f2f2}}.account-row{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding-top:12px;display:flex}@media (width<=600px){.account-panel{top:auto;border-radius:var(--r-lg) var(--r-lg) 0 0;width:auto;padding-bottom:calc(18px + env(safe-area-inset-bottom));animation:.2s ease-out sheet-up;inset:auto 0 0}}.line-info{border-inline-start:3px solid var(--info);flex-direction:column;gap:6px;display:flex}.line-info-head{flex-wrap:wrap;align-items:baseline;gap:6px;display:flex}.line-info-head .muted{font-size:12px}.line-info p{font-size:14px;line-height:1.5}.note-label{font-family:var(--mono);color:var(--text);unicode-bidi:isolate;margin-inline-end:4px;font-weight:700}.feedback .why{font-size:14px}@media (width<=600px){.line-info{gap:2px;padding:8px 12px}.line-info p{font-size:13px;line-height:1.4}.line-info p:not(:last-child){display:none}}button.progress-pill{cursor:pointer;font:inherit;border:none}.rate{font-variant-numeric:tabular-nums;font-size:13px}.rate.good{color:var(--accent)}.rate.mid{color:#e0a85f}.rate.low{color:#e06c5f}.account-foot{margin-top:-4px;font-size:12px}.branches-card{flex-direction:column;gap:10px;display:flex}.branches-card h3{margin-top:4px;font-size:14px}.branch-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.branch-list li{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;font-size:14px;display:flex}.branch-list li:last-child{border-bottom:none}.branch-list li button{flex:none}.branch-added{color:var(--accent)}.small-print,.remove-branch{font-size:12px}.import-link{font-size:13px}.export-note{margin:4px 0 0;font-size:13px}.feedback-link{text-align:start;align-self:flex-start;margin-top:6px;font-size:13px}.feedback-vote{gap:8px;margin:8px 0;display:flex}.feedback-vote button.active{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 18%, transparent)}.feedback-text textarea{box-sizing:border-box;width:100%;font:inherit;resize:vertical;border-radius:8px;padding:8px}.feedback-meta{justify-content:space-between;gap:8px;margin:4px 0 8px;font-size:12px;display:flex}.feedback-errors{align-items:center;gap:6px;margin-bottom:8px;font-size:13px;display:flex}.feedback-error{color:var(--error,#e06c5a)}.feedback-where{margin-top:8px;font-size:12px}.feedback-thanks{margin:8px 0 14px;font-size:16px}.import-card{flex-direction:column;gap:10px;margin-bottom:16px;display:flex}.import-card h3{font-size:15px}.import-card textarea{border-radius:var(--r-md,10px);border:1px solid var(--border);background:var(--surface-2);width:100%;color:var(--text);font:14px/1.5 var(--mono);resize:vertical;padding:10px 12px}.import-results{flex-direction:column;gap:4px;margin:0;padding:0;font-size:13px;list-style:none;display:flex}.import-results .ok{color:var(--accent)}.import-results .warn{color:#e0a85f}[dir=rtl] .rtl-flip{display:inline-block;transform:scaleX(-1)}@media (width<=600px),(pointer:coarse){button,.account-foot a,.manage-row{min-height:44px}.icon-btn{min-width:44px}.account-foot a,.small-link{align-items:center;min-height:44px;display:inline-flex}.manage-row input{width:22px;height:22px}button.link{padding-block:6px}.moves{padding-block:4px}.moves button.move,.review-moves button.move{min-width:34px;padding-inline:6px}}@media (width<=600px){.wide-only{display:none}.game-review-head>button{flex:none;min-width:44px;padding:0 12px;font-size:20px}.game-review-title{flex-wrap:nowrap;flex:1}.game-review-title>*{flex:none}.game-review-title .game-review-info{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.learn-done-idea,.puzzle-feedback{display:none}.game-review .coach{height:auto;min-height:var(--coach-h)}.game-review .coach-scroll{overflow:visible}.game-review .coach{overflow:clip}.game-review .coach>.explore-next{z-index:1;background:linear-gradient(#5fb36b24, #5fb36b24), var(--surface);box-shadow:0 -6px 10px var(--surface);position:sticky;bottom:0}:root{--below-board:210px}.screen{height:calc(100dvh - 8px - var(--tabbar-h) - env(safe-area-inset-bottom));flex-direction:column;margin-bottom:-12px;display:flex}.app .screen>.stage-head{scrollbar-width:none;flex-flow:row;flex:none;align-items:center;gap:6px;height:44px;margin:0 0 8px;display:flex;overflow:auto hidden}.screen>.stage-head::-webkit-scrollbar{display:none}.screen>.stage-head>*{flex-shrink:0}.screen>.learn-header>.picker-btn{flex:1 1 0;min-width:0;padding:8px 10px}.screen>.learn-header>.opening-btn{flex-grow:1.6}.screen>.learn-header .progress-pill{padding-inline:6px}.screen>.learn-header .picker-btn-arrow,.screen>.learn-header .picker-btn-label,.screen>.learn-header .name-full{display:none}.screen>.learn-header .name-short{display:inline}.coach-actions .name-full{display:none}.coach-actions .name-short{display:inline}.screen>.puzzle-header .daily-pill{order:-1}.screen>.puzzle-header .segmented{order:-2}.screen>.puzzle-header .puzzle-rating,.screen>.puzzle-header>.chips{display:none}.chips.puzzle-modes{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.puzzle-stats .phone-only{display:inline}.screen .today-head{display:none}.today-phone{order:-1;margin:0}.screen>.stage-head .settings-toggle{margin:0}.screen>.stage-head .segmented{width:auto;margin:0}.screen>.stage-head .segmented button{flex:none;padding:8px 10px}.screen>.stage-head .chips{flex-wrap:nowrap;flex:none;width:auto}.screen>.drill-empty{min-height:0;overflow-y:auto}.screen>main{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.screen .board-wrap{width:min(100%, max(220px, calc(var(--fit-h,100svh) - var(--tabbar-h) - env(safe-area-inset-bottom) - var(--below-board))));flex:none}.screen .evalbar{gap:0;width:6px}.screen .evalbar-label{display:none}.screen .evalbar-track{width:6px}.screen .board-wrap:not(:has(.evalbar)):before{content:"";flex:none;width:6px}.screen aside{overscroll-behavior:contain;scrollbar-width:none;flex:1;min-height:0;padding-bottom:12px;position:relative;overflow-y:auto}.screen aside::-webkit-scrollbar{display:none}.screen aside>*{flex-shrink:0}.screen aside>.panel-buttons{z-index:2;background:var(--bg);order:-1;gap:8px;position:sticky;top:0}.screen aside>.card.guide{order:-1}.screen .panel-info:has(>.feedback)>.status{display:none}.screen .panel-buttons .actions button{flex-direction:row;gap:6px;min-height:46px;padding:6px 4px;font-size:13px}.screen .panel-buttons .actions .icon{font-size:16px}.screen aside .card>.buttons:last-child{z-index:1;background:var(--surface);box-shadow:0 0 0 1px var(--surface);margin-bottom:-12px;padding:8px 0 12px;position:sticky;bottom:-12px}}.lang-note{font-size:12px;line-height:1.5}button.link.danger{color:var(--error)}.engine-failed{border-color:var(--error);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.install-card{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin-bottom:12px;padding:10px 14px;display:flex}.install-text{flex:240px}.install-card p{margin:2px 0 0;font-size:13px;line-height:1.45}.install-card .buttons{gap:8px;display:flex}.review-intro{flex-direction:column;gap:6px;margin-top:14px;display:flex}.review-intro ul{color:var(--text-2);margin:0;padding-inline-start:20px;font-size:14px;line-height:1.7}.review-intro p{margin:0}.install-row p{margin:0;font-size:13px;line-height:1.5}.remove-position{color:var(--text-3);margin-inline-start:auto}.removed-note{color:var(--text-2);margin:0;font-size:13px}.account-row.stats-row{flex-direction:column;align-items:stretch;gap:4px}.stats-row p{margin:0;line-height:1.4}.buttons .removed-note{align-self:center;margin-inline-start:auto}.buttons .removed-note .link{min-height:44px;padding:0 6px}.tabs-only{display:contents}.share-line{flex-wrap:wrap;align-items:center;gap:6px 12px;margin:10px 0 0;font-size:13px;display:flex}.share-line input{flex:220px;min-width:0;font-size:12px}button:active:not(:disabled),.tab:active,.chip:active:not(:disabled),.engine-line:active:not(:disabled){filter:brightness(1.18)}button:not(.move):active:not(:disabled){transform:scale(.98)}@media (prefers-reduced-motion:reduce){button:not(.move):active:not(:disabled){transform:none}}.board{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}@media (width<=340px){.tab-label{white-space:nowrap;font-size:10px}}@media (orientation:landscape) and (height<=500px) and (width>=601px){main{flex-direction:row;align-items:flex-start}.board-wrap,.game-review .board-wrap{flex-shrink:0;width:min(100svh - 24px,55%);margin-inline:0}aside{overscroll-behavior:contain;min-width:0;max-height:calc(100svh - 24px);overflow-y:auto}aside>*{flex-shrink:0}}.screen-error{margin:16px 0}.screen-error .buttons{flex-wrap:wrap;align-items:center}.screen-error .buttons .link{white-space:nowrap}.basics-map{flex-direction:column;gap:12px;max-width:640px;display:flex}.basics-map h2{margin:0}.basics-lessons{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.basics-lesson{text-align:start;grid-template-columns:1fr auto;gap:4px 12px;width:100%;padding:14px;display:grid}.basics-lesson .muted{grid-column:1;font-size:14px;font-weight:400}.basics-lesson-title{font-size:16px;font-weight:700}.basics-lesson-stars{grid-area:1/2/span 2;align-self:center}.basics-title{white-space:nowrap;font-weight:700}.basics-back{flex:none}.basics-star{color:#f4c430;text-shadow:0 1px 2px #00000073;font-size:clamp(18px,5.5vmin,40px);line-height:1}.basics-intro{flex-direction:column;gap:4px;display:flex}.basics-done{flex-direction:column;gap:6px;display:flex}.basics .status-text{min-width:0}@media (prefers-reduced-motion:no-preference){.basics-star{animation:.35s ease-out star-in}@keyframes star-in{0%{opacity:0;transform:scale(.4)}}}.stars{letter-spacing:1px;white-space:nowrap;gap:1px;display:inline-flex}.stars-on{color:#f4c430}.stars-off{color:var(--text-3);opacity:.55}.status-text .stars{vertical-align:-1px;font-size:18px}.basics-done .stars{margin-inline-start:6px;font-size:18px}.basics-lesson-stars .stars{font-size:20px}.basics-title{text-overflow:ellipsis;min-width:0;overflow:hidden}@media (prefers-reduced-motion:no-preference){.basics-star.flash{animation:.4s ease-in-out 3 star-flash}@keyframes star-flash{50%{filter:brightness(1.4);transform:scale(1.45)}}}@media (width<=600px){.screen.basics aside>.panel-info{order:-2}.screen.basics .panel-info:has(>.feedback)>.status{display:flex}.basics-back-label{display:none}}.star-note{color:var(--text-2);margin-inline-start:8px;font-size:13px;font-weight:400}.screen.basics>.stage-head>.basics-title{flex:1 1 0;min-width:0}@media (width<=600px){.screen.basics aside>.panel-info{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--border) transparent;height:168px;overflow-y:auto}.screen.basics aside>.panel-info>.status{z-index:1;position:sticky;top:0}.screen.basics .buttons.basics-choices{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;display:grid}.screen.basics .buttons.basics-choices>button{white-space:normal;padding-inline:6px;line-height:1.2}.basics-title{font-size:15px}}.basics-continue{text-align:start;border-color:var(--accent);flex-direction:column;align-items:flex-start;gap:2px;padding:14px 16px;display:flex}.basics-continue-label{color:var(--accent);font-size:13px;font-weight:700}.basics-continue strong{font-size:17px}.basics-checklist{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.basics-think{align-items:flex-start;gap:6px;margin:6px 0 0;font-size:13px;display:flex}.basics-think button{min-height:0;padding:0 4px}.basics-ready{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.basics-known{color:var(--accent);white-space:nowrap;font-size:14px;font-weight:600}.basics-today{flex-direction:column;gap:8px;display:flex}.basics-today-row{text-align:start;padding:10px 16px}.basics-streak{font-size:14px}.basics-placement-list{flex-direction:column;gap:6px;margin:0;padding:0;font-size:15px;list-style:none;display:flex}.placement-ok>span:first-child{color:var(--accent);font-weight:700}.placement-miss>span:first-child{color:var(--error);font-weight:700}.welcome{flex-direction:column;gap:12px;max-width:560px;margin:0 auto;display:flex}.welcome h2{margin:0}.welcome-answer{text-align:start;flex-direction:column;align-items:flex-start;gap:2px;padding:14px 16px;display:flex}.welcome-answer strong{font-size:17px}.welcome-answer span{font-size:14px}.basics-track{flex-direction:column;gap:6px;display:flex}.basics-track h3{margin:8px 0 0;font-size:16px;display:inline}.basics-track>p{margin:0 0 4px}.basics-track summary{cursor:pointer;padding:6px 0}.basics-lesson.soon{opacity:.55;border:1px dashed var(--border);border-radius:var(--r-md);align-items:center;padding:8px 14px}.basics-lesson.soon .basics-lesson-stars{grid-row:1;font-size:13px}.basics-lesson-number{background:var(--surface-2);border-radius:50%;place-items:center;min-width:24px;height:24px;margin-inline-end:6px;font-size:13px;display:inline-grid}.basics-skip{align-self:flex-start;margin-top:4px;font-size:14px}.basics-level{flex:none;min-width:0;max-width:160px}.basics-praise{font-weight:500}.basics-speak{flex:none;min-height:0;margin-inline-start:4px;padding:2px 8px;font-size:16px;line-height:1.2}.basics-bonus{background:var(--accent-soft,#5fb36b2e);border-radius:999px;margin-inline-start:6px;padding:1px 7px;font-size:12px}.basics-lesson-link,.drill-lesson{text-align:start;align-self:flex-start;margin-top:6px;font-size:14px}.basics-on-board{align-self:flex-start;font-size:13px}@media (width<=600px){.learn-header .learn-switch .learn-switch-name{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.learn-header .learn-switch button{padding-inline:10px}.learn-header .learn-switch button.active{display:none}.learn-header .learn-switch{padding:2px}}
