/* The Tide Pools (v1.156). Prefixed .tdp- */
.tdp-promise { color: var(--dw-muted); }
.tdp-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin: 1.2em 0; }
.tdp-pool { position: relative; display: grid; gap: 4px; padding: 16px 16px 18px; border-radius: 16px; border: 1px solid var(--dw-line-strong); background: rgba(255, 255, 255, .03); color: inherit; text-align: left; cursor: pointer; overflow: hidden; }
.tdp-pool:hover, .tdp-pool:focus-visible { border-color: var(--dw-gold); outline: none; }
.tdp-pool__water { position: absolute; inset: auto -20% -60% -20%; height: 110px; border-radius: 50%; background: radial-gradient(ellipse at 50% 20%, rgba(96, 170, 180, .45), rgba(60, 120, 150, .18) 45%, rgba(96, 150, 170, 0) 70%); box-shadow: inset 0 6px 14px rgba(255, 255, 255, .08); }
.tdp-pool__name { position: relative; font-family: var(--dw-serif); font-size: 1.22rem; color: var(--dw-cream); }
.tdp-pool__for { position: relative; font-size: 13px; color: var(--dw-muted); }

.tdp-running { text-align: center; }
.tdp-running .dwx-row { justify-content: center; }
.tdp-water { position: relative; display: grid; place-items: center; width: min(300px, 90%); height: 190px; margin: 6px auto 12px; border-radius: 50% / 46%; overflow: hidden; background: radial-gradient(ellipse at 50% 38%, #2f7a84 0%, #1b5361 35%, #0f3340 65%, #071b26 100%); box-shadow: inset 0 10px 24px rgba(0, 0, 0, .7), inset 0 -4px 10px rgba(120, 200, 210, .15), 0 0 0 7px #3a3a46, 0 0 0 9px #26262f, 0 16px 30px rgba(0, 0, 0, .55); isolation: isolate; }
.tdp-water::before { content: ""; position: absolute; inset: -10%; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='c'><feTurbulence type='turbulence' baseFrequency='.02' numOctaves='2' seed='8'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 -.35'/></filter><rect width='220' height='220' filter='url(%23c)'/></svg>"); background-size: 220px 220px; opacity: .35; mix-blend-mode: screen; animation: tdp-caustic 14s linear infinite; }
.tdp-water::after { content: ""; position: absolute; left: 12%; top: 10%; width: 50%; height: 26%; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%); transform: rotate(-12deg); }
.tdp-ring { position: absolute; width: 60px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(220, 240, 245, .55); box-shadow: 0 0 6px rgba(180, 230, 240, .35), inset 0 0 6px rgba(180, 230, 240, .25); animation: tdp-out 7s ease-out infinite; }
.tdp-ring--b { animation-delay: 2.3s; }
.tdp-ring--c { animation-delay: 4.6s; }
.tdp-line { min-height: 4.2em; max-width: 30em; margin: 0 auto 1em; color: var(--dw-cream); font-size: 1.15rem; line-height: 1.6; }
.tdp-bar { height: 2px; max-width: 320px; margin: 0 auto 1em; background: rgba(255, 255, 255, .08); border-radius: 2px; }
.tdp-bar span { display: block; height: 100%; width: 0; background: var(--dw-gold); border-radius: 2px; transition: width 1.2s ease; }
.tdp-note { color: var(--dw-muted); font-size: 14px; border-left: 2px solid var(--dw-line-strong); padding-left: 12px; margin: 1em 0; text-align: left; }

@keyframes tdp-out { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes tdp-caustic { from { background-position: 0 0; } to { background-position: 220px 110px; } }
@media (prefers-reduced-motion: reduce) { .tdp-ring { animation: none; opacity: .4; } .tdp-water::before { animation: none; } .tdp-bar span { transition: none; } }
