@font-face{font-family:Fraunces;src:url('assets/fraunces.ttf') format('truetype');font-weight:100 900;font-display:swap}
@font-face{font-family:DM;src:url('assets/dm-sans.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--paper:#f7f5ee;--white:#fffdf8;--ink:#244b40;--muted:#69796d;--line:#dfe4d7;--green:#175d49;--sage:#e8eddc;--coral:#ba5b42;--softcoral:#f6e6dc;--gold:#e2bc70;--visible-height:100dvh;font-family:DM,system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0;background:none}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.6}button:focus-visible,a:focus-visible{outline:3px solid #be773f;outline-offset:5px}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}
h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Fraunces,Georgia,serif;font-variation-settings:'SOFT' 90,'WONK' 1;font-weight:650;letter-spacing:-.04em}h1{font-size:clamp(40px,4.5vw,64px);line-height:1.09}h2{font-size:36px;line-height:1.14}h3{font-size:24px;line-height:1.2}p{line-height:1.65}.small{font-size:13px;color:var(--muted)}.eyebrow{display:block;font-size:11px;font-weight:750;letter-spacing:.16em;margin-bottom:12px;color:var(--muted)}.accent{color:var(--coral)}.skip-link{position:fixed;top:-60px;background:var(--green);color:white;padding:12px;z-index:100}.skip-link:focus{top:0}
.topbar{max-width:1400px;margin:auto;padding:25px 46px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-family:Fraunces,Georgia,serif;font-size:21px;font-weight:700;line-height:1.05;letter-spacing:-.04em;white-space:nowrap}.brand small{display:block;font-family:DM,sans-serif;font-size:10px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;margin-top:6px}.brand-symbol{font-family:Fraunces,serif;background:var(--green);color:var(--paper);font-size:36px;line-height:50px;width:50px;height:50px;text-align:center;border-radius:16px;position:relative}.brand-symbol span{font-size:20px;color:#e6b877;margin-left:-4px}.topbar nav{display:flex;align-items:center;gap:6px;background:#edeedf;border-radius:30px;padding:5px}.nav-link{padding:10px 22px;border-radius:24px;font-size:14px;font-weight:600;color:#5d705f}.nav-link.active{background:var(--white);color:var(--green);box-shadow:0 2px 4px #34502c08}.header-actions{display:flex;align-items:center;gap:9px}.mode-button{font-size:12px;border:1px solid #cbd6c5;border-radius:24px;padding:10px 14px;white-space:nowrap}.icon-button{width:40px;height:40px;display:inline-grid;place-items:center;font-size:21px;border:1px solid #d2dacb;border-radius:50%;background:transparent}.help-button{font-size:16px}.icon-button.muted{background:#eadcd0;color:#7c4b39}.icon-button:hover,.mode-button:hover{background:var(--sage)}
main{max-width:1260px;margin:auto;padding:42px 36px 56px;outline:none;min-height:60vh}.intro-hero{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:60px;padding:8px 0 42px}.intro-copy p{color:var(--muted);max-width:470px;font-size:16px;margin:20px 0 24px}.button{display:inline-flex;justify-content:center;align-items:center;gap:16px;padding:13px 24px;border-radius:26px;font-size:14px;font-weight:650;min-height:46px;border:1px solid transparent}.button.primary{background:var(--green);color:var(--white)}.button.primary:hover{background:#104835}.button.secondary{border-color:#cbd6c5;background:var(--white)}.button.secondary:hover{background:var(--sage)}.text-button{color:var(--green);text-decoration:underline;text-underline-offset:4px;padding:8px;font-size:13px}.hero-note{font-size:12px!important;display:flex;align-items:center;gap:8px;margin:15px 0 0!important}.hero-note:before{content:'';width:6px;height:6px;background:#75996b;border-radius:50%}.hero-photo{height:276px;position:relative;border-radius:28px 100px 28px 28px;background:var(--sage);overflow:hidden;transform:rotate(1.5deg);box-shadow:10px 10px 0 #e9e8d9}.hero-photo img{width:100%;height:100%;object-fit:cover}.hero-label{position:absolute;bottom:18px;left:18px;right:18px;background:#fffdf8ef;border-radius:15px;display:flex;align-items:center;gap:12px;padding:13px 17px}.hero-label .mini-key{background:var(--sage);border:1px solid #c9d4c0;border-bottom-width:3px;border-radius:7px;min-width:40px;padding:7px;text-align:center;font-family:monospace;font-size:21px}.hero-label strong{font-size:13px}.hero-label p{font-size:11px;color:var(--muted);margin-top:3px}.section-heading{border-top:1px solid var(--line);padding-top:28px;margin:4px 0 23px;display:flex;align-items:center;justify-content:space-between;gap:20px}.section-heading h2{font-size:27px}.section-heading p{font-size:12px;color:var(--muted)}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.lesson-card{background:var(--white);border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:transform .18s,border-color .18s;display:block;text-align:left;padding:0}.lesson-card:hover{transform:translateY(-4px);border-color:#9fac94}.lesson-card .photo{height:143px;position:relative;overflow:hidden}.lesson-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.lesson-card:hover img{transform:scale(1.04)}.lesson-number{position:absolute;top:12px;left:12px;border-radius:50%;width:29px;height:29px;background:#fffdf8ee;display:grid;place-items:center;font-size:11px;font-weight:700}.completed-badge{position:absolute;right:11px;top:13px;background:var(--green);color:white;border-radius:15px;padding:5px 9px;font-size:10px}.card-content{padding:18px 20px}.card-content h3{font-size:22px}.card-meta{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:12px;color:var(--muted)}.key-chips{display:flex;gap:5px}.key-chip{display:inline-flex;min-width:22px;height:24px;align-items:center;justify-content:center;background:#f0f1e6;border-radius:4px;border:1px solid #e2e5d8;font-family:monospace;color:#43664d;padding:0 5px;font-size:12px}.card-place{font-size:11px;margin-top:6px;color:var(--muted)}.site-footer{max-width:1260px;margin:auto;border-top:1px solid var(--line);padding:23px 36px;display:flex;gap:25px;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.site-footer button{font-size:12px;text-decoration:underline;text-underline-offset:3px}.site-footer button span{font-size:17px;margin-left:5px}
.activity-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px}.activity-bar h1{font-size:34px}.activity-title{display:flex;gap:18px;align-items:center}.back-button{width:40px;height:40px;border-radius:50%;border:1px solid #cbd5c4;font-size:22px}.activity-bar .eyebrow{margin-bottom:6px}.activity-status{display:flex;align-items:center;gap:15px}.badge{display:inline-flex;gap:7px;align-items:center;padding:8px 13px;background:var(--sage);border-radius:20px;font-size:12px;font-weight:650}.activity-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.85fr);gap:24px;align-items:start}.practice-panel{background:var(--white);border:1px solid var(--line);border-radius:24px;padding:29px 34px;text-align:center;min-height:510px}.instruction-row{display:flex;align-items:center;justify-content:center;gap:12px;font-size:14px;min-height:50px}.replay{font-size:20px;min-width:38px;min-height:38px;color:var(--green)}.exercise-prompt{font-family:ui-monospace,'DejaVu Sans Mono',monospace;font-size:clamp(26px,3vw,36px);letter-spacing:.06em;line-height:1.7;min-height:92px;margin:25px 0 14px;overflow-wrap:anywhere;font-variant-ligatures:none;white-space:pre-wrap}.char{border-bottom:3px solid transparent;color:#798976}.char.correct{color:var(--green)}.char.wrong{color:#ac3f2e;background:#fbe6dd;border-radius:3px}.char.current{color:#263e32;border-bottom-color:var(--coral)}.char.space{letter-spacing:.08em}.capture-wrap{text-align:left;max-width:540px;margin:10px auto 0;position:relative}.capture-wrap label{font-size:10px;text-transform:uppercase;letter-spacing:.13em;font-weight:700;color:var(--muted);display:block;margin-bottom:7px}.typing-input{width:100%;height:49px;border:1px solid #c8d5c0;border-radius:9px;background:#f9faf2;padding:10px 13px;color:var(--ink);font-size:20px;font-family:ui-monospace,monospace;caret-color:var(--coral);outline:none;transition:border-color .2s,box-shadow .2s}.typing-input:focus{border-color:var(--green);box-shadow:0 0 0 3px #175d4912}.typing-input.error{background:#fff1e9;border-color:#c7755c}.input-help{min-height:24px;margin-top:9px;font-size:12px;color:var(--muted)}.input-help.error{color:#a3402c}.lesson-controls{margin:14px 0;min-height:47px}.keyboard-area{max-width:540px;margin:18px auto 0;border-top:1px solid var(--line);padding-top:20px}.keyboard{padding:0 4px}.key-row{display:flex;gap:4px;margin:4px 0;justify-content:center}.key{background:#f2f3ea;border:1px solid #d7ddce;border-bottom-width:2px;border-radius:5px;min-width:28px;flex:1;height:31px;display:grid;place-items:center;font-size:12px;color:#526753;transition:background .1s}.row-1{margin-left:12px;margin-right:12px}.row-2{margin-left:19px;margin-right:7px}.key.shift-key{min-width:43px;font-size:9px;flex:1.5}.key.home-key:after{content:'';width:7px;height:1px;background:currentColor;margin-top:-6px}.key.lit{background:var(--green);color:white;border-color:var(--green)}.key.space-key{flex:0 0 48%;height:24px;font-size:9px}.hand-guide{width:100%;height:71px;display:block;margin-top:9px}.puzzle-panel{background:#e9eddc;border-radius:24px;padding:23px}.puzzle-panel .eyebrow{font-size:10px}.puzzle-panel h2{font-size:27px;margin-bottom:18px}.puzzle-frame{border-radius:13px;overflow:hidden;background:#e3e5d7;box-shadow:0 0 0 6px #f5f5eb80;margin:8px 0 18px}.puzzle-svg{display:block;width:100%;height:auto}.puzzle-progress{display:flex;justify-content:space-between;font-size:11px;color:#5c7057;align-items:center}.progress-track{height:5px;background:#cdd8c1;border-radius:5px;margin:10px 0 15px;overflow:hidden}.progress-fill{height:100%;background:var(--green);transition:width .4s}.puzzle-caption{font-size:12px;color:#62715c;line-height:1.6}.puzzle-description{font-size:13px;line-height:1.7;margin-top:14px}.revealed-piece{animation:reveal .4s both}.completion-title{font-size:36px;margin:20px 0 14px}.completion-stat{font-family:Fraunces,serif;font-size:52px;color:var(--green);margin:10px 0}.completion-buttons{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:24px 0}.touch-mode .keyboard-area{display:none}.intro-lesson{padding:30px 12px}.intro-lesson .intro-keys{font-family:ui-monospace,monospace;letter-spacing:.2em;font-size:35px;color:var(--green);margin:22px 0}.intro-lesson p{font-size:15px;color:var(--muted);max-width:420px;margin:20px auto}.intro-lesson .button{margin:8px}
.page-intro{margin:10px 0 34px}.page-intro p{margin-top:17px;font-size:15px;color:var(--muted)}.speed-workspace{background:var(--white);padding:42px;border:1px solid var(--line);border-radius:24px}.settings-bar{display:flex;align-items:center;gap:22px;padding-bottom:24px;border-bottom:1px solid var(--line);flex-wrap:wrap}.segmented{display:flex;gap:4px;background:#edf0e3;padding:4px;border-radius:22px}.segmented button{padding:8px 17px;border-radius:18px;font-size:12px}.segmented button.active{background:var(--green);color:white}.setting-toggle{display:flex;align-items:center;gap:7px;font-size:12px;cursor:pointer}.setting-toggle input{accent-color:var(--green);width:15px;height:15px}.speed-stats{display:flex;gap:28px;align-items:center;padding:20px 0}.stat-label{color:var(--muted);font-size:10px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:4px;display:block}.stat-value{font-family:Fraunces,serif;font-size:28px}.timer-stat{margin-left:auto;color:var(--coral);font-size:28px;font-variant-numeric:tabular-nums}.speed-words{font-family:ui-monospace,'DejaVu Sans Mono',monospace;font-size:clamp(22px,3vw,33px);line-height:1.9;letter-spacing:.02em;height:200px;overflow:hidden;color:#94a08d;position:relative;white-space:pre-wrap;overflow-wrap:break-word;scroll-behavior:smooth;margin:12px 0 28px;font-variant-ligatures:none;mask-image:linear-gradient(black 78%,transparent)}.speed-words .char{border-bottom:0}.speed-words .char.current{border-left:2px solid var(--coral);margin-left:-2px}.result-panel{text-align:center;padding:35px 0}.result-grid{display:flex;justify-content:center;gap:45px;margin:28px 0}.result-grid .stat-value{font-size:48px}.result-grid .stat-label{font-size:11px}.speed-start{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0 0}.speed-start p{font-size:13px;color:var(--muted)}
.game-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}.game-card{background:var(--white);border:1px solid var(--line);border-radius:24px;overflow:hidden;display:flex;flex-direction:column}.game-illustration{height:235px;background:#e5ebd6;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.game-illustration svg{width:210px;height:200px;z-index:1}.game-illustration.safari:before{content:'';position:absolute;width:230px;height:130px;background:#cedcbd;border-radius:50%;bottom:-10px;left:-70px;transform:rotate(-30deg)}.game-illustration.hawker{background:#f0dfc9}.game-illustration.hawker:before{content:'';position:absolute;top:0;left:0;right:0;height:40px;background:repeating-linear-gradient(90deg,#487f6a 0 37px,#f4eddd 37px 74px);border-bottom:7px solid #d3b790}.game-description{padding:28px}.game-description .eyebrow{font-size:10px}.game-description h2{font-size:36px}.game-description p{font-size:14px;color:var(--muted);margin:16px 0 22px;max-width:400px}.game-meta{display:flex;gap:10px;margin:18px 0 25px;font-size:10px;font-weight:600}.game-meta span{border:1px solid var(--line);border-radius:13px;padding:5px 10px}.game-setup{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;min-height:400px}.game-setup .game-illustration{border-radius:30px;height:350px}.game-setup p{margin:20px 0;color:var(--muted);font-size:15px}.game-setup .segmented{display:inline-flex;margin:6px 0 20px}.game-setup .button{display:flex;width:max-content}.game-layout{border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--white)}.game-hud{display:flex;gap:26px;align-items:center;padding:18px 27px;border-bottom:1px solid var(--line)}.game-hud .timer-stat{font-family:DM,sans-serif;font-size:20px}.safari-field{background:#eaf0db;padding:20px 60px;min-height:320px;position:relative}.safari-field:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 0 100%,#bed1a24a 0 20%,transparent 21%),radial-gradient(ellipse at 100% 0,#c8d9b755 0 25%,transparent 26%);pointer-events:none}.mole-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:680px;margin:auto}.mole-hole{position:relative;min-height:125px}.mole-hole svg{width:100%;height:145px;display:block;max-width:220px;margin:auto}.mole-life{position:absolute;bottom:5px;width:40%;left:30%;height:4px;background:#cbd9ba;border-radius:3px;overflow:hidden}.mole-life i{display:block;height:100%;background:#629263;transition:width .15s linear}.game-entry{padding:15px 28px 24px;background:var(--white)}.game-entry .capture-wrap{margin-top:0}.game-feedback{font-size:12px;min-height:20px;text-align:center;color:var(--muted);margin:10px 0 0}.hawker-field{background:#f0e6d5;position:relative;min-height:315px;padding:50px 24px 0;overflow:hidden}.stall-sign{background:repeating-linear-gradient(90deg,#477a64 0 44px,#f2eddf 44px 88px);height:27px;position:absolute;inset:0 0 auto;border-bottom:5px solid #cebd99}.stall-label{position:absolute;top:28px;width:100%;left:0;text-align:center;letter-spacing:.2em;font-size:9px;color:#658065;font-weight:800}.customer-grid{display:flex;justify-content:center;gap:18px;position:relative;z-index:1;min-height:266px;align-items:end}.customer{flex:1;max-width:230px;text-align:center;position:relative;background:none;border:0;padding:0 0 1px;cursor:pointer}.customer svg{display:block;width:100%;max-width:160px;height:138px;margin:auto;transition:transform .2s}.customer.active svg{transform:translateY(-4px)}.order-ticket{background:#fffdf8;padding:12px 9px;border-radius:12px;min-height:70px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 3px 0 #b3ac9b40;border:2px solid transparent;font-size:14px;position:relative}.customer.active .order-ticket{border-color:var(--green);box-shadow:0 0 0 3px #175d4910}.order-ticket:after{content:'';position:absolute;bottom:-8px;left:calc(50% - 8px);border-top:8px solid #fffdf8;border-left:8px solid transparent;border-right:8px solid transparent}.order-ticket .char{font-family:DM,sans-serif;color:var(--ink);border-bottom:0}.order-ticket .char.correct{color:#4e9667}.order-ticket .char.wrong{color:var(--coral)}.patience{height:4px;background:#e6e6d7;border-radius:5px;margin-top:10px;overflow:hidden}.patience i{display:block;background:#95ae77;height:100%;transition:width .25s linear}.patience.low i{background:#c97856}.counter{height:25px;background:#c49e75;border-top:7px solid #dfc5a1;position:absolute;bottom:0;left:0;right:0;z-index:2}.serve-row{display:flex;align-items:end;gap:10px;max-width:660px;margin:auto}.serve-row .capture-wrap{flex:1}.serve-row .button{margin-bottom:0;height:49px;border-radius:9px}.game-mode-note{text-align:center;color:var(--muted);font-size:11px;margin:12px 0 0}
.pause-layer{position:fixed;inset:0;z-index:50;display:grid;place-items:center;background:#f2f1eaa6;backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px);cursor:pointer}.pause-card{text-align:center;background:#fffdf8e8;border:1px solid #d9dfd0;border-radius:28px;padding:45px 65px;box-shadow:0 20px 70px #364b3114}.pause-card h2{font-size:50px;margin-bottom:15px}.pause-card p{font-size:14px;color:var(--muted)}.pause-mark{font-size:30px;color:var(--green);display:block;margin-top:20px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);z-index:90;background:#244b40;color:#fffdf8;border-radius:18px;padding:12px 22px;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100% - 30px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:24px;padding:37px;max-width:540px;width:calc(100% - 32px);box-shadow:0 25px 100px #15332630}dialog::backdrop{background:#23362877;backdrop-filter:blur(5px)}dialog h2{margin:12px 0 20px}dialog p{font-size:14px;margin:16px 0}dialog .button{margin-top:9px}.dialog-close{position:absolute;right:16px;top:16px;font-size:24px}.reveal-note{margin:24px 0 12px;color:var(--green);font-size:14px}
@keyframes reveal{from{opacity:0}to{opacity:1}}
@media(min-width:1400px){main{padding-top:50px}.intro-hero{padding-bottom:48px}}
@media(max-width:1050px){.topbar{padding:20px 24px;gap:15px}.nav-link{padding:9px 16px}.header-actions{gap:7px}.help-button{display:none}main{padding:30px 24px 40px}.intro-hero{gap:32px}.activity-grid{grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr);gap:18px}.practice-panel{padding:22px}.puzzle-panel{padding:20px}.key{min-width:20px;height:27px;font-size:11px}.hero-photo{height:250px}.customer-grid{gap:8px}.order-ticket{font-size:12px}}
@media(max-width:800px){.brand{font-size:19px}.brand-symbol{width:42px;height:42px;font-size:29px;line-height:43px}.brand small{font-size:8px}.topbar{flex-wrap:wrap;padding:16px 20px;gap:14px}.topbar nav{order:3;justify-content:center;width:100%}.nav-link{flex:1;padding:9px 15px}.header-actions{margin-left:auto}.mode-button{font-size:10px;padding:10px}.icon-button{width:35px;height:35px}.intro-hero{gap:24px;grid-template-columns:1.1fr 1fr}.intro-copy p{font-size:14px}.hero-photo{height:235px;border-radius:20px 60px 20px 20px}.hero-label{padding:10px;left:10px;right:10px;bottom:12px}.hero-label p{display:none}.hero-label strong{font-size:11px}.hero-label .mini-key{font-size:18px;min-width:32px}.lesson-grid{gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.activity-grid{display:flex;flex-direction:column}.practice-panel{width:100%;min-height:0;order:2}.puzzle-panel{width:100%;order:1;display:grid;grid-template-columns:135px 1fr;gap:0 20px;padding:16px 20px;align-items:center}.puzzle-panel .puzzle-frame{grid-column:1;grid-row:1/5;margin:0}.puzzle-panel .eyebrow{display:none}.puzzle-panel h2{font-size:21px;margin:0}.puzzle-progress{font-size:10px;margin-top:8px}.puzzle-panel .progress-track{margin:7px 0}.puzzle-caption{font-size:11px}.puzzle-description{grid-column:1/-1}.puzzle-panel.completed .puzzle-frame{grid-column:1/-1;grid-row:1;max-width:480px;margin:4px auto 20px;width:100%}.puzzle-panel.completed h2{grid-column:1/-1;text-align:center}.game-setup{gap:24px}.game-setup .game-illustration{height:290px}.site-footer{font-size:10px;padding:20px 24px;gap:12px}.site-footer span:first-child{display:none}.speed-workspace{padding:27px}.speed-words{font-size:27px}.game-card .game-description{padding:23px}.game-description h2{font-size:30px}.game-illustration{height:190px}.game-illustration svg{height:170px}}
@media(max-width:560px){main{padding:27px 17px 30px}.intro-hero{grid-template-columns:1fr;padding:0 0 30px;gap:23px}.intro-copy h1{font-size:42px;max-width:310px}.intro-copy p{margin:15px 0 19px;max-width:330px}.hero-photo{height:175px;max-width:100%;transform:none;box-shadow:5px 5px 0 #e9e8d9}.hero-label{max-width:260px;left:15px}.section-heading{padding-top:23px;align-items:start}.section-heading h2{font-size:24px}.section-heading p{max-width:120px;text-align:right;font-size:10px}.lesson-grid{gap:12px}.lesson-card .photo{height:112px}.card-content{padding:14px 12px}.card-content h3{font-size:18px}.card-meta{font-size:10px;margin-top:12px}.card-place{font-size:10px}.key-chip{min-width:19px;height:20px;padding:0 3px;font-size:10px}.activity-bar{margin-bottom:18px;align-items:center}.activity-bar h1{font-size:26px}.activity-title{gap:10px}.activity-status{gap:8px}.activity-status .badge{font-size:10px;padding:7px 10px}.activity-bar .eyebrow{font-size:9px}.back-button{width:32px;height:32px;font-size:20px}.activity-status .icon-button{width:33px;height:33px;font-size:17px}.practice-panel{padding:19px 18px;border-radius:20px}.instruction-row{font-size:12px;min-height:40px;gap:7px}.exercise-prompt{font-size:27px;min-height:68px;margin:19px 0 8px}.typing-input{font-size:19px}.input-help{font-size:11px}.puzzle-panel{padding:13px 15px;gap:0 14px;border-radius:18px;grid-template-columns:110px 1fr}.puzzle-panel h2{font-size:19px}.puzzle-caption{font-size:10px}.keyboard-area{margin-top:15px;padding-top:15px}.key{min-width:17px;font-size:10px;height:26px}.key.shift-key{min-width:31px;font-size:8px}.key-row{gap:3px}.hand-guide{height:57px}.intro-lesson{padding:10px 0}.intro-lesson .intro-keys{font-size:27px;letter-spacing:.12em}.intro-lesson p{font-size:13px;margin:16px auto}.page-intro h1{font-size:41px}.page-intro p{font-size:14px}.speed-workspace{padding:22px 18px;border-radius:20px}.settings-bar{gap:14px;padding-bottom:20px}.segmented button{padding:8px 13px}.speed-stats{gap:18px}.stat-value{font-size:24px}.speed-words{font-size:23px;height:180px}.speed-start{align-items:start;flex-direction:column;gap:13px}.game-grid{grid-template-columns:1fr}.game-illustration{height:200px}.game-description p{font-size:13px}.game-setup{grid-template-columns:1fr;gap:20px}.game-setup .game-illustration{display:none}.game-setup h1{font-size:40px}.game-setup p{font-size:14px}.game-setup .button{margin-top:9px}.game-hud{padding:14px 16px;gap:20px}.stat-label{font-size:9px}.game-hud .timer-stat{font-size:16px}.safari-field{padding:10px 12px;min-height:255px}.mole-hole{min-height:105px}.mole-hole svg{height:119px}.game-entry{padding:14px 16px 20px}.game-layout{border-radius:19px}.hawker-field{padding:54px 10px 0;min-height:280px}.customer-grid{gap:7px;min-height:226px}.customer svg{height:112px}.order-ticket{padding:8px 5px;min-height:78px;font-size:10px}.serve-row{gap:7px}.serve-row .button{padding:12px 13px;font-size:12px}.game-mode-note{font-size:10px}.pause-card{padding:35px 32px}.pause-card h2{font-size:41px}.pause-card p{font-size:12px}.completion-title{font-size:29px}.result-grid{gap:25px}.result-grid .stat-value{font-size:39px}}
.keyboard-open .topbar{padding-top:9px;padding-bottom:9px}.keyboard-open .topbar nav{display:none}.keyboard-open main{padding-top:12px;padding-bottom:8px}.keyboard-open .activity-bar{margin-bottom:10px}.keyboard-open .activity-bar h1{font-size:24px}.keyboard-open .puzzle-panel{display:none}.keyboard-open .practice-panel{padding:12px 17px}.keyboard-open .instruction-row{min-height:24px}.keyboard-open .exercise-prompt{margin:7px 0;min-height:48px;font-size:25px;line-height:1.5}.keyboard-open .site-footer{display:none}.keyboard-open .speed-workspace{padding:13px 18px}.keyboard-open .settings-bar{display:none}.keyboard-open .speed-stats{padding:4px 0}.keyboard-open .speed-words{height:105px;margin:5px 0 12px;font-size:24px}.keyboard-open .game-hud{padding:7px 15px}.keyboard-open .safari-field{min-height:180px;padding:2px 20px}.keyboard-open .mole-hole{min-height:80px}.keyboard-open .mole-hole svg{height:88px}.keyboard-open .hawker-field{min-height:185px;padding-top:46px}.keyboard-open .customer-grid{min-height:140px}.keyboard-open .customer svg{height:65px}.keyboard-open .order-ticket{min-height:55px}.keyboard-open .game-entry{padding:8px 15px 10px}.keyboard-open .game-feedback{margin:5px 0 0}.keyboard-open .game-mode-note{display:none}.keyboard-open .input-help{margin-top:5px;min-height:17px}.keyboard-open .capture-wrap{margin-top:5px}.keyboard-open .typing-input{height:43px}.keyboard-open .serve-row .button{height:43px}.keyboard-open .lesson-controls{margin:8px 0;min-height:0}.keyboard-open .lesson-controls:empty{display:none}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.keyboard-open main{height:calc(var(--visible-height) - 75px);min-height:0;display:flex;flex-direction:column;overflow:auto}
.keyboard-open .activity-bar{flex-shrink:0}
.keyboard-open .activity-grid{display:block}
.keyboard-open .game-layout{min-height:0;flex:1;display:flex;flex-direction:column}
.keyboard-open .game-hud,.keyboard-open .game-entry{flex-shrink:0}
.keyboard-open .safari-field,.keyboard-open .hawker-field{min-height:110px;flex:1;overflow:hidden}
.keyboard-open .practice-panel{min-height:0}
.keyboard-open .hawker-field{padding-top:30px}
.keyboard-open .stall-label{display:none}
.keyboard-open .customer-grid{min-height:0;height:100%;align-items:end}
.keyboard-open .customer svg{height:38px}
.keyboard-open .order-ticket{min-height:40px;padding:5px;font-size:11px}
.lesson-stage{position:relative;isolation:isolate;overflow:hidden;border-radius:28px;padding:26px 30px 18px;background:#d7e0cc;border:1px solid #ced8c6}
.lesson-backdrop{position:absolute;inset:0;z-index:-1;overflow:hidden}
.lesson-backdrop .puzzle-svg{width:100%;height:100%;display:block}
.lesson-panel{width:min(100%,920px);margin:0 auto;min-height:0;padding:20px 38px;background:rgba(255,253,248,.93);border-color:rgba(255,253,248,.8);box-shadow:0 8px 40px #1f342823}
.lesson-panel .instruction-row{min-height:30px;font-size:15px}
.lesson-panel .exercise-prompt{font-size:clamp(34px,4vw,49px);line-height:1.45;min-height:74px;margin:12px 0 14px}
.lesson-panel .capture-wrap{max-width:680px;margin-top:0}
.lesson-panel .typing-input{height:46px;font-size:21px;background:#fffef8e8}
.lesson-panel .lesson-controls{min-height:0;margin:0}
.lesson-panel .lesson-controls:not(:empty){margin:12px 0}
.lesson-panel .keyboard-area{max-width:780px;margin:17px auto 0;padding-top:15px}
.lesson-panel .key{height:34px;min-width:32px;font-size:16px;background:#fffef9}
.lesson-panel .key.lit{background:var(--green);color:var(--white)}
.lesson-panel .key.shift-key{font-size:11px}
.lesson-panel .key.space-key{height:26px;font-size:11px}
.lesson-panel .hand-guide{height:118px;margin:11px auto 0;max-width:660px}
.hand-outline{fill:#eff3e8;stroke:#81927c;stroke-width:2.1;stroke-linejoin:round}
.finger-region{fill:#e2ead9;stroke:#b3c1a9;stroke-width:1.2}
.finger-active{fill:#267657;stroke:#155c40;stroke-width:2}
.finger-active.shift-finger{fill:#c57b53;stroke:#9e5437}
.hand-label{font:13px DM,system-ui,sans-serif;fill:#536b50}
.lesson-photo-progress{width:max-content;max-width:100%;display:flex;gap:13px;align-items:center;background:#fffdf8ed;border:1px solid #e4e8da;border-radius:24px;padding:10px 17px;font-size:11px;color:#465c43;margin:14px auto 0}
.lesson-photo-progress .progress-track{width:95px;margin:0}
.lesson-stage.is-complete{padding:0 0 20px}
.lesson-stage.is-complete .lesson-backdrop{position:relative;z-index:0;background:#172c25}
.completed-photo{display:block;width:100%;max-height:540px;object-fit:contain}
.lesson-stage.is-complete .lesson-panel{margin:20px auto 0;background:var(--white);max-width:920px}
.lesson-stage.is-complete .result-panel{padding:8px 0 0}
@media(max-width:800px){.lesson-stage{padding:20px 17px 14px}.lesson-panel{padding:20px}.lesson-panel .key{min-width:22px;height:32px;font-size:14px}.lesson-panel .hand-guide{height:110px}.lesson-photo-progress>span:last-child{display:none}.lesson-panel .exercise-prompt{font-size:38px}}
@media(max-width:560px){.lesson-stage{padding:12px 9px;border-radius:20px}.lesson-panel{padding:17px 12px;border-radius:14px}.lesson-panel .instruction-row{font-size:12px}.lesson-panel .exercise-prompt{font-size:30px;min-height:64px}.lesson-panel .key{min-width:16px;height:27px;font-size:12px}.lesson-panel .key.shift-key{font-size:8px;min-width:30px}.lesson-panel .hand-guide{height:105px}.lesson-panel .key.space-key{height:24px}.lesson-panel .typing-input{font-size:18px}.lesson-photo-progress{font-size:10px;padding:8px 12px}.lesson-stage.is-complete .lesson-panel{width:calc(100% - 20px)}}
.keyboard-open .lesson-stage{padding:9px;flex:1;overflow:auto}
.keyboard-open .lesson-panel{padding:12px 14px}
.keyboard-open .lesson-panel .exercise-prompt{font-size:30px;line-height:1.4;min-height:43px;margin:7px 0}
.keyboard-open .lesson-photo-progress{margin-top:9px;padding:6px 12px}
.speed-run-status{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0 10px}
.speed-run-status p{font-size:13px;color:var(--muted)}
.speed-words{scroll-behavior:auto;overflow-anchor:none}
.speed-words .char.current{border-left:0;margin-left:0;position:relative}
.speed-words .char.current:before{content:'';position:absolute;left:-1px;top:.08em;width:2px;height:1.05em;background:var(--coral);border-radius:2px}
.keyboard-open .speed-run-status{padding:2px 0}
.keyboard-open .speed-run-status p{font-size:11px}
@media(prefers-contrast:more){:root{--muted:#374b39;--line:#7b8e70}.char{color:#4b6148}.typing-input{border-width:2px}}
