@font-face{font-family:Fredoka;src:url('../assets/FredokaOne.ttf') format('truetype');font-display:swap}
*{box-sizing:border-box}
html{color-scheme:light;scroll-behavior:smooth}
body{margin:0;background:#f7f8ef;color:#224d43;font-family:'Avenir Next','Trebuchet MS',system-ui,sans-serif;font-size:15px;line-height:1.5}
button,input,select{font:inherit}
button{cursor:pointer;touch-action:manipulation}
button:disabled{cursor:default}
button,input,select{ -webkit-tap-highlight-color:transparent}
button{color:inherit}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #317c98;outline-offset:4px}
a{color:#28776a}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(25px,2.1vw,34px);font-weight:850;letter-spacing:-.9px;line-height:1.22}
h2{font-size:21px;line-height:1.3;letter-spacing:-.3px}
h3{font-size:16px;line-height:1.4}
p{line-height:1.65}
button{border:0;background:none}
svg{width:22px;height:22px;flex-shrink:0;vertical-align:middle}
img{max-width:100%;display:block}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;top:-80px;left:10px;z-index:100;padding:12px 18px;background:#fff}
.skip-link:focus{top:10px}
.loading{text-align:center;padding:100px 20px}
.loading img{width:150px;margin:0 auto 20px}
.loading h1{font-family:Fredoka;color:#15826b}
.loading p{margin-top:12px;color:#78866c}
.app-shell{max-width:1960px;min-height:100dvh;margin:auto;display:grid;grid-template-columns:225px minmax(0,1fr)}
.sidebar{position:sticky;top:0;height:100dvh;min-height:700px;border-right:2px solid #e4eadd;background:#fffdf6;padding:27px 19px 19px;display:flex;flex-direction:column;z-index:20}
.brand{display:flex;align-items:flex-start;gap:8px;text-align:left;padding:0 5px;margin-bottom:31px}
.brand>.brand-bird{width:48px;height:63px;object-fit:contain}
.brand>span:not(.brand-bird){font-family:Fredoka;color:#147c68;font-size:29px;line-height:1.03;padding-top:7px}
.brand small{font-family:inherit;display:block;font-size:8px;letter-spacing:1px;color:#708c75;white-space:nowrap;margin-top:11px}
.sidebar nav{display:grid;gap:13px}
.nav-item{display:flex;gap:12px;align-items:center;min-height:57px;padding:12px 14px;border:2px solid transparent;border-radius:17px;font-weight:800;text-align:left;color:#798980;transition:background .15s,transform .15s}
.nav-item svg{width:25px;height:25px}
.nav-item.active{color:#187c67;border-color:#bbdca7;background:#e8f7df;box-shadow:0 3px 0 #d4e8c5}
.nav-item:hover{background:#edf3e4}
.nav-count{margin-left:auto;min-width:23px;height:23px;text-align:center;padding:2px 5px;border-radius:9px;background:#e8d59a;color:#897332;font-size:11px}
.sidebar-bottom{margin-top:auto;padding-top:32px}
.companion{text-align:center;background:#eff6e5;border-radius:24px;padding:16px 12px}
.bird{display:inline-block;position:relative;width:115px;flex-shrink:0}
.bird>img:first-child{width:100%;height:100%;object-fit:contain}
.bird-crown{position:absolute;width:45%;top:-6%;left:22%;transform:rotate(-10deg)}
.companion .bird{width:94px;margin:0 auto 10px}
.companion strong{display:block;line-height:1.35;font-size:17px;font-weight:850}
.companion p{color:#849479;font-size:12px;margin-top:10px}
.companion>span:last-child{display:block;border-radius:11px;background:#fffdf5;padding:9px;font-size:11px;font-weight:700;color:#607c56;margin-top:16px}
.profile{display:flex;align-items:center;gap:9px;margin-top:23px;width:100%;padding:0}
.avatar{width:37px;height:37px;border:3px solid white;border-radius:50%;background:#ffdf96;color:#916b26;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:800;flex-shrink:0}
.profile>span:nth-child(2){text-align:left;min-width:0;flex:1}
.profile b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile small{display:block;font-size:10px;color:#8e9b85;margin-top:2px}
.profile svg{width:16px;height:16px;color:#9faa97}
.app-body{min-width:0}
.topbar{height:90px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 34px;border-bottom:2px solid #e4e9de;background:#fffdf7}
.breadcrumb{display:flex;align-items:center;gap:11px;font-size:12px;color:#849487;white-space:nowrap}
.breadcrumb b{color:#426759}
.breadcrumb svg{width:17px;height:17px}
.resources{display:flex;align-items:center;gap:23px}
.resource{display:flex;align-items:center;gap:7px;padding:6px 0;white-space:nowrap}
.resource b{font-size:19px;font-weight:850}
.resource span{font-size:10px;color:#a69875;font-weight:700}
.resource img{width:30px;height:30px}
.resource.fire{color:#e47b39}
.resource.xp,.resource.xp span{color:#8c6bd0}
.language{display:flex;align-items:center;gap:8px;border:1px solid #dce6d5;border-radius:12px;font-size:11px;font-weight:800;padding:10px;color:#73836d}
.flag{height:17px;width:24px;border-radius:4px;background:linear-gradient(#d75545 0 25%,#f2c957 25% 75%,#d75545 75%)}
.main-content{padding:30px 34px 20px;min-height:calc(100dvh - 145px)}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px;min-height:80px}
.eyebrow{font-size:10px;font-weight:850;letter-spacing:1.8px;color:#629e89;margin-bottom:8px}
.page-heading p{font-size:13px;color:#82907e;margin-top:8px}
.unit-picker{display:flex;align-items:center;gap:4px;white-space:nowrap}
.unit-picker-title{border:1.5px solid #dce5d4;background:#fffdf6;border-radius:13px;padding:12px;display:flex;align-items:center;gap:7px;color:#708564;font-size:12px;font-weight:750}
.unit-picker-title svg{width:17px;height:17px}
.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;border-radius:12px;color:#82977d}
.icon-button:hover{background:#eaf1e0}
.icon-button:disabled{opacity:.3}
.panel{border:2px solid #e0e8d7;border-radius:24px;background:#fffdf7}
.journey-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px;align-items:start}
.journey-aside{display:flex;flex-direction:column;gap:18px}
.island-map{height:750px;position:relative;overflow:hidden;border:5px solid #fffdf5;border-radius:29px;background:#48bac5;box-shadow:0 6px 0 #d6e5d8}
.map-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%;opacity:.94}
.map-shade{position:absolute;inset:0;background:linear-gradient(#53bdc32b,#5298870c 70%,#155d6c30)}
.theme-night .map-shade,.theme-cave .map-shade{background:#0531361c}
.map-tag{position:absolute;top:24px;left:20px;background:#f2fff0ca;border:1px solid #f0ffeeaa;padding:8px 10px;border-radius:11px;font-size:10px;font-weight:800;display:flex;align-items:center;gap:6px;color:#328576}
.map-tag svg{width:14px;height:14px}
.map-guide{position:absolute;top:24px;right:20px;width:38px;height:36px;border:1px solid #f0ffeeaa;background:#f2fff0ca;border-radius:11px;color:#328576}
.wood-sign{position:absolute;top:19px;left:50%;transform:translateX(-50%);width:min(390px,70%);height:145px;background:url('../assets/sign.webp') center/100% 100% no-repeat;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 30px 7px 14px;color:#643a20;text-align:center;text-shadow:0 1px 0 #f4c873}
.wood-sign small{font-size:11px;letter-spacing:2.4px;font-weight:900;margin-bottom:5px}
.wood-sign strong{font-family:Fredoka;font-size:clamp(19px,1.5vw,26px);line-height:1.15;max-width:98%;text-wrap:balance}
.route{position:absolute;width:100%;height:100%;inset:0;pointer-events:none}
.route path{fill:none;stroke:#fff2b9;stroke-width:8;stroke-linecap:round;stroke-dasharray:3 19;filter:drop-shadow(0 3px 1px #44685650)}
.map-step{position:absolute;left:var(--node-x);top:var(--node-y);width:80px;height:68px;transform:translateX(-50%)}
.path-node{width:80px;height:68px;border:4px solid #ddffd4;border-radius:50%;background:linear-gradient(#92d85e,#6dbc3c);box-shadow:0 8px 0 #368450,0 10px 0 2px #2c7d6c66,0 12px 16px #22595830;display:flex;align-items:center;justify-content:center;color:white;transition:transform .15s,box-shadow .15s;position:relative;z-index:2}
.path-node svg{width:29px;height:29px;stroke-width:3}
.path-node:hover{transform:translateY(-4px)}
.path-node:active{transform:translateY(4px);box-shadow:0 4px 0 #368450}
.path-node.current{background:linear-gradient(#ffe277,#ffcc48);border-color:#fff2b0;color:#966c22;box-shadow:0 8px 0 #ae852e,0 0 0 7px #fff7c55e,0 12px 18px #38594340}
.path-node.locked{background:linear-gradient(#d8e9d3,#b6ceba);border-color:#eef9e7;color:#829e8b;box-shadow:0 8px 0 #8daf9f,0 11px 17px #22595830}
.node-callout{position:absolute;white-space:nowrap;top:-47px;left:50%;transform:translateX(-50%);border:2px solid #e8d995;background:#fff8d8;color:#855f25;font-size:10px;font-weight:900;letter-spacing:1px;border-radius:9px;padding:7px 12px;box-shadow:0 3px 0 #2b6c5622;pointer-events:none}
.node-callout:after{content:'';position:absolute;left:calc(50% - 5px);bottom:-7px;width:10px;height:10px;transform:rotate(45deg);background:#fff8d8;border-right:2px solid #e8d995;border-bottom:2px solid #e8d995}
.node-label{position:absolute;left:96px;top:10px;width:max-content;max-width:215px;padding:9px 13px;border:1px solid #f2f4d8;background:#fffef3;border-radius:12px;color:#456f56;text-align:center;box-shadow:0 4px 0 #286a5d2e;line-height:1.3;z-index:3}
.node-label b{display:block;font-size:12px}
.node-label small{display:block;font-size:9px;color:#8ca380;margin-top:4px}
.step-1 .node-label,.step-4 .node-label{left:auto;right:96px}
.map-step.active-step .node-label{background:#fff7d6;color:#886829}
.map-step.active-step .node-label small{color:#b19a55}
.test-step{height:59px}
.test-step .path-node{width:67px;height:57px;margin:auto}
.test-step .node-label{left:85px;top:4px;max-width:180px}
.map-bird{position:absolute;width:126px;right:6%;bottom:129px;transform:rotate(8deg);filter:drop-shadow(0 7px 3px #285a4740);pointer-events:none}
.next-island-strip{position:absolute;bottom:16px;left:16px;right:16px;display:flex;align-items:center;gap:11px;background:#fffef1f2;border:1px solid #fff;border-radius:15px;padding:13px 16px;z-index:4;color:#547b61;min-height:64px}
.next-island-strip>svg{width:18px;height:18px}
.next-island-strip>div{min-width:0}
.next-island-strip b{font-size:11px;display:block}
.next-island-strip small{font-size:9px;color:#86a087;display:block;margin-top:3px}
.strip-action{margin-left:auto;color:#639269;flex-shrink:0}
.daily-card,.lesson-card,.badge-card{padding:21px}
.daily-card h2{display:flex;align-items:center;justify-content:space-between;font-size:18px}
.daily-card h2 svg{color:#a3b484;width:19px;height:19px}
.daily-card p{font-size:11px;color:#8c9a7d;margin:9px 0 16px}
.progress-track{height:13px;background:#e9efdd;border-radius:20px;overflow:hidden}
.progress-track>span{display:block;height:100%;background:linear-gradient(#a9d958,#84bd39);border-top:3px solid #b9e27f;border-radius:20px;transition:width .35s}
.progress-label{display:flex;justify-content:space-between;font-size:10px;margin-top:9px;color:#98a387}
.progress-label b{color:#7a9a49}
.daily-reward{display:flex;align-items:center;gap:7px;font-size:11px;margin-top:18px}
.daily-reward img{width:25px;height:25px}
.daily-reward span{margin-left:auto;font-size:9px;color:#9ba584}
.lesson-card{background:#fff8df;border-color:#eddbab}
.lesson-card .eyebrow{font-size:9px;letter-spacing:1.3px;color:#b59b58}
.lesson-card h2{font-size:24px;margin:10px 0 8px;line-height:1.25}
.lesson-card p{font-size:12px;color:#9b8b60}
.lesson-chips{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0 23px}
.lesson-chips span{padding:5px 8px;background:#ffefbc;border-radius:8px;color:#ae8e3a;font-size:10px;font-weight:750}
.primary,.small-primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 21px;min-height:49px;border-radius:13px;border:0;border-bottom:5px solid #4b8e2b;background:#88c840;color:white;font-weight:850;font-size:14px;letter-spacing:.1px;transition:background .15s,transform .15s,box-shadow .15s;text-shadow:0 1px 1px #4b8e2b40;line-height:1.4}
.primary{width:100%}
.primary:hover,.small-primary:hover{background:#91d248}
.primary:active,.small-primary:active{transform:translateY(3px);border-bottom-width:2px}
.primary svg,.small-primary svg{width:18px;height:18px}
.primary:disabled{background:#d8e2cf;color:#a3af93;border-bottom-color:#c4cfba;text-shadow:none}
.small-primary{font-size:12px;padding:10px 16px;min-height:42px}
.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:2px solid #dbe7cc;border-bottom:4px solid #d0dfbb;border-radius:12px;padding:10px 15px;min-height:42px;color:#69914b;background:#fafcf4;font-size:12px;font-weight:800;line-height:1.4}
.secondary:hover{background:#eff8e5}
.secondary:disabled{opacity:.6}
.secondary svg{width:16px;height:16px}
.text-button,.hint-button,.danger-text{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#7a9c60;font-size:12px;font-weight:750;padding:9px}
.text-button:hover,.hint-button:hover{color:#267c63;text-decoration:underline}
.text-button svg{width:17px;height:17px}
.badge-card h2{font-size:17px}
.badge-preview{display:flex;align-items:center;gap:12px;margin-top:18px}
.badge-preview img{width:46px;height:46px;object-fit:contain}
.badge-preview b{font-size:12px;display:block}
.badge-preview small{font-size:9px;color:#93a080;display:block;margin-top:3px}
.lesson-dots{display:flex;gap:8px;margin:17px 0 12px}
.lesson-dots span{width:23px;height:23px;border-radius:50%;background:#edf1e3;color:#a8b69a;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800}
.lesson-dots .done{color:white;background:#91c65b}
.badge-card p{font-size:11px;color:#90a080}
.sound-toggle{display:flex;align-items:center;justify-content:center;gap:8px;font-size:10px;color:#8ba07e;padding:7px}
.sound-toggle svg{width:15px;height:15px}
.app-footer{font-size:10px;color:#a1ad94;text-align:right;padding:0 34px 20px}
.app-footer button{font-size:10px;margin-left:10px}
.mobile-nav{display:none}
.resume-banner{display:flex;align-items:center;gap:14px;background:#edf6e2;border:1.5px solid #cfdfbb;border-radius:17px;padding:15px 20px;margin:0 0 24px;color:#688a4e}
.resume-banner>div{flex:1}
.resume-banner b{display:block;font-size:13px}
.resume-banner span{display:block;font-size:11px;color:#889879;margin-top:3px}
.tests-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.unit-test{padding:22px;position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:267px;transition:transform .2s,border-color .2s}
.unit-test:hover{transform:translateY(-3px);border-color:#c1d8a6}
.unit-test.passed{border-color:#c6dcb0}
.test-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}
.unit-number{width:42px;height:42px;border-radius:14px;background:#eaf4dc;color:#83a15f;display:flex;align-items:center;justify-content:center;font-family:Fredoka;font-size:20px}
.passed .unit-number{background:#8ac74c;color:white}
.test-status{font-size:10px;color:#99a88a;display:flex;gap:6px;align-items:center}
.test-status svg{width:16px;height:16px;color:#82b44d}
.unit-test .eyebrow{font-size:9px;color:#99b088;margin-bottom:5px}
.unit-test h2{font-size:20px;line-height:1.25;max-width:290px}
.unit-test>p{font-size:11px;color:#91a183;margin:8px 0 20px}
.test-card-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}
.test-card-bottom>span{font-size:9px;color:#a39465;white-space:nowrap}
.test-card-bottom .secondary{font-size:10px;padding:9px 10px}
.tiny-progress{height:4px;background:#edf1e2;position:absolute;left:0;bottom:0;right:0}
.tiny-progress span{display:block;height:100%;background:#95c661}
.section-heading{margin:38px 0 20px}
.section-heading h2{font-size:24px}
.section-heading p{font-size:12px;color:#92a082;margin-top:7px}
.bonus-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.bonus-card{display:flex;align-items:center;gap:18px;padding:23px}
.bonus-card>svg{width:34px;height:34px;color:#caa753}
.bonus-card>div{flex:1}
.bonus-card p{font-size:11px;color:#94a186;margin-top:4px}
.review-hero{display:flex;align-items:center;gap:35px;padding:38px;max-width:950px;background:linear-gradient(110deg,#fbf7e0,#fffdf5)}
.review-hero>.bird{width:150px}
.review-hero>div{max-width:580px}
.review-hero h2{font-size:28px;line-height:1.2}
.review-hero p{font-size:13px;color:#879476;margin-top:12px}
.review-hero .primary{max-width:290px}
.word-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.word-card{padding:17px;display:flex;gap:14px;align-items:center}
.word-emoji{font-size:28px}
.word-card>div{flex:1;min-width:0}
.word-card b{font-size:14px;display:block;overflow-wrap:anywhere}
.word-card small{font-size:11px;color:#94a183;display:block;margin-top:3px}
.reference-panel{padding:27px;margin-top:30px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.reference-panel>div{flex:1;min-width:230px}
.reference-panel>div>svg{float:left;margin-right:12px;color:#83a16b}
.reference-panel h2{font-size:19px}
.reference-panel p{font-size:12px;color:#93a181;margin-top:8px}
.balance{display:flex;align-items:center;gap:9px;background:#fff8dd;border:1px solid #eadcaa;border-radius:14px;padding:12px 17px}
.balance img{width:29px;height:29px}
.balance b{font-size:23px;color:#b39135}
.balance span{font-size:11px;color:#a7976e}
.rank-panel{display:flex;align-items:center;gap:25px;padding:20px 30px;margin-bottom:25px}
.rank-panel>.bird{width:78px}
.rank-panel>div{flex:1;max-width:380px}
.rank-panel h2{font-size:23px}
.rank-panel p{font-size:11px;color:#8c9d7b;margin:8px 0}
.rank-panel>strong{margin-left:auto;font-size:33px;color:#9770c2}
.rank-panel>strong>small{display:block;font-size:10px;text-align:right;font-weight:600;color:#a18bba}
.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.shop-item{overflow:hidden}
.shop-art{height:190px;background:radial-gradient(#fffbe7,#edf6df);position:relative;display:flex;align-items:center;justify-content:center}
.shop-art>.bird{width:105px;margin-top:23px}
.shop-crown{position:absolute;top:24px;left:calc(50% - 28px);width:56px;transform:rotate(-8deg)}
.theme-art>img{width:100%;height:100%;object-fit:cover;object-position:center 20%}
.owned{position:absolute;right:10px;top:10px;border-radius:8px;background:#f5fff0dd;color:#779753;padding:5px 8px;font-size:10px;font-weight:750;display:flex;align-items:center;gap:5px}
.owned svg{width:13px;height:13px}
.shop-detail{padding:19px 17px}
.shop-detail h2{font-size:17px}
.shop-detail p{font-size:11px;color:#8c9a80;margin:8px 0 19px;min-height:37px}
.shop-buy{display:flex;align-items:center;justify-content:space-between;gap:7px}
.shop-buy>span{display:flex;align-items:center;gap:5px;color:#b19548;font-size:12px}
.shop-buy img{width:23px;height:23px}
.shop-buy .secondary{font-size:10px;padding:8px;min-height:38px}
.reset-cosmetics{display:flex;gap:10px;margin-top:9px;justify-content:flex-end}
.achievement-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:10px}
.achievement{display:flex;align-items:center;flex-direction:column;padding:14px 5px;filter:grayscale(1);opacity:.48;text-align:center}
.achievement img{width:52px;height:52px;object-fit:contain;margin-bottom:10px}
.achievement b{font-size:11px}
.achievement small{font-size:9px;display:block;margin:4px 0 8px;min-height:27px;color:#829772}
.achievement>svg{width:15px;height:15px}
.achievement.earned{filter:none;opacity:1}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}
.settings-panel{padding:27px}
.settings-panel h2{display:flex;align-items:center;gap:10px;font-size:19px;margin-bottom:21px}
.settings-panel h2 svg{color:#90ae75}
.settings-panel>label:not(.switch-row){display:block;margin:18px 0 8px;font-size:12px;font-weight:750;color:#7e956a}
.settings-panel input[type=text],.settings-panel input:not([type]),select{width:100%;border:2px solid #dfE8d1;border-radius:12px;padding:11px 14px;background:#fbfdf5;color:#42674b;min-height:45px;font-size:14px}
.name-row{display:flex;gap:9px}
.name-row input{min-width:0;flex:1}
.settings-panel>p{font-size:12px;color:#899c77;margin:13px 0}
.settings-panel .setting-help{font-size:10px;color:#9aa78b;line-height:1.7}
.switch-row{display:flex;align-items:center;gap:20px;margin:17px 0}
.switch-row>span{flex:1}
.switch-row b{display:block;font-size:13px}
.switch-row small{display:block;font-size:10px;color:#9ba68b;margin-top:5px}
.switch-row input{appearance:none;width:43px;height:26px;border-radius:20px;background:#d9e1cc;position:relative;cursor:pointer;flex-shrink:0;transition:background .2s}
.switch-row input:after{content:'';position:absolute;width:20px;height:20px;background:white;border-radius:50%;left:3px;top:3px;box-shadow:0 1px 3px #46643830;transition:transform .2s}
.switch-row input:checked{background:#8bc74b}
.switch-row input:checked:after{transform:translateX(17px)}
.settings-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
.danger-text{color:#b97668;padding-left:0}
.danger-button{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 17px;background:#b96656;color:white;border-radius:12px;font-size:13px;font-weight:750;border-bottom:4px solid #925144;width:100%}
.result-panel{display:grid;grid-template-columns:minmax(0,1fr) 29%;overflow:hidden;min-height:720px}
.result-main{text-align:center;padding:24px 35px 35px}
.result-tag{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:20px;background:#edf5e0;padding:8px 13px;font-size:10px;font-weight:800;color:#729854;letter-spacing:.6px}
.result-tag svg{width:15px;height:15px}
.result-tag.try-again{background:#fff3d7;color:#b5903d}
.celebration{height:235px;width:310px;position:relative;margin:10px auto}
.celebration>.wreath{width:218px;height:218px;object-fit:contain;position:absolute;left:46px;top:6px;opacity:.83}
.celebration>.bird{width:150px;position:absolute;left:80px;top:45px;filter:drop-shadow(0 7px 3px #ad964a30)}
.celebration-crown{position:absolute;left:121px;top:0;width:67px;transform:rotate(-9deg)}
.celebration>.bird>.bird-crown{display:none}
.confetti{position:absolute;left:var(--x);top:calc(15px + var(--i)*13px);width:7px;height:14px;border-radius:2px;background:#e7be53;transform:rotate(calc(var(--i)*37deg));pointer-events:none}
.confetti:nth-of-type(3n){background:#b797d5}
.confetti:nth-of-type(3n + 1){background:#87c8a3}
.celebrate .confetti{animation:confetti-arrive 1s var(--delay) both}
.flying-coin{position:absolute;width:35px;height:35px;filter:drop-shadow(0 4px 2px #ad975230)}
.coin-one{left:20px;top:176px;transform:rotate(-15deg)}
.coin-two{right:20px;top:100px;transform:rotate(13deg)}
.result-main>h2{font-family:Fredoka;font-size:clamp(33px,3vw,45px);color:#2a8669;letter-spacing:-1px;margin-top:2px}
.result-title{font-size:17px;font-weight:750;color:#50784f;margin-top:8px}
.result-subtitle{font-size:11px;color:#91a17f;margin:7px auto 0;max-width:550px}
.score-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:25px 0 17px}
.score-box{border:1.5px solid #d9e7c5;border-radius:15px;background:#f4fae9;padding:13px 4px 15px;text-align:center}
.score-box>small{font-size:9px;color:#98a784;font-weight:850;letter-spacing:.7px;display:block}
.score-box strong{font-family:Fredoka;display:flex;align-items:center;justify-content:center;gap:4px;color:#749e3d;font-size:32px;line-height:1.3;margin:5px 0}
.score-box span{font-size:9px;color:#9ca889}
.score-box.xp-box{background:#f6f0ff;border-color:#e5d8f4}
.xp-box strong{color:#a07ace}
.score-box.coin-box{background:#fff7dc;border-color:#eedcab}
.coin-box strong{color:#c29a32}
.coin-box img{width:28px;height:28px}
.reward-caption{font-size:10px;color:#98a685;min-height:20px;margin-bottom:23px}
.result-main>.primary{max-width:430px;margin:0 auto 10px}
.result-main>.text-button{display:flex;margin:3px auto}
.result-aside{padding:30px 24px;border-left:1px solid #e9ead8;background:linear-gradient(#fffff280,#f7f9ecdf),url('../assets/beach.webp') center/cover}
.result-aside .eyebrow{font-size:9px;letter-spacing:1.3px}
.unlock-art{height:165px;border-radius:18px;border:3px solid #fff;box-shadow:0 4px 0 #d7e2c3;overflow:hidden;position:relative;margin:24px 0 17px}
.unlock-art>img{width:100%;height:100%;object-fit:cover;object-position:top}
.unlock-art>span{position:absolute;left:calc(50% - 31px);top:38px;width:62px;height:62px;border:4px solid #fff0b0;border-radius:50%;background:#ffd469;box-shadow:0 5px 0 #c49d44;display:flex;align-items:center;justify-content:center;color:#a37b25}
.unlock-art b{position:absolute;bottom:10px;left:0;right:0;text-align:center;font-size:11px;color:#fff;letter-spacing:2px;text-shadow:0 1px 3px #185c50}
.result-aside>h3{font-size:19px;color:#567b4f;line-height:1.3}
.result-aside>p{font-size:11px;color:#91a07c;margin-top:11px}
.result-facts{border-top:1px solid #dfe6cb;margin-top:32px;padding-top:22px}
.result-facts h3{font-size:13px;margin-bottom:16px}
.result-facts>span{display:flex;align-items:center;gap:8px;font-size:10px;color:#7e9866;margin:13px 0}
.result-facts svg{width:17px;height:17px}
.streak-callout{display:flex;align-items:center;gap:10px;border:1px solid #e8dba9;border-radius:13px;background:#fff6d7;padding:13px;margin-top:28px;color:#c99b37}
.streak-callout b{font-size:11px;color:#ae8837}
.streak-callout small{display:block;font-size:9px;color:#ad9f72;margin-top:3px}
.in-exercise{background:#f8faf2}
.exercise-shell{min-height:100dvh;display:flex;flex-direction:column}
.exercise-header{display:flex;align-items:center;gap:22px;padding:25px 25px 15px;width:100%;max-width:1080px;margin:auto}
.exercise-progress{flex:1}
.exercise-meta{display:flex;justify-content:space-between;font-size:11px;color:#90a17e;margin-bottom:9px}
.exercise-meta b{color:#80a24e;font-size:11px}
.exercise-progress .progress-track{height:17px}
.exercise-main{width:100%;max-width:830px;margin:25px auto 35px;padding:0 30px;flex:1}
.exercise-heading h1{font-size:28px}
.exercise-heading .eyebrow{font-size:9px;margin-bottom:12px}
.question-scene{display:flex;align-items:center;gap:32px;min-height:185px;margin:22px 0 25px;justify-content:center}
.question-scene>.bird{width:113px;align-self:center}
.question-bubble{min-height:89px;padding:20px 25px;background:#fffef7;border:2px solid #e1e9d6;border-radius:21px;display:flex;align-items:center;gap:19px;font-size:24px;font-weight:750;position:relative;max-width:560px;line-height:1.4;text-wrap:balance}
.question-bubble:before{content:'';position:absolute;width:14px;height:14px;left:-9px;top:calc(50% - 7px);background:#fffef7;border-left:2px solid #e1e9d6;border-bottom:2px solid #e1e9d6;transform:rotate(45deg)}
.question-emoji{font-size:35px;flex-shrink:0}
.answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.answer-option{display:flex;align-items:center;gap:14px;min-height:81px;border:2px solid #dfe8d4;border-bottom:5px solid #d4dfc4;border-radius:16px;padding:16px 19px;background:#fffef8;text-align:left;font-size:17px;font-weight:650;transition:transform .12s,border-color .12s,background .12s}
.answer-option:hover{background:#f0f8e6;border-color:#c6d9b2}
.answer-option.selected{border-color:#8ab85b;background:#eff9df;color:#629030;box-shadow:0 0 0 1px #a5cc7d}
.answer-option.correct-option{border-color:#83b252;background:#edf8df;color:#5e8b35}
.answer-option.wrong-option{background:#fff2e4;border-color:#d9b78d;color:#a38148}
.answer-option>span:nth-child(2){flex:1;overflow-wrap:anywhere}
.key-number{width:27px;height:29px;border:1.5px solid #dce5cf;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:11px;color:#a1b28c;flex-shrink:0}
.hint-button{margin:25px auto 0;display:flex;font-size:11px;color:#91a776}
.hint-button svg{width:17px;height:17px}
.exercise-footer{position:sticky;bottom:0;background:#fffef8;border-top:2px solid #e1e8d6;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:23px max(30px,calc((100vw - 1030px)/2));min-height:124px;z-index:10}
.feedback-content{display:flex;gap:17px;align-items:center;flex:1}
.footer-hint{display:flex;align-items:center;gap:11px;color:#9ca889;font-size:12px}
.footer-hint svg{color:#bdb583}
.exercise-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}
.exercise-actions>.primary{width:auto;min-width:185px;padding:14px 22px}
.feedback-correct{background:#eaf5dc;border-color:#d9e9c2}
.feedback-wrong{background:#fff4dc;border-color:#edddb2}
.feedback-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:#fffaf0;border-radius:50%;color:#7ca843;flex-shrink:0}
.feedback-wrong .feedback-icon{color:#ba9545}
.feedback-content h2{font-size:21px;color:#6e963e}
.feedback-wrong .feedback-content h2{color:#b08b36}
.feedback-content p{font-size:12px;color:#7f955e;margin-top:3px;line-height:1.5}
.feedback-content small{font-size:10px;color:#8d9c71;display:block;margin-top:5px;line-height:1.5}
.feedback-wrong .feedback-content p,.feedback-wrong .feedback-content small{color:#a09169}
.typed-area input{width:100%;background:#fffef7;border:2px solid #dae6cb;border-bottom:4px solid #ceddb9;border-radius:15px;padding:20px 24px;font-size:21px;color:#365f41;min-height:75px;box-shadow:none}
.typed-area input::placeholder{color:#b2bea3}
.typed-area input:disabled{opacity:.85}
.typed-area p{font-size:10px;color:#9dab8e;margin-top:14px;text-align:center}
.accent-buttons{display:flex;gap:7px;justify-content:center;margin-top:17px;flex-wrap:wrap}
.accent-button{min-width:36px;min-height:35px;border:1px solid #dce5d0;border-bottom:3px solid #d1dec0;border-radius:8px;background:#fffef7;color:#779263;font-size:16px}
.accent-button:disabled{opacity:.5}
.sentence-slot{min-height:92px;display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:15px 12px;border-top:2px solid #dfe7d3;border-bottom:2px solid #dfe7d3}
.sentence-slot>span{font-size:13px;color:#abb79c;padding-left:8px}
.word-bank{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;padding:25px 5px}
.word-token{border:2px solid #dbe6ce;border-bottom:4px solid #cfdcbb;border-radius:11px;padding:10px 15px;font-weight:700;font-size:17px;background:#fffef7;min-height:48px;color:#537546}
.word-token:hover{background:#edf7df}
.word-token.used{visibility:hidden;pointer-events:none}
.word-token.picked{background:#eef6e1}
.match-title{font-size:22px;font-weight:750;display:flex;gap:13px;align-items:center}
.match-title svg{color:#aab980}
.match-area{display:grid;grid-template-columns:1fr 1fr;gap:25px}
.match-column{display:flex;flex-direction:column;gap:13px}
.match-word{min-height:62px;border:2px solid #dce6cf;border-bottom:4px solid #cfdcbf;border-radius:13px;padding:11px 14px;background:#fffef7;font-size:15px;font-weight:650}
.match-word.selected{background:#f3ebfc;border-color:#baa2d6;color:#8665a8}
.match-word.matched{background:#eaf5dd;border-color:#c4dfaa;color:#87a96b;opacity:.65}
.match-hint{text-align:center;font-size:11px;color:#91a67a;margin-top:15px;min-height:19px}
.listening{display:flex;align-items:center;flex-wrap:wrap;max-width:350px;gap:10px;padding:10px}
.listen-button{width:90px;height:88px;background:#8aca43;border-bottom:6px solid #599530;border-radius:23px;display:flex;align-items:center;justify-content:center;color:white}
.listen-button svg{width:41px;height:41px}
.audio-fallback{font-size:10px;color:#9caa8b;text-decoration:underline;flex-basis:100%;text-align:left;margin-top:7px}
.transcript{font-size:17px;font-weight:650;flex-basis:100%;color:#648846}
.in-exercise .skip-link{z-index:40}
dialog{background:#fffdf6;border:2px solid #dce6cf;border-radius:26px;padding:0;width:min(680px,calc(100vw - 30px));max-height:88dvh;color:#2b5844;box-shadow:0 25px 80px #193d3940;overflow:auto}
dialog::backdrop{background:#143e3b66;backdrop-filter:blur(5px)}
#modal-content{padding:34px;position:relative}
.modal-x{position:sticky;top:0;float:right;margin:-15px -16px 0 8px;border:1px solid #e3e9d9;background:#fffef7;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;z-index:2;color:#99aa87}
.modal-x svg{width:17px;height:17px}
dialog h2{font-size:29px;line-height:1.25;margin-bottom:12px}
dialog h3{margin-bottom:13px}
dialog p{font-size:13px;color:#8a9c78;line-height:1.7}
dialog .eyebrow{font-size:9px}
.preview-reward{display:flex;align-items:center;gap:8px;color:#98a783;font-size:11px;margin:18px 0}
.preview-reward>svg{width:15px;height:15px}
.preview-reward>span{display:flex;align-items:center;gap:5px;margin-left:14px}
.preview-reward img{width:22px;height:22px}
.preview-reward svg{width:16px;height:16px}
.tip-box{background:#eff5e4;border-radius:15px;padding:16px;display:flex;gap:12px;align-items:flex-start;margin:21px 0;color:#8bA068}
.tip-box p{font-size:12px;line-height:1.65;color:#7e936c}
.tip-box svg{width:19px;height:19px;margin-top:2px}
.lesson-preview h3{font-size:15px;margin-top:24px}
.preview-words{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:25px}
.preview-words>button{position:relative;display:flex;align-items:center;flex-direction:column;border:1.5px solid #e0e8d3;border-radius:13px;background:#fffdf6;padding:15px 16px;min-height:113px}
.preview-words>button>span{font-size:24px;margin-bottom:5px}
.preview-words b{font-size:13px}
.preview-words small{font-size:10px;color:#94a481;margin-top:3px}
.preview-words svg{position:absolute;right:8px;top:8px;width:13px;height:13px;color:#aabb95}
.fineprint{font-size:10px!important;text-align:center;margin:13px 0!important;color:#9eaa90!important}
.test-preview{text-align:center}
.preview-crown{width:88px;height:88px;object-fit:contain;margin:0 auto 17px}
.test-rules{display:flex;flex-wrap:wrap;justify-content:center;gap:15px;margin:22px 0;color:#91a278;font-size:11px}
.test-rules>span{display:flex;align-items:center;gap:6px}
.test-rules svg{width:17px;height:17px}
.test-preview .primary{margin-top:25px}
.confirm-content{text-align:center;padding:7px 0}
.confirm-content>svg{width:43px;height:43px;color:#c6a954;margin-bottom:15px}
.confirm-content p{margin:12px 0 23px}
.confirm-content>.primary,.confirm-content>.secondary,.confirm-content>.danger-button{margin:8px 0;display:flex;width:100%}
.purchase-art{width:145px;height:145px;object-fit:cover;border-radius:17px;margin:0 auto 20px}
.confirm-content>.purchase-bird{display:block;width:145px;margin:0 auto 20px}
.glossary section{margin-top:26px}
.glossary section h3{margin-bottom:8px}
.glossary-tip{font-size:11px!important;margin-bottom:16px}
.glossary-words{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.glossary-words>button{display:flex;gap:10px;align-items:center;border:1px solid #e3ead9;border-radius:11px;padding:11px;text-align:left}
.glossary-words>button>span{font-size:23px}
.glossary-words>button>div{flex:1}
.glossary-words b{font-size:12px;display:block}
.glossary-words small{font-size:10px;color:#95a786;display:block;margin-top:2px}
.glossary-words svg{width:15px;height:15px;color:#a6b995}
.glossary select{margin-top:12px}
.glossary>.secondary{margin-top:24px}
.alphabet-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:23px}
.alphabet-grid button{border:1.5px solid #dfe9d1;border-radius:13px;padding:12px 7px;text-align:center;display:flex;align-items:center;flex-direction:column;background:#f8fbee;gap:3px}
.alphabet-grid b{font-size:23px;color:#6e9a4c}
.alphabet-grid small{font-size:10px;color:#a0ae91}
.alphabet-grid svg{width:13px;height:13px;color:#a5b596;margin-top:5px}
.hint-modal{text-align:center;padding:10px}
.hint-modal>svg{width:43px;height:43px;color:#c5a953;margin-bottom:14px}
.hint-modal p{margin:18px 0 26px}
.review-answer{display:flex;gap:15px;padding:17px 0;border-bottom:1px solid #e6ebdd}
.review-answer>span{width:29px;flex-shrink:0;color:#93b868}
.review-answer.missed>span{color:#c2a251}
.review-answer small{font-size:10px;color:#95a785}
.review-answer h3{font-size:15px;margin:5px 0}
.review-answer p{font-size:11px;margin-top:6px}
.unit-select>button{width:100%;display:flex;align-items:center;gap:14px;padding:13px 10px;border-bottom:1px solid #e6ebdd;text-align:left}
.unit-select>button>span{width:34px;height:34px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#eaf3de;color:#84a964;font-weight:850}
.unit-select>button>div{flex:1}
.unit-select b{font-size:13px}
.unit-select small{display:block;font-size:10px;color:#95a984;margin-top:3px}
.unit-select svg{width:19px;height:19px;color:#a1b489}
.week-dots{display:flex;gap:9px;justify-content:center;margin:23px 0}
.week-dots>span{width:48px;display:flex;align-items:center;flex-direction:column;background:#eef3e4;border-radius:12px;padding:9px 5px;color:#b4bea4;gap:8px}
.week-dots b{font-size:9px}
.week-dots .learned{background:#e2f2cc;color:#80a34e}
.about-modal>p{margin:18px 0}
.about-modal .primary{margin-top:25px}
#toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);max-width:min(560px,calc(100% - 30px));width:max-content;border-radius:14px;border:1px solid #bdd2a5;box-shadow:0 10px 30px #1c4e3423;background:#eff8e5;color:#67894a;font-size:13px;font-weight:650;padding:14px 20px;z-index:90;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;text-align:center}
#toast.visible{opacity:1;transform:translate(-50%,0)}
#toast.toast-error{background:#fff3de;border-color:#e8d4a6;color:#a4854d}
.happy{animation:happy-hop .5s ease}
.thinking{transform:rotate(-6deg)}
@keyframes happy-hop{0%,100%{transform:translateY(0)}
40%{transform:translateY(-15px) rotate(8deg)}
70%{transform:translateY(-3px) rotate(-3deg)}
}
@keyframes confetti-arrive{from{opacity:0;transform:translateY(-40px) rotate(0deg)}
to{opacity:1;transform:translateY(0) rotate(calc(var(--i)*37deg))}
}

@media(min-width:1650px){.main-content{padding:35px 45px 25px}
.journey-grid{grid-template-columns:minmax(0,1fr) 320px;gap:30px}
.journey-aside>.panel{padding:25px}
.lesson-card h2{font-size:27px}
.node-label{max-width:245px}
.node-label b{font-size:14px}
.node-label small{font-size:10px}
.wood-sign{width:420px;height:152px}
.wood-sign strong{font-size:28px}
.map-bird{width:145px}
.island-map{height:765px}
.next-island-strip b{font-size:13px}
.next-island-strip small{font-size:11px}
.tests-grid{gap:25px}
.unit-test{padding:25px}
.unit-test h2{font-size:23px}
}

@media(max-width:1300px){.app-shell{grid-template-columns:195px minmax(0,1fr)}
.sidebar{padding:25px 13px 18px}
.brand{gap:5px}
.brand>span:not(.brand-bird){font-size:26px}
.brand>.brand-bird{width:42px}
.brand small{font-size:7px}
.nav-item{padding:11px 9px;gap:10px;font-size:13px}
.nav-item svg{width:23px;height:23px}
.topbar{padding:0 25px;gap:12px}
.resources{gap:16px}
.breadcrumb{gap:7px;font-size:10px}
.resource span{display:none}
.resource.xp span{display:block}
.main-content{padding:25px}
.journey-grid{grid-template-columns:minmax(0,1fr) 247px;gap:19px}
.journey-aside>.panel{padding:18px}
.page-heading{align-items:flex-start}
.page-heading p{font-size:12px}
.unit-picker{margin-top:14px;gap:0}
.unit-picker-title{font-size:10px;padding:9px}
.unit-picker .icon-button{min-width:28px;width:28px}
.unit-picker-title>svg:first-child{display:none}
.node-label{max-width:155px;padding:9px 10px}
.node-label b{font-size:11px}
.node-label small{font-size:9px}
.step-2 .node-label{top:75px;left:50%;transform:translateX(-50%);max-width:160px}
.step-2{--node-y:278px!important}
.step-4 .node-label{right:87px;max-width:127px}
.test-step .node-label{max-width:140px}
.map-bird{width:95px;right:4%;bottom:153px}
.wood-sign{width:76%;max-width:355px;height:137px}
.wood-sign strong{font-size:22px}
.map-tag{top:16px;left:14px;padding:6px 8px;font-size:9px}
.map-guide{top:16px;right:14px;width:32px;height:31px}
.map-guide svg{width:18px}
.daily-card h2,.badge-card h2{font-size:16px}
.daily-reward span{font-size:8px}
.daily-reward b{font-size:10px}
.lesson-card h2{font-size:23px}
.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.shop-art{height:210px}
.achievement-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.test-card-bottom{flex-direction:column;align-items:stretch}
.test-card-bottom>span{text-align:left;margin-bottom:3px}
.unit-test{padding:19px;min-height:289px}
.test-card-bottom .secondary{font-size:11px}
.unit-test h2{font-size:18px}
.test-status{font-size:9px}
.bonus-card{padding:20px;gap:12px;flex-wrap:wrap}
.bonus-card>.secondary{width:100%;margin-top:5px}
.result-panel{grid-template-columns:minmax(0,1fr) 27%}
.result-main{padding:24px 23px 32px}
.result-aside{padding:28px 18px}
.result-aside>h3{font-size:17px}
.result-facts>span{font-size:9px;gap:6px}
.streak-callout{padding:10px;gap:7px}
.streak-callout small{font-size:8px}
.score-box>small{font-size:8px}
.score-box strong{font-size:29px}
.score-box span{font-size:8px}
.settings-grid{gap:18px}
.settings-panel{padding:23px}
.settings-panel h2{font-size:17px}
.name-row{flex-wrap:wrap}
.name-row>.secondary{min-width:90px}
.reference-panel{gap:12px}
}

@media(max-width:1080px){.journey-grid{grid-template-columns:minmax(0,1fr)}
.journey-aside{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.journey-aside>.panel{padding:15px}
.lesson-card .eyebrow{font-size:8px}
.lesson-card h2{font-size:19px}
.lesson-card p{font-size:10px}
.lesson-chips{gap:4px;margin:14px 0}
.lesson-chips span{font-size:8px;padding:4px 6px}
.lesson-card .primary{font-size:12px;min-height:45px;padding:9px}
.daily-card p{font-size:10px}
.daily-reward{gap:4px;flex-wrap:wrap}
.daily-reward span{width:100%;margin-left:0}
.badge-preview{gap:6px}
.badge-preview img{width:33px;height:33px}
.badge-preview b{font-size:10px}
.badge-preview small{font-size:8px}
.lesson-dots{gap:4px}
.badge-card p{font-size:10px}
.sound-toggle{grid-column:1/-1}
.island-map{height:750px}
.node-label{max-width:210px}
.node-label b{font-size:12px}
.node-label small{font-size:10px}
.step-2 .node-label{left:96px;top:8px;transform:none;max-width:145px}
.step-2{--node-y:292px!important}
.step-4 .node-label{max-width:160px}
.map-bird{width:125px;bottom:125px}
.wood-sign{max-width:390px;height:145px}
.wood-sign strong{font-size:25px}
.tests-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.unit-test{min-height:255px}
.test-card-bottom{flex-direction:row;align-items:center}
.test-card-bottom>span{font-size:8px}
.test-card-bottom .secondary{font-size:10px}
.result-panel{grid-template-columns:minmax(0,1fr)}
.result-aside{display:none}
.result-main{padding:27px 35px 30px}
.score-box>small{font-size:9px}
.score-box span{font-size:10px}
.score-box strong{font-size:33px}
.result-panel{min-height:720px}
.settings-grid{grid-template-columns:1fr}
.word-grid{grid-template-columns:1fr}
.resource b{font-size:17px}
.resource img{width:26px;height:26px}
.resource svg{width:21px;height:21px}
.topbar .language{display:none}
.review-hero{padding:27px;gap:23px}
.review-hero>.bird{width:100px}
.review-hero h2{font-size:24px}
.review-hero p{font-size:12px}
}

@media(max-width:760px){.app-shell{display:block}
.sidebar{display:none}
.mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;position:fixed;bottom:0;left:0;right:0;padding:8px 7px calc(7px + env(safe-area-inset-bottom));background:#fffdf7f5;backdrop-filter:blur(12px);border-top:2px solid #e3ead8;z-index:30}
.mobile-nav .nav-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:5px 1px;border:0;box-shadow:none;min-height:51px;border-radius:11px;font-size:9px;position:relative;text-align:center}
.mobile-nav .nav-item>svg{width:22px;height:22px}
.mobile-nav .nav-count{position:absolute;top:-1px;right:10px;height:17px;min-width:17px;padding:1px 4px;font-size:8px}
.topbar{height:69px;padding:0 21px;gap:10px;position:relative}
.breadcrumb{font-size:11px;gap:5px}
.breadcrumb>span:first-child,.breadcrumb>svg:first-of-type,.breadcrumb>svg:last-of-type,.breadcrumb>b{display:none}
.breadcrumb>span{font-weight:850;letter-spacing:.5px;color:#698e6c}
.resources{gap:19px}
.resource b{font-size:17px}
.resource span{display:none!important}
.resource img{width:27px;height:27px}
.resource.fire svg{width:23px;height:23px}
.main-content{padding:23px 20px 20px;min-height:calc(100dvh - 200px)}
.page-heading{margin-bottom:22px;gap:15px;flex-wrap:wrap;min-height:0}
.eyebrow{font-size:8px;letter-spacing:1.2px;margin-bottom:8px}
h1{font-size:28px;letter-spacing:-.7px;line-height:1.2}
.page-heading p{font-size:12px;margin-top:8px}
.unit-picker{margin:0 0 -3px;width:100%;justify-content:center;gap:10px}
.unit-picker-title{font-size:11px;padding:10px 17px;flex:1;justify-content:center;max-width:270px;background:#fffdf7}
.unit-picker .icon-button{min-width:38px;width:38px}
.unit-picker-title>svg:first-child{display:block}
.journey-grid{gap:23px}
.island-map{height:755px;border-width:4px;border-radius:23px;margin:0 -3px}
.wood-sign{top:30px;max-width:365px;width:80%;height:140px}
.wood-sign strong{font-size:24px}
.wood-sign small{font-size:10px;margin-bottom:5px}
.map-tag{top:13px;left:12px;font-size:8px;padding:5px 7px}
.map-guide{top:13px;right:12px;width:31px;height:29px}
.map-tag svg{width:11px;height:11px}
.path-node{width:73px;height:64px;border-width:3px}
.path-node svg{width:26px;height:26px}
.map-step{width:73px;height:64px}
.map-step.step-1{--node-x:47%!important;--node-y:189px!important}
.map-step.step-2{--node-x:67%!important;--node-y:302px!important}
.map-step.step-3{--node-x:43%!important;--node-y:416px!important}
.map-step.step-4{--node-x:29%!important;--node-y:529px!important}
.test-step{--node-y:616px!important;--node-x:54%!important}
.route{height:752px}
.node-label{padding:8px 9px;max-width:145px;left:85px;top:7px}
.node-label b{font-size:11px}
.node-label small{font-size:8px}
.step-1 .node-label{right:86px;max-width:135px}
.step-2 .node-label{right:85px;left:auto;max-width:195px;top:9px}
.step-3 .node-label{left:86px;max-width:150px}
.step-4 .node-label{left:86px;right:auto;max-width:166px}
.test-step .node-label{left:auto;right:82px;max-width:130px;top:3px}
.test-step .path-node{width:61px;height:54px}
.node-callout{font-size:9px;top:-43px;padding:6px 10px}
.map-bird{width:98px;bottom:135px;right:4%}
.next-island-strip{left:11px;right:11px;bottom:13px;padding:10px 12px;gap:8px;min-height:59px;border-radius:13px}
.next-island-strip b{font-size:10px}
.next-island-strip small{font-size:8px;line-height:1.5}
.next-island-strip>svg{width:15px;height:15px}
.journey-aside{grid-template-columns:1fr 1fr;gap:13px}
.journey-aside .lesson-card{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:0 15px;padding:20px}
.lesson-card .eyebrow,.lesson-card h2,.lesson-card p{grid-column:1}
.lesson-card .eyebrow{font-size:9px}
.lesson-card h2{font-size:22px}
.lesson-card p{font-size:11px}
.lesson-card .lesson-chips{grid-column:1;margin:12px 0 0}
.lesson-card .primary{grid-column:2;grid-row:1/5;align-self:center;font-size:12px;min-height:50px;padding:11px}
.lesson-card .lesson-chips span{font-size:9px}
.journey-aside>.panel{border-radius:18px;padding:16px}
.daily-card h2,.badge-card h2{font-size:16px}
.daily-card p{font-size:10px}
.badge-preview b{font-size:11px}
.badge-preview small{font-size:9px}
.badge-card p{font-size:10px}
.badge-preview img{width:39px;height:39px}
.daily-reward span{width:auto}
.sound-toggle{font-size:10px;margin:0}
.app-footer{text-align:center;padding:13px 15px 102px;font-size:9px}
.app-footer .text-button{font-size:9px}
.resume-banner{padding:13px;gap:9px;border-radius:14px;margin-bottom:20px}
.resume-banner>svg{display:none}
.resume-banner b{font-size:11px}
.resume-banner span{font-size:9px}
.resume-banner .small-primary{font-size:10px;padding:8px 11px;min-height:38px}
.tests-grid{gap:15px}
.unit-test{padding:18px;min-height:278px;border-radius:20px}
.unit-test h2{font-size:20px}
.test-card-top{margin-bottom:15px}
.test-status{font-size:8px}
.test-card-bottom{flex-direction:column;align-items:stretch;gap:9px}
.test-card-bottom>span{font-size:9px}
.test-card-bottom .secondary{font-size:11px}
.unit-number{width:38px;height:38px;font-size:18px}
.unit-test>p{font-size:10px;margin:8px 0 16px}
.unit-test .eyebrow{font-size:8px}
.section-heading{margin-top:30px}
.section-heading h2{font-size:23px}
.section-heading p{font-size:11px}
.bonus-grid{gap:15px}
.bonus-card{display:block;padding:19px;text-align:center}
.bonus-card>svg{margin-bottom:12px}
.bonus-card h3{font-size:16px}
.bonus-card p{font-size:10px}
.bonus-card>.secondary{margin-top:16px;font-size:11px}
.review-hero{padding:25px;gap:22px;flex-direction:column;text-align:center;border-radius:23px}
.review-hero>.bird{width:116px}
.review-hero h2{font-size:27px}
.review-hero .lesson-chips{justify-content:center;gap:6px;margin:19px 0}
.review-hero .lesson-chips span{font-size:10px}
.review-hero p{font-size:12px}
.review-hero .primary{max-width:none}
.reference-panel{padding:22px}
.reference-panel>div{width:100%;flex:auto}
.reference-panel h2{font-size:19px}
.word-card{border-radius:18px;padding:16px}
.shop-grid{gap:15px}
.shop-art{height:180px}
.shop-detail{padding:17px}
.shop-detail h2{font-size:18px}
.shop-detail p{font-size:10px;min-height:51px}
.shop-buy{flex-wrap:wrap}
.shop-buy>.secondary{width:100%;font-size:11px;margin-top:7px}
.rank-panel{padding:20px;gap:19px}
.rank-panel>.bird{width:64px}
.rank-panel>strong{font-size:27px}
.rank-panel h2{font-size:22px}
.rank-panel>div{min-width:0}
.rank-panel p{font-size:10px}
.rank-panel>strong>small{font-size:8px}
.balance{padding:9px 15px}
.balance b{font-size:21px}
.balance img{width:25px;height:25px}
.balance span{font-size:10px}
.achievement-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.achievement{padding:14px 7px}
.achievement img{width:57px;height:57px}
.achievement small{font-size:10px;min-height:16px}
.achievement b{font-size:12px}
.settings-panel{border-radius:21px;padding:24px}
.settings-panel h2{font-size:20px}
.settings-panel>p{font-size:12px}
.settings-panel>label:not(.switch-row){font-size:12px}
.settings-panel input,.settings-panel select{font-size:16px!important}
.settings-panel .setting-help{font-size:11px}
.switch-row small{font-size:11px}
.switch-row b{font-size:14px}
.result-panel{min-height:0}
.result-main{padding:24px 20px 30px}
.result-tag{font-size:9px;padding:8px 11px;letter-spacing:.2px}
.celebration{height:225px;margin-top:17px;max-width:100%}
.result-main>h2{font-size:40px}
.result-title{font-size:17px;line-height:1.4}
.result-subtitle{font-size:11px;line-height:1.7;margin-top:10px}
.score-grid{gap:8px;margin-top:23px}
.score-box{padding:13px 3px 14px;border-radius:13px}
.score-box>small{font-size:8px;letter-spacing:.2px}
.score-box strong{font-size:30px}
.score-box span{font-size:8px;display:block;padding:0 4px;min-height:24px}
.coin-box img{width:22px;height:22px}
.reward-caption{font-size:9px;margin-bottom:22px}
.result-main>.primary{font-size:14px;min-height:52px}
.result-main>.text-button{font-size:12px}
.exercise-header{gap:12px;padding:19px 18px 10px}
.exercise-header>.icon-button{min-width:30px;width:30px}
.exercise-header .exercise-sound{width:30px}
.exercise-meta{font-size:10px;margin-bottom:8px}
.exercise-meta b{font-size:10px}
.exercise-main{padding:0 25px;margin:25px auto;max-width:600px}
.exercise-heading h1{font-size:25px;line-height:1.25}
.exercise-heading .eyebrow{font-size:8px}
.question-scene{gap:21px;min-height:163px;margin:23px 0}
.question-scene>.bird{width:85px}
.question-bubble{font-size:20px;padding:16px 19px;gap:13px;border-radius:18px;min-height:84px;flex:1}
.question-emoji{font-size:28px}
.answer-grid{gap:12px}
.answer-option{padding:15px 14px;min-height:84px;font-size:16px;gap:11px;border-radius:14px}
.key-number{width:23px;height:26px;font-size:10px}
.exercise-footer{padding:18px 25px calc(18px + env(safe-area-inset-bottom));gap:18px;min-height:112px}
.footer-hint{display:none}
.exercise-footer:not(.feedback-correct):not(.feedback-wrong) .feedback-content{display:none}
.exercise-actions{justify-content:space-between;flex:1;gap:16px}
.exercise-actions>.primary{min-width:0;flex:1;max-width:300px;font-size:14px;padding:13px 17px}
.exercise-actions>.text-button{font-size:12px}
.feedback-correct,.feedback-wrong{flex-direction:column;align-items:stretch;gap:15px}
.feedback-content{gap:14px}
.feedback-content h2{font-size:22px}
.feedback-content p{font-size:12px}
.feedback-content small{font-size:10px}
.feedback-icon{width:37px;height:37px}
.feedback-correct .exercise-actions,.feedback-wrong .exercise-actions{justify-content:flex-end}
.feedback-correct .exercise-actions>.primary,.feedback-wrong .exercise-actions>.primary{width:100%;max-width:none}
.typed-area input{font-size:20px;min-height:75px;padding:18px 20px}
.typed-area p{font-size:10px}
.accent-button{min-width:36px;min-height:40px}
.accent-buttons{gap:6px}
.word-token{font-size:16px;min-height:48px;padding:10px 12px}
.sentence-slot{padding:12px 5px;gap:7px;min-height:102px}
.word-bank{gap:8px;padding:23px 0}
.match-area{gap:15px}
.match-column{gap:12px}
.match-word{font-size:14px;min-height:65px;padding:10px 8px}
.match-title{font-size:20px;gap:10px}
.match-title svg{width:23px;height:23px}
.listening{max-width:255px;gap:7px;padding:5px}
.listen-button{width:80px;height:79px;border-radius:21px}
.listen-button svg{width:35px;height:35px}
.listening>.text-button{font-size:11px;padding:8px}
.audio-fallback{font-size:10px;line-height:1.6}
.transcript{font-size:16px}
.hint-button{font-size:11px;margin-top:18px}
dialog{border-radius:22px;max-height:89dvh;width:calc(100vw - 26px)}
#modal-content{padding:29px 22px}
.modal-x{margin:-15px -8px 0 8px;width:31px;height:31px}
dialog h2{font-size:26px}
dialog p{font-size:12px}
.preview-words>button{padding:15px 10px;min-height:110px}
.preview-words b{font-size:13px}
.preview-words small{font-size:10px}
.preview-reward{font-size:10px;gap:5px}
.preview-reward>span{margin-left:10px}
.tip-box{padding:15px;gap:9px}
.tip-box p{font-size:11px}
.glossary-words{gap:7px}
.glossary-words>button{padding:10px 8px;gap:8px}
.glossary-words b{font-size:12px}
.glossary-words small{font-size:9px}
.glossary-words>button>span{font-size:20px}
.glossary-words svg{width:12px;height:12px}
.glossary select{font-size:16px}
.glossary-tip{font-size:11px!important}
.alphabet-grid{gap:9px;grid-template-columns:repeat(5,minmax(0,1fr))}
.alphabet-grid b{font-size:23px}
.alphabet-grid small{font-size:9px}
.week-dots{gap:6px}
.week-dots>span{width:39px;border-radius:10px}
.week-dots b{font-size:8px}
.unit-select b{font-size:12px}
.test-rules{gap:12px;font-size:10px}
#toast{bottom:94px;font-size:12px;padding:13px 17px}
.in-exercise #toast{bottom:143px}
}

@media(max-width:410px){.topbar{padding:0 16px}
.resources{gap:15px}
.resource b{font-size:16px}
.main-content{padding:21px 16px 15px}
h1{font-size:26px}
.page-heading p{font-size:11px}
.wood-sign{height:128px;top:34px;width:84%;padding-right:23px}
.wood-sign strong{font-size:22px}
.map-bird{width:76px;right:3%;bottom:134px}
.node-label{max-width:132px}
.node-label b{font-size:10px}
.node-label small{font-size:8px}
.step-1 .node-label{right:84px;max-width:110px}
.step-2 .node-label{right:84px;max-width:170px}
.step-3 .node-label{left:81px;max-width:118px}
.step-4 .node-label{left:85px;max-width:143px}
.test-step .node-label{right:76px;max-width:120px}
.path-node{width:67px;height:60px}
.map-step{width:67px;height:60px}
.path-node svg{width:25px;height:25px}
.node-callout{top:-43px}
.next-island-strip{gap:7px;left:9px;right:9px;padding:10px}
.next-island-strip b{font-size:9px}
.next-island-strip small{font-size:8px}
.journey-aside{gap:10px}
.journey-aside>.panel{padding:14px}
.journey-aside .lesson-card{grid-template-columns:minmax(0,1fr) 112px;padding:18px;gap:0 11px}
.lesson-card h2{font-size:21px}
.lesson-card p{font-size:10px}
.lesson-card .primary{font-size:11px;gap:6px}
.lesson-card .primary svg{width:15px;height:15px}
.lesson-card .lesson-chips span{font-size:8px}
.daily-card h2,.badge-card h2{font-size:14px}
.badge-preview{gap:5px}
.badge-preview img{width:30px;height:30px}
.badge-preview b{font-size:10px}
.badge-preview small{font-size:8px}
.daily-reward{font-size:10px}
.daily-reward span{font-size:8px}
.progress-label{font-size:8px}
.lesson-dots span{height:20px;width:20px;font-size:9px}
.tests-grid{gap:11px}
.unit-test{padding:15px;min-height:281px}
.unit-test h2{font-size:18px}
.test-status{max-width:65px;text-align:right;line-height:1.4}
.test-status svg{width:13px;height:13px}
.test-card-bottom .secondary{font-size:10px;padding:9px 7px;gap:5px}
.bonus-grid{gap:11px}
.bonus-card{padding:17px 13px}
.bonus-card h3{font-size:15px}
.bonus-card .secondary{font-size:10px}
.shop-grid{gap:12px}
.shop-art{height:157px}
.shop-detail{padding:15px 13px}
.shop-detail h2{font-size:16px}
.shop-detail p{font-size:10px}
.shop-art>.bird{width:93px}
.shop-crown{top:15px;width:50px;left:calc(50% - 25px)}
.rank-panel{padding:18px;gap:14px}
.rank-panel>.bird{width:56px}
.rank-panel h2{font-size:20px}
.rank-panel>strong{font-size:23px}
.rank-panel p{font-size:9px}
.result-main{padding:23px 15px 27px}
.result-tag{font-size:8px}
.result-main>h2{font-size:37px}
.result-title{font-size:15px}
.score-grid{gap:6px}
.score-box strong{font-size:27px}
.score-box>small{font-size:7px}
.coin-box img{width:20px;height:20px}
.score-box span{font-size:8px}
.celebration{transform:scale(.95);margin-left:auto;margin-right:auto;width:290px}
.celebration>.wreath{left:36px}
.celebration>.bird{left:70px}
.celebration-crown{left:111px}
.exercise-main{padding:0 20px;margin-top:24px}
.exercise-heading h1{font-size:23px}
.question-scene{gap:17px;min-height:153px;margin:22px 0}
.question-scene>.bird{width:75px}
.question-bubble{padding:15px;font-size:18px;gap:12px}
.question-emoji{font-size:24px}
.answer-option{padding:14px 11px;font-size:15px;gap:8px;min-height:86px}
.answer-option .key-number{display:none}
.answer-grid{gap:11px}
.exercise-footer{padding:17px 20px calc(17px + env(safe-area-inset-bottom))}
.feedback-content h2{font-size:20px}
.feedback-content p{font-size:11px}
.feedback-content small{font-size:9px}
.feedback-icon{display:none}
.exercise-actions>.primary{font-size:13px}
.word-token{font-size:15px;padding:10px 11px}
.match-word{font-size:13px;min-height:65px}
.match-area{gap:13px}
.match-title{font-size:18px}
.accent-button{min-width:33px}
.accent-buttons{gap:5px}
.alphabet-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.glossary-words{grid-template-columns:1fr}
.glossary-words b{font-size:13px}
.glossary-words small{font-size:10px}
.glossary-words svg{width:15px;height:15px}
.preview-reward{flex-wrap:wrap;font-size:10px}
.preview-reward>span{margin-left:7px}
.preview-words{gap:8px}
.preview-words b{font-size:12px}
.preview-words small{font-size:9px}
}

@media(max-width:350px){.resources{gap:11px}
.resource b{font-size:14px}
.resource img{width:24px;height:24px}
.breadcrumb{font-size:10px}
.main-content{padding:20px 13px 14px}
.map-step.step-1{--node-x:48%!important}
.step-1 .node-label{max-width:94px;right:78px}
.step-3 .node-label{max-width:102px;left:77px}
.step-4 .node-label{max-width:127px;left:79px}
.test-step .node-label{right:72px;max-width:103px}
.node-label{padding:7px}
.node-label b{font-size:9px}
.node-label small{font-size:8px}
.path-node{width:62px;height:56px}
.map-step{width:62px;height:56px}
.wood-sign strong{font-size:20px}
.journey-aside{grid-template-columns:1fr}
.journey-aside .lesson-card{grid-template-columns:minmax(0,1fr) 106px}
.journey-aside .badge-card{display:none}
.daily-card h2{font-size:17px}
.daily-card p{font-size:11px}
.progress-label{font-size:10px}
.daily-reward span{font-size:10px}
.test-card-top{gap:5px}
.unit-number{width:32px;height:32px;font-size:16px}
.unit-test{padding:13px;min-height:284px}
.unit-test h2{font-size:16px}
.test-card-bottom .secondary{font-size:9px}
.shop-grid{grid-template-columns:1fr}
.shop-art{height:190px}
.shop-detail p{min-height:0;font-size:12px}
.shop-detail h2{font-size:21px}
.shop-buy>.secondary{width:auto}
.result-main{padding-left:11px;padding-right:11px}
.celebration{width:265px;transform:scale(.88);height:214px;transform-origin:center}
.celebration>.wreath{left:23px}
.celebration>.bird{left:57px}
.celebration-crown{left:98px}
.result-main>h2{font-size:33px}
.score-box strong{font-size:24px}
.score-box>small{font-size:7px;letter-spacing:0}
.coin-box img{width:18px;height:18px}
.score-box span{font-size:7px}
.question-scene>.bird{width:62px}
.question-scene{gap:15px}
.question-bubble{font-size:17px;padding:13px;gap:9px}
.question-emoji{font-size:23px}
.answer-option{font-size:14px}
.typed-area input{font-size:18px}
.match-title{font-size:16px}
.match-word{font-size:12px}
.preview-words{grid-template-columns:1fr 1fr}
.preview-words b{font-size:11px}
.preview-words small{font-size:9px}
}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
html[data-motion=off] *,html[data-motion=off] *:before,html[data-motion=off] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

/* Separate ships for the whole crew. */
.login-shell{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;max-width:1600px;margin:auto;background:#fffdf6}
.login-island{position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;padding:44px 54px;background:#186e68;min-height:800px;color:white}
.login-island:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#125e5677,#073c3899 60%,#0c494fe6);z-index:-1}
.login-landscape{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transform:scale(1.1)}
.login-brand{font-family:Fredoka;font-size:36px;text-shadow:0 3px 0 #145d57}
.login-brand span{display:block;font-family:inherit;font-size:10px;letter-spacing:2px;margin-top:8px;color:#e0f9c7}
.login-story{position:relative;padding:65px 0 35px}
.login-parrot{width:210px;filter:drop-shadow(0 18px 12px #053e3855);transform:rotate(-8deg);margin-bottom:28px}
.login-speech{position:absolute;left:205px;top:75px;transform:rotate(6deg);padding:17px 24px;border-radius:24px 24px 24px 3px;background:#fff8df;color:#356847;font-weight:850;box-shadow:0 5px 0 #b9d298;font-size:15px}
.login-story h1{font-family:Fredoka;font-size:clamp(32px,3.5vw,53px);font-weight:400;letter-spacing:0;line-height:1.18}
.login-story p{margin-top:20px;color:#dcf2cf;font-size:17px}
.login-treasure{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:750;border-top:1px solid #ffffff3b;padding-top:25px;color:#ffedb3}
.login-treasure img{width:32px;height:32px;object-fit:contain}
.login-treasure svg{margin-left:auto}
.login-panel{align-self:center;width:min(100%,570px);justify-self:center;padding:55px 52px}
.login-panel h2{font-size:32px;line-height:1.2;margin:10px 0 14px;letter-spacing:-1px}
.login-panel>p{color:#7e8c79;font-size:14px}
.account-choices{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:28px 0}
.account-choice{position:relative;display:flex;flex-direction:column;align-items:center;padding:20px 8px 17px;border:2px solid #e2e7d8;border-radius:22px;box-shadow:0 4px 0 #e2e7d8;background:#fffdf9;transition:transform .15s,border-color .15s}
.account-choice:hover{transform:translateY(-2px);border-color:#afc997}
.account-choice.selected{background:#edf8df;border-color:#95c869;box-shadow:0 4px 0 #95c869}
.account-emblem{width:53px;height:53px;border-radius:18px;display:grid;place-items:center;background:#e6f0c9;color:#5e833e;margin-bottom:8px}
.account-emblem svg{width:28px;height:28px}
.emblem-szymon{background:#d8eeef;color:#318695}.emblem-kuba{background:#eadffa;color:#8c60ae}.emblem-michal{background:#f9eac4;color:#ad8536}
.account-choice b{font-size:18px}.account-choice small{font-size:11px;color:#859275;margin-top:3px}
.account-check{position:absolute;right:10px;top:10px;width:19px;color:#6eaa42}
.login-panel label{font-size:13px;font-weight:850;display:block;margin-bottom:10px}
.password-field{display:flex;align-items:center;gap:12px;border:2px solid #dfe6d8;border-radius:15px;padding:0 15px;background:#fff}
.password-field:focus-within{border-color:#80b987;box-shadow:0 0 0 3px #cfeac477}
.password-field svg{width:20px;color:#8aa185}
.password-field input{min-width:0;width:100%;border:0;background:none;outline:0;padding:15px 0;font-size:16px}
.login-error{min-height:27px;color:#b95043;font-size:12px;margin:9px 0 7px!important}
.login-submit{width:100%;display:flex;justify-content:center;align-items:center;gap:12px}
.login-footnote{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:24px;font-size:11px!important}.login-footnote svg{width:17px}
.account-switch{display:flex;align-items:center;gap:7px;border-radius:12px;padding:9px;background:#eaf3df;font-size:12px;font-weight:800;white-space:nowrap}.account-switch svg{width:19px}
.account-identity{display:grid;gap:8px;background:#f2f6e9;border-radius:14px;padding:15px;margin-bottom:20px}.account-identity>span{font-size:12px;color:#7f8e72}.account-identity .secondary{margin-top:4px}
.admin-notice{display:flex;align-items:center;gap:15px;border:1px solid #d3e6c0;background:#edf6e1;border-radius:18px;padding:20px 24px;margin-bottom:25px;font-size:13px}.admin-notice svg{width:29px;height:29px;color:#699444}
.crew-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.crew-card{padding:27px}.crew-title{display:flex;gap:14px;align-items:center}.crew-title .account-emblem{margin:0}.crew-title p{font-size:12px;color:#86917e;margin-top:4px}
.crew-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:22px 0;margin:20px 0 0;border-top:1px solid #e7ecdF}.crew-stats span{font-size:11px;color:#8c987f;text-align:center}.crew-stats b{display:block;font-size:21px;color:#3c6f54;font-weight:850}
.crew-activity{font-size:12px;color:#8d9883;min-height:40px}.crew-backups{display:flex;justify-content:space-between;border-top:1px solid #e8ecdF;padding-top:12px;margin:6px 0 14px}.crew-backups .text-button{font-size:12px}
.danger-outline{width:100%;border:1px solid #efd7cd;background:#fff5f0;color:#b96c52;border-radius:12px;padding:13px;font-weight:750;font-size:12px;display:flex;align-items:center;justify-content:center;gap:8px}.danger-outline:hover{background:#ffe9df}.danger-outline svg{width:16px}
.legacy-panel{padding:25px;margin-bottom:25px;display:grid;gap:14px}.legacy-panel h2{margin:10px 0}.legacy-panel p{font-size:13px}.legacy-panel label{font-weight:800;font-size:12px}.legacy-panel select{padding:12px;border:1px solid #d4ddc7;border-radius:12px;background:white;color:#456543}.legacy-panel>.secondary{justify-self:start}
#save-status{position:fixed;z-index:100;bottom:90px;left:50%;transform:translateX(-50%);max-width:calc(100% - 24px);display:flex;gap:15px;align-items:center;background:#fff0d1;border:2px solid #dfaf61;border-radius:15px;padding:14px 20px;box-shadow:0 10px 40px #51381733;font-size:12px}
@media(min-width:1100px){.resources{gap:17px}}
@media(max-width:1100px){.login-island{padding:35px;min-height:760px}.login-panel{padding:35px}.login-speech{left:160px;top:55px;padding:14px 17px;font-size:13px}.login-parrot{width:170px}.account-switch span{display:none}}
@media(max-width:760px){.login-shell{display:block}.login-island{min-height:0;height:220px;padding:22px 25px}.login-brand{font-size:25px}.login-brand span{font-size:8px}.login-story{position:absolute;inset:0;padding:0}.login-story h1{position:absolute;left:25px;bottom:25px;font-size:26px}.login-story p,.login-speech,.login-treasure{display:none}.login-parrot{position:absolute;right:22px;bottom:0;width:120px;margin:0}.login-panel{padding:29px 25px 36px;margin:auto}.login-panel h2{font-size:27px}.account-choices{margin:22px 0;gap:12px}.account-choice{padding:15px 8px 13px}.account-emblem{width:45px;height:45px;border-radius:15px}.account-choice b{font-size:17px}.account-identity .secondary{font-size:12px}.crew-grid{grid-template-columns:1fr;gap:18px}.crew-card{padding:21px}.crew-stats b{font-size:20px}.admin-notice{padding:17px;align-items:flex-start}.admin-notice p{font-size:12px}.account-switch{padding:6px;background:none}.account-switch svg{width:17px}#save-status{flex-direction:column;gap:8px;text-align:center;width:350px}.login-footnote{font-size:10px!important}}
@media(max-width:380px){.login-island{height:185px}.login-parrot{width:95px;right:13px}.login-story h1{font-size:23px}.login-panel{padding:24px 19px}.login-panel h2{font-size:24px}.account-choice small{font-size:10px}.crew-backups .text-button{font-size:11px}.account-switch{padding:3px}}
/* Accepted spelling with an accent reminder still uses the success state. */
.feedback-accent{background:#eef6e5}
.feedback-accent .feedback-content h2{color:#537a36}
.accent-correction{font-size:21px;line-height:1.65;font-weight:800;margin-top:6px;color:#315f42;overflow-wrap:anywhere}
.accent-letter{text-decoration-line:underline;text-decoration-style:solid;text-decoration-color:#bd842a;text-decoration-thickness:3px;text-underline-offset:4px;background:#ffecb7;border-radius:4px;padding:0 2px;color:#7d5317}
.feedback-accent .accent-detail{color:#6a794f;font-size:12px;margin-top:7px}
.accent-review-note{color:#866223!important;font-weight:700}
@media(max-width:760px){.accent-correction{font-size:20px}.feedback-accent .accent-detail{font-size:11px}.feedback-accent .feedback-content{min-width:0}.feedback-accent .feedback-content>div{min-width:0}}
.combo-counter{display:grid;grid-template-columns:20px auto;align-items:center;column-gap:4px;padding:7px 12px;border:2px solid #f1cd75;border-radius:15px;color:#925713;background:#fff2cb;flex-shrink:0;line-height:1.1}
.combo-counter svg{width:20px;height:20px;fill:#f8c553;grid-row:1/3}
.combo-counter b{font-family:Fredoka;font-size:23px}
.combo-counter small{font-size:8px;font-weight:900;letter-spacing:1px;margin-top:3px}
.combo-hot{background:#ffe3ad;border-color:#edaa4a;color:#9b4b1d}
.combo-feedback{display:flex;align-items:center;gap:5px;color:#89551d;font-size:12px;font-weight:850;margin-bottom:5px}
.combo-feedback svg{width:17px;height:17px;fill:#f5c14c}
.combo-result{color:#966021}

/* A brief white interlude, alternating the animated parrot and transparent flag. */
.combo-celebration{position:fixed;inset:0;z-index:90;display:grid;place-items:center;pointer-events:none;overflow:hidden;background:#fff;animation:combo-interlude 1.5s both}
.combo-interlude{width:min(440px,90vw);text-align:center;padding:20px 0}
.combo-art{height:clamp(190px,34vh,300px);position:relative}
.combo-parrot-jump{height:100%;width:clamp(190px,34vh,300px);margin:auto;position:relative;z-index:1;animation:combo-parrot-hop .46s ease-in-out 3}
.combo-parrot-sprite{width:100%;height:100%;background:url('../assets/combo-parrot.webp') 0 0 / 3000% 100% no-repeat;animation:combo-wings 1s steps(29) infinite}
.combo-ground-shadow{position:absolute;bottom:1%;left:35%;width:30%;height:15px;border-radius:50%;background:#e7efe6;animation:combo-shadow .46s ease-in-out 3}
.combo-pirate-flag{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform-origin:23% 50%;animation:combo-flag-wave .24s ease-in-out infinite alternate;filter:drop-shadow(0 9px 5px #29473d16)}
.combo-big-count{display:block;font-family:Fredoka;font-size:clamp(64px,11vw,92px);line-height:1.1;color:#df9928;text-shadow:0 4px 0 #ffe8b1;margin-top:10px;animation:combo-count-pop .32s both}
.combo-interlude h2{font-family:Fredoka;font-size:clamp(28px,6vw,38px);color:#247d65;margin-top:8px}
.combo-interlude p{font-weight:800;font-size:16px;color:#78917c;margin-top:7px}
.combo-star{position:absolute;color:#f4c34d;animation:combo-star-twinkle .55s ease-in-out infinite alternate;font-size:35px}
.combo-star-0{top:15%;left:10%}.combo-star-1{top:7%;right:14%;font-size:24px;animation-delay:.1s}.combo-star-2{bottom:18%;left:16%;font-size:20px;animation-delay:.2s}.combo-star-3{bottom:25%;right:9%;animation-delay:.15s}
@keyframes combo-interlude{0%,82%{opacity:1}100%{opacity:0}}
@keyframes combo-wings{to{background-position:100% 0}}
@keyframes combo-parrot-hop{0%,100%{transform:translateY(0) scale(1.03,.97)}45%{transform:translateY(-28px) rotate(-4deg) scale(.98,1.02)}70%{transform:translateY(-12px) rotate(3deg)}}
@keyframes combo-shadow{0%,100%{transform:scaleX(1);opacity:.8}45%{transform:scaleX(.65);opacity:.35}}
@keyframes combo-flag-wave{from{transform:perspective(750px) rotateY(-12deg) skewY(-2deg) rotate(-3deg)}to{transform:perspective(750px) rotateY(10deg) skewY(2deg) rotate(2deg)}}
@keyframes combo-count-pop{0%{transform:scale(.7)}65%{transform:scale(1.1)}100%{transform:scale(1)}}
@keyframes combo-star-twinkle{from{transform:scale(.6) rotate(-15deg);opacity:.4}to{transform:scale(1.1) rotate(15deg);opacity:1}}
@media(max-width:600px){.combo-counter{padding:5px 8px;grid-template-columns:15px auto;border-radius:11px}.combo-counter b{font-size:19px}.combo-counter svg{width:15px;height:15px}.combo-counter small{font-size:7px}.combo-feedback{font-size:11px}}
@media(prefers-reduced-motion:reduce){.combo-celebration{display:none}}
html[data-motion=off] .combo-celebration{display:none}
.correction-welcome{width:min(750px,100%);margin:auto;padding:25px 25px 45px;text-align:center}
.correction-lesson{font-size:13px;color:#819282;flex:1}
.correction-stage{display:flex;align-items:center;gap:7px;color:#51876f;font-weight:800;font-size:12px}
.correction-stage svg{width:19px;height:19px}
.correction-companion{position:relative;width:250px;margin:0 auto 28px;padding-top:20px}
.correction-companion .bird{width:155px}
.correction-companion>span:last-child{position:absolute;top:0;right:-15px;background:#fff;border:2px solid #d7e7c8;border-radius:17px 17px 17px 3px;padding:10px 15px;color:#50873c;font-weight:850;transform:rotate(4deg)}
.correction-welcome h1{font-size:clamp(24px,4vw,34px);line-height:1.3}
.correction-welcome>p{margin:17px auto;color:#7b8f7a;font-size:16px}
.correction-count{display:inline-flex;align-items:center;gap:8px;padding:10px 19px;border-radius:15px;background:#eaf4df;color:#577d40;font-weight:800;margin:7px 0}
.correction-welcome .correction-reassurance{font-size:12px;max-width:360px;margin:12px auto 25px}
.correction-welcome>.primary{min-width:250px}
.match-word[lang=es]{display:flex;align-items:center;justify-content:center;gap:7px}
.match-word[lang=es] svg{width:16px;height:16px;opacity:.65}
.match-audio-tip{font-size:11px;color:#81947c;text-align:center;margin:15px 0 5px}
.match-audio-tip svg{width:15px;height:15px;margin-right:4px}
@media(max-width:600px){.correction-welcome{padding:15px 22px 30px}.correction-welcome h1 br{display:none}.correction-companion{margin-bottom:22px}.correction-welcome>p{font-size:14px}.correction-stage{font-size:10px}.correction-welcome>.primary{width:100%;min-width:0}.match-word[lang=es]{gap:4px}.match-word[lang=es] svg{width:13px;height:13px}}

/* Highlight only the corrected words, with an exact 2px size increase. */
.wrong-answer-text{font-weight:400;overflow-wrap:anywhere}
.wrong-answer-text .correction-word{font-weight:850;font-size:calc(1em + 2px);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;color:#865d18}

.emblem-ania{background:#f9deea;color:#b26088}.emblem-gosia{background:#e2eed2;color:#698b3e}

/* The lesson companion keeps one actor alive across answer selection renders. */
.lesson-parrot{aspect-ratio:1;line-height:0}
.parrot-actor{position:relative;display:block;width:100%;height:100%;aspect-ratio:1;transform-origin:50% 90%}
.parrot-canvas,.parrot-still{position:absolute;inset:0;width:100%;height:100%}
.parrot-actor .parrot-crown{position:absolute;width:37%;top:0;left:36%;transform:rotate(-8deg)}
.parrot-actor [hidden]{display:none}
.question-scene>.lesson-parrot{width:154px}
@media(max-width:760px){.question-scene>.lesson-parrot{width:112px}}
@media(max-width:380px){.question-scene>.lesson-parrot{width:100px}}

/* Keep the actual mistaken connection visible, even after all tiles are matched. */
.match-word,.match-word[lang=es]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:76px}
.match-word-label{display:flex;align-items:center;justify-content:center;gap:7px}
.match-word-label>span{overflow-wrap:anywhere}
.match-word .match-tile-status{display:flex;align-items:center;justify-content:center;gap:4px;font-size:10px;font-weight:750;line-height:1.2}
.match-word .match-tile-status svg{width:12px;height:12px;opacity:1}
.match-word.match-wrong{background:#fff0ee;border-color:#da6c68;color:#a72f35;opacity:1}
.match-word.match-corrected{background:#fff7de;border-color:#ddc074;color:#796025;opacity:1}
.match-word.match-corrected .match-tile-status{color:#4d7933}
.match-hint-wrong{color:#a72f35;font-weight:650}
.match-details{margin:20px 0 4px;border:2px solid #e5dfc8;border-radius:17px;padding:18px;background:#fffdf4}
.match-details h2{display:flex;align-items:center;gap:8px;font-size:16px;color:#6d633e;margin:0 0 12px}
.match-details h2 svg{width:20px;height:20px;flex-shrink:0}
.match-mistake+.match-mistake{margin-top:13px;padding-top:13px;border-top:1px solid #e5dfc8}
.match-mistake p{margin:0;display:flex;align-items:baseline;gap:12px;font-size:15px;line-height:1.5}
.match-mistake .match-mistake-wrong{color:#a72f35}
.match-mistake .match-mistake-correct{color:#3c742c;margin-top:7px}
.match-detail-label{flex:0 0 83px;font-size:11px;font-weight:650}
.match-detail-pair{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 9px;min-width:0;overflow-wrap:anywhere}
.match-mistake-correct b{font-weight:850;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:2px}
.match-remaining{color:#3c742c;font-size:14px;line-height:1.5;margin:7px 0}
.match-details h2:not(:first-child){margin-top:20px}
.review-answer .match-details{margin-top:12px}
.tests-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;color:#71855e;font-size:14px}
.tests-empty .secondary{flex-shrink:0}
@media(max-width:600px){.match-details{padding:14px;margin-top:16px}.match-mistake p{flex-direction:column;gap:2px;font-size:14px}.match-detail-label{flex-basis:auto;font-size:10px}.match-word-label{gap:4px}.match-word .match-tile-status{font-size:9px}.match-details h2{font-size:15px}}
@media(max-width:600px){.tests-empty{flex-direction:column;align-items:flex-start;gap:14px;padding:20px}}

/* Animated companions retain the dimensions of the original three menu slots. */
.menu-parrot{aspect-ratio:1;line-height:0}
.brand>.brand-bird{padding:0;display:flex;align-items:center;flex-shrink:0}
.brand-bird .parrot-actor{height:auto}

/* Two isolated pronunciation samples for trying browser speech recognition. */
.speech-lab{margin-top:42px;padding-bottom:12px}
.speech-lab>.section-heading{margin-top:0}
.speech-sample-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.speech-sample-card{position:relative;display:flex;flex-direction:column;min-height:225px;padding:25px;overflow:hidden}
.speech-sample-number{position:absolute;right:18px;top:10px;color:#e3ead8;font-family:Fredoka;font-size:43px;font-weight:700}
.speech-sample-card .eyebrow{font-size:9px;color:#9bae82}
.speech-sample-card h3{position:relative;margin:14px 0 6px;font-size:24px;line-height:1.25;color:#28564a}
.speech-sample-card>p{font-size:12px;color:#8a9a7e}
.speech-sample-actions{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:21px}
.speech-sample-actions button{font-size:12px}
.speaking-shell{min-height:100dvh}
.speaking-main{max-width:700px;text-align:center;padding-top:22px}
.speaking-main>.eyebrow{color:#60947c;letter-spacing:2px}
.speaking-main>h1{margin:9px 0;font-size:clamp(25px,4vw,34px)}
.speech-instruction{margin:0 auto;color:#86957c;font-size:14px}
.speech-mode-label{font-size:10px;font-weight:850;letter-spacing:1px;color:#8cac69}
.speech-phrase-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:29px auto 22px;padding:22px 25px;background:#fffef7;border:2px solid #e1e9d6;border-radius:22px;text-align:left;box-shadow:0 4px 0 #e2ead9}
.speech-phrase-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.speech-phrase-copy strong{font-size:clamp(21px,3vw,29px);line-height:1.25;color:#28564a}
.speech-phrase-copy small{font-size:12px;color:#8b9c80}
.speech-listen{display:flex;align-items:center;justify-content:center;width:52px;height:52px;flex:0 0 52px;border-radius:17px;background:#edf6e4;color:#679849}
.speech-listen svg{width:23px;height:23px}
.speech-mic-scene{display:flex;align-items:center;justify-content:center;gap:29px;min-height:156px;margin:12px 0}
.speech-mic-scene>.lesson-parrot{width:122px}
.speech-mic-button{width:132px;height:132px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(#9bd553,#79b936);border:7px solid #eaf4de;box-shadow:0 7px 0 #5a9a31;color:white;font-weight:850;transition:transform .15s,background .15s}
.speech-mic-button:hover{transform:translateY(-2px)}
.speech-mic-button svg{width:37px;height:37px}
.speech-mic-button span{font-size:11px}
.speech-mic-button.is-listening{background:linear-gradient(#ef9d62,#da7350);box-shadow:0 7px 0 #b75943;animation:speech-pulse 1.3s ease-in-out infinite}
.speech-mic-button.is-correct{background:linear-gradient(#a2d85d,#7fbf3c);box-shadow:0 7px 0 #5a9a31}
.speech-mic-button:disabled{cursor:wait}
@keyframes speech-pulse{50%{box-shadow:0 0 0 14px #db805333,0 7px 0 #b75943;transform:scale(1.04)}}
.speech-live{min-height:28px;color:#7a9270;font-size:13px}
.speech-result{display:flex;align-items:flex-start;gap:12px;max-width:520px;margin:10px auto 0;padding:15px 19px;border-radius:16px;text-align:left}
.speech-result>svg{width:23px;height:23px;flex:0 0 23px;margin-top:1px}
.speech-result>div{display:flex;flex-direction:column;gap:5px}
.speech-result b{font-size:14px}
.speech-result small{font-size:12px;line-height:1.4}
.speech-result-good{background:#edf8e5;border:1px solid #cde3ba;color:#527e3c}
.speech-result-try{background:#fff4e9;border:1px solid #ead8bc;color:#987343}
.speech-privacy{max-width:570px;margin:22px auto 4px;color:#a0a996;font-size:10px;line-height:1.55}
.speech-footer{justify-content:center;flex-direction:column;gap:5px;padding-top:14px;padding-bottom:calc(18px + env(safe-area-inset-bottom))}
.speech-footer .feedback-content{justify-content:center;text-align:center}
.speech-footer .exercise-actions{justify-content:center;flex:0 1 auto;gap:22px}
.speech-footer .exercise-actions>.primary{max-width:none;min-width:200px}
.speech-footer .exercise-actions>.text-button{white-space:nowrap}
@media(max-width:760px){.speech-sample-grid{grid-template-columns:1fr}.speech-sample-card{min-height:190px;padding:21px}.speech-sample-card h3{font-size:22px}.speech-lab{margin-top:32px}.speech-mic-scene{gap:12px;min-height:135px}.speech-mic-scene>.lesson-parrot{width:95px}.speech-mic-button{width:112px;height:112px}.speech-mic-button svg{width:31px;height:31px}.speech-phrase-card{padding:17px 18px;margin-top:24px}.speaking-main{margin-top:16px;padding-left:22px;padding-right:22px}.speech-footer .exercise-actions{width:100%;flex-direction:column;gap:8px}.speech-footer .exercise-actions>.primary{width:100%;min-height:47px}.speech-footer .exercise-actions>.text-button{font-size:12px}}
