/* Pour: a tall frosted glass. Hold to pour, the liquid climbs; let go on the line. */
.stage { flex-direction: column; gap: 10px; cursor: pointer; }
.glass { position: relative; width: min(56%, 230px, calc((100dvh - 330px) * .55)); aspect-ratio: 1 / 1.8; border: 3px solid rgba(244,243,239,.75); border-top-color: rgba(244,243,239,.35); border-radius: 6px 6px 26px 26px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 40%, rgba(255,255,255,.07)); box-shadow: 0 18px 50px rgba(0,0,0,.45), inset 0 0 30px rgba(255,255,255,.04); overflow: visible; }
.liquid { position: absolute; left: 0; right: 0; bottom: 0; height: 0%; border-radius: 0 0 22px 22px; background: linear-gradient(180deg, #a9c6e8, #6f97c8); box-shadow: inset 0 6px 14px rgba(255,255,255,.25); }
.liquid .foam { position: absolute; left: 0; right: 0; top: -5px; height: 10px; border-radius: 50%; background: rgba(240,246,255,.85); opacity: 0; }
.liquid.on .foam { opacity: 1; }
.liquid.spill { background: linear-gradient(180deg, #e7a39b, #c4461a); }
.liquid.settle { animation: wob .6s ease; }
@keyframes wob { 30% { transform: scaleY(1.015); } 60% { transform: scaleY(.995); } }
.line { position: absolute; left: -14px; right: -14px; height: 0; border-top: 2px dashed var(--paper); transition: opacity .25s; }
.line span { position: absolute; left: calc(100% + 6px); top: -9px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--label); white-space: nowrap; }
.line.hide { opacity: 0; }
.rival { position: absolute; left: -8px; right: -8px; height: 0; border-top: 3px solid var(--opp); }
.rival[hidden] { display: none; }
.stream { position: absolute; left: 50%; width: 8px; margin-left: -4px; top: -60px; bottom: 0; border-radius: 4px; background: linear-gradient(#a9c6e8, #6f97c8); transform-origin: top; transform: scaleY(0); transition: transform .08s; }
.stream.on { transform: scaleY(1); }
.readout { min-height: 28px; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; text-shadow: var(--glow); }
.readout small { font-size: 13px; color: var(--muted); font-weight: 600; text-shadow: none; margin-left: 6px; }
