/* THE ONE OCEAN, the single definition (Ben, 21 Nov 2026: "this is the one consistent ocean, always the same ocean, I don't want multiple
   ocean tones across the site"). Top teal-dark falling to absolute black across the lower third, for OLED screens ("Go with the lower third,
   make it the ocean"). Every CSS ground on a live page reads it from here: var(--tdm-ocean) for the gradient, var(--tdm-ocean-floor) for the
   solid colour under it. Its moving twin is lib/water.js palette 'one' (WebGL, numbers, base black, floor 0.38); its Low twin is TDMSeaLow,
   which reads var(--tdm-ocean). backend/one_ocean_test.js fails if a live page paints any other sea.
   A page with no sea of its own puts <div class="tdm-ocean" aria-hidden="true"></div> first in its body: the gradient, the surface light,
   the caustic glow and the vignette, value for value the shell's CSS water (lab/index.html .water-*), behind everything (z-index -1; the
   body must stay transparent or its own background buries it). */
:root{--tdm-ocean-floor:#000;--tdm-ocean:linear-gradient(180deg,#0a1b20 0%,#06101a 32%,#000 66%,#000 100%)}
.tdm-ocean{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse 76% 66% at 50% 46%,transparent 44%,rgba(0,0,0,.55) 100%),var(--tdm-ocean);background-color:var(--tdm-ocean-floor)}
.tdm-ocean::before{content:'';position:absolute;inset:-12% -22%;opacity:.55;background:radial-gradient(38% 30% at 28% 16%,rgba(78,210,200,.12),transparent 70%),radial-gradient(34% 28% at 70% 24%,rgba(78,210,200,.09),transparent 70%),radial-gradient(30% 24% at 52% 40%,rgba(78,210,200,.06),transparent 72%);animation:tdmOceanCaus 24s ease-in-out infinite}
.tdm-ocean::after{content:'';position:absolute;top:0;left:0;right:0;height:52%;background:radial-gradient(ellipse 88% 100% at 50% 0%,rgba(78,210,200,.20) 0%,rgba(78,210,200,.07) 40%,transparent 72%);animation:tdmOceanSurf 9s ease-in-out infinite}
@keyframes tdmOceanSurf{0%,100%{transform:scaleX(1) scaleY(1);opacity:.95}50%{transform:scaleX(1.05) scaleY(1.08);opacity:.66}}
@keyframes tdmOceanCaus{0%,100%{transform:translate(0,0)}50%{transform:translate(3.5%,2.2%)}}
@media (prefers-reduced-motion:reduce){.tdm-ocean::before,.tdm-ocean::after{animation:none}}
