/* Kacity briefing, illustrated onboarding, and an explicit fullscreen exit. */
.pg-fullscreen-invite{display:flex;gap:12px;align-items:center;margin:16px 0 9px;padding:12px 15px;border:1px solid #d7efbe4a;border-radius:9px;background:#d7efbe0b;color:#e9f3df;font-size:11px;line-height:1.6}
.pg-fullscreen-invite>span{font-size:25px;color:#d7efbe}.pg-fullscreen-invite b{display:block;font-size:12px;font-weight:600}.pg-fullscreen-invite small{display:block;color:#bed0c3;font-size:10px}
.pg-brief-card>.pg-guide-launch{display:block;width:100%;margin:10px 0 0;border:1px solid #d7efbe66;background:transparent;color:#d7efbe;border-radius:7px;padding:11px;font-family:inherit;font-size:11px;font-weight:600;cursor:pointer}
.pg-brief-card>.pg-page-launch{display:block;margin:10px auto 0;border:0;background:none;color:#c4d8ca;font:inherit;font-size:10px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.pg-game #pgFullscreen{display:inline-flex;gap:7px;align-items:center;white-space:nowrap;font-size:10px;padding:8px 11px;min-height:34px}
.pg-game #pgFullscreen kbd{display:none}.pg-game.pg-immersive #pgFullscreen{background:#f3f2e8;color:#17283a;border:1px solid #fff7dc80;font-weight:700}
.pg-game.pg-immersive #pgFullscreen kbd{display:inline;font-family:inherit;font-size:8px;font-weight:600;border:1px solid #17283a50;border-radius:3px;padding:2px 4px;color:#263b4d}
.pg-tutorial{width:min(650px,100%);max-height:100%;overflow:auto;padding:27px 35px 24px}
.pg-guide-top{display:flex;align-items:center;justify-content:space-between;gap:14px}.pg-guide-top .pg-eyebrow{font-size:9px}
.pg-guide-close{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;border:1px solid #d7efbe55;background:transparent;color:#e7f1dc;font-size:15px;cursor:pointer;flex:none}
.pg-guide-progress{display:flex;gap:6px;margin:14px 0 22px}.pg-guide-progress i{height:3px;background:#d7efbe22;flex:1;border-radius:3px}.pg-guide-progress i.done{background:#d7efbe}
.pg-tutorial h2{font-size:33px;letter-spacing:-1px;line-height:1.15;margin:0 0 12px}.pg-tutorial>p{font-size:12px;line-height:1.7;margin:0;color:#c5d7c9}
.pg-guide-drawing{width:100%;height:183px;display:block;margin:8px auto}.pg-guide-arrow{stroke:#e94969;stroke-width:4;fill:none;stroke-linecap:round;stroke-linejoin:round;animation:pg-guide-pulse 1.5s ease-in-out infinite}
.pg-guide-keys{display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap;font-size:10px;color:#d9e6d3;min-height:40px}
.pg-guide-keys kbd{min-width:27px;padding:6px 9px;background:#ecf0df;color:#193936;border-radius:5px;font:700 12px monospace;text-align:center;box-shadow:0 3px 0 #78917b}
.pg-tutorial>.pg-guide-tip{margin:15px 0;padding:11px 14px;border-left:2px solid #d7efbe;background:#d7efbe0a;color:#d9e6d0;font-size:10px;line-height:1.6}
.pg-guide-actions{display:grid;grid-template-columns:1fr 1.5fr;gap:10px;margin:19px 0 15px}.pg-guide-actions button{margin:0;min-height:43px;cursor:pointer}.pg-guide-actions button:disabled{opacity:.35;cursor:default}
.pg-guide-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;color:#a7bfae;font-size:9px;line-height:1.5}.pg-guide-foot button{border:0;background:none;font:inherit;color:#d7efbe;text-decoration:underline;cursor:pointer;white-space:nowrap}
.pg-guide-close:focus-visible,.pg-guide-launch:focus-visible,.pg-page-launch:focus-visible,.pg-guide-foot button:focus-visible{outline:2px solid #d7efbe;outline-offset:4px}
@keyframes pg-guide-pulse{50%{opacity:.4}}
@media(max-width:700px){
 .pg-game #pgFullscreen{font-size:8px;padding:7px;gap:4px;min-height:30px}.pg-game.pg-immersive #pgFullscreen kbd{display:none}
 .pg-fullscreen-invite{padding:8px 10px;gap:8px;margin:11px 0 6px;font-size:9px}.pg-fullscreen-invite b{font-size:10px}.pg-fullscreen-invite small{font-size:8px}
 .pg-brief-card>.pg-guide-launch{font-size:10px;padding:9px}.pg-brief-card>.pg-page-launch{font-size:9px}
 .pg-tutorial{padding:19px 18px}.pg-tutorial h2{font-size:26px}.pg-tutorial>p{font-size:11px}.pg-guide-top .pg-eyebrow{font-size:8px}
 .pg-guide-progress{margin:10px 0 17px}.pg-guide-drawing{height:155px;margin:5px 0}.pg-guide-keys{font-size:9px;gap:6px}.pg-guide-keys kbd{font-size:11px;padding:5px 7px;min-width:23px}
 .pg-tutorial>.pg-guide-tip{font-size:10px;margin:10px 0}.pg-guide-actions{margin:13px 0 11px}.pg-guide-actions button{font-size:11px;min-height:41px}.pg-guide-foot{font-size:8px;gap:8px}
}
@media(max-height:600px) and (min-width:701px){.pg-tutorial{width:min(760px,100%);padding:17px 27px;display:grid;grid-template-columns:1fr 1fr;column-gap:22px}.pg-guide-top,.pg-guide-progress,.pg-guide-actions,.pg-guide-foot{grid-column:1/-1}.pg-guide-progress{margin:8px 0 13px}.pg-tutorial h2{font-size:27px;grid-column:1}.pg-tutorial>p{grid-column:1;font-size:11px}.pg-guide-drawing{grid-column:2;grid-row:3/6;height:156px;margin:0}.pg-guide-keys{grid-column:1;justify-content:flex-start;font-size:9px}.pg-tutorial>.pg-guide-tip{grid-column:1/-1;margin:10px 0 0;padding:7px 12px}.pg-guide-actions{margin:12px 0 9px}.pg-guide-actions button{min-height:36px}.pg-guide-foot{font-size:8px}}
@media(prefers-reduced-motion:reduce){.pg-guide-arrow{animation:none}}

.pg-game:has(#pgPanel:not([hidden]) .pg-tutorial){z-index:1100}.pg-panel-overlay:has(.pg-tutorial){position:fixed;inset:0;z-index:1101;background:#071e30f2}.pg-game.pg-immersive .pg-panel-overlay:has(.pg-tutorial){position:absolute}

body.pg-guide-lock{overflow:hidden}

.pg-practice-launch{display:block!important;width:100%;color:#17283a!important;background:#d7efbe!important;border-color:#d7efbe!important;font-weight:700!important;padding:12px 15px!important}.pg-practice-dock{position:absolute;z-index:6;left:15px;top:100px;width:min(340px,calc(100% - 30px));border:1px solid #d7efbe77;border-radius:7px;background:#15323beF;box-shadow:0 6px 22px #071b2944;padding:11px 13px;pointer-events:auto;color:#e5efdc}.pg-practice-dock[hidden]{display:none}.pg-practice-dock>div{display:flex;align-items:center;gap:9px}.pg-practice-dock>div>span{font:9px monospace;color:#d7efbe;white-space:nowrap}.pg-practice-dock b{font-size:11px}.pg-practice-dock button{margin-left:auto;color:#d7efbe;background:none;border:0;min-height:25px;min-width:25px;font-size:14px}.pg-practice-dock p{font-size:10px;line-height:1.7;margin:8px 0;color:#c7d9c3}.pg-practice-dock progress{display:block;width:100%;height:4px;accent-color:#d7efbe;margin:8px 0}.pg-practice-dock>small{font-size:8px;color:#a9c6ae;line-height:1.7}.pg-practice-result ol{font-size:11px;line-height:2.2;color:#c6dfb7;list-style:none;padding-left:0}.pg-learning .pg-toast{top:68px;font-size:9px;padding:7px 12px}.pg-learning .pg-instrument-strip .pg-objective>span{color:#d7efbe}
@media(max-width:700px){.pg-practice-dock{top:77px;left:10px;width:calc(100% - 20px);padding:7px 10px}.pg-practice-dock b{font-size:10px}.pg-practice-dock p{font-size:9px;line-height:1.5;margin:5px 0}.pg-practice-dock>small{font-size:7px}.pg-learning .pg-compass{display:none}.pg-learning .pg-toast{top:50px;font-size:8px;max-width:90%;padding:5px 9px}}
@media(min-width:701px) and (max-height:500px){.pg-practice-dock{top:92px;max-width:320px;padding:7px 10px}.pg-practice-dock p{font-size:9px;line-height:1.4;margin:5px 0}.pg-practice-dock>small{font-size:7px}}

.pg-audio-panel{position:absolute;z-index:12;right:12px;bottom:52px;width:280px;max-width:calc(100% - 24px);max-height:calc(100% - 115px);overflow:auto;border:1px solid #d7efbe77;border-radius:8px;background:#17323bf5;box-shadow:0 15px 50px #071b2999;color:#e1ecd7;padding:11px}.pg-audio-panel[hidden]{display:none}.pg-audio-panel header{display:flex;align-items:center;gap:12px;border-bottom:1px solid #d7efbe22;padding-bottom:8px}.pg-audio-panel header b{font-size:10px;letter-spacing:1px}.pg-audio-panel header button{margin-left:auto;background:none;border:0;color:#d7efbe;min-width:25px;min-height:25px}.pg-audio-panel details{border-bottom:1px solid #d7efbe22;padding:10px 0}.pg-audio-panel summary{font-size:10px;color:#c4dfae;cursor:pointer}.pg-audio-panel label{display:grid;grid-template-columns:1fr 80px 40px;gap:9px;align-items:center;font-size:9px;margin:12px 0;color:#c2d6bd}.pg-audio-panel input{width:100%;accent-color:#d7efbe}.pg-audio-panel output{text-align:right;font-size:8px}
@media(max-width:700px){.pg-game .pg-toolbar{gap:3px}.pg-game .pg-toolbar button{font-size:7px;padding:6px}.pg-audio-panel{width:260px;bottom:52px;right:9px}.pg-audio-panel label{font-size:9px}}
/* Lesson instructions share the instrument area, keeping the aircraft unobstructed. */
#pilotGame .pg-game.pg-learning{--pg-instrument-height:126px}#pilotGame .pg-game .pg-instrument-strip .pg-practice-dock{position:static;width:auto;max-width:none;height:100%;box-shadow:none;border:0;border-right:1px solid #d7efbe25;border-radius:0;padding:7px 12px;background:none;overflow:auto}#pilotGame .pg-game .pg-instrument-strip .pg-practice-dock p{font-size:9px;line-height:1.45;margin:4px 0}#pilotGame .pg-game .pg-instrument-strip .pg-practice-dock progress{margin:5px 0}#pilotGame .pg-game .pg-instrument-strip .pg-practice-dock>small{font-size:8px;line-height:1.4}#pilotGame .pg-game.pg-learning .pg-instrument-strip .pg-objective{display:none!important}
@media(min-width:1100px){#pilotGame .pg-game.pg-learning.pg-touch-visible .pg-instrument-strip{height:126px;grid-template-columns:1.3fr 1fr;grid-template-rows:1fr}#pilotGame .pg-game.pg-learning.pg-touch-visible .pg-flight-view{bottom:176px}}
@media(max-width:700px){#pilotGame .pg-game.pg-learning{--pg-instrument-height:164px}#pilotGame .pg-game.pg-learning .pg-instrument-strip{grid-template-rows:99px 65px}#pilotGame .pg-game .pg-instrument-strip .pg-practice-dock{border-right:0;border-bottom:1px solid #d7efbe25;padding:5px 10px}#pilotGame .pg-game .pg-instrument-strip .pg-practice-dock>div{min-height:22px}#pilotGame .pg-game .pg-instrument-strip .pg-practice-dock p{font-size:9px;margin:2px 0}#pilotGame .pg-game .pg-instrument-strip .pg-practice-dock progress{margin:4px 0}}
@media(min-width:701px) and (max-width:1099px) and (max-height:500px){#pilotGame .pg-game.pg-learning.pg-immersive.pg-touch-visible .pg-instrument-strip{height:164px;grid-template-columns:1fr;grid-template-rows:99px 65px}#pilotGame .pg-game.pg-learning.pg-immersive.pg-touch-visible .pg-flight-view{bottom:164px}#pilotGame .pg-game .pg-instrument-strip .pg-practice-dock{border-right:0;border-bottom:1px solid #d7efbe25;padding:5px 10px}#pilotGame .pg-game .pg-instrument-strip .pg-practice-dock p{font-size:9px;margin:2px 0}}
/* Only the compact play/pause button appears beside Volume. */
.pg-audio-actions{display:inline-flex;align-items:center;gap:4px;flex:none}.pg-game .pg-toolbar .pg-market-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;min-height:30px;padding:6px;border-color:#d7efbe33}.pg-market-toggle svg{width:13px;height:13px;fill:currentColor;pointer-events:none}.pg-audio-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:700px){.pg-game .pg-toolbar .pg-market-toggle{flex-basis:28px;width:28px;min-height:28px;padding:5px}}

.pg-game .pg-toolbar #pgNight[data-night=true]{border-color:#d7efbe;background:#d7efbe20;color:#eaf4d8}.pg-game.pg-night .pg-vignette{opacity:.35}

/* Compact world clock: its controls stay within the cockpit on every screen. */
.pg-game .pg-toolbar #pgNight{font-variant-numeric:tabular-nums;white-space:nowrap;min-width:75px}
.pg-time-panel{position:absolute;z-index:12;top:68px;left:16px;width:286px;max-width:calc(100% - 32px);max-height:calc(100% - 132px);overflow:auto;border:1px solid #d7efbe66;border-radius:10px;padding:16px;background:#15323bf5;box-shadow:0 15px 45px #071b2988;color:#e7efdf;pointer-events:auto}
.pg-time-panel[hidden]{display:none}.pg-time-panel header{display:flex;align-items:center;gap:16px}.pg-time-panel header small{display:block;font-size:7px;letter-spacing:1.2px;color:#a8c3b4}.pg-time-panel header b{display:block;font-size:13px;margin-top:5px}.pg-time-panel header button{margin-left:auto;border:0;background:none;color:#d7efbe;width:30px;height:30px;font-size:15px}.pg-time-readout{display:flex;align-items:center;justify-content:space-between;margin:16px 0}.pg-time-readout output{font:500 36px monospace;letter-spacing:-2px;color:#d7efbe}.pg-time-readout span{font-size:10px;color:#c5d6c6}.pg-time-panel label{display:grid;gap:9px;font-size:9px;color:#c5d6c6}.pg-time-panel input{width:100%;accent-color:#d7efbe;min-height:27px}.pg-time-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:12px 0}.pg-time-presets button{border:1px solid #d7efbe33;background:#d7efbe0d;border-radius:6px;padding:9px 2px;font-size:9px;color:#e7efdf}.pg-time-presets small{display:block;margin-top:4px;color:#9cb6a9;font:9px monospace}.pg-time-panel p,.pg-audio-time{font-size:9px;line-height:1.7;color:#9fbbad;margin:12px 0 0}.pg-time-panel p b{color:#d7efbe;font-weight:500}
@media(max-width:700px){.pg-game .pg-toolbar #pgNight{min-width:64px}.pg-time-panel{top:53px;left:10px;width:270px;max-width:calc(100% - 20px);padding:13px}.pg-time-readout{margin:10px 0}.pg-time-readout output{font-size:30px}}

.pg-service-dock{position:absolute;z-index:7;right:16px;top:110px;width:172px;padding:11px;border:1px solid #d7efbe44;border-radius:9px;background:#15323bed;color:#e7efdf;box-shadow:0 6px 22px #071b2944}
.pg-service-dock>div{display:flex;flex-direction:column;gap:5px}.pg-service-dock b{font-size:8px;letter-spacing:1px;color:#d7efbe}.pg-service-dock span{font-size:9px;line-height:1.4;color:#b9cdbd}.pg-service-dock button{width:100%;margin-top:9px;padding:8px 3px;border:1px solid #d7efbe77;border-radius:5px;background:#d7efbe;color:#17283a;font-family:inherit;font-size:10px;font-weight:600;cursor:pointer}.pg-service-dock button:disabled{background:#d7efbe0a;color:#abc2b0;border-color:#d7efbe22;cursor:default}.pg-service-dock #pgEndFlight{background:none;color:#d7efbe;margin-top:5px}.pg-service-dock progress{display:block;width:100%;height:4px;margin-top:8px;accent-color:#d7efbe}.pg-service-dock [hidden]{display:none!important}
.pg-live-weather-label{padding-top:11px;border-top:1px solid #d7efbe22}.pg-live-weather-label select{width:100%;background:#102a34;color:#d7efbe;border:1px solid #d7efbe44;border-radius:5px;padding:8px;font:inherit;font-size:10px}.pg-weather-forecast{display:block;color:#9fbdaa;font-size:9px;line-height:1.5;margin-top:8px}
.ops-missions [data-ops-select=youth]{border-color:#e9496977;background:linear-gradient(135deg,#e9496917,#d7efbe08)}
@media(min-width:1100px){.pg-game.pg-touch-visible .pg-service-dock{top:142px;right:18px;width:calc(37% - 36px);max-width:500px;display:grid;grid-template-columns:1fr 1fr;gap:0 12px;align-items:center}.pg-game.pg-touch-visible .pg-service-dock button{margin-top:0}.pg-game.pg-touch-visible .pg-service-dock progress{grid-column:1/-1}.pg-game.pg-touch-visible .pg-service-dock #pgEndFlight{grid-column:2;margin-top:5px}}
@media(min-width:701px) and (max-height:600px){.pg-game.pg-immersive .pg-service-dock{top:100px;left:13px;right:auto;width:172px;display:block}.pg-game.pg-immersive .pg-service-dock button{margin-top:7px}.pg-game.pg-immersive .pg-service-dock b{font-size:7px}.pg-game.pg-immersive .pg-service-dock span{font-size:8px}}
@media(max-width:700px){.pg-service-dock{top:95px;right:8px;width:147px;padding:7px}.pg-service-dock b{font-size:6px;letter-spacing:.6px}.pg-service-dock span{font-size:7px}.pg-service-dock>div{gap:3px}.pg-service-dock button{font-size:8px;margin-top:6px;padding:6px 2px}.pg-service-dock #pgEndFlight{margin-top:4px}.pg-learning .pg-service-dock{display:none}}

@media(min-width:701px){.ops-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
