/* Photographic underwater scene. Decorative, non-interactive and motion-aware. */
:root{--ocean-wash:rgba(244,247,249,.965)}
[data-theme=dark]{--ocean-wash:rgba(15,22,35,.965)}
body:not(.account-login) .main,body:not(.account-login):not(:has(.main)){background-image:linear-gradient(var(--ocean-wash),var(--ocean-wash)),url("manta-ocean-v409.webp");background-size:auto,cover;background-position:center;background-repeat:no-repeat}
.account-login{isolation:isolate;position:relative;background:#073b49}
.account-login .account-shell{position:relative;z-index:1;box-shadow:0 22px 80px #00131c55}
.manta-ocean{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:-1;contain:strict;background:#073b49}
.ocean-photo{position:absolute;inset:-4%;background:url("manta-ocean-v409.webp") center/cover no-repeat;animation:ocean-drift 38s ease-in-out infinite alternate}
.manta-ocean:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#04293608,#04182450);pointer-events:none}
.ocean-light{position:absolute;inset:-15%;background:conic-gradient(from 146deg at 13% -5%,transparent 0deg,#b6eeed17 9deg,transparent 19deg,#b6eeed0a 26deg,transparent 35deg);filter:blur(16px);animation:ocean-light 21s ease-in-out infinite alternate}
[data-theme=dark] .ocean-photo{filter:brightness(.65) saturate(.8)}
[data-theme=dark] .manta-ocean:after{background:linear-gradient(180deg,#07142120,#07142166)}
@keyframes ocean-drift{from{transform:translate3d(-.8%,.5%,0) scale(1)}to{transform:translate3d(.8%,-.5%,0) scale(1.025)}}
@keyframes ocean-light{from{transform:rotate(-3deg);opacity:.45}to{transform:rotate(4deg);opacity:.9}}
@media(max-width:600px){.ocean-photo{background-position:30% center}body:not(.account-login) .main,body:not(.account-login):not(:has(.main)){background-size:auto,cover}}
@media(prefers-reduced-motion:reduce){.ocean-photo,.ocean-light{animation:none}}
.manta-ocean.is-paused .ocean-photo,.manta-ocean.is-paused .ocean-light{animation-play-state:paused}
@media print{.manta-ocean{display:none}body:not(.account-login),body:not(.account-login) .main{background-image:none}}

/* Independently swimming photographic mantas on login only. */
.ocean-swimmers{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;display:none}
.has-swimmers .ocean-swimmers{display:block}
.has-swimmers .ocean-photo{background-image:url("ocean-water-v410.webp")}
[data-theme=dark] .ocean-swimmers{opacity:.8}
