.popdrop-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #fff 0%, var(--pink-50) 45%, var(--muted) 100%);
}

.popdrop-hero {
  position: relative;
  overflow: hidden;
  padding: 2rem 0 1.5rem;
}

.popdrop-hero__blob {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
}

.popdrop-hero__blob--left {
  top: -6rem;
  left: -6rem;
  width: 18rem;
  height: 18rem;
  color: var(--pink-100);
}

.popdrop-hero__blob--right {
  bottom: -4rem;
  right: -4rem;
  width: 14rem;
  height: 14rem;
  color: var(--teal-100);
}

.popdrop-hero__content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: var(--pink-50);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.popdrop-hero h1 {
  margin: 1rem 0 0.5rem;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
}

.popdrop-hero h1 span {
  color: var(--primary);
}

.popdrop-hero__tagline {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 1.05rem;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.stat-card__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
}

.stat-card__value {
  margin: 0.25rem 0 0;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-card__sub {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.popdrop-layout {
  display: grid;
  gap: 1rem;
  padding-bottom: 2.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.card__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.card__subtitle {
  margin: 0 0 1rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.challenge-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ready-message {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
}

.challenge-category {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
}

.challenge-question {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

.choice-grid {
  display: grid;
  gap: 0.6rem;
}

.choice-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.9rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-md);
  background: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.choice-btn:hover:not(:disabled) {
  border-color: rgba(255, 62, 165, 0.45);
}

.choice-btn.is-selected {
  border-color: var(--primary);
  background: var(--pink-50);
  color: var(--primary);
}

.choice-btn.is-correct {
  border-color: var(--secondary);
  background: #e6fffa;
  color: #0f766e;
}

.choice-btn.is-wrong {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
}

.choice-btn:disabled {
  cursor: default;
}

.result-banner {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.result-banner--success {
  background: #e6fffa;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.result-banner--partial {
  background: var(--pink-50);
  color: #9d174d;
  border: 1px solid var(--border);
}

.result-banner--done {
  background: linear-gradient(135deg, rgba(255, 62, 165, 0.08), rgba(124, 58, 237, 0.08));
  color: var(--foreground);
  border: 1px solid var(--border);
}

.progress-block {
  margin-top: 0.5rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.progress-track {
  height: 0.85rem;
  border-radius: var(--radius-full);
  background: var(--pink-100);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.4s ease;
}

.rewards-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reward-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--muted);
  border: 1px solid transparent;
}

.reward-item.is-unlocked {
  background: var(--pink-50);
  border-color: var(--border);
}

.reward-item__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.reward-item__points {
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  min-width: 4.5rem;
}

.reward-item__name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
}

.reward-item__status {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--muted-foreground);
}

.reward-item.is-unlocked .reward-item__status {
  color: #0f766e;
}

.placeholder-card {
  text-align: center;
  background: linear-gradient(135deg, #f8fafc, var(--pink-50));
}

.placeholder-card__icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.mode-notice {
  margin: 0;
  padding: 0.85rem 1rem;
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.45;
}

.compliance-note {
  margin: 0;
  padding: 0 0 2rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  line-height: 1.5;
}

.account-card__message {
  margin-bottom: 1rem !important;
}

.lookup-result {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  color: var(--foreground);
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-line;
}

.lookup-result.is-error {
  border-color: rgba(220, 80, 80, 0.35);
}

.lookup-note {
  margin: 0.85rem 0 0;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  line-height: 1.45;
}

.account-form {
  display: grid;
  gap: 0.65rem;
}

.account-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.account-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
}

.account-input:focus {
  outline: 2px solid rgba(255, 62, 165, 0.25);
  border-color: var(--primary);
}

.account-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}

.account-checkbox input {
  margin-top: 0.15rem;
}

.account-card__saved {
  margin: 0;
  font-weight: 600;
}

.account-card__hint {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.btn--sm {
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
}

.reward-redeem-btn {
  margin-top: 0.35rem;
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.staff-page {
  min-height: 100vh;
  background: var(--muted);
  padding: 2rem 0;
}

.staff-card {
  max-width: 28rem;
  margin: 0 auto;
}

.staff-warning {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.85rem;
  line-height: 1.45;
}

.hidden {
  display: none !important;
}

.challenge-mode.hidden {
  display: none !important;
}

.drink-prompt {
  margin-bottom: 1rem;
}

.drink-builder {
  display: grid;
  gap: 0.85rem;
  max-width: 100%;
  overflow-x: hidden;
}

.is-sodarista-mode .challenge-badge {
  margin-bottom: 0.35rem;
}

.sodarista-game__head {
  text-align: center;
}

.sodarista-game__title {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 800;
}

.sodarista-game__tagline {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.sodarista-family-badge {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f766e;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(255, 62, 165, 0.12));
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.sodarista-cup-stage {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  padding: 0.15rem 0 0.1rem;
}

.drink-cup-hero {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  width: 100%;
}

.sodarista-cup-status {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pop-pink, #ff3ea5);
  animation: ready-pulse 1.6s ease-in-out infinite;
}

.sodarista-step-progress {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
  opacity: 0.85;
}

@keyframes ready-pulse {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}

.sodarista-step-bar {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 20rem;
}

.sodarista-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.2s;
}

.sodarista-step span {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  background: #fff;
  border: 2px solid rgba(255, 62, 165, 0.2);
}

.sodarista-step.is-active {
  opacity: 1;
  transform: scale(1.04);
  color: var(--pop-pink, #ff3ea5);
}

.sodarista-step.is-active span {
  border-color: var(--pop-pink, #ff3ea5);
  background: rgba(255, 62, 165, 0.1);
}

.sodarista-step.is-done {
  opacity: 1;
  color: #0f766e;
}

.sodarista-step.is-done span {
  border-color: #14b8a6;
  background: rgba(20, 184, 166, 0.15);
  color: transparent;
  position: relative;
}

.sodarista-step.is-done span::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #0f766e;
  font-size: 0.85rem;
}

.sodarista-panel {
  padding: 0.65rem 0.7rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.65);
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sodarista-panel.is-active {
  border-color: rgba(255, 62, 165, 0.28);
  box-shadow: 0 4px 18px rgba(255, 62, 165, 0.08);
}

.sodarista-panel__title {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f766e;
}

.sodarista-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.sodarista-option {
  position: relative;
  min-height: 2.85rem;
  padding: 0.5rem 0.65rem 0.5rem 2rem;
  border: 2px solid rgba(255, 62, 165, 0.18);
  border-radius: 1rem;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  overflow-wrap: anywhere;
  text-align: left;
  line-height: 1.2;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.sodarista-option::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 50%;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--option-swatch, rgba(255, 62, 165, 0.25));
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.sodarista-option--cream::before {
  background: linear-gradient(180deg, #fff 40%, var(--option-swatch, #f5f5f5));
}

.sodarista-option:hover:not(:disabled) {
  border-color: rgba(255, 62, 165, 0.45);
  transform: translateY(-1px);
}

.sodarista-option.is-selected {
  border-color: var(--pop-pink, #ff3ea5);
  background: rgba(255, 62, 165, 0.1);
  box-shadow: 0 0 0 2px rgba(255, 62, 165, 0.12);
  animation: tile-pulse 2.2s ease-in-out infinite;
}

.sodarista-option.is-selected::after {
  content: "✓";
  position: absolute;
  top: 0.28rem;
  right: 0.45rem;
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--pop-pink, #ff3ea5);
  line-height: 1;
}

@keyframes tile-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(255, 62, 165, 0.12);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(255, 62, 165, 0.22);
  }
}

.sodarista-option:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.sodarista-game__status {
  display: grid;
  gap: 0.35rem;
  min-height: 0;
}

.pour-celebration {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  padding: 0.85rem 0.75rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(255, 62, 165, 0.12), rgba(45, 212, 191, 0.18));
  border: 2px solid rgba(255, 62, 165, 0.25);
  animation: celebration-pop 0.5s ease;
}

.pour-celebration__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--pop-pink, #ff3ea5);
}

.pour-celebration__badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff3ea5, #14b8a6);
  box-shadow: 0 4px 14px rgba(255, 62, 165, 0.3);
}

.pour-celebration__sub {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f766e;
}

@keyframes celebration-pop {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.feedback-box {
  padding: 0.55rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.hint-box {
  padding: 0.5rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(45, 212, 191, 0.14);
  border: 1px solid rgba(20, 184, 166, 0.28);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: #0f766e;
  overflow-wrap: anywhere;
}

.drink-cup-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.35rem 0 0.15rem;
  max-width: 100%;
}

.drink-cup__straw {
  position: absolute;
  top: -0.15rem;
  right: 1.15rem;
  width: 0.35rem;
  height: 3.25rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff3ea5 0%, #ff6b6b 55%, #14b8a6 100%);
  transform: rotate(8deg);
  z-index: 2;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.12);
  opacity: 0.92;
}

.drink-cup {
  --cup-base: #eef6fb;
  --cup-fill: 8%;
  --cup-syrup-color: transparent;
  --cup-syrup-opacity: 0;
  --cup-cream-height: 0%;
  position: relative;
  width: 7.25rem;
  height: 8.5rem;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-top: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 0 0 1.5rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 240, 248, 0.15) 40%,
    rgba(230, 255, 250, 0.2) 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(255, 62, 165, 0.18),
    inset 0 -0.5rem 1rem rgba(20, 184, 166, 0.08),
    0 10px 28px rgba(255, 62, 165, 0.18),
    0 4px 12px rgba(20, 184, 166, 0.12);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.drink-cup__glass-shine {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.55) 0%,
    transparent 38%,
    transparent 62%,
    rgba(255, 255, 255, 0.15) 100%
  );
}

.drink-cup__liquid {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: var(--cup-fill);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--cup-base) 70%, #fff),
    var(--cup-base)
  );
  transition: height 0.4s ease, background 0.4s ease;
}

.drink-cup__syrup {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: calc(var(--cup-fill) - 6%);
  background: linear-gradient(
    180deg,
    transparent 15%,
    color-mix(in srgb, var(--cup-syrup-color) 55%, transparent) 55%,
    var(--cup-syrup-color)
  );
  opacity: var(--cup-syrup-opacity);
  mix-blend-mode: soft-light;
  pointer-events: none;
  transition: height 0.4s ease, opacity 0.4s ease;
}

.drink-cup__cream {
  position: absolute;
  left: 4%;
  right: 4%;
  top: calc(100% - var(--cup-fill) - var(--cup-cream-height) + 2%);
  z-index: 3;
  height: var(--cup-cream-height);
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.88) 100%);
  border-radius: 0.75rem 0.75rem 0 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease, height 0.4s ease, top 0.4s ease;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.7);
}

.drink-cup__ice {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.drink-cup__ice span {
  position: absolute;
  border-radius: 0.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.drink-cup__ice span:nth-child(1) {
  width: 0.65rem;
  height: 0.55rem;
  left: 22%;
  bottom: 38%;
  transform: rotate(-12deg);
}

.drink-cup__ice span:nth-child(2) {
  width: 0.55rem;
  height: 0.5rem;
  left: 48%;
  bottom: 44%;
  transform: rotate(8deg);
}

.drink-cup__ice span:nth-child(3) {
  width: 0.6rem;
  height: 0.48rem;
  left: 68%;
  bottom: 36%;
  transform: rotate(14deg);
}

.drink-cup.has-base .drink-cup__ice {
  opacity: 0.75;
}

.drink-cup.has-cream .drink-cup__cream {
  opacity: 1;
  transform: translateY(0);
}

.drink-cup[data-cream-type="foam"] .drink-cup__cream {
  border-radius: 1.1rem 1.1rem 0 0;
  box-shadow:
    inset 0 4px 0 rgba(255, 255, 255, 0.95),
    0 2px 8px rgba(255, 255, 255, 0.35);
}

.drink-cup[data-cream-type="poured"] .drink-cup__cream {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.35));
  border-radius: 0.4rem 0.4rem 0 0;
}

.drink-cup.has-base .drink-cup__liquid {
  animation: cup-fill-pop 0.35s ease;
}

.drink-cup.is-ready {
  box-shadow:
    inset 0 0 0 1px rgba(255, 62, 165, 0.25),
    0 12px 32px rgba(255, 62, 165, 0.22),
    0 0 20px rgba(20, 184, 166, 0.15);
}

.drink-cup.is-ready .drink-cup__glow {
  opacity: 0.55;
}

.drink-cup__glow {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background: radial-gradient(circle, rgba(255, 62, 165, 0.2), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.drink-cup__bubbles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.drink-cup__bubbles span {
  position: absolute;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  animation: drink-bubble 2.4s ease-in-out infinite;
  opacity: 0;
}

.drink-cup.has-base .drink-cup__bubbles span {
  opacity: 1;
}

.drink-cup__bubbles span:nth-child(1) {
  left: 24%;
  bottom: 22%;
  animation-delay: 0s;
}

.drink-cup__bubbles span:nth-child(2) {
  left: 42%;
  bottom: 32%;
  animation-delay: 0.5s;
}

.drink-cup__bubbles span:nth-child(3) {
  left: 58%;
  bottom: 18%;
  animation-delay: 1s;
}

.drink-cup__bubbles span:nth-child(4) {
  left: 70%;
  bottom: 28%;
  animation-delay: 1.5s;
}

.drink-cup__bubbles span:nth-child(5) {
  left: 34%;
  bottom: 12%;
  animation-delay: 0.8s;
}

.drink-cup__sparkle {
  position: absolute;
  top: -0.2rem;
  right: 0.1rem;
  z-index: 5;
  font-size: 1.1rem;
  color: #ffd700;
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}

.drink-cup.is-celebrate {
  animation: cup-celebrate 0.75s ease;
}

.drink-cup.is-celebrate .drink-cup__sparkle {
  animation: cup-sparkle 1.4s ease forwards;
}

.drink-cup.is-celebrate .drink-cup__glow {
  opacity: 0.85;
  animation: glow-pulse 1.2s ease infinite;
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.95;
  }
}

@keyframes cup-fill-pop {
  0% {
    transform: scaleY(0.92);
  }
  60% {
    transform: scaleY(1.03);
  }
  100% {
    transform: scaleY(1);
  }
}

@keyframes cup-celebrate {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-4px) scale(1.04);
  }
}

@keyframes cup-sparkle {
  0% {
    opacity: 0;
    transform: scale(0.4) rotate(-10deg);
  }
  40% {
    opacity: 1;
    transform: scale(1.1) rotate(8deg);
  }
  100% {
    opacity: 0.85;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes drink-bubble {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-1.25rem);
    opacity: 0.95;
  }
}

.drink-cup__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
}

.selected-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  background: var(--pink-50);
  border: 1px dashed rgba(255, 62, 165, 0.35);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.selected-ingredients.is-empty::before {
  content: "Tap ingredients to fill your cup";
  color: var(--muted-foreground);
  font-size: 0.85rem;
  font-weight: 600;
}

.ingredient-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--foreground);
}

.ingredient-chip__remove {
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.ingredient-tile {
  min-height: 3rem;
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-md);
  background: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.ingredient-tile:hover:not(:disabled) {
  border-color: rgba(255, 62, 165, 0.45);
  transform: translateY(-1px);
}

.ingredient-tile.is-selected {
  border-color: var(--secondary);
  background: #e6fffa;
  color: #0f766e;
}

.ingredient-tile:disabled {
  opacity: 0.55;
  cursor: default;
}

.drink-builder__actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.6rem;
}

.sodarista-mix-btn {
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(255, 62, 165, 0.25);
}

.sodarista-mix-btn.is-ready-pulse {
  animation: mix-btn-pulse 1.5s ease-in-out infinite;
}

@keyframes mix-btn-pulse {
  0%,
  100% {
    box-shadow: 0 6px 16px rgba(255, 62, 165, 0.25);
  }
  50% {
    box-shadow: 0 8px 22px rgba(255, 62, 165, 0.42);
  }
}

.drink-builder__actions .btn {
  min-height: 3rem;
  touch-action: manipulation;
  border-radius: 1rem;
}

.attempt-counter {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted-foreground);
  line-height: 1.4;
}

.drink-builder.is-solved .drink-cup__liquid {
  height: 78%;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.55), rgba(255, 62, 165, 0.42));
}

.dev-panel {
  margin-top: 1rem;
  padding-bottom: 2rem;
  border-top: 2px dashed var(--border);
  background: #fafafa;
}

.dev-panel__details {
  padding-top: 1rem;
}

.dev-panel__summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.dev-panel__grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.dev-panel__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dev-panel__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.dev-panel__field code {
  font-size: 0.85rem;
  word-break: break-all;
}

.dev-panel__state {
  margin: 0 0 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  background: #111;
  color: #f5f5f5;
  font-size: 0.72rem;
  line-height: 1.4;
  overflow-x: auto;
  max-height: 14rem;
}

.dev-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 430px) {
  .sodarista-panel:not(.is-active) {
    display: none;
  }

  .sodarista-game__head {
    padding: 0 0.25rem;
  }

  .sodarista-game__title {
    font-size: 1.2rem;
  }

  .drink-cup {
    width: 6.75rem;
    height: 8rem;
  }
}

@media (max-width: 480px) {
  .drink-builder__actions {
    grid-template-columns: 1fr;
  }

  .sodarista-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .popdrop-layout {
    overflow-x: hidden;
  }

  .card {
    overflow-x: hidden;
  }

  .is-sodarista-mode {
    padding-bottom: 0.5rem;
  }
}

  .drink-cup {
    width: 6.75rem;
    height: 7.75rem;
  }

  .ingredient-chip__remove {
    min-width: 2rem;
    min-height: 2rem;
  }
}

@media (min-width: 768px) {
  .ingredient-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reward-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .reward-item__status {
    max-width: 14rem;
    text-align: right;
  }

  .dev-panel__grid {
    grid-template-columns: 1fr 1fr;
  }

  .popdrop-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .popdrop-layout__side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .dev-panel__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-row {
    max-width: 28rem;
  }
}
