@font-face{font-family:Dico;src:url('assets/fredoka-0.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Dico;src:url('assets/fredoka-1.ttf') format('truetype');font-weight:500;font-display:swap}@font-face{font-family:Dico;src:url('assets/fredoka-2.ttf') format('truetype');font-weight:600;font-display:swap}@font-face{font-family:Dico;src:url('assets/fredoka-3.ttf') format('truetype');font-weight:700 950;font-display:swap}
:root{font-family:Dico,'Arial Rounded MT Bold',sans-serif;color:#fff;background:#031e4c;font-synthesis:none;--gold:#ffdc40;--stroke:#20b9ff;--nav-height:76px}*{box-sizing:border-box}body{margin:0;min-width:280px}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}button:disabled{cursor:default}svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.app-shell{position:relative;isolation:isolate;max-width:430px;margin:0 auto;min-height:100dvh;background:radial-gradient(ellipse at 110% 64%,#0086e2aa,transparent 55%),radial-gradient(ellipse at 0 24%,#0045acaa,transparent 65%),linear-gradient(152deg,#002257,#03428f 52%,#035aa8);box-shadow:0 0 120px #0096ed20}.app-shell:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('assets/ocean.svg') center top/100% 100% no-repeat}main{outline:none}.screen{padding:14px 16px calc(var(--nav-height) + 22px + env(safe-area-inset-bottom))}.screen[hidden]{display:none}.brand-header{height:83px;display:flex;justify-content:space-between;align-items:flex-start}.brand-logo{width:157px;height:auto;display:block;margin:0 0 0 9px;mix-blend-mode:normal}.icon-button{width:42px;height:42px;border:0;background:transparent;color:white;display:grid;place-items:center;padding:8px}.brand-header>.icon-button{margin-top:13px}.icon-button svg{width:23px;height:23px}h1,h2,p{margin:0}.home-title{font-size:clamp(25px,7.6vw,32px);letter-spacing:-1.3px;font-weight:900;line-height:1.17;position:relative;white-space:nowrap;margin:-1px 3px 11px;text-shadow:0 2px 1px #002464}.title-sparks{display:inline-block;position:relative;width:13px;height:22px;margin-left:5px;vertical-align:baseline}.title-sparks i{position:absolute;width:6px;height:18px;background:#ffdc35;border-radius:5px;left:1px;top:0;transform:rotate(22deg)}.title-sparks i+ i{height:12px;left:8px;top:11px;transform:rotate(53deg)}.hero{overflow:hidden;border-radius:25px;border:1.5px solid #8ad72d;box-shadow:0 0 14px #02b8ff45;aspect-ratio:1.4;background:#1a5e7b}.hero img{width:100%;height:100%;object-fit:cover;display:block}.home-caption{position:relative;text-align:center;font-size:19px;line-height:1.22;font-weight:800;letter-spacing:-.5px;margin:9px 0 16px;text-shadow:0 2px #00194e}.green-sparks{position:absolute;right:14px;top:7px;font-size:24px;color:#a3e430;transform:rotate(-20deg)}.daily-card{height:71px;display:flex;align-items:center;gap:15px;border:1.2px solid var(--stroke);border-radius:20px;padding:10px 16px;background:linear-gradient(145deg,#095da6d9,#002c70e6);box-shadow:inset 0 1px 3px #8adeff4d,0 4px 15px #00275c66}.calendar{color:#a2f171;fill:#e6ffd9;width:42px;height:42px;stroke:#4b9d19;stroke-width:2}.daily-copy{display:grid;gap:2px;white-space:nowrap;font-size:13px}.daily-copy strong{font-size:17px;letter-spacing:-.5px}.daily-track{height:14px;min-width:60px;max-width:110px;flex:1;margin-left:auto;background:linear-gradient(#356eab,#4b95cf);border:1px solid #6eb5e0;border-radius:14px;overflow:hidden}.daily-track i{display:block;height:100%;width:0;background:linear-gradient(#a5e64f,#38a014);border-radius:14px;box-shadow:inset 0 0 1px #fff}.button{position:relative;display:flex;align-items:center;justify-content:center;gap:13px;width:100%;border:1.5px solid #4cceff;border-radius:40px;color:white;font-size:19px;line-height:1.2;font-weight:800;letter-spacing:-.65px;min-height:57px;padding:13px 19px;text-decoration:none;text-shadow:0 1px 1px #00449c;box-shadow:inset 0 2px 3px #90ddff6b,0 5px 11px #002b7655;transition:filter .16s,transform .16s}.button:hover{filter:brightness(1.1)}.button:active{transform:translateY(1px)}.button svg{width:28px;height:28px}.button.primary{background:linear-gradient(#078dff,#0060e5 60%,#0041b9)}.button.sky{background:linear-gradient(#19afff,#078cf4 62%,#0871da)}.button.green{background:linear-gradient(#79d137,#3daa08 66%,#239300);border-color:#b2e55d;text-shadow:0 1px #318b0b;box-shadow:inset 0 2px 3px #d1f798a6,0 5px 11px #003a4c55}.start-button{margin-top:11px}.start-button>svg,.next-button>svg,.progress-cta>svg{position:absolute;right:21px;width:28px;height:28px;stroke-width:3.5}.section-heading{font-size:19px;font-weight:800;letter-spacing:-.8px;margin:15px 1px 9px}.lesson-list,.history-list{display:grid;gap:9px}.lesson-row{border:1.2px solid #00aaff;border-radius:18px;background:linear-gradient(140deg,#06499bc9,#002664ce);display:flex;align-items:center;gap:13px;color:#fff;padding:8px 11px;min-height:55px;width:100%;text-align:left;box-shadow:inset 0 1px 1px #90d5ff24}.lesson-row .lesson-badge{border-radius:12px;min-width:42px;height:40px;display:grid;place-items:center;font-size:20px;font-weight:800;background:linear-gradient(#0d99ff,#0068e9);border:1px solid #8ccfff;box-shadow:0 2px 4px #00194777}.lesson-row.is-completed:not(.is-locked) .lesson-badge{background:linear-gradient(#93d23b,#32a306);border-color:#c5e88b}.lesson-row .lesson-name{font-size:14px;letter-spacing:-.5px;font-weight:800;line-height:1.25;flex:1}.lesson-row>svg{width:18px;height:22px;stroke-width:3}.bottom-nav{position:fixed;bottom:0;width:100%;max-width:430px;z-index:10;display:grid;grid-template-columns:repeat(3,1fr);padding:8px 10px calc(8px + env(safe-area-inset-bottom));min-height:var(--nav-height);background:linear-gradient(100deg,#003373ed,#0564a9f2);border-top:1px solid #22afff88;backdrop-filter:blur(14px)}.bottom-nav button{border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-size:11px;gap:4px;font-weight:700;padding:1px 5px}.bottom-nav button svg{width:25px;height:25px}.bottom-nav button.active{color:var(--gold)}.bottom-nav button.active svg{fill:currentColor;stroke-width:1.5}.bottom-nav button[data-page="postepy"] svg{fill:currentColor;stroke:none}.exercise-screen{padding-top:23px}.exercise-header{display:flex;align-items:center;gap:10px;min-height:35px;margin-bottom:17px}.exercise-header>.icon-button{width:26px;height:32px;padding:0;margin-right:4px}.exercise-header h1{font-size:18px;font-weight:800;letter-spacing:-.6px;flex:1;text-align:center;line-height:1.3}.mini-frog{width:30px;height:29px;object-fit:cover;object-position:50% 30%;border-radius:50%;border:1px solid #a4d978}.exercise-progress{display:flex;align-items:center;gap:14px;margin:0 3px 14px}.lesson-track{height:16px;border-radius:15px;background:linear-gradient(#3b82b8,#468dc6);border:1px solid #61aee0;flex:1;overflow:hidden}.lesson-track i{display:block;width:25%;height:100%;background:linear-gradient(#8bd936,#29a108);border:1px solid #b5ec74;border-radius:15px;transition:width .25s}#word-counter{font-size:12px;white-space:nowrap;font-weight:700}.lesson-hero{aspect-ratio:1.44;border-color:#90dd3d}.lesson-hero img{object-fit:fill}.word-card{height:110px;display:grid;place-items:center;margin-top:11px;border-radius:28px;background:radial-gradient(ellipse at 40% 0,#155cba,#002266 90%);border:1.5px solid #24bcff;box-shadow:inset 0 2px 5px #83d9ff66,0 3px 10px #00194966}.word-card span{font-size:clamp(52px,16.3vw,72px);font-weight:900;letter-spacing:-3px;line-height:1;text-shadow:0 4px 7px #001442aa}.repeat-label{text-align:center;margin:12px 0 14px;font-size:19px;font-weight:800;letter-spacing:-.65px}.repeat-label span{display:inline-block;font-size:34px;line-height:8px;color:#ffd432;margin-left:5px;transform:rotate(-20deg)}.practice-buttons{display:grid;gap:8px;padding:0 10px}.practice-buttons .button{min-height:54px;font-size:16px}.practice-buttons .record-button{min-height:68px;font-size:18px}.record-button svg{width:31px;height:38px}.record-button.is-recording{background:linear-gradient(#f65669,#b70f36);border-color:#ff95a5}.playback-button:disabled{opacity:.78}.privacy{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;margin:12px 0 13px}.privacy svg{width:17px;height:17px;stroke-width:2.5}.next-button{font-size:20px;min-height:62px}.audio-status{font-size:12px;text-align:center;padding:9px 12px;margin:-3px 0 10px;background:#002251bd;border:1px solid #47beff;border-radius:12px;line-height:1.5}.progress-screen{padding-top:32px}.progress-screen>h1{text-align:center;font-size:24px;font-weight:800;letter-spacing:-1px;line-height:1.3;margin-bottom:9px}.celebration-art{margin:0 -4px;aspect-ratio:351/230;overflow:hidden;mask-image:radial-gradient(ellipse 62% 75% at center,#000 55%,transparent 93%)}.celebration-art img{display:block;width:100%;height:100%;object-fit:contain}.bravo{font-size:38px;text-align:center;line-height:1;letter-spacing:-1.4px;font-weight:800;margin-top:-4px;text-shadow:0 2px #005abb}.celebration-subtitle{text-align:center;font-size:18px;font-weight:700;letter-spacing:-.65px;margin:6px 0 14px}.stats-card{display:flex;align-items:center;gap:20px;min-height:104px;padding:10px 22px;border:1.5px solid #10bdff;border-radius:28px;background:linear-gradient(135deg,#097cde,#0043a3 80%);box-shadow:inset 0 2px 3px #8fdcff4d}.coin{width:72px;height:72px;background:linear-gradient(140deg,#ffe885,#ffbd16 65%,#d58608);border:3px solid #ffda6b;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 0 3px #d69514,0 4px 5px #002965aa;transform:rotate(-10deg)}.coin svg{width:41px;height:41px;fill:#ffe99a;stroke:#d6970a;stroke-width:1.5;filter:drop-shadow(0 2px 1px #b57d09)}.stats-text{display:grid;gap:3px}.stats-text strong{font-size:53px;line-height:1;font-weight:800;letter-spacing:-2px}.stats-text>span{font-size:15px;font-weight:700;letter-spacing:-.6px}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:17px 5px 18px}.day{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:11px;font-weight:700}.day-circle{height:30px;width:30px;border:2px solid #8ab5ef;border-radius:50%;display:grid;place-items:center;background:#174e96}.day.done .day-circle,.history-check{background:linear-gradient(#8bdb43,#35a311);border:1px solid #c6f49c;color:#fff}.day-circle svg{width:19px;height:19px;stroke-width:3}.progress-screen .section-heading{margin-bottom:10px}.history-row{display:flex;align-items:center;gap:11px;min-height:61px;border:1px solid #00a9f8;background:linear-gradient(135deg,#064da5c4,#002561dd);border-radius:19px;padding:8px 10px}.history-row .lesson-badge{min-width:39px;width:39px;height:39px;display:grid;place-items:center;border:1px solid #8fc9ff;background:linear-gradient(#0998ff,#005cda);border-radius:12px;font-size:19px;font-weight:800}.history-row.s .lesson-badge{background:linear-gradient(#90ce38,#2a9601);border-color:#cce4a6}.history-name{font-size:13px;font-weight:800;line-height:1.2;letter-spacing:-.5px}.history-label{font-size:11px;margin-top:4px}.history-check{margin-left:auto;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.history-check svg{width:17px;height:17px;stroke-width:3}.history-row>svg{width:15px;height:18px;stroke-width:3}.empty-history{border:1px solid #359bde;border-radius:18px;padding:16px 18px;font-size:13px;line-height:1.6;background:#003879b3}.progress-cta{margin-top:15px;font-size:20px}.progress-cta>img{width:28px;height:28px;border-radius:50%;object-fit:cover;object-position:center 30%;margin-left:-13px}.parent-screen{padding-top:24px}.info-panel{border:1px solid #36b7ff;border-radius:23px;padding:20px;background:#00316ec9;font-size:14px;line-height:1.65}.info-panel h2{font-size:19px;margin:0 0 8px}.info-panel p+h2{margin-top:22px}.info-panel p{margin:10px 0}.parent-screen>.button{margin-top:14px;font-size:15px}.parent-note{font-size:12px;line-height:1.65;margin-top:16px;padding:0 5px}.button.subtle{background:#123d79;border-color:#6c9ed3;box-shadow:none;font-size:14px}dialog{max-width:340px;width:calc(100% - 32px);border:1px solid #46c5ff;border-radius:22px;background:#073b7e;color:white;font:14px/1.6 Dico,sans-serif;padding:23px}dialog::backdrop{background:#001434ba;backdrop-filter:blur(5px)}dialog h2{font-size:23px}dialog p{margin:12px 0 20px}dialog form{display:flex;gap:10px}dialog button{border-radius:12px;border:1px solid #64caff;background:#1260b4;color:white;padding:10px 12px;font-weight:700}dialog button[value="confirm"]{background:#87404f}body:has(dialog[open]){overflow:hidden}[hidden]{display:none!important}@media(min-width:600px){body{background:radial-gradient(ellipse at 50% 0,#1269a8,#02112b 75%)}.app-shell{border-left:1px solid #1b85c1;border-right:1px solid #1b85c1}}@media(max-width:359px){.screen{padding-left:12px;padding-right:12px}.home-title{font-size:25px;letter-spacing:-1.1px}.daily-card{gap:10px;padding:10px 12px}.daily-copy strong{font-size:15px}.calendar{width:35px}.practice-buttons{padding:0 4px}.exercise-header h1{font-size:16px}.stats-card{gap:14px;padding:12px 15px}.stats-text>span{font-size:13px}.history-name{font-size:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.home-screen .hero img{transform:scale(1.17);object-position:center 45%}.brand-logo{width:153px;margin-top:0}.brand-header{height:83px}.parent-portrait{width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;display:block;border-radius:20px;margin-bottom:18px;border:1px solid #38bfff}.home-title{font-size:clamp(27px,8.1vw,35px);letter-spacing:-.9px}.home-caption{font-size:21px}.lesson-row .lesson-name{font-size:16px}.history-name{font-size:15px}.button{font-weight:600;letter-spacing:-.3px}.section-heading{font-weight:600;font-size:21px}.exercise-header h1{font-size:20px}.word-card span{font-size:clamp(57px,18vw,80px);letter-spacing:-1.6px}.repeat-label{font-size:21px}.progress-screen>h1{font-size:27px}.celebration-subtitle{font-size:20px}.privacy{font-size:12px}.bottom-nav button{font-size:12px}.practice-buttons .button{font-size:18px}.practice-buttons .record-button{font-size:20px}.history-label{font-size:12px}.stats-text>span{font-size:17px}@media(max-width:359px){.home-title{font-size:28px}.lesson-row .lesson-name{font-size:14px}.exercise-header h1{font-size:18px}.stats-text>span{font-size:15px}.history-name{font-size:13px}}

.start-button{font-size:23px}.practice-buttons .button{font-size:20px}.practice-buttons .record-button{font-size:22px}.next-button{font-size:23px}.lesson-row .lesson-name{font-weight:600}.history-name{font-weight:600}.exercise-header h1{font-weight:600}.mini-frog{object-position:center}.progress-cta>img{object-position:center}.repeat-label{font-weight:600}.daily-copy{font-size:15px}.daily-copy strong{font-size:19px}.daily-track{max-width:100px}#word-counter{font-size:14px}@media(max-width:359px){.daily-copy strong{font-size:17px}.daily-copy{font-size:13px}.practice-buttons .button{font-size:18px}.practice-buttons .record-button{font-size:20px}.daily-track{max-width:80px}#word-counter{font-size:12px}}
.lesson-hero{aspect-ratio:1.52}.word-card{height:100px}.exercise-screen{padding-top:21px}.progress-screen{padding-top:28px}.celebration-art{aspect-ratio:351/216}

.brand-header .icon-button svg{stroke-width:1.7}.install-status,.install-guide{background:#002b66;border:1px solid #4abfff;border-radius:18px;padding:16px}.install-guide h2{font-size:19px;margin-bottom:12px}.install-guide ol{padding-left:22px;margin:10px 0}.install-guide li{padding-left:3px;margin:10px 0}.install-guide p{margin:10px 0}.install-guide .button{margin-top:14px;font-size:15px}#app-link{width:100%;padding:10px;margin-top:12px;border-radius:8px;border:1px solid #80c5ff;background:#fff;color:#132f55;font:14px Dico,sans-serif}.button:disabled{cursor:default;filter:saturate(.6)}

.next-button:disabled{background:linear-gradient(#315e84,#23486d);border-color:#7796b2;color:#d6e2ed;box-shadow:inset 0 1px 2px #aac4d833;text-shadow:none;filter:none}.next-button:disabled:hover{filter:none}
.word-steps{display:flex;gap:7px;overflow-x:auto;margin:0 0 12px;padding:3px 1px 6px;scrollbar-width:thin}.word-steps button{flex-shrink:0;border:1px solid #73b8e9;border-radius:12px;padding:8px 11px;background:#00326e;color:white;font-size:13px}.word-steps button.done{border-color:#a8d96f;background:#205e38}.word-steps button[aria-current]{outline:2px solid #ffdc40;outline-offset:1px}.word-steps button:disabled{opacity:.5;cursor:default}.lesson-name small{display:block;font-size:12px;font-weight:400;margin-top:5px;line-height:1.35}.practice-library{display:grid;gap:12px}.practice-set{padding:16px;border:1px solid #36baff;border-radius:20px;background:#003575bd}.practice-set h3{font-size:19px;margin:0 0 5px;font-weight:600}.practice-set>p{font-size:14px;margin:0 0 12px}.practice-set .resume-practice{font-size:17px;min-height:44px;padding:10px}.saved-recording{display:block;width:100%;text-align:left;border:1px solid #5ca5d9;background:#0c4881;color:white;padding:11px 12px;font-size:15px;border-radius:12px;margin-top:9px}#saved-audio{display:block;width:100%;margin:12px 0}#saved-audio[hidden]{display:none}#storage-status{padding:12px;border:1px solid #ffdc40;border-radius:12px;background:#00326e}

.home-screen .hero{aspect-ratio:16/9}.home-screen .hero img{transform:none;object-fit:contain;object-position:center}.film-button{font-size:17px;margin-bottom:18px}#film-dialog{max-width:660px;max-height:94dvh;overflow:auto;padding:24px}#film-dialog h2{padding-right:25px;font-size:22px}#dico-film{display:block;width:100%;max-height:65dvh;background:#001b41;margin:15px 0;border-radius:14px}#film-dialog p{font-size:13px}#film-dialog a{display:block;color:#fff;margin-top:12px;font-size:14px}.film-close{position:absolute;right:10px;top:8px;border:none;background:none!important;font-size:28px;padding:0 8px}body:has(dialog[open]){overflow:hidden}
/* The lesson uses the available phone height; all primary controls stay together. */
:root{--nav-height:72px}.bottom-nav{min-height:var(--nav-height);height:calc(var(--nav-height) + env(safe-area-inset-bottom));padding-top:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom))}
.exercise-screen:not([hidden]){height:calc(100dvh - var(--nav-height) - env(safe-area-inset-bottom));min-height:646px;display:grid;grid-template-areas:'heading' 'progress' 'steps' 'focus' 'repeat' 'buttons' 'privacy' 'status' 'next';grid-template-rows:34px 16px 40px minmax(86px,1fr) 22px 166px 16px 48px 54px;gap:6px;padding:8px 16px;overflow:visible}
.exercise-header{grid-area:heading;min-height:0;margin:0}.exercise-header h1{font-size:19px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.exercise-header>.icon-button{height:32px}.exercise-progress{grid-area:progress;margin:0 3px;gap:10px}.exercise-progress .lesson-track{height:14px}.word-steps{grid-area:steps;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);overflow:visible;padding:3px 1px;margin:0;gap:6px;min-width:0}.word-steps button{min-width:0;font-size:12px;letter-spacing:-.3px;padding:5px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.exercise-focus{grid-area:focus;display:grid;grid-template-columns:43% 57%;min-height:0;overflow:hidden;border:1px solid #48bfff;border-radius:24px;box-shadow:inset 0 2px 3px #80d4ff33,0 4px 14px #00215466;background:linear-gradient(130deg,#0879bd,#00275f)}.exercise-focus .lesson-hero{aspect-ratio:auto;border:0;border-radius:0;box-shadow:none;min-width:0;min-height:0;background:transparent}.exercise-focus .lesson-hero img{width:100%;height:100%;object-fit:contain;object-position:center}.exercise-focus .word-card{margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;height:auto;min-width:0;padding:4px}.exercise-focus .word-card span{font-size:clamp(34px,11vw,52px);letter-spacing:-1px;overflow-wrap:anywhere;text-align:center}
.exercise-screen .repeat-label{grid-area:repeat;margin:0;font-size:18px;line-height:22px}.exercise-screen .practice-buttons{grid-area:buttons;display:grid;grid-template-rows:48px 58px 48px;gap:6px;padding:0}.exercise-screen .practice-buttons .button{height:100%;min-height:0;padding:7px 16px;font-size:19px}.exercise-screen .practice-buttons .record-button{font-size:21px}.exercise-screen .practice-buttons .button svg{width:25px;height:25px}.exercise-screen .privacy{grid-area:privacy;margin:0;font-size:11px;line-height:16px}.exercise-screen .privacy svg{height:14px;width:14px}.status-row{grid-area:status;display:flex;align-items:center;gap:5px;min-height:0;background:#002b65cc;border:1px solid #4f9bc8;border-radius:12px;padding:2px 5px 2px 10px}.exercise-screen .audio-status{margin:0;padding:0;background:none;border:0;box-shadow:none;flex:1;font-size:12px;line-height:1.35;text-align:left;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#status-details{width:42px;min-width:42px;height:42px;border:0;border-radius:50%;font-size:20px;color:#fff;background:transparent;font-family:serif;font-style:italic}.exercise-screen .next-button{grid-area:next;min-height:0;height:100%;padding:8px 16px;font-size:22px}.exercise-screen .next-button>svg{height:24px;width:24px}
.launch-screen{position:fixed;inset:0;z-index:100;background:radial-gradient(ellipse at center,#0b6db9,#03295e 75%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;pointer-events:none;padding:40px}.launch-screen img{width:min(75vw,330px);height:auto;object-fit:contain}.launch-screen p{font-size:23px;font-weight:600}
@media(max-height:740px){:root{--nav-height:64px}.bottom-nav button svg{width:22px;height:22px}.bottom-nav button{gap:2px;font-size:11px}.exercise-screen:not([hidden]){min-height:504px;height:calc(100dvh - var(--nav-height) - env(safe-area-inset-bottom));padding:6px 12px;gap:4px;grid-template-rows:30px 14px 34px minmax(60px,1fr) 0px 144px 0px 34px 44px}.exercise-screen .exercise-header h1{font-size:17px}.exercise-screen .mini-frog{width:25px;height:25px}.exercise-screen .repeat-label,.exercise-screen .privacy{display:none}.exercise-screen .practice-buttons{grid-template-rows:44px 44px 44px}.exercise-screen .practice-buttons .button{font-size:17px}.exercise-screen .practice-buttons .record-button{font-size:19px}.exercise-focus{border-radius:18px}.exercise-focus .word-card span{font-size:clamp(32px,11vw,46px)}.exercise-screen .audio-status{font-size:11px}#status-details{height:30px}.exercise-screen .next-button{font-size:20px}}
/* With large accessibility text or very short landscape screens, retain scrolling instead of clipping. */
@media(max-height:550px){.exercise-screen:not([hidden]){height:auto;min-height:504px;margin-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom));grid-template-rows:30px 14px 34px 64px 0px 144px 0px 38px 44px}}
/* One card: panoramic illustration above the word, following the supplied sketch. */
.exercise-focus{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1.8fr) minmax(30px,1fr);container-type:size;background:linear-gradient(135deg,#0967a1,#003471)}
.exercise-focus .lesson-hero{width:100%;height:100%;border-radius:0;border:0;border-bottom:1px solid #63d4ff66}
.exercise-focus .lesson-hero img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 35%}
.exercise-focus .word-card{width:100%;height:100%;padding:0 8px;place-items:center;background:linear-gradient(120deg,#075b93,#00336e)}
.exercise-focus .word-card span{font-size:24px;font-size:clamp(24px,28cqh,64px);line-height:1;letter-spacing:-1px;white-space:nowrap;overflow-wrap:normal;max-width:100%;text-shadow:0 3px 4px #00204e66}
/* Installation welcome: keep the primary action above the supporting copy. */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;border:0!important}
#install-welcome{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;padding:calc(20px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom));background:radial-gradient(ellipse at 80% 50%,#087bb0aa,transparent 70%),linear-gradient(145deg,#042553,#034f96);color:white;overflow-y:auto}
#install-welcome::backdrop{background:#032553}
.welcome-inner{max-width:420px;margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center;padding:clamp(8px,4vh,32px) 0 12px}
.welcome-logo{width:180px;max-width:65vw;height:auto;margin-bottom:16px}
.welcome-eyebrow{font-size:12px;letter-spacing:2px;color:#b8e8ff;font-weight:600}
.welcome-benefits{list-style:none;padding:0;display:grid;gap:14px;text-align:left;font-size:21px;font-weight:500;line-height:1.3;margin:24px 0 26px;color:white;max-width:365px;width:100%}
.welcome-benefits li{display:flex;align-items:center;gap:12px}
.welcome-check{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#9be563;color:#164624;font-size:24px;font-weight:700;box-shadow:0 2px 6px #00244955}
.welcome-inner .button{width:100%;margin:0;max-width:365px;min-height:62px;font-size:22px}
.welcome-caption{font-size:13px;line-height:1.4;color:#cfebff;margin:10px 0 0}
.welcome-intro{font-size:17px;line-height:1.45;color:#e0f2ff;max-width:340px;margin:18px 0 0}
.welcome-status{width:100%;padding:14px;background:#002b69;border:1px solid #5bb6ee;border-radius:16px;font-size:15px;line-height:1.5;margin:16px 0 0}
.welcome-guide{width:100%;padding:18px;border:1px solid #67bef2;border-radius:18px;background:#003574;text-align:left;font-size:15px;line-height:1.5;margin:12px 0}
.welcome-guide h2{font-size:20px}.welcome-guide ol{padding-left:20px}.welcome-guide li{margin:10px 0}.welcome-guide .button{font-size:16px;min-height:46px;margin-top:16px}
#welcome-link{width:100%;padding:10px;background:#fff;color:#17395c;border:1px solid #7acbff;border-radius:8px;font:14px Dico,sans-serif;margin-top:12px}
#welcome-continue{margin-top:18px;border:1px solid #6cabe0;border-radius:24px;background:transparent;color:white;min-height:46px;padding:10px 24px;font-weight:600;font-size:17px}
.welcome-footnote{font-size:12px;line-height:1.4;color:#c0dcf7;margin-top:10px}
@media(max-height:700px){.welcome-inner{padding-top:8px}.welcome-logo{width:145px;margin-bottom:12px}.welcome-benefits{margin:20px 0;gap:12px;font-size:20px}.welcome-inner .button{min-height:58px;font-size:21px}.welcome-intro{font-size:16px;margin-top:14px}}

.home-hero{position:relative}.home-hero video{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.home-film-play{position:absolute;left:58%;top:59.4%;transform:translate(-50%,-50%);display:block;width:39%;height:auto;aspect-ratio:1;clip-path:circle(50%);border:0;border-radius:50%;padding:0;background:transparent;box-shadow:none}.home-film-play[hidden]{display:none}.home-film-play:focus-visible{outline:3px solid var(--gold);outline-offset:-4px}.home-film-note{font-size:14px;line-height:1.4;margin:8px 4px;color:#fff0b7}

/* Readable help and caregiver text. */
.info-panel{font-size:18px;line-height:1.65}.info-panel h2{font-size:22px}.parent-note,.install-guide,.install-status{font-size:17px;line-height:1.6}.parent-screen>.button,.button.subtle{font-size:18px}.welcome-guide,.welcome-status{font-size:17px;line-height:1.55}.welcome-caption,.welcome-footnote{font-size:15px}#welcome-help{background:transparent;color:#fff;border:0;text-decoration:underline;font-size:17px;min-height:44px;padding:10px;margin-top:12px}
.exercise-screen .audio-status{font-size:15px;line-height:1.4;-webkit-line-clamp:2}.exercise-screen .privacy{font-size:14px}.exercise-screen:not([hidden]){grid-template-rows:34px 16px 40px minmax(86px,1fr) 22px 166px 20px 58px 54px}#status-dialog{font-size:18px}
@media(max-height:740px){.exercise-screen:not([hidden]){grid-template-rows:30px 14px 34px minmax(60px,1fr) 0px 144px 0px 50px 44px}.exercise-screen .audio-status{font-size:14px;line-height:1.4}.exercise-screen .privacy{display:none}}
@media(max-height:600px){.exercise-screen:not([hidden]){height:auto;min-height:540px;margin-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom))}}

#microphone-help{max-width:430px;max-height:90dvh;overflow:auto;font-size:18px;line-height:1.55}#microphone-help ol{padding-left:23px}#microphone-help li{margin:14px 0}#microphone-help button{min-height:46px;font-size:18px;margin-top:10px}

/* Larger adventure names and saved-word summaries on the home screen. */
.home-screen .lesson-row{min-height:76px;padding:13px 12px;align-items:center}.home-screen .lesson-row .lesson-name{font-size:20px;line-height:1.35;letter-spacing:0;min-width:0;overflow-wrap:break-word}.home-screen .lesson-name small{font-size:17px;line-height:1.45;font-weight:500;margin-top:7px;letter-spacing:0}.home-screen .lesson-row .lesson-badge{flex-shrink:0}.home-screen .lesson-row>svg{flex-shrink:0}

.install-toast{position:fixed;z-index:150;top:calc(16px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:410px;padding:18px 20px;border:1px solid #b0ed7c;border-radius:18px;background:#175a34;color:white;box-shadow:0 6px 24px #001b4588;font-size:18px;line-height:1.45}.progress-screen .history-name{font-size:18px;line-height:1.4;letter-spacing:0}.progress-screen .history-label,.progress-screen .day{font-size:16px}.progress-screen .empty-history,.progress-screen .practice-set>p{font-size:17px;line-height:1.5}.progress-screen .saved-recording{font-size:18px;line-height:1.45}.progress-screen .practice-set h3{font-size:22px}.progress-screen .resume-practice{font-size:19px}.progress-screen .stats-text>span{font-size:19px;line-height:1.4}.progress-screen .history-row{min-height:76px}

/* Alternate the border cues; keep labels and layout steady. */
.hint-listen,.hint-ready,.hint-record{outline:0;--hint-color:#b8ed84}.hint-record{--hint-color:#ff5366}.hint-listen::after,.hint-ready::after,.hint-record::after{content:'';position:absolute;inset:-2px;border:3px solid var(--hint-color);border-radius:inherit;box-shadow:0 0 10px var(--hint-color);opacity:.12;pointer-events:none;animation:hint-ring 1.8s ease-in-out infinite}#record.hint-record::after,#next-word.hint-ready::after{animation-delay:-.9s}@keyframes hint-ring{0%,45%,50%,100%{opacity:.12}20%,30%{opacity:1}}@media(prefers-reduced-motion:reduce){.hint-listen::after,.hint-ready::after,.hint-record::after{animation:none;opacity:1;box-shadow:none}}

.home-screen .lesson-action{display:block;margin-top:4px;line-height:1.45}

.character-overlay{position:fixed;right:max(4px,calc((100vw - 430px)/2 + 4px));bottom:calc(var(--nav-height) + 10px + env(safe-area-inset-bottom));width:min(70vw,33.75dvh,253px);height:auto;aspect-ratio:9/16;z-index:35;pointer-events:none}.character-overlay canvas{display:block;width:100%;height:100%;opacity:0;transform:translateY(12px);transition:opacity .4s ease,transform .4s ease;pointer-events:none}.character-overlay.has-frame canvas{opacity:1;transform:translateY(0)}.character-video{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.character-close,.character-resume{pointer-events:auto;position:absolute;border:1px solid #a8dfff;background:#043f7eee;color:white;min-height:44px;font:600 16px/1.3 Dico,sans-serif;box-shadow:0 2px 8px #00204e77}.character-close{right:0;top:0;width:44px;border-radius:50%;font-size:28px;padding:0}.character-resume{bottom:0;left:0;width:100%;border-radius:16px;padding:12px}.character-message{position:absolute;bottom:0;left:0;margin:0;padding:12px;background:#043f7eee;border-radius:16px;font-size:17px;line-height:1.4;color:white;pointer-events:none}@media(prefers-reduced-motion:reduce){.character-overlay canvas{transform:none;transition:opacity .15s linear}}

.home-screen .lesson-row .lesson-badge{width:54px;min-width:54px;height:54px;font-size:26px}.home-screen .lesson-row .lesson-name{line-height:1.2}.home-screen .lesson-name small{margin-top:4px;line-height:1.25}.home-screen .lesson-action{margin-top:2px;line-height:1.25}.progress-screen .history-row .lesson-badge{width:50px;min-width:50px;height:50px;font-size:25px}.progress-screen .history-row{width:100%;color:white;text-align:left;font:inherit}.week .day{border:0;background:transparent;color:white;padding:4px 0;border-radius:10px}.week .day:disabled{opacity:.65;cursor:default}.week .day[aria-pressed="true"]{outline:2px solid #ffdc40}.week .day:not(:disabled):hover{background:#1570ad}

.character-overlay.character-left{right:auto;left:max(0px,calc((100vw - 430px)/2));clip-path:inset(-20px -20px -20px 0)}

.character-left .character-close{top:auto;bottom:8px;left:8px;right:auto}.character-left:has(.character-resume:not([hidden])) .character-close{bottom:80px}

/* Keep the sound fallback visible above the installation content. */
.installation-intro.character-left{clip-path:none}.installation-intro canvas{clip-path:inset(0)}
.installation-intro .character-resume{position:fixed;top:max(12px,env(safe-area-inset-top));bottom:auto;left:50%;transform:translateX(-50%);width:min(390px,calc(100vw - 24px));min-height:60px;font-size:21px;background:linear-gradient(#fff074,#ffd426);color:#073e76;border:3px solid white;box-shadow:0 4px 20px #001a55bb;z-index:40}
#next-adventure{width:100%;min-height:60px;font-size:20px;margin:12px 0 18px;line-height:1.3}

.home-screen .daily-card{margin-top:11px}.home-screen .daily-card + .section-heading{margin-top:11px}
.progress-screen{padding-top:12px}
#welcome-continue.button{max-width:365px;min-height:62px;font-size:22px;margin:12px 0 0;padding:13px 19px}
.welcome-inner .welcome-play{position:relative;inset:auto;transform:none;width:100%;max-width:365px;min-height:58px;margin:0 0 8px;padding:12px 14px;border-radius:22px;font-size:20px;line-height:1.25;background:linear-gradient(#fff074,#ffd426);color:#073e76;border:2px solid white;pointer-events:auto;box-shadow:0 4px 12px #001a5577}

.parent-screen .parent-portrait{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:50% 35%;border-radius:20px}

/* Muted welcome: sound control stays centered on the transparent character. */
.installation-intro .character-resume{position:absolute;top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%);width:min(170px,90%);min-height:76px;padding:12px;border-radius:22px;font-size:18px;display:flex;flex-direction:column;align-items:center;gap:6px;background:#073e76ed;color:white;border:2px solid #a8dfff;z-index:40}
.installation-intro .character-resume svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.installation-intro.character-left:has(.character-resume:not([hidden])) .character-close{bottom:8px}

.installation-intro .character-resume{width:68px;height:68px;min-height:68px;border-radius:50%;padding:15px;gap:0}.installation-intro .character-resume svg{width:34px;height:34px;flex-shrink:0}

.description-toggle{position:relative}.parent-screen #app-description{margin-top:12px}

.parent-screen .danger-button{border-color:#ffc69b;background:#653640;color:#fff;line-height:1.35}.danger-symbol{color:#ffdb62;font-size:27px;flex-shrink:0}

.parent-screen>.website-button{margin-top:18px;font-size:18px}

/* Zaakceptowane ilustracje słów i etapy. */
.exercise-focus .lesson-hero{background:#b9d8f2}.exercise-focus .lesson-hero img{object-fit:contain;object-position:center}.stage-title{font-size:21px;margin:16px 3px 3px;color:#ffdc40}.lesson-badge{overflow-wrap:anywhere}.home-screen .lesson-row .lesson-badge{font-size:clamp(17px,5vw,25px)}

.home-screen .lesson-row .long-badge,.progress-screen .history-row .long-badge{font-size:16px;white-space:nowrap;width:60px;min-width:60px;letter-spacing:-.5px}

/* v39: panoramic card, fewer captions, a shallow word strip. */
.exercise-screen:not([hidden]){padding:8px 10px;min-height:calc(100dvh - var(--nav-height) - env(safe-area-inset-bottom));height:auto;grid-template-areas:'heading' 'progress' 'steps' 'focus' 'buttons' 'status' 'next';grid-template-rows:34px 16px 40px auto 166px 50px 54px;align-content:start;gap:7px}
.exercise-focus{container-type:normal;grid-template-rows:auto 64px;min-height:0;width:100%;margin:0}
.exercise-focus .lesson-hero{height:auto;aspect-ratio:16/9;background:#a9ceef;overflow:hidden}
.exercise-focus .lesson-hero img{height:100%;width:100%;object-fit:cover;object-position:center;transform:scale(1.025)}
.exercise-focus .word-card span{font-size:clamp(32px,10vw,48px);line-height:1;letter-spacing:-.7px}
.home-screen .stage-title:first-child{margin-top:12px}
@media(max-height:740px){.exercise-screen:not([hidden]){padding:6px 10px;grid-template-rows:30px 14px 34px auto 144px 44px 44px;gap:5px}.exercise-focus{grid-template-rows:auto 52px}.exercise-screen .practice-buttons{grid-template-rows:44px 44px 44px}}
@media(max-height:600px){.exercise-screen:not([hidden]){margin-bottom:0}}

/* v40: breathing room and clearer word tabs; native image gestures disabled. */
.exercise-focus{margin:4px 0}
.word-steps button{font-size:13px}
.lesson-hero,.lesson-hero img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.lesson-hero img{pointer-events:none;-webkit-user-drag:none}

/* v41: clearly visible spacing and word tabs. */
.exercise-focus{margin:16px 0}
.word-steps button{font-size:17px;font-weight:600;letter-spacing:0;padding:5px 4px;position:relative}
.word-steps button.done::after{content:'✓';position:absolute;right:2px;top:-1px;font-size:10px;line-height:1;color:#d8ffb5}

/* v42: help in the header; no permanent status panel between actions. */
.exercise-screen:not([hidden]){grid-template-areas:'heading' 'progress' 'steps' 'focus' 'buttons' 'next';grid-template-rows:34px 16px 40px auto 166px 54px}
.exercise-screen .status-row{grid-area:auto;border:0;padding:0}
.exercise-header #status-details{display:grid;place-items:center;width:38px;min-width:38px;height:38px;border:1px solid #91cbff;border-radius:50%;font:600 21px/1 Dico,sans-serif;font-style:normal;background:#07518b;color:#fff}
.exercise-header #status-details.has-alert{border-color:#ffdc40;color:#ffdc40;box-shadow:0 0 0 2px #ffdc4044}
@media(max-height:740px){.exercise-screen:not([hidden]){grid-template-rows:30px 14px 34px auto 144px 44px}.exercise-header #status-details{width:30px;min-width:30px;height:30px;font-size:19px}.exercise-focus .lesson-hero{aspect-ratio:auto;height:clamp(96px,calc(100dvh - var(--nav-height) - 400px),calc((min(100vw,430px) - 24px)*9/16))}}

.bonus-game-link{margin-top:22px;font-size:19px;text-align:center;text-decoration:none}

/* Access-code preview: paid stages remain visible with an explicit lock state. */
.lesson-row.is-locked{filter:grayscale(1);opacity:.55}
.lesson-row.is-locked .feature-lock{margin-left:auto;font-size:20px}
.lesson-row[aria-disabled="true"]{cursor:pointer}
.full-version-cta{width:100%;margin-top:10px;font-size:17px}
#license-dialog{max-width:360px;width:calc(100% - 32px)}
#license-dialog label{display:block;font-weight:700;margin:14px 0 6px}
#license-code{width:100%;padding:13px 14px;border:1px solid #80b9e6;border-radius:12px;background:#fff;color:#0a315a;font:700 19px/1.3 Dico,sans-serif;letter-spacing:1px;text-align:center}
#license-status{min-height:24px;color:#ffe27a}
#license-dialog small{display:block;color:#d1e6f6;line-height:1.5;margin-top:10px}
.license-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.license-actions .button{font-size:15px;padding:11px 8px}

/* v46: edge-to-edge progress artwork, playback state on the word itself. */
.progress-screen{--progress-inset:16px;padding-top:0;padding-inline:var(--progress-inset)}
.progress-screen .celebration-art{width:calc(100% + 2 * var(--progress-inset));margin:0 calc(-1 * var(--progress-inset));aspect-ratio:351/230;mask-image:none;-webkit-mask-image:none;border-radius:0}
.progress-screen .celebration-art img{width:100%;height:100%;object-fit:cover}
#saved-audio{display:none!important}
.saved-recording{font-size:17px;min-height:48px;line-height:1.4}
.saved-recording.is-playing{background:linear-gradient(120deg,#277d20,#0e542c);border:2px solid #a4ed6b;box-shadow:0 0 12px #79d13755;color:#fff}
.saved-recording:focus-visible{outline:3px solid #ffdc40;outline-offset:3px}
@media(max-width:359px){.progress-screen{--progress-inset:12px}}

.saved-recording{display:flex;align-items:center;gap:9px}.saved-recording svg{width:20px;height:20px;flex-shrink:0}

.home-film-toggle{position:absolute;bottom:12px;right:12px;width:44px;height:44px;border:1px solid #b2e6ff;border-radius:50%;background:#00316bcd;color:white;display:grid;place-items:center;padding:9px;box-shadow:0 2px 10px #00275f66}.home-film-toggle svg{width:24px;height:24px}.home-hero video{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;pointer-events:none;-webkit-user-drag:none}



/* Zbiorcza aktualizacja: ukończenie, blokady, instalacja i oznaczenie AI. */
.lesson-row.is-locked .feature-lock{display:grid;place-items:center;flex:0 0 48px;height:48px;border:1px solid #ccecff88;border-radius:13px;background:#001d4c99;color:#fff}
.lesson-row.is-locked .feature-lock svg{width:32px;height:36px;stroke-width:2.1}
.ai-notice{position:absolute;top:5px;right:12px;z-index:5;width:auto;min-width:0;min-height:0;border:1px solid #b5dfff50;border-radius:4px;background:transparent;color:#c4dff2;padding:1px 4px;font-size:10px;font-weight:400;line-height:1.2;box-shadow:none;text-shadow:none}.ai-notice::after{content:"";position:absolute;inset:-8px}
#ai-info{max-width:360px;width:calc(100% - 32px)}#ai-info p{font-size:16px;line-height:1.55;margin:12px 0 20px}
.welcome-legal{max-width:390px;margin:24px 0 4px;font-size:12px;line-height:1.55;color:#c8e3fa;text-align:left}.welcome-legal a{color:inherit}
#welcome-guide[hidden]{display:none}.welcome-device-note{font-size:15px;line-height:1.5;color:#d9efff;margin:12px 0 0;max-width:365px}
#welcome-guide li{margin:8px 0}.welcome-guide{padding:14px}

/* Separate flow row prevents overlap with exercise information controls. */
.ai-notice-slot{display:flex;justify-content:flex-end;padding:0 16px calc(var(--nav-height) + 12px + env(safe-area-inset-bottom));margin-top:0}.ai-notice{position:relative;top:auto;right:auto;z-index:auto;font-size:9px;padding:1px 3px;line-height:1.2;border-color:#b5dfff40}.ai-notice::after{inset:-5px}

/* Reserved top row keeps the AI marker clear of all screen controls. */
.ai-notice-slot{position:relative;display:flex;align-items:center;justify-content:flex-end;min-height:24px;padding:6px 16px;margin:0}.ai-notice{flex:none}

/* Re-Re artwork preserves its original aspect ratio. */
.brand-header .brand-logo,.games-screen .brand-logo{width:100px;height:80px;object-fit:contain;margin:0 0 0 5px}.welcome-logo{width:170px;height:auto}.publisher-credit{font-size:14px;line-height:1.5;margin:8px 0 16px;color:#d2e9fa}.publisher-credit a{color:inherit}

/* Larger Re-Re branding with reserved header space. */
.home-screen .brand-header{height:132px}.home-screen .brand-header .brand-logo{width:156px;height:128px}.welcome-logo{width:220px;max-width:70vw;height:auto}.parent-app-logo{display:block;width:150px;height:auto;margin:0 auto 14px}.parent-portrait{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.progress-cta{font-size:20px}
@media(max-height:700px){.welcome-logo{width:190px}}

/* Compact persistent branding in the exercise header. */
.exercise-header .exercise-brand-logo{display:block;width:40px;height:34px;object-fit:contain;flex:0 0 40px}.exercise-header h1{min-width:0}.parent-screen .exercise-header h1{font-size:18px}
@media(max-width:359px){.exercise-header{gap:6px}.exercise-header .exercise-brand-logo{width:32px;height:28px;flex-basis:32px}.parent-screen .exercise-header h1{font-size:16px}}

/* Logo and two-line invitation form one header above the home film. */
.home-screen .brand-header{position:relative;display:grid;grid-template-columns:minmax(100px,42%) minmax(0,1fr);align-items:center;height:auto;min-height:142px;gap:8px;padding:4px 0 10px}.home-screen .brand-header .brand-logo{width:100%;max-width:156px;height:auto;max-height:128px;object-fit:contain;margin:0}.home-screen .brand-header .home-title{font-size:clamp(23px,6.2vw,29px);line-height:1.12;white-space:normal;letter-spacing:-.6px;text-align:right;margin:18px 0 0}.home-screen .brand-header>.icon-button{position:absolute;right:0;top:-4px;margin:0;width:30px;height:30px;padding:5px}.home-screen .brand-header .title-sparks{margin-left:2px}

/* Larger exercise logo within its own non-overlapping header column. */
.exercise-header .exercise-brand-logo{width:76px;height:60px;flex-basis:76px;margin-block:-13px;transform:translateY(-12px)}
@media(max-width:359px){.exercise-header .exercise-brand-logo{width:60px;height:48px;flex-basis:60px;margin-block:-10px;transform:translateY(-9px)}}

/* Owner information uses the same logo/title composition as the home screen. */
.parent-screen{padding-top:0}.parent-screen>.exercise-header{position:relative;display:grid;grid-template-columns:minmax(100px,42%) minmax(0,1fr);gap:8px;align-items:center;min-height:142px;margin:0 0 10px;padding:0}.parent-screen>.exercise-header .parent-app-logo{display:block;width:100%;max-width:150px;height:auto;max-height:124px;object-fit:contain;margin:0}.parent-screen>.exercise-header h1{font-size:clamp(23px,6.2vw,29px);line-height:1.12;font-weight:800;letter-spacing:-.6px;text-align:right;margin:0}.parent-screen>.exercise-header>.icon-button{position:absolute;top:0;right:0;left:auto;width:30px;height:30px;padding:5px;margin:0}

.games-screen #game-hub>.brand-header{display:grid;grid-template-columns:minmax(100px,42%) minmax(0,1fr);gap:8px;align-items:center;height:auto;min-height:108px;margin-bottom:10px}.games-screen #game-hub>.brand-header h1{font-size:clamp(25px,6.5vw,30px);line-height:1.12;text-align:right;margin:0;letter-spacing:-.6px}.games-screen #game-hub>.brand-header .brand-logo{width:124px;max-width:100%;height:102px;margin:0;object-fit:contain}

.games-screen .game-play-header .game-brand-logo{display:block;width:64px;height:52px;flex:0 0 64px;object-fit:contain;margin-block:-7px;transform:translateY(-5px)}.games-screen .game-play-header h1{min-width:0;font-size:clamp(16px,4.6vw,23px);line-height:1.15}.games-screen .game-play-header{gap:5px}.games-screen .game-play-header>.icon-button{width:30px;min-width:30px;padding:4px}
@media(max-width:359px){.games-screen .game-play-header .game-brand-logo{width:46px;height:40px;flex-basis:46px;transform:translateY(-3px)}.games-screen .game-play-header h1{font-size:16px}}

.games-screen #game-hub>.brand-header{grid-template-columns:clamp(85px,30%,124px) minmax(0,1fr)}.games-screen #game-hub>.brand-header h1{white-space:nowrap;text-align:center;font-size:clamp(21px,6.2vw,29px)}

/* Explicit playback control: independent from the video poster artwork. */
.home-film-play{left:50%;top:50%;width:64px;height:64px;aspect-ratio:1;display:grid;place-items:center;clip-path:none;border:2px solid #e5f7ff;background:#00346bd9;color:#fff;box-shadow:0 3px 18px #00163188;z-index:1}.home-film-play svg{width:32px;height:32px;fill:currentColor;stroke:none}.home-film-play[hidden],.home-film-toggle[hidden]{display:none}.home-film-play:hover{background:#07599bea}

/* Supplied thumbnail contains the play glyph; the button follows its bubble. */
.home-film-play{left:49%;top:50%;width:39%;height:auto;aspect-ratio:1;display:block;clip-path:circle(50%);border:0;background:transparent;box-shadow:none}.home-film-play:hover{background:transparent}.celebration-art img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}

.home-film-play{left:58.4%;top:59.4%}
