/* ==========================================================================
   易拉罐酒 CANNED — visual system
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0b0906;
  --bg-deep: #070604;
  --surface: #14100b;
  --surface-2: #19140e;
  --surface-3: #21190f;
  --ink: #f2e9d8;
  --ink-soft: #d5c7b1;
  --muted: #a29480;
  --faint: #756958;
  --gold: #c9a86a;
  --gold-bright: #e4c98e;
  --gold-deep: #9d7f49;
  --gold-wash: rgba(201, 168, 106, 0.1);
  --wine: #7d2928;
  --line: rgba(225, 204, 168, 0.13);
  --line-strong: rgba(225, 204, 168, 0.25);
  --serif: "Cormorant Garamond", "Noto Serif SC", "Source Han Serif SC", "STSong", SimSun, serif;
  --sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --page-pad: clamp(24px, 5vw, 78px);
  --ease: cubic-bezier(0.22, 0.8, 0.22, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 42% at 78% -8%, rgba(132, 86, 37, 0.23), transparent 66%),
    radial-gradient(ellipse 52% 42% at -10% 12%, rgba(92, 52, 30, 0.14), transparent 68%),
    linear-gradient(180deg, #0d0a07 0%, var(--bg) 42%, #080604 100%);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  color: #100c08;
  background: var(--gold);
}

:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 4px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

mark {
  color: var(--gold-bright);
  background: transparent;
  text-decoration: underline;
  text-decoration-color: rgba(201, 168, 106, 0.45);
  text-underline-offset: 4px;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0805;
}

::-webkit-scrollbar-thumb {
  background: #33281b;
  border: 3px solid #0a0805;
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4a3a26;
}

::placeholder {
  color: #7c705f;
  opacity: 1;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  color: #100c08;
  background: var(--gold);
  border-radius: 4px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 18px;
}

/* Initial paint before app.js renders the first route. */
.boot-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 120px 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 48% 42% at 50% 43%, rgba(142, 93, 41, 0.16), transparent 70%),
    var(--bg);
}

.boot-screen::before,
.boot-screen::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(60vw, 480px);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 168, 106, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.boot-screen::after {
  width: min(42vw, 330px);
  border-style: dashed;
  border-color: rgba(201, 168, 106, 0.14);
  animation: slowSpin 30s linear infinite;
}

.boot-emblem {
  position: relative;
  z-index: 1;
  width: 57px;
  color: var(--gold);
  opacity: 0.92;
  animation: bootGlow 2.8s ease-in-out infinite;
}

.boot-emblem svg {
  width: 100%;
  height: auto;
}

.boot-wordmark {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0.15em;
  line-height: 1.2;
}

.boot-wordmark span {
  margin-left: 10px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.28em;
  vertical-align: 3px;
}

.boot-rule {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 1px;
  margin-top: 19px;
  overflow: hidden;
  background: rgba(201, 168, 106, 0.2);
}

.boot-rule i {
  display: block;
  width: 26px;
  height: 100%;
  background: var(--gold);
  animation: bootSweep 1.8s var(--ease) infinite;
}

.boot-caption {
  position: relative;
  z-index: 1;
  margin-top: 13px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.28em;
}

@keyframes bootGlow {
  0%,
  100% {
    opacity: 0.62;
    filter: drop-shadow(0 0 0 rgba(201, 168, 106, 0));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 18px rgba(201, 168, 106, 0.24));
  }
}

@keyframes bootSweep {
  0% {
    transform: translateX(-30px);
  }
  100% {
    transform: translateX(70px);
  }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    background 0.45s ease,
    border-color 0.45s ease,
    backdrop-filter 0.45s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 8, 5, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  max-width: 1440px;
  height: 88px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--gold);
}

.brand-mark {
  width: 35px;
  height: 35px;
  transition: transform 0.6s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-16deg);
}

.brand-wordmark {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.brand-cn {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
}

.brand-en {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 0.28em;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  transition: color 0.25s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  color: #181107;
  background: var(--gold);
  border-radius: 99px;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  transition: opacity 0.2s;
}

.nav-badge.is-empty {
  opacity: 0.45;
}

.header-meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.header-meta .open-dot {
  width: 5px;
  height: 5px;
  background: #9eae77;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(158, 174, 119, 0.8);
  animation: pulseDot 3.4s ease-in-out infinite;
}

.header-rule {
  width: 28px;
  height: 1px;
  margin: 0 4px;
  background: var(--line-strong);
}

.header-est {
  color: #5d5346;
  font-size: 8px;
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

.mobile-nav {
  display: none;
}

/* --------------------------------------------------------------------------
   Shared type & buttons
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 27px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 23px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(3px);
}

.button-primary {
  color: #171108;
  background: var(--gold);
  border-color: var(--gold);
}

.button-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.button-ghost {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.015);
}

.button-ghost:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: var(--gold-wash);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(201, 168, 106, 0.4);
  transition: color 0.25s, border-color 0.25s;
}

.text-button:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.text-button svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spirit-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: var(--dot, var(--gold));
  border-radius: 50%;
  box-shadow: 0 0 7px color-mix(in srgb, var(--dot, var(--gold)) 65%, transparent);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.site-main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.83fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  width: min(100%, 1440px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 154px var(--page-pad) 92px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 6px;
}

.hero-eyebrow {
  margin-bottom: 34px;
}

.hero-title {
  max-width: 760px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(56px, 6.2vw, 94px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-title em {
  color: var(--gold-bright);
  font-weight: 400;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.hero-lede {
  max-width: 440px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.035em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero-notes {
  display: flex;
  gap: clamp(26px, 4vw, 58px);
  max-width: 430px;
  margin-top: 63px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-note strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.9;
}

.hero-note span {
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 590px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 2% -12% -5%;
  z-index: -2;
  background:
    radial-gradient(circle at 58% 46%, rgba(178, 124, 54, 0.21), transparent 38%),
    radial-gradient(circle at 45% 55%, rgba(201, 168, 106, 0.06), transparent 55%);
  filter: blur(18px);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(201, 168, 106, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-a {
  width: min(94%, 570px);
  aspect-ratio: 1;
  border-style: dashed;
  animation: slowSpin 70s linear infinite;
}

.hero-orbit-b {
  width: min(76%, 445px);
  aspect-ratio: 1;
  border-color: rgba(201, 168, 106, 0.1);
  animation: slowSpin 50s linear infinite reverse;
}

.hero-orbit-a::after,
.hero-orbit-b::after {
  content: "✦";
  position: absolute;
  top: 11%;
  left: 17%;
  color: var(--gold);
  font-size: 10px;
  opacity: 0.8;
}

.hero-orbit-b::after {
  top: auto;
  left: auto;
  right: 12%;
  bottom: 15%;
  font-size: 8px;
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

.hero-backword {
  position: absolute;
  top: 50%;
  left: 47%;
  z-index: -1;
  color: rgba(232, 208, 168, 0.025);
  font-family: var(--serif);
  font-size: clamp(100px, 12vw, 165px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-90deg);
  user-select: none;
}

.hero-art-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 455px);
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.45));
  animation: floatArt 8s ease-in-out infinite;
}

.hero-art-wrap .glass-art {
  width: 100%;
  height: auto;
}

@keyframes floatArt {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-11px);
  }
}

.hero-vertical {
  position: absolute;
  top: 31%;
  right: -33px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.34em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  opacity: 0.75;
}

.hero-caption {
  position: absolute;
  bottom: 12%;
  color: #5e5344;
  font-family: var(--serif);
  font-size: 8px;
  letter-spacing: 0.2em;
  line-height: 1.9;
}

.hero-caption-left {
  left: -16px;
  text-align: left;
}

.hero-caption-right {
  right: 0;
  text-align: right;
}

.hero-feature {
  position: absolute;
  right: -2%;
  bottom: 2%;
  z-index: 2;
  width: min(304px, 80%);
  padding: 19px 20px 17px;
  background: linear-gradient(135deg, rgba(28, 21, 14, 0.92), rgba(16, 12, 8, 0.83));
  border: 1px solid rgba(201, 168, 106, 0.24);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  cursor: pointer;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    background 0.4s var(--ease);
}

.hero-feature:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 168, 106, 0.48);
  background: linear-gradient(135deg, rgba(35, 26, 17, 0.97), rgba(19, 14, 9, 0.9));
}

.feature-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.feature-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-main strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.feature-main small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.02em;
}

.feature-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 106, 0.35);
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
}

.hero-feature:hover .feature-arrow {
  color: #151008;
  background: var(--gold);
}

.feature-arrow svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-tags {
  display: block;
  margin-top: 15px;
  padding-top: 12px;
  color: var(--faint);
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.15em;
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */
.name-ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.name-ticker::before,
.name-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 100px;
  pointer-events: none;
}

.name-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.name-ticker::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 56px;
  animation: tickerMove 42s linear infinite;
}

.ticker-track span {
  padding: 0 22px;
  color: #827461;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

.ticker-track i {
  color: var(--gold-deep);
  font-size: 7px;
  font-style: normal;
  opacity: 0.6;
}

@keyframes tickerMove {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Menu / collection
   -------------------------------------------------------------------------- */
.collection {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 98px var(--page-pad) 116px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2 {
  margin-top: 13px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.section-heading h2 sup {
  position: relative;
  top: -0.45em;
  margin-left: 8px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.section-intro {
  max-width: 325px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  text-align: right;
}

.search-area {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 49px;
}

.search-box {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 15px;
  min-height: 66px;
  padding: 0 21px;
  background: rgba(25, 19, 13, 0.64);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  transition:
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}

.search-box:focus-within {
  background: rgba(29, 22, 15, 0.9);
  border-color: rgba(201, 168, 106, 0.65);
  box-shadow: 0 0 0 4px rgba(201, 168, 106, 0.06), 0 22px 45px rgba(0, 0, 0, 0.16);
}

.search-icon {
  display: flex;
  flex: 0 0 auto;
  color: var(--gold);
  opacity: 0.9;
}

.search-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.search-box input {
  flex: 1;
  min-width: 0;
  padding: 5px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.035em;
}

.search-box input::-webkit-search-cancel-button {
  filter: invert(0.7) sepia(0.3);
}

.search-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1;
}

.search-side-link {
  flex: 0 0 auto;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.07em;
  transition: color 0.3s;
}

.search-side-link span {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.search-side-link svg {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 4px;
  vertical-align: -2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
}

.search-side-link:hover {
  color: var(--ink-soft);
}

.search-side-link:hover svg {
  transform: translateX(3px);
}

.filter-panel {
  margin-top: 31px;
  padding: 3px 25px 5px;
  background:
    linear-gradient(90deg, rgba(201, 168, 106, 0.025), transparent 34%),
    rgba(18, 14, 9, 0.4);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 15px 0;
}

.filter-row + .filter-row {
  border-top: 1px solid rgba(225, 204, 168, 0.08);
}

.filter-label {
  display: flex;
  flex: 0 0 146px;
  align-items: flex-start;
  gap: 14px;
  padding-top: 7px;
}

.filter-number {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
}

.filter-label div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.filter-label strong {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.filter-label small {
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.chip-scroll {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 5px 13px;
  color: var(--muted);
  border: 1px solid rgba(225, 204, 168, 0.12);
  border-radius: 99px;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition:
    color 0.23s,
    background 0.23s,
    border-color 0.23s;
}

.filter-chip:hover {
  color: var(--ink);
  border-color: rgba(201, 168, 106, 0.44);
  background: rgba(201, 168, 106, 0.05);
}

.filter-chip.is-active {
  color: #1a1309;
  background: var(--gold);
  border-color: var(--gold);
}

.filter-chip:disabled {
  opacity: 0.5;
}

.chip-dot {
  width: 4px;
  height: 4px;
  background: var(--dot, var(--gold));
  border-radius: 50%;
}

.filter-chip.is-active .chip-dot {
  background: #1a1309;
  box-shadow: none;
}

.results-bar {
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 74px;
  margin-top: 20px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
}

.results-count {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 9px;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.11em;
}

.results-count strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.active-filters {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.no-active-filter {
  color: #695e50;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.04em;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px 5px 12px;
  color: var(--gold-bright);
  background: rgba(201, 168, 106, 0.08);
  border: 1px solid rgba(201, 168, 106, 0.25);
  border-radius: 99px;
  font-size: 10px;
  letter-spacing: 0.04em;
  transition: background 0.25s, border-color 0.25s;
}

.active-filter-chip:hover {
  background: rgba(201, 168, 106, 0.14);
  border-color: rgba(201, 168, 106, 0.42);
}

.active-filter-chip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 0.8;
}

.active-filter-chip.is-query {
  color: var(--ink-soft);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
}

.clear-filters {
  flex: 0 0 auto;
  padding: 4px 0;
  color: var(--faint);
  border-bottom: 1px solid transparent;
  font-size: 9px;
  letter-spacing: 0.1em;
  transition: color 0.25s, border-color 0.25s;
}

.clear-filters:hover {
  color: var(--gold);
  border-color: var(--gold-deep);
}

.cocktail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: 34px;
}

.cocktail-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(28, 22, 15, 0.85), rgba(16, 13, 9, 0.9));
  border: 1px solid rgba(225, 204, 168, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  isolation: isolate;
  animation: riseIn 0.7s var(--ease) both;
  animation-delay: calc(var(--i) * 38ms);
  transition:
    transform 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    background 0.45s var(--ease);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cocktail-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.4s;
}

.cocktail-card:hover,
.cocktail-card:focus-visible {
  transform: translateY(-6px);
  background: linear-gradient(145deg, rgba(34, 26, 17, 0.95), rgba(18, 14, 9, 0.95));
  border-color: rgba(201, 168, 106, 0.34);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
}

.cocktail-card:hover::after {
  box-shadow: inset 0 0 0 1px rgba(201, 168, 106, 0.12);
}

.cocktail-card.is-saved .favorite-toggle {
  color: var(--gold-bright);
}

.card-art {
  position: relative;
  height: 236px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 48% 52% at 50% 48%, color-mix(in srgb, var(--card-glow) 15%, transparent), transparent 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 70%);
  border-bottom: 1px solid rgba(225, 204, 168, 0.06);
}

.card-art::before {
  content: "";
  position: absolute;
  top: 23%;
  left: 50%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(201, 168, 106, 0.11);
  border-radius: 50%;
  transform: translateX(-50%);
  transition: transform 0.65s var(--ease), border-color 0.45s;
}

.card-art::after {
  content: "";
  position: absolute;
  left: 19px;
  right: 19px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 106, 0.14), transparent);
}

.cocktail-card:hover .card-art::before {
  transform: translateX(-50%) scale(1.08) rotate(12deg);
  border-color: rgba(201, 168, 106, 0.22);
}

.card-number {
  position: absolute;
  top: 17px;
  left: 19px;
  z-index: 2;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.favorite-toggle {
  position: absolute;
  top: 12px;
  right: 13px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--faint);
  background: rgba(10, 8, 5, 0.28);
  border: 1px solid rgba(225, 204, 168, 0.15);
  border-radius: 50%;
  backdrop-filter: blur(7px);
  transition:
    color 0.25s,
    background 0.25s,
    border-color 0.25s,
    transform 0.25s var(--ease);
}

.favorite-toggle svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.4;
}

.favorite-toggle:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(201, 168, 106, 0.12);
  transform: scale(1.06);
}

.card-art-stage {
  position: absolute;
  inset: 5px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s var(--ease);
}

.card-art-stage .glass-art {
  width: 180px;
  height: 210px;
  margin-top: 4px;
}

.cocktail-card:hover .card-art-stage {
  transform: translateY(-6px) scale(1.025);
}

.card-origin {
  position: absolute;
  bottom: 15px;
  left: 19px;
  z-index: 2;
  color: #766754;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 21px 17px;
}

.card-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #877764;
  font-size: 8.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.kicker-sep {
  color: #51473a;
}

.card-body h3 {
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(26px, 2.2vw, 33px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.card-en {
  margin-top: 1px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  letter-spacing: 0.015em;
  line-height: 1.35;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.mini-tag {
  display: inline-block;
  padding: 3px 8px;
  color: var(--muted);
  border: 1px solid rgba(225, 204, 168, 0.11);
  border-radius: 99px;
  font-size: 8.5px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(225, 204, 168, 0.08);
}

.card-variation {
  color: #6c5f4f;
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.07em;
  transition: color 0.3s;
}

.card-link svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.cocktail-card:hover .card-link {
  color: var(--gold-bright);
}

.cocktail-card:hover .card-link svg {
  transform: translateX(3px);
}

.collection-end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 68px;
  color: #635747;
}

.collection-end p {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.08em;
}

.tiny-star {
  color: var(--gold-deep);
  font-size: 8px;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Empty states
   -------------------------------------------------------------------------- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 310px;
  padding: 55px 30px;
  border: 1px dashed rgba(225, 204, 168, 0.16);
  border-radius: 14px;
  text-align: center;
}

.empty-results {
  grid-column: 1 / -1;
}

.empty-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 19px;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 106, 0.25);
  border-radius: 50%;
}

.empty-symbol svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.empty-state h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.empty-state p {
  margin-top: 7px;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.empty-state .text-button {
  margin-top: 23px;
}

/* --------------------------------------------------------------------------
   Inner pages / favorites
   -------------------------------------------------------------------------- */
.inner-page {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 152px var(--page-pad) 130px;
}

.inner-hero {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.favorites-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-top: 18px;
}

.favorites-heading-row h1 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(57px, 7vw, 108px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.title-period {
  color: var(--gold);
}

.favorites-heading-row p {
  margin-top: 21px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  letter-spacing: 0.03em;
}

.favorites-count-block {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 4px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.favorites-big-count {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 61px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.8;
}

.favorites-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 23px;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.11em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  transition: color 0.25s;
}

.text-link:hover {
  color: var(--gold-bright);
}

.text-link svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.favorites-grid {
  margin-top: 25px;
}

.empty-favorites {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(300px, 1fr);
  align-items: center;
  gap: 8vw;
  min-height: 490px;
  padding: 60px 2%;
}

.empty-art {
  width: min(100%, 370px);
  margin: 0 auto;
}

.empty-favorites h2 {
  margin-top: 17px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.empty-favorites p {
  max-width: 395px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 29px;
}

/* --------------------------------------------------------------------------
   Roulette
   -------------------------------------------------------------------------- */
.roulette-page {
  padding-bottom: 100px;
}

.roulette-hero {
  max-width: 690px;
  margin: 0 auto;
  text-align: center;
}

.roulette-hero .eyebrow {
  justify-content: center;
}

.roulette-hero h1 {
  margin-top: 17px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(64px, 8.2vw, 126px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.roulette-hero p {
  margin-top: 26px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
  letter-spacing: 0.035em;
}

.roulette-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 26px;
  color: var(--gold-deep);
  font-size: 9px;
}

.roulette-ornament span {
  width: 54px;
  height: 1px;
  background: var(--line-strong);
}

.roulette-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.8fr) minmax(540px, 1.2fr);
  gap: clamp(28px, 4vw, 62px);
  align-items: start;
  max-width: 1270px;
  margin: 64px auto 0;
}

.roulette-controls,
.wheel-panel {
  position: relative;
}

.roulette-controls {
  padding: 31px 29px 26px;
  background:
    linear-gradient(145deg, rgba(201, 168, 106, 0.045), transparent 40%),
    rgba(19, 15, 10, 0.66);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  gap: 17px;
}

.step-number {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 106, 0.3);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1;
}

.panel-heading h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.panel-heading p {
  margin-top: 4px;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.07em;
}

.wheel-filter-groups {
  margin-top: 30px;
}

.wheel-filter-group {
  padding: 15px 0;
  border-top: 1px solid rgba(225, 204, 168, 0.08);
}

.wheel-filter-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.wheel-filter-label small {
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.04em;
}

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

.chip-wrap .filter-chip {
  min-height: 28px;
  padding: 4px 10px;
  font-size: 9.5px;
}

.pool-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 15px;
  margin-top: 17px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.pool-label {
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pool-summary strong {
  grid-column: 2;
  grid-row: 1 / 3;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 300;
  line-height: 0.85;
}

.pool-summary strong small {
  color: var(--faint);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.pool-summary p {
  grid-column: 1;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pool-summary.is-empty strong {
  display: none;
}

.pool-summary.is-empty p {
  grid-column: 1 / -1;
  white-space: normal;
}

.pool-rule {
  grid-column: 1 / -1;
  height: 1px;
  margin-top: 9px;
  background: rgba(225, 204, 168, 0.07);
}

.pool-foot {
  grid-column: 1 / -1;
  color: #5f5547;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.wheel-clear {
  margin-top: 18px;
  color: var(--faint);
  border-color: transparent;
  font-size: 9px;
}

.wheel-clear:hover {
  color: var(--gold);
}

.wheel-panel {
  padding-top: 3px;
}

.wheel-panel-heading {
  padding: 0 5px;
}

.wheel-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 31px 0 12px;
}

.wheel-aurora {
  position: absolute;
  top: 13%;
  left: 50%;
  width: min(80%, 520px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(177, 116, 48, 0.2), rgba(201, 168, 106, 0.035) 48%, transparent 68%);
  filter: blur(22px);
  transform: translateX(-50%);
  pointer-events: none;
}

.wheel-box {
  position: relative;
  width: min(100%, 550px);
  aspect-ratio: 1;
  filter: drop-shadow(0 30px 38px rgba(0, 0, 0, 0.34));
}

.wheel-box::before {
  content: "";
  position: absolute;
  inset: 4.5%;
  z-index: -1;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.08), transparent 67%);
  border-radius: 50%;
}

.wheel-rotor {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  transition: transform 4.6s cubic-bezier(0.12, 0.72, 0.14, 1);
  will-change: transform;
}

.wheel-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wheel-pointer {
  position: absolute;
  top: -4px;
  left: 50%;
  z-index: 5;
  width: 39px;
  height: 54px;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.55));
}

.wheel-pointer::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 27px;
  height: 34px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transform: translateX(-50%);
}

.wheel-pointer::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  width: 13px;
  height: 13px;
  background: var(--gold-bright);
  border: 2px solid #3a2b17;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(201, 168, 106, 0.55);
  transform: translateX(-50%);
}

.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 116px;
  color: var(--gold-bright);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 240, 207, 0.1), transparent 38%),
    #100c08;
  border: 1px solid rgba(201, 168, 106, 0.7);
  border-radius: 50%;
  box-shadow:
    0 0 0 7px rgba(12, 9, 6, 0.7),
    0 0 0 8px rgba(201, 168, 106, 0.24),
    0 8px 28px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
  transition:
    transform 0.35s var(--ease),
    background 0.35s,
    border-color 0.35s,
    color 0.35s;
}

.wheel-center:hover:not(:disabled) {
  color: #140e06;
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translate(-50%, -50%) scale(1.055);
}

.wheel-center:disabled {
  opacity: 0.65;
}

.wheel-box.is-spinning .wheel-center {
  color: var(--muted);
  border-color: rgba(201, 168, 106, 0.4);
}

.wheel-center-star {
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 10px;
  line-height: 1;
  transition: color 0.3s;
}

.wheel-center:hover:not(:disabled) .wheel-center-star {
  color: #26180a;
}

.wheel-center-label {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}

.wheel-center-sub {
  margin-top: 4px;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 7.5px;
  letter-spacing: 0.26em;
  line-height: 1;
}

.wheel-note {
  margin-top: 7px;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-align: center;
}

.wheel-note strong {
  color: var(--muted);
  font-weight: 400;
}

.roulette-result-zone {
  margin-top: 29px;
}

.result-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 23px;
  border: 1px dashed rgba(225, 204, 168, 0.14);
  border-radius: 12px;
  text-align: center;
}

.placeholder-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 9px;
  color: var(--gold-deep);
}

.placeholder-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.result-placeholder p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.03em;
}

.result-placeholder small {
  margin-top: 5px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.roulette-result {
  display: grid;
  grid-template-columns: 35% 1fr;
  min-height: 246px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(201, 168, 106, 0.1), transparent 55%),
    rgba(23, 17, 11, 0.72);
  border: 1px solid rgba(201, 168, 106, 0.29);
  border-radius: 14px;
  animation: resultReveal 0.8s var(--ease) both;
}

@keyframes resultReveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.result-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.result-art::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(201, 168, 106, 0.15);
  border-radius: 50%;
}

.result-art .glass-art {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 190px;
}

.result-sparkle {
  position: absolute;
  color: var(--gold);
  font-size: 9px;
  opacity: 0.65;
}

.result-sparkle-a {
  top: 17%;
  left: 17%;
}

.result-sparkle-b {
  right: 16%;
  bottom: 19%;
  font-size: 12px;
}

.result-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 27px;
}

.result-copy h3 {
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 37px;
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.15;
}

.result-copy h3 span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 19px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.result-tagline {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.5;
}

.result-copy .mini-tags {
  margin-top: 12px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 23px;
}

.result-actions .button {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 10px;
}

.spinner-orbit {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 11px;
  border: 1px solid rgba(201, 168, 106, 0.25);
  border-top-color: var(--gold-bright);
  border-radius: 50%;
  animation: spinnerOrbit 1s linear infinite;
}

@keyframes spinnerOrbit {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(4, 3, 2, 0.79);
  backdrop-filter: blur(10px) saturate(110%);
  -webkit-backdrop-filter: blur(10px) saturate(110%);
  animation: modalBackdropIn 0.35s ease both;
}

@keyframes modalBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cocktail-modal {
  position: relative;
  display: grid;
  grid-template-columns: 38% 62%;
  width: min(100%, 1170px);
  height: calc(100vh - 48px);
  max-height: 850px;
  overflow: hidden;
  background: #12100c;
  border: 1px solid rgba(225, 204, 168, 0.24);
  border-radius: 18px;
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.62);
  animation: modalIn 0.55s var(--ease) both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--muted);
  background: rgba(12, 9, 6, 0.54);
  border: 1px solid rgba(225, 204, 168, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition:
    color 0.25s,
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}

.modal-close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.modal-close:hover {
  color: var(--ink);
  background: rgba(201, 168, 106, 0.18);
  border-color: var(--gold);
  transform: rotate(90deg);
}

.modal-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 27px 27px 23px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 39%, rgba(146, 95, 43, 0.25), transparent 54%),
    radial-gradient(ellipse at 120% 80%, rgba(201, 168, 106, 0.06), transparent 40%),
    linear-gradient(180deg, #19130d 0%, #0d0a07 100%);
  border-right: 1px solid var(--line);
}

.modal-visual::before {
  content: "";
  position: absolute;
  inset: 14% 10% auto;
  height: 54%;
  border: 1px solid rgba(201, 168, 106, 0.12);
  border-radius: 50%;
  transform: rotate(-12deg) scale(1.25);
  pointer-events: none;
}

.modal-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 106, 0.34), transparent);
  transform: translateX(-50%);
}

.modal-visual-top,
.modal-visual-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #847662;
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.modal-visual-top {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(225, 204, 168, 0.1);
}

.modal-visual-top span:first-child {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.modal-art {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 2px 0 4px;
}

.modal-art .glass-art {
  width: min(100%, 370px);
  height: auto;
  max-height: 100%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
  animation: floatArt 9s ease-in-out infinite;
}

.modal-tagline {
  position: relative;
  z-index: 2;
  max-width: 88%;
  margin: 0 auto 22px;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 21px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-align: center;
}

.modal-visual-bottom {
  padding-top: 14px;
  border-top: 1px solid rgba(225, 204, 168, 0.1);
}

.modal-visual-bottom .modal-star {
  color: var(--gold-deep);
  font-size: 9px;
}

.modal-content {
  min-width: 0;
  padding: 43px 46px 31px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding-right: 40px;
}

.modal-header h2 {
  margin-top: 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(45px, 4.5vw, 61px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}

.detail-en {
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 23px;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.save-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-top: 3px;
  padding: 8px 13px;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  font-size: 9.5px;
  letter-spacing: 0.07em;
  transition:
    color 0.25s,
    background 0.25s,
    border-color 0.25s;
}

.save-button svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.4;
}

.save-button:hover,
.save-button.is-active {
  color: var(--gold-bright);
  border-color: rgba(201, 168, 106, 0.5);
  background: rgba(201, 168, 106, 0.09);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 9px;
  letter-spacing: 0.05em;
  transition:
    color 0.25s,
    background 0.25s,
    border-color 0.25s;
}

.meta-tag:hover {
  color: var(--gold-bright);
  border-color: rgba(201, 168, 106, 0.46);
  background: var(--gold-wash);
}

.spirit-meta {
  color: var(--ink-soft);
}

.detail-section {
  margin-top: 34px;
}

.section-label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.section-label-row span:first-child {
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.24em;
}

.section-label-row span:last-child {
  color: var(--faint);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.03em;
}

.recipe-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.recipe-tab {
  padding: 7px 12px;
  color: var(--faint);
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  transition:
    color 0.25s,
    background 0.25s,
    border-color 0.25s;
}

.recipe-tab:hover {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.025);
}

.recipe-tab.is-active {
  color: var(--gold-bright);
  background: rgba(201, 168, 106, 0.08);
  border-color: rgba(201, 168, 106, 0.3);
}

.recipe-panel {
  margin-top: 12px;
  padding: 20px 21px 17px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(225, 204, 168, 0.09);
  border-radius: 10px;
}

.recipe-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.recipe-label {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.03em;
}

.recipe-source {
  color: var(--gold-deep);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.ingredient-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.ingredient-name {
  flex: 0 0 auto;
}

.ingredient-leader {
  flex: 1;
  min-width: 14px;
  height: 1px;
  background-image: linear-gradient(90deg, rgba(225, 204, 168, 0.22) 25%, transparent 25%);
  background-size: 5px 1px;
  background-repeat: repeat-x;
  transform: translateY(-2px);
}

.ingredient-amount {
  flex: 0 0 auto;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.02em;
}

.recipe-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(225, 204, 168, 0.09);
}

.recipe-facts div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.recipe-facts span {
  color: var(--faint);
  font-size: 7.5px;
  letter-spacing: 0.14em;
}

.recipe-facts strong {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.55;
}

.recipe-note {
  margin-top: 13px;
  color: #877966;
  font-size: 9.5px;
  line-height: 1.75;
}

.story-section p {
  margin-top: 17px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15.5px;
  letter-spacing: 0.025em;
  line-height: 2;
}

.variation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.variation-card {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 11px 8px 9px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(225, 204, 168, 0.1);
  border-radius: 8px;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s var(--ease);
}

.variation-card:hover {
  background: rgba(201, 168, 106, 0.06);
  border-color: rgba(201, 168, 106, 0.33);
  transform: translateY(-2px);
}

.variation-art {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 42px;
  overflow: hidden;
  background: rgba(201, 168, 106, 0.04);
  border-radius: 5px;
}

.variation-art .glass-art {
  width: 31px;
  height: 37px;
}

.variation-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.variation-copy strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.variation-copy small {
  overflow: hidden;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.variation-arrow {
  flex: 0 0 auto;
  color: var(--gold-deep);
}

.variation-arrow svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.no-variations {
  margin-top: 15px;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.03em;
}

.modal-footnote {
  margin-top: 32px;
  padding-top: 15px;
  color: #665b4b;
  border-top: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.045em;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 15% 100%, rgba(110, 71, 33, 0.12), transparent 43%),
    rgba(10, 8, 5, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.5fr 1fr;
  gap: 55px;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 54px var(--page-pad) 21px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--gold);
}

.footer-mark svg {
  width: 26px;
  height: 26px;
}

.footer-mark span {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.12em;
}

.footer-mark i {
  margin-left: 4px;
  color: var(--gold-deep);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.22em;
}

.footer-brand p {
  color: var(--faint);
  font-size: 10px;
  line-height: 1.85;
  letter-spacing: 0.035em;
}

.footer-links,
.footer-note {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-label {
  margin-bottom: 7px;
  color: var(--gold-deep);
  font-size: 7px;
  letter-spacing: 0.24em;
}

.footer-links a {
  width: fit-content;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.06em;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-note p {
  max-width: 330px;
  color: var(--faint);
  font-size: 9px;
  line-height: 1.85;
}

.footer-fine {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
  padding-top: 16px;
  color: #5b5145;
  border-top: 1px solid rgba(225, 204, 168, 0.08);
  font-size: 7.5px;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toast-root {
  position: fixed;
  bottom: 27px;
  left: 50%;
  z-index: 400;
  width: max-content;
  max-width: calc(100vw - 30px);
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  color: var(--ink-soft);
  background: rgba(23, 17, 11, 0.94);
  border: 1px solid rgba(201, 168, 106, 0.34);
  border-radius: 99px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  backdrop-filter: blur(12px);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  display: flex;
  width: 13px;
  height: 13px;
  color: var(--gold);
}

.toast-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.toast-error {
  border-color: rgba(180, 95, 67, 0.55);
}

.toast-error .toast-icon {
  color: #c97c5d;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.noscript-message {
  padding: 180px var(--page-pad);
  text-align: center;
}

.noscript-message h1 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
}

.noscript-message p {
  margin-top: 12px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(400px, 0.78fr);
    gap: 30px;
  }

  .hero-feature {
    right: 0;
  }

  .hero-vertical {
    right: -19px;
  }

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

  .roulette-layout {
    grid-template-columns: minmax(300px, 0.78fr) minmax(480px, 1.22fr);
    gap: 28px;
  }
}

@media (max-width: 1060px) {
  .header-est,
  .header-rule {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
    padding-top: 142px;
    padding-bottom: 55px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-title {
    font-size: clamp(63px, 9.8vw, 104px);
  }

  .hero-lede {
    max-width: 520px;
  }

  .hero-notes {
    margin-top: 42px;
  }

  .hero-visual {
    width: min(100%, 690px);
    min-height: 535px;
    margin: 12px auto 0;
  }

  .hero-art-wrap {
    width: min(80%, 410px);
  }

  .hero-feature {
    right: 2%;
    bottom: 4%;
  }

  .hero-vertical {
    right: 2%;
  }

  .hero-caption {
    bottom: 3%;
  }

  .hero-caption-left {
    left: 3%;
  }

  .hero-caption-right {
    right: 2%;
    bottom: 30%;
  }

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

  .roulette-layout {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .roulette-controls {
    order: 1;
    margin-top: 16px;
  }

  .wheel-panel {
    order: 2;
  }

  .wheel-stage {
    padding-top: 22px;
  }

  .wheel-box {
    width: min(100%, 530px);
  }

  .footer-inner {
    grid-template-columns: 1fr 0.6fr;
  }

  .footer-note {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-fine {
    grid-row: 3;
  }
}

@media (max-width: 780px) {
  body {
    padding-bottom: 68px;
  }

  .site-header {
    background: rgba(10, 8, 5, 0.72);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
  }

  .nav-inner {
    height: 70px;
    padding: 0 var(--page-pad);
  }

  .main-nav,
  .header-meta {
    display: none;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .brand-cn {
    font-size: 19px;
  }

  .brand-en {
    font-size: 8px;
  }

  .mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    min-height: 64px;
    padding: 6px max(12px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: rgba(14, 11, 7, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-nav a {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--faint);
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .mobile-nav a.is-active {
    color: var(--gold-bright);
  }

  .mobile-nav svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-badge {
    position: absolute;
    top: 1px;
    left: calc(50% + 7px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    color: #161008;
    background: var(--gold);
    border-radius: 99px;
    font-family: var(--serif);
    font-size: 9px;
    font-style: normal;
    line-height: 1;
  }

  .mobile-badge.is-empty {
    opacity: 0.35;
  }

  .hero {
    padding-top: 118px;
    padding-bottom: 39px;
  }

  .hero-eyebrow {
    margin-bottom: 26px;
  }

  .hero-title {
    font-size: clamp(48px, 13vw, 78px);
    line-height: 0.98;
  }

  .hero-lede {
    max-width: 92%;
    margin-top: 24px;
    font-size: 12.5px;
    line-height: 1.85;
  }

  .hero-actions {
    margin-top: 27px;
  }

  .button {
    min-height: 44px;
    padding: 11px 17px;
    font-size: 10.5px;
  }

  .hero-notes {
    gap: 37px;
    margin-top: 34px;
    padding-top: 17px;
  }

  .hero-note strong {
    font-size: 28px;
  }

  .hero-visual {
    min-height: 440px;
    margin-top: 8px;
  }

  .hero-art-wrap {
    width: min(74%, 345px);
  }

  .hero-orbit-a {
    width: 90%;
    max-width: 440px;
  }

  .hero-orbit-b {
    width: 70%;
    max-width: 345px;
  }

  .hero-backword {
    font-size: 95px;
    opacity: 0.7;
  }

  .hero-feature {
    right: 0;
    bottom: 0;
    width: min(285px, 79%);
    padding: 15px 16px 14px;
  }

  .feature-main strong {
    font-size: 20px;
  }

  .feature-tags {
    margin-top: 11px;
    padding-top: 9px;
  }

  .hero-vertical,
  .hero-caption {
    display: none;
  }

  .name-ticker {
    margin-top: 13px;
  }

  .ticker-track {
    min-height: 24px;
    height: 48px;
  }

  .ticker-track span {
    padding: 0 15px;
    font-size: 9px;
  }

  .collection {
    padding-top: 63px;
    padding-bottom: 80px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 44px;
  }

  .section-intro {
    max-width: 330px;
    margin-top: 17px;
    padding: 0;
    text-align: left;
    font-size: 11px;
  }

  .search-area {
    display: block;
    margin-top: 32px;
  }

  .search-box {
    min-height: 56px;
    padding: 0 15px;
  }

  .search-box input {
    font-size: 15px;
  }

  .search-shortcut {
    display: none;
  }

  .search-side-link {
    display: none;
  }

  .filter-panel {
    margin-top: 20px;
    padding: 0 15px 5px;
  }

  .filter-row {
    display: block;
    padding: 14px 0;
  }

  .filter-label {
    padding-top: 0;
    margin-bottom: 9px;
  }

  .filter-label div {
    flex-direction: row;
    align-items: baseline;
    gap: 9px;
  }

  .filter-label small {
    font-size: 7px;
  }

  .chip-scroll {
    flex-wrap: nowrap;
    padding-bottom: 3px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .chip-scroll::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    min-height: 29px;
    padding: 4px 11px;
    font-size: 9.5px;
  }

  .results-bar {
    flex-wrap: wrap;
    gap: 9px 16px;
    padding: 13px 0;
  }

  .results-count {
    font-size: 8px;
  }

  .results-count strong {
    font-size: 27px;
  }

  .active-filters {
    order: 3;
    width: 100%;
  }

  .clear-filters {
    margin-left: auto;
  }

  .cocktail-grid {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 22px;
  }

  .card-art {
    height: 236px;
  }

  .card-art-stage .glass-art {
    width: 177px;
    height: 204px;
  }

  .card-body {
    padding: 18px 18px 15px;
  }

  .card-body h3 {
    font-size: 31px;
  }

  .collection-end {
    margin-top: 45px;
  }

  .inner-page {
    padding-top: 116px;
    padding-bottom: 76px;
  }

  .favorites-heading-row {
    align-items: flex-start;
  }

  .favorites-heading-row h1 {
    font-size: clamp(52px, 13vw, 73px);
  }

  .favorites-big-count {
    font-size: 48px;
  }

  .favorites-count-block {
    padding-top: 8px;
  }

  .empty-favorites {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 35px 0 20px;
    text-align: center;
  }

  .empty-art {
    width: min(80%, 300px);
  }

  .empty-favorites .eyebrow {
    justify-content: center;
  }

  .empty-favorites p {
    margin-right: auto;
    margin-left: auto;
  }

  .empty-actions {
    justify-content: center;
  }

  .favorites-toolbar {
    margin-top: 17px;
  }

  .roulette-hero h1 {
    font-size: clamp(52px, 14vw, 79px);
  }

  .roulette-hero p {
    margin-top: 20px;
    font-size: 11.5px;
  }

  .roulette-ornament {
    margin-top: 20px;
  }

  .roulette-layout {
    margin-top: 36px;
  }

  .roulette-controls {
    padding: 22px 17px 20px;
  }

  .wheel-filter-groups {
    margin-top: 21px;
  }

  .wheel-filter-group {
    padding: 13px 0;
  }

  .chip-wrap {
    gap: 5px;
  }

  .chip-wrap .filter-chip {
    padding: 4px 9px;
    font-size: 9px;
  }

  .wheel-stage {
    padding-top: 17px;
  }

  .wheel-box {
    width: min(100%, 460px);
  }

  .wheel-center {
    width: 91px;
    height: 91px;
  }

  .wheel-center-label {
    font-size: 25px;
  }

  .wheel-center-sub {
    font-size: 6.5px;
  }

  .wheel-pointer {
    width: 32px;
    height: 46px;
  }

  .wheel-note {
    font-size: 8.5px;
  }

  .roulette-result {
    grid-template-columns: 1fr;
  }

  .result-art {
    min-height: 175px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .result-art .glass-art {
    width: 120px;
    height: 155px;
  }

  .result-copy {
    padding: 20px 18px 22px;
  }

  .result-copy h3 {
    font-size: 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 40px;
  }

  .footer-note {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-fine {
    grid-column: auto;
    grid-row: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 4px;
  }

  .toast-root {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .modal-backdrop {
    display: block;
    padding: 0;
    overflow-y: auto;
  }

  .cocktail-modal {
    display: block;
    width: 100%;
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .modal-visual {
    min-height: 430px;
    padding: 20px 22px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .modal-visual-top {
    padding-right: 47px;
  }

  .modal-visual::before {
    inset: 16% 6% auto;
  }

  .modal-art {
    min-height: 250px;
  }

  .modal-art .glass-art {
    width: min(100%, 300px);
    max-height: 300px;
  }

  .modal-tagline {
    margin-bottom: 17px;
    font-size: 18px;
  }

  .modal-close {
    position: fixed;
    top: 14px;
    right: 14px;
    background: rgba(12, 9, 6, 0.8);
  }

  .modal-content {
    padding: 28px 20px 42px;
    overflow: visible;
  }

  .modal-header {
    display: block;
    padding-right: 0;
  }

  .modal-header h2 {
    font-size: 48px;
  }

  .detail-en {
    font-size: 20px;
  }

  .save-button {
    margin-top: 17px;
  }

  .detail-meta {
    margin-top: 18px;
  }

  .detail-section {
    margin-top: 28px;
  }

  .recipe-panel {
    padding: 17px 15px 15px;
  }

  .recipe-facts {
    gap: 8px;
  }

  .recipe-facts strong {
    font-size: 9px;
  }

  .variation-list {
    grid-template-columns: 1fr;
  }

  .story-section p {
    font-size: 14.5px;
    line-height: 1.95;
  }

  .empty-state {
    min-height: 280px;
    padding: 40px 20px;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: clamp(36px, 11.6vw, 46px);
  }

  .hero-notes {
    gap: 27px;
  }

  .hero-note strong {
    font-size: 25px;
  }

  .hero-feature {
    width: 88%;
  }

  .favorites-heading-row {
    display: block;
  }

  .favorites-count-block {
    display: none;
  }

  .roulette-hero h1 {
    font-size: 50px;
  }

  .wheel-center {
    width: 78px;
    height: 78px;
  }

  .wheel-center-label {
    font-size: 22px;
  }

  .wheel-center-star {
    margin-bottom: 1px;
    font-size: 8px;
  }
}

/* --------------------------------------------------------------------------
   Mix lab
   -------------------------------------------------------------------------- */
.mix-page {
  padding-top: 138px;
  padding-bottom: 108px;
}

.mix-hero {
  padding-bottom: 33px;
  border-bottom: 1px solid var(--line);
}

.mix-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-top: 18px;
}

.mix-hero h1 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(64px, 8.8vw, 126px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.88;
}

.mix-hero-row p {
  max-width: 500px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
  letter-spacing: 0.03em;
}

.mix-hero-row > .text-link {
  flex: 0 0 auto;
  padding-bottom: 7px;
}

.mix-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  margin-top: 29px;
  padding-top: 16px;
  color: var(--faint);
  border-top: 1px solid rgba(225, 204, 168, 0.08);
  font-size: 8.5px;
  letter-spacing: 0.09em;
}

.mix-hero-meta span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}

.mix-hero-meta strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
}

.mix-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  align-items: start;
  gap: clamp(28px, 4vw, 58px);
  margin-top: 25px;
}

.mix-builder {
  min-width: 0;
}

.mix-step {
  padding: 29px 0 33px;
  border-bottom: 1px solid var(--line);
}

.mix-step:first-child {
  padding-top: 5px;
}

.mix-step-head {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.mix-step-head > div {
  flex: 1;
}

.mix-step-head h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.2;
}

.mix-step-head p {
  margin-top: 5px;
  color: var(--faint);
  font-size: 9.5px;
  line-height: 1.7;
}

.mix-step.is-complete .step-number {
  color: #171108;
  background: var(--gold);
  border-color: var(--gold);
}

.mix-selection-count {
  flex: 0 0 auto;
  margin-top: 8px;
  padding: 4px 9px;
  color: var(--gold);
  background: rgba(201, 168, 106, 0.07);
  border: 1px solid rgba(201, 168, 106, 0.25);
  border-radius: 99px;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.mix-glass-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mix-glass-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 12px 7px 11px;
  background: rgba(255, 255, 255, 0.014);
  border: 1px solid rgba(225, 204, 168, 0.12);
  border-radius: 9px;
  transition:
    background 0.28s var(--ease),
    border-color 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.mix-glass-choice:hover {
  background: rgba(201, 168, 106, 0.055);
  border-color: rgba(201, 168, 106, 0.36);
  transform: translateY(-2px);
}

.mix-glass-choice.is-active {
  background: rgba(201, 168, 106, 0.08);
  border-color: rgba(201, 168, 106, 0.65);
  box-shadow: inset 0 0 0 1px rgba(201, 168, 106, 0.12);
}

.mix-glass-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 54px;
  color: var(--gold);
  opacity: 0.86;
  transition: opacity 0.25s;
}

.mix-glass-choice.is-active .mix-glass-thumb {
  opacity: 1;
}

.glass-thumb {
  width: 100%;
  height: 100%;
}

.glass-thumb .glass-outline {
  stroke: rgba(231, 215, 186, 0.96);
  stroke-width: 2.4;
}

.mix-glass-choice.is-active .glass-thumb .glass-outline {
  stroke: var(--gold-bright);
}

.mix-glass-name {
  overflow: hidden;
  max-width: 100%;
  margin-top: 7px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.015em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mix-glass-en {
  margin-top: 1px;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 8px;
  font-style: italic;
  line-height: 1.2;
}

.mix-spirit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.mix-spirit-choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 11px;
  text-align: left;
  background: rgba(255, 255, 255, 0.014);
  border: 1px solid rgba(225, 204, 168, 0.12);
  border-radius: 8px;
  transition:
    background 0.25s,
    border-color 0.25s;
}

.mix-spirit-choice:hover {
  background: rgba(201, 168, 106, 0.05);
  border-color: rgba(201, 168, 106, 0.38);
}

.mix-spirit-choice.is-active {
  background: rgba(201, 168, 106, 0.08);
  border-color: rgba(201, 168, 106, 0.58);
}

.mix-spirit-choice .spirit-dot {
  margin-top: 5px;
}

.mix-spirit-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}

.mix-spirit-copy strong {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.mix-spirit-copy small {
  overflow: hidden;
  color: var(--faint);
  font-size: 7.5px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mix-choice-check {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: var(--gold);
  opacity: 0;
}

.mix-choice-check svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mix-spirit-choice.is-active .mix-choice-check {
  opacity: 1;
}

.mix-shelf {
  display: flex;
  flex-direction: column;
}

.mix-shelf-category {
  padding: 11px 0 10px;
  border-top: 1px solid rgba(225, 204, 168, 0.075);
}

.mix-shelf-category:first-child {
  padding-top: 0;
  border-top: 0;
}

.mix-shelf-heading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 9px;
}

.mix-shelf-heading strong {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.mix-shelf-heading small {
  color: #675c4d;
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
  letter-spacing: 0.04em;
}

.mix-ingredient-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mix-ingredient-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid rgba(225, 204, 168, 0.11);
  border-radius: 5px;
  font-size: 9.5px;
  letter-spacing: 0.025em;
  transition:
    color 0.22s,
    background 0.22s,
    border-color 0.22s;
}

.mix-ingredient-chip:hover {
  color: var(--ink-soft);
  background: rgba(201, 168, 106, 0.055);
  border-color: rgba(201, 168, 106, 0.32);
}

.mix-ingredient-chip.is-selected {
  color: var(--gold-bright);
  background: rgba(201, 168, 106, 0.1);
  border-color: rgba(201, 168, 106, 0.4);
}

.mix-ingredient-chip:disabled {
  opacity: 0.32;
}

.mix-ingredient-dot {
  width: 6px;
  height: 6px;
  background: var(--ingredient-color, var(--gold));
  border-radius: 50%;
  box-shadow: 0 0 8px color-mix(in srgb, var(--ingredient-color, var(--gold)) 40%, transparent);
}

.mix-ingredient-name {
  white-space: nowrap;
}

.mix-chip-amount {
  color: var(--faint);
  font-family: var(--serif);
  font-size: 9px;
  font-style: italic;
  white-space: nowrap;
}

.mix-ingredient-chip.is-selected .mix-chip-amount {
  color: var(--gold-deep);
}

.mix-chip-check {
  display: none;
  color: var(--gold);
}

.mix-chip-check svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.mix-ingredient-chip.is-selected .mix-chip-check {
  display: flex;
}

.mix-formula {
  margin-top: 17px;
  padding: 15px 16px 8px;
  background: rgba(18, 14, 9, 0.54);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mix-formula-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mix-formula-head span:last-child {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: none;
}

.mix-formula-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 6px 0;
  border-top: 1px solid rgba(225, 204, 168, 0.075);
}

.formula-dot {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  background: var(--ingredient-color, var(--gold));
  border-radius: 50%;
}

.formula-name {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.formula-name strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.formula-name small {
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.formula-stepper {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}

.formula-stepper button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--faint);
  border: 1px solid rgba(225, 204, 168, 0.14);
  border-radius: 50%;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.formula-stepper button:hover {
  color: var(--gold-bright);
  background: var(--gold-wash);
  border-color: rgba(201, 168, 106, 0.4);
}

.formula-stepper button svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.formula-stepper span {
  min-width: 57px;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  text-align: center;
  white-space: nowrap;
}

.formula-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  margin-left: 2px;
  color: #6d5e4d;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}

.formula-remove:hover {
  color: #d68e73;
  background: rgba(190, 105, 82, 0.12);
}

.formula-remove svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.mix-formula-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 10px;
  color: var(--faint);
}

.mix-formula-empty > span {
  display: flex;
  width: 18px;
  height: 18px;
  color: var(--gold-deep);
}

.mix-formula-empty svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.mix-formula-empty p {
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.mix-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.mix-method-choice {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 4px 10px;
  align-items: start;
  padding: 13px 12px 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.014);
  border: 1px solid rgba(225, 204, 168, 0.12);
  border-radius: 8px;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s var(--ease);
}

.mix-method-choice:hover {
  background: rgba(201, 168, 106, 0.05);
  border-color: rgba(201, 168, 106, 0.35);
  transform: translateY(-2px);
}

.mix-method-choice.is-active {
  background: rgba(201, 168, 106, 0.09);
  border-color: rgba(201, 168, 106, 0.54);
}

.mix-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.mix-method-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mix-method-copy {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.mix-method-copy strong {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.mix-method-copy small {
  color: var(--faint);
  font-family: var(--serif);
  font-size: 9px;
  font-style: italic;
}

.mix-method-note {
  grid-column: 2;
  color: #7e705d;
  font-size: 8px;
  line-height: 1.55;
}

.mix-step-save {
  border-bottom: 0;
}

.mix-name-card {
  padding: 21px 20px 17px;
  background:
    linear-gradient(140deg, rgba(201, 168, 106, 0.06), transparent 44%),
    rgba(19, 15, 10, 0.64);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.mix-name-field {
  position: relative;
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}

.mix-name-field > span {
  display: block;
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.15em;
}

.mix-name-field input {
  width: 100%;
  padding: 0 0 2px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: 0.035em;
  line-height: 1.35;
}

.mix-name-field input::placeholder {
  color: #5f5344;
  font-style: italic;
}

.mix-name-field small {
  position: absolute;
  right: 0;
  bottom: 16px;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
}

.mix-source-note {
  min-height: 17px;
  margin-top: 11px;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
}

.mix-save-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  margin-top: 15px;
}

.mix-save-button:disabled {
  color: var(--faint);
  background: rgba(201, 168, 106, 0.12);
  border-color: rgba(201, 168, 106, 0.16);
  transform: none;
}

.mix-save-note {
  margin-top: 12px;
  color: #615648;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.mix-save-feedback {
  margin-top: 12px;
}

.mix-save-hint,
.mix-save-changed {
  color: #bd8169;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.mix-save-changed {
  color: var(--muted);
}

.mix-save-success {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  color: var(--gold-bright);
  background: rgba(201, 168, 106, 0.08);
  border: 1px solid rgba(201, 168, 106, 0.22);
  border-radius: 7px;
  font-size: 9px;
  letter-spacing: 0.03em;
}

.mix-save-success > svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mix-save-success a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.mix-save-success a svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mix-live-panel {
  position: sticky;
  top: 107px;
  max-height: calc(100vh - 128px);
  padding: 21px 21px 19px;
  overflow-y: auto;
  background:
    radial-gradient(ellipse at 50% 29%, rgba(144, 95, 43, 0.18), transparent 48%),
    linear-gradient(150deg, rgba(28, 21, 14, 0.9), rgba(15, 12, 8, 0.88));
  border: 1px solid rgba(225, 204, 168, 0.17);
  border-radius: 15px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  scrollbar-width: thin;
}

.mix-live-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.mix-live-head .eyebrow {
  font-size: 8px;
}

.mix-live-head small {
  display: block;
  margin-top: 5px;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
}

.mix-live-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  color: var(--gold);
  background: rgba(201, 168, 106, 0.07);
  border: 1px solid rgba(201, 168, 106, 0.18);
  border-radius: 99px;
  font-size: 7.5px;
  letter-spacing: 0.13em;
}

.mix-live-badge i,
.mix-analysis-live i {
  width: 4px;
  height: 4px;
  background: #9eae77;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(158, 174, 119, 0.7);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.mix-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 323px;
  margin: 3px -4px 0;
  overflow: hidden;
}

.mix-aurora {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 260px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.17), transparent 66%);
  filter: blur(16px);
  transform: translateX(-50%);
  pointer-events: none;
}

.mix-live-art {
  position: relative;
  z-index: 1;
  width: min(100%, 290px);
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.32));
  animation: mixArtFloat 7s ease-in-out infinite;
}

.mix-live-art .glass-art {
  width: 100%;
  height: auto;
}

.mix-live-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(225, 204, 168, 0.1);
  border-bottom: 1px solid rgba(225, 204, 168, 0.1);
}

.mix-live-meta div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.mix-live-meta span {
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.mix-live-meta strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mix-live-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 10px;
}

.mix-live-actions .text-button {
  color: var(--faint);
  border-color: transparent;
  font-size: 8px;
}

.mix-live-actions .text-button svg {
  width: 11px;
  height: 11px;
}

.mix-live-actions .text-button:hover {
  color: var(--gold);
}

.mix-live-actions > span {
  color: #6e624f;
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
  text-align: right;
}

.mix-analysis {
  margin-top: 15px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.mix-analysis-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 13px;
}

.mix-analysis-head .eyebrow {
  font-size: 7.5px;
  letter-spacing: 0.18em;
}

.mix-analysis-head strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.mix-analysis-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--faint);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.mix-flavor-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mix-flavor-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 33px;
  align-items: center;
  gap: 8px;
}

.flavor-name {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.flavor-track {
  display: block;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
}

.flavor-track i {
  display: block;
  width: var(--flavor-pct, 0%);
  height: 100%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--flavor-color) 55%, transparent), var(--flavor-color));
  border-radius: inherit;
  animation: growFlavorBar 0.6s var(--ease) both;
}

.flavor-pct {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
  text-align: right;
}

@keyframes growFlavorBar {
  from {
    width: 0;
  }
}

.mix-analysis-summary {
  margin-top: 12px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.6;
}

.mix-sim-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 11px;
  background: rgba(201, 168, 106, 0.045);
  border: 1px solid rgba(201, 168, 106, 0.15);
  border-radius: 8px;
}

.mix-sim-ring {
  --sim-pct: 0;
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 57px;
  height: 57px;
  border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--sim-pct) * 1%), rgba(201, 168, 106, 0.12) 0);
}

.mix-sim-ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: #17120c;
  border-radius: 50%;
}

.mix-sim-ring span {
  position: relative;
  z-index: 1;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1;
}

.mix-sim-ring small {
  color: var(--faint);
  font-size: 8px;
}

.mix-sim-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.mix-sim-kicker {
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mix-sim-copy strong {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.mix-sim-copy small {
  overflow: hidden;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mix-sim-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
}

.mix-sim-row {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr) minmax(50px, 1.1fr) 33px;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid rgba(225, 204, 168, 0.075);
}

.mix-sim-index {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
}

.mix-sim-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mix-sim-name strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mix-sim-name small {
  overflow: hidden;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 9px;
  font-style: italic;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mix-sim-bar {
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
}

.mix-sim-bar i {
  display: block;
  width: var(--sim-pct, 0%);
  height: 100%;
  background: var(--gold);
  border-radius: inherit;
}

.mix-sim-value {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
  text-align: right;
}

.mix-analysis-note {
  margin-top: 13px;
  color: #615647;
  font-size: 7.5px;
  line-height: 1.7;
}

.mix-analysis-empty {
  padding: 15px 8px 8px;
  text-align: center;
}

.mix-analysis-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  color: var(--gold-deep);
}

.mix-analysis-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.mix-analysis-empty p {
  max-width: 260px;
  margin: 0 auto;
  color: var(--faint);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  line-height: 1.7;
}

.mix-analysis-empty small {
  display: block;
  margin-top: 9px;
  color: #52493d;
  font-size: 7px;
  letter-spacing: 0.16em;
}

/* Animations for the live glass */
.mix-stage .custom-glass-art {
  overflow: visible;
}

.custom-liquid {
  transform-origin: 50% 100%;
  animation: liquidSettle 0.55s var(--ease) both;
}

@keyframes liquidSettle {
  from {
    opacity: 0.55;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mix-bubble {
  animation: mixBubble 3.3s ease-in infinite;
  animation-delay: var(--bubble-delay, 0s);
}

@keyframes mixBubble {
  0%,
  100% {
    opacity: 0;
    transform: translateY(6px);
  }
  35% {
    opacity: 0.45;
  }
  70% {
    opacity: 0.25;
    transform: translateY(-16px);
  }
}

.mix-stage.is-shaking .mix-live-art {
  animation: mixShake 0.58s ease-in-out;
}

@keyframes mixShake {
  0%,
  100% {
    transform: translateX(0) rotate(0);
  }
  18% {
    transform: translateX(-5px) rotate(-1.5deg);
  }
  36% {
    transform: translateX(5px) rotate(1.5deg);
  }
  54% {
    transform: translateX(-3px) rotate(-1deg);
  }
  72% {
    transform: translateX(3px) rotate(1deg);
  }
}

.mix-stage.is-blending .mix-live-art {
  animation: mixBlend 0.9s ease-in-out;
}

@keyframes mixBlend {
  0%,
  100% {
    transform: rotate(0) scale(1);
  }
  25% {
    transform: rotate(-2deg) scale(0.98);
  }
  50% {
    transform: rotate(2deg) scale(1.02);
  }
  75% {
    transform: rotate(-1.5deg) scale(0.99);
  }
}

.mix-stage.is-stirring .mix-spoon {
  animation: mixSpoon 0.95s ease-in-out;
  transform-box: fill-box;
  transform-origin: 90% 10%;
}

@keyframes mixSpoon {
  0%,
  100% {
    transform: rotate(0);
    opacity: 0.55;
  }
  30% {
    transform: rotate(-10deg);
  }
  65% {
    transform: rotate(8deg);
  }
}

.mix-stage.is-stirring .mix-swirl {
  animation: mixSwirl 0.95s ease-in-out;
}

@keyframes mixSwirl {
  0%,
  100% {
    opacity: 0.25;
    transform: translateX(0) scaleX(1);
  }
  50% {
    opacity: 0.75;
    transform: translateX(-4px) scaleX(1.25);
  }
}

.mix-stage.is-muddling .garnish-mint {
  animation: mixMint 0.8s ease-in-out;
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

@keyframes mixMint {
  0%,
  100% {
    transform: rotate(0);
  }
  30% {
    transform: rotate(-7deg);
  }
  65% {
    transform: rotate(5deg);
  }
}

@keyframes mixArtFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* --------------------------------------------------------------------------
   My mixed drinks
   -------------------------------------------------------------------------- */
.my-drinks-page {
  padding-top: 152px;
  padding-bottom: 120px;
}

.my-drinks-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-top: 18px;
}

.my-drinks-heading-row h1 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(57px, 7vw, 108px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.my-drinks-heading-row p {
  margin-top: 20px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  letter-spacing: 0.03em;
}

.my-drinks-count-block {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 4px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.my-drinks-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.my-drinks-new {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 9.5px;
}

.custom-drinks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 25px;
}

.custom-drink-card {
  position: relative;
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  min-height: 303px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 14% 22%, color-mix(in srgb, var(--custom-glow) 8%, transparent), transparent 51%),
    linear-gradient(145deg, rgba(28, 22, 15, 0.84), rgba(16, 13, 9, 0.92));
  border: 1px solid rgba(225, 204, 168, 0.12);
  border-radius: 14px;
  cursor: pointer;
  animation: riseIn 0.7s var(--ease) both;
  animation-delay: calc(var(--i) * 55ms);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.custom-drink-card:hover,
.custom-drink-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(201, 168, 106, 0.34);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.custom-card-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 24px 10px 20px;
  border-right: 1px solid rgba(225, 204, 168, 0.08);
}

.custom-card-art::before {
  content: "";
  position: absolute;
  top: 21%;
  left: 50%;
  width: 155px;
  height: 155px;
  border: 1px solid rgba(201, 168, 106, 0.14);
  border-radius: 50%;
  transform: translateX(-50%);
}

.custom-card-art .custom-glass-art {
  position: relative;
  z-index: 1;
  width: 158px;
  height: auto;
  filter: drop-shadow(0 16px 23px rgba(0, 0, 0, 0.28));
}

.custom-card-index {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 8px;
  font-style: italic;
  letter-spacing: 0.08em;
}

.custom-card-fingerprint {
  position: absolute;
  bottom: 14px;
  left: 15px;
  color: #645848;
  font-family: var(--serif);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.custom-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 21px 17px;
}

.custom-card-topline {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.custom-card-topline i {
  color: #53493c;
  font-style: normal;
}

.custom-card-body h3 {
  overflow: hidden;
  margin-top: 11px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 35px);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-card-date {
  margin-top: 4px;
  color: #756856;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.mix-flavor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.mix-flavor-chip,
.mix-version-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  color: var(--muted);
  border: 1px solid rgba(225, 204, 168, 0.11);
  border-radius: 99px;
  font-size: 8.5px;
  letter-spacing: 0.03em;
}

.mix-version-chip {
  color: var(--gold-deep);
  border-color: rgba(201, 168, 106, 0.2);
  font-style: italic;
}

.mix-flavor-chip i {
  width: 5px;
  height: 5px;
  background: var(--flavor-color, var(--gold));
  border-radius: 50%;
}

.custom-card-summary {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 11px;
  color: #998b77;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.custom-card-match {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.custom-card-match::before {
  content: "≈";
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 15px;
}

.custom-card-match strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.custom-card-match em {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.custom-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid rgba(225, 204, 168, 0.08);
}

.custom-remix-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.03em;
  transition: color 0.25s;
}

.custom-remix-button:hover {
  color: var(--gold-bright);
}

.custom-remix-button svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.empty-my-drinks {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(300px, 1fr);
  align-items: center;
  gap: 8vw;
  min-height: 490px;
  padding: 60px 2%;
}

.empty-my-drinks h2 {
  margin-top: 17px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.empty-my-drinks p {
  max-width: 420px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.95;
}

.empty-my-drinks .empty-art {
  width: min(100%, 370px);
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Custom recipe detail
   -------------------------------------------------------------------------- */
.custom-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.custom-version-stamp {
  flex: 0 0 auto;
  color: rgba(201, 168, 106, 0.33);
  font-family: var(--serif);
  font-size: 62px;
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.8;
}

.custom-detail-visual .modal-art .custom-glass-art {
  width: min(100%, 320px);
}

.custom-ingredient-list {
  margin-top: 13px;
}

.custom-ingredient-list .ingredient-amount {
  max-width: 45%;
  text-align: right;
}

.ingredient-role {
  margin-left: 5px;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.08em;
  vertical-align: 1px;
}

.custom-flavour-section .mix-flavor-bars {
  margin-top: 16px;
  gap: 8px;
}

.custom-flavour-section .flavor-name {
  color: var(--ink-soft);
  font-size: 12px;
}

.custom-analysis-summary {
  margin-top: 15px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
}

.custom-flavour-section .mix-sim-list {
  margin-top: 13px;
}

.trace-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin-top: 14px;
  border-top: 1px solid rgba(225, 204, 168, 0.08);
}

.trace-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid rgba(225, 204, 168, 0.08);
}

.trace-grid span {
  color: var(--faint);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trace-grid strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trace-note {
  margin-top: 14px;
  color: var(--faint);
  font-size: 9px;
  line-height: 1.8;
}

.custom-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.custom-delete-button {
  color: #a86e5d;
  border-color: transparent;
  font-size: 9px;
}

.custom-delete-button:hover {
  color: #d99378;
  border-color: transparent;
}

.custom-delete-button.is-confirming {
  color: #e0a087;
}

/* Floating live preview for narrow screens */
.mix-mini-preview {
  display: none;
}

/* --------------------------------------------------------------------------
   Mix lab responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .main-nav {
    gap: clamp(13px, 1.8vw, 26px);
  }

  .mix-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    gap: 28px;
  }

  .custom-drinks-grid {
    grid-template-columns: 1fr;
  }

  .custom-drink-card {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .mix-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .mix-live-panel {
    position: static;
    order: -1;
    width: 100%;
    max-height: none;
    margin-top: 5px;
  }

  .mix-stage {
    min-height: 300px;
  }

  .mix-live-art {
    width: min(100%, 270px);
  }

  .mix-glass-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .my-drinks-page {
    padding-top: 116px;
  }
}

@media (max-width: 780px) {
  .mix-page {
    padding-top: 116px;
    padding-bottom: 160px;
  }

  .mix-live-panel {
    order: 2;
  }

  .mix-mini-preview {
    position: fixed;
    right: 12px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 95;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 7px 12px 7px 8px;
    background:
      linear-gradient(135deg, rgba(201, 168, 106, 0.08), transparent 48%),
      rgba(17, 13, 9, 0.95);
    border: 1px solid rgba(201, 168, 106, 0.27);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .mix-mini-art {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 54px;
    overflow: hidden;
  }

  .mix-mini-art .glass-art {
    width: 48px;
    height: 56px;
    filter: brightness(1.16) drop-shadow(0 0 8px rgba(201, 168, 106, 0.16));
  }

  .mix-mini-art .art-sparkles {
    display: none;
  }

  .mix-mini-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    gap: 1px;
  }

  .mix-mini-copy span {
    color: var(--gold);
    font-size: 6.5px;
    letter-spacing: 0.17em;
  }

  .mix-mini-copy strong {
    overflow: hidden;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mix-mini-copy small {
    overflow: hidden;
    color: var(--faint);
    font-size: 7.5px;
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mix-mini-preview .text-button {
    flex: 0 0 auto;
    gap: 4px;
    padding: 4px 0;
    font-size: 8px;
    border-color: transparent;
  }

  .mix-mini-preview .text-button svg {
    width: 11px;
    height: 11px;
  }

  .mix-hero-row {
    display: block;
    margin-top: 14px;
  }

  .mix-hero h1 {
    font-size: clamp(53px, 14vw, 78px);
  }

  .mix-hero-row p {
    margin-top: 18px;
    font-size: 11.5px;
  }

  .mix-hero-row > .text-link {
    display: inline-flex;
    margin-top: 17px;
  }

  .mix-hero-meta {
    gap: 10px 20px;
    margin-top: 22px;
    padding-top: 14px;
    font-size: 8px;
  }

  .mix-hero-meta strong {
    font-size: 19px;
  }

  .mix-step {
    padding: 23px 0 27px;
  }

  .mix-step-head {
    gap: 11px;
    margin-bottom: 16px;
  }

  .mix-step-head h2 {
    font-size: 24px;
  }

  .mix-step-head p {
    font-size: 9px;
  }

  .mix-glass-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .mix-glass-choice {
    padding: 9px 4px 8px;
  }

  .mix-glass-thumb {
    width: 35px;
    height: 45px;
  }

  .mix-glass-name {
    margin-top: 5px;
    font-size: 9.5px;
  }

  .mix-glass-en {
    font-size: 7px;
  }

  .mix-spirit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .mix-spirit-choice {
    padding: 10px 8px;
  }

  .mix-spirit-copy strong {
    font-size: 14px;
  }

  .mix-spirit-copy small {
    font-size: 7px;
  }

  .mix-ingredient-chip {
    min-height: 31px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .mix-chip-amount {
    font-size: 8px;
  }

  .mix-formula {
    padding: 13px 11px 6px;
  }

  .mix-formula-row {
    gap: 6px;
  }

  .formula-stepper span {
    min-width: 51px;
    font-size: 11px;
  }

  .mix-method-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .mix-method-choice {
    grid-template-columns: 25px 1fr;
    padding: 11px 12px;
  }

  .mix-method-note {
    grid-column: 2;
    font-size: 8px;
  }

  .mix-name-card {
    padding: 17px 15px 14px;
  }

  .mix-name-field input {
    font-size: 23px;
  }

  .mix-save-row {
    gap: 12px;
  }

  .mix-save-row .button {
    min-height: 43px;
  }

  .mix-live-panel {
    padding: 17px 15px 15px;
    border-radius: 12px;
  }

  .mix-stage {
    min-height: 242px;
  }

  .mix-live-art {
    width: min(100%, 215px);
  }

  .mix-live-head small {
    font-size: 10px;
  }

  .mix-live-meta {
    padding: 10px 0;
  }

  .mix-live-meta strong {
    font-size: 12px;
  }

  .mix-live-actions {
    gap: 8px;
  }

  .mix-live-actions > span {
    font-size: 9px;
  }

  .mix-analysis-head {
    margin-bottom: 11px;
  }

  .mix-analysis-head strong {
    font-size: 18px;
  }

  .mix-flavor-row {
    grid-template-columns: 31px minmax(0, 1fr) 29px;
    gap: 6px;
  }

  .flavor-name {
    font-size: 10px;
  }

  .flavor-pct {
    font-size: 9px;
  }

  .mix-analysis-summary {
    font-size: 12px;
  }

  .mix-sim-card {
    padding: 9px;
  }

  .mix-sim-ring {
    width: 51px;
    height: 51px;
  }

  .mix-sim-ring span {
    font-size: 15px;
  }

  .mix-sim-copy strong {
    font-size: 16px;
  }

  .my-drinks-page {
    padding-top: 116px;
    padding-bottom: 80px;
  }

  .my-drinks-heading-row {
    display: block;
  }

  .my-drinks-heading-row h1 {
    font-size: clamp(52px, 13vw, 73px);
  }

  .my-drinks-count-block {
    display: none;
  }

  .my-drinks-toolbar {
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 17px;
    font-size: 8px;
  }

  .my-drinks-new {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 9px;
  }

  .custom-drink-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .custom-card-art {
    min-height: 205px;
    border-right: 0;
    border-bottom: 1px solid rgba(225, 204, 168, 0.08);
  }

  .custom-card-art .custom-glass-art {
    width: 130px;
  }

  .custom-card-body {
    padding: 18px 16px 15px;
  }

  .custom-card-body h3 {
    font-size: 29px;
  }

  .empty-my-drinks {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 35px 0 20px;
    text-align: center;
  }

  .empty-my-drinks .empty-art {
    width: min(80%, 300px);
  }

  .empty-my-drinks .eyebrow {
    justify-content: center;
  }

  .empty-my-drinks p {
    margin-right: auto;
    margin-left: auto;
  }

  .empty-my-drinks .empty-actions {
    justify-content: center;
  }

  .custom-detail-header {
    gap: 10px;
  }

  .custom-version-stamp {
    font-size: 45px;
  }

  .trace-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .custom-detail-actions {
    gap: 13px;
  }

  .custom-detail-actions .button {
    width: 100%;
  }

  .custom-detail-actions .custom-delete-button {
    width: auto;
  }

  .mobile-nav a {
    font-size: 8px;
  }

  .mobile-nav a span {
    letter-spacing: 0.02em;
  }
}

@media (max-width: 480px) {
  .mix-glass-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mix-glass-thumb {
    width: 43px;
    height: 48px;
  }

  .mix-live-meta strong {
    font-size: 11px;
  }

  .mix-live-actions .text-button {
    font-size: 7.5px;
  }

  .mix-live-actions > span {
    display: none;
  }

  .mix-name-field input {
    font-size: 21px;
  }

  .mix-name-field small {
    position: static;
    display: block;
    margin-top: 4px;
    text-align: right;
  }

  .formula-name strong {
    font-size: 12px;
  }

  .formula-stepper span {
    min-width: 47px;
    font-size: 10px;
  }

  .formula-remove {
    margin-left: 0;
  }

  .custom-card-art {
    min-height: 184px;
  }

  .my-drinks-toolbar > span {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
