:root{--green:#287e63;--green-dark:#1f614d;--mint:#eaf5ef;--ink:#253a34;--muted:#73817d;--line:#e4eae7;--bg:#f4f7f6;--white:#fff;--violet:#7766aa;--violet-bg:#f3f0fa;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-synthesis:none}
html{scroll-padding-bottom:120px;scroll-padding-top:24px}button{scroll-margin-block:100px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:16px;line-height:1.6}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8cbba9;outline-offset:4px}[hidden]{display:none!important}h1,h2,h3,h4,p{margin:0}button{border:0;background:none}svg{width:20px;height:20px;display:block;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}span[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.app-header{height:82px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 34px;position:relative;z-index:10}.brand{display:flex;gap:12px;align-items:center;font-weight:700;font-size:17px;letter-spacing:.02em;flex-shrink:0}.brand-icon{width:42px;height:42px;border-radius:13px;background:var(--green);color:white}.brand-icon svg{width:25px;height:25px}.brand-sub{font-size:13px;display:block;color:var(--muted);font-weight:400;letter-spacing:.08em;margin-top:0}.view-switch{display:flex;align-items:center;gap:4px;background:#f3f5f4;border:1px solid #edf0ee;border-radius:12px;padding:5px}.view-switch a{display:flex;align-items:center;gap:7px;padding:8px 16px;border-radius:8px;font-size:14px;color:#65746e;white-space:nowrap;font-weight:500}.view-switch a.active{background:white;color:var(--green);box-shadow:0 2px 6px #233b2c0c;font-weight:700}.view-switch a span{font-size:11px;border:1px solid #d3dfd8;border-radius:4px;width:18px;height:18px;display:grid;place-items:center}.view-switch a.active span{background:var(--green);border-color:var(--green);color:white}.mock-tag{border:1px solid var(--line);color:var(--muted);font-size:12px;padding:5px 11px;border-radius:6px;letter-spacing:.04em}
.app-layout{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:calc(100vh - 82px)}.sidebar{background:white;border-right:1px solid var(--line);padding:32px 18px;position:relative;display:flex;flex-direction:column}.book-info{padding:0 8px 28px;border-bottom:1px solid var(--line)}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:700;color:#82958c}.book-info h2{font-size:21px;letter-spacing:.02em;margin:6px 0}.book-info p{font-size:12px;color:var(--muted)}.side-label{font-size:11px;color:#8a9690;margin:27px 10px 14px;letter-spacing:.03em}.unit-heading{margin:0 10px 20px}.unit-heading>span{color:var(--green);font-size:11px;font-weight:800;letter-spacing:.08em}.unit-heading h3{font-size:17px;font-weight:650;margin:4px 0}.unit-heading p{font-size:13px;color:var(--muted)}.lesson-menu{display:flex;flex-direction:column;gap:7px}.lesson-item{display:flex;text-align:left;align-items:center;gap:10px;padding:13px 10px;border-radius:9px;width:100%}.lesson-dot{width:7px;height:7px;border:1.5px solid #b7c1bb;border-radius:50%;flex-shrink:0}.lesson-item.active{background:var(--mint)}.lesson-item.active .lesson-dot{border-color:var(--green);background:var(--green);box-shadow:0 0 0 3px #287e6310}.lesson-item b{font-size:14px;display:block;font-weight:650}.lesson-item small{font-size:11px;color:var(--muted);display:block;margin-top:2px}.lesson-live{font-size:10px;color:var(--green);margin-left:auto;white-space:nowrap}.upcoming{color:#83918b;opacity:.75}.side-note{display:flex;align-items:center;gap:12px;margin:60px 10px 40px;color:var(--green)}.side-note>span{width:35px;height:35px;background:var(--mint);border-radius:11px}.side-note p{font-size:13px;line-height:1.8;color:#6f857a}.side-bottom{display:flex;gap:6px;align-items:center;color:#929c96;font-size:10px;margin-top:auto;padding:20px 5px 0}.side-bottom svg{width:14px;height:14px}
.workspace{padding:31px 36px 128px;max-width:1550px;width:100%;margin:0 auto}.lesson-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.breadcrumb{font-size:12px;color:var(--muted);margin-bottom:8px}.breadcrumb span{color:#b5bfb9;margin:0 9px}.lesson-heading h1{font-size:32px;line-height:1.3;letter-spacing:-.025em;font-weight:750;display:flex;gap:12px;align-items:center}.heading-page{color:#75847c;font-size:12px;letter-spacing:0;font-weight:450;border:1px solid #dbe3de;padding:2px 8px;border-radius:5px}.lesson-desc{font-size:14px;color:var(--muted);margin-top:8px}.today{display:flex;align-items:center;gap:11px;padding:10px 15px;border:1px solid var(--line);background:#ffffff80;border-radius:10px;flex-shrink:0}.today>span:first-child{color:#c19345}.today span:last-child{font-size:11px;color:#87938b}.today b{font-size:13px;font-weight:550;display:block;color:#566c60}.lesson-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:12px}.mode-caption{display:flex;align-items:center;gap:7px;font-size:13px;color:#667e70}.mode-caption svg{width:17px;height:17px}.toolbar-options{display:flex;align-items:center;gap:18px;font-size:12px;color:var(--muted)}.translation-control{display:flex;align-items:center;gap:7px;cursor:pointer}.translation-control input{position:absolute;opacity:0;width:30px;height:18px}.toggle-track{width:28px;height:17px;border-radius:20px;background:#c7d3cc;position:relative}.toggle-track:before{content:"";position:absolute;background:white;width:13px;height:13px;top:2px;left:2px;border-radius:50%;transition:transform .2s}.translation-control input:checked+.toggle-track{background:var(--green)}.translation-control input:checked+.toggle-track:before{transform:translateX(11px)}.translation-control input:focus-visible+.toggle-track{outline:3px solid #8cbba9;outline-offset:3px}.speed-control{display:flex;align-items:center;gap:7px}.speed-control select{font-size:12px;border:1px solid var(--line);background:white;border-radius:6px;padding:5px 25px 5px 9px;color:#586c61;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23657c70' stroke-width='1.4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;cursor:pointer}.learning-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.reading-card{border:1px solid var(--line);border-radius:15px;background:white;overflow:hidden;box-shadow:0 4px 20px #213d2c03}.reading-card-head{padding:14px 19px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);height:54px}.reading-card-head>span:first-child{display:flex;align-items:center;gap:7px;white-space:nowrap}.reading-card-head b{font-size:12px;font-weight:600}.status-dot{display:block;width:5px;height:5px;border-radius:50%;background:#71a88c}.reading-hint{color:#929d96;font-size:10px;margin-left:auto}.icon-button{width:31px;height:31px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:#7d8c82}.icon-button:hover{background:var(--mint);color:var(--green)}.icon-button svg{width:17px;height:17px}.book-scroll{padding:12px 20px 0;background:#fff;overflow:auto}.textbook-page{position:relative;width:100%;margin:auto}.textbook-page>img{width:100%;height:auto;display:block}.sentence-hotspot{position:absolute;border-radius:10px;border:1.5px solid transparent;background:transparent;transition:background .15s,border-color .15s;cursor:pointer;z-index:1}.sentence-hotspot:hover{background:#47886310;border-color:#72ac8b85}.sentence-hotspot.is-current{background:#4e9a7210;border-color:#4d997765}.sentence-hotspot.is-speaking{background:#e8c77528;border-color:#d4a243}.word-hotspot{position:absolute;background:transparent;border:0;border-radius:4px;z-index:2;min-height:10px;padding:0;cursor:pointer}.word-hotspot:hover,.word-hotspot.is-selected{background:#f3c35a66;box-shadow:0 0 0 1px #e5b23a55}.word-hotspot:focus-visible{outline:2px solid var(--green);outline-offset:2px}.book-caption{font-size:11px;color:#87978d;display:flex;gap:7px;align-items:center;padding:12px 18px;border-top:1px solid #f0f3f1;background:#fbfcfb}.book-caption svg{width:14px;height:14px}
.coach-column{display:flex;flex-direction:column;gap:17px}.coach-card{border:1px solid var(--line);border-radius:15px;background:white;padding:20px;box-shadow:0 4px 20px #213d2c03}.coach-card-head{display:flex;align-items:center;gap:8px}.coach-symbol{color:var(--green)}.coach-symbol svg{width:18px;height:18px}.coach-card-head h2{font-size:14px;font-weight:650}.small-tag{margin-left:auto;color:#6d8a7a;font-size:10px;background:#f0f5f2;border-radius:4px;padding:2px 5px}.coach-tabs{margin:19px 0 23px;padding:3px;display:flex;background:#f3f6f4;border-radius:8px}.coach-tabs button{width:50%;font-size:12px;padding:6px;border-radius:6px;color:#7d8982}.coach-tabs button[aria-selected=true]{color:var(--green);background:white;font-weight:600;box-shadow:0 1px 4px #163e2510}.word-title{display:flex;align-items:center;justify-content:space-between;gap:5px}.word-title h3{font-size:34px;letter-spacing:-.025em;font-weight:700;overflow-wrap:anywhere;line-height:1.3}.ipa{color:#7b8a81;font-size:14px;font-family:"Segoe UI",Arial,sans-serif}.sound-button{height:41px;width:41px;border-radius:50%;background:var(--mint);color:var(--green);display:grid;place-items:center;flex-shrink:0}.sound-button:hover{background:#dbeee3}.word-meaning{font-size:16px;color:#546b5e;margin-top:13px;margin-bottom:22px}.teach-block{background:#f5f8f6;border:1px solid #ebf0ed;padding:15px;border-radius:10px}.teach-block h4{display:flex;gap:7px;align-items:center;font-size:12px;font-weight:650;color:#52725e}.teach-block h4 svg{width:15px;height:15px}.syllables{display:flex;align-items:center;gap:5px;margin:13px 0 10px;flex-wrap:wrap}.syllable{font-size:20px;font-weight:500;letter-spacing:.02em;display:flex;flex-direction:column;padding:0 9px;text-align:center}.syllable:first-child{padding-left:0}.syllable.stress{color:var(--green);font-weight:800}.syllable small{font-size:10px;color:#94a097;font-weight:400;letter-spacing:0;margin-top:0}.syllable-divider{font-size:18px;color:#b6c7bc}.teach-block p{font-size:12px;color:#74867a;line-height:1.9}.soft-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d6e5dc;background:white;color:var(--green);font-size:12px;font-weight:500;padding:7px 10px;border-radius:7px;margin-top:12px}.soft-button:hover{background:var(--mint)}.soft-button svg{width:14px;height:14px}.usage-block{margin:20px 0}.usage-block h4{font-size:11px;color:#8c9990;font-weight:450;margin-bottom:8px}.usage-block>p:first-of-type{font-size:16px;line-height:1.65;color:#48614f}.usage-block mark{background:#fff0c3;color:#927024;padding:0 3px;border-radius:3px}.usage-block .translation{font-size:12px;color:#8c9890;margin-top:3px}.save-word{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;width:100%;padding:10px;border-top:1px solid var(--line);color:#829086}.save-word svg{width:15px;height:15px}.save-word[aria-pressed=true]{color:var(--green)}.practice-card{border:1px solid #e8e2f1;border-radius:13px;background:#f6f3fb;padding:18px 19px}.practice-heading{display:flex;align-items:center;gap:8px;color:var(--violet)}.practice-heading h3{font-size:13px;font-weight:650}.practice-heading svg{width:17px;height:17px}.practice-card>p{font-size:11px;color:#9084a4;margin:8px 0 12px}.practice-card>button{width:100%;border:1px solid #dcd3ec;background:white;color:var(--violet);border-radius:8px;display:flex;gap:7px;align-items:center;justify-content:center;padding:9px;font-size:12px;font-weight:600}.practice-card>button:hover{background:#eeE8f8}.practice-card>button svg{width:14px;height:14px}.practice-card>p.practice-note{font-size:10px;margin:10px 0 0;text-align:center;min-height:16px}.saved-summary{display:flex;align-items:center;gap:6px;color:#7f9084;font-size:12px;position:relative;padding:0 5px}.saved-summary svg{width:15px;height:15px}.saved-summary button{padding:0;color:inherit;font-size:12px}.saved-summary b{font-weight:600;font-size:10px;padding:1px 6px;background:#e8eeea;border-radius:4px;margin-left:4px}#saved-list{position:absolute;top:30px;left:0;right:0;background:white;box-shadow:0 5px 20px #173d2820;border:1px solid var(--line);padding:12px;border-radius:8px;z-index:5}#saved-list button{display:block;width:100%;padding:7px 4px;text-align:left;color:var(--green)}.sentence-detail{font-size:25px;font-weight:650;line-height:1.5;letter-spacing:-.02em}.sentence-translation{font-size:14px;color:#798e80;margin:12px 0 20px}.sentence-actions{display:flex;gap:10px}.sentence-actions .soft-button{flex:1}
.text-reading{padding:28px 31px 18px}.section-kicker{font-size:9px;letter-spacing:.14em;font-weight:700;color:#89a394}.text-intro h2{font-size:19px;line-height:1.5;margin-top:8px;font-weight:600}.text-intro>p{font-size:12px;color:#8da093;margin-top:4px}.intro-line{height:1px;background:var(--line);margin:22px 0 10px}.dialogue{position:relative;padding:16px 8px 16px 0;border-bottom:1px solid #edf1ee;transition:background .2s}.dialogue.is-current{background:#eff7f2;border-radius:10px;border-bottom-color:transparent;padding:16px 12px;margin:0 -12px}.dialogue.is-current+.dialogue{border-top:0}.dialogue-top{display:flex;gap:7px;align-items:center;margin-bottom:6px}.speaker-avatar{width:21px;height:21px;border-radius:7px;background:#eaf0f8;color:#7391b4;font-size:10px;display:grid;place-items:center;font-weight:600}.dialogue[data-speaker=b] .speaker-avatar{background:#f8e9e5;color:#bd9587}.speaker-name{font-size:10px;color:#8c9b90}.line-number{font-size:9px;color:#b0bcb4;margin-left:auto}.sentence-audio{width:27px;height:27px;padding:5px;border-radius:50%;color:#96ac9d;display:grid;place-items:center}.sentence-audio:hover{background:#e0eee5;color:var(--green)}.sentence-audio svg{width:16px;height:16px}.dialogue.is-current .sentence-audio{color:var(--green);background:#dbeee2}.sentence-words{font-family:Arial,"Segoe UI",sans-serif;font-size:25px;line-height:1.85;font-weight:500;letter-spacing:-.025em}.word-button{font:inherit;letter-spacing:inherit;display:inline;padding:0 1px;margin:0;border-radius:4px;box-decoration-break:clone;-webkit-box-decoration-break:clone;color:inherit}.word-button:hover{background:#e5efe9;color:var(--green)}.word-button.is-selected{background:#fce9b4;color:#765b28;box-shadow:0 2px 0 #e6c779}.dialogue .translation{font-size:12px;color:#8b9b90;line-height:1.8;margin-top:7px}.reading-end{font-size:11px;color:#9aada0;display:flex;align-items:center;justify-content:center;gap:7px;padding:26px 0 8px}.reading-end svg{width:17px;height:17px}.lesson-progress{display:flex;justify-content:center;gap:35px;align-items:center;margin:25px 0 0;color:#8b9b90;font-size:11px}.lesson-progress>div{display:flex;align-items:center;gap:6px}.lesson-progress svg{width:13px;height:13px;color:#92ab9c}.lesson-progress small{font-size:10px;color:#a6b3aa;padding-left:3px}
.player{position:fixed;bottom:0;left:224px;right:0;background:#ffffffed;backdrop-filter:blur(18px);border-top:1px solid var(--line);min-height:88px;display:flex;gap:22px;align-items:center;justify-content:space-between;padding:15px 35px;z-index:20}.player-now{display:flex;align-items:center;gap:13px;min-width:0;flex:1}.player-now>span:last-child{min-width:0}.player-now b{display:block;font-size:12px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}.player-now small{font-size:10px;color:#97a299;display:block;margin-top:2px}.equalizer{display:flex;align-items:center;justify-content:center;gap:3px;background:#eef5f0;width:39px;height:39px;border-radius:11px;flex-shrink:0}.equalizer i{display:block;width:3px;border-radius:3px;background:#6ba185;height:11px}.equalizer i:nth-child(2){height:20px}.equalizer i:nth-child(3){height:15px}.equalizer i:nth-child(4){height:8px}.equalizer.running i{animation:wave 1s ease-in-out infinite alternate}.equalizer.running i:nth-child(2){animation-delay:.3s}.equalizer.running i:nth-child(3){animation-delay:.6s}@keyframes wave{to{height:6px;opacity:.4}}.transport{display:flex;align-items:center;gap:12px;justify-content:center}.primary-play{display:flex;gap:9px;align-items:center;justify-content:center;background:var(--green);color:white;border-radius:11px;padding:12px 25px;font-size:14px;font-weight:600;min-width:147px;box-shadow:0 3px 7px #287e631a}.primary-play:hover{background:var(--green-dark)}.primary-play svg{width:17px;height:17px;fill:currentColor;stroke-width:1.5}.player-extra{display:flex;align-items:flex-end;flex-direction:column;gap:4px;flex:1}.player-extra button{display:flex;gap:7px;align-items:center;font-size:12px;color:#6c8575;padding:3px}.player-extra svg{width:15px;height:15px}.player-extra small{font-size:9px;color:#a0ada4}.stop{color:#9aada1}.toast{position:fixed;bottom:108px;left:50%;transform:translateX(-50%);padding:11px 19px;background:#264536;color:white;border:1px solid #ffffff20;border-radius:10px;font-size:13px;box-shadow:0 6px 30px #173c2420;z-index:100;max-width:90%;text-align:center}.no-translation .translation{display:none}
#zoom-dialog{border:0;border-radius:15px;padding:0;width:min(950px,94vw);height:94vh;max-height:94vh;box-shadow:0 20px 80px #132f2850}#zoom-dialog::backdrop{background:#16362b90;backdrop-filter:blur(5px)}.zoom-header{display:flex;justify-content:space-between;align-items:center;padding:10px 20px;border-bottom:1px solid var(--line)}.zoom-header b{font-size:14px}.zoom-body{height:calc(100% - 53px);overflow:auto;padding:15px}.zoom-body .textbook-page{max-width:850px}.zoom-body .sentence-hotspot{border-radius:15px}
#compare-view{max-width:1600px;margin:auto;padding:36px 45px}.comparison-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.comparison-heading .eyebrow{font-size:10px;color:#86a08f}.comparison-heading h1{font-size:30px;letter-spacing:-.025em;margin-top:7px}.comparison-heading p{font-size:13px;color:#8b9c90;margin-top:7px}.comparison-badge{font-size:12px;color:var(--green);background:var(--mint);border:1px solid #d9e9df;padding:9px 15px;border-radius:8px;white-space:nowrap}.comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.comparison-grid>section{min-width:0}.comparison-label{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 20px;background:white;border:1px solid var(--line);border-radius:13px 13px 0 0}.comparison-label>div{display:flex;gap:13px;align-items:center}.comparison-label>div>span{font-weight:650;background:var(--mint);color:var(--green);width:35px;height:35px;border-radius:10px;display:grid;place-items:center}.comparison-grid>section:nth-child(2) .comparison-label>div>span{color:var(--violet);background:var(--violet-bg)}.comparison-label h2{font-size:15px;font-weight:650}.comparison-label h2 small{display:block;font-size:11px;font-weight:400;color:#8c9e91;margin-top:3px}.comparison-label>a{font-size:12px;color:var(--green);padding:5px 10px;border:1px solid #dde8e1;border-radius:6px;white-space:nowrap}.comparison-grid iframe{width:100%;height:840px;border:1px solid var(--line);border-top:0;border-radius:0 0 13px 13px;display:block;background:#fff}.comparison-note{font-size:12px;color:#8b9c90;text-align:center;margin:12px 0}.comparison-footer{text-align:center;font-size:10px;color:#a5b1a8;margin:25px 0}
body.embedded .app-header,body.embedded .sidebar,body.embedded .today,body.embedded .lesson-progress{display:none}body.embedded .app-layout{display:block;min-height:100vh}body.embedded .workspace{padding:24px 23px 105px}body.embedded .lesson-heading{margin-bottom:18px}body.embedded .lesson-heading h1{font-size:27px}body.embedded .lesson-desc{font-size:12px}body.embedded .player{left:0;padding:12px 20px;min-height:78px}body.embedded .player-now,body.embedded .player-extra{display:none}body.embedded .transport{margin:auto}body.embedded .learning-grid{grid-template-columns:minmax(0,1fr) 220px;gap:12px}body.embedded .coach-card{padding:15px}body.embedded .coach-card-head h2{font-size:12px}body.embedded .coach-card-head .small-tag{display:none}body.embedded .word-title h3{font-size:29px}body.embedded .book-scroll{padding:8px 5px 0}body.embedded .reading-hint{display:none}body.embedded .text-reading{padding:20px 18px}body.embedded .sentence-words{font-size:23px}body.embedded .reading-card-head{padding:10px 12px}body.embedded .book-caption{font-size:10px;padding:11px}body.embedded .lesson-toolbar{font-size:11px}body.embedded .mode-caption{font-size:11px}body.embedded .toolbar-options{gap:9px}body.embedded .translation-control{gap:5px}body.embedded .speed-control{gap:4px}
@media(min-width:1650px){.workspace{padding-left:55px;padding-right:55px}.learning-grid{grid-template-columns:minmax(0,1fr) 330px;gap:28px}.text-reading{padding:35px 45px}.sentence-words{font-size:29px}}
@media(max-width:1250px){.sidebar{padding:25px 12px}.app-layout{grid-template-columns:200px minmax(0,1fr)}.workspace{padding:25px 24px 120px}.player{left:200px;padding:14px 24px;gap:14px}.learning-grid{grid-template-columns:minmax(0,1fr) 270px;gap:17px}.coach-card{padding:18px}.reading-hint{display:none}.player-now b{max-width:170px}.player-extra{flex:.7}.player-extra small{font-size:8px}.primary-play{min-width:135px;padding:11px 18px}.transport{gap:8px}.book-scroll{padding:8px 10px 0}.text-reading{padding:22px}.sentence-words{font-size:24px}.today{padding:8px 11px}.today b{font-size:12px}.comparison-grid iframe{height:1050px}}
@media(max-width:1000px){.app-header{padding:0 22px}.mock-tag{display:none}.app-layout{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:25px 9px}.book-info h2{font-size:19px}.unit-heading h3{font-size:15px}.lesson-live{display:none}.workspace{padding:24px 20px 120px}.today{display:none}.learning-grid{grid-template-columns:minmax(0,1fr) 240px;gap:13px}.coach-card{padding:15px}.coach-card-head{gap:5px}.coach-card-head h2{font-size:12px}.coach-card-head .small-tag{display:none}.word-title h3{font-size:29px}.player{left:180px;padding:15px 20px}.player-now{display:none}.player-extra{flex:0 0 auto}.transport{flex:1}.book-caption{font-size:10px}.lesson-progress{gap:18px}.lesson-progress small{display:none}.text-reading{padding:20px 16px}.sentence-words{font-size:24px}.text-intro h2{font-size:18px}.comparison-heading{display:block}.comparison-badge{display:inline-block;margin-top:16px}.comparison-grid{gap:18px}#compare-view{padding:25px}.comparison-label{padding:13px}.comparison-label h2 small{font-size:10px}.comparison-label>a{padding:5px}.comparison-grid iframe{height:1200px}body.embedded .learning-grid{grid-template-columns:1fr}body.embedded .coach-column{display:grid;grid-template-columns:1fr;gap:12px}body.embedded .coach-card{padding:18px}body.embedded .coach-card-head .small-tag{display:inline}body.embedded .book-scroll{padding:8px 12px 0}body.embedded .practice-card,body.embedded .saved-summary{display:none}}
@media(max-width:760px){.app-header{height:auto;min-height:110px;flex-wrap:wrap;justify-content:center;padding:16px 16px 12px;gap:12px}.brand{font-size:15px;margin-right:auto}.brand-icon{width:34px;height:34px;border-radius:10px}.brand-sub{font-size:11px}.view-switch{width:100%;justify-content:center}.view-switch a{font-size:12px;padding:7px 15px;flex:1;justify-content:center}.app-layout{display:block}.sidebar{display:none}.workspace{padding:22px 17px 116px}.lesson-heading{margin-bottom:20px}.lesson-heading h1{font-size:29px}.breadcrumb{font-size:11px}.breadcrumb span{margin:0 7px}.lesson-desc{font-size:12px}.mode-caption{font-size:11px;gap:4px}.toolbar-options{font-size:11px;gap:10px}.speed-control{gap:5px}.speed-control select{font-size:11px}.learning-grid{grid-template-columns:1fr;gap:16px}.reading-hint{display:inline;font-size:10px}.book-scroll{padding:8px 13px 0}.reading-card-head{padding:11px 14px}.reading-card{border-radius:12px}.coach-column{display:grid;grid-template-columns:1fr;gap:14px}.coach-card{padding:23px}.coach-card-head h2{font-size:15px}.coach-card-head .small-tag{display:inline}.word-title h3{font-size:36px}.word-title .sound-button{height:45px;width:45px}.teach-block p{font-size:14px}.teach-block h4{font-size:13px}.syllable{font-size:24px}.syllable small{font-size:11px}.word-meaning{font-size:17px}.soft-button{font-size:13px;padding:9px 12px}.usage-block>p:first-of-type{font-size:19px}.usage-block .translation{font-size:14px}.coach-tabs button{font-size:14px}.save-word{font-size:14px;padding-top:14px}.practice-card>p{font-size:13px}.practice-card>button{font-size:14px}.practice-card>p.practice-note{font-size:11px}.saved-summary button{font-size:14px}.player{left:0;min-height:86px;padding:14px 16px}.player-extra{display:none}.transport{justify-content:center;gap:20px}.primary-play{min-width:158px;padding:12px 22px}.lesson-progress{gap:14px;flex-wrap:wrap}.lesson-progress>div{font-size:10px}.text-reading{padding:25px 23px}.text-intro h2{font-size:21px}.sentence-words{font-size:28px;line-height:1.85}.dialogue .translation{font-size:14px}.speaker-name{font-size:11px}.speaker-avatar{width:24px;height:24px}.sentence-audio{width:33px;height:33px}.dialogue{padding:20px 3px 20px 0}.dialogue.is-current{padding:20px 12px}.reading-end{font-size:11px}.toast{bottom:100px}.comparison-heading h1{font-size:26px}.comparison-heading p{font-size:12px}.comparison-grid{grid-template-columns:1fr}.comparison-grid iframe{height:920px}.comparison-grid>section{margin-bottom:15px}.comparison-label h2 small{font-size:11px}.comparison-label>a{padding:6px 10px}#compare-view{padding:23px 16px}.comparison-note{font-size:11px}.comparison-footer{line-height:1.8}body.embedded .workspace{padding:20px 16px 100px}body.embedded .learning-grid{grid-template-columns:1fr}body.embedded .book-scroll{padding:8px 10px 0}body.embedded .coach-card{padding:20px}body.embedded .practice-card,body.embedded .saved-summary{display:none}body.embedded .sentence-words{font-size:25px}body.embedded .text-reading{padding:22px}body.embedded .reading-end{font-size:10px}body.embedded .toolbar-options{font-size:10px}body.embedded .toolbar-options select{font-size:10px}body.embedded .mode-caption{font-size:10px}.no-translation .translation{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.voice-control{display:flex;gap:6px;align-items:center}.voice-control select{max-width:145px;border:1px solid var(--line);border-radius:7px;font-size:12px;padding:5px 7px;color:#657f6b;background:white}.pet-accessory{position:absolute;z-index:3;font-size:34px;bottom:18px;right:calc(50% - 71px);line-height:1}.pet-accessory.pet-look-2{bottom:37px;right:calc(50% - 48px);font-size:26px}.pet-accessory.pet-look-3{bottom:auto;top:19px;right:calc(50% - 35px);font-size:48px}.pet-accessory.pet-look-4{bottom:22px;right:calc(50% - 33px);font-size:45px}.pet-accessory.pet-look-5{top:3px;bottom:auto;right:calc(50% - 33px);font-size:50px}.pet-evolution{display:flex;justify-content:center;gap:14px;margin:17px 0 8px}.pet-evolution>span{display:flex;flex-direction:column;align-items:center;opacity:.25;filter:grayscale(1);gap:3px}.pet-evolution>span.unlocked{opacity:1;filter:none}.pet-evolution b{font-size:25px;font-weight:400}.pet-evolution small{font-size:10px;color:#9d9e89}.pet-next-look{font-size:12px;color:#a49778;margin-top:8px}.game-entry:hover,.pet-entry:hover{box-shadow:0 3px 12px #4d544510}
@media(max-width:1000px){.lesson-toolbar{flex-wrap:wrap}.toolbar-options{margin-left:auto}.voice-control select{max-width:120px}}
@media(max-width:760px){.mode-caption{width:100%;padding-bottom:3px}.toolbar-options{width:100%;justify-content:space-between;gap:8px}.voice-control{font-size:11px}.voice-control select{font-size:11px;max-width:125px}.lesson-heading{margin-bottom:16px}.pet-evolution{gap:12px}.pet-evolution b{font-size:23px}.pet-next-look{font-size:11px}}
.translation-control{position:relative}.translation-control input{inset:0;width:100%;height:100%;z-index:1;cursor:pointer;margin:0}.toggle-track{pointer-events:none}.close-coach{display:none}#coach-backdrop{display:none}
@media(min-width:560px){body.embedded .learning-grid{grid-template-columns:minmax(0,1fr) 220px;gap:12px}body.embedded .coach-column{display:flex}body.embedded .coach-card{padding:15px}body.embedded .text-reading{padding:20px 17px}body.embedded .sentence-words{font-size:22px}body.embedded .toolbar-options{gap:9px}}
@media(max-width:760px){body.mobile-word .coach-card{position:fixed;left:12px;right:12px;bottom:98px;max-height:calc(100dvh - 185px);overflow:auto;overscroll-behavior:contain;z-index:40;box-shadow:0 0 0 1px #c8dbcf,0 0 50px #193f2935;border-radius:19px;padding:20px 24px}body.mobile-word .close-coach{display:flex;margin-left:3px}body.mobile-word #coach-backdrop{display:block;position:fixed;inset:0;background:#173c292e;backdrop-filter:blur(1px);z-index:35}body.mobile-word .coach-tabs{margin:13px 0 17px}body.mobile-word .word-meaning{margin:8px 0 15px}body.mobile-word .usage-block{margin:15px 0}body.mobile-word .teach-block{padding:13px 15px}body.mobile-word .player{z-index:45}}

/* Both reading modes share the same controls, progress and recording assessment. */
.parent-settings{font-size:14px;color:#72877a;border:1px solid var(--line);border-radius:8px;padding:7px 12px;white-space:nowrap}
.choose-view{max-width:960px;margin:0 auto;text-align:center;padding:65px 30px 60px}.choose-view>.eyebrow{font-size:12px;letter-spacing:.2em;color:#78a18b}.choose-view>h1{font-size:38px;letter-spacing:-.03em;margin:12px 0}.choose-view>p{font-size:16px;color:#819287}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;text-align:left;margin:38px 0 26px}.choice-card{position:relative;padding:35px 38px;border:1px solid #dce9e1;border-radius:24px;background:white;transition:transform .2s,box-shadow .2s}.choice-card:hover{transform:translateY(-5px);box-shadow:0 15px 40px #274e2e0d}.choice-card>span[data-icon]{height:64px;width:64px;color:var(--green);background:var(--mint);border-radius:20px;margin-bottom:20px}.choice-card>span[data-icon] svg{height:34px;width:34px}.choice-card h2{font-size:28px;font-weight:700}.choice-card p{font-size:17px;color:#7c9283;margin:13px 0 30px;line-height:1.9}.choice-card>b{display:block;color:white;background:var(--green);padding:12px 19px;border-radius:10px;text-align:center;font-size:16px;font-weight:550}.choice-letter{position:absolute;top:30px;right:34px;font-size:38px;color:#dce9e2;font-weight:750}.choice-text{border-color:#e4dfef}.choice-text>span[data-icon]{color:var(--violet);background:var(--violet-bg)}.choice-text>b{background:var(--violet)}.choice-text .choice-letter{color:#e5e0f1}.continue-last{display:inline-block;color:var(--green);font-size:15px;padding:9px 20px;border-bottom:1px solid #cdded2}.choose-view>p.choice-footer{font-size:13px;color:#98a59c;line-height:1.9;margin-top:24px}.footer-speed{display:flex;align-items:center;gap:7px;flex-shrink:0}.footer-speed label{font-size:13px;color:#6b8373}.footer-speed select{border:1px solid #d8e5dc;background:#f4f8f5;border-radius:8px;padding:8px 23px 8px 8px;font-size:14px;color:var(--green);appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23657c70' stroke-width='1.4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 7px center}.dialogue[data-kind=heading]{padding:22px 0 15px}.dialogue[data-kind=heading] .sentence-words{font-size:22px;font-weight:700}.dialogue[data-kind=heading] .speaker-name{font-size:11px;letter-spacing:.06em;color:#8aa794}.dialogue[data-kind=heading][data-group=draw]{margin-top:20px;border-top:2px solid #e3ece5}.dialogue[data-kind=heading] .translation{font-size:13px}.load-error{padding:16px;border:1px solid #edd6b5;background:#fff6e7;border-radius:10px;color:#8f6634;font-size:15px;margin-bottom:20px}
.record-dialog,.settings-dialog{padding:0;border:1px solid #e0e9e1;border-radius:22px;width:min(760px,calc(100vw - 24px));max-height:92dvh;color:var(--ink);box-shadow:0 24px 100px #143b3840;background:white}.record-dialog::backdrop,.settings-dialog::backdrop{background:#18392c88;backdrop-filter:blur(5px)}.record-header{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:20px 28px;border-bottom:1px solid var(--line);background:white;z-index:2}.record-header h2{font-size:21px;margin-top:3px}.record-header .eyebrow{font-size:10px}.record-content{padding:24px 32px}.record-steps{display:flex;align-items:center;justify-content:center;gap:25px;color:#91a397;font-size:13px;margin-bottom:22px}.record-steps>span{padding-bottom:5px;border-bottom:2px solid #e3eee7}.record-reference{font-size:32px;font-weight:650;line-height:1.6;letter-spacing:-.025em;text-align:center;padding:12px 12px 0}.record-translation{font-size:16px;color:#8b9d90;text-align:center;margin:8px 0 26px}.record-buttons{display:flex;justify-content:center;align-items:center;gap:14px}.record-buttons .soft-button{margin-top:0;font-size:14px;height:45px;padding:10px 18px}.record-main{display:flex;align-items:center;justify-content:center;gap:9px;background:var(--violet);border:1px solid #7564a9;color:white;padding:11px 22px;border-radius:10px;min-height:45px;font-size:15px;min-width:154px}.record-main.recording{background:#b65e52;border-color:#b65e52}.record-main svg{width:19px;height:19px}.record-meter{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:22px;color:#a0655c;font-size:13px;flex-wrap:wrap}.record-dot{width:7px;height:7px;border-radius:50%;background:#b65e52;animation:pulse 1s infinite alternate}.record-meter small{font-size:12px;color:#9ca59d}.level-track{height:7px;width:100px;background:#edf1ed;border-radius:5px;overflow:hidden}.level-track span{display:block;height:100%;width:0;background:#80ad92;transition:width .1s}.record-status{font-size:14px;line-height:1.85;color:#798f7e;text-align:center;margin:19px 0;min-height:26px}.record-replay{display:grid;grid-template-columns:1fr auto;gap:12px;background:#f7f9f7;border:1px solid var(--line);padding:18px;border-radius:12px}.record-replay>label{font-size:13px;color:#7e9586;grid-column:1/-1}.record-replay audio{width:100%;grid-column:1/-1;height:43px}.assess-button{background:var(--green);color:white;padding:11px 17px;border-radius:9px;font-size:15px}.assess-button:disabled{background:#afbeb4;color:white;opacity:1}.text-button{font-size:14px;color:#839689;padding:10px}.assessment-availability{font-size:13px;color:#96a497;line-height:1.8;text-align:center;margin-top:15px}.assessment-result{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.result-heading{display:flex;gap:10px;align-items:center;justify-content:space-between}.result-heading h3{font-size:17px;font-weight:650}.result-heading>span{font-size:11px;color:#95a59b;white-space:nowrap}.score-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.score-grid>div{padding:13px;border:1px solid #e2ede5;background:#f4f8f5;border-radius:11px;text-align:center}.score-grid b{font-size:30px;color:var(--green);display:block;font-weight:700}.score-grid span{font-size:12px;color:#8ca393}.word-result-label{font-size:13px;color:#8c9e92;margin-bottom:12px}.assessment-words{display:flex;flex-wrap:wrap;gap:8px}.assessed-word{border:1px solid #d5e6d9;background:#eef6f0;color:#4d8460;padding:8px 12px;border-radius:8px;font-size:18px;line-height:1.4}.assessed-word small{font-size:10px;display:block;margin-top:4px;opacity:.8}.assessed-word.practice{background:#fff7df;border-color:#efddb0;color:#a07e3c}.assessed-word.omitted{background:#fff0e9;border-color:#eed1c0;color:#ad785a}.word-feedback{margin-top:15px;background:#f5f8f5;border:1px solid #e2ebe4;border-radius:10px;padding:15px}.word-feedback>b{font-size:17px;color:#678c73}.word-feedback p{font-size:14px;line-height:1.9;color:#819486;margin-top:7px}.score-footnote,.record-privacy{font-size:11px;color:#a3afa6;line-height:1.8;text-align:center;margin-top:18px}.record-bottom{position:sticky;bottom:0;background:white;border-top:1px solid var(--line);padding:14px 28px;display:flex;justify-content:space-between;align-items:center}.record-bottom>span{font-size:13px;color:#8fa294}.record-bottom .soft-button{margin:0;font-size:13px}.settings-dialog{width:min(650px,calc(100vw - 24px))}.settings-content{padding:25px 30px}.settings-content>p{font-size:15px;line-height:1.9;color:#809286;margin-bottom:20px}.settings-content .service-status{padding:13px 16px;border:1px solid #eedfbc;border-radius:10px;background:#fff9ea;color:#a68a51;font-size:14px}.settings-content .service-status.ready{background:#edf7ef;border-color:#d9e9da;color:#5c8967}.settings-content details{font-size:14px;color:#778d7e;line-height:1.9}.settings-content summary{font-size:15px;color:#4e775c;font-weight:600;cursor:pointer}.settings-content ol{padding-left:20px}.settings-content li{margin:12px 0}.settings-content code{font-size:12px;white-space:normal;overflow-wrap:anywhere;padding:2px 5px;background:#f0f4f1;border-radius:4px}.settings-content a{color:var(--green);text-decoration:underline;text-underline-offset:3px}body.embedded .footer-speed label{display:none}body.embedded .footer-speed select{font-size:12px}body.embedded .player .transport{margin:0;gap:8px}body.embedded .player{justify-content:center}body.embedded .record-dialog .record-content{padding:20px 17px}
@keyframes pulse{to{opacity:.35}}
@media(max-width:760px){.app-header{position:relative;padding-top:14px}.parent-settings{position:absolute;right:16px;top:18px;font-size:11px;padding:5px 9px}.view-switch{gap:1px}.view-switch a{font-size:11px;padding:7px 5px;gap:4px}.view-switch a span{height:16px;width:16px;font-size:9px}.choose-view{padding:38px 20px}.choose-view>h1{font-size:29px}.choose-view>p{font-size:13px}.choice-grid{gap:14px;margin:28px 0 20px}.choice-card{padding:23px 18px;border-radius:17px}.choice-card h2{font-size:20px}.choice-card p{font-size:14px;margin:10px 0 23px}.choice-card>span[data-icon]{height:47px;width:47px;border-radius:15px;margin-bottom:16px}.choice-card>span[data-icon] svg{height:27px;width:27px}.choice-letter{right:18px;top:18px;font-size:26px}.choice-card>b{font-size:12px;padding:10px 7px}.choose-view>p.choice-footer{font-size:12px}.continue-last{font-size:14px}.player{padding:12px;gap:7px}.transport{gap:5px;flex:1}.primary-play{min-width:120px;padding:12px 14px;font-size:13px}.footer-speed{gap:0}.footer-speed label{display:none}.footer-speed select{padding:9px 20px 9px 7px;font-size:12px;border-radius:7px}.player .icon-button{width:28px}.player .stop{width:25px}.record-header{padding:15px 20px}.record-header h2{font-size:19px}.record-content{padding:20px}.record-reference{font-size:26px;padding:5px 0 0}.record-translation{font-size:14px;margin:8px 0 23px}.record-buttons{gap:10px}.record-buttons .soft-button{font-size:13px;padding:8px 12px}.record-main{font-size:14px;min-width:139px;padding:10px 15px}.record-steps{font-size:11px;gap:18px;margin-bottom:20px}.record-meter small{width:100%;text-align:center;margin-top:5px}.record-status{font-size:13px}.record-replay{padding:13px;gap:9px}.assess-button{font-size:14px}.text-button{font-size:12px}.assessment-availability{font-size:12px}.result-heading{display:block}.result-heading h3{font-size:16px}.result-heading>span{display:block;margin-top:5px}.score-grid{gap:9px;margin:15px 0}.score-grid b{font-size:26px}.score-grid>div{padding:10px}.assessed-word{font-size:16px;padding:7px 10px}.word-feedback p{font-size:13px}.record-privacy,.score-footnote{font-size:10px}.record-bottom{padding:12px 20px}.settings-content{padding:21px}.settings-content>p{font-size:14px}.settings-content .service-status{font-size:13px}.settings-content details{font-size:13px}.dialogue[data-kind=heading] .sentence-words{font-size:23px}body.embedded .player{gap:8px}body.embedded .player .primary-play{min-width:110px;font-size:12px}body.embedded .player .transport{gap:4px}}

.lesson-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.lesson-tools>button{display:flex;align-items:center;gap:10px;padding:13px 14px;text-align:left;border:1px solid #dfe9e2;background:#ffffffc0;border-radius:11px;min-width:0}.lesson-tools>button>span[data-icon]{width:32px;height:32px;background:var(--mint);color:var(--green);border-radius:9px}.lesson-tools>button>span:nth-child(2){font-size:14px;font-weight:550;white-space:nowrap}.lesson-tools small{display:block;font-size:11px;color:#93a097;font-weight:400;margin-top:1px}.lesson-tools .game-entry{background:#f6f3fb;border-color:#e5dff0}.lesson-tools .game-entry>span[data-icon]{background:#ece6f6;color:var(--violet)}.entry-stars{margin-left:auto;color:#c6a65a;font-size:14px;white-space:nowrap}.lesson-tools .pet-entry{background:#fffaf0;border-color:#eee3c9}.pet-entry-icon{font-size:29px;line-height:1}.choose-pet{display:inline-flex;gap:15px;align-items:center;color:#957c45;border:1px solid #eadfbe;background:#fffaf0;border-radius:11px;font-size:14px;padding:10px 18px;margin:0 0 15px}.choose-pet>span{font-size:12px;color:#b5a27b}.choose-pet b{font-size:14px;color:#9d8048}.wordbank-dialog,.game-dialog,.pet-dialog{padding:0;border:1px solid #e0e9e1;border-radius:22px;width:min(780px,calc(100vw - 24px));max-height:92dvh;color:var(--ink);background:white;box-shadow:0 24px 100px #143b3840}.wordbank-dialog::backdrop,.game-dialog::backdrop,.pet-dialog::backdrop{background:#18392c88;backdrop-filter:blur(5px)}.wordbank-content{padding:25px 28px}.wordbank-tabs{display:flex;gap:4px;background:#f1f6f2;border-radius:9px;padding:4px;margin-bottom:18px}.wordbank-tabs button{flex:1;padding:8px;font-size:14px;color:#8a9a8e;border-radius:7px}.wordbank-tabs button[aria-pressed=true]{color:var(--green);background:white;box-shadow:0 1px 5px #213b2210}.word-search{display:flex;gap:10px;align-items:center;border:1px solid #dce8df;border-radius:9px;padding:9px 13px;color:#8ca694}.word-search svg{width:17px;height:17px}.word-search input{border:0;background:none;width:100%;font-size:16px;color:#4e6c58;outline:none;min-width:0}.word-search input::placeholder{color:#a3b0a7}.wordbank-tip{font-size:13px;color:#98a79b;margin:12px 0 18px}.wordbank-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.bank-word{padding:18px;border:1px solid #e1eae3;border-radius:12px;background:#fcfdfc}.bank-word-head{display:flex;align-items:center;gap:7px}.bank-word-head h3{font-size:24px;letter-spacing:-.02em;margin-right:auto;overflow-wrap:anywhere}.bank-save{font-size:25px;color:#b1bdaF;padding:0 3px}.bank-save[aria-pressed=true]{color:#cba44d}.bank-ipa{font-size:13px;color:#8ba393}.bank-meaning{font-size:15px;color:#6e8977;margin:11px 0}.bank-word details{border-top:1px solid #ecf1ed;padding-top:9px;font-size:13px;color:#7d9685}.bank-word summary{cursor:pointer;color:#8aa191}.bank-word details p{line-height:1.9;margin-top:8px}.empty-bank{text-align:center;padding:30px 10px;font-size:14px;color:#a0afa2;line-height:1.9}.game-content{padding:25px 30px 30px}.game-stage-tabs{display:flex;gap:9px}.game-stage-tabs button{flex:1;text-align:center;padding:10px 6px;background:#f3f1f9;border:1px solid #ebe5f4;color:#a292b6;border-radius:9px;font-size:13px}.game-stage-tabs button.active{color:var(--violet);border-color:#cfc3e5;background:#ece7f6}.game-stage-tabs button:disabled{opacity:.45}.game-big-stars{font-size:49px;letter-spacing:12px;color:#d4b26c;margin:32px 0 16px;text-align:center}#game-welcome,#game-finish{text-align:center}#game-welcome h3,#game-finish h3{font-size:25px}#game-welcome>p:not(.game-big-stars),#game-finish>p:not(.game-big-stars){font-size:15px;line-height:1.9;color:#90a095;margin:12px 0 25px}.game-primary{border-radius:10px;padding:12px 25px;background:var(--violet);color:white;font-size:15px;min-width:150px}#game-reset{display:block;margin:10px auto 0}.game-question-top{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#9b8eae;margin:25px 0 17px}.game-prompt{text-align:center;font-size:25px;line-height:1.8;font-weight:600;min-height:52px}.game-listen{display:flex;align-items:center;gap:8px;margin:16px auto 24px;background:#eee9f7;color:var(--violet);border-radius:10px;padding:11px 17px;font-size:14px}.game-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0 16px}.game-options>button{border:1px solid #e1dcec;border-radius:11px;padding:16px 12px;background:#faf9fd;font-size:23px;color:#7c6d93;letter-spacing:-.02em}.game-options>button:hover{background:#f1edf8}.game-options>button.wrong-option{border-color:#e6cb9f;background:#fff8eb}.game-options>button:disabled{opacity:.6}.game-feedback{font-size:14px;text-align:center;color:#9c95a6;line-height:1.8;min-height:27px;margin:14px 0}.game-feedback.correct{color:#4b9671;font-weight:600}.game-feedback.retry{color:#bd9457}.game-answer-actions{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:18px}.game-answer-actions .text-button{font-size:13px;color:#aa965e}.spelling-slots{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:22px 0}.spelling-slots button{width:42px;height:49px;border:1px solid #ddd5e9;border-bottom:3px solid #c4b5df;border-radius:8px;background:#fbf9fe;color:var(--violet);font-size:27px}.game-options.letter-options{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:20px 0}.letter-options>button{width:48px;height:49px;padding:5px;font-size:25px}.letter-options>button:disabled{opacity:.2}.pet-dialog{width:min(640px,calc(100vw - 24px))}.pet-content{padding:21px 28px 26px;text-align:center}.pet-wallet{display:flex;justify-content:center;align-items:baseline;gap:8px;color:#a1916f;font-size:13px}.pet-wallet b{font-size:30px;font-weight:750;color:#b19450}.pet-wallet>span{font-size:16px;color:#d1b46c}.pet-egg{font-size:80px;margin:15px 0 5px}#pet-empty h3,#pet-name{font-size:22px;font-weight:650}#pet-empty p,#pet-description{font-size:14px;color:#9daa9c;line-height:1.9;margin-top:6px}.pet-garden{height:165px;background:linear-gradient(180deg,#f0f7f4 0%,#edf6ef 65%,#e1efdf 65%);max-width:360px;margin:18px auto 15px;border-radius:24px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.pet-character{font-size:95px;position:relative;z-index:2;transform-origin:center bottom;line-height:1}.pet-cloud{position:absolute;left:25px;top:8px;font-size:43px;color:white}.pet-flower{position:absolute;right:25px;bottom:15px;font-size:30px;color:#d1b9d1}.pet-shadow{position:absolute;bottom:20px;width:75px;height:13px;background:#b1c5ab50;border-radius:50%;filter:blur(3px)}.pet-happy{animation:happy-pet .45s ease-in-out 2}.pet-growth-track{height:8px;border-radius:20px;background:#eef1eb;width:200px;margin:14px auto 6px;overflow:hidden}.pet-growth-track span{display:block;background:#92b999;height:100%;border-radius:20px;transition:width .3s}.pet-growth-label{font-size:11px;color:#a0afa0}.pet-care{display:flex;justify-content:center;gap:10px;margin:19px 0}.pet-care button{padding:10px 14px;border:1px solid #e6dcbf;border-radius:9px;color:#9c8759;background:#fffbef;font-size:13px}.pet-care button:disabled{opacity:.4}.pet-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:23px 0 19px}.pet-choice{display:flex;align-items:center;flex-direction:column;border:1px solid #e9e2ce;background:#fffdf7;border-radius:13px;padding:14px 6px;gap:5px}.pet-choice>span{font-size:35px;line-height:1.4}.pet-choice b{font-size:14px;font-weight:600;color:#9c8d6e}.pet-choice small{font-size:11px;color:#b3a382}.pet-feedback{font-size:13px;color:#ac9773;line-height:1.9;min-height:25px}.pet-note{font-size:11px;color:#a8b4a9;line-height:1.9;margin-top:15px}.extras-notice{position:fixed;bottom:115px;left:50%;transform:translateX(-50%);color:white;background:#8c7aa4;padding:12px 23px;border-radius:12px;z-index:1000;max-width:90vw;text-align:center;font-size:15px}.game-dialog~.extras-notice{pointer-events:none}
@keyframes happy-pet{50%{transform:translateY(-17px) rotate(-6deg)}100%{transform:translateY(0) rotate(0)}}
@media(max-width:1200px){.lesson-tools{grid-template-columns:1fr 1fr}.entry-stars{font-size:14px}.lesson-tools>button{padding:11px 14px}}
@media(max-width:760px){.lesson-tools{gap:9px;margin-bottom:14px}.lesson-tools>button{padding:11px 12px;gap:8px}.lesson-tools>button>span:nth-child(2){font-size:13px}.lesson-tools>button>span[data-icon]{width:29px;height:29px}.lesson-tools small{font-size:10px}.entry-stars{display:none}.pet-entry-icon{font-size:27px}.wordbank-content,.game-content{padding:20px}.wordbank-grid{gap:10px}.bank-word{padding:13px}.bank-word-head{gap:2px;flex-wrap:wrap}.bank-word-head h3{font-size:20px;width:calc(100% - 5px);margin-bottom:3px}.bank-word-head .icon-button{width:27px;height:27px;margin-left:auto}.bank-save{font-size:24px}.bank-ipa{font-size:12px;margin-top:5px}.bank-meaning{font-size:14px;margin:9px 0}.bank-word details{font-size:12px}.wordbank-tabs button{font-size:13px}.wordbank-tip{font-size:12px}.game-stage-tabs{gap:5px}.game-stage-tabs button{font-size:11px;padding:10px 5px}.game-big-stars{font-size:37px;margin:28px 0 16px;letter-spacing:9px}#game-welcome h3,#game-finish h3{font-size:22px}#game-welcome>p:not(.game-big-stars),#game-finish>p:not(.game-big-stars){font-size:13px}.game-question-top{font-size:11px}.game-prompt{font-size:22px}.game-options{gap:10px}.game-options>button{font-size:21px;padding:14px 10px}.game-listen{font-size:13px;margin-bottom:20px}.game-feedback{font-size:13px}.game-primary{font-size:14px;min-width:125px;padding:11px 19px}.game-answer-actions{gap:7px}.game-answer-actions .text-button{font-size:12px;padding:8px 0}.spelling-slots{gap:5px}.spelling-slots button{width:32px;height:42px;font-size:23px}.game-options.letter-options{gap:8px}.letter-options>button{width:40px;height:44px;padding:4px}.pet-content{padding:20px}.pet-choices{gap:8px}.pet-choice{padding:12px 6px}.pet-choice small{font-size:10px}.pet-feedback{font-size:12px}.pet-care{gap:8px}.pet-care button{font-size:12px;padding:10px 11px}.pet-note{font-size:10px}.choose-pet{font-size:12px;padding:9px 14px}.extras-notice{font-size:13px;padding:11px 17px}body.embedded .lesson-tools{grid-template-columns:1fr 1fr}body.embedded .lesson-tools>button{padding:9px 10px}body.embedded .lesson-tools small{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.readable-label{display:inline-flex;align-items:center;gap:8px;padding:0;font:inherit;line-height:inherit;font-weight:inherit;letter-spacing:inherit;text-align:left}.readable-label>span{color:#85a390}.readable-label svg{height:17px;width:17px}.unit-heading .readable-label>span{display:none}.readable-label:hover{color:var(--green)}

.choose-page{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:25px;color:#819788;font-size:14px}.choose-page select,.page-navigation select{padding:9px 12px;border:1px solid #dbe6de;border-radius:9px;background:white;color:#53775d;font-size:14px;max-width:100%}.page-navigation{display:flex;gap:12px;align-items:center;font-size:13px;color:#819788;margin-bottom:17px}.choose-page select{min-width:260px}.lesson-menu{gap:2px}.lesson-item{padding:8px 10px}.lesson-item b{font-size:13px}.side-note{margin-top:28px}.dialogue[data-kind=word] .sentence-words{font-size:25px;color:#587c64}.dialogue[data-kind=word]{padding-top:13px;padding-bottom:13px}.readable-label{max-width:100%;overflow-wrap:anywhere}.lesson-heading h1{flex-wrap:wrap}.lesson-heading h1 .readable-label{font-size:27px}.choose-view>h1{line-height:1.35}@media(max-width:760px){.choose-page{flex-direction:column;gap:8px;margin-top:21px}.choose-page select{width:100%;min-width:0;font-size:16px}.page-navigation select{font-size:14px;max-width:calc(100% - 75px)}.lesson-heading h1 .readable-label{font-size:25px}.lesson-heading h1{gap:7px}}
.lesson-loading{max-width:600px;margin:64px auto;padding:24px;text-align:center;color:#667e70;font-size:16px;line-height:1.8}.lesson-loading[hidden]{display:none}

.record-ipa{text-align:center;color:#8d82a5;font-family:'Lucida Sans Unicode','Arial Unicode MS',system-ui,sans-serif;font-size:20px;line-height:1.7;letter-spacing:.025em;margin:5px 0 2px}.record-ipa:not([hidden])+.record-translation{margin-top:6px}.assessed-word .assessed-ipa{display:block;font-family:'Lucida Sans Unicode','Arial Unicode MS',system-ui,sans-serif;font-size:13px;line-height:1.6;font-weight:400;margin:3px 0}.word-feedback p.feedback-ipa{font-size:16px;color:#8d82a5;line-height:1.7;margin-top:6px}@media(max-width:760px){.record-ipa{font-size:18px}.assessed-word .assessed-ipa{font-size:12px}}
.game-auto-control{display:flex;justify-content:flex-end;align-items:center;gap:7px;font-size:13px;color:#75648e;margin-bottom:13px;min-height:32px}.game-auto-control input{width:17px;height:17px;accent-color:#7766aa}.record-game-done{display:block;position:sticky;bottom:12px;margin:15px auto;padding:12px 24px;border-radius:12px;background:var(--green);color:white;font-size:16px;min-height:48px}#game-record{margin:15px auto;background:#7766aa;color:white}#game-record:disabled{opacity:.5}
@media(max-width:760px){.game-stage-tabs button{font-size:12px;min-width:0;line-height:1.5}.game-auto-control{font-size:13px;min-height:30px;margin:0 0 6px}.game-stage-tabs{top:68px}.record-game-done{bottom:max(12px,env(safe-area-inset-bottom))}}
.game-option-word{display:block;font-size:inherit;line-height:1.4}.game-option-ipa{display:block;font-family:'Lucida Sans Unicode','Arial Unicode MS',system-ui,sans-serif;font-size:17px;font-weight:400;line-height:1.6;margin-top:7px;overflow-wrap:anywhere;color:#7e6b9e}.game-prompt:has(.game-prompt-ipa){display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px}.game-prompt-ipa{font-family:'Lucida Sans Unicode','Arial Unicode MS',system-ui,sans-serif;font-size:23px;font-weight:400;line-height:1.6;padding:6px 13px;border-radius:12px;background:#f1ebf9;color:#77609f;min-height:44px}.game-prompt-ipa::after{content:' ♪';font-size:17px}
@media(max-width:760px){.game-option-ipa{font-size:16px;margin-top:4px}.game-options:not(.letter-options)>button{min-height:88px}.game-prompt-ipa{font-size:21px}}
.game-options>button.reading-choice{opacity:1;border-color:#a08bc5;background:#eee7fa;box-shadow:0 0 0 3px #ded1ef88}.game-options>button.reading-choice .game-option-ipa{color:#675189}
.sentence-word-ipa{display:inline-flex;align-items:center;min-height:44px;padding:4px 8px;margin:4px 0 0 -8px;font-size:18px;line-height:1.5;color:#78629f;border-radius:9px}.sentence-word-ipa:hover{background:#f2edf8}.sentence-word-ipa[hidden]{display:none}
