@font-face{font-family:Manrope;src:url('./fonts/manrope-variable.woff2') format('woff2');font-weight:200 800;font-display:swap}@font-face{font-family:'JetBrains Mono';src:url('./fonts/jetbrains-mono-variable.woff2') format('woff2');font-weight:100 800;font-display:swap}@font-face{font-family:'Noto Sans Devanagari';src:url('./fonts/noto-sans-devanagari-variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--ui-font:Manrope,'Noto Sans Devanagari',system-ui,sans-serif;--reading-font:'JetBrains Mono','Noto Sans Devanagari',ui-monospace,monospace}.passage-sans{--reading-font:Manrope,'Noto Sans Devanagari',sans-serif}body{font-family:var(--ui-font);font-size:15px;letter-spacing:-.2px}button,input,select,textarea{font-family:var(--ui-font)}button,.button{font-size:13px;min-height:44px}.eyebrow{font-size:11px;letter-spacing:1.5px}.small,.rule-note{font-size:12px}.context{grid-template-columns:1.1fr .8fr 1fr}.context label,.test-setup summary,.practice-rules summary{font-size:12px}.context select{font-size:12px}.header-inner nav a{font-size:13px;padding:10px 16px}.header-inner nav .theme{width:38px;min-height:40px;margin:0;font-size:19px}.typing-surface .passage,.typing-surface .typing-input,.numeric-source{font-family:var(--reading-font);font-variant-ligatures:none}.hero-skills{font-size:13px}.hero-description{line-height:1.9}.home-hero h1{font-weight:800;letter-spacing:-3px}.home-layout{gap:42px}.practice-foot p,.practice-foot #comparison-note{font-size:11px}.card{box-shadow:0 5px 25px #15372805}.exercise-card p{font-size:14px}.exercise-link{font-size:13px}.reduce-motion *,.reduce-motion *::before,.reduce-motion *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.studio-note{font-size:13px;line-height:1.8;color:var(--muted);margin:24px 0}.discovery-grid,.library-grid,.lessons-grid,.tips-grid,.challenge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.discovery-card{padding:25px;display:flex;flex-direction:column;gap:13px;color:var(--ink);transition:transform .18s,border-color .18s}.discovery-card:hover{transform:translateY(-3px);text-decoration:none;border-color:var(--accent)}.discovery-card>span{font-size:11px;font-weight:700;color:var(--accent)}.discovery-card h3{font-size:22px;line-height:1.3;letter-spacing:-.8px}.discovery-card p{font-size:13px;line-height:1.8;color:var(--muted)}.discovery-card b{font-size:12px;margin-top:auto}.discovery-card:nth-child(2){background:#eaf0df}.dark .discovery-card:nth-child(2){background:var(--tint)}.discovery-card:nth-child(3){background:#173c32;color:#f0f8ef}.discovery-card:nth-child(3)>span,.discovery-card:nth-child(3) p{color:#c1d6ca}
.studio-head{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;padding:25px 0}.studio-head h1{font-size:41px;line-height:1.15;letter-spacing:-1.8px;font-weight:800;margin:9px 0 13px}.studio-head p:not(.eyebrow){font-size:15px;line-height:1.8;color:var(--muted);max-width:700px}.studio-workspace{padding:25px;max-width:1080px;margin:auto}.studio-subnav{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:18px}.studio-subnav a{font-size:12px;font-weight:650;padding:8px 13px;background:var(--soft);border-radius:8px;color:var(--muted)}.studio-subnav a:hover{background:var(--tint);color:var(--accent);text-decoration:none}.studio-setup-details>summary{font-size:12px;color:var(--muted)}.studio-setup{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:12px;align-items:end;margin-top:14px}.studio-setup label,.library-toolbar label{font-size:12px;font-weight:650;color:var(--muted)}.studio-setup select,.library-toolbar select{width:100%;font-size:12px;min-height:44px;background:var(--soft)}.studio-input-help{font-size:12px;line-height:1.8;color:var(--muted);padding:15px 0;border-bottom:1px solid var(--line);margin-bottom:18px}.studio-practice-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.studio-practice-bar>span{font-size:12px;color:var(--muted)}.studio-practice-bar>strong{font-size:28px;letter-spacing:-1px;font-variant-numeric:tabular-nums}.studio-practice-bar .row{gap:5px}.studio-practice-bar button{min-width:35px;min-height:38px;font-size:11px;padding:6px 9px}.studio-target{height:250px;padding:23px 26px;overflow:auto;background:var(--soft);border:1px solid var(--line);border-radius:12px;font:23px/1.9 var(--reading-font);letter-spacing:0;font-variant-ligatures:none;white-space:pre-wrap;overflow-wrap:anywhere;position:relative;scrollbar-width:thin}.studio-target[lang=hi],.studio-target[lang=mr]{font-family:'Noto Sans Devanagari',sans-serif;line-height:2.05;font-variant-ligatures:normal}.typed-ok{color:var(--ink)}.typed-wrong{color:var(--error);background:color-mix(in srgb,var(--error) 10%,transparent);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}.typing-current{border-bottom:3px solid var(--accent);background:var(--tint)}.studio-entry{margin-top:18px}.studio-entry label{display:flex;justify-content:space-between;font-size:13px;font-weight:650;gap:10px;margin-bottom:7px}.studio-entry label span{font-size:11px;font-weight:400;color:var(--muted)}.studio-entry textarea{width:100%;min-height:108px;max-height:240px;resize:vertical;font:20px/1.8 var(--reading-font);background:var(--surface);padding:15px 18px;border-radius:10px;letter-spacing:0}.studio-entry textarea[lang=hi],.studio-entry textarea[lang=mr]{font-family:'Noto Sans Devanagari',sans-serif;line-height:2}.studio-practice-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.studio-progress-line{display:flex;gap:15px;align-items:center;margin:16px 0 12px}.studio-progress-line progress{width:100px;flex:1}.studio-progress-line span{font-size:11px;color:var(--muted);flex-shrink:0}.lesson-note{padding:17px;background:var(--tint);border-radius:10px;margin-top:17px;font-size:13px;line-height:1.8}.lesson-note .eyebrow{font-size:10px}.passage-read summary{font-weight:700}.passage-read>div{white-space:pre-wrap;font:16px/2 var(--ui-font);max-width:850px;margin:24px auto}.practice-in-session .studio-head{padding:16px 0}.practice-in-session .studio-head h1{font-size:29px}.practice-in-session .studio-head p:not(.eyebrow),.practice-in-session .studio-subnav{display:none}.practice-in-session .studio-input-help{font-size:11px;padding:7px 0 12px}.keyboard-guide{display:grid;gap:5px;margin:15px 0}.keyboard-guide>div{display:flex;justify-content:center;gap:5px}.keyboard-guide kbd{display:grid;place-items:center;width:38px;height:39px;border:1px solid var(--line);border-bottom-width:3px;border-radius:7px;background:var(--soft);font:14px var(--reading-font)}.keyboard-guide .guide-active{background:var(--tint);color:var(--accent);border-color:var(--control)}.studio-result-card{margin-top:24px;scroll-margin-top:18px}.studio-result-card h2{font-size:29px;margin:9px 0 12px}.studio-result-card .stats{margin-top:22px}.studio-result-card .stat strong{font-size:34px}progress,meter{height:7px;border:0;border-radius:12px;overflow:hidden;accent-color:var(--accent)}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:var(--accent);border-radius:12px}
.library-toolbar{display:flex;gap:18px;align-items:end;flex-wrap:wrap;padding:21px}.library-toolbar label{flex:1;min-width:150px}.library-toolbar .library-search{flex:1.6}.library-toolbar input{width:100%;font-size:13px;background:var(--soft);min-height:44px}.library-grid{margin-top:18px}.library-card{padding:25px;display:flex;flex-direction:column;gap:18px;min-width:0}.library-tag{font-size:10px;text-transform:uppercase;letter-spacing:1px;background:var(--tint);color:var(--accent);border-radius:5px;padding:4px 8px}.library-card h2{font-size:23px;line-height:1.45;letter-spacing:-.8px}.library-card h2[lang=hi],.library-card h2[lang=mr]{font-family:'Noto Sans Devanagari',sans-serif;line-height:1.7}.passage-excerpt{font-size:13px;line-height:1.9;color:var(--muted);margin-bottom:auto}.passage-excerpt[lang=hi],.passage-excerpt[lang=mr]{font-size:14px;line-height:2;font-family:'Noto Sans Devanagari',sans-serif}.library-card>.row:last-child{margin-top:auto;flex-wrap:wrap;gap:10px;font-size:12px}.library-card .button{font-size:11px;padding:8px 11px}.custom-panel>p{font-size:14px;line-height:1.8;margin:10px 0 20px}.custom-panel>label{font-size:13px;display:block;margin:15px 0}.custom-panel select{display:block;width:min(100%,300px);margin-top:7px}.custom-panel textarea{width:100%;min-height:180px;font-size:16px;line-height:1.9;padding:15px;margin-top:8px}.file-control{font-size:12px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.file-control input{font-size:12px;max-width:240px;border:0;padding:5px;min-height:40px}.learn-overview{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:25px}.learn-overview>label{font-size:12px;min-width:180px}.learn-overview strong{display:block;font-size:27px;letter-spacing:-1px}.learn-overview span{font-size:12px;color:var(--muted)}.lesson-card{padding:25px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}.lesson-card .row{width:100%}.lesson-index{font:20px var(--reading-font);color:var(--accent)}.lesson-badge{font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:20px;padding:4px 7px}.lesson-badge.done{background:var(--tint);color:var(--accent)}.lesson-card .eyebrow{font-size:9px}.lesson-card h2{font-size:23px;letter-spacing:-.8px}.lesson-card p:not(.eyebrow){font-size:13px;line-height:1.85;color:var(--muted)}.lesson-card .button{font-size:12px;margin-top:auto}.tip-card{padding:27px;display:flex;flex-direction:column;gap:19px}.tip-card h2{font-size:23px;line-height:1.4;letter-spacing:-.8px}.tip-card>p{font-size:14px;line-height:1.9;color:var(--muted);margin-bottom:auto}.tip-card .eyebrow{font-size:9px}.tip-card .text-link{font-size:12px}.challenge-grid h2{font-size:27px;line-height:1.3;margin:13px 0}.challenge-grid p{font-size:14px;line-height:1.8}.challenge-grid label{display:block;font-size:12px;margin-top:15px}
.studio-dashboard{display:grid;grid-template-columns:1fr 1fr;gap:20px}.studio-dashboard h3{font-size:25px;letter-spacing:-.7px;margin:12px 0}.studio-dashboard progress{width:100%;margin-top:15px}.studio-dashboard label{display:flex;align-items:center;gap:20px;font-size:12px;margin-top:18px}.studio-dashboard select{max-width:200px;flex:1}.achievement-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.achievement-list span{font-size:11px;background:var(--soft);padding:9px;border:1px solid var(--line);border-radius:7px;color:var(--muted)}.achievement-list .earned{background:var(--tint);color:var(--accent);border-color:var(--control)}.studio-progress>.panel>h3,.studio-progress .row>h3{font-size:23px;letter-spacing:-.6px;margin-bottom:10px}.studio-progress .row>label{font-size:11px}.studio-progress td small{display:block;font-size:10px;color:var(--muted)}.studio-progress td,.studio-progress th{font-size:12px}.weak-keys{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.weak-keys>div{display:flex;gap:13px;align-items:center;background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:9px 13px}.weak-keys strong{font:23px var(--reading-font)}.weak-keys span{font-size:10px;color:var(--muted)}.studio-best-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.studio-best-grid .best-card{margin-top:12px;color:var(--ink)}.studio-best-grid .best-card>span:first-child{font-size:13px}.studio-best-grid .best-card:hover{border-color:var(--accent);text-decoration:none}.trend-list{list-style:none;padding:0;display:grid;gap:12px;margin-top:18px}.trend-list li{display:flex;align-items:center;gap:15px;font-size:11px}.trend-list meter{height:13px;flex:1}.trend-list strong{font-size:11px;font-weight:500}.studio-settings{padding:28px;width:min(500px,calc(100% - 32px))}.studio-settings h2{font-size:24px;letter-spacing:-.8px}.studio-settings label{font-size:13px;display:flex;flex-direction:column;gap:7px;margin-top:18px}.studio-settings .check-label{flex-direction:row;align-items:center;gap:12px}.check-label input[type=checkbox]{width:18px;min-height:18px;height:18px;padding:0;margin:0;accent-color:var(--accent)}.studio-settings input[type=range]{width:100%;padding:0;min-height:32px;accent-color:var(--accent)}.studio-settings select{width:100%}.studio-settings p{font-size:13px;line-height:1.8}
.games-gallery{display:grid;grid-template-columns:1fr 1fr;gap:24px}.game-preview{overflow:hidden;color:var(--ink);display:flex;flex-direction:column;transition:transform .2s,border-color .2s}.game-preview:hover{text-decoration:none;transform:translateY(-4px);border-color:var(--accent)}.game-preview>div:last-child{padding:29px}.game-preview h2{font-size:34px;letter-spacing:-1.5px;margin:13px 0}.game-preview p:not(.eyebrow){font-size:14px;line-height:1.8;color:var(--muted);margin-bottom:22px}.preview-world{height:235px;background:linear-gradient(170deg,#f0f7ee,#d9ece2);display:flex;justify-content:center;align-items:center;gap:20px}.preview-world span{font:18px var(--reading-font);padding:10px 18px;background:#fff;border:1px solid #b6cdbf;border-radius:10px;box-shadow:0 5px 10px #14392a0b}.preview-world span:first-child{transform:translateY(-36px)}.preview-world span:nth-child(2){transform:translateY(25px)}.preview-world span:last-child{background:#116b54;color:white;transform:translateY(50px)}.preview-number{height:235px;background:var(--soft);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}.preview-number strong{font:700 66px var(--reading-font);letter-spacing:-4px}.preview-number small,.preview-number span{font-size:12px;color:var(--muted)}.game-head{padding:18px 0 22px}.game-head h1{font-size:43px;margin:10px 0}.game-controls{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:620px}.game-controls select{font-size:12px;min-width:100px;max-width:140px;padding:8px;min-height:43px}.game-controls button{font-size:12px;padding:8px 13px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:20px}.game-main{min-width:0}.game-score-strip{display:flex;gap:22px;padding:16px 22px;background:var(--surface);border:1px solid var(--line);border-radius:13px;margin-bottom:15px}.game-score-strip>div{flex:1;min-width:0;border-right:1px solid var(--line)}.game-score-strip>div:last-child{border:0}.game-score-strip span{display:block;font-size:11px;color:var(--muted);margin-bottom:3px}.game-score-strip strong{font-size:25px;letter-spacing:-.8px;font-variant-numeric:tabular-nums}.word-playfield{height:330px;position:relative;background-color:var(--soft);border:1px solid var(--line);border-radius:14px;overflow:hidden;background-image:url("data:image/svg+xml,%3Csvg width='1000' height='400' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 400'%3E%3Cpath fill='%230f7660' fill-opacity='.045' d='M0 230Q140 130 300 290T650 260T1000 170V400H0Z'/%3E%3Cpath fill='%230f7660' fill-opacity='.05' d='M0 320Q160 180 340 330T690 280T1000 250V400H0Z'/%3E%3Cpath fill='%230f7660' fill-opacity='.07' d='M0 370Q160 220 400 360T800 330T1000 310V400H0Z'/%3E%3C/svg%3E");background-size:cover}.field-note{position:absolute;top:14px;left:20px;font-size:10px;color:var(--muted)}.falling-word,.queued-word{position:absolute;transform:translate(-50%,-50%);font:600 22px/1.7 var(--reading-font);background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:9px 22px;box-shadow:0 6px 13px #17382b12;white-space:nowrap;max-width:90%;overflow:hidden;text-overflow:ellipsis}.falling-word{left:50%;top:45%;border:2px solid var(--accent);box-shadow:0 0 22px #0f766021;z-index:2;will-change:top}.queued-word{font-size:17px;color:var(--muted)}.queue-one{left:27%;top:25%}.queue-two{left:76%;top:42%}.falling-word[lang=hi],.falling-word[lang=mr],.queued-word[lang=hi],.queued-word[lang=mr]{font-family:'Noto Sans Devanagari',sans-serif}.word-floor{position:absolute;left:0;right:0;bottom:12px;border-top:1px dashed #83b49e;height:15px;background:#0f766012}.static-playfield .queued-word{opacity:.45}.static-playfield .falling-word{will-change:auto}.game-overlay{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;padding:20px;text-align:center;background:color-mix(in srgb,var(--surface) 93%,transparent)}.game-overlay strong{font-size:29px;letter-spacing:-.8px}.game-overlay p{font-size:13px;line-height:1.8;color:var(--muted);max-width:310px}.game-entry{margin-top:17px;padding:17px 21px}.game-entry label{font-size:13px;font-weight:650}.game-entry .row:first-child{min-height:20px;margin-bottom:9px}.game-entry #game-flash{font-size:11px;color:var(--accent)}.game-entry-row{display:flex;gap:12px}.game-entry input{min-width:0;flex:1;width:100%;font:26px/1.5 var(--reading-font);letter-spacing:0;padding:10px 15px;background:var(--surface);border-radius:9px;border-color:var(--accent);min-height:55px}.game-entry input[lang=hi],.game-entry input[lang=mr]{font-family:'Noto Sans Devanagari',sans-serif}.game-entry p{font-size:11px;line-height:1.6;color:var(--muted);margin:8px 0 12px}.game-entry-row .primary{white-space:nowrap}.game-entry #game-end{font-size:11px;padding:4px 9px;min-height:32px}.game-sidebar{display:flex;flex-direction:column;gap:16px}.game-rhythm{padding:25px;flex:1}.game-rhythm h2{font-size:30px;letter-spacing:-1px;margin:17px 0}.game-rhythm progress{width:100%;margin-bottom:22px}.game-rhythm>strong{font-size:23px;letter-spacing:-.5px;color:var(--accent);display:block;margin-bottom:10px}.game-rhythm>p:not(.eyebrow){font-size:12px;line-height:1.9;color:var(--muted)}.game-rhythm h3{font-size:15px;margin-bottom:10px}.game-rhythm hr{border:0;border-top:1px solid var(--line);margin:23px 0}.game-rhythm .eyebrow{font-size:10px}.game-last{padding:22px}.game-last strong{font:14px/1.9 var(--ui-font);display:block;overflow-wrap:anywhere;margin-top:12px}.game-category{display:flex;background:var(--surface);border:1px solid var(--line);padding:5px;border-radius:12px;width:min(600px,100%);margin:0 0 22px;gap:5px}.game-category button{flex:1;border:0;background:transparent;font-size:13px}.game-category .selected{background:var(--accent);color:var(--surface)}.dark .game-category .selected{color:#173b2d}.number-task{padding:25px}.task-heading{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:19px;font-size:10px;letter-spacing:1px;color:var(--muted)}.number-task h2{font-size:20px;letter-spacing:-.6px;text-align:center;margin:26px 0 19px}.number-target{padding:24px 10px;background:var(--soft);border-radius:10px;text-align:center}.number-target>strong{font:750 clamp(40px,6.5vw,78px)/1.4 var(--reading-font);letter-spacing:-3px;overflow-wrap:anywhere}.number-target>p{font-size:12px;color:var(--muted);margin-top:8px}.number-task>#game-start{display:flex;margin:20px auto 0}.number-key-hints{display:flex;gap:8px;justify-content:center;margin-top:18px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.number-key-hints kbd{display:grid;place-items:center;flex:1;max-width:45px;height:40px;background:var(--soft);border:1px solid var(--line);border-radius:6px;font:15px var(--reading-font)}.game-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted);margin:22px 0}.check-label{display:flex;align-items:center;gap:8px;font-size:12px}.game-footer details{max-width:600px;flex:1}.game-footer details p{line-height:1.8;margin-top:15px}.game-footer details summary{width:max-content}.game-footer>span{font-size:10px;white-space:nowrap}
@media(min-width:1500px){.studio-page{width:min(1320px,calc(100% - 80px))}}
@media(max-width:1099px){.library-grid,.lessons-grid,.tips-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-setup{grid-template-columns:repeat(3,minmax(0,1fr))}.game-head{align-items:flex-start;flex-direction:column;gap:5px}.game-controls{max-width:none;justify-content:flex-start}.game-layout{grid-template-columns:minmax(0,1fr) 240px}.game-rhythm{padding:22px}.game-score-strip{gap:15px;padding:17px}.game-score-strip strong{font-size:23px}.studio-best-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.challenge-grid{grid-template-columns:1fr 1fr}.discovery-card{padding:22px}.discovery-card h3{font-size:21px}}
@media(max-width:760px){.studio-head h1{font-size:34px}.studio-head p:not(.eyebrow){font-size:14px}.studio-workspace{padding:20px}.studio-target{padding:18px;font-size:21px;height:220px}.game-layout{grid-template-columns:1fr}.game-sidebar{display:grid;grid-template-columns:1fr 1fr}.game-rhythm>h3,.game-rhythm hr,.game-rhythm>p.small{display:none}.game-last{align-self:start}.game-footer{flex-wrap:wrap}.game-footer>span{width:100%}.studio-dashboard,.discovery-grid,.challenge-grid{grid-template-columns:1fr}.learn-overview{flex-wrap:wrap;gap:15px}.learn-overview>label{flex:1}.preview-world{gap:8px}.preview-world span{padding:8px 11px;font-size:14px}}
@media(max-width:600px){.header-inner nav a{font-size:11px;padding:9px 7px}.header-inner nav .theme{width:34px;min-height:38px;flex:none}.header-inner nav{gap:0}.context{grid-template-columns:1fr 1fr}.context label:first-child{grid-column:1/-1}.home-hero h1{font-size:39px;letter-spacing:-2px}.home-layout .typing-workspace{padding:14px}.tabs a{font-size:11px}.practice-foot p,.practice-foot #comparison-note{font-size:10px}.studio-head{padding:22px 0;gap:15px}.studio-head h1{font-size:31px;letter-spacing:-1.4px}.studio-head .eyebrow{font-size:9px}.studio-head p:not(.eyebrow){font-size:13px}.studio-workspace{padding:16px;border-radius:15px;display:flex;flex-direction:column}.studio-subnav{order:0;gap:4px;padding-bottom:14px;margin-bottom:15px}.studio-subnav a{flex:1;font-size:10px;padding:7px 4px;text-align:center}.studio-setup-details{order:1}.studio-setup{grid-template-columns:1fr 1fr;gap:12px}.studio-setup button{grid-column:1/-1}.studio-input-help,.studio-workspace>.lesson-note{order:2;font-size:11px;line-height:1.8;padding:13px 0;margin-bottom:14px}.studio-workspace>.lesson-note{padding:13px}.studio-practice-bar{order:3;gap:8px;margin-bottom:10px}.studio-practice-bar>span{font-size:10px;max-width:100px}.studio-practice-bar>strong{font-size:23px}.studio-practice-bar .row{gap:3px}.studio-practice-bar button{font-size:10px;min-width:29px;min-height:34px;padding:5px}.studio-target{order:5;height:180px;padding:17px;font-size:20px}.studio-practice-actions{order:4;margin:5px 0 16px}.studio-practice-actions .primary{width:100%}.studio-entry{order:6;margin-top:15px}.studio-progress-line{order:8;gap:8px;align-items:flex-start;flex-direction:column;margin:10px 0}.studio-progress-line progress{width:100%;min-height:6px;flex:auto}.studio-progress-line span{font-size:10px}.studio-workspace>#studio-feedback{order:9;font-size:11px;line-height:1.8}.studio-workspace>.practice-rules{order:10}.studio-workspace>#finger-guide{order:8}.practice-in-session .studio-practice-actions{order:7;margin:13px 0}.practice-in-session .studio-head{padding:15px 0}.practice-in-session .studio-head h1{font-size:25px}.studio-entry label{font-size:12px;gap:4px;flex-wrap:wrap}.studio-entry label>span{font-size:10px}.studio-entry textarea{font-size:18px;min-height:100px;padding:12px}.studio-result-card .stats{grid-template-columns:1fr 1fr}.studio-result-card .stat{padding:13px}.studio-result-card .stat strong{font-size:26px}.studio-result-card .stat span{font-size:10px}.studio-result-card h2{font-size:25px}.keyboard-guide kbd{width:24px;height:31px;font-size:11px}.keyboard-guide>div{gap:3px}.library-toolbar{padding:17px;gap:14px}.library-toolbar label{min-width:110px}.library-toolbar .library-search{flex-basis:100%}.library-toolbar>a{width:100%;justify-content:center}.library-grid,.lessons-grid,.tips-grid{grid-template-columns:1fr;gap:14px}.library-card{padding:23px}.library-card .button{font-size:12px}.custom-panel{padding:21px}.custom-panel h2{font-size:27px}.learn-overview{padding:20px;gap:20px}.learn-overview>label{flex-basis:100%}.learn-overview strong{font-size:25px}.learn-overview>a{font-size:11px;padding:8px}.lesson-card{padding:23px;gap:15px}.lesson-card h2{font-size:23px}.tip-card{padding:24px}.tip-card h2{font-size:24px}.achievement-list,.studio-best-grid{grid-template-columns:1fr}.studio-progress h2{font-size:29px}.studio-progress .panel{padding:21px}.studio-progress .row>label{width:100%;margin-top:10px}.studio-progress select{width:100%}.studio-dashboard label{flex-direction:column;gap:8px;align-items:stretch}.studio-dashboard select{max-width:none}.trend-list li{gap:7px;flex-wrap:wrap}.trend-list strong{font-size:10px}.studio-settings{padding:23px}.studio-settings h2{font-size:22px}.games-gallery{grid-template-columns:1fr;gap:18px}.game-preview>div:last-child{padding:25px}.preview-world,.preview-number{height:190px}.preview-number strong{font-size:58px}.game-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:7px;margin-top:12px}.game-controls select{min-width:0;max-width:none;width:100%;font-size:11px;padding:6px}.game-controls button{font-size:10px;padding:7px 5px;min-height:43px}.game-score-strip{padding:15px 13px;gap:12px;margin-bottom:12px}.game-score-strip span{font-size:9px;line-height:1.5;min-height:27px}.game-score-strip strong{font-size:21px;letter-spacing:-.8px;white-space:nowrap}.word-playfield{height:280px;border-radius:11px}.falling-word{font-size:20px;padding:7px 18px}.queued-word{font-size:14px;padding:6px 11px}.queue-one{left:24%;top:25%}.queue-two{left:75%;top:35%}.field-note{font-size:9px;left:13px;max-width:90%}.game-entry{padding:16px;margin-top:13px}.game-entry .row:first-child{align-items:flex-start;gap:9px}.game-entry #game-flash{font-size:10px;max-width:60%;text-align:right}.game-entry input{font-size:23px;padding:8px 12px;min-height:54px}.game-entry-row{flex-wrap:wrap;gap:9px}.game-entry-row .primary{width:100%;font-size:12px;justify-content:center}.game-entry p{font-size:10px;line-height:1.7}.game-sidebar{grid-template-columns:1fr 1fr;gap:12px}.game-rhythm,.game-last{padding:18px;min-width:0}.game-rhythm .eyebrow,.game-last .eyebrow{font-size:8px;letter-spacing:1px}.game-rhythm h2{font-size:24px;margin:10px 0}.game-rhythm>strong{font-size:17px}.game-rhythm>p:not(.eyebrow){font-size:10px}.game-rhythm progress{margin-bottom:13px}.game-last strong{font-size:12px;line-height:1.8}.game-category{gap:2px;padding:4px;border-radius:9px;margin-bottom:15px}.game-category button{font-size:11px;padding:8px 5px}.number-task{padding:19px}.task-heading{font-size:8px;letter-spacing:.5px;gap:7px;padding-bottom:14px}.task-heading span:last-child{display:none}.number-task h2{font-size:17px;margin:20px 0 14px}.number-target{padding:23px 8px}.number-target>strong{font-size:clamp(32px,10vw,52px);letter-spacing:-2px}.number-target>p{font-size:10px;line-height:1.8}.number-task>#game-start{width:100%;justify-content:center;font-size:12px}.number-key-hints{gap:4px;padding:8px}.number-key-hints kbd{font-size:11px;height:31px}.game-overlay strong{font-size:25px}.game-overlay p{font-size:12px}.game-footer{gap:15px;font-size:10px}.game-footer .check-label{font-size:11px}.game-footer details{flex-basis:100%}.game-footer>span{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}@media(max-height:500px){.practice-in-session .studio-head,.practice-in-session .studio-input-help{display:none}.practice-in-session .studio-target{height:105px}.practice-in-session .studio-entry textarea{min-height:65px}.practice-in-session .studio-workspace{margin-top:12px}}

/* Keep the first action close on tablet widths as well as phones. */
@media(min-width:601px) and (max-width:1099px){body:not(.focused-practice) .home-hero{display:grid;grid-template-columns:1fr 1fr;gap:8px 28px;text-align:left;align-items:center;max-width:900px}.home-hero .hero-badge{grid-column:1/-1;justify-content:flex-start;margin:0 0 8px}.home-hero h1{font-size:clamp(34px,4.8vw,48px);letter-spacing:-2px}.home-hero .hero-description{font-size:14px;margin:0;line-height:1.8}.home-hero .hero-skills,.home-hero .hero-link{display:none}body:not(.focused-practice) .home-layout .typing-workspace{display:flex;flex-direction:column}body:not(.focused-practice) .home-layout .typing-workspace .tabs{order:0}body:not(.focused-practice) .home-layout .typing-workspace .workspace-heading{order:1}body:not(.focused-practice) .home-layout .typing-workspace .test-setup{order:2}body:not(.focused-practice) .home-layout .typing-workspace .practice-bar{order:3}body:not(.focused-practice) .home-layout .typing-workspace .start-row{order:4}body:not(.focused-practice) .home-layout .typing-workspace .typing-surface{order:5}body:not(.focused-practice) .home-layout .typing-workspace .practice-foot{order:6}body:not(.focused-practice) .home-layout .typing-workspace .practice-rules{order:7}}
