@font-face{font-family:Quicksand;src:url('./Quicksand.ttf');font-weight:700;font-display:swap}@font-face{font-family:Quicksand;src:url('./Quicksand-Medium.ttf');font-weight:500;font-display:swap}@font-face{font-family:Quicksand;src:url('./Quicksand-SemiBold.ttf');font-weight:600;font-display:swap}*{box-sizing:border-box}:root{font-family:Quicksand,system-ui,sans-serif;color:#fff;background:#142b3b;font-weight:650}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;min-height:48px;border:0;border-radius:15px;background:#ffce6e;color:#17313d;padding:12px 22px;font-weight:750;box-shadow:0 3px 0 #a4773b}button:disabled{opacity:.5;cursor:default}button.secondary{background:#ffffff18;color:inherit;box-shadow:none;border:1px solid #ffffff45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #fff;outline-offset:4px}h1,h2,h3,p{margin:0 0 16px}h1{font-size:clamp(28px,4vw,58px)}h2{font-size:clamp(24px,3vw,40px)}a{color:#ffce6e}#app{min-height:100dvh}.loading{padding:48px;text-align:center}.stage{position:relative;min-height:100dvh;overflow:hidden;isolation:isolate}.backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.shade{position:absolute;inset:0;background:linear-gradient(#071c3250,#071c3205 35%,#071c32bb);z-index:-1}.hud{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:max(14px,env(safe-area-inset-top)) 20px 12px;flex-wrap:wrap;background:#142b3ba8;backdrop-filter:blur(10px)}.hud .brand{font-size:20px}.hud-actions,.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.panel{max-width:1100px;margin:auto;padding:28px 24px 60px}.card{background:#173442ed;border:1px solid #ffffff26;padding:24px;border-radius:24px}.welcome{text-align:center;padding-top:50px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px}.tile{display:flex;flex-direction:column;align-items:center;gap:12px;padding:14px;text-align:center;background:#fff9e9;color:#173442;border-radius:20px;overflow:hidden}.tile img{width:100%;height:160px;object-fit:contain;border-radius:12px}.tile small{font-size:13px}.tile button{width:100%}.field{display:flex;flex-direction:column;gap:7px;margin:16px 0}input,select{min-height:48px;border:1px solid #839d9d;border-radius:10px;padding:12px;width:100%;background:white;color:#163240}.journey-content{min-height:75dvh;display:flex;align-items:end;justify-content:center;padding:24px;gap:18px}.word-plaque{text-align:center;background:#173442ed;padding:22px 38px;border-radius:25px;border:2px solid #ffce6e}.word-plaque h1{font-size:clamp(55px,9vw,100px);margin:0}.lesson-layout{min-height:75dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,420px);gap:25px;align-items:start;padding:30px}.lesson-copy{grid-column:2;background:#fff9e9;color:#173442;border-radius:30px;padding:25px;box-shadow:0 8px 30px #0004}.lesson-copy h1{font-size:46px;color:#32635a}.lesson-copy p{font-size:clamp(18px,2vw,25px)}.example{border-top:1px solid #c9cdbb;padding-top:16px}.bottom{position:absolute;bottom:24px;left:24px;right:24px;display:flex;justify-content:space-between;gap:12px}.quiz-title{text-align:center;margin:20px auto;max-width:850px}.answers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.answer{position:relative;background:#fff9e9;color:#173442;padding:18px;border:3px solid transparent;border-radius:23px;text-align:center;display:flex;flex-direction:column;gap:12px}.answer .letter{font-size:30px;position:absolute;top:10px;left:12px;background:#ffce6e;border-radius:50%;width:46px;height:46px;display:grid;place-items:center;color:#173442}.answer img{width:100%;height:190px;object-fit:contain;border-radius:12px}.answer .scene-answer{object-fit:cover}.answer .answer-text{font-size:18px;min-height:55px}.answer.wrong{opacity:.5;border-color:#e89180}.answer button{margin-top:auto}.reward{text-align:center;max-width:600px;margin:60px auto;padding:40px}.reward img{height:180px;max-width:100%;object-fit:contain}.reward .points{font-size:64px;color:#ffce6e}.power{animation:swoosh .9s ease both}.bonus{color:#ffce6e;font-size:24px}.map-wrap{height:65dvh;overflow:auto;border-radius:20px;background:#b1d3bc}.map-world{position:relative;width:max(100%,600px);aspect-ratio:1}.map-world>img{position:absolute;width:100%;height:100%;object-fit:cover}.map-stop{position:absolute;transform:translate(-50%,-50%);padding:5px 9px;min-width:42px;min-height:42px;border:2px solid #fff;font-size:13px;box-shadow:0 2px 4px #0007}.map-stop.current{outline:4px solid #fff}.map-stop.done{background:#53977a;color:white}.map-stop:disabled{opacity:.8;background:#809399;color:#e8eeee}.intro{min-height:100dvh;background:#122b3b}.intro video,.intro>img{position:absolute;width:100%;height:100%;object-fit:contain}.intro .start{position:absolute;bottom:6%;left:50%;transform:translateX(-50%);min-width:200px;font-size:26px}.intro .skip{position:absolute;right:20px;top:20px}.intro .intro-hint{position:absolute;bottom:20%;width:100%;text-align:center}.caption{font-size:15px;opacity:.85}dialog{max-width:620px;width:calc(100% - 28px);max-height:90dvh;overflow:auto;border:1px solid #719085;border-radius:24px;padding:26px;background:#173442;color:white;box-shadow:0 20px 90px #0009}dialog::backdrop{background:#071b2bcc}#close-dialog{margin-top:22px;width:100%}#notice{position:fixed;bottom:15px;left:50%;transform:translateX(-50%);z-index:30;background:#fff9e9;color:#173442;padding:12px 20px;border-radius:12px;max-width:90%;box-shadow:0 4px 15px #0005;display:none}.danger{border:1px solid #efb3a5!important}.settings-row{margin:20px 0}.settings-row input[type=checkbox]{width:24px;min-height:24px}.status-list{line-height:1.8}.download-row{padding:14px 0;border-bottom:1px solid #ffffff25}.empty{text-align:center;padding:50px}.word-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}.word-list button{min-height:72px}.profiles-row{display:flex;gap:10px;align-items:center}.profile-avatar{width:50px;height:50px;object-fit:contain}.subtle{font-size:14px;opacity:.8}.cinema{min-height:70dvh;display:grid;place-items:center}.cinema .card{max-width:550px;text-align:center;padding:40px}.cinema .icon{font-size:70px}.nowrap{white-space:nowrap}@keyframes swoosh{from{opacity:0;transform:translateX(-35px) scale(.85)}to{opacity:1;transform:none}}@media(max-width:700px){.hud{padding:12px;gap:10px}.hud .brand{font-size:16px}.hud button{padding:10px 13px}.panel{padding:20px 14px 40px}.lesson-layout{display:block;min-height:80dvh;padding:35dvh 14px 100px}.lesson-copy{padding:20px;background:#fff9e9f5}.lesson-copy h1{font-size:30px}.bottom{bottom:16px;left:14px;right:14px}.answers{grid-template-columns:1fr}.answer{display:grid;grid-template-columns:100px 1fr;align-items:center;padding:12px;gap:10px}.answer img{height:100px}.answer .letter{width:34px;height:34px;font-size:22px;left:5px;top:5px}.answer .answer-text{font-size:16px;min-height:0}.answer button{grid-column:2}.answer .listen{grid-column:1;grid-row:2}.journey-content{min-height:70dvh;flex-wrap:wrap}.reward{margin:25px auto;padding:25px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tile{padding:10px}.tile img{height:120px}.word-plaque{padding:18px 25px}.map-wrap{height:60dvh}.intro .start{bottom:12%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}[hidden]{display:none!important}
@media(max-width:700px){.stage:has(.lesson-layout)>.backdrop{height:46dvh;object-position:28% center}.stage:has(.lesson-layout)>.shade{background:linear-gradient(transparent 30dvh,#142b3b 48dvh)}}

/* Native GameView / LessonView / BrowseView layout parity. */
:root{color:#fff9eb;background:#172940;font-weight:700}
.stage{min-height:100dvh}.stage>.shade{background:linear-gradient(#0002,transparent 30%,#0001)}
.hud{position:relative;z-index:5;padding:32px;flex-wrap:nowrap;background:none;backdrop-filter:none;pointer-events:none}
.hud-actions{gap:12px;flex-wrap:nowrap;pointer-events:auto}.hud-button,.coin-counter{height:56px;min-width:56px;border-radius:16px;background:#0008;color:#fff;box-shadow:none;border:0;display:flex;align-items:center;justify-content:center;padding:0 13px;font-size:25px}
.coin-counter{gap:8px;font-size:24px}.coin-counter img{height:34px;width:34px;object-fit:contain}.screen-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
button{box-shadow:none}button.secondary{background:#ffffff14;border-color:#ffffff26}.travel-arrow{background:none;color:#f5d286;box-shadow:none;padding:0;font-size:76px;font-weight:400;line-height:1;width:80px;height:80px;min-height:56px;flex-shrink:0;text-shadow:0 2px 2px #0006}.travel-arrow:disabled{visibility:hidden}
.journey-stage,.lesson-stage{height:100dvh;min-height:600px}.journey-controls{position:absolute;bottom:45px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:65px}.journey-play{font-size:30px;padding:18px 52px;border-radius:20px;background:linear-gradient(#ffe6a1,#ffce6e);border:1px solid #e4bd8b;box-shadow:0 5px 12px #0003}.mini-map{position:absolute;bottom:32px;right:32px;width:172px;height:172px;border-radius:50%;padding:6px;background:#172940;border:2px solid #ffce6eaa;overflow:hidden;box-shadow:0 4px 12px #0007}.mini-map img{width:100%;height:100%;object-fit:cover;border-radius:50%;transform:scale(2.5)}.mini-marker{position:absolute;left:45%;top:45%;color:#ffce6e;text-shadow:0 2px 4px black}
.lesson-stage>.shade{background:none}.speech-bubble{position:absolute;background:#fffdf7;color:#6b6b6b;border-radius:32px;padding:24px 28px;z-index:2;font-size:clamp(24px,2.49vw,38px);font-weight:500;text-align:center;line-height:1.3;filter:drop-shadow(0 4px 5px #0002)}.speech-bubble p{margin:0}.speech-bubble:after{content:'';position:absolute;bottom:-30px;left:16%;width:0;height:0;border-top:38px solid #fffdf7;border-left:0 solid transparent;border-right:64px solid transparent}.speech-bubble.tail-right:after{left:auto;right:16%;transform:scaleX(-1)}.speech-replay{position:absolute;right:5px;bottom:2px;background:transparent;color:#8b8272;min-height:36px;width:36px;padding:0;font-size:21px}
.definition-panel{position:absolute;left:7%;right:7%;bottom:35px;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:115px;padding:20px 24px;border-radius:27px;background:#16161678;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border:1px solid #ffffff24;box-shadow:0 8px 20px #0003}.word-badge{position:absolute;top:-55px;left:50%;transform:translateX(-50%);margin:0;background:#ffce6e;color:#172940;border:1px solid #e4bd8b;border-radius:25px;min-width:108px;height:80px;padding:0 23px;display:flex;align-items:center;justify-content:center;font-size:62px;letter-spacing:-2px;box-shadow:0 5px 10px #0002}.definition-meaning{margin:10px 0 0;text-align:center;font-size:clamp(24px,2.49vw,38px);line-height:1.3;font-weight:600;flex:1}.definition-panel .travel-arrow{width:56px;height:56px;font-size:66px}
.definition-rail{position:absolute;left:34px;top:118px;display:flex;flex-direction:column;gap:9px;max-height:calc(100% - 390px);width:56px;overflow-y:auto;scrollbar-width:none}.definition-stop{width:50px;min-height:50px;padding:0;border-radius:14px;background:#0007;color:#ffffffa6;font-size:22px;flex-shrink:0}.definition-stop[aria-current=step]{background:#ffffff33;color:white}.definition-rail img{width:50px;height:50px;object-fit:contain}
.treasure-stage>.backdrop{filter:blur(10px);transform:scale(1.04)}.treasure-stage>.shade{background:#0009}.treasure-panel{max-width:1250px;margin:0 auto;padding:0 35px 35px}.quiz-title{position:relative;margin:0 auto 20px;max-width:1100px}.quiz-title h1{color:#ffce6e;font-size:64px;margin-bottom:8px}.quiz-title h2{font-size:32px;margin-bottom:12px}.quiz-title p{font-size:27px}.question-audio{position:absolute;right:0;top:0;color:#ffce6e;background:#0004;padding:8px;font-size:26px;width:48px}.question-scene{display:block;width:clamp(220px,32vh,450px);aspect-ratio:4/3;object-fit:cover;margin:0 auto 28px;border:3px solid #ffce6eaa;border-radius:20px}.answers{gap:28px}.answer{display:flex;padding:0;background:none;color:white;border:0;border-radius:0;gap:8px;overflow:visible}.answer.wrong{opacity:.3;border:0}.answer-choice{position:relative;background:none;color:inherit;width:100%;padding:0;display:flex;flex-direction:column;align-items:center}.answer .letter{z-index:2;top:-12px;left:calc(50% - 23px);border-radius:12px;font-size:26px}.answer .ticket-art{width:100%;height:auto;aspect-ratio:366/170;object-fit:fill;border-radius:0}.meaning-choices .answer-text{position:absolute;left:14%;right:14%;top:50%;transform:translateY(-50%);font-size:clamp(17px,1.83vw,26px);line-height:1.25;min-height:0;color:#172940}.answer .listen{margin:0 auto;min-height:48px;padding:8px 18px;color:#ffce6e;font-size:20px}.scene-choices .scene-answer{height:auto;aspect-ratio:4/3;width:100%;object-fit:cover;border:4px solid #ffce6e;border-radius:20px;margin:40px 0 12px}.scene-choices .answer-text{font-size:24px;line-height:1.3}.scene-choices .letter{top:0}.reward{background:#000a;border:0}
.collection-panel{padding:0 30px 100px}.collection-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px}.collection-logo{width:min(38vw,360px);height:45px;object-fit:contain}.collection-bar .field{margin:0;width:330px}.collection-bar .field>span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.collection-bar input{background:#0005;color:white;border:1px solid #ffffff26}.portrait-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 14px}.word-portrait{position:relative;aspect-ratio:1;background:none;padding:0;overflow:hidden}.word-portrait>img{width:100%;height:100%;object-fit:contain}.word-portrait .portrait-lock{position:absolute;width:28%;height:36%;left:36%;top:40%}.garment-word{position:absolute;left:50%;transform:translate(-50%,-50%);font-size:28px}.collection-footer{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;gap:25px;padding:16px 30px;background:#172940b3;backdrop-filter:blur(16px);z-index:5;border-top:1px solid #ffffff20}
.profile-stage .welcome{padding-top:8vh;max-width:950px}.welcome-logo{display:block;width:min(80%,560px);height:auto;max-height:100px;object-fit:contain;margin:0 auto 40px}.welcome h1{font-size:30px}.profile-stage .grid{display:flex;justify-content:center;flex-wrap:wrap}.profile-stage .tile{width:220px;background:#172940a8;color:#fff9eb;backdrop-filter:blur(12px);border:1px solid #ffffff24}.profile-stage .tile img{height:180px}.welcome>button{margin-top:25px}.profile-stage .shade{background:#10233c55}
dialog{background:#172940fa}#dialog-body>button{display:block;width:100%;margin:10px 0;text-align:left}#dialog-body>h2{font-size:28px}
@media(max-width:899px),(max-height:599px){
 .hud{padding:14px}.hud-actions{gap:8px}.hud-button,.coin-counter{height:46px;min-width:46px;border-radius:13px;font-size:21px}.coin-counter{font-size:20px}.coin-counter img{width:27px;height:27px}
 .journey-stage{min-height:100dvh}.journey-controls{bottom:24px;gap:22px}.journey-play{font-size:24px;padding:14px 36px}.mini-map{width:95px;height:95px;right:16px;bottom:110px}
 .lesson-stage{min-height:100dvh;height:auto;display:grid;grid-template-columns:48% 1fr;grid-template-rows:74px auto auto auto;gap:12px;padding:0 12px 20px}.lesson-stage .hud{grid-column:1/-1;padding:14px 0}.lesson-stage>.backdrop{position:relative;inset:auto;grid-column:1;grid-row:2/5;aspect-ratio:4/3;width:100%;height:auto;align-self:center;object-fit:contain;z-index:0;border-radius:16px}.lesson-stage>img.backdrop:has(+video){visibility:hidden}.lesson-stage>.shade{display:none}.speech-bubble{position:relative;grid-column:2;grid-row:2;left:auto!important;top:auto!important;width:auto!important;padding:18px;font-size:20px;border-radius:20px;margin-bottom:20px}.speech-bubble:after{bottom:-17px;border-top-width:22px;border-right-width:35px}.definition-panel{position:relative;left:auto;right:auto;bottom:auto;grid-column:2;grid-row:4;display:grid;grid-template-columns:44px 1fr 44px;padding:12px;gap:8px;border-radius:18px;margin-top:22px}.word-badge{font-size:30px;height:46px;min-width:65px;top:-30px;border-radius:15px;padding:0 16px;letter-spacing:-1px}.definition-meaning{font-size:19px;grid-column:1/-1;padding:10px 0}.definition-panel .travel-arrow{font-size:48px;width:44px;height:44px;min-height:44px;grid-row:3}.definition-panel .travel-arrow:last-child{grid-column:3}.definition-rail{position:relative;left:auto;top:auto;grid-column:2;grid-row:3;max-height:none;width:100%;flex-direction:row;overflow-x:auto}.definition-stop{width:44px;min-height:44px;font-size:18px}.definition-rail img{width:44px;height:44px}
 .treasure-panel{padding:0 18px 30px}.quiz-title h1{font-size:42px}.quiz-title h2{font-size:25px}.quiz-title p{font-size:20px}.answers{gap:16px}.answer{display:flex;padding:0;gap:8px}.answer img{height:auto}.answer .letter{width:36px;height:36px;left:calc(50% - 18px);font-size:22px}.answer .answer-text{font-size:18px}.question-scene{width:240px}.collection-logo{width:45%;height:auto}.collection-bar .field{width:45%}.portrait-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:599px){
 .lesson-stage{grid-template-columns:1fr;grid-template-rows:74px 280px auto auto auto;gap:14px}.lesson-stage>.backdrop{grid-column:1;grid-row:2;height:280px;object-fit:cover;object-position:center;border-radius:18px}.lesson-stage .speech-bubble{grid-column:1;grid-row:3;font-size:21px;margin:0 14px 16px}.definition-rail{grid-column:1;grid-row:4;justify-content:center}.definition-panel{grid-column:1;grid-row:5;margin:24px 0 0;grid-template-columns:44px 1fr 44px}.definition-meaning{grid-column:2;font-size:21px}.definition-panel .travel-arrow{grid-row:1}.definition-panel .travel-arrow:last-child{grid-column:3}
 .answers{grid-template-columns:1fr;gap:28px;max-width:390px;margin:auto}.answer .answer-text{font-size:22px}.answer .listen{font-size:18px}.question-scene{width:220px}.scene-choices .scene-answer{max-height:240px}.portrait-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-panel{padding:0 16px 100px}.collection-bar{flex-direction:column;gap:16px}.collection-logo{width:80%;max-width:300px}.collection-bar .field{width:100%}.profile-stage .tile{width:160px}.profile-stage .tile img{height:140px}.profile-stage .welcome{padding-top:40px}
}

.hud-button svg{width:26px;height:26px}.travel-arrow svg{width:50px;height:50px;filter:drop-shadow(0 2px 2px #0005)}.speech-bubble strong{font-weight:700;color:#444}.mini-map>svg{width:100%;height:100%;display:block}.mini-map{padding:4px}.portrait-grid .word-portrait{transition:transform .15s}.portrait-grid .word-portrait:hover{transform:translateY(-4px)}
.map-stage{height:100dvh;overflow:hidden}.map-stage>.panel{max-width:none;padding:0;margin:0}.map-stage .map-wrap{position:absolute;inset:0;height:100%;border-radius:0;overscroll-behavior:contain;scrollbar-width:thin}.map-stage .map-world{width:max(100vw,1400px);height:auto;min-height:100dvh}.map-stage .actions{position:absolute;left:32px;top:112px;z-index:4}.map-stage .actions button{background:#000a;backdrop-filter:blur(10px);font-size:22px}.map-stage .caption{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:#0009;border-radius:12px;padding:8px 15px;pointer-events:none;text-align:center}.map-road{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.map-stop{border-radius:50%;min-width:48px;min-height:48px;border:2px solid #fff1d1;background:#1d3045dd;color:#fff9eb;backdrop-filter:blur(6px)}.map-stop.current{background:#ffce6e;color:#172940;outline:3px solid #fff9eb;box-shadow:0 0 20px #ffce6e99}.map-stop.done{background:#385f54}.map-stop:disabled{opacity:.8}.map-stage .hud{pointer-events:none}.map-stage .hud-actions{pointer-events:auto}
@media(max-width:899px){.map-stage .actions{left:14px;top:86px}.map-stage .actions button{font-size:17px;padding:12px}.map-stage .caption{font-size:13px;width:85%;bottom:0}}
.browse-stage{height:100dvh;overflow:hidden}.browse-stage .collection-panel{position:absolute;inset:104px 0 84px;padding-bottom:30px;overflow:auto;scrollbar-width:thin}.collection-bar{position:sticky;top:0;z-index:3;padding:10px 0 18px;background:#17294099;backdrop-filter:blur(12px);border-radius:12px}.collection-footer{min-height:84px}.word-portrait:focus-visible{outline-offset:-4px}
@media(max-width:899px){.browse-stage .collection-panel{top:76px}.collection-bar{padding:12px}}
.cities-stage .panel{max-width:900px}.cities-stage .grid{grid-template-columns:1fr;gap:10px}.city-choice{position:relative;display:grid;grid-template-columns:110px 1fr auto;gap:4px 20px;padding:16px;text-align:left;background:#172940dd;backdrop-filter:blur(14px);color:#fff9eb;border:1px solid #ffffff1f;border-radius:18px}.city-choice img{grid-column:1;grid-row:1/4;width:110px;height:80px;object-fit:cover}.city-choice h2{grid-column:2;margin:0;font-size:24px}.city-choice p,.city-choice small{grid-column:2;margin:0;font-size:14px;opacity:.8}.city-choice button{grid-column:3;grid-row:1/4;width:auto;font-size:16px}
@media(max-width:599px){.city-choice{grid-template-columns:74px 1fr;gap:5px 12px;padding:12px}.city-choice img{width:74px;height:74px}.city-choice h2{font-size:21px}.city-choice button{grid-column:1/-1;grid-row:4;margin-top:8px}.city-choice p,.city-choice small{font-size:12px}}
.demo-signup{position:absolute;right:24px;bottom:24px;background:#172940d9;color:#fff9eb;border:1px solid #ffffff60;font-size:16px}.account-entry{display:inline-block;padding:16px 25px;background:#ffce6e;color:#172940;border-radius:18px;text-decoration:none;font-weight:700}.sample-mode .journey-stage{min-height:100dvh}
.rotate-phone{display:none}@media(max-width:599px) and (orientation:portrait) and (pointer:coarse){body.playing-game .rotate-phone{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;background:#172940;color:#fff9eb}body.playing-game .rotate-phone>span{font-size:90px;color:#ffce6e}body.playing-game .rotate-phone h1{font-size:32px;margin:20px 0}body.playing-game #app{visibility:hidden}}
/* Landscape phones keep the tablet scene composition, with a wider camera crop. */
.lesson-stage.wide-lesson{display:block;width:1366px;height:var(--lesson-height);min-height:0;padding:0}
.wide-lesson .hud{padding:24px 32px}.wide-lesson .hud-button,.wide-lesson .coin-counter{height:64px;min-width:64px;font-size:27px}
.wide-lesson>.backdrop{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border-radius:0;z-index:-2;visibility:visible!important}
.wide-lesson .speech-bubble{position:absolute;left:var(--bubble-left)!important;top:var(--bubble-top)!important;width:var(--bubble-width)!important;padding:24px 28px;font-size:34px;border-radius:32px;margin:0}
.wide-lesson .speech-bubble:after{bottom:-30px;border-top-width:38px;border-right-width:64px}.wide-lesson .speech-replay{min-height:48px;width:48px;font-size:28px}
.wide-lesson .definition-panel{position:absolute;left:7%;right:7%;bottom:24px;display:flex;gap:24px;min-height:115px;padding:20px 24px;border-radius:27px;margin:0}
.wide-lesson .word-badge{font-size:62px;height:80px;min-width:108px;top:-55px;border-radius:25px;padding:0 23px;letter-spacing:-2px}.wide-lesson .definition-meaning{font-size:34px;margin:10px 0 0;padding:0}
.wide-lesson .definition-panel .travel-arrow{width:72px;height:72px;min-height:72px}.wide-lesson .travel-arrow svg{width:56px;height:56px}
.wide-lesson .definition-rail{position:absolute;left:24px;top:104px;max-height:calc(100% - 280px);width:72px;flex-direction:column;overflow-y:auto;overflow-x:hidden;gap:9px}.wide-lesson .definition-stop{width:64px;min-height:64px;font-size:28px}.wide-lesson .definition-rail img{width:64px;height:64px}

/* Native map tokens: portraits, treasure art, labels and access locks. */
.map-stop{width:68px;height:68px;min-width:68px;min-height:68px;padding:0;border:2px solid #b9c2bd;background:#172e3d;overflow:visible}.map-stop .map-portrait{width:64px;height:64px;object-fit:contain;display:block;border-radius:50%}.map-stop .map-word-label{position:absolute;top:calc(100% + 5px);left:50%;transform:translateX(-50%);background:#122938;border:1px solid #f2cc854d;border-radius:8px;padding:3px 8px;color:#fff;font-size:16px;line-height:1.2;white-space:nowrap}.map-stop .map-lock{position:absolute;width:24px;height:31px;object-fit:contain;left:20px;top:18px}.map-stop.locked .map-portrait{filter:brightness(.68)}.map-stop.current{background:#172e3d;border-color:#ffe5a2;outline:3px solid #ffe9b4;box-shadow:0 0 24px 7px #ffcf7099}.map-stop.map-treasure .map-portrait{padding:5px}.map-stop.done{border-color:#9ed5b4}
