@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+Myanmar:wght@400;600&family=Noto+Sans+Thai:wght@400;600&family=Noto+Serif+SC:wght@500;700&display=swap');

:root{font-family:'DM Sans','Noto Sans Thai','Noto Sans Myanmar',sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);min-height:100vh;transition:background .25s,color .25s}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body[data-theme=classic]{--bg:#f8f4ea;--surface:#fffdf8;--surface2:#f2eadb;--ink:#242119;--muted:#6c6558;--line:#e1d8c6;--accent:#17786b;--accent-ink:#fff;--accent-soft:#dbf0e9;--gold:#bd8930;--danger:#bd5d55;--hero:#eee4ce;--shadow:0 12px 35px rgba(64,50,23,.055)}
body[data-theme=peach]{--bg:#fff4f1;--surface:#fffefd;--surface2:#ffe8e7;--ink:#492d38;--muted:#806773;--line:#f2d3d6;--accent:#d45986;--accent-ink:#fff;--accent-soft:#ffe0eb;--gold:#bd815d;--danger:#ba5361;--hero:#ffe1df;--shadow:0 12px 35px rgba(166,74,105,.08)}
body[data-theme=mint]{--bg:#eff9f2;--surface:#fcfffc;--surface2:#dbefe1;--ink:#213c32;--muted:#5b776b;--line:#cbe1d4;--accent:#168365;--accent-ink:#fff;--accent-soft:#d2f3e8;--gold:#ae8340;--danger:#ad5757;--hero:#d6f0e2;--shadow:0 12px 35px rgba(42,112,70,.07)}
body[data-theme=sky]{--bg:#f1f7ff;--surface:#fff;--surface2:#dfefff;--ink:#223752;--muted:#62758a;--line:#cfdeee;--accent:#386eae;--accent-ink:#fff;--accent-soft:#dfeeff;--gold:#bb8c3b;--danger:#b75360;--hero:#dbeafe;--shadow:0 12px 35px rgba(47,95,165,.07)}
body[data-theme=lilac]{--bg:#f7f3ff;--surface:#fff;--surface2:#ebe1fb;--ink:#372c4a;--muted:#746985;--line:#ded3ef;--accent:#7858a6;--accent-ink:#fff;--accent-soft:#eee1ff;--gold:#ad8057;--danger:#b85769;--hero:#e9dff8;--shadow:0 12px 35px rgba(94,69,151,.07)}
body[data-theme=night]{--bg:#172126;--surface:#223036;--surface2:#2d4147;--ink:#f2f6f1;--muted:#bbccc8;--line:#3b555a;--accent:#68c6a9;--accent-ink:#10221b;--accent-soft:#2b504c;--gold:#e1bd6b;--danger:#e68d8c;--hero:#263b41;--shadow:0 12px 35px rgba(0,0,0,.12)}
.mock-ribbon{display:flex;justify-content:center;gap:10px;padding:6px 12px;background:#1e2c29;color:#f8f4ea;font-size:10px;letter-spacing:.04em}.mock-ribbon span:first-child{font-weight:800;letter-spacing:.12em;color:#f2c975}.site-header{height:76px;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:0 max(26px,calc((100vw - 1260px)/2));position:sticky;top:0;z-index:20;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 4px 18px rgba(0,0,0,.025)}.brand{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:22px;font-weight:800;letter-spacing:-.055em;color:var(--ink)}.brand img{width:34px;height:34px;object-fit:contain}.desktop-nav{display:flex;align-items:center;gap:3px;height:100%}.nav-link{border:0;background:transparent;color:var(--muted);font-size:13px;font-weight:700;padding:12px 13px;border-radius:10px}.nav-link:hover,.nav-link.active{background:var(--accent-soft);color:var(--accent)}.header-tools{display:flex;align-items:center;gap:8px}.compact-select,.icon-tool,.account-button{height:38px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink)}.compact-select{max-width:110px;padding:0 6px;font-size:12px;font-weight:700}.icon-tool{width:38px;font-size:23px;line-height:1}.account-button{padding:0 13px;background:var(--ink);color:var(--surface);font-size:12px;font-weight:700;border-color:var(--ink);white-space:nowrap}
main{max-width:1260px;margin:0 auto;padding:34px 26px 90px;min-height:calc(100vh - 160px)}.page{display:none}.page.active{display:block;animation:appear .22s ease}@keyframes appear{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}.panel{background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.eyebrow{margin:0 0 12px;color:var(--accent);letter-spacing:.16em;font-size:11px;font-weight:800}.muted{color:var(--muted)}.lead{font-size:16px;line-height:1.75;color:var(--muted);max-width:560px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:11px;border:1px solid transparent;padding:12px 18px;min-height:44px;font-size:13px;font-weight:800;transition:transform .15s,background .15s,border .15s}.button:not(:disabled):hover{transform:translateY(-2px)}.button.primary{background:var(--accent);color:var(--accent-ink)}.button.secondary{background:var(--surface);color:var(--ink);border-color:var(--line)}.button.ghost{background:transparent;color:var(--accent);padding-left:4px;padding-right:4px}.button.full{width:100%}.text-link{border:0;background:transparent;color:var(--accent);font-weight:800;font-size:13px;padding:5px 0;text-align:left}.text-link:hover{text-decoration:underline}.pill{display:inline-flex;align-items:center;background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800;white-space:nowrap}.count-bubble{display:grid;place-items:center;min-width:37px;height:37px;background:var(--accent-soft);color:var(--accent);border-radius:12px;font-weight:800}
.hero{display:grid;grid-template-columns:1.15fr .85fr;min-height:338px;overflow:hidden;background:var(--hero)}.hero-copy{padding:49px 52px;position:relative;z-index:1}.hero h1{margin:0;font-size:clamp(32px,3.2vw,48px);line-height:1.12;letter-spacing:-.045em;max-width:620px}.hero-actions,.inline-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:24px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 52% 40%,var(--surface),transparent 48%)}.hero-art:before,.hero-art:after{content:'';position:absolute;border:1px solid var(--line);border-radius:50%;width:270px;height:270px}.hero-art:after{width:390px;height:390px}.hero-sticker{z-index:1;width:155px;height:155px;border-radius:35px;display:grid;place-items:center;background:var(--surface);color:var(--accent);font:700 100px 'Noto Serif SC',serif;transform:rotate(-9deg);box-shadow:0 24px 42px rgba(0,0,0,.1)}.hero-small,.hero-speech,.hero-caption{position:absolute;z-index:2;border-radius:12px;background:var(--surface);box-shadow:var(--shadow);padding:8px 13px;font-weight:800}.hero-small{left:16%;top:19%;color:var(--accent)}.hero-speech{right:18%;top:19%;font-size:20px}.hero-caption{right:12%;bottom:16%;font-size:12px;color:var(--muted)}
.saved-section{padding:18px 22px;margin:-13px 0 28px}.saved-section .eyebrow{margin-bottom:10px}
.overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0 35px}.today-panel,.due-panel{padding:25px 28px;min-height:250px}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.section-heading h2,.path-section h2,.curve-panel h2,.review-side h2{font-size:21px;letter-spacing:-.035em;line-height:1.25;margin:0}.section-heading .eyebrow{margin-bottom:7px}.goal-progress{display:flex;gap:14px;align-items:center;margin:26px 0 7px}.goal-progress strong{font-size:13px;white-space:nowrap}.progress-track{height:10px;background:var(--surface2);border-radius:99px;overflow:hidden;flex:1}.progress-track div{height:100%;width:0;background:var(--accent);border-radius:inherit;transition:width .25s}.today-panel .muted,.due-panel .muted{font-size:13px;line-height:1.6}.today-panel .inline-actions{margin-top:16px}.due-preview{display:flex;gap:8px;flex-wrap:wrap;min-height:47px;align-items:center;margin:8px 0 14px}.due-chip{background:var(--surface2);border:1px solid var(--line);border-radius:10px;padding:5px 10px;font:700 17px 'Noto Serif SC',serif}.path-section{margin:0 0 34px}.path-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:17px}.path-card{border-radius:18px;display:flex;align-items:center;gap:15px;padding:22px;text-align:left;color:var(--ink);width:100%}.path-card:hover{border-color:var(--accent);transform:translateY(-2px)}.path-card>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.path-card strong{font-size:17px}.path-card small{font-size:12px;color:var(--muted)}.path-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:var(--accent-soft);color:var(--accent);font:700 26px 'Noto Serif SC',serif}.path-icon.business{background:var(--surface2);color:var(--gold)}.curve-panel{padding:27px 30px;display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.curve-panel p.muted{line-height:1.7;font-size:13px;max-width:470px}.schedule-pills{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.schedule-pills span{font-size:11px;font-weight:800;padding:7px 10px;background:var(--surface2);border-radius:7px}.curve-visual{position:relative;height:180px}.curve-visual svg{width:100%;height:100%}.curve-area{fill:var(--accent-soft)}.curve-line{fill:none;stroke:var(--accent);stroke-width:3}.curve-dash{stroke:var(--line);stroke-dasharray:5 5}.curve-dots{position:absolute;inset:0;display:flex;justify-content:space-around;align-items:flex-end;padding-bottom:14px}.curve-dots i{display:block;width:8px;height:8px;background:var(--accent);border:2px solid var(--surface);border-radius:50%}
.page-intro{margin:12px 0 27px;max-width:660px}.page-intro h1{margin:0 0 9px;font-size:clamp(30px,3vw,41px);letter-spacing:-.05em}.page-intro p:last-child{margin:0;color:var(--muted);line-height:1.65;font-size:14px}.path-switch{display:flex;gap:8px;margin-bottom:14px}.segmented{border:1px solid var(--line);background:var(--surface);color:var(--muted);padding:11px 17px;border-radius:12px;font-weight:800;font-size:13px}.segmented.active{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.filter-panel{padding:19px 22px;display:flex;justify-content:space-between;align-items:center;gap:15px}.filter-label{display:block;color:var(--muted);font-weight:800;font-size:11px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:10px}.category-options{display:flex;gap:7px;flex-wrap:wrap}.category-option{border:1px solid var(--line);border-radius:10px;padding:8px 13px;color:var(--ink);background:var(--surface);font-size:12px;font-weight:800}.category-option.active{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}.save-category{white-space:nowrap}.explore-meta{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:28px 0 10px}.explore-meta h2{font-size:23px;margin:0 0 4px}.explore-meta p{margin:0;font-size:13px}.hint-line{padding:10px 12px;background:var(--accent-soft);color:var(--accent);border-radius:9px;font-size:12px;margin-bottom:17px}.vocab-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.word-tile{border-radius:17px;padding:19px;display:flex;flex-direction:column;min-height:204px}.word-tile-top{display:flex;justify-content:space-between;align-items:flex-start}.word-level{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.08em}.word-hanzi{font:700 34px 'Noto Serif SC',serif;line-height:1.25;margin:12px 0 1px}.pinyin{color:var(--accent);font-size:13px;font-weight:700}.word-meaning{font-size:13px;color:var(--muted);margin:8px 0 13px;line-height:1.5}.word-tile-actions{display:flex;gap:7px;align-items:center;margin-top:auto}.mini-button{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:7px 10px;color:var(--ink);font-size:11px;font-weight:800;min-height:35px}.mini-button.listen{color:var(--accent);background:var(--accent-soft);border-color:transparent}.mini-button:hover{border-color:var(--accent)}.search-box{display:flex;align-items:center;gap:12px;padding:6px 17px;border:1px solid var(--line);border-radius:15px;background:var(--surface);max-width:750px}.search-box span{font-size:30px;color:var(--accent)}.search-box input{border:0;outline:0;background:transparent;color:var(--ink);width:100%;height:49px}.search-meta{display:flex;justify-content:space-between;align-items:center;margin:17px 0;color:var(--muted);font-size:12px}
.review-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:17px}.review-main{padding:32px;min-height:375px}.review-side{padding:25px}.review-side .muted{font-size:13px;line-height:1.6}.review-side h2{font-size:17px}.review-dates{display:flex;gap:8px;flex-wrap:wrap;margin:23px 0}.review-dates span{border:1px solid var(--line);border-radius:9px;padding:7px 10px;font-weight:800;font-size:12px}.review-word{text-align:center;padding:8px 0}.review-word .word-hanzi{font-size:62px;margin:10px}.review-word .pinyin{font-size:18px}.review-word .word-meaning{font-size:18px;color:var(--ink)}.review-word .button{margin-top:14px}.review-buttons,.practice-actions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin-top:23px}.review-progress{font-size:12px;color:var(--muted);font-weight:800}.practice-top{display:flex;justify-content:space-between;align-items:center;max-width:680px;margin:0 auto 13px;color:var(--muted);font-size:13px;font-weight:800}.practice-card,.quiz-card{max-width:680px;margin:0 auto;padding:36px 30px;min-height:370px;text-align:center}.practice-card .word-hanzi,.quiz-card .word-hanzi{font-size:66px;margin:17px 0 3px}.practice-card .pinyin,.quiz-card .pinyin{font-size:19px}.practice-card .word-meaning{font-size:19px;color:var(--ink)}.practice-card .example{margin:15px auto;padding:13px;background:var(--surface2);border-radius:10px;max-width:470px;font-size:13px;line-height:1.6}.quiz-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:24px}.quiz-choice{min-height:53px;background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:10px;font-weight:700;color:var(--ink)}.quiz-choice:hover:not(:disabled){border-color:var(--accent)}.quiz-choice.correct{border-color:var(--accent);background:var(--accent-soft)}.quiz-choice.wrong{border-color:var(--danger);background:var(--surface2)}.quiz-feedback{margin-top:14px;font-weight:800}.completion{text-align:center;max-width:530px;margin:auto;padding:25px 0}.completion-icon{font-size:45px}.completion h2{font-size:26px;margin:9px 0}.completion p{color:var(--muted);line-height:1.6}
.setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.setup-choice{padding:25px;text-align:left;color:var(--ink);min-height:210px}.setup-choice strong{display:block;font-size:22px;margin:14px 0 5px}.setup-choice small{font-size:13px;color:var(--muted);line-height:1.6}.setup-choice:hover{border-color:var(--accent)}.setup-choice .path-icon{width:45px;height:45px}.form-stack{display:grid;gap:16px}.form-stack label{display:grid;gap:7px;font-size:12px;color:var(--muted);font-weight:800}.form-stack input,.form-stack select{width:100%;height:44px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:var(--surface);color:var(--ink)}.form-stack input[type=file]{height:auto;padding:10px}.form-stack fieldset{border:1px solid var(--line);border-radius:12px;padding:14px}.form-stack legend{color:var(--ink);font-weight:800;font-size:13px;padding:0 5px}.interest-options{display:flex;flex-wrap:wrap;gap:7px}.interest-options label{display:flex;align-items:center;gap:5px;background:var(--surface2);padding:7px 10px;border-radius:8px;color:var(--ink);font-size:12px}.interest-options input{width:auto;height:auto}.setup-panel{padding:27px;max-width:690px}.setup-panel h2{margin:0 0 8px}.setup-panel p{color:var(--muted);font-size:13px;line-height:1.6}.setup-question{font-size:22px;font-weight:800;margin:22px 0 14px}.setup-choices{display:grid;gap:9px}.setup-choices button{text-align:left;min-height:48px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 14px;color:var(--ink)}.setup-choices button:hover{border-color:var(--accent)}.setup-choices button.selected{background:var(--accent-soft);border-color:var(--accent)}
.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:17px}.stat-card{padding:21px}.stat-card small{color:var(--muted);font-size:12px}.stat-card strong{display:block;font-size:28px;letter-spacing:-.04em;margin-top:8px}.stat-card em{font-style:normal;font-size:11px;color:var(--accent);font-weight:800}.admin-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:17px}.admin-panel{padding:24px}.admin-panel h2{margin:0;font-size:20px}.admin-chart{width:100%;height:250px;margin-top:20px}.admin-chart path{fill:none;stroke:var(--accent);stroke-width:3}.admin-chart .area{fill:var(--accent-soft);stroke:none}.admin-chart line{stroke:var(--line)}.admin-range{display:flex;gap:5px}.admin-range button{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:7px;padding:5px 9px;font-size:11px;font-weight:800}.admin-range button.active{background:var(--accent-soft);color:var(--accent)}.level-bar{margin:13px 0}.level-bar div{display:flex;justify-content:space-between;font-size:12px;font-weight:800;margin-bottom:5px}.level-bar .progress-track{height:8px}.level-bar .progress-track span{display:block;height:100%;background:var(--accent);border-radius:99px}.admin-note{font-size:11px;color:var(--muted);line-height:1.5;margin-top:15px}
.site-footer{border-top:1px solid var(--line);padding:23px max(26px,calc((100vw - 1260px)/2));display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:11px}.site-footer>div{display:flex;gap:18px;flex-wrap:wrap}.mobile-nav{display:none}.overlay{position:fixed;inset:0;z-index:50;background:rgba(14,20,20,.55);display:flex;justify-content:center;align-items:center;padding:18px}.modal-shell{position:relative;background:var(--surface);color:var(--ink);width:min(100%,650px);max-height:min(90vh,850px);overflow:auto;border-radius:20px;padding:30px;box-shadow:0 22px 75px rgba(0,0,0,.2)}.modal-close{position:absolute;top:14px;right:15px;width:34px;height:34px;border:0;border-radius:9px;background:var(--surface2);color:var(--ink);font-size:24px}.modal-shell h2{margin:0 35px 8px 0;font-size:25px;letter-spacing:-.03em}.modal-shell p{line-height:1.65}.modal-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:19px}.modal-word{text-align:center}.modal-word .word-hanzi{font-size:64px}.modal-word .word-meaning{font-size:17px;color:var(--ink)}.modal-word .example{margin:20px 0;background:var(--surface2);border-radius:11px;padding:16px;text-align:left;line-height:1.6}.theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.theme-option{border:2px solid var(--line);border-radius:13px;background:var(--surface);padding:11px;text-align:left;color:var(--ink);font-weight:800}.theme-option.active{border-color:var(--accent)}.theme-swatch{display:block;height:55px;border-radius:8px;margin-bottom:7px}.theme-option small{display:block;color:var(--muted);font-weight:500;margin-top:2px}.achievement{padding:25px;border-radius:16px;background:var(--hero);border:1px solid var(--line);text-align:center}.achievement .flag-line{font-size:12px;letter-spacing:.08em;font-weight:800;color:var(--muted)}.achievement .streak-big{font-size:26px;font-weight:800;color:var(--accent);margin:19px 0}.achievement .quote{font:700 26px 'Noto Serif SC',serif;margin:14px 0}.achievement .achievement-translation{color:var(--muted);line-height:1.5}.achievement .xp-big{display:inline-block;background:var(--surface);border-radius:999px;padding:8px 20px;font-weight:800;color:var(--accent);margin:14px 0}.achievement .badge-line{font-weight:800;font-size:13px}.toast{position:fixed;z-index:70;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:var(--ink);color:var(--surface);padding:12px 17px;border-radius:10px;font-size:12px;font-weight:700;box-shadow:var(--shadow);transition:opacity .2s,transform .2s;max-width:min(90vw,500px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:1050px){.site-header{padding:0 18px}.desktop-nav .nav-link{padding:10px 8px;font-size:12px}.brand{font-size:19px}.brand img{width:28px;height:28px}.vocab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.mock-ribbon{font-size:9px}.mock-ribbon span:last-child{display:none}.site-header{height:65px;padding:0 15px}.desktop-nav{display:none}.brand{font-size:20px}.header-tools{gap:5px}.compact-select{max-width:88px}.icon-tool{width:35px;height:35px}.account-button{height:35px;padding:0 8px;font-size:11px}main{padding:17px 14px 95px}.hero{grid-template-columns:1fr;min-height:auto}.hero-copy{padding:29px 26px 24px}.hero h1{font-size:35px}.hero-art{min-height:200px}.hero-sticker{width:110px;height:110px;font-size:72px;border-radius:25px}.hero-art:before{width:210px;height:210px}.hero-art:after{width:290px;height:290px}.hero-caption{bottom:15%}.overview-grid,.path-grid,.curve-panel,.review-layout,.admin-grid,.setup-grid{grid-template-columns:1fr}.today-panel,.due-panel{padding:21px;min-height:auto}.overview-grid{gap:12px;margin:13px 0 30px}.path-grid{gap:10px}.curve-panel{padding:23px;gap:0}.curve-visual{margin-top:15px}.vocab-grid{grid-template-columns:1fr 1fr;gap:9px}.word-tile{padding:14px;min-height:195px}.word-hanzi{font-size:30px}.filter-panel{align-items:flex-start;flex-direction:column}.save-category{width:100%}.review-main{padding:23px;min-height:320px}.review-side{padding:20px}.practice-card,.quiz-card{padding:23px 16px}.practice-card .word-hanzi,.quiz-card .word-hanzi{font-size:55px}.admin-stats{grid-template-columns:1fr 1fr}.site-footer{padding:22px 15px 85px;flex-direction:column}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:25;background:var(--surface);border-top:1px solid var(--line);justify-content:space-around;padding:7px 2px max(6px,env(safe-area-inset-bottom))}.mobile-nav button{background:none;border:0;color:var(--muted);font-size:21px;font-weight:800;min-width:54px;display:flex;align-items:center;flex-direction:column;line-height:1.1}.mobile-nav button.active{color:var(--accent)}.mobile-nav span{font-size:9px;margin-top:4px}.toast{bottom:78px}}
@media(max-width:440px){.vocab-grid{grid-template-columns:1fr}.word-tile{min-height:160px}.quiz-choices{grid-template-columns:1fr}.theme-grid{grid-template-columns:repeat(2,1fr)}.modal-shell{padding:22px}.admin-stats{gap:8px}.stat-card{padding:14px}.stat-card strong{font-size:24px}.hero-actions .button{width:100%}.path-switch .segmented{flex:1;padding:10px}.filter-panel{padding:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
