.wf-sky { fill: url(#waterfall-sky); }
.wf-terrainBase { fill: url(#waterfall-soft); }
.wf-softRock { fill: url(#waterfall-soft); stroke: #000; stroke-width: 2.5; transition: d .65s ease; }
.wf-hardRock { fill: #596063; stroke: #000; stroke-width: 2.5; transition: d .65s ease; }
.wf-capOutline { fill: none; stroke: #000; stroke-width: 3; transition: d .65s ease; }
.wf-undercutGlow { fill: rgba(0,190,214,.25); filter: url(#waterfall-soft-glow); opacity: 0; transition: opacity .35s ease, d .65s ease; }
.wf-water { fill: url(#waterfall-water); }
.wf-riverBedOutline { fill: none; stroke: #000; stroke-width: 2.5; transition: d .65s ease; }
.wf-plungePool { transition: transform .65s ease; }
.wf-poolWater { fill: url(#waterfall-pool); stroke: #004e58; stroke-width: 2.5; transition: d .65s ease; }
.wf-poolSurface { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 3; stroke-linecap: round; transition: d .65s ease; }
.wf-impactGlow { fill: url(#waterfall-impact); mix-blend-mode: screen; transition: rx .3s ease, ry .3s ease, cx .65s ease; }
.wf-impactRipple { fill: none; stroke: rgba(255,255,255,.78); stroke-width: 2.5; opacity: .82; transform-box: fill-box; transform-origin: center; }
.wf-impactRipple + .wf-impactRipple { opacity: .5; }
.wf-poolCurrent { fill: none; stroke: rgba(255,255,255,.88); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 12; transition: d .65s ease; }
.wf-poolFoam circle { fill: #fff; opacity: .92; transform-box: fill-box; transform-origin: center; }
.wf-riverCurrent { fill: none; stroke: rgba(255,255,255,.88); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 13 14; transition: d .65s ease; }
.wf-erosionParticles { opacity: 0; transition: opacity .3s ease; }
.wf-erosionParticles circle { fill: #c27c39; stroke: #000; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.wf-collapseDebris { fill: #596063; stroke: #000; stroke-width: 2; opacity: 0; transform: translateY(-90px); transition: opacity .25s ease, transform .65s cubic-bezier(.2,.75,.22,1); }
.wf-gorge { opacity: 0; transition: opacity .45s ease .15s; }
.wf-gorge path { fill: none; stroke: #000; stroke-width: 2; stroke-dasharray: 7 9; opacity: .45; }
.wf-gorge text { fill: #555; font: 500 10px "Noto Sans TC", sans-serif; }
.wf-labels text { fill: #000; font: 600 13px "Noto Sans TC", sans-serif; paint-order: stroke; stroke: #f6fcfd; stroke-width: 6px; stroke-linejoin: round; }
.wf-labels .wf-undercutLabel, .wf-labels .wf-gorgeLabel { opacity: 0; transition: opacity .3s ease; }
 .waterfall-original[data-stage="1"] .wf-undercutGlow,
 .waterfall-original[data-stage="2"] .wf-undercutGlow,
 .waterfall-original[data-stage="3"] .wf-undercutGlow,
 .waterfall-original[data-stage="4"] .wf-undercutGlow,
 .waterfall-original[data-stage="1"] .wf-erosionParticles,
 .waterfall-original[data-stage="2"] .wf-erosionParticles,
 .waterfall-original[data-stage="3"] .wf-erosionParticles,
 .waterfall-original[data-stage="4"] .wf-erosionParticles,
 .waterfall-original[data-stage="1"] .wf-undercutLabel,
 .waterfall-original[data-stage="2"] .wf-undercutLabel,
 .waterfall-original[data-stage="3"] .wf-undercutLabel,
 .waterfall-original[data-stage="4"] .wf-undercutLabel { opacity: 1; }
 .waterfall-original[data-stage="3"] .wf-collapseDebris,
 .waterfall-original[data-stage="4"] .wf-collapseDebris { opacity: 1; transform: translateY(0); }
 .waterfall-original[data-stage="4"] .wf-gorge,
 .waterfall-original[data-stage="4"] .wf-gorgeLabel { opacity: 1; }
 .waterfall-original .wf-poolCurrent { animation: poolFlow 1.1s linear infinite; }
 .waterfall-original .wf-riverCurrent { animation: riverFlow 1.25s linear infinite; }
 .waterfall-original .wf-impactRipple { animation: poolRipple 1.7s ease-out infinite; }
 .waterfall-original .wf-impactRipple + .wf-impactRipple { animation-delay: -.85s; }
 .waterfall-original .wf-poolFoam circle { animation: poolFoam 1.25s ease-in-out infinite alternate; }
 .waterfall-original .wf-poolFoam circle:nth-child(2) { animation-delay: -.35s; }
 .waterfall-original .wf-poolFoam circle:nth-child(3) { animation-delay: -.7s; }
 .waterfall-original .wf-poolFoam circle:nth-child(4) { animation-delay: -1s; }
 .waterfall-original .wf-erosionParticles circle { animation: abrade .9s ease-in-out infinite alternate; }
 .waterfall-original[data-flow="low"] .wf-erosionParticles { opacity: .55; }
 .waterfall-original[data-flow="high"] .wf-erosionParticles circle { animation-duration: .42s; }
/* Stage snapshots are atomic. Decorative flow pauses at its current phase. */
 .waterfall-original * { transition: none !important; }
 .waterfall-original[data-playing="false"] * { animation-play-state: paused !important; }

.waterfall-original *{animation:none!important;transition:none!important}.waterfall-original{position:relative;width:100%;height:100%;display:grid;place-items:center;background:#f5fcfd}.waterfall-original svg{width:100%;height:100%;object-fit:contain}.waterfall-original .wf-labels text{font-size:25px;font-weight:600}.waterfall-stage{position:absolute;left:3%;top:3%;font-weight:700;background:#fff;padding:7px 12px;border-radius:12px;color:#007b8c}
