/* Responsive refinements shared by the browser app and installed PWA.
   Explicit fallbacks preserve the layout in Safari 12. */
:root{--muted:#65735f}
html{-webkit-text-size-adjust:100%}
body{overflow-wrap:break-word}
button,input,select,summary{touch-action:manipulation}
button{min-height:44px}
button:focus,a:focus,input:focus,select:focus,summary:focus{outline-color:#a87520}
img,svg{max-width:100%}
.mobile-only,.mobile-more-button{display:none!important}
.topbar,.main-footer{max-width:1240px;margin-left:auto;margin-right:auto}
.sidebar{overflow-y:auto;-webkit-overflow-scrolling:touch}
.brand-caption{font-size:9px;line-height:1.6;letter-spacing:1.3px;color:#64735e}
.nav-item{font-size:14px;color:#626f5b}
.parent-link{font-size:13px;color:#626f5b}
.sidebar-foot{font-size:10px;line-height:1.7;color:#67755f}
.topbar-label,.connection,.topbar-status{font-size:11px;color:#61735a}
.eyebrow{font-size:11px;line-height:1.6;color:#62755b;letter-spacing:1.6px}
.intro-row p{font-size:15px;line-height:1.7;color:#65735f}
.pill{font-size:12px;color:#62725b}
.hero-label{font-size:10px;line-height:1.6;color:#586e4d;letter-spacing:1.25px}
.hero p{font-size:14px;line-height:1.8;color:#5e7352;max-width:265px}
.primary,.secondary{font-size:14px;min-height:48px}
.primary{padding:14px 20px}
.text-button{font-size:13px;min-height:44px}
.daily-top h3{font-size:17px}
.daily-card>p,.daily-note{font-size:12px;line-height:1.6;color:#627650}
.goal-ring>span{font-size:11px;color:#61724f}
.section-head p{font-size:13px;line-height:1.7;color:#64755a}
.category-body h3{font-size:15px;line-height:1.45}
.category-meta{font-size:11px;line-height:1.5;color:#65765b;flex-wrap:wrap}
.word-count-badge,.results-line,.offline-status{font-size:13px;line-height:1.7;color:#63755a}
.word-grid{align-items:stretch}
.word-card{display:flex;flex-direction:column;min-width:0}
.word-visual{height:155px;flex-shrink:0}
.word-card-body{display:flex;flex:1;flex-direction:column;padding:16px}
.word-title-button{font-size:26px;line-height:1.25;min-height:44px;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.word-translation{font-size:14px;line-height:1.6;color:#63765a;margin-top:5px}
.word-pronunciation{font-size:12px;line-height:1.6;color:#64775b;margin-top:7px}
.word-card-bottom{margin-top:auto;padding-top:13px}
.word-card-bottom>span{font-size:10px;line-height:1.6;color:#62765a;letter-spacing:.65px}
.favourite,.small-listen,.round-listen,.close-button{width:44px;height:44px;min-width:44px;min-height:44px}
.favourite{font-size:24px}
.learned-check{font-size:11px;line-height:1.5;padding:5px 8px;max-width:calc(100% - 70px)}
.word-today .eyebrow{font-size:9px;line-height:1.6;color:#75643e;letter-spacing:1.2px}
.today-english{font-size:12px;line-height:1.6;color:#756b51}
.tip-card h3{font-size:14px;line-height:1.6}
.tip-card p{font-size:12px;line-height:1.75;color:#64755b}
.main-footer{display:block;font-size:11px;line-height:1.8;color:#63745b}
.footer-tagline{display:flex;flex-wrap:wrap;justify-content:space-between}
.footer-tagline>span{margin-right:16px}
.footer-credits{margin-top:12px;font-size:12px;line-height:1.8}
.footer-credits a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:3px}
.footer-credits a:focus{outline:3px solid #a87520;outline-offset:3px}
.footer-offline-status{margin-top:8px;font-size:11px;line-height:1.8}
.searchbox input,.select{font-size:15px;min-height:48px}
.chip{font-size:13px;min-height:44px;padding:10px 15px}
.pagination{font-size:14px;line-height:1.6}
.stat-box p{font-size:13px;line-height:1.6;color:#62765a}
.practice-card p,.notice,.settings-card p,.settings-card details{font-size:14px;line-height:1.8;color:#62745a}
.practice-card h2{font-size:23px;line-height:1.3}
.settings-card label{font-size:14px;line-height:1.7}
.settings-card summary{min-height:44px;padding:11px 0;line-height:1.7}
.setting-status,.install-steps,.readiness-list,.source-links{font-size:13px;line-height:1.9;color:#5e7353}
.source-links a{min-height:44px;padding:6px 0}
.book-actions,.audio-buttons{align-items:center}
.lesson-top{position:-webkit-sticky;position:sticky;top:0;background:var(--paper);z-index:3}
.lesson-top>span{font-size:12px;line-height:1.6}
.lesson-word .eyebrow{font-size:10px}
.lesson-word h1{font-size:46px;line-height:1.2}
.lesson-meaning{font-size:22px;line-height:1.4;color:#5e7650}
.phonetic{font-size:15px;line-height:1.6;color:#687d59}
.example-card p{font-size:17px;line-height:1.65}
.example-card small{font-size:13px;line-height:1.65;color:#62765a}
.lesson-feedback{font-size:14px;line-height:1.75;color:#5a744e}
.picture-caption{font-size:10px;line-height:1.5;color:#556448}
.quiz-intro p{font-size:14px;line-height:1.7;color:#62765a}
.quiz-option p{font-size:15px;line-height:1.6;min-height:52px}
.consent-dialog p{font-size:14px;line-height:1.8;color:#62745a}
.nav-overflow{width:480px;max-width:100%;max-height:calc(100vh - 32px);overflow-y:auto;-webkit-overflow-scrolling:touch;background:var(--paper);border-radius:24px;padding:26px;box-shadow:0 24px 80px rgba(15,33,24,.2)}
.nav-overflow h2{font-size:25px;line-height:1.3}
.nav-overflow p{font-size:14px;line-height:1.7;color:#62745a}
.more-nav-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.more-nav-grid>button,.more-nav-grid>a{display:flex;align-items:center;justify-content:center;min-height:76px;padding:15px 12px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--green);font-size:14px;line-height:1.5;text-align:center;text-decoration:none}
@media(min-width:1600px){
 .word-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
 .word-visual{height:165px}
}
@media(min-width:901px){
 .hero-copy{max-width:76%}
 .hero{min-height:344px}
 .hero h2{font-size:44px}
 .daily-card{padding:25px}
 .category-cover{height:135px}
 .word-grid{gap:18px}
}
@media(min-width:701px) and (max-width:1150px){
 .nav-item{font-size:12px;padding-left:9px;padding-right:9px}
 .brand-caption{font-size:8px;letter-spacing:.9px}
 .sidebar-foot{font-size:9px}
 .hero h2{font-size:36px}
 .hero-copy{padding:23px;max-width:94%}
 .hero p{font-size:12px;max-width:205px;line-height:1.7}
 .hero-label{font-size:8px;letter-spacing:.9px}
 .daily-card{padding:23px 15px}
 .daily-top h3{font-size:14px}
 .daily-card>p,.daily-note{font-size:11px}
 .category-body{padding:12px 10px}
 .category-body h3{font-size:13px}
 .category-meta{font-size:10px;display:block}
 .category-meta span{display:block;margin-top:3px}
 .word-card-body{padding:13px}
 .word-title-button{font-size:24px}
 .word-translation{font-size:13px}
 .word-pronunciation{font-size:11px}
 .word-visual{height:135px}
 .today-english{font-size:11px}
 .tip-card p{font-size:11px}
 .topbar-label{font-size:9px;letter-spacing:1.1px}
 .lesson-word h1{font-size:40px}
 .lesson-card-layout{gap:24px}
}
@media(min-width:701px) and (max-width:900px){
 .intro-row{align-items:flex-start;gap:12px}
 .intro-row h1{font-size:27px;line-height:1.2}
 .intro-row p{font-size:14px}
 .intro-row .pill{font-size:10px;padding:9px}
 .hero-grid{grid-template-columns:minmax(0,1.65fr) minmax(155px,1fr)}
 .hero-copy{padding:21px;max-width:100%}
 .hero h2{font-size:33px}
 .hero p{max-width:190px}
 .hero .primary{font-size:12px;padding:13px 14px}
 .home-bottom{grid-template-columns:1fr}
 .word-today{padding:18px}
 .tip-card{padding:18px}
 .tip-card p{font-size:12px}
 .topbar-stars{font-size:12px;padding-left:0;border:0}
 .topbar-status{gap:12px}
 .main-footer{font-size:10px;gap:16px}
}
@media(max-width:700px){
 .desktop-nav-only{display:none!important}
 .mobile-only,.mobile-more-button{display:flex!important}
 .workspace{padding:0 16px 100px;padding-left:calc(16px + env(safe-area-inset-left));padding-right:calc(16px + env(safe-area-inset-right));padding-bottom:calc(100px + env(safe-area-inset-bottom))}
 .sidebar{height:76px;height:calc(76px + env(safe-area-inset-bottom));padding:5px 6px;padding-left:calc(6px + env(safe-area-inset-left));padding-right:calc(6px + env(safe-area-inset-right));padding-bottom:calc(5px + env(safe-area-inset-bottom));overflow:visible}
 .nav-list{display:flex;align-items:stretch;justify-content:space-between;gap:0;width:100%}
 .nav-item,.mobile-more-button{flex:1 1 0;min-width:0;min-height:64px;padding:7px 2px;gap:4px;font-size:10px;line-height:1.3;text-align:center;align-items:center;justify-content:center;flex-direction:column;border-radius:10px;background:transparent;color:#626f5b}
 .nav-icon{font-size:23px;line-height:25px;height:25px;width:27px}
 .nav-item>span:last-child,.mobile-more-button>span:last-child{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .no-flex-gap .nav-list>.nav-item+.nav-item{margin-left:0}
 .no-flex-gap .nav-item>span+span{margin-top:4px}
 .topbar{height:74px}
 .topbar-status{gap:10px;font-size:12px}
 .topbar-stars{font-size:12px;white-space:nowrap}
 .no-flex-gap .topbar-status>*+*{margin-left:10px}
 .mobile-brand{font-size:32px}
 .page{padding-top:25px}
 .intro-row{display:block;margin-bottom:22px}
 .intro-row h1{font-size:28px;line-height:1.2;letter-spacing:-.8px}
 .intro-row p{font-size:14px;line-height:1.7;margin-top:9px}
 .intro-row .pill{display:inline-flex;align-items:center;max-width:100%;font-size:11px;line-height:1.5;white-space:normal;margin-top:13px;padding:8px 11px}
 .intro-row .word-count-badge{display:inline-block;margin-top:13px}
 .no-flex-gap .intro-row>*+*{margin-left:0}
 .eyebrow{font-size:10px;letter-spacing:1.4px}
 .hero{min-height:320px}
 .hero-copy{padding:26px 24px;max-width:100%;width:100%}
 .hero h2{font-size:38px;line-height:1.1;max-width:280px}
 .hero-label{font-size:8px;letter-spacing:1px;max-width:100%;margin-bottom:16px}
 .hero p{font-size:13px;max-width:230px;line-height:1.75;margin-top:14px;margin-bottom:22px}
 .hero-art{width:47%}
 .hero-art:after{background:linear-gradient(90deg,#e6eddd 0%,rgba(230,237,221,.72) 45%,rgba(230,237,221,.06) 100%)}
 .hero-stamp{display:none}
 .primary,.secondary{font-size:14px;line-height:1.5;min-height:48px;padding:13px 17px}
 .primary .arrow{font-size:18px}
 .daily-card{padding:21px;grid-template-columns:minmax(0,1fr) 88px;gap:6px 12px}
 .daily-top h3{font-size:16px}
 .daily-card>p{font-size:12px;line-height:1.6}
 .daily-note{font-size:11px;line-height:1.6;margin-top:8px;padding:9px;max-width:100%}
 .goal-ring{width:82px;height:82px;justify-self:end}
 .goal-ring strong{font-size:26px}
 .goal-ring>span{font-size:10px}
 .section-head{align-items:flex-start;gap:12px;margin:28px 0 16px}
 .section-head h2{font-size:23px;line-height:1.25}
 .section-head p{font-size:12px;line-height:1.6}
 .text-button{font-size:12px;line-height:1.5;padding:10px 0}
 .section-head .text-button{max-width:98px;text-align:right;flex-shrink:0}
 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .category-cover{height:132px}
 .category-body{padding:13px 12px}
 .category-body h3{font-size:14px;line-height:1.4}
 .category-meta{display:block;font-size:11px;line-height:1.5;margin-top:7px}
 .category-meta span{display:block;margin-top:3px}
 .home-bottom{grid-template-columns:1fr;gap:13px;margin-top:22px}
 .word-today{padding:18px;gap:12px}
 .today-photo{width:65px;height:78px}
 .today-greek{font-size:28px;line-height:1.2}
 .today-english{font-size:12px;line-height:1.6;margin-top:6px}
 .word-today .eyebrow{font-size:8px;letter-spacing:1px}
 .word-today .round-listen{margin-left:auto;flex-shrink:0}
 .no-flex-gap .word-today>*+*{margin-left:12px}
 .no-flex-gap .word-today>.round-listen{margin-left:auto}
 .tip-card{padding:19px;gap:13px}
 .tip-card h3{font-size:14px}
 .tip-card p{font-size:12px}
 .main-footer{display:block;font-size:11px;line-height:1.8;margin-top:27px;padding:20px 0}
 .main-footer>span{display:block}
 .main-footer>span+span{margin-top:6px}
 .toolbar{gap:10px;margin-top:22px}
 .searchbox input,.select{font-size:16px;min-height:50px}
 .searchbox input{padding-right:12px}
 .book-actions{display:flex;flex-wrap:wrap;gap:9px}
 .book-actions>button{flex:1 1 140px}
 .word-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .word-visual{height:142px}
 .word-card-body{padding:13px 11px}
 .word-title-button{font-size:25px;line-height:1.25;min-height:44px}
 .word-translation{font-size:13px;line-height:1.55}
 .word-pronunciation{font-size:12px;line-height:1.6;letter-spacing:0}
 .word-card-bottom>span{font-size:9px;line-height:1.5;letter-spacing:.5px;max-width:calc(100% - 48px)}
 .favourite{top:7px;right:7px}
 .learned-check{font-size:10px;max-width:calc(100% - 66px);padding:5px 6px}
 .pagination{gap:12px;font-size:12px;flex-wrap:wrap}
 .pagination .secondary{padding:12px 13px}
 .chip{font-size:12px;min-height:44px;padding:10px 13px}
 .stat-box{padding:17px 12px}
 .stat-box p{font-size:12px;line-height:1.6}
 .stat-box strong{font-size:27px}
 .practice-card{padding:23px}
 .practice-card h2{font-size:25px}
 .practice-card p{font-size:14px;line-height:1.8}
 .notice{font-size:13px;line-height:1.8;padding:16px}
 .settings-card{padding:22px 19px}
 .settings-card h2{font-size:23px;line-height:1.3}
 .settings-card p,.settings-card label{font-size:14px}
 .settings-card .select{max-width:124px;font-size:15px;padding:11px}
 .settings-card .secondary{max-width:100%;margin-right:0}
 .install-steps{padding-left:20px;font-size:13px}
 .modal-overlay{padding:8px;padding-top:calc(8px + env(safe-area-inset-top));padding-right:calc(8px + env(safe-area-inset-right));padding-bottom:calc(8px + env(safe-area-inset-bottom));padding-left:calc(8px + env(safe-area-inset-left));overflow-y:auto}
 .lesson-dialog{max-width:100%;width:560px;max-height:calc(100vh - 16px);max-height:calc(100vh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:20px}
 .lesson-top{padding:14px;gap:12px}
 .lesson-top>span{font-size:10px;line-height:1.6;min-width:92px;max-width:calc(100% - 100px)}
 .lesson-content{padding:20px 18px}
 .lesson-card-layout{grid-template-columns:1fr;gap:21px}
 .lesson-picture{height:210px}
 .lesson-picture .pictogram{font-size:90px}
 .lesson-word h1{font-size:43px;line-height:1.2}
 .lesson-meaning{font-size:22px;line-height:1.4}
 .phonetic{font-size:15px;line-height:1.6;margin:9px 0 17px}
 .audio-buttons{gap:9px}
 .audio-buttons .primary{font-size:14px;min-height:48px;padding:12px 17px}
 .example-card{margin-top:20px;padding-top:18px}
 .example-card p{font-size:16px;line-height:1.65}
 .example-card small{font-size:13px;line-height:1.7}
 .example-card .text-button{font-size:13px}
 .lesson-feedback{font-size:13px;line-height:1.8;margin-top:20px;padding:14px}
 .lesson-actions{gap:10px;flex-wrap:wrap;padding-top:18px}
 .lesson-actions .primary,.lesson-actions .secondary{font-size:13px;min-height:48px;padding:12px 14px;flex:1 1 124px}
 .no-flex-gap .lesson-actions>*+*{margin-left:0}
 .no-flex-gap .lesson-actions>*{margin:0 8px 8px 0}
 .quiz-intro h2{font-size:25px;line-height:1.25}
 .quiz-intro p{font-size:13px;line-height:1.7}
 .quiz-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .quiz-option .option-image{height:136px}
 .quiz-option p{font-size:14px;line-height:1.55;padding:13px 8px;min-height:49px}
 .consent-dialog,.nav-overflow{width:480px;padding:24px 20px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;-webkit-overflow-scrolling:touch}
 .consent-dialog h2,.nav-overflow h2{font-size:25px;line-height:1.3}
 .consent-dialog p,.nav-overflow p{font-size:14px;line-height:1.8}
 .dialog-buttons{gap:10px}
 .dialog-buttons>button{flex:1 1 160px}
 .more-nav-grid{gap:10px}
 .more-nav-grid>button,.more-nav-grid>a{font-size:14px;min-height:80px;padding:14px 9px}
 .session-finish{padding:28px 8px}
 .session-finish h1{font-size:30px;line-height:1.3}
 .session-finish p{font-size:14px}
 #toast{bottom:92px;bottom:calc(92px + env(safe-area-inset-bottom));font-size:13px;line-height:1.7;padding:14px 18px;width:calc(100% - 32px);max-width:430px}
}
@media(max-width:359px){
 .workspace{padding-left:14px;padding-right:14px}
 .intro-row h1{font-size:26px}
 .hero-copy{padding:24px 20px}
 .hero h2{font-size:33px;max-width:240px}
 .hero p{font-size:12px;max-width:205px}
 .hero-label{font-size:7px;letter-spacing:.8px}
 .hero .primary{font-size:13px;padding-left:15px;padding-right:15px}
 .daily-card{padding:18px 16px;grid-template-columns:minmax(0,1fr) 78px;gap:6px 10px}
 .daily-top h3{font-size:15px}
 .goal-ring{width:76px;height:76px}
 .daily-note{font-size:10px}
 .category-cover{height:112px}
 .category-body{padding:12px 10px}
 .category-body h3{font-size:13px}
 .word-grid{gap:10px}
 .word-visual{height:125px}
 .word-card-body{padding:12px 9px}
 .word-title-button{font-size:23px}
 .word-translation{font-size:12px}
 .word-pronunciation{font-size:11px}
 .word-today{padding:15px 12px;gap:10px}
 .today-photo{width:53px;height:72px}
 .today-greek{font-size:26px}
 .today-english{font-size:11px}
 .tip-card{padding:17px}
 .stat-box{padding:15px 9px}
 .stat-box p{font-size:11px}
 .lesson-content{padding:18px 14px}
 .lesson-picture{height:185px}
 .lesson-word h1{font-size:39px}
 .lesson-top{padding:12px}
 .quiz-option .option-image{height:112px}
 .quiz-option p{font-size:13px}
 .consent-dialog,.nav-overflow{padding:22px 18px}
}
@media(max-height:600px) and (min-width:701px){
 .sidebar{padding-top:18px;padding-bottom:15px}
 .brand-caption{margin-bottom:18px}
 .sidebar-bottom{padding-top:18px}
 .seed-card,.sidebar-foot{display:none}
 .parent-link{margin-top:10px}
 .modal-overlay{padding:10px}
 .lesson-dialog{max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px)}
 .lesson-top{padding:12px 18px}
 .lesson-content{padding:22px}
 .lesson-picture{height:210px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
/* Learning-map and game labels stay readable on small screens. */
.journey-page-heading>div>p:last-child{font-size:15px;color:#64755a}
.journey-hero-label{font-size:10px;line-height:1.6;color:#5c724f}
.journey-hero-copy>p:not(.journey-hero-label){font-size:14px;line-height:1.8;color:#5f7552}
.journey-next-card>div>span{font-size:10px;line-height:1.5;color:#65755b}
.journey-next-card strong{font-size:16px;line-height:1.5}
.journey-next-card small{font-size:12px;line-height:1.6;color:#65755b}
.journey-next-card .primary{font-size:13px;min-height:48px}
.journey-stats p>span,.journey-chapter-description,.journey-map-heading p,.journey-footnote{font-size:13px;line-height:1.7;color:#65765a}
.journey-chapter-kicker{font-size:10px;line-height:1.6;letter-spacing:.9px;color:#5c6f45}
.journey-chapter-count>small{font-size:11px;line-height:1.5;color:#66765c}
.journey-stop{min-height:156px}
.journey-stop strong{font-size:17px;line-height:1.45}
.journey-stop-meta{font-size:10px;line-height:1.6;color:#65765a}
.journey-next-label,.journey-complete-label{font-size:9px;line-height:1.5;color:#677348}
.journey-word-preview{font-size:13px;line-height:1.7;color:#65765a}
.journey-stop-bottom{font-size:12px;line-height:1.7;color:#64755b;flex-wrap:wrap}
.journey-stop-cta{font-size:12px;line-height:1.7}
.games-choice>p:not(.eyebrow),.games-board-top p:not(.eyebrow),.games-complete>p:not(.eyebrow){color:#62745a}
.games-kind-note{color:#646e50;line-height:1.8}
.games-greek-select>small,.games-found-label{font-size:12px;color:#607550}
.games-pair-column>h2>span,.games-slots-label>span{font-size:12px;color:#64755a;line-height:1.6}
.games-builder .games-feedback,.games-feedback{font-size:14px;line-height:1.8}
.games-builder-tools .text-button{font-size:13px;min-height:44px}
.games-clue-copy .eyebrow{font-size:10px;line-height:1.6}
@media(max-width:700px){
 .journey-page-heading h1{font-size:28px;line-height:1.25}
 .journey-page-heading>div>p:last-child{font-size:14px;line-height:1.7}
 .journey-hero-label{font-size:9px}
 .journey-hero-copy>p:not(.journey-hero-label){font-size:13px;line-height:1.8}
 .journey-next-card strong{font-size:16px}
 .journey-next-card small{font-size:12px}
 .journey-next-card .primary{font-size:14px;min-height:48px}
 .journey-stats p>span,.journey-progress-stat p>span{font-size:11px;line-height:1.6}
 .journey-map-heading h2{font-size:23px;line-height:1.3}
 .journey-map-heading p{font-size:13px;line-height:1.7}
 .journey-map-heading button{font-size:12px;line-height:1.6;min-width:74px}
 .journey-chapter-summary{padding:16px 14px}
 .journey-chapter-scene{width:48px;height:61px;margin-right:11px}
 .journey-chapter-kicker{font-size:9px;letter-spacing:.6px}
 .journey-chapter-copy h2{font-size:18px;line-height:1.35}
 .journey-chapter-description{font-size:12px;line-height:1.6}
 .journey-chapter-right{margin-left:8px}
 .journey-trail{padding:17px 13px 21px 22px}
 .journey-stop{padding:16px 13px;min-height:150px}
 .journey-stop strong{font-size:17px}
 .journey-stop-meta{font-size:10px;letter-spacing:.5px}
 .journey-word-preview{font-size:12px}
 .journey-stop-bottom{font-size:11px;display:block}
 .journey-stop-cta{display:block;font-size:12px;margin:6px 0 0}
 .journey-next-label,.journey-complete-label{font-size:9px;margin-left:5px}
 .journey-footnote{font-size:12px;line-height:1.8}
 .games-greek-select>small{font-size:11px;line-height:1.4}
 .games-found-label{font-size:11px!important;line-height:1.4}
 .games-pair-column>h2>span,.games-slots-label>span{font-size:11px;line-height:1.5}
 .games-greek-card>.games-listen>span{font-size:12px}
 .games-english-card{font-size:14px;line-height:1.4}
 .games-builder .games-feedback,.games-feedback{font-size:13px;line-height:1.8}
 .games-builder-tools .text-button{font-size:13px}
 .games-clue-copy .eyebrow{font-size:9px;line-height:1.6;letter-spacing:.7px}
 .games-board-top p:not(.eyebrow){font-size:14px;line-height:1.8}
}
@media(max-width:359px){
 .journey-chapter-summary{padding-left:12px;padding-right:12px}
 .journey-chapter-scene{width:42px;margin-right:9px}
 .journey-chapter-copy h2{font-size:17px}
 .journey-chapter-description{font-size:11px}
 .journey-stop-marker{margin-right:10px}
 .journey-stop strong{font-size:16px}
 .journey-next-label,.journey-complete-label{display:block;max-width:max-content;margin:4px 0 0}
}
@media(max-width:700px){
 .nav-item>span[data-mobile-label]{font-size:0;line-height:1.3}
 .nav-item>span[data-mobile-label]:after{content:attr(data-mobile-label);font-size:10px;line-height:1.3}
}
/* Matching rows grow together when a child enlarges text. */
@media(max-width:700px){
 .games-pair-column{display:grid;grid-template-rows:minmax(33px,auto) repeat(4,minmax(min-content,1fr));grid-row-gap:10px;align-content:stretch;min-width:0}
 .games-pair-column>h2{margin-bottom:0}
 .games-pair-board .games-greek-card,.games-pair-board .games-english-card{height:auto;min-height:122px;min-width:0;margin-bottom:0;align-self:stretch}
 .games-pair-board .games-greek-select{height:auto;min-height:118px;padding-bottom:64px}
 .games-pair-board .games-greek-card>.games-listen{height:auto;min-height:44px}
 .games-greek-select>span[lang]{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
 .games-pair-picture{max-width:100%}
}

/* Keep instructional and progress text legible on pale cards. */
.hero p{color:#566d48}
.week-day>span{color:#596e4b;font-size:12px}
.growth-stats p,.badge-card p,.badge-card small,.setting-status{color:#566d48}
.badge-card p{font-size:13px}.badge-card small{font-size:11px}
.games-feedback,.games-builder .games-feedback{color:#526c42}
.games-feedback-try{color:#795d2b}.games-feedback-success{color:#3c6733}
.alphabet-page{--alphabet-muted:#566d48}
.alphabet-name-help,.alphabet-example-pronunciation,.alphabet-special-note,.alphabet-tile-name,.alphabet-game-copy>p:not(.alphabet-eyebrow),.alphabet-reading-tip>p,.alphabet-voice-note{color:#566d48}
.learned-check{color:#456a32}
.journey-next-label,.journey-complete-label{color:#56673a}
.journey-chapter-count{color:#647441}
.journey-stop-marker{color:#5c704b}
@media(max-width:700px){.badge-card p{font-size:12px}.growth-stats p{font-size:12px}}
.settings-card .setting-status{color:#566d48}

.alphabet-card-top,.alphabet-type,.alphabet-big-letters small,.alphabet-letter-name>small,.alphabet-card-nav>span,.alphabet-key,.alphabet-section-heading>div>p:last-child:not(.alphabet-eyebrow),.alphabet-pair-heading>span{color:#566d48}
.alphabet-card-top{font-size:11px;flex-wrap:wrap}
.alphabet-type{font-size:10px}.alphabet-big-letters small{font-size:10px}
.alphabet-card-nav>span,.alphabet-key{font-size:11px}
.alphabet-tile-letters>span{color:#566d48}
.goal-ring strong span,.alphabet-progress>strong>small,.journey-stats strong>small{color:#64745a}
@media(max-width:700px){
 .lexi-games .games-letter{width:auto;height:auto;min-width:44px;min-height:52px;padding:8px}
}
@media(max-width:700px){
 .topbar{height:calc(74px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}
 .consent-dialog,.nav-overflow{max-height:calc(100vh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
}
.nav-overflow{width:100%;min-width:0;max-width:480px}
.more-title-row>div{min-width:0}
.more-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.more-nav-grid>button,.more-nav-grid>a{min-width:0;overflow-wrap:anywhere;word-break:break-word}
/* Larger text can use another header line without squeezing the app viewport. */
@media(max-width:700px){
 .topbar{height:auto;min-height:calc(74px + env(safe-area-inset-top))}
 .topbar>div:first-child{flex-shrink:0}
 .topbar-status{flex:1 1 auto;min-width:0;flex-wrap:wrap;justify-content:flex-end;row-gap:4px;margin-left:12px}
 .save-state{max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
}
.week-chart{overflow-x:auto;overscroll-behavior-x:contain}
.avatar{width:auto;height:auto;min-width:44px;min-height:44px;flex-shrink:0;line-height:1;padding:6px}
.home-bottom{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.word-today,.tip-card,.word-today>div:nth-child(2),.tip-card>div{min-width:0}
.today-photo{flex-shrink:0}
.today-greek{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:900px){.home-bottom{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){
 .journey-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .journey-stats p{min-width:0;overflow-wrap:anywhere;word-break:break-word}
 .journey-progress-stat>p{flex-wrap:wrap;justify-content:center}
 .journey-progress-stat p>span{margin-left:8px}
 .journey-map-heading>div{min-width:0}
 .journey-map-heading button{flex-shrink:0}
 .journey-trail{grid-template-columns:minmax(0,1fr)}
 .alphabet-header{flex-wrap:wrap}
 .alphabet-header>div:first-child{flex:1 1 170px;min-width:0}
 .alphabet-header h1{overflow-wrap:anywhere;word-break:break-word}
 .alphabet-study{grid-template-columns:minmax(0,1fr)}
 .alphabet-letter-panel,.alphabet-sound-panel{min-width:0}
 .alphabet-big-letters{flex-wrap:wrap}
 .alphabet-big-letters>span{max-width:100%}
 .alphabet-example,.alphabet-section-heading,.alphabet-pair-heading{flex-wrap:wrap}
 .alphabet-example>div{min-width:0}
 .alphabet-example-greek{overflow-wrap:anywhere;word-break:break-word}
 .alphabet-game-invitation{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)}
 .alphabet-game-copy{min-width:0;overflow-wrap:anywhere;word-break:break-word}
 .alphabet-tile-letters{white-space:normal;overflow-wrap:anywhere;word-break:break-word}
 .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .stat-box{min-width:0;overflow-wrap:anywhere;word-break:break-word}
}
@media(min-width:701px){
 .app-shell{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
 .sidebar{left:env(safe-area-inset-left);top:env(safe-area-inset-top);bottom:env(safe-area-inset-bottom)}
 .modal-overlay{padding:16px;padding-top:calc(16px + env(safe-area-inset-top));padding-right:calc(16px + env(safe-area-inset-right));padding-bottom:calc(16px + env(safe-area-inset-bottom));padding-left:calc(16px + env(safe-area-inset-left))}
 .lesson-dialog,.consent-dialog,.nav-overflow{max-height:calc(100vh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
}
