/* One continuous rendered surface; the approved texture also supplies the surface material. */
.water-stage{height:530px;min-width:0;position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr);place-items:center}
.fluid-frame{position:relative;width:100%;max-width:440px;min-width:0;height:auto;aspect-ratio:11/12;pointer-events:none}
.fluid-canvas{display:block;width:100%;height:100%;opacity:0}
.fluid-fallback{position:absolute;inset:45px;background:url('assets/water-droplet-v1.webp') center/contain no-repeat}
.fluid-frame.has-fluid .fluid-canvas{opacity:1}.fluid-frame.has-fluid .fluid-fallback{display:none}

.fluid-pause{margin-top:14px;padding:5px 0;background:none;border:0;border-bottom:1px solid #6e859955;color:#a6bbcb;font:inherit;font-size:12px;cursor:pointer}
.fluid-pause:hover{color:#fff}.fluid-pause:focus-visible{outline:2px solid #a6bbcb;outline-offset:5px}
.fluid-pause[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.fluid-pause{display:none}}

@media(max-width:700px){.water-stage{height:340px}.fluid-frame{width:300px;max-width:100%;height:auto;aspect-ratio:10/11}.fluid-fallback{inset:25px}}

/* Horizontal touch steers the water; vertical scrolling and pinch zoom remain native. */
@media(max-width:700px),(pointer:coarse){.water-stage{touch-action:pan-y pinch-zoom}}
