:root{--ink:#263c3a;--muted:#70817c;--paper:#f7f5ed;--purple:#6b57bc;--mint:#daebe1;--yellow:#ffe49a;--pink:#f8dcd8;--line:#e3e6dc;--round:26px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:ui-rounded,'SF Pro Rounded','PingFang SC',system-ui,sans-serif;-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button{cursor:pointer;border:0;color:inherit;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:4px solid #c29eff;outline-offset:4px}button:disabled{opacity:.55;cursor:default}button,a,input,select{min-height:48px}button{transition:transform .15s,background .15s}button:active{transform:scale(.97)}a{color:var(--purple)}.shell{max-width:1360px;margin:auto;display:grid;grid-template-columns:210px 1fr;min-height:100vh}.sidebar{padding:35px 22px;position:sticky;top:0;height:100vh;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;font-weight:850;font-size:21px;letter-spacing:-.7px}.brand-star{font-size:33px;color:#e6ad32}.brand small{font-size:10px;color:var(--muted);letter-spacing:2px;display:block;margin-top:4px}.nav{display:grid;gap:10px;margin-top:57px}.nav button{background:transparent;text-align:left;padding:15px 14px;border-radius:16px;font-weight:650;font-size:15px}.nav button.active{background:var(--mint)}.nav .ico{display:inline-block;width:29px;font-size:20px}.side-note{margin-top:auto;border-radius:20px;background:#ede9f5;padding:18px;font-size:12px;line-height:1.8}.side-note b{display:block;font-size:14px}.parent-button{margin-top:18px;background:none;text-align:left;color:var(--muted);font-size:12px}.main{padding:30px 40px 45px;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px}.crumb{font-size:12px;font-weight:650;letter-spacing:1px;color:var(--muted)}.crumb b{color:var(--ink);margin-left:10px}.star-pill{background:#fff0bf;border:1px solid #efd995;padding:10px 16px;border-radius:40px;font-size:14px;font-weight:750;white-space:nowrap}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2px;font-weight:800;color:var(--purple)}h1{font-size:clamp(29px,3.4vw,45px);line-height:1.25;letter-spacing:-1.4px;margin:15px 0}h2{font-size:23px;letter-spacing:-.6px;margin:0}h3{margin:0;font-size:18px}p{line-height:1.8}.muted{color:var(--muted)}.hero{background:var(--mint);border-radius:32px;position:relative;overflow:hidden;display:grid;grid-template-columns:1.05fr 1fr;min-height:340px}.hero-copy{padding:37px 0 35px 34px;position:relative;z-index:1}.hero-copy p{font-size:14px;margin:14px 0 24px}.hero-art{position:relative;margin:20px 20px 20px 8px;border-radius:130px 130px 30px 30px;overflow:hidden;min-height:300px;transform:rotate(3deg);border:6px solid #f6f5eac9}.hero-art img{width:100%;height:100%;object-fit:cover;object-position:50% 60%;position:absolute}.floating-label{position:absolute;bottom:20px;right:20px;background:#fffdf1;padding:10px 19px;border-radius:14px;transform:rotate(-5deg);font-size:20px;font-weight:800;box-shadow:0 6px 20px #263c3a16}.primary{background:var(--purple);color:white;padding:15px 23px;border-radius:16px;font-weight:750;font-size:16px;min-height:54px}.secondary{background:#fffdf7;border:1px solid var(--line);padding:12px 18px;border-radius:15px;font-weight:650}.text-button{background:transparent;color:var(--muted);padding:10px;font-size:13px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:31px 0 18px;gap:16px}.section-head small{color:var(--muted);font-size:12px}.path{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.lesson{border:1px solid var(--line);background:#fffdf8;border-radius:24px;padding:23px;text-align:left;position:relative;min-height:220px}.lesson:hover{transform:translateY(-3px)}.lesson .big-icon{font-size:34px;width:65px;height:65px;border-radius:20px;display:grid;place-items:center;margin-bottom:22px;background:var(--mint)}.lesson:nth-child(2) .big-icon{background:var(--yellow)}.lesson:nth-child(3) .big-icon{background:var(--pink)}.lesson .step{position:absolute;right:22px;top:24px;color:#a9b5ac;font-size:12px;font-weight:750}.lesson h3{font-size:20px;margin-bottom:8px}.lesson p{font-size:12px;color:var(--muted);margin:0}.lesson .arrow{position:absolute;bottom:23px;right:22px;font-size:22px}.complete{color:#32785d!important}.bottom-note{display:flex;justify-content:space-between;align-items:center;background:#eeece3;border-radius:20px;padding:17px 23px;margin-top:20px;font-size:13px;gap:15px}.mini-art{font-size:28px;margin-right:12px}.page-heading{margin-bottom:23px}.page-heading p{margin:8px 0;color:var(--muted);font-size:14px}.tabs{display:flex;gap:9px;margin:19px 0;flex-wrap:wrap}.tabs button{background:#eeece5;padding:11px 22px;border-radius:30px;font-size:14px;font-weight:650}.tabs button.active{background:var(--ink);color:white}.panel{border:1px solid var(--line);border-radius:28px;padding:28px;background:#fffdf8}.instruction{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.instruction p{margin:6px 0;color:var(--muted);font-size:13px}.speak-prompt{background:#ece8f6;color:var(--purple);width:52px;height:52px;border-radius:50%;font-size:23px;flex-shrink:0}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.card{background:#f3f1e9;border:3px solid transparent;border-radius:22px;padding:12px;text-align:center;min-height:176px;overflow:hidden}.card.selected,.card.correct{border-color:#65a58b;background:#e3f3e9}.card.wrong{border-color:#dc9b82;background:#fff0e7}.portrait{width:100%;max-width:150px;height:130px;object-fit:cover;border-radius:15px;margin:0 auto 10px;display:block}.card .word{display:block;font-size:20px;font-weight:750}.card .tiny{font-size:11px;color:var(--muted);display:block;margin-top:4px}.number-art{font-size:65px;font-weight:900;line-height:1.5;letter-spacing:-4px;color:var(--purple)}.dots{display:block;font-size:12px;letter-spacing:3px;color:#a899cb;margin-bottom:9px;word-break:break-all}.swatch{width:90px;height:90px;border-radius:38% 55% 44% 52%;margin:14px auto 23px;box-shadow:inset -8px -7px 0 #0000000a;transform:rotate(-8deg)}.panel-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:25px}.panel-footer small{font-size:12px;color:var(--muted)}.quiz-progress{height:8px;border-radius:20px;background:#e9e7de;overflow:hidden;margin-bottom:26px}.quiz-progress i{height:100%;display:block;background:#a698ce;transition:width .3s}.quiz-prompt{text-align:center;margin:10px 0 25px}.quiz-prompt .english{font-size:38px;font-weight:800;display:block;margin:18px}.audio-orb{background:var(--purple);color:white;border-radius:50%;width:95px;height:95px;font-size:38px;box-shadow:0 0 0 12px #ede8f6;margin:15px}.quiz-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:700px;margin:auto}.quiz-options .card{min-height:195px}.feedback{text-align:center;min-height:36px;margin:19px 0 0;font-weight:650;color:#497461}.quiz-next{text-align:center;min-height:60px}.reward{text-align:center;padding:35px 15px}.reward-icon{font-size:75px}.reward h2{font-size:30px;margin:18px}.reward p{color:var(--muted)}.reward .primary{margin:15px}.speech-layout{display:grid;grid-template-columns:210px 1fr;gap:22px}.phrase-list{display:grid;gap:10px;align-content:start}.phrase-list button{border-radius:16px;padding:15px;text-align:left;background:#eeece5}.phrase-list button.active{background:#e3ddef;color:var(--purple)}.phrase-list small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.record-panel{text-align:center;min-height:370px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}.phrase-en{font-size:clamp(26px,3vw,37px);font-weight:800;margin:14px 0}.phrase-zh{font-size:14px;color:var(--muted);margin:0 0 22px}.mic{width:84px;height:84px;border-radius:50%;background:#e9b2a7;color:#553d38;font-size:32px;margin:20px 0 10px;box-shadow:0 0 0 9px #f8e9e5}.mic.recording{background:#df766c;animation:pulse 1s infinite}.record-status{font-size:12px;color:var(--muted);min-height:25px}.record-controls{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:15px 0}.record-help{font-size:12px;line-height:1.8;color:var(--muted);max-width:460px}.library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.media-card{background:#fffdf8;border:1px solid var(--line);border-radius:24px;overflow:hidden}.media-cover{height:145px;display:flex;align-items:center;justify-content:center;font-size:60px;background:#e9e2f2}.media-cover img{height:100%;width:100%;object-fit:cover;object-position:center 60%}.media-info{padding:20px}.media-info p{color:var(--muted);font-size:12px;margin:9px 0 14px}.audio-list{display:grid;gap:10px}.audio-row{padding:15px;background:#fffdf8;border:1px solid var(--line);border-radius:17px;display:flex;align-items:center;justify-content:space-between;gap:15px}.audio-row small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.overlay{position:fixed;inset:0;background:#233c3866;backdrop-filter:blur(7px);z-index:10;display:flex;justify-content:center;align-items:center;padding:25px}.modal{width:min(760px,100%);max-height:90vh;overflow:auto;background:var(--paper);border-radius:28px;padding:27px;box-shadow:0 25px 100px #1d3a3830}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.close{background:#e8e6dd;border-radius:50%;width:48px;font-size:24px}.modal video{width:100%;max-height:60vh;background:#1f302d;border-radius:17px}.modal audio{width:100%;margin:18px 0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.stat{background:white;border-radius:17px;padding:20px 10px;text-align:center}.stat strong{display:block;font-size:28px}.stat small{font-size:12px;color:var(--muted)}label{display:block;font-size:13px;margin:15px 0}input,select{display:block;width:100%;border:1px solid #d9ddd3;border-radius:12px;background:#fffdf8;padding:12px;margin-top:8px}.parent-copy{font-size:12px;color:var(--muted);line-height:1.9}.parent-copy li{margin:7px 0}.button-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.notice{font-size:12px;padding:15px 18px;background:#f0e8d5;border-radius:15px;line-height:1.8;margin-top:20px}.saved-badge{font-size:11px;color:#477b64}.empty-state{text-align:center;padding:30px;color:var(--muted)}#toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);opacity:0;background:#29473f;color:white;padding:13px 23px;border-radius:18px;max-width:85vw;font-size:14px;z-index:30;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}@keyframes pulse{50%{box-shadow:0 0 0 15px #f6d4cf}}@media(min-width:1100px){.hero{min-height:360px}.hero-copy{padding-top:45px}}@media(max-width:950px){.shell{grid-template-columns:170px 1fr}.sidebar{padding:27px 14px}.brand{font-size:17px}.brand-star{font-size:28px}.main{padding:25px}.hero-copy{padding:30px 0 30px 25px}.hero{min-height:310px}.hero-art{min-height:260px;margin-right:14px}.hero h1{font-size:33px}.lesson{padding:19px}.lesson h3{font-size:18px}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.speech-layout{grid-template-columns:170px 1fr}}@media(max-width:700px){.shell{display:block}.sidebar{position:relative;height:auto;border:0;padding:17px 20px 0}.brand small{display:none}.nav{margin:19px -3px 0;display:flex;gap:5px;overflow:auto;padding-bottom:6px}.nav button{white-space:nowrap;padding:9px 13px;font-size:13px;min-height:44px}.nav .ico{width:24px;font-size:17px}.side-note{display:none}.parent-button{position:absolute;right:20px;top:13px;margin:0;font-size:12px}.main{padding:18px 20px 30px}.topbar{margin-bottom:18px}.hero{grid-template-columns:1fr 0.8fr;min-height:285px}.hero-copy{padding:27px 0 25px 21px}.hero h1{font-size:29px}.hero-copy p{font-size:12px}.hero-art{min-height:230px;margin:22px 10px 22px 5px}.floating-label{font-size:16px;padding:8px 13px;right:7px}.path{gap:9px}.lesson{padding:15px 12px;min-height:196px;border-radius:20px}.lesson h3{font-size:17px}.lesson .big-icon{width:49px;height:49px;font-size:26px;margin-bottom:17px}.lesson .step{right:12px;top:17px;font-size:10px}.lesson p{font-size:11px}.lesson .arrow{bottom:12px;right:12px}.bottom-note{padding:13px;font-size:12px}.panel{padding:21px 16px}.card{padding:9px;min-height:145px}.portrait{height:110px}.card .word{font-size:17px}.quiz-options{gap:10px}.quiz-options .card{min-height:170px}.speech-layout{grid-template-columns:1fr}.phrase-list{display:flex;overflow:auto;gap:8px;padding-bottom:8px}.phrase-list button{flex-shrink:0;font-size:12px;padding:12px}.phrase-list small{display:none}.library-grid{gap:12px}.media-info{padding:16px}.media-cover{height:120px}.record-panel{min-height:320px}.modal{padding:22px}.section-head small{font-size:11px}}@media(max-width:420px){.main{padding:16px}.hero{grid-template-columns:1fr}.hero-art{display:none}.hero-copy{padding:28px}.path{grid-template-columns:1fr}.lesson{min-height:100px;padding-left:85px}.lesson .big-icon{position:absolute;left:18px;top:22px}.lesson .step{display:none}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-options .portrait{height:90px}.quiz-options .card{min-height:145px}.number-art{font-size:54px}.swatch{width:65px;height:65px}.library-grid{grid-template-columns:1fr}.stats{gap:7px}.stat{padding:15px 5px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.book-pages{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.book-page{padding:10px;background:#fffdf8;border:1px solid var(--line);border-radius:17px;overflow:hidden}.book-page img{width:100%;aspect-ratio:1032/1300;object-fit:cover;border-radius:8px;display:block}.book-page span{display:block;margin:10px 0 2px;font-size:13px}.full-page{width:100%;height:auto;border-radius:12px;display:block}.page-tracks{margin-top:20px}.page-tracks p{font-size:14px}.page-tracks audio{margin:5px 0 12px}@media(max-width:450px){.book-pages{grid-template-columns:repeat(2,1fr)}}

/* The course directory and shared unit navigation extend the approved Unit 1 design. */
.modal-open{overflow:hidden}.catalog-link{margin-top:30px;padding:13px 14px;background:#eeece5;border-radius:15px;text-align:left;font-weight:750;font-size:14px}.catalog-link.active{background:var(--mint)}.current-unit{display:grid;gap:5px;margin:21px 12px 4px}.current-unit span{font-size:10px;letter-spacing:1.6px;color:var(--muted)}.current-unit b{font-size:14px}.nav{margin-top:17px;gap:6px}.nav button{padding:13px 14px}.vocab-art{width:100%;height:145px;display:block;object-fit:contain;background:#fff;border-radius:14px;margin:0 auto 10px}.card .word{font-size:18px;line-height:1.35;overflow-wrap:break-word}.quiz-options .vocab-art{height:175px;margin-bottom:0}.quiz-options .card{background:#fffdf8}.quiz-options .card.correct{background:#e3f3e9}.quiz-options .card.wrong{background:#fff0e7}.unit-footer{display:flex;justify-content:space-between;gap:12px;margin-top:22px;font-size:12px;align-items:center}.catalog-hero{display:grid;grid-template-columns:1.35fr .75fr;gap:15px;min-height:290px;background:#e6e3ef;border-radius:32px;padding:34px 36px;overflow:hidden}.catalog-hero h1{font-size:clamp(27px,3vw,40px);margin:16px 0}.catalog-hero p{color:#68746e;font-size:14px;margin-bottom:24px}.catalog-art{position:relative;display:grid;place-items:center;min-height:230px}.catalog-star{font-size:180px;line-height:1;color:#e7b444;transform:rotate(10deg);text-shadow:5px 7px 0 #fff5d6}.orbit{font-size:38px;position:absolute;background:#fffdf5;border-radius:24px;padding:10px;box-shadow:0 8px 25px #51486f13;z-index:1}.o1{left:0;top:3px;transform:rotate(-12deg)}.o2{right:0;top:30px;transform:rotate(12deg)}.o3{left:8px;bottom:0;transform:rotate(8deg)}.catalog-sticker{position:absolute;right:0;bottom:8px;border-radius:13px;padding:11px 16px;background:#fff5cc;transform:rotate(-7deg);font-size:15px;font-weight:800;z-index:2}.unit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.unit-card{display:block;min-width:0;background:#fffdf8;border:1px solid var(--line);border-radius:25px;overflow:hidden;padding:0;text-align:left}.unit-card:hover{transform:translateY(-4px);box-shadow:0 10px 24px #263c3a09}.unit-cover{height:172px;position:relative;overflow:hidden;background:var(--unit-tint)}.unit-cover img{width:100%;height:100%;object-fit:cover;object-position:50% 35%;opacity:.92;transition:transform .2s}.unit-card:hover .unit-cover img{transform:scale(1.025)}.unit-number{position:absolute;left:14px;top:13px;background:#fffaf0ed;border-radius:13px;min-width:41px;min-height:38px;display:grid;place-items:center;font-weight:850;font-size:17px}.unit-emoji{position:absolute;bottom:12px;right:14px;background:var(--unit-tint);border:4px solid #fffaf0;border-radius:18px;width:56px;height:56px;display:grid;place-items:center;font-size:28px}.unit-copy{padding:20px 20px 17px}.unit-card-top,.unit-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:5px}.unit-card-top .eyebrow{font-size:10px;letter-spacing:1.5px}.unit-status{font-size:10px;color:var(--muted)}.unit-copy h3{font-size:21px;letter-spacing:-.5px;margin:12px 0 6px;line-height:1.25;min-height:28px}.unit-copy p{font-size:12px;margin:0 0 19px}.unit-copy p span{color:var(--muted)}.unit-progress{height:5px;background:#edece4;border-radius:5px;overflow:hidden}.unit-progress i{display:block;height:100%;background:#a293c7}.unit-card-bottom{font-size:11px;color:var(--muted);margin-top:10px}.unit-card-bottom span:first-child{font-weight:750;color:#897844}.parent-unit-list{display:grid;gap:6px;margin-top:14px}.parent-unit-row{padding:10px 14px;background:#fffdf8;border-radius:12px;display:flex;justify-content:space-between;text-align:left;gap:10px;font-size:12px}.parent-unit-row b{color:#927d3b;white-space:nowrap}.phrase-list button{line-height:1.45}.phrase-en{overflow-wrap:break-word}.crumb{line-height:1.6}.record-status{min-height:30px}
@media(min-width:1100px){.main{padding:30px 38px 45px}.hero-copy{padding-right:8px}}
@media(max-width:1100px){.unit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.unit-cover{height:180px}}
@media(max-width:950px){.catalog-hero{padding:28px 25px;grid-template-columns:1.45fr .75fr;gap:5px}.catalog-art{min-height:220px}.catalog-star{font-size:135px}.orbit{font-size:28px;padding:8px;border-radius:17px}.o2{top:48px}.catalog-sticker{padding:9px;font-size:12px;right:-12px;bottom:14px}.catalog-hero h1{font-size:29px}.catalog-hero p{font-size:12px}.catalog-hero .primary{font-size:14px;padding:14px 17px}.unit-grid{gap:15px}.unit-copy{padding:17px 16px}.unit-copy h3{font-size:20px}.unit-cover{height:155px}.catalog-link{margin-top:25px}.sidebar{padding-bottom:20px}.side-note{padding:14px}.quiz-options .vocab-art{height:150px}.hero h1{font-size:31px}}
@media(max-width:700px){.catalog-link{position:absolute;right:120px;top:9px;margin:0;min-height:42px;padding:9px 12px;font-size:12px}.current-unit{display:none}.nav{margin-top:17px}.catalog-art{min-height:195px}.catalog-hero{padding:25px 22px;grid-template-columns:1.5fr .7fr;min-height:255px}.catalog-hero h1{font-size:28px}.unit-cover{height:165px}.unit-copy h3{font-size:21px}.unit-grid{gap:13px}.unit-copy{padding:17px}.vocab-art{height:130px}.quiz-options .vocab-art{height:145px}.card .word{font-size:17px}.crumb{font-size:10px;letter-spacing:.3px}.crumb b{margin-left:5px}.star-pill{font-size:12px;padding:9px 12px}.unit-footer{flex-wrap:wrap}.catalog-hero p{font-size:13px}.hero .floating-label{font-size:14px;max-width:90%;right:5px}.side-note{display:none}.parent-button{font-size:11px;right:16px}.hero h1{font-size:29px}.unit-copy p span{display:block}.unit-copy p{line-height:1.6;margin-bottom:14px}}
@media(max-width:480px){.unit-grid{grid-template-columns:1fr}.unit-cover{height:205px}.unit-copy h3{font-size:24px}.unit-copy p span{display:inline}.catalog-hero{grid-template-columns:1fr;padding:27px}.catalog-art{display:none}.catalog-hero h1{font-size:29px}.catalog-link{right:104px;font-size:11px;padding:8px}.brand{font-size:16px}.brand-star{font-size:25px}.parent-button{font-size:10px}.quiz-options{gap:7px}.quiz-options .vocab-art{height:110px}.quiz-options .card{min-height:135px;padding:7px}.card .word{font-size:16px}.crumb b{display:block;margin-left:0}.unit-status{font-size:11px}.unit-copy{padding:20px}.catalog-hero .primary{font-size:15px}}

/* Language choice remains available on every lesson, including tablet portrait. */
.topbar{flex-wrap:wrap}.topbar-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.language-picker{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}.language-picker select{max-width:210px;padding:10px 30px 10px 12px;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:#fffdf6;font-size:13px;min-height:48px}.language-label{display:none}select:focus-visible{outline:4px solid #c29eff;outline-offset:3px}html[lang="en-GB"] .nav button{padding:13px 9px;font-size:13px}html[lang="en-GB"] .brand{font-size:18px}html[lang="en-GB"] .path{gap:14px}html[lang="en-GB"] .lesson h3{font-size:21px}html[lang="en-GB"] .lesson p{font-size:13px}html[lang="zh-HK"] body{font-family:ui-rounded,'SF Pro Rounded','PingFang HK','PingFang TC',system-ui,sans-serif}@media(max-width:900px){.topbar{gap:12px}.topbar-tools{gap:8px}.language-picker select{max-width:190px}}@media(max-width:700px){.topbar-tools{width:100%;justify-content:space-between}.topbar{margin-bottom:22px}.language-picker select{font-size:12px;max-width:205px}html[lang="en-GB"] .nav button{font-size:11px;padding:10px 5px}html[lang="en-GB"] .catalog-link{position:static;margin:12px 0 0;font-size:12px;width:max-content}html[lang="en-GB"] .nav{margin-top:10px}html[lang="en-GB"] .brand{font-size:17px}html[lang="en-GB"] .parent-button{max-width:105px;line-height:1.3}html[lang="en-GB"] .star-pill{font-size:11px}}@media(max-width:480px){.language-picker select{max-width:178px}.language-picker{gap:4px}.topbar-tools{gap:5px}.star-pill{padding:9px;font-size:11px}}
/* A single held microphone, with picture-led steps and automatic replay. */
.speech-layout{display:block}.phrase-list{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin-bottom:18px}.phrase-list button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:10px 5px;min-height:72px;border-radius:18px;text-align:center}.phrase-choice-text{display:none}.phrase-number{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-weight:800;font-size:18px;background:#eeece5}.practised .phrase-number{background:#d6ecdf;color:#317359}.phrase-list-speaker{font-size:17px}.record-panel{max-width:760px;margin:auto;padding:25px 28px}.speaking-steps{display:flex;justify-content:center;align-items:center;gap:15px;margin:0 auto 23px}.speaking-steps>span{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 13px;border-radius:18px;color:var(--muted);font-size:12px;min-width:75px}.speaking-steps b{font-size:30px;font-weight:400}.speaking-steps i{color:#b0b7ad;font-style:normal;font-size:22px}.speaking-steps>span.active{background:var(--mint);color:var(--ink)}.record-panel .phrase-en{font-size:clamp(26px,4vw,37px);margin:14px 0;line-height:1.35}.record-panel .phrase-zh{font-size:14px;margin-bottom:18px}.model-button{min-height:64px;display:inline-flex;gap:12px;align-items:center;font-size:16px}.model-button>span{font-size:29px}.hold-area{margin-top:24px}.hold-caption{font-size:15px;font-weight:750;margin-top:9px}.record-panel .mic{height:150px;width:150px;min-width:150px;margin:0 auto;border:8px solid #f2ecfc;background:#e7dff6;box-shadow:0 5px 0 #d3c5e9;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;display:flex;align-items:center;justify-content:center}.record-panel .mic:active{transform:scale(1.035)}.mic-symbol{font-size:61px;line-height:1}.record-panel .mic.recording{background:#e97877;border-color:#f9e1dc;box-shadow:0 0 0 9px #faeae3;animation:none}.mic.preparing{background:#ffe49a;border-color:#fff2c8}.record-waves{display:none;align-items:center;gap:7px;height:55px}.recording .mic-symbol{display:none}.recording .record-waves{display:flex}.record-waves i{width:7px;height:26px;border-radius:5px;background:white;animation:voice-wave .7s ease-in-out infinite alternate}.record-waves i:nth-child(2){animation-delay:.14s;height:42px}.record-waves i:nth-child(3){animation-delay:.28s;height:53px}.record-waves i:nth-child(4){animation-delay:.42s;height:38px}.record-waves i:nth-child(5){animation-delay:.56s}.record-status{min-height:30px;margin:14px auto 8px;font-size:14px;line-height:1.6;max-width:480px}.record-success{font-size:13px;color:#398065;margin:9px 0}.record-success>span{color:#e4aa28;font-size:21px}.record-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:12px}.big-child-control{min-height:78px;min-width:130px;display:flex;align-items:center;justify-content:center;gap:12px}.big-child-control>span{font-size:30px}.next-phrase{box-shadow:0 4px 0 #514591}.speak-help{display:block;margin:18px auto 4px}.record-help{margin-top:8px;font-size:11px}.record-panel [hidden]{display:none!important}.quiz-next .primary{min-height:64px;font-size:19px;padding:15px 30px}.nav .ico{font-size:23px}.panel-footer{flex-wrap:wrap}.panel-footer .primary{flex-shrink:0}@keyframes voice-wave{from{transform:scaleY(.45)}to{transform:scaleY(1)}}@media(max-width:600px){.phrase-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.phrase-list button{min-height:64px;gap:2px}.record-panel{padding:22px 16px}.speaking-steps{gap:5px;margin-bottom:18px}.speaking-steps>span{min-width:67px;padding:8px 7px}.speaking-steps b{font-size:27px}.record-panel .mic{width:140px;height:140px;min-width:140px}.big-child-control{min-width:115px;gap:8px;padding:12px 16px}.record-panel .phrase-en{font-size:29px}}@media(prefers-reduced-motion:reduce){.record-waves i{animation:none}.mic{transition:none}}
.speak-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.speak-heading h1{font-size:clamp(24px,3.2vw,32px);margin:0;line-height:1.3}.speak-heading .speak-prompt{flex-shrink:0}.record-panel .speaking-steps{margin-bottom:14px}.record-panel .speaking-steps>span{padding:6px 10px}.record-panel .phrase-en{margin:10px 0}.record-panel .model-button{min-height:56px}.record-panel .hold-area{margin-top:18px}.record-panel .mic{width:138px;height:138px;min-width:138px}.phrase-list button{min-height:64px}.record-panel{padding-top:20px;padding-bottom:18px}.record-controls:empty{display:none}
.record-controls{scroll-margin-bottom:22px}
/* The coursebook fills the available screen; hotspots stay on the original artwork. */
body.modal-open{overflow:hidden}.book-overlay{padding:0;background:#26332f;backdrop-filter:none}.modal.book-reader{width:100%;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border-radius:0;display:flex;flex-direction:column;overflow:hidden;background:#303b35;box-shadow:none}.book-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 14px;background:var(--paper);color:var(--ink);flex:0 0 auto}.book-toolbar button{width:48px;min-height:48px;background:#e9e7de;border-radius:14px;font-size:27px;line-height:1}.book-page-nav,.book-zoom{display:flex;align-items:center;gap:8px}.book-page-nav>div{min-width:95px;text-align:center}.book-page-nav small{display:block;font-size:10px;letter-spacing:1px;color:var(--muted)}.book-page-label{display:block;font-size:15px}.book-toolbar .book-close{background:var(--ink);color:white;border-radius:50%;font-size:30px}.book-stage{flex:1 1 auto;min-height:0;width:100%;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom}.book-space{display:grid;place-items:center;min-width:100%;min-height:100%;padding:12px}.book-canvas{position:relative;flex-shrink:0;line-height:0;box-shadow:0 7px 30px #0004}.book-image{display:block;width:100%;height:100%;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.book-hotspots{position:absolute;inset:0;pointer-events:none}.book-hotspot{position:absolute;pointer-events:auto;width:max(48px,var(--spot-width));height:max(48px,var(--spot-height));min-width:48px;min-height:48px;padding:0;transform:translate(-50%,-50%);border:2px solid #7862caa6;border-radius:50%;background:#fff4b821;box-shadow:0 0 0 4px #fff7;touch-action:manipulation}.book-hotspot:active{transform:translate(-50%,-50%) scale(.96)}.book-hotspot:hover,.book-hotspot.is-selected{border-color:#6b57bc;background:#fff4b840}.book-hotspot.is-playing{animation:book-speaker-pulse 1.3s ease-in-out infinite}.book-hotspot-badge{position:absolute;right:-3px;bottom:-2px;width:20px;height:20px;display:grid;place-items:center;background:var(--purple);border:2px solid #fffdf8;border-radius:50%;color:white;font-size:10px;line-height:1;box-shadow:0 1px 4px #0002}.book-player{flex:0 0 auto;background:var(--paper);color:var(--ink);padding:9px 16px 8px;max-height:32vh;overflow:auto}.book-playback{display:grid;grid-template-columns:minmax(100px,1fr) minmax(230px,420px);gap:15px;align-items:center}.book-track-label{font-size:12px;line-height:1.5;min-width:0}.book-player audio{display:block;width:100%;height:40px;margin:0}.book-rights{display:block;text-align:center;font-size:10px;line-height:1.45;color:var(--muted);margin-top:5px}.book-reader-status{font-size:12px;color:#9b5645;line-height:1.5}.book-reader-status:empty,.book-fallback:empty{display:none}.book-fallback{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.book-reader [hidden]{display:none!important}.legal-footer{margin-top:28px;padding-top:14px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 12px;color:var(--muted);font-size:10px;line-height:1.6}.legal-footer .text-button{font-size:11px;padding:7px 4px;min-height:40px}.legal-copy{font-size:13px;line-height:1.9;color:var(--muted)}.legal-copy h3{font-size:15px;color:var(--ink);margin-top:22px}.legal-copy p{margin:8px 0}.legal-links{display:flex;gap:20px;flex-wrap:wrap}.legal-links a{min-height:40px;display:inline-flex;align-items:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#access-gate[hidden],#app[hidden]{display:none!important}@keyframes book-speaker-pulse{50%{box-shadow:0 0 0 8px #b9a4f04f}}@media(max-width:600px){.book-toolbar{gap:7px;padding:7px 8px}.book-page-nav,.book-zoom{gap:4px}.book-toolbar button{width:44px;min-height:44px;font-size:25px}.book-page-nav>div{min-width:68px}.book-page-label{font-size:13px}.book-page-nav small{font-size:9px}.book-player{padding:8px 12px}.book-playback{grid-template-columns:1fr;gap:4px}.book-track-label{font-size:11px}.book-rights{font-size:9px}}@media(max-width:360px){.book-zoom button{width:38px}.book-page-nav>div{min-width:55px}}@media(prefers-reduced-motion:reduce){.book-hotspot.is-playing{animation:none}}
/* A parent-facing access-code entrance for social sharing. */
.access-mode{background:var(--paper)}.gate-shell{max-width:1180px;margin:auto;padding:25px 36px 20px}.gate-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.gate-brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:800}.gate-brand>span{font-size:40px;color:#e7b038}.gate-language{margin:0;max-width:180px}.gate-language select{margin:0;width:100%;min-width:130px;background:#fffdf8}.gate-content{display:grid;grid-template-columns:1fr 440px;gap:60px;align-items:center;margin:40px 0 25px}.gate-welcome h1{font-size:clamp(31px,4.1vw,48px);max-width:550px;letter-spacing:-1.4px;line-height:1.3;margin:20px 0}.gate-welcome>p{color:var(--muted);font-size:16px;max-width:460px}.gate-features{display:flex;gap:13px;flex-wrap:wrap;margin-top:28px}.gate-features>span{display:flex;align-items:center;gap:8px;background:#ebe8f1;padding:11px 15px;border-radius:16px;font-size:13px;font-weight:650}.gate-features>span:nth-child(2){background:#f9edcc}.gate-features>span:nth-child(3){background:#e0ede4}.gate-features b{font-size:25px;font-weight:400}.gate-star{font-size:155px;color:#e9b945;line-height:1;margin:35px 0 0 30px;position:relative;display:inline-block;transform:rotate(-10deg);text-shadow:6px 7px 0 #f3dfa1}.gate-star i{position:absolute;right:-50px;bottom:0;font-size:57px;font-style:normal;text-shadow:none;transform:rotate(15deg)}.gate-card{background:#fffdf8;border:1px solid var(--line);border-radius:28px;padding:28px;box-shadow:0 12px 45px #263c3a08}.gate-card form>label:first-child{font-size:15px;font-weight:750;margin:0 0 8px}.gate-card #entry-code{font-size:22px;letter-spacing:1.8px;padding:16px;margin-top:0}.gate-card #entry-code::placeholder{font-size:15px;letter-spacing:0}.gate-remember{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);margin:14px 0 18px}.gate-remember input{appearance:auto;display:inline-block;width:19px;height:19px;min-height:19px;margin:0;padding:0;accent-color:var(--purple)}.gate-enter{width:100%;display:flex;align-items:center;justify-content:space-between}.gate-status{font-size:12px;color:#9b5645;min-height:22px;line-height:1.6;margin:10px 0}.gate-social{border-top:1px solid var(--line);padding-top:22px;margin-top:8px}.redbook-mark{display:inline-block;background:#ffedf0;color:#b34150;font-size:11px;font-weight:750;padding:5px 10px;border-radius:8px}.gate-social h2{font-size:21px;margin:12px 0 5px}.gate-social p{font-size:12px;color:var(--muted);line-height:1.8;margin:8px 0}.gate-social-id{display:block;font-size:29px;letter-spacing:2px;color:var(--ink);margin:10px 0 14px;user-select:all}.gate-social-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.gate-social-actions button,.gate-social-actions a{font-size:12px}.gate-social-actions a{display:inline-flex;align-items:center}.gate-footer{color:var(--muted);font-size:10px;border-top:1px solid var(--line);padding-top:10px;line-height:1.7}.gate-footer>p{margin:5px 0}.gate-footer details{margin-top:8px}.gate-footer summary{cursor:pointer;display:list-item;min-height:40px;line-height:40px;width:max-content;color:var(--purple);font-size:12px}.gate-footer .legal-copy{background:#fffdf8;padding:0 20px 15px;border-radius:20px;border:1px solid var(--line);max-width:850px;margin:5px 0 20px}@media(max-width:950px){.gate-shell{padding:22px}.gate-content{gap:30px;grid-template-columns:1fr 390px}.gate-card{padding:24px}.gate-welcome h1{font-size:35px}.gate-brand{font-size:22px}.gate-star{font-size:130px;margin-left:15px}.gate-features{gap:8px}.gate-features>span{padding:8px 10px;font-size:12px}}@media(max-width:760px){.gate-content{grid-template-columns:1fr;gap:25px;margin-top:25px}.gate-welcome h1{font-size:32px;margin:14px 0}.gate-welcome>p{font-size:14px;margin-bottom:0}.gate-features{margin-top:18px}.gate-star{display:none}.gate-card{max-width:530px;width:100%;margin:auto}.gate-welcome{max-width:580px}.gate-header{gap:10px}.gate-brand{font-size:20px;gap:8px}.gate-brand>span{font-size:33px}.gate-language select{font-size:12px;min-width:110px;padding:10px}.gate-shell{padding:18px 20px}.gate-footer{margin-top:25px}}@media(max-width:400px){.gate-shell{padding:15px}.gate-card{padding:21px}.gate-brand{font-size:17px}.gate-welcome h1{font-size:29px}.gate-features>span{font-size:11px}.gate-features b{font-size:22px}.gate-language select{min-width:96px}.gate-social-id{font-size:27px}}
