html{scroll-padding-top:20px;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{overflow-wrap:break-word}main,.stage,.drill-layout>*,.hydro-grid>*,.game-directory>*{min-width:0}img,svg,video{max-width:100%}button,a,input,select,summary{touch-action:manipulation}button:disabled{touch-action:manipulation}button,input,select{font-size:16px}.skip-link{position:fixed;top:8px;left:8px;z-index:10000;transform:translateY(-200%);background:#def174;color:#102c32;padding:12px 18px;border-radius:8px}.skip-link:focus{transform:none}.site-header{max-width:1250px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;background:transparent}.site-header .brand{white-space:nowrap}.site-nav{display:flex;flex-wrap:wrap;gap:10px}.site-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 22px;border:1px solid #527b88;border-radius:11px;background:linear-gradient(135deg,#214b59,#193744);box-shadow:0 3px 0 #07151c;font-size:16px;font-weight:750;color:#f0fcff;text-decoration:none}.site-nav a:hover{background:#315f69;border-color:#97ddda}.site-nav a:focus-visible{outline:3px solid #e3f18a;outline-offset:3px}.site-nav a[aria-current]{background:#def174;border-color:#def174;color:#173235}.home-page main{padding:0;max-width:none}.home-page .site-header{max-width:none;padding-inline:6%;background:#f4f6f5}.fullscreen-nav{display:none}.is-fullscreen .fullscreen-nav{display:flex;justify-content:center;margin:0 0 8px}.is-fullscreen .fullscreen-nav a{min-height:40px;padding:6px 18px;font-size:14px}.is-fullscreen .gamebar{position:relative;top:auto}.game-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:32px 0}.directory-card{display:flex;flex-direction:column;padding:25px;background:linear-gradient(140deg,#1d3b48,#172836);border:1px solid #41606c;border-radius:16px}.directory-card h2{font-size:27px;margin:12px 0 6px}.directory-card p{color:#b9cfd8;flex:1;margin:0 0 18px}.directory-card .label{font-size:12px;letter-spacing:1px}.directory-play{display:block;border-radius:9px;text-align:center;text-decoration:none}.directory-help{padding:25px 0;max-width:800px}.directory-help p{color:#b9cbd5}.mobile-drill-status{display:none}.telemetry .resource label{gap:8px}.toolbar button,.chapter-nav a{min-height:44px}.chapter-nav a{display:inline-flex;align-items:center}.howto,.legend>div{min-width:0}.control-panel input[type=range],#game-menu input[type=range]{min-height:44px}.gamebar{gap:8px}.gamebar>button{flex-shrink:0}.stage .overlay{overflow:auto;overscroll-behavior:contain}.stage .panel{min-width:0}.stage .panel button{max-width:100%;white-space:normal}.is-fullscreen .stage:has(>#overlay:not([hidden])){min-height:300px}.is-fullscreen .panel{margin:auto}.is-fullscreen .flight-route{min-height:7px}#game-menu .menu-tabs button{min-height:44px}#game-menu .menu-card button{min-height:48px}.expedition-actions button,.flight-controls button,.rain-controls button,.pad button,.touch button{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:none}.site-header .site-nav{align-items:stretch}
@media(max-width:900px){.site-header{flex-direction:column;align-items:stretch;gap:13px}.site-header .brand{font-size:20px}.site-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.site-nav a{padding:10px 7px;font-size:15px}.game-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.is-fullscreen .fullscreen-nav{display:grid}.mobile-drill-status{display:flex;gap:10px;padding:10px 12px;border:1px solid #405e6d;background:#18323d;border-radius:10px;margin:8px 0;font-size:14px;justify-content:space-between}.mobile-drill-status b{color:#abf0cd}.telemetry{width:100%}}
@media(max-width:650px){.site-header,.home-page .site-header{padding:14px 12px}.site-nav{gap:7px}.site-nav a{min-height:48px;border-radius:9px;font-size:14px;padding:9px 5px}main{padding:8px 12px 24px}main>h1{font-size:32px;letter-spacing:-1px;margin:10px 0}main>.intro{font-size:15px;line-height:1.55;margin:8px 0 12px}.gamebar{margin:10px 0 8px;padding:5px 0;display:grid;grid-template-columns:auto 1fr 1fr}.gamebar button{padding:9px 7px;font-size:14px;gap:6px;min-width:0}.gamebar .shell-title{display:none}.gamebar .shell-pause{margin:0}.hud{padding:10px;gap:7px;flex-wrap:wrap}.hud .stat{flex:1;min-width:48px}.hud .stat small{font-size:11px;letter-spacing:.2px}.hud .stat strong{font-size:19px;white-space:nowrap}.stage:has(>#overlay:not([hidden])){min-height:340px}.stage .overlay{padding:16px;align-items:safe center}.stage .panel h2{font-size:25px;line-height:1.2}.stage .panel p{font-size:14px;line-height:1.5}.stage .panel .small{display:none}.pad{display:flex;justify-content:center;gap:8px;margin:10px 0}.pad button{flex:1;max-width:78px;min-width:0;min-height:52px;font-size:22px}.touch{margin:10px 0}.touch button{flex:1;min-height:52px;min-width:0}.rain-controls,.flight-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0}.rain-controls #rain,.flight-controls #thrust{min-width:0}.rain-controls #rain{min-width:0;font-size:14px}.flight-controls #thrust{font-size:14px}.flight-controls button,.rain-controls button{min-height:54px;padding:7px 5px;font-size:14px}.flight-controls{grid-template-columns:1.5fr 1fr 1fr}.abilities{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0}.abilities button{width:100%;min-height:48px;font-size:14px;padding:9px 5px}.abilities #accuracy{grid-column:1/-1;text-align:center}.abilities #restart[hidden]{display:none!important}.expedition-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.expedition-actions button{min-height:48px;font-size:14px;padding:9px 5px}.drill-layout,.hydro-grid,.welcome{grid-template-columns:1fr}.drill-layout{gap:14px}.telemetry{padding:15px}.telemetry .resource{width:100%;display:block;padding:0}.telemetry .resource label{font-size:15px}.telemetry .resource p,.upgrade p{font-size:14px}#upgrades{grid-template-columns:1fr}.upgrade button{min-height:46px;font-size:15px}.expedition-status{font-size:14px}.summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.summary>div:last-child{grid-column:1/-1}.hydro-stage{padding:10px}.hydro-grid .map-panel,.hydro-grid .control-panel{padding:13px}.control-panel select,.welcome select{width:100%;max-width:100%;font-size:16px;min-height:48px}.control-panel label,.control-panel small{font-size:14px}.control-panel button{width:100%;min-height:48px}.forecast{grid-template-columns:1fr}.forecast>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:14px}.reports{grid-template-columns:1fr}.reports table{table-layout:fixed;width:100%;font-size:14px}.reports td{overflow-wrap:anywhere}.chapter{font-size:15px}.project-grid{grid-template-columns:1fr}.project button{min-height:48px}.reading{padding:24px 0}.reading h2{font-size:27px}.reading p{font-size:16px;line-height:1.8}.chapter-nav{gap:7px;padding:12px}.chapter-nav a{padding:7px 10px;background:#213e50;border-radius:7px;font-size:14px}.water-bars{height:44px}.water-bars div{font-size:11px}.howto{padding:17px}.howto .steps{grid-template-columns:1fr}.game-directory{grid-template-columns:1fr;gap:14px;margin:24px 0}.directory-card{padding:20px}.directory-card h2{font-size:26px}.directory-play{min-height:48px;padding:12px}.home-page .hero{min-height:0}.home-page .hero-text{padding:38px 6%}.home-page .hero h1{font-size:clamp(48px,14vw,74px);letter-spacing:-3px}.home-page .hero p{font-size:18px}.home-page .landscape{min-height:250px}.home-page .section{padding:42px 6%}.home-page .section h2,.home-page .mindset h2{font-size:34px;letter-spacing:-1px}.home-page .ribbon{flex-wrap:wrap;gap:12px;font-size:15px}.home-page .arcade-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-page .arcade-link{min-width:0;padding:12px;border-radius:12px}.home-page .arcade-link strong{font-size:17px;line-height:1.3;margin:10px 0 6px;overflow-wrap:anywhere}.home-page .arcade-link p{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.home-page .arcade-icon{font-size:29px;height:45px}.home-page .hydro-link{margin-bottom:18px}.home-page footer{flex-direction:column}.game-shell #game-menu{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:16px}#game-menu .menu-grid{grid-template-columns:1fr}#game-menu .menu-feature .primary{min-height:46px}#game-menu .menu-tabs{padding:12px 12px 0}#game-menu #menu-options,#game-menu #menu-help{padding:14px}#game-menu .menu-bottom{display:grid;grid-template-columns:1fr}#game-menu .menu-bottom>a{margin:0;min-height:48px}#game-menu .menu-bottom button{min-height:48px}#game-menu .legend>div{min-width:0;flex-basis:100%}.is-fullscreen .fullscreen-nav{margin-bottom:6px}.is-fullscreen .fullscreen-nav a{font-size:13px;min-height:40px;padding:6px}.game-shell.is-fullscreen{padding:calc(4px + env(safe-area-inset-top)) calc(8px + env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left))}.is-fullscreen .gamebar{display:grid;grid-template-columns:auto 1fr 1fr}.is-fullscreen .hud .stat strong{font-size:18px}}
@media(max-height:520px) and (orientation:landscape){.is-fullscreen .fullscreen-nav{margin:0 0 4px}.is-fullscreen .fullscreen-nav a{min-height:34px;padding:4px 12px}.is-fullscreen .gamebar{margin:0 0 4px;padding:0}.is-fullscreen .gamebar button{min-height:36px;padding:5px 12px}.is-fullscreen .hud{padding:4px 12px}.is-fullscreen .hud .stat strong{font-size:18px}.is-fullscreen .hud .stat small{font-size:10px}.is-fullscreen .flight-controls,.is-fullscreen .rain-controls,.is-fullscreen .touch,.is-fullscreen .pad,.is-fullscreen .abilities{margin:4px 0;display:flex;justify-content:center}.is-fullscreen .flight-controls button,.is-fullscreen .rain-controls button,.is-fullscreen .touch button,.is-fullscreen .pad button,.is-fullscreen .abilities button{min-height:38px;padding:4px 12px;font-size:13px}.is-fullscreen .flight-readout,.is-fullscreen #accuracy,.is-fullscreen #announcement{display:none}.is-fullscreen .stage:has(>#overlay:not([hidden])){min-height:260px}.is-fullscreen .stage .panel h2{font-size:20px}.is-fullscreen .stage .panel p{font-size:13px}.is-fullscreen .stage .overlay{align-items:safe center}.is-fullscreen .expedition-actions{display:flex;flex-wrap:nowrap}.is-fullscreen .expedition-actions button{min-height:38px}.is-fullscreen .mobile-drill-status{padding:4px;margin:4px 0}.is-fullscreen .drill-layout{grid-template-columns:minmax(0,1fr) 240px}.is-fullscreen .telemetry{max-height:calc(100dvh - 95px);overflow:auto}}
@media(max-width:360px){.site-nav a{font-size:13px}.gamebar button{font-size:13px}.gamebar svg{display:none}.home-page .arcade-links{grid-template-columns:repeat(2,minmax(0,1fr))}.flight-controls{grid-template-columns:1fr 1fr}.flight-controls #thrust{grid-column:1/-1}}

@media(pointer:coarse){button,summary,.directory-play{min-height:48px}.tile-buttons button{min-height:0}.chapter-nav a{min-height:48px}}@media(max-width:650px){.site-header{gap:9px}.site-header .brand{font-size:18px}.site-nav a{font-size:14px;padding-inline:4px;min-height:46px}main{padding-inline:10px}.home-page .arcade-link small{display:block;font-size:12px;color:#afd6c2;margin:4px 0}.directory-card{border-radius:13px}.water-page .gamebar{grid-template-columns:1fr 1fr}.water-actions{gap:7px}.water-actions button{padding:9px 6px;font-size:14px}.phone-tip{font-size:13px;color:#aac9da;margin:8px 0}.game-shell.is-fullscreen .phone-tip{display:none}.water-page .tile-buttons button{min-height:0}.drill-shortcuts button{white-space:normal}.drill-page #workshop summary{font-size:17px}}@media(min-width:651px){.phone-tip{display:none}}

/* Spacious game layout and a live, compact tools drawer. */
.game-shell{max-width:1480px!important;margin-inline:auto}.game-shell .compact{max-width:1160px;margin-inline:auto}.game-shell .stage{max-width:100%;margin-inline:auto}.gamebar{position:relative;flex-wrap:wrap}.gamebar #reset-first{border-color:#597583;color:#deedf0;background:#173241}.gamebar #pick-level[aria-pressed=true]{background:#def174;color:#173235;border-color:#def174;box-shadow:0 0 0 2px #def17444}.gamebar #play-tools{margin:0;position:relative;color:#e4f5ef}.gamebar #play-tools>summary{list-style:none;cursor:pointer;min-height:44px;display:flex;align-items:center;padding:8px 14px;border:1px solid #6e9494;border-radius:8px;background:#20434c;font-size:14px;font-weight:700}.gamebar #play-tools>summary:after{content:'⌄';margin-left:9px}.gamebar #play-tools[open]>summary{background:#b8e6d0;color:#153337}.play-tools-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - 120px);overflow:auto;background:#112936;border:1px solid #608389;border-radius:14px;padding:16px;box-shadow:0 18px 50px #001019b3;overscroll-behavior:contain}.play-tools-panel .telemetry{max-height:none!important;overflow:visible!important;width:100%}.play-tools-panel .water-sidebar{display:block!important}.play-tools-panel .water-sidebar .water-note{display:block}.play-tools-panel .water-mission{display:block}.play-tools-panel .water-goal{margin:10px 0}.game-shell .drill-layout,.game-shell .water-layout{grid-template-columns:minmax(0,1fr)}.game-shell .drill-layout>div:first-child{width:100%;max-width:820px;margin:auto}.game-shell .water-board{max-width:900px;width:100%;margin:auto}.game-shell .gamebar .play-tools-panel button{white-space:normal}.game-shell .gamebar .play-tools-panel .expedition-actions{display:grid;grid-template-columns:1fr 1fr}.game-shell .gamebar .play-tools-panel .water-actions{position:static;display:grid;grid-template-columns:1fr 1fr;width:auto}.game-shell .gamebar .play-tools-panel .water-sidebar{max-height:none;overflow:visible}.game-shell .gamebar .play-tools-panel .water-tools{grid-column:1/-1}.is-fullscreen .play-tools-panel{max-height:calc(100dvh - 70px)}
@media(min-width:901px){.game-shell .stage{max-width:min(100%,calc((100dvh - 230px)*var(--game-ratio,1.6)));min-width:320px}.game-shell.is-fullscreen .stage{max-width:100%;min-width:0}.site-header{max-width:1480px}.game-shell .gamebar{margin:5px 0 10px}}
@media(max-width:900px){.game-shell .gamebar{display:flex;justify-content:flex-end;gap:6px}.game-shell .gamebar .shell-pause{margin-right:auto}.game-shell .gamebar button,.game-shell .gamebar #play-tools>summary{min-height:44px;padding:8px 10px;font-size:13px}.game-shell .gamebar #fullscreen svg{display:none}.play-tools-panel{position:fixed;top:70px;right:10px;max-height:calc(100dvh - 90px)}.game-shell .drill-layout,.game-shell .water-layout{display:block}.game-shell .water-selection{font-size:12px}}
@media(max-height:600px) and (orientation:landscape){.game-shell.is-fullscreen{padding:4px max(8px,env(safe-area-inset-right)) 4px max(8px,env(safe-area-inset-left));overflow:auto}.is-fullscreen .fullscreen-nav{display:none!important}.game-shell.is-fullscreen .gamebar{display:flex;flex-wrap:nowrap;margin:0 0 4px;padding:0;gap:6px;justify-content:center;z-index:30}.game-shell.is-fullscreen .gamebar .shell-title{display:none}.game-shell.is-fullscreen .gamebar button,.game-shell.is-fullscreen .gamebar #play-tools>summary{min-height:38px;padding:5px 11px}.is-fullscreen .drill-guide,.is-fullscreen .water-selection,.is-fullscreen .dash-now,.is-fullscreen .dash-heading,.is-fullscreen .jump-heading,.is-fullscreen .zone-panel,.is-fullscreen .flight-route,.is-fullscreen #announcement{display:none!important}.game-shell.is-fullscreen .hud{margin:3px auto;padding:3px 10px;gap:14px;flex-wrap:nowrap}.game-shell.is-fullscreen .hud .stat strong{font-size:17px}.game-shell.is-fullscreen .hud .stat small{font-size:10px}.game-shell.is-fullscreen .drill-layout,.game-shell.is-fullscreen .water-layout{display:block}.is-fullscreen .play-tools-panel{position:fixed;top:50px;right:10px;max-height:calc(100dvh - 65px)}.is-fullscreen .play-tools-panel .water-mission,.is-fullscreen .play-tools-panel .drill-tools,.is-fullscreen .play-tools-panel .drill-shortcuts{display:block!important}.is-fullscreen .dash-controls{margin:4px auto}.is-fullscreen .dash-controls>span{display:none}.is-fullscreen .touch,.is-fullscreen .pad{margin:4px auto}.game-shell.is-fullscreen .stage:has(>#overlay:not([hidden])){min-height:0}.game-shell.is-fullscreen .overlay .panel{padding:8px}.game-shell.is-fullscreen .overlay h2{font-size:22px}.game-shell.is-fullscreen .overlay p{font-size:12px;line-height:1.45}.game-shell.is-fullscreen .mobile-drill-status{margin:3px auto;padding:3px 10px;max-width:var(--play-width)}}

.gamebar [hidden],#game-menu [hidden],.launch-shortcuts[hidden]{display:none!important}.launch-shortcuts{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:12px 0}.launch-shortcuts button{min-height:44px}.game-shell .launch-shortcuts button{font-size:14px}

.game-shell .jump-layout{display:block;max-width:900px;margin:auto}.game-shell .play-tools-panel .jump-notebook{display:block!important;max-height:none!important}.is-fullscreen .play-tools-panel .flight-route{display:block!important}.game-shell .jump-play{width:100%}
@media(pointer:coarse){.game-shell.is-fullscreen .gamebar button,.game-shell.is-fullscreen .gamebar #play-tools>summary,.game-shell.is-fullscreen .touch button,.game-shell.is-fullscreen .pad button,.game-shell.is-fullscreen .rain-controls button,.game-shell.is-fullscreen .flight-controls button{min-height:44px}}#play-tools>summary:focus-visible,.launch-shortcuts button:focus-visible{outline:3px solid #def174;outline-offset:3px}
.drill-page .mobile-drill-status{display:flex;justify-content:space-between;gap:12px;max-width:820px;margin:8px auto;padding:10px 14px;background:#17333e;border:1px solid #4b6d77;border-radius:10px;font-size:14px}.drill-page .mobile-drill-status b{color:#b8efcf}

/* Keep the playing field primary when enlarged. */
.is-fullscreen .fullscreen-nav{gap:5px!important;margin:0!important;padding:3px 8px!important;justify-content:center}
.is-fullscreen .fullscreen-nav a{min-height:30px!important;padding:4px 10px!important;font-size:12px!important;line-height:1.2!important;flex:0 0 auto!important;border-radius:8px!important}
@media(pointer:coarse){.is-fullscreen .fullscreen-nav a{min-height:36px!important}}

button:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #d9ed9e;outline-offset:3px}.arcade-icon svg{display:block;width:1em;height:1em;fill:currentColor}.atlas-controls button:disabled{opacity:.6;cursor:wait}
