/* Same artwork, same aspect ratio. Sky fills any space left by a window whose
   aspect ratio changes mid-run; never crop or stretch the gameplay canvas. */
.monitor-layout body { background: var(--sky); }
.monitor-layout #game { position: fixed; inset: 0; min-height: 0; overflow: hidden; }
.monitor-layout #game .EightBitter { position: absolute; margin: 0; }
.monitor-layout #game canvas { image-rendering: pixelated; }
.monitor-layout .game-brand {
    left: calc(var(--stage-left, 0px) + 24px * var(--stage-scale, 1));
    top: calc(var(--stage-top, 0px) + 64px * var(--stage-scale, 1));
    width: calc(260px * var(--stage-scale, 1));
    max-width: 27vw;
}
.monitor-layout body:not(.investment-open) .quest-sound {
    right: calc(var(--stage-left, 0px) + 16px * var(--stage-scale, 1));
    top: calc(var(--stage-top, 0px) + 122px * var(--stage-scale, 1));
    font-size: calc(8px * var(--stage-scale, 1));
}
.monitor-layout .quest-bank {
    right: calc(var(--stage-left, 0px) + 24px * var(--stage-scale, 1));
    top: calc(var(--stage-top, 0px) + 70px * var(--stage-scale, 1));
    font-size: calc(14px * var(--stage-scale, 1));
}
.monitor-layout .quest-bank small { font-size: calc(7px * var(--stage-scale, 1)); }
.monitor-layout .quest-intro {
    top: calc(var(--stage-top, 0px) + var(--stage-height, 100vh) * .28);
    width: min(calc(860px * var(--stage-scale, 1)), 92vw);
}
.monitor-layout .quest-intro .pixel-kicker { font-size: calc(11px * var(--stage-scale, 1)); }
.monitor-layout .quest-intro h1 { font-size: calc(30px * var(--stage-scale, 1)); margin: calc(18px * var(--stage-scale, 1)) 0; }
.monitor-layout .quest-intro p:not(.pixel-kicker) { font-size: calc(13px * var(--stage-scale, 1)); }
.monitor-layout .quest-intro .coin-rate { margin: calc(22px * var(--stage-scale, 1)) 0; }
.monitor-layout .quest-intro .pixel-button {
    font-size: calc(13px * var(--stage-scale, 1));
    padding: calc(18px * var(--stage-scale, 1)) calc(22px * var(--stage-scale, 1));
}
.monitor-layout .quest-intro .desktop-help {
    font-size: calc(9px * var(--stage-scale, 1));
    margin-top: calc(22px * var(--stage-scale, 1));
}
.monitor-layout .quest-intro .pixel-coin { width: calc(20px * var(--stage-scale, 1)); height: calc(28px * var(--stage-scale, 1)); }
