@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap";:root{color:#203b32;font-synthesis:none;--forest:#204d3e;--ink:#203b32;--muted:#818a7f;--line:#e3e6db;--orange:#c17148;--cream:#f7f7f1;background:#f7f7f1;font-family:DM Sans,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #c58e52}button{background:0 0;border:0}h1,h2,h3,h4,p{margin:0}h1,h2,h3{font-family:Manrope,sans-serif}h1{letter-spacing:-1.8px;font-size:40px;font-weight:650;line-height:1.25}h1>span{color:var(--orange)}h2{letter-spacing:-.65px;font-size:20px;font-weight:650}h3{letter-spacing:-.6px;font-size:19px}p{line-height:1.7}.app{min-height:100vh;display:flex}.sidebar{color:#dce6da;z-index:20;background:#163e32;flex-direction:column;width:224px;padding:32px 20px 16px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:11px;padding:2px 5px 42px;display:flex}.brand-icon{width:44px;height:52px;display:block}.brand-icon .piece{width:100%;height:100%}.brand>span:last-child{letter-spacing:-1.5px;font-family:Manrope;font-size:34px;font-weight:750;line-height:1}.brand-dot{color:#d2a475}.brand small{letter-spacing:2px;color:#a5bba9;margin-top:10px;font-family:DM Sans;font-size:8px;font-weight:500;display:block}.sidebar-caption{letter-spacing:1.8px;color:#7f9c88;padding:0 12px 15px;font-size:9px}.sidebar nav{flex-direction:column;gap:7px;display:flex}.sidebar nav button{text-align:left;color:#adc2b4;border-radius:7px;align-items:center;gap:12px;padding:13px 12px;font-size:12px;font-weight:500;transition:background .2s;display:flex}.sidebar nav button:hover{background:#234b3d}.sidebar nav button.active{color:#284634;background:#dce7ca}.sidebar nav svg{stroke-width:1.65px;flex-shrink:0}.nav-arrow{margin-left:auto}.nav-count{color:#244734;background:#c7daba;border-radius:20px;margin-left:auto;padding:2px 6px;font-size:10px}.sidebar-note{border-top:1px solid #3d5949;margin:46px 11px 25px;padding-top:22px}.tiny-star{color:#d6b485;margin-bottom:12px;font-size:29px;display:block}.sidebar-note p{color:#d9e2cd;font-family:Georgia,serif;font-size:18px;line-height:1.5}.sidebar-note>span:last-child{color:#8fa792;margin-top:13px;font-size:11px;display:block}.sidebar-bottom{margin-top:auto}.sidebar-bottom>button{color:#a7beae;align-items:center;gap:12px;width:100%;padding:12px;font-size:12px;display:flex}.profile{border-top:1px solid #365747;align-items:center;gap:10px;margin-top:14px;padding-top:18px;display:flex}.profile>div{gap:4px;min-width:0;display:grid}.profile strong{text-overflow:ellipsis;max-width:100px;font-size:12px;overflow:hidden}.profile small{color:#98b09d;font-size:10px}.profile>button{margin-left:auto}.avatar{color:#3d5842;background:#d7dfc4;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:35px;height:35px;font-weight:600;display:inline-flex}.avatar.little{width:28px;height:28px;font-size:12px}.avatar.large{width:54px;height:54px;font-size:21px}.login-sidebar{border-top:1px solid #365747;margin-top:15px;color:#e2e7d5!important;padding-top:23px!important}.login-sidebar svg:last-child{margin-left:auto}.main{width:calc(100% - 224px);max-width:1800px;margin-left:224px;padding:0 42px}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;height:77px;font-size:11px;display:flex}.topbar>div{align-items:center;gap:14px;display:flex}.topbar strong{font-weight:500}.crumb,.date{color:var(--muted)}.connection-dot{background:#abb2a6;border-radius:50%;flex-shrink:0;width:6px;height:6px;margin-right:4px;display:inline-block}.connection-dot.online{background:#7ba379;box-shadow:0 0 0 3px #8cb78018}.top-divider{background:var(--line);width:1px;height:16px;margin:0 3px}.text-button{background:0 0;border:none;align-items:center;gap:8px;padding:7px 0;font-size:12px;font-weight:500;display:inline-flex}.online-link{color:#748370;font-size:11px}.mobile-menu{display:none!important}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin:34px 0 30px;display:flex}.eyebrow{letter-spacing:1.75px;color:#778470;align-items:center;gap:8px;font-size:9px;font-weight:650;display:flex}.eyebrow>span:first-child:not(.badge){background:#b49c65;border-radius:1px;width:5px;height:5px;display:inline-block}.page-heading .eyebrow{margin-bottom:13px}.page-heading p{color:#7a8578;margin-top:11px;font-size:12px}.button{white-space:nowrap;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:10px;min-height:43px;padding:13px 18px;font-size:12px;font-weight:600;transition:transform .15s,background .15s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button.primary{background:var(--forest);color:#f4f5e7}.button.primary:hover:not(:disabled){background:#30624e}.button.secondary{color:#34563f;background:#fafbf5;border-color:#dce1d4}.button.secondary:hover{background:#f0f2e8}.button.small{min-height:34px;padding:9px 12px;font-size:11px}.full{width:100%}.icon-button{color:#6b7d6e;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.icon-button:hover{background:#e2e8d8}.sidebar .icon-button:hover{background:#365344}.training-layout{grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:26px;max-width:1200px;display:grid}.board-section{background:#fffef9;border:1px solid #e0e5d8;border-radius:10px;min-width:0;overflow:hidden;box-shadow:0 3px 5px #183b2903}.board-heading{border-bottom:1px solid #e8ebdf;justify-content:space-between;align-items:center;padding:19px 20px;display:flex}.board-title{align-items:center;gap:12px;min-width:0;display:flex}.board-title>div{min-width:0}.board-title h2{font-size:17px;font-weight:650}.board-title>div>span{color:#8b9484;text-overflow:ellipsis;white-space:nowrap;max-width:420px;margin-top:5px;font-size:10px;display:block;overflow:hidden}.small-knight{background:#edf0df;border-radius:7px;align-items:center;width:37px;height:39px;padding:3px;display:flex}.small-knight .piece{width:100%}.board-toolbar{align-items:center;gap:12px;padding:12px 20px 10px;display:flex}.segmented{background:#f0f2e9;border:1px solid #e5e9dc;border-radius:6px;padding:3px;display:inline-flex}.segmented button{color:#9aa08f;border-radius:3px;padding:5px 10px;font-size:10px;font-weight:600}.segmented button.active{color:#47613f;background:#fffef8;box-shadow:0 1px 4px #173f3313}.toolbar-label{color:#6b7c66;white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:7px;max-width:60%;margin-left:auto;font-size:10px;display:flex;overflow:hidden}.side-dot{border-radius:50%;flex-shrink:0;width:12px;height:12px;display:inline-block;box-shadow:0 0 0 1px #66745a30}.side-dot.black{background:#2f483b}.side-dot.white{background:#fffcf2}.board-frame{--light:#e9ebd8;--dark:#81977b;--piece-light:#fff8e9;--piece-dark:#273d35;background:#dfe6d6;border:5px solid #536d50;border-radius:4px;margin:0 20px;position:relative;box-shadow:0 5px 13px #29412813}.theme-wood{--light:#edd4ad;--dark:#ad835b}.board-frame.theme-wood{border-color:#79543c}.theme-ocean{--light:#e0e8ed;--dark:#7194a6}.board-frame.theme-ocean{border-color:#496a7d}.chessboard{aspect-ratio:1;grid-template-columns:repeat(8,1fr);display:grid}.square{aspect-ratio:1;border:0;border-radius:0;justify-content:center;align-items:center;min-width:0;padding:2px;display:flex;position:relative}.square.light{background:var(--light)}.square.dark{background:var(--dark)}.square .piece{filter:drop-shadow(0 3px 1px #21332720);pointer-events:none;width:87%;height:87%;transition:transform .15s}.square:hover .piece{transform:translateY(-2px)}.square.selected{background:#c0c986}.square.last-move{box-shadow:inset 0 0 0 99px #e6d87042}.square.hint-square{background:#debd72;box-shadow:inset 0 0 0 3px #be7e3e}.square .rank,.square .file{pointer-events:none;z-index:1;font-size:9px;font-weight:600;line-height:1;position:absolute}.square .rank{top:4px;left:4px}.square .file{bottom:3px;right:4px}.square.dark .rank,.square.dark .file{color:#e9ecd9}.square.light .rank,.square.light .file{color:#7d9679}.legal-dot{pointer-events:none;background:#29473338;border-radius:50%;width:24%;height:24%;position:absolute}.legal-ring{pointer-events:none;border:4px solid #29473365;border-radius:50%;position:absolute;inset:3px}.board-3d,.board-loading{aspect-ratio:1;width:100%;min-height:220px}.board-loading{color:#6c7d66;justify-content:center;align-items:center;display:flex}.board-3d canvas{touch-action:none;display:block;width:100%!important;height:100%!important}.board-player{align-items:center;gap:8px;padding:12px 21px;font-size:11px;display:flex}.board-player strong{font-size:11px}.board-player .muted{font-size:10px}.player-caption{color:#97a08d;margin-left:auto;font-size:10px}.feedback{color:#708064;background:#f0f2e6;border:1px solid #e6e9d9;border-radius:5px;align-items:center;gap:10px;min-height:44px;margin:0 20px;padding:12px 13px;font-size:11px;line-height:1.6;display:flex}.feedback-icon{color:#a7a070;display:flex}.feedback.success{color:#41653e;background:#e1eedb;border-color:#c3d8b7}.board-actions{flex-wrap:wrap;align-items:center;gap:13px;min-height:73px;padding:16px 20px;display:flex}.board-actions>.primary{flex:1;max-width:260px}.board-actions>.text-button{font-size:10px}.auto-toggle{white-space:nowrap;gap:5px;margin-left:auto}.mini-toggle{background:#ccd3c1;border-radius:8px;align-items:center;width:25px;height:14px;margin-left:3px;padding:2px;display:inline-flex}.mini-toggle:after{content:"";background:#fffdf4;border-radius:50%;width:10px;height:10px}.mini-toggle.on{background:#557d51;justify-content:flex-end}.training-aside{flex-direction:column;gap:16px;display:flex}.lesson-card{border:1px solid var(--line);background:#fffef9;border-radius:9px;padding:23px 20px 15px}.lesson-card .eyebrow{letter-spacing:1.35px;justify-content:space-between;font-size:8px}.badge{letter-spacing:0;color:#6c8160;background:#f2f5e8;border:1px solid #dde4d2;border-radius:4px;padding:4px 7px;font-size:9px;font-weight:500;display:inline-block}.lesson-card h3{letter-spacing:-1px;margin:21px 0 10px;font-size:25px;font-weight:600;line-height:1.35}.lesson-card>p{color:#8a9581;font-size:11px;line-height:1.75}.side-selector{background:#f1f3e9;border:1px solid #e4e9da;border-radius:5px;margin:20px 0;padding:3px;display:flex}.side-selector button{color:#84927a;border-radius:3px;flex:1;justify-content:center;align-items:center;gap:8px;padding:9px 3px;font-size:10px;display:flex}.side-selector button.active{color:#3c5942;background:#fffef8;box-shadow:0 2px 4px #2947310e}.side-selector .side-dot{width:11px;height:11px}.lesson-progress{color:#8c9782;justify-content:space-between;margin-bottom:8px;font-size:9px;display:flex}.lesson-progress strong{color:#627756;font-weight:500}.progress-track{background:#e9eddf;border-radius:4px;height:4px;overflow:hidden}.progress-track>span{background:#6b885a;border-radius:4px;height:100%;transition:width .5s;display:block}.steps{margin:18px -7px 0}.steps>button{text-align:left;border-radius:5px;align-items:center;gap:9px;width:100%;padding:11px 7px;display:flex}.steps>button.current{background:#f2f4e9}.steps>button:hover{background:#ecefde}.step-number{color:#a1ab94;border:1px solid #e3e7d9;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-size:9px;display:flex}.current .step-number{color:#e6edd9;background:#3f6444;border-color:#3f6444}.steps strong{font-size:10px;font-weight:500;display:block}.steps small{color:#99a18d;margin-top:4px;font-size:9px;display:block}.steps svg:last-child{color:#728566;margin-left:auto}.idea-card{background:#eeeee1;border:1px solid #e4e7d8;border-radius:8px;padding:18px 19px}.idea-card .eyebrow{letter-spacing:1px;color:#929b7e;font-size:8px}.idea-card p{color:#707d60;margin:11px 0 7px;font-size:12px;line-height:1.65}.idea-card .text-button{color:#6d805e;font-size:10px}.session-stats{border:1px solid var(--line);background:#fffef8;border-radius:8px;grid-template-columns:1fr 1fr;padding:17px 4px;display:grid}.session-stats>div{grid-template-columns:22px 1fr;align-items:center;gap:6px;padding:0 13px;display:grid}.session-stats>div:first-child{border-right:1px solid var(--line)}.stat-icon{color:#9ba585}.session-stats strong{font-family:Manrope;font-size:20px;font-weight:600}.session-stats>div>span:last-child{color:#98a08b;grid-column:1/-1;font-size:9px}.focus-card{text-align:left;color:#738766;background:#e0e8d5;border:1px solid #d6dfcb;border-radius:7px;align-items:center;gap:12px;padding:16px;display:flex}.focus-card>span{flex:1}.focus-card strong{color:#567147;font-size:11px;font-weight:500;display:block}.focus-card small{color:#8c9d7c;margin-top:5px;font-size:8px;display:block}.repertoire-section{max-width:1200px;margin-top:31px}.section-heading{justify-content:space-between;align-items:center;gap:20px;margin:0 0 18px;display:flex}.section-heading h2{font-size:19px}.section-heading .text-button,.section-heading>.muted{color:#809170;font-size:10px}.course-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.course-card{text-align:left;background:#fffef9;border:1px solid #e1e5d9;border-radius:8px;padding:0;transition:transform .2s,box-shadow .2s;overflow:hidden}.course-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #233d3210}.course-art{justify-content:center;align-items:center;height:100px;display:flex;position:relative;overflow:hidden}.course-art>.piece{filter:drop-shadow(7px 7px 1px #243d3020);width:90px;height:90px;margin-top:18px;position:relative;transform:rotate(-11deg)}.mini-grid{background:conic-gradient(#ffffff32 25%,transparent 0 50%,#ffffff32 0 75%,transparent 0) 0 0/44px 44px;opacity:.6;width:80%;height:170px;position:absolute;bottom:-64px;left:10%;transform:rotate(-20deg)skew(10deg)}.course-art>span{color:#4b5b4880;font-size:9px;position:absolute;top:13px;left:14px}.course-art>svg:last-child:not(.piece){color:#4b5b4880;position:absolute;top:13px;right:13px}.course-info{padding:16px}.course-info .eyebrow{letter-spacing:1.2px;color:#9b9f88;font-size:7px}.course-info h3{margin:7px 0 5px;font-size:17px;font-weight:650}.course-info p{color:#929a87;font-size:10px}.course-info>div{color:#8c9980;border-top:1px solid #eef0e6;justify-content:space-between;align-items:center;margin-top:17px;padding-top:11px;font-size:9px;display:flex}.course-info>div>span:last-child{align-items:center;gap:7px;display:flex}.main footer{color:#a0aa92;justify-content:space-between;align-items:center;gap:20px;max-width:1200px;padding:29px 0 24px;font-size:9px;display:flex}.main footer>span:first-child{letter-spacing:1.5px;font-size:8px}.main footer>span:last-child{font-size:23px}.muted{color:var(--muted)}.small-copy{font-size:11px;line-height:1.6}.content-page{max-width:1200px;min-height:calc(100vh - 160px)}.library-search{color:#8f9c82;background:#fffef9;border:1px solid #dfe4d6;border-radius:8px;align-items:center;gap:12px;margin-bottom:32px;padding:16px 18px;display:flex}.library-search input{flex:1;min-width:0;box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important}.library-search>span{font-size:10px}.library{grid-template-columns:repeat(4,minmax(0,1fr))}.library .course-art{height:130px}.catalog-heading{margin-top:40px}.catalog-heading p{margin-top:8px;font-size:11px}.catalog-list{border:1px solid var(--line);background:#fffef9;border-radius:8px;overflow:hidden}.catalog-list>button{text-align:left;border-bottom:1px solid #e8ebdf;align-items:center;gap:18px;width:100%;padding:16px 18px;display:flex}.catalog-list>button:hover{background:#f0f3e7}.catalog-list>button:last-child{border-bottom:0}.eco{color:#849477;background:#f0f2e5;border-radius:4px;padding:5px 7px;font-size:10px}.catalog-list>button>div{flex:1;min-width:0}.catalog-list strong{font-size:12px;font-weight:500}.catalog-list small{color:#9ca591;text-overflow:ellipsis;white-space:nowrap;margin-top:6px;font-size:10px;display:block;overflow:hidden}.catalog-list svg{color:#8d9d7c}.catalog-preview{grid-template-columns:1.3fr 1fr;align-items:center;gap:25px;display:grid}.catalog-preview .board-frame{margin:0}.catalog-preview p{margin:20px 0}.catalog-preview input{width:100%}.lobby-bar{background:#eef1e5;border:1px solid #e0e5d6;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:17px 20px;display:flex}.lobby-bar>div{align-items:center;gap:12px;font-size:12px;display:flex}.lobby-bar label{color:#7f8f70;align-items:center;gap:13px;font-size:11px;display:flex}.lobby-bar select{padding:8px 10px}.player-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:25px 0 40px;display:grid}.player-card{border:1px solid var(--line);background:#fffef9;border-radius:8px;align-items:center;gap:13px;padding:20px;display:flex}.player-card h3{margin-bottom:6px;font-size:17px}.player-card>div>span{color:#95a088;font-size:10px}.player-card .button{margin-left:auto}.empty-state{text-align:center;background:#f2f4e9;border:1px dashed #d1dbbf;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:370px;margin:25px 0 32px;padding:35px;display:flex}.empty-icon{color:#70865d;background:#e1e8d2;border-radius:50%;justify-content:center;align-items:center;width:77px;height:77px;margin-bottom:24px;display:flex}.empty-state h2{letter-spacing:-.7px;font-size:24px;font-weight:600}.empty-state p{color:#89967b;max-width:410px;margin:14px 0 24px;font-size:13px}.compact-empty{min-height:310px}.game-list{border:1px solid var(--line);background:#fffef8;border-radius:8px;overflow:hidden}.game-list>button{text-align:left;border-bottom:1px solid var(--line);align-items:center;gap:16px;width:100%;padding:17px 20px;display:flex}.game-list>button:hover{background:#eff3e6}.game-list>button:last-child{border:0}.game-list>button>div{flex:1}.game-list strong{font-size:12px;font-weight:500}.game-list small{color:#98a18b;margin-top:5px;font-size:10px;display:block}.game-list>button>span:not(.avatar):not(.game-icon){font-size:11px}.game-icon{background:#e8eddf;border-radius:5px;width:36px;height:40px}.game-icon svg{width:100%;height:100%}.pill{color:#8a967c;background:#edefe5;border-radius:30px;padding:6px 10px;font-size:10px}.pill.green{color:#5d7e47;background:#e3edda}.opponent-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.opponent-card{border:1px solid var(--line);text-align:left;background:#fffef9;border-radius:9px;padding:24px}.opponent-card:hover{border-color:#a0b388}.opponent-top{color:#99a58b;justify-content:space-between;align-items:start;display:flex}.opponent-card h3{margin:20px 0 13px;font-size:21px}.identity-badges{flex-wrap:wrap;gap:5px;min-height:25px;display:flex}.identity-badges span{color:#829171;border:1px solid #e0e5d7;border-radius:4px;padding:5px;font-size:9px}.opponent-status{color:#8a9879;border-top:1px solid #e9ecdf;margin-top:23px;padding-top:15px;font-size:10px}.info-strip{color:#819370;background:#eff2e7;border:1px solid #e0e5d4;border-radius:7px;align-items:center;gap:17px;margin:28px 0;padding:18px 20px;display:flex}.info-strip>svg{flex-shrink:0}.info-strip strong{color:#687f56;margin-bottom:5px;font-size:12px;font-weight:500;display:block}.info-strip p{font-size:11px;line-height:1.65}.info-strip>.button{margin-left:auto}.opponent-detail{grid-template-columns:1fr 1fr;gap:35px;display:grid}.profile-stats{color:#80926f;flex-direction:column;gap:7px;margin-bottom:22px;font-size:12px;display:flex}.profile-stats>strong{letter-spacing:-3px;color:#486841;font-family:Manrope;font-size:62px;font-weight:500}.opponent-detail section>p{margin-bottom:18px;font-size:11px}.opening-summary{margin-top:25px}.opening-summary h4{margin-bottom:10px;font-size:11px;font-weight:600}.opening-summary>div{border-bottom:1px solid #e5e9db;justify-content:space-between;gap:8px;padding:9px 0;font-size:10px;display:flex}.opening-summary b{white-space:nowrap;color:#94a083;font-weight:400}.opponent-detail h3{margin-bottom:15px;font-size:16px}.import-buttons{flex-wrap:wrap;gap:8px;margin-top:15px;display:flex}.pgn-import{border-top:1px solid var(--line);margin:20px 0;padding-top:17px;font-size:12px}.pgn-import summary{cursor:pointer;margin-bottom:15px}.pgn-import label{color:#778b65;flex-direction:column;gap:7px;margin-bottom:15px;font-size:10px;display:flex}.stats-grid{grid-template-columns:repeat(3,1fr);gap:18px;margin:25px 0 32px;display:grid}.stats-grid>div{border:1px solid var(--line);background:#fffef8;border-radius:8px;grid-template-columns:1fr auto;padding:25px;display:grid}.stats-grid svg{color:#9aae86;grid-column:2}.stats-grid strong{letter-spacing:-2px;color:#476541;grid-row:1;font-family:Manrope;font-size:44px;font-weight:500}.stats-grid span{color:#94a087;margin-top:12px;font-size:11px}.progress-courses{border:1px solid var(--line);background:#fffef8;border-radius:8px;overflow:hidden}.progress-courses>button{border-bottom:1px solid var(--line);text-align:left;align-items:center;gap:20px;width:100%;padding:18px;display:flex}.progress-courses>button:last-child{border-bottom:0}.progress-courses>button:hover{background:#f1f4e8}.progress-course-art{border-radius:5px;flex-shrink:0;align-items:center;width:55px;height:65px;display:flex}.progress-course-art .piece{width:100%}.progress-courses>button>div:nth-child(2){flex:1}.progress-courses h3{margin-bottom:6px;font-size:16px}.progress-courses .muted{font-size:10px}.progress-courses .progress-track{max-width:500px;margin-top:12px}.progress-courses>button>strong{color:#829573;font-size:13px;font-weight:500}.progress-courses+.small-copy{margin-top:15px}.modal{color:var(--ink);background:#fffef7;border:1px solid #e1e5d7;border-radius:12px;width:min(460px,100% - 30px);max-height:90dvh;padding:27px;box-shadow:0 35px 100px #10251d40}.modal.wide{width:min(850px,100% - 30px)}.modal::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#12291f70}.modal-head{justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;display:flex}.modal h2{font-size:23px;font-weight:600}.modal>p{color:#819170;margin-bottom:18px;font-size:12px}.form{flex-direction:column;gap:17px;margin:22px 0 16px;display:flex}.form label,.pgn-import label{color:#6c825b;flex-direction:column;gap:8px;font-size:11px;font-weight:500;display:flex}input:not([type=checkbox]):not([type=range]),select,textarea{color:#344f34;background:#fafbf3;border:1px solid #dce3ce;border-radius:5px;min-width:0;padding:11px 12px;font-size:12px}input::placeholder{color:#a6af97;font-size:11px}select{cursor:pointer}.check-label{color:#8c997d;align-items:flex-start;gap:9px;margin-top:16px;line-height:1.6;flex-direction:row!important;font-size:10px!important;display:flex!important}.check-label input{accent-color:#3e6745;flex-shrink:0;margin:3px 0 0}.form .check-label{margin-top:0}.error{color:#a5684e;background:#f7e9e0;border:1px solid #e9c7b5;border-radius:5px;padding:10px 12px;font-size:12px}.compact-form{gap:11px}.compact-form label{font-size:10px}.compact-form input{padding:8px 10px!important}.compact-form .button{align-self:flex-start}.modal-actions{justify-content:flex-end;gap:12px;margin-top:24px;display:flex}.theme-options{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.theme-options button{background:#f0f3e5;border:2px solid #0000;border-radius:6px;padding:0;overflow:hidden}.theme-options button.active{border-color:#70905b}.theme-options button>div{background:linear-gradient(90deg,var(--light,#e9ebd8) 50%,var(--dark,#81977b) 50%);padding:7px 0;display:flex}.theme-options .piece{width:50%;height:60px}.theme-options span{color:#778d63;justify-content:center;align-items:center;gap:5px;padding:9px 5px;font-size:10px;display:flex}.intro-illustration{border-radius:6px;justify-content:center;align-items:center;height:155px;margin-bottom:23px;display:flex;overflow:hidden}.intro-illustration .piece{filter:drop-shadow(8px 10px 1px #24413020);width:135px;height:135px;transform:rotate(-12deg)}.intro-copy{color:#5f7453!important;font-size:14px!important;line-height:1.85!important}.note{color:#819369;background:#f0f3e5;border-radius:6px;align-items:center;gap:14px;margin:21px 0;padding:15px;font-size:12px;display:flex}.note>svg{flex-shrink:0}.toast{color:#edf1df;z-index:100;background:#204735;border-radius:7px;align-items:center;gap:20px;max-width:min(560px,90vw);padding:15px 19px;font-size:12px;line-height:1.6;display:flex;position:fixed;bottom:23px;left:calc(50% + 90px);transform:translate(-50%);box-shadow:0 5px 25px #18352625}.toast button{color:#c4d2b8;align-items:center;display:flex}.challenge-banner{color:#577447;background:#e3ecd5;border:1px solid #ceddbb;border-radius:7px;align-items:center;gap:13px;margin:16px 0;padding:12px 16px;font-size:12px;display:flex}.challenge-banner>span{flex:1}.clock{font-variant-numeric:tabular-nums;color:#829371;letter-spacing:1px;text-align:center;background:#f0f2e8;border-radius:5px;min-width:76px;margin-left:auto;padding:7px 13px;font-size:20px;font-weight:600;display:inline-block}.clock.running{color:#f6f4e2;background:#264e39}.live-clock.top{justify-content:flex-end;padding:0 20px 10px;display:flex}.move-list{font-variant-numeric:tabular-nums;max-height:360px;margin:23px 0;overflow-y:auto}.move-list>div{border-radius:4px;grid-template-columns:30px 1fr 1fr;padding:9px;font-size:12px;display:grid}.move-list>div:nth-child(odd){background:#f1f3e8}.move-list span{color:#a0ab91}.move-list strong{font-weight:500}.move-list p{color:#9da78d;font-size:11px}.profile-caveat{background:#eff2e5;border-radius:5px;margin-top:18px;padding:12px;font-size:10px!important}.source-badge{color:#97a182;font-size:9px}.promotion{z-index:5;text-align:center;background:#fffef7;border-radius:8px;padding:16px;position:absolute;inset:30% 12% auto;box-shadow:0 8px 40px #173f3355}.promotion p{margin-bottom:10px;font-size:15px;font-weight:600}.promotion>div{justify-content:center;display:flex}.promotion>div button{background:#e5ebd6;border-radius:5px;width:25%;margin:2px}.promotion>button{margin-top:12px;font-size:11px}.focused{background:#172d24;width:100%;height:100dvh;display:block;overflow:hidden}.focused .sidebar,.focused .topbar,.focused .page-heading,.focused .training-aside,.focused .repertoire-section,.focused footer,.focused .board-heading,.focused .challenge-banner,.focused .player-caption{display:none}.focused .main{width:100%;max-width:none;height:100%;margin:0;padding:0}.focused .training-page{height:100%}.focused .training-layout{justify-content:center;align-items:center;max-width:none;height:100%;margin:auto;padding:8px;display:flex}.focused .board-section{width:min(100dvh - 186px,100%);box-shadow:none;background:#172d24;border:0;border-radius:5px;overflow:visible}.focused .board-frame{border-width:4px;margin:0}.focused .board-toolbar{color:#d2dac0;padding:0 0 8px}.focused .toolbar-label{color:#aec09f;font-size:11px}.focused .board-toolbar .icon-button{color:#b4c3a7}.focused .board-player{color:#d8dfc8;padding:8px 0}.focused .board-player .muted{color:#96ab8c}.focused .feedback{color:#aebe9d;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;min-height:30px;margin:0;padding:2px 0;font-size:11px;overflow:hidden}.focused .board-actions{gap:12px;min-height:40px;padding:4px 0}.focused .board-actions .text-button,.focused .board-actions .icon-button{color:#adbd9b}.focused .board-actions>.button{min-height:32px;padding:8px 13px}.focused .board-actions .secondary{color:#c4d2b2;background:#294638;border-color:#3c5946}.focus-mobile-label{color:#9fae8e;letter-spacing:.5px;pointer-events:none;font-size:12px;position:fixed;top:22px;left:25px}.focused .toast{left:50%}.focused .live-clock.top{padding:0 0 6px}.focused:has(.live-clock) .board-section{width:min(100dvh - 225px,100%)}@media (width>=1450px){.main{padding:0 58px}.training-layout{grid-template-columns:minmax(500px,680px) minmax(290px,340px);gap:32px}.board-title h2{font-size:20px}.lesson-card{padding:28px 25px 20px}.lesson-card h3{font-size:29px}.lesson-card>p{font-size:12px}.steps strong{font-size:11px}.steps small{font-size:10px}.steps>button{padding:15px 8px}.idea-card{padding:24px}.session-stats{padding:22px 5px}.feedback{font-size:12px}}@media (width<=1150px){.sidebar{width:195px;padding:30px 15px 15px}.main{width:calc(100% - 195px);margin-left:195px;padding:0 25px}.training-layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.sidebar nav button{gap:9px;padding:13px 8px;font-size:11px}.brand>span:last-child{font-size:30px}.brand-icon{width:36px}.brand small{font-size:7px}.lesson-card{padding:18px 15px 13px}.lesson-card h3{font-size:23px}.board-frame{margin:0 14px}.board-toolbar,.board-heading,.board-actions{padding-left:14px;padding-right:14px}.feedback{margin:0 14px}.library{grid-template-columns:repeat(3,minmax(0,1fr))}.page-heading h1{font-size:34px}.page-heading p{font-size:11px}.auto-toggle{font-size:8px!important}.board-actions{gap:8px}.board-title>div>span{max-width:255px}.player-grid{grid-template-columns:1fr}.board-actions>.primary{max-width:none}.board-actions>.text-button{font-size:9px}.board-actions .button{font-size:10px}.focus-card{gap:8px;padding:14px 12px}.focus-card small{font-size:7px}}@media (width<=950px){.sidebar{width:75px;padding:25px 11px}.brand{padding:0 3px 40px}.brand>span:last-child,.sidebar-caption,.sidebar nav button>span,.sidebar nav .nav-arrow,.sidebar-note,.sidebar-bottom>button:not(.icon-button),.profile>div,.profile>.icon-button{display:none}.sidebar nav button{justify-content:center;padding:14px}.sidebar nav .nav-count{margin-top:-23px;margin-left:30px;position:absolute}.profile{justify-content:center}.main{width:calc(100% - 75px);margin-left:75px}.training-layout{grid-template-columns:minmax(0,1fr) 250px}.toast{left:calc(50% + 30px)}.library{grid-template-columns:repeat(3,minmax(0,1fr))}.opponent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.focused .board-section{max-width:90vw}.focus-mobile-label{font-size:9px;top:10px;left:15px}}@media (width<=760px){.main{padding:0 18px}.topbar{height:60px}.topbar>div:last-child .top-divider,.topbar .date{display:none}.topbar .online-link{font-size:9px}.page-heading{align-items:flex-start;margin:25px 0 22px}.page-heading h1{letter-spacing:-1.3px;font-size:30px}.page-heading>.button{gap:0;min-width:42px;padding:11px;font-size:0}.page-heading>.button>svg:last-child{display:none}.page-heading>.button>svg:first-child{font-size:14px}.training-layout{flex-direction:column;display:flex}.board-section{width:100%}.training-aside{grid-template-columns:1fr 1fr;align-items:start;width:100%;display:grid}.lesson-card{grid-row:span 3}.idea-card{padding:15px}.idea-card p{font-size:11px}.session-stats{padding:12px 2px}.session-stats>div{padding:0 8px}.session-stats>div>span:last-child{font-size:8px}.focus-card{padding:14px 10px}.focus-card>svg{width:15px}.focus-card strong{font-size:10px}.focus-card small{font-size:7px}.course-grid{gap:10px}.course-info{padding:12px}.course-info h3{font-size:13px}.course-info p{font-size:9px}.course-info>div{flex-wrap:wrap;gap:8px;font-size:8px}.course-art{height:85px}.course-art>.piece{width:77px;height:77px}.course-art>span{font-size:7px;left:9px}.course-art>svg:last-child{width:13px}.library{grid-template-columns:repeat(2,minmax(0,1fr))}.library .course-info h3{font-size:17px}.library-search>span{display:none}.lobby-bar{flex-direction:column;align-items:flex-start}.opponent-grid{gap:12px}.opponent-card{padding:17px}.opponent-card h3{font-size:19px}.stats-grid{gap:10px}.stats-grid>div{flex-direction:column;align-items:start;padding:15px;display:flex}.stats-grid strong{margin-top:10px;font-size:35px}.stats-grid span{font-size:9px;line-height:1.5}.stats-grid svg{width:20px}.progress-courses>button{gap:12px;padding:15px}.progress-courses h3{font-size:15px}.progress-courses .muted{font-size:8px}.progress-course-art{width:44px;height:52px}.info-strip{gap:12px;padding:15px}.info-strip p{font-size:10px}.info-strip>.button{font-size:9px}.game-list>button{gap:10px;padding:14px 12px}.game-list strong{font-size:11px}.game-list>button>span:not(.avatar):not(.game-icon){font-size:9px}.catalog-heading{align-items:flex-start}.catalog-heading .text-button{white-space:nowrap}.catalog-preview{grid-template-columns:1fr}.catalog-preview .board-frame{width:100%;max-width:420px;margin:auto}.opponent-detail{grid-template-columns:1fr}.opponent-detail>section:first-child{border-bottom:1px solid var(--line);padding-bottom:20px}.modal{padding:22px}.modal h2{font-size:20px}.main footer{gap:10px;font-size:8px}.main footer>span:first-child{font-size:7px}.main footer>span:last-child{display:none}.focused .board-section{max-width:100%}.focused .board-frame{margin:0}.focus-mobile-label{display:none}.focused .board-actions .auto-toggle{margin-left:auto}.focused .training-aside{display:none}}@media (width<=520px){.sidebar{display:none}.sidebar.open{width:224px;display:flex;box-shadow:0 0 0 100vw #173f3366}.sidebar.open .brand>span:last-child,.sidebar.open .sidebar-caption,.sidebar.open .sidebar nav button>span,.sidebar.open .sidebar-note,.sidebar.open .sidebar-bottom>button,.sidebar.open .profile>div{display:block}.sidebar.open .sidebar nav button{justify-content:flex-start}.sidebar.open .sidebar-bottom>button{display:flex}.main{width:100%;margin-left:0;padding:0 16px}.mobile-menu{display:inline-flex!important}.topbar>div{gap:8px}.topbar .crumb,.topbar>div>svg{display:none}.topbar .online-link{white-space:nowrap;text-overflow:ellipsis;max-width:140px;overflow:hidden}.page-heading .eyebrow{letter-spacing:1.2px;font-size:8px}.page-heading h1{font-size:32px}.page-heading p{max-width:265px;line-height:1.7}.board-heading{padding:15px}.board-title h2{font-size:17px}.board-title>div>span{max-width:245px;font-size:9px}.small-knight{width:31px;height:35px}.board-frame{margin:0 11px}.board-toolbar{padding:10px 11px}.toolbar-label{font-size:9px}.board-player{padding:10px 12px}.feedback{margin:0 11px;padding:10px;font-size:10px}.board-actions{gap:12px;padding:13px 11px}.board-actions>.text-button{font-size:9px}.board-actions .auto-toggle{gap:3px;font-size:8px!important}.board-actions .auto-toggle>svg{display:none}.board-actions .button{gap:7px;font-size:10px}.training-aside{grid-template-columns:1.1fr 1fr;gap:12px}.lesson-card h3{margin:16px 0 10px;font-size:21px}.lesson-card>p{font-size:10px}.lesson-card .eyebrow{font-size:7px}.side-selector{margin:16px 0}.side-selector button{gap:5px;font-size:9px}.steps strong{font-size:9px}.steps small{font-size:8px}.step-number{width:20px;height:20px;font-size:8px}.steps>button{gap:7px;padding:11px 5px}.steps svg:last-child{width:12px}.idea-card .eyebrow{letter-spacing:.5px;gap:6px;font-size:7px}.idea-card p{font-size:10px}.idea-card .text-button{font-size:9px}.session-stats{grid-template-columns:1fr;gap:12px;padding:12px 6px}.session-stats>div{grid-template-columns:23px 22px 1fr;gap:5px}.session-stats>div:first-child{border-right:0}.session-stats>div>span:last-child{grid-column:auto;font-size:8px}.session-stats strong{font-size:16px}.focus-card{gap:7px}.focus-card strong{font-size:9px}.focus-card small{font-size:7px;line-height:1.6}.focus-card>svg:last-child{display:none}.course-grid.compact{grid-template-columns:1fr}.compact .course-card{display:flex}.compact .course-art{flex:0 0 115px;height:auto;min-height:130px}.compact .course-art>.piece{width:95px;height:95px}.compact .course-info{flex:1;padding:16px}.compact .course-info h3{font-size:18px}.compact .course-info p{font-size:10px}.compact .course-info>div{font-size:9px}.section-heading h2{font-size:18px}.section-heading .text-button{font-size:9px}.library-search{padding:13px}.library .course-art{height:100px}.library .course-info h3{font-size:15px}.library .course-info p{font-size:9px}.library .course-info>div{font-size:8px}.section-heading>.muted{text-align:right;max-width:160px;font-size:8px}.opponent-grid{grid-template-columns:1fr}.opponent-card{padding:23px}.opponent-top{float:left;margin-right:18px}.opponent-top>svg{display:none}.opponent-card h3{margin:5px 0 10px}.opponent-status{clear:both;padding-top:17px}.empty-state{min-height:320px;padding:30px 20px}.empty-state h2{font-size:22px}.empty-state p{font-size:12px}.info-strip{flex-wrap:wrap}.info-strip>div{flex:1;min-width:180px}.info-strip>.button{margin-left:30px}.stats-grid>div{padding:13px}.stats-grid strong{font-size:31px}.stats-grid span{font-size:8px}.progress-courses>button>svg{display:none}.progress-courses>button>strong{font-size:11px}.progress-courses>button{gap:11px}.game-list>button{gap:9px}.game-list strong{font-size:10px}.game-list .game-icon{width:28px;height:32px}.game-list .pill{padding:5px 7px;font-size:8px!important}.game-list>button>svg{width:13px}.toast{width:max-content;max-width:92vw;left:50%}.focused .training-layout{padding:6px}.focused .board-section{width:min(100dvh - 162px,100%)}.focused .board-player{padding:7px 0}.focused .feedback{margin:0}.focused .board-toolbar{padding:0 0 7px}.focused .board-actions{padding:5px 0}.focused .board-actions>.text-button{font-size:9px}.catalog-list>button{gap:10px;padding:13px}.catalog-list strong{font-size:11px}.catalog-list small{font-size:9px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.daily-layout{grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr);align-items:start;gap:28px;display:grid}.daily-board{border:1px solid var(--line);background:#fffef8;border-radius:8px;padding:22px}.daily-board>.muted{margin:-7px 0 20px;font-size:11px}.daily-board .board-frame{margin:0}.daily-board .feedback{margin:15px 0 0}.daily-scores{border:1px solid var(--line);background:#fffef8;border-radius:8px;padding:26px}.daily-scores h2{margin:13px 0 8px}.daily-scores>p{font-size:11px}.daily-scores>.small-copy{margin-top:25px;font-size:10px}.daily-score{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:14px 10px;font-size:12px;display:flex}.daily-score>span{color:#9bab88;font-size:11px}.daily-score strong{flex:1;font-weight:500}.daily-score.you{background:#eaf0df;border-radius:5px}.daily-score b{font-weight:600}.score-empty{color:#93a182;padding:25px 0;line-height:1.7}@media (width<=760px){.daily-layout{grid-template-columns:1fr}.daily-board{padding:15px}.daily-scores{padding:20px}}.board-frame:has(.board-3d){background:#101a18;border:0;border-radius:7px;overflow:hidden;box-shadow:0 7px 24px #10251d22}.board-3d{background:#101a18;position:relative}.board-3d:after{content:"";pointer-events:none;border-radius:inherit;background:radial-gradient(at 50% 48%,#0000 58%,#050c0b12 78%,#050b0a8a 100%);position:absolute;inset:0}.focused:has(.board-3d){background:radial-gradient(at 50% 43%,#22392f 0%,#111e19 58%,#09120f 100%)}.focused:has(.board-3d) .board-section{background:0 0}.focused .board-frame:has(.board-3d){border:0;box-shadow:0 20px 65px #0004}.focused.focused-3d .training-layout{flex-direction:row;padding:clamp(10px,1.2vmin,22px)}.focused.focused-3d .board-section{background:0 0;flex-direction:column;gap:0;width:100%;max-width:none;height:100%;min-height:0;display:flex}.focused.focused-3d .board-frame{width:100%;min-height:0;box-shadow:none;border:0;border-radius:8px;flex:1;margin:0;overflow:hidden}.focused.focused-3d .board-3d,.focused.focused-3d .board-loading{aspect-ratio:auto;height:100%;min-height:0}.focused.focused-3d .board-toolbar{flex-shrink:0;padding:0 2px 10px}.focused.focused-3d .board-player,.focused.focused-3d .feedback,.focused.focused-3d .board-actions{flex-shrink:0;align-self:center;width:min(1100px,100%)}.focused.focused-3d .board-player{padding:8px 0 3px}.focused.focused-3d .feedback{min-height:27px}.focused.focused-3d .board-actions{min-height:36px;padding:3px 0 0}.focused.focused-3d .focus-mobile-label{white-space:nowrap;text-overflow:ellipsis;max-width:35%;top:clamp(17px,1.8vmin,32px);left:50%;overflow:hidden;transform:translate(-50%)}.focused.focused-3d .live-clock.top{z-index:2;position:absolute;top:65px;right:clamp(24px,2vmin,40px)}@media (height<=550px) and (width>=650px){.focused.focused-3d .board-player{z-index:2;width:auto;position:absolute;bottom:55px;left:22px}.focused.focused-3d .feedback{min-height:24px}.focused.focused-3d .focus-mobile-label{display:none}}.square-tooltip{z-index:4;pointer-events:none;color:#fff1ce;letter-spacing:.5px;background:#10261eee;border:1px solid #d7b66e;border-radius:5px;padding:6px 10px;font:650 14px/1.15 DM Sans,sans-serif;position:absolute;box-shadow:0 3px 12px #0004}.square.hovered:after{content:"";pointer-events:none;z-index:2;border:3px solid #c8973c;position:absolute;inset:1px}.square .rank,.square .file{font-size:11px;font-weight:650}.focused .square .rank,.focused .square .file{font-size:clamp(11px,1.25vmin,18px)}.focused .feedback{white-space:normal;line-height:1.5;overflow:visible}.focused .feedback>span:last-child{text-overflow:clip;overflow:visible}.training-stage{color:#627751;padding:0 20px 8px;font-size:11px;font-weight:600;line-height:1.4}.curriculum-summary{margin-top:14px;line-height:1.6;font-size:11px!important}.focused .training-stage{color:#d0dcbb;flex-shrink:0;padding:0 0 4px}.focused .player-caption{display:none}.focused:not(.focused-3d) .board-section{width:min(100dvh - 224px,100%)}.focused.focused-3d .training-stage{align-self:center;width:min(1100px,100%)}.steps button:disabled{opacity:.65;cursor:default}.move-guide{pointer-events:none;z-index:3;filter:drop-shadow(0 1px 1px #173b5860);width:100%;height:100%;position:absolute;inset:0;overflow:visible}.move-guide line{stroke:#3997d7;stroke-width:11px;stroke-linecap:round;opacity:.92}.move-guide polygon{fill:#3997d7;opacity:.92}.sound-toggle{flex-shrink:0}.hint-square>svg{filter:drop-shadow(0 0 5px #ffd56a)drop-shadow(0 0 10px #ffd56a99)}
