/* English Quest follows Khmer Quest's shell, route cards and prompt layout.
   Its jade/coral palette deliberately distinguishes the two courses. */
:root{--ink:#18383d;--muted:#617b7d;--paper:#f4faf8;--purple:#087f78;--lime:#ffcc80;--stroke:#daeae5;--shadow:0 20px 50px #174b4914;background:var(--paper);color:var(--ink)}
body{background:var(--paper);color:var(--ink)}
.sidebar{width:244px;flex:0 0 244px;background:#173e46;padding:27px 18px 22px;position:sticky;top:0;height:100vh;min-height:0}
.brand{padding:0 9px;margin:0 0 56px;font-size:24px;letter-spacing:-.8px;gap:10px}.brand-mark{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:14px;background:#ffcc80;color:#173e46;font-size:25px}.brand small{color:#bad1cf;font-size:9px}.brand-accent,.mobile-brand span:last-child{color:#ffcc80}
.side-label{padding:0 16px;margin:0 0 14px;color:#91b3b4;font-size:10px;letter-spacing:1.5px;font-weight:800}.side-nav{gap:5px}.side-nav .nav{color:#c2d9d8;background:none;border:0;text-align:left;border-radius:13px;padding:13px 15px;display:flex;align-items:center;gap:14px;font-weight:700;font-size:14px;width:100%;line-height:1.2;transition:.2s}.side-nav .nav:hover{color:white;background:#27545b}.side-nav .nav.active{background:#32646a;color:white}.side-nav .nav>.nav-icon{width:19px;font-size:22px;line-height:1;color:#ffcc80}.side-nav .nav b{margin-left:auto;background:#41757b;border-radius:7px;padding:2px 7px;font-size:11px;color:white}
.sidebar-bottom{margin-top:auto}.mini-progress{padding:19px 15px;border:1px solid #477077;border-radius:15px;background:#214b52}.mini-progress>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1px;font-weight:800;color:#b5d2d0}.mini-progress b{color:#ffcc80;font-size:12px;letter-spacing:0}.track{height:8px;background:#3e6870;border-radius:9px;overflow:hidden;margin:14px 0 10px}.track span{height:100%;width:0;display:block;background:#ffcc80;border-radius:9px;transition:width .4s}.mini-progress small{color:#a7c4c2;font-size:11px}.sidebar-note{display:flex;gap:10px;align-items:center;padding:22px 10px 3px}.sidebar-note>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#3b6568;color:#ffcc80}.sidebar-note b{font-size:12px;display:block}.sidebar-note small{display:block;color:#a7c4c2;font-size:11px;margin-top:3px}
.topbar{height:88px;padding:0 clamp(24px,4vw,66px);border-bottom:1px solid var(--stroke);background:#ffffffb8}.topbar-right{display:flex;align-items:center;gap:10px}.stat-chip{background:#fff;border:1px solid var(--stroke);border-radius:999px;padding:10px 14px;font-size:13px}.stat-chip strong{font:600 16px Fredoka,sans-serif;color:#087f78}.stat-chip small{color:var(--muted);font-size:11px;font-weight:700}.language-control{font-size:12px}.language-control select{border-color:var(--stroke);border-radius:999px;color:var(--ink);max-width:130px}.avatar{width:38px;height:38px;border:3px solid #fff;box-shadow:0 0 0 1px var(--stroke);display:grid;place-items:center;border-radius:50%;background:#ffc3a9;font:700 18px Fredoka,sans-serif}
main{width:min(1260px,100%);padding:35px clamp(24px,4vw,66px) 70px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--purple)}.page-title{font-size:clamp(30px,3.25vw,46px);line-height:1.1;letter-spacing:-1px;color:var(--ink)}.page-intro{color:var(--muted);font-size:14px;line-height:1.6}.card{border-color:var(--stroke);box-shadow:var(--shadow)}.btn{min-height:49px;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:9px}.btn-primary{background:#087f78;color:white;box-shadow:0 5px 0 #075e60}.btn-primary:hover:not(:disabled){background:#0a9790;transform:translateY(-2px)}.btn-light{background:#e6f4ef;color:#126c67}.progress{background:#e2efe9}.progress span,.speech-dots i{background:#0aa69d}.section-heading h2,.speech-topic-tile h3,.speech-stage h2,.question-title,.speech-bank-section h2{color:var(--ink)}
.speech-hero{background:#173e46;border-radius:28px;padding:clamp(27px,4vw,48px);min-height:260px;position:relative;margin-bottom:15px}.speech-hero:before{content:'✳';position:absolute;right:17%;top:-115px;color:#ffffff0b;font-size:350px;pointer-events:none}.speech-hero .overview-kicker{color:#ffcc80;letter-spacing:1.7px;font-size:11px}.speech-hero h2{font-size:clamp(32px,4vw,52px);line-height:1.08;letter-spacing:-1.4px}.speech-hero p{color:#cfe3e0}.speech-hero-visual{font-size:88px;filter:none}.speech-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0 27px}.speech-summary span{border:1px solid var(--stroke);border-radius:16px;background:#fff;color:var(--ink);padding:18px;font-size:13px;display:flex;flex-direction:column;gap:5px}.speech-summary strong{font:600 22px Fredoka,sans-serif;color:var(--purple)}.speech-topic-grid{gap:13px}.speech-topic-tile{border-radius:20px;padding:20px;min-height:240px;box-shadow:0 7px 22px #174b490a}.speech-topic-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#fff0d9;font-size:25px}.speech-topic-tile .unit-num{color:var(--purple);background:#e3f3ee;border-radius:50px;padding:6px 10px;margin:0;align-self:flex-end;position:absolute;right:18px;top:22px;font-size:11px}.speech-topic-tile{position:relative;gap:10px}.speech-topic-tile h3{margin:0}.speech-topic-tile p{color:var(--muted);min-height:34px}.speech-topic-tile .btn{background:none;box-shadow:none;padding:5px 0;min-height:auto;color:var(--purple)}.speech-stage-list{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.speech-stage{display:flex;flex-direction:column;align-items:stretch;border-radius:20px;padding:20px;min-height:225px}.speech-stage-number{background:#e7f5ed;color:#087f78;width:44px;height:44px;border-radius:13px;font-size:24px}.speech-stage .btn{margin-top:auto;width:100%;font-size:12px;min-height:42px}.speech-stage .unit-num{color:var(--purple)}.speech-stage h2{margin:10px 0 6px}.speech-stage p{color:var(--muted)}
.course-hero-actions{display:flex;flex-wrap:wrap;gap:10px}.course-hero-stat{position:relative;background:#ffffff17;border:1px solid #ffffff2f;border-radius:22px;padding:24px;min-width:190px}.course-hero-stat strong{font:600 70px/1 Fredoka,sans-serif;color:#ffcc80}.course-hero-stat strong small{font-size:26px;color:#d8e9e5}.course-hero-stat>span{display:block;font-size:10px;letter-spacing:1.4px;font-weight:800;margin:11px 0 18px;color:#d5e8e4}.course-progress{display:block;height:9px;border-radius:20px;background:#d6e9e3;overflow:hidden}.course-progress i{display:block;height:100%;background:#ffcc80;border-radius:20px}.speech-hero .course-hero-stat{z-index:1}.speech-hero>div:first-child{position:relative;z-index:1}.speech-topic-tile .speech-dots{margin-top:auto}.back-link{border:0;background:none;color:#087f78;font-weight:800;font-size:13px;padding:5px 0;margin-bottom:19px}.intro-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.intro-row h1{font:600 clamp(30px,3.25vw,46px)/1.05 Fredoka,"Noto Sans Khmer",sans-serif;margin:0}.intro-row .eyebrow{margin:0 0 8px}.subline{color:var(--muted);margin:8px 0 0;font-size:14px}.level-pill{background:#e4f3ed;color:#087f78;border-radius:999px;padding:10px 15px;font-size:12px;font-weight:800;white-space:nowrap}.speech-stage .course-level-head{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:800;letter-spacing:.7px;color:#5f7b7a}.speech-stage .course-level-head b{color:#087f78}.speech-stage.locked{opacity:.58}.speech-stage.passed{background:#f1fae7}.speech-stage.next{border:2px solid #44aaa0;background:#fbfffd}
.quest-prompt-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(270px,.8fr);gap:16px;margin-top:22px}.guided-card{max-width:none;margin:0;border-radius:24px;padding:clamp(22px,3vw,36px)}.guided-meaning{font-size:15px;color:var(--muted);margin-bottom:14px}.guided-target{background:transparent;border:0;padding:0;color:#087f78;font-size:clamp(34px,5vw,62px);line-height:1.2;margin:10px 0 24px}.guided-label{color:var(--purple);font-size:11px;letter-spacing:1.2px;text-transform:uppercase}.speech-partner{background:#e4f3f1;border:0}.speech-partner strong{color:#126c67}.speech-tip-panel{background:#e0f3bd;border-radius:24px;padding:clamp(22px,3vw,36px);align-self:stretch}.speech-tip-panel .eyebrow{color:#446537}.speech-tip-panel h2{font:600 29px/1.1 Fredoka,"Noto Sans Khmer",sans-serif;margin:8px 0 14px;color:#253e35}.speech-tip-panel p{font-size:13px;line-height:1.6;color:#37564a}.speech-tip-panel .course-score-live{background:#f5ffe9;border-radius:12px;padding:14px;font-weight:800;font-size:13px;margin-top:20px}.speech-tip-panel .course-mini-list{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-top:20px}.speech-tip-panel .course-mini-list span{background:#f5ffe4;border-radius:8px;padding:8px 10px;font-size:11px;font-weight:700;color:#66734b}.speech-tip-panel .course-mini-list .now{background:#087f78;color:#fff}.speech-tip-panel .course-mini-list .done{color:#37824a}.guided-card .fine-print{color:var(--muted)}.bank-play{background:#d9f2ee;color:#126c67}.speech-filter button.active{background:#087f78;border-color:#087f78}.speech-bank-card strong{color:#087f78}.speech-other .btn{box-shadow:none}
.exam-run-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:800;color:var(--muted)}.exam-run-top .back-link{margin:0}.course-next-row{justify-content:flex-end;max-width:100%;margin-top:17px}.course-next-row .btn:first-child{margin-right:auto}
.course-lesson-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 15px}.course-lesson-nav .btn{min-height:40px;padding:8px 14px;font-size:12px}.quest-prompt-layout{margin-top:0}.legacy-exam-heading{margin-top:34px}.guided-voice .btn[data-speech-action="next"]{min-width:145px}
.site-credit a{color:#087f78}.site-credit{color:var(--muted)}
@media(max-width:1050px){.sidebar{width:205px;flex-basis:205px}.speech-stage-list{grid-template-columns:repeat(2,minmax(0,1fr))}.quest-prompt-layout{grid-template-columns:1fr}}
@media(max-width:850px){.topbar{height:65px;padding:0 16px}.mobile-brand{display:flex;align-items:center;gap:5px;font-size:20px}.mobile-brand .brand-mark{width:34px;height:34px;border-radius:10px;font-size:20px}.stat-chip{padding:7px 9px}.stat-chip small,.avatar{display:none}.language-control>span{display:none}.mobile-nav{border-color:var(--stroke)}.mobile-nav button.active{color:var(--purple)}.mobile-nav button{min-width:0;flex:1;font-size:10px}.mobile-nav .nav-icon{font-size:21px}.mobile-nav button span:last-child{font-size:10px}main{padding:24px 16px 108px}}
.menu-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.menu-tile{display:flex;align-items:center;gap:14px;text-align:left;padding:18px;color:var(--ink);font:inherit;cursor:pointer}.menu-tile>span:first-child{font-size:24px;color:var(--purple)}.menu-tile>strong{flex:1}.menu-tile:hover,.menu-tile:focus-visible{border-color:var(--purple);background:#f8f5ff}@media(max-width:500px){.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-tile{padding:13px;gap:8px;font-size:13px}.menu-tile>span:first-child{font-size:19px}}
.full-reading{margin:25px 0;padding:20px;border:1px solid var(--stroke);border-radius:18px;background:#fbfcff}.full-reading h2{margin:0 0 6px}.full-reading blockquote{margin:15px 0;padding:17px;border-left:4px solid var(--purple);border-radius:8px;background:white;font-size:18px;line-height:1.65}.full-reading h3{margin:18px 0 12px;font-size:18px}
@media(max-width:650px){.speech-summary{grid-template-columns:repeat(2,1fr)}.speech-stage-list{grid-template-columns:1fr}.speech-stage{min-height:195px}.speech-stage .btn{margin:0}.speech-hero{min-height:205px}.speech-hero-visual{font-size:54px;min-width:60px}.guided-card{padding:19px}.guided-target{font-size:clamp(30px,8vw,41px)}.speech-tip-panel{padding:20px}.topbar-right{gap:5px}.language-control select{max-width:96px}.stat-chip{gap:3px}}
@media(max-width:650px){.course-lesson-nav{margin:2px 0 10px}.course-lesson-nav .btn{flex:1;min-height:40px}.quest-prompt-layout{margin-top:0}.exam-run-top{font-size:11px}}
/* The oversized decorative star crowds the welcome banner on small screens. */
@media(max-width:850px){.speech-hero::before{content:none}}
@media(max-width:650px){
  .speech-hero{flex-direction:column;align-items:stretch;gap:20px}
  .speech-hero>div:first-child{min-width:0}
  .course-hero-actions{display:grid;grid-template-columns:1fr}
  .course-hero-actions .btn{width:100%;min-width:0}
  .speech-hero .course-hero-stat{min-width:0;padding:18px}
  .speech-hero .course-hero-stat strong{font-size:52px}
  .language-control select{padding:8px 20px 8px 8px}
}
.voice-status{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:1000;max-width:min(92vw,560px);padding:13px 18px;border:2px solid #fff;border-radius:16px;background:#173e46;color:#fff;box-shadow:0 12px 34px #173e464d;text-align:center;font-weight:700;font-size:14px;line-height:1.4}
.voice-status[hidden]{display:none}
@media(max-width:700px){.voice-status{bottom:82px;width:calc(100vw - 28px)}}
/* The guided foundations and small replayable games. */
.studio-banner{display:flex;align-items:center;gap:20px;background:#173e46;color:#fff;border-radius:22px;padding:23px 26px;margin-top:26px}.studio-banner>span{font-size:42px}.studio-banner h2{font:600 26px Fredoka,"Noto Sans Khmer",sans-serif;margin:0 0 4px}.studio-banner p{color:#cee5df;font-size:13px;margin:0}.studio-banner .btn{margin-left:auto;white-space:nowrap}
.guide-shell,.game-play{max-width:920px;margin:auto}.guide-progress{display:flex;align-items:center;gap:18px;color:var(--purple);font-size:13px;font-weight:800;margin:0 0 16px}.guide-progress .progress{flex:1;margin:0}.guide-scene{display:grid;grid-template-columns:minmax(200px,.8fr) 1.2fr;min-height:360px;overflow:hidden;border-radius:26px;padding:0}.guide-art{position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 65% 30%,#fff6d6 0 9%,transparent 10%),linear-gradient(145deg,#c4f2e2,#ffe8c1);font-size:clamp(85px,14vw,150px)}.guide-art span{z-index:1;filter:drop-shadow(0 18px 8px #427b6c35);animation:guide-float 3s ease-in-out infinite}.guide-art i{position:absolute;width:100px;height:100px;border:2px solid #ffffff70;border-radius:50%;animation:guide-ring 5s ease-out infinite}.guide-art i:last-child{animation-delay:2.5s}.guide-copy{padding:clamp(26px,4vw,48px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.guide-copy h2{font:600 clamp(27px,3vw,38px)/1.15 Fredoka,"Noto Sans Khmer",sans-serif;color:var(--ink);margin:12px 0}.guide-copy>p{font-size:16px;line-height:1.7;color:var(--muted);margin:0 0 12px}.guide-target{font:600 clamp(26px,4vw,42px)/1.25 Fredoka,sans-serif;color:#087f78;margin:14px 0 20px}.guide-copy .guide-repeat{margin:14px 0 0;font-weight:700;font-size:13px;color:#346961}.guide-actions{display:flex;justify-content:space-between;gap:12px;margin-top:18px}.guide-actions .btn{min-width:170px}
.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.game-tile{border-radius:22px;padding:26px;display:flex;flex-direction:column;min-height:270px}.game-icon{font-size:42px;background:#fff0d9;width:68px;height:68px;display:grid;place-items:center;border-radius:18px}.game-tile h2{font:600 25px Fredoka,"Noto Sans Khmer",sans-serif;color:var(--ink);margin:18px 0 8px}.game-tile p{color:var(--muted);font-size:14px;line-height:1.55;margin:0 0 20px}.game-tile .btn{margin-top:auto}.game-stage,.game-finish{padding:clamp(24px,4vw,44px);text-align:center;border-radius:26px}.game-stage>p{color:var(--muted);font-weight:700}.game-audio{width:132px;height:132px;border:0;border-radius:50%;background:#d8f4ec;color:#087f78;font-size:63px;box-shadow:0 0 0 12px #eaf8ee;cursor:pointer;animation:game-pulse 2.8s ease-in-out infinite}.game-picture{font-size:112px;line-height:1.25;animation:guide-float 3s ease-in-out infinite}.game-speak-target{font:600 clamp(28px,5vw,46px) Fredoka,sans-serif;color:#087f78;margin:10px 0 22px}.game-speak-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.game-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:28px auto;max-width:620px}.game-options .answer{min-height:65px}.game-sentence{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;min-height:85px;background:#edf8f3;border:2px dashed #9bcfc1;border-radius:18px;font-size:24px;color:#087f78;font-weight:800;padding:12px}.game-sentence span{background:white;border-radius:10px;padding:8px 12px}.game-feedback{padding:12px 16px;border-radius:12px;font-weight:800}.game-feedback.good{color:#196446;background:#e5f7df}.game-feedback.try{color:#a15b16;background:#fff1d7}.game-finish{max-width:650px;margin:auto}.game-finish h2{font:600 32px Fredoka,"Noto Sans Khmer",sans-serif}.game-finish p{font-size:18px;color:var(--muted)}
@keyframes guide-float{0%,100%{transform:translateY(5px) rotate(-2deg)}50%{transform:translateY(-10px) rotate(2deg)}}@keyframes guide-ring{0%{transform:scale(.4);opacity:.7}100%{transform:scale(3);opacity:0}}@keyframes game-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
@media(max-width:900px){.game-grid{grid-template-columns:1fr}.guide-scene{grid-template-columns:1fr 1.2fr}}
@media(max-width:650px){.studio-banner{flex-wrap:wrap}.studio-banner .btn{width:100%;margin:0}.guide-scene{grid-template-columns:1fr}.guide-art{min-height:180px;font-size:85px}.guide-copy{padding:22px}.guide-actions .btn{min-width:0;flex:1}.game-grid{grid-template-columns:1fr}.game-tile{min-height:0}.game-options{gap:8px}.game-options .answer{min-height:58px;padding:9px}.game-audio{width:108px;height:108px;font-size:50px}}
@media(prefers-reduced-motion:reduce){.guide-art span,.guide-art i,.game-picture,.game-audio{animation:none}}
.mission-section{margin:30px 0 38px}.mission-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.mission-tile{padding:22px;border-radius:20px;display:flex;flex-direction:column;min-height:245px;background:linear-gradient(150deg,#fff,#f2fbf5)}.mission-tile .mission-emoji{font-size:38px;line-height:1.1;margin-bottom:12px}.mission-tile h3{font:600 21px/1.25 Fredoka,"Noto Sans Khmer",sans-serif;margin:8px 0;color:var(--ink)}.mission-tile p{font-size:14px;line-height:1.55;color:var(--muted);margin:0 0 16px}.mission-tile .btn{margin-top:auto}.mission-callout{display:flex;gap:20px;align-items:center;padding:24px;margin:20px 0 25px;border-radius:22px;background:linear-gradient(110deg,#eaf8ef,#fff7e3)}.mission-callout .mission-badge{font-size:70px;line-height:1}.mission-callout h2{font:600 26px Fredoka,"Noto Sans Khmer",sans-serif;margin:5px 0}.mission-callout p{margin:0 0 15px;color:var(--muted)}.mission-header,.mission-stage{max-width:790px;margin-left:auto;margin-right:auto}.mission-header h1{font:600 clamp(28px,5vw,42px)/1.2 Fredoka,"Noto Sans Khmer",sans-serif;margin:8px 0 18px}.mission-stage{border-radius:26px;min-height:430px;text-align:center;padding:clamp(22px,4vw,42px)}.mission-stage h2{font:600 clamp(24px,4vw,34px) Fredoka,"Noto Sans Khmer",sans-serif;margin:12px 0}.mission-stage>p{max-width:540px;margin:10px auto 18px;line-height:1.65;color:var(--muted)}.mission-stage-art{font-size:92px;line-height:1.2;position:relative;width:max-content;margin:0 auto 10px;animation:guide-float 3s ease-in-out infinite}.mission-stage-art span{font-size:34px;position:absolute;right:-25px;top:0}.mission-answer-grid{display:grid;grid-template-columns:1fr;gap:10px;max-width:500px;margin:24px auto}.mission-answer-grid .answer{min-height:58px}.mission-target{font:600 clamp(25px,5vw,42px)/1.2 Fredoka,sans-serif;color:#087f78;margin:24px auto}.mission-celebrate{font-size:110px;animation:mission-pop .8s ease-out both}.mission-goal{font-weight:800;color:#087f78!important}.mission-stage .button-row{justify-content:center}.mission-stage>.btn{margin-top:12px}@keyframes mission-pop{0%{transform:scale(.3) rotate(-25deg);opacity:0}70%{transform:scale(1.2) rotate(8deg);opacity:1}100%{transform:scale(1) rotate(0)}}
@media(max-width:1100px){.mission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.mission-grid{grid-template-columns:1fr}.mission-tile{min-height:0}.mission-callout{align-items:flex-start}.mission-callout .mission-badge{font-size:48px}.mission-stage{min-height:0}.mission-stage-art{font-size:72px}}
@media(prefers-reduced-motion:reduce){.mission-stage-art,.mission-celebrate{animation:none}}
.directory-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 28px}.directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 30px}.directory-tile{display:flex;align-items:flex-start;gap:15px;padding:18px;border-radius:18px}.directory-icon{font-size:32px;line-height:1.1}.directory-tile>div{min-width:0;flex:1}.directory-tile h3{font:600 19px/1.25 Fredoka,"Noto Sans Khmer",sans-serif;color:var(--ink);margin:0 0 5px}.directory-tile p{color:var(--muted);font-size:13px;line-height:1.45;margin:0}.directory-tile .btn{align-self:center;white-space:nowrap}.directory-empty{padding:28px;text-align:center}.directory-empty p{color:var(--muted)}
@media(max-width:1150px){.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.directory-grid{grid-template-columns:1fr}.directory-tile{flex-wrap:wrap}.directory-tile .btn{width:100%}}
.adult-hero{display:flex;justify-content:space-between;gap:28px;padding:30px;border-radius:24px;background:linear-gradient(125deg,#173e46,#286764);color:white;margin:0 0 28px}.adult-hero .eyebrow{color:#b6eedb}.adult-hero h2{font:600 clamp(25px,3vw,37px)/1.2 Fredoka,"Noto Sans Khmer",sans-serif;margin:12px 0}.adult-hero p{max-width:600px;line-height:1.6;color:#e5f7ee}.adult-hero strong{font:600 62px Fredoka,sans-serif;white-space:nowrap}.adult-hero strong small{font-size:26px;color:#b6eedb}.adult-hero .btn-light{background:white}.adult-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.adult-tile{position:relative;display:flex;flex-direction:column;padding:23px;min-height:250px;border-radius:20px}.adult-icon{font-size:39px;margin-bottom:12px}.adult-tile h3{font:600 22px/1.25 Fredoka,"Noto Sans Khmer",sans-serif;color:var(--ink);margin:8px 0}.adult-tile p{color:var(--muted);font-size:14px;line-height:1.55;margin:0 0 18px}.adult-tile .btn{margin-top:auto}.adult-complete{position:absolute;right:18px;top:18px;border-radius:50%;background:#ddf5e8;color:#126d56;padding:4px 9px;font-weight:800}.adult-lesson-head,.adult-stage{max-width:800px;margin-left:auto;margin-right:auto}.adult-lesson-head h1{font:600 clamp(28px,5vw,42px)/1.2 Fredoka,"Noto Sans Khmer",sans-serif;margin:8px 0 16px}.adult-stage{border-radius:24px;text-align:center;padding:clamp(24px,4vw,42px);min-height:390px}.adult-stage h2{font:600 clamp(25px,4vw,35px)/1.2 Fredoka,"Noto Sans Khmer",sans-serif;color:var(--ink);margin:12px 0}.adult-stage>p{color:var(--muted);line-height:1.6;max-width:570px;margin:12px auto 20px}.adult-stage .button-row{justify-content:center}.adult-scene-art,.adult-listen-mark{font-size:78px;line-height:1.2}.adult-target{display:block;font:600 clamp(25px,5vw,41px)/1.25 Fredoka,sans-serif;color:#087f78;margin:18px 0 22px}.adult-options{display:grid;gap:10px;max-width:520px;margin:24px auto}.adult-options .answer{min-height:56px}.adult-example{display:grid;gap:10px;justify-items:center;border-radius:18px;background:#edf8f3;padding:20px;margin:24px auto;max-width:520px}.adult-example p{margin:0;color:var(--muted)}.adult-example strong{font-size:23px;color:#087f78}.adult-stage>.btn{margin-top:12px}
@media(max-width:1050px){.adult-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.adult-hero{display:block;padding:22px}.adult-hero strong{display:none}.adult-grid{grid-template-columns:1fr}.adult-tile{min-height:0}.adult-stage{min-height:0}.adult-scene-art,.adult-listen-mark{font-size:60px}}
.entry-card{max-width:850px;margin:1rem auto 2rem;padding:clamp(1.25rem,3vw,2rem)}
.entry-card .input-label{display:block;margin:1.2rem 0 .4rem;font-weight:750}
.entry-card input,.entry-card select,.entry-card textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #cdd9dc;border-radius:12px;padding:.8rem 1rem;font:inherit;color:#153641;background:#fff}
.entry-card textarea{resize:vertical;margin-bottom:1rem}
.entry-card blockquote{margin:1.2rem 0;padding:1rem 1.2rem;border-left:4px solid #43a7ae;border-radius:8px;background:#eef8f8;font-size:1.18rem}
.entry-choices{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}
.entry-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:1.2rem 0}
.entry-result-grid>div{display:flex;flex-direction:column;gap:.25rem;padding:1rem;border-radius:12px;background:#eef8f8}
.entry-result-grid strong{font-size:1.08rem}
.entry-card .adult-options{margin-top:1.5rem}
.entry-preview,.entry-notice{padding:1rem 1.2rem;border-radius:14px;background:#eef8f8;color:#235568;line-height:1.55}.entry-preview{font-weight:750}.entry-notice{font-size:.94rem}.entry-dialogue{display:grid;grid-template-columns:max-content 1fr;align-items:center;gap:.75rem;margin:1rem 0;padding:1rem;border-radius:16px;background:#eef8f8}.entry-dialogue span{font:600 1.08rem/1.4 Fredoka,sans-serif;color:#153641}
.entry-game-built,.entry-game-words{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;min-height:65px;margin:1rem 0}.entry-game-built{padding:1rem;border:2px dashed #88c6c5;border-radius:16px;background:#f2faf8}.entry-game-built span{padding:.6rem .8rem;border-radius:10px;background:#d8f2e9;color:#164d47;font-weight:800}.entry-game-words .btn{min-width:80px}
@media(max-width:600px){.entry-result-grid{grid-template-columns:1fr}.entry-choices .btn{flex:1}}
.curriculum-scope{margin:1.2rem 0;padding:1.2rem 1.4rem;border-left:5px solid #339fa6}
.curriculum-scope strong{display:block;font-size:1.15rem;margin-bottom:.3rem}
.curriculum-scope p{margin:.2rem 0 1rem;max-width:65ch}
.full-hero{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.5rem;margin:1.2rem 0 1.5rem;background:linear-gradient(120deg,#e9f8f3,#fff6e4)}
.full-hero h2{margin:.35rem 0;font:600 clamp(24px,3vw,34px) Fredoka,"Noto Sans Khmer",sans-serif}
.full-hero p{margin:.3rem 0;max-width:52ch;line-height:1.55}
.full-band-row{display:flex;gap:.55rem;overflow-x:auto;padding:.15rem 0 .85rem;margin-bottom:.5rem;scrollbar-width:thin}
.full-band-row .btn{flex:none;white-space:nowrap}
.full-unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.full-unit-tile{position:relative;display:flex;flex-direction:column;gap:.6rem;padding:1.5rem;border-radius:22px}
.full-unit-tile h2{font:600 clamp(23px,3vw,30px) Fredoka,"Noto Sans Khmer",sans-serif;margin:.2rem 0}
.full-unit-tile p{margin:0;color:var(--muted);line-height:1.55}
.full-unit-tile .btn{align-self:flex-start;margin-top:auto}
.full-unit-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;margin:1rem 0;font-size:.84rem;color:#3a5f62}
.full-complete{position:absolute;right:18px;top:18px;border-radius:50%;background:#ddf5e8;color:#126d56;padding:4px 9px;font-weight:800}
.full-lesson-heading,.full-episode{max-width:860px;margin-left:auto;margin-right:auto}
.full-lesson-heading h1{font:600 clamp(29px,5vw,43px)/1.2 Fredoka,"Noto Sans Khmer",sans-serif;margin:.5rem 0 1rem}
.full-lesson-heading h2{font:600 clamp(23px,4vw,30px) Fredoka,"Noto Sans Khmer",sans-serif;margin:1rem 0}
.full-episode{padding:clamp(1.25rem,4vw,2.2rem);border-radius:24px;min-height:400px}
.full-episode>p,.full-episode .full-listen>p{line-height:1.6}
.full-scene-icon{display:block;text-align:center;font-size:4.5rem}
.full-listen{text-align:center}
.full-listen h2,.full-check h2{font:600 clamp(23px,4vw,32px) Fredoka,"Noto Sans Khmer",sans-serif;margin:1.5rem auto .5rem}
.full-audio-row{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin:1.2rem 0}
.full-chunk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1.5rem 0}
.full-chunk{display:flex;flex-direction:column;gap:.65rem;border:1px solid #deebe8;border-radius:16px;padding:1.1rem;background:#f7fcfa}
.full-chunk strong{font-size:1.3rem;color:#0b7274}
.full-chunk .button-row{flex-wrap:wrap;margin-top:auto}
.full-dialogue-turn{max-width:600px;margin:1.4rem auto;padding:1.7rem;border-radius:20px;background:#e9f8f4;text-align:center}
.full-dialogue-turn strong{display:block;font-size:clamp(24px,4vw,32px);margin:1rem 0;color:#136970}
.full-dialogue-turn .button-row{justify-content:center}
.full-speaker,.full-turn-progress{font-size:.85rem;letter-spacing:.08em;font-weight:800;text-transform:uppercase;color:#346966}
.full-transfer textarea{width:100%;box-sizing:border-box;border:1px solid #cdd9dc;border-radius:12px;padding:.8rem 1rem;font:inherit;resize:vertical;margin:.5rem 0 1rem}
.full-transfer .input-label{display:block;margin-top:1.5rem;font-weight:800}
.full-check{text-align:center}.full-free-check{padding:1.2rem;border-radius:18px;background:#edf8f3;margin-top:1.5rem}.full-free-check .btn{margin:.5rem}
@media(max-width:700px){.full-hero{display:block}.full-unit-grid,.full-chunk-grid{grid-template-columns:1fr}.full-unit-parts{grid-template-columns:1fr}.full-audio-row .btn{flex:1 1 140px}}
