:root{--paper:#fbf7ed;--ink:#303f35;--muted:#626a5e;--green:#536c50;--clay:#b55d40;--line:#e6e1d3;--yellow:#efd387;--serif:Georgia,'Times New Roman','Songti SC',serif;--sans:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.65}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ad623b;outline-offset:5px}button{border:0}a{color:inherit;text-decoration:none}.skip{position:fixed;top:-100px;left:20px;background:white;padding:10px;z-index:10}.skip:focus{top:10px}.topbar{max-width:1320px;margin:auto;padding:22px 40px;display:flex;align-items:center;gap:40px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;font:700 25px var(--serif);letter-spacing:-1px;flex-shrink:0}.brand small{display:block;font:11px var(--sans);letter-spacing:3px;margin-top:5px;color:var(--muted)}.brand-icon{font:48px var(--serif);color:var(--clay);line-height:1}nav{display:flex;gap:12px;margin:auto}.nav-btn{background:none;font-size:14px;padding:12px 16px;min-height:48px;border-radius:30px;color:var(--muted)}.nav-btn.active{background:#e8eddc;color:#3c5738;font-weight:650}.nav-btn span{font-size:11px;background:#fff9;border-radius:50%;padding:3px 7px;margin-left:4px}.parent-link{background:none;font-size:13px;text-decoration:underline;text-underline-offset:5px;min-height:44px;white-space:nowrap}main{max-width:1240px;margin:auto;padding:0 40px;min-height:70vh}h1,h2,h3,p{margin:0}h1{font-family:var(--serif);font-weight:500;letter-spacing:-2px;line-height:1.04;font-size:clamp(42px,5.8vw,76px)}h1 .accent{color:var(--clay);font-style:italic}h2{font-size:28px;font-weight:600;letter-spacing:-.7px}.eyebrow{display:block;color:var(--green);font-size:11px;font-weight:750;letter-spacing:2.4px;margin-bottom:20px}.hero{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:24px;padding:45px 0 32px}.hero-copy>p{margin-top:20px;color:var(--muted);font-size:16px;line-height:1.9}.hero-subtitle{display:block;font-family:var(--sans);font-size:24px;font-weight:500;letter-spacing:2px;line-height:1.5;margin-top:18px}.hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:26px 0 18px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:12px 23px;border-radius:14px;font-size:15px;font-weight:600}.primary{background:var(--green);color:#fff}.primary:hover{background:#3d563b}.secondary{background:#f0e8d7}.micro{font-size:12px;color:var(--muted)}.home-art{position:relative;isolation:isolate}.home-art img{width:100%;height:auto;display:block;mix-blend-mode:multiply;border-radius:36px}.room-hotspot{position:absolute;width:43%;height:30%;background:transparent;border:2px solid transparent;border-radius:18px;transition:border .2s,background .2s}.room-hotspot:hover,.room-hotspot:focus-visible{border-color:#536c50;background:#fff3}.room-hotspot span{position:absolute;left:50%;bottom:4%;transform:translateX(-50%);padding:4px 12px;border-radius:24px;background:#fffdf1ec;font-size:12px;white-space:nowrap;box-shadow:0 3px 8px #6a514013}.room-hotspot.bedroom{left:9%;top:25%}.room-hotspot.bathroom{left:52%;top:25%}.room-hotspot.living-room{left:9%;top:58%}.room-hotspot.kitchen{left:52%;top:58%}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:26px 0 23px}.section-heading small{font-size:13px;color:var(--muted);display:block;margin-top:7px}.room-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}.room-tab{text-align:left;background:#fff9;border:1px solid var(--line);border-radius:18px;padding:17px 14px;position:relative;transition:transform .2s}.room-tab:hover{transform:translateY(-3px)}.room-tab.active{border:2px solid var(--green);padding:16px 13px;background:#f0f3e8}.room-number{font:italic 21px var(--serif);color:var(--clay);display:block;margin-bottom:7px}.room-tab strong{display:block;font-size:15px}.room-tab small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.lesson-header{display:flex;align-items:center;gap:18px;margin:37px 0 20px}.lesson-header h2{font-family:var(--serif);font-size:34px;font-weight:500}.lesson-header h2 span{font:15px var(--sans);color:var(--muted);margin-left:14px}.lesson-header .lesson-count{margin-left:auto;color:var(--muted);font-size:12px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.word-card{background:#fffdf7;border:1px solid var(--line);border-radius:22px;overflow:hidden;position:relative;box-shadow:0 3px 0 #e4ddcc55}.picture{aspect-ratio:1.6;background-image:url('assets/home.png');background-repeat:no-repeat;background-color:#f4e9d2;background-size:calc(100% * var(--zoom)) auto;background-position:calc(var(--x) * 1%) calc(var(--y) * 1%);border-radius:14px}.word-card>.picture{margin:10px 10px 0}.word-body{padding:15px 20px 19px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}.word-body h3{font:600 24px var(--serif);line-height:1.25;min-width:0;overflow-wrap:anywhere}.word-body h3.long{font-size:21px}.translation{font-size:13px;color:var(--muted);margin-top:5px}.sound{height:48px;width:48px;flex-shrink:0;border-radius:50%;background:#ebf0e3;color:#3e5939;font-size:23px;display:inline-flex;align-items:center;justify-content:center}.sound.playing{background:var(--yellow);animation:pulse 1s ease-in-out infinite}.learned{display:flex;align-items:center;gap:6px;margin-top:12px;background:none;font-size:12px;color:var(--muted);padding:5px 0;min-height:35px}.learned.done{color:#526d40}.star{font-size:19px;color:#b08827}.activity{background:#ecefdf;border-radius:24px;margin:30px 0 45px;padding:24px 30px;display:flex;align-items:center;gap:24px}.activity .activity-icon{font:42px var(--serif);color:var(--green)}.activity h3{font-size:18px}.activity p{font-size:13px;color:var(--muted);margin-top:5px}.activity button{margin-left:auto;flex-shrink:0}.quiz-header{padding:45px 0 25px;display:flex;justify-content:space-between;align-items:center;gap:20px}.quiz-header h1{font-size:44px}.quiz-box{max-width:820px;margin:5px auto 55px;background:#fffdf7;border:1px solid var(--line);border-radius:30px;padding:32px;text-align:center}.quiz-box h2{font-size:24px}.quiz-meta{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:13px;margin-bottom:27px}.dots{display:flex;gap:8px}.dot{width:13px;height:13px;background:#e7e6dc;border-radius:50%}.dot.done{background:#8da37a}.dot.now{background:var(--clay)}.listen-button{background:#e7eddb;border-radius:50%;width:90px;height:90px;margin:20px auto 12px;font-size:37px;color:var(--green);box-shadow:0 0 0 10px #f0f3e9}.quiz-help{font-size:13px;color:var(--muted);min-height:26px;margin:16px 0 25px}.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.choice{padding:8px;background:white;border:2px solid var(--line);border-radius:19px;min-width:0}.choice .picture{aspect-ratio:1.1}.choice span{font:20px var(--serif);display:block;margin:10px 0 3px}.choice.correct{border-color:#63874f;background:#eef4e5}.choice.wrong{border-color:#c97c5f;animation:shake .3s}.feedback{min-height:64px;padding:17px 0 10px;font-size:16px;color:var(--green)}.quiz-finish .finish-star{display:block;font-size:70px;color:#b18b2c;line-height:1.5}.quiz-finish p{color:var(--muted);margin:16px 0 25px}.quiz-finish .hero-actions{justify-content:center}.empty{padding:60px 25px;text-align:center;background:#f0f1e5;border-radius:24px;margin:15px 0 60px}.empty h2{font-size:25px}.empty p{margin:15px auto 24px;max-width:440px;color:var(--muted);font-size:14px}footer{max-width:1240px;margin:35px auto 0;padding:24px 40px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted)}dialog{background:var(--paper);color:var(--ink);max-width:560px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:25px;padding:38px;box-shadow:0 20px 100px #26382530}dialog::backdrop{background:#1b281d70;backdrop-filter:blur(3px)}dialog h2{font-size:24px;margin-bottom:20px}dialog p{font-size:14px;color:var(--muted);line-height:1.9}.dialog-close{position:absolute;right:12px;top:10px;background:none;font-size:28px;width:44px;height:44px}.setting{display:flex;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--line);font-size:14px;align-items:center}.setting input{width:23px;height:23px;accent-color:var(--green)}.note{font-size:12px!important;margin-top:18px!important}.parent-stats{font-size:13px;margin:20px 0}.text-button{font-size:12px;background:none;text-decoration:underline;min-height:44px;color:#964d36}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#344b37;color:white;border-radius:20px;padding:12px 22px;max-width:90vw;font-size:13px;box-shadow:0 4px 20px #0002;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}body.hide-choice-labels .choice span{visibility:hidden}.fade-in{animation:appear .35s ease-out}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes pulse{50%{transform:scale(1.07)}}@keyframes shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@media(min-width:1500px){main{max-width:1320px}}@media(max-width:950px){.topbar{gap:15px;padding:20px 24px}nav{gap:0}.nav-btn{padding:11px 12px;font-size:13px}main{padding:0 24px}.room-list{grid-template-columns:repeat(3,minmax(0,1fr))}.cards{gap:14px}.word-body{padding:13px}.word-body h3{font-size:22px}.hero{grid-template-columns:.85fr 1.15fr;gap:0}.hero-copy>p{font-size:14px}.hero-subtitle{font-size:20px}}@media(max-width:650px){.topbar{padding:16px 18px;flex-wrap:wrap;gap:12px}.brand{font-size:23px}.brand-icon{font-size:38px}.brand small{font-size:10px}.parent-link{margin-left:auto}nav{order:3;width:100%;justify-content:center;margin:0}.nav-btn{flex:1;padding:10px 5px;font-size:13px}.hero{grid-template-columns:1fr;padding:30px 0 5px;text-align:center}.hero h1{font-size:52px}.hero-subtitle{font-size:20px;margin-top:12px}.hero-copy>p{margin-top:14px}.hero-actions{justify-content:center;margin:20px 0 15px}.eyebrow{margin-bottom:15px;font-size:10px}.home-art{max-width:540px;margin:0 -10px}.room-hotspot span{font-size:10px;padding:2px 8px}.section-heading{margin-top:20px}.section-heading h2{font-size:23px}.section-heading>.micro{display:none}main{padding:0 18px}.room-list{gap:9px}.room-tab{padding:12px 11px;border-radius:15px}.room-tab.active{padding:11px 10px}.room-number{font-size:17px;margin-bottom:3px}.room-tab strong{font-size:13px}.room-tab small{font-size:10px}.lesson-header{margin-top:28px}.lesson-header h2{font-size:28px}.lesson-header h2 span{font-size:13px;margin-left:7px}.lesson-count{font-size:10px!important}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.word-card{border-radius:17px}.word-card>.picture{margin:7px 7px 0;aspect-ratio:1.2}.word-body{grid-template-columns:1fr;padding:11px 12px;gap:6px}.word-body h3{font-size:23px}.word-body h3.long{font-size:18px}.word-body>.sound{grid-row:2;justify-self:end;position:absolute;right:10px;bottom:13px;width:42px;height:42px;font-size:21px}.learned{max-width:85px;font-size:11px;margin-top:10px}.translation{font-size:12px}.activity{padding:20px;gap:10px;flex-wrap:wrap;border-radius:18px}.activity-icon{display:none}.activity h3{font-size:17px}.activity p{font-size:12px}.activity button{margin-left:0;min-height:44px}.quiz-header{padding:30px 0 20px;align-items:start}.quiz-header h1{font-size:34px;letter-spacing:-1px}.quiz-header .eyebrow{margin-bottom:10px}.quiz-header .secondary{min-height:44px;padding:9px 13px;font-size:12px}.quiz-box{padding:22px 15px;border-radius:22px}.quiz-box h2{font-size:21px}.choices{gap:9px}.choice{padding:5px;border-radius:14px}.choice span{font-size:14px;overflow-wrap:anywhere}.choice .picture{border-radius:9px;aspect-ratio:.9}.quiz-meta{margin-bottom:20px}.dot{width:10px;height:10px}.quiz-help{font-size:12px}.feedback{font-size:14px}.primary,.secondary{padding:12px 17px}.quiz-finish h2{font-size:24px}footer{padding:20px 18px;flex-direction:column;gap:7px}dialog{padding:35px 25px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}
.fade-in{animation:none}
