:root {
  --paper: #f3ecdc;
  --ink: #142f38;
  --ink-soft: rgba(20, 47, 56, 0.58);
  --amber: #f3a13a;
  --amber-deep: #dc672d;
  --mint: #88bcb2;
  --coral: #e7664c;
  --glass-width: min(48vw, 196px);
  --glass-height: min(31.5vh, 278px);
  --glass-radius-top: 20px;
  --glass-radius-bottom: 46px;
  --font: "Avenir Next", "SF Pro Rounded", "Trebuchet MS", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  touch-action: none;
  user-select: none;
}

button {
  color: inherit;
  font: inherit;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.game {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 7%, rgba(255, 255, 255, .82), transparent 31%),
    linear-gradient(155deg, #f7f1e5 0%, var(--paper) 58%, #e9dfcd 100%);
}

.ambient,
.ambient__grain,
.fx-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ambient {
  z-index: -2;
  overflow: hidden;
}

.ambient__sun {
  position: absolute;
  top: 13%;
  left: -24vw;
  width: min(82vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(236, 194, 116, .22);
  box-shadow: inset -18px -22px 50px rgba(176, 105, 46, .04);
}

.ambient__line {
  position: absolute;
  height: 1px;
  background: rgba(20, 47, 56, .09);
  transform: rotate(-8deg);
  transform-origin: left center;
}

.ambient__line--one {
  top: 30%;
  left: -10%;
  width: 72%;
}

.ambient__line--two {
  top: 33%;
  right: -24%;
  width: 65%;
}

.ambient__grain {
  opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.topbar {
  position: absolute;
  z-index: 5;
  top: calc(18px + env(safe-area-inset-top, 0px));
  left: 22px;
  right: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.progress {
  min-width: 96px;
  text-align: right;
}

.progress__label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.progress__dots {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.progress__dots i {
  width: 17px;
  height: 4px;
  border-radius: 20px;
  background: rgba(20, 47, 56, .13);
  transition: background-color .28s ease, transform .28s ease;
}

.progress__dots i.is-done {
  background: var(--mint);
}

.progress__dots i.is-current {
  background: var(--ink);
  transform: scaleX(1.16);
}

.stage {
  position: absolute;
  inset: 78px 0 148px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}

.target-card {
  position: absolute;
  z-index: 4;
  top: clamp(22px, 4.5vh, 48px);
  left: 24px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(10px);
  animation: targetIn .5s .2s cubic-bezier(.2,.75,.25,1) forwards;
}

.target-card__eyebrow {
  margin-bottom: -2px;
  color: var(--ink-soft);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .17em;
}

.target-card__value {
  font-size: clamp(2.4rem, 12vw, 3.55rem);
  font-weight: 900;
  letter-spacing: -.085em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pitcher {
  position: absolute;
  z-index: 4;
  top: clamp(6px, 1.5vh, 18px);
  right: -7px;
  width: min(46vw, 203px);
  transform: translate(34px, -11px) rotate(-8deg);
  transform-origin: 76% 32%;
  filter: drop-shadow(0 16px 15px rgba(20, 47, 56, .12));
  transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .3s ease;
}

.pitcher.is-pouring {
  transform: translate(8px, 9px) rotate(-43deg);
  filter: drop-shadow(0 21px 17px rgba(20, 47, 56, .18));
}

.pitcher svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.pitcher__handle,
.pitcher__glass {
  fill: url(#jugGlass);
  stroke: rgba(20, 47, 56, .43);
  stroke-width: 3.2;
  stroke-linejoin: round;
}

.pitcher__handle {
  fill: none;
  stroke-width: 12;
}

.pitcher__tea {
  fill: url(#jugTea);
  opacity: .92;
}

.pitcher__rim,
.pitcher__spout,
.pitcher__shine {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pitcher__shine {
  stroke: white;
  stroke-width: 6;
  opacity: .64;
}

.stream {
  --stream-angle: 2deg;
  --stream-travel: 72px;
  position: absolute;
  z-index: 3;
  top: clamp(120px, 18vh, 162px);
  left: calc(50% + 30px);
  width: 22px;
  height: calc(100% - var(--glass-height) - 102px);
  min-height: 76px;
  opacity: 0;
  transform: rotate(var(--stream-angle)) scaleY(.12);
  transform-origin: top center;
  transition: opacity .14s ease, transform .18s ease;
  pointer-events: none;
}

.stream.is-visible {
  opacity: 1;
  transform: rotate(var(--stream-angle)) scaleY(1);
}

.stream__core {
  position: absolute;
  top: 0;
  left: 6px;
  bottom: 0;
  width: 10px;
  clip-path: polygon(15% 0, 85% 0, 75% 100%, 25% 100%);
  border-radius: 50% 48% 45% 54%;
  background: linear-gradient(90deg, #e2762e, #ffd576 48%, #ef9137);
  box-shadow: 0 0 0 1px rgba(173, 84, 35, .12), 3px 0 8px rgba(236, 134, 45, .22);
  animation: streamWobble .16s ease-in-out infinite alternate;
}

.stream i {
  position: absolute;
  top: 0;
  left: calc(6px + (var(--i) % 2) * 3px);
  width: 5px;
  height: 8px;
  border-radius: 55% 48% 60% 42%;
  background: #f7aa43;
  opacity: .5;
  animation: streamDrop .58s calc(var(--i) * -.13s) linear infinite;
}

.glass-wrap {
  position: relative;
  z-index: 2;
  width: min(72vw, 290px);
  height: calc(var(--glass-height) + 64px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  animation: glassIn .72s cubic-bezier(.16,.86,.24,1) both;
}

.glass-shadow {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 42px;
  width: calc(var(--glass-width) * 1.13);
  height: 28px;
  border-radius: 50%;
  background: rgba(25, 52, 57, .16);
  filter: blur(9px);
  transform: translateX(-50%) rotate(-2deg);
  transition: transform .35s ease;
}

.glass {
  position: relative;
  width: var(--glass-width);
  height: var(--glass-height);
  transition: width .42s cubic-bezier(.2,.8,.2,1), height .42s cubic-bezier(.2,.8,.2,1);
}

.glass__clip,
.glass__edge {
  position: absolute;
  inset: 0;
  border-radius: var(--glass-radius-top) var(--glass-radius-top) var(--glass-radius-bottom) var(--glass-radius-bottom);
}

.glass__clip {
  overflow: hidden;
  background: linear-gradient(105deg, rgba(255,255,255,.47), rgba(219,238,234,.18) 45%, rgba(130,174,167,.14));
  box-shadow: inset 14px 0 24px rgba(255,255,255,.28), inset -12px 0 22px rgba(80,124,120,.06);
}

.glass__edge {
  z-index: 5;
  border: 3px solid rgba(20, 47, 56, .63);
  border-top-width: 2px;
  box-shadow: inset 0 -8px 12px rgba(20, 47, 56, .05), 0 18px 24px rgba(20, 47, 56, .09);
  pointer-events: none;
}

.glass__rim {
  position: absolute;
  z-index: 7;
  top: -7px;
  left: -5px;
  right: -5px;
  height: 15px;
  border: 3px solid rgba(20, 47, 56, .62);
  border-radius: 50%;
  background: rgba(247, 250, 243, .34);
  box-shadow: inset 0 4px 3px rgba(255,255,255,.55);
}

.glass__highlight {
  position: absolute;
  z-index: 4;
  top: 11%;
  left: 14px;
  width: 10px;
  height: 45%;
  border-radius: 20px;
  background: rgba(255,255,255,.58);
  filter: blur(.4px);
  transform: rotate(2deg);
}

.glass--wide {
  --glass-width: min(56vw, 225px);
  --glass-height: min(27.5vh, 240px);
  --glass-radius-top: 42px;
  --glass-radius-bottom: 58px;
}

.glass--short {
  --glass-width: min(54vw, 216px);
  --glass-height: min(25.5vh, 220px);
  --glass-radius-top: 14px;
  --glass-radius-bottom: 24px;
}

.liquid {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 0;
  background:
    linear-gradient(90deg, rgba(180, 79, 37, .16), transparent 17%, rgba(255, 218, 118, .26) 48%, rgba(167, 66, 29, .16)),
    linear-gradient(180deg, #f7ad3e 0%, #eb8a34 52%, var(--amber-deep) 100%);
  transition: height .05s linear;
  box-shadow: inset 0 11px 18px rgba(255, 226, 139, .22);
}

.liquid__wave {
  position: absolute;
  left: -16%;
  top: -5px;
  width: 132%;
  height: 11px;
  border-radius: 50%;
  background: #f7b149;
  transform-origin: center;
  transition: top .18s ease, height .18s ease, transform .18s ease;
}

.liquid__wave--back {
  top: -6px;
  background: #d96c2d;
  opacity: .48;
  transform: rotate(1deg) scaleY(.55);
}

.liquid__wave--front {
  box-shadow: inset 0 5px 6px rgba(255, 220, 119, .35);
  animation: gentleWave 1.8s ease-in-out infinite alternate;
}

.is-pouring .liquid__wave--front,
.glass.is-pouring .liquid__wave--front {
  animation: activeWave .32s ease-in-out infinite alternate;
}

.glass.is-settled .liquid__wave {
  top: 0;
  height: 4px;
  animation: none;
  transform: scaleY(.45);
}

.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: 4px;
  width: var(--size);
  height: var(--size);
  left: var(--left);
  border: 1.5px solid rgba(255, 238, 185, .67);
  border-radius: 50%;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.45);
  animation: bubbleRise var(--duration) ease-in forwards;
}

.target-line {
  position: absolute;
  z-index: 3;
  left: 8px;
  right: 8px;
  height: 1px;
  display: flex;
  align-items: center;
  transition: bottom .42s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
}

.target-line span {
  flex: 1;
  border-top: 2px dashed rgba(20, 47, 56, .72);
}

.target-line b {
  position: absolute;
  right: 2px;
  min-width: 36px;
  padding: 2px 4px;
  border-radius: 8px;
  background: rgba(245, 239, 224, .82);
  color: var(--ink);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .05em;
}

.target-line b::after {
  content: "%";
}

.verdict {
  position: absolute;
  z-index: 10;
  top: 43%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 188px;
  padding: 13px 25px 15px;
  border: 2px solid var(--ink);
  border-radius: 100px;
  background: rgba(250, 246, 235, .94);
  box-shadow: 0 12px 28px rgba(20, 47, 56, .15);
  opacity: 0;
  transform: translate(-50%, 16px) rotate(-2deg) scale(.88);
  pointer-events: none;
}

.verdict.is-visible {
  animation: verdictPop .52s cubic-bezier(.15,.9,.2,1.3) forwards;
}

.verdict.is-perfect {
  background: #fff2bd;
  border-color: #b65b28;
  color: #9b461e;
}

.verdict.is-miss {
  background: #fbe3dd;
  border-color: var(--coral);
  color: #a33b30;
}

.verdict__label {
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.verdict__score {
  margin-top: -2px;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.fx-canvas {
  z-index: 12;
  width: 100%;
  height: 100%;
}

.controls {
  position: absolute;
  z-index: 8;
  left: 20px;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.instruction {
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}

.pour-button {
  --content-shift: 7px;
  position: relative;
  width: min(100%, 390px);
  height: 72px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 28px;
  border: 0;
  border-radius: 26px;
  background: var(--ink);
  color: #fffaf0;
  box-shadow: 0 14px 0 #0a2027, 0 22px 34px rgba(20, 47, 56, .22);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .11em;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  outline: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
  transform: translateY(0);
  transition: transform .12s ease, box-shadow .12s ease, opacity .2s ease;
}

.pour-button:active,
.pour-button.is-pressed {
  --content-shift: 2.5px;
  transform: translateY(9px) scale(.992);
  box-shadow: 0 5px 0 #0a2027, 0 12px 21px rgba(20, 47, 56, .2);
}

.pour-button:disabled {
  cursor: default;
  opacity: .48;
}

.pour-button__drop {
  position: relative;
  flex: 0 0 auto;
  width: 15px;
  height: 20px;
  border-radius: 60% 45% 58% 46%;
  background: var(--amber);
  transform: translateY(var(--content-shift)) rotate(45deg);
  box-shadow: inset 3px 3px 0 rgba(255,255,255,.27);
}

#pour-button-label {
  display: block;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  line-height: 1;
  text-align: center;
  transform: translateY(var(--content-shift));
}

.pour-button__meter {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--meter, 0%);
  height: 4px;
  background: var(--amber);
  transition: width .06s linear;
}

.finale {
  position: absolute;
  z-index: 30;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 28px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 196, 70, .35), transparent 30%),
    linear-gradient(155deg, #fff8e7, #eadbc0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .38s ease, visibility .38s ease;
}

.finale.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.finale__kicker {
  margin-bottom: 5px;
  color: var(--coral);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.finale__copy {
  margin: 25px 0 26px;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.finale__button {
  --content-shift: 5px;
  min-width: 210px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0 28px;
  border: 0;
  border-radius: 21px;
  background: var(--ink);
  color: #fffaf0;
  box-shadow: 0 10px 0 #0a2027, 0 17px 25px rgba(20,47,56,.2);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}

.finale__button > span {
  display: block;
  line-height: 1;
  transform: translateY(var(--content-shift));
}

.finale__button:active {
  --content-shift: 1.5px;
  transform: translateY(7px);
  box-shadow: 0 3px 0 #0a2027, 0 8px 15px rgba(20,47,56,.18);
}

.finale__score {
  color: var(--ink);
  font-size: clamp(5.6rem, 25vw, 8rem);
  font-weight: 900;
  letter-spacing: -.11em;
  line-height: .95;
  font-variant-numeric: tabular-nums;
}

#play-btn {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.game.is-shaking .glass-wrap {
  animation: spillShake .36s ease both;
}

@keyframes targetIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glassIn {
  from { opacity: 0; transform: translateY(42px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes gentleWave {
  from { transform: translateX(-2%) rotate(-1deg) scaleY(.72); }
  to { transform: translateX(2%) rotate(1.5deg) scaleY(1); }
}

@keyframes activeWave {
  from { transform: translateX(-3%) rotate(-2deg) scaleY(.6); }
  to { transform: translateX(4%) rotate(2deg) scaleY(1.35); }
}

@keyframes streamWobble {
  from { transform: translateX(-1px) scaleX(.86); }
  to { transform: translateX(1px) scaleX(1.08); }
}

@keyframes streamDrop {
  from { transform: translateY(-8px) scale(.6); opacity: 0; }
  20% { opacity: .9; }
  to { transform: translateY(var(--stream-travel)) scale(1.05); opacity: 0; }
}

@keyframes bubbleRise {
  0% { transform: translateY(0) scale(.7); opacity: 0; }
  18% { opacity: .75; }
  100% { transform: translateY(calc(var(--rise) * -1)) translateX(var(--drift)) scale(1.08); opacity: 0; }
}

@keyframes verdictPop {
  0% { opacity: 0; transform: translate(-50%, 16px) rotate(-2deg) scale(.88); }
  70% { opacity: 1; transform: translate(-50%, -3px) rotate(1deg) scale(1.035); }
  100% { opacity: 1; transform: translate(-50%, 0) rotate(-1deg) scale(1); }
}

@keyframes spillShake {
  0%, 100% { transform: translateX(0) rotate(0); }
  25% { transform: translateX(-7px) rotate(-1.2deg); }
  55% { transform: translateX(6px) rotate(1deg); }
  78% { transform: translateX(-3px) rotate(-.5deg); }
}

@media (max-height: 680px) {
  :root {
    --glass-height: min(29vh, 198px);
    --glass-width: min(43vw, 172px);
  }

  .stage { inset: 68px 0 128px; }
  .target-card { top: 12px; }
  .pitcher { top: -5px; width: min(40vw, 170px); }
  .stream { top: 105px; }
  .glass-wrap { height: calc(var(--glass-height) + 48px); }
  .glass-shadow { bottom: 29px; }
  .controls { bottom: calc(11px + env(safe-area-inset-bottom, 0px)); gap: 7px; }
  .pour-button { height: 62px; border-radius: 22px; }
}

@media (min-width: 700px) {
  :root {
    --glass-width: min(34vw, 268px);
    --glass-height: min(36vh, 360px);
    --glass-radius-top: 26px;
    --glass-radius-bottom: 56px;
  }

  .glass--wide {
    --glass-width: min(40vw, 310px);
    --glass-height: min(31vh, 310px);
    --glass-radius-top: 52px;
    --glass-radius-bottom: 72px;
  }

  .glass--short {
    --glass-width: min(38vw, 292px);
    --glass-height: min(29vh, 290px);
    --glass-radius-top: 18px;
    --glass-radius-bottom: 30px;
  }

  .topbar {
    top: calc(24px + env(safe-area-inset-top, 0px));
    left: 34px;
    right: 34px;
  }

  .progress__label { font-size: .82rem; margin-bottom: 9px; }
  .progress__dots { gap: 7px; }
  .progress__dots i { width: 22px; height: 5px; }

  .stage { inset: 92px 0 168px; }

  .target-card {
    top: clamp(28px, 5vh, 56px);
    left: calc(50% - 300px);
  }

  .target-card__eyebrow { font-size: .74rem; letter-spacing: .18em; }
  .target-card__value { font-size: clamp(3.2rem, 7vw, 4.4rem); }

  .pitcher {
    top: clamp(10px, 2vh, 24px);
    right: calc(50% - 250px);
    width: min(28vw, 280px);
  }

  .glass-wrap {
    width: min(52vw, 400px);
    height: calc(var(--glass-height) + 80px);
  }

  .glass-shadow {
    bottom: 52px;
    height: 34px;
  }

  .glass__edge { border-width: 3.5px; }
  .glass__rim {
    top: -9px;
    left: -6px;
    right: -6px;
    height: 18px;
    border-width: 3.5px;
  }

  .target-line b { min-width: 44px; font-size: .8rem; padding: 3px 6px; }

  .verdict {
    min-width: 230px;
    padding: 16px 32px 18px;
  }

  .verdict__label { font-size: .74rem; }
  .verdict__score { font-size: 2.45rem; }

  .controls {
    left: 34px;
    right: 34px;
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    gap: 14px;
  }

  .instruction { font-size: .86rem; }

  .pour-button {
    width: min(100%, 460px);
    height: 84px;
    border-radius: 30px;
    gap: 17px;
    font-size: .92rem;
    box-shadow: 0 16px 0 #0a2027, 0 26px 38px rgba(20, 47, 56, .22);
  }

  .pour-button__drop { width: 18px; height: 24px; }

  .finale__kicker { font-size: .82rem; }
  .finale__score { font-size: clamp(6.4rem, 16vw, 9.5rem); }
  .finale__copy { font-size: 1.15rem; margin: 28px 0 30px; }
  .finale__button {
    min-width: 240px;
    height: 66px;
    border-radius: 24px;
    font-size: .94rem;
  }
}

@media (min-width: 900px) {
  :root {
    --glass-width: min(30vw, 310px);
    --glass-height: min(38vh, 420px);
    --glass-radius-top: 30px;
    --glass-radius-bottom: 64px;
  }

  .glass--wide {
    --glass-width: min(36vw, 360px);
    --glass-height: min(33vh, 360px);
    --glass-radius-top: 58px;
    --glass-radius-bottom: 80px;
  }

  .glass--short {
    --glass-width: min(34vw, 340px);
    --glass-height: min(31vh, 340px);
    --glass-radius-top: 20px;
    --glass-radius-bottom: 34px;
  }

  .topbar {
    top: calc(28px + env(safe-area-inset-top, 0px));
    left: 44px;
    right: 44px;
  }

  .progress__label { font-size: .9rem; }
  .progress__dots i { width: 26px; height: 6px; }

  .stage { inset: 104px 0 188px; }

  .target-card { left: calc(50% - 340px); }
  .target-card__value { font-size: clamp(3.8rem, 6vw, 5.2rem); }

  .pitcher {
    right: calc(50% - 290px);
    width: min(24vw, 320px);
  }

  .glass-wrap {
    width: min(46vw, 460px);
    height: calc(var(--glass-height) + 92px);
  }

  .controls {
    left: 44px;
    right: 44px;
    bottom: calc(34px + env(safe-area-inset-bottom, 0px));
  }

  .instruction { font-size: .94rem; }

  .pour-button {
    width: min(100%, 520px);
    height: 92px;
    border-radius: 32px;
    font-size: 1rem;
  }

  .verdict {
    min-width: 260px;
    padding: 18px 36px 20px;
  }

  .verdict__score { font-size: 2.8rem; }

  .finale__score { font-size: clamp(7.2rem, 14vw, 11rem); }
  .finale__copy { font-size: 1.25rem; }
  .finale__button {
    min-width: 270px;
    height: 72px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
