/*
 * 会理软籽石榴 · Aurora Glass redesign
 * 只覆盖视觉层，不改动下单、截图与图片预览逻辑。
 */

:root {
  --cream: #16090f;
  --paper: rgba(39, 19, 29, 0.72);
  --ink: #fff8f5;
  --ink-soft: rgba(255, 240, 235, 0.68);
  --red: #f04461;
  --red-deep: #b90f37;
  --red-tint: rgba(240, 68, 97, 0.14);
  --green: #7fcf9d;
  --green-deep: #4aa66c;
  --green-tint: rgba(83, 181, 119, 0.13);
  --honey: #ffc978;
  --honey-deep: #d8942e;
  --honey-tint: rgba(255, 201, 120, 0.13);
  --pink: #ff89a3;
  --glass: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.065));
  --glass-strong: linear-gradient(145deg, rgba(255,255,255,.23), rgba(255,255,255,.09));
  --glass-dark: linear-gradient(145deg, rgba(47,20,31,.82), rgba(21,8,15,.68));
  --glass-border: rgba(255,255,255,.24);
  --glass-highlight: rgba(255,255,255,.44);
  --glass-shadow: 0 24px 70px rgba(9, 0, 4, .38), inset 0 1px 0 rgba(255,255,255,.16);
  --glass-shadow-soft: 0 14px 36px rgba(12, 0, 6, .24), inset 0 1px 0 rgba(255,255,255,.13);
  --border: 1px solid var(--glass-border);
  --hard-shadow: var(--glass-shadow-soft);
  --hard-shadow-lg: var(--glass-shadow);
  --radius: 28px;
  --radius-sm: 18px;
}

html {
  background: #14080e;
}

body {
  position: relative;
  min-height: 100vh;
  color: var(--ink);
  background: #14080e;
  background-image: none;
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: -7vh -7vw;
  background:
    linear-gradient(180deg, rgba(15,5,10,.26) 0%, rgba(22,7,13,.72) 52%, rgba(11,3,7,.92) 100%),
    url('../images/bg_pomegranate_960.webp') 42% center / cover no-repeat;
  filter: saturate(1.18) contrast(1.04);
  transform: scale(1.03);
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 115, 140, .30), transparent 31%),
    radial-gradient(circle at 90% 32%, rgba(103, 214, 151, .19), transparent 28%),
    radial-gradient(circle at 30% 76%, rgba(255, 194, 108, .13), transparent 34%),
    linear-gradient(180deg, transparent 0%, rgba(20,6,12,.20) 38%, rgba(10,2,6,.72) 100%);
}

::selection {
  background: rgba(255, 134, 156, .85);
  color: #210810;
}

.wrap {
  position: relative;
  max-width: 760px;
  padding: 18px 22px 34px;
}

.masthead {
  position: relative;
  z-index: 10;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(44, 19, 29, .46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 34px rgba(6,0,3,.18);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  color: rgba(255,255,255,.88);
}

.masthead .dot-sep {
  width: 6px;
  height: 6px;
  background: #ff8da3;
  box-shadow: 0 0 0 4px rgba(255,119,146,.12), 0 0 16px #ff6f8a;
}

.masthead .vol { color: #ffc3cf; }

.hero {
  padding: 56px 2px 28px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  top: 6px;
  right: -80px;
  border-radius: 50%;
  background: rgba(255, 84, 116, .18);
  filter: blur(48px);
  pointer-events: none;
}

.hero-eyebrow {
  color: rgba(255,255,255,.74);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.hero-eyebrow .gi-mark {
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff5f7;
  background: rgba(255, 71, 105, .34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 8px 22px rgba(126,5,38,.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-title {
  max-width: 680px;
  margin-top: 18px;
  font-size: clamp(48px, 12vw, 80px);
  line-height: 1;
  letter-spacing: -.035em;
  color: #fff8f6;
  text-shadow: 0 5px 32px rgba(49,0,14,.42);
}

@supports (-webkit-text-stroke: 1px white) {
  .hero-title .stroke {
    color: rgba(255,255,255,.96);
    -webkit-text-stroke: 0;
  }
}

.hero-title .juicy {
  margin-top: 11px;
  padding: 6px 18px 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 94, 123, .68), rgba(158, 7, 48, .50));
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 22px 60px rgba(91,0,26,.32);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  transform: none;
}

.hero-en {
  margin-top: 18px;
  color: rgba(255,245,242,.66);
  letter-spacing: .06em;
}

.hero-media {
  margin-top: 28px;
}

.hero-frame {
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 34px;
  background: rgba(255,255,255,.12);
  box-shadow: 0 32px 90px rgba(6,0,3,.42), inset 0 1px 0 rgba(255,255,255,.28);
  backdrop-filter: blur(20px) saturate(155%);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
  transform: none;
}

.hero-frame img {
  border-radius: 27px;
  min-height: 340px;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.02);
}

.hero-media::after {
  display: none;
}

.spin-sticker,
.price-sticker {
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(41, 17, 27, .55);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 16px 42px rgba(10,0,5,.32);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.price-sticker .p-old { color: rgba(255,255,255,.62); }
.price-sticker .p-now { color: #ffd0d8; }

.hero-chips {
  margin-top: 16px;
  gap: 9px;
}

.chip,
.chip:nth-child(n) {
  padding: 9px 13px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transform: none;
}

.chip i { color: #ffc0cd; }

.hero-cta-row { gap: 12px; }

.btn-hero {
  min-height: 50px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(246, 78, 108, .92), rgba(170, 11, 52, .92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 15px 38px rgba(109,0,30,.32);
  transform: none;
  overflow: hidden;
}

.btn-hero::before,
.btn-share::before,
.fin-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.28) 43%, transparent 64%);
  transform: translateX(-130%);
  transition: transform .65s ease;
}

.btn-hero:hover::before,
.btn-share:hover::before,
.fin-btn:hover::before { transform: translateX(130%); }

.btn-hero:not(.ghost)::after { display: none; }

.btn-hero.ghost {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 12px 32px rgba(7,0,3,.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.btn-hero:active { transform: scale(.98); }

.marquee {
  margin: 4px -22px 0;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.075);
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transform: none;
}

.marquee .sep { color: #ff9eb1; }

.stats-band {
  gap: 10px;
  margin-top: 26px;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
}

.stat,
.stat:nth-child(n) {
  min-height: 105px;
  padding: 19px 10px;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 12px 32px rgba(8,0,4,.16);
  backdrop-filter: blur(17px) saturate(145%);
  -webkit-backdrop-filter: blur(17px) saturate(145%);
}

.stat .num { color: #fff; }
.stat .lab { color: rgba(255,255,255,.58); }
.stat:hover { transform: translateY(-3px); background: rgba(255,255,255,.15); }

.section {
  position: relative;
  margin-top: 24px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(62, 27, 41, .55), rgba(28, 10, 18, .43));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(25px) saturate(145%);
  -webkit-backdrop-filter: blur(25px) saturate(145%);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(255,255,255,.08), transparent 38%);
}

.sec-head {
  margin-bottom: 21px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.sec-index {
  color: #ffadbc;
  background: rgba(255, 92, 122, .15);
  border: 1px solid rgba(255, 143, 163, .22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}

.sec-title { color: #fff; letter-spacing: .01em; }
.sec-en { color: rgba(255,255,255,.46); }

.side-tip {
  color: rgba(255,255,255,.62);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: none;
  transform: none;
}

.feature-row {
  margin-top: 10px;
  padding: 17px 18px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transform: none;
}

.feature-row::before { background: linear-gradient(#ff7993, #ffb5c2); }
.feature-row:nth-child(2n)::before { background: linear-gradient(#7dd6a0, #b5edc9); }
.feature-row:nth-child(3n)::before { background: linear-gradient(#ffc979, #ffe0ad); }
.feature-no { color: rgba(255,255,255,.34); }
.feature-body h3 { color: #fff; }
.feature-body p { color: rgba(255,255,255,.62); }

.service-pills { gap: 9px; }

.service-pill {
  color: rgba(255,255,255,.74);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: none;
}

.service-pill i { color: #ff9eb2; }

.pkg-grid {
  gap: 14px;
}

.pkg-card,
.pkg-card:nth-child(n) {
  overflow: hidden;
  color: #fff;
  background: rgba(255,255,255,.085);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 16px 36px rgba(8,0,4,.18);
  transform: none;
  transition: transform .28s ease, background .28s ease, border-color .28s ease;
}

.pkg-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.27);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 22px 45px rgba(8,0,4,.26);
}

.pkg-img-wrap { background: rgba(0,0,0,.16); }
.pkg-img-wrap img { transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.pkg-card:hover .pkg-img-wrap img { transform: scale(1.045); }

.pkg-tag,
.zoom-btn {
  color: #fff;
  background: rgba(22, 6, 13, .55);
  border: 1px solid rgba(255,255,255,.23);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 8px 24px rgba(0,0,0,.24);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
}

.zoom-btn:active { transform: scale(.96); }
.pkg-name { color: #fff; }
.pkg-desc { color: rgba(255,255,255,.58); }

.spec-item {
  margin-top: 11px;
  color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 21px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transform: none;
  transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.spec-item:hover { transform: translateY(-2px); background: rgba(255,255,255,.10); }

.spec-item.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(243, 76, 108, .30), rgba(156, 16, 53, .20));
  border-color: rgba(255, 143, 163, .48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 15px 36px rgba(102,0,29,.24), 0 0 0 1px rgba(255, 92, 122, .08);
}

.spec-radio {
  color: #351019;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.24);
}

.spec-item.active .spec-radio {
  color: #fff;
  background: linear-gradient(135deg, #ff6f8a, #ce1748);
  border-color: rgba(255,255,255,.36);
  box-shadow: 0 7px 18px rgba(134,0,38,.30);
}

.spec-name { color: #fff; }
.spec-desc { color: rgba(255,255,255,.54); }

.spec-badge,
.spec-count-tag {
  color: #ffdbe2;
  background: rgba(255, 100, 130, .14);
  border: 1px solid rgba(255, 139, 160, .17);
}

.spec-price { color: #ffd0d9; }
.spec-price .unit { color: rgba(255,255,255,.48); }

.blind-box {
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 181, 216, .18), transparent 35%),
    linear-gradient(135deg, rgba(179, 85, 178, .23), rgba(93, 43, 124, .20));
  border: 1px solid rgba(235, 176, 255, .25);
  border-radius: 23px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 16px 38px rgba(17,0,29,.22);
  transform: none;
}

.blind-title { color: #fff; }
.blind-desc,
.blind-hint { color: rgba(255,255,255,.58); }

.blind-badge,
.blind-pill {
  color: #f8dbff;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: none;
}

.blind-pill.lit {
  color: #fff;
  background: rgba(255, 104, 155, .30);
  border-color: rgba(255, 166, 196, .42);
  box-shadow: 0 0 26px rgba(255, 83, 147, .24);
}

.form-group {
  padding: 16px 0 0;
}

.form-label { color: rgba(255,255,255,.82); }
.form-label::before { background: #ff829b; box-shadow: 0 0 13px rgba(255,101,132,.75); }

.counter {
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.counter-btn {
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}

.counter-btn:hover { background: rgba(255,255,255,.16); }
.counter-btn:active { transform: scale(.93); }
.counter input { color: #fff; }

.field {
  color: #fff;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 17px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  outline: none;
}

.field::placeholder { color: rgba(255,255,255,.32); }

.field:focus {
  color: #fff;
  background: rgba(255,255,255,.11);
  border-color: rgba(255, 151, 170, .58);
  box-shadow: 0 0 0 4px rgba(255, 92, 122, .12), inset 0 1px 0 rgba(255,255,255,.10);
}

.gift-note,
.tips-card {
  color: rgba(255,255,255,.79);
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 21px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.gift-note h4,
.tips-card strong { color: #fff; }
.gift-note p,
.tips-card p { color: rgba(255,255,255,.59); }
.gift-note .g-ico { color: #ffd0d9; background: rgba(255, 97, 128, .14); }

.finale {
  margin-top: 26px;
  padding: 48px 26px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(255,190,202,.24), transparent 32%),
    linear-gradient(135deg, rgba(220, 45, 87, .44), rgba(86, 10, 43, .54));
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 32px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  transform: none;
}

.finale::before {
  opacity: .16;
  border-color: rgba(255,255,255,.42);
}

.fin-en { color: rgba(255,255,255,.54); }
.fin-title { color: #fff; }
.fin-sub { color: rgba(255,255,255,.58); }

.fin-btn {
  position: relative;
  overflow: hidden;
  color: #4b1020;
  background: linear-gradient(135deg, #fff9f7, #ffdce3);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 17px;
  box-shadow: inset 0 1px 0 #fff, 0 14px 32px rgba(58,0,18,.26);
}

.site { color: rgba(255,255,255,.42); }

.bottom-bar {
  left: 50%;
  right: auto;
  bottom: 12px;
  width: min(calc(100% - 24px), 720px);
  padding: 12px 12px 12px 17px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 23px;
  color: #fff;
  background: rgba(42, 16, 27, .68);
  box-shadow: 0 22px 65px rgba(5,0,3,.48), inset 0 1px 0 rgba(255,255,255,.17);
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  transform: translateX(-50%);
}

.summary-title { color: #fff; }
.summary-title .money { color: #ffc2ce; }
.summary-detail { color: rgba(255,255,255,.48); }

.btn-share {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #f95775, #bd1645);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26), 0 10px 28px rgba(100,0,29,.30);
}

.btn-share::after { display: none; }
.btn-share:active { transform: scale(.97); }

.modal-overlay {
  background: rgba(8, 1, 5, .69);
  backdrop-filter: blur(13px) saturate(120%);
  -webkit-backdrop-filter: blur(13px) saturate(120%);
}

.lightbox-content,
.share-modal-body {
  color: #fff;
  background: linear-gradient(145deg, rgba(64, 28, 43, .88), rgba(22, 8, 15, .86));
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 28px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
}

.lightbox-img { border-radius: 18px; }
.lightbox-caption,
.share-note { color: rgba(255,255,255,.62); }

.modal-close-btn {
  color: #fff;
  background: rgba(20,5,11,.58);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.share-tips { color: #ffd3dc; }
.generated-img-container { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }

.btn-secondary,
.btn-primary-action {
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.btn-secondary { color: #fff; background: rgba(255,255,255,.09); }
.btn-primary-action { color: #fff; background: linear-gradient(135deg, #f95775, #bd1645); }

@media (max-width: 620px) {
  .wrap { padding: 12px 14px 28px; }
  .masthead { padding-inline: 13px; font-size: 11px; letter-spacing: 1.3px; }
  .hero { padding-top: 42px; }
  .hero-frame img { min-height: 280px; }
  .marquee { margin-inline: -14px; }
  .section { padding: 22px 17px; border-radius: 26px; }
  .stats-band { gap: 8px; }
  .stat, .stat:nth-child(n) { min-height: 92px; border-radius: 18px; }
  .bottom-bar { bottom: 8px; width: calc(100% - 16px); border-radius: 20px; }
}

@media (max-width: 430px) {
  .hero-title { font-size: clamp(44px, 13vw, 59px); }
  .hero-title .juicy { padding-inline: 13px; }
  .hero-frame { border-radius: 27px; }
  .hero-frame img { border-radius: 21px; min-height: 245px; }
  .section { padding-inline: 15px; }
  .side-tip { display: none; }
  .pkg-grid { gap: 11px; }
  .pkg-card, .pkg-card:nth-child(n) { border-radius: 20px; }
  .spec-item { padding-inline: 13px; }
  .bottom-summary { min-width: 0; }
  .summary-title, .summary-detail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .btn-share { flex: none; padding-inline: 15px; }
}

@media (prefers-reduced-transparency: reduce) {
  .masthead,
  .section,
  .bottom-bar,
  .lightbox-content,
  .share-modal-body { background: rgba(39, 15, 25, .95); }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .masthead,
  .section,
  .bottom-bar,
  .lightbox-content,
  .share-modal-body { background: rgba(39, 15, 25, .94); }
}

/* ============ Bright Glass · 明亮奶油主题 ============ */
:root {
  --cream: #fff6f3;
  --paper: rgba(255,255,255,.76);
  --ink: #461923;
  --ink-soft: rgba(70,25,35,.62);
  --red: #e83e60;
  --red-deep: #bd2145;
  --red-tint: rgba(232,62,96,.10);
  --green: #4f9f6c;
  --green-deep: #347f51;
  --green-tint: rgba(79,159,108,.11);
  --honey: #f2af43;
  --honey-deep: #a96d13;
  --honey-tint: rgba(242,175,67,.12);
  --pink: #ed7290;
  --glass: linear-gradient(145deg, rgba(255,255,255,.82), rgba(255,246,246,.54));
  --glass-strong: linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,245,246,.70));
  --glass-dark: linear-gradient(145deg, rgba(255,255,255,.90), rgba(255,242,244,.76));
  --glass-border: rgba(255,255,255,.82);
  --glass-highlight: rgba(255,255,255,.96);
  --glass-shadow: 0 24px 65px rgba(116, 48, 64, .14), inset 0 1px 0 rgba(255,255,255,.94);
  --glass-shadow-soft: 0 14px 34px rgba(116, 48, 64, .10), inset 0 1px 0 rgba(255,255,255,.88);
}

html,
body { background: #fff6f3; }

body { color: var(--ink); }

body::before {
  background:
    linear-gradient(180deg, rgba(255,250,247,.48) 0%, rgba(255,246,243,.65) 48%, rgba(255,248,245,.86) 100%),
    url('../images/bg_pomegranate_960.webp') 42% center / cover no-repeat;
  filter: saturate(.88) brightness(1.06) blur(2px);
  transform: scale(1.055);
}

body::after {
  background:
    radial-gradient(circle at 10% 6%, rgba(255, 164, 182, .34), transparent 31%),
    radial-gradient(circle at 91% 34%, rgba(148, 222, 173, .28), transparent 29%),
    radial-gradient(circle at 28% 76%, rgba(255, 211, 140, .22), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,247,244,.42) 48%, rgba(255,249,247,.82));
}

.masthead {
  color: rgba(70,25,35,.78);
  background: rgba(255,255,255,.60);
  border-color: rgba(255,255,255,.88);
  box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(103,42,56,.10);
  backdrop-filter: blur(25px) saturate(122%);
  -webkit-backdrop-filter: blur(25px) saturate(122%);
}

.masthead .dot-sep {
  background: #ed5776;
  box-shadow: 0 0 0 4px rgba(237,87,118,.11), 0 0 14px rgba(232,62,96,.35);
}

.masthead .vol { color: #a52e49; }

.hero::before {
  background: rgba(255, 134, 158, .28);
  filter: blur(52px);
}

.hero-eyebrow { color: rgba(70,25,35,.68); }

.hero-eyebrow .gi-mark {
  color: #8e203c;
  background: rgba(255,255,255,.54);
  border-color: rgba(255,255,255,.78);
  box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(134,39,61,.10);
}

.hero-title {
  color: #43131f;
  text-shadow: 0 5px 28px rgba(255,255,255,.58), 0 2px 8px rgba(76,14,30,.08);
}

@supports (-webkit-text-stroke: 1px white) {
  .hero-title .stroke { color: #43131f; }
}

.hero-title .juicy {
  color: #fff;
  background: linear-gradient(135deg, rgba(245, 91, 119, .94), rgba(196, 31, 70, .90));
  border-color: rgba(255,255,255,.70);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 18px 45px rgba(167,28,60,.19);
}

.hero-en { color: rgba(70,25,35,.58); }

.hero-frame {
  background: rgba(255,255,255,.46);
  border-color: rgba(255,255,255,.86);
  box-shadow: 0 28px 75px rgba(99,41,54,.18), inset 0 1px 0 #fff;
}

.spin-sticker,
.price-sticker {
  color: #5a1728;
  background: rgba(255,255,255,.70);
  border-color: rgba(255,255,255,.90);
  box-shadow: inset 0 1px 0 #fff, 0 14px 38px rgba(93,35,48,.15);
}

.spin-sticker .center-ico { color: #d62c54; }
.price-sticker .p-old { color: rgba(70,25,35,.54); }
.price-sticker .p-now { color: #c6244a; }

.chip,
.chip:nth-child(n) {
  color: rgba(70,25,35,.76);
  background: rgba(255,255,255,.58);
  border-color: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(107,46,59,.08);
}

.chip i { color: #d73559; }

.btn-hero {
  color: #fff;
  border-color: rgba(255,255,255,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.40), 0 14px 34px rgba(173,31,65,.18);
}

.btn-hero.ghost {
  color: #6d2034;
  background: rgba(255,255,255,.60);
  border-color: rgba(255,255,255,.84);
  box-shadow: inset 0 1px 0 #fff, 0 10px 26px rgba(91,34,47,.09);
}

.marquee {
  color: rgba(70,25,35,.72);
  background: rgba(255,255,255,.42);
  border-color: rgba(255,255,255,.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}

.marquee .sep { color: #dc4264; }

.stat,
.stat:nth-child(n) {
  color: #461923;
  background: rgba(255,255,255,.58);
  border-color: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 #fff, 0 12px 30px rgba(99,42,55,.09);
}

.stat .num { color: #b9294b; }
.stat .lab { color: rgba(70,25,35,.53); }
.stat:hover { background: rgba(255,255,255,.74); }

.section {
  color: #461923;
  background: linear-gradient(145deg, rgba(255,255,255,.67), rgba(255,246,246,.50));
  border-color: rgba(255,255,255,.90);
  box-shadow: 0 24px 65px rgba(77,39,48,.13), inset 0 1px 0 rgba(255,255,255,.98);
  backdrop-filter: blur(32px) saturate(120%);
  -webkit-backdrop-filter: blur(32px) saturate(120%);
}

.section::before {
  background: linear-gradient(130deg, rgba(255,255,255,.55), transparent 42%);
}

.sec-head { border-color: rgba(94,34,48,.10); }

.sec-index {
  color: #bd274b;
  background: rgba(235,67,99,.09);
  border-color: rgba(220,62,94,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.sec-title { color: #461923; }
.sec-en { color: rgba(70,25,35,.43); }

.side-tip {
  color: rgba(70,25,35,.58);
  background: rgba(255,255,255,.54);
  border-color: rgba(255,255,255,.78);
}

.feature-row {
  color: rgba(70,25,35,.84);
  background: rgba(255,255,255,.48);
  border-color: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 8px 22px rgba(100,42,56,.055);
}

.feature-no { color: rgba(177,35,70,.30); }
.feature-body h3 { color: #521927; }
.feature-body p { color: rgba(70,25,35,.58); }

.service-pill {
  color: rgba(70,25,35,.67);
  background: rgba(255,255,255,.48);
  border-color: rgba(255,255,255,.70);
}

.service-pill i { color: #d7385b; }

.pkg-card,
.pkg-card:nth-child(n) {
  color: #461923;
  background: rgba(255,255,255,.60);
  border-color: rgba(255,255,255,.84);
  box-shadow: inset 0 1px 0 #fff, 0 14px 32px rgba(104,43,57,.10);
}

.pkg-card:hover {
  background: rgba(255,255,255,.78);
  border-color: #fff;
  box-shadow: inset 0 1px 0 #fff, 0 20px 42px rgba(104,43,57,.14);
}

.pkg-img-wrap { background: rgba(128,42,62,.05); }

.pkg-tag,
.zoom-btn {
  color: #fff;
  background: rgba(82, 21, 37, .69);
  border-color: rgba(255,255,255,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 8px 20px rgba(68,16,29,.15);
}

.pkg-name { color: #501724; }
.pkg-desc { color: rgba(70,25,35,.58); }

.spec-item {
  color: #461923;
  background: rgba(255,255,255,.46);
  border-color: rgba(255,255,255,.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 7px 20px rgba(98,38,52,.055);
}

.spec-item:hover { background: rgba(255,255,255,.68); }

.spec-item.active {
  color: #531627;
  background: linear-gradient(135deg, rgba(255,228,234,.91), rgba(255,245,246,.73));
  border-color: rgba(235, 88, 118, .38);
  box-shadow: inset 0 1px 0 #fff, 0 13px 32px rgba(173,36,68,.12), 0 0 0 1px rgba(235,88,118,.06);
}

.spec-radio {
  color: transparent;
  background: rgba(255,255,255,.62);
  border-color: rgba(119,48,64,.18);
}

.spec-item.active .spec-radio {
  color: #fff;
  border-color: rgba(255,255,255,.66);
}

.spec-name { color: #4d1724; }
.spec-desc { color: rgba(70,25,35,.53); }

.spec-badge,
.spec-count-tag {
  color: #af2848;
  background: rgba(235,72,104,.09);
  border-color: rgba(222,62,94,.12);
}

.spec-price { color: #c92b4f; }
.spec-price .unit { color: rgba(70,25,35,.46); }

.blind-box {
  color: #51203d;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 184, 215, .36), transparent 38%),
    linear-gradient(135deg, rgba(251,231,248,.88), rgba(244,235,255,.72));
  border-color: rgba(209,141,215,.38);
  box-shadow: inset 0 1px 0 #fff, 0 14px 34px rgba(92,48,110,.10);
}

.blind-title { color: #55213f; }
.blind-desc,
.blind-hint { color: rgba(81,32,61,.57); }

.blind-badge,
.blind-pill {
  color: #74305c;
  background: rgba(255,255,255,.54);
  border-color: rgba(255,255,255,.80);
}

.blind-pill.lit {
  color: #a22151;
  background: rgba(255,218,232,.82);
  border-color: rgba(229,107,153,.34);
  box-shadow: 0 0 24px rgba(220,83,136,.16);
}

.form-label { color: rgba(70,25,35,.78); }

.counter {
  background: rgba(255,255,255,.48);
  border-color: rgba(255,255,255,.76);
  box-shadow: inset 0 1px 0 #fff;
}

.counter-btn {
  color: #8f2942;
  background: rgba(255,255,255,.66);
  border-color: rgba(255,255,255,.86);
  box-shadow: inset 0 1px 0 #fff, 0 5px 14px rgba(100,40,54,.07);
}

.counter-btn:hover { background: rgba(255,255,255,.90); }
.counter input { color: #bd2248; }

.field {
  color: #461923;
  background: rgba(255,255,255,.51);
  border-color: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 #fff, 0 7px 20px rgba(98,38,52,.05);
}

.field::placeholder { color: rgba(70,25,35,.34); }

.field:focus {
  color: #461923;
  background: rgba(255,255,255,.78);
  border-color: rgba(229, 93, 121, .53);
  box-shadow: 0 0 0 4px rgba(233, 79, 110, .10), inset 0 1px 0 #fff;
}

.gift-note,
.tips-card {
  color: rgba(70,25,35,.74);
  background: rgba(255,255,255,.48);
  border-color: rgba(255,255,255,.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 8px 22px rgba(99,40,54,.05);
}

.gift-note h4,
.tips-card strong { color: #4d1724; }

.gift-note p,
.tips-card p { color: rgba(70,25,35,.57); }

.gift-note .g-ico {
  color: #c92b51;
  background: rgba(239,92,121,.11);
}

.finale {
  color: #57182a;
  background:
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.56), transparent 34%),
    linear-gradient(135deg, rgba(255,216,225,.86), rgba(255,238,241,.68));
  border-color: rgba(255,255,255,.86);
  box-shadow: var(--glass-shadow);
}

.finale::before { border-color: rgba(189,55,87,.20); }
.fin-en { color: rgba(87,24,42,.49); }
.fin-title { color: #551629; }
.fin-sub { color: rgba(87,24,42,.54); }

.fin-btn {
  color: #fff;
  background: linear-gradient(135deg, #ed4d6d, #bd2147);
  border-color: rgba(255,255,255,.70);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 13px 30px rgba(154,30,59,.17);
}

.site { color: rgba(70,25,35,.43); }

.bottom-bar {
  color: #461923;
  background: rgba(255,255,255,.79);
  border-color: rgba(255,255,255,.92);
  box-shadow: 0 18px 50px rgba(92,35,49,.17), inset 0 1px 0 #fff;
  backdrop-filter: blur(30px) saturate(122%);
  -webkit-backdrop-filter: blur(30px) saturate(122%);
}

.summary-title { color: #461923; }
.summary-title .money { color: #c72a4e; }
.summary-detail { color: rgba(70,25,35,.48); }

.btn-share {
  color: #fff;
  border-color: rgba(255,255,255,.60);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 10px 25px rgba(154,27,58,.18);
}

.modal-overlay {
  background: rgba(72, 31, 42, .24);
  backdrop-filter: blur(15px) saturate(110%);
  -webkit-backdrop-filter: blur(15px) saturate(110%);
}

.lightbox-content,
.share-modal-body {
  color: #461923;
  background: linear-gradient(145deg, rgba(255,255,255,.93), rgba(255,244,246,.86));
  border-color: rgba(255,255,255,.96);
  box-shadow: 0 28px 80px rgba(74,27,39,.22), inset 0 1px 0 #fff;
}

.lightbox-caption,
.share-note { color: rgba(70,25,35,.59); }

.modal-close-btn {
  color: #7d263d;
  background: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.93);
}

.share-tips { color: #b62649; }
.generated-img-container { background: rgba(255,255,255,.56); border-color: rgba(255,255,255,.86); }

.btn-secondary {
  color: #6c2034;
  background: rgba(255,255,255,.70);
  border-color: rgba(255,255,255,.92);
}

.btn-primary-action {
  color: #fff;
  border-color: rgba(255,255,255,.54);
}

@media (prefers-reduced-transparency: reduce) {
  .masthead,
  .section,
  .bottom-bar,
  .lightbox-content,
  .share-modal-body { background: rgba(255,249,248,.97); }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .masthead,
  .section,
  .bottom-bar,
  .lightbox-content,
  .share-modal-body { background: rgba(255,249,248,.96); }
}

/* Hero 圆形产地徽章：去除旧方底，让轮廓与圆形图案一致 */
.spin-sticker {
  top: -22px;
  right: -4px;
  width: 106px;
  height: 106px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 12px 18px rgba(100, 32, 50, .20));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.spin-sticker svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.spin-sticker .badge-disc {
  fill: url('#badge-fill');
  stroke: rgba(255,255,255,.96);
  stroke-width: 2.5px;
}

.spin-sticker .badge-inner-ring {
  fill: none;
  stroke: rgba(128, 29, 55, .17);
  stroke-width: 1px;
}

.spin-sticker .center-ico {
  font-size: 27px;
  color: #df3159;
  filter: drop-shadow(0 2px 4px rgba(142, 30, 57, .12));
}

.spin-sticker .pomegranate-icon {
  width: 31px;
  height: 35px;
  overflow: visible;
}

.spin-sticker .pomegranate-crown,
.spin-sticker .pomegranate-fruit {
  fill: currentColor;
}

.spin-sticker .pomegranate-shine {
  fill: rgba(255,255,255,.30);
}

@media (max-width: 430px) {
  .spin-sticker {
    top: -18px;
    right: -2px;
    width: 96px;
    height: 96px;
  }

  .spin-sticker .center-ico { font-size: 24px; }
  .spin-sticker .pomegranate-icon { width: 28px; height: 32px; }
}

@media (max-width: 640px) {
  body::before {
    background:
      linear-gradient(180deg, rgba(255,250,247,.48) 0%, rgba(255,246,243,.65) 48%, rgba(255,248,245,.86) 100%),
      url('../images/bg_pomegranate_720.webp') 42% center / cover no-repeat;
  }
}

/* 宽屏不再用 cover 放大竖图：保持接近原始尺寸，四周以柔和底色衔接 */
@media (min-width: 900px) {
  body::before {
    background:
      linear-gradient(180deg, rgba(255,250,247,.44) 0%, rgba(255,246,243,.60) 48%, rgba(255,248,245,.82) 100%),
      url('../images/bg_pomegranate_desktop.webp') center center / cover no-repeat;
    filter: saturate(.90) brightness(1.04) blur(1.2px);
    transform: scale(1.012);
  }
}

/* ============ Share flow · 截图按钮、弹窗与意向单统一设计 ============ */
.btn-share,
.finale .fin-btn {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% -30%, rgba(255,255,255,.34), transparent 44%),
    linear-gradient(135deg, rgba(239,70,104,.82), rgba(178,21,63,.72));
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.40), 0 12px 30px rgba(145,23,55,.18);
  text-shadow: 0 1px 2px rgba(96,10,34,.17);
  backdrop-filter: blur(17px) saturate(138%);
  -webkit-backdrop-filter: blur(17px) saturate(138%);
}

.btn-share {
  min-height: 48px;
  padding: 9px 16px 9px 10px;
  border-radius: 16px;
}

.btn-share i,
.finale .fin-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}

.finale .fin-btn {
  gap: 8px;
  padding: 10px 18px 10px 11px;
  border-radius: 17px;
}

.btn-share:hover,
.finale .fin-btn:hover {
  filter: saturate(1.06) brightness(1.03);
  transform: translateY(-1px);
}

#share-modal .share-modal-body {
  position: relative;
  width: min(100%, 430px);
  padding: 25px 18px calc(18px + env(safe-area-inset-bottom));
  color: #461923;
  background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(255,238,242,.65));
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(70,26,39,.24), inset 0 1.5px 0 #fff;
  backdrop-filter: blur(30px) saturate(128%);
  -webkit-backdrop-filter: blur(30px) saturate(128%);
}

#share-modal .share-modal-body::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin: -12px auto 15px;
  border-radius: 999px;
  background: rgba(111,41,58,.17);
}

#share-modal .share-tips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #55182a;
  font-size: 17px;
  font-weight: 900;
}

#share-modal .share-tips i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #d82d55;
  border-radius: 50%;
  background: rgba(234,67,100,.10);
}

#share-modal .share-note {
  margin: 10px 0 14px;
  padding: 9px 12px;
  color: rgba(70,25,35,.58);
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.77);
  border-radius: 13px;
  line-height: 1.55;
}

#share-modal .generated-img-container {
  padding: 7px;
  overflow: hidden;
  background: rgba(255,255,255,.40);
  border: 1px solid rgba(255,255,255,.90);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 #fff, 0 12px 30px rgba(81,31,44,.10);
}

#share-modal .generated-img-container img {
  border-radius: 14px;
}

#share-modal .share-actions {
  gap: 11px;
  margin-top: 15px;
}

#share-modal .btn-secondary,
#share-modal .btn-primary-action {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 15px;
  box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(90,32,47,.09);
}

#share-modal .btn-secondary {
  color: #6b2135;
  background: rgba(255,255,255,.48);
}

#share-modal .btn-primary-action {
  color: #fff;
  background: linear-gradient(135deg, #ed4d6e, #bc2148);
  border-color: rgba(255,255,255,.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 25px rgba(145,25,55,.16);
}

/* 导出图片保持纯 CSS 色块，确保 html2canvas 渲染稳定 */
#export-poster-template .poster-card {
  width: 640px;
  overflow: hidden;
  color: #461923;
  background: linear-gradient(145deg, #fffdfc, #fff1f4);
  border: 1px solid #efcdd6;
  border-radius: 30px;
  box-shadow: none;
}

#export-poster-template .poster-header {
  position: relative;
  padding: 28px 32px 26px;
  color: #fff;
  background: linear-gradient(135deg, #ee5573 0%, #cc2c53 56%, #a91843 100%);
  border: 0;
}

#export-poster-template .poster-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1.6px;
}

#export-poster-template .poster-header h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1.28;
}

#export-poster-template .poster-header p {
  margin-top: 7px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  letter-spacing: .8px;
}

#export-poster-template .poster-content {
  padding: 20px 25px 9px;
  background: linear-gradient(180deg, #fffafa, #fff4f6);
}

#export-poster-template .poster-row {
  margin-bottom: 8px;
  padding: 13px 15px;
  background: rgba(255,255,255,.76);
  border: 1px solid #f1dfe3;
  border-radius: 13px;
}

#export-poster-template .poster-label {
  color: #92616e;
  font-size: 14px;
  font-weight: 750;
}

#export-poster-template .poster-value {
  color: #4c1825;
  font-size: 15px;
  font-weight: 850;
}

#export-poster-template .poster-row-total {
  margin: 13px 0 10px;
  padding: 15px 17px;
  background: linear-gradient(135deg, #ffe1e7, #fff0e8);
  border: 1px solid #efa8b8;
  border-radius: 15px;
  box-shadow: 0 7px 18px rgba(167,39,70,.08);
}

#export-poster-template .poster-row-total .poster-label,
#export-poster-template .poster-row-total .poster-value {
  color: #bf2449;
}

#export-poster-template .poster-row-total .poster-value {
  font-size: 25px;
}

#export-poster-template .poster-footer {
  padding: 13px 28px 25px;
  background: #fff4f6;
}

#export-poster-template .poster-badge-list {
  gap: 9px;
}

#export-poster-template .poster-mini-badge {
  padding: 6px 14px;
  color: #347550;
  background: #edf8f1;
  border: 1px solid #cde8d6;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.6;
}

#export-poster-template .poster-mini-badge:nth-child(2) {
  color: #9a5f18;
  background: #fff4df;
  border-color: #f1ddb5;
}

#export-poster-template .poster-mini-badge:nth-child(3) {
  color: #a92a4a;
  background: #ffeaf0;
  border-color: #f0cad4;
}

#export-poster-template .poster-time {
  margin-top: 15px;
  color: #a57b86;
  font-size: 12px;
}

/* ============ Section step · 01–05 编号重设计 ============ */
.sec-head {
  gap: 9px;
}

.sec-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 82px;
  height: 34px;
  padding: 0 13px;
  color: #b92448;
  background: linear-gradient(135deg, rgba(255,255,255,.54), rgba(255,205,216,.34));
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(136,37,61,.10);
  font-family: var(--font-sans);
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .10em;
  text-indent: .10em;
  -webkit-text-stroke: 0;
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
}

.sec-index::before {
  content: "STEP";
  margin-right: 7px;
  color: rgba(116,31,52,.48);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-indent: 0;
}

.sec-title {
  line-height: 1.25;
}

/* ============ Origin badge · 产地信息强化 ============ */
.hero-eyebrow {
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.origin-location {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 14px 6px 12px;
  color: #5b1b2c;
  background: linear-gradient(135deg, rgba(255,255,255,.52), rgba(255,231,235,.30));
  border: 1px solid rgba(255,255,255,.91);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(104,34,52,.10);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-shadow: 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: blur(15px) saturate(135%);
  -webkit-backdrop-filter: blur(15px) saturate(135%);
}

.origin-location i {
  margin-right: 7px;
  color: #d92d55;
  font-size: 13px;
  filter: drop-shadow(0 2px 4px rgba(167,30,64,.16));
}

@media (max-width: 430px) {
  .hero-eyebrow { gap: 7px; }
  .origin-location {
    padding-inline: 10px 12px;
    font-size: 11.5px;
    letter-spacing: .045em;
  }
}

/* 礼盒卡片悬停层级：规格标签始终压在缩放图片之上 */
.pkg-img-wrap {
  overflow: hidden;
  isolation: isolate;
}

.pkg-img-wrap img {
  position: relative;
  z-index: 1;
  will-change: transform;
}

.pkg-tag,
.zoom-btn {
  z-index: 4;
}

.pkg-tag {
  pointer-events: none;
  transform: none;
  transition: transform .28s ease, background-color .28s ease, box-shadow .28s ease;
}

.pkg-card:hover .pkg-tag {
  transform: translateY(-1px);
  background: rgba(104, 24, 44, .80);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 9px 24px rgba(68,16,29,.18);
}

/* 锚点跳转留出呼吸空间，立即选购从规格选择开始 */
#pkg,
#spec,
#order {
  scroll-margin-top: 18px;
}

/* ============ Marquee · 圆角玻璃信息带 ============ */
.marquee {
  position: relative;
  margin: 18px 0 0;
  overflow: hidden;
  color: rgba(76,24,38,.76);
  background: rgba(255,255,255,.29);
  border: 1px solid rgba(255,255,255,.90);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), 0 12px 30px rgba(72,31,41,.10);
  transform: none;
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

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

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,247,245,.82), rgba(255,247,245,0));
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(249,249,244,.78), rgba(249,249,244,0));
}

.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.marquee-track span {
  padding: 11px 0;
  font-size: 12.5px;
  font-weight: 850;
  letter-spacing: .09em;
}

.marquee-track .sep {
  padding-inline: 14px;
  color: #d52e55;
  opacity: .82;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@media (min-width: 560px) {
  .marquee-track {
    width: 100%;
    justify-content: center;
    animation: none;
    transform: none;
  }

  .marquee-track span:nth-child(n+9) {
    display: none;
  }

  .marquee-track .sep {
    padding-inline: 12px;
  }
}

@media (max-width: 430px) {
  .marquee { border-radius: 16px; }
  .marquee::before,
  .marquee::after { width: 30px; }
  .marquee-track span { font-size: 11.5px; }
  .marquee-track .sep { padding-inline: 11px; }
}

/* ============ Section hint · 章节辅助标签统一玻璃化 ============ */
.sec-head .side-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-left: 0;
  padding: 6px 12px;
  color: #72243a;
  background: linear-gradient(135deg, rgba(255,255,255,.46), rgba(255,221,228,.25));
  border: 1px solid rgba(255,255,255,.91);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 #fff, 0 7px 18px rgba(104,35,52,.09);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.2;
  white-space: nowrap;
  transform: none;
  backdrop-filter: blur(14px) saturate(132%);
  -webkit-backdrop-filter: blur(14px) saturate(132%);
}

.sec-head .side-tip::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #df3159;
  box-shadow: 0 0 0 3px rgba(223,49,89,.10), 0 0 9px rgba(223,49,89,.22);
}

@media (max-width: 430px) {
  .sec-head .side-tip { display: none; }
}

/* ============ Primary CTA · 立即选购玻璃按钮 ============ */
.btn-hero:not(.ghost) {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% -20%, rgba(255,255,255,.34), transparent 42%),
    linear-gradient(135deg, rgba(242,73,106,.80), rgba(183,23,65,.69));
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 20px;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.42),
    inset 0 -1px 0 rgba(118,13,43,.10),
    0 15px 36px rgba(153,25,57,.18);
  text-shadow: 0 1px 2px rgba(96,10,34,.18);
  backdrop-filter: blur(18px) saturate(138%);
  -webkit-backdrop-filter: blur(18px) saturate(138%);
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
}

.btn-hero:not(.ghost) i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24);
}

.btn-hero:not(.ghost):hover {
  filter: saturate(1.06) brightness(1.03);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.48),
    inset 0 -1px 0 rgba(118,13,43,.10),
    0 19px 42px rgba(153,25,57,.22);
}

.btn-hero:not(.ghost):active {
  transform: translateY(0) scale(.985);
}

/* 产地信息合并为一个分段玻璃条，统一高度、圆角与边缘高光 */
.hero-eyebrow {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 4px;
  gap: 0;
  flex-wrap: nowrap;
  background: rgba(255,255,255,.38);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 #fff, 0 10px 26px rgba(83,34,46,.11);
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

.hero-eyebrow .gi-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 13px;
  color: #fff;
  background: linear-gradient(135deg, #ec5875, #ca2a50);
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 5px 13px rgba(165,30,62,.15);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .06em;
}

.origin-location {
  min-height: 30px;
  padding: 0 13px;
  color: #5b1b2c;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 12.5px;
  letter-spacing: .06em;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 430px) {
  .hero-eyebrow {
    width: min(100%, 346px);
    gap: 0;
  }

  .hero-eyebrow .gi-mark {
    flex: none;
    padding-inline: 11px;
    font-size: 10.5px;
  }

  .origin-location {
    flex: 1;
    justify-content: center;
    min-width: 0;
    padding-inline: 9px;
    font-size: 11px;
    letter-spacing: .025em;
    white-space: nowrap;
  }

  .origin-location i { margin-right: 5px; }
}

/* ============ Glass clarity · 提升通透感与玻璃边缘层次 ============ */
.masthead {
  background: rgba(255,255,255,.36);
  border-color: rgba(255,255,255,.92);
  box-shadow: inset 0 1px 0 #fff, 0 12px 34px rgba(74,34,44,.13);
  backdrop-filter: blur(21px) saturate(132%);
  -webkit-backdrop-filter: blur(21px) saturate(132%);
}

.hero-frame {
  background: rgba(255,255,255,.19);
  border-color: rgba(255,255,255,.94);
  box-shadow: 0 28px 75px rgba(75,34,44,.17), inset 0 1.5px 0 #fff;
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

.chip,
.chip:nth-child(n) {
  background: rgba(255,255,255,.30);
  border-color: rgba(255,255,255,.82);
  backdrop-filter: blur(14px) saturate(132%);
  -webkit-backdrop-filter: blur(14px) saturate(132%);
}

.btn-hero.ghost,
.marquee {
  background: rgba(255,255,255,.26);
}

.stat,
.stat:nth-child(n) {
  background: rgba(255,255,255,.32);
  border-color: rgba(255,255,255,.86);
  backdrop-filter: blur(17px) saturate(130%);
  -webkit-backdrop-filter: blur(17px) saturate(130%);
}

.section {
  background: linear-gradient(145deg, rgba(255,255,255,.42), rgba(255,246,246,.20));
  border-color: rgba(255,255,255,.94);
  box-shadow: 0 26px 68px rgba(67,31,40,.14), inset 0 1.5px 0 rgba(255,255,255,1);
  backdrop-filter: blur(24px) saturate(128%);
  -webkit-backdrop-filter: blur(24px) saturate(128%);
}

.section::before {
  background: linear-gradient(132deg, rgba(255,255,255,.46), transparent 40%);
}

.side-tip,
.feature-row,
.service-pill {
  background: rgba(255,255,255,.27);
  border-color: rgba(255,255,255,.76);
}

.pkg-card,
.pkg-card:nth-child(n) {
  background: rgba(255,255,255,.34);
  border-color: rgba(255,255,255,.88);
  box-shadow: inset 0 1px 0 #fff, 0 14px 32px rgba(82,37,48,.10);
  backdrop-filter: blur(14px) saturate(128%);
  -webkit-backdrop-filter: blur(14px) saturate(128%);
}

.pkg-card:hover { background: rgba(255,255,255,.47); }

.spec-item {
  background: rgba(255,255,255,.24);
  border-color: rgba(255,255,255,.80);
  backdrop-filter: blur(14px) saturate(126%);
  -webkit-backdrop-filter: blur(14px) saturate(126%);
}

.spec-item:hover { background: rgba(255,255,255,.38); }

.spec-item.active {
  background: linear-gradient(135deg, rgba(255,224,231,.56), rgba(255,247,248,.34));
  border-color: rgba(232,83,114,.42);
}

.blind-box {
  background:
    radial-gradient(circle at 90% 10%, rgba(255,184,215,.23), transparent 38%),
    linear-gradient(135deg, rgba(251,231,248,.50), rgba(244,235,255,.32));
  backdrop-filter: blur(18px) saturate(128%);
  -webkit-backdrop-filter: blur(18px) saturate(128%);
}

.blind-badge,
.blind-pill,
.counter,
.field,
.gift-note,
.tips-card {
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.82);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}

.field:focus { background: rgba(255,255,255,.58); }

.finale {
  background:
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.34), transparent 34%),
    linear-gradient(135deg, rgba(255,205,217,.55), rgba(255,239,242,.30));
  border-color: rgba(255,255,255,.94);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.bottom-bar {
  background: rgba(255,255,255,.53);
  border-color: rgba(255,255,255,.96);
  box-shadow: 0 20px 54px rgba(70,31,41,.18), inset 0 1.5px 0 #fff;
  backdrop-filter: blur(23px) saturate(135%);
  -webkit-backdrop-filter: blur(23px) saturate(135%);
}

/* 让照片在玻璃层下更可见，增强“透过玻璃看背景”的感觉 */
body::before {
  background:
    linear-gradient(180deg, rgba(255,250,247,.38) 0%, rgba(255,246,243,.53) 48%, rgba(255,248,245,.76) 100%),
    url('../images/bg_pomegranate_960.webp') 42% center / cover no-repeat;
}

@media (max-width: 640px) {
  body::before {
    background:
      linear-gradient(180deg, rgba(255,250,247,.38) 0%, rgba(255,246,243,.53) 48%, rgba(255,248,245,.76) 100%),
      url('../images/bg_pomegranate_720.webp') 42% center / cover no-repeat;
  }
}

@media (min-width: 900px) {
  body::before {
    background:
      linear-gradient(180deg, rgba(255,250,247,.32) 0%, rgba(255,246,243,.46) 48%, rgba(255,248,245,.70) 100%),
      url('../images/bg_pomegranate_desktop.webp') center center / cover no-repeat;
  }
}

/* ============ Mobile viewport guard · 防止 iPhone 左滑露出页面空白 ============ */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html {
    overflow-x: clip;
  }
}

/* 右上氛围光原本向页面外伸出 80px，会把移动端布局宽度撑大 66px。 */
@media (max-width: 880px) {
  /* 手机端只保留一张连续底图与一层纵向暖色薄雾，避免右侧形成独立色块。 */
  body::before {
    inset: -7vh 0;
    background-position: 24% center;
    filter: saturate(.74) brightness(1.08) blur(3.5px);
    transform: scale(1.075);
    transform-origin: center;
  }

  body::after {
    background: linear-gradient(180deg,
      rgba(255,249,247,.13) 0%,
      rgba(255,247,244,.38) 50%,
      rgba(255,249,247,.78) 100%);
  }

  .hero::before {
    display: none;
  }
}

/* 手机使用预处理后的雾化图片：一层铺满，杜绝 fixed/filter 的竖向拼接痕迹。 */
@media (max-width: 640px) {
  body::before {
    inset: 0;
    background:
      linear-gradient(180deg,
        rgba(255,249,247,.40) 0%,
        rgba(255,247,244,.52) 50%,
        rgba(255,249,247,.76) 100%),
      url('../images/bg_pomegranate_720.webp') 24% center / cover no-repeat;
    filter: none;
    transform: none;
  }

  body::after {
    display: none;
  }
}

/* 刊头只保留左右信息，移除中间装饰红点。 */
.masthead .dot-sep {
  display: none;
}

@media (max-width: 430px) {
  .origin-location {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ============ Hero image frame · 合并双层边框为单一轮廓 ============ */
.hero-media {
  border: 0;
  border-radius: 30px;
  background: transparent;
  box-shadow: none;
}

.hero-frame {
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 30px;
  background: transparent;
  box-shadow:
    0 24px 58px rgba(75,34,44,.16),
    inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-frame img {
  border-radius: 28px;
}

#seed-canvas {
  border-radius: 30px;
}

@media (max-width: 430px) {
  .hero-media,
  .hero-frame,
  #seed-canvas {
    border-radius: 26px;
  }

  .hero-frame img {
    border-radius: 24px;
  }
}

/* ============ Kinetic liquid glass · 全屏拖拽、弹射与四边反弹 ============ */
.page-glass-bouncer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 880;
  display: block;
  width: 88px;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.70);
  border-radius: 27px;
  color: transparent;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  background:
    radial-gradient(circle at 24% 17%, rgba(255,255,255,.56), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.23), rgba(255,211,223,.075) 52%, rgba(255,255,255,.13));
  box-shadow:
    0 16px 34px rgba(62,25,35,.19),
    inset 0 1.5px 0 rgba(255,255,255,.86),
    inset 0 -13px 22px rgba(126,37,62,.075),
    inset 0 0 0 1px rgba(255,255,255,.16);
  backdrop-filter: blur(3px) saturate(132%) contrast(1.05) brightness(1.06);
  -webkit-backdrop-filter: blur(3px) saturate(132%) contrast(1.05) brightness(1.06);
  opacity: 0;
  transform: translate3d(calc(100vw - 132px), 150px, 0);
  transform-origin: center;
  will-change: transform;
  contain: layout style paint;
  transition: opacity .28s ease, box-shadow .16s ease, border-color .16s ease;
}

.page-glass-bouncer.is-ready {
  opacity: 1;
}

.page-glass-bouncer.is-dragging {
  cursor: grabbing;
  border-color: rgba(255,255,255,.92);
  box-shadow:
    0 22px 46px rgba(77,26,43,.25),
    inset 0 2px 0 rgba(255,255,255,.94),
    inset 0 -15px 24px rgba(126,37,62,.09),
    inset 0 0 0 1px rgba(255,255,255,.24);
}

.page-glass-bouncer::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-top: 1px solid rgba(255,255,255,.58);
  border-left: 1px solid rgba(255,255,255,.34);
  border-radius: 22px;
  pointer-events: none;
  opacity: .82;
}

.page-glass-bouncer::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 12px;
  width: 44%;
  height: 18%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.58), rgba(255,255,255,0));
  filter: blur(2px);
  pointer-events: none;
  opacity: .78;
}

.page-glass-bouncer:focus-visible {
  outline: 3px solid rgba(225,54,92,.58);
  outline-offset: 4px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .page-glass-bouncer {
    background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(255,223,231,.52));
  }
}

@media (max-width: 640px) {
  .page-glass-bouncer {
    width: 68px;
    border-radius: 21px;
    backdrop-filter: blur(2px) saturate(124%) contrast(1.04) brightness(1.05);
    -webkit-backdrop-filter: blur(2px) saturate(124%) contrast(1.04) brightness(1.05);
    box-shadow:
      0 12px 26px rgba(62,25,35,.18),
      inset 0 1.5px 0 rgba(255,255,255,.84),
      inset 0 -10px 17px rgba(126,37,62,.07),
      inset 0 0 0 1px rgba(255,255,255,.15);
  }

  .page-glass-bouncer::before {
    inset: 4px;
    border-radius: 16px;
  }
}

@media (max-width: 340px) {
  .page-glass-bouncer {
    width: 60px;
    border-radius: 19px;
  }

  .page-glass-bouncer::before {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-glass-bouncer {
    will-change: auto;
    transition: opacity .2s ease;
  }
}
