@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&family=Manrope:wght@500;600;700;800&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');
:root{--bg:#f8f8f3;--paper:#fffefa;--ink:#293c34;--muted:#7a8177;--green:#355c49;--sage:#8da986;--gold:#d4a351;--line:#e7e9df;--orange:#df9666;--shadow:0 12px 35px #30453708}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.7 'DM Sans','Noto Sans Thai',sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b4c99c;outline-offset:3px}button:disabled{cursor:default}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,.serif{font-family:'DM Serif Display','Noto Sans Thai',serif;font-weight:400;line-height:1.25}h1{font-size:35px;letter-spacing:-.5px}h2{font-size:26px}h3{font-size:17px;font-family:Manrope,'Noto Sans Thai',sans-serif;line-height:1.55}.sidebar{position:fixed;inset:0 auto 0 0;width:242px;background:#fdfef9;border-right:1px solid var(--line);padding:33px 25px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:9px;line-height:1.2;font:27px 'DM Serif Display',serif;white-space:nowrap;letter-spacing:-.5px}.brand-mark{color:#c08e4c;font-size:36px;width:30px}.brand-light{color:#7f9977}.brand small{display:block;font:6.5px/1.8 'DM Sans',sans-serif;letter-spacing:1px;color:#9a9b8d;margin-top:6px}.nav-label{font-size:10px;letter-spacing:1.5px;color:#a0a394;font-weight:700;margin:47px 9px 17px}nav button{display:flex;align-items:center;gap:13px;width:100%;padding:13px 15px;margin:5px 0;text-align:left;border-radius:9px;background:none;color:#838b7f;font-size:13px;min-height:46px}nav .icon{width:21px;text-align:center;font-size:20px;line-height:1}nav button.active{color:#355740;background:#e8efe1;font-weight:700}nav button .count{margin-left:auto;background:#e7e9df;padding:1px 7px;border-radius:5px;font-size:10px}.sidebar-bottom{margin-top:auto;background:#eef2e6;border:1px solid #e3e9d8;border-radius:14px;padding:18px 16px;text-align:center;position:relative}.sidebar-bottom b{font-size:13px;font-weight:600}.sidebar-bottom p{font-size:12px;color:#8d9983;margin-top:7px;line-height:1.8}.fox-small{width:90px;height:82px;margin:0 auto 9px}.side-footer{font-size:8px;letter-spacing:1.1px;color:#9ba68e;border-top:1px solid #dfe5d5;padding-top:17px;margin-top:17px}.app-shell{margin-left:242px}header{height:86px;display:flex;justify-content:space-between;align-items:center;background:#fdfef9;border-bottom:1px solid var(--line);padding:0 41px}.crumb{font-size:12px;color:#92988b}.crumb span{color:#c9b180;margin-left:7px}.header-actions{display:flex;align-items:center;gap:20px}.language-select{display:flex;align-items:center;gap:5px;color:#8e9784;font-size:9px}.language-select select{border:0;background:transparent;color:#7e8977;font-size:11px;padding:7px}.course-select{background:white;border:1px solid var(--line);border-radius:7px;padding:7px 10px;font-size:11px;display:flex;gap:7px;align-items:center}.header-stats{display:flex;align-items:center;gap:18px;color:#d19d4b;font-size:13px}.header-stats span:first-child{color:#b28356}.avatar-button{border-radius:50%;width:38px;height:38px;background:#edf0e4;border:2px solid #fff;box-shadow:0 0 0 1px #e1e6d7;overflow:hidden}.avatar-button svg{width:40px;height:45px;margin-top:5px}main{max-width:1440px;margin:auto;padding:30px 41px 0}.welcome{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.welcome p{font-size:13px;color:var(--muted);margin-top:8px}.level-chip{background:#edf1e5;border:1px solid #e0e7d4;color:#849775;border-radius:20px;font-size:10px;font-weight:600;padding:7px 13px;white-space:nowrap}.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 279px;gap:25px}.hero{height:265px;position:relative;border-radius:17px;overflow:hidden;color:white;background:#324f38}.hero-image{position:absolute;inset:0;background:url('assets/evergreen.webp') center 50%/cover}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#112c26d9,#234b3666 55%,transparent)}.hero-copy{position:relative;z-index:1;padding:30px 32px;max-width:70%}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#9ca98d;display:flex;align-items:center;gap:7px;margin-bottom:11px}.hero .eyebrow{color:#d7e5c1}.eyebrow:before{content:'✧';font-size:13px;color:#d8bb76}.hero h2{font-size:34px;line-height:1.17;letter-spacing:-.2px;color:#fffcf1}.hero h2 em{color:#d9e5ac;font-style:italic}.hero p{font-size:12px;line-height:1.8;color:#e0e6d5;margin:12px 0 17px;max-width:310px}.primary{background:var(--green);color:white;border-radius:8px;padding:11px 18px;font-size:12px;font-weight:600;min-height:42px;transition:background .15s,transform .15s}.primary:hover{background:#264b39;transform:translateY(-1px)}.hero .primary{background:#f2edcf;color:#3f593b;box-shadow:0 3px 0 #b7ba8c}.primary .arrow{margin-left:24px}.hero-badge{position:absolute;z-index:1;right:17px;bottom:15px;backdrop-filter:blur(6px);border:1px solid #ffffff33;background:#163c2b66;border-radius:18px;padding:5px 10px;font-size:9px;color:#e3e9d6}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:18px 0 28px}.stat{border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:14px;display:flex;gap:12px;align-items:center}.stat-icon{width:34px;height:36px;border-radius:9px;display:grid;place-items:center;background:#f4efdf;color:#ba9a51;font-size:18px}.stat:nth-child(2) .stat-icon{background:#edf1e8;color:#86a577}.stat:nth-child(3) .stat-icon{background:#f2eaf5;color:#ad8ab9}.stat b{font-size:19px;display:block;font-family:Manrope,sans-serif;line-height:1.3}.stat small{font-size:10px;color:#939889}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}.section-head h2{font-size:24px}.section-head p{font-size:11px;color:#929b88;margin-top:6px}.text-btn{font-size:11px;color:#7a9568;background:none;padding:5px;font-weight:600;min-height:32px}.path-card{border:1px solid var(--line);background:var(--paper);border-radius:14px;padding:22px 24px;overflow:hidden}.path-heading{display:flex;justify-content:space-between;align-items:center}.path-heading b{font-size:13px}.path-heading span{font-size:10px;color:#9ba48f}.path-line{display:flex;position:relative;justify-content:space-between;margin:25px 3px 14px;align-items:center}.path-line:before{content:'';position:absolute;inset:25px 15px auto;height:2px;background:repeating-linear-gradient(90deg,#dfe6d2 0 6px,transparent 6px 11px)}.path-node{position:relative;text-align:center;width:69px;background:none;padding:0;z-index:1;min-height:80px;display:flex;flex-direction:column;align-items:center}.path-node .orb{border:3px solid #e5ebda;width:52px;height:52px;border-radius:50%;background:#f2f4eb;display:grid;place-items:center;font-size:19px;color:#aab59b;box-shadow:0 3px 0 #e3e7db}.path-node.current .orb{background:#83a46f;color:#fff;border-color:#c7d8b5;box-shadow:0 4px 0 #60824f,0 0 0 6px #eaf1e3}.path-node.done .orb{background:#dee9d2;border-color:#d0dfbe;color:#6d8f56}.path-node small{font-size:9px;color:#a3ab98;margin-top:12px;line-height:1.4;max-width:68px}.path-node.current small{color:#728c63;font-weight:700}.path-node.locked{cursor:pointer}.path-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:14px;color:#929c85;font-size:10px;align-items:center}.progress-track{background:#e8eddf;height:5px;border-radius:10px;overflow:hidden}.progress-track i{height:100%;display:block;background:#99b57a;border-radius:10px;transition:width .4s}.recommendations{margin-top:26px}.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.story-card{border:1px solid var(--line);border-radius:12px;background:var(--paper);overflow:hidden;transition:transform .2s,box-shadow .2s;text-align:left;padding:0;display:block;width:100%;color:var(--ink)}.story-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.story-cover{height:124px;position:relative;overflow:hidden;background:#dce8cd}.story-cover .landscape{width:100%;height:100%;object-fit:cover}.story-cover.image{background:url('assets/evergreen.webp') center/cover}.story-cover.image.v2{background-position:80% 50%;filter:saturate(.8)}.cover-badge{position:absolute;left:10px;top:10px;border-radius:5px;background:#fffff2e6;padding:2px 7px;font-size:9px;color:#7d9266}.cover-play{position:absolute;bottom:10px;right:10px;background:#ffffffd9;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;color:#5d7b4f;font-size:10px}.story-card-content{padding:15px}.story-meta{font-size:8px;letter-spacing:1px;color:#9ba18f;font-weight:600;margin-bottom:5px}.story-card h3{font-family:'DM Serif Display','Noto Sans Thai',serif;font-size:18px;font-weight:400;line-height:1.35}.story-card p{font-size:10px;color:#8e9784;line-height:1.7;margin:7px 0 10px}.story-card-foot{display:flex;justify-content:space-between;color:#97a18b;font-size:9px}.rail-panel{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:22px;margin-bottom:18px}.companion-panel{background:#f1f3e8;border-color:#e4e9d6;text-align:center;position:relative}.companion-top{display:flex;justify-content:space-between;align-items:center;font-size:8px;color:#8c9c78;letter-spacing:1.3px;font-weight:700}.companion-top span:last-child{background:#e5ebd7;letter-spacing:0;padding:2px 7px;border-radius:5px;font-size:9px}.companion-fox{width:126px;height:127px;margin:8px auto 0}.companion-panel h3{font-family:'DM Serif Display',serif;font-size:21px;font-weight:400;margin-top:4px}.companion-panel p{font-size:11px;color:#8b977e;line-height:1.8;margin:7px 0 14px}.bubble{background:#fffef6;border:1px solid #e2e8d5;border-radius:10px;padding:10px;font-size:10px;color:#8e9c7f;position:relative}.bubble:before{content:'';width:9px;height:9px;border-top:1px solid #e2e8d5;border-left:1px solid #e2e8d5;background:#fffef6;transform:rotate(45deg);position:absolute;top:-5px;left:calc(50% - 5px)}.rail-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.rail-title h3{font-size:13px}.rail-title span{font-size:9px;color:#abb19f}.quest{display:flex;align-items:center;gap:11px;margin:15px 0}.quest-icon{width:31px;height:32px;border:1px solid #e5e7da;border-radius:8px;display:grid;place-items:center;color:#b5a665;background:#f7f6ec;font-size:15px;flex-shrink:0}.quest b{display:block;font-size:10px;font-weight:500}.quest small{display:block;font-size:8px;color:#a9ae9b;margin-top:2px}.quest .check{margin-left:auto;width:15px;height:15px;border:1px solid #dee5d0;border-radius:50%;font-size:10px;text-align:center;color:#8ca77a}.quest.finished .check{background:#d7e5c6}.daily-reward{border-top:1px solid var(--line);padding-top:13px;margin-top:17px;display:flex;justify-content:space-between;color:#ab9e71;font-size:9px}.daily-reward b{font-weight:500;color:#9aaa87}.tip-panel{background:#fcf5e7;border-color:#f1e7cc}.tip-panel .eyebrow{color:#b2a47a;font-size:8px}.tip-panel h3{font-size:13px}.tip-panel p{font-size:11px;color:#a79a7c;margin-top:8px;line-height:1.8}footer{max-width:1440px;margin:30px auto 0;padding:22px 41px;border-top:1px solid var(--line);font-size:10px;color:#9ca48f;display:flex;justify-content:space-between}.tabs{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0}.tabs button,.secondary{border:1px solid #e0e6d5;background:var(--paper);padding:10px 15px;border-radius:8px;font-size:13px;color:#859677;min-height:43px}.tabs button.active{background:var(--green);border-color:var(--green);color:#fff}.page-intro p{font-size:15px;color:#85917c;line-height:1.9;margin-top:12px}.world-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px}.world-map{position:relative;aspect-ratio:1.25;background:#eaf0df;border:1px solid #dfe7d2;border-radius:18px;overflow:hidden}.world-map svg.map-bg{position:absolute;width:100%;height:100%;inset:0}.map-stop{position:absolute;transform:translate(-50%,-50%);width:80px;padding:0;background:none;display:flex;flex-direction:column;align-items:center;z-index:2}.map-stop .orb{height:52px;width:52px;border:4px solid #f4f6e9;background:#b8c9a7;border-radius:50%;display:grid;place-items:center;box-shadow:0 4px 0 #8fa47c;color:#fdfdf4;font-size:23px}.map-stop.current .orb{background:#759765;box-shadow:0 4px 0 #4c7548,0 0 0 7px #f3f6e6cc;animation:orb-pulse 3s infinite}.map-stop.done .orb{background:#e4b967;box-shadow:0 4px 0 #ba9859}.map-stop.locked .orb{background:#c4d0b7;color:#f0f2e7;box-shadow:0 3px 0 #b0bda2}.map-stop small{background:#f7faefee;border:1px solid #e1e8d5;color:#7f926d;font-size:9px;border-radius:5px;padding:3px 6px;white-space:nowrap;margin-top:7px}.world-map-title{position:absolute;left:22px;top:20px;z-index:2}.world-map-title b{font-family:'DM Serif Display',serif;font-weight:400;font-size:25px;color:#68845d}.world-map-title small{display:block;color:#94a681;font-size:10px;margin-top:3px}.all-stories{grid-template-columns:repeat(4,minmax(0,1fr))}.library-top{display:flex;align-items:center;gap:15px;justify-content:space-between}.search{border:1px solid #e0e6d6;background:white;padding:12px 15px;border-radius:9px;color:var(--ink);font-size:14px;width:100%;max-width:370px}.library-top .tabs{margin:0}.notice{font-size:12px;color:#89967f;border:1px solid #e2e8d8;background:#f0f4e7;border-radius:10px;padding:14px 18px;margin:22px 0;line-height:1.9}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0}.game-card{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:26px;position:relative;overflow:hidden}.game-card .game-illustration{height:95px;display:flex;align-items:center;justify-content:center;font-size:54px;gap:15px}.game-card h2{font-size:25px;margin:15px 0 10px}.game-card p{font-size:14px;color:#839176;line-height:1.9;margin-bottom:19px}.game-card .eyebrow{margin-top:10px}.game-card .primary{width:100%}.vocab-stats{display:flex;gap:15px;margin:25px 0}.vocab-stats>div{background:white;border:1px solid var(--line);border-radius:10px;padding:18px 23px;min-width:140px}.vocab-stats b{font-size:26px;font-family:Manrope;display:block}.vocab-stats span{font-size:12px;color:#8b977e}.word-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.word-card{background:white;border:1px solid var(--line);border-radius:12px;padding:20px}.word-card h3{font-family:'DM Serif Display',serif;font-size:24px;font-weight:400}.word-card p{font-size:14px;color:#87967b;line-height:1.8;margin:7px 0}.word-card .example{border-left:2px solid #d3dfc4;padding-left:10px;font-size:13px}.word-card .row{justify-content:space-between}.word-card small{font-size:11px;color:#9ca78d}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.full{width:100%}.muted{color:var(--muted)}.profile-hero{background:#edf2e3;border:1px solid #dfe7d2;border-radius:17px;padding:30px;display:flex;align-items:center;gap:30px}.profile-hero .fox-profile{width:140px;height:150px;flex-shrink:0}.profile-hero h2{font-size:32px}.profile-hero p{color:#87967b;font-size:14px;margin:8px 0 13px}.equipment{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:22px}.equipment-card{background:white;border:1px solid var(--line);border-radius:12px;padding:22px;text-align:center}.equipment-card svg{height:110px;width:110px}.equipment-card h3{font-size:16px}.equipment-card p{font-size:12px;color:#91a17f;margin:8px 0 15px}.equipment-card.equipped{border-color:#9fbd81;background:#f2f6eb}.badge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:22px}.badge-card{background:white;border:1px solid var(--line);border-radius:11px;text-align:center;padding:22px 14px}.badge-card.locked{opacity:.45}.badge-card .big{font-size:32px}.badge-card p{font-size:13px;margin-top:8px}.profile-name{border:1px solid #dce5d1;border-radius:8px;background:white;padding:10px;max-width:220px}.activity-chart{display:flex;gap:15px;height:130px;align-items:end;margin:25px 0 10px}.activity-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;height:100%;font-size:11px;color:#9aa78b;gap:5px}.activity-col i{background:#a5bc88;border-radius:5px;width:70%;min-height:3px}.activity-col b{font-size:11px;font-weight:500}.progress-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:25px}.panel{background:white;border:1px solid var(--line);border-radius:13px;padding:25px}.panel p{color:#87957a;font-size:14px;line-height:1.9;margin-top:10px}.level-progress{margin:20px 0}.level-progress .row{justify-content:space-between;font-size:13px;margin-bottom:8px}.empty{padding:40px 20px;border:1px dashed #dce5cd;border-radius:12px;text-align:center;color:#91a17f;background:#f7f9f1;line-height:1.9}#overlay{position:fixed;inset:0;z-index:30;background:#1c312a88;backdrop-filter:blur(7px);padding:25px 15px;overflow:auto}#overlay[hidden]{display:none}.modal{max-width:850px;margin:12px auto;background:var(--bg);border-radius:20px;padding:30px;position:relative;box-shadow:0 20px 100px #122b2a33}.modal.small{max-width:620px}.modal h2{font-size:31px;padding-right:30px}.modal p{font-size:16px;line-height:1.9;color:#7d8b72;margin:14px 0}.close{position:absolute;right:14px;top:14px;z-index:4;background:#f6f8efdd;width:36px;height:36px;display:grid;place-items:center;border:1px solid #e1e7d4;border-radius:50%;color:#8b9b7b;font-size:23px}.modal .eyebrow{margin-top:5px}.modal-settings{display:flex;gap:8px;align-items:center;margin:15px 0}.modal-settings select{border:1px solid #dbe3d0;background:white;border-radius:7px;font-size:13px;color:#80916e;padding:7px}.story-scene{position:relative;height:270px;overflow:hidden;background:#d8e5c7;border-radius:13px;margin:20px 0 0}.story-scene .scene-landscape{position:absolute;inset:0;overflow:hidden;animation:scene-drift 25s infinite alternate ease-in-out}.scene-landscape.photo{background:url('assets/evergreen.webp') center/cover;transform:scale(1.08)}.scene-landscape>svg{height:100%;width:100%;object-fit:cover}.story-scene .scene-shade{position:absolute;inset:0;background:linear-gradient(0deg,#23352f44,transparent 60%)}.scene-character{position:absolute;bottom:16px;left:13%;width:100px;height:125px;filter:drop-shadow(0 6px 4px #1d322638);animation:fox-bob 4s infinite ease-in-out}.scene-human{position:absolute;right:22%;bottom:20px;width:60px;height:120px;animation:human-sway 5s infinite alternate}.firefly{position:absolute;border-radius:50%;background:#fff2ab;box-shadow:0 0 11px 5px #fff4b977;animation:firefly-float 5s infinite alternate;opacity:.8}.scene-page-label{position:absolute;top:12px;left:12px;background:#ffffffd9;color:#80916b;border-radius:6px;padding:4px 9px;font-size:10px}.scene-play-state{position:absolute;right:13px;bottom:13px;background:#244934b3;color:#f2f5df;border-radius:6px;padding:4px 9px;font-size:10px}.story-reader{background:white;border:1px solid var(--line);border-top:0;border-radius:0 0 13px 13px;padding:25px}.story-reader .story-text{font-size:22px;line-height:1.95;color:#3f5143;margin:0}.word-tap{display:inline;border:0;background:none;padding:0;color:#3f5143;font:inherit;min-height:0;text-align:left}.word-tap.known-word{text-decoration:underline;text-decoration-color:#bdd0a3;text-decoration-thickness:2px;text-underline-offset:5px}.word-tap:hover{background:#eaf1dc;border-radius:3px}.translation{font-size:17px;line-height:2;border-top:1px dashed #dfe6d5;margin-top:20px;padding-top:17px;color:#7e8d73}.scene-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:16px 0;flex-wrap:wrap}.scene-controls .row{gap:7px}.scene-controls .secondary{font-size:12px;padding:9px 12px}.scene-dots{display:flex;gap:6px}.scene-dots i{height:6px;width:20px;border-radius:6px;background:#dce5ce}.scene-dots i.active{background:#7f9d68}.scene-subtitle{font-size:11px;color:#8e9a7d;margin-top:10px}.word-popover{padding:20px;background:#f0f5e6;border:1px solid #d8e5c8;border-radius:12px;margin:15px 0;line-height:1.9}.word-popover h3{font-size:24px;font-family:'DM Serif Display',serif;font-weight:400}.word-popover p{margin:5px 0;font-size:15px}.quiz-header{display:flex;justify-content:space-between;align-items:center;margin:20px 0 9px;font-size:12px;color:#95a482}.question{font-size:23px!important;line-height:1.8!important;color:var(--ink)!important}.question-th{font-size:16px;color:#99a58a;margin-top:-2px!important}.options{display:grid;grid-template-columns:1fr;gap:11px;margin:23px 0}.option{background:white;border:1px solid #dfe5d5;border-radius:10px;padding:15px 18px;font-size:17px;text-align:left;line-height:1.7;transition:.2s}.option:hover{border-color:#9bb380;background:#f2f6e9}.option .letter{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:6px;background:#f0f3e8;color:#99a88a;font-size:11px;margin-right:12px}.option.correct{background:#eaf4e4;border-color:#a3c08c;color:#587745}.option.wrong{background:#fff2e9;border-color:#e4b694;color:#ae825f}.feedback{background:#ecf4e5;border:1px solid #d5e4c6;border-radius:11px;padding:20px;font-size:16px;color:#6e8d58;line-height:1.9;margin:18px 0}.feedback.wrong{background:#fdf3e7;border-color:#e9d7bb;color:#a68a5d}.feedback .thai{display:block;border-top:1px solid #dce7ce;padding-top:10px;margin-top:10px;font-size:15px}.hint{background:#fbf5e5;border:1px solid #eee0bd;color:#ac955f;border-radius:10px;padding:15px;line-height:1.9;font-size:15px;margin:14px 0}.result{text-align:center}.result .result-fox{width:150px;height:160px;margin:0 auto}.result h2{padding:0}.reward-row{display:flex;justify-content:center;gap:13px;margin:22px 0}.reward-box{background:#eef4e5;border:1px solid #dce6ce;padding:16px 24px;border-radius:11px;color:#8a9f73;font-size:13px}.reward-box b{font-size:27px;color:#75965e;display:block;font-family:Manrope}.result .row{justify-content:center;margin-top:22px}.match-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:25px 0}.match-col{display:flex;flex-direction:column;gap:12px}.match-word{min-height:58px;border:1px solid #dce5ce;background:#fff;border-radius:10px;padding:13px 10px;font-size:17px;text-align:center}.match-word.chosen{background:#e9f1df;border-color:#98b477}.match-word.matched{background:#edf5e7;border-color:#d2e3c3;color:#97ac82;opacity:.65}.match-word.error{animation:shake .4s;border-color:#ddb38b;background:#fff2e8}.token-pool,.sentence-tray{display:flex;gap:9px;flex-wrap:wrap;padding:20px;border:1px dashed #d8e3c9;border-radius:11px;min-height:88px;background:#f0f5e7;margin:20px 0}.sentence-tray{border-style:solid;background:white}.token{background:#fff;border:1px solid #d8e2cc;border-radius:8px;padding:10px 15px;font-size:17px;box-shadow:0 3px 0 #e1e6d9}.token:disabled{opacity:.3;box-shadow:none}.sentence-tray .token{background:#edf3e3}.review-card{background:white;border:1px solid #dfe7d3;min-height:270px;border-radius:16px;padding:30px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;margin:25px 0}.review-card h3{font-size:42px;font-family:'DM Serif Display',serif;font-weight:400}.review-card p{font-size:18px}.review-card small{font-size:12px;color:#a1ac94}.rating-buttons{display:grid;grid-template-columns:1fr 1fr;gap:13px}.rating-buttons button{padding:17px;border-radius:9px;font-size:15px;background:#f7eedf;color:#aa9668;border:1px solid #eddfc0}.rating-buttons button:last-child{background:#e9f1df;color:#7f9e63;border-color:#d6e4c4}.course-option{padding:20px;border:1px solid var(--line);border-radius:12px;background:white;margin:14px 0;display:flex;align-items:center;gap:15px}.course-option>span{font-size:30px}.course-option p{font-size:13px;margin:3px 0}.course-option small{margin-left:auto;color:#acb49d;font-size:11px}.placement-note{font-size:12px!important}.listen-icon{font-size:45px;text-align:center;margin:25px 0}.listen-icon button{background:#eaf1de;border:1px solid #d9e5c6;border-radius:50%;height:100px;width:100px;font-size:40px;box-shadow:0 5px 0 #c6d6b5}.listen-icon button.speaking{animation:orb-pulse 1.2s infinite}#toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);background:#2e4d3b;color:#f1f5df;padding:12px 22px;border-radius:11px;z-index:50;opacity:0;pointer-events:none;transition:.25s;font-size:14px;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}.fox-svg{height:100%;width:100%;overflow:visible}.fox-tail{transform-origin:102px 112px;animation:tail-sway 4s infinite alternate}.fox-head{transform-origin:71px 63px;animation:head-tilt 5s infinite}.fox-eyes{transform-origin:70px 56px;animation:blink 6s infinite}.celebrate .fox-svg{animation:fox-celebrate .6s 3}.oops .fox-head{animation:head-tilt .7s 3}.confetti{font-size:28px;letter-spacing:20px;color:#c5b266;animation:confetti 2s both;text-align:center;height:30px}.replay-note{font-size:12px!important}.metric-note{font-size:12px;color:#98a48a;margin:15px 0}.audio-status{font-size:12px;color:#839672;min-height:20px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:15px 0}.settings-row input[type=range]{accent-color:var(--sage)}.export-btn{border:1px solid #dbe5ce;padding:10px 15px;border-radius:8px;cursor:pointer;background:#f9fbf4;font-size:13px}.name-save{font-size:12px}.a11y-note{font-size:11px;color:#9aa48e}.rain{position:absolute;inset:-100px;background:repeating-linear-gradient(105deg,transparent 0 30px,#e5f0ff55 31px 32px,transparent 33px 70px);animation:rain-fall .8s linear infinite;pointer-events:none}.hero-fireflies .firefly{z-index:1;pointer-events:none}@keyframes tail-sway{to{transform:rotate(13deg)}}@keyframes head-tilt{0%,70%,100%{transform:rotate(0)}80%,90%{transform:rotate(-5deg)}}@keyframes blink{0%,46%,50%,100%{transform:scaleY(1)}48%{transform:scaleY(.08)}}@keyframes fox-bob{50%{transform:translateY(-4px)}}@keyframes human-sway{to{transform:rotate(2deg)}}@keyframes fox-celebrate{50%{transform:translateY(-12px) rotate(5deg)}}@keyframes firefly-float{to{transform:translate(20px,-20px);opacity:.2}}@keyframes scene-drift{to{transform:scale(1.16) translate(-1%,1%)}}@keyframes orb-pulse{50%{filter:brightness(1.1);transform:translateY(-2px)}}@keyframes rain-fall{to{transform:translate(-30px,90px)}}@keyframes shake{25%,75%{transform:translateX(-5px)}50%{transform:translateX(5px)}}@keyframes confetti{from{transform:translateY(-30px);opacity:0}25%{opacity:1}to{transform:translateY(15px);opacity:0}}
@media(min-width:1500px){main{padding-top:38px}.hero{height:290px}.hero h2{font-size:39px}.hero p{font-size:14px}.hero .primary{font-size:13px}.story-cover{height:145px}.path-card{padding:26px}.rail-panel{padding:25px}}
@media(max-width:1150px){.sidebar{width:210px;padding:30px 18px}.app-shell{margin-left:210px}.brand{font-size:25px}.brand small{font-size:5.5px}header{padding:0 25px}main{padding:26px 25px 0}.dashboard{gap:18px;grid-template-columns:minmax(0,1fr) 235px}.hero-copy{padding:27px;max-width:85%}.hero h2{font-size:31px}.hero p{font-size:12px}.hero{height:270px}.hero-badge{font-size:8px}.header-actions{gap:12px}.crumb{font-size:11px}.language-select span{display:none}.stat{padding:13px 10px;gap:8px}.stat-icon{display:none}.stat b{font-size:21px}.stat small{font-size:10px}.all-stories{grid-template-columns:repeat(3,1fr)}.path-card{padding:20px 16px}.path-node{width:55px}.path-node .orb{width:44px;height:44px}.path-line:before{top:22px}.path-node small{font-size:8px}.world-layout{grid-template-columns:1fr 235px}.companion-panel p{font-size:12px}}
@media(max-width:950px){.dashboard{grid-template-columns:1fr}.right-rail{display:grid;grid-template-columns:1fr 1fr;gap:18px}.right-rail .rail-panel{margin:0}.right-rail .tip-panel{display:none}.companion-panel{display:none}.right-rail{display:block}.story-cover{height:160px}.hero{height:300px}.hero h2{font-size:38px}.hero-copy{max-width:70%}.hero p{font-size:14px}.hero .primary{font-size:14px}.story-card p{font-size:12px}.story-meta{font-size:9px}.story-card-foot{font-size:11px}.path-node{width:70px}.path-node .orb{width:52px;height:52px}.path-node small{font-size:10px}.path-line:before{top:26px}.world-layout{grid-template-columns:1fr}.world-layout>.panel{display:none}.all-stories{grid-template-columns:1fr 1fr}.game-grid{grid-template-columns:1fr}.game-card .game-illustration{position:absolute;right:20px;top:25px;font-size:55px;opacity:.3}.game-card p{max-width:75%}.word-grid{grid-template-columns:1fr 1fr}.equipment{grid-template-columns:1fr 1fr}.badge-grid{grid-template-columns:1fr 1fr}.progress-grid{grid-template-columns:1fr}.header-stats{gap:10px}.crumb{display:none}.header-actions{width:100%;justify-content:space-between}.library-top{align-items:flex-start;flex-direction:column;gap:20px}.search{max-width:none}}
@media(max-width:650px){body{font-size:16px}.sidebar{width:100%;height:72px;inset:auto 0 0 0;padding:4px 8px;border-top:1px solid var(--line);border-right:0}.brand,.nav-label,.sidebar-bottom{display:none}nav{display:flex;justify-content:space-around}nav button{width:auto;min-width:48px;flex-direction:column;gap:5px;margin:0;padding:8px 5px;font-size:9px;line-height:1.4;min-height:60px}nav .icon{font-size:22px}nav button .count{display:none}.app-shell{margin-left:0;padding-bottom:78px}header{height:72px;padding:0 18px}.header-actions{gap:8px}.course-select{font-size:12px;padding:8px}.language-select select{font-size:12px;padding:7px 3px}.header-stats{font-size:13px;gap:9px}.avatar-button{width:34px;height:34px}main{padding:24px 18px 0}h1{font-size:32px}.welcome{align-items:flex-start;margin-bottom:22px}.welcome p{font-size:15px;line-height:1.9;max-width:95%}.welcome .level-chip{display:none}.hero{height:315px}.hero-copy{padding:27px 24px;max-width:94%}.hero h2{font-size:35px}.hero p{font-size:15px;max-width:90%;line-height:1.9}.hero .eyebrow{font-size:10px}.hero .primary{font-size:15px;padding:12px 19px}.hero-badge{display:none}.hero-image{background-position:60% 50%}.hero:after{background:linear-gradient(90deg,#112d27e8,#1b3d2cc2 50%,#163b2c33)}.stats-row{gap:8px;margin:16px 0 26px}.stat{padding:14px 10px}.stat b{font-size:21px}.stat small{font-size:11px;line-height:1.8}.section-head h2{font-size:26px}.section-head p{font-size:13px;line-height:1.8}.section-head .text-btn{font-size:13px;min-width:60px}.path-card{padding:20px 17px}.path-heading b{font-size:15px}.path-heading span{font-size:11px}.path-line{margin:25px 0 10px}.path-node{width:48px}.path-node .orb{width:43px;height:43px;font-size:19px}.path-node small{font-size:8px;max-width:48px}.path-line:before{top:22px}.path-footer{font-size:12px;gap:10px}.path-footer .text-btn{font-size:12px}.story-grid{grid-template-columns:1fr 1fr;gap:13px}.story-card:nth-child(3){display:none}.story-cover{height:122px}.story-card-content{padding:15px 12px}.story-card h3{font-size:20px}.story-card p{font-size:13px;line-height:1.8}.story-meta{font-size:9px;line-height:1.9}.story-card-foot{font-size:11px;flex-wrap:wrap;gap:5px}.cover-badge{font-size:10px}.recommendations{margin-top:28px}.rail-panel{padding:24px}.rail-title h3{font-size:17px}.rail-title span{font-size:12px}.quest{gap:14px;margin:20px 0}.quest b{font-size:14px}.quest small{font-size:12px}.quest-icon{width:40px;height:42px}.quest .check{width:20px;height:20px;font-size:13px}.daily-reward{font-size:12px}.all-stories{grid-template-columns:1fr}.all-stories .story-card:nth-child(3){display:block}.all-stories .story-card{display:grid;grid-template-columns:115px 1fr}.all-stories .story-cover{height:100%;min-height:155px}.all-stories .story-card h3{font-size:23px}.all-stories .story-card p{font-size:14px}.tabs{gap:8px}.tabs button{font-size:15px;padding:10px 15px}.page-intro p{font-size:16px}.notice{font-size:14px}.world-map{aspect-ratio:.8}.world-map-title{left:17px;top:16px}.world-map-title b{font-size:25px}.world-map-title small{font-size:12px}.map-stop{width:70px}.map-stop .orb{width:48px;height:48px}.map-stop small{font-size:10px;padding:4px 6px}.world-layout{gap:15px}.primary,.secondary{font-size:16px;min-height:47px}.modal{padding:25px 18px;margin:0 auto;border-radius:15px}.modal h2{font-size:30px}.modal p{font-size:17px}.modal .eyebrow{font-size:10px}.story-scene{height:220px}.story-reader{padding:22px 18px}.story-reader .story-text{font-size:23px;line-height:2}.translation{font-size:18px}.scene-controls .secondary{font-size:14px}.scene-character{left:9%;height:110px;width:90px}.scene-page-label,.scene-play-state{font-size:11px}.question{font-size:23px!important}.question-th{font-size:17px!important}.option{font-size:18px;padding:17px 14px}.feedback{font-size:18px}.feedback .thai{font-size:17px}.hint{font-size:17px}.quiz-header{font-size:14px}.reward-box{padding:17px;font-size:14px}.result h2{font-size:30px}.vocab-stats{gap:9px}.vocab-stats>div{padding:15px 12px;min-width:0;flex:1}.vocab-stats b{font-size:26px}.vocab-stats span{font-size:12px}.word-grid{grid-template-columns:1fr}.word-card h3{font-size:30px}.word-card p{font-size:17px}.word-card .example{font-size:16px}.word-card small{font-size:13px}.match-word{font-size:18px;padding:14px 8px}.game-card p{font-size:17px;max-width:100%}.game-card h2{font-size:28px}.game-card .eyebrow{font-size:10px}.profile-hero{padding:25px 20px;gap:12px;align-items:flex-start}.profile-hero .fox-profile{width:85px;height:115px}.profile-hero h2{font-size:28px}.profile-hero p{font-size:14px}.equipment-card{padding:19px 13px}.equipment-card h3{font-size:16px}.equipment-card p{font-size:14px}.equipment-card .primary{font-size:14px}.equipment-card svg{width:90px;height:100px}.badge-card p{font-size:14px}.progress-grid .panel p{font-size:16px}.level-progress .row{font-size:15px}.progress-grid .panel{padding:23px 19px}.settings-row{align-items:flex-start}.export-btn{font-size:15px}.review-card h3{font-size:40px}.review-card p{font-size:19px}.rating-buttons button{font-size:17px}.token{font-size:19px;padding:11px 13px}.token-pool,.sentence-tray{padding:16px;gap:8px}.empty{font-size:17px}.modal-settings select{font-size:15px;min-height:42px}.scene-subtitle{font-size:13px}.scene-controls{gap:13px}footer{font-size:12px;padding:22px 18px}footer span:last-child{display:none}.close{width:40px;height:40px}.audio-status{font-size:14px}#toast{font-size:15px;line-height:1.8}.metric-note{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.passage{background:#eef3e5;border:1px solid #dce6cd;border-radius:10px;padding:15px 19px;line-height:1.9;color:#6f845e;margin:15px 0}.passage summary{cursor:pointer;font-size:15px}.passage p{font-size:17px;line-height:2}.scene-human svg{width:100%;height:100%}
.modal-ui{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:0 34px 17px 0;color:#8b997e;font-size:11px}.modal-ui select{border:1px solid #dbe3d0;background:white;border-radius:7px;color:#71865f;padding:6px 9px;font-size:12px}.option small{font-size:14px;color:#8c9c7a}.panel small{font-size:12px;color:#91a17e}@media(max-width:650px){.modal-ui{font-size:13px}.modal-ui select{font-size:15px;min-height:42px}.option small{font-size:16px}}

/* Illustrated reading edition */
.illustrated-cover{position:relative;overflow:hidden;background:#dce4d9}.illustrated-cover img{width:100%;height:100%;object-fit:cover;display:block}.story-tags{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.story-tags span{font-size:12px;padding:4px 8px;background:#f0f2e9;border-radius:6px;color:#48654f}.story-card-content{display:flex;flex-direction:column}.story-card-foot{margin-top:auto;gap:8px}.reading-summary{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.reading-summary span{background:#edf1e8;padding:10px 16px;border-radius:10px;font-size:15px;color:#385a46}.library-top{display:block}.library-tools{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:12px}.library-tools label{font-size:15px}.library-tools select{padding:12px;border:1px solid #d4ddcf;border-radius:8px;background:#fff;font-size:16px;color:#294c3e}.library-tools .search{flex:1;min-width:220px}.reader-art{margin:24px 0;border-radius:16px;overflow:hidden;background:#e9ede0}.reader-art img{width:100%;height:280px;object-fit:cover;display:block}.reader-art figcaption{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;font-size:12px;letter-spacing:1px;color:#45624b}.story-reader{max-width:700px;margin:28px auto}.story-text{font-size:23px;line-height:1.95}.story-text p{margin:0 0 1.1em}.story-text .word-tap{font:inherit}.translation{font-size:20px;line-height:1.95}.translation p{margin:12px 0}.media-note{font-size:14px;line-height:1.7;color:#60715f;border-top:1px solid #dce2d5;padding-top:18px;margin-top:22px}.media-note summary{cursor:pointer}.media-note p{margin-top:12px}.scene-controls{gap:14px;flex-wrap:wrap}.scene-controls button{font-size:16px}.all-stories .story-card{height:100%}@media(max-width:600px){.reader-art img{height:210px}.reader-art figcaption{font-size:10px;letter-spacing:.5px;padding:10px}.story-text{font-size:21px;line-height:1.95}.translation{font-size:19px}.scene-dots{display:none}.reading-summary{gap:8px}.reading-summary span{padding:8px 10px}.story-tags span{font-size:13px}}

.modal .story-reader .story-text p{font:inherit;color:#344d3d;margin:0 0 1.15em}.modal .story-reader .translation p{font:inherit;color:#45604a}.modal .story-reader .story-text{font-size:23px;line-height:1.95}.story-reader{border-top:1px solid var(--line);border-radius:14px}@media(max-width:600px){.modal .story-reader .story-text{font-size:21px}}

.reading-mode{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:22px 0}.reading-mode>span{font-size:15px;color:#47634f;margin-right:8px}.reading-mode button{font-size:15px;padding:10px 16px}.reading-part+.reading-part{border-top:1px solid #dce3d6;margin-top:32px;padding-top:28px}.part-label{font-size:12px;letter-spacing:1.4px;color:#78916e;margin-bottom:14px}.modal p.reading-finish{font-size:17px;max-width:460px;line-height:1.7}.story-reader .translation{margin-bottom:12px}.reading-mode button[aria-pressed=true]{box-shadow:0 0 0 2px #d6dfcf}@media(max-width:600px){.reading-mode{gap:8px}.reading-mode>span{width:100%}.reading-mode button{font-size:15px}.modal p.reading-finish{font-size:16px}}
/* Beta map and practice expansion. */
.adventure-map-panel{border:1px solid #dce5d3;border-radius:18px;background:#fbfcf6;overflow:hidden;margin-bottom:30px}.map-levels{display:grid;grid-template-columns:repeat(4,1fr);padding:14px;gap:8px;background:#f2f5e9}.map-levels button{background:transparent;border:1px solid #dce5d4;border-radius:10px;padding:10px 5px;font-size:18px;color:#5a7352}.map-levels button span{display:block;font-size:11px;line-height:1.4;margin-top:5px}.map-levels button.active{background:#345b47;color:#fff;border-color:#345b47;box-shadow:0 3px 0 #213f30}.map-chapters{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;flex-wrap:wrap}.map-chapters .tabs{margin:0}.map-chapters .tabs button{font-size:13px;padding:10px 13px}.map-chapters>b{font-size:13px;color:#718463}.world-map.adventure-map{height:680px;aspect-ratio:auto;border-radius:0;border:0;isolation:isolate}.adventure-map .map-bg path[stroke="#faf6de"],.adventure-map .map-bg path[stroke="#d3cb9e"]{display:none}.adventure-map .route-trail{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}.adventure-map .world-map-title{left:24px;top:18px}.adventure-map .world-map-title small{font-size:12px;color:#5c7655;line-height:1.6}.adventure-map .map-stop{width:132px;min-height:84px}.adventure-map .map-stop small{font-size:12px;line-height:1.4;white-space:normal;max-width:132px;text-align:center;color:#3f5e43;padding:5px 8px;font-weight:500}.adventure-map .map-stop small em{font-size:9px;display:inline-block;background:#ecd593;color:#69561d;border-radius:4px;padding:1px 5px;margin-left:4px;font-style:normal;letter-spacing:.5px}.adventure-map .map-stop.locked{opacity:.7}.adventure-map .map-stop:hover .orb{transform:translateY(-3px)}.map-legend{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;padding:16px;border-top:1px solid #dce5d3;font-size:13px;color:#637d56}.map-next{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:#edf3e4}.map-next>div{display:flex;flex-direction:column;gap:5px}.map-next b{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#738566}.map-next span{font-family:'DM Serif Display',serif;font-size:21px;color:#37583e}.map-next button{flex-shrink:0}.map-note{padding:13px 20px;font-size:13px;line-height:1.7;color:#6b805f;margin:0}.arcade-summary{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 26px}.arcade-summary span{background:#edf2e6;padding:9px 13px;border:1px solid #dfe7d4;border-radius:8px;font-size:14px;color:#5c7550}.game-card{display:flex;flex-direction:column;align-items:flex-start}.game-card>.primary{margin-top:auto}.game-card>small{font-size:13px;line-height:1.6;color:#718561;margin-bottom:14px}.game-card .game-reward{display:block;margin:13px 0 0;font-size:12px;color:#6f805f}.game-illustration{position:relative}.game-spark{position:absolute;right:16px;top:8px;font-size:18px;color:#c4a84b;animation:twinkle 4s ease-in-out infinite}.new-game .game-illustration{background:radial-gradient(circle at 25% 30%,#edf4d8,transparent 50%),linear-gradient(135deg,#e6f1e8,#d9e7e2);color:#426e5e}.new-game:nth-child(5) .game-illustration{background:linear-gradient(135deg,#f0e9d2,#dce7d1);color:#8e783f}.new-game:nth-child(6) .game-illustration{background:linear-gradient(135deg,#e7dfef,#e2eadd);color:#80708d}.text-size-tools{display:flex;gap:7px;margin-left:auto}.text-size-tools button{min-width:44px;min-height:44px;padding:7px;font-size:17px}.feedback-label{display:flex;flex-direction:column;gap:8px;font-size:16px;color:#486747;margin:20px 0}.feedback-label select,.feedback-label textarea{font:inherit;line-height:1.7;border:1px solid #d6e0cb;border-radius:9px;padding:12px;background:white;color:#3d543d;width:100%;box-sizing:border-box}.feedback-label textarea{resize:vertical}.beta-feedback{font-size:12px;margin-left:10px;min-height:40px}button:focus-visible,select:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid #bb9d42;outline-offset:3px}@keyframes twinkle{50%{opacity:.4;transform:scale(.8)}}
@media(max-width:650px){.map-levels{gap:5px;padding:10px}.map-levels button{font-size:17px;padding:11px 3px}.map-levels button span{font-size:10px}.map-chapters{padding:12px}.map-chapters .tabs{display:flex;flex-wrap:wrap;width:100%;gap:5px}.map-chapters .tabs button{font-size:12px;padding:10px 8px}.world-map.adventure-map{height:730px}.adventure-map .map-stop{width:94px}.adventure-map .map-stop small{font-size:11px;max-width:94px;padding:4px 5px;line-height:1.5}.adventure-map .map-stop .orb{height:46px;width:46px;font-size:20px}.adventure-map .world-map-title{left:16px;top:16px}.adventure-map .world-map-title b{font-size:23px}.adventure-map .world-map-title small{font-size:11px}.map-next{padding:16px;flex-wrap:wrap}.map-next span{font-size:21px}.map-next button{width:100%;font-size:16px}.map-legend{gap:12px;font-size:12px}.map-note{font-size:13px}.arcade-summary span{font-size:13px}.text-size-tools{margin-left:0}.game-card .game-reward{font-size:13px}.beta-feedback{margin-left:3px;font-size:12px}footer{flex-wrap:wrap;gap:5px}}
@media(prefers-reduced-motion:reduce){.game-spark{animation:none}.adventure-map .map-stop:hover .orb{transform:none}}

.adventure-map .map-stop.locked{opacity:1}.adventure-map .map-stop.locked .orb{opacity:.7}.adventure-map .map-stop small{font-size:13px;font-weight:600;background:#fbfcf3f5;color:#3d5c3e}@media(max-width:650px){.adventure-map .map-stop small{font-size:12px}}
/* Learning course and support language are distinct choices. */
.course-banner{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;background:#edf1e7;border:1px solid #d9e1cf;padding:12px 18px;border-radius:12px;margin-bottom:24px;font-size:15px;color:#365c48}.course-picker{display:grid;gap:14px;margin:24px 0}.course-picker .course-option{width:100%;text-align:left;background:#faf9f2;border:2px solid #e5e7dc;border-radius:16px;padding:18px;color:var(--ink);cursor:pointer;gap:16px}.course-picker .course-option.selected{border-color:#547d56;background:#edf2e5}.course-picker .course-option:hover{border-color:#9aab79}.course-picker .course-option>span{font-size:32px}.course-picker .course-option h3{margin:0 0 8px}.course-picker .course-option h3 small{font-size:16px;font-weight:400}.course-picker .course-option p{margin:5px 0;font-size:15px}.question-support{border:1px solid #dde4d3;border-radius:10px;padding:10px 14px;margin:12px 0 18px;font-size:16px;color:#526852}.question-support summary{cursor:pointer}.question-support p{margin-bottom:0}.sentence-meaning{padding:12px 16px;background:#f0f2e9;border-radius:10px;font-size:19px}.story-text[lang="th"]{line-height:2.15!important;word-break:normal;overflow-wrap:break-word}.story-text[lang="es"]{line-height:1.9}.course-select{white-space:nowrap}@media(max-width:650px){.course-picker .course-option{flex-wrap:wrap;padding:15px}.course-picker .course-option>div{flex:1;min-width:190px}.course-banner{font-size:14px;padding:12px}.header-actions{gap:7px}}
/* Field School: illustrated journeys with clear, generous game checkpoints. */
.field-map-panel{overflow:hidden;border-color:#d9decf;box-shadow:0 12px 28px #2943330c}.field-chapters{display:flex;gap:8px;flex-wrap:wrap;padding:15px 17px;background:#faf9f2}.field-chapters button{background:#eeeee4;border:1px solid #dfe3d5;padding:10px 15px;border-radius:12px;font-weight:600;font-size:14px;text-align:left;flex:1;min-width:145px}.field-chapters button small{display:block;font-size:10px;letter-spacing:1px;font-weight:500;opacity:.7}.field-chapters button.active{background:#335b49;color:#fffbea;border-color:#335b49}.field-map-scene{height:var(--field-height);position:relative;isolation:isolate;background:#dbe8d2;overflow:hidden}.region-painting{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}.map-atmosphere{position:absolute;inset:0;background:linear-gradient(#fbf8e929,transparent 30%,#edf0df15);z-index:-2;pointer-events:none}.field-map-heading{position:absolute;top:22px;left:25px;right:25px;background:#fffbedeb;border:1px solid #ffffffa8;box-shadow:0 3px 14px #2b473418;border-radius:15px;padding:13px 18px;backdrop-filter:blur(5px)}.field-map-heading span{font-size:11px;font-weight:700;letter-spacing:.7px;color:#5f7755}.field-map-heading h3{font-family:'DM Serif Display','Noto Sans Thai',serif;font-size:27px;font-weight:400;margin:3px 0;line-height:1.3}.field-map-heading p{font-size:12px;color:#637257}.field-route{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:-1}.field-route path{fill:none;stroke:#fff4cf;stroke-width:21;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round;filter:drop-shadow(0 2px 2px #624c372c)}.field-route .trail-dots{stroke:#a99464;stroke-width:3;stroke-dasharray:2 12;filter:none}.mobile-route{display:none}.field-stop{position:absolute;left:var(--stop-x);top:var(--stop-y);transform:translate(-50%,-15%);width:clamp(110px,27%,185px);background:none;text-align:center;padding:0;display:flex;flex-direction:column;align-items:center;gap:8px}.stop-orb{width:66px;height:66px;display:grid;place-items:center;position:relative;border-radius:24px;background:#f7dc8f;color:#755729;border:4px solid #fff8da;box-shadow:0 6px 0 #a58c4b,0 9px 14px #20392133;font-size:30px;line-height:1;transition:transform .2s}.kind-story .stop-orb{background:#6d9d81;color:#fffce9;box-shadow:0 6px 0 #3f7057,0 9px 14px #20392133}.kind-boss .stop-orb{background:#a689b6;color:white;box-shadow:0 6px 0 #735a86,0 9px 14px #20392133}.kind-lantern .stop-orb{background:#86b8bd;color:#234f5b;box-shadow:0 6px 0 #4d8c97,0 9px 14px #20392133}.field-stop.done .stop-orb{background:#335d46;color:#fff8db;box-shadow:0 6px 0 #244834,0 9px 14px #20392133}.field-stop.locked .stop-orb{background:#e5e4d5;color:#7b826f;box-shadow:0 5px 0 #aaa991,0 8px 12px #20392120}.stop-orb i{position:absolute;right:-10px;top:-11px;width:25px;height:25px;border-radius:50%;background:#fffbea;color:#536f52;display:grid;place-items:center;font:700 12px 'DM Sans',sans-serif;border:1px solid #d9dccb}.stop-label{background:#fffceeef;border:1px solid #ffffffa8;box-shadow:0 3px 7px #243d3012;backdrop-filter:blur(3px);border-radius:12px;padding:7px 11px;width:100%;line-height:1.45;color:#2e4939}.stop-label em{display:block;font-size:9px;font-style:normal;letter-spacing:1px;color:#657b56;margin-bottom:2px}.stop-label b{font-size:14px;font-weight:600;display:block;overflow-wrap:anywhere}.field-stop.current .stop-orb{outline:3px solid #ecd58b;outline-offset:7px;animation:quest-light 2.8s ease-in-out infinite}.field-stop:hover .stop-orb{transform:translateY(-3px)}.map-corner-stamp{position:absolute;bottom:17px;right:20px;font-size:11px;background:#fffae8e6;color:#617553;border-radius:20px;padding:5px 11px}.field-map-footer{padding:18px;background:#fffdf6}.field-map-footer .map-legend{margin-top:0;font-size:12px}.next-quest-card{display:flex;gap:15px;align-items:center;margin:17px 0 0;padding:19px;border:1px solid #e0e6d5;background:#f2f5e8;border-radius:15px}.next-quest-icon{font-size:30px;color:#688156;flex:0 0 35px}.next-quest-card>div:nth-child(2){flex:1}.next-quest-card small{font-size:9px;letter-spacing:1.1px;color:#7b886b}.next-quest-card h3{font-size:18px;margin:3px 0}.next-quest-card p{font-size:13px;color:#6e7c64;line-height:1.7}.next-quest-card .primary{font-size:13px;white-space:nowrap}.field-map-footer .map-note{margin:15px 2px 0;font-size:12px;line-height:1.8}.school-invite{display:flex;justify-content:space-between;align-items:center;gap:25px;margin:25px 0;padding:24px;border-radius:18px;background:#e9f0e3;border:1px solid #d6e0cb}.school-invite small{font-size:10px;letter-spacing:1.5px;color:#65805c}.school-invite h3{font-size:23px;margin:4px 0}.school-invite p{font-size:15px;color:#6d7b62}.school-invite .primary{white-space:nowrap}.lesson-pip{width:130px;height:140px;margin:10px auto 20px}.lesson-rule{font-size:21px!important;line-height:1.9!important;margin:22px 0!important;background:#eff3e8;padding:23px;border-radius:15px}.lesson-examples{display:grid;gap:12px;margin:20px 0}.lesson-examples>div{padding:19px;border:1px solid #e0e5d6;border-radius:12px}.lesson-examples b{font-size:23px;display:block;line-height:1.8}.lesson-examples details{font-size:17px;margin-top:7px;color:#6c7c60}.lesson-examples summary{cursor:pointer;font-size:13px}.lesson-tip{font-size:17px;line-height:1.9;padding:15px 0 24px;color:#75805e}.field-game-pip{height:100px;width:95px;float:right;margin:0 0 10px 10px}.field-game-pip.cheer{animation:pip-hop .65s ease-in-out 2}.field-game-pip.ponder .fox-head{transform:rotate(-8deg);transform-origin:75px 80px}.event-tray{padding:18px;background:#f0f2e7;border:2px dashed #d1dcc2;border-radius:15px;min-height:125px;margin:22px 0}.event-pool{display:grid;gap:10px;margin:18px 0 24px}.event-card{background:#fffdf7;border:1px solid #dce3d1;border-radius:12px;padding:16px 20px;font-size:19px;line-height:1.8;text-align:left;width:100%;display:flex;gap:15px;align-items:center}.event-card.placed{margin:6px 0;border-color:#a9c09b;background:#fbfff2}.event-card i{flex:0 0 26px;height:26px;background:#e3ebd5;border-radius:50%;display:grid;place-items:center;font-size:13px;font-style:normal}.event-card:disabled{opacity:.4}.event-tray .event-card:disabled{opacity:1}.recall-prompt{background:#f3f4ea;border-radius:16px;padding:25px;margin:22px 0}.recall-prompt small{font-size:10px;letter-spacing:1px;color:#758667}.recall-prompt h3{font-size:28px;margin:10px 0}.recall-prompt p{font-size:21px!important;line-height:1.9!important}.recall-prompt input{border:2px solid #d1dcc4;border-radius:11px;min-height:56px;background:#fffdf7;font-size:24px;padding:12px 15px;color:#2e4939;width:100%;margin-top:8px}.recall-prompt input:disabled{color:#6b7860}.skill-compass{margin-top:30px}.skill-compass>p{margin:12px 0 22px;color:#7a846e}.skill-row{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #e6eadc;padding:17px 0}.skill-row b{font-size:18px;display:block}.skill-row small{font-size:13px;color:#7c8970}.skill-row .secondary{font-size:14px}.pip-tools{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:18px}.pip-tools .secondary{font-size:12px;padding:9px 10px;min-height:38px}.pip-bond{display:block;color:#7c8b6b;font-size:11px;line-height:1.8;margin-top:12px}.companion-fox[role="button"]{cursor:pointer}.companion-fox[role="button"]:focus-visible{outline:3px solid #b4c99c;border-radius:25px}.pip-pocket{display:none}.pip-camp{width:200px;height:210px;margin:12px auto 22px;position:relative;background:radial-gradient(ellipse at 50% 80%,#d9e3c2aa,transparent 64%);padding:7px 15px}.pip-camp svg{width:100%;height:100%}.camp-spark{position:absolute;right:8px;top:25px;color:#cfa254;font-size:35px;animation:camp-spark .8s ease-out both}.pip-camp.action-pet .fox-head{animation:pip-nod .8s ease-in-out 2;transform-origin:75px 95px}.pip-camp.action-wave{animation:pip-hop .6s ease-in-out 2}.pip-camp.action-snack .fox-head{animation:pip-nod .35s ease-in-out 4;transform-origin:75px 95px}.pip-speech{background:#eff3e4;border:1px solid #dce6cd;padding:20px;border-radius:20px;font-size:21px!important;line-height:1.9!important;margin:20px 0!important}.pip-camp-actions{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0}.pip-camp-actions .secondary{font-size:15px}.pip-plan{border-top:1px solid #e2e7d7;padding-top:22px;margin:25px 0}.pip-plan h3{font-size:21px}.pip-plan p{font-size:17px;margin:10px 0 20px}.pip-bounce{animation:pip-hop .6s ease-in-out 2}@keyframes quest-light{50%{outline-color:#fff9d3;outline-offset:10px}}@keyframes pip-hop{0%,100%{transform:translateY(0) rotate(0)}40%{transform:translateY(-12px) rotate(-3deg)}75%{transform:translateY(-3px) rotate(3deg)}}@keyframes pip-nod{50%{transform:rotate(-8deg) translateY(3px)}}@keyframes camp-spark{from{transform:translateY(15px) scale(.5);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}
@media(max-width:950px){.pip-pocket{display:flex;align-items:center;position:fixed;bottom:22px;right:22px;background:#fffced;border:1px solid #dce2ca;border-radius:40px;padding:7px 17px 7px 8px;box-shadow:0 8px 25px #27473025;z-index:6;gap:7px;font-size:13px}.pip-pocket svg{width:43px;height:46px}.next-quest-card{flex-wrap:wrap}.next-quest-card .primary{margin-left:50px}.school-invite{flex-wrap:wrap;gap:15px}}
@media(max-width:650px){.field-chapters{padding:12px;gap:7px}.field-chapters button{font-size:13px;min-width:120px;padding:11px}.field-map-scene{height:var(--field-mobile-height)}.field-map-heading{left:15px;right:15px;top:17px;padding:13px 15px}.field-map-heading h3{font-size:25px}.field-map-heading p{font-size:12px}.desktop-route{display:none}.mobile-route{display:block}.field-stop{left:var(--mobile-x);top:var(--mobile-y);width:42%;max-width:185px}.stop-orb{width:62px;height:62px;font-size:27px;border-radius:23px}.stop-label{padding:8px 9px}.stop-label b{font-size:14px}.stop-label em{font-size:9px}.field-map-footer{padding:15px}.field-map-footer .map-legend{font-size:11px;gap:8px;flex-wrap:wrap}.next-quest-card{padding:17px 14px;gap:10px}.next-quest-card h3{font-size:18px}.next-quest-card p{font-size:14px}.next-quest-icon{display:none}.next-quest-card .primary{margin-left:0;font-size:15px;width:100%}.field-map-footer .map-note{font-size:13px}.school-invite{padding:20px}.school-invite h3{font-size:22px}.school-invite p{font-size:16px}.lesson-rule{font-size:20px!important;padding:20px;line-height:2!important}.lesson-examples b{font-size:22px}.lesson-examples details{font-size:18px}.event-tray{padding:12px}.event-card{padding:15px;font-size:18px}.recall-prompt{padding:21px 17px}.recall-prompt h3{font-size:26px}.recall-prompt input{font-size:23px}.field-game-pip{width:75px;height:80px}.pip-pocket{bottom:84px;right:14px;font-size:12px;padding-right:14px}.pip-pocket svg{width:34px;height:40px}.pip-camp-actions .secondary{font-size:15px;flex:1;min-width:125px}.pip-speech{font-size:20px!important}.pip-plan .row{gap:10px;flex-wrap:wrap}.pip-plan .primary{font-size:15px}.skill-row b{font-size:17px}.skill-row small{font-size:13px}}
@media(prefers-reduced-motion:reduce){.field-stop.current .stop-orb,.field-game-pip.cheer,.pip-camp,.pip-camp .fox-head,.camp-spark,.pip-bounce{animation:none!important}.field-stop:hover .stop-orb{transform:none}}
/* Learning Studio: production practice, clear feedback limits, and local drafts. */
.learning-next{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:24px 26px;background:#ecf1e5;border:1px solid #d8e3ca;border-radius:18px;margin:0 0 24px}.learning-next small{font-size:10px;letter-spacing:1px;color:#6e8260}.learning-next h2{font-size:27px;margin:7px 0}.learning-next p{font-size:15px;color:#6e7c64;line-height:1.8}.learning-next-actions{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:190px}.learning-next .primary{font-size:14px;white-space:nowrap}.learning-next .text-btn{font-size:13px}.arcade-skill-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.arcade-skill-tabs button{padding:10px 16px;border:1px solid #dce4d0;border-radius:25px;background:#fffdf6;font-size:14px;color:#728263}.arcade-skill-tabs button.active{background:#355c49;color:#fffbea;border-color:#355c49}.game-card[hidden]{display:none!important}.studio-levels{margin:25px 0}.studio-story-banner{display:grid;grid-template-columns:40% 1fr;background:#f0f3e8;border:1px solid #dde4d3;border-radius:19px;overflow:hidden;margin:24px 0}.studio-story-banner img{width:100%;height:100%;min-height:245px;object-fit:cover}.studio-story-banner>div{padding:28px 30px}.studio-story-banner small{font-size:11px;letter-spacing:1px;color:#7c896f}.studio-story-banner h2{font-size:31px;margin:8px 0 12px}.studio-story-banner p{color:#7b856d;margin:0 0 20px;font-size:16px}.studio-story-banner .secondary{background:#fffdf5;font-size:14px}.studio-task-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:26px 0}.studio-task-grid article{background:#fffdf7;border:1px solid #e1e7d8;border-radius:18px;padding:30px}.studio-task-icon{display:block;font-size:37px;color:#809b69;margin:0 0 20px}.studio-task-grid small{display:block;color:#859174;font-size:11px;line-height:1.8;margin:10px 0;letter-spacing:.3px}.studio-task-grid h2{font-size:28px;margin:8px 0 15px}.studio-task-grid p{font-size:17px;line-height:1.9;color:#79866d;margin:0 0 24px}.studio-task-grid .primary{font-size:15px}.writing-portfolio{margin:28px 0}.writing-portfolio .section-head{gap:20px;flex-wrap:wrap}.writing-portfolio .section-head p{font-size:14px;color:#7c8b6f}.portfolio-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #e4e9da;padding:21px 0}.portfolio-row small{font-size:11px;color:#819470}.portfolio-row h3{font-size:20px;margin:3px 0}.portfolio-row p{font-size:14px;color:#7b8870;line-height:1.8}.portfolio-row .row{white-space:nowrap;gap:15px}.practice-disclosure{font-size:14px;line-height:1.9;padding:14px 18px;background:#edf1e7;border:1px solid #dde5d1;border-radius:12px;margin:20px 0;color:#687d59}.writing-prompt{font-size:24px!important;line-height:1.9!important;margin:20px 0!important}.writing-scaffolds{display:grid;gap:18px;margin:24px 0}.writing-scaffolds label{font-size:13px;color:#7b8d69;display:grid;gap:8px}.sentence-starter{font-size:20px;background:#f1f5e8;border:1px dashed #c7d7b8;padding:14px 18px;border-radius:12px;text-align:left;color:#476346;line-height:1.8}.writing-bank{display:flex;flex-wrap:wrap;gap:7px}.writing-bank button{border-radius:20px;border:1px solid #dce4d2;background:#fffdf5;padding:7px 14px;font-size:16px;color:#627b52}#writing-draft{display:block;width:100%;border:2px solid #cfdcc1;border-radius:14px;resize:vertical;background:#fffef9;color:#2f4b3a;font:22px/1.9 'DM Sans','Noto Sans Thai',sans-serif;padding:20px;min-height:240px}.draft-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:9px;font-size:12px;color:#839174;margin:10px 0 20px}.writing-actions{flex-wrap:wrap;gap:12px;margin:20px 0}.draft-observations{padding:23px;border-radius:15px;background:#edf4e6;border:1px solid #dce9cd;margin:23px 0}.draft-observations[hidden]{display:none}.draft-observations h3{font-size:20px;margin-bottom:13px}.draft-observations p{font-size:17px;line-height:1.9;margin:8px 0}.draft-observations .a11y-note{font-size:14px}.model-answer{margin:24px 0;padding:24px;background:#fcf4df;border:1px solid #ecdfb7;border-radius:15px}.model-answer>p:first-of-type{font-size:22px;line-height:1.95;margin:15px 0}.model-answer details{font-size:17px;color:#8b7e55;line-height:1.9}.model-answer summary{cursor:pointer}.model-answer .a11y-note{font-size:14px}.writing-checklist{padding:15px 0 25px}.writing-checklist h3{font-size:21px;margin-bottom:15px}.writing-checklist label{display:flex;align-items:flex-start;gap:13px;font-size:18px;line-height:1.9;margin:16px 0;cursor:pointer}.writing-checklist input{accent-color:#557d48;min-width:21px;width:21px;height:21px;margin-top:6px}.chat-transcript{display:flex;flex-direction:column;gap:13px;margin:25px 0}.chat-bubble{max-width:88%;padding:18px 22px;border:1px solid #dfe7d4;border-radius:19px;background:#f0f4e8;align-self:flex-start}.chat-bubble.learner{background:#355c49;color:#fffbea;border-color:#355c49;align-self:flex-end}.chat-bubble small{font-size:10px;letter-spacing:1px;opacity:.6;display:block;margin-bottom:7px}.chat-bubble p{font-size:22px;line-height:1.85;margin:0!important}.chat-bubble .chat-translation{font-size:16px!important;opacity:.75;border-top:1px solid #ced8bf70;padding-top:12px;margin-top:12px!important}.chat-feedback{padding:13px 18px;border-left:3px solid #c7b77d;font-size:16px;line-height:1.9;color:#807c5e;margin:0 0 6px 24px}.chat-feedback.helpful{border-color:#a1bf87;color:#6e865d}.chat-choices{display:grid;gap:12px;margin:23px 0}.chat-choices .option{line-height:1.85;align-items:flex-start}.chat-choices .option small{display:block;color:#82916f;font-size:15px;margin-top:8px}.chat-complete{background:#edf3e4;border:1px solid #d7e3c7;border-radius:16px;padding:25px;margin:24px 0}.chat-complete h3{font-size:23px}.chat-complete p{margin:15px 0;font-size:18px}.chat-complete .row{flex-wrap:wrap;gap:12px}.resume-list{display:grid;gap:12px;margin:25px 0}.resume-list .secondary{display:flex;align-items:center;flex-wrap:wrap;gap:15px;text-align:left;background:#f0f4e7}.resume-list span{font-size:12px;color:#859770}.resume-list b{font-size:18px}.guide-level-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.guide-level-grid button{display:flex;gap:13px;align-items:center;text-align:left;padding:18px;background:#f0f4e7;border:1px solid #dce6ce}.guide-level-grid button.chosen{border:2px solid #557c4b}.guide-level-grid b{font-size:27px}.guide-level-grid span{font-size:14px}.guide-loop{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:center;padding:22px;font-size:16px;color:#789064;background:#f4f5eb;border-radius:14px;margin:24px 0}.launch-info-grid{display:grid;gap:23px;margin:25px 0}.launch-info-grid section{border-top:1px solid #e1e7d7;padding-top:23px}.launch-info-grid h3{font-size:22px}.launch-info-grid p{font-size:18px;margin:14px 0 19px;line-height:1.95}.launch-info-grid .primary,.launch-info-grid .secondary{font-size:15px}.launch-help{font-size:12px}.kind-chat .stop-orb{background:#7daea1;color:#fffbea;box-shadow:0 6px 0 #4c8277,0 9px 14px #20392133}.kind-writing .stop-orb{background:#b49cbd;color:white;box-shadow:0 6px 0 #8d739b,0 9px 14px #20392133}
@media(max-width:950px){.learning-next{flex-wrap:wrap}.learning-next-actions{flex-direction:row;flex-wrap:wrap;align-items:center}.studio-story-banner{grid-template-columns:1fr}.studio-story-banner img{height:235px;min-height:0}.studio-task-grid{grid-template-columns:1fr}.portfolio-row{flex-wrap:wrap}.writing-portfolio .section-head .secondary{font-size:14px}}
@media(max-width:650px){.learning-next{padding:21px;gap:16px}.learning-next h2{font-size:27px}.learning-next small{font-size:10px;line-height:1.8}.learning-next p{font-size:16px}.learning-next-actions{width:100%;gap:7px}.learning-next .primary{width:100%;font-size:16px}.learning-next .text-btn{font-size:13px}.arcade-skill-tabs{gap:7px}.arcade-skill-tabs button{font-size:14px;padding:10px 13px;min-height:43px}.studio-story-banner>div{padding:23px}.studio-story-banner h2{font-size:29px}.studio-story-banner p{font-size:16px}.studio-task-grid article{padding:25px}.studio-task-grid h2{font-size:28px}.studio-task-grid p{font-size:18px}.studio-task-grid small{font-size:12px}.portfolio-row h3{font-size:20px}.portfolio-row p{font-size:15px}.portfolio-row .row{gap:20px}.portfolio-row .text-btn{font-size:17px;min-height:42px}.writing-portfolio{padding:23px 19px}.writing-portfolio h2{font-size:27px}.practice-disclosure{font-size:15px}.writing-prompt{font-size:23px!important;line-height:1.95!important}.writing-scaffolds label{font-size:14px}.sentence-starter{font-size:20px}.writing-bank button{font-size:17px;min-height:42px}#writing-draft{font-size:23px;line-height:2;padding:17px;min-height:270px}.draft-meta{font-size:12px;line-height:1.8}.writing-actions .primary,.writing-actions .secondary{font-size:15px}.draft-observations{padding:19px}.draft-observations p{font-size:18px}.draft-observations .a11y-note{font-size:15px}.model-answer{padding:21px}.model-answer>p:first-of-type{font-size:22px}.writing-checklist label{font-size:18px}.chat-bubble{max-width:94%;padding:17px 19px}.chat-bubble p{font-size:22px!important;line-height:1.95!important}.chat-bubble .chat-translation{font-size:17px!important}.chat-feedback{font-size:17px;margin-left:12px;padding-left:15px}.chat-choices .option{font-size:20px}.chat-complete{padding:22px}.chat-complete p{font-size:18px}.guide-level-grid button{padding:16px;gap:10px}.guide-level-grid span{font-size:13px}.guide-level-grid b{font-size:25px}.guide-loop{font-size:16px;padding:18px}.launch-info-grid p{font-size:18px}.resume-list .secondary{font-size:17px}.launch-help{font-size:13px;min-height:42px}footer{flex-wrap:wrap;gap:10px}}
.chat-bubble.npc p,.model-answer>p:first-of-type,.writing-prompt{color:var(--ink)}.chat-bubble.learner p{color:#fffbea}.chat-bubble.learner .chat-translation{color:#e2edcf}.chat-bubble.learner small{color:#fffbea;opacity:.75}
/* Companion Guild: native animated characters and evidence-based side quests. */
.helper-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0 25px}.helper-picker button{background:#f2f5e9;border:2px solid #e0e7d4;border-radius:16px;padding:13px 8px;color:#4f6e45}.helper-picker button.selected{border-color:#648753;background:#e4eed8;box-shadow:0 4px 0 #b6c9a2}.helper-picker svg{width:75px;height:80px;display:block;margin:auto}.helper-picker b{display:block;font-size:17px;margin:8px 0 2px}.helper-picker small{font-size:12px;color:#81926e}.helper-camp{width:200px;height:210px}.helper-level{background:#eff4e5;border:1px solid #dce7ce;border-radius:14px;padding:17px 21px;margin:20px 0}.helper-level b{font-size:20px}.helper-level span{display:block;font-size:14px;margin:5px 0 11px;color:#7c8e69}.helper-level .progress-track{height:7px}.guild-mission-portrait{width:130px;height:145px;margin:10px auto 22px}.mission-checklist{margin:25px 0;display:grid;gap:14px}.mission-checklist>div{display:flex;gap:13px;align-items:center;flex-wrap:wrap;background:#f7f6ed;border:1px solid #e2e6d6;border-radius:13px;padding:18px}.mission-checklist>div.checked{background:#edf4e2;border-color:#d5e5c1}.mission-checklist>div>span{font-size:24px;color:#7d9a64;flex:0 0 23px}.mission-checklist b{flex:1;font-size:17px;line-height:1.8;min-width:190px;font-weight:500}.mission-checklist .secondary{font-size:14px}.guild-board-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin:25px 0}.guild-helper-card{text-align:center;padding:23px;background:#f3f5e9;border:2px solid #e1e7d3;border-radius:17px}.guild-helper-card.earned{border-color:#c6b067;background:#f8f0d4}.guild-helper-card svg{width:100px;height:110px}.guild-helper-card h3{font-size:24px;margin:10px 0 4px}.guild-helper-card p{font-size:15px;color:#7c8d6d;margin:5px 0 12px}.guild-helper-card small{font-size:14px;color:#6e875b}.guild-total{text-align:center;font-size:15px!important;background:#eff3e4;border-radius:12px;padding:15px}.adventure-log{border-top:1px solid #e2e8d7;margin:25px 0 0;padding-top:23px}.adventure-log h3{font-size:21px;margin-bottom:18px}.adventure-log p{display:flex;gap:15px;justify-content:space-between;border-top:1px solid #e8ebdf;padding:12px 0;font-size:15px}.adventure-log p b{font-weight:500}.adventure-log p span{font-size:12px;color:#85956f;white-space:nowrap}.helper-toolbox{display:flex;gap:12px;align-items:center;justify-content:flex-end;border-top:1px solid #e7eadb;margin-top:27px;padding-top:17px}.helper-toolbox svg{height:55px;width:50px}.helper-toolbox span{font-size:13px;color:#81926d}.helper-toolbox .secondary{font-size:13px;min-height:39px}.helper-guidance{display:flex;gap:17px;align-items:center;padding:20px;background:#edf3e4;border:1px solid #dce6cd;border-radius:15px;margin:20px 0}.helper-guidance>div{width:70px;flex:0 0 70px;height:80px}.helper-guidance p{font-size:17px;line-height:1.9;color:#607d50;margin:0!important}.helper-guidance b{display:block;font-size:13px;color:#879a70;margin-bottom:5px}.guild-result{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-top:23px;border-top:1px solid #e4e8d8;padding:19px 0 0}.guild-result span{font-size:13px;color:#84956f}.guild-result .text-btn{font-size:14px}.rpg-rail{display:flex;gap:23px;justify-content:space-between;align-items:center;margin:18px 0 16px;background:#eef2e5;border:1px solid #dee5d2;border-radius:14px;padding:17px 21px;flex-wrap:wrap}.rpg-rail small{display:block;font-size:9px;letter-spacing:1px;color:#7f926b}.rpg-rail b{display:block;font-size:17px;font-weight:600;margin:4px 0}.rpg-rail span{font-size:12px;color:#849570}.rpg-rail .secondary{font-size:13px;min-height:40px;background:#fffdf1}.kind-mission .stop-orb{padding:2px;background:#eee3bc;box-shadow:0 6px 0 #b59c5b,0 9px 14px #20392133}.kind-mission .stop-orb>.fox-svg{width:58px;height:61px}.helper-camp.action-highfive .right-arm{animation:helper-wave .7s ease-in-out 3;transform-origin:97px 112px}.helper-camp.action-highfive .fox-head{animation:pip-nod .7s ease-in-out 2;transform-origin:75px 95px}.helper-camp.action-breathe svg{animation:helper-breathe 4s ease-in-out 3;transform-origin:50% 80%}.helper-camp.action-tip .fox-head{transform:rotate(-7deg);transform-origin:75px 95px}.helper-svg.helper-sloth .fox-head{animation-duration:7s}.helper-svg.helper-monkey .fox-tail{transform-origin:110px 130px}.helper-open-link{font-size:12px}.helper-guidance svg,.guild-mission-portrait svg{width:100%;height:100%}@keyframes helper-wave{50%{transform:rotate(-60deg)}}@keyframes helper-breathe{50%{transform:scale(1.05);opacity:.85}}
@media(max-width:650px){.helper-picker{gap:7px}.helper-picker button{padding:13px 5px}.helper-picker svg{width:58px;height:64px}.helper-picker b{font-size:16px}.helper-picker small{font-size:12px}.guild-board-grid{gap:12px}.guild-helper-card{padding:21px 12px}.guild-helper-card h3{font-size:23px}.guild-helper-card p{font-size:16px}.guild-helper-card small{font-size:14px}.mission-checklist>div{padding:17px 15px;gap:10px}.mission-checklist b{font-size:18px;min-width:180px}.mission-checklist .secondary{margin-left:34px;min-height:44px}.helper-toolbox{flex-wrap:wrap;gap:8px;justify-content:flex-start}.helper-toolbox svg{width:44px;height:50px}.helper-toolbox span{font-size:13px}.helper-toolbox .secondary{font-size:14px;min-height:43px}.helper-guidance{padding:18px 15px;gap:12px;align-items:flex-start}.helper-guidance>div{width:55px;flex-basis:55px;height:65px}.helper-guidance p{font-size:18px}.helper-guidance b{font-size:13px}.rpg-rail{gap:14px;padding:17px}.rpg-rail small{font-size:9px}.rpg-rail b{font-size:17px}.rpg-rail span{font-size:12px}.rpg-rail .secondary{width:100%;font-size:15px}.adventure-log p{flex-wrap:wrap;gap:7px;font-size:16px}.adventure-log p span{font-size:13px}.guild-total{font-size:15px!important}.helper-level b{font-size:22px}.helper-level span{font-size:15px}.helper-open-link{font-size:13px;min-height:42px}}
@media(prefers-reduced-motion:reduce){.helper-camp svg,.helper-camp .helper-arm,.helper-camp .fox-head{animation:none!important}}

/* Beta 0.8: calm, readable quest guidance. */
.practice-route{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;margin:24px 0;background:#e9efdf;border:1px solid #bacbb3;border-radius:20px}.practice-route h2{margin:6px 0}.practice-route p{margin:6px 0}.practice-route small{letter-spacing:.07em;font-weight:800}.practice-route button{flex-shrink:0}.trail-guidance{padding:18px 24px;background:#fffbed;border-bottom:1px solid #ded8bb}.trail-guidance p{font-size:16px;line-height:1.6;margin:6px 0 12px;max-width:75ch}.brief-helper{float:right;width:105px;height:105px}.brief-helper svg{width:100%;height:100%}.quest-checklist{padding-left:28px;clear:both;line-height:1.75}.quest-checklist li{padding:9px 0 9px 5px}.result-next{border-top:1px solid #d4d9c8;padding:22px 0;margin-top:22px;text-align:left}.result-next summary{font-weight:800;cursor:pointer;padding:12px 0}.round-review{border:1px solid #d4d9c8;padding:16px;margin:12px 0;border-radius:12px}.round-review p{font-size:18px!important;line-height:1.7!important}.game-card button{min-height:48px}.game-card[hidden]{display:none!important}button:focus-visible,summary:focus-visible{outline:3px solid #b26b2f;outline-offset:4px}
@media(max-width:650px){.practice-route{align-items:stretch;flex-direction:column;padding:20px}.practice-route button{width:100%}.trail-guidance{padding:16px}.trail-guidance button{white-space:normal;text-align:left}.brief-helper{width:85px;height:85px}.quest-checklist{font-size:18px}.result-next button{white-space:normal}}
.reading-warmup{padding:18px 20px;background:#f0f3e7;border:1px solid #ccd6bd;border-radius:14px;margin:18px 0}.reading-warmup summary{cursor:pointer;font-weight:800;font-size:18px}.reading-warmup p{font-size:17px!important;line-height:1.6!important}.reading-warmup button{font-size:20px;min-height:44px}

/* English-first beta: a clear start, practical reading and honest course scope. */
.beta-release-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 18px;border-radius:12px;border:1px solid #d3dcc7;background:#eef2e6;margin:0 0 20px}.beta-release-bar>span,.course-status{font-size:12px;letter-spacing:.08em;font-weight:800}.beta-release-bar p{font-size:15px;flex:1;margin:0}.beta-release-bar button{min-height:44px}.course-option{position:relative;flex-wrap:wrap}.course-status{display:block;width:100%;padding:7px 12px;border-radius:8px;background:#e8efdc;color:#365744;text-align:left}.course-status.preview{background:#f5ead7;color:#77552e}.beta-first-session{padding:26px;border:1px solid #c7d4bb;border-radius:20px;background:#f3f5eb;margin:24px 0 32px}.beta-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.beta-step{text-align:left;padding:22px 18px;background:#fffef7;border:1px solid #d4dcc7;border-radius:15px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.beta-step>span{font-size:29px;color:#4d7256}.beta-step>small{font-weight:800;letter-spacing:.1em}.beta-step h3{font-size:21px;margin:0}.beta-step p{font-size:16px;line-height:1.6;margin:0 0 8px}.beta-step b{margin-top:auto}.beta-step.done{border-color:#7a9f77}.beta-help-section{padding:18px 0;border-bottom:1px solid #dce0d2}.beta-help-section p{font-size:18px;line-height:1.75}.everyday-panel{margin:28px 0}.everyday-panel .section-head p{font-size:16px;line-height:1.6;max-width:65ch}.everyday-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.everyday-card{border:1px solid #d5dcc8;border-radius:16px;background:#fffef8;padding:22px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;overflow:hidden}.everyday-card h3{margin:0;font-size:23px}.everyday-card p{font-size:17px;line-height:1.65;margin:0}.everyday-card .a11y-note{font-size:14px}.everyday-card>button{margin-top:auto;min-height:46px}.everyday-art{align-self:stretch;height:80px;background:repeating-linear-gradient(-35deg,#e7edda,#e7edda 12px,#edf1e2 12px,#edf1e2 24px);border-radius:10px;font-size:38px;display:flex;align-items:center;justify-content:center;gap:30px;color:#46624b}.everyday-art span{font-size:24px;color:#b49b54}.everyday-document{background:#fffdf5;border:1px solid #d7d7bd;border-top:6px solid #5a7a60;border-radius:12px;padding:26px;margin:16px 0}.document-icon{font-size:32px}.functional-text{font-size:22px!important;line-height:1.85!important;white-space:normal;overflow-wrap:anywhere}.everyday-context{margin:16px 0}.everyday-context .functional-text{padding:16px 0}.beta-first-session>.primary{margin-right:12px}
@media(max-width:760px){.beta-step-grid{grid-template-columns:1fr}.beta-step{padding:18px}.beta-first-session{padding:18px}.beta-first-session .section-head{align-items:flex-start;flex-direction:column;gap:10px}.everyday-grid{grid-template-columns:1fr}.beta-release-bar{gap:8px}.beta-release-bar p{flex-basis:100%}.functional-text{font-size:21px!important}.everyday-document{padding:20px}.beta-first-session>.primary{width:100%;white-space:normal}.beta-step p{font-size:17px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.activity-report{display:block;margin:18px auto 0;font-size:14px;min-height:44px;text-decoration:underline;text-underline-offset:3px}
.helper-camp-banner{margin:18px 0;border-radius:14px;overflow:hidden;background:#e8ead9}.helper-camp-banner img{display:block;width:100%;height:230px;object-fit:cover;object-position:50% 47%}.story-interior{margin:26px 0;border-radius:15px;overflow:hidden;border:1px solid #d6dcc9;background:#eff1e5}.story-interior img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.story-interior figcaption{padding:10px 16px;font-size:12px;font-weight:800;letter-spacing:.09em;color:#53694e}#overlay .helper-camp-banner img{height:210px}@media(max-width:650px){.helper-camp-banner img,#overlay .helper-camp-banner img{height:auto;aspect-ratio:3/2}.story-interior{margin:20px 0}}
/* Keep every helper visible; the camp composition should never crop Bruno's head. */
.helper-camp-banner img,#overlay .helper-camp-banner img{height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center}

/* 0.10: readable evidence and learning-derived RPG milestones */
.evidence-source{margin:18px 0;padding:20px;border:1px solid #cbd6c5;border-radius:18px;background:#f4f6ed;max-height:42vh;overflow:auto;font-size:20px;line-height:1.8}.evidence-source summary{font-weight:700;cursor:pointer}.evidence-source p{color:#293f36}.skill-passport{padding:26px;background:#edf1e4;border:1px solid #d5ddc9;border-radius:22px;margin:24px 0}.skill-passport h2{margin:8px 0}.skill-passport p{max-width:760px}.passport-seals{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}.passport-seals button{display:flex;flex-direction:column;gap:6px;align-items:center;white-space:normal;text-align:center}.passport-seals span{font-size:28px}.passport-seals .sealed{background:#dfebd0;border-color:#7c9867}.passport-seals small{font-size:14px}html[data-calm=true] *,html[data-calm=true] *::before,html[data-calm=true] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ae6b24;outline-offset:4px}@media(max-width:650px){.passport-seals{grid-template-columns:repeat(2,1fr)}.skill-passport{padding:18px}.header-actions #calm-toggle{font-size:13px;padding:6px}.evidence-source{padding:14px;font-size:20px}}

.release-story-card{display:flex;gap:20px;align-items:center;width:100%;text-align:left;padding:16px;background:#fffaf0;border:1px solid #d6ddcd;border-radius:20px;color:#29483c}.release-story-card img{width:150px;aspect-ratio:3/2;object-fit:cover;border-radius:12px}.release-story-card>span{display:grid;gap:8px}.release-story-card b{font-size:23px}@media(max-width:550px){.release-story-card{flex-wrap:wrap}.release-story-card img{width:100%}}
