: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-shortcut{border:2px solid var(--border);background:var(--soft);min-height:44px;color:var(--link);white-space:nowrap;border-radius:14px;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:13px;font-weight:800;display:inline-flex}.install-shortcut:hover{background:var(--primary-soft)}.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{scroll-padding-bottom:calc(90px + var(--safe-area-bottom))}.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:calc(90px + var(--safe-area-bottom));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}.install-shortcut{gap:5px;padding:0 9px;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(88px + var(--safe-area-bottom))}.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}.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 .install-shortcut span{display:none}.topbar .install-shortcut{width:44px;padding:8px}.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 .install-shortcut span{display:none}.topbar .install-shortcut{width:44px;padding:8px}.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}.dialogue-tasks .exercise-steps{gap:10px;margin-block:1rem;display:flex}.dialogue-tasks .exercise-steps button{border:2px solid var(--border);border-radius:14px;min-width:44px;min-height:44px}.dialogue-tasks .exercise-steps .active{border-color:var(--primary-edge);background:var(--soft)}.dialogue-tasks .exercise-steps .done{background:var(--lime);color:var(--ink)}@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}.dialogue-controls{flex-wrap:wrap}.dialogue-controls .primary{flex:1}.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: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-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}
.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 .page-heading{margin-bottom:18px}.profile-compact .page-heading h1{font-size:1.8rem}.profile-compact .page-heading p.muted{font-size:.8rem}.account-entry.compact-account{border-radius:18px;flex-wrap:wrap;padding:16px}.compact-account strong{flex:1}.compact-account .button-row{gap:8px}@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}.profile-more{border:1px solid var(--border);border-radius:18px;margin:16px 0;padding:16px}.profile-more>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:800;display:flex}.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}}
.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}.practice-hub-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.practice-hub-heading>div{min-width:0}.practice-hub-heading .eyebrow{color:var(--muted);margin:0 0 5px;font-size:.8125rem;line-height:1.5}.practice-hub .practice-hub-heading h1{margin:0;font-size:clamp(1.65rem,4vw,2.25rem);font-weight:900;line-height:1.18}.practice-heading-emblem{width:64px;height:64px;color:var(--link);background:var(--practice-card);border:1px solid var(--practice-edge);box-shadow:inset 0 2px 0 var(--practice-highlight),0 3px 6px var(--practice-shadow);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.practice-heading-emblem svg{stroke-width:1.8px;width:32px;height:32px}.practice-hub .practice-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.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){padding:16px max(14px,var(--safe-area-right)) 30px max(14px,var(--safe-area-left))}.practice-hub-heading{margin-bottom:14px}.practice-hub-heading .eyebrow{font-size:.75rem}.practice-hub .practice-hub-heading h1{font-size:clamp(1.45rem,6vw,1.85rem)}.practice-heading-emblem{width:52px;height:52px}.practice-heading-emblem svg{width:28px;height:28px}.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-heading{gap:8px}.practice-heading-emblem{width:44px;height:44px}.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(128px,.75fr) minmax(0,1.25fr);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{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:has(.task-session) .main-shell{margin-left:0;padding-bottom:0}: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-inline: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}.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 .dialogue-task{box-shadow:none;background:0 0;border:0;padding:16px 0}.task-session .dialogue-task>.pill{display:none}.task-session .dialogue-tasks>.mission-next{justify-content:center;width:100%;min-height:54px}.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;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-translation-toggle{align-self:center;min-height:44px;margin-bottom:20px}.lesson-part-complete{text-align:center;align-items:center;gap:20px}.part-celebration-scene{flex-direction:column;align-items:center;gap:14px;width:100%;margin-block:auto;display:flex}.lesson-part-complete h2{margin:0;font-size:clamp(1.55rem,5.5vw,2rem)}.part-celebration-puzzle .englishko-puzzle{width:clamp(132px,22svh,182px);height:auto}.part-celebration-puzzle .puzzle-piece-arriving{transform-box:fill-box;transform-origin:50%;animation:.8s .15s both part-piece-snap}.part-celebration-friend{flex-direction:column;align-items:center;width:min(100%,220px);padding-top:6px;animation:.42s 1s both part-friend-enter;display:flex;position:relative}.part-celebration-lion{aspect-ratio:1;transform-origin:50% 80%;width:clamp(112px,19svh,158px);animation:.55s 1.5s both part-lion-nod;position:relative}.part-celebration-lion img{object-fit:contain;width:100%;height:100%;display:block}.part-celebration-lion .lion-open-eye{opacity:0;animation:.34s 1.66s both part-lion-wink;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{z-index:1;border:2px solid var(--border);background:var(--surface);max-width:100%;color:var(--ink);transform-origin:50% 100%;border-bottom-width:4px;border-radius:20px;margin-bottom:8px;padding:8px 22px;font-size:1.35rem;font-weight:800;line-height:1.2;animation:.32s 1.94s both part-bubble-pop;position:relative}.part-celebration-bubble:after{content:"";background:var(--surface);border-right:2px solid var(--border);border-bottom:2px solid var(--border);width:12px;height:12px;position:absolute;bottom:-8px;left:calc(50% - 6px);transform:rotate(45deg)}.part-celebration-spark{color:var(--primary-edge);font-size:1.75rem;animation:.6s 1.94s both part-spark-pop;position:absolute}.spark-one{top:46%;left:2px;transform:rotate(-12deg)}.spark-two{font-size:1.25rem;top:67%;right:4px;transform:rotate(15deg)}@keyframes part-piece-snap{0%{opacity:.2;filter:grayscale();transform:translate(9px,-10px)scale(.9)}62%{opacity:1;filter:grayscale(0);transform:translate(-.6px,.7px)scale(1.035)}to{opacity:1;filter:none;transform:none}}@keyframes part-friend-enter{0%{opacity:0;transform:translateY(14px)scale(.9)}to{opacity:1;transform:none}}@keyframes part-lion-nod{0%,to{transform:none}48%{transform:rotate(-8deg)scale(1.04)}}@keyframes part-lion-wink{0%,18%{opacity:1}62%,to{opacity:0}}@keyframes part-bubble-pop{0%{opacity:0;transform:translateY(7px)scale(.75)}70%{opacity:1;transform:scale(1.06)}to{opacity:1;transform:none}}@keyframes part-spark-pop{0%{opacity:0;scale:.4}to{opacity:1;scale:1}}@media (prefers-reduced-motion:reduce){.part-celebration-friend,.part-celebration-bubble,.part-celebration-spark{opacity:1;transform:none}.part-celebration-lion .lion-open-eye{opacity:0}}:root[data-motion=reduced] .part-celebration-friend,:root[data-motion=reduced] .part-celebration-bubble,:root[data-motion=reduced] .part-celebration-spark{opacity:1;transform:none}:root[data-motion=reduced] .part-celebration-lion .lion-open-eye{opacity:0}@media (max-height:560px) and (min-width:600px){.lesson-part-complete{gap:8px;padding-top:0}.part-celebration-scene{grid-template-columns:1fr 1fr;justify-items:center;gap:6px;display:grid}.part-celebration-scene h2{grid-column:1/-1;font-size:1.5rem}.part-celebration-puzzle .englishko-puzzle{width:110px}.part-celebration-lion{width:90px}.part-celebration-bubble{margin-bottom:4px;padding:5px 18px;font-size:1.1rem}.lesson-part-complete>.exercise-bottom{padding-top:10px}}@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,.exercise-instruction,.rubric,.production-feedback,.ek-writing-rubric,.grammar-theory,.grammar-goal,.grammar-english,.grammar-translation,.grammar-example-note,.ek-reference-theory,.speech-reference,.dialogue-bubble>div,.dialogue-transcript,.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,.lab-workspace .page-heading h1,.ek-item .field,.ek-item select,.match-card-text,.dialogue-task>h2,.dialogue-task .answer,.dialogue-order .secondary,.dialogue-word-bank .secondary,.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,.lab-workspace .page-heading h1,.dialogue-task>h2{font-weight:400}.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){.sidebar{height:auto}.sidebar nav{flex-flow:row;height:auto;min-height:78px;display:flex}.sidebar .nav-link{letter-spacing:normal;overflow-wrap:normal;flex:auto;min-width:44px;font-size:.75rem;line-height:1.25}}@media (max-width:360px){.sidebar .nav-link{font-size:.6875rem}}
