@font-face{font-family:Manrope;src:url('/fonts/manrope-latin-ext.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,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:Manrope;src:url('/fonts/manrope-latin.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#212531;background:#edeff5;font-synthesis:none;--green:#2d4db4;--accent:#b3bfe6;--line:#d8dae1;--muted:#565d73;--light:#d9dce8;--dark:#6f7a9e}*{box-sizing:border-box}.chessboard:not(.board-mini),.chessboard:not(.board-mini) .square{touch-action:none}.nav-more{margin-top:8px}.nav-more summary{cursor:pointer;padding:10px 12px;color:var(--muted);font-size:13px}.nav-more summary::-webkit-details-marker{display:none}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c08540;outline-offset:3px}.skip{position:fixed;top:-80px;padding:14px;background:white;z-index:100}.skip:focus{top:8px}.shell{display:grid;grid-template-columns:218px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid var(--line);padding:34px 20px 22px;background:#e6e8ee;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;font-family:Manrope,system-ui,sans-serif;font-size:34px;letter-spacing:-1.7px;padding:0 12px;font-weight:800}.brandmark{font-size:40px;color:var(--green);line-height:1}.brand small{font-family:inherit;font-size:11px;letter-spacing:0;background:#d5d8e3;padding:3px 5px;border-radius:4px;align-self:start;margin-top:9px}.navlabel{font-size:10px;letter-spacing:1.8px;color:#808699;margin:42px 15px 12px;font-weight:700}.nav{display:flex;flex-direction:column;gap:7px}.nav button{display:flex;gap:12px;align-items:center;text-align:left;border:0;background:none;padding:13px 15px;border-radius:8px;color:#60677c;font-size:13px}.nav button.active{background:#d6dae5;color:#2b49ab;font-weight:650}.nav button:hover{background:#dddfe7}.icon{width:19px;height:19px;vertical-align:middle;flex-shrink:0;display:inline-block}.side-bottom{margin-top:auto}.side-note{padding:19px 14px;border:1px solid #cbceda;border-radius:10px;margin-bottom:18px}.side-note p{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 0}.side-note strong{font-family:Manrope,system-ui,sans-serif;font-size:16px;font-weight:800}.profile{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:18px 10px 0;font-size:12px}.profile .avatar{width:32px;height:32px;background:#cdd1dd;color:#404964;border-radius:50%;display:grid;place-items:center}.profile span small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.workspace{min-width:0}.topbar{height:82px;border-bottom:1px solid var(--line);padding:0 42px;display:flex;justify-content:space-between;align-items:center;background:#f1f3f8;gap:16px}.crumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:12px}.crumb b{color:#33394b;font-weight:500}.top-actions{display:flex;gap:10px;align-items:center}.pill{font-size:10px;letter-spacing:.5px;border:1px solid var(--line);border-radius:30px;padding:7px 12px;color:var(--muted)}.language{border:0;background:transparent;color:#61687d;font-size:12px;padding:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);padding:12px 17px;border-radius:7px;background:#f5f6fb;color:#32384b;font-size:12px;font-weight:550}.button.primary{background:var(--green);border-color:var(--green);color:white}.button:hover{filter:brightness(.96)}.button.primary:hover{background:#27429b}.button.small{padding:8px 12px;font-size:11px}.button.text{border:0;background:transparent;padding-left:0}.main{max-width:1570px;margin:0 auto;padding:38px 42px 48px}.eyebrow{display:flex;align-items:center;gap:8px;text-transform:uppercase;font-size:10px;letter-spacing:2px;color:#656e8c;font-weight:600}.dot{display:inline-block;width:6px;height:6px;background:#7382b2;border-radius:50%}.hero{position:relative;border-radius:13px;background:#dde0e9;min-height:273px;display:flex;overflow:hidden;margin-bottom:36px;padding:32px 38px}.hero-copy{z-index:1;max-width:58%}.hero h1{font-family:Manrope,system-ui,sans-serif;font-size:clamp(34px,3.35vw,53px);line-height:1.12;letter-spacing:-1.8px;margin:19px 0 14px;font-weight:800}.hero h1 em{font-weight:400;color:#3f4a6e}.hero p{max-width:410px;font-size:12px;color:#636a83;line-height:1.9;margin:0 0 22px}.hero .hero-actions{display:flex;gap:18px;align-items:center}.hero-art{position:absolute;right:3%;top:10px;width:330px;height:300px;transform:rotate(-12deg);opacity:.95}.hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#dde0e900,transparent)}.hero-art .chessboard{box-shadow:0 18px 30px #2945a320;transform:perspective(700px) rotateX(30deg);border:8px solid #bcc1d3;border-radius:4px}.hero .art-label{position:absolute;right:31px;bottom:20px;font-size:9px;letter-spacing:2px;color:#6a7392}.section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 20px}.section-title h2,.page-title{font-family:Manrope,system-ui,sans-serif;font-size:27px;letter-spacing:-.6px;margin:0;font-weight:800}.section-title p,.page-sub{font-size:12px;color:var(--muted);line-height:1.8;margin:8px 0 0}.textlink{font-size:11px;color:#444d6c;border:0;background:none;padding:8px 0;white-space:nowrap}.collections{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:34px}.player-card{border:1px solid var(--line);background:#f5f6fb;border-radius:9px;overflow:hidden;transition:transform .2s,border-color .2s;text-align:left;padding:0;min-width:0}.player-card:hover{transform:translateY(-4px);border-color:#8e95aa}.player-card.selected{outline:2px solid #3153c4;outline-offset:2px}.player-art{height:135px;position:relative;overflow:hidden;display:flex;align-items:end;justify-content:center}.player-art:before{content:"";position:absolute;width:135px;height:135px;border:1px solid #ffffff20;border-radius:50%;top:24px;right:-15px}.player-art:after{content:"";position:absolute;width:180px;height:180px;border:1px solid #ffffff13;border-radius:50%;top:10px;right:-38px}.player-art.pine{background:#3153c4}.player-art.clay{background:#ad775e}.player-art.ink{background:#3c4a53}.player-art.gold{background:#546bb6}.player-art.slate{background:#6d7692}.player-monogram{font-family:Manrope,system-ui,sans-serif;font-size:68px;color:#e7eaf5e8;letter-spacing:-7px;padding-bottom:17px;z-index:1;font-weight:800}.collection-index{position:absolute;top:13px;left:14px;font-family:monospace;font-size:9px;color:#ffffff8c}.player-art .mini-chess{position:absolute;right:9px;bottom:-21px;font-size:92px;color:#00000014;transform:rotate(-15deg)}.player-body{padding:15px 14px}.player-body h3{font-family:Manrope,system-ui,sans-serif;font-size:16px;margin:0 0 7px;white-space:normal;line-height:1.2;font-weight:800}.player-body p{font-size:10px;color:var(--muted);margin:0;display:flex;justify-content:space-between;gap:5px}.player-body p span:last-child{color:#364062}.archive-top{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:16px}.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:20px}.tabs button{font-size:12px;background:none;border:0;border-bottom:2px solid transparent;color:var(--muted);padding:13px 0}.tabs button.active{color:var(--green);border-color:var(--green)}.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.search{position:relative;min-width:210px;flex:1;max-width:350px}.search input{width:100%;border:1px solid var(--line);border-radius:6px;background:#f5f6fb;padding:11px 12px 11px 37px;font-size:11px;color:#373e54}.search .icon{position:absolute;top:10px;left:11px;color:#79809a;width:15px}.select{border:1px solid var(--line);border-radius:6px;background:#f5f6fb;padding:10px;font-size:11px;color:#58617d;max-width:220px}.result-count{font-size:10px;color:#777f98;margin-left:auto}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:8px;background:#f6f7fb}.games-table{border-collapse:collapse;width:100%;text-align:left}.games-table th{font-size:9px;letter-spacing:1.2px;text-transform:uppercase;color:#515975;font-weight:500;background:#e8eaf1;padding:13px 18px;border-bottom:1px solid var(--line)}.games-table td{padding:15px 18px;border-bottom:1px solid #e0e2e9;font-size:11px;white-space:nowrap}.games-table tr:last-child td{border:0}.games-table tbody tr:hover{background:#e9ebf3}.match-name{display:flex;align-items:center;gap:11px}.match-name strong{display:block;font-size:12px;font-weight:550}.match-name small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.mini-squares{display:grid;grid-template-columns:repeat(3,5px);gap:1px;transform:rotate(10deg);padding:4px}.mini-squares i{width:5px;height:5px;background:#acb2c6}.mini-squares i:nth-child(2n){background:#ced2e0}.result{font-family:monospace;background:#e5e8f0;padding:5px 7px;border-radius:4px;color:#565e7b;font-size:10px}.opening-label{color:#69718d;max-width:230px;overflow:hidden;text-overflow:ellipsis}.badge{display:inline-block;padding:5px 7px;font-size:9px;border-radius:4px;background:#dfe2ed;color:#4c587f}.footer-note{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#8289a1;margin-top:18px;line-height:1.8}.empty{padding:45px;text-align:center;color:var(--muted);line-height:1.8}.empty strong{display:block;color:#303852;font-family:Manrope,system-ui,sans-serif;font-size:24px;margin-bottom:10px;font-weight:800}.study-layout{display:grid;grid-template-columns:minmax(320px,1.1fr) minmax(270px,.85fr);gap:28px;margin-top:26px}.board-panel{min-width:0}.player-strip{display:flex;align-items:center;gap:10px;padding:10px 1px;font-size:12px}.player-strip .circle{display:grid;place-items:center;border-radius:6px;background:#d9dce6;width:32px;height:32px;font-family:Manrope,system-ui,sans-serif;font-size:16px;font-weight:800}.player-strip small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.chessboard{width:100%;aspect-ratio:1;display:grid;grid-template-columns:repeat(8,1fr);border-radius:4px;overflow:hidden}.square{position:relative;border:0;border-radius:0;padding:0;aspect-ratio:1;background:var(--light);display:grid;place-items:center;min-width:0;color:#fff}.square.dark{background:var(--dark)}.square.last{box-shadow:inset 0 0 0 100px #788ed857}.square.selected{box-shadow:inset 0 0 0 100px #e3c84f96}.square.legal:after{content:"";position:absolute;width:25%;height:25%;border-radius:50%;background:#2945a335;z-index:2}.square svg{width:83%;height:83%;filter:drop-shadow(0 2px 1px #0002);z-index:1}.square .coordinate{font-size:9px;position:absolute;bottom:3px;right:4px;color:#353f5f}.square.dark .coordinate{color:#d9dff4}.square .rank{top:3px;left:4px;right:auto;bottom:auto}.board-controls{display:flex;justify-content:center;gap:10px;margin-top:12px}.board-controls button{border:1px solid var(--line);border-radius:5px;background:#f2f4fa;min-width:44px;padding:10px;color:#565f7c}.study-info{border:1px solid var(--line);border-radius:10px;background:#f5f6fb;overflow:hidden;align-self:start}.study-head{padding:23px;border-bottom:1px solid var(--line)}.study-head h2{font-family:Manrope,system-ui,sans-serif;font-size:23px;line-height:1.25;margin:10px 0;font-weight:800}.study-head p{font-size:11px;color:var(--muted);line-height:1.7;margin:0}.move-list{display:grid;grid-template-columns:34px 1fr 1fr;gap:3px;padding:12px;max-height:185px;overflow-y:auto;background:#eceef5}.move-list .move-number{font-size:10px;color:#8189a4;padding:7px}.move-list button{border:0;background:none;text-align:left;padding:7px 12px;font-family:monospace;font-size:12px;border-radius:4px;color:#3a4362}.move-list button.current{background:#c7cee5;color:#2b4aae;font-weight:bold}.coach-section{padding:21px 23px}.coach-section .eyebrow{margin-bottom:12px}.coach-section p{font-size:12px;color:#666d87;line-height:1.8;margin:0 0 16px}.engine-data{padding:12px;border-radius:6px;background:#e4e7f1;margin-bottom:15px}.engine-score{font-family:Manrope,system-ui,sans-serif;font-size:27px;color:#3153c4;font-weight:800}.engine-data small{display:block;font-size:9px;color:#677193;margin-top:5px;line-height:1.6}.engine-data code{font-size:11px;line-height:1.9}.study-actions{display:flex;gap:8px;flex-wrap:wrap}.study-notes{width:100%;resize:vertical;min-height:80px;border:1px solid var(--line);border-radius:6px;padding:12px;background:#f8faff;font-size:12px;line-height:1.6;color:#3a4159;margin-bottom:10px}.source-line{font-size:10px;line-height:1.8;color:#777f9c;padding:16px 23px;border-top:1px solid var(--line)}.source-line a{text-decoration:underline}.school-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}.school-card{padding:25px;border:1px solid var(--line);background:#f5f6fb;border-radius:10px}.school-card .school-index{font-family:Manrope,system-ui,sans-serif;font-size:45px;color:#a7aec6;display:block;margin-bottom:24px;font-weight:800}.school-card h2{font-family:Manrope,system-ui,sans-serif;font-size:24px;margin:0 0 12px;font-weight:800}.school-card p{font-size:12px;color:var(--muted);line-height:1.9;min-height:75px}.school-card small{font-size:10px;color:#727d9e;line-height:1.7;display:block;margin:15px 0}.notebook-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:25px}.note-card{border:1px solid var(--line);background:#f5f6fb;border-radius:8px;padding:18px}.note-card .chessboard{max-width:170px;margin-bottom:18px}.note-card h3{font-family:Manrope,system-ui,sans-serif;font-size:18px;font-weight:800}.note-card p{font-size:12px;line-height:1.8;color:var(--muted)}.appearance-panel{max-width:650px;border:1px solid var(--line);border-radius:10px;background:#f5f6fb;padding:26px;margin-top:25px}.settings-row{padding:18px 0;border-bottom:1px solid var(--line)}.settings-row:last-child{border:0}.settings-row h3{font-size:13px;font-weight:550;margin:0 0 13px}.swatches{display:flex;gap:12px;flex-wrap:wrap}.swatch{padding:10px 15px;border:1px solid var(--line);border-radius:6px;display:flex;gap:9px;align-items:center;background:#f1f3f9;font-size:12px}.swatch.active{outline:2px solid #414d73}.swatch i{width:22px;height:22px;border-radius:4px;background:linear-gradient(135deg,var(--a) 50%,var(--b) 50%)}.room-panel{padding:24px;border:1px solid var(--line);background:#f5f6fb;border-radius:10px;max-width:650px;margin:25px 0}.room-panel h2{font-family:Manrope,system-ui,sans-serif;font-size:25px;font-weight:800}.room-panel p{font-size:12px;line-height:1.9;color:var(--muted)}.room-panel input{border:1px solid var(--line);border-radius:6px;padding:11px;font-size:11px;width:100%;margin:8px 0 12px}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:20px}.status-line{font-size:12px;line-height:1.8;padding:12px 0;color:#414d73}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#2e4eb8;color:#fff;padding:13px 21px;border-radius:8px;font-size:12px;box-shadow:0 10px 40px #0002;opacity:0;pointer-events:none;transition:opacity .2s;z-index:200;max-width:90vw}#toast.visible{opacity:1}.modal-backdrop{position:fixed;inset:0;background:#22293f80;z-index:100;display:grid;place-items:center;padding:20px}.modal{background:#eff1f8;padding:26px;border-radius:12px;width:min(480px,100%);max-height:90vh;overflow:auto;box-shadow:0 20px 80px #0002}.modal h2{font-family:Manrope,system-ui,sans-serif;font-size:28px;margin:0 0 16px;font-weight:800}.modal p{color:var(--muted);line-height:1.8;font-size:12px}.modal textarea{width:100%;height:160px;border:1px solid var(--line);padding:12px;font-size:11px;border-radius:6px;resize:vertical}.modal select{padding:10px;margin:10px}.modal .study-actions{margin-top:16px}.error{color:#9d4d3a!important}.loading{padding:80px;text-align:center;color:#4a5371}.board-mini .square{pointer-events:none}.board-mini .square svg{filter:none}.board-mini .coordinate{display:none}.info-banner{padding:15px 18px;background:#dfe2ed;border:1px solid #cacfe1;font-size:12px;line-height:1.9;border-radius:7px;color:#4e587b;margin:20px 0}.practice-line{margin:8px 0;font-size:12px;line-height:1.8;color:#3b476e}.position-input{display:flex;gap:8px;margin-top:18px}.position-input input{flex:1;min-width:0;border:1px solid var(--line);padding:11px;border-radius:6px;background:#f5f6fb;font-size:11px}.mobile-brand{display:none}.result-preview{font-size:11px;line-height:1.8;color:#616982}.page-count{display:flex;justify-content:space-between;align-items:center;margin-top:13px;font-size:11px;color:var(--muted)}
@media(min-width:1450px){.main{padding:44px 58px}.hero-art{right:6%;width:350px;height:350px}.hero{min-height:300px}.player-art{height:165px}}
@media(max-width:1100px){.shell{grid-template-columns:175px 1fr}.sidebar{padding:28px 12px}.brand{font-size:30px}.brand small{display:none}.topbar{padding:0 25px}.main{padding:28px 25px}.hero{padding:28px}.hero-art{right:-25px;width:260px}.hero-copy{max-width:67%}.collections{gap:9px}.player-art{height:110px}.player-body{padding:12px 10px}.player-body h3{font-size:14px}.player-body p{font-size:9px;flex-direction:column;gap:5px}.player-monogram{font-size:56px}.school-grid{grid-template-columns:repeat(2,1fr)}.study-layout{gap:17px}.study-head,.coach-section{padding:17px}.notebook-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.shell{display:block}.sidebar{height:auto;position:static;padding:16px;border-right:0;border-bottom:1px solid var(--line);display:block}.brand{font-size:28px;padding:0 3px;margin-bottom:13px}.brandmark{font-size:30px}.sidebar .navlabel,.side-bottom{display:none}.nav{flex-direction:row;gap:3px;overflow:auto}.nav button{white-space:nowrap;font-size:11px;padding:10px}.nav .icon{width:15px;height:15px}.topbar{height:59px;padding:0 18px}.topbar .pill{display:none}.topbar .button{font-size:10px;padding:9px 12px}.main{padding:24px 18px}.hero{min-height:285px;padding:26px 23px;margin-bottom:28px}.hero-copy{max-width:90%}.hero h1{font-size:39px;max-width:280px}.hero p{max-width:255px;font-size:11px}.hero-art{width:190px;right:-85px;top:95px;opacity:.38}.hero .art-label{display:none}.hero-actions{gap:8px!important}.hero .button{font-size:10px;padding:10px 12px}.eyebrow{font-size:9px}.collections{grid-template-columns:repeat(5,150px);overflow-x:auto;padding:3px 3px 12px;margin:0 -3px 22px}.player-art{height:115px}.player-body h3{font-size:16px}.player-body p{flex-direction:row}.section-title h2{font-size:25px}.section-title p{font-size:11px}.archive-top{align-items:stretch;flex-direction:column;gap:10px}.search{max-width:none}.games-table th,.games-table td{padding:13px 12px}.games-table .hide-mobile{display:none}.result-count{margin-left:0}.footer-note{flex-direction:column;gap:2px}.study-layout{grid-template-columns:1fr}.study-info{margin-top:3px}.chessboard{max-width:560px;margin:0 auto}.study-head h2{font-size:22px}.school-grid,.notebook-grid{grid-template-columns:1fr}.school-card p{min-height:0}.page-title{font-size:30px}.page-heading{align-items:start;flex-direction:column}.position-input{flex-direction:column}.square .coordinate{font-size:8px}.tabs{gap:20px}.appearance-panel{padding:18px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.scan-panel{padding:17px 23px;border-bottom:1px solid var(--line);background:#e9ecf4}.scan-panel svg{width:100%;height:70px;display:block;margin:10px 0}.scan-panel small{font-size:9px;color:#697395;line-height:1.6;display:block;margin-top:10px}
/* Learning workspace: reuse the archive's quiet editorial palette. */
.learning-tabs{margin:12px 0 30px;overflow-x:auto}.learning-tabs button{white-space:nowrap}.learning-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:30px}.learning-plan,.profile-form,.rules-note,.style-intro{padding:30px;border:1px solid var(--border,#d0d4df);border-radius:12px;background:#eef0f8}.learning-plan h2,.style-intro h2{font:800 32px/1.2 Manrope,system-ui,sans-serif;margin:20px 0}.learning-plan p,.learning-plan li,.rules-note p,.style-intro p{font-size:14px;line-height:1.8;color:#575f78}.learning-plan ol{padding-left:21px;margin:23px 0}.profile-form{background:#f6f8ff}.profile-form h3{font:800 24px Manrope,system-ui,sans-serif;margin:0 0 23px}.profile-form label{display:flex;flex-direction:column;gap:9px;font-size:12px;margin-bottom:18px;color:#474f69}.profile-form select,.profile-form input{width:100%;min-height:43px;border:1px solid #cfd2dd;border-radius:6px;background:#f7f9ff;padding:10px;color:#2f3750;font:inherit}.rating-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.learning-fine{font-size:11px!important;line-height:1.7!important;color:#515975!important}.learning-stats{display:flex;gap:25px;margin:32px 0 17px;padding-top:24px;border-top:1px solid #d0d4df}.learning-stats span{font-size:11px;display:flex;flex-direction:column;gap:8px}.learning-stats b{font:800 30px Manrope,system-ui,sans-serif}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.lesson-card{display:flex;align-items:flex-start;flex-direction:column;min-width:0;padding:25px;border:1px solid #d0d4df;border-radius:10px;background:#f4f6fc}.lesson-card h3{font:800 24px/1.25 Manrope,system-ui,sans-serif;margin:18px 0 8px}.lesson-card p{font-size:13px;line-height:1.8;color:#565e78}.lesson-card small{font-size:10px;line-height:1.8;color:#515975;margin-bottom:20px}.lesson-card>.button{margin-top:auto}.piece-portrait svg{width:65px;height:65px}.piece-card .eyebrow{margin-top:12px}.rules-note{margin-top:25px}.rules-note h3{font:800 24px Manrope,system-ui,sans-serif}.style-intro{margin-bottom:25px}.style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.style-grid h2{font:800 28px Manrope,system-ui,sans-serif;margin:18px 0 5px}.lesson-card.chosen{border-color:#4a557a;box-shadow:inset 0 0 0 1px #4a557a}.reflection-label{display:block;font-size:12px;margin-top:25px}.reflection-label textarea{margin:12px 0 15px}.learning-exercise .study-head h2{font-size:24px}.practice-turn{text-align:center;color:#535c7b;font-size:12px}.learning-exercise .board-panel>.study-actions{margin-top:18px;justify-content:center}.recorded-line{margin:20px 0;padding:15px;background:#e3e6f0;border-radius:7px;line-height:2}.recorded-line span{padding:3px 5px;border-radius:3px}.recorded-line .current{background:#45527c;color:white}.learning-plan .lesson-grid{grid-template-columns:1fr}.learning-exercise .source-line{overflow-wrap:anywhere}@media(max-width:1000px){.learning-columns{grid-template-columns:1fr}.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.lesson-grid,.style-grid{grid-template-columns:1fr}.learning-plan,.profile-form,.rules-note,.style-intro{padding:22px}.learning-stats{gap:16px}.learning-stats span{font-size:10px}.rating-fields{grid-template-columns:1fr}.learning-tabs{max-width:100%}.learning-exercise .study-head h2{font-size:21px}}
.specialist-notes{margin-top:25px;padding-top:23px;border-top:1px solid #cfd2dd}.specialist-notes ul{padding-left:18px}.specialist-notes li,.specialist-notes p{font-size:13px;line-height:1.8;color:#474f69}.specialist-notes h3{font:800 21px/1.4 Manrope,system-ui,sans-serif}.specialist-notes small{font-size:11px;color:#515975}.review-records{margin-top:30px}.review-records>.rules-note{margin-top:12px}.lens-note{margin:0 0 25px}

.square.last{box-shadow:inset 0 0 0 100px #efd25555}.square.in-check{background-image:radial-gradient(ellipse,#d65454 0%,transparent 72%)}.square.legal:after{content:"";position:absolute;width:22%;height:22%;border-radius:50%;background:#2d4db566;pointer-events:none}.square.legal:has(svg):after{width:86%;height:86%;background:none;border:5px solid #2d4db588}.square.selected{outline:3px solid #ab7431;outline-offset:-3px}

.puzzle-preview{width:100%;aspect-ratio:1;max-width:220px;align-self:center;border-radius:8px;margin-bottom:14px}.puzzle-preview text{paint-order:stroke fill}.analysis-help{font-size:12px;margin-top:24px;color:var(--muted)}
.opening-crumbs{font-size:12px;color:var(--muted);margin-bottom:12px;line-height:1.9}.opening-crumbs .textlink{padding:0;font-size:12px}.opening-layout{display:grid;grid-template-columns:minmax(260px,420px) minmax(0,1fr);gap:28px;align-items:start}.opening-board .chessboard{max-width:420px}.opening-line{font-family:monospace;font-size:12px;line-height:1.8;color:#3a4362;margin:12px 0}.opening-total{display:flex;align-items:center;gap:10px;margin-bottom:14px}.opening-stats{display:flex;width:110px;height:9px;border-radius:5px;overflow:hidden;background:#c6c9d4;flex-shrink:0}.opening-stats i.w{background:#f5f6fb;box-shadow:inset 0 0 0 1px #cdd0da}.opening-stats i.d{background:#9a9fae}.opening-stats i.b{background:#32384b}.opening-count{font-size:11px;color:var(--muted);min-width:34px;text-align:right}.opening-stats-empty{font-size:11px;color:var(--muted)}.opening-notes{padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:#f5f6fb;margin-bottom:20px}.opening-notes p{font-size:13px;line-height:1.75;color:#393f53;margin:10px 0 0}.opening-h2{font:800 20px Manrope,system-ui,sans-serif;margin:0 0 10px}.opening-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;background:#f5f6fb;overflow:hidden}.opening-row{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;width:100%;text-align:left;border:0;border-bottom:1px solid #e0e2e9;background:none;padding:11px 14px;min-height:48px;color:inherit}.opening-row:last-child{border-bottom:0}.opening-row:hover{background:#e9ebf3}.opening-move{flex-basis:100%;font-family:monospace;font-size:11px;color:#565d73}.opening-name{flex:1;min-width:0;font-size:14px;font-weight:600}.opening-name small{color:var(--muted);font-size:11px}.opening-more{margin-top:14px}.opening-more summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--green);padding:10px 0;min-height:44px}.opening-saved{margin-top:30px}.opening-saved h2{font:800 22px Manrope,system-ui,sans-serif;margin:0 0 10px}.opening-saved .opening-row{border:1px solid var(--line);border-radius:8px;margin-bottom:6px;background:#f5f6fb}
@media(max-width:800px){.opening-layout{grid-template-columns:1fr}.opening-stats{width:70px}}

.promotion-choices{justify-content:center}.promotion-choice{flex-direction:column;gap:4px;padding:8px 10px;min-width:76px}.promotion-choice svg{width:52px;height:52px}
.chessboard.wrong-flash{animation:wrong-flash .6s ease-out}@keyframes wrong-flash{0%,30%{box-shadow:0 0 0 4px #c8463b,inset 0 0 0 999px #c8463b40}100%{box-shadow:0 0 0 0 #c8463b00,inset 0 0 0 999px #c8463b00}}@media (prefers-reduced-motion:reduce){.chessboard.wrong-flash{animation:none;box-shadow:0 0 0 4px #c8463b}}
.opening-color-switch{display:flex;gap:10px;margin:4px 0 22px}.opening-color-switch .button{display:inline-flex;align-items:center;gap:8px;min-height:44px}.opening-color-dot{width:16px;height:16px;border-radius:50%;border:2px solid var(--ink,#1d2340);flex-shrink:0}.opening-color-dot.w{background:#fff}.opening-color-dot.b{background:#1d2340}.opening-mine{margin-bottom:30px}.opening-mine h2,.opening-explore h2{font:800 22px Manrope,system-ui,sans-serif;margin:0 0 6px}.opening-mine h2 small{font-size:13px;color:var(--muted);font-weight:700;margin-left:6px}.opening-h3{font:800 15px Manrope,system-ui,sans-serif;margin:18px 0 10px}.opening-mine .opening-list{max-width:720px}.opening-row-static{cursor:default}.opening-row-static:hover{background:none}.opening-card-moves{font-family:monospace;font-size:12px}.opening-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}.opening-row .sticker-chip{font-size:11px}
.opening-suggestions{display:flex;flex-direction:column;gap:10px;margin:8px 0 18px;max-width:720px}.opening-suggest{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border:2px solid var(--ink,#1d2340);border-radius:14px;background:#fff8e1;box-shadow:3px 3px 0 var(--ink,#1d2340)}.opening-suggest.tone-habit{background:#eef1fd}.opening-suggest p{margin:4px 0 10px;font-size:14px;line-height:1.6}.opening-suggest .usta-avatar{flex-shrink:0}.opening-ask-color{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.opening-ask-color>span{flex-basis:100%;font-size:13px;font-weight:700}.opening-ask-color .button{display:inline-flex;align-items:center;gap:8px}
.transfer-ladder{margin:0 0 24px}.transfer-ladder h2{font:800 20px/1.3 Manrope,system-ui,sans-serif;margin:0 0 12px}.transfer-ladder ol.lesson-grid{list-style:none;padding:0;margin:0 0 8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.transfer-ladder ol.lesson-grid>.stat-card{flex:none;min-width:0;max-width:none;margin:0;padding:16px}.transfer-ladder .stat-card h3{margin:0}.transfer-ladder .stat-card p{margin:4px 0 0;line-height:1.35}.transfer-result{margin:12px 0;padding:14px 16px;border:2px solid #1d2340;border-radius:12px;background:#eaf7ec}.transfer-result.fail{background:#fff4d6}.transfer-result p{margin:6px 0}.transfer-note{display:inline-block;margin-bottom:4px}.confidence-check{margin:12px 0;padding:14px 16px;border:2px solid #1d2340;border-radius:12px;background:#eef1fc;box-shadow:3px 3px 0 #1d2340}.confidence-check p{margin:4px 0}.confidence-check.done{box-shadow:none;background:#f6f7fb}.confidence-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}.confidence-actions .button{min-height:44px;flex:1 1 140px}@media(max-width:600px){.confidence-actions .button{min-height:48px}}@media(max-width:600px){.transfer-ladder ol.lesson-grid{gap:8px}.transfer-ladder ol.lesson-grid>.stat-card{padding:12px 10px}.transfer-ladder .stat-card h3{font-size:26px}.transfer-ladder .stat-card p{font-size:12px}}
.chessboard>.wrong-badge{position:absolute;top:50%;left:50%;z-index:6;display:grid;place-items:center;width:clamp(44px,16%,72px);aspect-ratio:1;transform:translate(-50%,-50%) rotate(-6deg);border-radius:50%;background:#c8463b;color:#fff;border:4px solid #1b2559;box-shadow:4px 4px 0 #1b2559;font-size:28px;font-weight:800;line-height:1;pointer-events:none;animation:wrong-badge 1.4s ease-out forwards}@keyframes wrong-badge{0%{opacity:0;transform:translate(-50%,-50%) scale(.6) rotate(-6deg)}12%,70%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(-6deg)}100%{opacity:0;transform:translate(-50%,-50%) scale(1) rotate(-6deg)}}@media (prefers-reduced-motion:reduce){.chessboard>.wrong-badge{animation:none}}
