@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{color-scheme:light;--bg:#f6f7fa;--side:#fff;--surface:#fff;--surface2:#f7f8fb;--surface3:#edf0f5;--line:#e7eaf0;--line2:#d6dce6;--text:#232a3a;--muted:#7a8395;--faint:#a0a8b6;--primary:#6860d9;--primary2:#8a80e7;--primarySoft:#efedfc;--primaryInk:#635bc6;--green:#399b75;--greenSoft:#eaf5ef;--orange:#d79c4a;--orangeSoft:#fff4e5;--red:#c76672;--redSoft:#fff0f2;--shadow:0 4px 20px #272f4a04;--radius:18px;--hero:#eeecfb;--hero2:#e7e3f9;--focus:#6961d9;font-family:'DM Sans',ui-sans-serif,system-ui,-apple-system,sans-serif}
[data-theme=dark]{color-scheme:dark;--bg:#181b22;--side:#1e222b;--surface:#232833;--surface2:#292f3b;--surface3:#323949;--line:#343b4a;--line2:#465064;--text:#f0f2f7;--muted:#a2adbf;--faint:#78859b;--primary:#a59aef;--primary2:#b7adfb;--primarySoft:#37324f;--primaryInk:#c2b9ff;--green:#73cba1;--greenSoft:#253e34;--orange:#e8b872;--orangeSoft:#443726;--red:#e796a1;--redSoft:#452e38;--hero:#302d46;--hero2:#3a3455;--shadow:0 4px 20px #0000000d;--focus:#afa4ff}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}body{font-size:14px;line-height:1.5}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:default}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button{transition:background .16s,transform .16s,border-color .16s}a{color:var(--primaryInk)}button:active:not(:disabled){transform:translateY(1px)}h1,h2,h3,h4,.brand{font-family:Manrope,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.035em}h1,h2,h3,h4,p{margin-top:0}h1{font-size:32px;font-weight:800;line-height:1.25}h2{font-size:22px;font-weight:800}h3{font-size:17px;font-weight:750}p{line-height:1.7}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}button svg{pointer-events:none}.shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:30px 18px 20px;background:var(--side);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:12px;padding:0 11px 28px}.brand-mark{width:39px;height:39px;display:grid;place-items:center;background:var(--primary);color:#fff;border-radius:12px;font-size:25px;font-weight:800;transform:rotate(-5deg)}.brand-mark span{transform:rotate(5deg)}.brand strong{font-size:22px;line-height:1.1;display:block}.brand small{display:block;font:10px 'DM Sans',sans-serif;letter-spacing:.13em;color:var(--muted);margin-top:6px}.nav-label{font-size:10px;letter-spacing:.12em;font-weight:700;color:var(--faint);margin:22px 15px 9px}.nav{display:flex;flex-direction:column;gap:4px}.nav button{border:0;background:none;text-align:left;min-height:43px;display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:10px;color:var(--muted);font-size:13px;font-weight:500}.nav button svg{width:18px;height:18px}.nav button:hover{background:var(--surface2);color:var(--text)}.nav button.active{background:var(--primarySoft);color:var(--primaryInk);font-weight:700}.nav .count{margin-left:auto;font-size:10px;font-weight:700;padding:1px 6px;background:var(--surface3);border-radius:5px}.sidebar nav{overflow:auto;scrollbar-width:thin}.sidebar-footer{margin-top:auto;padding-top:20px}.side-level{border:1px solid var(--line);border-radius:12px;background:var(--surface2);padding:13px 14px;margin:0 5px 16px}.side-level>div{display:flex;justify-content:space-between;font-size:11px}.side-level strong{color:var(--primaryInk);font-weight:700}.side-level small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.user-button{width:100%;display:flex;align-items:center;gap:10px;border:0;border-top:1px solid var(--line);padding:16px 10px 0;background:none;text-align:left}.avatar{width:35px;height:35px;border-radius:50%;background:#e6e1f8;color:#7062ae;display:grid;place-items:center;font-size:12px;font-weight:800;flex:none}.user-button strong{font-size:12px;display:block}.user-button small{font-size:10px;color:var(--muted)}.user-button svg{margin-left:auto;color:var(--faint);width:16px}.workspace{min-width:0}.topbar{height:79px;padding:0 38px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--bg);position:sticky;top:0;z-index:20}.crumb{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.crumb b{color:var(--text);font-weight:600}.crumb svg{width:15px;height:15px}.top-actions{display:flex;gap:10px;align-items:center}.icon-btn{border:1px solid var(--line);background:var(--surface);border-radius:10px;width:36px;height:36px;display:inline-grid;place-items:center;position:relative}.icon-btn svg{width:17px;height:17px}.icon-btn:hover{border-color:var(--line2);background:var(--surface2)}.dot{position:absolute;width:5px;height:5px;border-radius:50%;background:var(--orange);right:9px;top:7px}.xp-pill{font-size:11px;color:var(--primaryInk);font-weight:700;display:flex;align-items:center;gap:6px;padding:0 11px;border:1px solid var(--line);border-radius:9px;height:34px;background:var(--surface)}.xp-pill svg{width:14px;height:14px}.demo-tag{font-size:10px;color:var(--muted);background:var(--surface2);border:1px solid var(--line);padding:5px 9px;border-radius:6px}.top-actions>.avatar{width:34px;height:34px;cursor:pointer;border:0}.page{max-width:1430px;margin:0 auto;padding:32px 38px 50px}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:27px}.page-intro h1{margin:0 0 6px}.page-intro p{margin:0;color:var(--muted);font-size:13px}.eyebrow{font-size:10px;letter-spacing:.13em;font-weight:700;text-transform:uppercase;color:var(--primaryInk);margin-bottom:9px}.date-label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}.btn{background:var(--primary);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:700;border:1px solid transparent;border-radius:9px;padding:11px 17px;box-shadow:0 3px 0 color-mix(in srgb,var(--primary) 70%,#141326);white-space:nowrap}.btn:hover{filter:brightness(1.06);transform:translateY(-1px)}.btn.secondary{background:var(--surface);color:var(--text);border-color:var(--line2);box-shadow:none}.btn.soft{background:var(--primarySoft);color:var(--primaryInk);box-shadow:none}.btn.small{padding:8px 12px;font-size:11px;border-radius:8px}.btn svg{width:15px;height:15px}.text-btn{border:0;background:none;padding:0;display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:var(--primaryInk)}.text-btn svg{width:14px;height:14px}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:10px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.panel-head h3{margin:0}.panel-head small{color:var(--muted);font-size:11px}.hero-panel{background:var(--hero);border:1px solid color-mix(in srgb,var(--primary) 12%,var(--line));border-radius:20px;display:grid;grid-template-columns:1fr 240px;min-height:224px;position:relative;overflow:hidden;padding:28px 32px;align-items:center}.hero-panel h2{font-size:29px;line-height:1.25;margin:9px 0 10px;max-width:440px}.hero-panel p{font-size:12px;color:var(--muted);margin:0 0 20px;max-width:360px}.hero-panel .eyebrow{font-size:9px}.hero-panel>div:first-child{z-index:1}.hero-art{align-self:stretch;position:relative;display:grid;place-items:center}.hero-art:before{content:'';position:absolute;width:195px;height:195px;background:var(--hero2);border-radius:50%}.art-card{position:absolute;border:1px solid color-mix(in srgb,var(--primary) 14%,var(--line));border-radius:14px;background:var(--surface);box-shadow:0 12px 35px #38306b10;padding:13px 19px;font-weight:750;z-index:2}.art-card.one{top:16px;right:10px;transform:rotate(8deg);color:var(--primaryInk);font-size:18px}.art-card.two{bottom:6px;left:-1px;transform:rotate(-7deg);font-size:14px}.art-card.two small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:3px}.hero-visual{position:relative;z-index:1;width:170px;height:170px;transform:rotate(-6deg)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0 25px}.stat{border:1px solid var(--line);border-radius:13px;background:var(--surface);padding:18px;display:flex;align-items:center;gap:13px}.stat-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:var(--primarySoft);color:var(--primaryInk);flex:none}.stat-icon.green{background:var(--greenSoft);color:var(--green)}.stat-icon.orange{background:var(--orangeSoft);color:var(--orange)}.stat-icon.blue{background:#edf3fc;color:#7197cf}[data-theme=dark] .stat-icon.blue{background:#263850;color:#91b2e1}.stat small{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.stat b{display:block;font-size:23px;line-height:1.1;font-family:Manrope,sans-serif;font-weight:800;letter-spacing:-.03em}.stat b span{font-family:'DM Sans',sans-serif;font-size:10px;font-weight:400;color:var(--muted);margin-left:4px}.dashboard-main{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:20px}.stack{display:grid;gap:20px;align-content:start}.continue-card{display:flex;align-items:center;gap:16px}.tile-icon{width:60px;height:60px;border-radius:14px;background:var(--primarySoft);color:var(--primaryInk);display:grid;place-items:center;flex:none}.tile-icon svg{width:27px;height:27px}.tile-icon.peach{background:var(--orangeSoft);color:var(--orange)}.tile-icon.green{background:var(--greenSoft);color:var(--green)}.continue-card h3{margin:4px 0 6px;font-size:16px}.continue-card p{font-size:11px;color:var(--muted);margin:0 0 10px}.continue-card .content{flex:1}.bar{height:5px;background:var(--surface3);border-radius:99px;overflow:hidden}.bar i{display:block;height:100%;border-radius:inherit;background:var(--primary);transition:width .4s}.continue-foot{display:flex;align-items:center;justify-content:space-between;margin-top:18px;color:var(--muted);font-size:10px}.task-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);width:100%;text-align:left;background:none;border-left:0;border-right:0;border-top:0}.task-row:last-child{border-bottom:0;padding-bottom:0}.task-check{width:23px;height:23px;border:1.5px solid var(--line2);border-radius:7px;display:grid;place-items:center;color:var(--faint);flex:none}.task-check.done{color:var(--green);background:var(--greenSoft);border-color:transparent}.task-check svg{width:14px;height:14px}.task-row strong{font-size:12px;font-weight:600;display:block}.task-row small{font-size:10px;color:var(--muted)}.task-row em{margin-left:auto;color:var(--primaryInk);font-size:10px;font-style:normal;white-space:nowrap}.count-pill{font-size:10px;background:var(--surface2);padding:4px 8px;border-radius:6px;color:var(--muted)}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.week-day{text-align:center;color:var(--muted);font-size:9px}.week-day i{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;margin:10px auto 0;font-size:11px;font-style:normal;color:var(--faint)}.week-day.done i{background:var(--greenSoft);border-color:transparent;color:var(--green)}.week-day.today i{border-color:var(--primary);color:var(--primaryInk);box-shadow:0 0 0 3px var(--primarySoft)}.week-day.missed i{color:var(--faint)}.streak-note{color:var(--muted);font-size:10px;margin:16px 0 0}.section-header{display:flex;justify-content:space-between;align-items:center;margin:30px 0 15px}.section-header h3{font-size:18px;margin:0}.practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.practice-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:20px;text-align:left;position:relative;min-height:158px;transition:transform .2s,border .2s}.practice-card:hover{transform:translateY(-3px);border-color:var(--primary2)}.practice-card .tile-icon{width:39px;height:39px;border-radius:11px;margin-bottom:14px}.practice-card .tile-icon svg{width:20px;height:20px}.practice-card strong{display:block;font-family:Manrope,sans-serif;font-size:13px;font-weight:750}.practice-card p{font-size:10px;color:var(--muted);margin:6px 15px 0 0}.practice-card>.arrow{position:absolute;right:18px;bottom:20px;color:var(--muted)}.tip{background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:15px 17px;display:flex;gap:12px;margin-top:20px;color:var(--muted);font-size:11px}.tip svg{width:17px;height:17px;color:var(--orange);margin-top:2px}.tip p{margin:0}.tip strong{color:var(--text)}.badge-small{display:flex;gap:8px}.badge-medal{width:38px;height:42px;display:grid;place-items:center;color:var(--orange);background:var(--orangeSoft);border-radius:13px}.badge-medal svg{width:21px;height:21px}.badge-medal.locked{background:var(--surface2);color:var(--faint)}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);padding:7px 12px;font-size:11px}.chip.active{border-color:var(--primary);color:var(--primaryInk);background:var(--primarySoft)}.tag{display:inline-flex;gap:4px;align-items:center;font-size:9px;font-weight:700;background:var(--primarySoft);color:var(--primaryInk);border-radius:5px;padding:3px 7px}.tag.green{color:var(--green);background:var(--greenSoft)}.tag.orange{color:var(--orange);background:var(--orangeSoft)}.toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:24px;flex-wrap:wrap}.search-input{display:flex;gap:8px;align-items:center;border:1px solid var(--line);border-radius:9px;background:var(--surface);padding:8px 12px;color:var(--muted)}.search-input input{border:0;background:none;outline:0;color:var(--text);width:160px;font-size:12px}.search-input svg{width:16px;height:16px}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.course-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;text-align:left;padding:0;overflow:hidden;transition:transform .2s,border-color .2s;display:flex;flex-direction:column}.course-card:hover{transform:translateY(-4px);border-color:var(--primary2)}.course-art{height:128px;display:flex;align-items:center;justify-content:center;background:var(--primarySoft);color:var(--primaryInk);position:relative}.course-art svg{width:58px;height:58px;stroke-width:1.1}.course-art .tag{position:absolute;top:14px;left:16px;background:var(--surface)}.course-art .lock{position:absolute;right:15px;top:15px;width:15px;height:15px}.course-card:nth-child(3n+2) .course-art{background:var(--orangeSoft);color:var(--orange)}.course-card:nth-child(3n+3) .course-art{background:var(--greenSoft);color:var(--green)}.course-copy{padding:18px;flex:1;display:flex;flex-direction:column}.course-copy h3{font-size:15px;margin:7px 0}.course-copy p{font-size:11px;color:var(--muted);margin-bottom:19px;flex:1}.course-meta{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px;margin-top:auto}.course-meta span{display:flex;align-items:center;gap:5px}.course-meta svg{width:12px;height:12px}.course-meta .completed{color:var(--green)}.learn-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:23px}.lesson-panel{padding:30px}.lesson-panel h2{font-size:27px;margin:13px 0}.lesson-panel .intro{font-size:13px;color:var(--muted)}.phrases{display:grid;gap:9px;margin-top:23px}.phrase-row{display:flex;align-items:center;gap:14px;padding:14px 16px;background:var(--surface2);border:1px solid var(--line);border-radius:12px}.phrase-row strong{font-size:14px;display:block;font-weight:600}.phrase-row small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.phrase-row .icon-btn{margin-left:auto;background:var(--surface)}.rule{padding:18px 20px;border:1px solid var(--line);border-left:3px solid var(--primary);border-radius:10px;background:var(--surface2);margin:23px 0}.rule strong{font-size:12px;display:block;margin-bottom:7px}.rule p{font-size:12px;color:var(--muted);margin:0}.segments{display:flex;align-items:stretch;gap:7px;flex-wrap:wrap;margin:18px 0}.segment{background:var(--primarySoft);border-radius:9px;padding:12px 15px;text-align:center;color:var(--primaryInk)}.segment:nth-child(2){background:var(--orangeSoft);color:var(--orange)}.segment:nth-child(3){background:var(--greenSoft);color:var(--green)}.segment:nth-child(4){background:var(--surface3);color:var(--text)}.segment strong{display:block;font-size:19px}.segment small{font-size:10px;display:block;margin-top:5px;max-width:130px}.lesson-list{display:grid;gap:6px}.lesson-list button{border:0;background:none;display:flex;gap:10px;padding:11px 9px;border-radius:9px;text-align:left;color:var(--muted);font-size:12px;align-items:center}.lesson-list button.active{background:var(--primarySoft);color:var(--primaryInk)}.lesson-list svg{width:16px;height:16px}.lesson-list button span:last-child{margin-left:auto;font-size:10px}.practice-wrap{max-width:830px;margin:0 auto}.practice-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;font-size:11px;color:var(--muted)}.exercise-panel{padding:32px}.exercise-panel .prompt{font-size:25px;font-family:Manrope,sans-serif;font-weight:750;letter-spacing:-.02em;margin:10px 0 25px}.exercise-panel .subprompt{font-size:13px;color:var(--muted);margin-top:-15px;margin-bottom:25px}.answer-zone{min-height:83px;border:1px dashed var(--line2);border-radius:12px;background:var(--surface2);display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:15px;margin:18px 0}.answer-zone>span{font-size:12px;color:var(--faint)}.token-pool{display:flex;gap:9px;flex-wrap:wrap;min-height:58px;justify-content:center;margin:24px 0}.token{background:var(--surface);border:1px solid var(--line2);border-bottom-width:3px;padding:10px 16px;border-radius:9px;font-size:14px;font-weight:600;min-height:44px}.token:hover{border-color:var(--primary);color:var(--primaryInk)}.token.used{visibility:hidden}.answer-zone .token{background:var(--primarySoft);border-color:color-mix(in srgb,var(--primary) 30%,var(--line));color:var(--primaryInk)}.exercise-footer{display:flex;align-items:center;justify-content:space-between;padding-top:24px;margin-top:20px;border-top:1px solid var(--line);gap:12px}.feedback{padding:17px 19px;border-radius:12px;background:var(--greenSoft);color:var(--green);font-size:12px;margin:18px 0 0}.feedback.wrong{background:var(--redSoft);color:var(--red)}.feedback p{margin:5px 0 0;font-size:12px}.feedback strong{font-size:14px}.exercise-tools{display:flex;align-items:center;gap:10px}.hint-box{color:var(--muted);font-size:12px;background:var(--orangeSoft);padding:12px 16px;border-radius:9px;margin-top:16px}.flash-layout{max-width:490px;margin:15px auto}.word-card{height:440px;background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:0 12px 45px #32304709;padding:28px;display:flex;flex-direction:column;position:relative;touch-action:pan-y}.word-card-head{display:flex;justify-content:space-between;align-items:center}.word-card .word-main{margin:auto 0;text-align:center}.word-main h2{font-size:42px;color:var(--primaryInk);margin:13px 0 8px}.word-main .translation{font-size:18px}.word-example{font-size:14px;margin:27px 0 5px}.word-example-en{font-size:11px;color:var(--muted);margin:0}.word-card-foot{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:10px}.word-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:17px}.word-actions button{padding:13px}.word-nav{display:flex;justify-content:center;gap:15px;align-items:center;margin-top:20px;color:var(--muted);font-size:11px}.hearted{color:var(--red)!important;background:var(--redSoft)!important}.word-status{color:var(--green);font-size:10px}.answer-option{width:100%;border:1px solid var(--line2);background:var(--surface);border-radius:11px;padding:15px;text-align:left;display:flex;align-items:center;gap:13px;font-size:13px;margin-top:10px}.answer-option .letter{background:var(--surface2);color:var(--muted);border:1px solid var(--line);width:25px;height:25px;display:grid;place-items:center;border-radius:6px;font-size:11px}.answer-option:hover:not(:disabled){border-color:var(--primary)}.answer-option.correct{background:var(--greenSoft);border-color:var(--green);color:var(--green);opacity:1}.answer-option.wrong{background:var(--redSoft);border-color:var(--red);color:var(--red);opacity:1}.quiz-select{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.quiz-select .practice-card{min-height:165px}.quiz-result{text-align:center;padding:36px}.result-medal{margin:0 auto 20px;width:80px;height:80px;background:var(--orangeSoft);color:var(--orange);display:grid;place-items:center;border-radius:25px}.result-medal svg{width:42px;height:42px}.quiz-result h2{font-size:28px}.result-stats{display:flex;gap:30px;justify-content:center;margin:25px 0}.result-stats b{display:block;font-size:25px}.result-stats small{font-size:10px;color:var(--muted)}.analysis-item{text-align:left;border-top:1px solid var(--line);padding:15px 0;font-size:12px}.analysis-item p{font-size:11px;color:var(--muted);margin:5px 0 0}.analysis-item strong{display:flex;align-items:center;gap:8px}.analysis-item svg{width:15px;height:15px}.audio-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:22px;padding:13px;background:var(--surface2);border:1px solid var(--line);border-radius:10px}.audio-toolbar label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}.audio-toolbar select{font-size:11px;padding:6px;border-radius:6px;border:1px solid var(--line);background:var(--surface);color:var(--text)}.dialogue-lines{display:grid;gap:14px}.dialogue-line{display:flex;gap:10px;align-items:flex-start;max-width:87%}.dialogue-line.you{margin-left:auto;flex-direction:row-reverse}.dialogue-line .avatar{width:30px;height:30px;font-size:10px}.bubble{padding:12px 16px;border:1px solid var(--line);border-radius:0 13px 13px 13px;background:var(--surface2)}.you .bubble{background:var(--primarySoft);border-color:transparent;border-radius:13px 0 13px 13px}.bubble b{font-size:10px;color:var(--muted);display:block;margin-bottom:5px}.bubble strong{display:block;font-size:13px;font-weight:500}.bubble small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.bubble button{border:0;background:none;color:var(--muted);padding:5px 0 0;display:flex}.bubble svg{width:13px;height:13px}.progress-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:23px}.journey{display:flex;align-items:center;gap:20px}.ring{--p:0;width:90px;height:90px;border-radius:50%;background:conic-gradient(var(--primary) calc(var(--p)*1%),var(--surface3) 0);padding:7px;flex:none}.ring>div{display:grid;place-items:center;align-content:center;background:var(--surface);border-radius:50%;height:100%;font-size:23px;font-weight:750}.ring small{font-size:9px;color:var(--muted);font-weight:400}.journey h3{margin-bottom:4px}.journey p{font-size:11px;color:var(--muted);margin:0 0 10px}.knowledge-map{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.map-node{border:1px solid var(--line);border-radius:12px;background:var(--surface2);padding:17px 15px;text-align:left;min-height:128px}.map-node svg{width:23px;height:23px;color:var(--primaryInk);margin-bottom:10px}.map-node b{display:block;font-size:11px}.map-node small{font-size:10px;color:var(--muted)}.map-node .bar{margin-top:12px;height:4px}.badge-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.badge-card{text-align:center;border:1px solid var(--line);border-radius:12px;padding:20px 10px;position:relative;background:var(--surface2)}.badge-card .badge-medal{margin:0 auto 12px;width:48px;height:52px;border-radius:16px}.badge-card strong{display:block;font-size:11px}.badge-card small{display:block;font-size:9px;color:var(--muted);margin-top:6px}.badge-card.locked .badge-medal{background:var(--surface3);color:var(--faint)}.history-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.history-row:last-child{border:0}.history-row small{color:var(--muted);font-size:10px;display:block;margin-top:3px}.history-row b{color:var(--primaryInk)}.empty{padding:45px 20px;text-align:center;color:var(--muted)}.empty>svg{width:35px;height:35px;stroke-width:1.2;margin-bottom:13px;color:var(--primaryInk)}.empty h3{color:var(--text);margin-bottom:7px}.empty p{font-size:12px;max-width:350px;margin:0 auto 20px}.note-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.note-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:20px;display:flex;flex-direction:column}.note-card h3{font-size:15px;margin:15px 0 9px}.note-card p{font-size:12px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;flex:1}.note-head{display:flex;justify-content:space-between;align-items:center}.note-tools{display:flex;gap:5px}.note-tools button{width:26px;height:26px;border:0;border-radius:6px;background:none;color:var(--muted);display:grid;place-items:center}.note-tools button svg{width:14px;height:14px}.note-tools button:hover{background:var(--surface2)}.settings-layout{display:grid;gap:18px;width:100%;max-width:none}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.setting-row:last-child{border:0;padding-bottom:0}.setting-row:first-child{padding-top:0}.setting-row h3{font-size:13px;margin:0 0 4px}.setting-row p{font-size:11px;color:var(--muted);margin:0;max-width:480px}.segmented{display:flex;gap:3px;background:var(--surface2);border:1px solid var(--line);padding:4px;border-radius:9px}.segmented button{border:0;background:none;border-radius:6px;padding:6px 11px;display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px}.segmented button.active{background:var(--surface);color:var(--primaryInk);box-shadow:0 2px 6px #20203008}.segmented svg{width:13px;height:13px}.field{display:grid;gap:6px;margin-bottom:15px}.field label{font-size:11px;font-weight:600;color:var(--muted)}input,select,textarea{background:var(--surface);border:1px solid var(--line2);border-radius:8px;color:var(--text);padding:10px 12px;min-width:0}textarea{min-height:110px;resize:vertical}select{font-size:12px}input::placeholder,textarea::placeholder{color:var(--faint)}.toggle{width:36px;height:21px;border-radius:30px;border:0;background:var(--line2);padding:3px;display:flex;flex:none}.toggle:after{content:'';width:15px;height:15px;border-radius:50%;background:white}.toggle.on{background:var(--primary)}.toggle.on:after{margin-left:auto}.profile-row{display:flex;gap:16px;align-items:center}.profile-row .avatar{width:55px;height:55px;font-size:20px}.profile-row h3{margin-bottom:3px}.profile-row p{margin:0;color:var(--muted);font-size:12px}.account-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.notice{padding:13px 16px;border-radius:10px;background:var(--surface2);border:1px solid var(--line);font-size:11px;color:var(--muted);margin-bottom:22px}.notice strong{color:var(--text)}.notice.orange{background:var(--orangeSoft);border-color:transparent}.community-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px}.composer textarea{width:100%;background:var(--surface2);min-height:90px}.composer-footer{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.composer-footer small{color:var(--muted);font-size:10px}.post{margin-top:15px}.post-header{display:flex;align-items:center;gap:10px}.post-header b{font-size:12px}.post-header small{font-size:10px;color:var(--muted);display:block}.post>p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:17px 0}.post-footer{display:flex;gap:15px;font-size:11px;color:var(--muted)}.post-footer button{border:0;background:none;padding:0;display:flex;align-items:center;gap:6px;color:inherit}.post-footer svg{width:15px;height:15px}.reply{padding:12px;background:var(--surface2);border-radius:9px;margin-top:13px;font-size:11px;overflow-wrap:anywhere}.reply strong{display:block;margin-bottom:4px}.rank-row{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.rank-row:last-child{border:0}.rank-row>span{font-size:11px;color:var(--muted);min-width:15px}.rank-row strong{font-size:11px}.rank-row small{font-size:9px;color:var(--muted);display:block}.rank-row>b{margin-left:auto;font-size:11px;color:var(--primaryInk)}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px}th,td{text-align:left;padding:13px 10px;border-bottom:1px solid var(--line)}th{font-size:10px;color:var(--muted);font-weight:500}td button{border:0;background:none;color:var(--primaryInk);padding:3px;font-size:11px}.table-actions{display:flex;gap:8px}.admin-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.admin-labels{display:grid;gap:10px}.admin-labels label{font-size:10px;color:var(--muted)}.admin-labels input{width:100%;margin-top:4px;font-size:12px}.modal-backdrop{position:fixed;inset:0;background:#10152680;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:22px;z-index:100}.modal{width:min(540px,100%);max-height:calc(100dvh - 44px);overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:19px;padding:29px;box-shadow:0 25px 100px #00000025;position:relative}.modal.wide{width:min(730px,100%)}.modal-close{position:absolute;right:17px;top:17px;border:0;background:var(--surface2);color:var(--muted);width:28px;height:28px;border-radius:8px;display:grid;place-items:center}.modal-close svg{width:15px;height:15px}.modal h2{margin:4px 30px 9px 0}.modal .intro{color:var(--muted);font-size:12px;margin-bottom:22px}.modal .btn.full{width:100%}.modal-links{display:flex;justify-content:space-between;gap:15px;margin-top:18px}.form-error{background:var(--redSoft);color:var(--red);font-size:12px;border-radius:8px;padding:10px;margin-bottom:14px}.modal .price{font-size:17px;font-weight:700;margin:16px 0}.modal ul{padding-left:19px;color:var(--muted);font-size:12px;line-height:2}.mobile-menu{display:none}.mobile-bottom{display:none}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:var(--text);color:var(--bg);border-radius:11px;padding:12px 19px;z-index:200;opacity:0;pointer-events:none;transition:.25s;max-width:calc(100vw - 32px);font-size:12px;box-shadow:0 9px 30px #00000020}#toast.show{opacity:1;transform:translate(-50%,0)}.confetti{position:fixed;z-index:150;pointer-events:none;width:8px;height:12px;top:-20px;animation:fall 1.7s ease-in forwards}@keyframes fall{to{transform:translateY(105vh) rotate(600deg);opacity:0}}.path-item{display:flex;gap:17px;position:relative;padding:0 0 24px}.path-item:not(:last-child):before{content:'';position:absolute;left:21px;top:45px;bottom:0;width:1px;background:var(--line2)}.path-number{width:44px;height:44px;border-radius:14px;background:var(--surface2);border:1px solid var(--line2);display:grid;place-items:center;flex:none;color:var(--muted);font-weight:700;z-index:1}.path-number.done{background:var(--greenSoft);border-color:transparent;color:var(--green)}.path-number.current{background:var(--primary);border-color:transparent;color:white;box-shadow:0 0 0 5px var(--primarySoft)}.path-content{padding:16px 20px;border:1px solid var(--line);border-radius:13px;background:var(--surface);flex:1;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px}.path-content:hover{border-color:var(--primary)}.path-content h3{margin:4px 0;font-size:14px}.path-content p{margin:0;font-size:11px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.form-grid .span2{grid-column:1/-1}.review-item{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.review-item:last-child{border:0}.review-item .tile-icon{width:40px;height:40px;border-radius:11px}.review-item .tile-icon svg{width:20px;height:20px}.review-item h3{font-size:13px;margin:0 0 3px}.review-item p{font-size:11px;color:var(--muted);margin:0}.review-item>button{margin-left:auto}.hidden{display:none!important}.side-close{display:none}.lesson-step-label{font-size:11px;color:var(--muted);margin:10px 0 0}.recording-note{color:var(--muted);font-size:10px;margin:9px 0}.compact .course-art{height:92px}.compact .course-copy{padding:14px}.compact .word-card{height:380px}.mini-tip{font-size:11px;color:var(--muted);padding:14px 0 0}.mobile-overlay{display:none}
@media(min-width:1600px){.page{padding-top:38px}.hero-panel{min-height:235px}.hero-panel h2{font-size:33px}.stat{padding:21px}.hero-panel{grid-template-columns:1fr 300px}.hero-art{margin-right:25px}}
@media(max-width:1190px){.shell{grid-template-columns:218px minmax(0,1fr)}.sidebar{padding:25px 12px 17px}.topbar{padding:0 25px}.page{padding:27px 25px 45px}.dashboard-main{grid-template-columns:minmax(0,1.3fr) minmax(240px,1fr)}.stat{padding:14px;gap:9px}.stat-icon{width:32px;height:32px;border-radius:9px}.stat-icon svg{width:17px;height:17px}.stat b{font-size:21px}.hero-panel{grid-template-columns:1fr 180px;padding:26px}.hero-panel h2{font-size:27px}.hero-art{transform:scale(.88)}.course-grid{grid-template-columns:repeat(2,1fr)}.badge-grid{grid-template-columns:repeat(4,1fr)}.knowledge-map{grid-template-columns:repeat(3,1fr)}.learn-layout{grid-template-columns:1fr 240px}.continue-card{gap:12px}.tile-icon{width:50px;height:50px}.continue-card h3{font-size:14px}.community-grid{grid-template-columns:1fr 240px}.note-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:980px){.dashboard-main{grid-template-columns:1fr}.dashboard-main>.stack:last-child{grid-template-columns:1fr 1fr}.dashboard-main>.stack:last-child>.panel:first-child{grid-column:1/-1}.hero-panel{grid-template-columns:1fr 190px}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat{padding:16px}.stat-icon{width:38px;height:38px}.learn-layout{grid-template-columns:1fr}.learn-sidebar{display:none}.progress-summary{grid-template-columns:1fr}.community-grid{grid-template-columns:1fr}.admin-grid{grid-template-columns:1fr}.practice-card{padding:16px}.demo-tag{display:none}.topbar{height:70px}.sidebar{padding-top:24px}.badge-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.shell{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;width:255px;transform:translateX(-100%);transition:transform .22s;z-index:80}.sidebar.open{transform:translateX(0)}.sidebar.open+.mobile-overlay{display:block;position:fixed;inset:0;background:#10152670;z-index:70}.side-close{display:grid;position:absolute;top:14px;right:12px;width:26px;height:26px;border:0;background:var(--surface2);border-radius:7px;place-items:center}.side-close svg{width:14px;height:14px}.mobile-menu{display:inline-grid;border:0;background:none;padding:0;width:28px}.topbar{height:63px;padding:0 17px}.crumb{gap:9px;font-size:11px}.crumb>span{display:none}.top-actions{gap:7px}.top-actions>.avatar{display:none}.xp-pill{padding:0 8px;height:32px;font-size:10px}.icon-btn{height:32px;width:32px}.page{padding:24px 17px 95px}.page-intro{margin-bottom:20px}.page-intro h1{font-size:26px}.page-intro p{font-size:12px}.date-label{display:none}.hero-panel{padding:24px 22px;min-height:217px;grid-template-columns:1fr 100px}.hero-panel h2{font-size:25px;max-width:270px}.hero-panel p{font-size:11px;max-width:215px}.hero-art{transform:scale(.65);transform-origin:center;right:10px;opacity:.85}.hero-visual{width:170px}.art-card.one{right:-20px;top:-12px;white-space:nowrap}.art-card.two{display:none}.hero-panel:has(.hero-art) .eyebrow{font-size:8px}.stats-grid{gap:10px;margin:16px 0 21px}.stat{padding:14px 12px;gap:9px}.stat small{font-size:9px}.stat b{font-size:21px}.stat-icon{width:33px;height:33px}.dashboard-main{gap:16px}.stack{gap:16px}.panel{padding:19px}.dashboard-main>.stack:last-child{grid-template-columns:1fr}.dashboard-main>.stack:last-child>.panel:first-child{grid-column:auto}.practice-grid{gap:9px}.practice-card{padding:14px 12px;min-height:161px}.practice-card strong{font-size:11px}.practice-card p{font-size:9px;margin-right:0}.practice-card>.arrow{display:none}.practice-card .tile-icon{width:33px;height:33px}.practice-card .tile-icon svg{width:17px;height:17px}.section-header{margin-top:24px}.section-header h3{font-size:17px}.continue-card h3{font-size:14px}.continue-card p{font-size:10px}.course-grid{gap:13px}.course-art{height:103px}.course-art svg{width:45px;height:45px}.course-copy{padding:15px}.course-copy h3{font-size:13px}.course-copy p{font-size:10px}.course-meta{font-size:9px}.course-meta>span{gap:3px}.toolbar{margin-bottom:18px}.search-input{width:100%}.search-input input{width:100%}.lesson-panel{padding:22px}.lesson-panel h2{font-size:24px}.phrase-row{padding:12px}.phrase-row strong{font-size:12px}.phrase-row small{font-size:10px}.exercise-panel{padding:23px 20px}.exercise-panel .prompt{font-size:23px}.token{padding:9px 12px;font-size:13px}.answer-zone{min-height:91px;padding:12px}.token-pool{gap:8px}.quiz-select{gap:12px}.quiz-select .practice-card{min-height:165px}.quiz-select .practice-card strong{font-size:13px}.quiz-select .practice-card p{font-size:11px}.word-card{height:420px;padding:23px}.word-main h2{font-size:36px}.word-main .translation{font-size:17px}.badge-grid{grid-template-columns:repeat(3,1fr);gap:8px}.badge-card{padding:16px 8px}.badge-card strong{font-size:10px}.badge-card small{font-size:8px}.knowledge-map{grid-template-columns:repeat(2,1fr);gap:10px}.map-node{padding:15px}.journey{gap:15px}.ring{width:77px;height:77px}.journey h3{font-size:15px}.note-grid{grid-template-columns:1fr}.setting-row{gap:15px;flex-wrap:wrap}.setting-row p{font-size:10px}.setting-row>div:first-child{flex:1;min-width:180px}.setting-row .segmented{margin-left:auto}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;height:calc(62px + env(safe-area-inset-bottom));padding:7px 10px env(safe-area-inset-bottom);background:var(--side);border-top:1px solid var(--line);z-index:40;justify-content:space-around}.mobile-bottom button{border:0;background:none;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:4px;padding:3px 10px;min-width:52px;font-size:8px}.mobile-bottom button.active{color:var(--primaryInk)}.mobile-bottom svg{width:20px;height:20px}.modal-backdrop{padding:14px}.modal{padding:25px 22px;max-height:calc(100dvh - 28px)}.modal h2{font-size:21px}#toast{bottom:84px;font-size:11px}.dialogue-line{max-width:95%}.bubble{padding:11px 13px}.bubble strong{font-size:12px}.audio-toolbar{padding:10px}.path-item{gap:12px}.path-content{padding:14px}.path-content h3{font-size:13px}.path-content p{font-size:10px}.path-content>.tag{display:none}.form-grid{grid-template-columns:1fr}.form-grid .span2{grid-column:auto}.community-grid .stack{display:block}.community-grid .stack>.panel{margin-bottom:16px}.panel-head h3{font-size:16px}.topbar .crumb b{max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-intro>.btn{padding:9px 11px;font-size:10px}.exercise-footer .btn{padding:10px 13px}.form-grid .field{margin-bottom:12px}.hero-panel p{max-width:220px}.profile-row{gap:13px}.composer-footer small{max-width:170px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}}
[data-theme=dark] .btn:not(.secondary):not(.soft){color:#211b3b}
.continue-foot>span{display:inline-flex;align-items:center;gap:5px}.continue-foot>span svg{width:12px;height:12px}.table-actions svg{width:13px;height:13px;vertical-align:middle}.rule>strong>svg{width:14px;height:14px;vertical-align:middle;margin-right:4px}
@media(max-width:720px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}.hero-panel{display:block;min-height:235px;padding:25px 22px}.hero-panel h2{max-width:260px;font-size:25px}.hero-panel p{max-width:255px}.hero-art{position:absolute;width:170px;height:170px;right:-56px;top:53px;opacity:.27;transform:scale(.66);pointer-events:none}.hero-art .art-card{display:none}.hero-panel .eyebrow{max-width:270px}.practice-grid{grid-template-columns:1fr}.practice-card{display:grid;grid-template-columns:40px 1fr;gap:0 12px;min-height:90px;padding:17px}.practice-card .tile-icon{grid-row:1/3;align-self:center;margin:0;width:38px;height:38px}.practice-card strong{font-size:13px;align-self:end}.practice-card p{font-size:10px;margin-top:4px;max-width:250px}.practice-card>.arrow{display:none}.quiz-select .practice-card{display:block;min-height:165px}.quiz-select .practice-card .tile-icon{margin-bottom:14px}.quiz-select .practice-card strong{display:block}.page-intro h1{max-width:100%;overflow-wrap:break-word}}
.word-card{touch-action:none}

/* Discover's continuous word flow. */
.page-discover .flash-layout{max-width:none;width:100%;margin:12px 0 0}
.page-discover .word-card{width:100%;cursor:pointer;overflow:hidden}
.discover-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px}
.discover-counts{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.discover-counts span{display:inline-flex;align-items:center;gap:5px;padding:7px 11px;background:var(--surface);border:1px solid var(--line);border-radius:9px;font-size:11px;color:var(--muted);font-weight:700}
.discover-counts strong{color:var(--primaryInk);font-size:14px}
.discover-pause{position:absolute;inset:0;z-index:3;display:grid;place-items:center;background:rgba(22,21,45,.72);color:#fff;font:800 clamp(20px,3vw,29px) Manrope,sans-serif;opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s;pointer-events:none;text-align:center;padding:20px}
.word-card.is-paused .discover-pause{opacity:1;visibility:visible}
.discover-timer{height:7px;margin:12px 2px 0;border-radius:20px;overflow:hidden;background:var(--surface2);border:1px solid var(--line)}
.discover-timer-fill{display:block;height:100%;width:100%;background:linear-gradient(90deg,var(--primary),var(--green));transform-origin:left;animation:discover-countdown var(--discover-duration,5s) linear both}
@keyframes discover-countdown{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.page-discover>.page-intro{margin-bottom:10px}.page-discover .discover-toolbar{margin-bottom:9px}.page-discover .word-card{height:500px}
.discover-pause{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}
.discover-play{width:66px;height:66px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--primaryInk);box-shadow:0 12px 32px #13112b44}.discover-play svg{width:28px;height:28px;fill:currentColor;margin-left:4px}
.discover-reveal{animation:discover-reveal .45s ease both}.word-main .translation.discover-reveal{animation-delay:.4s}.word-main .word-example.discover-reveal{animation-delay:.85s}.word-main .word-example-en.discover-reveal{animation-delay:1.25s}
@keyframes discover-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.word-card.is-paused .discover-reveal{animation-play-state:paused}
.discover-setting{padding:16px 0;border-top:1px solid var(--line)}.discover-setting:first-of-type{border-top:0}.discover-setting>strong{display:block;font-size:13px;margin-bottom:8px}.discover-setting p{font-size:11px;color:var(--muted);margin:0 0 12px}.discover-setting .word-filter-options{margin-top:0}.discover-setting-options{display:flex;gap:7px;flex-wrap:wrap}.discover-setting-options .btn{flex:1;min-width:55px;padding:9px 11px;font-size:11px}.discover-settings-done{margin-top:7px}
@media(prefers-reduced-motion:reduce){.discover-reveal{animation:none}}
.discover-milestone{text-align:center;padding:10px 8px}.discover-milestone .result-medal{margin:0 auto 12px}.discover-milestone h2{font-size:27px;margin:7px 0}.discover-milestone p{font-size:13px;color:var(--muted)}.discover-milestone strong{display:block;background:var(--primarySoft);color:var(--primaryInk);font-size:26px;border-radius:12px;padding:12px;margin:16px 0}.discover-milestone .btn{margin-top:15px}
@media(max-width:720px){.page-discover>.toolbar.discover-toolbar{display:flex;margin:0 0 10px;flex-wrap:nowrap}.discover-counts{gap:5px;flex-wrap:nowrap}.discover-counts span{padding:6px;font-size:9px;white-space:nowrap}.discover-counts strong{font-size:11px}.page-discover .discover-search{display:flex;flex:none}.page-discover .word-card{height:clamp(420px,calc(100dvh - 290px),620px)}}
@media(max-width:420px){.discover-counts span{font-size:8px;padding:5px}.discover-counts strong{font-size:10px}}

.exercise-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
@media(max-width:720px){.exercise-footer:has(.exercise-actions){flex-wrap:wrap}}
.course-filters{display:grid;gap:15px;margin-bottom:24px}.topic-filters{border-top:1px solid var(--line);padding-top:15px}.topic-filters .chip{font-size:10px;padding:6px 10px}.load-more-row{display:flex;justify-content:center;align-items:center;gap:17px;margin-top:25px;flex-wrap:wrap}.level-picker{display:inline-flex;gap:8px;align-items:center;color:var(--muted);font-size:11px}.level-picker select{font-size:11px;padding:6px 9px;min-width:80px}.round-complete{padding:36px 24px}.round-complete .result-medal{animation:round-pop .45s ease both}.round-complete .account-actions{gap:12px}.review-item h3{overflow-wrap:anywhere}.review-item>button{flex:none}@keyframes round-pop{from{transform:scale(.7);opacity:0}to{transform:scale(1);opacity:1}}@media(max-width:720px){.course-filters{gap:12px}.topic-filters .chip{font-size:10px}.round-complete .account-actions{flex-direction:column}.round-complete .btn{width:100%}.practice-top{gap:10px}.load-more-row{gap:12px}}

/* TurkishID interaction polish. Keep progress visible with reduced motion. */
@property --p {syntax:'<number>';inherits:false;initial-value:0;}
.bar i{transition:none;will-change:width}.brand strong{font-size:21px;letter-spacing:-.045em}.brand small{font-size:9px;letter-spacing:.12em}.brand-mark{font-size:21px}
.level-summary{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.level-summary .text-btn svg{width:14px;height:14px}.word-assessed{text-align:center;font-size:11px;color:var(--green);margin:12px 0 0;animation:answer-in .2s ease-out}
@keyframes answer-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.word-assessed{animation:none}.bar i{will-change:auto}}
@media(max-width:720px){.practice-top{gap:10px;flex-wrap:wrap}.level-summary{font-size:10px}.word-assessed{font-size:10px}}

/* Compact, live vocabulary search. */
.discover-search{display:flex;align-items:center;gap:8px;margin-left:auto}.word-search-panel{display:flex;align-items:center;gap:7px;animation:answer-in .16s ease-out}.word-search-panel[hidden]{display:none}.word-search-panel .search-input{padding:7px 12px}.word-search-panel input{width:180px;min-width:0}.word-search-status{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:11px;margin:-9px 0 20px}.word-search-panel .icon-btn{width:30px;height:30px}.word-search-panel .icon-btn svg{width:14px;height:14px}
@media(max-width:720px){.discover-search:has(.word-search-panel:not([hidden])){width:100%;margin-left:0}.word-search-panel{flex:1;min-width:0}.word-search-panel .search-input{flex:1;min-width:0}.word-search-panel input{width:100%}.word-search-status{align-items:flex-start;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.word-search-panel{animation:none}}

/* Let mobile Discover open directly on the word card and search. */
@media(max-width:720px){.page-discover>.page-intro,.page-discover>.toolbar>.chips{display:none}.page-discover>.toolbar{justify-content:flex-end;margin-bottom:12px}.page-discover .discover-search{margin-left:auto}}

.daily-words{margin:-5px 0 25px}.daily-words .panel-head{margin-bottom:14px}.daily-words .eyebrow{display:block;margin:0 0 4px}.daily-word-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.daily-word{border:1px solid var(--line);background:var(--surface2);border-radius:11px;padding:15px 17px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;transition:border-color .2s,transform .2s}.daily-word:hover{border-color:var(--primary);transform:translateY(-2px)}.daily-word strong{display:block;color:var(--primaryInk);font:750 17px Manrope,ui-sans-serif,system-ui,sans-serif}.daily-word small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.daily-word svg{width:16px;height:16px;color:var(--primaryInk)}
@media(max-width:720px){.page-builder>.page-intro,.page-discover>.toolbar{display:none}.page-discover>.flash-layout{margin-top:0}.daily-words{margin:0 0 20px;padding:18px}.daily-word-grid{grid-template-columns:1fr;gap:8px}.daily-word{padding:11px 13px}.daily-word strong{font-size:15px}}

.word-card-actions{display:flex;align-items:center;gap:8px}.word-filter-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}.word-filter-options .btn{min-width:0;white-space:normal}.daily-swipe-hint{display:none}
@media(max-width:720px){.page-suffix>.page-intro{display:none}.daily-word-grid{display:grid;grid-auto-flow:column;grid-auto-columns:100%;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:0;scrollbar-width:none;overscroll-behavior-x:contain;padding-bottom:2px}.daily-word-grid::-webkit-scrollbar{display:none}.daily-word{scroll-snap-align:start;min-height:72px}.daily-swipe-hint{display:block;text-align:right;font-size:10px;color:var(--muted);margin:7px 0 0}.word-filter-options{grid-template-columns:1fr}}

.path-number.locked{background:var(--surface2);color:var(--muted)}
.path-locked .path-content{opacity:.56;cursor:not-allowed;background:var(--surface2)}
.path-locked .path-content:hover{border-color:var(--line)}

@keyframes discover-enter-up{from{transform:translateY(24%);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes discover-enter-down{from{transform:translateY(-24%);opacity:0}to{transform:translateY(0);opacity:1}}
.word-enter-up{animation:discover-enter-up .24s cubic-bezier(.2,.8,.2,1) both}.word-enter-down{animation:discover-enter-down .24s cubic-bezier(.2,.8,.2,1) both}
@media(max-width:720px){.page-discover .word-card{height:clamp(450px,calc(100dvh - 255px),690px);touch-action:none}}
@media(prefers-reduced-motion:reduce){.word-enter-up,.word-enter-down{animation:none}}

.quick-check{margin:-6px 0 24px}.quick-check .panel-head{margin-bottom:10px}.quick-check .eyebrow{display:block;margin:0 0 4px}.quick-check .panel-head h3{margin:0}.quick-check-prompt{font-size:15px;margin:5px 0 15px}.quick-check-prompt strong{color:var(--primaryInk)}.quick-check-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quick-check-option{padding:14px;border:1px solid var(--line2);border-radius:11px;background:var(--surface2);text-align:left;font-weight:700}.quick-check-option:hover{border-color:var(--primary)}.quick-check-option.wrong{border-color:var(--red);background:var(--redSoft)}.quick-check-feedback{font-size:11px;color:var(--red);margin:10px 0 0}.quick-check-done{display:flex;align-items:center;gap:11px;color:var(--green);font-weight:700;font-size:12px}.quick-check-done svg{width:20px;height:20px;flex:none}
@media(max-width:720px){.quick-check{margin:0 0 20px;padding:18px}.quick-check-prompt{font-size:13px}.quick-check-option{padding:12px;font-size:11px}}
.course-card.course-locked{opacity:.62;cursor:not-allowed}
.course-card.course-locked:hover{transform:none;border-color:var(--line)}

/* Membership, legal pages and registration consent. */
.demo-tag.upgrade-cta{border:1px solid var(--primary2);background:var(--primarySoft);color:var(--primaryInk);border-radius:8px;cursor:pointer;font:inherit;font-size:10px;font-weight:700;padding:7px 10px;white-space:nowrap}.demo-tag.upgrade-cta:hover{background:var(--primary);color:white}.mobile-label{display:none}
.premium-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:34px;background:linear-gradient(120deg,var(--hero),var(--surface));margin-bottom:22px}.premium-hero h2{font:800 clamp(23px,3vw,35px)/1.16 Manrope,sans-serif;max-width:620px;letter-spacing:-.035em;margin:10px 0}.premium-hero p{color:var(--muted);font-size:13px;max-width:620px;line-height:1.6}.premium-hero-stat{min-width:175px;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:17px;text-align:center;display:grid;gap:5px}.premium-hero-stat strong{font:800 48px Manrope,sans-serif;color:var(--primaryInk)}.premium-hero-stat span{font-weight:700;font-size:13px}.premium-hero-stat small{color:var(--muted);font-size:10px}
.premium-compare{margin:22px 0}.compare-grid{display:grid;grid-template-columns:minmax(170px,1.4fr) repeat(2,minmax(130px,1fr));border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:18px 0}.compare-grid>div{padding:15px 16px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.45}.compare-grid>div:nth-last-child(-n+3){border-bottom:0}.compare-grid>div:not(:nth-child(3n+1)){border-left:1px solid var(--line)}.compare-heading{background:var(--surface2);font-weight:800}.compare-heading.accent{color:var(--primaryInk)}.compare-label{font-weight:650}.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.plan-card{display:flex;flex-direction:column;align-items:flex-start;min-height:315px}.plan-card.featured{border:1.5px solid var(--primary2);box-shadow:0 12px 35px #6860d916}.plan-card h3{font:800 22px Manrope,sans-serif;margin:12px 0 5px}.plan-card p{color:var(--muted);font-size:12px;line-height:1.5}.plan-price{font:800 18px Manrope,sans-serif;margin:14px 0;color:var(--text)}.plan-card ul{color:var(--muted);padding-left:20px;font-size:12px;line-height:1.9;margin:0 0 20px}.plan-card .btn{margin-top:auto;width:100%}.premium-notice{margin-top:20px}.legal-links{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px}.legal-page{max-width:850px}.legal-page h2{font:800 19px Manrope,sans-serif;margin:26px 0 8px}.legal-page p{color:var(--muted);font-size:12px;line-height:1.75}.legal-page .legal-links{border-top:1px solid var(--line);padding-top:15px}.consent-row{margin:5px 0 18px;font-size:12px;color:var(--muted)}.consent-row label{display:flex;align-items:flex-start;gap:9px;line-height:1.5}.consent-row input{width:17px;height:17px;flex:none;margin:1px 0 0;accent-color:var(--primary)}.inline-link{border:0;background:none;color:var(--primaryInk);font:inherit;text-decoration:underline;padding:0;cursor:pointer}.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}
@media(max-width:980px){.upgrade-cta{display:inline-flex!important}}
@media(max-width:720px){.premium-hero{padding:23px;display:block}.premium-hero-stat{min-width:0;margin-top:21px;padding:14px;display:flex;align-items:center;justify-content:center;gap:9px}.premium-hero-stat strong{font-size:30px}.plan-grid{grid-template-columns:1fr}.plan-card{min-height:270px}.compare-grid{grid-template-columns:minmax(100px,1.3fr) repeat(2,minmax(86px,1fr))}.compare-grid>div{padding:11px 8px;font-size:10px}.topbar .upgrade-cta{font-size:10px;padding:6px 8px}.desktop-label{display:none}.mobile-label{display:inline}.topbar .xp-pill{display:none}.legal-page{padding:20px}.legal-page h2{font-size:17px}}
.level-badge{display:inline-grid;place-items:center;min-width:55px;height:44px;padding:0 12px;border-radius:12px;background:var(--primarySoft);border:1px solid var(--primary2);color:var(--primaryInk);font:800 17px Manrope,sans-serif}.level-celebration{display:grid;place-items:center;width:74px;height:74px;background:var(--primarySoft);color:var(--primaryInk);border-radius:21px;margin:17px 0}.level-celebration svg{width:38px;height:38px}.level-notification{gap:11px}.level-notification .badge-medal{flex:none}
.pathway-overview{max-width:930px;margin:0 auto 28px;padding:28px 30px;background:linear-gradient(130deg,var(--surface),var(--hero));overflow:hidden}.pathway-overview-top{display:flex;align-items:center;justify-content:space-between;gap:25px}.pathway-overview h2{font:800 25px Manrope,sans-serif;margin:8px 0 4px;letter-spacing:-.03em}.pathway-overview p{color:var(--muted);font-size:12px;margin:0}.pathway-ring{width:104px;height:104px;padding:8px}.pathway-ring>div{font-size:21px}.pathway-ring small{font-size:8px}.pathway-stages{display:flex;gap:7px;margin:27px 0 18px}.pathway-stage{flex:1;text-align:center;padding:8px 4px;background:var(--surface);border:1px solid var(--line);border-radius:8px;font:700 11px Manrope,sans-serif;color:var(--faint)}.pathway-stage.passed{background:var(--greenSoft);border-color:transparent;color:var(--green)}.pathway-stage.active{background:var(--primary);border-color:var(--primary);color:white;box-shadow:0 5px 13px #6860d929}.pathway-progress-row{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 10px;font-size:12px}.pathway-progress-row strong{display:block;font-size:13px}.pathway-progress-row small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.pathway-progress-row>span{font-weight:700;color:var(--primaryInk);white-space:nowrap}.pathway-overview .bar{height:8px;background:var(--surface)}.pathway-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;font-size:10px;color:var(--muted)}.pathway-foot .text-btn{white-space:nowrap}
.member-mark{display:inline-block;margin-left:7px;padding:2px 6px;border-radius:5px;background:var(--primarySoft);color:var(--primaryInk);font-size:9px;font-weight:700;letter-spacing:.02em;vertical-align:middle}.premium-avatar{background:linear-gradient(145deg,#8e82e7,#d0b1dc)!important;color:white!important;box-shadow:0 0 0 2px var(--surface),0 0 0 3px var(--primary2)}.premium-post{border-color:var(--primary2)}.premium-composer{border-color:var(--primary2)}.community-premium-note{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;margin:-4px 0 18px}.community-premium-note .member-mark{margin:0}
@media(max-width:720px){.pathway-overview{padding:20px}.pathway-overview h2{font-size:19px}.pathway-overview p{font-size:10px}.pathway-ring{width:75px;height:75px;padding:6px}.pathway-ring>div{font-size:15px}.pathway-ring small{font-size:6px}.pathway-stages{gap:4px;margin:19px 0 15px}.pathway-stage{font-size:9px;padding:7px 2px}.pathway-foot{align-items:flex-start;flex-wrap:wrap}.pathway-progress-row small{font-size:9px}}
@media(max-width:720px){
 .course-filters{min-width:0;grid-template-columns:minmax(0,1fr)}
 .topic-filters{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;width:100%;min-width:0;max-width:100%;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .topic-filters::-webkit-scrollbar{display:none}
 .topic-filters .chip{flex:0 0 auto;white-space:nowrap}
}

/* Learner identity and membership */
.profile-link{border:0;background:none;padding:0;text-align:left;font-weight:750;font-size:inherit;color:var(--text);display:inline-flex;align-items:center;gap:2px;flex-wrap:wrap}
.profile-link:hover{color:var(--primaryInk);text-decoration:underline}
.learner-profile,.learner-badges{max-width:950px;margin:0 auto 20px}
.learner-profile{padding:30px;background:linear-gradient(130deg,var(--surface),var(--hero));overflow:hidden}
.learner-profile-premium{border-color:var(--primary2);background:linear-gradient(130deg,var(--surface),var(--primarySoft));box-shadow:0 12px 35px color-mix(in srgb,var(--primary) 10%,transparent)}
.learner-profile-top{display:flex;align-items:center;gap:20px}
.learner-avatar{width:76px;height:76px;border-radius:22px;display:grid;place-items:center;background:var(--primarySoft);color:var(--primaryInk);font:800 31px Manrope,sans-serif;flex:none}
.learner-profile-top h2{margin:0;font-size:25px}.learner-profile-top p{font-size:12px;color:var(--muted);margin:5px 0 0}.learner-profile-top .eyebrow{margin:0 0 3px}
.learner-level{margin-left:auto;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:9px 16px;text-align:center;color:var(--primaryInk);font:800 22px Manrope,sans-serif}
.learner-level small{display:block;font:700 8px 'DM Sans',sans-serif;letter-spacing:.11em;color:var(--muted)}
.learner-title{display:flex;align-items:center;gap:8px;margin:24px 0 17px;color:var(--primaryInk);font-size:12px;font-weight:700}.learner-title svg{width:17px;height:17px}
.learner-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.learner-metrics>div{background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:14px}.learner-metrics b{display:block;font:800 23px Manrope,sans-serif}.learner-metrics small{color:var(--muted);font-size:10px}
.learner-progress{margin-top:24px}.learner-progress>div:first-child{display:flex;justify-content:space-between;margin-bottom:9px;font-size:11px}.learner-progress span{color:var(--muted)}.learner-progress .bar{height:8px;background:var(--surface)}
.learner-badge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.learner-badge{display:flex;gap:11px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:11px;background:var(--surface2)}.learner-badge .badge-medal{flex:none}.learner-badge strong{font-size:11px;display:block}.learner-badge small{font-size:9px;color:var(--muted);display:block;margin-top:3px}
.learner-disclaimer{max-width:950px;margin:0 auto;color:var(--muted)}
.member-status{margin:0 0 22px;border-color:var(--primary2)}.member-status .panel-head{margin-bottom:8px}.member-status .member-mark{margin:0}.member-details{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:19px 0}.member-details>div{border:1px solid var(--line);background:var(--surface2);border-radius:10px;padding:15px}.member-details small{display:block;font-size:10px;color:var(--muted)}.member-details strong{display:block;margin-top:5px;font-size:13px}
.compare-grid>.compare-heading:nth-child(3n),.compare-grid>.compare-premium{background:var(--primarySoft);color:var(--text)}.compare-grid>.compare-heading:nth-child(3n){background:var(--primary);color:#fff;display:flex;align-items:center;gap:6px}.compare-heading svg{width:14px;height:14px}.compare-grid>.compare-premium{font-weight:700}.compare-free,.compare-premium{display:flex;align-items:center;gap:9px}.compare-sign{flex:none;width:19px;height:19px;border-radius:50%;display:grid;place-items:center}.compare-sign svg{width:12px;height:12px;stroke-width:3}.compare-sign.yes{color:var(--green);background:var(--greenSoft)}.compare-sign.no{color:var(--red);background:var(--redSoft)}
@media(max-width:720px){.learner-profile{padding:20px}.learner-profile-top{gap:10px;flex-wrap:wrap}.learner-avatar{width:56px;height:56px;border-radius:16px;font-size:23px}.learner-profile-top h2{font-size:19px}.learner-level{margin-left:0;font-size:16px;padding:7px 11px}.learner-metrics{grid-template-columns:repeat(2,1fr)}.learner-badge-grid{grid-template-columns:1fr}.member-details{grid-template-columns:1fr}.compare-free,.compare-premium{gap:4px}.compare-sign{width:15px;height:15px}.compare-sign svg{width:10px;height:10px}}
.share-options{display:flex;gap:9px;flex-wrap:wrap}.share-options a{display:inline-flex;align-items:center;padding:8px 12px;border:1px solid var(--line2);border-radius:8px;color:var(--primaryInk);text-decoration:none;font-size:11px;font-weight:700;background:var(--surface)}.share-options a:hover{background:var(--primarySoft)}

/* Two-step practice and study notes */
.tr-flag{display:inline-block;margin-right:6px;font-size:1.15em;vertical-align:-.08em;letter-spacing:0}
.lesson-tabs{display:flex;gap:7px;margin:20px 0 18px;padding:5px;background:var(--surface2);border:1px solid var(--line);border-radius:12px}
.lesson-tabs button{flex:1;border:0;border-radius:8px;background:transparent;padding:10px 14px;font-size:11px;font-weight:750;color:var(--muted)}
.lesson-tabs button.active{background:var(--surface);color:var(--primaryInk);box-shadow:0 3px 12px #232a3a0b}
.lesson-tabs button:disabled{opacity:.45}
.lesson-word-prompt{font-size:19px;margin:0 0 5px}.lesson-word-prompt span{color:var(--primaryInk)}
.lesson-word-options{display:grid;gap:8px;margin:18px 0}.lesson-word-options .answer-option{margin:0}
.chat-stream{min-height:160px}.typing-caret{display:inline-block;width:2px;height:14px;background:var(--primary);vertical-align:-2px;animation:blink .7s steps(1) infinite;margin-left:1px}@keyframes blink{50%{opacity:0}}
.quiz-reason{max-width:900px;margin:0 auto 24px;padding:25px 29px;background:linear-gradient(125deg,var(--hero),var(--surface))}
.quiz-reason h2{font-size:23px;margin:2px 0 8px}.quiz-reason p{color:var(--muted);font-size:12px;line-height:1.7;max-width:740px;margin-bottom:12px}.quiz-reason a{font-size:11px;font-weight:700;display:inline-flex;align-items:center;gap:5px;text-decoration:none}.quiz-reason a svg{width:14px;height:14px}
.progress-review{margin-top:24px;scroll-margin-top:100px}
@media(max-width:720px){.lesson-tabs button{font-size:10px;padding:9px 5px}.quiz-reason{padding:20px}.quiz-reason h2{font-size:19px}.lesson-word-prompt{font-size:17px}}

.practice-grid:has(.practice-card:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}
.flash-deck-overview{max-width:1100px;margin:auto}.flash-topic{margin-bottom:31px}.flash-topic .section-header{margin:0 0 13px}.flash-topic h2{font:800 19px Manrope,sans-serif;margin:0}.flash-deck-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.flash-deck{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:174px;padding:20px;transition:transform .2s,border-color .2s}.flash-deck:hover{transform:translateY(-3px);border-color:var(--primary2)}.flash-deck-mark{width:36px;height:36px;border-radius:10px;background:var(--primarySoft);color:var(--primaryInk);display:grid;place-items:center;margin-bottom:15px}.flash-deck-mark svg{width:19px;height:19px}.flash-deck.topic-1 .flash-deck-mark{background:var(--greenSoft);color:var(--green)}.flash-deck.topic-2 .flash-deck-mark{background:var(--orangeSoft);color:var(--orange)}.flash-deck strong{font:800 15px Manrope,sans-serif;margin:5px 0}.flash-deck small{font-size:11px;color:var(--muted);line-height:1.45;min-height:27px}.flash-deck-foot{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:10px;color:var(--muted);margin:16px 0 8px}.flash-deck-foot svg{width:15px;height:15px;color:var(--primaryInk)}.flash-deck .bar{width:100%}
.flash-study{max-width:550px;margin:18px auto}.flash-counter{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:12px}.flash-counter span{font-size:11px;color:var(--muted)}.flash-study-card{min-height:370px;margin:19px 0 12px;padding:30px;border-radius:22px;background:linear-gradient(140deg,var(--surface),var(--primarySoft));border:1px solid var(--primary2);box-shadow:0 18px 48px #32304713;display:grid;place-items:center;text-align:center;cursor:pointer;touch-action:pan-y;user-select:none;transition:transform .22s,box-shadow .22s}.flash-study-card:hover{transform:translateY(-3px);box-shadow:0 22px 50px #32304720}.flash-study-card:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.flash-study-card.flipped{background:linear-gradient(140deg,var(--surface),var(--greenSoft));border-color:var(--green)}.flash-study-inner strong{display:block;font:800 clamp(30px,5vw,48px)/1.2 Manrope,sans-serif;color:var(--primaryInk);margin:22px 0}.flash-study-card.flipped strong{color:var(--text);font-size:clamp(26px,4vw,38px)}.flash-study-inner p{font-size:14px;color:var(--muted);margin:0 auto 9px;max-width:370px;line-height:1.5}.flash-study-inner small{display:block;color:var(--muted);line-height:1.5}.flash-study-hint{text-align:center;color:var(--muted);font-size:11px;display:flex;align-items:center;justify-content:center;gap:8px;margin:15px 0}.flash-study-hint svg{width:14px;height:14px}.flash-study-actions{display:flex;align-items:center;justify-content:center;gap:11px}.flash-study-actions .btn{flex:1;white-space:nowrap}.flash-study-actions .icon-btn{flex:none}.flash-finish{text-align:center;padding:45px 28px}.flash-finish .result-medal{margin:0 auto 18px}.flash-finish h2{font:800 26px Manrope,sans-serif;margin:10px 0}.flash-finish p{font-size:13px;color:var(--muted)}.flash-finish .account-actions{justify-content:center;margin-top:23px}
@media(max-width:900px){.practice-grid:has(.practice-card:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}.flash-deck-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.flash-deck-grid{grid-template-columns:1fr}.flash-deck{min-height:147px}.flash-study-card{min-height:clamp(310px,48dvh,450px);padding:22px}.flash-study-actions{gap:6px}.flash-study-actions .btn{font-size:11px;padding:11px 8px}.flash-study-hint{font-size:10px;gap:5px}}

.flash-collection-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}.flash-collection-heading strong{font:800 17px Manrope,sans-serif}.flash-collection-heading span{font-size:11px;color:var(--muted)}.flash-deck-preview{font-size:10px;color:var(--primaryInk);margin-top:8px}.flash-deck small{min-height:0}.flash-deck-grid .flash-deck{min-height:205px}.flash-study-card{touch-action:none}.flash-study-hint{justify-content:space-between;max-width:350px;margin:15px auto}.flash-card-emblem{width:47px;height:47px;border-radius:15px;background:var(--surface);color:var(--primaryInk);border:1px solid var(--line);display:grid;place-items:center;margin:0 auto 15px;box-shadow:0 7px 22px #3230470b}.flash-card-emblem svg{width:23px;height:23px}
.lesson-complete-head{text-align:center}.lesson-complete-icon{width:62px;height:62px;border-radius:20px;background:var(--primarySoft);color:var(--primaryInk);display:grid;place-items:center;margin:5px auto 18px}.lesson-complete-icon svg{width:31px;height:31px}.lesson-complete-head h2{font:800 27px Manrope,sans-serif;margin:7px 0 9px}.lesson-complete-head p{color:var(--muted);font-size:12px;line-height:1.6;margin:0 auto 18px;max-width:370px}.lesson-complete-head p strong{color:var(--text)}.lesson-complete-xp{text-align:center;background:var(--greenSoft);border-radius:12px;padding:14px;margin:0 0 17px}.lesson-complete-xp strong{display:block;font:800 23px Manrope,sans-serif;color:var(--green)}.lesson-complete-xp span{font-size:10px;color:var(--muted)}.lesson-complete-progress{padding:17px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);margin:16px 0}.lesson-complete-progress>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:11px}.lesson-complete-progress>div:first-child span,.lesson-complete-progress small{color:var(--muted)}.lesson-complete-progress .bar{margin:12px 0 9px}.lesson-complete-actions{display:grid;justify-items:center;gap:12px}.lesson-complete-actions .btn{white-space:normal}.lesson-complete-actions .text-btn{font-size:11px}
@media(max-width:600px){.flash-collection-heading{align-items:flex-start;flex-direction:column}.flash-deck-grid .flash-deck{min-height:170px}.lesson-complete-head h2{font-size:23px}.lesson-complete-progress>div:first-child{flex-direction:column;gap:3px}}

.flash-study-shell{position:relative}.flash-card-flag{width:51px;height:51px;border-radius:15px;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);box-shadow:0 7px 22px #3230470b;font-size:27px;margin:0 auto 15px}.flash-card-speak{position:absolute;right:23px;top:34px;z-index:2;background:var(--surface);border:1px solid var(--line);box-shadow:0 5px 15px #3230470d}.flash-study-actions .btn{min-width:0}.flash-finish{background:radial-gradient(circle at 50% 0,var(--primarySoft),var(--surface) 45%);padding:40px 30px}.flash-finish .result-medal{animation:round-pop .45s ease both}.flash-finish>p{max-width:380px;margin:0 auto 18px}.flash-finish-xp{background:linear-gradient(115deg,var(--primarySoft),var(--greenSoft));border:1px solid var(--primary2);border-radius:16px;padding:20px;margin:20px auto;max-width:390px;animation:round-pop .55s .1s ease both}.flash-finish-xp span{display:block;font-size:10px;color:var(--muted);letter-spacing:.1em;font-weight:800}.flash-finish-xp strong{display:block;color:var(--primaryInk);font:800 37px Manrope,sans-serif;margin:5px 0}.flash-finish-xp small{display:block;color:var(--muted);font-size:10px}.flash-finish-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.flash-finish-stats>div{background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:15px}.flash-finish-stats strong{display:block;font:800 24px Manrope,sans-serif;color:var(--text)}.flash-finish-stats span{font-size:9px;letter-spacing:.06em;color:var(--muted);font-weight:800}.flash-finish-progress{display:flex;justify-content:space-between;font-size:11px;font-weight:700;margin:16px 0 9px}.flash-finish .bar{margin-bottom:20px}.flash-finish>.text-btn{margin-top:14px}
@media(max-width:600px){.flash-card-speak{top:28px;right:16px}.flash-finish{padding:30px 20px}.flash-finish .account-actions{flex-direction:column}.flash-finish .account-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.typing-caret{animation:none}}

/* Flashcards: a compact editorial invitation and a swipeable deck shelf. */
.flash-editorial{width:100%;border:1px solid var(--primary2);border-radius:22px;background:linear-gradient(115deg,var(--primarySoft),var(--surface) 70%);padding:28px 32px;margin:0 0 32px;display:flex;justify-content:space-between;align-items:center;gap:25px;text-align:left;overflow:hidden;position:relative;box-shadow:var(--shadow)}.flash-editorial:hover{border-color:var(--primary);transform:translateY(-2px)}.flash-editorial-copy{display:grid;gap:9px;max-width:520px;position:relative;z-index:1}.flash-editorial-copy>strong{font:800 clamp(22px,3vw,31px)/1.2 Manrope,sans-serif;letter-spacing:-.035em}.flash-editorial-copy>span:nth-child(3){color:var(--muted);font-size:12px;line-height:1.6}.flash-editorial-cta{display:inline-flex;align-items:center;gap:8px;color:var(--primaryInk);font-weight:800;font-size:12px;margin-top:7px}.flash-editorial-cta svg{width:15px;height:15px}.flash-editorial-art{width:240px;height:135px;flex:none;position:relative}.flash-editorial-art>span{display:block;position:absolute;width:170px;min-height:96px;border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:17px;box-shadow:0 12px 25px #32304716;font-size:18px}.flash-editorial-art>span:first-child{top:5px;left:0;transform:rotate(-9deg)}.flash-editorial-art>span:last-child{top:30px;right:0;transform:rotate(9deg)}.flash-editorial-art b{display:inline-block;margin-left:6px;font:800 13px Manrope,sans-serif}.flash-editorial-art small{display:block;margin:8px 0 0 31px;font-size:10px;color:var(--muted)}
 .flash-collection-heading>div:first-child{display:grid;gap:4px}.flash-carousel-controls{display:flex;gap:7px;flex:none}.flash-deck-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(270px,calc(33.333% - 10px));grid-template-columns:none!important;gap:15px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:2px;scrollbar-width:none;padding:3px 3px 17px;overscroll-behavior-inline:contain}.flash-deck-grid::-webkit-scrollbar{display:none}.flash-deck-grid .flash-deck{scroll-snap-align:start;min-width:0;min-height:235px}.flash-deck-grid .flash-deck strong{font-size:17px}.flash-deck-grid .flash-deck:hover{transform:translateY(-2px)}.discover-swipe-hint{margin:12px auto 0;max-width:390px}.flash-study-shell.word-enter-up,.flash-study-shell.word-enter-down{animation-duration:.24s}
@media(max-width:900px){.flash-deck-grid{grid-auto-columns:minmax(225px,calc(50% - 8px))}}
@media(max-width:600px){.flash-editorial{padding:22px;margin-bottom:25px}.flash-editorial-art{display:none}.flash-deck-grid{grid-auto-columns:minmax(230px,84%)}.flash-deck-grid .flash-deck{min-height:220px}.flash-collection-heading{flex-direction:row;align-items:center}.flash-collection-heading span{font-size:10px}.flash-carousel-controls .icon-btn{width:32px;height:32px}.discover-swipe-hint{display:flex;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.flash-study-shell.word-enter-up,.flash-study-shell.word-enter-down{animation:none}}

.flash-editorial{background:radial-gradient(circle at 90% 12%,#9789ed 0,#6555bf 35%,#3e378f 85%);border-color:#6759bf;color:#fff;min-height:255px;padding:32px 40px}.flash-editorial:hover{border-color:#a99cf8;box-shadow:0 18px 42px #40378a30}.flash-editorial-copy{max-width:570px;gap:12px}.flash-editorial-copy>strong{font-size:clamp(27px,3.2vw,39px);max-width:510px}.flash-editorial-copy>span:nth-child(3){color:#eeeaff;font-size:13px;max-width:455px}.flash-editorial-kicker{display:inline-flex;align-items:center;gap:8px;color:#dcd4ff;letter-spacing:.13em;font-size:10px;font-weight:800}.flash-editorial-kicker svg{width:15px;height:15px}.flash-editorial-cta{width:max-content;margin-top:7px;border-radius:10px;background:#fff;color:#3c348a;padding:12px 17px;font-size:12px;box-shadow:0 4px 0 #28226c}.flash-editorial-art{width:290px;height:170px;flex:none}.flash-editorial-art>span{border:0;box-shadow:none}.flash-editorial-art>.flash-editorial-orbit{width:218px;height:218px;left:36px;top:-24px;border:1px solid #ffffff58;border-radius:50%;background:#ffffff16;color:#e7dbff;display:grid;place-items:start;font-size:30px;padding:21px;transform:rotate(-14deg)}.flash-editorial-art>.flash-editorial-word{width:215px;min-height:123px;left:22px;top:16px;transform:rotate(-9deg);background:#fff;color:#2f2b55;border:1px solid #e9e3ff;box-shadow:0 20px 38px #20195345;font-size:24px;padding:21px}.flash-editorial-art>.flash-editorial-word b{font-size:21px;margin-left:8px}.flash-editorial-art>.flash-editorial-word small{margin:13px 0 0 40px;font-size:13px}.flash-editorial-art>.flash-editorial-bubble{width:174px;min-height:0;top:109px;left:110px;right:auto;transform:rotate(8deg);background:#f4cd85;color:#453371;border-radius:10px;padding:12px;font-size:11px;font-weight:800;box-shadow:0 12px 23px #211a583a}
.flash-editorial-art>.flash-editorial-bubble{top:145px}
@media(max-width:700px){.flash-editorial{padding:25px;min-height:0;flex-direction:column;align-items:stretch;gap:12px}.flash-editorial-copy>strong{font-size:28px}.flash-editorial-art{display:block;width:100%;height:165px}.flash-editorial-art>.flash-editorial-orbit{left:calc(50% - 109px)}.flash-editorial-art>.flash-editorial-word{left:calc(50% - 120px)}.flash-editorial-art>.flash-editorial-bubble{left:calc(50% - 5px)}}

.builder-hub-hero{border:1px solid var(--primary2);border-radius:22px;background:linear-gradient(125deg,var(--primarySoft),var(--surface) 72%);padding:30px 35px;display:flex;align-items:center;justify-content:space-between;gap:30px;overflow:hidden}.builder-hub-hero h2{font-size:clamp(23px,3vw,32px);line-height:1.25;margin:3px 0 10px}.builder-hub-hero p{font-size:12px;color:var(--muted);max-width:510px;margin:0 0 16px}.builder-hub-progress{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:var(--primaryInk)}.builder-hub-progress svg{width:15px;height:15px}.builder-hub-visual{width:230px;height:130px;position:relative;flex:none}.builder-hub-visual>span{position:absolute;display:block;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 28px #33305720;padding:15px 20px;font:800 18px Manrope,sans-serif}.builder-hub-visual>span:first-child{top:10px;left:0;transform:rotate(-8deg)}.builder-hub-visual>span:nth-child(2){right:0;bottom:3px;transform:rotate(7deg);color:var(--primaryInk)}.builder-hub-visual>i{position:absolute;left:92px;top:48px;color:var(--orange);font:800 24px Manrope,sans-serif}.builder-hub-heading{text-align:center;margin:35px 0 18px}.builder-hub-heading h2{margin:0;font-size:24px}.builder-hub-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.builder-hub-choice{border:1px solid var(--line);border-radius:19px;background:var(--surface);box-shadow:var(--shadow);padding:27px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:295px;transition:transform .2s,border-color .2s,box-shadow .2s}.builder-hub-choice:hover{transform:translateY(-4px);border-color:var(--primary2);box-shadow:0 20px 45px #33305715}.builder-hub-choice.suffix:hover{border-color:var(--orange)}.builder-choice-icon{width:47px;height:47px;border-radius:14px;background:var(--primarySoft);color:var(--primaryInk);display:grid;place-items:center}.builder-hub-choice.suffix .builder-choice-icon{background:var(--orangeSoft);color:var(--orange)}.builder-choice-kind{font-size:9px;letter-spacing:.14em;font-weight:800;color:var(--primaryInk)}.builder-hub-choice.suffix .builder-choice-kind{color:var(--orange)}.builder-hub-choice>strong{font:800 23px Manrope,sans-serif}.builder-hub-choice>span:nth-of-type(3){font-size:12px;color:var(--muted)}.builder-choice-example{display:flex;align-items:center;gap:5px;margin:5px 0}.builder-choice-example b{font-size:11px;padding:7px 10px;border-radius:7px;background:var(--surface2);border:1px solid var(--line)}.builder-choice-example em{font-style:normal;color:var(--primaryInk);font-weight:800}.builder-choice-footer{width:100%;margin-top:auto;padding-top:16px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}.builder-choice-footer>span{font-size:10px;color:var(--muted)}.builder-choice-footer b{display:flex;align-items:center;gap:5px;color:var(--primaryInk);font-size:11px}.builder-choice-footer svg{width:15px;height:15px}.quiz-start-banner{border:1px solid var(--primary2);background:linear-gradient(115deg,var(--primarySoft),var(--surface) 65%);border-radius:20px;padding:27px 32px;margin-bottom:25px;display:flex;align-items:center;justify-content:space-between;gap:20px}.quiz-start-banner h2{font-size:25px;margin:3px 0 7px}.quiz-start-banner p{font-size:12px;color:var(--muted);margin:0 0 16px}.quiz-start-visual{width:122px;height:122px;border-radius:25px;background:var(--surface);border:1px solid var(--line);display:grid;place-content:center;justify-items:center;box-shadow:0 14px 30px #33305712;transform:rotate(6deg);flex:none}.quiz-start-visual>span{color:var(--primaryInk)}.quiz-start-visual>span svg{width:25px;height:25px}.quiz-start-visual b{font:800 36px Manrope,sans-serif;line-height:1;color:var(--primaryInk)}.quiz-start-visual small{font-size:8px;letter-spacing:.08em;font-weight:800;color:var(--muted)}
@media(max-width:700px){.builder-hub-hero{padding:24px}.builder-hub-visual{display:none}.builder-hub-choices{grid-template-columns:1fr}.builder-hub-choice{min-height:260px;padding:22px}.quiz-start-banner{padding:23px}.quiz-start-visual{display:none}}

.top-actions .icon-btn.active{background:var(--primarySoft);border-color:var(--primary2);color:var(--primaryInk)}
.builder-hub-heading{text-align:left;margin:4px 0 18px}
@media(max-width:400px){.top-actions>[data-action="theme"]{display:none}}

.course-card.premium-teaser{opacity:1;cursor:pointer}.course-card.premium-teaser:hover{transform:translateY(-3px);border-color:var(--primary2)}.path-item.premium-teaser .path-content{opacity:1;cursor:pointer;background:var(--surface)}.path-item.premium-teaser .path-content:hover{border-color:var(--primary2)}.quiz-premium-mark{position:absolute;right:17px;bottom:16px;display:inline-flex;align-items:center;gap:5px;color:var(--primaryInk);font-size:10px;font-weight:800}.quiz-premium-mark svg{width:13px;height:13px}.premium-offer{text-align:center;padding:12px 8px}.premium-offer-icon{width:58px;height:58px;border-radius:18px;background:var(--primarySoft);color:var(--primaryInk);display:grid;place-items:center;margin:0 auto 18px}.premium-offer-icon svg{width:27px;height:27px}.premium-offer h2{font-size:24px;margin:4px 0 10px}.premium-offer p{font-size:12px;color:var(--muted);max-width:380px;margin:0 auto 20px}.premium-offer-actions{display:grid;justify-items:center;gap:17px}.premium-offer-actions .btn{max-width:350px}

/* TurkishLA refinements */
.brand small{font-size:8px;letter-spacing:.065em}.map-node b{font-size:13px}.rank-target{font-size:11px;color:var(--muted);font-weight:500;white-space:nowrap}
.quick-check{position:relative;overflow:hidden;padding:22px 24px 24px;background:linear-gradient(130deg,var(--surface) 55%,var(--primarySoft));border-color:var(--line2)}
.quick-check:after{content:'✦';position:absolute;right:-8px;top:-44px;font-size:128px;line-height:1;color:var(--primary);opacity:.08;pointer-events:none}
.quick-check-top{display:flex;align-items:center;gap:12px;position:relative;z-index:1}.quick-check-top .tag{margin-left:auto}.quick-check-top .eyebrow{margin:0 0 3px}.quick-check-top h3{margin:0}.quick-check-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--primarySoft);color:var(--primaryInk)}.quick-check-symbol svg{width:20px;height:20px}
.quick-check-question{position:relative;z-index:1;margin:17px 0 14px}.quick-check-question>span{font-size:9px;letter-spacing:.13em;font-weight:800;color:var(--muted)}.quick-check-question p{font-size:19px;font-weight:700;margin:4px 0 0}.quick-check-question strong{color:var(--primaryInk)}.quick-check-options{position:relative;z-index:1}.quick-check-option{display:flex;align-items:center;gap:10px;min-height:54px;background:var(--surface);box-shadow:0 3px 12px rgba(35,32,80,.035)}.quick-check-option:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(35,32,80,.08)}.quick-check-option svg{width:15px;height:15px;margin-left:auto;color:var(--primaryInk)}.quick-check-letter{width:27px;height:27px;border-radius:9px;background:var(--primarySoft);color:var(--primaryInk);display:grid;place-items:center;font-size:10px;flex:none}.quick-check-done{position:relative;z-index:1;margin-top:18px;padding:14px;border-radius:11px;background:var(--greenSoft)}
@media(max-width:720px){.quick-check{padding:18px}.quick-check-question p{font-size:16px}.quick-check-option{min-height:49px}.rank-target{display:block}}

/* Listening completion, quiz hub and XP journey */
.quiz-hub-wrap{max-width:none}.quiz-select{grid-template-columns:1fr}.quiz-select .practice-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;column-gap:15px;min-height:96px;padding:19px 24px}.quiz-select .practice-card .tile-icon{grid-row:1/3}.quiz-select .practice-card strong{grid-column:2;align-self:end}.quiz-select .practice-card p{grid-column:2;align-self:start;margin:3px 0 0}.quiz-select .practice-card .arrow,.quiz-select .quiz-premium-mark{position:static;grid-column:3;grid-row:1/3;justify-self:end;align-self:center;margin:0}.quiz-hub-wrap .tip{max-width:830px;margin:18px auto 0}
.listening-complete{text-align:center;padding:9px 8px}.listening-complete .result-medal{margin:0 auto 13px}.listening-complete .eyebrow{display:block}.listening-complete h2{margin:8px 0}.listening-complete p{color:var(--muted);font-size:13px}.listening-complete-xp{display:grid;gap:2px;padding:17px;margin:20px 0;border-radius:14px;background:var(--primarySoft);color:var(--primaryInk)}.listening-complete-xp strong{font-size:27px}.listening-complete-xp span{font-size:11px}.listening-complete .text-btn{margin:17px auto 0;display:flex}
.xp-journey-panel{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--surface) 45%,var(--primarySoft));border-color:var(--line2)}.xp-journey-panel:after{content:'✦';position:absolute;right:-15px;top:-75px;color:var(--primary);opacity:.07;font-size:175px;pointer-events:none}.xp-journey-top,.xp-journey-main,.xp-journey-foot,.xp-journey-labels{display:flex;align-items:center;justify-content:space-between;gap:15px}.xp-journey-top{position:relative;z-index:1}.xp-journey-top .eyebrow{margin:0}.xp-journey-top h3{margin:3px 0 0}.xp-journey-icon{width:42px;height:42px;border-radius:13px;background:var(--primarySoft);color:var(--primaryInk);display:grid;place-items:center}.xp-journey-main{margin:20px 0;position:relative;z-index:1}.xp-journey-caption,.xp-journey-total span{display:block;font-size:9px;letter-spacing:.12em;color:var(--muted);font-weight:800}.xp-journey-main strong{font-size:22px}.xp-journey-total{text-align:right}.xp-journey-total b{display:block;font-size:29px;line-height:1.1;color:var(--primaryInk)}.xp-journey-track{position:relative;z-index:1}.xp-journey-labels{font-size:10px;color:var(--muted);margin-bottom:8px}.xp-journey-foot{margin-top:16px;position:relative;z-index:1}.xp-journey-foot small{font-size:10px;color:var(--muted);text-align:right}.xp-journey-remaining{display:inline-flex;align-items:center;gap:5px;background:var(--primarySoft);color:var(--primaryInk);padding:7px 10px;border-radius:8px;font-size:11px}.xp-journey-remaining svg{width:13px;height:13px}
@media(max-width:720px){.quiz-select .practice-card{grid-template-columns:40px minmax(0,1fr) auto;padding:16px;min-height:85px}.quiz-select .practice-card p{font-size:11px}.quiz-select .quiz-premium-mark{font-size:9px}.xp-journey-foot{align-items:flex-start;flex-direction:column}.xp-journey-foot small{text-align:left}}

/* Admin moderation, discovery picks and two-up quiz cards */
.quiz-select{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-select .practice-card{min-height:116px;padding:18px;grid-template-columns:42px minmax(0,1fr) auto;column-gap:10px}.quiz-select .practice-card .tile-icon{width:42px;height:42px}.quiz-select .practice-card .quiz-premium-mark{white-space:nowrap;font-size:9px}
.xp-journey-labels span:last-child{color:var(--primaryInk);background:var(--primarySoft);padding:5px 8px;border-radius:7px;font-weight:800}.xp-journey-remaining{background:var(--primary);color:#fff;box-shadow:0 4px 11px rgba(104,86,201,.2)}.xp-journey-remaining svg{color:#fff}
.users-panel{margin-top:22px}.users-panel td{vertical-align:middle}.user-handle{display:block;color:var(--muted);margin-top:3px}.users-panel .premium-role{background:var(--primarySoft);color:var(--primaryInk)}.reply{position:relative;padding-right:38px}.reply-delete{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:7px;background:var(--surface2);color:var(--muted)}.reply-delete:hover{color:var(--red);background:var(--redSoft)}.reply-delete svg{width:14px;height:14px}
.popular-words{padding:20px;margin:4px 0 22px}.popular-words-title{display:flex;align-items:center;gap:13px;margin-bottom:16px}.popular-words-title .tile-icon{color:var(--primaryInk);background:var(--primarySoft)}.popular-words-title .eyebrow{margin:0}.popular-words-title h3{margin:2px 0}.popular-words-title p{font-size:11px;color:var(--muted);margin:0}.popular-words-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.popular-words-list button{position:relative;text-align:left;border:1px solid var(--line2);background:var(--surface2);border-radius:11px;padding:12px 10px;min-width:0}.popular-words-list button:hover{border-color:var(--primary);transform:translateY(-2px)}.popular-words-list strong,.popular-words-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:15px}.popular-words-list strong{font-size:13px}.popular-words-list small{font-size:10px;color:var(--muted);margin-top:2px}.popular-words-list svg{position:absolute;right:8px;top:15px;width:12px;height:12px;color:var(--primaryInk)}
@media(max-width:720px){.quiz-select{grid-template-columns:1fr}.popular-words-list{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:5px}.popular-words-list button{min-width:135px;scroll-snap-align:start}}
/* Admin ranks and focused review */
.path-content:disabled{pointer-events:none;cursor:not-allowed}.path-content:disabled:hover{border-color:var(--line)}
.popular-words+.flash-collection-heading{margin-top:24px}
.review-deck-panel{display:flex;align-items:center;gap:16px;margin:20px 0 26px}.review-deck-panel>div{flex:1}.review-deck-panel h3{margin:3px 0}.review-deck-panel p{margin:0;color:var(--muted);font-size:12px}.review-deck-panel .btn{white-space:nowrap}
.ranks-panel{max-width:850px}.rank-edit-row{display:grid;grid-template-columns:34px minmax(0,2fr) minmax(130px,1fr) 38px;gap:12px;align-items:end;padding:12px 0;border-bottom:1px solid var(--line)}.rank-edit-position{align-self:center;color:var(--primaryInk);font-weight:800}.rank-edit-row label{font-size:11px;color:var(--muted);font-weight:700}.rank-edit-row input{display:block;width:100%;padding:10px 12px;margin-top:5px;border:1px solid var(--line2);background:var(--surface);color:var(--text);border-radius:9px}.rank-edit-row input[readonly]{opacity:.7}.rank-edit-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
@media(max-width:620px){.review-deck-panel{flex-wrap:wrap}.review-deck-panel>div{flex:1 1 calc(100% - 64px)}.review-deck-panel .btn{width:100%}.rank-edit-row{grid-template-columns:22px 1fr 1fr 32px;gap:6px}.rank-edit-row input{padding:9px 6px}.rank-edit-row label{font-size:10px}}

/* Discover card counters and compact controls */
.page-discover .discover-toolbar{justify-content:flex-end}
.word-card-foot{gap:12px;align-items:flex-end}
.word-card-stats{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}
.word-card-stats .discover-counts{gap:6px;flex-wrap:nowrap}
.word-card-stats .discover-counts span{padding:5px 8px;font-size:10px;white-space:nowrap;background:var(--surface2)}
.word-card-stats .discover-counts strong{font-size:12px}
.word-card-foot>.text-btn{flex:none}
.discover-setting-options .btn svg{width:15px;height:15px}
.course-duration,.path-duration{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:var(--muted)}
.course-duration svg,.path-duration svg{width:12px;height:12px}
.course-duration{margin-top:auto;margin-bottom:8px}
.course-copy p{flex:0 1 auto;margin-bottom:12px}
.course-meta{justify-content:flex-end;margin-top:0}
.path-duration{margin-top:6px}
.path-content>div:first-child{min-width:0;flex:1}
.path-content>.tag{white-space:nowrap}
.milestone-header h3{display:flex;align-items:center;gap:9px}
.milestone-heading-icon{width:31px;height:31px;border-radius:9px;background:var(--primarySoft);color:var(--primaryInk);display:inline-grid;place-items:center;flex:none}
.milestone-heading-icon svg{width:20px;height:20px}
.badge-carousel{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:3px 3px 15px}
.badge-carousel .badge-card{flex:0 0 clamp(150px,17vw,205px);scroll-snap-align:start;min-height:164px}
@media(max-width:720px){.page-discover>.toolbar.discover-toolbar{justify-content:flex-end}.word-card-stats .discover-counts{flex-wrap:wrap}.word-card-stats .discover-counts span{font-size:9px;padding:4px 6px}.word-card-stats .discover-counts strong{font-size:11px}.badge-carousel .badge-card{flex-basis:165px}}

/* Search belongs on the leading edge of the Discover heading. */
.page-discover .discover-heading-row{display:flex;align-items:flex-start;gap:14px;margin-bottom:10px}
.page-discover .discover-heading-row .discover-search{margin:4px 0 0;flex:none}
.page-discover .discover-heading-row .page-intro{flex:1;min-width:0;margin:0}
@media(max-width:720px){.page-discover .discover-heading-row{margin-bottom:10px;gap:0}.page-discover .discover-heading-row .page-intro{display:none}.page-discover .discover-heading-row .discover-search{margin:0}.page-discover .discover-heading-row .word-search-panel{width:min(275px,calc(100vw - 94px))}.page-discover .discover-heading-row .word-search-panel .search-input{flex:1}}

.guest-auth{display:grid;gap:9px;padding:4px 0}.guest-auth>strong{font-size:13px}.guest-auth>small{line-height:1.45;color:var(--muted)}.guest-auth .btn{justify-content:center}.top-actions>.btn.small{min-height:36px}

/* Account/auth v1.1 */
.settings-account-panel{width:100%}.user-role-select{min-width:110px}.top-logout svg{width:14px;height:14px}@media(max-width:720px){.top-logout{width:36px;height:36px;padding:0;border-radius:10px}.top-logout svg{margin:0}.settings-layout{width:100%}.setting-row{align-items:flex-start}.settings-account-panel .account-actions .btn{flex:1 1 140px}}
