/* Vinegar lesson. All rules scoped under .vng-* */
.vng-one { display: flex; justify-content: center; }
.vng-row { display: flex; gap: 18px; align-items: center; justify-content: center; }
.vng-side { display: flex; flex-direction: column; gap: 12px; width: 130px; }
.vng-day { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--text); }
.vng-g .gt i { background: var(--gold); }

/* the bottle */
.vng-bottle { width: 150px; height: auto; display: block; overflow: visible; }
.vng-glass { fill: rgba(255,255,255,.05); stroke: var(--line-strong); stroke-width: 2.5; stroke-linejoin: round; }
.vng-wine { fill: #7a1f3d; }
.vng-skin { fill: #efe6c8; opacity: 0; }
.vng-cork { fill: #b98a55; stroke: #7d5a33; stroke-width: 1.5; }

/* the surface close-up */
.vng-close { width: 100%; max-width: 330px; height: auto; display: block; border-radius: 14px; overflow: hidden; }
.vng-airbg { fill: rgba(170,200,255,.10); }
.vng-airt { fill: var(--dim); font: 700 13px var(--sans); }
.vng-winebg { fill: #5a1830; }
.vng-al { fill: var(--violet-bright); transition: fill .3s; }
.vng-ac { fill: var(--gold); stroke: var(--gold-deep); stroke-width: 1; }
.vng-bug { fill: var(--mint); stroke: var(--mint-ink); stroke-width: 1; transition: opacity .4s; }
.vng-corked .vng-bug { opacity: .4; }
.vng-corkbar { fill: #b98a55; }
.vng-o2 circle { fill: #fff; opacity: 0; }
.vng-live .vng-o2 circle { animation: vngSink var(--d) linear 3; animation-delay: var(--o); }
@keyframes vngSink { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: .85; } 100% { transform: translateY(26px); opacity: 0; } }
.vng-legend { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; font-size: 13px; font-weight: 700; color: var(--dim); margin-top: 10px; }
.vng-legend span { display: inline-flex; align-items: center; gap: 6px; }
.vng-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.vng-ka { background: var(--violet-bright); }
.vng-kc { background: var(--gold); }
.vng-kb { background: var(--mint); width: 16px !important; height: 7px !important; border-radius: 4px !important; }

/* the barrel */
.vng-barrel { width: 100%; max-width: 270px; height: auto; display: block; }
.vng-staves { fill: #8a5a32; stroke: #5d3a1d; stroke-width: 2.5; }
.vng-full { fill: #7a1f3d; }
.vng-hoop { fill: none; stroke: #3b3b40; stroke-width: 5; }
.vng-rim { fill: #5d3a1d; }
.vng-arrow { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
.vng-arrt { fill: var(--gold); font: 800 13px var(--sans); }

/* photos */
.hero.vng-photo img { width: 230px; max-height: 34vh; object-fit: cover; border-radius: 14px; filter: none; }

/* tall bottle or wide pan */
.vng-race { width: 100%; }
.vng-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vng-two .choice { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px; }
.vng-two .choice svg { order: -1; width: 110px; height: auto; }
.vng-vl { font-size: 15px; font-weight: 800; }
.vng-bar { display: block; width: 86%; height: 8px; border-radius: 999px; background: var(--raised); overflow: hidden; opacity: 0; transition: opacity .3s; }
.vng-bar b { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 999px; }
.vng-run .vng-bar { opacity: 1; }
.vng-vwine { fill: #7a1f3d; }
.vng-vglass { fill: none; stroke: var(--line-strong); stroke-width: 2.5; stroke-linejoin: round; }
.vng-vskin { fill: var(--mint); opacity: 0; transition: opacity .5s; }
.vng-run .vng-vskin { opacity: 1; }
.vng-note { font-size: 12px; color: var(--faint); text-align: center; margin-top: 10px; }

/* faster vinegar */
.vng-stages { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 340px; margin: 0 auto; }
.vng-stage { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line); opacity: 0; transition: opacity .5s, border-color .5s, transform .5s cubic-bezier(.2,.8,.2,1); transform: translateY(6px); }
.vng-stage.vng-on { opacity: 1; border-color: var(--line-strong); transform: none; }
.vng-stage svg { width: 56px; height: 52px; flex: none; }
.vng-stage div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vng-stage span { font-size: 13px; font-weight: 700; color: var(--dim); }
.vng-stage b { font-size: 19px; font-weight: 800; color: var(--gold); }
.vng-ivw { fill: #7a1f3d; }
.vng-iskin { stroke: var(--mint); stroke-width: 4; }
.vng-iglass { fill: none; stroke: var(--line-strong); stroke-width: 2.5; stroke-linejoin: round; }
.vng-shav { fill: none; stroke: #c99a5e; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vng-drip { stroke: #b0335a; stroke-width: 3; stroke-linecap: round; }
.vng-ibub circle { fill: rgba(255,255,255,.75); }
.vng-on .vng-ibub circle { animation: vngBub 1.4s ease-in 4; }
@keyframes vngBub { from { transform: translateY(8px); opacity: .2; } }

/* apple juice chain */
.vng-chain { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.vng-chain i { font-style: normal; color: var(--faint); font-weight: 800; }
.vng-ch { padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line-strong); font-size: 14px; font-weight: 800; text-align: center; max-width: 120px; }
.vng-q { color: var(--faint); min-width: 54px; }
.vng-qon { color: var(--text); border-color: var(--gold); animation: vngPop .35s cubic-bezier(.2,.8,.2,1); }
@keyframes vngPop { from { transform: scale(.7); } }

@media (max-height: 700px) {
  .vng-bottle { width: 118px; }
  .vng-close { max-width: 290px; }
  .vng-barrel { max-width: 220px; }
  .vng-two .choice svg { width: 84px; }
  .hero.vng-photo img { width: 190px; max-height: 30vh; }
  .vng-stage { padding: 8px 10px; }
  .vng-stage svg { width: 46px; height: 42px; }
}
