@font-face{font-family:Club;src:local('Segoe UI');font-display:swap}
:root{--bg:#f7f8fa;--white:#fff;--ink:#252c37;--muted:#7b8392;--border:#e9ecf1;--coral:#eb795f;--coral-soft:#fff0e9;--purple:#9281c6;--lp:#ed9bab;--lr:#eaba7e;--lm:#8dc8b4;--li:#9eaff0;--ri:#b3a0dc;--rm:#85bfdd;--rr:#db9abf;--rp:#e6ad85;--thumb:#c3c9d4}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Club,'Segoe UI',Arial,sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0;background:none}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9383ca;outline-offset:3px}button:hover:not(:disabled){filter:brightness(.975)}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}svg{display:block}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;padding:35px 20px 18px;border-right:1px solid var(--border);background:#fff;display:flex;flex-direction:column;z-index:3}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-size:21px;line-height:1.03;font-weight:750;letter-spacing:-.6px;text-decoration:none;padding:0 10px}.brand-dot{color:var(--coral)}.brand-symbol{display:flex;align-items:center;width:44px;height:48px;position:relative}.brand-symbol i{font-style:normal;background:var(--coral);color:white;position:absolute;padding:4px 9px 7px;border-radius:8px;box-shadow:0 3px 0 #d76851;font-size:21px;transform:rotate(-10deg);left:0;top:1px}.brand-symbol i+ i{background:#b7a5df;box-shadow:0 3px 0 #9d8ac7;left:17px;top:19px;transform:rotate(9deg)}.nav-caption{font-size:10px;letter-spacing:1.5px;font-weight:650;color:#9ba0ad;margin:53px 12px 15px}nav{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:13px;border-radius:10px;color:#777e8c;text-align:left;font-weight:600}.nav-item.active{background:var(--coral-soft);color:#c66349}.nav-arrow{margin-left:auto;display:none}.active .nav-arrow{display:block}.sidebar-bottom{margin-top:auto;padding-top:35px}.daily-card{padding:18px 14px;background:#f7f8fa;border:1px solid #f0f1f4;border-radius:14px}.little-star{display:block;color:#b4a3d5;font-size:35px;line-height:1;margin-bottom:14px}.daily-card strong{font-size:12px}.daily-card p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:6px}.daily-track{height:4px;background:#e6e9ed;border-radius:3px;margin:16px 0 7px;overflow:hidden}.daily-track span{display:block;background:var(--purple);height:100%;width:0;transition:width .3s}.daily-card small{font-size:10px;color:var(--muted)}.profile{display:flex;align-items:center;gap:9px;text-align:left;width:100%;padding:22px 2px 0}.profile>span:last-child{margin-left:auto;color:var(--muted)}.avatar{display:grid;place-items:center;width:34px;height:34px;background:#eee9f7;border-radius:50%;font-size:13px;color:#8b79b1}.profile strong{font-size:12px;display:block;max-width:115px;overflow:hidden;text-overflow:ellipsis}.profile small{font-size:10px;color:var(--muted)}.workspace{margin-left:226px}.topbar{height:80px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:0 40px}.breadcrumb{font-size:10px;letter-spacing:1.55px;font-weight:600;color:#989eaa}.breadcrumb>span{font-size:18px;margin-left:10px;color:var(--coral)}.top-actions{display:flex;align-items:center;gap:13px}.language-switch{display:flex;padding:4px;background:#eceedf00;border:1px solid #e3e6ec;border-radius:9px;gap:2px}.language-switch button{padding:4px 12px;color:#959ba8;font-size:11px;font-weight:750;border-radius:6px}.language-switch .selected{background:white;box-shadow:0 1px 4px #20273312;color:#424854}.icon-button{display:grid;place-items:center;width:34px;height:34px;color:#959ba7;border-radius:8px}.icon-button:hover{background:#eeeff4}main{max-width:1270px;margin:auto;padding:28px 40px 16px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:16px}.eyebrow{font-size:9px;letter-spacing:1.6px;color:#9a92af;font-weight:700;margin-bottom:9px}h1{font-size:clamp(26px,2.65vw,39px);font-weight:720;letter-spacing:-1.2px;line-height:1.2}h1 span{color:var(--coral)}.page-heading p{color:var(--muted);font-size:13px;margin-top:10px}.heading-label{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);white-space:nowrap}.status-dot{display:inline-block;width:6px;height:6px;background:#9abaad;border-radius:50%;flex:none}.status-dot.violet{background:#ad9bda}.section-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.section-line h2{font-size:12px;font-weight:650}.section-line>span{font-size:11px;color:var(--muted)}.lesson-path{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;margin-bottom:22px}.lesson-step{text-align:left;background:#fff;border:1px solid var(--border);border-radius:10px;padding:10px 9px;min-height:73px;position:relative}.lesson-step .step-number{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:#f1f2f5;font-size:10px;color:#939aa6;margin-bottom:7px}.lesson-step strong{display:block;font-size:10px;white-space:nowrap}.lesson-step.current{background:#fff3ed;border-color:#e9ad98}.lesson-step.current .step-number{background:var(--coral);color:white}.lesson-step.complete .step-number{background:#e4f1eb;color:#598f7c}.lesson-step.current:after{content:'';position:absolute;width:5px;height:5px;background:var(--coral);right:9px;top:12px;border-radius:50%}.lesson-info{display:flex;align-items:center;gap:12px;margin:0 0 14px}.lesson-icon{width:35px;height:35px;display:grid;place-items:center;background:#eeeaf5;border-radius:10px;color:#9b86bd;flex:none}.lesson-info strong{font-size:13px;font-weight:650}.lesson-info p{font-size:11px;color:var(--muted);margin-top:3px}.text-button{font-size:11px;color:#8a809f;padding:6px 0;white-space:nowrap}.lesson-info .text-button{margin-left:auto}.text-button span{margin-left:7px}.typing-card{background:#fff;border:1px solid var(--border);border-radius:15px;box-shadow:0 5px 14px #34374003;overflow:hidden}.stats-bar{display:grid;grid-template-columns:1.3fr repeat(4,1fr);padding:18px 26px 16px;border-bottom:1px solid #f0f1f5}.stat{display:flex;align-items:baseline;gap:8px;padding-left:22px;border-left:1px solid var(--border)}.stat strong{font-variant-numeric:tabular-nums;font-size:25px;line-height:1.1;font-weight:650;letter-spacing:-.7px}.stat strong span{font-size:15px;margin-left:2px}.stat small{font-size:10px;color:#9198a5;white-space:nowrap}.timer-stat{border:0;padding:0;align-items:center;gap:10px;color:#9c87c3}.timer-stat .icon{width:23px;height:23px}.timer-stat>div{display:flex;align-items:baseline;gap:10px}.timer-stat strong{color:#8f7bb6}.timer-stat.urgent strong{color:#d56d50}.error-stat strong{color:#9ea5b1}.exercise-area{position:relative;padding:23px 29px 15px;cursor:text;min-height:145px}.exercise-area:focus-within{background:#fefdfb}#textViewport{height:108px;overflow:hidden;position:relative;scroll-behavior:auto}#targetText{font-family:'Cascadia Mono',Consolas,'Courier New',monospace;font-size:25px;line-height:1.8;letter-spacing:.25px;white-space:pre-wrap;overflow-wrap:anywhere;color:#8a919e;user-select:none}.char{position:relative}.char.correct{color:#689781}.char.current{color:#444351;background:#ece7f7;border-radius:3px}.char.current:after{position:absolute;content:'';height:2px;background:#9b86c9;bottom:-3px;left:0;right:0}.char.wrong{color:#b74f49;background:#ffe2dd;text-decoration:underline}.word{white-space:nowrap}#typingInput{position:absolute;opacity:0;width:1px;height:1px;padding:0;resize:none;left:20px;bottom:15px;pointer-events:none}.typing-footer{padding:11px 25px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:53px}.typing-footer>span{display:flex;align-items:center;gap:8px;font-size:10px;color:#969ca8}.typing-footer>div{display:flex;align-items:center;gap:16px}.reset-button{font-size:23px;color:#959aa8;padding:0 3px}.small-primary{background:#f2ebe4;color:#9b745b;padding:7px 14px;border-radius:7px;font-size:11px;font-weight:600}.small-primary span{margin-left:14px}.exercise-progress{height:3px;background:#f4f1f8}.exercise-progress>span{height:100%;display:block;background:#b7a2d8;width:0;transition:width .15s linear}.keyboard-heading{display:flex;align-items:center;justify-content:space-between;max-width:825px;margin:18px auto 11px;color:#9595a4;font-size:10px}.keyboard-heading>span{display:flex;align-items:center;gap:8px}.toggle{display:flex;gap:7px;align-items:center;cursor:pointer;font-size:10px}.toggle input{position:absolute;opacity:0}.toggle>span{width:24px;height:14px;border-radius:12px;background:#d9dce3;position:relative}.toggle>span:after{content:'';position:absolute;background:#fff;width:10px;height:10px;top:2px;left:2px;border-radius:50%;transition:left .15s}.toggle input:checked+span{background:#a797c5}.toggle input:checked+span:after{left:12px}.toggle input:focus-visible+span{outline:2px solid var(--purple);outline-offset:2px}.keyboard{max-width:825px;margin:auto;padding:10px;background:#eaecef;border-radius:13px;border:1px solid #e0e3e8;box-shadow:0 3px 0 #dce0e5;user-select:none}.key-row{display:flex;gap:5px;margin-bottom:5px}.key-row:last-child{margin:0}.key{position:relative;display:flex;align-items:center;justify-content:center;flex:1;height:33px;min-width:0;border-radius:5px;background:#f7f8fa;box-shadow:0 2px 0 #cad0d9;color:#68717f;font-size:12px;font-weight:600;transition:background .1s,box-shadow .1s}.key.special{font-size:9px;color:#87909d}.key[data-finger=lp]{--finger:var(--lp);background:#f4dbe2}.key[data-finger=lr]{--finger:var(--lr);background:#f5e6d1}.key[data-finger=lm]{--finger:var(--lm);background:#d7eae2}.key[data-finger=li]{--finger:var(--li);background:#dce2f7}.key[data-finger=ri]{--finger:var(--ri);background:#e6def3}.key[data-finger=rm]{--finger:var(--rm);background:#d7e9f3}.key[data-finger=rr]{--finger:var(--rr);background:#efdae9}.key[data-finger=rp]{--finger:var(--rp);background:#f4e0d1}.key[data-finger=thumb]{--finger:var(--thumb)}.key.home:after{content:'';position:absolute;bottom:4px;width:7px;height:2px;background:currentColor;opacity:.45;border-radius:2px}.key.next{background:var(--finger);color:#30333c;box-shadow:0 2px 0 #8f94a4,0 0 0 2px #fff,0 0 0 3px var(--finger);z-index:1}.key.pressed{transform:translateY(2px);box-shadow:none;filter:brightness(.92)}.key .shift-symbol{font-size:8px;position:absolute;top:2px;left:5px;opacity:.65}.hands-section{max-width:620px;display:flex;align-items:center;justify-content:center;gap:24px;margin:14px auto 0}.hands{display:flex;gap:28px}.hand{width:139px;height:112px;overflow:visible}.palm{fill:#eeecec;stroke:#dad9de;stroke-width:1.2}.finger{stroke:#fff;stroke-width:2;transition:filter .15s,stroke .15s}.finger.active{stroke:#736085;stroke-width:2.5;filter:drop-shadow(0 0 3px #ab91c26b)}.hand-caption{font-size:10px;color:#a2a5b1;white-space:nowrap}.hand-caption strong{display:block;font-weight:500}.hand-caption span{display:block;font-family:Consolas,monospace;letter-spacing:5px;margin-top:6px;color:#929aaa;font-size:9px}.right{text-align:right}.finger-legend{display:flex;justify-content:center;gap:19px;margin-top:7px;font-size:9px;color:#9a9eab}.finger-legend span{display:flex;align-items:center;gap:5px}.finger-legend i{width:7px;height:7px;border-radius:50%;display:inline-block}.page-footer{display:flex;justify-content:space-between;color:#a6aab5;font-size:9px;padding-top:24px;margin-top:20px;border-top:1px solid var(--border)}.coral{color:var(--coral);font-size:16px;margin-left:4px}.focus-cover{position:absolute;inset:0;background:#ffffffef;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;z-index:2;backdrop-filter:blur(4px)}.focus-cover>span{font-size:11px;color:var(--muted)}.primary{padding:12px 21px;background:var(--coral);color:white;border-radius:9px;font-weight:600;font-size:13px;box-shadow:0 3px 0 #d6654d}.primary>span{margin-left:18px}.secondary{padding:11px 19px;background:#f0edf5;color:#8c79ac;border-radius:9px;font-size:13px;font-weight:600}.mode-controls{display:flex;gap:28px;align-items:flex-end;margin-bottom:23px}.control-label{display:block;font-size:11px;color:#9096a4;margin-bottom:9px}.segmented{display:flex;gap:4px;border:1px solid var(--border);border-radius:10px;background:#eeeff3;padding:4px}.segmented button{padding:8px 18px;border-radius:7px;font-size:12px;color:#8c91a0}.segmented .selected{background:#fff;color:#c66d55;box-shadow:0 1px 5px #41434409}.mode-controls select,select,input[type=text]{padding:11px 14px;border-radius:9px;border:1px solid #e2e4e9;background:white;color:#646c79}.library-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.library-intro p{color:var(--muted);font-size:12px}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.book-card{background:#fff;border:1px solid var(--border);border-radius:13px;overflow:hidden;display:flex;flex-direction:column}.book-cover{height:134px;padding:22px;position:relative;overflow:hidden;background:#e4eafa;color:#7b94be}.book-cover.coral{background:#f9e5da;color:#c89780}.book-cover.green{background:#e0ece4;color:#80a995}.book-cover.violet{background:#eee5f7;color:#a48ebd}.book-cover.sand{background:#f4ead6;color:#baa177}.book-cover:after{content:'Aa';position:absolute;font:italic 115px Georgia;right:12px;top:5px;opacity:.38;transform:rotate(-12deg)}.book-cover>span{display:block;font-size:10px;letter-spacing:1.5px}.book-cover>strong{display:block;max-width:125px;font-family:Georgia,serif;font-size:23px;font-weight:400;margin-top:9px;line-height:1.15}.book-body{padding:18px;display:flex;flex-direction:column;flex:1}.book-meta{display:flex;justify-content:space-between;gap:5px;font-size:9px;color:#989fab;margin-bottom:9px}.book-body h3{font-size:15px;margin-bottom:4px}.book-author{font-size:11px;color:#9399a5}.book-preview{font-size:11px;color:#8d95a2;line-height:1.75;margin:13px 0 16px}.book-body button{margin-top:auto;width:100%;border:1px solid var(--border);border-radius:8px;padding:9px;color:#89729f;font-size:11px}.library-note{font-size:10px;color:#9ca1ad;margin-top:18px}.custom-area{width:100%;height:180px;resize:vertical;padding:14px;border:1px solid #e2e4eb;border-radius:9px;line-height:1.7;margin:16px 0 5px}.form-error{font-size:12px;color:#c86150;min-height:22px}.modal-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:24px}.modal-actions.left{justify-content:flex-start}dialog{border:1px solid #eee9f0;border-radius:21px;padding:35px;width:min(580px,calc(100vw - 32px));box-shadow:0 25px 90px #24283829;color:var(--ink);max-height:90vh;overflow:auto}dialog::backdrop{background:#33374250;backdrop-filter:blur(5px)}.modal-close{position:absolute;right:14px;top:12px;font-size:25px}dialog h2{font-size:25px;letter-spacing:-.6px;margin-bottom:12px}dialog p{color:var(--muted);font-size:13px;line-height:1.8}dialog h3{font-size:14px;margin:18px 0 6px}.help-steps{padding:0;list-style:none;counter-reset:steps}.help-steps li{padding-left:38px;position:relative;margin:17px 0;font-size:12px;color:var(--muted);line-height:1.7}.help-steps li:before{counter-increment:steps;content:counter(steps);position:absolute;left:0;top:2px;width:25px;height:25px;display:grid;place-items:center;background:#f0eaf8;color:#9277b1;border-radius:8px}.help-steps strong{color:var(--ink)}.result{text-align:center}.result-symbol{display:grid;place-items:center;width:67px;height:67px;background:#f9e9df;border-radius:21px;margin:0 auto 18px;font-size:37px;color:#d39467;transform:rotate(-7deg)}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:23px 0}.result-stats>div{padding:15px 8px;background:#f7f6fa;border-radius:11px}.result-stats strong{display:block;font-size:29px;color:#8b77ab;font-variant-numeric:tabular-nums}.result-stats small{font-size:10px;color:#9692a3}.result-detail{font-size:11px;color:#8e95a1;margin:10px 0}.result-tip{padding:13px 17px;background:#f0f5f1;border-radius:9px;color:#7b9985!important;font-size:12px!important}.formula{font-size:10px!important;margin-top:17px}.stars{font-size:20px;letter-spacing:7px;color:#dbac6b;margin:9px 0}.toast{position:fixed;bottom:23px;left:50%;transform:translateX(-50%);background:#343940;color:white;padding:13px 23px;border-radius:10px;font-size:12px;z-index:10;max-width:90vw;box-shadow:0 4px 20px #3332}.progress-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:22px}.summary-card{background:white;border:1px solid var(--border);border-radius:13px;padding:23px}.summary-card strong{display:block;font-size:31px;letter-spacing:-1px;color:#917fb0}.summary-card span{font-size:11px;color:var(--muted)}.history-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:22px;margin-top:22px}.history-card h2{font-size:16px;margin-bottom:20px}.history-card table{width:100%;border-collapse:collapse;font-size:11px}.history-card th{text-align:left;color:#999faa;font-weight:500}.history-card th,.history-card td{padding:12px 8px;border-bottom:1px solid var(--border)}.empty-state{text-align:center;padding:40px 20px;background:white;border:1px solid var(--border);border-radius:13px}.empty-state p{color:var(--muted);margin:10px 0 20px}.chart{height:130px;display:flex;align-items:flex-end;gap:12px;padding:15px 10px 0}.chart-column{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:1;height:100%;gap:5px;min-width:0}.chart-column span{font-size:9px;color:var(--muted)}.chart-column i{background:#c2b3df;border-radius:5px 5px 0 0;width:min(44px,100%);min-height:3px}.chart-column:last-child i{background:#e69a81}.profile-list{display:grid;gap:7px;margin:18px 0}.profile-choice{text-align:left;background:#f6f5f8;border-radius:8px;padding:10px 14px}.profile-choice.selected{background:#fceee6;color:#b36e55}.profile-form{display:flex;gap:8px;margin-top:16px}.profile-form input{width:100%;min-width:0}.badge-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.badge{padding:18px;background:#f0f0f4;border-radius:12px;text-align:center;color:#a3a5b0}.badge.earned{background:#faf0df;color:#b28a4f}.badge span{display:block;font-size:26px;margin-bottom:6px}.badge strong{font-size:11px}.badge small{display:block;font-size:9px;margin-top:4px}.back-library{margin-bottom:17px}.preview-excerpt{padding:16px;background:#f7f7fa;border-radius:10px;margin:15px 0;font:14px/1.8 Georgia,serif;color:#777a88;max-height:150px;overflow:auto}.focus-mode .nav-item,.focus-mode .language-switch,.focus-mode .lesson-step,.focus-mode .mode-controls{opacity:.75}.no-hints .key{background:#f6f7f9!important}.no-hints .key.next{box-shadow:0 2px 0 #cad0d9}.no-hints .finger{fill:#d9dce3}.no-hints .finger.active{stroke:#fff;filter:none}.no-hints #fingerHint{visibility:hidden}
@media(min-width:1450px){main{padding-top:38px}.page-heading{margin-bottom:34px}.key{height:37px}.hands-section{margin-top:19px}.hand{width:153px;height:121px}.exercise-area{padding-top:27px;padding-bottom:20px}.lesson-path{margin-bottom:26px}}
@media(max-width:1190px){.sidebar{width:196px;padding-left:14px;padding-right:14px}.workspace{margin-left:196px}.topbar{padding:0 25px}main{padding:25px}.stat{display:block;padding-left:15px}.stat small{display:block;margin-top:5px}.timer-stat{display:flex;padding:0}.timer-stat>div{display:block}.lesson-step{padding:8px 6px}.lesson-step strong{font-size:9px}.lesson-info p{max-width:520px}.heading-label{display:none}.stats-bar{padding:15px 22px}.lesson-info .text-button{font-size:10px}.hand{width:129px;height:103px}.page-footer{margin-top:16px;padding-top:17px}}
@media(max-width:950px){.sidebar{width:74px;padding:24px 10px}.brand{padding:0;justify-content:center}.brand>span:last-child,.nav-caption,.nav-item> .nav-arrow,.sidebar-bottom{display:none}.sidebar nav{margin-top:40px}.nav-item{font-size:0;justify-content:center;gap:0;padding:14px}.nav-item .icon{width:22px;height:22px}.workspace{margin-left:74px}.lesson-info .text-button{display:none}.key{height:31px}.page-heading{margin-bottom:23px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.breadcrumb{font-size:9px;letter-spacing:1px}.hands-section{gap:15px}.hand-caption span{letter-spacing:3px}.finger-legend{gap:12px}.lesson-step strong{font-size:9px}.brand-symbol{width:42px}}
@media(max-width:650px){.sidebar{position:static;width:100%;height:auto;padding:14px 17px;flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--border)}.brand-symbol{width:37px;height:41px;transform:scale(.8);transform-origin:left center}.sidebar nav{margin:0;display:flex;gap:3px}.nav-item{padding:10px}.nav-item .icon{width:20px;height:20px}.workspace{margin:0}.topbar{height:55px;padding:0 18px}.breadcrumb{font-size:8px;max-width:170px;line-height:1.5}.breadcrumb>span{display:none}.top-actions{gap:5px}.language-switch button{padding:3px 9px}main{padding:22px 16px}.eyebrow{font-size:8px;letter-spacing:1px}h1{font-size:29px}.page-heading p{font-size:12px}.lesson-path{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.lesson-step{min-height:60px;padding:8px}.lesson-step strong{font-size:9px}.lesson-step .step-number{width:18px;height:18px;margin-bottom:4px}.lesson-info p{font-size:10px}.lesson-info strong{font-size:12px}.stats-bar{padding:12px 10px;gap:8px}.stat{padding-left:9px}.stat strong{font-size:20px}.stat small{font-size:8px}.timer-stat .icon{display:none}.timer-stat{padding:0}.error-stat{display:none}.stats-bar{grid-template-columns:1.15fr repeat(3,1fr)}#targetText{font-size:20px;line-height:1.85}#textViewport{height:108px}.exercise-area{padding:18px 16px 8px;min-height:130px}.typing-footer{padding:8px 12px 11px}.typing-footer>span{font-size:9px;max-width:180px}.typing-footer>div{gap:8px}.small-primary{padding:6px 10px}.small-primary span{margin-left:5px}.keyboard{padding:6px;border-radius:8px}.key-row{gap:3px;margin-bottom:4px}.key{height:25px;font-size:9px;border-radius:3px}.key.special{font-size:6px}.key .shift-symbol{font-size:6px;left:2px;top:0}.hands{gap:7px}.hand{width:105px;height:85px}.hands-section{gap:8px;margin-top:14px}.hand-caption{font-size:8px}.hand-caption span{font-size:8px;letter-spacing:1px}.finger-legend{gap:7px;font-size:7px;flex-wrap:wrap}.finger-legend i{width:5px;height:5px}.page-footer{font-size:8px;gap:15px}.page-footer>span:last-child{max-width:135px;text-align:right}.mode-controls{flex-wrap:wrap;gap:15px}.segmented button{padding:7px 13px}.mode-controls select{padding:8px 12px}.library-intro{gap:15px}.library-intro p{font-size:11px}.book-grid{gap:11px}.book-cover{padding:15px;height:113px}.book-cover>strong{font-size:21px}.book-body{padding:12px}.book-body h3{font-size:13px}.book-meta{font-size:8px;flex-wrap:wrap}.book-preview{font-size:10px}.book-author{font-size:10px}.progress-summary{gap:8px}.summary-card{padding:15px 11px}.summary-card strong{font-size:25px}.summary-card span{font-size:10px}.badge-row{gap:7px}.badge{padding:13px 7px}.history-card{padding:14px;overflow:auto}.history-card td,.history-card th{padding:9px 5px;font-size:9px;white-space:nowrap}dialog{padding:30px 23px}.result-stats{gap:7px}.result-stats strong{font-size:25px}.result-stats small{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
/* Keep the text, keyboard and both hands together during practice. */
@media(min-width:951px){
 .practice-active .page-heading,.practice-active #learnControls,.practice-active #speedControls,.practice-active .page-footer{display:none}
 .practice-active .topbar{height:60px}.practice-active main{padding-top:20px}
 .practice-active .lesson-info{margin-bottom:12px}
 .practice-active .exercise-area{min-height:125px;padding-top:15px;padding-bottom:10px}
 .practice-active #textViewport{height:100px}
 .practice-active .hands-section{margin-top:12px}
}
@media(min-width:951px) and (max-height:820px){
 .practice-active .topbar{height:52px}.practice-active main{padding-top:15px}
 .practice-active .stats-bar{padding-top:13px;padding-bottom:12px}
 .practice-active .typing-footer{padding-top:5px;padding-bottom:8px;min-height:44px}
 .practice-active .exercise-area{min-height:112px;padding-top:12px;padding-bottom:8px}
 .practice-active #textViewport{height:92px}
 .practice-active .key{height:28px}.practice-active .keyboard{padding:8px}
 .practice-active .keyboard-heading{margin-top:12px;margin-bottom:8px}
 .practice-active .hand{width:127px;height:100px}
 .practice-active .hands-section{margin-top:10px}
 .practice-active .finger-legend{margin-top:4px}
}
