:root {
  --bg-base: #1a1613;
  --bg-gradient-end: #2a211a;
  --bg-elevated: rgba(255, 255, 255, 0.12);
  --stroke-soft: rgba(255, 255, 255, 0.18);
  --text-primary: #f5f1e8;
  --text-secondary: rgba(245, 241, 232, 0.7);
  --brand-accent: #111111;
  --cta-surface: #f4f4f6;
  --glow-amber: #f7c56b;
  --glow-peach: #f2b27a;
  --glow-cream: #ffd9a6;
  --state-success: #84dea5;
  --state-warning: #ffd48a;
  --state-error: #ff9f9f;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;

  --radius-main: 26px;
  --radius-secondary: 18px;
  --blur: blur(22px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 50% 10%, rgba(243, 180, 95, 0.14) 0%, rgba(49, 38, 28, 0) 36%),
    radial-gradient(circle at 14% 50%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 36%),
    radial-gradient(circle at 86% 50%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 36%),
    radial-gradient(circle at 50% 12%, #3a2b1f 0%, var(--bg-base) 45%, var(--bg-gradient-end) 100%);
  font-family: "Manrope", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: radial-gradient(rgba(255, 255, 255, 0.75) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

.app-shell {
  max-width: 460px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-4) calc(112px + env(safe-area-inset-bottom));
}

.topbar {
  margin-bottom: var(--space-4);
}

.utility-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-row-main {
  margin-top: var(--space-3);
}

.utility-brand {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.bar-selector-wrap {
  min-width: 0;
  flex: 1;
  max-width: 260px;
  position: relative;
}

.bar-dropdown {
  position: relative;
}

.bar-dropdown-trigger {
  width: 100%;
  min-height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 242, 235, 0.12);
  color: var(--text-primary);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  text-align: left;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.bar-dropdown.is-open .bar-dropdown-trigger {
  border-color: rgba(255, 217, 166, 0.32);
  background: rgba(255, 242, 235, 0.16);
}

.bar-dropdown-label,
#bar-dropdown-label {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  line-height: 1.2;
}

.bar-dropdown-caret {
  color: rgba(245, 241, 232, 0.8);
  font-size: 16px;
  transform: translateY(-1px);
}

.bar-dropdown.is-open .bar-dropdown-caret {
  transform: rotate(180deg) translateY(1px);
}

.bar-dropdown-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 280px;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 242, 235, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
  z-index: 20;
  padding: 6px 0;
}

.bar-option {
  width: 100%;
  min-height: 46px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 0 14px;
  font-size: 15px;
}

.bar-option:hover {
  background: rgba(255, 255, 255, 0.14);
}

.bar-option.is-selected {
  background: rgba(255, 255, 255, 0.26);
}

.bar-option-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-option-check {
  color: #70c96b;
  font-size: 18px;
  min-width: 16px;
}

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

.utility-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  cursor: pointer;
}

.utility-icon.is-disabled,
.utility-icon:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mixology-title {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(245, 241, 232, 0.82);
}

.brand-cn {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
}

.brand-en {
  margin: var(--space-1) 0 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 20px;
  color: var(--text-secondary);
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

.glass-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-main);
  backdrop-filter: var(--blur);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
}

.shaker-panel,
.favorites-panel,
.recommendation-card,
.modal-panel {
  padding: var(--space-6);
}

.section-label {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.page-title {
  margin: var(--space-3) 0 var(--space-2);
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
}

.helper-text,
.mix-hint,
.empty-copy,
.caption {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 22px;
}

.shaker-zone {
  --pour-color: #f2b27a;
  --pour-glow: rgba(242, 178, 122, 0.45);
  --liquid-level: 24%;
  margin-top: var(--space-5);
  min-height: 280px;
  border-radius: var(--radius-secondary);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.2));
}

.shaker-zone.drag-over {
  border-color: var(--glow-cream);
  box-shadow: inset 0 0 28px rgba(255, 217, 166, 0.25);
}

.shaker-visual {
  position: relative;
  width: min(88%, 240px);
  aspect-ratio: 231 / 219;
  margin-inline: auto;
}

.shaker-image {
  position: relative;
  z-index: 3;
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.5;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.34));
}

.shaker-liquid-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.shaker-liquid-fill {
  position: absolute;
  left: 28%;
  right: 35%;
  bottom: 10.5%;
  height: 54%;
  clip-path: polygon(
    9% 0%,
    91% 0%,
    88% 14%,
    86% 30%,
    84% 48%,
    81% 68%,
    76% 100%,
    24% 100%,
    19% 68%,
    16% 48%,
    14% 30%,
    12% 14%
  );
  overflow: hidden;
}

.shaker-liquid-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.03) 36%, rgba(0, 0, 0, 0.08)),
    var(--pour-color);
  transform-origin: center bottom;
  transform: translateY(calc(100% - var(--liquid-level)));
  transition: transform 340ms ease;
}

.shaker-liquid-fill::after {
  content: "";
  position: absolute;
  left: 28%;
  right: 35%;
  height: 6px;
  top: calc(100% - var(--liquid-level) - 3px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  opacity: 0.28;
  filter: blur(1px);
  transition: top 340ms ease, opacity 220ms ease;
}

.shaker-liquid-stream {
  position: absolute;
  left: 50%;
  top: 5%;
  width: 10px;
  height: 30%;
  transform: translateX(-50%) scaleY(0.08);
  transform-origin: top center;
  border-radius: 999px;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.08) 24%, transparent 88%),
    var(--pour-color);
  box-shadow:
    0 0 10px var(--pour-glow);
  z-index: 2;
}

.shaker-zone.pouring .shaker-liquid-stream {
  animation: shaker-pour-stream 700ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.shaker-zone.pouring .shaker-liquid-fill::before {
  animation: shaker-liquid-slosh 760ms ease;
}

.shaker-zone.pouring .shaker-liquid-fill::after {
  opacity: 0.55;
  animation: shaker-surface-glint 600ms ease;
}

.selected-orbs {
  position: absolute;
  z-index: 4;
  left: 30%;
  top: 16%;
  width: 50%;
  height: 56%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: var(--space-2);
}

@keyframes shaker-pour-stream {
  0% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.08);
  }
  15% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
  }
  72% {
    opacity: 0.95;
    transform: translateX(-50%) scaleY(0.96);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.18);
  }
}

@keyframes shaker-liquid-slosh {
  0%,
  100% {
    filter: saturate(1);
  }
  35% {
    filter: saturate(1.15) brightness(1.05);
  }
}

@keyframes shaker-surface-glint {
  0%,
  100% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(8%);
  }
  60% {
    transform: translateX(-5%);
  }
}

.orb-bank-wrap {
  margin-top: var(--space-5);
}

.orb-bank {
  margin-top: var(--space-3);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

.orb,
.selected-orb {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-3);
  font-size: 14px;
  line-height: 18px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.orb {
  user-select: none;
}

.orb[data-selected="true"] {
  border-color: var(--glow-cream);
  box-shadow: 0 0 18px rgba(255, 217, 166, 0.28);
}

.selected-orb {
  position: relative;
  gap: var(--space-2);
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 999px;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
}

.remove-orb {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  min-height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(22, 18, 15, 0.9);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.selected-orb-label {
  display: none;
}

.btn {
  width: 100%;
  margin-top: var(--space-4);
  border: 0;
  min-height: 48px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--cta-surface);
  color: var(--brand-accent);
}

.btn-primary:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--stroke-soft);
}

.btn-sub {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent 0%, rgba(16, 12, 9, 0.92) 25%);
}

.tab-btn {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-weight: 600;
}

.tab-btn.active {
  border-color: var(--glow-cream);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  background: rgba(5, 4, 4, 0.6);
}

.hidden {
  display: none;
}

.modal-panel {
  width: 100%;
  max-width: 460px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-btn {
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
}

.modal-step {
  display: none;
  margin-top: var(--space-4);
}

.modal-step.active {
  display: block;
}

.modal-title {
  margin: 0 0 var(--space-3);
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
}

.share-modal-panel {
  width: min(520px, calc(100vw - 24px));
  max-width: 520px;
  max-height: calc(100dvh - 24px);
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-x: hidden;
  overflow-y: auto;
}

.share-card-preview {
  position: relative;
  margin-top: 0;
  width: min(100%, clamp(220px, calc((100dvh - 260px) * 0.6875), 100%));
  max-width: 100%;
  aspect-ratio: 11 / 16;
  min-height: 0;
  margin-inline: auto;
  border-radius: 24px;
  overflow: hidden;
  --share-orb-color: #8e7ab5;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 30% 18%, rgba(79, 219, 227, 0.14), rgba(0, 0, 0, 0) 36%),
    radial-gradient(circle at 74% 22%, rgba(255, 121, 89, 0.24), rgba(0, 0, 0, 0) 40%),
    radial-gradient(circle at 50% 60%, rgba(255, 84, 48, 0.2), rgba(0, 0, 0, 0) 44%),
    linear-gradient(180deg, #0f1216 0%, #050607 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 22px 50px rgba(0, 0, 0, 0.32);
}

.mock-share-bg {
  position: absolute;
  inset: 0;
}

.mock-share-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.25;
}

.mock-share-glow-a {
  width: 34%;
  aspect-ratio: 1;
  left: 8%;
  top: 12%;
  background: rgba(181, 215, 255, 0.45);
}

.mock-share-glow-b {
  width: 40%;
  aspect-ratio: 1;
  right: 8%;
  top: 16%;
  background: rgba(247, 197, 107, 0.55);
}

.mock-share-glow-c {
  width: 54%;
  aspect-ratio: 1;
  left: 23%;
  bottom: 16%;
  background: rgba(255, 255, 255, 0.12);
}

.mock-share-card {
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.22);
  padding: 12px 12px 6px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1.15fr) auto auto auto auto;
  gap: 10px;
  min-height: 0;
}

.mock-share-brand-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
}

.mock-share-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #171310;
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
}

.mock-share-brand-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 12px;
  height: 12px;
  background: linear-gradient(180deg, #f7c56b, #f2b27a);
  clip-path: polygon(0 0, 100% 0, 36% 100%, 100% 100%, 0 100%, 64% 0);
}

.mock-share-brand-copy p {
  margin: 0;
}

.mock-share-brand-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.mock-share-brand-sub {
  margin-top: 2px;
  font-size: 10px;
  color: rgba(245, 241, 232, 0.65);
}

.mock-share-mood-panel,
.mock-share-rec-panel {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.mock-share-mood-panel {
  display: none;
}

.mock-share-mood-panel {
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.mock-share-mood-orb {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.4), rgba(255,255,255,0) 45%),
    radial-gradient(circle at 50% 50%, rgba(181, 215, 255, 0.92) 0%, rgba(75, 59, 109, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 18px rgba(142, 122, 181, 0.35);
}

.mock-share-mood-copy p {
  margin: 0;
}

.mock-share-kicker {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(245, 241, 232, 0.65);
}

.mock-share-mood-title {
  margin-top: 4px;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  line-height: 1.1;
  color: #f5f1e8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-share-mood-sub {
  margin-top: 4px;
  font-size: 10px;
  color: rgba(245, 241, 232, 0.65);
}

.mock-share-hero {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #201913;
  overflow: hidden;
  min-height: 0;
  display: none;
}

.mock-share-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(247, 197, 107, 0.22), rgba(242, 178, 122, 0.1) 46%, rgba(255, 217, 166, 0) 72%);
  opacity: 0.9;
}

.mock-share-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(242,178,122,0.12), transparent 45%),
    radial-gradient(circle at 75% 38%, rgba(247,197,107,0.12), transparent 48%),
    radial-gradient(circle at 50% 86%, rgba(255,255,255,0.04), transparent 52%);
}

.mock-share-drink-shadow {
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 42%;
  height: 8%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
}

.mock-share-drink {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}

.mock-share-hero .mock-share-photo-drink {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding-top: 0;
  z-index: 3;
  pointer-events: none;
}

.mock-share-hero .mock-photo-glass {
  position: relative;
  width: 32%;
  min-width: 108px;
  max-width: 150px;
  height: 66%;
  min-height: 150px;
  max-height: 220px;
  border-radius: 0 0 24px 24px;
  background:
    linear-gradient(180deg, rgba(255, 207, 120, 0.95) 0%, rgba(255, 113, 43, 0.96) 48%, rgba(163, 22, 22, 0.98) 100%);
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 8px 24px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(255, 122, 41, 0.24);
}

.mock-share-hero .mock-photo-glass::before {
  content: "";
  position: absolute;
  inset: 16px 8px 10px;
  border-radius: 0 0 18px 18px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.18) 10%, rgba(255, 255, 255, 0.02) 38%, rgba(0, 0, 0, 0.1) 80%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 2px, rgba(255, 255, 255, 0.01) 2px 10px);
  opacity: 0.9;
}

.mock-share-hero .mock-photo-glass::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -12px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 3px 14px rgba(255, 255, 255, 0.14);
}

.mock-share-hero .mock-photo-ice {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 241, 230, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: rotate(24deg);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
}

.mock-share-hero .mock-photo-ice-a {
  left: 12px;
  top: 16px;
}

.mock-share-hero .mock-photo-ice-b {
  left: 38px;
  top: 10px;
}

.mock-share-hero .mock-photo-ice-c {
  left: 64px;
  top: 18px;
}

.mock-share-hero .mock-photo-mint {
  position: absolute;
  width: 46px;
  height: 46px;
  right: -16px;
  top: -20px;
}

.mock-share-hero .mock-photo-mint::before,
.mock-share-hero .mock-photo-mint::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 34px;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, #8ce06d, #2f8c4b);
  border: 1px solid rgba(255, 255, 255, 0.36);
  transform-origin: bottom center;
}

.mock-share-hero .mock-photo-mint::before {
  left: 10px;
  top: 3px;
  transform: rotate(-26deg);
}

.mock-share-hero .mock-photo-mint::after {
  left: 22px;
  top: 1px;
  transform: rotate(18deg);
}

.mock-share-drink-bowl {
  position: absolute;
  left: 50%;
  top: 19%;
  width: 34%;
  height: 47%;
  transform: translateX(-50%);
  clip-path: polygon(18% 0, 82% 0, 70% 100%, 30% 100%);
  background: linear-gradient(180deg, #ffcc7d 0%, #f49c5b 52%, #cf6339 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.mock-share-drink-bowl::before {
  content: "";
  position: absolute;
  inset: 6% 9% 8%;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 2px, rgba(255,255,255,0.01) 2px 12px);
}

.mock-share-drink-stem {
  position: absolute;
  left: 50%;
  top: 63%;
  width: 2.4%;
  height: 8%;
  transform: translateX(-50%);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
}

.mock-share-drink-base {
  position: absolute;
  left: 50%;
  top: 71%;
  width: 20%;
  height: 4.2%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mock-share-spark {
  position: absolute;
  width: 1.2%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: #ffd9a6;
}

.mock-share-spark.s1 { left: 41%; top: 28%; }
.mock-share-spark.s2 { left: 45%; top: 33%; width: 1%; }
.mock-share-spark.s3 { left: 53%; top: 30%; width: 1%; }
.mock-share-spark.s4 { left: 58%; top: 36%; }

.mock-share-garnish-line {
  position: absolute;
  left: 57%;
  top: 24%;
  width: 14%;
  height: 0;
  border-top: 2px solid #9fd19a;
  transform: rotate(-18deg);
  transform-origin: left center;
}

.mock-share-garnish-dot {
  position: absolute;
  left: 70%;
  top: 20%;
  width: 3.4%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: #6fa95d;
}

.mock-share-rec-panel {
  padding: 12px;
}

.mock-share-rec-panel p {
  margin: 0;
}

.mock-share-rec-panel .mock-share-kicker {
  display: none;
}

.mock-share-rec-mainview {
  position: relative;
  height: 132px;
  margin-bottom: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.10), rgba(8, 10, 14, 0.28)),
    url("./Drink.png"),
    radial-gradient(circle at 22% 28%, rgba(103, 229, 214, 0.09), transparent 48%),
    radial-gradient(circle at 78% 24%, rgba(255, 123, 68, 0.15), transparent 52%),
    radial-gradient(circle at 50% 86%, rgba(255, 255, 255, 0.05), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  background-size: cover, cover, auto, auto, auto, auto;
  background-position: center, center, center, center, center, center;
  overflow: hidden;
}

.mock-share-rec-drink-shadow {
  display: none;
}

.mock-share-rec-drink {
  display: none;
}

.mock-share-rec-drink-bowl {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 34%;
  height: 66px;
  transform: translateX(-50%);
  clip-path: polygon(20% 0, 80% 0, 67% 100%, 33% 100%);
  background: linear-gradient(180deg, #ffcc7d 0%, #f49c5b 52%, #cf6339 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 0 24px rgba(255, 122, 41, 0.14);
}

.mock-share-rec-drink-bowl::before {
  content: "";
  position: absolute;
  inset: 5px 8px 6px;
  background: linear-gradient(125deg, rgba(255,255,255,0.14), rgba(255,255,255,0.01) 45%, rgba(0,0,0,0.06));
  opacity: 0.9;
}

.mock-share-rec-drink-stem {
  position: absolute;
  left: 50%;
  top: 84px;
  width: 2px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}

.mock-share-rec-drink-base {
  position: absolute;
  left: 50%;
  top: 100px;
  width: 20%;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
}

.mock-share-rec-garnish-line {
  position: absolute;
  left: 57%;
  top: 24px;
  width: 12%;
  height: 0;
  border-top: 2px solid #9fd19a;
  transform: rotate(-18deg);
  transform-origin: left center;
}

.mock-share-rec-garnish-dot {
  position: absolute;
  left: 68%;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #6fa95d;
}

.mock-share-rec-title {
  margin-top: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  line-height: 1.05;
  color: #f5f1e8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-share-rec-desc {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(245, 241, 232, 0.7);
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
}

.mock-share-chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mock-share-chip {
  min-width: 0;
  flex: 1 1 0;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  padding: 0 10px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #f5f1e8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#share-chip-abv {
  flex: 0 1 22%;
}

#share-chip-balance {
  flex: 1.35 1 0;
}

#share-chip-vibe {
  flex: 0.95 1 0;
}

.mock-share-footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 8px;
  align-items: center;
}

.mock-share-cta {
  min-width: 0;
  min-height: 42px;
  border-radius: 16px;
  border: 0;
  background: linear-gradient(90deg, #f7c56b 0%, #f2b27a 50%, #ffd9a6 100%);
  color: #111111;
  font-weight: 700;
  font-size: 12px;
}

.mock-share-qr {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  display: grid;
  place-items: center;
  padding: 6px;
  overflow: hidden;
  justify-self: end;
}

.mock-share-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  background: #fff;
}

.mock-share-footnote {
  margin: 0;
  font-size: 10px;
  color: rgba(245, 241, 232, 0.65);
  line-height: 1.2;
  margin-top: -6px;
}

.share-card-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.share-card-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.8;
}

.share-card-orb-a {
  width: 180px;
  height: 180px;
  left: 16px;
  top: 20px;
  background: rgba(83, 224, 211, 0.22);
}

.share-card-orb-b {
  width: 220px;
  height: 220px;
  right: 18px;
  top: 30px;
  background: rgba(255, 103, 61, 0.26);
}

.share-card-orb-c {
  width: 260px;
  height: 260px;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  background: rgba(255, 144, 53, 0.22);
}

.share-card-drink {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding-top: clamp(42px, 9vh, 64px);
}

.share-card-glass {
  position: relative;
  width: clamp(112px, 28vw, 138px);
  height: clamp(220px, 55vw, 272px);
  border-radius: 0 0 32px 32px;
  background:
    linear-gradient(180deg, rgba(255, 207, 120, 0.92) 0%, rgba(255, 113, 43, 0.95) 46%, rgba(163, 22, 22, 0.98) 100%);
  border: 2px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 10px 30px rgba(0, 0, 0, 0.38),
    0 0 38px rgba(255, 122, 41, 0.28);
}

.share-card-glass::before {
  content: "";
  position: absolute;
  inset: 20px 10px 12px;
  border-radius: 0 0 22px 22px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.2) 10%, rgba(255, 255, 255, 0.02) 38%, rgba(0, 0, 0, 0.1) 80%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0 2px, rgba(255, 255, 255, 0.02) 2px 10px);
  opacity: 0.85;
}

.share-card-glass::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -16px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.16);
}

.share-card-ice {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 241, 230, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.45);
  transform: rotate(24deg);
  top: 18px;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.14);
}

.share-card-ice-a {
  left: 16px;
}

.share-card-ice-b {
  left: 52px;
  top: 10px;
}

.share-card-ice-c {
  left: 86px;
  top: 18px;
}

.share-card-mint {
  position: absolute;
  width: 58px;
  height: 58px;
  right: -20px;
  top: -26px;
}

.share-card-mint::before,
.share-card-mint::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 38px;
  border-radius: 16px 16px 6px 6px;
  background: linear-gradient(180deg, #8ce06d, #2f8c4b);
  border: 1px solid rgba(255, 255, 255, 0.36);
  transform-origin: bottom center;
}

.share-card-mint::before {
  left: 10px;
  top: 2px;
  transform: rotate(-26deg);
}

.share-card-mint::after {
  left: 24px;
  top: 0;
  transform: rotate(18deg);
}

.share-card-ribbon {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin: clamp(34px, 6.4vh, 84px) 16px 0;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(238, 194, 94, 0.2);
  border: 1px solid rgba(255, 224, 130, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 185, 0.12),
    0 8px 22px rgba(111, 83, 26, 0.25);
  backdrop-filter: blur(8px);
}

.share-brand {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.share-review-label {
  text-align: center;
  font-size: 13px;
  color: rgba(245, 241, 232, 0.92);
  font-weight: 600;
}

.share-badge-icons {
  display: inline-flex;
  gap: 6px;
}

.share-badge {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #3b3021;
  font-weight: 800;
  font-size: 12px;
}

.share-card-copy {
  position: relative;
  z-index: 2;
  margin: 18px 16px 16px;
  padding: 16px 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(9, 9, 10, 0.24), rgba(9, 9, 10, 0.48)),
    radial-gradient(circle at 50% 20%, rgba(255, 115, 62, 0.22), rgba(0, 0, 0, 0) 58%);
  backdrop-filter: blur(12px);
}

.share-card-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
}

.share-card-desc {
  margin: 10px 0 0;
  color: rgba(245, 241, 232, 0.92);
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.share-actions-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

.share-actions-grid .btn {
  margin-top: 0;
}

.share-actions-grid .btn:first-child {
  grid-column: 1 / span 2;
}

.share-actions-grid .btn:nth-child(2) {
  grid-column: 3 / span 2;
}

.share-action-btn {
  min-height: 48px;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: rgba(245, 241, 232, 0.96);
}

.share-action-btn svg.share-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-icon-xhs {
  width: 30px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.share-icon-wechat {
  width: 23px;
  height: 23px;
}

.share-icon-wechat path:first-of-type,
.share-icon-wechat path:last-of-type,
.share-icon-wechat circle {
  fill: currentColor;
  stroke: none;
}

.share-icon-instagram {
  width: 22px;
  height: 22px;
}

.share-icon-fill {
  fill: currentColor;
  stroke: none;
}

.share-icon-x {
  width: 19px;
  height: 19px;
}

.share-icon-x path {
  fill: currentColor;
  stroke: none;
}

.input-label {
  margin: var(--space-3) 0 var(--space-2);
  font-size: 16px;
  color: var(--text-secondary);
}

textarea,
input[type="color"] {
  width: 100%;
  border: 1px solid var(--stroke-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-size: 16px;
  padding: var(--space-3);
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.swatch {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
}

.swatch.active {
  border-color: #ffffff;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.tag.active {
  border-color: var(--glow-cream);
}

.warning {
  margin: var(--space-4) 0;
  border-radius: 14px;
  padding: var(--space-3);
  background: rgba(255, 212, 138, 0.18);
  border: 1px solid rgba(255, 212, 138, 0.5);
  color: var(--state-warning);
}

.actions-inline {
  display: grid;
  gap: var(--space-3);
}

.emoji-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.emoji-option {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  font-size: 22px;
  color: var(--text-primary);
}

.emoji-option.active {
  border-color: var(--glow-cream);
  box-shadow: 0 0 16px rgba(255, 217, 166, 0.22);
}

.emoji-input {
  text-align: center;
  font-size: 28px;
  line-height: 1;
  padding: var(--space-2);
}

.recommendation-card {
  --swipe-strength: 0;
  position: relative;
  overflow: hidden;
  background: rgba(145, 123, 103, 0.28);
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  touch-action: pan-y;
}

.recommendation-card.has-next-card::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 14px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 0;
}

.recommendation-card::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  left: 50%;
  top: 96px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(247, 197, 107, 0.6) 0%, rgba(242, 178, 122, 0.4) 46%, rgba(255, 217, 166, 0) 76%);
  filter: blur(28px);
  opacity: 0.5;
  z-index: 0;
}

.card-content {
  position: relative;
  z-index: 1;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
  will-change: transform;
}

.swipe-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.swipe-progress,
.swipe-picked {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.swipe-picked {
  color: rgba(126, 232, 177, 0.95);
}

.swipe-badge {
  position: absolute;
  top: 70px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 2px solid;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
}

.swipe-badge-left {
  left: 20px;
  color: #ff8f8f;
  border-color: rgba(255, 143, 143, 0.9);
}

.swipe-badge-right {
  right: 20px;
  color: #9cf2c8;
  border-color: rgba(156, 242, 200, 0.9);
}

.recommendation-card.swiping-left .swipe-badge-left {
  opacity: calc(0.22 + (var(--swipe-strength) * 0.78));
}

.recommendation-card.swiping-right .swipe-badge-right {
  opacity: calc(0.22 + (var(--swipe-strength) * 0.78));
}

.card-cn {
  margin: var(--space-2) 0 0;
  font-family: "Noto Serif SC", serif;
  font-size: 42px;
  line-height: 50px;
  font-weight: 500;
  text-align: center;
}

.card-en {
  margin: var(--space-1) 0 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 32px;
  line-height: 38px;
  text-align: center;
  color: rgba(245, 241, 232, 0.85);
}

.section-label-card {
  text-align: center;
}

.liquid-hero {
  margin: var(--space-4) auto var(--space-5);
  width: 126px;
  height: 186px;
  border-radius: 0 0 72px 72px;
  overflow: hidden;
  position: relative;
  background: rgba(12, 9, 7, 0.26);
}

.liquid-core {
  position: absolute;
  inset: 34px 0 0;
  background: linear-gradient(180deg, rgba(250, 209, 147, 0.88) 0%, rgba(241, 185, 98, 0.92) 100%);
  border-radius: 0 0 70px 70px;
  box-shadow: 0 0 32px rgba(247, 197, 107, 0.48);
}

.bubble {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 245, 210, 0.9);
}

.bubble-a {
  left: 36px;
  bottom: 22px;
}

.bubble-b {
  left: 66px;
  bottom: 30px;
}

.data-panel {
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-4) var(--space-3);
  border-radius: var(--radius-secondary);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke-soft);
}

.row {
  margin-top: var(--space-2);
}

.row-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recipe-elegant {
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-3);
}

.abv-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.micro-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.abv-value {
  margin: 2px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  line-height: 1;
  color: var(--text-primary);
}

.info-block {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.ingredient-pills {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ingredient-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(245, 241, 232, 0.92);
}

.prep-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: rgba(245, 241, 232, 0.92);
}

.prep-list li {
  margin: 0;
  line-height: 1.45;
}

.prep-list li + li {
  margin-top: 6px;
}

.row strong {
  display: block;
  margin-bottom: var(--space-1);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 var(--space-3);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.quote {
  margin: var(--space-4) 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  text-align: center;
}

.feedback-mini {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.feedback-pill {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  padding: 0 12px;
}

.feedback-pill.active {
  border-color: rgba(255, 217, 166, 0.72);
  background: rgba(255, 217, 166, 0.18);
}

.card-actions {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.card-actions-swipe-minimal {
  justify-content: flex-end;
}

.card-actions-final {
  justify-content: space-between;
}

.remix-btn {
  margin-top: 0;
  min-height: 54px;
  font-size: clamp(20px, 4.8vw, 24px);
  font-family: "Noto Serif SC", serif;
  font-weight: 600;
  padding-inline: 16px;
  white-space: nowrap;
}

.card-actions-final .remix-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  text-align: center;
}

.remix-label {
  display: inline;
  color: inherit !important;
  opacity: 1;
}

#remix-btn {
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary);
}

#remix-btn:empty::before {
  content: "再调一杯";
  color: var(--text-primary);
}

.swipe-btn {
  min-height: 48px;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.swipe-btn-left {
  border-color: rgba(255, 150, 150, 0.38);
  color: rgba(255, 198, 198, 0.95);
}

.swipe-btn-right {
  border-color: rgba(156, 242, 200, 0.35);
}

.swipe-coach {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(7, 8, 12, 0.58);
  backdrop-filter: blur(2px);
}

.swipe-coach.is-exit {
  opacity: 0;
  transition: opacity 180ms ease;
}

.swipe-coach-panel {
  width: min(360px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(18, 20, 26, 0.86);
  padding: 16px;
  text-align: center;
}

.swipe-coach-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.swipe-coach-copy {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.swipe-coach-nudge {
  margin: 14px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.swipe-coach-card {
  width: 56px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  animation: coachNudge 1200ms ease-in-out infinite;
}

.swipe-coach-btn {
  margin-top: 14px;
  min-height: 38px;
  font-size: 13px;
}

.share-nudge {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 8, 10, 0.25);
}

.share-nudge.is-exit {
  opacity: 0;
  transition: opacity 160ms ease;
}

.share-nudge-panel {
  width: min(460px, calc(100vw - 24px));
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(26, 22, 19, 0.96);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
  padding: 14px;
}

.share-nudge-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.share-nudge-desc {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

.share-nudge-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.share-nudge-btn {
  margin-top: 0;
  min-height: 42px;
  font-size: 14px;
}

@keyframes coachNudge {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  35% {
    transform: translateX(-8px) rotate(-4deg);
  }
  70% {
    transform: translateX(8px) rotate(4deg);
  }
}

.deck-empty {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.deck-empty-actions {
  grid-template-columns: 1fr 64px;
}

.icon-action {
  width: 56px;
  min-width: 56px;
  flex: 0 0 56px;
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-size: 24px;
  justify-self: end;
}

.favorites-list {
  margin-top: var(--space-4);
  display: grid;
  gap: var(--space-3);
}

.history-list {
  margin-top: var(--space-4);
  display: grid;
  gap: var(--space-3);
  max-height: min(58vh, 520px);
  overflow: auto;
}

.history-item {
  width: 100%;
  text-align: left;
  border-radius: var(--radius-secondary);
  border: 1px solid var(--stroke-soft);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  padding: var(--space-4);
}

.history-item strong,
.history-item p {
  margin: 0;
}

.history-item p + p {
  margin-top: 4px;
}

.favorite-item {
  border-radius: var(--radius-secondary);
  border: 1px solid var(--stroke-soft);
  background: rgba(255, 255, 255, 0.08);
  padding: var(--space-4);
}

.hidden-nav {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .orb,
  .btn,
  .tab-btn,
  .swatch,
  .tag {
    transition: all 320ms ease;
  }

  .recommendation-card::before {
    animation: pulseGlow 2200ms ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .swipe-coach-card {
    animation: none;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 0.72;
    transform: translateX(-50%) scale(1.04);
  }
}

@media (max-width: 420px) {
  .card-actions-final {
    gap: 8px;
  }

  .remix-btn {
    min-height: 50px;
    font-size: clamp(18px, 5vw, 22px);
    padding-inline: 12px;
  }

  .icon-action {
    width: 52px;
    min-width: 52px;
    flex-basis: 52px;
    min-height: 50px;
    font-size: 22px;
  }

  .share-modal-panel {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    gap: 10px;
  }

  .share-card-preview {
    width: min(100%, calc((100dvh - 228px) * 0.6875));
  }

  .share-card-ribbon {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    margin-top: clamp(28px, 5.4vh, 62px);
    text-align: center;
  }

  .share-card-drink {
    padding-top: clamp(34px, 7vh, 52px);
  }

  .share-card-glass {
    width: clamp(100px, 27vw, 124px);
    height: clamp(198px, 52vw, 246px);
  }

  .share-review-label {
    font-size: 12px;
  }

  .share-card-title {
    font-size: 30px;
  }

  .share-actions-grid .btn {
    min-height: 44px;
    font-size: 14px;
  }

  .share-action-btn {
    min-height: 44px;
    font-size: 18px;
  }
}

@media (max-height: 760px) {
  .modal {
    padding: 10px;
  }

  .share-modal-panel {
    width: min(520px, calc(100vw - 20px));
    max-height: calc(100dvh - 20px);
    gap: 8px;
    padding: 14px;
  }

  .share-card-preview {
    width: min(100%, calc((100dvh - 208px) * 0.6875));
    border-radius: 20px;
  }

  .share-card-ribbon {
    margin-inline: 12px;
    padding: 8px 10px;
  }

  .share-card-copy {
    margin: 12px 12px 12px;
    padding: 14px 14px 16px;
  }

  .share-card-title {
    font-size: 30px;
  }

  .share-card-desc {
    font-size: 13px;
    line-height: 1.35;
    -webkit-line-clamp: 3;
  }

  .share-actions-grid {
    gap: 6px;
  }

  .share-actions-grid .btn {
    min-height: 42px;
    font-size: 13px;
  }

  .share-action-btn {
    min-height: 42px;
    font-size: 18px;
  }
}

@media (min-width: 768px) {
  .app-shell {
    padding-top: 44px;
  }
}
