:root{--safe-area-bottom:env(safe-area-inset-bottom,0px);--safe-area-left:env(safe-area-inset-left,0px);--safe-area-right:env(safe-area-inset-right,0px)}.sidebar{overflow-y:auto}.install-page{max-width:1000px;margin:auto}.install-hero{justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px;display:flex}.install-hero h1{letter-spacing:-1.4px;margin:10px 0 16px;font-size:clamp(30px,4vw,44px);line-height:1.15}.install-hero p{max-width:540px;color:var(--muted);line-height:1.7}.install-hero .eyebrow{color:var(--green);letter-spacing:1.4px;font-size:12px;font-weight:800}.install-app-icon{background:var(--primary);width:106px;height:106px;box-shadow:0 6px 0 var(--primary-edge);color:var(--on-primary);border-radius:28px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:7px;font-weight:800;display:flex;transform:rotate(5deg)}.install-instructions{padding:30px}.install-device-tabs{flex-wrap:wrap;gap:10px;margin:23px 0;display:flex}.install-device-tabs button{background:var(--soft);border:2px solid var(--border);border-radius:13px;min-height:46px;padding:10px 20px;font-weight:800}.install-device-tabs button[aria-pressed=true]{background:var(--primary-soft);border-color:var(--primary-edge);color:var(--link)}.install-lead{color:var(--muted);line-height:1.7}.install-steps{gap:24px;margin:22px 0 30px;padding:0;list-style:none;display:grid}.install-steps li{align-items:flex-start;gap:16px;display:flex}.install-steps li>span{background:var(--soft);height:36px;color:var(--reward-ink);border-radius:12px;flex:0 0 36px;place-items:center;font-weight:900;display:grid}.install-steps h3{flex-wrap:wrap;align-items:center;gap:8px;margin:2px 0 6px;font-size:17px;line-height:1.5;display:flex}.install-steps p{color:var(--muted);font-size:14px;line-height:1.8}.install-address{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;gap:12px;padding-top:24px;display:grid}.install-address label,.install-address p{grid-column:1/-1;font-size:13px;font-weight:700}.install-address input{border:1px solid var(--border);background:var(--soft);border-radius:10px;width:100%;min-width:0;padding:12px;font-size:16px}.install-bottom{grid-template-columns:1fr 1fr;gap:20px;margin-top:22px;display:grid}.install-bottom>.panel{margin:0}.install-bottom p{line-height:1.8}.install-bottom .small{margin-top:18px;font-size:12px}.install-progress .secondary{margin-top:16px}.install-profile-card{background:var(--soft);flex-direction:column;align-items:flex-start;gap:16px;display:flex}.install-profile-card>svg{color:var(--link)}.install-profile-card p{margin-top:10px}.offline-package-icon{background:var(--primary-soft);width:46px;height:46px;color:var(--link);border-radius:14px;place-items:center;margin-bottom:16px;display:grid}.offline-status{background:var(--soft);border-radius:10px;align-items:center;gap:8px;margin:18px 0;padding:12px;font-size:13px;display:flex}.offline-status.ready{color:var(--link);background:var(--soft)}.offline-status svg{flex-shrink:0}.offline-package .small{margin-top:18px;line-height:1.7;display:block}.install-success{background:var(--success-soft);border:2px solid var(--success);color:var(--success);border-radius:20px;align-items:flex-start;gap:14px;padding:24px;display:flex}.install-success svg{flex-shrink:0}.install-success p{margin-top:8px;line-height:1.7}.native-install{margin-top:20px}.download-spinner{animation:1s linear infinite download-spin}@keyframes download-spin{to{transform:rotate(360deg)}}@media (max-width:760px),(max-width:1000px) and (max-height:500px) and (pointer:coarse){html{--mobile-nav-clearance:calc(max(90px, 5.625rem) + var(--safe-area-bottom));scroll-padding-bottom:var(--mobile-nav-clearance)}.sidebar{width:100%;height:calc(72px + var(--safe-area-bottom));padding:0 max(5px, var(--safe-area-right)) var(--safe-area-bottom) max(5px, var(--safe-area-left));border-right:0;border-top:1px solid var(--border);background:var(--surface);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:30;display:block;position:fixed;inset:auto 0 0;overflow:visible}.sidebar .brand,.sidebar .nav-caption,.sidebar-bottom{display:none}.sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;height:71px;display:grid}.sidebar .nav-link{border:0;border-radius:0;flex-direction:column;justify-content:center;gap:4px;min-height:60px;padding:8px 1px;font-size:9px;font-weight:700;position:relative}.sidebar .nav-link svg{width:22px;height:22px}.sidebar .nav-link.active{background:var(--soft);color:var(--green);box-shadow:none}.sidebar .nav-link.active:before{content:"";background:var(--green);border-radius:0 0 3px 3px;width:32px;height:3px;position:absolute;top:0}.nav-count{min-width:17px;height:17px;margin:0;font-size:10px;position:absolute;top:4px;left:calc(50% + 6px)}.main-shell{padding-bottom:var(--mobile-nav-clearance);margin-left:0}.topbar{min-height:calc(68px + env(safe-area-inset-top,0px));height:auto;padding:env(safe-area-inset-top,0px) max(15px, var(--safe-area-right)) 0 max(15px, var(--safe-area-left))}.topbar-right{gap:9px}.language-badge,.course-name{display:none}.topbar-course{gap:0}.xp-label{gap:4px;font-size:12px}.small-avatar{width:44px;min-width:44px;height:44px}.main-content{padding:26px max(20px, var(--safe-area-right)) 30px max(20px, var(--safe-area-left))}.app-shell input:not([type=checkbox]):not([type=radio]):not([type=range]),.app-shell select,.app-shell textarea{scroll-margin-block:100px;font-size:16px!important}.app-shell button,.app-shell .text-button,.app-shell .secondary,.app-shell .primary,.app-shell .icon-button{min-width:44px;min-height:44px}.app-shell summary{align-content:center;min-height:44px}.toast{bottom:calc(var(--mobile-nav-clearance) - 2px)}.install-hero{align-items:flex-start;gap:14px}.install-app-icon{border-radius:22px;width:74px;height:74px;margin-top:9px;font-size:12px}.install-app-icon svg{width:28px;height:28px}.install-hero h1{font-size:30px}.install-hero p{font-size:14px}.install-instructions{padding:22px 18px}.install-instructions h2{font-size:21px;line-height:1.4}.install-steps{gap:22px}.install-steps li{gap:12px}.install-steps h3{font-size:16px}.install-address{grid-template-columns:minmax(0,1fr)}.install-bottom{grid-template-columns:1fr}}@media (max-width:380px){.main-content{padding-left:max(15px, var(--safe-area-left));padding-right:max(15px, var(--safe-area-right))}.topbar{padding-left:max(12px, var(--safe-area-left));padding-right:max(12px, var(--safe-area-right))}.topbar-right{gap:7px}.install-hero h1{font-size:27px}.install-app-icon{width:62px;height:70px}}@media (max-width:760px){.dictionary-filters select{flex:100%;width:100%}}
@font-face{font-family:Nunito;src:url(/fonts/nunito-normal-variable.woff2)format("woff2");font-style:normal;font-weight:200 1000;font-display:swap}@font-face{font-family:Shantell Sans;src:url(/fonts/shantell-sans-normal-variable.woff2)format("woff2");font-style:normal;font-weight:300 800;font-display:swap}@font-face{font-family:Shantell Sans;src:url(/fonts/shantell-sans-italic-variable.woff2)format("woff2");font-style:italic;font-weight:300 800;font-display:swap}@font-face{font-family:Stapka IPA;src:url(/fonts/stapka-ipa-regular.woff2)format("woff2");font-style:normal;font-weight:400;font-display:swap}:root{--font-interface:"Nunito", "Stapka IPA", system-ui, sans-serif;--font-learning:"Shantell Sans", "Stapka IPA", system-ui, sans-serif}body{font-family:var(--font-interface);font-synthesis:none;font-size:1rem;line-height:1.6}button,input,select,textarea{font-family:inherit}h1,h2,h3,h4{font-family:var(--font-interface);font-weight:700}.primary,.secondary,.lime-button,.check-button{font-weight:650}.resource-detail .ipa{letter-spacing:.02em;font-family:Stapka IPA,system-ui,sans-serif;font-size:1.2rem;font-weight:400}.dictionary-controls,.resource-card,.word-family{font-size:1rem}.dictionary-filters select,.filter-chips button,.dictionary-filter-label{font-size:.875rem}.dictionary-heading h1{font-size:clamp(1.65rem,3vw,2.15rem);font-weight:700}.dictionary-heading{margin-bottom:12px}.dictionary-about{margin-bottom:16px}.dictionary-about>summary{cursor:pointer;min-height:44px;color:var(--muted);align-content:center;font-size:.875rem}.dictionary-about .dictionary-stats{margin-top:12px}.dictionary-pagination[hidden]{display:none}.dictionary-controls .search-scope{padding-inline:4px;font-size:.875rem;line-height:1.5}.word-family .network-heading h3{font-weight:700}.word-family .network-heading p,.word-family .network-node p{font-size:1rem}.word-family .network-node-title{font-size:1.2rem;font-weight:650}.word-family .network-scope,.word-family .network-relation{font-size:.875rem}.focused-home{max-width:1040px;margin-inline:auto}.focused-home .page-heading{margin-bottom:20px}.focused-home .page-heading h1{letter-spacing:-.015em;font-size:clamp(1.65rem,3vw,2.15rem);font-weight:700;line-height:1.2}.home-tabs{margin-bottom:24px}.home-tabs button{font-size:1rem}.home-today{max-width:760px;margin-inline:auto}.home-plan{border:1px solid var(--line,var(--border));box-shadow:0 4px 0 var(--border);padding:clamp(20px,4vw,32px)}.home-plan-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.home-level{background:var(--primary-soft);color:var(--link);border-radius:20px;padding:5px 12px;font-size:.875rem;font-weight:600}.home-plan h2{margin-top:20px;font-size:clamp(1.5rem,3vw,1.85rem);font-weight:700;line-height:1.25}.home-plan-description{max-width:55ch;margin:12px 0 22px;font-size:1rem;line-height:1.6}.home-plan>.primary{justify-content:center;width:100%;min-height:52px;font-size:1rem}.home-plan-details{margin-top:16px}.home-plan-details summary{cursor:pointer;min-height:44px;color:var(--muted);align-content:center;font-size:.875rem;display:list-item}.home-plan .plan-steps{gap:0;margin-top:12px}.home-plan .plan-steps a{box-shadow:none;border:0;border-top:1px solid var(--border);border-radius:0;grid-template-columns:28px minmax(0,1fr) 18px;padding:16px 0}.home-plan .plan-steps strong{font-size:1rem;font-weight:600}.home-plan .plan-steps small{margin-top:4px;font-size:.875rem;line-height:1.5}.home-progress-strip{justify-content:space-between;align-items:center;gap:24px;margin:26px 0;padding:0 4px;display:flex}.home-progress-strip>div{gap:5px;display:grid}.home-progress-strip strong{font-size:1rem;font-weight:600}.home-progress-strip span{font-size:.875rem}.home-progress-strip progress{width:min(100%,280px);height:6px;accent-color:var(--link)}.home-progress-strip a{min-height:44px;color:var(--link);align-items:center;gap:8px;font-weight:600;text-decoration:none;display:flex}.home-disclosure{border-top:1px solid var(--border);padding:4px 0}.home-disclosure>summary{cursor:pointer;padding:16px 4px;font-size:1rem;font-weight:600}.home-disclosure>section{margin:0 0 18px}.home-more{gap:12px;padding:6px 0 20px;display:grid}.home-more>*{margin:0}.home-secondary-links{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 20px;padding:12px 4px;display:flex}.home-secondary-links a{min-height:44px;color:var(--muted);align-items:center;font-size:.875rem;display:inline-flex}.home-map .level-tabs{margin-bottom:24px}.home-map .section-title{margin-top:0}@media (max-width:600px){.home-tabs{margin-bottom:18px}.home-plan{padding:20px}.home-plan .plan-steps a{text-align:left}.home-progress-strip{flex-wrap:wrap;gap:14px}.home-progress-strip>div{flex:1;min-width:150px}}
:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fffaf0;--surface:#fff;--white:var(--surface);--blue:var(--primary-soft);--surface-raised:#fff;--ink:#45210e;--muted:#79543b;--primary:#fcb83c;--on-primary:#45210e;--primary-hover:#fec643;--primary-edge:#a34516;--primary-soft:#fff1d6;--link:#842b0c;--reward:#98350f;--on-reward:#fff;--reward-soft:#fce8c3;--reward-ink:#842b0c;--border:#ecd9bf;--line:var(--border);--control-border:#98704d;--soft:#fff2dc;--focus:#842b0c;--success:#146b48;--success-soft:#dff6e9;--warning:#845600;--warning-soft:#fff3d3;--danger:#b32e48;--on-danger:#fff;--danger-soft:#ffe9ee;--shadow:0 4px 0 var(--border);--green:var(--link);--green-dark:var(--link);--lime:var(--primary-soft);--play-green:var(--primary);--play-blue:var(--link);--radius:22px}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#17152e;--surface:#25213f;--surface-raised:#302a4c;--ink:#f6f2ff;--muted:#c0b6da;--primary:#a78bfa;--on-primary:#17152e;--primary-hover:#bba5ff;--primary-edge:#7960bf;--primary-soft:#332c52;--link:#c4b1ff;--reward:#f9d649;--on-reward:#17152e;--reward-soft:#41351e;--reward-ink:#f9d649;--border:#514569;--control-border:#a598bf;--soft:#302a49;--focus:#f9d649;--success:#83e4af;--success-soft:#183d35;--warning:#f9d649;--warning-soft:#41351e;--danger:#ffabbc;--on-danger:#17152e;--danger-soft:#482539}body{background:var(--bg);color:var(--ink)}.mission-header{margin:0 0 1.25rem}.mission-toolbar,.mission-progress-label{justify-content:space-between;align-items:center;gap:1rem;display:flex}.mission-toolbar .back-button{margin:0}.mission-level{background:var(--reward-soft);color:var(--reward-ink);border-radius:12px;padding:.4rem .8rem;font-weight:850}.mission-title{align-items:center;gap:.9rem;margin:1.2rem 0;display:flex}.mission-title h1{text-wrap:balance;margin:0;font-size:clamp(1.4rem,4vw,2rem);line-height:1.2}.mission-emblem{background:var(--primary-soft);width:52px;height:52px;color:var(--link);border:2px solid var(--border);box-shadow:0 3px 0 var(--border);border-radius:18px;flex-shrink:0;place-items:center;display:grid}.mission-progress-label{color:var(--muted);margin-bottom:.6rem;font-size:.875rem}.mission-progress-label strong{color:var(--link)}.mission-progress{gap:5px;height:12px;display:flex}.mission-progress span{background:var(--soft);border:1px solid var(--border);border-radius:5px;flex:1}.mission-progress .filled{background:var(--primary);border-color:var(--primary-edge);box-shadow:inset 0 2px #ffffff35}.mission-goal{color:var(--muted);margin:0 0 1rem;font-size:1rem}.mission-goal:focus{outline:none}.practice-session .practice-steps{justify-content:center;gap:.55rem;margin:1rem 0}.practice-session .practice-steps small{display:none}.practice-session .exercise-card,.lesson-page .exercise-card{box-shadow:0 5px 0 var(--border);border-radius:26px}.exercise-card .exercise-bottom{margin-top:1.5rem}.exercise-card .answer{border-bottom-width:4px;border-radius:16px;min-height:56px}.exercise-card .word{border-bottom-width:4px;min-height:46px}@media (max-width:480px){.mission-toolbar{gap:.5rem}.mission-toolbar .back-button{font-size:.875rem}.mission-title{margin:1rem 0}.mission-emblem{border-radius:14px;width:44px;height:44px}.mission-progress{gap:3px}}.matching-progress{color:var(--link);justify-content:center;align-items:center;gap:9px;font-size:.875rem;display:flex}.match-board{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;margin-top:18px;display:grid;position:relative}.match-column{z-index:1;grid-auto-rows:1fr;gap:12px;min-width:0;display:grid}.match-column-label{text-align:center;color:var(--muted);align-self:end;font-size:.72rem}.match-column{grid-template-rows:auto}.match-card{border:2px solid var(--control-border);background:var(--surface);width:100%;min-height:88px;color:var(--ink);text-align:center;cursor:pointer;overflow-wrap:anywhere;border-bottom-width:5px;border-radius:17px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:15px 10px 10px;font-weight:750;line-height:1.4;transition:background .15s,border-color .15s,transform .15s;display:flex;position:relative}.match-card:hover:not(:disabled){background:var(--soft);transform:translateY(-2px)}.match-card.linked{border-color:var(--link);background:var(--primary-soft)}.match-card.picked{border-color:var(--reward);background:var(--reward-soft);box-shadow:0 0 0 3px var(--reward-soft)}.match-card-mark{min-width:22px;height:22px;color:var(--link);border-radius:50%;place-items:center;font-size:.75rem;line-height:1;display:grid}.match-card.linked .match-card-mark{background:var(--link);color:var(--surface)}.match-card.picked .match-card-mark{color:var(--reward-ink)}.match-card:disabled{opacity:1;cursor:default}.match-card.correct{background:var(--success-soft);border-color:var(--success);color:var(--success)}.match-card.incorrect{background:var(--danger-soft);border-color:var(--danger);color:var(--ink)}.match-card.correct .match-card-mark{background:var(--success);color:var(--surface)}.match-card.incorrect .match-card-mark{background:var(--danger);color:var(--on-danger)}.match-connections{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.match-connections path{stroke:var(--link);stroke-width:3px;fill:none;stroke-linecap:round}.match-connections path.correct{stroke:var(--success)}.match-connections path.incorrect{stroke:var(--danger);stroke-dasharray:4 4}.matching-selection{text-align:center;min-height:2.8em;color:var(--muted);margin:18px 0 0;font-size:.8125rem}@media (max-width:420px){.match-board{gap:24px}.match-card{min-height:92px;padding:12px 8px 8px;font-size:.875rem}}@media (prefers-reduced-motion:reduce){.match-card{transition:none}.match-card:hover:not(:disabled){transform:none}}html[data-motion=reduced] .match-card{transition:none;transform:none}.voice-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 28px;display:grid}.voice-card{border:1px solid var(--border);background:var(--soft);border-radius:20px;min-width:0;padding:18px}.voice-card-heading{align-items:center;gap:12px;display:flex}.voice-card-heading h3,.voice-card-heading p{margin:0}.voice-card .audio-wrap{margin-bottom:0}.voice-settings .speed-label select{width:auto}.audio-stop{min-height:44px}.speed-label{position:relative}.speed-label:after{content:"";border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);pointer-events:none;width:6px;height:6px;position:absolute;top:50%;right:12px;transform:translateY(-70%)rotate(45deg)}.speed-label select{appearance:none;background:var(--surface);color:var(--ink);min-height:44px;padding-inline-end:30px}.dialogue-initial{border:2px solid var(--border);background:var(--soft);border-radius:50%;flex:0 0 52px;place-items:center;width:52px;height:52px;font-weight:800;display:grid}@media (max-width:650px){.voice-cards{grid-template-columns:1fr}}h1,h2,h3,h4{color:var(--ink);letter-spacing:-.025em}.sidebar,.topbar,.panel,.stat-card,.resource-card{background:var(--surface)}.brand,.brand-caption,.topbar-course,.language-badge{color:var(--ink)}.brand{gap:10px;font-size:30px}.brand-caption{display:none}.topbar-right{gap:14px}.brand-mark{width:48px;height:48px;box-shadow:none;object-fit:contain;background:0 0;border-radius:0;flex:0 0 48px;padding:0;display:block}.brand-topbar{object-fit:contain;flex:0 0 38px;width:38px;height:38px;display:block}.brand-install{aspect-ratio:1;object-fit:contain;flex-shrink:0;width:60%;height:auto;display:block}.install-app-icon{gap:0}.primary,.lime-button,.check-button{background:var(--primary);color:var(--on-primary);border-color:var(--primary-edge);box-shadow:0 4px 0 var(--primary-edge);font-weight:800}.primary:hover:not(:disabled),.lime-button:hover:not(:disabled),.check-button:hover:not(:disabled){background:var(--primary-hover);color:var(--on-primary);box-shadow:0 4px 0 var(--primary-edge)}.primary:disabled{background:var(--soft);color:var(--muted);border-color:var(--border);box-shadow:0 3px 0 var(--border)}.danger-button{background:var(--danger);color:var(--on-danger)}.secondary{background:var(--surface);color:var(--ink);border-color:var(--control-border);box-shadow:0 3px 0 var(--border)}.secondary:hover:not(:disabled){background:var(--soft)}.nav-link{color:var(--muted)}.nav-link.active{background:var(--primary-soft);color:var(--link);border-color:var(--link)}.nav-link:hover{background:var(--soft)}.nav-link:nth-child(n) svg{color:inherit}.xp-label,.nav-count{background:var(--reward);color:var(--on-reward);border-radius:12px;padding:5px 10px}.xp-label svg{color:inherit;fill:none}.nav-count{padding:2px 6px}.passed .unit-number,.trail-node.crown{background:var(--reward);color:var(--on-reward);border-color:var(--reward-ink)}.trail-node.crown:disabled{background:var(--soft);color:var(--muted);box-shadow:0 6px 0 var(--border)}.available .unit-number,.available .trail-node,.module-row.unlocked .module-node,.placement-level{background:var(--primary);color:var(--on-primary)}.trail-node.done{background:var(--success-soft);color:var(--success);box-shadow:0 8px 0 var(--success)}.trail-node:hover:not(:disabled){box-shadow:0 10px 0 var(--primary-edge)}.current .trail-node{outline-color:var(--link)}.passed .unit-heading{background:var(--reward-soft);color:var(--reward-ink)}.continue-card h2,.continue-card p,.continue-card .light-eyebrow,.continue-card .continue-meta,.path-score,.path-score span{color:var(--on-primary)}.filter-chips .selected,.answer.selected,.answer.selected .answer-letter{background:var(--primary-soft);color:var(--link);border-color:var(--link);box-shadow:0 3px 0 var(--primary-edge)}.network-tabs button.selected{background:var(--primary);color:var(--on-primary)}.feedback{background:var(--success-soft);border-color:var(--success)}.feedback strong{color:var(--success)}.feedback.try-again{background:var(--warning-soft);border-color:var(--warning)}.feedback.try-again strong{color:var(--warning)}input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{background-color:var(--surface);color:var(--ink);border-color:var(--control-border)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}input[type=checkbox],input[type=radio]{accent-color:var(--link)}.toggle-row input{border:1px solid var(--control-border)}.toggle-row input:before{background:var(--muted);box-shadow:none;top:2px;left:2px}.toggle-row input:checked:before{background:var(--surface);left:19px}.progress-track>span,.home-progress-strip progress{accent-color:var(--link)}.progress-track>span{background:var(--link)}.quiet-badge{color:var(--reward-ink);background:var(--reward-soft);border-color:var(--border)}.quiet-badge svg{color:inherit;fill:none}.avatar,.course-flag{background:var(--primary-soft);border-color:var(--border);color:var(--link)}.home-plan{border:2px solid var(--border);box-shadow:none;border-bottom-width:5px;border-radius:24px}.home-level{background:var(--reward-soft);color:var(--reward-ink)}.home-plan h2{font-weight:850}.home-plan-details summary,.home-secondary-links a,.dictionary-about>summary{color:var(--muted)}.home-progress-strip a{color:var(--link)}.home-progress-strip progress{accent-color:var(--link)}.home-disclosure,.home-plan .plan-steps a{border-color:var(--border)}.theme-toggle{border:2px solid var(--border);background:var(--surface);min-width:44px;min-height:44px;color:var(--ink);cursor:pointer;border-radius:14px;justify-content:center;align-items:center;gap:7px;padding:8px 10px;font-size:.875rem;font-weight:750;display:inline-flex}.theme-toggle:hover{background:var(--primary-soft);border-color:var(--link)}.theme-settings{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px 24px;margin-block:20px;display:flex}.theme-settings .field{min-width:min(100%,260px);max-width:100%;margin:0}.theme-settings h2{margin:0;font-size:1.2rem}.theme-settings p{margin:6px 0 0;font-size:.875rem}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}@media (max-width:1100px){.topbar .course-name,.topbar .language-badge{display:none}}@media (max-width:900px){.topbar-right{gap:8px}}@media (max-width:650px){.theme-toggle span{display:none}.theme-toggle{flex-shrink:0;padding:8px}.topbar-right{gap:8px}.theme-settings .field{width:100%}.xp-label{padding:5px 7px;font-size:.875rem}}@media (max-width:420px){.topbar{padding-inline:max(12px, var(--safe-area-left)) max(12px, var(--safe-area-right))}}@media (min-width:360px) and (max-width:760px){.sidebar .nav-link{font-size:.6875rem}}.learning-focus .sidebar{display:none}.learning-focus .main-shell{margin-left:0;padding-bottom:0}.learning-focus .topbar{display:none}.learning-focus .main-content{max-width:900px;margin-inline:auto;padding-bottom:32px}.learning-focus{display:block}.mission-next{margin-block:1rem}.lesson-theory summary{cursor:pointer;align-items:center;min-height:44px;font-weight:800;display:flex}.lesson-theory:not([open]){padding-block:8px}@media (max-width:650px){.learning-focus .main-content{padding:16px max(12px, var(--safe-area-right)) 32px max(12px, var(--safe-area-left))}.mission-toolbar{gap:8px}.mission-title{gap:12px}.mission-emblem{display:none}.mission-title h1{font-size:1.6rem}.learning-focus .exercise-card{padding:20px 16px}.learning-focus .exercise-card .reading-text{padding:16px}}
.ek-home{max-width:980px;margin:auto;padding-bottom:40px}.ek-start h1{margin:0 0 12px;font-size:1.5rem}.ek-home .ek-active-title{margin:0;font-size:1rem;line-height:1.5}.ek-home .ek-daily:has(.ek-after-review){flex-wrap:wrap}.ek-home .ek-after-review{flex-basis:100%;grid-column:1/-1;place-items:center;min-height:44px;display:grid}.ek-home .ek-daily .ek-next-detail{overflow-wrap:anywhere;font-size:.9375rem;font-weight:750;display:block}.ek-home>.ek-daily:first-child{margin-top:0}.ek-daily{border:2px solid var(--border);background:var(--surface);border-radius:22px;justify-content:space-between;align-items:center;gap:20px;margin:20px 0;padding:20px 24px;display:flex}.ek-daily span{margin-top:4px;font-size:.86rem;display:block}.ek-map-heading{justify-content:space-between;align-items:center;gap:15px;margin:28px 0 18px;display:flex}.ek-map-heading h2{margin:4px 0}.ek-map-heading p{margin:3px 0}.ek-level-picker{border:2px solid var(--border);background:var(--surface);z-index:3;border-radius:22px;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:8px;margin-bottom:18px;padding:16px;display:grid;position:relative;box-shadow:0 10px 24px #382d2220}.ek-level-picker button{border:1px solid var(--border);background:var(--bg);text-align:left;border-radius:12px;padding:10px}.ek-level-picker button[aria-current]{outline:3px solid var(--primary)}.ek-level-picker span{font-size:.72rem;display:block}.ek-level-picker p{grid-column:1/-1;margin:4px;font-size:.75rem}.ek-parchment{color:#433b31;background:radial-gradient(at 10% 0,#fff7dc90,#0000 45%),repeating-linear-gradient(30deg,#735c2010 0 1px,#0000 1px 5px),#f6e6bd;border:2px solid #c9b281;border-radius:28px;overflow:hidden;box-shadow:inset 0 0 55px #ad82312c}.ek-region{--region:#338d82;border-bottom:2px dashed #a68c57}.ek-region.region-1{--region:#9d6c43}.ek-region.region-2{--region:#8c6fab}.ek-region.region-3{--region:#b65c53}.ek-region.region-4{--region:#407e9f}.ek-region-title{text-align:left;width:100%;color:inherit;background:0 0;align-items:center;gap:16px;min-height:88px;padding:22px;display:flex}.ek-region-title>span:nth-child(2){flex:1}.ek-region-title strong,.ek-region-title small{display:block}.ek-region-title strong{font-size:1.15rem}.ek-region-title small{letter-spacing:.04em;margin-bottom:4px;font-size:.68rem}.ek-region-number{background:var(--region);color:#fff;border-radius:16px;place-items:center;min-width:46px;height:46px;font-size:1.2rem;font-weight:850;display:grid;box-shadow:0 4px #433b3122}.ek-trail{flex-direction:column;align-items:center;gap:8px;padding:18px 25px 34px;display:flex;position:relative}.ek-trail:before{content:"";border-left:5px dashed #9c855379;position:absolute;top:20px;bottom:45px;left:50%;transform:rotate(-2deg)}.ek-path-goal,.ek-path-review{text-align:center;max-width:100%;position:relative}.ek-path-goal{background:var(--surface);border-radius:.75rem;margin:0 0 .5rem;padding:.5rem .75rem}.ek-path-review{align-items:center;gap:.5rem;min-height:44px;display:inline-flex}.ek-lesson .ek-path-lesson-goal{max-width:16ch;margin:.3rem auto 0}.ek-stop{text-align:center;width:195px;position:relative}.ek-stop-0{margin-left:-150px}.ek-stop-1{margin-left:40px}.ek-stop-2{margin-left:175px}.ek-stop-3{margin-left:-20px}.ek-lesson{width:100%;color:inherit;background:0 0;border-radius:25px;padding:10px 8px;transition:transform .15s}.ek-lesson:hover:enabled{transform:translateY(-4px)}.ek-lesson:disabled{opacity:.85;cursor:default}.ek-lesson strong,.ek-lesson small{line-height:1.25;display:block}.ek-lesson strong{background:#fff8e5e8;border-radius:10px;padding:7px;font-size:.93rem}.ek-lesson small{margin-top:5px;font-size:.72rem}.englishko-puzzle{filter:drop-shadow(0 6px 1px #705a3126);width:114px;height:114px;margin:0 auto;display:block;overflow:visible}.puzzle-piece{transition:transform .35s,opacity .35s}.ek-final,.ek-stage-final{text-align:center;color:#594422;background:#fff8e5;border:2px solid #bda568;border-radius:18px;flex-direction:column;align-items:center;gap:7px;margin:20px;padding:17px 28px;text-decoration:none;display:flex;position:relative;box-shadow:0 5px #bd9b5944}.ek-final small,.ek-stage-final small{font-size:.74rem}.ek-stage-final{background:#f4ca68;width:calc(100% - 48px);max-width:400px;margin:30px auto}.ek-map-note{color:var(--muted);margin-top:22px;font-size:.78rem}.ek-mission{max-width:780px;margin:auto;padding-bottom:40px}.ek-mission h1{margin-top:6px}.ek-part-progress{align-items:center;gap:22px;margin:18px 0;display:flex}.ek-part-progress .englishko-puzzle{width:86px;height:86px;margin:0}.ek-part-progress>div{flex:1}.ek-part-progress progress{width:100%;height:12px;accent-color:var(--primary);margin-top:8px;display:block}.ek-part-heading{margin:24px 0 16px}.ek-dialogue{gap:14px;margin:22px 0;display:grid}.ek-dialogue-line{border:1px solid var(--border);background:var(--surface);border-radius:18px;align-items:flex-start;gap:12px;padding:14px;display:flex}.ek-dialogue-line>div:last-child{flex:1;min-width:0}.ek-dialogue-line p{margin:4px 0}.ek-dialogue-line .character-avatar{flex-shrink:0}.ek-item{border-bottom:1px solid var(--border);padding:16px 0}.ek-item.correct{opacity:.78}.ek-item .field{margin-bottom:9px}.ek-item>span{align-items:center;gap:6px;display:flex}.ek-score{font-size:2.8rem;display:block}.ek-celebrate{text-align:center}.spelling-note{overflow-wrap:anywhere;border-left:3px solid #bb8b40;margin:12px 0;padding:12px 16px}.spelling-note p{margin:4px 0}.spelling-note ul{margin:8px 0;padding-left:20px}.spelling-note li{margin:6px 0}.ek-home button:focus-visible,.ek-mission button:focus-visible,.ek-home a:focus-visible{outline-offset:5px;outline:3px solid #13798a}.practice-levels{flex-wrap:wrap}.practice-levels .practice-level{min-width:150px}.ek-empty{border:1px dashed var(--border);border-radius:18px;margin:20px 0;padding:24px}[data-theme=dark] .ek-parchment{color:#f2e4c4;background:radial-gradient(at 10% 0,#69533830,#0000 60%),#292a37;border-color:#666076}[data-theme=dark] .ek-lesson strong{background:#363641}[data-theme=dark] .ek-final{color:#f6e0b0;background:#383543;border-color:#827162}[data-theme=dark] .ek-region{border-color:#62596c}@media (max-width:600px){.ek-daily{flex-wrap:wrap;gap:12px;padding:16px}.ek-daily .primary{justify-content:center;width:100%}.ek-map-heading{align-items:flex-start}.ek-map-heading h2{font-size:1.2rem}.ek-map-heading .secondary{padding:9px;font-size:.8rem}.ek-region-title{gap:10px;padding:17px 12px}.ek-region-title strong{font-size:1rem}.ek-region-title>svg{display:none}.ek-trail{padding:10px 10px 25px}.ek-stop{width:160px}.ek-stop-0{margin-left:-72px}.ek-stop-1{margin-left:20px}.ek-stop-2{margin-left:72px}.ek-stop-3{margin-left:-16px}.ek-lesson strong{font-size:.85rem}.englishko-puzzle{width:100px;height:100px}.ek-level-picker{grid-template-columns:repeat(3,minmax(0,1fr));padding:10px}.ek-level-picker button{padding:8px}.ek-level-picker span{font-size:.66rem}.ek-dialogue-line{gap:8px;padding:10px}.ek-part-progress{gap:12px}.ek-mission .back-button{font-size:.85rem}}@media (prefers-reduced-motion:reduce){.ek-lesson,.puzzle-piece{transition:none}.ek-lesson:hover:enabled{transform:none}}.ek-level-dialog{border:2px solid var(--border);background:var(--surface);width:min(650px,100% - 28px);max-height:85dvh;color:var(--text);border-radius:24px;padding:18px}.ek-level-dialog::backdrop{background:#18132d85}.ek-dialog-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.ek-dialog-heading h2{font-size:1.15rem}.ek-level-dialog .ek-level-picker{box-shadow:none;border:0;margin:0;padding:12px 0}.ek-level-toggle{z-index:20;background:var(--surface);position:fixed;bottom:26px;right:28px;box-shadow:0 4px 16px #0002}.ek-optional{margin-top:24px}.ek-optional summary{cursor:pointer;font-weight:800}.ek-mission details{padding:10px 0}.ek-mission .button-row{flex-wrap:wrap}@media (max-width:760px){.ek-level-toggle{bottom:calc(82px + env(safe-area-inset-bottom));right:16px}.ek-level-dialog{padding:12px}.ek-level-dialog button{min-height:44px}}.ek-table-wrap{overflow:auto}.ek-table-wrap table{border-collapse:collapse;width:100%;font-size:.82rem}.ek-table-wrap th,.ek-table-wrap td{text-align:left;border-bottom:1px solid var(--border);padding:10px}.practice-levels{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;display:grid}.practice-levels .practice-level{white-space:normal;gap:8px;min-width:0}.practice-levels .practice-level>span{min-width:0}.practice-levels .practice-level-badge{white-space:nowrap;flex-shrink:0}.practice-levels strong,.practice-levels small{overflow-wrap:anywhere}@media (max-width:600px){.practice-levels{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-levels .practice-level{flex-direction:column;align-items:flex-start;padding:12px}.practice-levels .practice-level strong{font-size:.82rem}}.ek-study-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0;display:grid}.ek-study-filters .field{min-width:0}.ek-study-filters select{width:100%;min-width:0;max-width:100%}.ek-study-filters>a{grid-column:1/-1}.ek-replay .notice{margin-bottom:20px}@media (max-width:480px){.ek-study-filters{grid-template-columns:minmax(0,1fr)}}.ek-onboarding .ek-level-toggle{flex-shrink:0;position:static}.ek-study-level{flex-wrap:wrap;align-items:end;gap:12px 24px;margin:20px 0;display:flex}.ek-study-level .field{width:min(100%,420px)}.ek-study-level select{width:100%;min-height:48px}.ek-study-level p{flex:220px;margin:0 0 12px}.ek-course-study{margin:24px 0}.ek-reference-theory{margin:20px 0}.ek-reference-theory article{border-top:1px solid var(--line);padding:16px 0}.ek-reference-theory blockquote{border-left:3px solid var(--line);margin:12px 0;padding:0 16px}.ek-reference-actions{flex-wrap:wrap;gap:12px;margin-top:20px;display:flex}.ek-reference-actions>*{min-height:44px}.ek-home .ek-active-level-button{min-width:44px;min-height:44px;color:inherit;font:inherit;cursor:pointer;box-shadow:none;background:0 0;border:0;border-radius:12px;align-items:center;gap:8px;margin:-2px -4px;padding:0 4px;display:inline-flex}.ek-home .ek-active-level-button:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.ek-level-dialog{width:100%;max-width:none;height:100dvh;max-height:none;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));color:var(--ink);overscroll-behavior:contain;border:0;border-radius:0;margin:0;position:fixed;inset:0}.ek-level-dialog .ek-dialog-heading{z-index:4;background:var(--surface);max-width:900px;margin:auto;padding:4px 0 12px;position:sticky;top:-1px}.ek-level-dialog .ek-dialog-heading h2{margin:0}.ek-level-dialog .ek-level-picker{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;margin:auto}.ek-level-dialog .ek-level-picker button{min-height:64px}.ek-level-dialog .ek-level-picker b{font-size:1.25rem}@media (min-width:700px){.ek-level-dialog .ek-level-picker{grid-template-columns:repeat(3,minmax(0,1fr))}}
.compact-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.compact-heading h1{margin:5px 0;font-size:clamp(1.5rem,4vw,2.1rem);line-height:1.15}.compact-heading p{font-size:.85rem}.compact-level-select{max-width:340px}.grammar-reference-bank{border:1px solid var(--border);border-radius:18px;margin-block:18px;padding:18px}.grammar-reference-bank>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:850;display:flex}.dialogue-studio .page-heading .muted{display:none}.dialogue-cast{gap:12px;margin-block:20px}.dictionary-heading{align-items:center;margin-bottom:16px}.dictionary-heading h1{font-size:clamp(1.5rem,4vw,2.2rem);line-height:1.12}.dictionary-heading .eyebrow{margin-bottom:6px;font-size:.67rem}.dictionary-heading p.muted{font-size:.94rem}.library-lion{object-fit:contain;flex-shrink:0;width:120px;height:120px}.dictionary-heading.searching .library-lion{width:64px;height:64px}.dictionary-heading.searching .eyebrow,.dictionary-heading.searching p.muted{display:none}.dictionary-controls{border:1px solid var(--border);background:var(--surface);border-radius:22px;padding:18px;box-shadow:0 5px 18px #8c520308}.dictionary-controls .search-field{background:var(--bg);border:1px solid var(--control-border);border-radius:15px;min-height:54px}.dictionary-controls .search-field input{font-size:16px}.dictionary-controls .filter-chips{flex-wrap:wrap;gap:7px;margin-top:13px}.dictionary-controls .filter-chips button{border-radius:24px;min-height:44px;padding:8px 13px;font-size:.78rem}.dictionary-main-filters{border-top:1px solid var(--border);margin-top:10px}.dictionary-main-filters>summary{cursor:pointer;min-height:44px;color:var(--muted);align-items:center;font-size:.8rem;font-weight:800;display:flex}.dictionary-about{margin:16px 0}.dictionary-stats{gap:12px;margin:0}.dictionary-stats>button{min-width:0;box-shadow:0 3px 0 var(--border);border-radius:18px;padding:15px}.dictionary-stats strong{font-size:1.7rem}.dictionary-stats small{font-size:.72rem}.dictionary-language-summary{margin-top:9px;font-size:.69rem;line-height:1.4}#dictionary-results{grid-template-columns:1fr;gap:10px;display:grid}#dictionary-results .dictionary-card{border:1px solid var(--border);border-radius:18px;grid-template-columns:56px minmax(0,1fr) auto;gap:3px 14px;padding:14px 16px;display:grid;box-shadow:0 3px 10px #8c520308}.word-illustration{background:var(--primary-soft);width:56px;height:56px;color:var(--link);border-radius:13px;grid-area:1/1/4;place-items:center;display:grid;overflow:hidden}.word-illustration img{object-fit:contain;width:52px;height:52px}#dictionary-results .resource-meta{grid-area:1/3/3;align-items:center;gap:8px;margin:0;display:flex}#dictionary-results .resource-meta .pill{white-space:normal;text-align:center;max-width:130px;font-size:.67rem}#dictionary-results .resource-title{text-align:left;grid-area:1/2;min-height:26px;padding:0}#dictionary-results .resource-title h2{margin:0;font-size:1.15rem;line-height:1.3}#dictionary-results .resource-title h3{margin:0;font-size:.8rem}#dictionary-results .dictionary-card>p{color:var(--muted);grid-area:2/2;margin:0;font-size:.86rem;line-height:1.45}#dictionary-results .word-details{grid-column:2/-1}.word-details summary{color:var(--muted);cursor:pointer;min-height:44px;padding-block:12px 8px;font-size:.73rem}.word-details[open]{padding-top:8px}.word-details .resource-footer{margin-top:10px;padding-top:8px}.word-details .dictionary-example{margin-top:10px}.profile-compact{gap:14px;min-width:0;max-width:760px;margin-inline:auto;display:grid}.profile-screen-heading,.profile-section-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.profile-screen-heading h1{min-width:0;margin:0;font-size:clamp(1.5rem,4vw,2rem);line-height:1.2}.profile-subpage-heading{justify-content:flex-start}.profile-heading-actions{flex-shrink:0;grid-auto-columns:44px;grid-auto-flow:column;align-items:center;gap:8px;display:grid}.profile-icon-action{border:1px solid var(--border);background:var(--surface);height:44px;color:var(--link);border-radius:13px;flex:0 0 44px;place-items:center;display:grid}.profile-theme-toggle{cursor:pointer;width:44px;padding:0}.profile-theme-toggle:hover{background:var(--primary-soft);border-color:var(--link)}.profile-overview-page{gap:16px;max-width:640px}.profile-person{border:1px solid var(--border);background:linear-gradient(115deg, var(--primary-soft), var(--surface) 75%);border-radius:18px;flex-wrap:nowrap;align-items:center;gap:12px;margin:0;padding:14px;display:flex}.profile-person .profile-person-avatar{background:var(--surface);border-radius:20px;flex:0 0 70px;width:70px;height:70px;overflow:hidden}.profile-person-avatar .rewards-player-avatar{width:64px;height:64px}.profile-person .profile-person-avatar .reward-avatar-head{transform:none}.profile-person>.profile-person-name{overflow-wrap:anywhere;flex:1;min-width:0}.profile-person-name strong{font-size:1.1rem;line-height:1.25;display:block}.profile-person-name>span{color:var(--muted);margin-top:3px;font-size:.8rem;display:block}.profile-person>.secondary{white-space:nowrap;width:auto;min-height:44px}.profile-section-heading h2{margin:0;font-size:1.12rem}.profile-section-heading .text-button{min-height:44px;font-size:.85rem}.profile-stat-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.profile-stat-list>div{border:1px solid var(--border);background:var(--surface);border-radius:13px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:1px 8px;min-height:60px;padding:9px 10px;display:grid}.profile-stat-list svg{color:var(--link);grid-row:span 2}.profile-stat-list dt{color:var(--muted);grid-area:2/2;font-size:.77rem;line-height:1.2}.profile-stat-list dd{overflow-wrap:anywhere;grid-area:1/2;margin:0;font-size:1.05rem;font-weight:800;line-height:1.1}.profile-milestones .badge-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.profile-milestones .achievement{border-radius:13px;min-width:0;padding:10px}.profile-milestones .achievement small{line-height:1.2}.profile-settings-link{border:1px solid var(--border);background:var(--surface);min-height:52px;color:var(--ink);border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 12px;font-size:.92rem;font-weight:800;text-decoration:none;display:grid}.profile-settings-link>svg{color:var(--muted)}.profile-compact .profile-detail-content{border-top:0;padding:0}@media (max-width:360px){.profile-overview-page{gap:10px}.profile-person{gap:8px;padding:10px}.profile-person .profile-person-avatar{flex-basis:62px;width:62px;height:62px}.profile-stat-list>div{padding-inline:8px}}.profile-groups{gap:8px;display:grid}.profile-group{border:1px solid var(--border);background:var(--surface);border-radius:14px;min-width:0}.profile-group>summary{border-radius:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:52px;padding:8px 12px;font-size:.92rem;font-weight:800;line-height:1.3;list-style:none;display:grid}.profile-group>summary::-webkit-details-marker{display:none}.profile-group>summary:focus-visible{outline-offset:-3px}.profile-group-icon{width:34px;height:34px;color:var(--link);background:var(--primary-soft);border-radius:9px;place-items:center;display:grid}.profile-group-arrow{color:var(--muted)}.profile-group[open]>summary .profile-group-arrow{transform:rotate(180deg)}.profile-group-content{border-top:1px solid var(--border);gap:16px;min-width:0;padding:12px 16px 16px;display:grid}.profile-group-content>.panel{min-width:0;box-shadow:none;background:0 0;border:0;margin:0;padding:0}.profile-group-content>.panel+.panel{border-top:1px solid var(--border);border-radius:0;padding-top:16px}.profile-group-content>.stats-grid{margin:0}.profile-study-links{gap:8px;display:grid}.profile-preferences .toggle-row{min-height:44px}.profile-group .data-panel>p:first-child{margin-top:0}.profile-group .data-panel>.text-button{width:fit-content;display:flex}@media (max-width:460px){.profile-group-content{padding-inline:12px}}@media (max-width:360px){.profile-compact{gap:10px}.profile-group>summary{min-height:48px;padding-block:6px}}@media (max-width:650px){.library-lion{width:86px;height:96px}.dictionary-heading{gap:8px}.dictionary-heading p.muted{font-size:.83rem}.dictionary-controls{padding:13px}.dictionary-controls .library-toolbar{gap:10px}.dictionary-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.dictionary-stats>button{flex-direction:column;align-items:flex-start;gap:7px;padding:12px 9px;display:flex}.dictionary-stats strong{font-size:1.35rem}.dictionary-stats small{font-size:.63rem;line-height:1.3}#dictionary-results .dictionary-card{grid-template-columns:48px minmax(0,1fr) 42px;gap:3px 9px;padding:11px}#dictionary-results .resource-meta .pill{display:none}.word-illustration{width:48px;height:48px}.word-illustration img{width:44px;height:44px}#dictionary-results .resource-title h2{font-size:1rem}#dictionary-results .dictionary-card>p{font-size:.78rem}#dictionary-results .word-details{grid-column:2/-1}.dictionary-results-bar{gap:8px}.dictionary-results-bar .primary{padding:9px 12px;font-size:.78rem}.dictionary-results-bar p{font-size:.75rem}}@media (max-width:340px){.library-lion{width:64px}.dictionary-heading h1{font-size:1.45rem}}.course-name{font-weight:850;line-height:1.15}.course-name small{margin-top:3px;font-size:.72rem;font-weight:650;display:block}.activity-streak{color:var(--muted);white-space:nowrap;align-items:center;gap:4px;display:flex}.activity-streak.active{color:var(--link)}.activity-streak small{font-size:.7rem}.ek-home{max-width:900px;margin-inline:auto}.daily-quest{border:1px solid var(--border);background:var(--surface);border-radius:20px;margin-bottom:14px;overflow:hidden;box-shadow:0 3px 12px #8c520309}.daily-quest-summary{text-align:left;width:100%;color:var(--ink);cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:16px 20px;display:flex}.daily-quest-summary>span:first-child{flex:1;min-width:0}.daily-quest-summary strong,.daily-quest-summary small{display:block}.daily-quest-summary strong{font-size:1.05rem;font-weight:900}.daily-quest-summary small{color:var(--muted);margin-block:3px 8px;font-size:.78rem}.daily-quest-target{color:var(--link);flex-shrink:0}.daily-quest-meter{align-items:center;gap:12px;display:flex}.daily-quest-meter progress{width:100%;height:7px;accent-color:var(--primary);appearance:none;background:var(--border);border:0;border-radius:8px;flex:1;overflow:hidden}.daily-quest-meter progress::-webkit-progress-bar{background:var(--border);border-radius:8px}.daily-quest-meter progress::-webkit-progress-value{background:var(--primary);border-radius:8px}.daily-quest-meter progress::-moz-progress-bar{background:var(--primary);border-radius:8px}.daily-quest-meter b{font-size:.75rem}.daily-quest-tasks{padding:0 18px 12px}.daily-quest-tasks a{border-top:1px solid var(--border);min-height:48px;color:var(--ink);justify-content:space-between;align-items:center;gap:14px;padding:10px 0;text-decoration:none;display:flex}.daily-quest-tasks a>span,.daily-quest-tasks a small{align-items:center;gap:8px;display:flex}.daily-quest-tasks a small{white-space:nowrap}.daily-quest-tasks p{color:var(--muted);font-size:.75rem}.quest-dot{border:2px solid var(--primary);border-radius:50%;flex-shrink:0;width:9px;height:9px}.turned{transform:rotate(90deg)}.ek-home .ek-daily{background:var(--soft);border-radius:22px;grid-template-columns:1fr 150px;gap:12px;margin:0 0 24px;padding:24px;display:grid;position:relative;overflow:hidden}.ek-home .ek-daily>div{z-index:1;align-self:center}.ek-daily .eyebrow{text-transform:none;letter-spacing:0;color:var(--muted);margin:0 0 3px}.ek-home .ek-active-title{align-items:center;gap:10px;margin-bottom:9px;font-size:clamp(2rem,5vw,2.9rem);font-weight:950;line-height:1;display:flex}.ek-home .ek-daily>div>span{font-size:.78rem;line-height:1.4}.ek-hero-lion{object-fit:contain;justify-self:center;width:138px;height:138px;transform:rotate(7deg)}.ek-home .ek-daily .primary{border-radius:14px;grid-column:1/-1;justify-content:center;width:100%;min-height:48px;font-weight:900;display:flex}.ek-start{margin-bottom:14px;padding:16px 20px}.ek-start h2{margin:0;font-size:1.2rem}.ek-start p{margin-block:6px 12px;font-size:.85rem}.ek-start .button-row{gap:8px}.ek-start .button-row>*{min-height:44px;font-size:.84rem}.ek-map-heading{align-items:center;gap:10px;margin:0 0 12px}.ek-map-heading h2{margin:2px 0;font-size:1.2rem}.ek-map-heading .eyebrow{letter-spacing:.1em;margin:0;font-size:.64rem}.ek-map-heading p{font-size:.76rem}.ek-home .ek-level-toggle{z-index:auto;white-space:nowrap;min-height:44px;box-shadow:none;gap:5px;padding:8px 10px;font-size:.74rem;position:static;inset:auto}.ek-home .ek-parchment{box-shadow:none;background:0 0;border:0;border-radius:0;gap:12px;padding:0;display:grid}.ek-home .ek-stage-final{width:100%;max-width:none;height:auto;min-height:64px;color:var(--ink);background:var(--primary-soft);border-color:var(--border);box-shadow:0 3px 0 var(--border);flex-flow:wrap;justify-content:center;gap:10px;margin:12px 0 0;padding:16px;font-size:.9rem;display:flex}.ek-home .ek-stage-final small{font-size:.74rem}.ek-home .ek-region{border:1px solid var(--border);background:var(--surface);box-shadow:0 3px 0 var(--border);border-radius:18px;margin:0;padding:0;overflow:hidden}.ek-home .ek-region-title{background:0 0;align-items:center;gap:13px;min-height:84px;padding:14px;display:flex}.ek-home .ek-region-title>span:nth-child(2){flex:1;min-width:0}.ek-home .ek-region-title strong{font-size:1rem;line-height:1.25}.ek-home .ek-region-title small{color:var(--muted);margin-bottom:3px;font-size:.67rem}.ek-home .ek-region-number{background:var(--soft);width:45px;min-width:45px;height:45px;color:var(--link);box-shadow:0 3px 0 var(--border);border-radius:13px;font-size:1.3rem}.ek-home .ek-region-title>svg{color:var(--muted);flex-shrink:0;display:block}.ek-region:not(.is-unlocked) .ek-region-number{color:var(--muted)}.ek-region-image{object-fit:contain;width:76px;height:58px}.ek-trail{border-top:1px solid var(--border);padding-top:20px}.ek-map-note{margin-top:22px;font-size:.75rem}@media (max-width:600px){.topbar{gap:8px;padding-inline:14px}.topbar-right{flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}.topbar-course{gap:6px}.course-name{font-size:.7rem}.course-name small{font-size:.59rem}.activity-streak{gap:2px;font-size:.8rem}.activity-streak small,.topbar .language-badge{display:none}.topbar .xp-label{padding:7px 9px;font-size:.75rem}.topbar .small-avatar{width:44px;min-width:44px;height:44px}.daily-quest-summary{gap:9px;padding:12px 14px}.daily-quest-summary strong{font-size:.95rem}.ek-home .ek-daily{grid-template-columns:1fr 98px;gap:10px;margin-bottom:20px;padding:16px}.ek-hero-lion{width:98px;height:98px}.ek-home .ek-region-title{gap:9px;min-height:70px;padding:11px}.ek-home .ek-region-title strong{font-size:.9rem}.ek-home .ek-region-title small{font-size:.57rem}.ek-home .ek-region-number{border-radius:10px;width:38px;min-width:38px;height:38px;font-size:1.1rem}.ek-region-image{width:58px;height:48px}.ek-map-heading h2{font-size:1rem}}@media (max-width:360px){.course-name{display:none}.ek-region-image{width:43px}.ek-home .ek-region-title{gap:7px}.ek-level-toggle svg{display:none}}@media (prefers-reduced-motion:reduce){.ek-home *{scroll-behavior:auto;transition:none;animation:none}}.ek-home :is(.ek-region-title,.daily-quest-summary):focus-visible{outline:3px solid var(--focus);outline-offset:-4px}
.practice-hub{--practice-card:linear-gradient(145deg, #fffefb 0%, #fff5e0 100%);--practice-hero:linear-gradient(120deg, #fff3d8 0%, #fffaf0 55%, #ffedcc 100%);--practice-edge:#f0d4ab;--practice-highlight:#fff;--practice-shadow:#ab641718;--practice-art-glow:#fbc65b26;max-width:960px;margin-inline:auto}:root[data-theme=dark] .practice-hub{--practice-card:linear-gradient(145deg, #332c52 0%, #25213f 75%);--practice-hero:linear-gradient(120deg, #403565 0%, #30294f 65%, #382b5e 100%);--practice-edge:#655383;--practice-highlight:#b69ad52b;--practice-shadow:#08061250;--practice-art-glow:#a78bfa24}.study-hub-header{gap:14px;margin-bottom:20px;display:grid}.study-hub-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.study-hub-heading h1{margin:0;font-size:clamp(1.55rem,4vw,2.25rem);font-weight:900;line-height:1.2}.study-hub-level{background:var(--primary-soft);color:var(--link);border-radius:11px;flex:none;padding:4px 12px;font-size:.875rem;font-weight:850}.study-hub-tabs{border:1px solid var(--border);background:var(--surface);border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.study-hub-tabs a{min-width:0;min-height:46px;color:var(--muted);border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:7px;padding:6px;font-size:.9rem;font-weight:850;line-height:1.25;text-decoration:none;display:flex}.study-hub-tabs a svg{flex:none}.study-hub-tabs a[aria-current]{border-color:var(--border);background:var(--primary-soft);color:var(--link)}@media (hover:hover){.study-hub-tabs a:not([aria-current]):hover{background:var(--soft)}}@media (max-width:600px){.study-hub-header{gap:12px;margin-bottom:16px}}.practice-hub .practice-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.practice-recommended{margin-bottom:16px}.practice-hub :is(.practice-recommended,.practice-hub-grid)>.practice-recall-card{margin:0}.practice-hub-grid>.practice-recall-card{grid-column:1/-1}.practice-hub .practice-hub-card{min-width:0;color:var(--ink);border:1px solid var(--practice-edge);background:var(--practice-card);box-shadow:inset 0 2px 0 var(--practice-highlight),0 4px 0 var(--practice-shadow),0 8px 18px var(--practice-shadow);-webkit-tap-highlight-color:transparent;border-radius:24px;text-decoration:none;transition:transform .18s,box-shadow .18s,border-color .18s;position:relative}.practice-hub .practice-hub-card:focus-visible{outline:3px solid var(--focus);outline-offset:4px}.practice-hub .practice-card-copy{overflow-wrap:anywhere;min-width:0}.practice-hub .practice-card-copy strong{font-size:1.2rem;font-weight:900;line-height:1.2;display:block}.practice-hub .practice-card-copy small{color:var(--muted);margin-top:7px;font-size:.9375rem;line-height:1.45;display:block}.practice-hub .hub-dialogues{background:var(--practice-hero);grid-column:1/-1;grid-template-columns:220px minmax(0,1fr) 40px;align-items:center;gap:22px;min-height:174px;padding:0 24px 0 8px;display:grid}.practice-hub .hub-dialogues .practice-card-copy{padding-block:20px}.practice-hub .hub-dialogues .practice-card-copy strong{font-size:1.65rem}.practice-hub .hub-dialogues .practice-card-copy small{max-width:260px}.practice-cast{isolation:isolate;border-bottom-left-radius:24px;align-self:end;width:220px;height:174px;display:block;position:relative;overflow:hidden}.practice-cast .character-avatar{width:122px;min-width:0;height:122px;box-shadow:none;background-color:#0000;background-size:200% 200%;border:0;border-radius:0;margin:0;position:absolute}.practice-cast .character-avatar:first-child{top:0;left:0;transform:rotate(-5deg)}.practice-cast .character-avatar:nth-child(2){top:0;right:0;transform:rotate(5deg)}.practice-cast .character-avatar:nth-child(3){z-index:1;bottom:-7px;left:8px}.practice-cast .character-avatar:nth-child(4){z-index:2;bottom:-7px;right:2px}.practice-hub .practice-feature-card{flex-direction:column;align-items:stretch;gap:0;padding:14px 20px 18px;display:flex}.practice-feature-art{background:radial-gradient(ellipse at 50% 70%,var(--practice-art-glow),transparent 68%);flex-shrink:0;justify-content:center;align-items:center;width:100%;height:150px;min-height:0;margin-bottom:6px;display:flex}.practice-feature-art img{object-fit:contain;width:100%;height:100%;min-height:0;display:block}.practice-card-arrow{width:36px;height:36px;color:var(--link);background:var(--primary-soft);border:1px solid var(--practice-highlight);box-shadow:0 2px 5px var(--practice-shadow);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.practice-card-arrow svg{stroke-width:2.5px;width:23px;height:23px}.practice-feature-card .practice-card-arrow{align-self:flex-end;margin-top:10px}.hub-dialogues .practice-card-arrow{box-shadow:none;background:0 0;border-color:#0000}.practice-more{margin-top:30px}.practice-more h2{color:var(--muted);margin:0 0 12px;font-size:1rem;font-weight:850;line-height:1.4}.practice-more-links{gap:10px;display:grid}.practice-hub .practice-compact-card{box-shadow:0 2px 5px var(--practice-shadow);border-radius:18px;flex-direction:row;grid-column:auto;align-items:center;gap:14px;padding:14px 16px;display:flex}.practice-compact-card .practice-card-copy{flex:1}.practice-hub .practice-compact-card strong{font-size:1rem;line-height:1.3}.practice-hub .practice-compact-card small{margin-top:3px;font-size:.875rem}.practice-more-icon{background:var(--primary-soft);width:42px;height:42px;color:var(--link);border-radius:13px;flex-shrink:0;place-items:center;display:grid}.practice-more-icon svg{width:23px;height:23px}.practice-hub .practice-compact-card>.practice-more-arrow{color:var(--link);flex-shrink:0;align-self:center;margin:0}@media (hover:hover) and (pointer:fine){.practice-hub .practice-hub-card:hover{border-color:var(--link);box-shadow:inset 0 2px 0 var(--practice-highlight),0 6px 0 var(--practice-shadow),0 12px 22px var(--practice-shadow);transform:translateY(-3px)}}.practice-hub .practice-hub-card:active{box-shadow:inset 0 1px 0 var(--practice-highlight),0 1px 3px var(--practice-shadow);transform:translateY(2px)}@media (min-width:1200px){.practice-hub .practice-hub-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.practice-hub .practice-feature-card{padding-inline:16px}.practice-feature-art{height:135px}.practice-hub .practice-feature-card .practice-card-copy{flex:1}.practice-hub .practice-feature-card strong{font-size:1.125rem}.practice-more-links{grid-template-columns:repeat(3,minmax(0,1fr))}.practice-hub .practice-compact-card{align-items:flex-start;gap:10px;padding:15px 12px}.practice-more-icon{width:32px;height:32px}.practice-hub .practice-compact-card>.practice-more-arrow{display:none}}@media (max-width:600px){.main-content:has(>.practice-hub,>.grammar-reference-view){padding:16px max(14px,var(--safe-area-right)) 30px max(14px,var(--safe-area-left))}.practice-hub .practice-hub-grid{gap:12px}.practice-hub .practice-hub-card{border-radius:21px}.practice-hub .hub-dialogues{grid-template-columns:38% minmax(0,1fr) 18px;gap:10px;min-height:124px;padding:0 12px 0 4px}.practice-cast{border-bottom-left-radius:20px;width:100%;height:124px}.practice-cast .character-avatar{aspect-ratio:1;width:68%;height:auto}.practice-cast .character-avatar:first-child{top:4px;left:0}.practice-cast .character-avatar:nth-child(2){top:0;right:0}.practice-cast .character-avatar:nth-child(3){bottom:-12px;left:-5%}.practice-cast .character-avatar:nth-child(4){bottom:-12px;right:-4%}.practice-hub .hub-dialogues .practice-card-copy{padding-block:15px}.practice-hub .hub-dialogues .practice-card-copy strong{font-size:1.3rem}.practice-hub .hub-dialogues .practice-card-copy small{font-size:.875rem}.hub-dialogues .practice-card-arrow{width:18px}.practice-hub .practice-feature-card{padding:10px 13px 12px}.practice-feature-art{height:90px;margin-bottom:5px}.practice-hub .practice-feature-card .practice-card-copy{flex:1}.practice-hub .practice-feature-card strong{font-size:1.0625rem}.practice-hub .practice-feature-card small{margin-top:6px;font-size:.875rem}.practice-feature-card .practice-card-arrow{width:26px;height:26px;margin-top:4px}.practice-card-arrow svg{width:20px;height:20px}.practice-more{margin-top:25px}}@media (max-width:360px){.practice-hub .practice-feature-card{padding-inline:10px}.practice-feature-art{height:90px}.practice-hub .practice-feature-card strong{font-size:1rem}.practice-hub .hub-dialogues{gap:7px}}@media (prefers-reduced-motion:reduce){.practice-hub .practice-hub-card{transition:none}.practice-hub .practice-hub-card:is(:hover,:active){transform:none}}:root[data-motion=reduced] .practice-hub .practice-hub-card{transition:none}:root[data-motion=reduced] .practice-hub .practice-hub-card:is(:hover,:active){transform:none}
.grammar-hub,.grammar-reference-view{max-width:960px;margin-inline:auto}.grammar-hub-heading{justify-content:space-between;align-items:center;gap:20px;margin:0 0 24px;display:flex}.grammar-hub-heading h1{margin:0;font-size:clamp(1.65rem,4vw,2.25rem);font-weight:900;line-height:1.2}.grammar-reference-button{border:1px solid var(--border);background:var(--primary-soft);min-height:46px;color:var(--link);border-bottom-width:3px;border-radius:15px;justify-content:center;align-items:center;gap:9px;padding:10px 15px;font-size:.9375rem;font-weight:800;line-height:1.3;text-decoration:none;display:flex}.grammar-reference-button svg{flex-shrink:0}.grammar-reference-button:active{border-bottom-width:1px;transform:translateY(2px)}.grammar-focus-filters{background:var(--surface);border:1px solid var(--border);box-shadow:0 4px 0 var(--border);border-radius:22px;grid-template-columns:minmax(100px,.55fr) minmax(0,1fr) minmax(0,1.2fr);gap:14px;margin-bottom:24px;padding:18px;display:grid}.grammar-focus-filters .field{gap:7px;min-width:0;margin:0;font-size:.875rem}.grammar-topic-filters>.ek-study-filters{display:contents}.grammar-focus-filters select,.grammar-reference-view select{width:100%;min-width:0;min-height:48px;font:inherit;text-overflow:ellipsis;background-color:var(--bg);border-radius:13px;padding:10px 30px 10px 12px;font-size:1rem}.grammar-selection-meta{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;font-size:.875rem;line-height:1.4;display:flex}.grammar-selection-meta>span{align-items:center;gap:8px;min-width:0;display:flex}.grammar-selection-meta svg{flex-shrink:0}.grammar-selection-meta .text-button{white-space:normal;flex-shrink:0;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:8px 0 8px 8px;font-size:.875rem;display:flex}.grammar-lesson-card{border:1px solid var(--border);background:linear-gradient(145deg,var(--surface),var(--bg));border-bottom-width:4px;border-radius:26px;padding:28px;box-shadow:0 8px 24px #a3451609}.grammar-lesson-heading{align-items:center;gap:14px;display:flex}.grammar-lesson-heading>div{min-width:0}.grammar-lesson-heading h2{overflow-wrap:anywhere;margin:0;font-size:clamp(1.35rem,3vw,1.65rem);line-height:1.25}.grammar-lesson-emblem{background:var(--reward-soft);width:52px;height:52px;color:var(--reward-ink);box-shadow:0 3px 0 var(--border);border-radius:17px;flex-shrink:0;place-items:center;display:grid}.grammar-skill-label{color:var(--muted);overflow-wrap:anywhere;margin:6px 0 0;font-size:.875rem;line-height:1.5}.grammar-complete{color:var(--success);margin-left:auto}.grammar-part-picker{flex-wrap:wrap;gap:9px;margin:24px 0;display:flex}.grammar-part-picker button{border:1px solid var(--border);background:var(--surface);width:46px;height:46px;color:var(--muted);font:inherit;border-bottom-width:3px;border-radius:13px;place-items:center;font-weight:850;display:grid}.grammar-part-picker button[aria-pressed=true]{background:var(--primary);color:var(--on-primary);border-color:var(--primary-edge)}.grammar-lesson-rule>p{font-family:var(--font-learning);white-space:pre-line;overflow-wrap:anywhere;margin:0;font-size:1.125rem;line-height:1.75}.grammar-lesson-examples{margin-top:20px}.grammar-lesson-examples>summary{cursor:pointer;min-height:44px;color:var(--link);padding:10px 0;font-weight:800}.grammar-lesson-examples>.grammar-example-line{margin-top:10px}.grammar-example-line{background:var(--primary-soft);border:1px solid var(--border);border-radius:17px;align-items:center;gap:16px;padding:16px 18px;display:flex}.grammar-example-line>div:first-child{flex:1;min-width:0}.grammar-example-line p{font-family:var(--font-learning);overflow-wrap:anywhere;margin:0;font-size:1rem;line-height:1.6}.grammar-example-line p[lang=en]{font-weight:800}.grammar-example-line .grammar-example-translation{color:var(--muted);margin-top:3px;font-size:.9375rem}.grammar-example-line .audio-wrap{min-width:0;max-width:100%;margin:0}.grammar-example-line .audio-controls{flex-wrap:wrap}.grammar-example-line .speed-label{flex-wrap:wrap;max-width:100%}.grammar-example-line .speed-label select{max-width:100%}.grammar-lesson-actions{justify-content:flex-end;padding-top:24px;display:flex}.grammar-lesson-actions .primary{gap:9px;min-height:50px}.grammar-empty{border:1px solid var(--border);background:var(--surface);border-radius:22px;padding:24px}.grammar-empty h2{margin:0 0 16px;font-size:1.25rem}.grammar-reference-view .grammar-reference-bank{border:0;margin:0;padding:0}.grammar-reference-count{color:var(--muted);margin:0;font-size:.875rem}.grammar-reference-view .grammar-topics{gap:16px;margin-top:16px}.grammar-reference-view .grammar-topic-card{background:linear-gradient(145deg,var(--surface),var(--bg));border-width:1px 1px 4px;padding:22px}.grammar-reference-view .grammar-topic-card h2{flex:1;margin:0 0 16px;font-size:1.2rem}.grammar-reference-view .grammar-card-top{margin-bottom:16px}.grammar-reference-view .grammar-topic-card .scenario-facts{margin:0 0 18px}.grammar-reference-view .grammar-topic-card a{min-height:48px}.grammar-studio :is(button,a,select):focus-visible{outline:3px solid var(--focus);outline-offset:4px}@media (max-width:700px){.grammar-hub-heading{flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:20px}.grammar-reference-button{text-align:left;max-width:195px;padding:10px 12px;font-size:.875rem}.grammar-focus-filters{grid-template-columns:minmax(100px,.6fr) minmax(0,1.4fr);gap:12px;padding:16px}.grammar-focus-filters>label:last-child,.grammar-topic-filters>.ek-study-filters>label:last-of-type{grid-column:1/-1}.grammar-lesson-card{padding:22px}.grammar-selection-meta{flex-wrap:wrap;gap:4px 12px}.grammar-selection-meta .text-button{margin-left:auto;padding:5px 0}.grammar-lesson-actions .primary{width:100%}}@media (max-width:400px){.grammar-hub-heading{align-items:center}.grammar-hub-heading h1{font-size:1.55rem}.grammar-reference-button{gap:6px;max-width:147px;padding:9px}.grammar-reference-button svg{width:18px}.grammar-focus-filters{grid-template-columns:minmax(0,1fr);gap:10px;padding:13px}.grammar-lesson-card{padding:18px}.grammar-lesson-emblem{border-radius:14px;width:42px;height:42px}.grammar-lesson-heading{align-items:flex-start;gap:10px}.grammar-example-line{flex-wrap:wrap;gap:8px;padding:12px}.grammar-example-line>div:first-child{flex-basis:100%}}@media (prefers-reduced-motion:reduce){.grammar-reference-button:active{transform:none}}:root[data-motion=reduced] .grammar-reference-button:active{transform:none}
.app-shell:has(.task-session){display:block}:is(.app-shell:has(.task-session) .sidebar,.app-shell:has(.task-session) .topbar,.app-shell:has(.task-session) .footer,.learning-focus .footer){display:none}.app-shell:is(.learning-focus,:has(.task-session)) .main-shell{min-block-size:var(--task-viewport-height,100dvh);margin-left:0;padding-bottom:0}:root:has(.app-shell:is(.learning-focus,:has(.task-session))){scroll-padding-block:max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-bottom))}.app-shell:is(.learning-focus,:has(.task-session)) .main-content :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select){scroll-margin-block:12px}:is(.app-shell:has(.task-session) .main-content,.learning-focus .main-content){width:100%;max-width:800px;padding:24px max(24px, var(--safe-area-right)) 32px max(24px, var(--safe-area-left));margin:0 auto}:is(.practice-destination:has(.is-working)>:not(.ek-course-study),.grammar-studio:has(.is-working)>:not(.ek-course-study)){display:none}.practice-destination:has(>.lesson-page.task-session)>:not(.lesson-page.task-session){display:none}.task-session{max-width:720px;margin-inline:auto}.ek-mission.task-session{flex-direction:column;gap:0;display:flex}.main-content:has([data-sequence-preparing]) .recovery-panel[data-storage-issue=write]{display:none}.ek-mission>.mission-overview{order:2;margin-top:24px}.mission-header{margin-bottom:18px}.session-toolbar{align-items:center;gap:16px;display:flex}.session-exit.back-button{width:44px;min-width:44px;height:44px;color:var(--muted);box-shadow:none;background:0 0;border:0;border-radius:14px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.session-exit.back-button:hover{background:var(--soft);color:var(--ink)}.session-progress{background:var(--soft);border:1px solid var(--border);border-radius:20px;flex:1;height:14px;overflow:hidden}.session-progress>span{background:var(--primary);border-radius:inherit;height:100%;transition:width .22s;display:block;box-shadow:inset 0 3px #ffffff35}.session-count{min-width:38px;color:var(--muted);font-variant-numeric:tabular-nums;font-size:.875rem;font-weight:800}.session-caption{justify-content:space-between;align-items:baseline;gap:16px;margin-top:3px;padding-left:60px;display:flex}.session-caption h1{overflow-wrap:anywhere;min-width:0;color:var(--muted);margin:0;font-size:.9375rem;font-weight:700;line-height:1.35}.session-caption>span{color:var(--muted);white-space:nowrap;font-size:.875rem}.session-details{box-shadow:none;background:0 0;border:0;margin:0}.session-details>summary,.feedback-explanation>summary{cursor:pointer;min-height:44px;color:var(--muted);align-content:center;font-size:.875rem;font-weight:700}.session-details[open]{padding-bottom:16px}.session-details[open]>summary{margin-bottom:8px}.session-details p{line-height:1.6}.session-task{outline:none;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:12px;display:grid}.session-task>*{min-width:0}.session-task>:not(.session-task-position):not(.lesson-help){grid-column:1/-1}.session-task-position{color:var(--muted);align-content:center;min-height:44px;font-size:.875rem}.session-task>.lesson-help{grid-area:1/2}.session-task>.lesson-help[open]{grid-area:2/1/auto/-1}.session-task .notice{margin-block:8px 16px;font-size:.875rem}.session-task .notice p{margin-bottom:0}.task-session .exercise-card,.learning-focus .exercise-card{width:100%;min-height:calc(100svh - 230px);box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;margin:0;padding:12px 0 0;display:flex}.task-session .exercise-card>h2,.task-session .exercise-card>h3,.learning-focus .exercise-card>h2{text-wrap:balance;margin:0 0 12px;font-size:clamp(1.4rem,3vw,1.85rem);line-height:1.35}.exercise-instruction{color:var(--muted);margin:0 0 22px;font-size:1rem}.exercise-card .answers{gap:12px;margin-block:8px 20px}.exercise-card .answer{background:var(--surface);border:2px solid var(--border);text-align:left;border-bottom-width:4px;border-radius:16px;min-height:60px;padding:14px 16px;font-size:1.0625rem}.exercise-card .answer.selected{border-color:var(--primary-edge);background:var(--primary-soft);color:var(--ink)}.exercise-card .answer:disabled{opacity:1}.exercise-card .answer-letter{color:var(--muted);background:var(--soft);border:1px solid var(--border);border-radius:9px;min-width:30px}.exercise-card .answer.selected .answer-letter{color:var(--on-primary);background:var(--primary);border-color:var(--primary-edge)}.exercise-card .answer>span[lang]{flex:1}.exercise-card .field{margin-block:12px 20px}.exercise-card .field input,.exercise-card .field textarea{background:var(--surface);border-radius:16px;min-height:56px;font-size:1.125rem}.exercise-card .sentence-tray{background:var(--surface);min-height:88px;margin-top:8px}.exercise-card .word-bank{margin-bottom:24px}.exercise-card .answer-help{margin-bottom:12px}.task-session .exercise-bottom,.learning-focus .exercise-bottom{padding:18px 0 max(16px, env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--border);margin-top:auto;position:static}.exercise-bottom>.primary,.exercise-card>.primary,.feedback>.primary{justify-content:center;width:100%;min-height:54px;font-size:1rem}.exercise-card>.primary{margin-top:auto}.task-session .feedback,.learning-focus .feedback{box-shadow:none;border-radius:18px;margin-top:auto;padding:18px}.feedback>strong{font-size:1.15rem}.feedback-explanation{margin:4px 0 8px}.feedback-explanation summary{color:inherit}.feedback-explanation p{margin-top:0}.feedback .primary{margin-top:10px}.session-extras{margin-top:24px}.practice-session .practice-session-meta{color:var(--muted);margin:8px 0;font-size:.875rem}.practice-session .practice-steps{margin-block:8px}.task-session .ek-part-progress{margin-block:12px}.task-session .ek-celebrate{text-align:center;margin-top:24px}.task-session .ek-celebrate .primary{justify-content:center}.task-session:has(.exercise-card) .ek-part-heading{margin:0}@media (max-width:600px){:is(.app-shell:has(.task-session) .main-content,.learning-focus .main-content){padding:max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left))}.session-toolbar{gap:10px}.session-caption{padding-left:54px}.session-caption h1,.session-task-position,.session-details>summary{font-size:.875rem}.session-task{column-gap:6px}.task-session .exercise-card,.learning-focus .exercise-card{min-height:calc(100svh - 210px);padding:10px 0 0}.exercise-card .answer{min-height:56px;padding:12px}.exercise-card .answers{gap:10px}}@media (prefers-reduced-motion:reduce){.session-progress>span{transition:none}}:root[data-motion=reduced] .session-progress>span{transition:none}.lesson-flow{display:block}.lesson-task-screen[hidden]{display:none}.lesson-screen{flex-direction:column;min-height:calc(100svh - 125px);padding-top:12px;display:flex}.lesson-screen>.exercise-bottom{width:100%}.lesson-context .reading-text{white-space:pre-line}.lesson-tools{justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px;display:flex}.lesson-tools>div{gap:4px;margin-inline-start:auto;display:flex}.lesson-tools button{border-radius:12px;justify-content:center;min-width:44px;min-height:44px;padding:10px}.lesson-tools .session-task-position{font-variant-numeric:tabular-nums}.lesson-flow .exercise-card{min-height:calc(100svh - 175px)}.lesson-conversation{gap:24px;margin:auto 0 24px}.lesson-conversation .ek-dialogue-line{background:0 0;border:0;align-items:flex-end;gap:12px;padding:0;display:flex}.lesson-conversation .ek-dialogue-line:nth-child(2n){flex-direction:row-reverse}.lesson-conversation .character-avatar{flex-shrink:0;width:64px;height:72px}.lesson-bubble{border:2px solid var(--border);background:var(--surface);border-bottom-width:4px;border-radius:22px 22px 22px 6px;flex:1;min-width:0;padding:16px 20px}.ek-dialogue-line:nth-child(2n) .lesson-bubble{background:var(--primary-soft);border-radius:22px 22px 6px}.lesson-bubble>strong{color:var(--muted);font-size:.875rem}.lesson-bubble>p{overflow-wrap:anywhere;margin:5px 0 0;font-size:1.125rem;line-height:1.7}.lesson-bubble>.lesson-translation{color:var(--muted);padding-top:8px;font-size:1rem}.lesson-context>.audio-wrap{margin-bottom:6px}.lesson-context .audio-controls{flex-wrap:wrap;justify-content:center}.lesson-context .task-heading:has(>.audio-wrap>.notice){flex-wrap:wrap}.lesson-context .task-heading>.audio-wrap:has(>.notice){display:contents}.lesson-context .task-heading>.audio-wrap>.notice{flex:1 0 100%;order:1;min-inline-size:0;font-size:.875rem}.lesson-translation-toggle{align-self:center;min-height:44px;margin-bottom:20px}@media (max-width:600px){.lesson-screen{min-height:calc(100svh - 105px)}.lesson-flow .exercise-card{min-height:calc(100svh - 155px)}.lesson-bubble{padding:12px 14px}.lesson-conversation{gap:18px}.lesson-conversation .character-avatar{width:48px;height:58px}}
:where(.exercise-card,.ek-item,.ek-mission,.lab-workspace,.dialogue-player,.ek-optional,.lesson-help) :is(p,ul,ol,dl,blockquote,input,textarea),.learning-copy,.reading-text,.pre-wrap,.lab-source,.rubric,.production-feedback,.ek-writing-rubric,.grammar-theory,.grammar-goal,.grammar-english,.grammar-translation,.grammar-example-note,.ek-reference-theory,.speech-reference,.ek-dialogue-line p,.dictionary-card>p,.resource-detail>p,.network-node p,.dictionary-example,.translation-note{font-family:var(--font-learning)}button,select,summary,nav,.primary,.secondary,.text-button,.eyebrow,.pill,.answer-letter,.session-count,.matching-progress,.match-card-mark,.match-column-label,.dictionary-stats,.resource-meta,.grammar-section-label,.ek-home .ek-map-heading .eyebrow,.ek-daily .eyebrow{font-family:var(--font-interface)}.exercise-card>h1,.exercise-card>h2,.exercise-card>h3,.exercise-card .answer,.lab-turn .answer,.sentence-tray,.word,.ek-mission>h1,.ek-item .field,.ek-item select,.match-card-text,.grammar-theory :is(h2,h3,h4),.ek-reference-theory :is(h2,h3,h4),.lab-source :is(h2,h3,h4),.resource-detail>h2,.resource-title :is(h2,h3),.network-node-title{font-family:var(--font-learning)}.exercise-card>:is(h1,h2,h3),.ek-mission>h1{font-weight:400}.task-instruction,.exercise-instruction{font-family:var(--font-interface)}.task-material{font-family:var(--font-learning)}.exercise-card>h2.task-instruction{font-family:var(--font-interface);font-weight:750}.lab-workspace .page-heading h1.task-instruction{font-weight:750}.task-writing .writing-task-text>.task-instruction{margin-bottom:.25rem;font-weight:750;display:block}.task-writing :is(.writing-task-text,.writing-review-text).task-instruction,.task-design .guided-speaking.is-compact>.panel .task-instruction,:is(.task-design,.placement-question,.lab-workspace,.dialogue-task) :is(input,textarea)::placeholder{font-family:var(--font-interface)}.resource-detail .ipa{font-family:"Stapka IPA", var(--font-learning);font-weight:400}h1,h2,h3,h4,button,summary,.eyebrow{letter-spacing:normal}.nav-link,.course-name,.practice-hub-card strong,.ek-region-title strong,.daily-quest-summary strong{overflow-wrap:anywhere;min-width:0}.ek-home .ek-level-toggle{white-space:normal}.grammar-reference-bank>summary,.dictionary-main-filters>summary{line-height:1.5}#dictionary-results .dictionary-card>p{font-size:.9375rem;line-height:1.65}.reading-text,.pre-wrap,.lab-source,.grammar-theory{line-height:1.75}.profile-grid>*{min-width:0}.profile-grid :is(h2,h3){overflow-wrap:anywhere}.skill-row>div:first-child{flex-wrap:wrap}.ek-dialogue{grid-template-columns:minmax(0,1fr)}.ek-dialogue-line,.audio-controls{min-width:0}.speed-label{flex-wrap:wrap;min-width:0;max-width:100%}.speed-label select{min-width:0;max-width:100%}@media (max-width:760px),(max-width:1000px) and (max-height:500px) and (pointer:coarse){.sidebar{height:auto}.sidebar nav{flex-flow:wrap;height:auto;min-height:78px;display:flex}.sidebar .nav-link{flex:1 1 max-content;letter-spacing:normal;white-space:normal;overflow-wrap:anywhere;min-width:44px;max-width:100%;font-size:.75rem;line-height:1.25}}@media (max-width:360px){.sidebar .nav-link{font-size:.6875rem}}
.first-session{max-width:960px;min-height:100dvh;padding:max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));margin:0 auto}.first-session-toolbar{justify-content:space-between;align-items:center;gap:12px;min-height:56px;display:flex}.first-session-toolbar>div{gap:8px;display:flex}.first-session-toolbar .brand-mark{width:52px;height:52px}.first-session-toolbar button{min-width:48px;min-height:48px;padding:10px}.first-session-main{outline:none;max-width:640px;margin:0 auto;padding:18px 0 24px}.first-session-main h1{outline:none;margin:16px 0 24px;font-size:clamp(1.6rem,6vw,2.3rem);line-height:1.2}.first-session-choice{flex-direction:column;justify-content:center;align-items:stretch;gap:16px;min-height:min(560px,100dvh - 170px);display:flex}.first-session-choice>img{object-fit:contain;align-self:center;max-width:38vw}.first-session-choice h1,.first-session-choice>p{text-align:center}.first-session-choice h1{margin:0 0 8px}.first-session-option{text-align:left;border:2px solid var(--border);background:var(--surface);width:100%;min-height:88px;color:var(--text);box-shadow:0 4px 0 var(--border);cursor:pointer;border-radius:22px;align-items:center;gap:16px;padding:18px;display:flex}.first-session-option:active{box-shadow:0 2px 0 var(--border);transform:translateY(2px)}.first-session-option:focus-visible{outline:3px solid var(--primary);outline-offset:4px}.first-session-option>svg{color:var(--link);flex-shrink:0;width:24px}.first-session-option>span{flex:1;min-width:0}.first-session-option b{font-size:1.2rem;display:block}.first-session-option small{color:var(--muted);margin-top:4px;font-size:1rem;display:block}.first-session-levels{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-bottom:8px;display:grid}.first-session .primary{justify-content:center;width:100%;min-height:52px}.first-session-plans{gap:12px;display:grid}.first-session-plans .panel{margin:0}.first-session-preview{color:var(--muted);text-align:center;margin-bottom:12px;font-size:.8rem;display:block}.first-session-preview-exit{text-align:center;margin-top:32px;display:block}.first-session-task .first-session-preview,.first-session-task .first-session-preview-exit{display:none}.first-session-task .first-session-toolbar{min-height:40px}.first-session-task .first-session-main{padding-top:0}.first-session-task .mission-header{margin-top:0}.first-session .placement-save-note,.first-session .placement-question~.small{display:none}.first-session .account-form-panel{margin-top:20px}@media (max-width:420px){.first-session-levels{grid-template-columns:1fr}.first-session-option{gap:12px;padding:16px}}@media (prefers-reduced-motion:reduce){.first-session-option:active{transform:none}}
.scene-puzzle{--piece-empty:#f0e5d1;--piece-edge:#bda568;border-radius:12px;overflow:hidden}[data-theme=dark] .scene-puzzle{--piece-empty:#30264c;--piece-edge:#80709e}.scene-picture-base{fill:var(--piece-empty)}.scene-picture-preview{opacity:.28;pointer-events:none}.scene-earned-picture{pointer-events:none}.scene-empty-piece{fill:none;stroke:var(--piece-edge);stroke-width:.65px;stroke-opacity:.52;vector-effect:non-scaling-stroke;pointer-events:none}.scene-tile-edge{fill:none;stroke:var(--piece-edge);stroke-width:1.8px;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:none}.scene-puzzle .is-revealed .scene-empty-piece{fill:none;stroke-opacity:.28}.scene-lesson-puzzle{filter:drop-shadow(0 4px 2px #20133822)}.ek-album-link{grid-column:1/-1;justify-content:space-between;gap:12px;width:min(100%,340px);margin:0 auto 16px;display:flex}.section-album{border:2px solid var(--border);background:var(--surface);width:min(100vw - 24px,640px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 24px);color:var(--ink);overscroll-behavior:contain;border-radius:24px;margin:auto;padding:0;box-shadow:0 24px 80px #120c2f44}.section-album::backdrop{background:#16102bc4}.album-shell{padding:16px}.album-header{z-index:2;background:var(--surface);align-items:center;gap:10px;display:flex;position:sticky;top:0}.album-header h2{overflow-wrap:anywhere;flex:1;min-width:0;margin:0;font-size:1.2rem;line-height:1.3}.album-header>svg{color:var(--primary-edge);flex-shrink:0}.album-header .text-button{flex-shrink:0;min-width:44px;min-height:44px}.album-tabs{flex-wrap:wrap;gap:8px;margin:14px 0;display:flex}.album-tabs button{flex:61px;min-width:0;min-height:44px;padding-inline:6px}.album-tabs [aria-pressed=true],.album-lessons [aria-pressed=true]{background:var(--primary);color:var(--on-primary);border-color:var(--primary-edge)}.album-picture .scene-album-puzzle{aspect-ratio:4/5;background:var(--piece-empty);filter:none;width:min(100%,360px);height:auto;margin:auto}.album-picture .scene-lesson-puzzle{filter:none;background:var(--piece-empty);width:100%;height:min(46dvh,360px);margin:auto}.album-progress{align-items:center;gap:12px;margin:14px 0;display:flex}.album-progress progress{appearance:none;width:100%;min-width:0;height:10px;accent-color:var(--primary);background:var(--soft);border:0;border-radius:8px;overflow:hidden}.album-progress progress::-webkit-progress-bar{background:var(--soft)}.album-progress progress::-webkit-progress-value{background:var(--primary)}.album-progress progress::-moz-progress-bar{background:var(--primary)}.album-lessons{scrollbar-width:thin;gap:6px;padding:3px 2px 12px;display:flex;overflow-x:auto}.album-lessons button{flex-shrink:0;min-width:44px;min-height:44px;padding:6px 10px}.album-next{justify-content:center;min-height:48px;margin-top:16px;display:flex}.album-loading,.album-locked{text-align:center;padding:32px 12px}.story-scene{flex-direction:column;gap:18px;display:flex}.story-cast{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.story-cast>div{flex-direction:column;align-items:center;gap:6px;font-size:.85rem;display:flex}.story-cast .character-avatar.large{width:68px;height:68px}.character-avatar.story-character{box-shadow:none;background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.story-character img{object-fit:contain;width:100%;height:100%;display:block}.story-beat{margin:0;font-size:1rem;line-height:1.6}.story-lines{flex-direction:column;gap:14px;display:flex}.story-line{align-items:flex-start;gap:10px;display:flex}.story-line .character-avatar{width:50px;height:50px}.story-line .lesson-bubble{min-width:0}.story-line .spoken-source{align-items:flex-start;gap:4px;margin-top:4px;display:flex}.story-line .spoken-source>p{min-width:0;font-family:var(--font-learning);overflow-wrap:anywhere;flex:1;margin:0;font-size:1rem;line-height:1.6}.story-scene .audio-wrap.audio-inline{flex:none;margin:0}.story-scene .audio-inline .audio-controls{flex-wrap:nowrap;align-items:center;gap:0;display:flex}.story-scene .audio-trigger.is-inline{border:1px solid var(--border);background:var(--primary-soft);width:44px;min-width:44px;height:44px;min-height:44px;color:var(--link);box-shadow:none;border-bottom-width:3px;border-radius:13px;justify-content:center;align-items:center;padding:0;display:inline-flex}.story-scene .audio-trigger.is-playing{background:var(--primary-soft);color:var(--link)}.story-scene .audio-trigger:disabled{background:var(--soft);color:var(--muted);border-color:var(--border)}.story-scene .audio-settings{padding:0;position:relative}.story-scene .audio-settings>summary{cursor:pointer;min-width:44px;min-height:44px;color:var(--muted);justify-content:center;align-items:center;padding:0;list-style:none;display:flex}.story-scene .audio-settings>summary::-webkit-details-marker{display:none}.story-scene .audio-settings[open] .speed-label{z-index:3;border:1px solid var(--border);background:var(--surface);border-radius:12px;width:max-content;max-width:min(200px,50vw);padding:10px;font-size:.8125rem;position:absolute;top:calc(100% + 4px);left:0}.story-scene .audio-settings .speed-label select{min-height:44px;font-size:.875rem}.story-line .spoken-source:has(.notice){flex-wrap:wrap}.story-line .spoken-source:has(.notice)>.audio-wrap.audio-inline{flex:100%;min-width:0;max-width:100%}.story-line .spoken-source:has(.notice)>p{flex-basis:100%}.story-line:nth-child(2n){flex-direction:row-reverse}.story-scene>.secondary{align-self:center;min-height:44px}.story-context>h2{text-align:center;margin:0;font-size:1.3rem}.lesson-story-link{align-self:center;min-height:44px;margin-bottom:8px}@media (max-width:480px){.section-album{border-radius:20px;width:calc(100% - 12px);max-height:calc(100dvh - 12px)}.album-shell{padding:12px}.album-picture .scene-album-puzzle{width:auto;max-width:100%;max-height:49dvh}.story-line .lesson-bubble>p{font-size:1rem;line-height:1.6}}@media (prefers-reduced-motion:reduce){.scene-puzzle .puzzle-piece{transition:none;animation:none}}[data-motion=reduced] .scene-puzzle .puzzle-piece{transition:none;animation:none}.leo-album-card{border:1px solid var(--border);background:var(--surface);border-bottom-width:4px;border-radius:22px;gap:10px;min-width:0;padding:clamp(12px,3vw,18px);display:grid}.leo-album-card h2{align-items:center;gap:8px;display:flex}.leo-album-card h2>svg{color:var(--reward-ink);flex:none}.leo-album-card h3{overflow-wrap:anywhere}.leo-album-cover{aspect-ratio:3/2;object-fit:cover;object-position:center 48%;background:var(--soft);border-radius:14px;width:100%;height:auto;max-height:210px;display:block}.leo-album-card .album-progress{grid-template-columns:minmax(0,1fr);gap:7px;margin:0;font-size:.875rem;display:grid}.leo-album-rewards{gap:4px;min-width:0;display:grid}.leo-album-rewards>.text-button{justify-self:start;min-height:44px}.leo-album-actions{flex-wrap:wrap;gap:8px;display:flex}.leo-album-actions>:is(a,button){text-align:center;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:44px;display:inline-flex}.leo-album-actions>.primary{flex:2 178px}.leo-album-actions>.secondary{flex:115px}.leo-album-card .leo-album-retry{margin:0 0 8px;font-size:.875rem}.album-lesson-progress{color:var(--ink);margin:12px 0 0;font-size:.9rem}.album-full-board{aspect-ratio:4/5;width:min(100%,360px);margin-inline:auto;position:relative}.album-picture .album-full-board .scene-album-puzzle{width:100%;height:100%;max-height:none;display:block}.leo-album-cover[data-collection-frame],.album-picture .album-full-board[data-collection-frame]>.scene-album-puzzle{outline-offset:-6px;box-shadow:0 0 0 2px var(--reward-ink);outline:4px double #eda940}.album-pending-piece{justify-content:center;align-items:center;min-height:44px;margin-bottom:10px;display:inline-flex}@media (max-width:480px){.album-full-board{width:min(100%,39.2dvh)}}.album-epilogue{text-align:center;justify-items:center;gap:10px;padding:8px 4px 14px;display:grid}.album-epilogue>h3,.album-epilogue>p{margin:0}.album-epilogue>p{max-width:40ch;line-height:1.45}.album-epilogue .epilogue-art{aspect-ratio:1;place-items:center;width:min(58%,180px);display:grid}.album-epilogue .epilogue-art img{object-fit:contain;width:100%;height:auto;display:block}
.message-challenge-open{margin:12px 0}.message-challenge-dialog{overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface);width:min(100% - 24px,680px);max-width:680px;max-height:calc(100dvh - 24px);color:var(--ink);border-radius:24px;margin:auto;padding:16px;overflow-y:auto}.message-challenge-dialog::backdrop{background:#150c26bd}.message-challenge-dialog>.text-button{min-height:44px;margin-left:auto;display:flex}.message-challenge-dialog .text-button{min-height:44px}.message-challenge-dialog .exercise-card{box-shadow:none;background:0 0;border:none;min-height:0;margin:0;padding:4px}.cloze-bubble{border:2px solid var(--control-border);background:var(--surface);overflow-wrap:anywhere;border-radius:24px 24px 24px 6px;padding:20px 16px;font-size:1.15rem;line-height:2.8}.cloze-gap{border:2px dashed var(--control-border);background:var(--surface);min-width:64px;min-height:44px;color:var(--ink);font:inherit;vertical-align:middle;border-radius:12px;margin:3px;padding:4px 12px;line-height:1.3;display:inline-block}.cloze-gap.active{border-style:solid;border-color:var(--focus)}.cloze-message .cloze-input{border:2px solid var(--control-border);width:min(100%,180px);min-height:44px;font:inherit;vertical-align:middle;background:var(--surface);color:var(--ink);border-radius:12px;margin:3px 0;padding:8px;line-height:1.3;display:inline-block}.cloze-options{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.cloze-options .word,.language-tool-feedback .word{white-space:normal;overflow-wrap:anywhere;min-height:44px}.language-tool-feedback{border-top:1px solid var(--border);margin-top:16px;padding-top:12px}.language-tool-feedback article{border-top:1px solid var(--border);overflow-wrap:anywhere;padding:12px 0}.language-tool-feedback mark{border-radius:4px;padding:2px 4px}
:root{--reward-empty:#f5e6cc;--reward-slot:#ffe7a8;--reward-edge:#b97b31;--reward-glow:#ffc7484d}[data-theme=dark]{--reward-empty:#39304f;--reward-slot:#4d3d69;--reward-edge:#9a80c3;--reward-glow:#b894f633}.lesson-part-complete{text-align:center;align-items:center;gap:12px}.part-celebration-scene{flex-direction:column;align-items:center;gap:10px;width:100%;margin-block:auto;display:flex}.lesson-part-complete h2{margin:0;font-size:clamp(1.55rem,5.5vw,2rem)}.reward-host{aspect-ratio:1;pointer-events:none;width:min(100%,360px,100svh - 300px);min-width:200px}.reward-host>[data-engine]{width:100%;height:100%}.reward-loaded-stage{width:100%;height:100%;position:relative}.reward-loaded-stage>[data-engine=remotion]{z-index:1;position:absolute;inset:0}.reward-loading-still{width:100%;height:100%}.reward-loaded-stage:has([data-engine=remotion]) .reward-loading-still{visibility:hidden}.reward-composition{font-family:var(--font-interface,Nunito, sans-serif);color:var(--ink)}.lesson-reward-puzzle{width:100%;height:100%;position:relative}.reward-board{width:100%;height:auto;filter:drop-shadow(0 5px 0 var(--border)) drop-shadow(0 12px 12px #351d1620);display:block;overflow:visible}.reward-board-base{fill:var(--reward-empty)}.reward-board-edge{fill:none;stroke:var(--reward-edge);stroke-width:1.2px;stroke-linejoin:round}.reward-seam{fill:none;stroke:var(--reward-edge);stroke-width:.65px;stroke-opacity:.45}.reward-socket{fill:var(--reward-slot);stroke-opacity:.8}.reward-piece-fill{fill:var(--surface)}.reward-piece-edge{fill:none;stroke:#fff7df;stroke-width:1.2px;stroke-linejoin:round}.reward-flying-piece{transform-origin:50%;position:absolute}.reward-flying-piece>svg{display:block}.lesson-puzzle-thumbnail{flex:none;width:114px;height:114px;margin:0 auto}.lesson-puzzle-thumbnail .reward-board{width:100%;height:100%;filter:drop-shadow(0 2px 0 var(--border)) drop-shadow(0 5px 5px #351d1620);margin:0}.lesson-puzzle-thumbnail[data-locked=true] .reward-board{opacity:.65}.ek-part-progress>.lesson-puzzle-thumbnail{flex:none;width:86px;height:86px}@media (max-width:600px){.ek-lesson .lesson-puzzle-thumbnail{width:100px;height:100px}}.reward-halo{background:radial-gradient(closest-side, var(--reward-glow), transparent);border-radius:50%}.reward-confetti{border-radius:3px}.part-celebration-lion{width:100%;height:100%;position:relative}.part-celebration-lion img{object-fit:contain;width:100%;height:100%;display:block}.part-celebration-lion .lion-open-eye{position:absolute;inset:0;-webkit-mask-image:radial-gradient(9% 9% at 40% 50.5%,#000 78%,#0000 100%);mask-image:radial-gradient(9% 9% at 40% 50.5%,#000 78%,#0000 100%)}.part-celebration-bubble{border:2px solid var(--border);background:var(--surface);color:var(--ink);white-space:nowrap;border-bottom-width:4px;border-radius:20px 20px 20px 5px;align-items:center;gap:8px;padding:12px 16px;font-size:22px;font-weight:900;line-height:1.2;display:flex;position:relative}.part-celebration-bubble>span{color:var(--primary-edge);font-size:18px}.part-piece-count{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:8px;font-size:.85rem;font-weight:800;display:flex}.part-piece-count>i{background:var(--reward-empty);border-radius:6px;width:18px;height:8px;display:block}.part-piece-count>i[data-filled=true]{background:var(--primary-edge)}.part-piece-count>span{margin-left:4px}.reward-still{flex-direction:column;justify-content:space-between;align-items:center;width:100%;height:100%;display:flex}.reward-still>.part-celebration-puzzle{aspect-ratio:1;width:68%}.reward-still .reward-flying-piece[data-piece-state=hover]{filter:drop-shadow(0 7px 5px #27132966);translate:11% -35%;rotate:-7deg;scale:1.04}.reward-still .part-celebration-friend{justify-content:center;align-items:center;gap:8px;width:100%;height:28%;display:flex}.reward-still .part-celebration-lion{aspect-ratio:1;width:28%;height:auto}.reward-still .part-celebration-bubble{font-size:clamp(16px,4vw,22px)}.ek-mission>.ek-celebrate{justify-items:center;gap:clamp(12px,2.5svh,20px);width:min(100%,440px);margin:0 auto;padding:clamp(16px,4vw,28px);display:grid}.ek-celebrate>svg{color:var(--primary-edge)}.ek-celebrate>h2{text-wrap:balance;margin:0;font-size:clamp(1.35rem,5.6vw,1.9rem)}.ek-celebrate>h2:focus{outline:none}.ek-celebrate>.lesson-reward-puzzle{aspect-ratio:1;width:min(280px,100%,42svh)}.ek-celebrate-actions{gap:10px;width:min(100%,330px);display:grid}.ek-celebrate-actions>.primary{min-height:54px}.ek-celebrate-actions>.secondary{min-height:48px}.ek-celebrate-actions>a:focus-visible{outline:3px solid var(--primary-edge);outline-offset:4px}.ek-celebrate-actions svg{flex-shrink:0}@media (max-height:480px) and (min-width:560px){.ek-mission>.ek-celebrate{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;width:min(100%,640px)}.ek-celebrate>.lesson-reward-puzzle{grid-area:1/1/4;width:min(100%,58svh,280px)}.ek-celebrate>:is(svg,h2,.ek-celebrate-actions){grid-column:2}}@media (max-height:560px) and (min-width:600px){.lesson-part-complete{gap:6px;padding-top:0}.part-celebration-scene{gap:5px}.lesson-part-complete h2{font-size:1.4rem}.reward-host{aspect-ratio:640/208;width:min(100%,480px)}.lesson-part-complete>.exercise-bottom{padding-top:10px}.reward-still{flex-direction:row;justify-content:center;gap:6%}.reward-still>.part-celebration-puzzle{width:auto;height:100%}.reward-still .part-celebration-friend{width:45%;height:100%}.reward-still .part-celebration-lion{width:44%}.reward-still .part-celebration-bubble{padding:10px;font-size:16px}}.ek-mission>.ek-celebrate--album{gap:clamp(8px,1.6svh,15px);margin:0 auto}.ek-celebrate--album>svg{width:23px;height:23px}.lesson-finish-status{color:var(--reward-ink);text-align:center;margin:0;font-weight:750}.lesson-finish-stage{justify-items:center;width:100%;min-width:0;display:grid}.lesson-finish-stage>.lesson-reward-puzzle{aspect-ratio:1;width:min(100%,240px,38svh)}.lesson-finish-picture{aspect-ratio:4/5;background:var(--reward-soft);isolation:isolate;border-radius:15px;width:min(100%,260px,34svh);position:relative}.lesson-finish-picture>.scene-album-puzzle{width:100%;height:100%;max-height:none;display:block}.lesson-finish-picture-placeholder{height:100%;color:var(--primary-edge);place-items:center;display:grid}.lesson-finish-reward-status{text-align:center;width:min(100%,330px)}.lesson-finish-reward-status p{margin:0}.lesson-finish-reward-status .text-button{justify-content:center;align-items:center;min-height:44px;display:inline-flex}.lesson-chest-reward>.lesson-finish-reward-status{margin-inline:auto}.lesson-chest-return{color:var(--muted);text-align:center;margin:-4px 0 0;font-size:.8rem}.lesson-xp-summary{border:1px solid var(--border);background:color-mix(in srgb, var(--surface) 93%, #f6c962);isolation:isolate;border-radius:22px;width:min(100%,360px);min-width:0;position:relative}.lesson-xp-static{justify-content:center;align-items:center;gap:18px;min-height:100px;padding:10px 14px;display:flex}.lesson-xp-summary[data-xp-amount]{background:0 0;border:0}.lesson-xp-summary .lesson-xp-static--card{aspect-ratio:600/190;width:100%;min-height:0;padding:0;display:block}.lesson-xp-summary[data-playing=true] .lesson-xp-static{visibility:hidden}.lesson-xp-summary>[data-lesson-xp-player]{width:100%;height:100%;position:absolute;inset:0}.lesson-xp-summary[data-playing=false]>[data-lesson-xp-player]{visibility:hidden}.lesson-xp-medallion{flex:0 0 62px;place-items:center;width:62px;height:62px;display:grid}.lesson-xp-medallion>svg{width:100%;height:auto}.lesson-xp-copy{text-align:left;gap:2px;min-width:0;display:grid}.lesson-xp-copy>strong{color:#a95712;font-variant-numeric:tabular-nums;font-size:clamp(1.8rem,8vw,2.6rem);font-weight:900;line-height:1.05}[data-theme=dark] .lesson-xp-copy>strong{color:#ffdb87}.lesson-xp-copy>strong>span{color:var(--muted);font-size:.95rem}.lesson-xp-copy>span{color:var(--muted);font-size:.875rem;font-weight:750}.lesson-xp-copy>.lesson-xp-waiting{font-size:1rem;line-height:1.35}.ek-celebrate--album:has(.lesson-xp-summary) .lesson-finish-picture{width:min(100%,220px,27svh)}.ek-celebrate--album:has(.lesson-xp-summary) .lesson-finish-stage>.lesson-reward-puzzle{width:min(100%,210px,30svh)}@media (max-width:440px) and (max-height:700px){.ek-mission>.ek-celebrate--album{gap:8px;padding:12px}.lesson-xp-static{gap:14px;min-height:78px;padding-block:6px}.lesson-xp-medallion{flex-basis:50px;width:50px;height:50px;font-size:1.1rem}.ek-celebrate--album .ek-celebrate-actions{gap:8px}.ek-celebrate--album .ek-celebrate-actions>:is(.primary,.secondary){min-height:44px;padding-block:8px}.lesson-finish-status,.lesson-finish-reward-status{font-size:.85rem}}@media (max-height:480px) and (min-width:560px){.ek-mission>.ek-celebrate--album{gap:6px 12px;padding:12px 16px}.ek-celebrate--album>h2{font-size:1.35rem}.ek-celebrate--album>.lesson-finish-stage{grid-area:1/1/span 5}.ek-celebrate--album>:is(.lesson-xp-summary,.lesson-finish-status,.lesson-finish-reward-status,.notice){grid-column:2}.ek-celebrate--album:has(.lesson-xp-summary) .lesson-finish-picture{width:min(100%,220px,46svh)}.ek-celebrate--album .ek-celebrate-actions{gap:6px}.ek-celebrate--album .ek-celebrate-actions>:is(.primary,.secondary){min-height:44px;padding-block:8px}.lesson-xp-static{min-height:76px;padding-block:4px}}
.exercise-companion{pointer-events:none;contain:layout paint;flex:0 0 88px;width:88px;height:88px;margin:0 0 .35rem auto;position:relative}.exercise-companion img{object-fit:contain;width:100%;height:100%;display:block}.exercise-companion>div{width:100%;height:100%}.exercise-prompt-row{align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.exercise-prompt-row h2{text-wrap:balance;overflow-wrap:anywhere;flex:1;min-width:0;margin:0;font-size:clamp(1.4rem,3vw,1.85rem);line-height:1.35}.exercise-prompt-row>.exercise-companion{flex:0 0 64px;width:64px;height:64px;margin:0}.interactive-pilot,.integrated-station{outline:none;max-width:680px;margin-inline:auto}.integrated-station button{min-width:44px;min-height:44px}.integrated-station .exercise-bottom{flex-wrap:wrap;gap:.7rem}:is(.task-session:has(.interactive-pilot)>.mission-header,.task-session:has(.interactive-pilot)>.mission-overview){display:none}.interactive-pilot button{min-width:44px;min-height:44px}.interactive-pilot progress{width:100%;height:9px;accent-color:var(--link);margin:0 0 1rem;display:block}.pilot-top{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.65rem;display:flex}.pilot-top span{font-variant-numeric:tabular-nums;color:var(--muted)}.pilot-word{text-align:center}.pilot-word .exercise-companion{width:112px;height:112px;margin:0 auto .7rem}.pilot-word h2{overflow-wrap:anywhere;margin:0;font-size:clamp(2rem,7vw,2.8rem)}.pilot-meaning{margin-bottom:1rem;font-size:1.2rem}.pilot-word>p{margin-block:.8rem}.pilot-picture-scene{background:var(--soft);border-radius:24px;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;padding:1rem .6rem;display:grid}.pilot-picture-scene button{border:2px solid var(--border);background:var(--surface);min-height:132px;color:var(--link);box-shadow:0 4px 0 var(--border);border-radius:18px;place-items:center;display:grid}.pilot-picture-scene button[aria-pressed=true]{border-color:var(--link);background:var(--soft);box-shadow:0 4px 0 var(--link)}.pilot-picture-scene svg{max-width:90%;height:auto}.pilot-conversation,.pilot-line-bank{gap:.6rem;margin:1rem 0;padding:0;list-style:none;display:grid}.pilot-conversation{border-bottom:2px dashed var(--border);min-height:80px;padding-bottom:1rem}.pilot-conversation button,.pilot-line-bank button{text-align:left;border:2px solid var(--border);background:var(--surface);width:100%;box-shadow:0 3px 0 var(--border);border-radius:16px;flex-direction:column;align-items:flex-start;gap:.25rem;padding:.8rem 1rem;display:flex}.pilot-conversation small,.pilot-line-bank small{color:var(--muted);font-size:.8rem}.pilot-order{gap:.8rem;margin:1rem 0;display:grid}.pilot-order>div{border:2px solid var(--border);border-radius:18px;justify-content:space-between;align-items:center;gap:.6rem;padding:.7rem;display:flex}.pilot-order>div>span{overflow-wrap:anywhere;min-width:0}.pilot-order>div>div{align-items:center;gap:.65rem;display:flex}.pilot-order button{border:1px solid var(--border);background:var(--soft);border-radius:13px;width:44px;height:44px;font-size:1.5rem}.pilot-order output{text-align:center;min-width:1rem;font-weight:800}.interactive-pilot audio{max-width:100%;margin:1rem 0;display:block}.interactive-pilot .exercise-bottom{flex-wrap:wrap;gap:.7rem}.pilot-entry{margin-top:.8rem}.live-speech{gap:.8rem;margin:1rem 0;display:grid}.live-microphone{justify-content:center;gap:.6rem;min-height:64px}.live-microphone[aria-pressed=true]{background:var(--danger-soft);color:var(--danger);border-color:var(--danger)}.live-transcript{border:2px dashed var(--control-border);overflow-wrap:anywhere;border-radius:18px;min-height:72px;padding:1rem;font-size:1.2rem}.speech-recording-options{margin:1rem 0}.speech-recording-options summary,.live-speech summary{cursor:pointer;min-height:44px;padding:.5rem 0}@media (max-width:380px){.pilot-picture-scene{gap:.35rem;padding:.7rem .3rem}.pilot-picture-scene button{min-height:110px}.pilot-order>div{padding:.55rem}.pilot-order>div>div{gap:.35rem}}@media (max-height:560px) and (min-width:600px){.exercise-companion{flex-basis:60px;width:60px;height:60px}.pilot-word .exercise-companion{width:64px;height:64px}.pilot-word>p{margin-block:.3rem}.pilot-picture-scene button{min-height:96px}}.task-voice-cast{flex-shrink:0;align-items:center;gap:0;max-width:136px;margin-left:auto;display:inline-flex}.task-voice-cast .exercise-companion{margin:0}.task-voice-cast .human-voice-head{place-items:center;display:grid}.task-voice-cast .human-voice-head .character-avatar{border-radius:50%;flex-basis:auto;width:100%;height:100%}.pilot-picture-cue{text-align:center;margin:.25rem 0 .5rem}.task-voice-cast .exercise-companion+.exercise-companion{margin-left:-8px}.speech-text-fallback{gap:.55rem;width:100%;min-width:0;margin:.5rem 0;display:grid}.speech-text-fallback .speech-text-disclaimer{margin:0}.speech-text-fallback .speech-text-help{width:100%;font-family:var(--font-interface);margin:0}.speech-text-fallback .speech-text-help summary{cursor:pointer;min-height:44px;padding:.65rem 0;font-size:.875rem;font-weight:750}.speech-text-fallback .speech-text-help p{margin:.25rem 0 .5rem;line-height:1.45}.task-design .speech-text-fallback .field{width:100%;min-width:0;margin:0}.task-design .speech-text-fallback .field textarea{box-sizing:border-box;height:72px;min-height:72px;max-height:min(96px,calc(var(--task-viewport-height,100svh)/4));resize:vertical}.speech-text-fallback>.secondary{justify-self:start;min-height:44px}body[data-keyboard-open=true] .task-design .speech-text-fallback{gap:.35rem;margin:.25rem 0}body[data-keyboard-open=true] .task-design .speech-text-fallback .field textarea{resize:none;height:64px;min-height:64px;max-height:64px}@media (max-height:480px){.task-design .speech-text-fallback{gap:.3rem;margin:.2rem 0}.task-design .speech-text-fallback .field textarea{resize:none;height:64px;min-height:64px;max-height:64px}}
