.fx-pour { display: grid; gap: 16px; }
.fx-pour .fx-wrap { display: grid; gap: 16px; min-width: 0; color: var(--fx-ink); }
.fx-pour .fx-note, .fx-pour .fx-right { margin: 0; color: var(--fx-ink); }
.fx-pour .fx-how ol { margin: 0; padding-left: 24px; }
.fx-pour .fx-how li { margin: 4px 0; }
.fx-pour .fx-goal { margin: 0; font-weight: 800; }
.fx-pour .fx-help { margin: 0; font-size: 14px; }
.fx-pour .fx-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fx-pour .fx-control { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-pour .fx-control legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.fx-pour .fx-btn { box-sizing: border-box; min-height: 44px; padding: 10px 12px; color: var(--fx-ink); }
.fx-pour .fx-btn:has(input:checked) { background: var(--fx-mint-pale); color: var(--fx-ink); }
.fx-pour .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
.fx-pour .fx-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.fx-pour .fx-card { --fx-level: 0; --fx-tip: 0deg; --fx-tilt: 0deg; --fx-full: 1; --fx-poured: hidden; --fx-waiting: visible; display: grid; gap: 10px; min-width: 0; }
.fx-pour .fx-part { display: grid; align-items: center; min-height: 44px; margin: 0; text-align: center; font-weight: 800; }
.fx-pour .fx-stage { position: relative; box-sizing: border-box; height: 380px; padding: 0; perspective: 700px; overflow: hidden; }
.fx-pour .fx-stage::before { content: ""; position: absolute; top: 110px; left: 8px; right: 8px; border-top: 3px solid var(--fx-muted); }
.fx-pour .fx-bottle { position: absolute; top: 10px; left: 50%; width: 54px; height: 90px; background: var(--fx-ink); clip-path: polygon(34% 0, 66% 0, 66% 19%, 94% 34%, 94% 100%, 6% 100%, 6% 34%, 34% 19%); transform-origin: 50% 15%; transform-style: preserve-3d; transform: translateX(-50%) rotateZ(var(--fx-tip)) rotateY(var(--fx-tilt)) translateZ(8px); transition: transform 0.7s; }
.fx-pour .fx-bottle-inner { position: absolute; inset: 3px; overflow: hidden; background: var(--fx-paper); clip-path: polygon(34% 0, 66% 0, 66% 19%, 94% 34%, 94% 100%, 6% 100%, 6% 34%, 34% 19%); }
.fx-pour .fx-bottle-fill { position: absolute; inset: 0; background: var(--fx-sky); transform-origin: center bottom; transform: scaleY(var(--fx-full)); transition: transform 0.7s; }
.fx-pour .fx-jug-wrap { position: absolute; top: 130px; left: 50%; width: 138px; height: 192px; transform: translateX(-50%); perspective: 600px; }
.fx-pour .fx-jug { position: relative; width: 138px; height: 192px; transform-style: preserve-3d; transform: rotateX(-5deg) rotateY(-12deg); transition: transform 0.7s; }
.fx-pour .fx-back { position: absolute; box-sizing: border-box; top: 4px; bottom: 12px; left: 0; right: 0; border: 2px solid var(--fx-muted); background: var(--fx-paper); transform: translateZ(-10px); }
.fx-pour .fx-side { position: absolute; box-sizing: border-box; top: 4px; left: 0; width: 20px; height: 176px; border: 1px solid var(--fx-muted); background: var(--fx-sky-pale); transform-origin: left center; transform: translateZ(10px) rotateY(90deg); }
.fx-pour .fx-rim { position: absolute; box-sizing: border-box; top: 4px; left: 0; width: 138px; height: 20px; border: 2px solid var(--fx-muted); transform-origin: center top; transform: translateZ(10px) rotateX(-90deg); }
.fx-pour .fx-handle { position: absolute; box-sizing: border-box; top: 32px; right: -22px; width: 24px; height: 82px; border: 4px solid var(--fx-muted); border-radius: 10px; transform: translateZ(-2px); }
.fx-pour .fx-front { position: absolute; inset: 0; transform: translateZ(10px); }
.fx-pour .fx-water { position: absolute; box-sizing: border-box; left: 3px; right: 3px; bottom: 12px; height: calc(var(--fx-level) * 0.14px); border-top: 2px solid var(--fx-sky); background: var(--fx-sky-pale); visibility: var(--fx-poured); transition: height 0.7s; }
.fx-pour .fx-scale { position: absolute; inset: 0; width: 138px; height: 192px; overflow: visible; }
.fx-pour .fx-outline { fill: none; stroke: var(--fx-ink); stroke-width: 2; }
.fx-pour .fx-ticks { fill: none; stroke: var(--fx-muted); stroke-width: 1; }
.fx-pour .fx-thousand { fill: none; stroke: var(--fx-ink); stroke-width: 2; }
.fx-pour .fx-scale text { fill: var(--fx-ink); font-size: 12px; }
.fx-pour .fx-jug-caption { position: absolute; top: 330px; left: 0; right: 0; margin: 0; text-align: center; font-size: 14px; font-weight: 700; }
.fx-pour .fx-low { display: block; visibility: hidden; margin-top: 2px; font-size: 12px; }
.fx-pour .fx-says { display: grid; min-width: 0; }
.fx-pour .fx-says > p { grid-area: 1 / 1; visibility: hidden; overflow-wrap: break-word; }
.fx-pour .fx-card .fx-says > p { padding: 12px; font-size: 14px; line-height: 1.5; }
.fx-pour .fx-says > .fx-waiting { visibility: var(--fx-waiting); }
.fx-pour .fx-says > .fx-poured { visibility: var(--fx-poured); }
.fx-pour .fx-global > .fx-start { visibility: visible; }
.fx-pour .fx-order { display: block; margin-top: 8px; }
.fx-pour:has(#fx-pour-a:checked) .fx-a { --fx-level: 750; --fx-tip: 65deg; --fx-tilt: -18deg; --fx-full: 0; --fx-poured: visible; --fx-waiting: hidden; }
.fx-pour:has(#fx-pour-b:checked) .fx-b { --fx-level: 700; --fx-tip: 65deg; --fx-tilt: -18deg; --fx-full: 0; --fx-poured: visible; --fx-waiting: hidden; }
.fx-pour:has(#fx-pour-c:checked) .fx-c { --fx-level: 650; --fx-tip: 65deg; --fx-tilt: -18deg; --fx-full: 0; --fx-poured: visible; --fx-waiting: hidden; }
.fx-pour:has(#fx-pour-d:checked) .fx-d { --fx-level: 1100; --fx-tip: 65deg; --fx-tilt: -18deg; --fx-full: 0; --fx-poured: visible; --fx-waiting: hidden; }
.fx-pour:has(input:checked) .fx-global > .fx-start { visibility: hidden; }
.fx-pour:has(input:checked) .fx-global > .fx-keep { visibility: visible; }
.fx-pour:has(#fx-pour-a:checked):has(#fx-pour-b:checked):has(#fx-pour-c:checked):has(#fx-pour-d:checked) .fx-global > .fx-keep { visibility: hidden; }
.fx-pour:has(#fx-pour-a:checked):has(#fx-pour-b:checked):has(#fx-pour-c:checked):has(#fx-pour-d:checked) .fx-global > .fx-done, .fx-pour:has(#fx-pour-a:checked):has(#fx-pour-b:checked):has(#fx-pour-c:checked):has(#fx-pour-d:checked) .fx-low { visibility: visible; }
.fx-pour:has(#fx-pour-a:checked):has(#fx-pour-b:checked):has(#fx-pour-c:checked):has(#fx-pour-d:checked) .fx-c .fx-back { box-shadow: 0 0 0 5px var(--fx-mint); }
@container (max-width: 760px) { .fx-pour .fx-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 480px) { .fx-pour .fx-gallery, .fx-pour .fx-controls { grid-template-columns: 1fr; } .fx-pour .fx-btn { width: 100%; } }