:root{--ink:#172033;--muted:#7d8799;--blue:#5b5cf0;--line:#e8eaf2;--green:#16a37b;--red:#e45572}*{box-sizing:border-box}body{margin:0;background:#eef0f7;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",sans-serif}button{font-family:inherit}.phone{max-width:430px;min-height:100vh;margin:auto;background:#fff;padding:18px 18px 30px}.top{display:flex;justify-content:space-between;align-items:center;margin:4px 0 24px}.logo{font-weight:800;font-size:20px}.logo span{color:var(--blue)}.avatar{width:36px;height:36px;border-radius:50%;background:#ececff;display:grid;place-items:center;color:var(--blue);font-weight:700}.hero .eyebrow{font-size:13px;color:var(--muted)}.hero h1{font-size:27px;margin:8px 0}.hero h1 em{font-style:normal;color:var(--blue)}.hero p{font-size:14px;line-height:1.7;color:var(--muted)}.streak{display:flex;gap:12px;align-items:center;background:#f6f6ff;border:1px solid #e5e5ff;border-radius:18px;padding:14px 16px;margin:20px 0}.streak b{font-size:18px}.streak small{display:block;color:var(--muted);margin-top:3px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:22px 0 12px}.section-head h2{font-size:17px;margin:0}.section-head span{font-size:12px;color:var(--muted)}.flow{border:1px solid #dedfff;border-radius:22px;padding:18px;background:linear-gradient(145deg,#f7f7ff,#fff);box-shadow:0 10px 28px rgba(60,61,150,.08)}.flow-top{display:flex;justify-content:space-between;align-items:center}.tag{font-size:12px;color:var(--blue);background:#ececff;padding:6px 9px;border-radius:8px}.progress{font-size:12px;color:var(--muted)}.stage{text-align:center;font-size:15px;font-weight:800;margin:20px 0 6px}.sub{text-align:center;font-size:12px;color:var(--muted);margin-bottom:14px}.play{width:100%;border:0;border-radius:14px;background:var(--blue);color:#fff;padding:14px;font-size:15px;font-weight:800}.choices,.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.choice,.btn{border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px 8px;font-size:13px;font-weight:750}.choice{font-size:14px;padding:14px 8px}.feedback,.status{display:none;margin-top:12px;border-radius:12px;padding:12px;font-size:13px;line-height:1.65}.show{display:block}.good{background:#edf9f5;color:#26735f}.bad{background:#fff3f5;color:#9c4054}.reveal{display:none;text-align:center;margin-top:16px}.reveal.show{display:block}.big-cn{font-size:42px;font-weight:850}.pinyin{color:var(--blue)}.tip{background:#fff7e8;border-radius:12px;padding:11px;margin-top:12px;font-size:12px;line-height:1.6;text-align:left}.listen{background:#eeeeff;color:var(--blue);border:0}.record{background:var(--blue);color:#fff;border:0}.record.recording{background:var(--red)}.next{width:100%;margin-top:14px}.next-primary{border:0;background:var(--blue);color:#fff;padding:14px;font-size:15px;font-weight:850;box-shadow:0 6px 16px rgba(91,92,240,.18)}.next[disabled]{opacity:.4}.info{background:#f1f2ff;color:#5051aa}.ok{background:#edf9f5;color:#26735f}audio{width:100%;height:42px;margin-top:11px}.examples{display:grid;gap:9px}.example{border:1px solid var(--line);border-radius:16px;padding:13px 14px}.example-top{display:flex;justify-content:space-between}.jp{font-size:12px;color:var(--muted)}.level{font-size:10px;color:var(--green);background:#edf9f5;padding:4px 7px;border-radius:7px}.cn{font-size:20px;font-weight:800;margin:6px 0 2px}.example-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.small-btn{border:1px solid #dedfff;background:#f8f8ff;color:var(--blue);border-radius:9px;padding:8px;font-size:11px;font-weight:700}.score{text-align:center;padding:20px 8px}.score strong{font-size:38px;color:var(--blue)}.review-list{display:grid;gap:8px;text-align:left;margin:16px 0}.review-item{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff}.review-item b{font-size:17px}.review-item small{display:block;color:var(--muted);margin-top:3px}.secondary{width:100%;border:1px solid #d9d9ff;background:#f7f7ff;color:var(--blue);border-radius:14px;padding:13px;font-size:14px;font-weight:800;margin-top:9px}
.feedback-box{margin-top:24px;border:1px solid var(--line);border-radius:18px;padding:16px;background:#fafaff}.feedback-box h2{font-size:17px;margin:0 0 6px}.feedback-box p{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 12px}.feedback-box select,.feedback-box textarea{width:100%;border:1px solid var(--line);border-radius:11px;background:#fff;padding:11px 12px;font:inherit;color:var(--ink);margin-top:8px}.feedback-box textarea{min-height:100px;resize:vertical}.feedback-send{width:100%;border:0;border-radius:12px;background:var(--blue);color:#fff;padding:12px;font-size:14px;font-weight:800;margin-top:10px}.feedback-send:disabled{opacity:.55}.feedback-msg{display:none;margin-top:10px;border-radius:10px;padding:10px;font-size:12px;line-height:1.55}.feedback-msg.show{display:block}.feedback-msg.ok{background:#edf9f5;color:#26735f}.feedback-msg.err{background:#fff1f3;color:#a43d54}.target-note{margin:10px 0 0;font-size:12px;line-height:1.7;color:var(--muted);max-width:360px}
.result-poll{margin-top:16px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fafaff}
.result-poll b{font-size:13px;line-height:1.5}.poll-row{display:grid;grid-template-columns:1fr;gap:8px;margin-top:10px}
.poll-btn{border:1px solid var(--line);background:#fff;border-radius:11px;padding:11px;font-weight:700;color:var(--ink)}
.poll-btn:disabled{opacity:.6}.poll-thanks{font-size:12px;color:#26735f;margin-top:9px}.learning-note{margin-top:10px;padding:12px;border-radius:12px;background:#edf9f5;color:#26735f;font-size:12px;line-height:1.65}.contrast-button{width:100%;margin:9px 0 3px;min-height:42px}.progress-summary{margin:10px 0 0;font-size:12px;line-height:1.6;color:#5051aa}.scope-note{font-size:12px;line-height:1.6;color:var(--muted)}
.tone-copy-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.tone-copy-actions button{white-space:normal;line-height:1.5;font-size:12px}#copyFeedback{margin-top:7px;font-weight:700}.pitch-diagnostic{background:#fff;border:1px solid #e5e5ff;border-radius:12px;margin-top:12px;padding:10px;font-size:12px;line-height:1.6}.pitch-diagnostic svg{display:block;width:100%;height:95px;margin:8px 0;background:#fafaff;border-radius:8px}.pitch-diagnostic small{display:block;color:#7d8799}.example-practice{margin-top:12px;padding:12px;border-radius:12px;background:#f6f6ff;border:1px solid #e2e2ff}.example-practice h3{margin:0 0 6px;font-size:14px}.example-practice p{font-size:12px;line-height:1.55;margin:4px 0 10px;color:var(--muted)}.example-practice .example-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.example-practice .example-controls button{min-height:42px}.example-practice .example-close{width:100%;margin-top:8px;background:transparent;border:0;color:var(--muted);font-size:12px}.example-practice .example-result{font-size:12px;line-height:1.6;margin-top:10px;color:#5051aa}.example-practice audio{margin-top:8px}.record-notice{font-size:11px;line-height:1.55;color:#7d8799;margin:8px 0 0}.measure-details{margin-top:11px;padding:9px 10px;border:1px solid #e3e4f5;border-radius:10px;background:#fff;font-size:12px;text-align:left}.measure-details summary{font-weight:750;color:#5051aa;cursor:pointer}.measure-details[open] summary{margin-bottom:9px}
/* DEMO 10.28: a warmer lesson surface with a built-in articulation guide */
:root{--blue:#168e75;--green:#168e75;--ink:#243b3b;--muted:#647877;--line:#d9ebe5}
body{background:#e9f3ed}.phone{background:#fbfefb;padding-bottom:max(30px,env(safe-area-inset-bottom))}
.logo span,.hero h1 em{color:var(--blue)}.top{margin-bottom:18px}
.hero{position:relative;background:#eaf8f0;border:1px solid #d9f1e5;border-radius:25px;padding:18px 17px 14px;overflow:hidden}
.hero h1{font-size:25px;line-height:1.38;margin:8px 0;max-width:295px}.hero p{margin-bottom:2px}
.hero .target-note{max-width:290px}.coach-face{position:absolute;right:13px;top:15px;width:65px;height:65px;border-radius:44% 44% 48% 48%;background:#fff;border:3px solid #227967;box-shadow:0 6px 15px #21765d22}
.coach-face:before,.coach-face:after{content:'';position:absolute;top:-9px;width:20px;height:22px;background:#28514b;border-radius:50%;z-index:-1}
.coach-face:before{left:1px;transform:rotate(-25deg)}.coach-face:after{right:1px;transform:rotate(25deg)}
.coach-eyes{position:absolute;top:23px;left:11px;width:12px;height:12px;border-radius:50%;background:#28514b;box-shadow:29px 0 #28514b}
.coach-nose{position:absolute;top:37px;left:25px;width:11px;height:8px;border-radius:50%;background:#28514b}
.streak{background:#fffaf0;border-color:#f6e7c8}.flow{background:linear-gradient(145deg,#effbf4,#fff);border-color:#d5eddf;box-shadow:0 10px 24px #156f4d14}
.tag,.level{background:#e2f7ed;color:#16775f}.pinyin{color:var(--blue)}
.listen,.small-btn,.secondary{background:#eef9f3;color:#147c65;border-color:#cde9dc}
.example-practice{background:#f2faf6;border-color:#dbebdf}
.feedback-box{background:#f8fcf9}.pitch-diagnostic svg{background:#f7fcf9}
.good,.ok{background:#e6f9ee;color:#246b55}.info{background:#edf8f2;color:#355e53}
.mouth-guide{margin:12px 0;text-align:left;border:1px solid #cde7d6;border-radius:16px;background:#fff;overflow:hidden}
.mouth-guide summary{list-style:none;cursor:pointer;padding:12px 14px;font-size:14px;font-weight:800;color:#16765f;min-height:46px}
.mouth-guide summary::-webkit-details-marker{display:none}.mouth-guide summary:after{content:'⌄';float:right}
.mouth-guide[open] summary:after{content:'⌃'}
.mouth-inner{padding:0 14px 14px}.mouth-row{display:flex;align-items:center;gap:14px}
.mouth-sketch{flex:none;width:94px;height:80px;border-radius:13px;background:#f5fbf7}
.mouth-copy{font-size:12px;line-height:1.65}.mouth-copy b{display:block;color:#31564a}
.mouth-copy p{margin:4px 0}
.guide-note{margin:8px 0 0;font-size:11px;color:#6b7c74;line-height:1.5}
.learning-note{margin-top:9px;line-height:1.7}
button:focus-visible,summary:focus-visible{outline:3px solid #ffba65;outline-offset:2px}
@media(max-width:360px){.hero h1{font-size:23px}.coach-face{transform:scale(.8);transform-origin:top right}.mouth-row{gap:9px}.mouth-sketch{width:82px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important}}

/* DEMO 10.29: animated cartoon articulation during playback */
.mouth-pop{display:none;width:100%;margin:12px 0 4px;border:2px solid #a7dec6;border-radius:19px;background:#f6fff8;box-shadow:0 7px 18px #214e3f16;padding:10px 12px}
.mouth-pop.visible{display:block}
#quiz .mouth-pop{margin:10px 0 4px}
.example .mouth-pop{margin-top:9px}
.mouth-pop-top{display:flex;justify-content:space-between;align-items:center;color:#357363;font-size:12px;font-weight:750}.mouth-dismiss{background:transparent;border:0;color:#426e62;font-size:23px;line-height:1;width:36px;height:36px}
.mouth-pop-main{display:flex;align-items:center;gap:10px}.cartoon-face{position:relative;flex:none;width:78px;height:78px;border:3px solid #318f73;border-radius:46% 46% 49% 49%;background:#fff2d9;box-shadow:inset 0 -7px #ffdfc8,0 5px 0 #d7eee0;overflow:hidden;transition:transform .14s}.cartoon-face.talking{animation:face-bob .38s ease-in-out infinite alternate}
.cartoon-face:before,.cartoon-face:after{content:'';position:absolute;top:24px;width:9px;height:13px;border-radius:50%;background:#304b48}.cartoon-face:before{left:19px}.cartoon-face:after{right:19px}
.cartoon-cheek{position:absolute;top:41px;width:17px;height:8px;border-radius:50%;background:#ffb5a5;left:9px;box-shadow:43px 0 #ffb5a5}.cartoon-mouth{position:absolute;left:5px;top:40px;width:65px;height:36px;overflow:visible}.cartoon-mouth ellipse{transition:ry .13s,rx .13s,cy .13s}.cartoon-mouth .tongue{transition:transform .13s,opacity .13s}
.mouth-pop-info{flex:1;min-width:0}.mouth-pop-word{font-size:17px;font-weight:800;color:#254e42}.mouth-pop-steps{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.mouth-pop-steps button{border:1px solid #b8dcc8;border-radius:9px;background:#fff;color:#426b5c;padding:5px 7px;font-size:12px}.mouth-pop-steps button.active{background:#168e75;color:#fff;border-color:#168e75;transform:scale(1.08)}.mouth-pop-note{font-size:10px;color:#627b70;margin:5px 0 0;line-height:1.4}
.mouth-animation{background:#f3fbf5;border-radius:14px;padding:12px;margin-top:12px}.mouth-animation .cartoon-face{margin:0 auto;width:120px;height:112px}.mouth-animation .cartoon-mouth{left:25px;top:61px;height:43px}.mouth-animation .cartoon-cheek{box-shadow:82px 0 #ffb5a5}.mouth-animation .cartoon-face:after{right:29px}.mouth-animation .cartoon-face:before{left:29px}.mouth-animation .mouth-pop-steps{justify-content:center}.mouth-animation .mouth-pop-steps button{min-width:42px}.mouth-guide-controls{display:flex;gap:8px;margin-top:9px}.mouth-guide-controls button{flex:1;border:1px solid #b8dcc8;border-radius:10px;background:white;color:#17755e;padding:10px 5px;font-weight:750}.articulation-label{font-size:11px;color:#17755e;font-weight:800;margin:13px 0 5px;text-align:center}
.tongue-diagram{background:#fff;border:1px solid #d8e9df;border-radius:13px;padding:10px;margin-top:12px;text-align:center}
.tongue-diagram svg{display:block;width:min(100%,290px);height:auto;margin:4px auto}
.tongue-key{font-size:11px;color:#466b60;line-height:1.5}.tongue-key b{color:#db6e85}
.tongue-hint{font-size:12px;font-weight:750;color:#315d4e;margin:7px 0 3px}
#tongueShape{transition:d .3s}
.mouth-detail-label{text-align:center;font-size:12px;color:#345c4e;margin:7px 0}.mouth-syllable{background:#f2faf6;border-radius:12px;padding:11px;margin-top:8px}
@keyframes face-bob{to{transform:translateY(-3px) rotate(1deg)}}
@media(prefers-reduced-motion:reduce){.cartoon-face.talking{animation:none}.mouth-pop{transition:none}.cartoon-mouth ellipse,.cartoon-mouth .tongue{transition:none}}

/* DEMO 10.31: welcoming original cartoon skin */
:root{--blue:#16a887;--green:#16a887;--ink:#263f3b;--muted:#657a76;--line:#d5e9df}
body{background:radial-gradient(circle at 12% 4%,#fff6cf 0 120px,transparent 122px),radial-gradient(circle at 92% 22%,#f5dff1 0 100px,transparent 102px),#eef9f2}
.phone{background:#fffdfa;padding:16px 17px 34px}
.top{margin:4px 0 16px}.logo{display:inline-flex;align-items:center;gap:2px;background:#fff;border:2px solid #cdeee0;border-radius:18px;padding:8px 11px;box-shadow:0 4px 0 #d5eee1;font-size:19px}.logo:before{content:'♪';display:grid;place-items:center;width:25px;height:25px;margin-right:5px;background:#ffdf76;color:#8b5e20;border-radius:9px;transform:rotate(-12deg)}.logo small{background:#fdf0cf;color:#855822!important;border-radius:8px;padding:4px 6px;margin-left:4px;font-size:9px!important}
.hero{background:linear-gradient(137deg,#fff5d6 0%,#fff0df 60%,#fce9eb 100%);border:2px solid #f8dfa9;border-radius:28px;padding:19px 17px 17px;box-shadow:0 6px 0 #f7e8c3;overflow:hidden}.hero:before{content:'✦';position:absolute;color:#f3b442;font-size:22px;right:13px;bottom:15px;opacity:.8}.hero .eyebrow{display:inline-block;background:#fff;border-radius:15px;padding:5px 9px;color:#9a682e;font-weight:800;font-size:11px}.hero h1{font-size:24px;line-height:1.38;max-width:calc(100% - 95px);margin:12px 0 13px}.hero h1 em{color:#ee754a;text-decoration:underline;text-decoration-color:#ffcb74;text-underline-offset:5px}.hero .target-note{max-width:none;color:#5f675d;background:#ffffffb8;border-radius:14px;padding:10px 12px;margin-top:8px;font-size:12px}.hero p{font-size:12px;color:#746a58;margin:10px 0 0;font-weight:650;line-height:1.6}
.coach-face{z-index:1;width:82px;height:83px;right:18px;top:59px;background:#fff9eb;border:3px solid #765344;border-radius:44% 44% 49% 49%;box-shadow:0 6px 0 #e5b999;transform:rotate(8deg)}.coach-face:before,.coach-face:after{background:#765344;z-index:-1;width:24px;height:27px;top:-12px}.coach-eyes{top:29px;left:17px;width:9px;height:11px;background:#4c3b32;box-shadow:30px 0 #4c3b32}.coach-nose{top:45px;left:34px;width:9px;height:7px;background:#9c6256}.coach-mouth{position:absolute;top:52px;left:30px;width:18px;height:12px;border-bottom:3px solid #a66466;border-radius:50%}.coach-blush{position:absolute;top:45px;left:11px;width:14px;height:7px;border-radius:50%;background:#ffa9aa;box-shadow:43px 0 #ffa9aa}.coach-face .coach-mouth,.coach-face .coach-blush{display:block}
.streak{border:2px solid #e6daf4;background:#faf5ff;border-radius:21px;margin:18px 0 21px;box-shadow:0 4px 0 #efe4f6;padding:12px}.streak>div:first-child{width:43px;height:43px;display:grid;place-items:center;background:#fff;border-radius:14px;transform:rotate(-8deg)}.streak b{font-size:16px;color:#65428a}.streak small{font-size:11px}.progress-summary{color:#78549a}
.section-head{margin:25px 0 12px}.section-head h2{font-size:18px}.section-head span{background:#fff;border:1px solid #e4eee6;border-radius:12px;padding:4px 8px;font-weight:750}
.flow{border:2px solid #b8e7d4;background:#fff;border-radius:26px;padding:16px;box-shadow:0 6px 0 #d9efe2}.tag{border-radius:12px;background:#e0f8ec;font-weight:800;font-size:12px;padding:8px 10px}.progress{color:#43b99b;font-size:17px;letter-spacing:2px}.lesson-track{height:8px;border-radius:9px;background:#eaf2ee;margin:14px 1px 4px;overflow:hidden}.lesson-track span{display:block;height:100%;width:20%;background:linear-gradient(90deg,#3acaa3,#90d66f);border-radius:9px;transition:width .3s}
.stage{font-size:18px;line-height:1.4;margin:18px 0 6px}.sub{font-size:12px}.play,.next-primary{background:#12ad85;color:white;border:0;border-radius:18px;box-shadow:0 5px 0 #087f66;padding:15px;font-weight:850}.play:active,.next-primary:active{transform:translateY(3px);box-shadow:0 2px 0 #087f66}.play{font-size:16px}.choices{gap:10px}.choice{min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:16px;color:#385b52;border:2px solid #d9ece2;border-radius:17px;background:#fffdf8;box-shadow:0 4px 0 #e8f0ea;transition:transform .16s,background .16s}.choice-sticker{display:grid;place-items:center;width:38px;height:35px;border-radius:12px;background:#fff1d8;font-size:25px}.choice:nth-child(2) .choice-sticker{background:#f2e9ff}.choice:active{transform:translateY(3px)}.choice.correct{border-color:#59cba6;background:#e8fbef}.choice.incorrect{border-color:#ffaab0;background:#fff1ef}.choice:disabled{opacity:1}
.feedback{border-radius:15px;font-size:14px}.good{background:#e3f9ed}.bad{background:#fff2e7}.reveal{border-top:2px dashed #d5eee2;padding-top:18px}.big-cn{color:#235348}.pinyin{color:#e57650;font-weight:800}.tip{background:#fff3d8;border:1px solid #ffe7b7}.mouth-guide{border:2px solid #d1e9df;background:#fcfffc;border-radius:18px}.mouth-guide summary{color:#26765d}.mouth-animation{background:#fff9ec}.tongue-diagram{border-color:#eadcc8}.listen,.small-btn,.secondary{background:#f3f7ff;color:#4f6392;border-color:#dce5f4}.record{background:#ef926b;color:#fff}.record.recording{background:#dc5c75}.btn,.small-btn{border-radius:13px}.mouth-pop{background:#fffcf2;border-color:#f0d69d;box-shadow:0 5px 0 #f4e8c9}.mouth-pop-top{color:#8d6531}.mouth-pop-steps button.active{background:#ed9069;border-color:#ed9069}
.example{border:2px solid #e5e9e1;background:#fff;border-radius:21px;padding:14px;box-shadow:0 4px 0 #edf0e7}.example:nth-child(3n+1){background:#fffaf0}.example:nth-child(3n+2){background:#f8f7ff}.example:nth-child(3n){background:#f2fbf5}.example-top{align-items:center;gap:5px}.example .jp{display:flex;align-items:center;gap:6px;font-weight:750;color:#695a69}.example-sticker{width:29px;height:29px;display:grid;place-items:center;background:#fff;border-radius:10px;font-size:18px;box-shadow:0 2px 0 #dddfe0}.example .cn{font-size:21px}.example .small-btn{min-height:40px;background:#fff}.level{border-radius:10px;padding:5px 8px;background:#fff;color:#669271}.example-practice{border-radius:15px;background:#fffdf7}.feedback-box{border:2px solid #e8dde9;background:#fffafd;border-radius:21px}
@media(max-width:360px){.hero h1{font-size:21px;max-width:calc(100% - 83px)}.coach-face{transform:scale(.85) rotate(8deg);right:9px;top:55px}.logo{font-size:16px}.logo small{font-size:8px!important}.choice{min-height:83px}}
@media(prefers-reduced-motion:reduce){.choice,.lesson-track span{transition:none}}

/* DEMO 10.32: 小音, the consistent panda speaking coach */
.coach-face{background:#fffdf8;border-color:#303938;box-shadow:0 6px 0 #e9d6c6}.coach-face:before,.coach-face:after{background:#303938;border:2px solid #263633;top:-15px;width:25px;height:26px}.coach-eyes{top:25px;left:13px;width:19px;height:24px;background:#303938;transform:rotate(17deg);box-shadow:33px -10px #303938}.coach-eyes:before,.coach-eyes:after{content:'';position:absolute;top:8px;width:5px;height:6px;border-radius:50%;background:#fff}.coach-eyes:before{left:9px}.coach-eyes:after{left:41px;top:-2px}.coach-nose{background:#343b39;top:48px}.coach-mouth{border-bottom-color:#8d6363;top:53px}.coach-blush{background:#ffb8b3;box-shadow:43px 0 #ffb8b3}
.panda-face{overflow:visible;isolation:isolate;background:#fffdf7;border-color:#313b38;box-shadow:inset 0 -5px #f9e6d9,0 5px 0 #d7eee0}.panda-face:before,.panda-face:after{background:#303a38;border-radius:50%;width:25px;height:26px;top:-10px;z-index:-1}.panda-face:before{left:2px;transform:rotate(-24deg);z-index:0}.panda-face:after{right:2px;transform:rotate(24deg);z-index:0}.panda-patch{position:absolute;top:21px;width:18px;height:23px;background:#343c3c;border-radius:55%;transform:rotate(15deg)}.panda-patch.left{left:14px}.panda-patch.right{right:14px;transform:rotate(-15deg)}.panda-patch:after{content:'';position:absolute;top:7px;left:7px;width:5px;height:7px;border-radius:50%;background:white}.panda-scarf{position:absolute;bottom:-9px;left:25px;width:26px;height:13px;background:#ee9673;border:2px solid #d37358;border-radius:5px 5px 9px 9px;transform:rotate(-4deg);z-index:-1}.panda-nose{position:absolute;top:43px;left:32px;width:9px;height:6px;background:#383f3d;border-radius:50%}.panda-face .cartoon-cheek{top:45px;left:8px;background:#ffb8ae;box-shadow:43px 0 #ffb8ae}.panda-face .cartoon-mouth{top:43px}.panda-face .cartoon-mouth ellipse{transition:rx .065s linear,ry .065s linear,cy .065s linear}.panda-face .cartoon-mouth .tongue{transition:transform .065s,opacity .065s}
.mouth-animation .panda-face:before,.mouth-animation .panda-face:after{width:31px;height:32px;top:-13px}.mouth-animation .panda-patch{top:34px;width:25px;height:30px}.mouth-animation .panda-patch.left{left:25px}.mouth-animation .panda-patch.right{right:25px}.mouth-animation .panda-patch:after{top:10px;left:9px;width:6px;height:8px}.mouth-animation .panda-scarf{left:44px;width:32px;bottom:-10px}.mouth-animation .panda-nose{top:66px;left:52px;width:11px;height:8px}.mouth-animation .panda-face .cartoon-cheek{top:72px;left:10px;box-shadow:82px 0 #ffb8ae}.mouth-animation .panda-face .cartoon-mouth{top:67px;left:26px}
@media(max-width:360px){.coach-face{transform:scale(.85) rotate(8deg)}}

/* DEMO 10.33: bamboo accents and one celebration per five-question round */
.hero,.flow{position:relative;overflow:hidden}
.hero::after,.flow::after{content:'';position:absolute;right:-8px;bottom:-35px;width:92px;height:164px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2090%20160%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23398e69%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M49%20165V15M66%20165V48%22%2F%3E%3Cpath%20d%3D%22M44%2046h11M44%2087h11M44%20127h11M61%2079h10M61%20119h10%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%2374bd82%22%3E%3Cpath%20d%3D%22M48%2038Q19%2020%206%2029Q22%2043%2048%2038Z%22%2F%3E%3Cpath%20d%3D%22M50%2057Q79%2019%2088%2025Q76%2052%2050%2057Z%22%2F%3E%3Cpath%20d%3D%22M48%2097Q14%2073%203%2082Q16%20105%2048%2097Z%22%2F%3E%3Cpath%20d%3D%22M65%2083Q85%2058%2090%2063Q88%2078%2065%2083Z%22%2F%3E%3Cpath%20d%3D%22M66%20117Q35%20100%2024%20107Q42%20125%2066%20117Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/contain no-repeat;opacity:.27;pointer-events:none;z-index:0}
.hero>* ,.flow>*{position:relative;z-index:1}
.hero .coach-face{position:absolute;z-index:2}
.flow::after{right:-18px;bottom:8px;width:73px;height:125px;opacity:.13}
.celebration{display:none;position:fixed;top:26%;left:50%;transform:translateX(-50%);width:min(290px,calc(100vw - 32px));z-index:1100;text-align:center;background:#fff9df;border:3px solid #f4d79b;border-radius:26px;box-shadow:0 12px 28px #213f3b42;padding:12px 18px 17px;color:#376c56}
.celebration.visible{display:block}
.celebration strong{display:block;font-size:19px;margin:4px 0;color:#de794c}
.celebration p{font-size:12px;margin:4px 0 0}
.celebration-close{position:absolute;right:9px;top:7px;background:white;border:1px solid #eadbbd;border-radius:50%;width:30px;height:30px;font-size:21px;line-height:1;color:#686052;z-index:4}
.dance-figure{position:relative;width:115px;height:134px;margin:0 auto;animation:panda-dance .45s ease-in-out infinite alternate}
.dance-figure .panda-face{position:absolute;top:5px;left:18px;z-index:2;width:80px;height:80px;transform:rotate(-6deg);animation:panda-nod .45s ease-in-out infinite alternate}
.dance-body{position:absolute;left:28px;top:76px;width:61px;height:49px;border:3px solid #313b38;background:#fffdf7;border-radius:48% 48% 42% 42%;z-index:1}
.dance-arm{position:absolute;top:79px;width:24px;height:16px;border-radius:18px;background:#313b38;z-index:0;transform-origin:center right;animation:panda-wave .35s ease-in-out infinite alternate}
.dance-arm.left{left:9px;transform:rotate(-34deg)}.dance-arm.right{right:9px;transform:rotate(34deg);animation-direction:alternate-reverse}
.dance-foot{position:absolute;top:114px;width:24px;height:14px;background:#313b38;border-radius:50%;z-index:1}.dance-foot.left{left:26px}.dance-foot.right{right:26px}
.confetti{position:absolute;color:#f0a446;font-size:25px;animation:confetti-pop .8s ease-out infinite alternate}.confetti-a{left:19px;top:23px}.confetti-b{right:24px;top:39px;color:#d783c9}.confetti-c{left:40px;top:99px;color:#63b986}
@keyframes panda-dance{to{transform:translateY(-7px) rotate(5deg)}}@keyframes panda-nod{to{transform:rotate(8deg)}}@keyframes panda-wave{to{transform:rotate(-65deg)}}@keyframes confetti-pop{to{transform:translateY(-7px) scale(1.15)}}
@media(prefers-reduced-motion:reduce){.dance-figure,.dance-figure .panda-face,.dance-arm,.confetti{animation:none}}

/* DEMO 10.34: daily practice and warmer results */
.streak>div:nth-child(2){min-width:0;flex:1}.daily-goal{margin-top:11px;background:#fff;border:1px solid #e7dff0;border-radius:15px;padding:11px;box-shadow:0 3px 0 #ede5f1}.daily-title{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap}.daily-title b{color:#9254a1;font-size:13px}.daily-title span{color:#8d7562;font-weight:750;font-size:11px}.daily-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin:10px 0 5px}.day-chip{text-align:center;border-radius:10px;background:#f2f2f5;min-height:38px;color:#a1a8a3}.day-chip small{display:block;font-size:10px;padding-top:3px}.day-chip b{display:block;font-size:14px;line-height:1.2}.day-chip.done{background:#d9f5e6;color:#21856b}.day-chip.today{outline:2px solid #e9b95c;outline-offset:1px}.daily-foot{font-size:10px;color:#858280;line-height:1.35;margin:6px 0 0}
.score{position:relative;background:linear-gradient(#fffdf2,#fff);border-radius:22px;padding:18px 10px 12px}.score.perfect{background:radial-gradient(circle at 18% 10%,#ffebad 0 35px,transparent 36px),radial-gradient(circle at 89% 18%,#f5d9fa 0 40px,transparent 41px),linear-gradient(#fffbea,#fff)}.score h2{font-size:25px;color:#357965;margin:10px 0 3px}.score.perfect h2{color:#eb7d54;font-size:27px}.score strong{display:block;color:#258e74;font-size:50px;line-height:1.1;margin:2px 0}.score.perfect strong{color:#ee8454;font-size:56px}.score strong small{font-size:21px;color:#7c9d8e}.result-sparkles{font-size:25px;letter-spacing:20px;color:#ffbc60;white-space:nowrap}.result-ribbon{display:inline-block;background:#e6f8eb;color:#238166;border-radius:18px;padding:7px 12px;font-size:12px;font-weight:800;margin-top:2px}.result-panda-wrap{position:relative;width:164px;height:164px;margin:8px auto 0;background:#e8f8eb;border-radius:50%;display:grid;place-items:center;box-shadow:0 6px 0 #d4eedc}.result-panda-wrap .result-figure,.result-panda-wrap .panda-face,.result-panda-wrap .dance-arm{animation:none}.score.perfect .result-panda-wrap .result-figure{animation:panda-dance .42s ease-in-out 5 alternate}.score.perfect .result-panda-wrap .panda-face{animation:panda-nod .42s ease-in-out 5 alternate}.score.perfect .result-panda-wrap .dance-arm{animation:panda-wave .35s ease-in-out 6 alternate}.result-panda-wrap .panda-face{width:86px;height:88px;transform:rotate(-7deg)}.result-panda-wrap .panda-face .panda-patch{top:25px}.result-panda-wrap .panda-face .panda-nose{top:48px;left:36px}.result-panda-wrap .panda-face .cartoon-mouth{top:49px;left:9px}.score.perfect .result-panda-wrap{background:#ffeab3}.score.perfect .result-sparkles{animation:confetti-pop .6s ease-in-out 5 alternate}.result-encouragement{font-size:14px;color:#627e74;line-height:1.55;margin:7px auto 14px;max-width:275px}.result-streak{text-align:left;margin:12px 0 16px}.result-streak .daily-goal{display:block}.result-streak .daily-title{justify-content:center}.result-streak .daily-title b{font-size:16px}.result-streak .daily-days{max-width:280px;margin:13px auto}.result-streak .daily-foot{text-align:center}.score .scope-note{background:#fff;border:1px solid #e3ebdf;border-radius:12px;padding:10px;margin:11px 0;color:#798982}.result-advice{font-size:12px;line-height:1.65;color:#5d756d;background:#f4faf4;border-radius:13px;padding:10px}.score .review-item{background:#fff}.score .secondary{margin:7px 0}
@media(prefers-reduced-motion:reduce){.score.perfect .result-panda-wrap .result-figure,.score.perfect .result-panda-wrap .panda-face,.score.perfect .result-panda-wrap .dance-arm,.score.perfect .result-sparkles{animation:none}}

/* DEMO 10.35: results open as a closable screen without replacing the lesson */
body.showing-result{overflow:hidden}.result-screen{display:none;position:fixed;inset:0;z-index:1050;background:#fffdf8;overflow-y:auto;overscroll-behavior:contain;padding:0 max(14px,calc((100vw - 430px)/2 + 16px)) max(28px,env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}.result-screen.visible{display:block}.result-toolbar{position:sticky;top:0;z-index:4;margin:0 -14px 6px;padding:max(10px,env(safe-area-inset-top)) 16px 10px;display:flex;align-items:center;gap:10px;background:#fffdf8eb;backdrop-filter:blur(10px);border-bottom:1px solid #e4eee5;color:#5b8672;font-weight:800;font-size:13px}.result-toolbar button{width:auto;min-height:44px;padding:5px 13px;border:2px solid #d4e9dc;border-radius:14px;background:#fff;color:#356c58;font-size:23px;line-height:1;font-weight:600}.result-toolbar button span{font-size:13px;vertical-align:middle;margin-left:3px}.result-toolbar button:focus-visible{outline:3px solid #edb064}
.result-screen .score{max-width:430px;margin:0 auto;padding-bottom:22px}.result-screen .score.perfect{border:2px solid #f4dfad;box-shadow:0 5px 0 #f8ebcb}.result-screen .score:not(.perfect){border:2px solid #dbeddf}.result-sounds{margin:13px 0;text-align:left;background:#fff;border:1px solid #deeadf;border-radius:16px;padding:12px}.result-sounds>b{font-size:13px;color:#497564}.sound-badges{display:flex;flex-wrap:wrap;gap:7px;margin:9px 0}.sound-badge{display:flex;align-items:center;gap:4px;padding:5px 8px;border-radius:12px;background:#e4f6e9;color:#277858;font-weight:800;font-size:17px}.sound-badge.again{background:#ffebeb;color:#aa6269}.sound-badge small{font-size:10px;font-weight:700;opacity:.8}.result-sounds>small{font-size:10px;color:#778e7d}.result-screen .result-poll{margin:14px auto;max-width:430px}
.result-screen .mouth-pop{position:relative;max-width:390px;margin:10px auto;background:#fffaf0}.result-screen .review-list{margin-bottom:14px}.result-screen .score .secondary{min-height:44px}
@media(prefers-reduced-motion:reduce){.result-screen{scroll-behavior:auto}}
/* DEMO 10.36: accessible, opt-in spoken conversation */
/* DEMO 10.37: a smaller, smiling panda with a clear, gentle mouth model */
.panda-face{border-color:#7eae9e;background:#fffaf0;box-shadow:inset 0 -5px #ffe9d6,0 5px 0 #d7eee0}
.panda-face:before,.panda-face:after,.panda-patch{background:#796660}
.panda-face:before,.panda-face:after{border-radius:50%}
.panda-patch{border-radius:55% 55% 52% 52%;width:17px;height:20px;top:22px;opacity:.92}
.panda-patch:after{width:7px;height:8px;top:5px;left:6px;background:#fffdf6}
.panda-face .panda-nose{background:#86645e;top:40px}
.panda-face .cartoon-cheek{background:#ffc9b6;box-shadow:43px 0 #ffc9b6;top:45px}
.panda-face .cartoon-mouth{top:39px}
.panda-face .cartoon-mouth ellipse{fill:#b7707b;stroke:#c58b91;stroke-width:3}
.panda-face .cartoon-mouth .tongue{stroke:#ffb0b2;stroke-width:3}
.mouth-animation .panda-patch{top:35px;width:23px;height:26px}
.mouth-animation .panda-patch:after{left:8px;top:7px}
.mouth-animation .panda-face .panda-nose{top:61px}
.mouth-animation .panda-face .cartoon-mouth{top:55px}
.result-panda-wrap .panda-face .panda-nose{top:45px}
.result-panda-wrap .panda-face .cartoon-mouth{top:43px}
#popFace .panda-face{transform:scale(.9);transform-origin:center}
.chat-card{margin:19px 0 23px;padding:17px 15px;border:2px solid #cbe7d9;border-radius:23px;background:linear-gradient(145deg,#f3fff5,#fffaf0);box-shadow:0 5px 0 #e2eee3}
.chat-card h2{margin:0;font-size:19px;color:#247b60}.chat-card p{font-size:12px;color:#5f756d;line-height:1.65;margin:7px 0 12px}.chat-card h2:after{content:'♪';display:inline-block;color:#edab64;margin-left:8px;transform:rotate(-15deg)}
.chat-thread{max-height:280px;overflow:auto;border:1px solid #dbece0;background:#fff;border-radius:15px;padding:11px;display:grid;gap:9px;min-height:74px}
.chat-bubble{max-width:94%;padding:9px 11px;border-radius:18px;font-size:14px;line-height:1.55;word-break:break-word}.chat-bubble.bot{background:#e9f8ef;justify-self:start;border-bottom-left-radius:5px}.chat-bubble.me{background:#fff0d8;justify-self:end;border-bottom-right-radius:5px}.chat-bubble small{display:block;color:#6b7e74;font-size:11px;margin-top:3px}.chat-bubble button{border:0;background:transparent;color:#117b64;padding:4px 2px;display:block;text-align:left;font-size:12px;min-height:32px}
.chat-suggestions{display:flex;gap:6px;overflow:auto;margin:11px 0}.chat-suggestions button{border:1px solid #b9dfc8;border-radius:18px;background:#fff;color:#166d58;padding:7px 10px;white-space:nowrap;font-size:12px;min-height:39px}
.chat-card textarea{width:100%;min-height:66px;border:1px solid #a8d5bd;border-radius:12px;background:#fff;padding:10px;font:16px/1.5 inherit;color:#263f3b;resize:vertical}
.chat-controls{display:flex;gap:8px;margin-top:8px}.chat-controls button{flex:1;border:0;border-radius:12px;min-height:48px;padding:8px;font-size:13px;font-weight:800}.chat-mic{background:#fff;border:2px solid #b9dfc8!important;color:#136e58}.chat-mic.is-recording{background:#ffe3e4;color:#a53650}.chat-send{background:#168e75;color:#fff}.chat-controls button:disabled{opacity:.5}.chat-status{font-size:12px;line-height:1.5;color:#315b4d;margin-top:8px;min-height:18px}
/* DEMO 10.38: three independent activities on the home screen */
.activity-menu{display:grid;gap:9px;margin:17px 0}.activity-menu a{display:flex;align-items:center;gap:11px;min-height:68px;padding:9px 13px;background:#fff;border:2px solid #d9eadf;border-radius:18px;box-shadow:0 4px 0 #e7f0e9;text-decoration:none;color:#274b43}.activity-menu a:nth-child(2){background:#f0fcf4;border-color:#c8e9d3}.activity-menu a:nth-child(3){background:#fffaf0;border-color:#f3e3bc}.activity-menu a>span:nth-child(2){flex:1;min-width:0}.activity-menu strong{display:block;font-size:15px}.activity-menu small{display:block;margin-top:3px;font-size:11px;color:#607771}.activity-menu a>span:last-child{font-size:25px;color:#64887a}.activity-icon{display:grid;place-items:center;width:41px;height:41px;background:#f4f9ef;border-radius:13px;font-size:23px;flex:none}.activity-menu a:focus-visible{outline:3px solid #277eae;outline-offset:2px}#listeningGame,#examplePractice{scroll-margin-top:14px}
.hero-chat-link{display:inline-block;margin-top:5px;padding:11px 15px;border-radius:22px;background:#e5f7e8;color:#217457;text-decoration:none;font-size:13px;font-weight:800;border:1px solid #bee1c8}.hero-chat-link:focus-visible,.chat-card button:focus-visible{outline:3px solid #277eae;outline-offset:2px}#pandaChat{scroll-margin-top:12px}
/* DEMO 10.39: soft, playful activity buttons */
.activity-menu{gap:12px;margin:20px 3px 22px}
.activity-menu a{position:relative;min-height:77px;padding:12px 16px;border-radius:38px 43px 39px 36px;background:linear-gradient(115deg,#f2fbff,#fffaf1);border-color:#cfebdc;box-shadow:0 5px 0 #e0efe6,0 9px 17px rgba(71,136,105,.06);transition:transform .18s ease,box-shadow .18s ease}
.activity-menu a:nth-child(2){margin-left:9px;margin-right:1px;border-radius:40px 37px 41px 35px;background:linear-gradient(115deg,#eefaf2,#fff9e7);box-shadow:0 5px 0 #def0e2,0 9px 17px rgba(71,136,105,.06)}
.activity-menu a:nth-child(3){margin-left:2px;margin-right:10px;border-radius:34px 43px 38px 42px;background:linear-gradient(115deg,#fff9eb,#fff0e8);box-shadow:0 5px 0 #f3e8d6,0 9px 17px rgba(135,102,65,.06)}
.activity-menu a:active{transform:translateY(3px);box-shadow:0 2px 0 #dceae1}
.activity-icon{width:45px;height:45px;background:#fff;border-radius:50%;box-shadow:0 2px 0 #e7eee7;font-size:25px}
.activity-menu strong{font-size:16px;letter-spacing:.01em}.activity-menu small{font-size:11px;line-height:1.4}
.activity-menu a>span:last-child{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#ffffffb8;font-size:20px}
@media(prefers-reduced-motion:reduce){.activity-menu a{transition:none}}
/* DEMO 10.40: one soft button language across activities */
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
button:focus-visible{outline:3px solid #277eae;outline-offset:2px}
.play,.next-primary,.feedback-send,.chat-send{border-radius:999px;background-image:linear-gradient(120deg,#11a983,#209d83);box-shadow:0 4px 0 #cfe9da}
.play,.next-primary{min-height:53px}
.choice{border-radius:30px 28px 32px 29px;background:#fffefa;box-shadow:0 4px 0 #e8f0ea}
.choice:nth-child(even){border-radius:27px 32px 29px 31px}
.choice-sticker{border-radius:50%}
.btn,.small-btn,.secondary,.poll-btn,.example-practice button,.mouth-guide-controls button,.mouth-pop-steps button,.chat-suggestions button{border-radius:999px}
.btn,.small-btn,.secondary,.poll-btn{box-shadow:0 3px 0 rgba(53,116,86,.10)}
.small-btn,.poll-btn{min-height:42px;padding-inline:12px}
.chat-controls button{border-radius:999px;min-height:52px}
.chat-mic{background:#fffdf8}.chat-suggestions button{background:#fffdf7}
.result-toolbar button{border-radius:999px}
.mouth-dismiss,.celebration-close{border-radius:50%}
button:disabled{cursor:default}
@media(prefers-reduced-motion:reduce){button{scroll-behavior:auto}}
/* DEMO 10.41: playful layers, restrained contrast, clear content order */
.phone{background:linear-gradient(#fffdf8,#fffdf8 470px,#fff 800px)}
.hero{box-shadow:0 6px 0 #f5e5bf,0 12px 24px rgba(196,151,86,.10)}
.section-head{position:relative;padding-left:3px}.section-head h2{color:#286b57;line-height:1.35}.section-head span{border-radius:999px;padding:6px 10px;box-shadow:0 2px 0 #e8f1e9}
.flow{background:linear-gradient(160deg,#fffdf8,#f9fff9 82%);box-shadow:0 7px 0 #d9efe2,0 13px 25px rgba(57,135,95,.08)}
.streak{box-shadow:0 5px 0 #ebe0f3,0 10px 20px rgba(130,95,161,.07)}
.chat-card{background:linear-gradient(155deg,#f5fff8,#fffaf0 86%);box-shadow:0 7px 0 #dceddf,0 13px 25px rgba(59,129,90,.08)}
.chat-thread{box-shadow:inset 0 2px 5px rgba(36,97,66,.05)}
.chat-bubble.bot{box-shadow:0 3px 0 #d7ecde}.chat-bubble.me{box-shadow:0 3px 0 #f4e5c9}
.example{background:linear-gradient(135deg,#fffdfa,#fafffb);border:2px solid #e1ece3;border-radius:24px;box-shadow:0 4px 0 #edf2e9,0 9px 16px rgba(91,141,100,.05)}
.example:nth-child(3n+2){background:linear-gradient(135deg,#fffefa,#fff8ee);border-color:#f1e4cd;box-shadow:0 4px 0 #f3eadd,0 9px 16px rgba(157,128,86,.05)}
.example:nth-child(3n){background:linear-gradient(135deg,#fcfffd,#f6f9ff);border-color:#dce9e9;box-shadow:0 4px 0 #e7efee,0 9px 16px rgba(87,129,139,.05)}
.result-screen{background:radial-gradient(circle at 15% 11%,#fff3cf 0 72px,transparent 75px),radial-gradient(circle at 85% 30%,#e8f8e9 0 65px,transparent 67px),#fffdf8}
.result-screen .score{box-shadow:0 6px 0 #e6eee2,0 12px 22px rgba(96,141,102,.07);border-radius:28px}
.result-screen .score.perfect{box-shadow:0 7px 0 #f8ebcb,0 16px 26px rgba(208,151,73,.13)}
.result-screen .review-item{border-radius:19px;box-shadow:0 3px 0 #e9f0e9}
@media(prefers-reduced-motion:reduce){.flow,.chat-card,.example{scroll-behavior:auto}}
/* DEMO 10.42: a gentle comic-book language without crowding the lesson */
.hero .target-note{position:relative;margin-top:20px;background:#fffef9;border:2px solid #f0d7ac;border-radius:22px 22px 22px 10px;box-shadow:0 4px 0 #f5e6c7;padding:13px 15px}
.hero .target-note::before{content:'';position:absolute;top:-11px;right:32px;width:16px;height:16px;transform:rotate(45deg);background:#fffef9;border-top:2px solid #f0d7ac;border-left:2px solid #f0d7ac}
.activity-menu a{border-width:2.5px}
.activity-menu a::before{content:'✦';position:absolute;right:32px;top:5px;color:#efb76f;font-size:12px;pointer-events:none}
.activity-menu a:nth-child(2)::before{color:#8abfa1}.activity-menu a:nth-child(3)::before{color:#dcaaa1}
.activity-menu a:active,.choice:active,.chat-controls button:active,.example-buttons button:active{transform:translateY(3px);box-shadow:0 1px 0 rgba(53,116,86,.12)}
.section-head h2{display:inline;line-height:1.6;background:linear-gradient(transparent 67%,#def2df 67%);box-decoration-break:clone;-webkit-box-decoration-break:clone}
.chat-card h2{display:inline-block;background:#fff;border:1px solid #dcefe1;border-radius:999px;padding:6px 13px;box-shadow:0 3px 0 #e1eee4}
.chat-bubble{position:relative;border:1px solid transparent}
.chat-bubble.bot{border-color:#d1e9d8}.chat-bubble.bot::after{content:'';position:absolute;left:-6px;bottom:7px;width:11px;height:11px;background:#e9f8ef;transform:rotate(43deg);border-left:1px solid #d1e9d8;border-bottom:1px solid #d1e9d8}
.chat-bubble.me{border-color:#f0e0c5}.chat-bubble.me::after{content:'';position:absolute;right:-6px;bottom:7px;width:11px;height:11px;background:#fff0d8;transform:rotate(43deg);border-right:1px solid #f0e0c5;border-top:1px solid #f0e0c5}
.example{position:relative}.example::before{content:'✦';position:absolute;right:17px;top:12px;color:#a1d0b4;font-size:12px;pointer-events:none}.example:nth-child(3n+2)::before{color:#e6bb78}.example:nth-child(3n)::before{color:#adc0db}
.score.perfect::after{content:'やった！';position:absolute;right:13px;top:53px;color:#bb693e;background:#fff4cb;border:1px solid #e9cf83;border-radius:19px 19px 19px 4px;padding:5px 9px;font-size:11px;font-weight:850;transform:rotate(8deg);box-shadow:0 3px 0 #f7e6ae;pointer-events:none}
@media(max-width:345px){.score.perfect::after{right:6px;top:42px;font-size:10px;padding:4px 6px}}
@media(prefers-reduced-motion:reduce){.activity-menu a,.choice,.chat-controls button,.example-buttons button{transition:none}}
/* DEMO 10.44: spoken reply stays beside the panda mouth guide */
.chat-pinyin{display:block;color:#a45e41;font-size:12px;line-height:1.6;letter-spacing:.02em;margin-top:5px}
.chat-pinyin span{display:inline-block;margin:1px 2px 1px 0;padding:1px 3px;border-radius:8px;transition:background .13s,color .13s}
.chat-pinyin span.speaking{background:#ffe8ad;color:#8a4c20;font-weight:850}
.chat-card>.mouth-pop{margin:12px 0 15px;background:#fffbf2;border-color:#eed7ab;border-radius:24px;box-shadow:0 5px 0 #f1e7ce}
.chat-card>.mouth-pop .mouth-pop-top span::after{content:' · 声に合わせた目安';font-size:10px;font-weight:500;color:#8f7460}
@media(prefers-reduced-motion:reduce){.chat-pinyin span{transition:none}}
/* DEMO 10.45: a soft comic speech area with tone-marked pinyin */
.chat-compose{position:relative;margin:15px 1px 12px;padding:14px;background:linear-gradient(145deg,#fffaf0,#f0fbf4);border:2px solid #bfdcca;border-radius:23px 25px 24px 11px;box-shadow:0 5px 0 #dceee0,0 10px 15px rgba(62,130,86,.08)}
.chat-compose::before{content:'';position:absolute;left:-9px;bottom:24px;width:14px;height:14px;background:#f0fbf4;border-left:2px solid #bfdcca;border-bottom:2px solid #bfdcca;transform:rotate(45deg)}
.chat-compose label{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#287459;font-size:13px;font-weight:850;margin-bottom:9px}
.chat-compose label span{font-size:11px;color:#8d8069;font-weight:650}
.chat-card .chat-compose textarea{min-height:76px;border:1px solid #cce4d3;border-radius:18px;background:#fffdfa;box-shadow:inset 0 2px 5px #dfebdf88,0 2px 0 #e5eee6;padding:12px;outline-offset:2px}
.chat-card .chat-compose textarea:focus-visible{outline:3px solid #89d0b4}
.chat-draft-pinyin{margin-top:9px;min-height:30px;padding:7px 10px;border-radius:13px;background:#ffffffb8;color:#8a6448;font-size:12px;line-height:1.5;word-break:break-word}
.chat-pinyin-caption{display:block;font-size:10px;font-weight:750;color:#966f4f;margin-top:5px}.chat-bubble.me .chat-pinyin{color:#986140}
/* DEMO 10.46: correction guidance lives next to the text it refers to */
.chat-compose-hint{min-height:0;color:#986644;font-weight:750;font-size:12px;line-height:1.45;margin-top:5px}
.chat-compose-hint:empty{display:none}.chat-compose:focus-within{border-color:#8ccaad}
/* A warm spoken model for either practice route */
.chat-bubble.echo{border:2px solid #eed9a9;background:#fffaf0;box-shadow:0 4px 0 #f4e9d2}
.chat-echo-label{display:block;width:max-content;max-width:100%;padding:3px 9px;margin-bottom:7px;border-radius:999px;background:#fff0ce;color:#886341;font-size:11px;font-weight:850}
.chat-practice-tip{margin-top:7px!important;padding:7px 9px;background:#fff2d9;border-radius:10px;color:#7b654d!important}
.chat-bubble .chat-practice-button{background:#fff1cf;color:#765632;border:1px solid #e6d1a4}
.chat-bubble .chat-practice-button.is-recording{background:#eb7771;color:#fff}
.chat-practice-result{display:block;margin-top:9px;padding:9px 11px;border-radius:15px;background:#f4fbef;color:#32624f;font-size:12px;line-height:1.55}
.chat-practice-result[hidden]{display:none}
/* DEMO 10.48: two clear routes, listen first or speak first */
.chat-card .chat-suggestions button{background:linear-gradient(135deg,#fff9e9,#effbf2);box-shadow:0 3px 0 #ddece1;border-radius:22px}
.chat-card .chat-controls button{border-radius:23px 24px 20px 24px;box-shadow:0 4px 0 #d8e9dc}
/* DEMO 10.49: large touch targets, readable type and one visible exercise */
.chat-card{padding:19px 16px}.chat-card h2{font-size:23px}.chat-card p{font-size:16px;line-height:1.65}
.chat-thread{max-height:none;overflow:visible;min-height:0;padding:14px;gap:14px}
.chat-bubble{max-width:100%;width:100%;font-size:20px;line-height:1.5;padding:16px;border-radius:23px}
.chat-bubble small{font-size:15px;line-height:1.55;margin-top:10px}
.chat-echo-label{font-size:15px;padding:6px 12px;white-space:normal;width:auto}
.chat-pinyin{font-size:18px;line-height:1.7;margin-top:8px}.chat-pinyin span{margin:2px 4px 2px 0;padding:2px 5px}
.chat-pinyin-caption{font-size:14px}.chat-practice-tip{font-size:15px!important;padding:11px 12px;line-height:1.6}
.chat-bubble button,.chat-bubble .chat-practice-button{box-sizing:border-box;width:100%;min-height:58px;margin-top:13px;padding:12px 15px;border:2px solid #a7d9c1;background:#f5fff8;border-radius:20px;text-align:center;color:#175d4d;font-size:18px;line-height:1.35;font-weight:800;box-shadow:0 4px 0 #dcefe0;touch-action:manipulation}
.chat-bubble .chat-practice-button{background:#fff2d8;border-color:#ebd4a5;color:#755635;box-shadow:0 4px 0 #f5e7c6}
.chat-bubble button:active{transform:translateY(3px);box-shadow:0 1px 0 #dcefe0}
.chat-practice-result{font-size:16px;line-height:1.6;padding:13px}
.chat-suggestions{flex-wrap:wrap;overflow:visible}.chat-card .chat-suggestions button{flex:1 1 43%;white-space:normal;min-height:52px;padding:10px;font-size:16px}
.chat-card .chat-compose label{font-size:17px}.chat-card .chat-compose label span{font-size:14px}.chat-card .chat-compose textarea{font-size:19px;min-height:90px}
.chat-draft-pinyin,.chat-compose-hint,.chat-status{font-size:15px;line-height:1.6}.chat-card .chat-controls button{min-height:60px;font-size:17px}
.chat-history{margin:14px 0}.chat-history>summary{cursor:pointer;list-style:none;min-height:54px;padding:13px 16px;border:2px solid #cbe3d1;border-radius:20px;background:#f4fbf3;color:#356e59;font-size:16px;font-weight:800;touch-action:manipulation}.chat-history>summary::-webkit-details-marker{display:none}.chat-history>summary:after{content:'⌄';float:right;font-size:20px}.chat-history[open]>summary:after{content:'⌃'}
.chat-history-entry{display:grid;gap:10px;margin:13px 0;padding:12px;border:1px solid #e2eadf;border-radius:20px;background:#fbfdf9}
.chat-thread>.mouth-pop,.chat-history-entry>.mouth-pop{grid-column:1/-1}
.chat-card>.mouth-pop .mouth-pop-top span::after{content:' · 唇の動きは発音のイメージ';font-size:14px}
.chat-card .mouth-pop-top{font-size:15px}.chat-card .mouth-dismiss{min-width:48px;min-height:48px;font-size:29px}
.chat-card .mouth-pop-word{font-size:22px}.chat-card .mouth-pop-note{font-size:14px;line-height:1.55}
.chat-card .mouth-pop-steps button{min-width:46px;min-height:46px;font-size:16px}
.chat-card .mouth-pop{padding:15px;border-radius:22px}
.chat-thread .mouth-pop,.chat-history-entry .mouth-pop{margin:2px 0 6px;background:#fffbf2;border-color:#eed7ab;box-shadow:0 4px 0 #f1e7ce}
.chat-thread .mouth-pop .mouth-pop-top span::after,.chat-history-entry .mouth-pop .mouth-pop-top span::after{content:''}
@media(max-width:360px){.chat-card{padding:15px 11px}.chat-bubble{font-size:19px;padding:13px}.chat-card .chat-controls{flex-wrap:wrap}.chat-card .chat-controls button{flex:1 1 100%}}
/* Readability throughout the lesson, including the quiz and example cards. */
body{font-size:16px}.hero p,.hero .target-note,.streak small,.activity-menu small,.section-head span,.stage,.sub,.tag,.progress,.scope-note,.tip,.feedback,.status,.progress-summary,.learning-note,.example-practice p,.feedback-box p,.review-item small{font-size:15px;line-height:1.6}
.section-head h2{font-size:21px}.activity-menu strong{font-size:18px}.example .cn{font-size:24px}.example .jp,.example .level{font-size:15px}
.play,.choice,.btn,.small-btn,.secondary,.poll-btn,.feedback-send,.example-practice button,.mouth-guide-controls button{min-height:54px;font-size:16px;line-height:1.35}
.example-buttons{gap:10px}.example .small-btn{min-height:54px}.example-practice .example-close{min-height:52px;font-size:16px}
.mouth-pop-note{font-size:14px;line-height:1.55}.mouth-pop-steps button{min-width:44px;min-height:44px;font-size:15px}.mouth-dismiss{min-width:46px;min-height:46px}
@media(max-width:360px){.example-buttons,.actions{grid-template-columns:1fr}}
/* DEMO 10.50: one gentle, expressive face across the home and practice views. */
.coach-face{background:radial-gradient(circle at 36% 28%,#fffef9,#fff5e7 78%);border-color:#886f64;box-shadow:inset 0 -5px #ffe4d6,0 7px 0 #ead2be;transform:rotate(-5deg)}
.coach-face:before,.coach-face:after{background:#8b7068;border-color:#735b56;top:-13px;border-radius:60% 60% 52% 52%}
.coach-eyes{top:27px;left:17px;width:11px;height:14px;background:#493e40;border-radius:48%;box-shadow:30px 0 #493e40;transform:none}
.coach-eyes:before,.coach-eyes:after{top:2px;left:2px;width:4px;height:5px;border-radius:50%;background:#fffdf8}
.coach-eyes:after{left:32px;top:2px}
.coach-brow,.panda-brow{position:absolute;z-index:3;width:15px;height:7px;border-top:2px solid #8e7669;border-radius:50%;pointer-events:none}
.coach-brow.left{top:20px;left:15px;transform:rotate(-12deg)}.coach-brow.right{top:20px;right:16px;transform:rotate(12deg)}
.coach-face .coach-nose{top:43px;left:34px;width:10px;height:7px;background:#865d59}
.coach-face .coach-mouth{top:49px;left:27px;width:25px;height:14px;border-bottom:3px solid #ad6c73;border-radius:0 0 20px 20px;transform:rotate(2deg)}
.coach-face .coach-blush{top:43px;left:8px;width:17px;height:9px;background:#ffbbb4;box-shadow:47px 0 #ffbbb4;opacity:.85}
.coach-paw{position:absolute;z-index:4;right:-14px;top:42px;width:25px;height:26px;border:2px solid #765e59;border-radius:49% 49% 43% 44%;background:#8e736d;transform-origin:5px 24px;animation:panda-wave-hello 3.6s ease-in-out infinite}
.coach-paw:before{content:'';position:absolute;left:1px;top:-7px;width:7px;height:10px;border-radius:50%;background:#8e736d;box-shadow:7px -2px #8e736d,14px 0 #8e736d}
.coach-paw:after{content:'';position:absolute;left:6px;top:9px;width:10px;height:9px;border-radius:50%;background:#efbdb1}
.coach-eyes{animation:panda-eye-blink 6.4s ease-in-out infinite;transform-origin:50% 55%}
.panda-face{background:radial-gradient(circle at 37% 27%,#fffef8,#fff4e5 85%);border-color:#91b3a4;box-shadow:inset 0 -6px #ffe7d4,0 5px 0 #d9ebe0}
.panda-face:before,.panda-face:after{background:#8e756e;border-color:#806660}
.panda-face .panda-patch{top:20px;background:#8d726e;opacity:.96;border-radius:58% 58% 54% 54%}
.panda-face .panda-patch:after{top:5px;left:4px;width:11px;height:12px;background:#fffdf8;border-radius:50%}
.panda-face .panda-patch:before{content:'';position:absolute;z-index:2;top:8px;left:8px;width:5px;height:7px;background:#493f3e;border-radius:50%}
.panda-face .panda-patch:before,.panda-face .panda-patch:after{animation:panda-eye-blink 6.4s ease-in-out infinite;transform-origin:50% 65%}
.panda-brow.left{top:13px;left:16px;transform:rotate(-10deg)}.panda-brow.right{top:13px;right:16px;transform:rotate(10deg)}
.panda-face .panda-nose{top:41px;background:#88645f}
.panda-face .cartoon-cheek{top:45px;background:#ffbdb4;box-shadow:43px 0 #ffbdb4;opacity:.9}
.panda-smile{fill:none;stroke:#b67c80;stroke-width:2.5;stroke-linecap:round;transition:opacity .12s}
.panda-face.talking .panda-smile{opacity:0}.panda-face.talking .panda-brow.left{transform:rotate(-16deg)}.panda-face.talking .panda-brow.right{transform:rotate(16deg)}
.mouth-animation .panda-face .panda-patch{top:34px;width:23px;height:26px}.mouth-animation .panda-face .panda-patch:after{top:7px;left:7px;width:13px;height:15px}.mouth-animation .panda-face .panda-patch:before{top:11px;left:12px}
.mouth-animation .panda-brow.left{top:26px;left:31px}.mouth-animation .panda-brow.right{top:26px;right:31px}
.result-panda-wrap .panda-face .panda-patch{top:23px}.result-panda-wrap .panda-brow.left{top:15px;left:18px}.result-panda-wrap .panda-brow.right{top:15px;right:18px}
.score.perfect .result-panda-wrap .panda-smile,.celebration .panda-smile{stroke:#d17479;stroke-width:3;transform:translateY(1px) scaleY(1.15);transform-origin:center}
.score.perfect .result-panda-wrap .panda-brow.left{transform:rotate(-19deg)}.score.perfect .result-panda-wrap .panda-brow.right{transform:rotate(19deg)}
.hero .hero-mascot{position:absolute;z-index:3;right:12px;top:49px;width:111px;height:113px;transform:rotate(-7deg);background:radial-gradient(circle at 42% 43%,#fffaf2 0 46%,#ffeabf 69%,transparent 72%);border-radius:50%}
.hero h1{max-width:calc(100% - 118px)}
.hero-mascot .panda-face{width:78px;height:78px;border-width:3px;transform:scale(1.23);transform-origin:top left;box-shadow:inset 0 -6px #ffe7d4,0 7px 0 #eacbaf}
.hero-mascot .panda-face .panda-nose{left:32px}.hero-mascot .panda-face .cartoon-mouth{left:5px;top:39px}
.hero-mascot .panda-face .cartoon-cheek{left:8px;box-shadow:43px 0 #ffbdb4}
.hero-mascot .panda-brow.left{left:16px}.hero-mascot .panda-brow.right{right:16px}
.hero-mascot:after{content:'✦';position:absolute;left:-14px;top:-8px;color:#f4b954;font-size:21px;text-shadow:0 2px #fff4d8}
.mascot-paw{position:absolute;z-index:5;right:-4px;top:59px;width:28px;height:29px;border:2px solid #765e59;border-radius:49% 49% 43% 44%;background:#8e736d;transform-origin:5px 24px;animation:panda-wave-hello 3.6s ease-in-out infinite}
.mascot-paw:before{content:'';position:absolute;left:1px;top:-7px;width:7px;height:10px;border-radius:50%;background:#8e736d;box-shadow:7px -2px #8e736d,14px 0 #8e736d}
.mascot-paw:after{content:'';position:absolute;left:6px;top:9px;width:10px;height:9px;border-radius:50%;background:#efbdb1}
.activity-icon.panda-icon{display:block;position:relative;background:#fff4e6;overflow:visible}
.panda-icon .panda-face{position:absolute;left:5px;top:3px;transform:scale(.46);transform-origin:top left}
.panda-icon .panda-face .panda-patch:before,.panda-icon .panda-face .panda-patch:after{animation:none}
/* An original, quiet bamboo storybook scene on the first screen. */
.phone{background:radial-gradient(ellipse 180px 245px at 95% 385px,#eaf7eb 0,transparent 80%),linear-gradient(180deg,#fffdf4,#fcfffa 700px,#fffefa)}
.hero{isolation:isolate;border:3px solid #ecd7a8;background:radial-gradient(circle at 81% 25%,#fff9dc 0 36px,#ffecc2 82px,transparent 150px),radial-gradient(ellipse 190px 70px at 12% 98%,#c9e5cb,transparent),radial-gradient(ellipse 150px 70px at 93% 103%,#d7eacb,transparent),linear-gradient(145deg,#fff1d5,#f5f8e7 72%,#e9f6e6);box-shadow:0 7px 0 #e7e9cc,0 15px 24px #54916b1c}
.hero::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.75;background:radial-gradient(ellipse 54px 15px at 15% 17%,#fffdf3b0,transparent),radial-gradient(ellipse 70px 19px at 75% 39%,#fffdf3b0,transparent)}
.hero::after{opacity:.32;right:-8px;bottom:-29px;width:100px;height:168px}
.hero .eyebrow{position:relative;z-index:2;background:#fffef5e8;color:#6f7a4e;border:1px solid #ecdfb8;font-size:13px}
.hero h1{position:relative;z-index:2;color:#274c43;text-shadow:0 1px #fff8e9}
.hero .target-note{position:relative;z-index:4;background:#fffdf7f0;border:1px solid #edebd2;box-shadow:0 3px 0 #e6ead8}
.hero .hero-greeting{position:absolute;z-index:5;right:9px;top:8px;padding:5px 12px;border:2px solid #c5dfc4;border-radius:18px 18px 5px 18px;background:#fffef7;color:#298269;font-size:18px;font-weight:900;line-height:1.3;box-shadow:0 3px 0 #e3e9ce;transform:rotate(5deg)}
.hero-greeting:after{content:'';position:absolute;right:16px;bottom:-7px;width:10px;height:10px;background:#fffef7;border-right:2px solid #c5dfc4;border-bottom:2px solid #c5dfc4;transform:rotate(45deg)}
.hero .hero-leaf{position:absolute;z-index:2;width:19px;height:11px;border-radius:100% 0 100% 0;background:#7dbf8c;opacity:.6;pointer-events:none;animation:leaf-float 6s ease-in-out infinite alternate}
.hero .leaf-one{left:25px;bottom:36px;transform:rotate(28deg)}.hero .leaf-two{right:126px;bottom:57px;width:13px;height:8px;opacity:.45;animation-delay:-3s}
@keyframes leaf-float{to{translate:9px -10px;rotate:12deg;opacity:.4}}
.activity-menu a:nth-child(2){background:linear-gradient(120deg,#eaf8ec,#fff9df);border-color:#b5dfc1;box-shadow:0 5px 0 #d3ebd7,0 11px 20px #32856523}
.flow{background:linear-gradient(155deg,#fffef9,#f5fcf5);border-color:#b6dac6;box-shadow:0 6px 0 #dcebdc,0 11px 20px #38826115}
.chat-card{background:linear-gradient(150deg,#f6fff7,#fffaf0)}
.streak{background:#fff9ec;border-color:#e8e0c0;box-shadow:0 4px 0 #ece9d5}.streak b{color:#437461}.streak>div:first-child{background:#fffdf7}
.daily-goal{background:#fffef8;border-color:#dfeacb;box-shadow:0 3px 0 #e8efda}.daily-title b{color:#3c8063}
.hero .hero-leaf,.hero .hero-greeting,.hero .hero-mascot{pointer-events:none}
@media(prefers-reduced-motion:reduce){.hero .hero-leaf{animation:none}}
/* Comfortable reading and tapping for children, adults and older learners. */
.hero p,.hero .target-note,.activity-menu small,.streak small,.chat-card>p,.example .jp,.feedback-box p{font-size:16px;line-height:1.65;color:#455f54}
.hero .eyebrow{font-size:14px}.hero h1{font-size:26px;line-height:1.36}
.daily-title b,.daily-title span,.daily-foot,.day-chip small,.progress-summary,.result-advice,.result-sounds>b,.result-sounds>small,.record-notice,.measure-details,.pitch-diagnostic,.example-practice p{font-size:15px;line-height:1.55;color:#455d53}
.daily-days{gap:5px}.day-chip{min-height:46px}.day-chip b{font-size:17px}.day-chip small{padding-top:5px}
.result-encouragement,.review-item small,.feedback-box select,.feedback-box textarea,.result-toolbar button span{font-size:16px;line-height:1.6}
.result-toolbar{font-size:16px}.result-toolbar button,.celebration-close,.mouth-dismiss{min-width:50px;min-height:50px}.celebration-close{width:50px;height:50px;right:6px;top:6px}
.result-ribbon,.result-sounds .sound-badge small,.mouth-guide summary,.mouth-copy p,.guide-note,.mouth-detail-label,.tongue-key,.tongue-hint,.example-practice h3,.example-practice .example-result{font-size:15px;line-height:1.55}
.mouth-pop-steps button,.example-practice .example-controls button,.example .small-btn,.chat-suggestions button,.feedback-send,.poll-btn{min-height:52px}
.feedback-box select{min-height:54px}.feedback-box textarea{font-size:17px}audio{height:52px}
@media(max-width:360px){.hero h1{font-size:23px}.daily-title span{font-size:14px}}
@keyframes panda-wave-hello{0%,45%,100%{transform:rotate(9deg)}17%,28%{transform:rotate(-19deg)}}
@keyframes panda-eye-blink{0%,92%,96%,100%{transform:scaleY(1)}94%{transform:scaleY(.18)}}
@media(max-width:360px){.hero .hero-mascot{transform:scale(.84) rotate(-7deg);right:4px;top:54px}.hero h1{max-width:calc(100% - 93px)}}
@media(prefers-reduced-motion:reduce){.panda-smile{transition:none}.coach-paw,.coach-eyes,.mascot-paw,.panda-face .panda-patch:before,.panda-face .panda-patch:after{animation:none}}
/* DEMO 10.51: 小音 is a relaxed, full-bodied panda with audio-led mouth practice. */
.hero .hero-mascot{transform:rotate(-4deg);background:radial-gradient(ellipse at 48% 48%,#fffdf7 0 46%,#f6ebd2 70%,transparent 73%)}
.panda-face:before,.panda-face:after{background:linear-gradient(145deg,#87756e,#71645f);border-color:#87756e}
.panda-face .panda-patch{top:21px;width:16px;height:18px;background:radial-gradient(circle at 40% 32%,#95837c,#786a64 85%);opacity:.86;border-radius:54% 54% 50% 50%}
.panda-face .panda-patch.left{left:15px}.panda-face .panda-patch.right{right:15px}
.panda-face .panda-patch:after{top:4px;left:3px;width:10px;height:11px;background:#fffefa;border-radius:50%}
.panda-face .panda-patch:before{top:7px;left:6px;width:6px;height:7px;background:#453b38;border-radius:50%;box-shadow:1px -1px 0 #fffefa}
.panda-face .panda-brow{border-color:#98847a;opacity:.8}
.panda-face .cartoon-cheek{background:#ffc7b6;box-shadow:43px 0 #ffc7b6;opacity:.82}
.panda-face:not(.talking) .cartoon-mouth ellipse,.panda-face:not(.talking) .cartoon-mouth .tongue{opacity:0}
.panda-face .panda-scarf{background:#e99b79;border-color:#d58a70}
.hero .hero-mascot:after{color:#f0c565;text-shadow:0 2px #fff8e8}
.guide-note{background:#fffaf0;border-radius:12px;padding:10px;color:#6c6857}
@media(max-width:360px){.hero .hero-mascot{transform:scale(.84) rotate(-4deg);right:4px;top:54px}}
@media(prefers-reduced-motion:reduce){.hero .mascot-paw{animation:none}}
/* DEMO 10.52: a clearly recognizable, relaxed panda instead of a glowing sphere. */
.hero .hero-mascot{background:none;border-radius:0;transform:rotate(-2deg)}
.hero-panda-art{position:absolute;z-index:3;left:-4px;top:-3px;width:120px;height:128px;overflow:visible;filter:drop-shadow(0 3px 1px #47685615)}
.hero-panda-art .wave-arm{transform-box:fill-box;transform-origin:20% 90%;animation:panda-wave-art 3.4s ease-in-out infinite}
@keyframes panda-wave-art{0%,42%,100%{transform:rotate(3deg)}17%,28%{transform:rotate(-12deg)}}
.hero .hero-mascot:after{z-index:4;left:5px;top:10px}
@media(max-width:360px){.hero .hero-mascot{transform:scale(.84) rotate(-2deg)}}
@media(prefers-reduced-motion:reduce){.hero-panda-art .wave-arm{animation:none}}

/* DEMO 10.53 approved kawaii panda visual test skin */
:root{--ink:#17345d;--muted:#61758e;--blue:#42a9ef;--green:#42c979;--red:#ff6e85;--line:#dfeaf0;--cream:#fff9e9;--pink:#fff0f4;--sky:#eef9ff}
body{background:linear-gradient(180deg,#eef9ff 0,#fffaf1 55%,#f3fff5 100%)}
.phone{background:linear-gradient(180deg,#fbfeff 0,#fffdf8 38%,#f7fff8 100%);padding:16px 16px 34px;box-shadow:0 0 0 1px #dbeaf0,0 20px 60px #4b77911f}
.top{margin-bottom:14px}.logo{font-size:23px;color:#1569b8;letter-spacing:-.5px}.logo span{color:#ff758f}.logo small{background:#e8f8ee!important;color:#27875e!important;padding:4px 7px;border-radius:999px;margin-left:4px}
.hero{position:relative;min-height:238px;overflow:hidden;border:2px solid #d9ead7;border-radius:30px;padding:22px 148px 20px 20px;background:radial-gradient(circle at 92% 15%,#e0f8ff 0 47px,transparent 48px),linear-gradient(155deg,#f4fdff,#fff8e8 70%,#eefbec);box-shadow:0 6px 0 #dcecdf,0 15px 30px #507d6920}
.hero:before,.hero:after{content:'🌿';position:absolute;font-size:31px;opacity:.6}.hero:before{left:-5px;bottom:0;transform:rotate(-18deg)}.hero:after{right:8px;top:5px;transform:rotate(12deg)}
.hero .eyebrow{color:#268568;font-weight:900}.hero h1{font-size:26px;color:#1b5188;margin:8px 0}.hero h1 em{color:#ff647f}.hero p,.hero .target-note{font-size:14px;line-height:1.55;color:#526e77}.hero .target-note{background:#fff;border:2px solid #d7ebd2;border-radius:17px;padding:11px 12px;box-shadow:0 3px 0 #e6efdf}.hero-greeting{right:106px;top:29px;border-color:#ffd2a7;color:#f28a42;background:#fffdf8;font-weight:900}
.hero .hero-mascot{width:137px;height:150px;right:6px;top:77px}.hero-panda-art{width:138px;height:148px;left:0;top:0;filter:drop-shadow(0 5px 1px #6f9d7d20)}
.activity-menu{gap:12px;margin-top:16px}.activity-menu a{border-radius:23px!important;min-height:84px!important;padding:14px!important;box-shadow:0 5px 0 #dfe8ec,0 12px 24px #52708712!important}.activity-menu a:nth-child(1){background:linear-gradient(120deg,#fff0f5,#fff8f2)!important;border-color:#ffcbd7!important}.activity-menu a:nth-child(2){background:linear-gradient(120deg,#eef9ff,#efffff)!important;border-color:#c4e8fb!important}.activity-menu a:nth-child(3){background:linear-gradient(120deg,#effcf1,#f5fff1)!important;border-color:#c6ebcc!important}.activity-menu strong{font-size:17px;color:#174c7c}.activity-menu small{font-size:13px;color:#667d8f}.activity-icon{width:52px!important;height:52px!important;border-radius:17px!important;font-size:25px!important;box-shadow:0 3px 0 #dfe5e6}.activity-menu a:nth-child(1) .activity-icon{background:#ff7890!important;color:white}.activity-menu a:nth-child(2) .activity-icon{background:#60baf0!important}.activity-menu a:nth-child(3) .activity-icon{background:#58cc7d!important;color:white}
.streak{border:2px solid #ffe2a4;background:linear-gradient(120deg,#fff8df,#fffef7);border-radius:24px;box-shadow:0 5px 0 #f2ead0}.streak b{color:#b56c27}.daily-goal{border-radius:17px}
.section-head h2{font-size:19px;color:#1b568b}.section-head span{background:#eef7ff;padding:5px 9px;border-radius:999px;color:#5081a9;font-weight:800}
.flow{border:2px solid #cbe9d3;border-radius:28px;padding:18px;background:linear-gradient(155deg,#ffffff,#f5fff7);box-shadow:0 6px 0 #dfefe2,0 16px 28px #5d89661a}.tag{border-radius:999px;background:#eaf8ef;color:#2d9263;font-weight:900}.play{border-radius:18px;background:linear-gradient(180deg,#62baf1,#349ee3);box-shadow:0 5px 0 #2686c4;min-height:56px;font-size:17px}.choice,.btn,.small-btn{border:2px solid #e5edf0;border-radius:16px;box-shadow:0 3px 0 #e9eff0}.choice{background:#fffdf8}.choice.correct{border-color:#80d8a0;background:#effcf2}.choice.incorrect{border-color:#ffb9c2;background:#fff2f4}
.reveal{background:#fffaf0;border-radius:22px;padding:14px;margin-top:14px}.big-cn{color:#1f619d}.record{background:linear-gradient(180deg,#ff8195,#ff627d);box-shadow:0 5px 0 #db4d66}.listen{background:#eaf7ff;color:#2189d1;box-shadow:0 3px 0 #d5eaf6}.next-primary{background:linear-gradient(180deg,#5ed183,#37bc69);box-shadow:0 5px 0 #2b9855;border-radius:18px}
.example{border:2px solid #dcece0!important;border-radius:23px!important;box-shadow:0 5px 0 #edf2ea!important}.example:nth-child(3n+1){background:#fffaf0!important}.example:nth-child(3n+2){background:#f3faff!important}.example:nth-child(3n){background:#f2fff5!important}
.mouth-pop{border:2px solid #bfe4d4!important;border-radius:26px!important;box-shadow:0 12px 30px #406f6420!important}.mouth-pop-top{background:linear-gradient(90deg,#eafaf1,#f4fbff)!important;color:#257858!important;border-radius:22px 22px 0 0}.mouth-pop-word{color:#175d94!important}.mouth-pop-note{background:#fff9e9!important;border-radius:14px!important}.mouth-pop-steps button{border-radius:16px!important}
.result-screen{background:linear-gradient(180deg,#fffbed,#f7fff8)!important}.result-screen .score{border-radius:30px!important;background:radial-gradient(circle at 20% 8%,#fff0b6 0 32px,transparent 33px),radial-gradient(circle at 86% 15%,#e5f8ff 0 40px,transparent 41px),linear-gradient(180deg,#fffdf2,#fff)!important}.score h2{color:#f27852!important}.result-ribbon{background:#fff0b9!important;color:#a46524!important}.result-panda-wrap{background:#e8f7e8!important;border:3px solid #cfe9d1}.result-advice{background:#effaf2!important}.secondary{border:2px solid #d9eaf1;background:#f4fbff;color:#267db4;border-radius:17px}
.feedback-box{border-radius:24px!important;background:#fffdf8!important;border:2px solid #e2ebdf!important}
@media(max-width:390px){.hero{padding-right:130px;min-height:242px}.hero .hero-mascot{right:-2px;top:86px}.hero-greeting{right:92px}.hero h1{font-size:23px}.hero p,.hero .target-note{font-size:13px}}
@media(max-width:350px){.hero{padding-right:112px}.hero .hero-mascot{transform:scale(.82);right:-12px}.hero-greeting{display:none}}


/* DEMO 10.61: effect-image alignment, logo restored, mobile spacing tightened. */
html{scroll-padding-top:18px}
.phone{overflow-x:hidden}
.app-brand-1060{position:relative!important;display:block!important;min-height:150px;margin:0 -4px 10px!important;padding:22px 138px 18px 8px!important;border-radius:0 0 34px 34px;background:radial-gradient(circle at 84% 35%,#f7fff9 0 52px,transparent 54px),linear-gradient(180deg,#fbfffb 0%,#eef9ef 100%);overflow:hidden}
.app-brand-1060::before,.app-brand-1060::after{content:'';position:absolute;border-radius:50%;background:#dff3dd;opacity:.75;z-index:0}.app-brand-1060::before{width:150px;height:58px;left:-28px;bottom:-18px}.app-brand-1060::after{width:180px;height:64px;right:18px;bottom:-28px}
.app-brand-1060 .brand-stack{position:relative;z-index:2}.app-brand-1060 .brand-main{display:flex;align-items:center;gap:6px;font-size:36px!important;line-height:1.05!important;font-weight:950;color:#126a50;letter-spacing:-.05em;white-space:nowrap}.app-brand-1060 .brand-mark{font-size:23px;color:#2a8c65;letter-spacing:-.2em;transform:translateY(-1px)}.app-brand-1060 .brand-spark{font-size:18px;color:#efb34f;transform:rotate(12deg)}.app-brand-1060 .brand-note{margin-top:11px;font-size:15px!important;font-weight:750;color:#4c7e6d;white-space:nowrap}.brand-mascot{position:absolute;right:-8px;bottom:-6px;z-index:2;width:146px;height:132px;overflow:hidden}.brand-mascot img{width:148px;height:150px;object-fit:cover;object-position:center 50%;border-radius:46%;filter:drop-shadow(0 10px 16px rgba(77,129,94,.16))}
.home-card-1060{margin:0 0 14px;padding:18px 14px 16px;border:2px solid #d2ead7;border-radius:30px;background:rgba(255,255,255,.96);box-shadow:0 8px 0 #e4f1e6,0 16px 30px rgba(83,131,99,.10);overflow:visible}
.lesson-heading{display:flex;align-items:flex-start;gap:12px;padding:1px 4px 12px}.lesson-leaf{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:50%;background:#e7f7e8;font-size:23px}.lesson-heading h1{margin:0;color:#126b51;font-size:29px;line-height:1.1;font-weight:950;letter-spacing:-.03em}.lesson-heading p{margin:7px 0 0;color:#536e65;font-size:15px;line-height:1.35;font-weight:650}
.lesson-steps{display:grid;gap:11px;position:relative}.lesson-step{display:grid;grid-template-columns:34px 54px minmax(0,1fr) 24px;align-items:center;gap:10px;min-height:92px;padding:12px 12px 12px 5px;border:2px solid;border-radius:22px;text-decoration:none;box-shadow:0 4px 0 rgba(0,0,0,.05);position:relative}.lesson-step:not(:last-child)::after{content:'';position:absolute;left:20px;bottom:-15px;height:17px;border-left:3px dotted currentColor;opacity:.28}.step-one{color:#197b5e;background:linear-gradient(180deg,#f4fff7,#fbfffc);border-color:#afe0c6}.step-two{color:#865b22;background:linear-gradient(180deg,#fff9ea,#fffdf7);border-color:#f0d49b}.step-three{color:#a72f4a;background:linear-gradient(180deg,#fff2f5,#fff8fa);border-color:#efbdc8}.step-number{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:currentColor;color:#fff;font-weight:950;font-size:16px}.step-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff;font-size:28px;box-shadow:0 2px 7px rgba(0,0,0,.06)}.step-copy{min-width:0}.step-copy strong{display:block;font-size:20px;line-height:1.2;color:currentColor;font-weight:950}.step-copy small{display:block;margin-top:5px;font-size:13px;line-height:1.35;color:#66766f;font-weight:650}.step-arrow{font-size:34px;line-height:1;color:currentColor;font-weight:850}
.home-free-preview{position:relative;margin:0 0 18px;padding:16px 14px 14px;border:2px solid #d2ead7;border-radius:30px;background:linear-gradient(180deg,#ffffff,#f9fff9);box-shadow:0 8px 0 #e6f1e7,0 15px 26px rgba(83,131,99,.08);overflow:hidden}.free-preview-head{display:grid;grid-template-columns:minmax(0,1fr) 118px;gap:8px;align-items:center;min-height:116px}.free-preview-copy h2{margin:0;color:#116c51;font-size:27px;line-height:1.1;font-weight:950}.free-preview-copy h2 span{color:#ed9c2d}.free-preview-copy p{margin:10px 0 0;color:#4b665e;font-size:14px;line-height:1.5;font-weight:650}.free-preview-head img{width:124px;height:126px;object-fit:cover;object-position:center 52%;border-radius:44%;filter:drop-shadow(0 9px 14px rgba(60,113,79,.16))}
.free-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:7px}.preview-action,.preview-input{position:relative;display:grid;align-items:center;text-decoration:none;color:#176f56;border:2px solid #bfe5cc;background:#f5fff6;border-radius:20px;box-shadow:0 4px 0 #e2efe5}.preview-action{grid-template-columns:46px minmax(0,1fr) 16px;gap:8px;min-height:132px;padding:15px 10px 10px}.preview-action.own{color:#84591f;border-color:#efd49c;background:#fff9ea}.preview-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;font-size:23px;box-shadow:0 2px 5px rgba(0,0,0,.06)}.preview-action strong,.preview-input strong{display:block;font-size:16px;line-height:1.25;font-weight:950}.preview-action small,.preview-input small{display:block;margin-top:6px;color:#64766f;font-size:12px;line-height:1.4;font-weight:600}.preview-action>b,.preview-input>b{font-size:31px;line-height:1}.preview-badge{position:absolute;left:50%;top:-10px;transform:translateX(-50%);padding:3px 11px;border-radius:999px;background:#35b378;color:#fff;font-size:10px;font-weight:900;white-space:nowrap}.preview-input{grid-template-columns:46px minmax(0,1fr) 18px;gap:10px;margin-top:11px;min-height:84px;padding:11px 13px}
#listeningGame,#examplePractice,#pandaChat,#articulationGuide{scroll-margin-top:22px}
.floating-home{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}.floating-home svg{margin:0!important;transform:none!important}
@media(max-width:390px){.app-brand-1060{min-height:142px;padding:20px 126px 16px 7px!important}.app-brand-1060 .brand-main{font-size:32px!important}.app-brand-1060 .brand-note{font-size:13px!important}.brand-mascot{width:132px;height:123px}.brand-mascot img{width:136px;height:140px}.lesson-heading h1{font-size:26px}.lesson-step{grid-template-columns:32px 48px minmax(0,1fr) 20px;gap:8px;min-height:88px}.step-icon{width:47px;height:47px;font-size:25px}.step-copy strong{font-size:18px}.step-copy small{font-size:12px}.free-preview-head{grid-template-columns:minmax(0,1fr) 104px}.free-preview-head img{width:108px;height:112px}.free-preview-copy h2{font-size:24px}.preview-action{grid-template-columns:40px minmax(0,1fr) 14px;min-height:128px;padding-left:8px;padding-right:8px}.preview-icon{width:40px;height:40px;font-size:21px}.preview-action strong{font-size:14px}.preview-action small{font-size:11px}}
@media(max-width:350px){.app-brand-1060{padding-right:108px!important}.app-brand-1060 .brand-main{font-size:28px!important}.brand-mascot{width:112px}.brand-mascot img{width:118px}.lesson-step{grid-template-columns:28px 44px minmax(0,1fr) 18px}.step-number{width:28px;height:28px;font-size:14px}.step-icon{width:43px;height:43px;font-size:23px}.step-copy strong{font-size:16px}.free-preview-actions{grid-template-columns:1fr}.preview-action{min-height:94px}.free-preview-head{grid-template-columns:minmax(0,1fr) 88px}.free-preview-head img{width:94px;height:98px}}


/* 10.61 visual alignment overrides */
.app-brand-1060{min-height:158px!important;padding:24px 144px 20px 12px!important;background:radial-gradient(circle at 82% 28%,rgba(255,255,255,.78) 0 52px,transparent 53px),radial-gradient(ellipse at 15% 100%,#dff3dd 0 74px,transparent 75px),linear-gradient(180deg,#f7fff7 0%,#eaf8e9 100%)!important}
.app-brand-1060 .brand-main{gap:5px!important;color:#075d48!important;font-size:37px!important;letter-spacing:-.055em!important}
.app-brand-1060 .brand-word{white-space:nowrap}
.app-brand-1060 .brand-mark{display:block!important;flex:0 0 64px;width:64px;height:49px;font-size:0!important;letter-spacing:0!important;transform:none!important;margin-right:0}
.app-brand-1060 .brand-mark svg{display:block;width:64px;height:49px;overflow:visible}
.logo-leaf{fill:#2fa866}.logo-stem,.logo-wave{fill:none;stroke:#16845d;stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round}.logo-wave{stroke-width:4.2}
.app-brand-1060 .brand-spark{position:relative;display:block;width:24px;height:31px;flex:0 0 24px;font-size:0!important;transform:none!important;margin-left:1px}
.app-brand-1060 .brand-spark i{position:absolute;display:block;width:7px;height:20px;border-radius:6px;background:#ffc94e;transform-origin:bottom center}.app-brand-1060 .brand-spark i:first-child{left:2px;top:2px;transform:rotate(38deg)}.app-brand-1060 .brand-spark i:last-child{left:13px;top:12px;height:15px;transform:rotate(72deg)}
.app-brand-1060 .brand-note{margin:9px 0 0 72px!important;color:#397963!important;font-size:15px!important;letter-spacing:.02em}
.brand-mascot{right:-5px!important;bottom:-7px!important;width:144px!important;height:136px!important}.brand-mascot img{width:150px!important;height:154px!important}
.home-card-1060{margin-top:-2px!important;border-radius:32px!important;padding:18px 14px 17px!important}.lesson-heading{padding-bottom:14px!important}.lesson-leaf{background:#e7f8e8!important}
.free-preview-copy p{font-size:13px!important;line-height:1.55!important}.free-preview-copy h2{display:flex;align-items:center;gap:5px}.free-preview-copy .free-leaf{font-size:20px;color:#27a76c}.preview-input small{line-height:1.35!important}
@media(max-width:390px){.app-brand-1060{min-height:146px!important;padding:20px 122px 17px 7px!important}.app-brand-1060 .brand-main{font-size:31px!important;gap:3px!important}.app-brand-1060 .brand-mark{width:54px;height:43px;flex-basis:54px}.app-brand-1060 .brand-mark svg{width:54px;height:43px}.app-brand-1060 .brand-spark{width:20px;flex-basis:20px}.app-brand-1060 .brand-note{margin-left:59px!important;font-size:12.5px!important}.brand-mascot{width:127px!important;height:121px!important}.brand-mascot img{width:132px!important;height:138px!important}.home-card-1060{padding-left:11px!important;padding-right:11px!important}.lesson-heading{gap:9px!important}.lesson-leaf{flex-basis:43px!important;height:43px!important}.free-preview-copy p{font-size:12px!important}}
@media(max-width:350px){.app-brand-1060 .brand-main{font-size:27px!important}.app-brand-1060 .brand-mark{width:48px;flex-basis:48px}.app-brand-1060 .brand-mark svg{width:48px}.app-brand-1060 .brand-note{margin-left:52px!important}.app-brand-1060{padding-right:104px!important}}

/* DEMO 10.75: make the listen control a real large tap target; head-only mouth guide */
.chat-bubble button[data-chat-speak]{
  width:100%;min-height:48px;margin-top:8px;padding:10px 14px!important;
  border:2px solid #b9dfc8!important;border-radius:16px!important;
  background:#fffdf7!important;color:#117b64!important;font-size:14px!important;font-weight:850!important;
  text-align:center!important;box-shadow:0 4px 0 #dceee2!important;
  touch-action:manipulation;-webkit-tap-highlight-color:rgba(22,142,117,.18);
  cursor:pointer;user-select:none;-webkit-user-select:none;position:relative;z-index:20!important;pointer-events:auto!important;
}
.chat-bubble button[data-chat-speak]:active{transform:translateY(2px);box-shadow:0 2px 0 #dceee2!important}
.chat-bubble button[data-chat-speak][aria-busy="true"]{opacity:.72}
.mouth-current-mascot{position:relative;width:112px;height:102px;overflow:hidden;border-radius:36px;background:#fffdf8;box-shadow:0 4px 0 #e5eee7;flex:none}
.mouth-current-mascot img{display:block;width:112px;height:102px;object-fit:cover;object-position:center center;border-radius:36px;filter:none;pointer-events:none;-webkit-mask-image:none;mask-image:none}
.mouth-current-mascot .mouth-cover{position:absolute;left:50%;top:54px;transform:translateX(-50%);width:50px;height:31px;border-radius:50%;background:rgba(255,247,240,.96);pointer-events:none}
.mouth-current-mascot .live-mouth{position:absolute;left:50%;top:54px;bottom:auto;transform:translateX(-50%);width:50px;height:31px;pointer-events:none}
.mouth-current-mascot .live-mouth ellipse{fill:#b76472;stroke:#9f5664;stroke-width:3}
.mouth-current-mascot .live-mouth .tongue{stroke:#ffb2b7;stroke-width:3}
#popFace{display:flex;align-items:center;justify-content:center;min-width:112px}

/* DEMO 10.76 chat replay + head mouth alignment fix */
.chat-bubble button,.chat-practice-button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;cursor:pointer;position:relative;z-index:2}
.mouth-current-mascot{position:relative;width:86px;height:86px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#fff9f2;box-shadow:0 4px 8px rgba(72,115,87,.14);flex:none}
.mouth-current-mascot img{display:block;width:86px;height:86px;object-fit:cover;object-position:center 18%;border-radius:50%;pointer-events:none;filter:none;-webkit-mask-image:none;mask-image:none}
.mouth-current-mascot .mouth-cover{position:absolute;left:50%;bottom:21px;transform:translateX(-50%);width:30px;height:16px;border-radius:999px;background:rgba(255,249,242,.98);pointer-events:none}
.mouth-current-mascot .live-mouth{position:absolute;left:50%;bottom:19px;transform:translateX(-50%);width:30px;height:18px;pointer-events:none}
.mouth-current-mascot .live-mouth ellipse{fill:#b76472;stroke:#9f5664;stroke-width:2.5;transition:rx .065s linear,ry .065s linear,cy .065s linear}
.mouth-current-mascot .live-mouth .tongue{stroke:#ffb2b7;stroke-width:2.4;transition:transform .065s,opacity .065s}
@media(max-width:390px){.mouth-current-mascot{width:82px;height:82px}.mouth-current-mascot img{width:82px;height:82px}.mouth-current-mascot .mouth-cover{bottom:20px;width:29px;height:15px}.mouth-current-mascot .live-mouth{bottom:18px;width:29px;height:17px}}

/* ===== 10.85 audio init hotfix panel ===== */
#audioDiag{position:fixed;left:10px;right:10px;bottom:10px;z-index:999999;background:rgba(20,24,28,.94);color:#fff;border-radius:14px;padding:10px 12px;font:12px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;max-height:34vh;overflow:auto;box-shadow:0 8px 30px rgba(0,0,0,.28)}
#audioDiag strong{display:block;font-size:13px;margin-bottom:4px}
#audioDiag .diag-ok{color:#9ef0b3}.diag-err{color:#ffb0b0}.diag-info{color:#cfe6ff}
#audioDiag button{float:right;border:0;border-radius:8px;padding:3px 8px;font-size:11px}
