/* Platform controls supply global audio/fullscreen; gameplay controls remain intact. */
.platform-paused *{animation-play-state:paused!important;transition:none!important}
#cloud-note{position:absolute;left:50%;bottom:160px;transform:translateX(-50%);z-index:3;max-width:90%;padding:5px 10px;border-radius:12px;background:#063f50d9;font-size:11px;text-align:center;pointer-events:none}
html[data-cloud-state=saved] #cloud-note,html[data-cloud-state=saving] #cloud-note{display:none}
#boot-unsaved{margin-top:12px}
/* Center a proportional tank at extreme ratios, avoiding impossibly narrow physics. */
.aquarium{width:min(100vw,177.7778dvh);height:min(100dvh,240vw);inset:auto;left:50%;top:50%;transform:translate(-50%,-50%)}
body{background:#073d54}
.topbar{padding-top:max(12px,env(safe-area-inset-top))}
.wordmark{font-size:18px}.wordmark span{font-size:24px}
.tools{gap:8px}.icon-button{width:40px;height:40px}
@media(max-width:650px){.topbar{padding:12px}.scoreboard{top:65px}.hint{top:200px}.controls{padding-left:20px;padding-right:20px}}
@media(max-height:550px){.topbar{padding:10px}.scoreboard{top:8px;padding:4px 10px;min-width:150px}.stage-name,.difficulty,.dots{display:none!important}.hint{top:87px;font-size:11px;max-width:300px}.controls{padding:8px 20px}.pump{width:58px;height:58px}.pump svg{width:20px;height:20px}.control-note{font-size:11px}.win-card{max-height:calc(100dvh - 12px)}#cloud-note{bottom:80px}}
@media(max-width:360px){.wordmark{font-size:15px}.wordmark span{font-size:20px}.tools{gap:5px}.icon-button{width:36px;height:36px}.controls{padding-left:12px;padding-right:12px}.pump{width:66px;height:66px}.control-note{max-width:100px;font-size:11px}.stage-tiles{gap:5px}#stage-picker{padding:24px 16px}.world-heading h3{font-size:13px}}
