/* Same full-screen cover geometry and lighting as #gameViewport::before.
   The previous background (-2), weather (-1) and interface stay above it. */
.location-water-background {position:fixed;inset:0;z-index:-3;pointer-events:none;filter:brightness(var(--bg-brightness,1));transition:filter 1.8s ease}
.location-water-background>img,.location-water-background>canvas {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.location-water-background>img {visibility:hidden}
.location-water-background>canvas[hidden] {display:none!important}
.location-water-editor {--pro-left-width:260px;--pro-right-width:280px}
.location-water-editor fieldset {border:0;padding:0;margin:0;min-width:0}
.location-water-editor [data-export] {height:120px;resize:vertical;font:11px monospace}
.location-water-editor [data-directions] {display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.location-water-editor [data-directions] button {padding:4px}
.location-water-editor label:has(input[type=checkbox]) {display:flex;gap:8px;align-items:center}
.location-water-editor [data-image] {max-width:100%;font-size:12px}
.location-water-editor .pro-map canvas {image-rendering:auto}
.location-water-editor .pro-brush-cursor {fill:#edcc8430;stroke:#f4d68a;stroke-width:2;vector-effect:non-scaling-stroke}
.location-water-editor .pro-brush-cursor[hidden] {display:none}
.location-water-editor [data-status] {overflow-wrap:anywhere}
.location-water-editor input[type=range] {accent-color:var(--mg-brass)}
