:root{color-scheme:light;--paper: #fffbf4;--paper-soft: #f7efe2;--surface: #ffffff;--ink: #2c221e;--muted: #6c5d56;--line: #eadcc9;--accent: #f26b3a;--accent-hover: #e25a29;--accent-shadow: #c3461a;--accent-soft: #fff0e6;--forest: #2f8f63;--forest-soft: #e6f6ee;--plum: #6d4ec7;--plum-soft: #f1ecff;--radius-sm: 14px;--radius-md: 22px;--radius-lg: 32px;--target-size: 44px;font-family:SF Pro Rounded,Avenir Next,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}@media(pointer:coarse){:root{--target-size: 48px}}*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-bottom:calc(5.2rem + env(safe-area-inset-bottom,0px))}body{margin:0;min-width:280px;min-height:100dvh;background:radial-gradient(circle at 12% 0%,#fff2dd 0%,transparent 42%),radial-gradient(circle at 88% 8%,#eef7ef 0%,transparent 38%),var(--paper);overflow-wrap:break-word;-webkit-font-smoothing:antialiased}h1,h2,h3{margin:0;text-wrap:balance}p,li{margin:0;text-wrap:pretty}img{display:block;max-inline-size:100%;block-size:auto;object-fit:cover}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.52}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex="-1"]:focus-visible{outline:3px solid var(--plum);outline-offset:3px}.theme-lavender{--unit-bg: #f1ecff;--unit-art: #e4d9ff}.theme-peach{--unit-bg: #fff0e4;--unit-art: #ffdfc8}.theme-aqua{--unit-bg: #e7f7f4;--unit-art: #cdeee7}.theme-rose{--unit-bg: #ffedf2;--unit-art: #f9d8e4}.theme-leaf{--unit-bg: #eef5df;--unit-art: #deedc1}.tile-butter{--tile: #ffefc2}.tile-sky{--tile: #dceeff}.tile-mint{--tile: #d8f4e6}.app-shell{max-width:1180px;min-height:100dvh;margin:0 auto;padding:env(safe-area-inset-top,0px) clamp(14px,3.6vw,40px) calc(5.8rem + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column}.app-shell--lesson{padding-bottom:max(18px,env(safe-area-inset-bottom,0px))}.boot-screen{min-height:100dvh;display:grid;place-content:center;justify-items:center;gap:14px;padding:24px;text-align:center}.boot-badge{width:72px;height:72px;border-radius:24px;display:grid;place-items:center;background:var(--accent);color:#fff;box-shadow:0 6px 0 var(--accent-shadow)}.topbar{min-height:72px;display:flex;align-items:center;gap:12px;padding:10px 0}.brand-btn{display:inline-flex;align-items:center;gap:10px;border:0;background:none;padding:4px 6px 4px 0;min-height:var(--target-size);text-align:left}.brand-mark{width:42px;height:42px;border-radius:15px;background:var(--accent);color:#fff;display:grid;place-items:center;transform:rotate(-6deg);box-shadow:0 3px 0 var(--accent-shadow);flex-shrink:0}.brand-text{display:flex;flex-direction:column;line-height:1.15}.brand-text strong{font-size:1.08rem;font-weight:850;letter-spacing:-.02em}.brand-text small{font-size:.74rem;color:var(--muted);font-weight:700}.desktop-nav{display:none;align-items:center;gap:6px;margin-left:auto;padding:5px;background:var(--surface);border:1px solid var(--line);border-radius:999px;box-shadow:0 2px 10px #5c3d240d}.desktop-nav button{border:0;background:transparent;min-height:42px;padding:0 15px;border-radius:999px;display:inline-flex;align-items:center;gap:7px;font-weight:750;font-size:.94rem;color:var(--muted);transition:background .15s ease,color .15s ease}.desktop-nav button:hover{background:var(--paper-soft);color:var(--ink)}.desktop-nav button.is-active{background:var(--accent-soft);color:var(--accent-shadow)}.parent-trigger{margin-left:auto;min-height:var(--target-size);padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);display:inline-flex;align-items:center;gap:8px;font-weight:750;font-size:.92rem;box-shadow:0 2px 0 var(--line)}.parent-trigger:hover{background:var(--paper-soft)}.trigger-avatar{width:28px;height:28px;border-radius:50%;background:#ffefc2}@media(min-width:768px){.app-shell{padding-bottom:48px}.desktop-nav{display:flex}.parent-trigger{margin-left:8px}}.nav-pill-btn{min-height:var(--target-size);padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);display:inline-flex;align-items:center;gap:7px;font-weight:750}.lesson-progress{display:flex;gap:6px;flex:1;max-width:360px;margin:0 auto}.lesson-progress span{flex:1;height:9px;border-radius:99px;background:var(--line)}.lesson-progress .is-past{background:#f8a787}.lesson-progress .is-current{background:var(--accent)}.lesson-complete-label{margin:0 auto;font-weight:800;color:var(--forest)}.banner-toast{margin-bottom:12px;padding:10px 16px;border-radius:var(--radius-sm);background:#fff3d6;border:1px solid #f2d28b;color:#6f4a07;font-weight:700;font-size:.92rem}.main-container{flex:1;display:flex;flex-direction:column}.btn-primary,.btn-secondary,.btn-soft,.btn-ghost,.btn-danger{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:0 22px;border-radius:18px;font-weight:800;font-size:1rem;border:0;transition:transform .12s ease,background .15s ease,box-shadow .12s ease}.btn-primary{background:var(--accent);color:#fff;box-shadow:0 5px 0 var(--accent-shadow)}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-primary:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px 0 var(--accent-shadow)}.btn-primary--lg{min-height:58px;padding:0 28px;font-size:1.12rem;border-radius:20px}.btn-secondary{background:var(--surface);color:var(--ink);border:1.5px solid var(--line);box-shadow:0 3px 0 var(--line)}.btn-secondary:hover:not(:disabled){background:var(--paper-soft)}.btn-soft{background:#ffffffd9;color:var(--ink);border:1.5px solid rgb(255 255 255 / .9);box-shadow:0 3px #2c221e14}.btn-soft:hover:not(:disabled){background:#fff}.btn-ghost{background:transparent;color:var(--muted);min-height:var(--target-size);padding:0 14px}.btn-ghost:hover:not(:disabled){background:var(--paper-soft);color:var(--ink)}.btn-danger{background:#cf3d2e;color:#fff;box-shadow:0 3px #97261a}.btn-sm{min-height:40px;padding:0 14px;font-size:.9rem;border-radius:13px}.icon-btn{min-width:var(--target-size);min-height:var(--target-size);border-radius:14px;border:1px solid var(--line);background:var(--surface);display:grid;place-items:center}.icon-btn:hover{background:var(--paper-soft)}.home-stack{display:flex;flex-direction:column;gap:24px}.status-strip{display:flex;flex-wrap:wrap;gap:8px}.status-pill{min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);display:inline-flex;align-items:center;gap:7px;font-size:.88rem;font-weight:750}.status-pill--streak{background:#fff3e4;border-color:#f7d2ab;color:#b44b15}.status-pill--stickers{background:#f5f0ff;border-color:#ddd1fa;color:#5b3bb5}.status-pill--radio{background:#e8f7f1;border-color:#bde6d5;color:#1f6f4c}.status-pill--sync{background:#eef4ff;border-color:#c8dcff;color:#2753a6}.hero-card{display:grid;grid-template-columns:1fr;background:var(--unit-bg, #f1ecff);border-radius:var(--radius-lg);overflow:hidden;border:1.5px solid rgb(255 255 255 / .8);box-shadow:0 10px 28px #4a342212}.hero-visual{order:-1}.hero-cover-img{width:100%;aspect-ratio:16 / 10;object-position:50% 60%}.hero-collage-box{background:var(--unit-art);padding:28px 20px;display:grid;place-items:center;min-height:220px}.hero-content{padding:22px 22px 26px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.stage-chip{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;background:#ffffffd9;color:var(--accent-shadow);font-size:.82rem;font-weight:800}.lesson-num-chip{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;background:#2c221e14;font-size:.82rem;font-weight:800}.hero-content h1{font-size:clamp(2rem,1.4rem + 3vw,3.6rem);font-weight:900;letter-spacing:-.04em;line-height:1.12}.hero-english{margin-top:6px;font-size:clamp(1.15rem,.9rem + 1.1vw,1.75rem);font-weight:800;color:var(--plum)}.hero-tip{margin-top:10px;color:var(--muted);font-size:.95rem;font-weight:600}.hero-cta-row{margin-top:22px;display:flex;flex-wrap:wrap;gap:10px}@media(min-width:768px){.hero-card{grid-template-columns:1fr 1.08fr;min-height:360px}.hero-visual{order:0}.hero-cover-img{height:100%;aspect-ratio:auto;max-height:430px}.hero-collage-box{height:100%}.hero-content{padding:36px 40px}}.section-block{display:flex;flex-direction:column;gap:14px}.section-header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 14px}.section-header h2{font-size:clamp(1.25rem,1.05rem + .8vw,1.65rem);font-weight:850}.section-header p{color:var(--muted);font-size:.9rem;font-weight:600}.preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.preview-tile{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px;padding:8px;border-radius:20px;border:1.5px solid var(--line);background:var(--surface);box-shadow:0 3px 0 var(--line);text-align:left;transition:transform .14s ease,border-color .14s ease}.preview-tile img{grid-column:1 / -1;width:100%;aspect-ratio:1;border-radius:14px;background:var(--tile)}.preview-word{font-size:clamp(1rem,.82rem + 1vw,1.5rem);font-weight:850;padding-left:4px}.preview-tile:hover{border-color:var(--accent)}.speaker-dot{width:34px;height:34px;border-radius:50%;background:var(--accent-soft);color:var(--accent-shadow);display:grid;place-items:center;flex-shrink:0}.speaker-dot--lg{width:48px;height:48px}[data-playing=true] .speaker-dot,[data-playing=true].listen-cta,[data-playing=true].guide-chip{background:var(--accent);color:#fff}@media(min-width:768px){.preview-grid{gap:14px}.preview-tile{grid-template-columns:auto 1fr auto;padding:10px 14px 10px 10px;gap:12px}.preview-tile img{grid-column:auto;width:76px}}.station-jump-nav{display:flex;flex-wrap:wrap;gap:8px}.jump-pill{min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);font-weight:750;font-size:.88rem;color:var(--muted)}.jump-pill:hover{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-shadow)}.stations-list{display:flex;flex-direction:column;gap:26px}.station-group{scroll-margin-top:16px}.station-group-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;margin-bottom:12px}.station-group-head h3{font-size:1.12rem;font-weight:850}.station-group-head span{font-size:.88rem;color:var(--muted);font-weight:600}.unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}@media(min-width:768px){.unit-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}}.unit-card{display:flex;flex-direction:column;text-align:left;padding:0;border-radius:var(--radius-md);border:1.5px solid var(--line);background:var(--surface);overflow:hidden;box-shadow:0 4px 0 var(--line);transition:transform .14s ease,border-color .14s ease}.unit-card:hover{border-color:var(--accent);transform:translateY(-2px)}.unit-card.is-recommended{border-color:var(--accent)}.unit-art-frame{width:100%;aspect-ratio:1.9;background:var(--unit-art);display:grid;place-items:center;overflow:hidden}.unit-cover{width:100%;height:100%;object-position:center 60%}.collage-art{display:flex;align-items:center;justify-content:center;padding:0 10px}.collage-art img{width:34%;aspect-ratio:1;border-radius:18%;border:3px solid rgb(255 255 255 / .85);box-shadow:0 3px #2c221e1f}.collage-art img:first-child{transform:rotate(-9deg) translateY(6%)}.collage-art img:nth-child(2){z-index:1;transform:translateY(-7%)}.collage-art img:nth-child(3){transform:rotate(9deg) translateY(7%)}.collage-art--hero img{width:34%;border-width:5px}.unit-meta{padding:11px 12px 13px;display:flex;flex-direction:column;gap:3px}.unit-no{font-size:.78rem;color:var(--muted);font-weight:700}.unit-title{font-size:1.05rem;font-weight:850}.unit-words-hint{font-size:.82rem;color:var(--muted);font-weight:650}.unit-badge{margin-top:5px;align-self:flex-start;display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:999px;font-size:.76rem;font-weight:800}.unit-badge--doing{background:var(--accent-soft);color:var(--accent-shadow)}.unit-badge--done{background:var(--forest-soft);color:var(--forest)}.review-banner{grid-column:1 / -1;display:flex;align-items:center;gap:12px;padding:12px 15px;border-radius:20px;border:1.5px solid var(--line);background:var(--unit-bg);text-align:left}.review-banner:hover:not(:disabled){border-color:var(--accent)}.review-badge{width:44px;height:44px;border-radius:15px;background:var(--surface);color:var(--accent-shadow);display:grid;place-items:center;flex-shrink:0}.review-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.review-copy strong{font-size:1rem;font-weight:850}.review-copy small{color:var(--muted);font-size:.85rem;font-weight:600}.review-action-pill{padding:6px 12px;border-radius:999px;background:var(--surface);font-size:.82rem;font-weight:800;color:var(--accent-shadow);white-space:nowrap}.lesson-stage{flex:1;width:100%;max-width:680px;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:6px 0 12px}.stage-head{margin-bottom:14px}.stage-kicker{font-size:.88rem;font-weight:800;color:var(--accent-shadow);margin-bottom:4px}.stage-head h1{font-size:clamp(1.65rem,1.25rem + 1.9vw,2.5rem);font-weight:900;letter-spacing:-.03em}.guide-chip{margin-top:6px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--muted);display:inline-flex;align-items:center;gap:7px;font-size:.9rem;font-weight:700}.study-card{width:min(100%,clamp(240px,42dvh,360px));padding:0;border-radius:30px;border:2px solid var(--line);background:var(--surface);overflow:hidden;box-shadow:0 8px 0 var(--line);transition:transform .15s ease}.study-img-box{background:var(--tile);overflow:hidden}.study-card img{width:100%;aspect-ratio:1;transition:transform .2s ease}.study-card[data-playing=true] img{transform:scale(1.05)}.study-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 18px 14px 22px}.study-footer strong{font-size:clamp(2rem,1.5rem + 2.4vw,2.8rem);font-weight:900;letter-spacing:-.04em}.listen-cta{min-height:56px;padding:0 24px;border-radius:999px;border:2px solid #f7c3ae;background:var(--accent-soft);color:var(--accent-shadow);display:inline-flex;align-items:center;gap:10px;font-size:1.1rem;font-weight:850;box-shadow:0 4px #f4c8b6}.choice-grid{width:100%;max-width:560px;margin-top:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,2.5vw,20px)}.choice-card{position:relative;width:100%;padding:0;border-radius:26px;border:4px solid #fff;background:var(--tile);overflow:hidden;box-shadow:0 6px 0 var(--line);transition:transform .14s ease,border-color .15s ease,box-shadow .15s ease}.choice-card img{width:100%;aspect-ratio:1}.choice-card:hover:not(:disabled){border-color:var(--accent);transform:translateY(-2px)}.choice-card.is-hint{border-color:var(--plum);box-shadow:0 0 0 4px #dfd4ff}.choice-card.is-correct{border-color:var(--forest);box-shadow:0 0 0 4px #c7edd9}.choice-card.is-wrong{border-color:#c89f72}.choice-correct-badge{position:absolute;top:10px;right:10px;width:38px;height:38px;border-radius:50%;background:var(--forest);color:#fff;display:grid;place-items:center}.choice-reveal-word{position:absolute;left:10px;right:10px;bottom:10px;padding:6px 12px;border-radius:14px;background:#fffffff0;font-weight:900;font-size:1.25rem;color:var(--forest)}.stage-notice{min-height:26px;margin-top:12px;font-weight:750;color:var(--muted);font-size:.98rem}.lesson-actions{margin-top:14px;display:flex;align-items:center;justify-content:center;gap:12px}.lesson-actions--wrap{flex-wrap:wrap}@media(max-height:600px)and (orientation:landscape){.topbar{min-height:54px;padding:4px 0}.stage-head{margin-bottom:6px}.study-card{width:210px}.choice-grid{max-width:420px;margin-top:8px}}.result-card{background:var(--unit-bg);border-radius:var(--radius-lg);padding:clamp(22px,4vw,40px);border:2px solid #fff;box-shadow:0 12px 32px #44302014}.sticker-celebration{display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:14px}.sticker-ring{width:156px;height:156px;border-radius:50%;padding:8px;background:#fff;box-shadow:0 8px #2c221e1a;transform:rotate(-6deg)}.sticker-medal{width:100%;height:100%;border-radius:50%}.sticker-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border-radius:999px;background:#fff;color:var(--accent-shadow);font-weight:800;font-size:.88rem}.result-subtitle{margin-top:8px;color:var(--muted);font-weight:700}.parent-mini-card{margin:18px 0 6px;padding:14px 18px;border-radius:20px;background:#ffffffe0;text-align:left;width:100%;max-width:460px;display:flex;flex-direction:column;gap:4px}.parent-mini-label{font-size:.78rem;font-weight:800;color:var(--forest)}.parent-mini-card strong{color:var(--plum);font-size:1.05rem}.radio-page{display:flex;flex-direction:column;gap:24px;transition:background .24s ease,color .24s ease}.radio-page.is-eyecare{background:#1e1915;color:#f3e4cd;border-radius:var(--radius-lg);padding:clamp(18px,3.5vw,32px)}.radio-page.is-eyecare .radio-hero{background:#28211b;border-color:#3d332a}.radio-page.is-eyecare p,.radio-page.is-eyecare .radio-word-cn,.radio-page.is-eyecare .radio-session-note{color:#c5b39c}.radio-page.is-eyecare .btn-secondary,.radio-page.is-eyecare .timer-chip,.radio-page.is-eyecare .toggle-pill{background:#352b23;color:#f3e4cd;border-color:#4f4135;box-shadow:none}.radio-hero{background:linear-gradient(145deg,#fff5e8,#eef8f1);border:1.5px solid var(--line);border-radius:var(--radius-lg);padding:clamp(18px,3.5vw,32px);display:flex;flex-direction:column;gap:20px}.radio-head-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px}.radio-head-row h1{margin-top:8px;font-size:clamp(1.6rem,1.2rem + 1.6vw,2.3rem);font-weight:900}.radio-head-row p{margin-top:6px;color:var(--muted);font-weight:600}.eyecare-toggle{min-height:44px;padding:0 16px;border-radius:999px;border:1.5px solid var(--line);background:var(--surface);display:inline-flex;align-items:center;gap:7px;font-weight:800;font-size:.9rem}.eyecare-toggle.is-active{background:#f5b963;color:#24190c;border-color:#f5b963}.radio-deck{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}.radio-disc{width:clamp(150px,28vw,210px);aspect-ratio:1;border-radius:50%;padding:8px;background:var(--surface);border:4px solid #f9d9b7;box-shadow:0 12px 28px #f26b3a24}.radio-disc img{width:100%;height:100%;border-radius:50%}.radio-disc.is-pulsing{animation:gentlePulse 2.4s ease-in-out infinite}@keyframes gentlePulse{0%,to{transform:scale(1);box-shadow:0 0 #f26b3a47}50%{transform:scale(1.03);box-shadow:0 0 0 16px #f26b3a00}}.radio-now-meta{display:flex;flex-direction:column;align-items:center;gap:4px}.radio-track-badge{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;font-weight:800;color:var(--forest)}.radio-word-en{font-size:clamp(2rem,1.5rem + 2vw,2.8rem);font-weight:900;letter-spacing:-.03em}.radio-word-cn{color:var(--muted);font-weight:650}.radio-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.radio-options-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px}.toggle-pill{min-height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);display:inline-flex;align-items:center;gap:8px;font-size:.9rem;font-weight:700;cursor:pointer}.timer-group{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.timer-chip{min-height:38px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface);font-size:.85rem;font-weight:750}.timer-chip.is-selected{background:var(--accent);color:#fff;border-color:var(--accent)}.timer-countdown{font-weight:850;color:var(--accent-shadow);margin-left:4px}.radio-session-note{font-size:.88rem;color:var(--muted);font-weight:650}.playlist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}.playlist-card{display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:20px;border:1.5px solid var(--line);background:var(--surface);text-align:left;box-shadow:0 3px 0 var(--line)}.playlist-card.is-selected{border-color:var(--accent);background:var(--accent-soft)}.playlist-icon{width:42px;height:42px;border-radius:14px;background:var(--paper-soft);color:var(--accent-shadow);display:grid;place-items:center;flex-shrink:0}.playlist-copy{display:flex;flex-direction:column;gap:2px}.playlist-copy strong{font-size:.98rem;font-weight:850}.playlist-copy small{font-size:.82rem;color:var(--muted)}.stickers-page{display:flex;flex-direction:column;gap:24px}.journal-banner{background:linear-gradient(135deg,#fff3e4,#f4eeff);border:1.5px solid var(--line);border-radius:var(--radius-lg);padding:clamp(18px,3.5vw,32px);display:flex;flex-direction:column;gap:18px}.journal-intro h1{margin-top:8px;font-size:clamp(1.5rem,1.2rem + 1.5vw,2.2rem);font-weight:900}.journal-intro p{margin-top:6px;color:var(--muted);font-weight:600}.journal-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media(min-width:768px){.journal-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}.metric-box{background:#ffffffe0;border-radius:20px;padding:14px;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.metric-box strong{font-size:1.35rem;font-weight:900}.metric-box span{font-size:.84rem;color:var(--muted);font-weight:700}.metric-icon--warm{color:#e45a25}.metric-icon--gold{color:#7c4fd6}.metric-icon--teal{color:#1f8a70}.metric-icon--green{color:#2f8f63}.week-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.day-cell{background:var(--surface);border:1.5px solid var(--line);border-radius:18px;padding:10px 4px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.day-cell.is-checked{background:#fff4df;border-color:#f3c478}.day-cell.is-today{box-shadow:0 0 0 2px var(--accent)}.day-week{font-size:.78rem;font-weight:800;color:var(--muted)}.day-dot{font-size:1.25rem;line-height:1.2}.day-date{font-size:.74rem;color:var(--muted)}.day-detail{font-size:.72rem;font-weight:800;color:var(--accent-shadow)}.sticker-wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(136px,1fr));gap:12px}.sticker-slot{display:flex;flex-direction:column;align-items:center;gap:7px;padding:14px 10px;border-radius:22px;border:1.5px solid var(--line);background:var(--surface);text-align:center}.sticker-slot.is-earned{background:var(--unit-bg);border-color:#fff;box-shadow:0 4px 0 var(--line)}.sticker-slot.is-locked{border-style:dashed;background:#faf6ef}.sticker-slot-circle{width:82px;height:82px;border-radius:50%;padding:5px;background:#fff;overflow:hidden}.sticker-slot-circle img{width:100%;height:100%;border-radius:50%}.sticker-slot.is-locked img{filter:grayscale(1) opacity(.32)}.sticker-slot-title{font-size:.92rem;font-weight:850}.sticker-slot-sub{display:inline-flex;align-items:center;gap:4px;font-size:.8rem;font-weight:700;color:var(--muted)}.roadmap-page{display:flex;flex-direction:column;gap:24px}.roadmap-hero{background:linear-gradient(135deg,#eef6ff,#fff4e6);border:1.5px solid var(--line);border-radius:var(--radius-lg);padding:clamp(18px,3.5vw,32px);display:flex;flex-direction:column;gap:18px}.roadmap-hero h1{margin-top:8px;font-size:clamp(1.6rem,1.2rem + 1.6vw,2.35rem);font-weight:900}.roadmap-hero p{margin-top:6px;color:var(--muted);font-weight:600}.philosophy-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.philosophy-card{background:#ffffffd9;border-radius:18px;padding:12px 14px;display:flex;align-items:flex-start;gap:9px;font-size:.9rem;font-weight:650;line-height:1.45}.philosophy-card svg{color:var(--accent);flex-shrink:0;margin-top:2px}.stage-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media(min-width:768px){.stage-rail{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:1024px){.stage-rail{grid-template-columns:repeat(6,minmax(0,1fr))}}.stage-tab{padding:13px;border-radius:20px;border:1.5px solid var(--line);background:var(--surface);text-align:left;display:flex;flex-direction:column;gap:5px}.stage-tab.is-selected{background:var(--unit-bg);border-color:var(--accent);box-shadow:0 4px 0 var(--accent-soft)}.stage-tab-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.stage-level-tag{padding:2px 9px;border-radius:999px;background:var(--ink);color:#fff;font-size:.76rem;font-weight:850}.stage-status-tag{padding:2px 8px;border-radius:999px;font-size:.72rem;font-weight:800}.stage-status-tag.is-active{background:var(--forest-soft);color:var(--forest)}.stage-status-tag.is-planned{background:var(--paper-soft);color:var(--muted)}.stage-tab strong{font-size:.94rem;font-weight:850;line-height:1.25}.stage-tab small{font-size:.78rem;color:var(--muted)}.stage-detail{background:var(--unit-bg);border:1.5px solid var(--line);border-radius:var(--radius-lg);padding:clamp(18px,3.5vw,32px);display:flex;flex-direction:column;gap:18px}.stage-detail-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:14px}.stage-detail-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.detail-chip{padding:3px 11px;border-radius:999px;background:#ffffffd9;font-size:.8rem;font-weight:750}.stage-detail-head h2{font-size:clamp(1.45rem,1.15rem + 1.2vw,2rem);font-weight:900}.stage-detail-en{color:var(--plum);font-weight:800;margin-top:3px}.planned-pill{display:inline-flex;align-items:center;gap:7px;padding:10px 16px;border-radius:16px;background:#ffffffd9;color:var(--muted);font-weight:800;font-size:.9rem}.stage-kpi-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.stage-kpi{background:#ffffffe0;border-radius:18px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}.stage-kpi span{font-size:.78rem;color:var(--muted);font-weight:750}.stage-kpi strong{font-size:.95rem;font-weight:850;line-height:1.35}.stage-detail-grid{display:grid;grid-template-columns:1fr;gap:14px}@media(min-width:840px){.stage-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.detail-panel{background:#ffffffeb;border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:10px}.detail-panel h3{display:flex;align-items:center;gap:8px;font-size:1.05rem;font-weight:850}.detail-panel ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.detail-panel li{display:flex;align-items:flex-start;gap:8px;font-size:.92rem;line-height:1.5}.detail-panel li svg{color:var(--forest);flex-shrink:0;margin-top:3px}.panel-subhead{font-size:.8rem;font-weight:800;color:var(--muted);margin-top:4px}.tag-cloud{display:flex;flex-wrap:wrap;gap:7px}.info-tag{padding:5px 11px;border-radius:12px;background:var(--paper-soft);font-size:.84rem;font-weight:700}.info-tag--soft{background:var(--plum-soft);color:var(--plum)}.compact-list li:before{content:"•";color:var(--accent);font-weight:900}.oss-list{display:flex;flex-direction:column;gap:10px}.oss-item{padding:10px 12px;border-radius:14px;background:var(--paper);border:1px solid var(--line)}.oss-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px}.oss-head a{display:inline-flex;align-items:center;gap:5px;font-weight:850;color:var(--plum);text-decoration:none;overflow-wrap:anywhere}.oss-head a:hover{text-decoration:underline}.oss-license{padding:2px 8px;border-radius:999px;background:var(--forest-soft);color:var(--forest);font-size:.74rem;font-weight:800}.oss-item p{margin-top:4px;font-size:.86rem;color:var(--muted);line-height:1.45}.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fffbf4f0;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:6px max(10px,env(safe-area-inset-left,0px)) max(.6rem,env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-right,0px))}.mobile-bottom-nav button{min-height:52px;border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);font-size:.76rem;font-weight:800;border-radius:14px}.mobile-bottom-nav button.is-active{color:var(--accent-shadow);background:var(--accent-soft)}@media(min-width:768px){.mobile-bottom-nav{display:none}}.app-dialog{width:min(94vw,560px);max-height:90dvh;padding:0;border:1.5px solid var(--line);border-radius:26px;background:var(--surface);color:var(--ink);box-shadow:0 24px 64px #2c221e40}.app-dialog--wide{width:min(94vw,660px)}.app-dialog[open]{display:flex;flex-direction:column}dialog:modal{overscroll-behavior:contain}dialog::backdrop{background:#231a1485;overflow:hidden;overscroll-behavior:contain}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 14px;border-bottom:1px solid var(--line)}.dialog-title{font-size:1.2rem;font-weight:900}.dialog-body{padding:18px 20px 22px;overflow-y:auto;overscroll-behavior:contain}.auth-intro-banner{padding:12px 14px;border-radius:16px;background:var(--paper-soft);font-size:.9rem;line-height:1.5;margin-bottom:14px}.segmented-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;padding:5px;border-radius:16px;background:var(--paper-soft);margin-bottom:16px}.segmented-tabs button{min-height:42px;border:0;border-radius:12px;background:transparent;font-weight:800;color:var(--muted)}.segmented-tabs button.is-active{background:var(--surface);color:var(--ink);box-shadow:0 2px 6px #2c221e14}.auth-form,.add-child-form{display:flex;flex-direction:column;gap:13px}.form-field{display:flex;flex-direction:column;gap:6px}.form-field label,.field-label-text{font-size:.88rem;font-weight:800;color:var(--ink)}.form-field input{min-height:46px;padding:0 13px;border-radius:14px;border:1.5px solid var(--line);background:var(--paper);font:inherit;color:var(--ink);width:100%}.password-input-row{display:flex;gap:8px;align-items:center}.form-row-2{display:grid;grid-template-columns:1fr;gap:12px}@media(min-width:520px){.form-row-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.avatar-picker{display:flex;flex-wrap:wrap;gap:8px}.avatar-option{width:50px;height:50px;padding:3px;border-radius:50%;border:2px solid var(--line);background:var(--paper)}.avatar-option.is-selected{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.avatar-option img{width:100%;height:100%;border-radius:50%}.form-error{padding:10px 12px;border-radius:12px;background:#fdecec;color:#a9281d;font-weight:700;font-size:.9rem}.auth-submit{width:100%;margin-top:4px}.guest-summary-foot{margin-top:18px;padding-top:14px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;font-size:.86rem;color:var(--muted)}.parents-top-bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.active-child-summary{display:flex;align-items:center;gap:10px}.active-child-summary div{display:flex;flex-direction:column}.active-child-summary span{font-size:.84rem;color:var(--muted)}.child-avatar-sm{width:44px;height:44px;border-radius:50%;background:#ffefc2}.parents-section{display:flex;flex-direction:column;gap:14px}.filter-pills{display:flex;flex-wrap:wrap;gap:6px}.filter-pill{min-height:36px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--paper);font-size:.84rem;font-weight:750}.filter-pill.is-selected{background:var(--accent);color:#fff;border-color:var(--accent)}.word-report-list{list-style:none;padding:0;margin:0;max-height:310px;overflow-y:auto;border:1px solid var(--line);border-radius:18px}.word-report-item{display:flex;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid var(--paper-soft)}.word-report-item:last-child{border-bottom:0}.word-mini-play{display:inline-flex;align-items:center;gap:6px;border:0;background:var(--paper-soft);padding:4px 8px 4px 4px;border-radius:999px;min-height:40px;color:var(--accent-shadow)}.word-mini-play img{width:32px;height:32px;border-radius:50%}.word-report-copy{flex:1;display:flex;align-items:baseline;gap:8px}.word-report-copy span{color:var(--muted);font-size:.88rem}.mastery-badge{padding:3px 10px;border-radius:999px;font-size:.78rem;font-weight:800}.mastery-badge--mastered{background:var(--forest-soft);color:var(--forest)}.mastery-badge--practicing{background:var(--accent-soft);color:var(--accent-shadow)}.mastery-badge--heard{background:var(--plum-soft);color:var(--plum)}.mastery-badge--unseen{background:var(--paper-soft);color:var(--muted)}.learners-list{display:flex;flex-direction:column;gap:10px}.learner-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:18px;border:1.5px solid var(--line)}.learner-row.is-current{border-color:var(--accent);background:var(--accent-soft)}.learner-row-info{flex:1;display:flex;flex-direction:column}.learner-row-info span{font-size:.84rem;color:var(--muted)}.learner-row-actions{display:flex;align-items:center;gap:8px}.current-tag{display:inline-flex;align-items:center;gap:4px;font-size:.84rem;font-weight:800;color:var(--forest)}.highlight-tip{padding:14px 16px;border-radius:18px;background:var(--forest-soft);display:flex;flex-direction:column;gap:4px}.guide-lesson-list{list-style:none;padding:0;margin:0;max-height:300px;overflow-y:auto;display:flex;flex-direction:column;gap:10px}.guide-lesson-list li{padding:11px 13px;border-radius:16px;border:1px solid var(--line);background:var(--paper);display:flex;flex-direction:column;gap:4px}.guide-lesson-head{display:flex;justify-content:space-between;gap:8px;font-size:.92rem}.guide-lesson-head span{color:var(--muted);font-weight:700}.guide-lesson-list p{font-size:.86rem;color:var(--muted)}.guide-lesson-list code{font-family:inherit;font-weight:800;color:var(--plum);overflow-wrap:anywhere}.danger-zone{padding-top:10px;border-top:1px solid var(--line)}.confirm-inline{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:14px;background:#fff3f2;font-size:.9rem;font-weight:700}.confirm-inline-btns{display:flex;justify-content:flex-end;gap:8px}.section-note{font-size:.88rem;color:var(--muted)}@media(max-width:420px){.hide-xs{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.auth-gate-shell{min-height:100dvh;padding:max(18px,env(safe-area-inset-top,0px)) clamp(14px,4vw,36px) max(22px,env(safe-area-inset-bottom,0px));display:grid;place-items:center}.auth-gate-card{width:100%;max-width:1020px;display:grid;grid-template-columns:1fr;background:var(--surface);border:1.5px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:0 18px 48px #4430201a}.auth-gate-form-pane{padding:clamp(22px,4vw,38px);display:flex;flex-direction:column;gap:16px}.auth-gate-brand{padding:clamp(22px,4vw,38px);background:linear-gradient(155deg,#fff1de,#edf6e9);display:flex;flex-direction:column;gap:18px;border-top:1px solid var(--line)}@media(min-width:840px){.auth-gate-card{grid-template-columns:1fr 1.05fr}.auth-gate-brand{order:-1;border-top:0;border-right:1px solid var(--line);justify-content:center}}.auth-brand-head{display:flex;align-items:center;gap:12px}.brand-mark--lg{width:52px;height:52px;border-radius:18px}.auth-brand-head strong{display:block;font-size:1.35rem;font-weight:900}.auth-brand-head small{color:var(--muted);font-weight:700}.auth-cover{width:100%;aspect-ratio:16 / 10;border-radius:22px;border:4px solid #fff;box-shadow:0 10px 24px #2c221e1a}.auth-feature-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.auth-feature-list li{display:flex;align-items:flex-start;gap:9px;font-size:.92rem;font-weight:700;color:var(--ink);line-height:1.45}.auth-feature-list svg{color:var(--accent-shadow);flex-shrink:0;margin-top:2px}.auth-pane-head h1{margin-top:8px;font-size:clamp(1.45rem,1.15rem + 1.2vw,1.95rem);font-weight:900}.auth-guest-divider{margin-top:6px;padding-top:16px;border-top:1px dashed var(--line);display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.auth-guest-divider span{font-size:.86rem;font-weight:700;color:var(--muted)}.auth-guest-btn{width:100%}.auth-guest-divider small{font-size:.8rem;color:var(--muted)}.topbar-end-group{margin-left:auto;display:flex;align-items:center;gap:8px}@media(min-width:768px){.topbar-end-group{margin-left:8px}}.topbar-end-group .parent-trigger{margin-left:0}.parent-trigger--login{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 3px 0 var(--accent-shadow)}.parent-trigger--login:hover{background:var(--accent-hover)}.sync-chip{min-height:38px;padding:0 11px;border-radius:999px;border:1px solid var(--line);background:var(--surface);display:inline-flex;align-items:center;gap:5px;font-size:.8rem;font-weight:800}.sync-chip--synced{background:var(--forest-soft);border-color:#bfe6d2;color:var(--forest)}.sync-chip--syncing{background:#eef4ff;border-color:#c8dcff;color:#2753a6}.sync-chip--offline{background:#fff3d6;border-color:#f2d28b;color:#8a5607}.spin{animation:spin360 1s linear infinite}@keyframes spin360{to{transform:rotate(360deg)}}@media(max-width:520px){.hide-sm{display:none}}.banner-toast{display:flex;align-items:center;justify-content:space-between;gap:10px}.banner-close{border:0;background:#2c221e14;padding:5px 10px;border-radius:10px;font-size:.82rem;font-weight:800;white-space:nowrap}.username-sub{font-weight:650;color:var(--muted);font-size:.85rem}.segmented-tabs--4 button{font-size:.86rem;padding:0 6px}.guest-cta-row{display:flex;flex-wrap:wrap;gap:10px}.guest-cta-row button{flex:1 1 180px}.form-success{display:flex;align-items:center;gap:7px;padding:10px 12px;border-radius:12px;background:var(--forest-soft);color:var(--forest);font-weight:750;font-size:.88rem}.security-card{padding:15px;border-radius:18px;border:1px solid var(--line);background:var(--paper);display:flex;flex-direction:column;gap:12px}.subpanel-title{display:flex;align-items:center;gap:7px;font-size:1rem;font-weight:850}.sessions-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}.session-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.session-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:14px;background:var(--surface);border:1px solid var(--line)}.session-item.is-current{border-color:var(--forest);background:var(--forest-soft)}.session-item strong{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:.92rem}.session-item small{display:block;margin-top:2px;color:var(--muted);font-size:.8rem}.current-device-chip{padding:2px 8px;border-radius:999px;background:var(--forest);color:#fff;font-size:.72rem;font-weight:800}.merge-dialog-content{display:flex;flex-direction:column;gap:14px;line-height:1.55}.merge-summary-list{list-style:none;padding:12px 14px;margin:0;border-radius:16px;background:var(--paper-soft);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-weight:750;font-size:.92rem}.merge-dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
