:root{color-scheme:dark;--white:#f3f7f2;--cream:#e9f1e7;--mist:#a7c6ce;--teal:#9af1d9;--teal-deep:#08394a;--orange:#ffbd79;--line:rgba(222,248,245,.21)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#214960;color:var(--white);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;overscroll-behavior:none;touch-action:none;user-select:none;-webkit-user-select:none}
button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}
#app,#sky-scene,#sky-vignette,#effects{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}
#sky-scene canvas{display:block;width:100%;height:100%;touch-action:none}
#sky-vignette{z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(2,29,44,.26),transparent 24%,transparent 73%,rgba(2,31,46,.3)),linear-gradient(90deg,rgba(3,27,43,.07),transparent 30%,transparent 70%,rgba(3,27,43,.07))}
#effects{z-index:2;pointer-events:none}
.hidden{display:none!important}
.topbar{position:absolute;z-index:10;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:calc(18px + env(safe-area-inset-top)) max(26px,env(safe-area-inset-right)) 12px max(26px,env(safe-area-inset-left));pointer-events:none}
.brand,.topbar-actions{display:flex;align-items:center;pointer-events:auto}
.brand{gap:10px;text-shadow:0 2px 12px #173e4e80}.brand-mark{position:relative;display:grid;place-items:center;width:39px;height:39px;background:#d4ffe9;color:#093e4a;border-radius:50%;font-size:24px;font-weight:950;font-style:italic;letter-spacing:-4px;padding-right:5px;box-shadow:0 4px 20px #072d3e33}.brand-mark span{position:absolute;right:4px;top:5px;font-size:12px;letter-spacing:0}.brand-type{display:flex;flex-direction:column;line-height:1.03}.brand-type strong{font-size:18px;letter-spacing:-.7px}.brand-type small{font-size:8px;letter-spacing:2.1px;font-weight:800;color:#e0f7ed;opacity:.86;margin-top:5px}.topbar-actions{gap:9px}
.icon-button{width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(238,253,250,.26);border-radius:50%;background:rgba(7,39,54,.36);color:#f5fbf7;backdrop-filter:blur(15px);transition:background .2s,transform .2s}.icon-button:hover,.icon-button:focus-visible{background:#0d455cbb;transform:translateY(-1px)}.icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}.icon-button.is-muted{color:#ffac97}.icon-button.is-muted:after{content:'╱';position:absolute;font-size:20px}
.hud{position:absolute;z-index:8;pointer-events:none;top:calc(92px + env(safe-area-inset-top));left:0;right:0;display:grid;grid-template-columns:1fr minmax(230px,1.4fr) 1fr;gap:12px;padding:0 max(32px,env(safe-area-inset-right)) 0 max(32px,env(safe-area-inset-left));align-items:start;text-shadow:0 2px 9px #0a344750}
.hud-kicker,.challenge-label{font-size:10px;font-weight:850;letter-spacing:2px;color:rgba(234,249,246,.9)}.tiny-dot,.status-pulse{display:inline-block;width:6px;height:6px;background:#aaf7dd;border-radius:50%;box-shadow:0 0 10px #aaf7dd;vertical-align:2px;margin-right:5px}
.altitude-hud{max-width:210px;padding-top:6px}.altitude-line{display:flex;gap:4px;align-items:baseline;margin:5px 0}.altitude-line #altitude-number{font-size:clamp(26px,3.4vw,42px);font-weight:850;letter-spacing:-1.8px;font-variant-numeric:tabular-nums}.altitude-unit{font-size:13px;opacity:.86;font-weight:700}.fall-meter{height:3px;width:145px;max-width:100%;background:#ffffff50;border-radius:3px;overflow:hidden}.fall-meter span{display:block;height:100%;width:0%;background:var(--teal);transition:width .25s}.mode-line{display:flex;gap:15px;margin-top:11px;font-size:9px;font-weight:850;letter-spacing:1.5px}.mode-line span:first-child{color:#aaf8e2}
.challenge{justify-self:center;min-width:min(100%,280px);max-width:440px;text-align:center;border:1px solid rgba(217,248,235,.29);border-radius:17px;background:linear-gradient(160deg,rgba(6,43,60,.83),rgba(7,51,65,.57));backdrop-filter:blur(22px);box-shadow:0 13px 36px #062c3d20;padding:12px 24px 14px;pointer-events:auto}.challenge-label{color:#a4f9da;font-size:9px}.radio-wave{font-size:13px;margin-right:6px}.prompt-line{display:flex;justify-content:center;align-items:center;gap:16px;margin:5px 0 2px}.prompt-line #prompt-word{font-size:clamp(22px,2.8vw,36px);font-weight:850;letter-spacing:.6px;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:320px}.speak-button{border:1px solid #b3ecde8e;background:#91f0d728;color:#d7fff1;width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;font-size:12px;padding-left:3px}.speak-button:hover,.speak-button:focus-visible{background:#99f5db50}.challenge-hint{font-size:11px;color:#d2e6e6dc;letter-spacing:.2px}.score-hud{justify-self:end;text-align:right;padding-top:4px}.score-number strong{display:block;font-size:clamp(24px,3.3vw,38px);font-weight:900;letter-spacing:1.4px;line-height:1}.score-number small{font-weight:800;font-size:9px;letter-spacing:2.1px;opacity:.86}.round-pill{display:inline-flex;align-items:center;gap:4px;margin-top:11px;border:1px solid #cceae68b;padding:8px 12px;border-radius:40px;font-size:13px;font-weight:850;background:#052f4680}.round-pill #round-count{color:#a4f9da}.round-separator{opacity:.44}.round-label{font-size:9px;letter-spacing:1px;opacity:.72;margin-left:5px}
.toast{position:absolute;left:50%;top:38%;z-index:20;max-width:min(88vw,450px);text-align:center;transform:translate(-50%,-8px) scale(.95);opacity:0;pointer-events:none;padding:14px 24px;border:1px solid #d9fff19a;border-radius:14px;background:#052e43c9;color:#eafff5;backdrop-filter:blur(18px);box-shadow:0 10px 46px #082e4970;font-size:17px;font-weight:850;line-height:1.4;transition:opacity .2s,transform .25s}.toast.on{opacity:1;transform:translate(-50%,0) scale(1)}.toast.wrong{border-color:#ffc9bc;color:#ffe2d5}
.status-bottom{position:absolute;z-index:7;bottom:calc(20px + env(safe-area-inset-bottom));left:0;right:0;display:flex;justify-content:center;gap:24px;pointer-events:none;color:#f2faf7;font-size:9px;letter-spacing:2px;font-weight:850;text-shadow:0 2px 8px #073548}.status-line{display:flex;align-items:center}.status-pulse{width:5px;height:5px}.status-bottom #wind-copy{opacity:.8}
.touch-controls{position:absolute;z-index:11;left:0;right:0;bottom:calc(56px + env(safe-area-inset-bottom));display:flex;align-items:flex-end;justify-content:space-between;padding:0 max(36px,env(safe-area-inset-right)) 0 max(36px,env(safe-area-inset-left));pointer-events:none}.thumb-area{position:relative;width:156px;height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:auto;touch-action:none;cursor:grab}.thumb-cross{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;align-items:center;justify-items:center;font-size:15px;color:#eafbf47a;pointer-events:none}.thumb-cross span:first-child{transform:translate(10px,12px)}.thumb-cross span:nth-child(2){transform:translate(-10px,12px)}.thumb-cross span:nth-child(3){transform:translate(10px,-12px)}.thumb-cross span:nth-child(4){transform:translate(-10px,-12px)}.thumb-ring{position:relative;width:112px;height:112px;border:1px solid #e0f7ed70;border-radius:50%;background:#072f4460;box-shadow:inset 0 0 30px #d7fff111,0 6px 18px #07324835;backdrop-filter:blur(5px)}.thumb-ring:before{content:'';position:absolute;inset:12px;border:1px dashed #e4fff551;border-radius:50%}.thumb-knob{position:absolute;left:50%;top:50%;width:49px;height:49px;border-radius:50%;transform:translate(-50%,-50%);background:radial-gradient(circle at 35% 32%,#d5fff1,#84cfb9);border:3px solid #edfff7;box-shadow:0 3px 13px #07344885;display:grid;place-items:center}.thumb-knob span{width:13px;height:13px;border-radius:50%;background:#276a71}.control-caption{position:absolute;bottom:1px;font-size:9px;letter-spacing:2.4px;font-weight:850;text-shadow:0 1px 10px #073b45}
.right-controls{display:flex;gap:17px;align-items:flex-end;pointer-events:auto}.deploy-control{width:124px;height:124px;border:2px solid #b7ffdf;border-radius:50%;background:linear-gradient(145deg,#d3ffe7,#8eebc9);color:#073d49;display:flex;flex-direction:column;justify-content:center;align-items:center;box-shadow:0 0 0 8px #b0fcd423,0 12px 25px #03475b50;transition:transform .18s,filter .18s}.deploy-control:active{transform:scale(.93)}.deploy-control:not(:disabled):hover{filter:brightness(1.06)}.deploy-control:disabled{opacity:.72;filter:saturate(.6)}.deploy-icon{font-size:36px;line-height:.9;font-weight:850;transform:rotate(180deg);margin-bottom:8px}.deploy-control strong{font-size:12px;letter-spacing:.6px;line-height:1.05}.deploy-control small{font-size:8px;font-weight:850;margin-top:6px;opacity:.7;letter-spacing:1px}.side-control{width:60px;height:60px;border-radius:50%;background:#092f44a3;color:#eafff2;border:1px solid #dbfff18a;backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;flex-direction:column}.side-control span{font-size:21px;line-height:1}.side-control small{font-size:7px;letter-spacing:1px;font-weight:800}.side-control.active{background:#e6ffea;color:#134d55}
.screen-overlay{position:absolute;inset:0;z-index:30;display:flex;justify-content:center;align-items:center;text-align:center;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:calc(88px + env(safe-area-inset-top)) 16px calc(52px + env(safe-area-inset-bottom))}.screen-overlay.hidden{display:none}.intro-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,29,40,.66),rgba(5,37,51,.43),rgba(5,34,49,.61)),linear-gradient(180deg,rgba(5,25,40,.28),rgba(4,33,46,.15) 55%,rgba(4,31,41,.52));backdrop-filter:blur(2px);pointer-events:none}.intro-content{position:relative;z-index:1;width:min(100%,550px);margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;text-shadow:0 4px 22px #05273b50}.eyebrow{display:flex;align-items:center;gap:13px;color:#c6fbe4;font-size:10px;letter-spacing:3.3px;font-weight:800;margin-bottom:18px}.eyebrow-line{height:1px;width:32px;background:#a1ebcf70}.title-accent{font-size:clamp(28px,6vw,63px);font-weight:1000;line-height:.92;letter-spacing:clamp(3px,1vw,11px);color:#f2fbf3;text-transform:uppercase;text-shadow:0 4px 29px #0a3c4c55}h1{margin:5px 0 19px;font-size:clamp(53px,10.9vw,112px);font-weight:950;line-height:.9;letter-spacing:clamp(-5px,-.5vw,-2px);white-space:nowrap}h1 em{font-style:normal;color:#9ef3d3}.intro-description{font-size:clamp(13px,1.5vw,16px);max-width:405px;line-height:1.7;font-weight:400;color:#f0f8f2eb;margin:0 0 18px}.intro-description strong{color:#b7ffe0}.intro-rule{width:180px;height:1px;background:linear-gradient(90deg,transparent,#e5fff3bb,transparent);margin:5px 0 19px}.intro-label{font-size:9px;letter-spacing:2.5px;font-weight:900;color:#c1ffe2;margin-bottom:9px}#language-select{appearance:none;-webkit-appearance:none;min-width:220px;padding:12px 36px 12px 20px;background:#073e52cc;color:#f7fff9;font-size:14px;font-weight:750;border:1px solid #b1e7d888;border-radius:10px;text-align:center;outline:none;cursor:pointer;backdrop-filter:blur(13px);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23e7fff4' stroke-width='2'/%3E%3C/svg%3E");background-position:right 15px center;background-repeat:no-repeat}#language-select:disabled{opacity:.6}.import-note{font-size:10px;opacity:.77;letter-spacing:.4px;margin:10px 0 22px}.primary-cta{border:0;border-radius:12px;background:linear-gradient(120deg,#cbffe4,#93f0c6);color:#063e48;min-height:56px;padding:0 16px 0 26px;width:min(100%,300px);font-size:13px;font-weight:950;letter-spacing:1.1px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 10px 30px #0f3f4368;transition:transform .2s,box-shadow .2s}.primary-cta:hover{transform:translateY(-2px);box-shadow:0 15px 35px #0f3f4388}.primary-cta:active{transform:scale(.98)}.cta-arrow{font-size:25px;font-weight:500;background:#0b53542b;width:36px;height:36px;border-radius:9px;display:grid;place-items:center}.instruction-row{display:flex;justify-content:space-between;width:min(100%,420px);gap:12px;margin-top:27px}.instruction-row>div{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}.instruction-icon{font-size:29px;font-weight:300;color:#baffdf;height:31px}.instruction-row>div>span:last-child{font-size:9px;font-weight:850;letter-spacing:1.1px;white-space:nowrap}.desktop-hint{font-size:8px;letter-spacing:1.2px;opacity:.65;font-weight:800;margin-top:28px}.start-footer{position:absolute;bottom:calc(16px + env(safe-area-inset-bottom));z-index:1;font-size:9px;letter-spacing:2px;font-weight:850;color:#e8fff1bc}.start-footer span{color:#aeffe3;margin:0 9px}
#pause-screen,#end-screen{background:#04253699;backdrop-filter:blur(12px)}.modal-card{width:min(92vw,420px);padding:38px 32px 28px;background:linear-gradient(155deg,#0d4255ed,#063345ee);border:1px solid #b1eed36d;border-radius:25px;box-shadow:0 28px 80px #001e2d80;display:flex;flex-direction:column;align-items:center}.modal-eyebrow,.end-badge{color:#b8ffe0;font-size:10px;font-weight:950;letter-spacing:2.8px}.modal-card h2{font-size:clamp(27px,4vw,39px);line-height:1.08;letter-spacing:-1.5px;margin:15px 0 10px}.modal-card p{font-size:13px;line-height:1.7;color:#d4eae7;margin:0 0 21px}.modal-stats{display:flex;width:100%;border:1px solid #cbf5eb38;border-radius:12px;justify-content:space-around;margin:8px 0 22px;padding:20px 10px}.modal-stats>div{display:flex;flex-direction:column;gap:4px}.modal-stats strong{font-size:28px}.modal-stats small{font-size:9px;letter-spacing:1.4px;color:#b9f5df}.text-cta{background:transparent;color:#caefe4;border:0;padding:15px 18px 5px;font-size:11px;letter-spacing:1.3px;font-weight:900}.text-cta:hover{text-decoration:underline}.end-card{max-height:calc(100dvh - 70px);overflow:auto}.end-badge{border:1px solid #b9ffd57e;border-radius:40px;padding:10px 15px;background:#baf9d71b}.end-score{display:flex;flex-direction:column;align-items:center;margin:7px 0 14px}.end-score strong{font-size:64px;letter-spacing:-4px;color:#b9ffe0}.end-score small{font-size:10px;font-weight:800;letter-spacing:2px}.end-metrics{display:flex;gap:24px;font-size:11px;margin-bottom:20px}.end-metrics strong{color:#b9ffe0}.learned-list{width:100%;display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:0 0 23px}.learned-list span{font-size:11px;border:1px solid #c9e7dc56;padding:8px 10px;border-radius:40px;background:#e6fff110}
@media (max-width:680px){.topbar{padding:calc(12px + env(safe-area-inset-top)) 12px 7px}.brand-mark{width:33px;height:33px;font-size:21px}.brand-type strong{font-size:15px}.brand-type small{font-size:7px;letter-spacing:1.4px}.topbar-actions{gap:5px}.icon-button{width:34px;height:34px}.icon-button svg{width:17px;height:17px}.hud{top:calc(58px + env(safe-area-inset-top));grid-template-columns:minmax(0,1fr) minmax(125px,1.2fr) minmax(0,1fr);gap:4px;padding:0 10px}.altitude-hud{padding-top:5px}.hud-kicker{font-size:7px;letter-spacing:1px}.altitude-line #altitude-number{font-size:22px;letter-spacing:-1px}.altitude-unit{font-size:10px}.fall-meter{width:70px}.mode-line{font-size:7px;letter-spacing:.6px;display:flex;flex-direction:column;gap:3px;margin-top:6px}.challenge{min-width:0;padding:8px 8px 9px;border-radius:12px}.challenge-label{font-size:7px;letter-spacing:1px}.prompt-line{gap:5px;margin:5px 0 2px}.prompt-line #prompt-word{font-size:clamp(16px,4.5vw,24px);max-width:140px}.speak-button{width:26px;height:26px;font-size:10px}.challenge-hint{font-size:8px;max-width:145px}.score-hud{padding-top:6px}.score-number strong{font-size:20px;letter-spacing:0}.score-number small{font-size:7px}.round-pill{font-size:11px;margin-top:7px;padding:6px 8px}.round-label{display:none}.touch-controls{bottom:calc(36px + env(safe-area-inset-bottom));padding:0 16px}.thumb-area{width:132px;height:135px}.thumb-ring{width:100px;height:100px}.right-controls{gap:12px}.deploy-control{width:104px;height:104px;box-shadow:0 0 0 6px #b0fcd423}.deploy-icon{font-size:29px;margin-bottom:6px}.deploy-control strong{font-size:10px}.deploy-control small{font-size:8px}.side-control{width:46px;height:46px}.side-control small{font-size:6px}.status-bottom{font-size:7px;letter-spacing:1px;bottom:calc(13px + env(safe-area-inset-bottom));gap:15px}.screen-overlay{padding-top:calc(65px + env(safe-area-inset-top));padding-bottom:calc(35px + env(safe-area-inset-bottom))}.title-accent{font-size:clamp(26px,7vw,43px)}h1{font-size:clamp(48px,13vw,76px);margin-bottom:16px}.intro-description{font-size:13px;max-width:310px}.eyebrow{font-size:8px;letter-spacing:1.9px;margin-bottom:15px}.eyebrow-line{width:16px}.instruction-row{width:min(100%,340px);gap:5px;margin-top:19px}.instruction-row>div>span:last-child{font-size:7px;letter-spacing:.5px}.desktop-hint{display:none}.start-footer{font-size:7px;letter-spacing:1px}}
@media (max-height:610px){.screen-overlay{padding-top:65px;padding-bottom:20px}.eyebrow{margin-bottom:9px}.title-accent{font-size:31px}h1{font-size:61px;margin:3px 0 9px}.intro-description{font-size:12px;line-height:1.35;margin-bottom:7px}.intro-rule{margin:4px 0 9px}.intro-label{font-size:8px;margin-bottom:6px}#language-select{padding:8px 35px 8px 15px}.import-note{margin:6px 0 12px}.primary-cta{min-height:46px}.instruction-row{margin-top:10px}.instruction-icon{font-size:22px;height:24px}.desktop-hint{margin-top:12px}.touch-controls{bottom:calc(13px + env(safe-area-inset-bottom))}.thumb-area{width:116px;height:120px}.thumb-ring{width:90px;height:90px}.deploy-control{width:97px;height:97px}.status-bottom{display:none!important}}
@media (max-width:360px){.brand-type small{display:none}.brand{gap:5px}.icon-button{width:31px;height:31px}.topbar-actions{gap:3px}.challenge-hint{display:none}.round-pill{padding:5px}.hud-kicker{font-size:6px}.instruction-row>div>span:last-child{font-size:6.4px}}

/* Second flight direction: cinematic scenery, effortless choice-based steering. */
.intro-shade{background:linear-gradient(90deg,rgba(3,26,40,.52),rgba(5,36,50,.27),rgba(4,27,42,.52)),linear-gradient(180deg,rgba(3,22,38,.12),rgba(4,31,44,.16) 55%,rgba(4,29,42,.52));backdrop-filter:blur(.7px)}
.mode-picker{display:flex;gap:6px;justify-content:center;width:min(100%,356px);margin:14px auto 0;padding:4px;border:1px solid #c6ffe16d;border-radius:12px;background:#0533458e;backdrop-filter:blur(15px)}
.mode-option{flex:1;min-width:0;min-height:47px;padding:6px 8px;color:#e6fff6;border:1px solid transparent;border-radius:9px;background:transparent;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px}
.mode-option strong{font-size:10px;font-weight:950;letter-spacing:1px}.mode-option small{font-size:8px;white-space:nowrap;letter-spacing:.1px;opacity:.76}
.mode-option.active{background:linear-gradient(135deg,#baffdf,#8bdfd1);border-color:#e6fff9;color:#083e4c;box-shadow:0 3px 12px #031e2355}.mode-option.active small{opacity:.75}
.import-note{margin-top:10px;margin-bottom:15px}
.choice-controls{position:absolute;z-index:13;left:50%;bottom:calc(181px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(620px,calc(100% - 290px));pointer-events:auto;display:flex;align-items:center;flex-direction:column;gap:8px;text-align:center}
.choice-label{font-size:9px;letter-spacing:2px;font-weight:900;color:#e6fff2;text-shadow:0 2px 7px #123749,0 0 12px #123749}
.choice-buttons{display:flex;align-items:center;justify-content:center;gap:11px;width:100%}
.word-choice{flex:1;min-width:0;max-width:168px;min-height:50px;padding:8px 7px;background:linear-gradient(155deg,#063346d9,#0f5362c9);border:1.5px solid #ddffefb3;border-radius:13px;color:#fff;font-size:clamp(12px,1.35vw,17px);font-weight:850;letter-spacing:.2px;backdrop-filter:blur(13px);box-shadow:0 6px 22px #032c4594;transition:background .16s,transform .16s,border-color .16s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.word-choice:hover,.word-choice:focus-visible{border-color:#c0ffe0;background:#0b6265ec;transform:translateY(-2px)}
.word-choice.chosen{color:#073943;background:linear-gradient(120deg,#d7ffe8,#90f8cc);border-color:#fff;box-shadow:0 0 0 4px #c0ffe033,0 6px 24px #042c49aa}
.choice-controls:not(.hidden)~.touch-controls .deploy-control{box-shadow:0 0 0 7px #b0fcd422,0 10px 28px #0135476b}
.challenge{background:linear-gradient(150deg,#073b4bc9,#064157a8);padding:10px 18px 11px;border-radius:14px}
.screen-overlay{scrollbar-width:none}.screen-overlay::-webkit-scrollbar{display:none}
@media(max-width:850px){.choice-controls{bottom:calc(166px + env(safe-area-inset-bottom));width:calc(100% - 258px)}.choice-buttons{gap:6px}.word-choice{font-size:12px;min-height:43px;padding:8px 5px;border-radius:10px}.choice-label{font-size:7px;letter-spacing:1px}}
@media(max-width:680px){.choice-controls{width:calc(100% - 28px);bottom:calc(178px + env(safe-area-inset-bottom))}.word-choice{min-height:47px;font-size:13px;max-width:130px}.choice-label{font-size:8px}.mode-picker{max-width:332px;margin-top:12px}.mode-option{min-height:43px}.mode-option strong{font-size:9px}.mode-option small{font-size:7px}.intro-description{margin-bottom:8px}.intro-rule{margin:2px 0 12px}.import-note{margin:7px 0 14px}.instruction-row{margin-top:15px}}
@media(max-height:620px){.choice-controls{bottom:calc(117px + env(safe-area-inset-bottom))}.choice-label{display:none}.word-choice{min-height:40px}.mode-picker{margin-top:7px}.mode-option{min-height:38px}.intro-rule{margin:0 0 7px}.instruction-row{margin-top:7px}.instruction-icon{font-size:20px;height:20px}.intro-description{margin-bottom:5px}.import-note{margin:5px 0 8px}}

/* Three distinct study experiences; this selector never covers the flight view. */
.study-title{margin:15px 0 7px}.study-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:min(100%,480px)}
.study-option{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:76px;padding:11px 10px;background:#072f44bf;border:1px solid #cbfce56f;border-radius:12px;color:#f4fff7;text-align:left;transition:background .2s,transform .2s;overflow:hidden}
.study-option span{color:#9cfbe1;font-size:9px;font-weight:900;letter-spacing:2px}.study-option strong{font-size:12px;font-weight:1000;letter-spacing:.8px;margin-top:3px}.study-option small{font-size:9px;opacity:.82;line-height:1.45;margin-top:4px}
.study-option.active{background:linear-gradient(140deg,#b8ffdc,#8de2d0);border-color:#fff;color:#073e49;transform:translateY(-2px);box-shadow:0 5px 20px #022c3e88}.study-option.active span{color:#166c61}
.study-switch{pointer-events:auto;border:1px solid #b8ffdcad;background:#062e45ce;backdrop-filter:blur(14px);color:#e5fff2;border-radius:12px;min-width:91px;min-height:40px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:5px 9px;box-shadow:0 4px 14px #002c3966}
.study-switch span{font-size:11px;font-weight:1000;letter-spacing:1px}.study-switch small{font-size:6px;letter-spacing:.7px;font-weight:900;opacity:.65}
.study-switch:hover,.study-switch:focus-visible{background:#0b5f66}
.intro-rule{margin-bottom:12px}.intro-description{margin-bottom:12px}.mode-picker{margin-top:8px}.import-note{margin-bottom:12px}.instruction-row{margin-top:17px}
.control-caption{font-size:8px;letter-spacing:1px;white-space:nowrap}.challenge.quiz-mode{border-color:#ffd7a1a1;background:linear-gradient(145deg,#203f4ccc,#0a3c53c2)}.challenge.quiz-mode .challenge-label{color:#ffe2ac}
@media(max-width:680px){.study-switch{min-width:65px;min-height:34px;border-radius:9px;padding:4px 5px}.study-switch span{font-size:9px}.study-switch small{font-size:5px;letter-spacing:0}.study-picker{gap:5px}.study-option{min-height:67px;padding:7px 6px}.study-option strong{font-size:10px}.study-option small{font-size:7px}.study-title{margin-top:9px}.study-option span{font-size:7px}.control-caption{font-size:7px;letter-spacing:.4px}.mode-picker{margin-top:7px}}
@media(max-height:650px){.study-option{min-height:55px}.study-title{margin:6px 0}.study-option small{margin-top:2px}.intro-description{margin-bottom:5px}.intro-rule{margin-bottom:7px}.mode-picker{margin-top:5px}.instruction-row{margin-top:8px}.import-note{margin-bottom:6px}}
