:root{--cream:#f8f5ec;--ink:#293e35;--muted:#6c7569;--line:#e2e4d7;--mint:#e0eddc;--green:#3b5d46;--lime:#dceaaf;--coral:#f5d7c8;--peach:#fae6d9;--white:#fffefa;--soft:#f0efe5;--radius:27px;font-family:ui-rounded,"SF Pro Rounded","Nunito","Avenir Next","PingFang TC","Noto Sans TC",system-ui,sans-serif;font-size:16px;color:var(--ink);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{color:inherit;cursor:pointer;border:0;min-height:56px}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible{outline:3px solid #427c9a;outline-offset:5px}button:hover:not(:disabled){filter:brightness(.975)}button:active:not(:disabled){transform:translateY(1px)}svg{display:block}h1,h2,h3,p{margin:0}a{color:inherit}button svg{pointer-events:none}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}.shell{max-width:1280px;margin:0 auto;padding:0 48px 26px}.prototype-ribbon{height:31px;text-align:center;font-size:10px;font-weight:650;letter-spacing:2px;color:#758071;background:#edeee3;display:flex;justify-content:center;align-items:center;gap:9px}.ribbon-dot{width:5px;height:5px;border-radius:50%;background:#789268}.header{height:105px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;background:transparent;text-align:left;padding:0;min-width:237px}.brand-mark{width:45px;height:45px;border-radius:15px;background:var(--lime);display:grid;place-items:center;transform:rotate(-7deg)}.brand-name{font-size:17px;letter-spacing:-.4px;font-weight:800}.brand-name small{display:block;font-size:11px;font-weight:500;letter-spacing:2px;margin-top:4px}.nav{display:flex;align-items:center;gap:6px}.nav button{background:none;font-size:13px;font-weight:650;padding:0 18px;border-radius:30px;white-space:nowrap}.nav button.active{background:#e7ebdd}.parent-link{background:none;border:1px solid #d7dccc;border-radius:100px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 18px;font-size:12px;font-weight:650;white-space:nowrap}.page{animation:enter .24s ease-out}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2.5px;color:#738165;text-transform:uppercase;display:flex;align-items:center;gap:9px}.eyebrow:before{content:"";width:20px;height:1px;background:currentColor}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;align-items:center;margin-top:42px}.hero h1{font-size:47px;letter-spacing:1px;line-height:1.36;font-weight:750;margin:16px 0 15px}.hero h1 .soft-text{color:#809175}.hero p{font-size:13px;line-height:1.9;color:var(--muted)}.today-note{justify-self:end;width:352px;position:relative;padding:25px 22px;background:#eeefdf;border-radius:23px;display:flex;gap:8px;align-items:center;transform:rotate(2deg)}.today-note:before{content:"";width:61px;height:17px;background:#dedfc9;position:absolute;left:calc(50% - 30px);top:-8px;transform:rotate(-5deg);opacity:.8}.today-note .note-art{width:95px;height:96px;flex-shrink:0}.note-copy small{font-size:10px;letter-spacing:1.7px;color:#7a826b}.note-copy h3{font-size:20px;margin:7px 0 6px}.note-copy p{font-size:11px;line-height:1.8}.section-head{display:flex;justify-content:space-between;align-items:center;margin:35px 0 16px}.section-head h2{font-size:17px;font-weight:700}.section-head small{font-size:11px;color:var(--muted)}.unit-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.unit-card{border-radius:var(--radius);min-height:245px;text-align:left;position:relative;overflow:hidden;padding:26px 28px;background:var(--mint);box-shadow:0 3px 0 #d6e2d2;border:1px solid #d4e3cc}.unit-card.coral{background:var(--coral);border-color:#ecccc0;box-shadow:0 3px 0 #e8c8b9}.unit-card:after{content:"";position:absolute;right:-32px;bottom:-115px;width:320px;height:290px;background:#ffffff35;border-radius:50%;pointer-events:none}.unit-card .unit-top{display:flex;align-items:center;gap:9px;position:relative;z-index:1}.unit-card .unit-number{font-size:10px;letter-spacing:1.5px;color:#657b5b}.unit-card.coral .unit-number{color:#916e5c}.unit-card .little-line{height:1px;width:27px;background:currentColor;opacity:.3}.unit-glyph{font-size:91px;line-height:1;letter-spacing:-5px;font-weight:750;color:#3b654d;margin:12px 0 2px;display:block}.coral .unit-glyph{color:#ab6046}.unit-name{font-size:15px;font-weight:700;margin:8px 0}.unit-words{font-size:12px;letter-spacing:1px;color:#617760}.coral .unit-words{color:#956c57}.unit-art{position:absolute;width:214px;height:180px;right:28px;top:40px;transform:rotate(4deg);z-index:1}.unit-card.coral .unit-art{transform:rotate(-5deg)}.unit-go{position:absolute;right:23px;bottom:20px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff9;z-index:2}.unit-card .unit-word-tag{position:absolute;right:100px;top:190px;border-radius:7px;background:#fffdf1;font-size:19px;font-weight:650;padding:3px 15px;box-shadow:0 3px 0 #00000008;transform:rotate(-7deg);z-index:2;letter-spacing:2px}.unit-word-tag em{font-style:normal;color:#b3654f}.unit-card:first-child .unit-word-tag em{color:#63875a}.journey{display:flex;align-items:center;margin-top:28px;padding:20px 25px;background:#fffdf6;border:1px solid #e5e6d9;border-radius:20px;gap:26px}.journey-intro{font-size:12px;font-weight:750;white-space:nowrap}.journey-steps{display:flex;align-items:center;justify-content:space-between;flex:1;gap:15px}.journey-step{display:flex;align-items:center;gap:10px;font-size:12px;color:#65715f}.step-no{width:27px;height:27px;border-radius:50%;background:#ecedde;color:#7d8c6e;display:grid;place-items:center;font-size:11px;font-weight:700}.journey-separator{color:#a3ad99}.footer{display:flex;align-items:center;justify-content:space-between;color:#93998a;font-size:10px;margin-top:25px;gap:12px}.footer .leaf-note{display:flex;align-items:center;gap:7px}.screen-heading{margin-top:29px;display:flex;align-items:center;justify-content:space-between;gap:20px}.back-btn{padding:0 15px 0 0;background:none;display:flex;gap:9px;align-items:center;font-size:12px;color:#798370}.screen-title h1{font-size:29px;margin:4px 0 8px;letter-spacing:.6px}.screen-title p{font-size:12px;color:var(--muted)}.unit-tabs{display:flex;gap:8px;background:#ebece1;padding:5px;border-radius:22px}.unit-tabs button{min-width:69px;background:transparent;border-radius:17px;font-size:20px;font-weight:750;min-height:56px}.unit-tabs button.active{background:#fffef8;box-shadow:0 3px 8px #344d3410}.practice-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr);gap:25px;margin-top:24px}.flashcard{background:var(--white);border:1px solid #e4e6d7;box-shadow:0 5px 0 #e9e9db;border-radius:28px;overflow:hidden;position:relative;display:flex;flex-direction:column;min-height:422px}.flashcard-bar{display:flex;align-items:center;justify-content:space-between;padding:19px 23px 0;color:#89927f;font-size:10px;letter-spacing:1.6px}.unit-badge{background:#e5eed9;padding:7px 12px;border-radius:20px;color:#658053;font-size:11px;letter-spacing:.5px}.unit-badge.ck{background:#f5e2d7;color:#a16d51}.picture-button{background:transparent;margin:4px auto 0;padding:0;width:300px;height:238px;position:relative;border-radius:24px;display:flex;align-items:center;justify-content:center}.picture-button > svg{width:285px;height:223px;transition:transform .25s}.picture-button:hover > svg{transform:rotate(-2deg)}.picture-hint{position:absolute;right:-22px;bottom:23px;font-size:10px;color:#8b9680;background:#f2f3e8;padding:7px 10px;border-radius:12px;transform:rotate(-5deg);display:flex;align-items:center;gap:5px}.word-display{display:flex;align-items:center;justify-content:center;gap:0;min-height:97px;padding-bottom:14px;font-weight:700;font-size:65px;letter-spacing:1px}.word-segment{font:inherit;line-height:1.05;min-height:77px;padding:0 7px}.word-segment.target{background:#e1edc4;color:#4b6e46;border-radius:16px;margin:0 4px;box-shadow:0 4px 0 #cddcaf;transition:background .18s,transform .18s}.word-segment.target.ck{background:#f4d9c8;color:#9d5e45;box-shadow:0 4px 0 #e6c6af}.word-segment.lit{background:#bed582;transform:translateY(-5px)}.word-segment.target.ck.lit{background:#ecb99c}.word-caption{text-align:center;font-size:11px;color:#8c9583;padding:0 0 20px;letter-spacing:1px}.practice-sidebar{display:flex;flex-direction:column;gap:15px}.prompt-card{background:#e9eedc;border-radius:25px;padding:22px 23px;flex:1}.prompt-card small{font-size:10px;letter-spacing:1.5px;color:#7d8d70}.prompt-card h2{font-size:23px;line-height:1.45;margin:13px 0 11px;font-weight:700;letter-spacing:.5px}.prompt-card p{font-size:12px;line-height:1.9;color:#73816a}.primary{background:var(--green);color:#fffdf2;border-radius:18px;padding:0 24px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:13px;font-weight:650;min-height:60px}.secondary{background:#fffdf5;border:1px solid #dce1ce;border-radius:18px;padding:0 20px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:13px;font-weight:650;min-height:58px}.audio-note{font-size:10px;line-height:1.7;color:#8a9480;text-align:center;padding:0 4px;min-height:18px}.audio-note[data-state=notice]{color:#976843;background:#fcf0dd;border-radius:10px;padding:7px 10px}.card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:22px;gap:20px}.word-switcher{display:flex;gap:9px}.word-switcher button{background:#eeeee2;border:1px solid #e1e5d5;border-radius:16px;min-width:82px;padding:0 15px;font-weight:600;font-size:14px}.word-switcher button.active{background:#dfeaC6;border-color:#c6d69f;color:#4d6b39}.word-switcher button.active.ck{background:#f1d8c7;border-color:#ddbfa8;color:#94634a}.next-card{background:transparent;display:flex;gap:10px;align-items:center;font-size:12px;font-weight:650;padding:0 7px}.match-head{display:flex;align-items:center;justify-content:space-between;margin:29px 0 24px}.match-head h1{font-size:30px;letter-spacing:.5px;margin:7px 0}.match-head p{font-size:12px;color:#7a8470}.rounds{display:flex;gap:7px}.round-dot{width:10px;height:10px;border-radius:50%;background:#dfe4d3}.round-dot.current{background:#94a97b;outline:5px solid #e8eddd}.round-dot.done{background:#9caf85}.listen-prompt{display:flex;align-items:center;justify-content:center;gap:25px;padding:24px;border-radius:22px;background:#e9eedd;min-height:112px}.listen-prompt h2{font-size:20px;margin:0 0 8px}.listen-prompt p{font-size:11px;color:#7b8870}.listen-button{background:#fffef6;min-width:65px;min-height:65px;border-radius:50%;box-shadow:0 3px 0 #d4dec4;display:grid;place-items:center;color:#5c764d}.match-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:21px;margin-top:24px}.match-choice{background:#fffdf7;border:2px solid #e2e5d4;min-height:265px;border-radius:25px;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px 10px 22px}.match-choice svg{width:190px;height:185px}.match-choice .choice-marker{display:grid;place-items:center;border-radius:50%;width:29px;height:29px;background:#edf0e3;font-size:11px;font-weight:700;color:#7c8c6b}.match-choice.correct{border:3px solid #99b573;background:#f3f8e8}.match-choice.incorrect{border-color:#ddb296;background:#fff7ed}.match-choice .answer-word{font-size:19px;font-weight:650;letter-spacing:1px;min-height:27px}.match-footer{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:21px;min-height:67px}.feedback{font-size:14px;font-weight:650;line-height:1.7}.feedback small{display:block;font-size:11px;font-weight:400;color:#7b8670}.feedback.good{color:#5c7e41}.feedback.again{color:#a5784d}.match-footer .primary{min-width:157px}.finish{max-width:710px;margin:34px auto 0;text-align:center;padding:43px;background:#f0f3e5;border:1px solid #e0e5d1;border-radius:30px}.finish-badge{width:95px;height:95px;background:#dfe9c8;border-radius:50%;display:grid;place-items:center;margin:0 auto 22px;font-size:45px}.finish h1{font-size:32px;margin-bottom:14px}.finish p{font-size:13px;line-height:1.9;color:#728164}.finish-actions{display:flex;gap:12px;justify-content:center;margin-top:25px}.parent-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 0 23px;gap:20px}.parent-heading h1{font-size:29px;margin:5px 0 8px}.parent-heading p{font-size:12px;color:var(--muted)}.parent-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.parent-card{background:#fffdf6;border-radius:24px;border:1px solid #e4e5d6;padding:23px}.parent-card h2{font-size:17px;margin-bottom:16px}.parent-card p{font-size:12px;color:#78816c;line-height:1.9}.sound-guide{display:flex;align-items:flex-start;gap:17px;margin-top:17px}.sound-label{background:#e5edcf;min-width:66px;min-height:66px;border-radius:16px;display:grid;place-items:center;font-size:29px;font-weight:750}.sound-label.ck{background:#f4decf;color:#975f44}.sound-guide strong{font-size:14px;font-weight:700;display:block;margin:2px 0 7px}.sound-guide p{font-size:11px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px}.setting-row h3{font-size:13px;margin-bottom:6px}.setting-row p{font-size:11px}.toggle{width:67px;min-width:67px;min-height:56px;background:transparent;padding:12px 0}.toggle-track{display:block;width:58px;height:32px;background:#dbdfcf;border-radius:18px;padding:4px}.toggle-track:before{content:"";display:block;width:24px;height:24px;background:#fffef7;border-radius:50%;box-shadow:0 2px 3px #0001;transition:transform .2s}.toggle[aria-checked=true] .toggle-track{background:#80956b}.toggle[aria-checked=true] .toggle-track:before{transform:translateX(26px)}.parent-pill{font-size:10px;background:#f7ead7;color:#a67a4e;padding:6px 9px;border-radius:8px;display:inline-block;margin:16px 0 10px}.parent-card ul{font-size:12px;line-height:2;color:#77816c;padding-left:17px;margin-bottom:0}.session-summary{display:flex;gap:30px;padding:17px 0 2px}.session-number{font-size:30px;font-weight:650;line-height:1.1;color:#698257}.session-number small{display:block;font-size:10px;color:#8b9580;line-height:2.1;font-weight:500}.fine-print{font-size:11px;color:#909883;line-height:1.8;margin-top:22px;text-align:center}.modal-backdrop{position:fixed;inset:0;background:#2b3b3259;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(5px)}.modal{width:420px;max-width:100%;background:var(--cream);padding:30px;border-radius:27px;box-shadow:0 20px 80px #182b3333}.modal-icon{width:56px;height:56px;border-radius:18px;background:#e5ebd7;display:grid;place-items:center;margin-bottom:18px}.modal h2{font-size:25px;margin-bottom:12px}.modal p{font-size:12px;line-height:1.9;color:#74806a}.gate-question{font-size:25px;font-weight:650;margin:20px 0 10px}.gate-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.gate-options button{border:1px solid #d7dec9;border-radius:14px;background:#fffef5;font-size:23px}.gate-error{min-height:25px;font-size:11px;color:#a77953}.modal .secondary{width:100%;margin-top:10px}.wave-motion{animation:boat .85s ease-in-out 2}.hop-motion{animation:hop .55s ease-in-out 2}.swim-motion{animation:swim 1.2s ease-in-out}.turn-motion{animation:turn .65s ease-in-out 2}.reduce-motion *,.reduce-motion *:before,.reduce-motion *:after{animation:none!important;transition:none!important}.empty-audio-hint{color:#916c4e;background:#f7eadd;border-radius:8px;padding:6px 8px}.motion-caption{margin-top:8px;font-size:10px;color:#7f8f71;min-height:18px;line-height:1.6}.word-segment.target:after{display:block;content:"";width:19px;height:3px;border-radius:2px;background:currentColor;opacity:.2;margin:4px auto 0}.mini-symbol{font-size:19px;line-height:1}.lesson-progress{display:flex;gap:7px;align-items:center;font-size:10px;color:#87927d}.lesson-progress span{width:21px;height:4px;border-radius:4px;background:#e0e5d7}.lesson-progress span.seen{background:#a3b581}.session-label{color:#8c957e;font-size:10px}.spell-caption{font-size:10px!important;padding:14px 0 0}.word-speech{width:100%}.parent-card.warning{background:#f8efdf;border-color:#ead9bb}.parent-card.warning h2{color:#8c6d42}.wide-card{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:30px}.wide-card h2{margin-bottom:6px}.wide-card p{max-width:730px}.wide-card .secondary{white-space:nowrap}.little-flower{font-size:22px;color:#8c9c75}.audio-explainer{font-size:10px!important;line-height:1.8!important}.inline-note{font-size:10px!important;color:#849076!important;margin-top:9px}.match-audio-status{max-width:255px;font-size:11px;color:#7a866d;line-height:1.7}.section-heading-group{display:flex;align-items:center;gap:15px}.no-scroll{overflow:hidden}
@keyframes enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes boat{0%,100%{transform:rotate(0) translateY(0)}25%{transform:rotate(-7deg) translateY(-6px)}75%{transform:rotate(7deg) translateY(4px)}}@keyframes hop{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-17px) rotate(-6deg)}}@keyframes swim{0%,100%{transform:translateX(0)}40%{transform:translateX(29px) rotate(-7deg)}70%{transform:translateX(-14px) rotate(4deg)}}@keyframes turn{0%,100%{transform:rotate(0)}50%{transform:rotate(13deg) scale(1.03)}}
@media(min-width:1400px){.shell{padding-top:8px}.hero{margin-top:48px}.hero h1{font-size:52px}.unit-card{min-height:264px}.unit-art{top:51px}.unit-card .unit-word-tag{top:202px}.journey{margin-top:34px}.flashcard{min-height:451px}.picture-button{height:264px}.picture-button > svg{height:248px;width:320px}.match-choice{min-height:300px}.match-choice svg{width:215px;height:207px}}
@media(max-width:1000px){.shell{padding:0 29px 25px}.brand{min-width:190px}.brand-name{font-size:14px}.nav button{padding:0 12px;font-size:12px}.parent-link{padding:0 13px}.hero h1{font-size:42px}.today-note{width:310px}.unit-art{right:16px;width:185px}.unit-card{padding:24px 22px}.unit-card .unit-word-tag{right:65px}.journey{gap:15px;padding:17px}.journey-steps{gap:11px}.journey-step{font-size:11px;gap:7px}.practice-layout{grid-template-columns:1.5fr 1fr;gap:20px}.prompt-card{padding:20px}.prompt-card h2{font-size:21px}.picture-hint{right:-6px}.match-choice svg{width:165px}.match-choice{min-height:245px}.match-audio-status{max-width:190px}}
@media(max-width:760px){.shell{padding:0 20px 25px}.header{height:auto;min-height:125px;flex-wrap:wrap;gap:0;padding:15px 0 8px}.brand{flex:1;min-width:0}.brand-name{font-size:14px}.brand-name small{font-size:9px}.brand-mark{height:40px;width:40px}.parent-link{order:2;font-size:11px;min-height:56px}.nav{order:3;width:100%;justify-content:space-between;gap:0;margin-top:7px}.nav button{min-height:56px;flex:1;padding:0 9px}.hero{grid-template-columns:1fr;margin-top:28px;gap:26px}.hero h1{font-size:36px}.hero p{font-size:12px}.today-note{width:100%;justify-self:stretch;transform:none;padding:16px 20px;gap:16px}.today-note .note-art{width:68px;height:64px}.note-copy h3{font-size:18px;margin:4px 0}.today-note:before{left:auto;right:30px}.section-head{margin-top:28px}.section-head h2{font-size:15px}.section-head small{font-size:10px}.unit-grid{gap:17px;grid-template-columns:1fr}.unit-card{min-height:232px}.unit-art{right:40px;width:215px;height:165px;top:24px}.unit-card .unit-word-tag{right:95px;top:181px}.unit-glyph{font-size:79px;margin-top:15px}.journey{flex-direction:column;gap:17px;align-items:stretch}.journey-steps{gap:8px}.journey-step{gap:6px;font-size:10px}.journey-separator{font-size:10px}.step-no{width:24px;height:24px}.footer{font-size:9px;align-items:flex-start;line-height:1.6}.footer .leaf-note{max-width:64%}.screen-heading{gap:12px}.screen-title h1{font-size:23px}.screen-title p{font-size:11px}.unit-tabs button{min-width:55px}.unit-tabs{gap:2px}.practice-layout{grid-template-columns:1fr;margin-top:20px}.flashcard{min-height:380px}.picture-button{width:255px;height:218px}.picture-button > svg{height:218px;width:255px}.word-display{font-size:60px}.practice-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:12px}.prompt-card{grid-column:1/-1;padding:17px 20px}.prompt-card h2{font-size:20px;margin:5px 0}.prompt-card h2 br{display:none}.prompt-card p{font-size:11px}.audio-note,.motion-caption{grid-column:1/-1;margin:0}.practice-sidebar .secondary,.practice-sidebar .primary{font-size:12px;padding:0 10px}.card-bottom{flex-wrap:wrap;gap:10px;margin-top:17px}.word-switcher{flex:1;gap:6px}.word-switcher button{min-width:0;flex:1;padding:0 11px;min-height:56px}.next-card{min-height:56px}.match-head h1{font-size:25px}.match-head{gap:12px}.match-head .eyebrow{font-size:9px}.rounds{gap:5px}.round-dot{width:8px;height:8px}.listen-prompt{gap:16px;padding:21px;flex-wrap:wrap;justify-content:flex-start}.listen-prompt h2{font-size:18px}.match-audio-status{max-width:100%;width:100%;font-size:10px}.match-grid{gap:10px;margin-top:19px}.match-choice{border-radius:19px;min-height:165px;padding:7px 4px 14px}.match-choice svg{height:102px;width:100%;max-width:135px}.match-choice .answer-word{font-size:15px}.match-choice .choice-marker{width:25px;height:25px;font-size:10px}.match-footer{gap:14px;align-items:flex-start}.feedback{font-size:12px}.feedback small{font-size:10px}.match-footer .primary{font-size:11px;padding:0 15px;min-width:115px}.parent-grid{grid-template-columns:1fr}.parent-heading h1{font-size:25px}.parent-heading .secondary{font-size:11px;padding:0 14px}.parent-card{padding:21px}.wide-card{display:block}.wide-card .secondary{margin-top:17px}.finish{padding:32px 20px}.finish h1{font-size:26px}.finish-actions{flex-direction:column}.prototype-ribbon{font-size:8px;letter-spacing:1.5px}.lesson-progress{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.picture-hint svg{width:16px;height:16px;flex-shrink:0}

/* Expanded islands: a compact gallery that keeps the original cream palette. */
.unit-card{min-height:272px;padding:24px;display:block}
.unit-glyph{font-size:78px;letter-spacing:-4px;position:relative;z-index:2;width:max-content}
.unit-name{display:block;position:relative;z-index:2;width:max-content;max-width:62%;font-size:15px}
.unit-cue{display:block;font-size:11px;line-height:1.8;margin-top:6px;color:#566d56;position:relative;z-index:2}
.unit-words{display:block;position:relative;z-index:2;margin-top:5px;font-size:12px;letter-spacing:.3px}
.unit-art{width:165px;height:145px;right:14px;top:38px}
.unit-card .unit-word-tag{top:157px;right:36px;font-size:15px;padding:3px 10px;letter-spacing:1px}
.unit-card.butter{background:#f2e8c6;border-color:#e6d9b3;box-shadow:0 3px 0 #e6d9b3}
.unit-card.sky{background:#deeaee;border-color:#cadce0;box-shadow:0 3px 0 #cadce0}
.unit-card.lilac{background:#e8e0ed;border-color:#d6cbdc;box-shadow:0 3px 0 #d6cbdc}
.unit-card.sage{background:#e4ebce;border-color:#d4ddbb;box-shadow:0 3px 0 #d4ddbb}
.unit-card.rose{background:#f0dfdd;border-color:#e2cccb;box-shadow:0 3px 0 #e2cccb}
.butter .unit-glyph{color:#8b7038}.sky .unit-glyph{color:#507b89}.lilac .unit-glyph{color:#8a6a95}.sage .unit-glyph{color:#62804c}.rose .unit-glyph{color:#9d6c75}
.unit-picker{display:flex;flex-direction:column;gap:8px;min-width:240px;max-width:100%;font-size:11px;color:#718069}
.unit-picker select{font:inherit;font-size:13px;color:var(--ink);min-height:56px;width:100%;padding:0 32px 0 15px;background:#fffdf5;border:1px solid #d7decd;border-radius:16px;cursor:pointer}
select:focus-visible{outline:3px solid #427c9a;outline-offset:5px}
.word-segment.target:after{content:none}
.sound-dots{display:flex;gap:7px;justify-content:center;padding-top:7px}
.sound-dots i{width:7px;height:7px;background:currentColor;border-radius:50%;opacity:.5}
.word-segment.target.coral,.word-switcher button.active.coral,.unit-badge.coral,.sound-label.coral{background:#f4d9c8;color:#9d5e45}
.word-segment.target.butter,.word-switcher button.active.butter,.unit-badge.butter,.sound-label.butter{background:#efe1ae;color:#82642c}
.word-segment.target.sky,.word-switcher button.active.sky,.unit-badge.sky,.sound-label.sky{background:#d7e7e9;color:#476f7e}
.word-segment.target.lilac,.word-switcher button.active.lilac,.unit-badge.lilac,.sound-label.lilac{background:#e8dbed;color:#7f5c8b}
.word-segment.target.sage,.word-switcher button.active.sage,.unit-badge.sage,.sound-label.sage{background:#e0e9c3;color:#587439}
.word-segment.target.rose,.word-switcher button.active.rose,.unit-badge.rose,.sound-label.rose{background:#efd7db;color:#955a67}
.word-segment.target.lit{filter:brightness(.93);transform:translateY(-5px)}
.scene-caption{margin:0 auto 19px;padding:0 22px;max-width:430px;font-size:11px;text-align:center;line-height:1.8;color:#78856f}
.match-progress{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:-7px 0 20px;font-size:12px;color:#738367}
.choice-scene{font-size:11px;color:#7a846f;margin-top:7px}
.finish-words{font-size:21px;letter-spacing:1px;font-weight:650;color:#698257;margin:17px 0}
.centered{justify-content:center}.finish .eyebrow+h1{margin-top:15px}
.parent-prerequisite{margin-top:15px;padding-top:13px;border-top:1px solid #e8e8dc}
.teaching-intro{background:#e9eeda}.teaching-intro p{max-width:none}.sound-guide:first-child{margin-top:0}
/* Semantic details move briefly; the picture returns to its original position. */
.picture-button > svg .motion-detail{transform-box:fill-box;transform-origin:center}
.point-motion .motion-detail{animation:point .65s ease-in-out 2}
.chop-motion .motion-detail{animation:chop .7s ease-in-out 2}
.bubble-motion .motion-detail{animation:bubbles .9s ease-in-out 2}
.flutter-motion .motion-detail{animation:flutter .4s ease-in-out 4}
.group-motion .motion-detail{animation:greet .8s ease-in-out 2}
.sing-motion .motion-detail{animation:notes .85s ease-in-out 2}
.wave-hand-motion .motion-detail{animation:wavehand .5s ease-in-out 3}
.quick-motion .motion-detail{animation:quick 1.3s ease-in-out}
.quilt-motion .motion-detail{animation:quilt .8s ease-in-out 2}
@keyframes point{0%,100%{transform:translateX(0)}50%{transform:translateX(6px)}}
@keyframes chop{0%,100%{transform:translateY(0)}40%{transform:translateY(-10px)}65%{transform:translateY(6px)}}
@keyframes bubbles{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes flutter{0%,100%{transform:scaleX(1)}50%{transform:scaleX(.85) rotate(-3deg)}}
@keyframes greet{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes notes{0%,100%{transform:translateY(0);opacity:1}50%{transform:translateY(-9px);opacity:.6}}
@keyframes wavehand{0%,100%{transform:rotate(0)}50%{transform:rotate(10deg)}}
@keyframes quick{0%,100%{transform:translateX(0)}65%{transform:translateX(24px)}}
@keyframes quilt{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.93) translateY(-4px)}}
@media(min-width:1100px){.unit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1099px) and (min-width:761px){.unit-art{width:180px;right:20px}.unit-card .unit-word-tag{right:45px}}
@media(max-width:760px){
  .unit-card{min-height:260px}.unit-art{width:190px;right:16px;top:29px}.unit-card .unit-word-tag{top:170px;right:42px}
  .unit-glyph{margin-top:12px}.unit-name{max-width:58%}.unit-cue{margin-top:8px}.unit-words{margin-top:5px}
  .screen-heading,.match-head{align-items:stretch;flex-direction:column;gap:17px}.unit-picker{min-width:0;width:100%}
  .match-progress{font-size:11px;line-height:1.8}.flashcard-bar{padding:17px 17px 0;letter-spacing:.7px}
  .practice-sidebar{display:flex}.word-display{font-size:55px}.word-segment{padding:0 5px}.scene-caption{font-size:11px}
  .parent-heading{align-items:flex-start;flex-direction:column}.parent-heading .secondary{align-self:stretch}
  .unit-grid{grid-template-columns:1fr}.section-head{gap:15px}.section-head small{max-width:135px;line-height:1.6;text-align:right}
}
@media(max-width:370px){.unit-art{width:151px;right:10px;top:43px}.unit-card .unit-word-tag{right:30px;top:165px}.unit-name{max-width:63%}.unit-glyph{font-size:70px}.word-display{font-size:48px}}

/* Reviewed originals retain their source bytes; CSS only scales display. */
.card-media{display:block;object-fit:contain;width:100%;height:100%;max-width:100%;border-radius:14px;aspect-ratio:4/3}
.picture-button>.card-media{width:100%;height:100%;object-fit:contain}
.match-choice>.card-media{height:190px;width:100%;object-fit:contain}
.media-error{display:block;padding:14px;color:#903a2b;background:#fff0e9;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.gallery-invite{margin:28px 0;padding:24px;border-radius:24px;background:var(--mint);display:flex;flex-wrap:wrap;gap:16px;align-items:center}.gallery-invite p{flex:1;min-width:180px;line-height:1.7}.gallery-invite h2{font-size:22px}
.media-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:20px;margin:25px 0}.gallery-tile{display:flex;flex-direction:column;gap:10px;padding:18px;background:var(--white);border-radius:24px;text-align:center;align-items:center;min-width:0}.gallery-tile .card-media{height:auto;aspect-ratio:4/3}.gallery-tile strong{font-size:27px}.gallery-tile small{font-size:12px;color:var(--muted)}
.gallery-detail{max-width:820px;margin:26px auto;text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px}.gallery-detail .back-btn{align-self:flex-start}.gallery-card-art{width:100%;max-width:640px;aspect-ratio:4/3}.gallery-detail h1{font-size:48px}.gallery-parent{text-align:left;padding:24px;border-radius:22px;background:var(--mint);line-height:1.8;width:100%}.gallery-parent h2{font-size:18px}.gallery-parent small{display:block;margin-top:12px;color:var(--muted)}
@media(max-width:1000px){.nav{gap:0}.nav button{padding:0 10px;font-size:12px}}
@media(max-width:760px){.match-choice>.card-media{height:110px}.nav{flex-wrap:wrap}.nav button{flex:1 0 40%}.gallery-detail h1{font-size:36px}.gallery-invite{padding:18px}.gallery-invite .primary{width:100%}.media-gallery{gap:14px}.unit-art .card-media{max-height:150px}}
@media(max-width:380px){.shell{padding-left:14px;padding-right:14px}.brand-name{font-size:12px}.brand{gap:6px}.parent-link{padding:0 10px}.picture-button{width:100%;max-width:250px}.gallery-parent{padding:16px}.gallery-detail .primary{max-width:100%}}
.ai-disclosure .disclosure-text{font-size:15px;line-height:1.9;color:#3f4c3d;margin-bottom:18px}.ai-disclosure .primary{width:100%}

/* ---------- 孩子畫面一屏化（2026-10-01） ----------
   字卡、聽音找朋友、單張詳情三頁：頁首縮成一條、頁尾收起，主要操作全部在 iPad 第一屏內。
   給大人的說明收進「大人提示」，孩子畫面只留圖、字、喇叭和換卡。
   一屏規則只在 700×640 以上啟用；更窄的畫面維持原本可捲動的版面。 */
:root{--muted-strong:#5b6457;--notice-ink:#8a5a35;--good-ink:#4f6e37;--again-ink:#8c5f36}
/* 朗讀用的隱藏區塊固定在左上角，不在一屏頁面底下多撐出 1px。 */
.sr-only{top:0;left:0}

.fit-mode .header{height:68px}
.fit-mode .brand-mark{width:40px;height:40px}
.fit-mode .brand-name small{display:none}
.fit-mode .footer{display:none}

.fit-top{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;min-width:0}
.fit-top h1{flex:1;min-width:0;margin:0;font-size:26px;line-height:1.25;letter-spacing:.4px;display:flex;flex-direction:column;gap:2px}
.fit-top h1 small{font-size:14px;font-weight:500;letter-spacing:0;color:var(--muted-strong)}
.fit-top .back-btn{min-height:56px;padding:0 14px 0 2px;font-size:15px;font-weight:650;color:var(--muted-strong)}
.fit-top .unit-picker{flex-direction:row;align-items:center;gap:10px;min-width:0;width:auto;font-size:14px;color:var(--muted-strong);white-space:nowrap}
.fit-top .unit-picker select{font-size:15px;min-width:210px}
.fit-top .rounds{gap:8px}
.fit-top .round-dot{width:12px;height:12px}

.audio-note{font-size:13px;color:var(--muted-strong)}
.audio-note:empty{display:none}
.audio-note[data-state=notice]{color:var(--notice-ink)}

.adult-tip{position:relative;align-self:stretch;border:1px solid var(--line);border-radius:16px;background:var(--soft);font-size:14px;line-height:1.7}
.adult-tip summary{list-style:none;min-height:48px;display:flex;align-items:center;gap:10px;padding:0 16px;font-weight:650;color:var(--muted-strong);cursor:pointer;border-radius:16px}
.adult-tip summary::-webkit-details-marker{display:none}
.adult-tip summary:before{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .15s}
.adult-tip[open] summary:before{transform:rotate(45deg)}
.adult-tip summary:focus-visible{outline:3px solid #427c9a;outline-offset:3px}
/* 展開時浮在畫面上，不推動孩子的操作區。 */
.adult-tip-body{position:absolute;z-index:6;right:0;bottom:calc(100% + 8px);width:min(380px,80vw);max-height:60vh;overflow:auto;padding:14px 18px;border:1px solid var(--line);border-radius:16px;background:var(--white);box-shadow:0 8px 24px rgba(41,62,53,.14)}
.adult-tip .adult-tip-body p{margin:0;font-size:14px;line-height:1.7;color:var(--ink)}
.adult-tip .adult-tip-body p+p{margin-top:8px}
/* 舊規則把 .spell-caption 釘在 10px!important；放進大人提示後要蓋回正常字級。 */
.adult-tip .spell-caption{font-size:14px!important;padding:0}
.fit-match .adult-tip-body{bottom:auto;top:calc(100% + 8px)}

.fit-cards .word-caption{font-size:16px;letter-spacing:.5px;color:var(--muted-strong);padding:0 0 6px}
.fit-cards .word-speech{min-height:88px;font-size:19px;border-radius:24px}
.fit-cards .word-speech svg{width:30px;height:30px}
.fit-cards .card-bottom{margin-top:0}
.fit-cards .word-switcher button{font-size:17px}
/* 單元色的底色保留；字改用主色，淺色底上也讀得清楚。 */
.fit-cards .word-switcher button.active{color:var(--ink)}
.fit-cards .next-card{font-size:16px}

.fit-match .listen-prompt{justify-content:flex-start;gap:20px;padding:14px 20px;min-height:0}
.fit-match .listen-button{min-width:88px;min-height:88px}
.fit-match .listen-button svg{width:36px;height:36px}
.fit-match .listen-copy{flex:1;min-width:0;display:grid;gap:4px}
.fit-match .listen-copy h2{margin:0;font-size:22px}
.fit-match .listen-prompt .adult-tip{align-self:center;flex:0 1 260px;background:var(--white)}
.fit-match .match-choice .answer-word{font-size:22px}
.fit-match .match-choice .choice-scene{font-size:14px;color:var(--muted-strong)}
.fit-match .match-footer{margin-top:0;min-height:0}
.feedback{font-size:17px}
.feedback small{font-size:14px;color:var(--muted-strong)}
.feedback.good{color:var(--good-ink)}
.feedback.again{color:var(--again-ink)}

.detail-layout{display:grid;gap:20px}
.detail-art{display:flex;align-items:center;justify-content:center;padding:16px;border-radius:28px;background:var(--white);min-width:0}
.detail-art>.card-media{width:100%;height:auto;object-fit:contain}
.detail-art>svg{width:100%;height:auto}
.detail-side{display:flex;flex-direction:column;gap:14px;min-width:0}
.detail-side h1{margin:0;font-size:52px;line-height:1.1}
.detail-meaning{margin:0;font-size:20px;color:var(--muted-strong)}
.detail-side .primary{min-height:80px;font-size:19px;border-radius:24px}
.detail-side .gallery-parent{font-size:15px}
.detail-side .gallery-parent small{font-size:13px;color:var(--muted-strong)}

@media (min-width:700px) and (min-height:640px){
  .fit-mode .shell{display:flex;flex-direction:column;height:calc(100dvh - 31px);padding-bottom:0}
  .fit-mode .page.fit{flex:1;min-height:0;display:flex;flex-direction:column;gap:14px;padding-block:14px 16px}

  .fit-cards .practice-layout{flex:1;min-height:0;margin-top:0;grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr);gap:20px}
  .fit-cards .flashcard{min-height:0;padding:16px 16px 4px}
  .fit-cards .picture-button{flex:1;min-height:0;width:100%;height:auto;margin:0}
  .fit-cards .picture-button>.card-media{width:100%;height:100%;aspect-ratio:auto}
  .fit-cards .word-display{min-height:0;padding-bottom:4px;font-size:clamp(46px,7vh,65px)}
  .fit-cards .practice-sidebar{display:flex;flex-direction:column;gap:12px;min-height:0}
  .fit-cards .word-speech{min-height:120px}
  .fit-cards .practice-sidebar .adult-tip{margin-top:auto}

  .fit-match .match-grid{flex:1;min-height:0;margin-top:0;grid-template-rows:minmax(0,1fr)}
  .fit-match .match-choice{min-height:0;padding:12px 12px 14px;gap:8px}
  .fit-match .match-choice>.card-media{flex:1;min-height:0;height:auto;width:100%;aspect-ratio:auto}

  .fit-detail .detail-layout{flex:1;min-height:0;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:24px}
  .fit-detail .detail-art{min-height:0}
  .fit-detail .detail-art>.card-media{height:100%;aspect-ratio:auto}
  .fit-detail .detail-side{justify-content:center;min-height:0}
}
/* 直向 iPad：字卡在上、喇叭與大人提示在下。 */
@media (min-width:700px) and (min-height:640px) and (orientation:portrait){
  .fit-cards .practice-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
  .fit-cards .practice-sidebar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}
  .fit-cards .practice-sidebar .audio-note{grid-column:1/-1}
  .fit-cards .word-speech{min-height:88px}
  .fit-cards .practice-sidebar .adult-tip{align-self:center;margin-top:0}
  .fit-detail .detail-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
  .fit-detail .detail-side{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 20px}
  .fit-detail .detail-side h1,.fit-detail .detail-meaning{grid-column:1}
  .fit-detail .detail-side .primary{grid-column:2;grid-row:1/3}
  .fit-detail .detail-side .audio-note,.fit-detail .detail-side .gallery-parent{grid-column:1/-1}
}
