/* Compact, touch-first app surface. */
:root{--paper:#fff;--ink:#1e302d;--muted:#6d7875;--red:#16745e;--line:#e5eae7}html{scroll-padding-top:85px}body{background:#fff;color:var(--ink)}header{background:#fff;padding:18px 28px;border-bottom:1px solid #eef0ee;position:sticky;top:0;z-index:20;max-width:1160px}header .brand{color:#193d33;letter-spacing:-1.4px}.branddot{color:#ec7450}header nav:not(.appnav){color:#5e6c66}.appnav{display:none}main{padding-top:0}.hero{background:#fff;color:#233c31;box-shadow:none;border:0;border-bottom:1px solid #e8ece8;border-radius:0;margin:0 0 24px;padding:24px 0;min-height:225px;grid-template-columns:1.4fr 1fr;gap:30px}.hero>div:first-child{padding:0}.hero h1{font-size:45px;letter-spacing:-1.5px;margin:12px 0}.hero .eyebrow{color:#7e8b83;letter-spacing:1.5px;font-size:10px}.hero .intro{color:#7c8982;font-size:13px}.hero .primary{background:#19745d;color:#fff;border-radius:13px;border-bottom:3px solid #105c49;font-size:14px}.hero .primary:hover{background:#12634e}.hero .textlink{color:#60756b;font-size:12px}.hero .actions{margin-top:20px;gap:20px}.hero .postcard{height:205px;align-self:center;border-radius:17px;overflow:hidden;max-width:340px;justify-self:end}.hero .postcard>img{filter:saturate(.75);object-position:center 40%}.hero .hello-bubble{padding:6px 11px;font-size:15px;bottom:14px;left:13px;transform:none;box-shadow:0 3px 12px #24443515}.hero .hello-bubble small{font-size:8px}.soundsection{background:#fff;border:0;padding:0 0 24px;border-radius:0;border-bottom:1px solid #e9ede9;margin-bottom:0}.sectionhead h2{font-size:27px;letter-spacing:-.7px}.soundsection .sectionhead h2{font-size:27px;margin:0}.soundcolumnlabels{color:#8b9790;font-size:10px}.soundmappings{gap:12px}.soundmapping{position:relative;background:white;color:#273c31;border:2px solid #e5eae6;border-bottom:4px solid #d9e1db;border-radius:16px;padding:16px;min-height:155px;transition:background .15s,transform .12s,border-color .15s}.soundmapping:hover{background:#f5faf7;border-color:#abcbb6}.soundmapping:active{transform:translateY(2px);border-bottom-width:2px}.soundmapping.is-playing{background:#f0f9f1;border-color:#5d9d74}.soundequation{font-size:30px;gap:12px;letter-spacing:-.6px}.soundequation b:first-child{color:#1d3d30}.soundequation b:last-child{color:#657c6b}.soundequation>span{color:#a4b2a6;font-size:20px}.englishanchor{font-size:12px;color:#7f8d82;margin-top:5px}.englishanchor b{color:#526e58}.polishanchor{color:#526e58;font-size:11px;width:auto;margin-top:10px;padding-right:75px}.polishanchor>span{font-size:10px;color:#98a499}.listen-pill{display:flex;align-items:center;justify-content:center;gap:5px;background:#237d5c;color:white;min-height:35px;border-radius:11px;padding:7px 10px;position:absolute;right:12px;bottom:12px;box-shadow:0 2px 0 #155b42;font-size:11px;font-weight:700}.listen-pill svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.soundmapping:nth-child(3n+2) .listen-pill{background:#ae673e;box-shadow:0 2px 0 #8b4f2e}.soundmapping:nth-child(3n) .listen-pill{background:#477181;box-shadow:0 2px 0 #315362}.is-playing .listen-pill{animation:listenpulse .8s ease-in-out infinite alternate}.soundcaption{color:#a3aca4!important}.moresounds summary{display:inline-flex;align-items:center;border:1px solid #dce5dd;border-radius:20px;padding:6px 13px;min-height:34px;font-size:11px;font-weight:600;color:#526e58;margin:2px 0}.moresounds summary:before{content:'+';font-size:16px;margin-right:7px}.moresounds[open] summary:before{content:'−'}.softbuttons button{border-color:#e2e8e3;color:#3c5a46}.softbuttons span{color:#859287}.soundtip{color:#879388!important}.eyebrow{color:#839086}.card{border:1px solid #e6ebe7;border-bottom:3px solid #dce4de;border-radius:16px;box-shadow:none}.card h3{color:#304d3c;font-size:19px}.cardbottom{color:#809087}.cardbottom b{background:#edf3ef;color:#42715b}.card .scene{filter:saturate(.72)}.phrasebook{background:#f7f9f7;border:1px solid #e9ede9;border-radius:17px}.primary,.lessonnav .primary{background:#19745d;border-radius:12px;color:white}.primary:hover,.lessonnav .primary:hover{background:#115c49}.secondary{background:#eff5f0;border-color:#d5e2d8;color:#3c6650}.voicebuttons .secondary{background:#e9f4ec;color:#216447}.progress{background:#e9efea}.progress i{background:#4a9264}.hint{background:#f3f7f3;color:#6b7e6d}.lessonbody{border:1px solid #e8eee8;box-shadow:none}.gamefeedback.good{color:#367552}.gamestats{border-color:#e7ece7}.topicbadge{color:#8b998f}.gamestats b{color:#3b6850}.gamestats{color:#7f8c82}.gamebar .plain{color:#6d8172}.setupbody label{color:#748477}.setupbody p,.gameresult p{color:#819085}.playarea,.gamesetup,.gameresult{border-color:#e2eae3}.gamedesc{color:#819085}.word{background:#edf4ed;border-color:#c9dbca;color:#3e6550}.word.chosen{border-color:#cbdbcc}.wordslots{background:#f6f9f6;border-color:#cbd9cc}.word:hover:not(:disabled){background:#e1eee2}.pairtile{background:#f8faf8;border-color:#e1e9e2;color:#3c5f48}.pairtile.selected{background:#edf6ed;border-color:#8fb89a}.buildprompt{color:#2c4b38}select{background:#fafcfa;border-color:#dce5dd;color:#3c5f48}.translation{color:#87968b}.plain{color:#5f7967}footer{border-color:#edf0ed;color:#9aa59d;font-size:11px}.about p{color:#939f96}.about h2{color:#74857a}#notice{background:#243c2e}button:focus-visible,a:focus-visible,select:focus-visible{outline-color:#dcaf63}@keyframes listenpulse{from{box-shadow:0 0 0 0 #579a6b44}to{box-shadow:0 0 0 6px #579a6b00}}@media(prefers-reduced-motion:reduce){.is-playing .listen-pill{animation:none}}
@media(max-width:760px){html{scroll-padding-top:79px}body{padding-bottom:85px}header{padding:13px 20px;box-shadow:0 1px 0 #edf0ec;min-height:65px}header .brand{font-size:26px}header .brand small{font-size:8px;letter-spacing:.7px;margin-top:4px}header nav:not(.appnav){display:none}header:after{content:'Learn Polish';font-size:11px;color:#96a297;letter-spacing:.1px}.appnav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:50;background:#fff;border-top:1px solid #e8eee8;box-shadow:0 -3px 15px #203e2205;padding:8px 12px max(8px,env(safe-area-inset-bottom));gap:0;justify-content:space-around}.appnav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;color:#98a69b;font-size:10px;min-height:48px;padding:5px 6px;text-decoration:none;line-height:1.2;font-weight:600;border-radius:12px}.appnav a:last-child{display:flex}.appnav a.active{color:#1a7452;background:#eef6ef}.appnav svg{height:22px;width:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.appnav a.active svg{stroke-width:2.1}main{padding:0 18px}.hero{display:grid;grid-template-columns:1fr 102px;gap:12px;padding:20px 0;margin:0 0 22px;min-height:0;align-items:center;overflow:visible}.hero>div:first-child{padding:0;min-width:0}.hero .postcard{order:0;height:137px;width:102px;border-radius:14px;align-self:start;margin-top:6px}.hero .postcard>img{object-position:58% center}.hero .hello-bubble{display:none}.hero .eyebrow{font-size:7px;letter-spacing:1px;line-height:1.3;display:block}.hero h1{font-size:28px;letter-spacing:-1px;line-height:1.06;margin:8px 0 10px}.hero .intro{font-size:10px;line-height:1.5;max-width:200px}.hero .actions{display:flex;gap:10px;flex-direction:column;align-items:start;margin-top:13px}.hero .primary{font-size:11px;padding:10px 13px;gap:20px;border-radius:11px}.hero .textlink{font-size:9px;text-decoration:none}.sectionhead h2,.soundsection .sectionhead h2{font-size:23px;letter-spacing:-.7px}.soundsection .sectionhead{margin-bottom:11px}.soundcolumnlabels{font-size:9px;margin-bottom:9px}.soundmappings{gap:10px}.soundmapping{min-height:140px;padding:12px;border-radius:14px;border-width:2px;border-bottom-width:4px}.soundequation{font-size:27px;gap:9px}.soundequation>span{font-size:18px}.englishanchor{font-size:11px;margin-top:4px}.polishanchor{font-size:10px;margin-top:7px;padding-right:0;display:block}.polishanchor>span{font-size:9px}.listen-pill{bottom:10px;right:10px;left:10px;border-radius:9px;min-height:29px;padding:5px 9px;font-size:10px}.listen-pill svg{height:16px;width:16px}.soundcaption{font-size:8px!important;margin-top:8px!important}.moresounds{margin-top:10px}.moresounds summary{font-size:10px;padding:4px 11px;min-height:30px}.soundsection{padding-bottom:19px}.soundtip{font-size:10px!important}.softbuttons span{font-size:10px}.card h3{font-size:15px}section{padding:20px 0}.card .scene{aspect-ratio:1.8}.card{border-radius:13px}.cardbottom{font-size:9px}.sectionhead .eyebrow{font-size:8px;letter-spacing:1.5px}.phrasebook{border-radius:15px}.about{padding-bottom:10px}.gamewrap{margin-top:10px}.gamebar{margin-top:0}.lessonbody>.scene{height:105px}.lessonbar{min-height:35px}.lessonbody{border-radius:14px}#notice{bottom:90px}.playarea{padding:13px}.gameinstruction{font-size:10px}.memorytile{min-height:94px}.memoryboard{gap:7px}footer{padding:20px 18px;font-size:10px;margin-bottom:8px}.lessonpractice{gap:12px}.hero .actions .primary span{font-size:14px}}
.soundmapping.tap-feedback{background:#e9f4eb;border-color:#8eb59a}
