/* Japan pilot: fixed control regions and complete, uncropped scene artwork. */
html[data-experience=sky] #world-opening .airport-board,
html[data-experience=sky] #world-opening .eyebrow,
html[data-experience=sky] #world-opening .departure-scene-controls{display:none}
html[data-experience=sky] #world-opening .opening-card{width:min(1180px,100%);padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:24px;box-sizing:border-box}
html[data-experience=sky] #world-opening .departure-scene{margin:0;min-height:0;align-self:stretch}
html[data-experience=sky] #world-opening .departure-scene figure{height:100%;margin:0}
html[data-experience=sky] #world-opening .departure-scene img{width:100%;height:100%;object-fit:cover;border-radius:18px}
.sky-login{min-width:0;display:flex;flex-direction:column;gap:12px}
.sky-login .opening-brand{font-size:20px}.sky-login .opening-brand small{display:none}
html[data-experience=sky] .sky-login h1{font-size:28px;margin:0}
.sky-login .opening-copy,.sky-login .opening-identity{margin:0}
.sky-login .learner-login-panel{margin:0}.sky-login .learner-login-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sky-login .learner-login-form button{grid-column:1/-1}
html[data-experience=sky] #world-opening .opening-actions{position:static;transform:none;width:auto;margin:0;padding:0;box-shadow:none;background:none;border:0}
.sky-login #world-start{width:100%}.sky-opening-tools{position:relative;font-size:15px}.sky-opening-tools>summary{min-height:44px;cursor:pointer;display:flex;align-items:center}
.sky-opening-tools[open]{max-height:180px;overflow:auto}
.sky-japan .plus-site-title{display:none!important}
.sky-japan .plus-brand-header{flex-direction:row}
.sky-japan .plus-font-controls>span{display:none}
.sky-japan .arrival-top{align-items:center}
.sky-japan .primary-action:hover,.sky-japan .primary-action:active,.sky-login button:hover,.sky-login button:active{transform:none}
html[data-experience=sky] .sky-japan .stage1-layout{grid-template-columns:minmax(0,1fr) minmax(0,2fr);grid-template-rows:auto minmax(0,1fr) 62px;gap:10px}
html[data-experience=sky] .sky-japan .stage1-layout>.sky-question{padding:12px 16px;font-size:calc(23px * var(--plus-scale));line-height:1.4;max-height:25dvh}
html[data-experience=sky] .sky-japan .stage1-task-panel{grid-row:2;position:relative;gap:6px;padding:0;overflow:auto}
html[data-experience=sky] .sky-japan #arrival-navigation{grid-column:1/-1;grid-row:3;min-height:62px;box-sizing:border-box}
html[data-experience=sky] .sky-japan #arrival-navigation[hidden]{display:flex;visibility:hidden}
.sky-japan #arrival-title{font-size:20px!important}.sky-japan .stage1-progress{font-size:16px}
.sky-japan #arrival-options{flex:1!important;min-height:0;grid-template-rows:repeat(2,minmax(0,1fr)) 52px!important;padding:0!important}
.sky-japan #arrival-options .answer-option.has-image{padding:0;overflow:hidden;gap:0;border:3px solid #cec7e4;grid-template-rows:minmax(0,1fr) auto;display:grid}
.sky-japan #arrival-options .answer-option.has-image img{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center 25%;border-radius:0}
.sky-japan #arrival-options .answer-option>.plus-option-label{width:100%;max-width:none;box-sizing:border-box;background:#211b43;color:#fff;padding:9px 10px;margin:0;font-size:calc(20px * var(--plus-scale));min-height:44px}
.sky-japan #arrival-options .answer-option.is-previewed{border-color:#008574;outline:3px solid #008574;outline-offset:-3px}
.sky-japan #arrival-options .answer-option.is-previewed>.plus-option-label{background:#006c5d}
.sky-japan .answer-confirm{grid-column:1/-1;position:static!important;min-height:52px}
.sky-japan.plus-answered #arrival-options .answer-confirm{display:block!important;visibility:hidden}
.sky-japan .plus-option-zoom{display:grid;z-index:3}
.sky-japan .stage1-scene-panel{border:0;gap:0;background:transparent;align-self:stretch}
html[data-experience=sky] .sky-japan .stage1-scene-panel>.scene-exploration{width:100%;flex:none;aspect-ratio:16/9;overflow:hidden;border-radius:14px}
html[data-experience=sky] .sky-japan .stage1-scene-panel .arrival-scene-art{display:block;width:100%;height:100%;object-fit:contain;border-radius:0}
.sky-japan .scene-exploration-status{margin-top:10px!important;padding:12px!important;font-size:20px;line-height:1.4}
html[data-experience=sky] .plus-student .scene-exploration-point:before{width:14px;height:14px;background:#ffcf39;border:2px solid white;box-shadow:0 0 0 2px #172742,0 0 12px #ffe58b}
html[data-experience=sky] .plus-student .scene-exploration-point:after{inset:10px;border:2px solid #ffdf68}
.sky-japan .stage2-game.plus-stage2{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.sky-japan .plus-task-flow{position:relative;padding:0;gap:8px}
.sky-japan .plus-task-flow>.river-dialogue{flex:1;min-height:0;display:flex;flex-direction:column;margin:0;padding:14px;overflow:auto}
.sky-japan .river-dialogue-actions{margin-top:auto;min-height:52px}
.sky-japan .river-dialogue-actions .river-primary{width:100%}
.sky-japan .river-decisions{margin-top:auto;gap:10px}
.sky-japan .river-choice{min-height:54px;background:#211b43;color:white;border:2px solid #211b43;border-radius:12px;padding:12px;font-size:calc(21px * var(--plus-scale));text-align:left}
.sky-japan .river-choice:focus-visible{outline:4px solid #008574;outline-offset:2px}
html[data-experience=sky] .plus-student .river-pin:before{left:15px;top:15px;width:14px;height:14px;background:#ffce38;border:2px solid #fff;box-shadow:0 0 0 2px #211b43,0 0 12px #fff}
html[data-experience=sky] .plus-student .river-pin.is-hint:after,html[data-experience=sky] .plus-student .river-pin.sky-glow:after{content:"";position:absolute;border-radius:50%;inset:10px;border:3px solid #ffcf39;animation:sky-pilot-pulse 1.8s ease-out infinite}
.sky-japan .sky-guide{flex:none;font-weight:700;padding:10px}.sky-japan .sky-guide p{font-size:18px}
.sky-japan .plus-journal-details{font-size:16px}
.sky-japan .stage2-save-status{font-size:14px}
@keyframes sky-pilot-pulse{0%{transform:scale(.8);opacity:1}100%{transform:scale(1.5);opacity:0}}
@media(prefers-reduced-motion:reduce){.sky-japan .river-pin:after{animation:none!important;opacity:1}}
@media(max-width:700px){html[data-experience=sky] #world-opening .opening-card{grid-template-columns:1fr}.sky-login{gap:8px}html[data-experience=sky] #world-opening .departure-scene{display:none}}
@media(max-width:599px){html[data-experience=sky] .sky-japan .stage1-layout{grid-template-columns:1fr;grid-template-rows:auto 22dvh minmax(0,1fr) 56px}html[data-experience=sky] .sky-japan .stage1-task-panel{grid-row:3}html[data-experience=sky] .sky-japan #arrival-navigation{grid-row:4}.sky-japan #arrival-options .answer-option>.plus-option-label{font-size:17px;padding:5px}.sky-japan .stage2-game.plus-stage2{grid-template-columns:1fr}.sky-japan .scene-exploration-status{font-size:16px}.sky-japan .stage1-scene-panel{overflow:auto}}

html[data-experience=sky] .plus-student .river-pin.sky-glow{animation:none;box-shadow:none!important}

.sky-japan .washi-journey .river-scene{aspect-ratio:1;background:transparent;overflow:hidden}
.sky-japan .washi-journey .river-art{border-radius:14px}
.sky-japan .washi-sheet-trace{top:55%;left:32%;width:38%;height:9%}

@media(min-width:600px) and (min-height:600px){
 html[data-experience=sky] .sky-japan .stage1-scene-panel{height:100%;overflow:hidden}
 html[data-experience=sky] .sky-japan .stage1-scene-panel>.scene-exploration,html[data-experience=sky] .sky-japan .stage1-scene-panel>.arrival-scene-art{flex:1;min-height:0;height:100%;aspect-ratio:auto;object-fit:contain}
 html[data-experience=sky] .sky-japan .stage1-scene-panel .scene-exploration .arrival-scene-art{height:100%;object-fit:contain}
}

@media(min-width:600px){
 .sky-japan .stage1-scene-panel>#arrival-feedback:not(:empty){position:absolute;bottom:0;left:0;right:0;z-index:5;margin:0;padding:12px;background:#f3f8ef;border:2px solid #147461;border-radius:12px;font-weight:700}
}

@media(max-width:599px) and (orientation:portrait){
 .sky-japan #arrival-options{flex:0 0 auto!important;min-height:420px;grid-template-rows:repeat(2,minmax(160px,1fr)) 52px!important}
 .sky-japan .stage1-task-panel{overflow:auto!important}
}

/* Submit and continue share one physical target, independent of answer content. */
@media(min-width:600px){
 .sky-japan .answer-confirm,.sky-japan #arrival-navigation .primary-action{position:fixed!important;right:max(14px,env(safe-area-inset-right));bottom:max(15px,env(safe-area-inset-bottom));width:calc((100vw - 38px)*2/3);height:52px;min-height:52px;box-sizing:border-box;margin:0;z-index:8}
}
html[data-experience=sky] .orientation-tip-copy b{font-size:18px}
html[data-experience=sky] .orientation-tip-copy span{font-size:14px}

/* Entry has a readable introduction before identity selection. */
html[data-experience=sky]{-webkit-text-size-adjust:100%}
html[data-experience=sky] .sky-login>[hidden]{display:none!important}
html[data-experience=sky] #world-opening{box-sizing:border-box;max-width:100%;height:100dvh;align-items:safe center}
html[data-experience=sky] #world-opening .opening-card{min-width:0;max-width:100%;padding:20px}
.sky-intro{color:#211b43;display:flex;flex-direction:column;gap:12px;min-width:0}
.sky-intro h2{font-size:clamp(24px,3vw,32px);line-height:1.3;margin:0}
.sky-intro p{font-size:18px;line-height:1.5;margin:0}
.sky-intro ol{display:grid;gap:10px;margin:0;padding-left:26px}
.sky-intro li{padding-left:4px;font-size:18px}.sky-intro li span{display:block;font-size:16px;line-height:1.5;color:#514962}
.sky-intro .sky-rotate-note{font-size:16px;background:#fff2bd;padding:10px;border-radius:10px}
.sky-intro #sky-intro-start{width:100%;margin-top:4px;transform:none}
.sky-login .learner-login-form input{font-size:16px;box-sizing:border-box;width:100%}
.sky-login .sky-intro-back{align-self:start;min-height:44px;font-size:16px}
html[data-experience=sky].sky-opening-visible #orientation-tip{display:none!important}
@media(max-width:760px) and (orientation:portrait){
 html[data-experience=sky] #orientation-tip:not([hidden]){left:calc(var(--sky-visible-left,0px) + 16px);top:calc(var(--sky-visible-top,0px) + var(--sky-visible-height,100dvh)/2);right:auto;bottom:auto;width:calc(var(--sky-visible-width,100vw) - 32px);transform:translateY(-50%);justify-content:center;z-index:11001}
 html[data-experience=sky] .orientation-tip-card{width:100%;max-width:420px;grid-template-columns:36px minmax(0,1fr);gap:12px;padding:20px 20px 16px;pointer-events:auto;box-sizing:border-box}
 html[data-experience=sky] .orientation-tip-copy{padding-right:28px}
 html[data-experience=sky] .orientation-tip-copy b{font-size:18px;line-height:1.4}
 html[data-experience=sky] .orientation-tip-copy span{font-size:16px;line-height:1.5;margin-top:6px}
 html[data-experience=sky] .orientation-tip-close{right:4px;top:4px}
 html[data-experience=sky] #orientation-tip-continue{grid-column:1/-1;width:100%;font-size:16px}
}
@media(orientation:landscape) and (max-height:600px){
 html[data-experience=sky] #world-opening{padding:10px max(14px,env(safe-area-inset-right)) 10px max(14px,env(safe-area-inset-left))}
 html[data-experience=sky] #world-opening .opening-card{padding:14px;gap:18px;grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
 html[data-experience=sky] #world-opening .departure-scene{display:block}
 .sky-login{gap:6px}.sky-intro{gap:6px}.sky-intro h2{font-size:23px}.sky-intro p{font-size:16px}.sky-intro ol{gap:4px}.sky-intro li{font-size:16px}.sky-intro li span{font-size:14px}.sky-intro .sky-rotate-note{display:none}.sky-login .opening-brand{font-size:16px}.sky-login .plane-mark{width:30px;height:30px;flex:none}.sky-login .plane-mark svg{width:24px;height:24px}
}

@media(max-width:360px){
 html[data-experience=sky] #world-opening .opening-card{padding:14px}
 .sky-intro{gap:8px}.sky-intro h2{font-size:24px}.sky-intro p,.sky-intro li{font-size:16px}.sky-intro li span{font-size:14px}.sky-intro ol{gap:8px}.sky-intro .sky-rotate-note{font-size:14px}.sky-login .opening-brand{font-size:17px}.sky-login .plane-mark{flex:none;width:34px;height:34px}
}

@media(orientation:landscape) and (max-height:380px){
 html[data-experience=sky] #world-opening[data-step=intro] .opening-brand{display:none}
 html[data-experience=sky] #world-opening[data-step=intro] .sky-intro li span{display:inline;margin-left:8px}
 html[data-experience=sky] #world-opening[data-step=intro] .sky-intro ol{gap:8px}
}

/* Sky mission shell: content owns real grid rows; actions never overlap copy. */
html[data-experience=sky] .plus-student .plus-site-title{display:none!important}
html[data-experience=sky] .plus-student .plus-brand-header{flex-direction:row}
html[data-experience=sky] .plus-student .plus-font-controls>span{display:none}
html[data-experience=sky] .plus-student.arrival-card{padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right));padding-bottom:max(8px,env(safe-area-inset-bottom))}
html[data-experience=sky] .plus-student.arrival-card>.arrival-top{position:static;flex:0 0 44px;min-height:44px;max-height:44px;gap:8px;margin:0;order:0}
html[data-experience=sky] .plus-student .arrival-top .mission-identity{font-size:14px;max-width:25%;margin:0;overflow:hidden}
html[data-experience=sky] .plus-student .arrival-top button{min-height:44px;max-height:44px;margin:0}
html[data-experience=sky] .plus-student .sky-arrival{flex:1;min-height:0;height:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);grid-template-rows:30px minmax(0,1fr) 48px;gap:8px 14px;padding:10px;overflow:visible;align-content:stretch}
html[data-experience=sky] .sky-arrival>h3{grid-column:1/-1;grid-row:1;font-size:24px;line-height:1.2;margin:0}
html[data-experience=sky] .sky-arrival .arrival-story-play{display:contents}
html[data-experience=sky] .sky-arrival .arrival-story-visual{grid-column:1;grid-row:2/4;align-self:stretch;width:100%;height:100%;min-height:0;position:relative;overflow:hidden;padding:0;background:#f1ecdf;border-radius:12px;aspect-ratio:auto}
html[data-experience=sky] .sky-arrival .arrival-story-art{display:block;width:100%;height:100%;object-fit:contain;margin:0;border-radius:0}
html[data-experience=sky] .sky-arrival .sky-arrival-task{grid-column:2;grid-row:2;min-width:0;min-height:0;display:flex;flex-direction:column;gap:8px;justify-content:center}
html[data-experience=sky] .sky-arrival .sky-arrival-task>h4{font-size:20px;line-height:1.3;margin:0}
html[data-experience=sky] .sky-arrival .arrival-story-line,html[data-experience=sky] .sky-arrival .arrival-story-result{font-size:calc(19px * var(--plus-scale));line-height:1.45;margin:0;min-height:0}
html[data-experience=sky] .sky-arrival .arrival-story-controls{display:flex;flex-wrap:nowrap;gap:8px;margin:0;min-height:44px;overflow:visible}
html[data-experience=sky] .sky-arrival .arrival-story-controls button{flex:1;min-width:0;min-height:44px;padding:8px;font-size:calc(18px * var(--plus-scale));line-height:1.25;position:static;transform:none}
html[data-experience=sky] .sky-arrival .arrival-story-nudge{font-size:16px;line-height:1.3;margin:0;min-height:0}
html[data-experience=sky] .sky-arrival .sky-arrival-footer{grid-column:2;grid-row:3;display:flex;align-items:stretch;justify-content:flex-end;gap:8px;min-height:0}
html[data-experience=sky] .sky-arrival .sky-arrival-footer button{position:static;transform:none;font-size:18px;padding:6px 12px;min-height:44px;max-height:48px;margin:0}
html[data-experience=sky] .sky-arrival .sky-arrival-footer .primary-action{flex:1}
html[data-experience=sky] .sky-arrival [hidden]{display:none!important}
html[data-experience=sky] .sky-arrival .arrival-story-language{grid-column:2;grid-row:1;justify-content:flex-end}
/* Short landscape is a distinct layout, not a desktop page with scrollbars. */
@media(orientation:landscape) and (max-height:650px){
 html[data-experience=sky] .wfg-top{top:max(6px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));align-items:center}
 html[data-experience=sky] .wfg-brand{display:none}
 html[data-experience=sky] .wfg-actions{width:100%;flex-wrap:nowrap;gap:6px}
 html[data-experience=sky] .wfg-actions button{min-height:44px;height:44px;padding:6px 10px;font-size:16px;border-radius:12px;box-sizing:border-box;box-shadow:none}
 html[data-experience=sky] .wfg-actions .wfg-btn--icon{width:44px;min-width:44px;flex:none}
 html[data-experience=sky] .wfg-actions .wfg-btn--bounce{margin-left:auto}
 html[data-experience=sky] .wfg-hint{font-size:14px;padding:6px 12px;bottom:12px;max-width:60%;box-shadow:none}
 html[data-experience=sky] .wfg-zoom{top:64px;right:max(10px,env(safe-area-inset-right))}
 html[data-experience=sky] .wfg-zoom button{width:44px;height:44px;min-height:44px;font-size:26px;box-shadow:none}
 html[data-experience=sky] .wfg-follow{top:auto;bottom:64px}
 html[data-experience=sky] .plus-student.arrival-card{gap:4px;padding-top:4px}
 html[data-experience=sky] .plus-student .sky-arrival{padding:6px;gap:5px 10px;grid-template-rows:24px minmax(0,1fr) 44px}
 html[data-experience=sky] .sky-arrival>h3{font-size:20px}
 html[data-experience=sky] .sky-arrival .arrival-story-line,html[data-experience=sky] .sky-arrival .arrival-story-result{font-size:calc(16px * var(--plus-scale));line-height:1.3}
 html[data-experience=sky] .sky-arrival .sky-arrival-task{gap:6px}
 html[data-experience=sky] .sky-arrival .sky-arrival-task>h4{display:none}
 html[data-experience=sky] .sky-arrival .arrival-story-controls button{font-size:16px;padding:5px}
 html[data-experience=sky] .sky-arrival .arrival-story-nudge{font-size:14px}
 html[data-experience=sky] .plus-student .stage1-layout{grid-template-columns:minmax(0,1fr) minmax(0,2fr);grid-template-rows:auto minmax(0,1fr) 48px;gap:5px 10px}
 html[data-experience=sky] .plus-student .stage1-layout>.sky-question{font-size:calc(17px * var(--plus-scale));line-height:1.3;padding:6px 10px;max-height:none}
 html[data-experience=sky] .plus-student .stage1-task-panel{grid-row:2;overflow:visible!important;gap:0;padding:0}
 html[data-experience=sky] .plus-student .stage1-task-panel>#arrival-title,html[data-experience=sky] .plus-student .stage1-progress{display:none}
 html[data-experience=sky] .plus-student #arrival-options{flex:1!important;min-height:0;max-height:100%;height:100%;padding:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:6px}
 html[data-experience=sky] .plus-student #arrival-options .answer-option.has-image{display:grid;grid-template-columns:42% minmax(0,1fr);grid-template-rows:1fr;gap:0;padding:0;min-height:44px;height:100%;border-width:2px;align-content:stretch}
 html[data-experience=sky] .plus-student #arrival-options .answer-option.has-image img{width:100%;height:100%;max-height:100%;min-height:0;aspect-ratio:auto;object-fit:cover}
 html[data-experience=sky] .plus-student #arrival-options .answer-option>.plus-option-label{grid-column:2;align-self:center;box-sizing:border-box;width:100%;min-height:0;margin:0;padding:4px;font-size:calc(16px * var(--plus-scale));line-height:1.25;white-space:normal;background:#211b43;color:#fff}
 html[data-experience=sky] .plus-student .plus-option-zoom{display:grid}
 html[data-experience=sky] .plus-student .answer-confirm,html[data-experience=sky] .plus-student #arrival-navigation .primary-action{position:fixed!important;right:max(10px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));width:calc((100vw - 30px)*2/3);height:44px;min-height:44px;padding:5px;font-size:18px;margin:0;z-index:8}
 html[data-experience=sky] .plus-student #arrival-navigation{grid-column:1/-1;grid-row:3;min-height:44px;padding:0}
 html[data-experience=sky] .plus-student .stage1-scene-panel{grid-row:2;overflow:visible;gap:0;min-height:0;align-self:stretch;height:100%;box-sizing:border-box}
 html[data-experience=sky] .plus-student .stage1-scene-panel>.scene-exploration,html[data-experience=sky] .plus-student .stage1-scene-panel>.arrival-scene-art{height:100%;min-height:0;aspect-ratio:auto;object-fit:contain;flex:1}
 html[data-experience=sky] .plus-student .stage1-scene-panel .arrival-scene-art{height:100%;min-height:0;margin:0;object-fit:contain}
 html[data-experience=sky] .plus-student .scene-exploration-status{position:absolute;left:0;right:0;bottom:0;z-index:4;height:auto;max-height:none;min-height:0;padding:5px!important;margin:0!important;font-size:14px;line-height:1.3;background:#fffef0f0;border:0}
 html[data-experience=sky] .plus-student .stage2-game.plus-stage2{grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:10px}
 html[data-experience=sky] .plus-student .plus-task-flow{gap:4px;padding:0;overflow:visible}
 html[data-experience=sky] .plus-student .plus-task-flow>h2{font-size:18px}
 html[data-experience=sky] .plus-student .river-progress{font-size:14px}
 html[data-experience=sky] .plus-student .river-dialogue{padding:6px;overflow:visible;margin:0;gap:4px;flex:1;display:flex;flex-direction:column}
 html[data-experience=sky] .plus-student .river-line{font-size:calc(16px * var(--plus-scale));line-height:1.3;padding:0}
 html[data-experience=sky] .plus-student .river-speaker{font-size:14px}
 html[data-experience=sky] .plus-student .river-decisions{gap:4px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:auto}
 html[data-experience=sky] .plus-student .river-decisions button{font-size:16px;min-height:44px;padding:5px}
 html[data-experience=sky] .plus-student .river-dialogue-actions{margin-top:auto;min-height:44px}
 html[data-experience=sky] .plus-student .river-dialogue-actions button{min-height:44px;font-size:16px;padding:5px}
 html[data-experience=sky] .plus-student .sky-guide{padding:6px;margin:0;display:flex;align-items:center;gap:6px}
 html[data-experience=sky] .plus-student .sky-guide p{font-size:14px;margin:0;flex:1}
 html[data-experience=sky] .plus-student .sky-guide button{font-size:14px;min-height:44px;padding:5px}
 html[data-experience=sky] .plus-student .river-caption{display:none}
 html[data-experience=sky] .plus-student .river-feedback,html[data-experience=sky] .plus-student .stage2-save-status{font-size:14px;line-height:1.25}
}

.sky-globe-tools{position:relative;pointer-events:auto;color:#211b43;font:700 16px/1.2 system-ui}
.sky-globe-tools>summary{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;min-height:44px;padding:8px 12px;background:#fff;border:2px solid #211b43;border-radius:12px;cursor:pointer;list-style:none}
.sky-globe-tools>summary::-webkit-details-marker{display:none}
.sky-globe-tools:not([open])>.sky-globe-tool-options{display:none}
.sky-globe-tool-options{position:absolute;top:50px;left:0;display:grid;grid-template-columns:repeat(3,48px);gap:8px;padding:10px;background:#fff;border:2px solid #211b43;border-radius:12px;box-shadow:0 8px 24px #160f3d66}
@media(orientation:landscape) and (max-height:650px){
 html[data-experience=sky] .wfg-zoom{transform:none}
 html[data-experience=sky] .plus-student .river-speaker{display:none}
 html[data-experience=sky] .plus-student .river-primary{height:44px;min-height:44px;box-sizing:border-box;box-shadow:none}
 html[data-experience=sky] .plus-student .river-dialogue-actions{flex:none}
 html[data-experience=sky] .plus-student .river-feedback:empty{display:none}
}

@media(orientation:landscape) and (max-height:650px){
 html[data-experience=sky] .plus-student[data-task-narration=false] .river-dialogue-actions:not(:has(button:not([hidden]):not(.plus-task-read))){display:none}
 html[data-experience=sky] #world-opening[data-step=login] .departure-scene,html[data-experience=sky] #world-opening[data-step=login] .opening-brand,html[data-experience=sky] #world-opening[data-step=login] .opening-copy{display:none}
 html[data-experience=sky] #world-opening[data-step=login] .opening-card{padding:10px}
 html[data-experience=sky] #world-opening[data-step=login] .sky-login{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto repeat(4,auto);gap:6px 16px;align-items:start}
 html[data-experience=sky] #world-opening[data-step=login] #opening-title{grid-column:1/-1;grid-row:1;font-size:20px;margin:0}
 html[data-experience=sky] #world-opening[data-step=login] .learner-login-panel{grid-column:1;grid-row:2/6}
 html[data-experience=sky] #world-opening[data-step=login] .opening-actions{grid-column:2;grid-row:2}
 html[data-experience=sky] #world-opening[data-step=login] .opening-identity{grid-column:2;grid-row:3;font-size:14px}
 html[data-experience=sky] #world-opening[data-step=login] .sky-intro-back{grid-column:2;grid-row:4;padding:4px}
 html[data-experience=sky] #world-opening[data-step=login] .sky-opening-tools{grid-column:2;grid-row:5}
 html[data-experience=sky] #world-opening[data-step=login] .learner-login-panel summary{min-height:38px;padding:4px 12px;box-sizing:border-box}
 html[data-experience=sky] #world-opening[data-step=login] .learner-login-form{gap:6px;padding:0 12px 6px}
 html[data-experience=sky] #world-opening[data-step=login] .learner-status{font-size:12px;padding:0 12px 6px}
 html[data-experience=sky] #world-opening[data-step=login] input{height:44px;padding:6px}
 html[data-experience=sky] #world-opening[data-step=login] .primary-action{height:44px;min-height:44px;padding:6px;box-shadow:none;font-size:16px}
}

@media(orientation:landscape) and (max-height:420px){
 html[data-experience=sky] .plus-student .plus-task-flow>h2{display:none}
 html[data-experience=sky] .plus-student .sky-guide[data-phase=answer],html[data-experience=sky] .plus-student .sky-guide[data-phase=done]{display:none}
 html[data-experience=sky] .plus-student .river-dialogue{flex:1;min-height:0}
 html[data-experience=sky] .plus-student .stage2-save-status{font-size:12px}
}

@media(orientation:landscape) and (max-height:650px){
 html[data-experience=sky] .plus-student .stage1-scene-panel>.scene-exploration{min-height:0!important;height:100%;max-height:100%;margin:0;aspect-ratio:auto;flex:1 1 0}
 html[data-experience=sky] .plus-student .stage1-scene-panel .scene-exploration .arrival-scene-art{height:100%!important;max-height:100%!important;min-height:0!important;aspect-ratio:auto;width:100%}
 html[data-experience=sky] .plus-student .washi-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:0}
 html[data-experience=sky] .plus-student .washi-controls button{font-size:16px;min-height:44px;padding:5px}
 html[data-experience=sky] .plus-student .washi-controls>.river-primary{grid-column:1/-1}
 html[data-experience=sky] .plus-student .washi-range-label{grid-column:1/-1;font-size:14px}
 html[data-experience=sky] .plus-student .washi-press-range{height:44px;margin:0}
 html[data-experience=sky] .plus-student .washi-press-readout{font-size:14px;align-self:center}
 html[data-experience=sky] .plus-student .washi-press-meter{display:none}
}

@media(orientation:landscape) and (max-height:650px){
 html[data-experience=sky] .plus-student .gallery-mission{display:none}
 html[data-experience=sky] .plus-student .washi-range-label{display:none}
 html[data-experience=sky] .plus-student .washi-press-range{min-height:44px}
}

@media(orientation:landscape) and (max-height:650px){
 html[data-experience=sky] .plus-student .stage1-scene-panel:has(.comparison-board){background:#f7f2ff}
 html[data-experience=sky] .plus-student .stage1-scene-panel:has(.comparison-board)>.arrival-scene-art,html[data-experience=sky] .plus-student .stage1-scene-panel:has(.comparison-board)>.plus-scene-zoom{display:none}
 html[data-experience=sky] .plus-student .comparison-board{box-sizing:border-box;margin:0;padding:6px;gap:5px;flex:1;min-height:0;background:#f7f2ff;font-size:15px;line-height:1.3}
 html[data-experience=sky] .plus-student .comparison-board>div{font-size:16px;line-height:1.3;padding:5px}
 html[data-experience=sky] .plus-student .comparison-board p{font-size:14px;line-height:1.3;margin:4px 0}
 html[data-experience=sky] .plus-student .comparison-source{font-size:12px}
}

@media(orientation:landscape) and (max-height:650px){
 html[data-experience=sky] .plus-student #arrival-question{font-size:calc(17px * var(--plus-scale));line-height:1.3;margin:0;padding:6px 10px}
 html[data-experience=sky] .plus-student #arrival-options .answer-option.has-image{grid-template-columns:30% minmax(0,1fr)}
}

@media(orientation:landscape) and (max-height:650px){
 html[data-experience=sky] .plus-student .stage1-layout{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
 html[data-experience=sky] .plus-student #arrival-options .answer-option>.plus-option-label{padding:3px;line-height:1.2}
 html[data-experience=sky] .plus-student .answer-confirm,html[data-experience=sky] .plus-student #arrival-navigation .primary-action{width:calc((100vw - 30px)*2/3)}
}

@media(orientation:landscape) and (max-height:650px){
 html[data-experience=sky] .plus-student:not(.sky-trade-visual) .stage1-layout:has(.comparison-labels:not([data-complete=true])) .stage1-scene-panel{grid-column:1/-1;grid-row:2/4}
 html[data-experience=sky] .plus-student:not(.sky-trade-visual) .stage1-layout:has(.comparison-labels:not([data-complete=true])) .stage1-task-panel{display:none}
 html[data-experience=sky] .comparison-labels[data-complete=true] .comparison-tag[aria-pressed=false],html[data-experience=sky] .comparison-labels[data-complete=true] .comparison-status{display:none}
 html[data-experience=sky] .comparison-labels[data-complete=true] .comparison-tag{min-height:24px;padding:2px;font-size:14px}
 html[data-experience=sky] .comparison-labels .comparison-card strong{font-size:15px;line-height:1.3}
}

@media(orientation:landscape) and (max-height:650px){
 html[data-experience=sky] .plus-student .stage1-scene-panel>#arrival-feedback:not(:empty){position:absolute;bottom:0;left:0;right:0;margin:0;padding:6px;z-index:5;font-size:14px;line-height:1.3;background:#fffdf1;border-radius:8px}
}

@media(orientation:landscape) and (max-height:650px){
 html[data-experience=sky] .plus-student .stage1-scene-panel>.map-focus{height:100%;min-height:0;flex:1 1 0;overflow:hidden}
 html[data-experience=sky] .plus-student .stage1-scene-panel .map-focus .arrival-scene-art{height:100%;max-height:100%;object-fit:contain}
 html[data-experience=sky] .plus-student .stage1-scene-panel>.map-zoom-toggle{position:absolute;top:0;right:0;min-height:44px;z-index:5;margin:0;padding:4px 8px;font-size:14px}
}

html[data-experience=sky] .plus-student .stage1-leave{display:none}

html[data-experience=sky] .plus-student .primary-action:hover,html[data-experience=sky] .plus-student .primary-action:active{transform:none}

@media(min-width:600px) and (min-height:651px){
 html[data-experience=sky] .plus-student:not(.sky-japan) .stage1-layout{grid-template-rows:auto minmax(0,1fr) 62px}
 html[data-experience=sky] .plus-student:not(.sky-japan) .stage1-task-panel{grid-row:2}
 html[data-experience=sky] .plus-student:not(.sky-japan) #arrival-navigation{grid-column:1/-1;grid-row:3;min-height:52px}
 html[data-experience=sky] .plus-student:not(.sky-japan) .answer-confirm,html[data-experience=sky] .plus-student:not(.sky-japan) #arrival-navigation .primary-action{position:fixed!important;right:14px;bottom:15px;width:calc((100vw - 40px)/2);height:52px;min-height:52px;margin:0;padding:6px;box-sizing:border-box;z-index:8}
}

/* A single tools menu keeps narration and optional explanations out of the task canvas. */
html[data-experience=sky] .plus-student .arrival-top{align-items:center!important;position:relative!important;z-index:20}
html[data-experience=sky] .plus-student .arrival-top>.plus-learning-tools{position:relative;order:2;flex:none;padding:0 8px;margin:0;max-height:44px}
html[data-experience=sky] .plus-student .arrival-top>.plus-learning-tools>summary{font-size:16px;min-height:40px;padding:10px 0}
html[data-experience=sky] .plus-student .arrival-top>.plus-learning-tools[open]{position:absolute;right:0;top:0;max-height:calc(100dvh - 24px);max-width:min(520px,90vw);overflow:auto;z-index:30;padding:0 12px 12px;box-shadow:0 10px 32px #211b4344}
html[data-experience=sky] .plus-student .arrival-top .plus-learning-tools .arrival-language{display:flex!important;flex-wrap:wrap;gap:6px}
html[data-experience=sky] .plus-student .arrival-top .plus-learning-tools button{font-size:16px;min-height:44px;max-height:none}
html[data-experience=sky] .plus-student:has(.stage1-layout) #arrival-complete{display:none!important}
html[data-experience=sky] .plus-student.plus-answered .scene-exploration-status{display:none}
html[data-experience=sky] .plus-student #arrival-options .answer-option.has-image img{object-fit:contain;object-position:center;background:#f4f1e9}
@media(orientation:landscape) and (max-height:650px){
 html[data-experience=sky] .wfg-stage{width:min(760px,100%)}
 html[data-experience=sky] .wfg-ticket{min-height:0}
 html[data-experience=sky] .wfg-tk-head{padding:6px 14px}
 html[data-experience=sky] .wfg-tk-body{padding:6px 14px}
 html[data-experience=sky] .wfg-tk-meta{padding:4px 0;margin:0 14px}
 html[data-experience=sky] .wfg-tk-meta>div:not(:last-child){display:none}
 html[data-experience=sky] .wfg-country-chooser{margin-top:4px!important}
 html[data-experience=sky] .wfg-country-chooser>summary{min-height:44px!important;padding:8px!important;box-sizing:border-box}
 html[data-experience=sky] .wfg-country-chooser>div{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html[data-experience=sky] .wfg-pass-actions .wfg-btn{min-height:44px;font-size:16px;padding:6px 14px;box-shadow:none}
 html[data-experience=sky] .wfg-err:empty{min-height:0;margin:4px}
}

html[data-experience=sky] .plus-student .river-dialogue-actions:not(:has(button:not([hidden]))){display:none}
html[data-experience=sky] .plus-student .stage1-scene-panel>.scene-exploration-status{position:absolute;bottom:0;left:0;right:0;z-index:4;height:auto;min-height:0;max-height:none;box-sizing:border-box;margin:0!important;padding:6px 8px!important;font-size:16px;line-height:1.3;background:#fffdf0}

/* Shared task metadata uses the header; the answer area contains only the task. */
html[data-experience=sky] .plus-student .arrival-top .sky-task-heading{flex:1;min-width:0;text-align:center;font-size:16px;line-height:1.25;font-weight:700;color:#211b43}
html[data-experience=sky] .plus-student .arrival-top:has(.sky-task-heading) .plus-brand-header{flex:none}
html[data-experience=sky] .plus-student .arrival-top .mission-identity{flex:none;max-width:100px;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
html[data-experience=sky] .plus-student:has(.stage1-layout) .stage1-task-panel>#arrival-title,html[data-experience=sky] .plus-student:has(.stage1-layout) .stage1-progress{display:none}
html[data-experience=sky] .plus-student .river-choice.is-selected,html[data-experience=sky] .plus-student .river-choice:disabled{background:#e0f1e8!important;color:#163e30!important;opacity:1!important;border-color:#357559}
html[data-experience=sky] .plus-student .river-button:disabled{background:#e7e5df!important;color:#514e59!important;opacity:1!important}
html[data-experience=sky] .plus-student .river-dialogue-actions .river-primary{flex:0 1 220px;min-width:140px;min-height:44px;margin-left:auto}
@media(max-width:900px){html[data-experience=sky] .plus-student .arrival-top .sky-task-heading{font-size:14px}html[data-experience=sky] .plus-student .arrival-top .mission-identity{max-width:64px}}

@media(orientation:landscape){
 html[data-experience=sky] .plus-student .stage1-layout,html[data-experience=sky] .plus-student .stage2-game.plus-stage2{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
 html[data-experience=sky] .plus-student .stage1-scene-panel:has(.comparison-board)>.arrival-scene-art,html[data-experience=sky] .plus-student .stage1-scene-panel:has(.comparison-board)>.plus-scene-zoom{display:none}
 html[data-experience=sky] .plus-student .stage1-scene-panel{min-height:0;min-width:0}
 html[data-experience=sky] .plus-student .stage1-scene-panel>.scene-exploration,html[data-experience=sky] .plus-student .stage1-scene-panel>.arrival-scene-art{min-height:0;max-height:100%;object-fit:contain}
 html[data-experience=sky] .plus-student .stage1-task-panel{min-height:0;min-width:0}
}

html[data-experience=sky] body:has(#arrival-gate:not([hidden])) .version-floating{display:none}

@media(orientation:landscape){
 html[data-experience=sky] .plus-student .river-dialogue{display:flex;flex-direction:column;flex:1;min-height:0}
 html[data-experience=sky] .plus-student .river-decisions,html[data-experience=sky] .plus-student .river-dialogue-actions{margin-top:auto}
}
@media(prefers-reduced-motion:reduce){html[data-experience=sky] .plus-student .river-pin:after{animation:none!important}}

html[data-experience=sky] .plus-student #arrival-navigation{box-sizing:border-box}
html[data-experience=sky] .plus-student .gallery-mission{display:none}
html[data-experience=sky] .plus-student .arrival-top .mission-identity{display:block}
@media(orientation:landscape) and (min-height:651px){
 html[data-experience=sky] .plus-student #arrival-options{flex:1;min-height:0;grid-template-rows:repeat(2,minmax(0,1fr));padding:0}
 html[data-experience=sky] .plus-student #arrival-options .answer-option.has-image{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;padding:0;gap:0;overflow:hidden;height:100%}
 html[data-experience=sky] .plus-student #arrival-options .answer-option.has-image img{width:100%;height:100%;max-height:100%;object-fit:contain;aspect-ratio:auto}
 html[data-experience=sky] .plus-student #arrival-options .plus-option-label{background:#211b43;color:#fff;padding:8px;box-sizing:border-box;width:100%;margin:0;min-height:44px}
}

html[data-experience=sky] .plus-student .river-scene.has-water-model{aspect-ratio:auto;height:100%;min-height:0;padding:0}
html[data-experience=sky] .plus-student .river-scene.has-water-model .river-canvas{display:none}
html[data-experience=sky] .plus-student .wetland-model{box-sizing:border-box;padding:6px;gap:4px;font-size:16px;color:#211b43}
html[data-experience=sky] .plus-student .wetland-model>p{margin:0;font-size:16px;font-weight:700}
html[data-experience=sky] .plus-student .wetland-switches{display:flex;gap:4px}
html[data-experience=sky] .plus-student .wetland-switches button{flex:1;min-height:44px;padding:4px;font-size:14px}
html[data-experience=sky] .plus-student .river-decisions:has(.wetland-answers){grid-template-columns:1fr}
html[data-experience=sky] .plus-student .wetland-answers{font-size:16px}

@media(orientation:landscape) and (max-height:650px){html[data-experience=sky] .plus-student .river-feedback{padding:4px 6px}}

html[data-experience=sky] .plus-student .scene-exploration-status{display:none;position:absolute;bottom:0;left:0;right:0;z-index:4;height:auto;min-height:0;max-height:none;margin:0!important;padding:6px!important;font-size:14px;line-height:1.3;background:#fffdf0;color:#211b43}


/* Tall enough tablets use the full option card for imagery, with a solid caption. */
@media(orientation:landscape) and (min-height:421px) and (max-height:650px){
 html[data-experience=sky] .plus-student #arrival-options .answer-option.has-image{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
 html[data-experience=sky] .plus-student #arrival-options .answer-option.has-image img{grid-column:1;grid-row:1;object-fit:contain}
 html[data-experience=sky] .plus-student #arrival-options .answer-option.has-image>.plus-option-label{grid-column:1;grid-row:2;align-self:stretch;min-height:44px;padding:6px;font-size:18px;display:flex;align-items:center}
}
html[data-experience=sky] .plus-student .stage1-scene-panel,html[data-experience=sky] .plus-student .scene-exploration{border:0;background:transparent}

@media(orientation:landscape) and (max-height:420px){
 html[data-experience=sky] .wfg-tk-to .wfg-input{font-size:24px;min-height:44px;height:44px;padding:4px 10px;box-sizing:border-box}
 html[data-experience=sky] .wfg-tk-head{padding-top:4px;padding-bottom:4px}
}

/* Clear selection and separated exit action; keep navigation geometry stable. */
html[data-experience=sky] .plus-student .arrival-header-actions{gap:16px}
html[data-experience=sky] .plus-student #arrival-return{margin-right:16px;border:2px solid #75698b;background:#fff9ed}
html[data-experience=sky] .plus-student #arrival-close{display:none}

html[data-experience=sky] .plus-student #arrival-options .answer-option{position:relative}
html[data-experience=sky] .plus-student #arrival-options .answer-option.is-previewed{border-color:#006452;outline:4px solid #006452;outline-offset:-4px;background:#d8f4e9;box-shadow:inset 0 0 0 4px #006452}
html[data-experience=sky] .plus-student #arrival-options .answer-option.is-previewed>.plus-option-label{background:#006452;color:white}

#sky-observation{box-sizing:border-box;width:min(540px,85vw);max-height:85dvh;padding:20px;border:3px solid #211b43;border-radius:18px;background:#fffdf0;color:#211b43;font-size:20px;line-height:1.5;box-shadow:0 12px 40px #0005}
#sky-observation::backdrop{background:#17132b80}
#sky-observation h3{margin:0 0 8px;font-size:20px}
#sky-observation p{margin:8px 0 16px}
#sky-observation button{min-height:44px}
html[data-experience=sky] .plus-student.arrival-card:has(.stage1-layout){padding-bottom:max(20px,env(safe-area-inset-bottom))!important}
html[data-experience=sky] .plus-student .answer-confirm,html[data-experience=sky] .plus-student #arrival-navigation .primary-action{bottom:max(20px,env(safe-area-inset-bottom))!important}

html[data-experience=sky] .plus-student #arrival-options .answer-option.is-previewed .plus-option-marker:before{content:"✓ ";color:#ffdc43;font-weight:900}

html[data-experience=sky] .comparison-labels[data-complete=true] .comparison-tags{min-height:0}

html[data-experience=sky] .plus-student:not(.sky-trade-visual) .stage1-layout:has(.comparison-labels[data-complete=true]) .stage1-scene-panel{grid-column:1/-1;grid-row:2}
html[data-experience=sky] .plus-student:not(.sky-trade-visual) .stage1-layout:has(.comparison-labels[data-complete=true]) .stage1-task-panel{display:none}
html[data-experience=sky] .stage1-scene-panel:has(.comparison-labels[data-complete=true])>#arrival-feedback{display:none}


/* Text labels need usable content width, not the old icon-only padding. */
html[data-experience=sky] .sky-globe-tool-options .wfg-btn--icon{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:48px;min-width:48px;height:48px;padding:0;font-size:18px;line-height:1;white-space:nowrap}
html[data-experience=sky] .wfg-hud-toggle{width:44px;height:44px;top:-22px;right:10px}

html[data-experience=sky] .wfg-hud.is-mini .wfg-clock,html[data-experience=sky] .wfg-hud.is-mini .wfg-stats,html[data-experience=sky] .wfg-hud.is-mini .wfg-legend,html[data-experience=sky] .wfg-hud.is-mini .wfg-live,html[data-experience=sky] .wfg-hud.is-mini .wfg-trail{display:none}
html[data-experience=sky] #flight-globe.is-flight-compact .wfg-hud:not(.is-off){width:min(600px,calc(100% - 24px))}

/* Approved six-country 50/50 layout: preserve the complete artwork. */
@media(orientation:landscape){
 html[data-experience=sky] .plus-student #arrival-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;align-items:stretch}
 html[data-experience=sky] .plus-student #arrival-options>.plus-option-card{min-height:0;height:100%}
 html[data-experience=sky] .plus-student .stage1-layout,
 html[data-experience=sky] .plus-student .stage2-game.plus-stage2,
 html[data-experience=sky] .plus-student .sky-arrival{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 html[data-experience=sky] .plus-student .answer-confirm,
 html[data-experience=sky] .plus-student #arrival-navigation .primary-action{right:10px;width:calc((100vw - 30px)/2)}
}
html[data-experience=sky] .plus-student #arrival-options .answer-option.has-image img{object-fit:contain;object-position:center}
html[data-experience=sky] .plus-student .plus-option-zoom{display:grid;width:44px;height:44px;min-width:44px;min-height:44px;z-index:3}

@media(orientation:landscape){
 html[data-experience=sky] .plus-student .plus-stage2 .river-play{overflow:hidden}
 html[data-experience=sky] .plus-student .plus-stage2 .river-scene{flex:1;aspect-ratio:auto;height:100%;min-height:0}
}
@media(orientation:landscape) and (max-width:899px){
 html[data-experience=sky] .wfg-hud .wfg-ana-title,html[data-experience=sky] .wfg-hud .wfg-anas,html[data-experience=sky] .wfg-hud .wfg-stats,html[data-experience=sky] .wfg-hud .wfg-legend,html[data-experience=sky] .wfg-hud .wfg-live,html[data-experience=sky] .wfg-hud .wfg-trail{display:none}
}

html[data-experience=sky] .wfg-side-head{margin-right:44px}
html[data-experience=sky] .wfg-side .wfg-now:not([hidden]){height:auto;min-height:0;max-height:none;overflow:visible}
html[data-experience=sky] .wfg-side .wfg-ana-title,html[data-experience=sky] .wfg-side .wfg-anas,html[data-experience=sky] .wfg-side .wfg-trail{display:none}
html[data-experience=sky] .wfg-side .wfg-ctl{min-height:44px}
html[data-experience=sky] .wfg-side .wfg-hud-bar{margin-right:0}

html[data-experience=sky] #flight-globe.wfg{min-height:0}
html[data-experience=sky] .wfg-side .wfg-legend{display:none}
html[data-experience=sky] .wfg-side .wfg-stat b,html[data-experience=sky] .wfg-side .wfg-stat b .wfg-num{font-size:14px;line-height:1.3}

@media(orientation:landscape) and (max-width:899px){
 html[data-experience=sky] .wfg-hud-toggle{left:calc(50% - 22px);right:auto}
}

/* A steady yellow core is the clue; only the outer halo pulses. */
html[data-experience=sky] .plus-student .scene-exploration-point:before{animation:none;opacity:1;background:#ffcf39;transform:none}
html[data-experience=sky] .plus-student .scene-exploration-point[aria-pressed=true]:before{background:#ffcf39;transform:none}

/* Text-only answers are complete readable cards, not empty image frames. */
html[data-experience=sky] .plus-student #arrival-options .answer-option:not(.has-image){display:flex;align-items:center;justify-content:center;background:#211b43;color:#fff;padding:12px}
html[data-experience=sky] .plus-student #arrival-options .answer-option:not(.has-image)>.plus-option-label{width:100%;padding:0;font-size:calc(20px * var(--plus-scale));line-height:1.35}
html[data-experience=sky] .plus-student #arrival-options .answer-option:not(.has-image).is-previewed{background:#006c5d}

@media(orientation:landscape) and (max-height:420px){
 html[data-experience=sky] .plus-student #arrival-options .answer-option.has-image{grid-template-columns:24% minmax(0,1fr)}
 html[data-experience=sky] .plus-student #arrival-options .answer-option>.plus-option-label{display:block;font-size:calc(16px * var(--plus-scale));line-height:1.2;padding:2px}
}

@media(orientation:landscape) and (max-height:420px){
 html[data-experience=sky] .waterworks-model svg{max-height:64px}
 html[data-experience=sky] .waterworks-model figcaption{font-size:12px;margin:2px 0}
 html[data-experience=sky] .waterworks-model-steps{font-size:12px}
 html[data-experience=sky] .waterworks-model-steps span{padding:3px}
}

@media(orientation:landscape) and (max-height:420px){
 html[data-experience=sky] .plus-student .river-progress,html[data-experience=sky] .plus-student .stage2-save-status{margin:0;line-height:1.2}
 html[data-experience=sky] .plus-student .river-feedback{margin:2px 0}
}

/* The icon sits at the corner, while its transparent hit target stays 44px. */
html[data-experience=sky] .plus-student .plus-option-zoom{place-items:start;padding:2px;background:radial-gradient(circle at 11px 11px,rgba(255,255,255,.96) 0 11px,transparent 11.5px)}
html[data-experience=sky] .plus-student .plus-option-zoom:hover{background:radial-gradient(circle at 11px 11px,#eee9fa 0 11px,transparent 11.5px)}

/* A visible handle and track for touch paper pressing; native range semantics remain. */
html[data-experience=sky] .plus-student :is(.washi-press-range,#wetland-water){appearance:none;-webkit-appearance:none;box-sizing:border-box;background:transparent;min-height:48px;padding:0 5px;cursor:ew-resize}
html[data-experience=sky] :is(.washi-press-range,#wetland-water)::-webkit-slider-runnable-track{height:12px;border:2px solid #211b43;border-radius:999px;background:#b7dce5}
html[data-experience=sky] :is(.washi-press-range,#wetland-water)::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:34px;height:34px;margin-top:-13px;border:3px solid #211b43;border-radius:50%;background:#ffda38;box-shadow:0 2px 0 #211b43}
html[data-experience=sky] :is(.washi-press-range,#wetland-water)::-moz-range-track{height:8px;border:2px solid #211b43;border-radius:999px;background:#b7dce5}
html[data-experience=sky] :is(.washi-press-range,#wetland-water)::-moz-range-thumb{width:28px;height:28px;border:3px solid #211b43;border-radius:50%;background:#ffda38}
html[data-experience=sky] :is(.washi-press-range,#wetland-water):focus-visible{outline:3px solid #006c5d;outline-offset:2px;border-radius:12px}
html[data-experience=sky] .plus-student .washi-press-readout{color:#211b43;font-weight:850}
html[data-experience=sky] .finale-overlay[data-scope=country] .finale-scene-shade{display:none}
/* Country endings keep the return action in a separate bottom row. World is unchanged. */
@media(orientation:landscape){
 html[data-experience=sky] .finale-overlay[data-scope=country]:not(.is-film-playing){padding:12px}
 html[data-experience=sky] .finale-overlay[data-scope=country]:not(.is-film-playing) .finale-card{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);grid-template-rows:minmax(0,1fr) auto auto;gap:12px 20px;width:min(1180px,100%);height:min(740px,calc(100dvh - 24px));max-height:none;padding:18px;border-top-width:5px;text-align:left}
 html[data-experience=sky] .finale-overlay[data-scope=country]:not(.is-film-playing) .finale-scene{grid-column:1;grid-row:1;min-height:0;height:auto;max-height:100%;aspect-ratio:16/9;align-self:end;margin:0;background:#f7f1e5}
 html[data-experience=sky] .finale-overlay[data-scope=country] .finale-scene-img{object-fit:contain;animation:none}
 html[data-experience=sky] .finale-overlay[data-scope=country] .finale-summary{grid-column:2;grid-row:1/3;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:12px;padding-top:32px}
 html[data-experience=sky] .finale-summary .eyebrow{display:none}
 html[data-experience=sky] .finale-summary .finale-title{font-size:28px;margin:0}
 html[data-experience=sky] .finale-summary :is(.finale-variant,.finale-outcome,.finale-core){font-size:18px;line-height:1.45;margin:0;max-width:none}
 html[data-experience=sky] .finale-overlay[data-scope=country] .finale-keywords{grid-column:1;grid-row:2;font-size:22px;line-height:1.4;margin:0;padding:10px 12px}
 html[data-experience=sky] .finale-overlay[data-scope=country] .finale-actions{grid-column:1/-1;grid-row:3;display:flex;justify-content:flex-end;gap:12px;margin:0;padding-top:4px}
 html[data-experience=sky] .finale-overlay[data-scope=country] .finale-actions button{font-size:17px;min-height:48px;margin:0;padding:8px 18px}
 html[data-experience=sky] .finale-overlay[data-scope=country] .finale-home{order:3;min-width:200px}
 html[data-experience=sky] .finale-overlay[data-scope=country] .finale-close{top:8px;right:8px;margin:0}
 html[data-experience=sky] .finale-overlay[data-scope=country]:not(.is-film-playing) .finale-film-actions:has(button:not([hidden])){position:absolute;left:24px;top:24px;max-width:36%;z-index:2}
}
@media(orientation:landscape) and (max-height:420px){
 html[data-experience=sky] .finale-overlay[data-scope=country]:not(.is-film-playing){padding:6px}
 html[data-experience=sky] .finale-overlay[data-scope=country]:not(.is-film-playing) .finale-card{height:calc(100dvh - 12px);padding:10px;gap:6px 14px;grid-template-columns:minmax(0,7fr) minmax(0,13fr)}
 html[data-experience=sky] .finale-overlay[data-scope=country] .finale-summary{gap:4px;padding-top:0;padding-right:0}
 html[data-experience=sky] .finale-summary .finale-title{font-size:22px}
 html[data-experience=sky] .finale-summary :is(.finale-variant,.finale-outcome,.finale-core){font-size:15px;line-height:1.25;padding:3px 6px}
 html[data-experience=sky] .finale-overlay[data-scope=country] .finale-keywords{font-size:18px;line-height:1.3;padding:6px 8px}
 html[data-experience=sky] .finale-overlay[data-scope=country] .finale-actions button{min-height:44px;font-size:16px;padding:5px 12px}
}

/* Data cards use their content height, keeping facts grouped and readable. */
html[data-experience=sky] .plus-student .comparison-board:not(.comparison-labels){align-content:center;grid-template-rows:auto auto;gap:12px}
html[data-experience=sky] .plus-student .comparison-board:not(.comparison-labels)>div{font-size:24px;line-height:1.45;padding:20px 12px;min-height:0}
html[data-experience=sky] .plus-student .comparison-board:not(.comparison-labels)>p{font-size:18px;line-height:1.5}
html[data-experience=sky] .sky-trade-visual .trade-visual-route{flex:none;margin:0 0 8px;padding:10px;border-radius:12px;background:#eee9fc;color:#211b43;font-size:20px;font-weight:800;text-align:center}
html[data-experience=sky] .sky-trade-visual .stage1-task-panel>.comparison-board{flex:1;display:grid;align-content:center;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:12px;min-height:0}
html[data-experience=sky] .sky-trade-visual .comparison-card{display:flex;flex-direction:column;gap:10px;justify-content:center}
html[data-experience=sky] .sky-trade-visual .comparison-tags{display:grid;width:100%;gap:8px}
html[data-experience=sky] .sky-trade-visual .comparison-tag{width:100%;font-size:20px;min-height:48px;white-space:normal}
html[data-experience=sky] .sky-trade-visual .comparison-status{font-size:18px;line-height:1.4}
html[data-experience=sky] .sky-trade-visual .stage1-scene-panel>#arrival-feedback{display:none}
@media(orientation:landscape) and (max-height:420px){
 html[data-experience=sky] .plus-student .comparison-board:not(.comparison-labels){gap:5px}
 html[data-experience=sky] .plus-student .comparison-board:not(.comparison-labels)>div{font-size:18px;line-height:1.25;padding:8px}
 html[data-experience=sky] .plus-student .comparison-board:not(.comparison-labels)>p{font-size:14px;line-height:1.3}
 html[data-experience=sky] .sky-trade-visual .trade-visual-route{font-size:14px;padding:4px;margin-bottom:4px}
 html[data-experience=sky] .sky-trade-visual .stage1-task-panel>.comparison-board{padding:4px;gap:4px;align-content:start}
 html[data-experience=sky] .sky-trade-visual .comparison-card{gap:2px;padding:3px}
 html[data-experience=sky] .sky-trade-visual .comparison-tags{gap:2px}
 html[data-experience=sky] .sky-trade-visual .comparison-tag{font-size:14px;line-height:1.15;padding:3px;min-height:44px}
 html[data-experience=sky] .sky-trade-visual .comparison-status{font-size:14px;line-height:1.2;margin:0}
 html[data-experience=sky] .sky-trade-visual .comparison-labels:not(:has(.comparison-card[data-state])) .comparison-status{display:none}
}

html[data-experience=sky] .plus-student .is-water-comparison .wetland-model{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto 32px 48px auto auto;gap:6px}
html[data-experience=sky] .wetland-model-art{width:100%;height:100%;min-height:0;object-fit:contain;border-radius:12px}
html[data-experience=sky] .is-water-comparison .wetland-reservoir{height:100%;box-sizing:border-box}
html[data-experience=sky] .plus-student .is-water-comparison .river-decisions{margin-top:8px}
html[data-experience=sky] .is-water-comparison .wetland-output{font-size:17px;font-weight:800;line-height:1.3;color:#211b43}
html[data-experience=sky] .is-water-comparison .wetland-switches button[aria-pressed=true]{background:#211b43;color:#fff;outline:3px solid #ffda38}
@media(orientation:landscape) and (max-height:420px){
 html[data-experience=sky] .plus-student .is-water-comparison .wetland-model{grid-template-columns:minmax(0,2fr) minmax(0,3fr);grid-template-rows:auto 18px 44px auto auto;gap:2px 6px;padding:2px}
 html[data-experience=sky] .is-water-comparison .wetland-model-art{grid-column:1;grid-row:1/6}
 html[data-experience=sky] .is-water-comparison .wetland-model>:not(img){grid-column:2}
 html[data-experience=sky] .is-water-comparison .wetland-model>p{font-size:14px}
 html[data-experience=sky] .is-water-comparison .wetland-output{font-size:13px;line-height:1.2}
 html[data-experience=sky] .is-water-comparison .wetland-switches button{font-size:13px;line-height:1.2;padding:3px}
 html[data-experience=sky] .plus-student .is-water-comparison #wetland-water{min-height:44px;height:44px}
}

/* Never paint the original entry card while the guided entry is being assembled. */
html[data-experience=sky] #world-opening:not([data-step]) .opening-card{visibility:hidden}
html[data-experience=sky] #world-opening:not([data-step])::after{content:'載入探索首頁…';position:absolute;color:white;font-size:20px}
/* A programmatically focused heading is not an input; keep button focus rings intact. */
html[data-experience=sky] #opening-title:focus{outline:none}
@media(orientation:landscape) and (min-height:421px) and (max-height:650px){
 html[data-experience=sky] #world-opening[data-step=login] .opening-card{padding:20px}
 html[data-experience=sky] #world-opening[data-step=login] #opening-title{font-size:26px;line-height:1.35;margin:0 0 6px}
}

/* World: a stable pair of question actions; the original deployed Sky is unchanged. */
html[data-experience=sky] .plus-student{--sky-action-width:calc((100vw - 30px)/2)}
@media(orientation:landscape){html[data-experience=sky] .plus-student{--sky-action-width:calc((100vw - 50px)/4)}}
html[data-experience=sky] .plus-student .answer-confirm,
html[data-experience=sky] .plus-student #arrival-navigation .primary-action{width:var(--sky-action-width)!important;right:10px!important}
html[data-experience=sky] .plus-student .sky-explain-action{position:fixed;right:calc(20px + var(--sky-action-width));bottom:max(20px,env(safe-area-inset-bottom));width:var(--sky-action-width);height:52px;min-height:44px;box-sizing:border-box;margin:0;padding:6px;border:3px solid #211b43;border-radius:14px;background:#fff6d8;color:#211b43;font:800 18px/1.2 system-ui;z-index:8;cursor:pointer}
html[data-experience=sky] .plus-student .sky-explain-action:disabled{background:#e5e5e9;border-color:#bab9c3;color:#73717c;cursor:default;box-shadow:none}
html[data-experience=sky] .plus-student .sky-explain-action:focus-visible{outline:3px solid #008e91;outline-offset:3px}
@media(orientation:landscape) and (max-height:650px){html[data-experience=sky] .plus-student .sky-explain-action{height:44px}}
html[data-experience=sky] .plus-student .sky-header-read{width:auto;min-width:64px;padding:6px 12px;border:2px solid #75698b;border-radius:12px;background:#fff9ed;color:#211b43;font-size:16px;font-weight:800}
html[data-experience=sky] .plus-student .plus-learning-tools #arrival-mute{min-width:52px}
html[data-experience=sky] .sky-answer-dialog{width:min(940px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:20px;border:3px solid #211b43;border-radius:18px;background:#fffaf0;color:#211b43;overflow:auto;font:18px/1.6 system-ui}
html[data-experience=sky] .sky-answer-dialog::backdrop{background:#160f3db3}
html[data-experience=sky] .sky-answer-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px}
html[data-experience=sky] .sky-answer-dialog-header h2{font-size:24px;margin:0}
html[data-experience=sky] .sky-answer-dialog-header button{min-height:44px;padding:8px 18px;border:2px solid #75698b;border-radius:10px;background:white;color:#211b43;font:700 18px system-ui}
html[data-experience=sky] .sky-answer-dialog-content h3{font-size:21px}.sky-answer-dialog-content h4{margin-bottom:4px}.sky-answer-dialog-content p{margin-top:6px}

html[data-experience=sky] .sky-playback-controls{display:flex;align-items:center;gap:4px;flex:none}
html[data-experience=sky] .plus-student .sky-playback-controls button{min-width:52px;padding:6px 8px;box-sizing:border-box;white-space:nowrap;border:2px solid #75698b;border-radius:10px;background:#fff9ed;color:#211b43;font:800 16px/1.2 system-ui}
html[data-experience=sky] .plus-student .arrival-top .sky-task-heading{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

html[data-experience=sky] .sky-playback-controls button:disabled{background:#e5e5e9;color:#73717c;border-color:#bab9c3;cursor:default}

/* Equal treatment of all four options; narration stays usable inside the modal. */
html[data-experience=sky] .sky-answer-dialog-header{position:sticky;top:-20px;z-index:1;background:#fffaf0;margin:-20px -20px 12px;padding:14px 20px;border-bottom:1px solid #d7d0df;flex-wrap:wrap;gap:8px}
html[data-experience=sky] .sky-answer-dialog-header>h2{margin-right:auto}
html[data-experience=sky] .sky-dialog-narration{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
html[data-experience=sky] .sky-dialog-narration button{white-space:nowrap}
html[data-experience=sky] .sky-dialog-narration .explanation-read{background:#ffda38}
html[data-experience=sky] .sky-dialog-narration button:disabled{background:#e5e5e9;color:#73717c;border-color:#bab9c3}
html[data-experience=sky] .sky-explanation-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html[data-experience=sky] .sky-explanation-option{padding:12px;border:2px solid #d0c8df;border-radius:12px;background:#fff}
html[data-experience=sky] .sky-explanation-option h3{margin:0 0 6px;font-size:20px}
html[data-experience=sky] .sky-explanation-option p{margin:0;font-size:18px;line-height:1.5}
html[data-experience=sky] .sky-dialog-speech-status:empty{display:none}
html[data-experience=sky] .sky-explanation-overview{margin:12px 0}
@media(max-width:599px){html[data-experience=sky] .sky-explanation-options{grid-template-columns:1fr}}
@media(orientation:landscape) and (max-height:420px){html[data-experience=sky] .sky-answer-dialog-header{padding:8px 14px;gap:6px}html[data-experience=sky] .sky-explanation-option{padding:8px}html[data-experience=sky] .sky-explanation-option p{font-size:16px}}
