@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root{color-scheme:light;--paper:#f8f9f3;--surface:#fff;--ink:#243c2e;--muted:#667264;--line:#dfe5d8;--green:#244c36;--lime:#d9edb7;--pink:#f8d7da;--yellow:#f7ebae;--blue:#dfeafa;--shadow:0 0 0 1px #243c2e0c,0 2px 3px #243c2e04,0 8px 24px #243c2e04;--display:'Space Grotesk',sans-serif;--body:'DM Sans',sans-serif;--ease:cubic-bezier(.23,1,.32,1)}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,a{touch-action:manipulation}button{color:inherit}a{color:inherit;text-decoration:none}svg{display:inline-block;vertical-align:middle}button{border:0;background:none}button:disabled{cursor:not-allowed;opacity:.55}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-family:var(--display);font-weight:600;letter-spacing:-.04em}h1{font-size:48px;line-height:1.1}h2{font-size:28px;line-height:1.2}h3{font-size:23px;line-height:1.25}p{color:var(--muted)}small{font-size:12px}::selection{background:var(--lime)}:focus-visible{outline:3px solid #658b42;outline-offset:4px;border-radius:5px}.icon{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.icon-sm{width:16px;height:16px}.icon-lg{width:26px;height:26px}.container{max-width:1180px;margin-inline:auto;padding-inline:32px}.header{height:91px;border-bottom:1px solid var(--line);background:var(--paper)}.header-inner{height:100%;display:flex;align-items:center;gap:40px}.logo{display:inline-flex;align-items:center;gap:10px;font-family:var(--display);font-size:25px;font-weight:700;letter-spacing:-1.5px;flex-shrink:0}.logo img{width:37px;height:37px}.nav{display:flex;gap:28px;align-items:center;margin-left:32px;font-size:14px;font-weight:550}.nav a{position:relative;padding-block:12px;color:var(--muted)}.nav a.active{color:var(--ink)}.nav a.active:after{content:'';position:absolute;bottom:3px;left:0;right:0;height:2px;background:var(--green);border-radius:2px}.header-right{margin-left:auto;display:flex;gap:18px;align-items:center}.language-btn{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:500}.btn{min-height:44px;padding:12px 20px;display:inline-flex;align-items:center;justify-content:center;gap:10px;line-height:1.15;border-radius:11px;font-weight:600;font-size:14px;transition:background-color 150ms,box-shadow 150ms,transform 120ms var(--ease)}.btn:active,.icon-btn:active{transform:scale(.96)}.btn.primary{background:var(--green);color:#fff}.btn.secondary{background:var(--surface);box-shadow:var(--shadow)}.btn.soft{background:var(--lime);color:var(--green)}.btn.text{padding-inline:0;min-height:36px}.btn.full{width:100%}.btn.small{min-height:36px;padding:9px 14px;font-size:13px}.icon-btn{width:42px;height:42px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;box-shadow:var(--shadow);background:#fff}.eyebrow{font-size:11px;text-transform:uppercase;font-weight:650;letter-spacing:1.5px;color:var(--muted)}.tag{display:inline-flex;gap:5px;align-items:center;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:600;line-height:1.35;background:#eef1e8;color:#56654f;white-space:nowrap}.tag.green{background:#e6f0d8;color:#3f6130}.tag.pink{background:#f7e3e6;color:#80555b}.tag.yellow{background:#f6efce;color:#756426}.tag.outline{background:transparent;box-shadow:inset 0 0 0 1px var(--line)}.dot{width:6px;height:6px;border-radius:50%;background:#729645}.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:22px}.section-head h2{font-size:24px}.section-head p{font-size:13px}.subtext{font-size:13px;color:var(--muted)}.flex{display:flex;align-items:center;gap:12px}.between{display:flex;align-items:center;justify-content:space-between;gap:15px}.muted{color:var(--muted)}.divider{height:1px;background:var(--line);margin-block:24px}.skip-link{position:fixed;top:-80px;left:16px;z-index:100;background:var(--green);color:white;padding:12px}.skip-link:focus{top:12px}.hero{display:grid;grid-template-columns:1.45fr 1fr;align-items:center;gap:40px;padding:54px 0 38px}.hero h1{font-size:59px;line-height:1.07;letter-spacing:-3.5px;margin-top:18px}.hero h1 span{color:#789252}.hero p{max-width:455px;margin-top:20px;font-size:16px;line-height:1.7}.hero-proof{display:flex;gap:19px;align-items:center;margin-top:23px;font-size:12px;color:var(--muted)}.hero-proof span{display:inline-flex;gap:6px;align-items:center}.hero-art{position:relative;height:270px;display:flex;align-items:center;justify-content:center}.hero-art .orbit{width:244px;height:244px;border:1px solid #dce3d0;border-radius:50%;position:absolute}.hero-art .orbit:after{content:'';position:absolute;inset:23px;border:1px dashed #dce3d0;border-radius:50%}.big-melon{position:relative;z-index:1;width:238px;transform:rotate(-9deg);filter:drop-shadow(0 12px 6px #244c360c)}.floating-key{position:absolute;z-index:2;width:55px;height:55px;background:white;border-radius:13px;box-shadow:0 0 0 1px #244c3610,0 5px 0 #e7eadf,0 9px 14px #244c360a;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-size:22px}.key-one{top:22px;left:42px;transform:rotate(-14deg)}.key-two{bottom:27px;right:14px;transform:rotate(13deg)}.key-three{top:18px;right:35px;transform:rotate(11deg);font-size:16px;background:var(--yellow);width:68px}.art-spark{position:absolute;bottom:26px;left:46px;color:#7c985b;font-size:35px}.games-section{padding-block:15px 35px}.game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.game-card{background:#fff;padding:8px;border-radius:23px;box-shadow:var(--shadow);display:flex;flex-direction:column}.game-visual{height:159px;border-radius:15px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.copy-bg{background:#e4efcf}.listen-bg{background:#fae2e4}.recall-bg{background:#f5eec8}.game-visual .visual-number{position:absolute;top:16px;left:18px;font-family:var(--display);font-size:12px;opacity:.5}.visual-label{position:absolute;bottom:13px;right:14px;font-size:10px;text-transform:uppercase;letter-spacing:1.2px;opacity:.6}.mini-paper{width:180px;background:#fff;border-radius:10px;padding:16px 17px;box-shadow:0 5px 0 #a9bb8d40;transform:rotate(-6deg)}.mini-paper .paper-line{height:5px;border-radius:3px;background:#dee7d5;margin-top:8px}.mini-paper .paper-type{font-family:var(--display);font-size:19px;letter-spacing:-.5px}.mini-paper .paper-type b{font-weight:500;color:#6b8c45}.mini-cursor{display:inline-block;height:22px;width:2px;background:#244c36;vertical-align:middle;margin-left:2px}.key-stack{position:absolute;right:38px;bottom:25px;background:#fff;width:39px;height:40px;border-radius:9px;box-shadow:0 4px 0 #bed1a2;display:grid;place-items:center;transform:rotate(9deg);font-size:18px}.headphone-visual{width:92px;height:93px;position:relative;border:10px solid #a66e77;border-bottom:0;border-radius:58px 58px 0 0;transform:rotate(-8deg)}.headphone-visual:before,.headphone-visual:after{content:'';position:absolute;width:23px;height:41px;background:#e9a4ad;border:4px solid #a66e77;border-radius:9px;top:40px}.headphone-visual:before{left:-15px}.headphone-visual:after{right:-15px}.wave-mini{position:absolute;display:flex;gap:5px;align-items:center;left:70%;height:34px}.wave-mini i{width:4px;border-radius:4px;background:#c48b94}.wave-mini i:nth-child(3n){height:32px}.wave-mini i:nth-child(3n + 1){height:13px}.wave-mini i:nth-child(3n + 2){height:24px}.recall-note{background:#fffdf6;width:149px;height:91px;box-shadow:0 5px 0 #b5a97935;border-radius:10px;transform:rotate(8deg);font-family:var(--display);display:flex;align-items:center;justify-content:center;gap:10px;font-size:27px}.recall-note span{background:#f0ead2;width:31px;height:38px;display:grid;place-items:center;border-radius:5px}.recall-note span:last-child{background:#244c36;color:white}.sparkle{position:absolute;left:48px;top:30px;color:#a5954a;font-size:31px;transform:rotate(8deg)}.game-card-content{padding:23px 17px 17px;flex:1;display:flex;flex-direction:column}.game-card h3{margin-top:11px;font-size:24px}.game-card p{font-size:13px;line-height:1.7;margin-top:9px;max-width:255px}.card-bottom{margin-top:22px;display:flex;align-items:center;justify-content:space-between}.card-bottom small{color:var(--muted);font-size:11px}.card-play{width:43px;height:43px;border-radius:50%;background:#f0f3e9;display:grid;place-items:center}.card-play .icon{width:19px;transform:translateX(1px)}.challenge-strip{padding:23px 27px;border-radius:17px;border:1px solid var(--line);display:flex;gap:20px;align-items:center;margin-bottom:31px}.challenge-symbol{width:45px;height:45px;background:var(--yellow);display:grid;place-items:center;border-radius:13px;flex-shrink:0}.challenge-strip h3{font-size:18px;margin-bottom:3px}.challenge-strip p{font-size:12px}.challenge-strip .btn{margin-left:auto}.courses-teaser{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding-bottom:35px}.teaser-copy{padding:22px 0}.teaser-copy h2{font-size:25px;margin-top:8px}.teaser-copy p{font-size:13px;max-width:390px;margin-top:10px}.teaser-course{background:#edf1e5;border-radius:18px;padding:25px;display:flex;align-items:center;gap:20px}.teaser-course h3{font-size:19px;margin-block:5px}.book{width:74px;height:88px;background:var(--green);border-radius:5px 13px 13px 5px;color:var(--lime);display:grid;place-items:center;box-shadow:inset 6px 0 #315a42;transform:rotate(-8deg);flex-shrink:0}.book .icon{width:34px;height:34px}.footer{border-top:1px solid var(--line);padding:24px 0 20px;margin-top:15px}.footer-inner{display:flex;align-items:center;gap:24px;font-size:12px;color:var(--muted)}.footer-inner .logo{font-size:18px;gap:7px;letter-spacing:-.8px}.footer-inner .logo img{width:26px;height:26px}.footer-links{display:flex;gap:20px;margin-left:auto}.preview-note{font-size:10px;letter-spacing:.15px;color:#808979;margin-top:16px}.page{padding-top:43px;padding-bottom:55px;min-height:calc(100vh - 220px)}.breadcrumb{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin-bottom:27px}.page-intro{margin-bottom:34px}.page-intro h1{margin-top:12px}.page-intro p{margin-top:14px;max-width:600px;font-size:15px}.page-title-row{display:flex;justify-content:space-between;align-items:center;gap:25px}.prepare-layout{display:grid;grid-template-columns:minmax(0,1fr) 348px;gap:65px}.mode-heading{display:flex;align-items:center;gap:20px;margin-bottom:23px}.mode-heading h1{font-size:40px}.mode-emblem{width:65px;height:65px;border-radius:19px;display:grid;place-items:center;flex-shrink:0}.mode-emblem .icon{width:29px;height:29px}.mode-description{font-size:15px;max-width:550px}.lesson-head{margin-top:33px;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}.lesson-head h2{font-size:18px}.lesson-list{border-top:1px solid var(--line)}.lesson-row{width:100%;display:flex;align-items:center;gap:17px;padding:20px 5px;text-align:left;border-bottom:1px solid var(--line)}.lesson-row.selected{background:#edf3e2;padding-inline:15px;border-radius:12px;border-bottom-color:transparent;margin-top:8px}.lesson-num{font-family:var(--display);font-size:13px;color:#8e9b86;width:28px}.lesson-info{flex:1}.lesson-info strong{display:block;font-size:14px;font-weight:550}.lesson-info small{color:var(--muted);font-size:11px}.lesson-row .tag{margin-right:7px}.lesson-row.locked{color:#788173}.setup-panel{background:#fff;border-radius:21px;box-shadow:var(--shadow);padding:28px;align-self:start;position:sticky;top:24px}.setup-panel h2{font-size:21px;margin-bottom:7px}.setup-panel .subtext{margin-bottom:26px}.field-label{display:block;font-weight:550;font-size:12px;margin-bottom:9px}.select-wrap{position:relative}.select-wrap select,.input{width:100%;border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:12px 13px;min-height:44px;color:var(--ink);appearance:none}.select-wrap:after{content:'⌄';position:absolute;right:15px;top:9px;pointer-events:none}.segmented{display:flex;padding:4px;background:#f1f3ed;border-radius:11px;gap:3px}.segmented button{flex:1;border-radius:7px;font-size:12px;padding:9px 11px;min-height:37px}.segmented button.selected{background:white;box-shadow:0 1px 4px #243c2e12;color:var(--green);font-weight:600}.difficulty-note{font-size:12px;min-height:51px;line-height:1.65;margin-top:12px}.setup-field{margin-top:23px}.setup-details{border-top:1px solid var(--line);padding-top:18px;margin-top:21px;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.setup-panel .btn.full{margin-top:24px}.free-note{font-size:11px;text-align:center;margin-top:13px}.notice{display:flex;gap:12px;padding:17px 19px;border-radius:12px;background:#edf1e5;font-size:12px;margin-top:24px;align-items:flex-start}.notice .icon{margin-top:1px}.notice p{font-size:12px}.page-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:29px}.pill{border:1px solid var(--line);border-radius:30px;padding:9px 18px;font-size:12px;min-height:38px}.pill.active{background:var(--green);border-color:var(--green);color:white}.search-wrap{margin-left:auto;position:relative}.search-wrap .icon{position:absolute;top:12px;left:13px;width:16px}.search-wrap input{border:1px solid var(--line);background:white;padding:10px 12px 10px 38px;border-radius:10px;width:240px;font-size:12px}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.course-card{background:white;border-radius:19px;box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}.course-cover{height:169px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.course-cover .book{width:81px;height:101px;transform:rotate(-12deg)}.course-cover .cover-symbol{position:absolute;right:54px;top:42px;font-size:38px;transform:rotate(12deg);font-family:var(--display)}.course-cover:after{content:'';position:absolute;left:30px;bottom:23px;width:34px;height:34px;border:1px dashed #244c3640;border-radius:50%}.course-card-body{padding:23px;display:flex;flex-direction:column;flex:1}.course-card h3{font-size:21px;margin-top:12px}.course-card p{font-size:12px;margin-top:9px;line-height:1.7;flex:1}.course-meta{display:flex;align-items:center;gap:12px;margin-top:20px;font-size:11px;color:var(--muted)}.course-card .btn{margin-top:19px;justify-content:space-between;background:#f1f4eb}.course-detail-hero{display:grid;grid-template-columns:1fr 300px;gap:50px;margin-bottom:38px}.course-detail-hero h1{font-size:45px;margin-top:15px}.course-detail-hero p{margin-block:15px 22px;max-width:600px}.course-detail-art{border-radius:21px;height:235px;display:grid;place-items:center}.course-detail-art .book{width:120px;height:154px;font-size:35px}.course-detail-art .book .icon{width:50px;height:50px}.course-content-layout{display:grid;grid-template-columns:1fr 320px;gap:50px}.course-aside{padding:25px;background:white;border-radius:18px;box-shadow:var(--shadow);align-self:start}.course-aside h3{font-size:19px}.course-aside p{font-size:12px;margin-top:10px}.course-aside ul{padding:0;list-style:none;font-size:12px;margin-top:19px}.course-aside li{display:flex;gap:9px;align-items:center;margin-block:12px}.course-aside .btn{margin-top:15px}.game-header{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 40px;gap:20px}.game-header .logo{font-size:20px}.game-header .logo img{width:30px;height:30px}.game-header-title{position:absolute;left:50%;transform:translateX(-50%);text-align:center;font-size:13px}.game-header-title small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.game-tools{margin-left:auto;display:flex;gap:9px}.game-tools .icon-btn{background:transparent;box-shadow:none;width:38px}.game-shell{max-width:970px;margin:0 auto;padding:29px 35px}.game-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px}.game-mode-label{display:flex;align-items:center;gap:10px}.game-stats{display:flex;gap:26px}.game-stats span{color:var(--muted);font-size:11px}.game-stats b{margin-left:8px;font-size:13px;color:var(--ink);font-weight:550;font-variant-numeric:tabular-nums}.progress-track{height:5px;background:#e3e9da;border-radius:10px;margin-top:19px;overflow:hidden}.progress-track i{display:block;background:#89a65c;height:100%;border-radius:10px}.game-stage{text-align:center;min-height:520px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:55px 0 38px}.game-stage .eyebrow{margin-bottom:25px}.target-text{font-family:var(--display);font-size:35px;line-height:1.5;letter-spacing:-1.4px;max-width:800px;margin-bottom:27px}.target-text .correct{color:#729645}.target-text .incorrect{color:#ad4b56;background:#fae2e4;border-radius:3px}.target-text .caret{border-bottom:2px solid var(--green)}.typing-box{width:100%;max-width:760px;position:relative}.typing-box textarea{width:100%;height:93px;resize:none;padding:24px 52px 20px 24px;border:1px solid #dbe3d1;border-radius:16px;background:white;box-shadow:0 4px 20px #244c3604;outline:none;font-family:var(--display);font-size:24px;line-height:1.7;letter-spacing:-.5px;color:var(--ink);text-align:center}.typing-box textarea:focus{border-color:#8da673;box-shadow:0 0 0 3px #d9edb75e}.typing-box textarea::placeholder{color:#b0b6a9;font-size:18px}.typing-box .enter-icon{position:absolute;right:19px;bottom:34px;color:#94a287}.game-instruction{font-size:11px;margin-top:17px;min-height:22px}.game-instruction.error{color:#a3444e}.game-instruction.success{color:#4f763b}.game-check{margin-top:22px;min-width:140px}.game-actions{display:flex;justify-content:center;gap:30px;align-items:center;border-top:1px solid var(--line);padding:22px 0;font-size:11px;color:var(--muted);flex-wrap:wrap}.game-actions button{display:flex;align-items:center;gap:8px;min-height:36px}.game-actions kbd{border:1px solid #dce3d4;padding:3px 6px;border-radius:5px;font:10px var(--body);margin-left:3px}.game-save-note{text-align:center;font-size:11px;color:var(--muted);margin-top:12px}.speech-player{display:flex;align-items:center;gap:21px;background:#fae9eb;border-radius:17px;padding:20px 29px;margin-bottom:30px}.speech-player .speaker-btn{width:50px;height:50px;border-radius:50%;background:#a86572;color:white;display:grid;place-items:center}.wave{display:flex;align-items:center;gap:5px;height:43px}.wave i{background:#c1818e;width:4px;border-radius:5px;height:13px}.wave i:nth-child(3n){height:35px}.wave i:nth-child(4n){height:24px}.wave i:nth-child(5n){height:41px}.speech-player.speaking .wave i{animation:sound .7s ease-in-out infinite alternate}.speech-player.speaking .wave i:nth-child(even){animation-delay:.2s}.speech-meta{text-align:left;font-size:11px;color:#8a5d67}.speech-meta strong{display:block;color:#6b424b;font-size:12px;margin-bottom:3px}.recall-count{display:inline-flex;gap:9px;background:#f5efd0;padding:10px 17px;border-radius:9px;font-size:12px;margin-bottom:20px}.result-page{max-width:910px;margin:auto;text-align:center;padding-top:48px}.result-emblem{width:84px;height:84px;display:grid;place-items:center;border-radius:25px;background:var(--lime);margin:0 auto 25px;position:relative;transform:rotate(-7deg)}.result-emblem .icon{width:38px;height:38px;transform:rotate(7deg)}.result-page h1{font-size:43px;margin-top:12px}.result-page>p{margin-top:12px;font-size:14px}.result-stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:35px;background:#fff;box-shadow:var(--shadow);border-radius:17px;padding:27px 0}.result-stat{border-right:1px solid var(--line)}.result-stat:last-child{border:0}.result-stat strong{display:block;font-family:var(--display);font-size:32px;letter-spacing:-1.5px}.result-stat span{font-size:11px;color:var(--muted)}.result-buttons{display:flex;gap:12px;justify-content:center;margin-top:26px}.save-banner{background:#edf2e4;border-radius:15px;padding:22px 25px;display:flex;gap:16px;align-items:center;text-align:left;margin-top:29px}.save-banner strong{font-size:14px}.save-banner p{font-size:12px;margin-top:3px}.save-banner .btn{margin-left:auto;flex-shrink:0}.results-review{margin-top:32px;text-align:left}.results-review h2{font-size:20px;margin-bottom:16px}.review-row{padding:17px 0;border-top:1px solid var(--line);display:flex;gap:14px;align-items:center}.review-row .review-text{flex:1;font-size:13px}.review-row small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.review-dot{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#e7efd9}.review-dot.assisted{background:#f8e2e4;color:#a55b67}.results-review summary{font-size:13px;cursor:pointer;margin-top:15px}.results-review details p{font-size:12px;padding-block:10px}.board-layout{display:grid;grid-template-columns:1fr 275px;gap:30px}.board-card{background:white;border-radius:18px;box-shadow:var(--shadow);overflow:hidden}.board-toolbar{padding:23px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.board-toolbar h2{font-size:18px}.board-toolbar p{font-size:11px;margin-top:4px}.board-row{display:grid;grid-template-columns:44px 1fr 85px 70px;align-items:center;padding:16px 24px;gap:15px;border-bottom:1px solid #edf0e7;font-size:13px}.board-row.header-row{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;background:#fbfcf8;padding-block:12px}.board-row:last-child{border:0}.board-row .score{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.board-row .duration{text-align:right;color:var(--muted);font-size:12px}.rank{font-family:var(--display);color:#8c9981}.rank.top{width:28px;height:28px;border-radius:8px;background:#f6edbf;display:grid;place-items:center;color:#8b7533}.player{display:flex;align-items:center;gap:12px}.avatar{width:34px;height:34px;border-radius:11px;background:#e6eddb;display:grid;place-items:center;font-weight:600;font-family:var(--display);color:#5a7546}.player small{display:block;color:var(--muted);font-size:10px}.board-aside{padding:25px;background:#edf1e4;border-radius:18px;align-self:start}.board-aside h3{font-size:20px;margin-top:16px}.board-aside p{font-size:12px;margin-top:12px}.board-aside .btn{margin-top:23px}.board-aside ul{padding:0;list-style:none;font-size:11px;margin-top:20px;color:var(--muted)}.board-aside li{margin-top:10px;display:flex;gap:8px}.board-controls{display:flex;gap:16px;align-items:center;margin-bottom:24px}.board-controls .select-wrap{width:190px}.board-controls .segmented{margin-left:auto;width:285px}.progress-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px;margin-bottom:30px}.metric-card{background:white;padding:24px;border-radius:16px;box-shadow:var(--shadow)}.metric-card .metric-value{font-family:var(--display);font-size:37px;margin-top:17px;letter-spacing:-1.5px}.metric-card .subtext{font-size:11px}.progress-layout{display:grid;grid-template-columns:1fr 300px;gap:29px}.history-card{padding:24px;background:white;border-radius:17px;box-shadow:var(--shadow)}.history-card h2{font-size:19px;margin-bottom:20px}.history-item{border-top:1px solid var(--line);padding:17px 0;display:flex;align-items:center;gap:14px}.history-item .mode-emblem{width:40px;height:40px;border-radius:11px}.history-item .mode-emblem .icon{width:18px;height:18px}.history-item strong{font-size:13px;font-weight:550}.history-item small{display:block;font-size:11px;color:var(--muted)}.history-item .history-score{margin-left:auto;text-align:right;font-size:14px;font-weight:550}.empty-state{padding:47px 20px;text-align:center}.empty-state .icon{width:35px;height:35px;color:#8b9d78;margin-bottom:14px}.empty-state h3{font-size:19px}.empty-state p{font-size:12px;margin:10px auto 20px;max-width:290px}.settings-layout{display:grid;grid-template-columns:220px 1fr;gap:44px}.settings-nav{display:flex;flex-direction:column;gap:5px;align-self:start}.settings-nav button{padding:13px 15px;display:flex;align-items:center;gap:12px;text-align:left;border-radius:10px;font-size:13px}.settings-nav button.active{background:#e8efdd;font-weight:600;color:var(--green)}.settings-panel{padding:30px;background:white;border-radius:20px;box-shadow:var(--shadow)}.settings-panel h2{font-size:23px}.settings-panel>p{font-size:13px;margin-top:8px}.settings-form{max-width:570px;margin-top:28px}.settings-form .setup-field{margin-bottom:20px}.settings-row{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line);gap:30px}.settings-row strong{font-size:13px;font-weight:550}.settings-row p{font-size:11px;margin-top:4px}.switch{width:42px;height:25px;border-radius:25px;background:#dce3d4;position:relative;flex-shrink:0}.switch:after{content:'';position:absolute;left:3px;top:3px;width:19px;height:19px;border-radius:50%;background:white;box-shadow:0 1px 3px #244c3620}.switch[aria-checked=true]{background:#6d914b}.switch[aria-checked=true]:after{left:20px}.range{accent-color:var(--green);width:130px}.avatar-selector{display:flex;gap:10px;margin:18px 0}.avatar-choice{width:48px;height:48px;border-radius:14px;font-family:var(--display);font-size:20px;background:#e3eed2}.avatar-choice.selected{outline:2px solid var(--green);outline-offset:3px}.settings-actions{margin-top:28px;display:flex;justify-content:flex-end}.danger-btn{color:#a34e58}.faq{border-bottom:1px solid var(--line);padding:20px 0}.faq summary{font-weight:550;font-size:14px;cursor:pointer}.faq p{font-size:13px;margin-top:15px;max-width:750px}.help-grid{display:grid;grid-template-columns:1fr 320px;gap:50px}.help-card{background:#edf1e4;padding:27px;border-radius:17px;align-self:start}.help-card h3{font-size:21px}.help-card p{font-size:13px;margin:12px 0}.legal-copy{max-width:760px}.legal-copy h2{font-size:22px;margin-block:28px 12px}.legal-copy p{font-size:14px;line-height:1.85}.brand-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.brand-board{background:white;padding:35px;border-radius:20px;box-shadow:var(--shadow);min-height:240px}.brand-board.big{display:grid;place-items:center;background:#edf2e4}.brand-board.big img{width:310px;max-width:100%}.brand-board h2{font-size:19px;margin-bottom:25px}.palette{display:flex;gap:10px}.swatch{flex:1;font-size:10px}.swatch i{display:block;height:78px;border-radius:9px;margin-bottom:8px}.brand-type{font-family:var(--display);font-size:35px;letter-spacing:-1.5px;margin-bottom:15px}.brand-key{width:72px;height:72px;background:var(--lime);display:grid;place-items:center;border-radius:19px;margin:auto}.brand-key img{width:58px}.brand-description{font-size:12px;margin-top:22px}.auth-side{background:#e9f0de;padding:38px;width:42%;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-side .logo{font-size:22px;margin-bottom:36px}.auth-side h2{font-size:34px;line-height:1.17}.auth-side p{font-size:13px;line-height:1.8;margin-top:16px}.auth-side .auth-melon{width:155px;margin:29px auto 0;transform:rotate(-10deg)}.auth-main{padding:48px 42px;width:58%;position:relative}.auth-main h2{font-size:28px}.auth-main>p{font-size:13px;margin-top:9px;margin-bottom:25px}.auth-main .input{background:white}.auth-separator{display:flex;align-items:center;gap:14px;margin:21px 0;font-size:11px;color:var(--muted)}.auth-separator:before,.auth-separator:after{content:'';height:1px;background:var(--line);flex:1}.google-g{font-weight:700;font-size:18px;font-family:Arial;color:#4285f4}.auth-preview{font-size:10px;line-height:1.6;margin-top:17px;color:#849079;text-align:center}.auth-terms{font-size:10px;margin-top:20px;text-align:center}.auth-form label{margin-top:16px}.auth-form .btn{margin-top:15px}.otp-input{letter-spacing:10px;text-align:center;font-size:24px;font-variant-numeric:tabular-nums}.otp-note{font-size:11px;margin-top:12px}.modal-title-icon{width:64px;height:64px;border-radius:19px;background:var(--lime);display:grid;place-items:center;margin-bottom:22px}.modal-title-icon .icon{width:28px;height:28px}dialog{border:0;border-radius:22px;padding:0;color:var(--ink);background:white;box-shadow:0 25px 100px #17342026;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);width:460px;overflow:auto}dialog::backdrop{background:#34432b3d;backdrop-filter:blur(3px)}dialog.auth-dialog{width:780px}.modal-layout{display:flex}.modal-content{padding:32px}.modal-content h2{font-size:26px}.modal-content>p{font-size:13px;margin-top:12px}.modal-close{position:absolute;right:15px;top:15px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#f3f5ef;z-index:2}.modal-content .btn.full{margin-top:20px}.modal-content .modal-sub-action{margin-top:9px}.modal-settings{margin-top:15px}.language-option{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px}.language-option span:nth-child(2){flex:1}.flag-dot{width:34px;height:34px;border-radius:10px;background:#f0f3e9;display:grid;place-items:center;font-size:13px;font-family:var(--display)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(12px);padding:13px 20px;background:var(--green);color:white;font-size:12px;border-radius:12px;box-shadow:0 5px 20px #244c361c;z-index:50;opacity:0;pointer-events:none;transition:opacity 160ms,transform 160ms var(--ease);max-width:calc(100vw - 30px);text-align:center}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.mobile-nav{display:none}.text-link{text-decoration:underline;text-underline-offset:3px}.prototype-label{position:fixed;bottom:12px;right:16px;font-size:9px;letter-spacing:.4px;color:#89947e;pointer-events:none}.error-label{color:#a34e58;font-size:12px;margin-top:9px;min-height:19px}.session-banner{margin-top:24px}.loading-skeleton{background:#e9edde;border-radius:8px;height:16px}.mobile-only{display:none}.account-button{display:flex;align-items:center;gap:8px;font-size:12px}.account-button .avatar{width:32px;height:32px}.brand-seed{border-radius:50%;width:8px;height:14px;background:var(--green);display:inline-block;transform:rotate(20deg);margin-right:5px}
@keyframes sound{to{transform:scaleY(.55)}}
@media(hover:hover) and (pointer:fine){.btn.primary:hover{background:#315d42}.btn.secondary:hover,.icon-btn:hover{box-shadow:0 0 0 1px #243c2e1a,0 4px 12px #243c2e08}.game-card:hover .card-play{background:var(--lime)}.nav a:hover,.footer a:hover{color:var(--green)}.lesson-row:hover{background:#edf2e6;border-radius:10px}.pill:hover{border-color:#9eaf88}.game-card:hover{box-shadow:0 0 0 1px #243c2e15,0 8px 25px #243c2e08}}
@media(min-width:1500px){.hero{padding-block:65px 48px}.hero-art{height:290px}.hero h1{font-size:64px}.game-visual{height:172px}.game-stage{min-height:590px}}
@media(max-width:1000px){.container{padding-inline:26px}.header-inner{gap:20px}.nav{margin-left:10px;gap:20px}.header-right{gap:10px}.hero h1{font-size:50px;letter-spacing:-2.5px}.game-grid{gap:16px}.game-card-content{padding:20px 13px 15px}.game-visual{height:145px}.game-card h3{font-size:21px}.prepare-layout{gap:35px;grid-template-columns:1fr 310px}.setup-panel{padding:23px}.course-grid{gap:17px}.course-card-body{padding:20px}.board-layout{grid-template-columns:1fr 240px}.board-row{padding-inline:18px;gap:10px}.settings-layout{gap:25px;grid-template-columns:180px 1fr}}
@media(max-width:760px){h1{font-size:37px}.container{padding-inline:21px}.header{height:76px}.header-inner{gap:15px}.logo{font-size:23px}.logo img{width:32px;height:32px}.nav{display:none}.header-right .language-btn{display:none}.header-right .btn{font-size:12px;padding:10px 13px;min-height:39px}.mobile-nav{display:flex;justify-content:center;gap:24px;padding:12px 10px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.mobile-nav a.active{color:var(--green);font-weight:650}.hero{padding:34px 0 24px;grid-template-columns:1fr;gap:10px}.hero h1{font-size:48px;letter-spacing:-2.7px;max-width:470px}.hero p{font-size:14px;max-width:380px;margin-top:17px}.hero-art{display:none}.hero-proof{gap:16px;font-size:11px}.hero-proof .icon{width:14px}.games-section{padding-top:17px}.game-grid{grid-template-columns:1fr;gap:18px}.game-card{flex-direction:row;padding:7px;border-radius:20px}.game-visual{width:115px;height:auto;min-height:190px;flex-shrink:0;border-radius:13px}.game-card-content{padding:15px 13px 12px 19px}.game-card h3{font-size:23px;margin-top:9px}.game-card p{font-size:12px;margin-top:7px}.card-bottom{margin-top:15px}.mini-paper{width:115px;transform:rotate(-9deg) translateX(9px);padding:14px 11px}.mini-paper .paper-type{font-size:14px}.key-stack{right:10px;bottom:30px;width:32px;height:33px;font-size:16px}.visual-number{display:none}.visual-label{bottom:13px;right:auto;font-size:8px}.headphone-visual{width:70px;height:76px;border-width:8px}.headphone-visual:before,.headphone-visual:after{top:29px;width:19px;height:35px}.headphone-visual:before{left:-12px}.headphone-visual:after{right:-12px}.wave-mini{display:none}.recall-note{width:105px;height:83px;gap:5px;font-size:20px}.recall-note span{width:24px;height:32px}.sparkle{left:10px;top:20px;font-size:25px}.challenge-strip{padding:20px;gap:13px;flex-wrap:wrap}.challenge-strip .challenge-copy{flex:1}.challenge-strip .btn{margin-left:58px;padding:0;min-height:30px;background:none}.challenge-strip h3{font-size:17px}.courses-teaser{grid-template-columns:1fr;gap:10px}.teaser-copy{padding-top:6px}.teaser-course{padding:22px}.footer-inner{flex-wrap:wrap;gap:17px}.footer-links{margin-left:0;width:100%;flex-wrap:wrap;gap:19px}.preview-note{font-size:9px}.page{padding-top:29px;min-height:calc(100vh - 235px)}.page-intro h1{font-size:36px}.page-intro p{font-size:13px}.prepare-layout{grid-template-columns:1fr;gap:28px}.mode-heading h1{font-size:33px}.mode-description{font-size:13px}.setup-panel{position:static;padding:25px}.lesson-row{padding-block:17px}.page-tabs{gap:7px}.pill{padding:9px 13px;font-size:11px}.search-wrap{margin:12px 0 0;width:100%}.search-wrap input{width:100%}.course-grid{grid-template-columns:1fr}.course-card{display:grid;grid-template-columns:110px 1fr}.course-cover{height:100%;min-height:230px}.course-cover .book{width:70px;height:88px}.course-cover .cover-symbol{display:none}.course-card-body{padding:20px}.course-detail-hero{grid-template-columns:1fr;gap:20px}.course-detail-hero h1{font-size:37px}.course-detail-art{display:none}.course-content-layout{grid-template-columns:1fr;gap:25px}.game-header{height:73px;padding-inline:17px;gap:10px}.game-header .logo{font-size:0}.game-header-title{font-size:11px;max-width:45%}.game-header-title small{font-size:9px}.game-tools{gap:1px}.game-tools .icon-btn{width:33px}.game-shell{padding:23px 21px}.game-stats{gap:12px}.game-stats span{font-size:0}.game-stats b{font-size:12px}.game-mode-label{font-size:11px}.game-mode-label .tag{font-size:9px}.game-stage{padding:35px 0;min-height:440px}.target-text{font-size:27px;letter-spacing:-1px}.typing-box textarea{height:120px;font-size:21px;padding:20px 32px 20px 20px}.typing-box textarea::placeholder{font-size:16px}.typing-box .enter-icon{right:10px;bottom:22px}.game-actions{gap:12px;font-size:10px}.game-actions kbd{display:none}.game-actions button{gap:5px}.game-actions .icon{width:16px}.speech-player{padding:18px;gap:15px}.speech-meta{display:none}.result-page{padding-top:25px}.result-page h1{font-size:35px}.result-stats{grid-template-columns:repeat(2,1fr);padding:12px;margin-top:25px;gap:17px}.result-stat{padding:10px 0}.result-stat:nth-child(2){border:0}.result-stat strong{font-size:30px}.save-banner{flex-wrap:wrap;padding:20px;gap:12px}.save-banner .btn{margin-left:0;width:100%}.result-buttons{flex-wrap:wrap}.result-buttons .btn{font-size:12px}.review-row .tag{font-size:9px;max-width:90px;text-align:center;white-space:normal}.board-layout{grid-template-columns:1fr}.board-controls{flex-wrap:wrap;gap:12px}.board-controls .select-wrap{flex:1;width:auto}.board-controls .segmented{margin-left:0;width:100%}.board-row{padding:15px 13px;grid-template-columns:24px 1fr 48px 42px;gap:9px;font-size:12px}.board-row .player{gap:9px}.board-row .avatar{width:29px;height:29px;font-size:12px;border-radius:9px}.board-row .duration{font-size:11px}.board-toolbar{padding:19px}.board-toolbar .tag{font-size:9px}.board-aside{padding:23px}.progress-grid{gap:10px}.metric-card{padding:17px 12px}.metric-card .metric-value{font-size:30px}.metric-card .eyebrow{font-size:9px;letter-spacing:.8px}.progress-layout{grid-template-columns:1fr}.settings-layout{grid-template-columns:1fr;gap:22px}.settings-nav{flex-direction:row;overflow-x:auto;gap:5px}.settings-nav button{white-space:nowrap;padding:10px 13px;font-size:11px}.settings-nav .icon{display:none}.settings-panel{padding:24px}.settings-row{gap:16px}.settings-row p{max-width:230px}.help-grid{grid-template-columns:1fr;gap:25px}.brand-grid{grid-template-columns:1fr}.brand-board{padding:25px}.auth-side{display:none}.auth-main{width:100%;padding:39px 27px}.auth-main h2{font-size:27px}.modal-content{padding:28px 25px}.page-title-row{align-items:start;flex-wrap:wrap}.prototype-label{display:none}.mobile-only{display:block}}
@media(max-width:360px){.container{padding-inline:16px}.hero h1{font-size:42px}.game-visual{width:94px}.game-card-content{padding-left:13px}.game-card h3{font-size:21px}.card-bottom small{font-size:9px}.logo{font-size:20px}.header-right .btn{padding:10px;font-size:11px}.board-row .avatar{display:none}}
.keyword-green{color:#587a37!important}.keyword-pink{color:#a65d70!important}.keyword-gold{color:#8b762f!important}.keyword-blue{color:#52758a!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.letter-clues{font-family:var(--display);font-size:19px;color:#805667;margin-bottom:8px}.letter-clues span{color:#c2a0a8;font-size:12px}.less-motion *,.less-motion *:before,.less-motion *:after{animation:none!important;transition:none!important}.less-motion .btn:active,.less-motion .icon-btn:active{transform:none}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.btn:active,.icon-btn:active{transform:none}}

/* The slice is the smile; the only seeds are the two eyes above it. */
.play-hero{padding:32px 0 26px}
.play-hero-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:23px}
.play-hero-heading h1{font-size:38px;letter-spacing:-1.9px;line-height:1.15;margin-top:9px}
.play-hero-heading p{font-size:13px;margin-top:10px}
.hero-friend{display:flex;align-items:center;gap:9px;flex-shrink:0;color:#78905f}
.hero-friend span{font-size:11px;border:1px solid #dbe4cf;border-radius:9px 9px 9px 2px;padding:7px 10px;transform:rotate(-5deg)}
.hero-melon{width:75px;transform:rotate(-7deg);overflow:visible}
.hero-game{background:#fff;border:1px solid #e1e7d8;border-radius:23px;padding:20px 30px 26px;box-shadow:0 8px 28px #244c3604}
.hero-game-top{display:flex;align-items:center;gap:20px}
.hero-mode{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:550}
.hero-mode .tag{font-size:10px;padding:4px 8px;margin-left:2px}
.hero-live-stats{display:flex;gap:21px;margin-left:auto;color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums}
.hero-live-stats b{font-size:13px;color:var(--green);font-weight:550;margin-right:3px}
.hero-game-top .icon-btn{width:32px;height:32px}
.hero-progress{display:flex;gap:5px;align-items:center;margin-top:14px}
.hero-progress i{width:25px;height:4px;border-radius:5px;background:#e8eddf}
.hero-progress i.current{background:#efadb6}.hero-progress i.done{background:#94b96c}
.hero-progress span{font-size:10px;color:var(--muted);margin-left:7px}
.hero-game-stage{text-align:center;padding:30px 25px 0}
.hero-game-stage .eyebrow{font-size:9px;color:#87927d}
.hero-game-stage .target-text{font-size:37px;margin:15px auto 24px;letter-spacing:-1.3px;line-height:1.45;min-height:54px}
.hero-game-stage .typing-box{max-width:720px;margin:auto}
.hero-game-stage textarea{background:#fafbf6;font-size:24px;height:79px;padding:17px 48px 17px 24px}
.hero-game-stage .typing-box .enter-icon{bottom:28px}
.hero-game-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:720px;margin:14px auto 0;text-align:left}
.hero-game-bottom .game-instruction{margin:0;font-size:11px;min-height:0}
.hero-game-bottom .btn{flex-shrink:0;min-width:100px}
.hero-voice{display:inline-flex;gap:7px;align-items:center;flex-shrink:0;font-size:11px;color:var(--green);padding:9px 11px;border-radius:9px;background:#f3f6ec}
.hero-voice span{font-size:9px;color:var(--muted)}
.hero-voice.speaking{background:#e5f0d5}.hero-voice.speaking .icon{color:#69973c}
.home-main{width:100%;max-width:none;padding:0}
.home-main .games-section{max-width:1180px;margin:auto;padding:38px 32px 50px}
.home-main .play-hero{height:calc(100dvh - 91px);min-height:610px;padding:0;position:relative;display:flex;flex-direction:column}
.home-main .hero-game{flex:1;min-height:0;display:flex;flex-direction:column;border:0;border-radius:0;padding:21px 40px 12px;box-shadow:none;background:var(--paper)}
.home-main .hero-game-top{gap:17px}
.home-main .hero-game-stage{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 0 8px}
.home-main .hero-game-stage .target-text{font-size:clamp(32px,3.2vw,48px);max-width:1040px;min-height:0;line-height:1.45;margin:0 auto 23px;letter-spacing:-1.3px}
.home-main .hero-game-stage .typing-box{width:min(760px,100%);max-width:none}
.home-main .hero-game-stage .typing-box{margin:0 auto;flex-shrink:0}
.home-main .hero-game-stage textarea{height:70px;padding:14px 48px 12px 24px;background:#fff;font-size:25px;box-shadow:none}
.home-main .hero-game-bottom{width:min(760px,100%);margin:12px auto 0;max-width:none}
.home-main .hero-proof{height:34px;flex-shrink:0;margin:0 0 10px;font-size:10px}
.home-main .hero-friend{position:absolute;right:35px;bottom:37px;pointer-events:none}.home-main .hero-melon{width:51px}
.home-main .hero-finish{margin:auto}
.home-main .hero-live-stats{font-size:11px}.home-main .hero-live-stats b{font-size:15px}
.game-mode-select{border:0;background:transparent;color:var(--green);font:550 13px var(--body);cursor:pointer;max-width:145px;padding:3px 4px}
.game-difficulty-select{font:10px var(--body);border:1px solid #dce5d2;border-radius:7px;background:#edf2e5;padding:4px 6px;color:#758367;margin-left:9px;cursor:pointer}
.game-mode-label{display:flex;align-items:center;gap:4px}
.keyboard-guide{width:min(640px,100%);margin:24px auto 0;text-align:center;flex-shrink:0}
.keyboard-guide[hidden]{display:none!important}
.typing-box.word-entry{max-width:1000px!important;width:min(1000px,100%)!important;min-height:81px}
.typing-box.word-entry textarea{position:absolute!important;inset:0;opacity:0;width:100%!important;height:100%!important;z-index:2;cursor:text;caret-color:transparent}
.typing-box.word-entry .enter-icon{display:none}
.word-slots{display:flex;align-items:flex-end;justify-content:center;flex-wrap:wrap;gap:15px;min-height:75px;padding:12px 0 13px;font-family:var(--display);font-size:34px;line-height:1.25;letter-spacing:-1px}
.word-slot{min-width:calc(var(--letters)*.57em + 8px);min-height:1.45em;border-bottom:2px solid #d2dbc7;text-align:center;white-space:nowrap;padding:0 4px 7px;position:relative;color:var(--green)}
.word-slot.active-word{border-color:#87aa5e}.typed-letter{color:#244c36}.wrong-letter{color:#b45767;background:#f7dce1;border-radius:4px}.word-caret{display:inline-block;height:.9em;width:2px;background:#75964e;vertical-align:-.02em;animation:word-caret 1s steps(1) infinite;margin-left:1px}
@keyframes word-caret{0%,100%{opacity:1}50%{opacity:0}}
.game-shell .typing-box:not(.word-entry) textarea{line-height:1.45}
@media(max-width:760px){.typing-box.word-entry{min-height:94px}.word-slots{font-size:27px;gap:10px 12px;padding-top:8px;min-height:88px}.word-slot{padding-bottom:6px;min-width:calc(var(--letters)*.54em + 6px)}.home-main .hero-game-stage .typing-box{margin:0 auto}.home-main .hero-game-stage{gap:0}.game-mode-select{font-size:11px;max-width:130px}.game-difficulty-select{font-size:9px;padding:4px;max-width:73px;margin-left:2px}}
.guide-keyboard{padding:10px 11px;background:#eaf0e0;border:1px solid #dde5d2;border-radius:15px;box-shadow:0 4px 0 #dce4d2;user-select:none}
.guide-row{display:flex;gap:5px;margin-bottom:5px;align-items:stretch}.guide-row:last-child{margin-bottom:0}
.guide-key{flex:1;min-width:0;height:34px;display:grid;place-items:center;border-radius:6px;background:#fafbf7;border:1px solid #d8e1cd;box-shadow:0 2px 0 #d3dcc8;font-family:var(--display);font-size:12px;color:#67765c;transition:background 100ms,transform 100ms,box-shadow 100ms;cursor:pointer;padding:0}
.guide-key.decorative{font-family:var(--body);font-size:9px;background:#e2e9d9;color:#8d9980;cursor:default}
.guide-key.wide{flex:1.5}.guide-key.spacebar{flex:6.8;font-size:9px;color:#94a185}
.guide-key[data-key=f]:after,.guide-key[data-key=j]:after{content:'';width:10px;height:2px;background:#c6cfbb;position:absolute;bottom:5px}.guide-key[data-key=f],.guide-key[data-key=j]{position:relative}
.guide-key.next-key{background:#d9edb7;color:#244c36;border-color:#a7c881;box-shadow:0 2px 0 #9fbd80;outline:2px solid #c5dca5;outline-offset:1px}
.guide-key.next-key.finger-lr,.guide-key.next-key.finger-rr{background:#f6d4d9;border-color:#d9a4ad;outline-color:#edc3cb;box-shadow:0 2px 0 #d9a4ad}
.guide-key.next-key.finger-lm,.guide-key.next-key.finger-rm{background:#f6eab2;border-color:#d7c685;outline-color:#f0e4b4;box-shadow:0 2px 0 #d7c685}
.guide-key.next-key.finger-lp,.guide-key.next-key.finger-rp{background:#dce9f6;border-color:#abc5dd;outline-color:#ccdeee;box-shadow:0 2px 0 #abc5dd}
.guide-key.pressed{transform:translateY(2px);box-shadow:none;background:#bfd5a0;color:var(--green)}
.finger-guide{display:flex;align-items:center;justify-content:center;position:relative;margin-top:9px;gap:15px;min-height:50px}
.finger-hands{width:139px;height:47px;overflow:visible;flex-shrink:0;fill:#f2f5ea;stroke:#c1cdb4;stroke-width:1.5}.finger-hands .hand-palm{fill:#eef2e6;stroke:#c8d2bd}.finger-hands .active-finger{fill:#d9edb7;stroke:#8dad67}
.finger-hands [data-finger=lr].active-finger,.finger-hands [data-finger=rr].active-finger{fill:#f6d4d9;stroke:#d0a0aa}.finger-hands [data-finger=lm].active-finger,.finger-hands [data-finger=rm].active-finger{fill:#f6eab2;stroke:#c8b56f}.finger-hands [data-finger=lp].active-finger,.finger-hands [data-finger=rp].active-finger{fill:#dce9f6;stroke:#9bb7d0}
.finger-tip{font-size:10px;color:#839173;line-height:1.5;text-align:left;min-width:168px}.guide-layout{position:absolute;right:0;font-size:8px;color:#a4ad99}
.game-shell{width:100%;max-width:none;height:calc(100dvh - 82px);min-height:610px;margin:0;padding:22px 40px 10px;display:flex;flex-direction:column}
.game-shell .game-stage{flex:1;min-height:0;padding:22px 0 12px;justify-content:center}
.game-shell .game-stage>.eyebrow{margin-bottom:16px;font-size:10px}
.game-shell .target-text{font-size:clamp(33px,3.2vw,48px);max-width:1050px;line-height:1.45;margin-bottom:20px}
.game-shell .typing-box textarea{height:72px;padding-top:14px;padding-bottom:14px;background:#fff}
.game-shell .typing-box .enter-icon{bottom:27px}
.game-shell .game-instruction{margin-top:12px;min-height:16px}
.game-shell .auto-advance-note{display:none}
.game-shell .keyboard-guide{margin-top:18px}
.game-shell .game-actions{padding:12px 0 6px;border:0;gap:28px;font-size:10px;flex-shrink:0}
.game-shell .game-save-note{margin-top:3px;font-size:9px;flex-shrink:0}
.game-shell.mode-listen .speech-player{padding:25px 31px;border-radius:24px;gap:26px;box-shadow:0 8px 28px #244c3606;background:#f5e7e9;margin-bottom:26px}
.game-shell.mode-listen .speaker-btn{width:72px;height:72px;border-radius:50%;background:#fff;color:#a65d70}
.game-shell.mode-listen #target:empty{display:none}
.game-shell.mode-recall .recall-count{background:#f2eaf8;border-radius:12px;padding:14px 20px;color:#826894;margin-bottom:23px}
@media(max-width:1000px){.home-main .hero-game,.game-shell{padding-inline:27px}.guide-layout{display:none}}
@media(max-width:760px){.home-main .play-hero{height:calc(100dvh - 118px);min-height:600px}.home-main .hero-game{padding:17px 21px 8px}.home-main .hero-game-top{gap:7px;flex-wrap:wrap}.home-main .hero-live-stats{gap:23px;margin-top:6px}.home-main .hero-live-stats b{font-size:13px}.home-main .hero-game-stage{padding:24px 0 8px;justify-content:center}.home-main .hero-game-stage .target-text{font-size:31px;letter-spacing:-.8px;margin:0 auto 23px;min-height:0}.home-main .hero-game-stage textarea{height:88px;font-size:22px;line-height:1.45;padding:14px 30px 14px 15px}.home-main .hero-game-bottom .game-instruction{font-size:9px;max-width:180px}.hero-voice{padding:8px;font-size:10px;gap:5px}.hero-voice span{font-size:8px}.home-main .hero-proof{height:26px;margin:0 0 8px;font-size:9px}.home-main .hero-friend{right:13px;bottom:36px}.home-main .hero-melon{width:35px}.keyboard-guide{margin-top:22px}.guide-keyboard{padding:7px;border-radius:11px;box-shadow:0 3px 0 #dce4d2}.guide-row{gap:3px;margin-bottom:4px}.guide-key{height:28px;font-size:9px;border-radius:4px;box-shadow:0 1px 0 #d3dcc8}.guide-key.decorative{font-size:6px}.guide-key.wide{flex:1.15}.guide-key.spacebar{font-size:7px}.guide-key.next-key{outline-width:1px}.guide-key.pressed{transform:translateY(1px)}.guide-key[data-key=f]:after,.guide-key[data-key=j]:after{width:5px;height:1px;bottom:3px}.finger-guide{gap:10px;margin-top:8px;min-height:43px}.finger-hands{width:110px;height:38px}.finger-tip{font-size:8px;min-width:145px}.home-main .games-section{padding:30px 21px 40px}.game-header{padding-inline:12px;gap:7px}.game-header .game-tools .icon-btn{width:30px}.game-header-title{max-width:40%}.game-shell{height:calc(100dvh - 73px);min-height:600px;padding:18px 21px 9px}.game-shell .game-stage{padding-top:23px}.game-shell .target-text{font-size:31px;letter-spacing:-.8px;line-height:1.45;margin-bottom:20px}.game-shell .game-stage>.eyebrow{font-size:8px}.game-shell .typing-box textarea{font-size:22px;height:88px;padding:14px 30px 14px 15px;line-height:1.45}.game-shell .typing-box .enter-icon{bottom:18px}.game-shell .game-instruction{font-size:9px;margin-top:12px;min-height:14px}.game-shell .game-actions{gap:8px 13px;font-size:9px;padding:10px 0 2px}.game-shell .game-actions button{min-height:27px}.game-shell .game-save-note{font-size:8px;line-height:1.5;max-width:280px;margin:4px auto 0}.game-shell.mode-listen .speech-player{padding:20px 19px;gap:18px}.game-shell.mode-listen .speaker-btn{width:59px;height:59px}.game-shell.mode-recall .recall-count{font-size:11px;padding:12px 15px}}
@media(max-height:760px) and (min-width:761px){.home-main .play-hero,.game-shell{min-height:570px}.home-main .hero-game-stage,.game-shell .game-stage{padding-block:12px}.home-main .hero-game-stage .target-text,.game-shell .target-text{font-size:37px;margin-bottom:18px}.keyboard-guide{margin-top:16px}.guide-key{height:29px}.finger-guide{min-height:42px}.finger-hands{height:38px;width:114px}}
.home-main .play-hero{height:calc(100dvh - var(--home-header-height,91px))}
.auto-advance-note{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);margin-top:18px}
.play-hero-heading{margin-bottom:19px}.hero-game-stage{padding-top:22px}
.hero-game-stage .target-text{margin-top:10px}
.play-hero .hero-proof{justify-content:center;margin-top:17px;font-size:11px}
.play-hero .hero-proof>span:last-child{color:#9aa58f}
.hero-finish{text-align:center;padding:34px 10px 23px}
.hero-finish>.icon{width:36px;height:36px;color:#799c52;margin-bottom:10px}
.hero-finish h2{font-size:33px;letter-spacing:-1px}
.hero-finish p{font-size:13px;margin-top:10px}
.hero-finish-actions{display:flex;align-items:center;justify-content:center;gap:13px;margin-top:25px;flex-wrap:wrap}
@media(max-width:1000px){.play-hero-heading h1{font-size:32px}.hero-friend span{display:none}.hero-game-stage{padding-inline:0}.hero-game-stage .target-text{font-size:32px}}
@media(max-width:760px){.play-hero{padding:25px 0 16px}.play-hero-heading{gap:10px;margin-bottom:20px;align-items:flex-start}.play-hero-heading h1{font-size:29px;letter-spacing:-1.25px;max-width:270px}.play-hero-heading p{font-size:12px;line-height:1.55;max-width:275px}.play-hero-heading .eyebrow{font-size:9px;letter-spacing:1px}.hero-melon{width:46px;margin-top:20px}.hero-game{padding:17px 16px 19px;border-radius:19px}.hero-game-top{gap:9px;flex-wrap:wrap}.hero-mode{font-size:11px;flex:1}.hero-game-top .icon-btn{order:1}.hero-live-stats{order:2;margin-left:0;flex-basis:100%;gap:19px;margin-top:5px}.hero-live-stats b{font-size:12px}.hero-progress{margin-top:15px}.hero-game-stage{padding-top:27px}.hero-game-stage .target-text{font-size:29px;line-height:1.5;letter-spacing:-.9px;margin:14px auto 21px;min-height:87px}.hero-game-stage textarea{height:104px;font-size:20px;line-height:1.5;padding:15px 31px 15px 15px}.hero-game-stage textarea::placeholder{font-size:17px}.hero-game-stage .typing-box .enter-icon{bottom:18px;right:12px}.hero-game-bottom{gap:13px;margin-top:15px;align-items:center}.hero-game-bottom .game-instruction{font-size:10px;line-height:1.6}.hero-game-bottom .btn{min-width:83px;padding:10px 12px;font-size:11px}.play-hero .hero-proof{gap:13px;font-size:10px;flex-wrap:wrap;margin-top:14px}.play-hero .hero-proof>span:last-child{display:none}.hero-finish{padding:25px 0 10px}.hero-finish h2{font-size:29px}.hero-finish p{font-size:12px}.hero-finish-actions{gap:10px}.hero-finish-actions .btn{font-size:11px}}
.logo .melon-mark{width:37px;height:37px;flex-shrink:0;overflow:visible}
.footer .logo .melon-mark{width:26px;height:26px}
.game-header .logo .melon-mark{width:30px;height:30px}
.brand-key .melon-mark{width:58px;height:58px}
.brand-board.big .melon-wordmark{width:310px;max-width:100%;overflow:visible}
.melon-face-body{transform-origin:32px 34px;animation:melon-hello 7s ease-in-out infinite}
.melon-eyes{transform-origin:32px 21px;animation:melon-blink 7s ease-in-out infinite}
.melon-character .melon-face-body{transform-origin:130px 108px;animation:melon-bob 7s ease-in-out infinite}
.melon-character .melon-eyes{transform-origin:130px 47px}
.game-header .melon-face-body{animation:none}
@keyframes melon-blink{0%,40%,44%,100%{transform:scaleY(1)}42%{transform:scaleY(.12)}}
@keyframes melon-hello{0%,78%,94%,100%{transform:translateY(0) rotate(0)}84%{transform:translateY(-2px) rotate(-3deg)}89%{transform:translateY(0) rotate(2deg)}}
@keyframes melon-bob{0%,78%,94%,100%{transform:translateY(0) rotate(0)}84%{transform:translateY(-7px) rotate(-3deg)}89%{transform:translateY(0) rotate(2deg)}}
@media(max-width:760px){.logo .melon-mark{width:32px;height:32px}.game-header .logo .melon-mark{width:30px;height:30px}.footer .logo .melon-mark{width:26px;height:26px}}
.less-motion .melon-face-body,.less-motion .melon-eyes{animation:none!important}
@media(prefers-reduced-motion:reduce){.melon-face-body,.melon-eyes{animation:none!important}}

/* The visible copy cursor mirrors the real textarea insertion point. */
.word-slot .selected-letter{background:#dce8f5;color:#24415d;border-radius:3px}
.word-caret{pointer-events:none}

/* Routine instructions stay out of play; status appears only when needed. */
.game-instruction:empty{display:none}
.hero-game-bottom:has(.game-instruction:empty){display:none}
.hero-game-bottom{justify-content:flex-end}
.hero-game-bottom .game-instruction:not(:empty){margin-right:auto}
.hero-game-tools{display:flex;align-items:center;gap:10px;flex-shrink:0}
.hero-game-tools .hero-voice{min-height:36px;background:#fff;border:1px solid #e5eade;border-radius:12px}
.hero-game-tools .voice-label{font-weight:500}
.hero-game-tools .hero-voice[aria-checked=false]{color:#849078}
@media(max-width:760px){
 .hero-game-tools{order:1;gap:7px}
 .hero-game-tools .hero-voice{order:1;min-height:32px;padding:7px 8px}
 .hero-game-tools .hero-voice>.icon{display:none}
 .hero-game-tools .voice-label{font-size:0}
 .hero-game-tools .voice-label:after{content:'Voice';font-size:10px}
}

/* The prompt owns the playfield; the keyboard spans its bottom edge. */
.home-main .hero-game-stage .target-text,.game-shell .target-text{width:100%;max-width:none;font-size:clamp(36px,4.4vw,64px);line-height:1.35}
.typing-box.word-entry{max-width:none!important;width:100%!important}
.word-slots{font-size:clamp(30px,3.5vw,48px);gap:18px;padding-block:14px;min-height:88px}
.home-main .hero-game-stage .typing-box:not(.word-entry),.game-shell .typing-box:not(.word-entry){width:min(1200px,100%);max-width:none}
.home-main .hero-game-bottom{width:100%}
.keyboard-guide{width:100%;max-width:none}
.home-main .hero-game-stage:not(.reviewing):has(.keyboard-guide:not([hidden])),.game-shell:not(.reviewing) .game-stage:has(.keyboard-guide:not([hidden])){justify-content:flex-start}
.home-main .hero-game-stage:not(.reviewing):has(.keyboard-guide:not([hidden]))>.target-text,.game-shell:not(.reviewing) .game-stage:has(.keyboard-guide:not([hidden]))>.target-text{margin-top:auto}
.home-main .hero-game-stage .keyboard-guide,.game-shell .keyboard-guide{margin-top:auto;padding-top:24px}
.keyboard-guide .guide-key,.keyboard-guide .guide-key.has-legend{height:clamp(34px,5dvh,52px);font-size:clamp(12px,1.25vw,18px)}
.keyboard-guide .guide-key.decorative,.keyboard-guide .guide-key.spacebar{font-size:clamp(9px,.9vw,13px)}
.keyboard-guide .guide-key .key-legend{font-size:9px}
.keyboard-guide .finger-tip{font-size:12px}
@media(max-width:760px){
 .home-main .hero-game-stage .target-text,.game-shell .target-text{font-size:clamp(32px,6.5vw,44px);line-height:1.35}
 .word-slots{font-size:30px;gap:12px;min-height:88px}
 .keyboard-guide .guide-key,.keyboard-guide .guide-key.has-legend{height:32px;font-size:10px}
 .keyboard-guide .guide-key.decorative,.keyboard-guide .guide-key.spacebar{font-size:7px}
 .keyboard-guide .guide-key .key-legend{font-size:5px}
 .keyboard-guide .finger-tip{font-size:9px}
 .home-main .hero-game-stage .keyboard-guide,.game-shell .keyboard-guide{padding-top:18px}
}

/* A demo win stays in the same playfield before the next sentence. */
.hero-game-stage.demo-success .target-text{color:var(--green);transition:transform 140ms ease-out}
.hero-game-stage.demo-success .typing-box{opacity:.65}
.hero-game-stage.demo-success .answer-cue{position:absolute;top:8px;left:50%;transform:translateX(-50%);white-space:nowrap}
.hero-game-stage{position:relative}
