:root{--bg:#f7f7f2;--paper:#fffefa;--ink:#293b31;--muted:#7a8175;--green:#365642;--green-soft:#e9eee3;--line:#e4e7dd;--orange:#c57645;--light:#eeecd9;--dark:#91a38a;--radius:18px;font-family:"Avenir Next",Avenir,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;font-size:14px}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.43}button{border:0}a{color:inherit}svg{width:22px;height:22px;display:block;flex-shrink:0}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #c67a49;outline-offset:4px}button{transition:background .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}.sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.skip-link{position:fixed;left:20px;top:-60px;z-index:100;background:var(--green);color:white;padding:12px}.skip-link:focus{top:10px}
.sidebar{width:224px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;border-right:1px solid var(--line);background:var(--paper);padding:35px 22px 20px;z-index:20}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;font-family:Georgia,serif;font-weight:700;font-size:23px;letter-spacing:-.7px}.brand-icon{width:40px;height:47px;border-radius:12px;background:var(--green);display:grid;place-items:center}.brand-icon .chess-piece{width:37px;height:40px}.brand small{display:block;font-family:"Avenir Next",sans-serif;font-size:9px;letter-spacing:2.4px;margin-top:6px;color:var(--muted);font-weight:600}.brand small span{color:var(--orange)}.nav-label{font-size:9px;letter-spacing:1.8px;color:#989d91;margin:48px 12px 18px;font-weight:600}.nav{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:12px;text-align:left;padding:13px 14px;border-radius:10px;background:transparent;color:#797f73;font-size:12px;font-weight:500;white-space:nowrap}.nav-item svg{width:19px;height:19px}.nav-item:hover{background:#f0f2e9}.nav-item.active{background:var(--green);color:var(--paper);box-shadow:0 4px 10px #314e4010}.nav-arrow{margin-left:auto;font-size:18px}.nav-item:not(.active) .nav-arrow{display:none}.sidebar-spacer{flex:1;min-height:45px}.club-note{position:relative;text-align:center;padding:14px 10px 22px;border:1px solid #e1e5d6;border-radius:90px 90px 14px 14px;background:#f2f3e9}.club-note #club-art{height:100px;width:100px;margin:0 auto 10px;transform:rotate(-12deg)}.club-note #club-art svg{width:100%;height:100%;filter:drop-shadow(5px 7px 0 #dbe1cf)}.tiny-stars{position:absolute;top:32px;right:18px;color:var(--orange);font-size:23px}.club-note strong{font:18px/1.3 Georgia,serif}.club-note p{font-size:10px;line-height:1.8;color:var(--muted);margin:12px 0 0}.sidebar-about{display:flex;align-items:center;gap:9px;background:transparent;color:var(--muted);padding:25px 8px 0;font-size:11px}.sidebar-about svg{width:16px;height:16px}.app-shell{margin-left:224px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:86px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 43px}.breadcrumb{font-size:11px;color:#94998e;display:flex;gap:16px}.breadcrumb strong{font-weight:500;color:var(--ink)}.top-actions{display:flex;align-items:center;gap:16px}.local-tag{font-size:10px;color:var(--muted);display:flex;gap:7px;align-items:center;margin-right:8px}i{width:5px;height:5px;border-radius:50%;background:#82926f;display:inline-block}.icon-button{display:inline-grid;place-items:center;background:transparent;width:33px;height:33px;border-radius:8px;color:#6c776a}.icon-button:hover{background:var(--green-soft)}.icon-button svg{width:18px;height:18px}.profile-mark{width:34px;height:34px;background:#e9eada;display:grid;place-items:center;border-radius:50%;font-family:Georgia,serif;font-size:16px;border:3px solid var(--paper)}main{padding:34px 43px 20px;width:100%;max-width:1440px;margin:0 auto;outline:none;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:29px}.eyebrow{font-size:9px;color:var(--orange);font-weight:700;letter-spacing:2px;margin:0 0 11px;display:flex;align-items:center;gap:8px}.eyebrow svg{width:13px;height:13px}h1{font:36px/1.17 Georgia,"Times New Roman",serif;letter-spacing:-1.1px;font-weight:400;margin:0 0 10px}.heading-copy{color:var(--muted);font-size:12px;line-height:1.7;margin:0}.badge{display:inline-flex;align-items:center;gap:6px;color:#647455;border:1px solid #dce3cf;background:#eef1e5;border-radius:20px;font-size:9px;padding:6px 10px;white-space:nowrap}.badge svg{width:12px;height:12px}.heading-badge{padding:10px 13px;font-size:10px}.primary,.secondary,.quiet{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 17px;border-radius:9px;font-weight:600;font-size:11px;line-height:1.3}.primary{background:var(--green);color:#fffef6;border:1px solid var(--green)}.primary:hover{background:#284532}.secondary{background:var(--paper);border:1px solid #dce2d4}.secondary:hover{background:#f1f3eb}.quiet{background:transparent;color:var(--muted)}.quiet:hover{background:#eff1e8}.primary svg,.secondary svg,.quiet svg{width:16px;height:16px}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 304px;gap:26px;align-items:start;max-width:1040px;margin:auto}.board-column{min-width:0}.player-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:61px;padding:3px 2px 12px}.player-bar.bottom{padding:14px 2px 3px}.player-info{display:flex;align-items:center;gap:11px}.avatar{width:42px;height:42px;display:block;border-radius:12px;padding:3px;background:#e9ecde;flex-shrink:0}.avatar svg{height:100%;width:100%}.avatar.you{background:#e8ebe1}.player-name{font-size:12px;font-weight:600;margin-bottom:4px}.player-detail{font-size:9px;color:var(--muted);display:flex;gap:7px;align-items:center}.turn-pill{display:inline-flex;align-items:center;gap:6px;background:var(--green-soft);font-size:10px;color:var(--green);border-radius:6px;padding:7px 10px}.turn-pill.thinking i{animation:blink 1s infinite}.captured{display:flex;align-items:center;margin-left:5px}.captured .chess-piece{width:16px;height:18px;margin-left:-5px}.board-shell{position:relative;background:#d5dcce;border:8px solid #d5dcce;border-radius:7px;box-shadow:0 6px 16px #2538290d}.board{display:grid;grid-template-columns:repeat(8,1fr);width:100%;aspect-ratio:1;touch-action:manipulation;overflow:hidden;border-radius:2px}.board-row{display:contents}.square{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;padding:2px;background:var(--light);border-radius:0;isolation:isolate;min-width:0;outline-offset:-4px!important}.square.dark{background:var(--dark)}.square:not(:disabled):hover{box-shadow:inset 0 0 0 3px #ffffff40}.square .chess-piece{width:91%;height:91%;filter:drop-shadow(0 3px 1px #28332728);pointer-events:none;z-index:2}.square.selected{background:#d0ba6f!important}.square.last-move::before{content:"";position:absolute;inset:0;background:#e8d27766;z-index:0}.square.legal::after{content:"";position:absolute;width:22%;height:22%;background:#344d3c3a;border-radius:50%;z-index:3;pointer-events:none}.square.legal.occupied::after{width:90%;height:90%;background:none;border:5px solid #344d3c45}.square.in-check{background:#ce9481!important}.square.hinted{box-shadow:inset 0 0 0 4px #dca548}.square .coord{position:absolute;font-size:9px;font-weight:600;z-index:4;pointer-events:none;line-height:1;color:#6f8366}.square.dark .coord{color:#eff0dd}.coord.rank{top:5px;left:5px}.coord.file{right:5px;bottom:5px}.square.disabled-board{cursor:default}.board-note{font-size:10px;color:#929787;text-align:center;display:flex;align-items:center;justify-content:center;gap:6px;margin-top:16px}.board-note svg{width:12px;height:12px}.board-tools{display:flex;align-items:center;justify-content:space-between;margin-top:21px;border-top:1px solid var(--line);padding-top:17px;gap:9px}.tool-group{display:flex;gap:4px}.board-tools .quiet{padding:10px 11px;font-size:10px}.right-column{display:grid;gap:17px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:21px}.panel-label{font-size:9px;color:var(--muted);letter-spacing:1.5px;font-weight:600;margin:0 0 16px;display:flex;align-items:center;justify-content:space-between}.panel-label svg{width:16px;height:16px}.opponent-panel .player-info{gap:12px;margin-bottom:15px}.opponent-panel .avatar{width:51px;height:51px}.opponent-panel .player-name{font:22px Georgia,serif;margin:0 0 5px}.opponent-panel .player-detail{font-size:10px}.opponent-description{font-size:11px;line-height:1.8;color:var(--muted);margin:0 0 17px}.opponent-panel .secondary{width:100%;padding:10px}.difficulty-dots{display:flex;gap:4px;margin-left:auto}.difficulty-dots span{width:5px;height:12px;background:#e6e9df;border-radius:2px}.difficulty-dots span.on{background:#8c9e79}.coach-panel{background:#edf1e4;border-color:#dfe5d4;position:relative;overflow:hidden}.coach-label{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:600;margin-bottom:11px;color:#5d704f}.coach-label svg{width:16px;height:16px}.coach-panel h3{font:21px/1.25 Georgia,serif;letter-spacing:-.3px;margin:0 0 10px}.coach-panel p{font-size:11px;line-height:1.85;color:#718067;margin:0 0 15px}.coach-panel .hint-button{display:flex;align-items:center;justify-content:space-between;padding:0;background:transparent;color:var(--green);font-size:11px;font-weight:700;width:100%}.hint-button svg{width:17px;height:17px}.moves-panel{padding-bottom:14px}.moves-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.moves-heading .panel-label{margin:0}.move-count{font-size:9px;color:#989e90}.moves-list{max-height:132px;overflow:auto;scrollbar-width:thin}.move-row{display:grid;grid-template-columns:35px 1fr 1fr;gap:6px;align-items:center;padding:5px 4px;border-radius:4px;font-size:11px}.move-row:nth-child(odd){background:#f6f7f1}.move-number{color:#a4aa9b;font-size:10px}.move-san{font-weight:500}.moves-empty{text-align:center;padding:12px 0 10px;color:#a0a797;font-size:10px;line-height:1.9}.moves-empty svg{margin:0 auto 6px;color:#b3bca8;width:27px;height:27px}.practice-strip{display:flex;gap:15px;align-items:center;max-width:1040px;margin:24px auto 0;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:#f2f2e8}.practice-icon{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:#e4e6d3;color:#7e8964;flex-shrink:0}.practice-strip strong{font:16px Georgia,serif}.practice-strip p{margin:5px 0 0;font-size:10px;line-height:1.6;color:var(--muted)}.practice-strip button{margin-left:auto;white-space:nowrap}.footer{font-size:9px;color:#9ca393;padding:25px 43px 24px;display:flex;justify-content:space-between;gap:14px;line-height:1.7}.footer span:last-child{display:flex;align-items:center;gap:6px}.status-banner{padding:16px 18px;background:#e9eedf;border-radius:12px;margin:16px 0 0;border:1px solid #dce2cf}.status-banner strong{font:21px Georgia,serif}.status-banner p{font-size:12px;line-height:1.7;color:#68775b;margin:7px 0 12px}.status-banner.success{animation:pop .3s ease-out}.status-banner .primary{margin-top:3px}
.section-title{display:flex;align-items:end;justify-content:space-between;margin:29px 0 16px;gap:12px}.section-title h2{font:24px Georgia,serif;font-weight:400;margin:0}.section-title p{font-size:11px;color:var(--muted);margin:7px 0 0}.section-title small{font-size:10px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.activity-card{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:24px;text-align:left;position:relative}.activity-card:hover{border-color:#aeba9d;transform:translateY(-2px);box-shadow:0 5px 20px #34483208}.card-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:var(--green-soft);color:#82926b;margin:0 0 24px}.activity-card:nth-child(3n+2) .card-icon{background:#f3e7d9;color:#b28156}.activity-card:nth-child(3n) .card-icon{background:#ebe7dc;color:#8e8369}.activity-card h3{font:20px Georgia,serif;line-height:1.3;margin:0 0 10px}.activity-card p{font-size:11px;line-height:1.8;color:var(--muted);margin:0 0 22px}.card-meta{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#8b9480}.card-meta svg{height:16px;width:16px}.completed-check{position:absolute;top:23px;right:23px;background:#e2ecd8;border-radius:50%;padding:4px;color:var(--green)}.completed-check svg{width:15px;height:15px}.classic-banner{background:#354d3e;border-radius:16px;color:#f6f3e2;padding:28px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:25px;position:relative;overflow:hidden}.classic-banner h2{font:29px Georgia,serif;letter-spacing:-.5px;margin:0 0 10px}.classic-banner p{font-size:11px;line-height:1.8;color:#bdcab5;max-width:520px;margin:0}.classic-banner .eyebrow{color:#cfb489}.classic-count{font:46px Georgia,serif;text-align:center;min-width:90px}.classic-count small{display:block;font:9px "Avenir Next",sans-serif;letter-spacing:1px;margin-top:7px;color:#bdcab5}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin:21px 0;padding-bottom:10px;flex-wrap:wrap}.tab{background:transparent;color:var(--muted);padding:9px 15px;border-radius:7px;font-size:11px}.tab.active{color:var(--green);background:var(--green-soft);font-weight:600}.search-box{display:flex;gap:12px;margin:20px 0}.search-box input{width:100%;background:var(--paper);border:1px solid #dce2d3;border-radius:9px;padding:12px 15px;color:var(--ink);font-size:12px}.library-list{display:grid;gap:10px}.game-item{border:1px solid var(--line);background:var(--paper);border-radius:12px;display:flex;align-items:center;gap:18px;text-align:left;padding:17px 20px;width:100%}.game-item:hover{border-color:#aebc9c;background:#fafbf5}.game-item .game-number{width:37px;height:37px;border-radius:9px;display:grid;place-items:center;background:#eef1e6;font:19px Georgia,serif;color:#899c77;flex-shrink:0}.game-item strong{font:17px Georgia,serif;line-height:1.5}.game-item small{display:block;font-size:10px;color:var(--muted);line-height:1.8;margin-top:3px}.game-item .game-result{margin-left:auto;font-size:11px;white-space:nowrap}.game-item svg{width:16px;height:16px;color:var(--muted)}.pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin:22px 0;font-size:11px;color:var(--muted)}.back-button{padding-left:0;margin-bottom:14px}.back-button svg{transform:rotate(180deg)}.lesson-panel h2{font:25px Georgia,serif;margin:0 0 17px}.lesson-panel p{font-size:12px;line-height:1.9;color:#6e7a65}.lesson-panel ul{padding-left:16px;color:#69765f;font-size:11px;line-height:1.9}.lesson-panel li{margin:8px 0}.lesson-panel .primary{width:100%;margin-top:12px}.lesson-step{color:var(--orange);font-size:10px;margin-bottom:13px}.replay-controls{display:flex;justify-content:center;align-items:center;gap:8px;margin:15px 0}.replay-controls button{padding:8px 13px;border:1px solid var(--line);background:var(--paper);border-radius:6px;min-width:37px}.replay-controls span{font-size:11px;color:var(--muted);min-width:65px;text-align:center}.progress-track{height:4px;background:#e7eadf;border-radius:3px;margin:15px 0 22px;overflow:hidden}.progress-track span{display:block;height:100%;background:#8a9e73;transition:width .2s}.annotation{font:14px/1.9 Georgia,serif;max-height:390px;overflow:auto;color:#52624c;white-space:pre-wrap}.original-note{font-size:9px;line-height:1.6;color:#9b9f92;margin-top:15px}.original-lesson-list{grid-template-columns:repeat(3,minmax(0,1fr))}.original-lesson-list .activity-card{padding:19px}.original-lesson-list .activity-card h3{font-size:18px}.original-lesson-list .activity-card p{margin:0 0 14px}.library-empty{padding:44px;text-align:center;border:1px dashed #d8decf;border-radius:15px}.library-empty svg{width:35px;height:35px;margin:auto;color:#9ca989}.library-empty h3{font:23px Georgia,serif;margin:15px 0}.library-empty p{font-size:12px;color:var(--muted);line-height:1.9}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:25px}.stat{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:20px}.stat strong{font:31px Georgia,serif;display:block;margin-bottom:6px}.stat span{color:var(--muted);font-size:10px}
dialog{border:1px solid var(--line);border-radius:20px;padding:32px;width:min(570px,calc(100% - 28px));max-height:88vh;background:var(--paper);color:var(--ink);box-shadow:0 20px 90px #172b3333;overflow:auto}dialog::backdrop{background:#25372cb0;backdrop-filter:blur(4px)}.modal-close{position:absolute;top:11px;right:12px;font-size:25px}.modal-eyebrow{font-size:9px;color:var(--orange);letter-spacing:1.5px;margin:0 0 12px}.modal-title{font:29px Georgia,serif;margin:0 0 12px;letter-spacing:-.6px}.modal-copy{font-size:12px;color:var(--muted);line-height:1.9;margin:0 0 24px}.opponent-options{display:grid;gap:9px;margin:20px 0}.opponent-option{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px;text-align:left;background:#f9faf5}.opponent-option.active{background:#ebf0e3;border-color:#89a174;box-shadow:0 0 0 1px #89a174}.opponent-option .avatar{width:45px;height:45px}.opponent-option strong{display:block;font-size:12px;margin-bottom:4px}.opponent-option small{font-size:10px;color:var(--muted);line-height:1.5;display:block}.form-label{font-size:10px;display:block;font-weight:600;margin:19px 0 10px;color:#6f7b63}.segmented{display:flex;background:#eff1e8;border-radius:9px;padding:4px;gap:4px}.segmented button{background:transparent;color:var(--muted);border-radius:6px;padding:10px;flex:1;font-size:11px}.segmented button.active{background:var(--paper);color:var(--ink);box-shadow:0 2px 8px #2b3e2510}.modal-actions{display:flex;gap:10px;margin-top:25px;justify-content:flex-end}.modal-actions .primary{flex:1}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 0;border-bottom:1px solid var(--line);font-size:12px}.settings-row small{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin-top:6px}.settings-row input{width:19px;height:19px;accent-color:var(--green);flex-shrink:0}.settings-row select{border:1px solid var(--line);background:white;padding:8px;border-radius:6px}.promotion-options{display:flex;gap:10px}.promotion-options button{flex:1;background:var(--green-soft);border:1px solid var(--line);border-radius:11px;padding:10px 4px;font-size:11px}.promotion-options svg{width:65px;height:65px;max-width:100%;margin:auto}.promotion-options button:hover{background:#dce6d0}.toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#2d4937;color:#f9f6e9;font-size:12px;line-height:1.6;padding:13px 20px;border-radius:12px;box-shadow:0 6px 25px #24362926;z-index:100;transition:.2s;max-width:calc(100% - 35px);width:max-content}.toast.show{opacity:1;transform:translate(-50%,0)}.loading{padding:60px;text-align:center;color:var(--muted);font-size:13px}.error-text{color:#a75e43;font-size:11px;line-height:1.7;margin:12px 0}.source-label{display:inline-flex;align-items:center;gap:6px;background:#eee8da;color:#8a7452;border-radius:5px;padding:4px 7px;font-size:8px;font-weight:600;letter-spacing:.5px}
.narration{padding:13px 0 17px;margin-bottom:15px;border-bottom:1px solid var(--line)}.narration>span{font-size:10px;display:flex;align-items:center;gap:7px;color:#7b876f;margin-bottom:10px}.narration svg{width:14px;height:14px}.narration audio{width:100%;height:33px;display:block}.lesson-illustration{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#e9eddf;gap:22px;padding:30px;text-align:center}.lesson-illustration svg{width:35%;height:35%;color:#8a9b77}.lesson-illustration span{font:27px Georgia,serif}.lesson-illustration small{font-size:11px;color:var(--muted);line-height:1.8}body[data-theme="walnut"]{--light:#f0dfbd;--dark:#ae8460}body[data-theme="ocean"]{--light:#e6eceb;--dark:#86a4ab}@keyframes blink{50%{opacity:.25}}@keyframes pop{from{transform:scale(.98);opacity:.4}to{transform:scale(1);opacity:1}}@media(min-width:1450px){main{padding-top:42px}.play-layout{grid-template-columns:minmax(0,620px) 320px}.right-column{gap:20px}.panel{padding:24px}.moves-list{max-height:165px}.coach-panel p{font-size:12px}}
@media(max-width:1150px){.sidebar{width:192px;padding:30px 15px 18px}.brand{font-size:20px;gap:8px}.brand-icon{width:35px}.brand small{font-size:8px;letter-spacing:2px}.app-shell{margin-left:192px}main{padding:29px 27px 20px}.topbar{padding:0 27px;height:76px}.play-layout{grid-template-columns:minmax(0,1fr) 264px;gap:21px}.panel{padding:18px}.footer{padding-left:27px;padding-right:27px}.coach-panel h3{font-size:19px}.heading-badge{display:none}.nav-item{padding:13px 11px;gap:9px}.cards{gap:13px}.activity-card{padding:19px}}
@media(max-width:940px){.sidebar{width:78px;padding:27px 12px 20px}.brand>span:last-child,.nav-label,.nav-item .nav-arrow,.club-note,.sidebar-about{display:none}.brand-icon{width:43px;height:46px}.brand{justify-content:center}.nav{margin-top:39px;gap:16px}.nav-item{font-size:0;padding:15px;justify-content:center;gap:0}.nav-item svg{width:22px;height:22px}.app-shell{margin-left:78px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.top-actions{gap:10px}.footer{font-size:8px}.toast{left:calc(50% + 39px)}}
@media(max-width:760px){main{padding:24px 21px 15px}.topbar{padding:0 21px;height:64px}.play-layout{grid-template-columns:minmax(0,1fr) 225px;gap:16px}.panel{padding:15px;border-radius:13px}.player-info{gap:8px}.avatar{height:35px;width:35px}.player-name{font-size:11px}.opponent-panel .avatar{width:42px;height:42px}.opponent-panel .player-name{font-size:20px}.coach-panel p{font-size:10px}.moves-list{max-height:105px}.board-tools{flex-wrap:wrap;justify-content:center;margin-top:14px;padding-top:12px}.board-tools .primary{width:100%}.board-note{font-size:9px;line-height:1.7}.board-shell{border-width:5px}.coord{font-size:8px!important}.practice-strip{padding:15px;gap:11px}.practice-strip strong{font-size:14px}.practice-strip .secondary{font-size:9px;padding:10px}.footer{padding:20px 21px;flex-direction:column;gap:5px}h1{font-size:31px}.page-heading{margin-bottom:21px}.heading-copy{font-size:11px}.classic-banner{padding:23px}.classic-banner h2{font-size:24px}.lesson-panel h2{font-size:22px}.lesson-panel p{font-size:11px}.annotation{font-size:13px}}
@media(max-width:650px){.sidebar{inset:auto 0 0 0;width:100%;height:67px;display:block;padding:6px 10px calc(6px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);background:#fffefaf7;backdrop-filter:blur(12px)}.sidebar .brand,.sidebar-spacer{display:none}.nav{margin:0;display:flex;gap:6px;justify-content:space-around;height:100%}.nav-item{font-size:8px;flex:1;display:flex;flex-direction:column;gap:4px;padding:6px 4px;border-radius:8px}.nav-item svg{width:20px;height:20px}.app-shell{margin-left:0;padding-bottom:67px}.topbar{height:63px;padding:0 20px}.breadcrumb{font-size:10px;gap:10px}.local-tag{display:none}.top-actions{gap:8px}.profile-mark{width:28px;height:28px;font-size:14px}.top-actions .icon-button{width:28px;height:28px}main{padding:23px 18px 12px}.page-heading{gap:8px}.eyebrow{font-size:8px;letter-spacing:1.6px}h1{font-size:32px}.heading-copy{font-size:11px}.play-layout{grid-template-columns:1fr;gap:20px;max-width:500px}.right-column{grid-template-columns:1fr 1fr;gap:12px}.opponent-panel{display:none}.coach-panel{grid-column:1/2}.moves-panel{grid-column:2/3}.coach-panel h3{font-size:18px}.coach-panel p{font-size:10px}.moves-list{max-height:150px}.board-shell{border-width:7px}.board-tools{flex-wrap:nowrap;justify-content:space-between;gap:4px}.board-tools .primary{width:auto}.board-tools .quiet{font-size:10px;padding:9px}.board-note{margin-top:13px}.player-bar{min-height:58px}.player-bar.bottom{padding-top:12px}.player-info .avatar{width:38px;height:38px}.player-name{font-size:12px}.board-tools{margin-top:17px}.practice-strip{margin-top:20px;align-items:flex-start}.practice-strip button{padding:8px 10px;min-height:32px}.practice-strip p{font-size:9px}.practice-icon{width:31px;height:31px}.practice-icon svg{width:17px;height:17px}.practice-strip strong{font-size:14px}.practice-strip{gap:10px}.footer{padding:20px 18px;font-size:8px}.toast{left:50%;bottom:85px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.activity-card{padding:18px 15px}.activity-card h3{font-size:19px}.activity-card p{font-size:10px}.card-icon{margin-bottom:19px;width:37px;height:37px}.classic-banner{padding:23px;gap:14px}.classic-count{font-size:33px;min-width:62px}.classic-banner h2{font-size:24px}.classic-banner p{font-size:10px}.classic-count small{font-size:8px}.stats-row{gap:10px}.stat{padding:16px}.stat strong{font-size:26px}.stat span{font-size:9px}.game-item{padding:14px 13px;gap:11px}.game-item strong{font-size:15px}.game-item small{font-size:9px}.game-item .game-result{font-size:9px}.game-item .game-number{width:29px;height:32px;font-size:16px}.lesson-layout .right-column{display:block}.lesson-layout .lesson-panel{margin-top:0}.lesson-panel p{font-size:12px}.annotation{font-size:14px}.section-title h2{font-size:23px}.page-heading .secondary{padding:10px;font-size:10px}.original-lesson-list{grid-template-columns:1fr 1fr}.modal-title{font-size:26px}.modal-copy{font-size:11px}dialog{padding:28px 22px}.original-note{font-size:9px}.search-box{flex-wrap:wrap}.search-box .secondary{white-space:nowrap}.turn-pill{font-size:9px;padding:6px 8px}.player-detail{font-size:9px}.replay-controls{margin-bottom:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
