
:root {
  --ink: #090807;
  --panel: #17130f;
  --line: rgba(243, 224, 196, 0.16);
  --cream: #f6f1e8;
  --mist: #cbbfae;
  --gold: #e2b15a;
  --gold-2: #f3d7a1;
  --sans: "Segoe UI", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --display: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --zh: "Songti SC", "Noto Serif SC", "Source Han Serif SC", PMingLiU, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #050403; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  width: min(430px, 100%);
  margin: 0 auto;
  min-height: 100dvh;
  background:
    radial-gradient(1000px 420px at 80% -10%, rgba(201, 134, 58, 0.2), transparent 55%),
    radial-gradient(700px 380px at 0% 40%, rgba(226, 177, 90, 0.09), transparent 52%),
    var(--ink);
  background-size: 160% 160%, 160% 160%, auto;
  animation: ambient 18s ease-in-out infinite alternate;
  color: var(--cream);
  font-family: var(--sans);
  line-height: 1.55;
  box-shadow: 0 0 0 100vmax #050403;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: transparent; border: 0; }
.qty { min-width: 36px; min-height: 36px; border: 1px solid var(--line); border-radius: 12px; }
img { max-width: 100%; display: block; }
a { color: var(--gold-2); }
.display { font-family: var(--display); font-weight: 520; letter-spacing: -0.03em; }
.zh { font-family: var(--zh); }
.wrap { width: auto; margin: 0; padding: 0 16px; }
.eyebrow { color: var(--gold); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 999px; border: 0; text-decoration: none;
}
.btn-gold { background: linear-gradient(180deg, #f3d7a1, #d7a44a); color: #24180b; font-weight: 700; box-shadow: 0 10px 24px rgba(226, 177, 90, 0.22); }
.btn-live { animation: cta-glow 2.8s ease-in-out infinite; }
@keyframes ambient { from { background-position: 0% 0%, 100% 40%, 0 0; } to { background-position: 18% 8%, 70% 100%, 0 0; } }
@keyframes cta-glow { 50% { box-shadow: 0 12px 32px rgba(226, 177, 90, 0.48); } }
section:nth-of-type(even) { background: radial-gradient(280px 140px at 12% 0%, rgba(226, 177, 90, 0.08), transparent 70%), #100e0c; }
.shelf-bar { position: sticky; top: 64px; z-index: 15; margin: 14px -16px 0; padding: 12px 16px; background: rgba(9, 8, 7, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.price-note { margin: 8px 0 0; color: var(--mist); font-size: 12px; line-height: 1.45; }
.stat-card { margin-top: 14px; padding: 12px 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.35); }
.beer-card { background: linear-gradient(180deg, rgba(243, 215, 161, 0.08), transparent 32%), var(--panel); }
.price { font-family: var(--display); font-size: 1.7rem; }
html:is([lang="zh-Hans"], [lang="zh-Hant"], [lang="ja"], [lang="ko"], [lang="ar"], [lang="he"], [lang="fa"], [lang="ur"], [lang="th"], [lang="hi"], [lang="bn"], [lang="ta"]) .eyebrow { letter-spacing: 0.04em; text-transform: none; }
.btn-line { background: transparent; border: 1px solid rgba(243, 215, 161, 0.4); color: var(--cream); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
header.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 16px; background: rgba(9, 8, 7, 0.82); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--cream); text-decoration: none; }
.brand b { display: block; max-width: 5.6rem; font-size: 13px; line-height: 1.1; }
.brand span { display: block; color: var(--mist); font-size: 11px; }
.mark { width: 32px; height: 32px; color: var(--gold); }
.icon-btn { min-height: 36px; padding: 0 9px; font-size: 13px; }
.hero {
  position: relative; min-height: 0; display: block;
  padding: 0 0 8px; overflow: hidden;
}
.hero-media { position: relative; height: 148px; min-height: 148px; max-height: 148px; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.photo-drift { animation: photo-drift 16s ease-in-out infinite alternate; transform-origin: center; }
@keyframes photo-drift { from { transform: scale(1); } to { transform: scale(1.08) translate3d(-2%, -1.2%, 0); } }
.bubble {
  position: absolute; bottom: -20px; border-radius: 50%;
  background: rgba(243, 215, 161, 0.35); animation: rise linear infinite;
}
@keyframes rise { to { transform: translateY(-110vh); opacity: 0; } }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,8,7,.28), transparent 30%, #090807);
}
.hero-copy { position: relative; z-index: 1; width: auto; margin-top: -42px; padding: 0 16px 8px; }
.hero h1 { margin: 8px 0 0; font-size: 1.35rem; line-height: 1.15; }
.hero h1 em { display: block; font-style: normal; color: var(--gold-2); }
.lede { color: var(--cream); font-size: 1.02rem; }
.gold-line { color: var(--gold-2); min-height: 1.5em; font-size: 1rem; }
.cta-card {
  margin-top: 12px; padding: 14px; border-radius: 24px;
  border: 1px solid rgba(226, 177, 90, 0.45); background: rgba(0,0,0,.62); backdrop-filter: blur(10px);
}
.cta-card h2 { margin: 6px 0 0; font-size: 1.35rem; line-height: 1.15; }
.cta-card .btn { width: 100%; }
.stats { display: flex; gap: 28px; margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); }
.stats b { display: block; font-size: 1.4rem; }
.stats span { color: var(--mist); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
section { padding: 28px 0; }
.h-sec { font-size: 1.65rem; line-height: 1.2; margin: 6px 0; }
.card, .panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 28px;
}
.grid-4, .grid-3, .grid-2, .radar, .card, .wrap, section, .chips, .radar-map { min-width: 0; max-width: 100%; }
.grid-2 > *, .grid-3 > *, .grid-4 > *, .radar > * { min-width: 0; }
.grid-4, .grid-3, .grid-2 { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.beer-card { overflow: hidden; display: flex; flex-direction: column; }
.beer-card img { width: 100%; height: 176px; object-fit: cover; }
.beer-card .btn { width: 100%; }
.beer-card .pad, .pad { padding: 16px; }
.price { color: var(--gold); }
.chips, .reel { touch-action: pan-x pan-y; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.chips { touch-action: pan-x; }
.chips { display: flex; gap: 8px; overflow: auto; max-width: 100%; min-width: 0; padding-bottom: 4px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.chips > * { scroll-snap-align: start; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); padding: 8px 14px; }
.chip.on { background: var(--gold); color: #24180b; border-color: var(--gold); }
.radar {
  display: grid; gap: 14px;
}
.radar-map {
  position: relative; height: 320px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #3a2c1c, #120f0c 70%);
  border: 1px solid var(--line);
}
.pin {
  position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 0; background: var(--gold);
  transform: translate(-50%, -50%); box-shadow: 0 0 0 0 rgba(226,177,90,.7);
  animation: pulse 2.4s ease-out infinite;
}
.pin.on { background: var(--cream); }
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(226,177,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(226,177,90,0); }
}
.continent { position: absolute; background: rgba(226,177,90,.42); border-radius: 50%; }
.discovery { display: grid; overflow: hidden; }
.discovery img { width: 100%; height: 210px; object-fit: cover; }
.discovery .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
}
.shot { position: relative; overflow: hidden; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.desk {
  position: fixed; z-index: 36; left: 50%; right: auto; bottom: calc(118px + env(safe-area-inset-bottom));
  width: min(398px, calc(100% - 24px)); transform: translateX(-50%);
  height: min(24rem, calc(100dvh - 210px)); display: flex; flex-direction: column; overflow: hidden;
  background: #14110e; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.desk[hidden] { display: none !important; }
.desk header { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.desk header p { margin: 0; color: var(--mist); font-size: 12px; }
#desk-log { flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
#desk-log p { margin: 0; max-width: 95%; white-space: pre-wrap; border-radius: 16px; padding: 8px 10px; font-size: 14px; }
#desk-log .user { margin-left: auto; background: var(--gold); color: #24180b; }
#desk-log .bot { background: rgba(255,255,255,.06); }
.desk-prompts { display: flex; gap: 8px; overflow: auto; padding: 0 12px 8px; }
.desk-prompts button { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 12px; }
#desk-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
#desk-input { flex: 1; min-height: 44px; border-radius: 14px; border: 1px solid var(--line); background: transparent; padding: 0 12px; font-size: 16px; }
body.busy .desk, body.busy #desk-toggle { display: none; }
#desk-toggle.on { background: var(--gold); color: #24180b; }
footer { padding: 20px 16px calc(128px + env(safe-area-inset-bottom)); color: var(--mist); border-top: 1px solid var(--line); }
.nav {
  position: fixed; z-index: 30; left: 50%; right: auto; transform: translateX(-50%);
  bottom: max(8px, env(safe-area-inset-bottom));
  width: min(406px, calc(100% - 16px));
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(16,13,10,.94); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(16px);
}
.nav { align-items: end; overflow: visible; }
.nav button { background: transparent; border: 0; color: var(--mist); min-height: 52px; padding: 8px 2px 6px; font-size: 11px; line-height: 1.2; white-space: nowrap; }
.nav button.on { color: var(--gold); }
.nav .shelf-fab {
  display: flex; align-items: center; justify-content: center;
  width: 66px; height: 66px; min-height: 66px; margin-top: -18px; justify-self: center; padding: 6px;
  border-radius: 999px; background: linear-gradient(180deg, #f8e6c4, #e2b15a); color: #24180b;
  font-size: 11px; font-weight: 700; line-height: 1.05; text-align: center; box-shadow: 0 12px 28px rgba(226,177,90,.45);
  overflow: hidden;
}
.nav .shelf-fab.on { color: #24180b; box-shadow: 0 0 0 3px #100e0c, 0 0 0 5px #e2b15a, 0 12px 28px rgba(226,177,90,.45); }
.chip.sub { min-height: 36px; background: transparent; font-size: 13px; }
.chip.sub.on { background: transparent; color: var(--gold); border-color: var(--gold); }
.gate, .quiz, .sheet {
  position: fixed; z-index: 40; top: 0; bottom: 0; left: 50%; right: auto;
  width: min(430px, 100%); transform: translateX(-50%);
  background: rgba(9,8,7,.8);
  display: flex; align-items: flex-end; justify-content: center; padding: 0;
}
.quiz { background: var(--ink); display: block; overflow: auto; z-index: 50; align-items: stretch; }
.gate .box, .sheet .box {
  width: 100%; background: #14110e; border: 1px solid var(--line);
  border-radius: 24px 24px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  max-height: 88dvh; overflow: auto;
}
.quiz-bar { position: sticky; top: 0; background: rgba(9,8,7,.92); padding: 16px; border-bottom: 1px solid var(--line); }
.track { height: 4px; background: rgba(255,255,255,.1); border-radius: 99px; margin-top: 10px; }
.track span { display: block; height: 100%; background: var(--gold); }
.q { width: min(640px, 100%); margin: 0 auto; padding: 28px 16px 48px; }
.option {
  width: 100%; text-align: left; margin-top: 10px; padding: 14px 16px; border-radius: 22px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
}
.option.on { background: var(--gold); color: #24180b; }
.match {
  min-height: calc(100dvh - 80px); display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
}
.flight { position: absolute; left: 50%; top: 22%; z-index: 0; font-size: 28px; animation: fly 2.4s ease-in-out forwards; pointer-events: none; }
.match .copy { position: relative; z-index: 2; }
@keyframes fly {
  0% { transform: translate(var(--from-x), var(--from-y)); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translate(-50%, -50%); opacity: 0; }
}
.places { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.places li { list-style: none; border: 1px solid rgba(226,177,90,.4); border-radius: 99px; padding: 4px 10px; color: var(--gold-2); }
.fact { border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.share-card { border: 1px solid rgba(226,177,90,.4); border-radius: 28px; padding: 18px; background: #14110e; }
.note { color: var(--gold-2); font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; }
header.top { padding-top: max(10px, env(safe-area-inset-top)); }
.reel { display: flex; height: 210px; overflow-x: auto; scroll-snap-type: x mandatory; }
.reel img { width: 100%; height: 210px; flex: 0 0 100%; object-fit: cover; scroll-snap-align: center; }
.bubbles { position: fixed; top: 0; bottom: 0; left: 50%; z-index: 5; width: min(430px, 100%); overflow: hidden; transform: translateX(-50%); pointer-events: none; }
.intro { position: fixed; top: 0; bottom: 0; left: 50%; z-index: 120; width: min(430px, 100%); transform: translateX(-50%); background: #000; }
.intro video { width: 100%; height: 100%; object-fit: cover; }
.offer {
  position: fixed; z-index: 90; top: 0; bottom: 0; left: 50%; width: min(430px, 100%);
  transform: translateX(-50%); display: flex; align-items: flex-end; justify-content: center;
  padding: 0 12px calc(92px + env(safe-area-inset-bottom));
}
.offer-scrim { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.5); }
.offer-card {
  position: relative; z-index: 1; display: block; width: 100%;
  overflow: hidden; border-radius: 22px; border: 1px solid rgba(226,177,90,.5);
  background: linear-gradient(180deg, #1c1712, #100e0c); box-shadow: 0 22px 50px rgba(0,0,0,.45);
  animation: offer-rise .42s cubic-bezier(.2,.8,.2,1);
}
.offer-stub {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: #e2b15a; color: #24180b;
}
.offer-stub::before, .offer-stub::after {
  content: ""; position: absolute; right: -7px; width: 14px; height: 14px; border-radius: 50%; background: #100e0c;
}
.offer-stub::before { top: -7px; }
.offer-stub::after { bottom: -7px; }
.offer-amt { font-family: Fraunces, serif; font-size: 1.7rem; line-height: 1; }
.offer-cut { position: absolute; top: 10px; bottom: 10px; right: 0; border-right: 1px dashed rgba(36,24,11,.35); }
.offer-copy { position: relative; padding-block: 16px; padding-inline: 14px 2.2rem; text-align: start; }
.offer-x { position: absolute; top: 4px; inset-inline-end: 6px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--mist); font-size: 1.35rem; }
@keyframes offer-rise { from { transform: translateY(18px); } to { transform: translateY(0); } }
.icon-btn svg { width: 18px; height: 18px; display: block; }
@media (prefers-reduced-motion: reduce) {
  .photo-drift, .pin, .flight, .bubble, .offer-card, .btn-live, body { animation: none; }
}
