/* WATER SPHERE VISUAL 01 — presentation only; no application state. */
.water-sphere.visual-container{width:250px;height:250px;max-width:100%;aspect-ratio:1;margin:0 auto 30px;border-radius:50%;background:radial-gradient(ellipse at 36% 25%,#10243e 0%,#070e20 58%,#071126 100%);box-shadow:0 16px 25px -17px #57aeff88;overflow:visible;isolation:isolate;flex:none}
.sphere-liquid-mask{position:absolute;inset:0;border-radius:50%;overflow:hidden;z-index:1;pointer-events:none}
.water-sphere .fill{position:absolute;left:0;bottom:0;width:100%;height:0%;background:linear-gradient(180deg,#0876b9d9 0%,#06479fe6 45%,#092869 100%);transition:height .85s cubic-bezier(.22,.61,.36,1);z-index:1}
.water-sphere .fill::before,.water-sphere .fill::after{content:none;animation:none}
.sphere-water-depth{position:absolute;inset:0;overflow:hidden;background:radial-gradient(ellipse at 14% 85%,#49ddff66,transparent 40%),radial-gradient(ellipse at 86% 90%,#766bff77,transparent 47%),radial-gradient(ellipse at 55% 0%,#0f9fec44,transparent 55%);box-shadow:inset 10px 0 20px -10px #62dcff88,inset -10px 0 20px -10px #699eff77}
.sphere-caustics{position:absolute;width:100%;height:250px;bottom:0;left:0;opacity:.2;mask-image:linear-gradient(transparent 40%,#000 85%);-webkit-mask-image:linear-gradient(transparent 40%,#000 85%);filter:drop-shadow(0 0 1px #26cfff);animation:sphereLight 8s ease-in-out infinite alternate}
.sphere-surface{opacity:.75;position:absolute;left:0;top:-12px;width:100%;height:26px;overflow:visible;filter:drop-shadow(0 0 2px #5ddaff);transform-origin:center}
.water-sphere.is-disturbed .sphere-surface{animation:sphereSettle 1.15s ease-out both}
.sphere-shell-art{position:absolute;left:-10.5%;top:-10.5%;width:121%;height:121%;max-width:none;z-index:3;pointer-events:none;object-fit:contain}
.water-sphere .water-info{position:relative;z-index:4;pointer-events:none;text-align:center;display:flex;flex-direction:column;align-items:center;color:#effbff;text-shadow:0 2px 8px #020b20,0 0 4px #031126}
.sphere-volume-label{font-size:10px;letter-spacing:.22em;font-weight:500;margin-bottom:8px;color:#d6edf9}
.water-sphere .water-count{font-size:46px;line-height:1;font-weight:400;font-variant-numeric:tabular-nums;color:#f3fbff;text-shadow:0 2px 9px #000d25}
.sphere-reading-unit{display:block;font-size:16px;line-height:1.4;font-weight:400;margin-top:4px;color:#e7f5ff}
.water-sphere .water-goal{font-size:12px;line-height:1.3;margin-top:8px;color:#d8e8fc}
.sphere-bubble{position:absolute;bottom:12%;width:4px;height:4px;border:1px solid #c6f5ffb3;border-radius:50%;box-shadow:inset 0 0 2px #e9ffff66;opacity:.65;animation:sphereBubble 7s ease-in-out infinite}
.sphere-bubble.b1{left:24%;bottom:24%;width:3px;height:3px;animation-delay:-3s}.sphere-bubble.b2{left:69%;bottom:38%;animation-delay:-1s}.sphere-bubble.b3{left:44%;bottom:62%;width:2px;height:2px;animation-delay:-5s}.sphere-bubble.b4{left:78%;bottom:14%;width:2px;height:2px;animation-delay:-4s}
.water-sphere.is-empty .fill{visibility:hidden}.water-sphere.is-full .sphere-surface{opacity:0}
.goal-setter{flex-wrap:wrap}
@keyframes sphereSettle{0%{transform:translateY(1px) rotate(-1.4deg)}23%{transform:translateY(-1px) rotate(1deg)}47%{transform:translateY(.6px) rotate(-.6deg)}72%{transform:rotate(.25deg)}100%{transform:none}}
@keyframes sphereLight{from{opacity:.13}to{opacity:.26}}
@keyframes sphereBubble{0%,100%{transform:translateY(0);opacity:.35}50%{transform:translateY(-7px);opacity:.7}}
@media(max-width:400px){.water-sphere.visual-container{width:200px;height:200px}.water-sphere .water-count{font-size:39px}.sphere-volume-label{font-size:9px}.water-sphere .water-goal{font-size:11px}.sphere-caustics{height:200px}}
@media(prefers-reduced-motion:reduce){.water-sphere .fill{transition:none}.sphere-caustics,.sphere-bubble,.water-sphere.is-disturbed .sphere-surface{animation:none}}
.sphere-motion-lite .sphere-caustics,.sphere-motion-lite .sphere-bubble{animation:none}

/* Darken only the reading area so a moving highlight cannot wash out white text. */
.water-sphere .water-info::before{content:"";position:absolute;inset:-10px -20px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse closest-side,#030d24a6 25%,#030d2466 55%,transparent 100%)}
