/* =========================================================
   飞羽电竞 · FEIYU ESPORTS
   Green / fresh / paper editorial storefront
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-deep: #f2f3f1;
  --paper: #ffffff;
  --paper-2: #f7f8f6;
  --paper-3: #eef0ec;
  --ink: #252b27;
  --ink-2: #3f4640;
  --muted: #6e756f;
  --muted-2: #8b928b;
  --line: rgba(30, 34, 31, 0.12);
  --line-strong: rgba(30, 34, 31, 0.2);
  --green-950: #153426;
  --green-900: #1c4632;
  --green-800: #24583d;
  --green-700: #2f6c49;
  --green-600: #43865d;
  --green-500: #629e74;
  --green-400: #8abd96;
  --green-300: #b4d6b4;
  --green-200: #e3e6e1;
  --green-100: #f0f2ee;
  --green-50: #f4f5f2;
  --gold: #c5a55e;
  --gold-soft: #ece1bb;
  --rose: #c9857f;
  --shadow-xs: 0 2px 8px rgba(30, 34, 31, 0.05);
  --shadow-sm: 0 8px 24px rgba(30, 34, 31, 0.07);
  --shadow-md: 0 18px 48px rgba(30, 34, 31, 0.1);
  --shadow-lg: 0 34px 80px rgba(30, 34, 31, 0.13);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --font: "Microsoft YaHei", "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", sans-serif;
  --font-kai: "STKaiti", "KaiTi", "FangSong", serif;
  --max: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  background:
    radial-gradient(1000px 680px at 50% -10%, rgba(255, 255, 255, 0.96), transparent 62%),
    radial-gradient(900px 620px at 2% 0%, rgba(238, 240, 236, 0.5), transparent 60%),
    radial-gradient(700px 500px at 100% 0%, rgba(242, 243, 241, 0.5), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 45%, #f2f3f1 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(30, 34, 31, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 45%, transparent 90%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.drawer-open, body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--green-200); color: var(--green-900); }
:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; border-radius: 6px; }
main { position: relative; z-index: 1; min-height: 60vh; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.icon { width: 1.2em; height: 1.2em; display: inline-block; vertical-align: -0.18em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------------- shared controls ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #fbf9ee;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  box-shadow: 0 10px 24px rgba(38, 91, 61, 0.22), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(38, 91, 61, 0.29); }
.btn-ghost {
  color: var(--green-900); background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: #fffdf6; border-color: var(--green-400); }
.btn-gold { color: #7a5c1f; background: var(--gold-soft); border: 1px solid rgba(122, 92, 31, .28); }
.btn-gold:hover { background: #e5d7a8; border-color: rgba(122, 92, 31, .42); }
.btn-soft { color: var(--green-800); background: var(--green-100); }
.btn-soft:hover { background: var(--green-200); }
.btn-dark { color: #f7f4e6; background: var(--green-950); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--green-800); background: var(--green-100);
}
.pill--gold { color: #7a5c1f; background: var(--gold-soft); }
.pill--rose { color: #8a4e48; background: #f6e6e2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--green-700); font-size: 11px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--green-500); border-radius: 2px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(98,158,116,.16); }

.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-title-wrap { display: flex; flex-direction: column; gap: 8px; }
.section-title { font-size: clamp(29px, 3.8vw, 43px); line-height: 1.15; letter-spacing: -0.04em; font-weight: 900; color: var(--green-950); }
.section-title em { font-style: normal; color: var(--green-600); }
.section-sub { color: var(--muted); font-size: 13.5px; max-width: 600px; }
.section-link {
  display: inline-flex; align-items: center; gap: 7px; color: var(--green-800);
  font-size: 13px; font-weight: 700; padding-bottom: 4px; border-bottom: 1px solid rgba(47,108,73,.25);
  transition: gap .25s var(--ease), color .25s;
}
.section-link:hover { gap: 12px; color: var(--green-600); }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(253, 254, 248, 0.88);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid rgba(38, 72, 51, 0.08);
}
.header-inner {
  height: var(--header-h); display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 30px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 15px;
  background: linear-gradient(145deg, var(--green-800), var(--green-600));
  display: grid; place-items: center; color: #f6f3e5;
  box-shadow: 0 8px 18px rgba(32, 77, 51, 0.2), inset 0 1px 0 rgba(255,255,255,.2);
  position: relative; overflow: hidden;
}
.brand-mark::after { content: ""; position: absolute; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; right: -12px; bottom: -12px; }
.brand-mark svg, .brand-mark img { width: 27px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 19px; letter-spacing: .1em; color: var(--green-950); }
.brand-text span { font-size: 8.5px; color: var(--green-600); letter-spacing: .3em; font-weight: 800; margin-top: 4px; }
.main-nav { justify-self: center; display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; color: var(--ink-2);
  transition: color .2s, background .2s, transform .22s, box-shadow .22s, font-size .22s;
}
.nav-link:hover { color: var(--green-800); background: rgba(30, 34, 31, .06); }
.nav-link.is-active {
  color: #fbf9ee;
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  box-shadow: 0 8px 20px rgba(28,70,50,.28), 0 0 16px rgba(67,134,93,.32), inset 0 1px 0 rgba(255,255,255,.14);
  transform: translateY(-.5px) scale(1.04);
  font-size: 14px; letter-spacing: .2px;
  animation: navGlow 2.6s ease-in-out infinite;
}
.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: var(--green-800); border: 1px solid var(--line); background: rgba(255,255,255,.5);
  position: relative; overflow: hidden;
  transition: background .2s, transform .2s, border-color .2s;
}
.icon-btn:hover { background: var(--paper); border-color: var(--green-300); transform: translateY(-1px); }
.cart-trigger {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px;
  min-height: 42px; padding: 0 18px 0 15px; border-radius: 999px;
  color: #f9f7eb; background: linear-gradient(135deg, var(--green-800), var(--green-600));
  font-size: 13px; font-weight: 800; letter-spacing: .03em;
  box-shadow: 0 8px 20px rgba(35, 83, 55, .2);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.cart-trigger:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(35, 83, 55, .27); }
.cart-trigger.cart-bump { animation: cartBump .55s var(--ease); }
.cart-trigger.cart-bump .cart-count { animation: badgePop .55s var(--ease); }
.click-ripple { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .16; transform: scale(0); animation: clickRipple .62s ease-out forwards; }
.fly-clone { position: fixed; z-index: 400; border-radius: 50%; overflow: hidden; pointer-events: none; background: #fffdf6; border: 2px solid rgba(255,255,255,.95); box-shadow: 0 12px 26px rgba(20,50,32,.28); display: grid; place-items: center; }
.fly-clone img { width: 100%; height: 100%; object-fit: cover; }
.fly-clone .icon { width: 55%; height: 55%; color: var(--green-700); }
.cart-trigger .icon { width: 18px; height: 18px; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center; font-size: 10.5px; font-weight: 900;
  color: var(--green-950); background: #eee3b9;
  transform: scale(0); transition: transform .25s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.mobile-nav { display: none; }

/* ticker */
.ticker {
  position: sticky; top: var(--header-h); z-index: 79;
  background: rgba(242, 243, 241, .92);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid rgba(60, 102, 71, .08);
  overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; height: 34px; max-width: var(--max); margin: 0 auto; padding: 0 28px; gap: 14px; }
.ticker-label { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 900; letter-spacing: .16em; color: var(--green-700); }
.ticker-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-600); animation: softPulse 2.4s infinite; }
.ticker-window { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; gap: 46px; animation: marquee var(--ticker-speed, 38s) linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { color: var(--green-800); font-size: 11.5px; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.ticker-item::before { content: "✦"; font-size: 8px; color: var(--green-500); }

/* ---------------- hero ---------------- */
.hero { position: relative; padding: 58px 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 58px; }
.hero-art-wrap { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero-art {
  position: relative; z-index: 2;
  aspect-ratio: 821 / 815;
  transition: transform .45s var(--ease); transform-style: preserve-3d; will-change: transform;
  transform-origin: 50% 16%;
}
.hero-art.is-tapping { animation: heroHatTap .5s var(--ease); }
@keyframes heroHatTap {
  0%   { transform: perspective(1100px) rotate(0deg) translateY(0); }
  30%  { transform: perspective(1100px) rotate(-3deg) translateY(7px); }
  55%  { transform: perspective(1100px) rotate(2.5deg) translateY(-4px); }
  75%  { transform: perspective(1100px) rotate(-1deg) translateY(1px); }
  100% { transform: perspective(1100px) rotate(0deg) translateY(0); }
}
.hero-art img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-title {
  font-size: clamp(45px, 5.5vw, 72px); line-height: 1.08; letter-spacing: -.055em;
  font-weight: 900; color: var(--green-950); margin-bottom: 18px;
}
.hero-title span { display: block; }
.hero-title em {
  font-style: normal; color: var(--green-600); position: relative; white-space: nowrap;
}
.hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 9px;
  background: linear-gradient(90deg, rgba(151,198,154,.55), rgba(151,198,154,.05));
  border-radius: 4px; z-index: -1; transform: rotate(-1deg);
}
.hero-lede { color: var(--ink-2); font-size: 14.5px; line-height: 1.95; max-width: 480px; margin-bottom: 22px; }
.hero-lede strong { color: var(--green-800); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.64);
  color: var(--ink-2); font-size: 11.5px; font-weight: 600;
}
.hero-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }
.hero-tag.gold i { background: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-actions .btn { min-height: 50px; padding: 0 26px; }
.hero-kook {
  display: flex; align-items: center; gap: 14px; padding-top: 20px;
  border-top: 1px solid var(--line); max-width: 440px;
}
.kook-logo { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--green-900); color: #f7f4e6; font-size: 19px; font-weight: 900; box-shadow: 0 7px 16px rgba(28,70,50,.2); }
.hero-kook .kook-copy { line-height: 1.35; }
.hero-kook small { display: block; font-size: 9.5px; letter-spacing: .16em; color: var(--muted); font-weight: 800; }
.hero-kook strong { font-size: 15px; color: var(--green-950); letter-spacing: .08em; }
.hero-kook .kook-join-btn { margin-left: auto; min-height: 36px; padding: 0 15px; font-size: 12.5px; white-space: nowrap; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; max-width: 440px; }
.hero-metric { padding: 13px 12px; border-radius: 16px; background: rgba(255,255,255,.62); border: 1px solid var(--line); }
.hero-metric strong { display: block; font-size: 20px; line-height: 1.2; letter-spacing: -.03em; color: var(--green-800); }
.hero-metric span { display: block; margin-top: 4px; font-size: 10.5px; color: var(--muted); }
.hero-leaf { position: absolute; color: var(--green-400); opacity: .55; pointer-events: none; }
.hero-leaf--1 { width: 120px; right: 45%; top: 2%; transform: rotate(18deg); }
.hero-leaf--2 { width: 80px; left: 2%; bottom: 5%; transform: rotate(-24deg); opacity: .35; }

/* quick links */
.quick-links { padding: 20px 0 0; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-card {
  position: relative; display: flex; align-items: center; gap: 13px;
  padding: 17px 17px; border-radius: 20px; background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.85); box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
  overflow: hidden;
}
.guide-tab, .filter-chip, .category-chip, .choice, .contact-item { position: relative; overflow: hidden; }
.quick-card:hover { transform: translateY(-4px); background: var(--paper); box-shadow: var(--shadow-sm); }
.quick-icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 17px; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(145deg, #eef0ec, #dfe3dc); color: #3f7d56; box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 7px 14px rgba(53, 94, 63, .1); }
.quick-icon::after { content: ""; position: absolute; width: 30px; height: 30px; border-radius: 50%; top: -11px; right: -10px; background: rgba(255,255,255,.45); }
.quick-icon .quick-svg { width: 33px; height: 33px; position: relative; z-index: 1; filter: drop-shadow(0 2px 2px rgba(47, 79, 55, .12)); transition: transform .35s var(--ease); }
.quick-card:hover .quick-icon .quick-svg { transform: translateY(-1px) scale(1.08) rotate(-3deg); }
.quick-card:nth-child(2) .quick-icon { background: linear-gradient(145deg, #fbf3e1, #efdfb8); color: #8a6b2f; }
.quick-card:nth-child(3) .quick-icon { background: linear-gradient(145deg, #faece7, #f0d6ce); color: #a3635a; }
.quick-card:nth-child(4) .quick-icon { background: linear-gradient(145deg, #edf2f9, #dbe5f1); color: #5e7189; }
.quick-card > span:nth-child(2) { min-width: 0; }
.quick-card strong { display: block; font-size: 14px; color: var(--green-950); line-height: 1.3; }
.quick-card > span:nth-child(2) > span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.quick-arrow { margin-left: auto; color: var(--green-500); transition: transform .25s; }
.quick-card:hover .quick-arrow { transform: translateX(4px); }

/* ---------------- tool banner (home entry) ---------------- */
.tool-banner {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  border-radius: 22px; background: var(--paper-2); border: 1px solid var(--green-200);
  box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.tool-banner:hover { transform: translateY(-3px); background: var(--paper); box-shadow: var(--shadow-sm); }
.tool-banner__icon {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, #eef0ec, #dfe3dc); color: #3f7d56;
}
.tool-banner__icon .icon { width: 28px; height: 28px; }
.tool-banner__body { min-width: 0; flex: 1; }
.tool-banner__body strong { display: block; font-size: 15px; color: var(--green-950); letter-spacing: .01em; }
.tool-banner__body span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.6; }
.tool-banner__arrow { flex: 0 0 auto; color: var(--green-500); transition: transform .25s var(--ease); }
.tool-banner:hover .tool-banner__arrow { transform: translateX(4px); }

/* ---------------- product cards ---------------- */
.hot-fun-head { margin: 30px 0 16px; display: flex; flex-direction: column; gap: 6px; }
.hot-fun-title { font-size: 20px; font-weight: 900; letter-spacing: -0.02em; color: var(--green-950); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
/* 首页热门菜单 / 热门趣味玩法：整组卡片水平居中，卡片宽度与间距保持不变 */
.hot-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.hot-grid .product-card { flex: 0 1 calc((100% - 54px) / 4); max-width: calc((100% - 54px) / 4); }
.product-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.product-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--green-100); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,34,31,.03), transparent 35%, rgba(30,34,31,.08)); pointer-events: none; }
.price-tag {
  position: absolute; z-index: 3; right: 10px; top: 10px;
  display: flex; align-items: baseline; gap: 1px; padding: 5px 10px 6px;
  border-radius: 12px; background: rgba(255,255,255,.93); color: var(--green-900);
  font-weight: 900; font-size: 18px; line-height: 1; letter-spacing: -.03em;
  box-shadow: 0 5px 14px rgba(25,60,39,.15); backdrop-filter: blur(8px);
}
.price-tag small { font-size: 9px; font-weight: 700; color: var(--muted); margin-left: 2px; letter-spacing: 0; }
.price-tag .rmb { font-size: 10px; font-weight: 800; margin-right: 1px; }
.price-tag--quote { font-size: 12px; letter-spacing: 0; color: #8a6b2f; background: #f6eed6; }
.product-badge {
  position: absolute; z-index: 3; left: 10px; top: 10px;
  padding: 4px 9px; border-radius: 8px; font-size: 9.5px; font-weight: 800;
  color: #fbf9ee; background: rgba(35, 82, 54, .9); backdrop-filter: blur(6px);
  letter-spacing: .04em;
}
.product-badge.is-gold { color: #5d4718; background: rgba(242, 227, 187, .95); }
.product-badge.is-rose { color: #fff8f3; background: rgba(176, 100, 89, .92); }
.product-hover {
  position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px;
  height: 34px; display: flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 10px; background: rgba(21, 52, 38, .78); color: #f8f5e9;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
  backdrop-filter: blur(8px);
}
.product-card:hover .product-hover { opacity: 1; transform: none; }
.product-body { display: flex; flex-direction: column; padding: 14px 14px 13px; flex: 1; }
.product-title { font-size: 15.5px; line-height: 1.4; letter-spacing: -.02em; font-weight: 800; color: var(--green-950); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-desc { margin-top: 6px; color: var(--muted); font-size: 11.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; min-height: 22px; }
.mini-tag { font-size: 9px; font-weight: 700; padding: 3px 7px; border-radius: 6px; color: var(--green-700); background: var(--green-50); border: 1px solid var(--line); }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--line); }
.product-meta { font-size: 10px; color: var(--muted-2); display: flex; align-items: center; gap: 4px; }
.product-meta strong { color: var(--green-700); font-size: 10.5px; }
.add-btn {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%;
  display: grid; place-items: center; color: #fbf9ee;
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--green-700), var(--green-500));
  box-shadow: 0 6px 13px rgba(40, 95, 60, .22);
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.add-btn:hover { transform: rotate(90deg) scale(1.06); box-shadow: 0 8px 18px rgba(40, 95, 60, .3); }
.add-btn.is-added { background: var(--green-900); }
.add-btn .icon { width: 16px; height: 16px; stroke-width: 2.2; }

/* ---------------- home: activity feature ---------------- */
.activity-feature {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr;
  min-height: 370px; border-radius: var(--radius-xl); overflow: hidden;
  background: var(--green-900); box-shadow: var(--shadow-md);
  margin-bottom: 18px;
}
.activity-feature__media { position: relative; min-height: 320px; overflow: hidden; }
.activity-feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform 1s var(--ease); }
.activity-feature:hover .activity-feature__media img { transform: scale(1.035); }
.activity-feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--green-900) 100%); }
.activity-feature__body {
  position: relative; padding: 46px 46px 42px 28px; color: #f8f5e8;
  display: flex; flex-direction: column; justify-content: center;
}
.activity-feature__body::before {
  content: ""; position: absolute; right: -50px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; border: 1px solid rgba(234, 226, 197, .16);
}
.activity-feature__body .eyebrow { color: #c6dcae; }
.activity-feature__body .eyebrow::before { background: #c6dcae; }
.activity-feature__body h3 { font-size: clamp(27px, 3.4vw, 42px); line-height: 1.18; letter-spacing: -.04em; margin: 12px 0 10px; color: #faf8ec; }
.activity-feature__body p { color: rgba(244, 242, 226, .7); font-size: 13px; line-height: 1.8; max-width: 360px; }
.activity-feature__meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.activity-feature__meta span { font-size: 11px; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(238, 232, 207, .22); color: #e9e6d3; }
.activity-feature__actions { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.activity-feature__actions .btn { background: #eef2df; color: var(--green-900); box-shadow: none; }
.activity-feature__actions .btn:hover { background: #fffdf6; }
.activity-feature__count { font-size: 11px; color: rgba(244, 242, 226, .64); letter-spacing: .04em; }
.activity-mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.activity-mini {
  position: relative; display: flex; overflow: hidden; min-height: 168px;
  border-radius: 24px; background: var(--paper); border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s;
}
.activity-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.activity-mini__img { width: 42%; min-height: 168px; object-fit: cover; }
.activity-mini__body { padding: 22px 18px; display: flex; flex-direction: column; justify-content: center; }
.activity-mini__body h4 { font-size: 17px; letter-spacing: -.02em; color: var(--green-950); margin: 8px 0 4px; }
.activity-mini__body p { font-size: 11px; color: var(--muted); line-height: 1.6; }
.activity-mini__body .mini-arrow { margin-top: 12px; color: var(--green-600); font-size: 11px; font-weight: 800; display: flex; align-items: center; gap: 5px; }

/* ---------------- gifts ---------------- */
.gift-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gift-card {
  position: relative; padding: 16px 14px 14px; border-radius: 22px; overflow: hidden;
  background: var(--paper); border: 1px solid rgba(255,255,255,.85); box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.gift-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.gift-visual {
  position: relative; height: 132px; border-radius: 16px; overflow: hidden;
  display: grid; place-items: center; background: var(--gift-bg, #f3e7e8);
  margin-bottom: 12px;
}
.gift-visual::before { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); right: -38px; top: -44px; }
.gift-visual svg { width: 105px; height: 105px; position: relative; z-index: 1; filter: drop-shadow(0 10px 12px rgba(115, 74, 70, .12)); transition: transform .4s var(--ease); }
.gift-visual img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.gift-card:hover .gift-visual svg { transform: translateY(-5px) rotate(-3deg) scale(1.04); }
.gift-card:hover .gift-visual img { transform: translateY(-4px) scale(1.04); }
.gift-card h4 { font-size: 14.5px; color: var(--green-950); letter-spacing: .01em; }
.gift-card p { font-size: 10.5px; color: var(--muted); line-height: 1.55; margin-top: 3px; min-height: 32px; }
.gift-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.gift-price { font-size: 18px; font-weight: 900; color: var(--green-800); letter-spacing: -.03em; }
.gift-price small { font-size: 9px; font-weight: 700; color: var(--muted); }
.gift-price--quote { font-size: 12px; letter-spacing: 0; color: #8a6b2f; background: #f6eed6; padding: 4px 10px; border-radius: 99px; }
.gift-send { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--green-800); background: var(--green-100); position: relative; overflow: hidden; transition: background .2s, transform .2s; }
.gift-send:hover { background: var(--green-200); transform: scale(1.06); }

/* ---------------- ranking ---------------- */
.ranking-wrap { display: grid; grid-template-columns: .82fr 1.18fr; gap: 24px; align-items: stretch; }
.ranking-intro {
  position: relative; overflow: hidden; padding: 38px 34px;
  border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--green-900), #2f6749 65%, #4d835e);
  color: #f8f5e8; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 360px; box-shadow: var(--shadow-md);
}
.ranking-intro::before { content: ""; position: absolute; width: 290px; height: 290px; border: 1px solid rgba(235,228,201,.18); border-radius: 50%; right: -100px; bottom: -100px; }
.ranking-intro::after { content: ""; position: absolute; width: 180px; height: 180px; border: 1px solid rgba(235,228,201,.12); border-radius: 50%; right: -40px; bottom: -40px; }
.ranking-intro .eyebrow { color: #c9ddb2; }
.ranking-intro .eyebrow::before { background: #c9ddb2; }
.ranking-intro h3 { font-size: 31px; line-height: 1.25; letter-spacing: -.04em; margin: 12px 0 10px; }
.ranking-intro p { color: rgba(244,242,226,.64); font-size: 12.5px; max-width: 300px; }
.ranking-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.1); align-self: flex-start; margin-top: 24px; }
.ranking-tab { padding: 7px 18px; border-radius: 999px; color: rgba(255,255,255,.65); font-size: 12px; font-weight: 700; transition: background .2s, color .2s; }
.ranking-tab.is-active { background: #f2f0df; color: var(--green-900); }
.ranking-note { font-size: 10px; color: rgba(244,242,226,.45); margin-top: 14px; letter-spacing: .04em; }
.ranking-list { background: var(--paper); border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-lg); padding: 18px 22px; box-shadow: var(--shadow-xs); }
.ranking-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ranking-row:last-child { border-bottom: 0; }
.rank-no { width: 25px; font-size: 14px; font-weight: 900; color: var(--muted-2); text-align: center; font-style: italic; }
.rank-no.top { color: var(--gold); font-size: 16px; }
.rank-avatar { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: #fffdf6; font-size: 13px; font-weight: 800; background: var(--avatar, var(--green-500)); }
.rank-name { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 700; color: var(--green-950); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-orders { font-size: 10px; color: var(--muted); }
.rank-score { font-size: 13px; font-weight: 900; color: var(--green-700); font-variant-numeric: tabular-nums; }
.rank-score small { font-size: 9px; color: var(--muted); font-weight: 600; margin-left: 2px; }

/* ---------------- reviews ---------------- */
.review-summary {
  display: grid; grid-template-columns: 230px 1fr auto; gap: 34px; align-items: center;
  padding: 28px 32px; border-radius: var(--radius-lg); background: var(--paper);
  border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow-xs); margin-bottom: 22px;
}
.score-big { display: flex; align-items: baseline; gap: 8px; }
.score-big strong { font-size: 58px; line-height: 1; letter-spacing: -.06em; color: var(--green-900); }
.score-big span { font-size: 13px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); font-size: 13px; letter-spacing: 2px; }
.rating-bars { display: grid; gap: 5px; }
.rating-bar { display: flex; align-items: center; gap: 9px; font-size: 10px; color: var(--muted); }
.rating-bar span:first-child { width: 24px; }
.rating-track { flex: 1; height: 5px; background: var(--green-100); border-radius: 99px; overflow: hidden; }
.rating-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--green-500), var(--green-300)); }
.review-summary__tags { display: flex; flex-wrap: wrap; gap: 7px; max-width: 300px; justify-content: flex-end; }
.review-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filter-chip {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.6); color: var(--ink-2); font-size: 11.5px; font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-chip:hover { border-color: var(--green-300); background: var(--paper); }
.filter-chip.is-active { color: #fbf9ee; background: var(--green-800); border-color: var(--green-800); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.review-card {
  padding: 20px; border-radius: 22px; background: var(--paper);
  border: 1px solid rgba(255,255,255,.82); box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.review-head { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; color: #fffdf7; font-size: 14px; font-weight: 800; background: var(--avatar, var(--green-500)); }
.review-name { font-size: 12.5px; font-weight: 800; color: var(--green-950); display: flex; align-items: center; gap: 6px; }
.verified { font-size: 8px; font-weight: 800; color: var(--green-700); background: var(--green-100); border-radius: 4px; padding: 1px 4px; }
.review-date { font-size: 9.5px; color: var(--muted-2); margin-top: 1px; }
.review-head .stars { margin-left: auto; font-size: 10px; letter-spacing: 1px; }
.review-text { margin-top: 12px; font-size: 12.5px; line-height: 1.85; color: var(--ink-2); }
.review-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.review-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 11px; }
.review-imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.review-foot { display: flex; align-items: center; gap: 12px; margin-top: 13px; padding-top: 11px; border-top: 1px dashed var(--line); color: var(--muted-2); font-size: 10px; }
.review-foot .game { color: var(--green-700); font-weight: 700; }
.like-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--muted-2); font-size: 10px; transition: color .2s; }
.like-btn:hover, .like-btn.is-liked { color: var(--rose); }
.like-btn .icon { width: 13px; height: 13px; }

/* ---------------- guide ---------------- */
.page-head {
  position: relative; padding: 32px 0 0;
}
.page-banner {
  position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 22px; padding: 32px 34px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(255,255,255,.94), rgba(238,240,236,.82));
  border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow-xs);
}
.page-banner::before {
  content: ""; position: absolute; right: -50px; top: -90px; width: 280px; height: 280px;
  border-radius: 50%; background: radial-gradient(circle, rgba(160,203,158,.4), transparent 70%);
}
.page-banner::after {
  content: ""; position: absolute; right: 15%; bottom: -100px; width: 220px; height: 220px;
  border-radius: 50%; border: 1px solid rgba(62,112,77,.13);
}
.page-banner h1 { position: relative; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -.06em; color: var(--green-950); margin: 5px 0 0; }
.page-banner p { position: relative; color: var(--muted); font-size: 12.5px; margin-top: 7px; max-width: 560px; }
.page-banner__side { position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; padding-bottom: 4px; }
.page-banner__side .btn { position: relative; z-index: 1; }

.guide-steps {
  display: flex; align-items: flex-start; gap: 0; padding: 24px 22px;
  border-radius: 26px; background: var(--paper); border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow-xs); margin: 22px 0;
}
.guide-step { position: relative; flex: 1; text-align: center; padding: 0 6px; }
.guide-step:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: calc(50% + 26px); right: calc(-50% + 26px); height: 1px; background: linear-gradient(90deg, var(--green-300), var(--green-100)); }
.guide-step__no {
  width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-200);
  font-size: 11px; font-weight: 900;
}
.guide-step.is-active .guide-step__no { background: var(--green-800); color: #fbf9ee; border-color: var(--green-800); box-shadow: 0 7px 16px rgba(36,88,61,.2); }
.guide-step strong { display: block; font-size: 12px; color: var(--green-900); }
.guide-step span { display: block; font-size: 9px; color: var(--muted-2); margin-top: 2px; }
.guide-layout { display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: start; margin-top: 22px; }
.guide-aside { position: sticky; top: 128px; display: flex; flex-direction: column; gap: 10px; }
.guide-tab {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 13px 16px; border-radius: 14px; color: var(--ink-2); font-size: 12.5px; font-weight: 700;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.guide-tab .icon { color: var(--green-600); }
.guide-tab-no { width: 18px; flex: 0 0 18px; font-size: 9px; font-weight: 900; color: var(--muted-2); letter-spacing: .02em; }
.guide-tab.is-active .guide-tab-no { color: #c9ddb2; }
.guide-tab:hover { background: rgba(255,255,255,.7); border-color: var(--line); }
.guide-tab.is-active { background: var(--green-800); color: #fbf9ee; box-shadow: var(--shadow-sm); }
.guide-tab.is-active .icon { color: #d9e8cb; }
.guide-contact-card { margin-top: 12px; padding: 18px; border-radius: 20px; background: var(--paper); border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow-xs); }
.guide-contact-card .mini-title { font-size: 10px; letter-spacing: .16em; font-weight: 800; color: var(--muted); margin-bottom: 9px; }
.status-online { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--green-700); }
.status-online::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #62a871; box-shadow: 0 0 0 3px rgba(98,168,113,.16); }
.guide-contact-card strong { display: block; font-size: 13px; color: var(--green-900); margin-top: 6px; }
.guide-contact-card p { font-size: 10px; color: var(--muted); margin-top: 2px; }
.guide-panel { border-radius: 26px; background: var(--paper); border: 1px solid rgba(255,255,255,.82); box-shadow: var(--shadow-xs); padding: 26px 28px; }
.guide-panel__head { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.guide-panel__icon { width: 36px; height: 36px; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; }
.guide-panel h2 { font-size: 20px; letter-spacing: -.03em; color: var(--green-950); }
.guide-panel__titles { min-width: 0; }
.guide-panel__sub { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.guide-panel__count { margin-left: auto; font-size: 9px; padding: 3px 8px; border-radius: 99px; background: var(--green-50); color: var(--green-700); font-weight: 800; }
.guide-footnote { display: flex; align-items: flex-start; gap: 7px; margin-top: 17px; padding: 13px 14px; border-radius: 12px; background: var(--green-50); color: var(--muted); font-size: 10px; line-height: 1.7; }
.guide-footnote .icon { flex: 0 0 auto; color: var(--green-600); margin-top: 1px; }
.guide-poster-img { display: block; width: 100%; height: auto; border-radius: 14px; }
.accordion { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 12px;
  padding: 17px 0; font-size: 13px; font-weight: 800; color: var(--green-950);
}
.accordion summary::-webkit-details-marker { display: none; }
.acc-no { flex: 0 0 24px; font-size: 10px; color: var(--green-500); font-weight: 900; padding-top: 3px; letter-spacing: .04em; }
.acc-chevron { margin-left: auto; color: var(--muted-2); transition: transform .25s; flex: 0 0 auto; }
.accordion[open] .acc-chevron { transform: rotate(180deg); }
.accordion-body { padding: 0 0 19px 36px; color: var(--muted); font-size: 12px; line-height: 1.95; }
.accordion-body strong { color: var(--green-800); }
.deposit-note { margin-top: 20px; padding: 18px 20px; border-radius: 18px; background: #f8f2dd; border: 1px dashed #d7c48e; }
.deposit-note h3 { font-size: 13px; color: #775d24; display: flex; align-items: center; gap: 7px; }
.deposit-note ul { margin: 8px 0 0; padding-left: 18px; color: #8d7741; font-size: 11.5px; line-height: 1.9; }
.guide-help { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; text-align: center; margin-top: 24px; padding: 24px 28px; border-radius: 24px; background: linear-gradient(115deg, var(--green-900), var(--green-700)); color: #f8f5e8; box-shadow: var(--shadow-sm); }
.guide-help h3 { font-size: 20px; letter-spacing: -.03em; }
.guide-help p { font-size: 11px; color: rgba(244,242,226,.65); margin-top: 4px; }
.guide-help .btn { background: #eff2df; color: var(--green-900); }

/* ---------------- menu page ---------------- */
.menu-page { padding-top: 24px; }
.game-switch { display: flex; gap: 9px; flex-wrap: wrap; margin: 22px 0 14px; }
.game-tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.62);
  color: var(--ink-2); font-size: 12px; font-weight: 700;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.game-tab .mark { font-size: 13px; color: var(--green-600); }
.game-tab:hover { border-color: var(--green-300); transform: translateY(-1px); }
.game-tab.is-active { background: var(--green-800); color: #fbf9ee; border-color: var(--green-800); box-shadow: 0 7px 17px rgba(32,76,51,.16); }
.game-tab.is-active .mark { color: #d9e8cb; }
.menu-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 12px; }
.menu-search {
  flex: 1 1 300px; position: relative; display: flex; align-items: center;
  min-height: 48px; padding: 0 16px; border-radius: 15px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  transition: border-color .2s, box-shadow .2s;
}
.menu-search:focus-within { border-color: var(--green-400); box-shadow: 0 0 0 4px rgba(98,158,116,.11); }
.menu-search .icon { color: var(--muted); flex: 0 0 auto; }
.menu-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 10px; font-size: 13px; }
.menu-search input::placeholder { color: var(--muted-2); }
.search-clear { display: none; width: 24px; height: 24px; border-radius: 50%; place-items: center; color: var(--muted); background: var(--green-50); }
.search-clear.is-visible { display: grid; }
.menu-sort { display: flex; align-items: center; gap: 5px; padding: 0 11px; min-height: 48px; border-radius: 15px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-xs); color: var(--ink-2); font-size: 11.5px; font-weight: 700; }
.menu-sort select { border: 0; outline: 0; background: transparent; font-size: 11.5px; font-weight: 700; cursor: pointer; padding-right: 2px; }
.category-scroller { overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.category-scroller::-webkit-scrollbar { display: none; }
.category-chips { display: flex; gap: 7px; min-width: max-content; padding: 2px 0; }
.category-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.55);
  color: var(--ink-2); font-size: 11px; font-weight: 700; transition: all .2s;
}
.category-chip em { font-style: normal; font-size: 9px; color: var(--muted-2); font-weight: 800; }
.category-chip:hover { border-color: var(--green-300); background: var(--paper); }
.category-chip.is-active { background: var(--green-800); color: #fbf9ee; border-color: var(--green-800); }
.category-chip.is-active em { color: #c6dbaf; }
.menu-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 12px; font-size: 11px; color: var(--muted); }
.menu-meta strong { color: var(--green-800); }
.menu-meta .clear-all { color: var(--green-700); font-size: 10.5px; font-weight: 800; border-bottom: 1px solid rgba(47,108,73,.25); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 24px; border-radius: 26px; background: rgba(255,255,255,.65); border: 1px dashed var(--line-strong); }
.empty-state .empty-art { width: 172px; margin: 0 auto 10px; opacity: 1; }
.empty-state h3 { font-size: 17px; color: var(--green-900); }
.empty-state p { font-size: 11.5px; color: var(--muted); margin: 5px 0 16px; }

/* ---------------- activity page ---------------- */
.activity-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.activity-card {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--paper);
  border: 1px solid rgba(255,255,255,.82); box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.activity-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.activity-card.is-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.08fr .92fr; min-height: 340px; }
.activity-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-100); }
.activity-card.is-wide .activity-card__media { aspect-ratio: auto; min-height: 340px; }
.activity-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transition: transform .8s var(--ease); }
.activity-card:hover .activity-card__media img { transform: scale(1.04); }
.activity-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,48,33,.2)); }
.activity-card__tag { position: absolute; left: 14px; top: 14px; z-index: 2; }
.activity-card__body { padding: 22px 24px 24px; }
.activity-card.is-wide .activity-card__body { display: flex; flex-direction: column; justify-content: center; padding: 36px 34px; }
.activity-card__kicker { font-size: 10px; font-weight: 800; color: var(--green-600); letter-spacing: .12em; }
.activity-card h3 { font-size: 22px; letter-spacing: -.03em; color: var(--green-950); margin: 8px 0 7px; }
.activity-card.is-wide h3 { font-size: clamp(26px, 3vw, 38px); }
.activity-card p { font-size: 11.5px; line-height: 1.8; color: var(--muted); }
.activity-highlights { display: flex; flex-direction: column; gap: 4px; margin: 12px 0 0; padding: 0; list-style: none; }
.activity-highlights li { font-size: 10.5px; color: var(--ink-2); display: flex; align-items: flex-start; gap: 6px; }
.activity-highlights li::before { content: "·"; color: var(--green-500); font-weight: 900; }
.activity-card__foot { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.activity-countdown { font-size: 10px; color: var(--muted); letter-spacing: .03em; }
.activity-countdown strong { color: var(--green-700); }
.activity-card__foot .btn { margin-left: auto; }

/* ---------------- gifts page ---------------- */
.gift-hero {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 26px;
  padding: 30px 34px; border-radius: var(--radius-lg); margin-top: 22px;
  background: linear-gradient(120deg, #f9f4e1, #e5eed7 70%, #d9e7cd);
  border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow-xs); overflow: hidden;
  position: relative;
}
.gift-hero::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(90,140,100,.18); right: -60px; bottom: -100px; }
.gift-hero h1 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1; letter-spacing: -.05em; color: var(--green-950); margin: 7px 0 8px; }
.gift-hero p { color: var(--ink-2); font-size: 12.5px; max-width: 480px; }
.gift-hero-art { display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; z-index: 1; }
.gift-hero-thumb { width: 118px; height: 118px; border-radius: 22px; background: #fffdf6; padding: 10px; box-shadow: 0 14px 26px rgba(87, 79, 46, .12); display: grid; place-items: center; transform: rotate(-4deg); }
.gift-hero-thumb:nth-child(2) { transform: translateY(-14px) scale(1.12); z-index: 1; }
.gift-hero-thumb:nth-child(3) { transform: rotate(4deg); }
.gift-hero-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gift-hero-art svg { width: 128px; height: 128px; filter: drop-shadow(0 16px 22px rgba(95,73,38,.13)); }
.gift-hero-art svg:nth-child(2) { transform: translateY(-16px) scale(1.16); }
.gift-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.gift-page-grid .gift-visual { height: 220px; }
.gift-page-grid .gift-visual img { padding: 12px; }
.gift-page-grid .gift-visual svg { width: 130px; height: 130px; }
.gift-page-grid .gift-card h4 { font-size: 16px; }
.gift-note { margin-top: 20px; padding: 16px 20px; border-radius: 16px; background: rgba(255,255,255,.62); border: 1px dashed var(--line-strong); font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.gift-note .icon { color: var(--green-600); flex: 0 0 auto; }

/* ---------------- interactives ---------------- */
.interactive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.interactive-card {
  position: relative; display: flex; gap: 16px; padding: 22px;
  border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-xs); overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.interactive-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--green-300); }
.interactive-card__bg {
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: right top;
  transform: scale(1); transform-origin: right center; transition: transform .6s var(--ease);
}
.interactive-card[data-id="huantaiping"] .interactive-card__bg { background-position: right center; }
.interactive-card:hover .interactive-card__bg { transform: scale(1.06); }
.interactive-card__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 38%, rgba(255,255,255,.3) 58%, rgba(255,255,255,.08) 100%);
}
.interactive-card__icon {
  position: relative; z-index: 1;
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--green-100), var(--green-200)); color: var(--green-800);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.interactive-card:hover .interactive-card__icon { transform: scale(1.08); }
.interactive-card__icon .icon { width: 26px; height: 26px; }
.interactive-card__body { position: relative; z-index: 1; min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.interactive-card__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.interactive-card__top strong { font-size: 21px; font-weight: 900; color: var(--green-950); letter-spacing: .01em; }
.interactive-card__tag { font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: .06em; opacity: .75; }
.interactive-card__desc { font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.interactive-card__highlights { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 4px; }
.interactive-card__highlights span { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--green-600); opacity: .8; }
.interactive-card__highlights .icon { width: 13px; height: 13px; }
.interactive-card__arrow { position: relative; z-index: 1; flex: 0 0 auto; align-self: center; color: var(--green-500); transition: transform .25s var(--ease); }
.interactive-card:hover .interactive-card__arrow { transform: translateX(4px); }
.interactive-card__arrow .icon { width: 20px; height: 20px; }
.interactive-frame { margin-top: 26px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--paper); }
.interactive-frame iframe { display: block; width: 100%; height: min(82vh, 860px); min-height: 520px; border: 0; overflow-y: auto; overflow-x: hidden; }

/* ---------------- footer ---------------- */
.site-footer {
  position: relative; z-index: 1; margin-top: 24px; padding: 12px 0 0;
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(101, 158, 116, .2), transparent 65%),
    linear-gradient(160deg, #1b3f2d, #142f22 70%);
  color: #e9eddd; border-radius: 44px 44px 0 0;
  overflow: hidden;
}
.site-footer::before { content: ""; position: absolute; inset: 0; opacity: .3; background-image: radial-gradient(rgba(235,240,220,.12) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.footer-top { position: relative; display: grid; grid-template-columns: 1.35fr .65fr .75fr 1.15fr; gap: 24px; padding-bottom: 8px; border-bottom: 1px solid rgba(238,242,226,.13); }
.footer-brand .brand { gap: 14px; }
.footer-brand .brand-text strong { color: #f3f1e3; font-size: 19px; }
.footer-brand .brand-text span { color: #9bbd9f; font-size: 10px; }
.footer-brand .brand-mark { width: 42px; height: 42px; background: linear-gradient(145deg, #3b7252, #5e9771); box-shadow: none; }
.footer-brand .brand-mark img { width: 26px; }
.footer-brand p { color: rgba(233,237,221,.57); font-size: 10.5px; line-height: 1.45; margin-top: 5px; max-width: 260px; }
.footer-col h4 { font-size: 10px; letter-spacing: .18em; color: #b7cfb1; font-weight: 800; margin-bottom: 5px; }
.footer-col:not(.footer-col--contact) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; align-content: start; }
.footer-col:not(.footer-col--contact) h4 { grid-column: 1 / -1; }
.footer-col a, .footer-col button { display: block; color: rgba(233,237,221,.65); font-size: 10.5px; line-height: 1.35; padding: 1px 0; transition: color .2s, transform .2s; }
.footer-col a:hover, .footer-col button:hover { color: #f2f0df; transform: translateX(2px); }
.footer-contact-card { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(238,242,226,.11); }
.footer-qr { width: 48px; height: 48px; border-radius: 7px; background: #fffdf6; padding: 3px; flex: 0 0 48px; }
.footer-qr img { width: 100%; height: 100%; }
.footer-contact-card strong { display: block; font-size: 10.5px; color: #f0eddd; }
.footer-contact-card span { display: block; font-size: 8.5px; color: rgba(233,237,221,.5); margin-top: 2px; }
.footer-contact-card .kook-big { font-size: 14px; letter-spacing: .08em; color: #dce7c9; margin: 1px 0; }
.footer-contact-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.footer-contact-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.footer-contact-meta span { margin-top: 0; }
.footer-contact-card .footer-build-btn { align-self: flex-start; flex: 0 0 auto; white-space: nowrap; width: auto; display: inline-flex; align-items: center; gap: 4px; margin-top: 0; padding: 3px 9px; border-radius: 99px; border: 1px solid rgba(238,242,226,.28); background: rgba(255,255,255,.07); color: #f0eddd; font-size: 9px; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; }
.footer-contact-card .footer-build-btn:hover { background: rgba(255,255,255,.13); border-color: rgba(238,242,226,.4); }
.footer-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 6px 0 8px; }
.footer-bottom p { color: rgba(233,237,221,.42); font-size: 9.5px; }
.footer-bottom .footer-links { display: flex; gap: 16px; align-items: center; }
.footer-bottom .footer-links a, .footer-bottom .footer-links button { color: rgba(233,237,221,.5); font-size: 9.5px; }
.footer-bottom .footer-links button { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- floating support ---------------- */
.floating-support {
  position: fixed; z-index: 90; left: auto; bottom: 24px;
  width: 62px; height: 62px; border-radius: 50%; padding: 0;
  background: var(--green-100); border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 12px 30px rgba(28, 66, 44, .2);
  overflow: visible; transition: transform .3s var(--ease), box-shadow .3s, left .25s var(--ease), top .25s var(--ease);
  touch-action: none;
}
.floating-support.dragging { transition: none; cursor: grabbing; }
.floating-support img { width: 82%; height: 82%; object-fit: cover; object-position: 50% 25%; border-radius: 50%; margin: 9%; }
.floating-support::before { content: ""; position: absolute; right: 3px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #6cb27b; border: 2px solid #f7f7ee; }
.floating-support:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 36px rgba(28,66,44,.26); }
.floating-support .fs-label {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(5px);
  white-space: nowrap; padding: 7px 12px; border-radius: 10px; background: var(--green-900); color: #f8f5e8;
  font-size: 10px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.floating-support:hover .fs-label { opacity: 1; transform: translateY(-50%); }
/* 贴左边缘时标签改从右侧弹出 */
.floating-support.is-left .fs-label { right: auto; left: 72px; transform: translateY(-50%) translateX(-5px); }
.floating-support.is-left:hover .fs-label { transform: translateY(-50%); }
body.drawer-open .floating-support, body.modal-open .floating-support { opacity: 0; pointer-events: none; }

/* ---------------- drawer ---------------- */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 110; background: rgba(18, 38, 27, .42);
  backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s;
}
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; z-index: 120; top: 0; right: 0; bottom: 0;
  width: min(500px, 100vw); display: flex; flex-direction: column;
  background: var(--paper-2); box-shadow: -24px 0 70px rgba(17,44,29,.2);
  transform: translateX(102%); transition: transform .42s var(--ease);
}
.cart-drawer.is-open { transform: none; }
.drawer-head {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 20px 24px 12px; flex: 0 0 auto;
}
.drawer-head h2 { font-size: 21px; letter-spacing: -.03em; color: var(--green-950); display: flex; align-items: center; gap: 8px; }
.drawer-head .bag-orb { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.drawer-close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; background: var(--green-50); color: var(--green-800); display: grid; place-items: center; }
.drawer-close:hover { background: var(--green-100); }
.drawer-steps { display: flex; align-items: center; gap: 0; padding: 2px 26px 16px; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.drawer-step { display: flex; align-items: center; gap: 6px; color: var(--muted-2); font-size: 10px; font-weight: 700; }
.drawer-step .num { width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); border: 1px solid var(--line); font-size: 8px; }
.drawer-step.is-active { color: var(--green-800); }
.drawer-step.is-active .num { background: var(--green-800); color: #fbf9ee; border-color: var(--green-800); }
.drawer-step.is-done .num { background: var(--green-200); color: var(--green-900); border-color: var(--green-200); }
.drawer-step-line { flex: 1; height: 1px; margin: 0 10px; background: var(--line); min-width: 16px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px 24px; }
.drawer-foot { flex: 0 0 auto; padding: 14px 24px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.86); backdrop-filter: blur(10px); }
.drawer-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 11px; }
.drawer-total span { font-size: 11px; color: var(--muted); }
.drawer-total strong { font-size: 28px; letter-spacing: -.04em; color: var(--green-950); }
.drawer-total strong small { font-size: 11px; font-weight: 700; color: var(--muted); }
.drawer-actions { display: flex; gap: 9px; }
.drawer-actions .btn { flex: 1; }
.cart-empty { text-align: center; padding: 40px 10px; }
.cart-empty img { width: 150px; height: 150px; object-fit: cover; border-radius: 18px; margin: 0 auto 10px; opacity: .95; }
.cart-empty h3 { font-size: 17px; color: var(--green-900); }
.cart-empty p { font-size: 11px; color: var(--muted); margin: 5px 0 18px; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cart-item:last-of-type { border-bottom: 0; }
.cart-item__img { width: 66px; height: 66px; border-radius: 13px; object-fit: contain; object-position: center; flex: 0 0 66px; background: var(--green-100); }
.cart-item__main { flex: 1; min-width: 0; }
.cart-item__title { font-size: 12px; font-weight: 800; color: var(--green-950); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item__meta { font-size: 9.5px; color: var(--muted-2); margin-top: 2px; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; }
.cart-item__price { font-size: 13px; font-weight: 900; color: var(--green-800); }
.qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); }
.qty button { width: 24px; height: 24px; display: grid; place-items: center; color: var(--green-800); font-size: 13px; }
.qty button:hover { background: var(--green-50); }
.qty span { min-width: 24px; text-align: center; font-size: 10px; font-weight: 800; }
.cart-item__del { color: var(--muted-2); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; }
.cart-item__del:hover { color: var(--rose); background: #f8eae6; }
.cart-summary-line { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; color: var(--muted); padding: 7px 0; }
.cart-summary-line.grand { padding-top: 11px; margin-top: 4px; border-top: 1px solid var(--line); color: var(--green-900); font-weight: 800; }
.cart-summary-line.grand span:last-child { font-size: 18px; letter-spacing: -.02em; }
.cart-note { display: flex; gap: 7px; padding: 10px 12px; border-radius: 10px; background: var(--green-50); color: var(--muted); font-size: 9.5px; line-height: 1.6; margin-top: 10px; }
.cart-note .icon { flex: 0 0 auto; color: var(--green-600); margin-top: 1px; }
.checkout-section { margin-bottom: 17px; }
.checkout-label { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 800; color: var(--green-900); margin-bottom: 6px; }
.checkout-label em { font-style: normal; font-weight: 400; color: var(--muted-2); font-size: 9px; }
.field {
  width: 100%; min-height: 43px; padding: 10px 12px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--paper); outline: 0;
  font-size: 12px; transition: border-color .2s, box-shadow .2s;
}
.field:focus { border-color: var(--green-400); box-shadow: 0 0 0 3px rgba(98,158,116,.1); }
.field::placeholder { color: var(--muted-2); }
textarea.field { resize: vertical; min-height: 66px; line-height: 1.6; }
.field.is-error { border-color: #c9857f; box-shadow: 0 0 0 3px rgba(201,133,127,.1); }
.field-hint { font-size: 9px; color: var(--muted-2); margin-top: 4px; }
.field-hint.error { color: #a65a52; }
.segmented { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--green-50); border: 1px solid var(--line); gap: 2px; }
.segmented button { padding: 5px 12px; border-radius: 6px; font-size: 10px; font-weight: 700; color: var(--muted); }
.segmented button.is-active { background: var(--paper); color: var(--green-900); box-shadow: var(--shadow-xs); }
.choice-row { display: flex; flex-wrap: wrap; gap: 6px; }
.choice {
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-2); font-size: 10px; font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}
.choice:hover { border-color: var(--green-300); }
.choice.is-active { background: var(--green-800); color: #fbf9ee; border-color: var(--green-800); }
.checkbox-line { display: flex; align-items: flex-start; gap: 8px; font-size: 9.5px; color: var(--muted); line-height: 1.6; cursor: pointer; }
.checkbox-line input { width: 14px; height: 14px; accent-color: var(--green-700); margin: 1px 0 0; flex: 0 0 auto; }
.checkbox-line a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.checkout-total-bar { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 12px; font-size: 10.5px; color: var(--muted); }
.checkout-total-bar strong { font-size: 22px; color: var(--green-950); letter-spacing: -.03em; }
.receipt { text-align: center; padding-top: 4px; }
.receipt-check { width: 58px; height: 58px; border-radius: 50%; margin: 4px auto 10px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.receipt-check .icon { width: 28px; height: 28px; }
.receipt h3 { font-size: 19px; color: var(--green-950); letter-spacing: -.02em; }
.receipt .receipt-sub { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.receipt-flow { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.receipt-flow span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: var(--green-50); color: var(--green-700); font-size: 9px; font-weight: 700; }
.receipt-flow b { width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; background: var(--green-800); color: #fbf9ee; font-size: 8px; }
.receipt-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; }
.receipt-qr { display: flex; align-items: center; gap: 14px; text-align: left; padding: 12px; border-radius: 12px; background: var(--green-50); margin-bottom: 13px; }
.receipt-qr img { width: 76px; height: 76px; border-radius: 7px; background: #fff; padding: 3px; }
.receipt-qr strong { display: block; font-size: 11px; color: var(--green-900); }
.receipt-qr span { display: block; font-size: 9px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.receipt-poster { margin: 14px 0 10px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-xs); }
.receipt-poster canvas { display: block; width: 100%; height: auto; }
.receipt-poster-btn { width: 100%; justify-content: center; margin-bottom: 13px; }

/* ---------------- modal ---------------- */
.modal-root { position: relative; z-index: 200; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 22px; background: rgba(18, 38, 27, .48); backdrop-filter: blur(5px);
  animation: fadeIn .2s ease;
}
.modal {
  width: min(560px, 100%); max-height: min(88vh, 900px); overflow-y: auto;
  background: var(--paper); border-radius: 26px; box-shadow: var(--shadow-lg);
  animation: modalIn .32s var(--ease); position: relative;
}
.modal--wide { width: min(980px, 100%); }
.modal--poster { width: min(760px, 100%); }
.modal-head {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 17px 21px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.modal-head h2 { font-size: 18px; letter-spacing: -.02em; color: var(--green-950); }
.modal-head .eyebrow { margin-right: auto; }
.modal-close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--green-50); color: var(--green-800); display: grid; place-items: center; flex: 0 0 auto; }
.modal-close:hover { background: var(--green-100); }
.modal-body { padding: 22px; }
.modal--poster { display: block; overflow-y: auto; }
.poster-modal { padding: 0; display: flex; flex-direction: column; }
.poster-stage { position: relative; background: var(--green-100); max-height: 46vh; overflow: hidden; display: grid; place-items: center; cursor: zoom-in; isolation: isolate; flex: 0 0 auto; }
.poster-stage::before { content: ''; position: absolute; inset: -12%; background-image: var(--edge-poster, none); background-size: cover; background-position: center center; filter: blur(30px) brightness(.5) saturate(1.15); z-index: 0; }
.poster-stage img { max-width: 100%; max-height: 46vh; width: auto; height: auto; object-fit: contain; display: block; margin-inline: auto; position: relative; z-index: 1; }
.poster-zoom-hint { position: absolute; right: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: #fff; background: rgba(20,40,28,.55); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(4px); pointer-events: none; }
.poster-panel { padding: 16px 18px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; min-height: 0; overflow: visible; }
.poster-panel h2 { font-size: 21px; line-height: 1.3; letter-spacing: -.03em; color: var(--green-950); }
.detail-banner { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: -2px 0 2px; padding: 6px 12px; border-radius: 999px; background: var(--green-50); border: 1px solid rgba(67,134,93,.25); color: var(--green-800); font-size: 12px; font-weight: 700; }
.poster-note { font-size: 9.5px; color: var(--muted-2); }
.combo-notice { font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--green-900); text-align: center; padding: 18px 8px 6px; }
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(12,22,16,.92); display: grid; place-items: center; }
.lightbox__stage { width: 100%; height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; touch-action: none; cursor: grab; }
.lightbox__stage:active { cursor: grabbing; }
.lightbox__img { display: block; transform-origin: center; user-select: none; -webkit-user-drag: none; will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.lightbox__close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.lightbox__close:hover { background: rgba(255,255,255,.26); }
.lightbox__hint { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); font-size: 10px; color: rgba(255,255,255,.72); background: rgba(0,0,0,.35); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.product-detail { display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; }
.product-detail__media { position: relative; min-height: 380px; background: var(--green-100); }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__body { padding: 28px 28px 26px; display: flex; flex-direction: column; }
.product-detail__body h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.04em; color: var(--green-950); margin: 7px 0 8px; }
.product-detail__body .desc { font-size: 12px; color: var(--muted); line-height: 1.85; }
.spec-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin: 10px 0 2px; }
.spec-option { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); text-align: left; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.spec-option__label { font-size: 11px; font-weight: 700; color: var(--green-900); line-height: 1.35; }
.spec-option__price { font-size: 12px; font-weight: 800; color: var(--green-700); white-space: nowrap; }
.spec-option:hover { border-color: rgba(67,134,93,.35); }
.spec-option.is-active { border-color: var(--green-700); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green-700); }
.spec-option.is-active .spec-option__price { color: var(--green-800); }
.spec-block { margin: 13px 0 0; }
.spec-block__title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--green-800); margin: 0 0 8px; letter-spacing: .01em; }
.spec-block__title::before { content: ""; width: 4px; height: 12px; border-radius: 2px; background: var(--green-700); }
.spec-block .spec-group { margin: 0; }
.spec-block__title em { font-style: normal; font-weight: 600; font-size: 10px; color: var(--muted); }
.duration-group { grid-template-columns: repeat(3, 1fr); }
.duration-option { justify-content: center; }
.duration-option .spec-option__label { font-size: 12px; }
.detail-price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 2px; }
.detail-price strong { font-size: 28px; line-height: 1; color: var(--green-900); letter-spacing: -.05em; }
.detail-price span { font-size: 10px; color: var(--muted); }
.detail-old { font-size: 11px; color: var(--muted-2); text-decoration: line-through; }
.detail-sep { height: 1px; background: var(--line); margin: 16px 0; }
.detail-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-size: 11px; color: var(--muted); }
.detail-row strong { color: var(--green-800); }
.detail-actions { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; background: var(--paper); box-shadow: 0 -10px 18px -10px rgba(20,50,32,.25); }
.detail-actions .qty { height: 42px; }
.detail-actions .qty button { width: 34px; height: 40px; }
.detail-actions .qty span { min-width: 30px; font-size: 12px; }
.detail-actions .btn { flex: 1; min-height: 44px; }
.detail-tool-btn { width: 100%; min-height: 42px; margin-top: 10px; font-size: 13px; }
.detail-tool-btn svg { width: 16px; height: 16px; }
.activity-modal__body { padding: 20px 22px 22px; }
.activity-modal__body h2 { font-size: 26px; letter-spacing: -.04em; }
.activity-modal__body p { font-size: 12px; color: var(--muted); line-height: 1.85; margin: 8px 0 12px; }
.activity-modal__actions { display: flex; gap: 10px; margin-top: 16px; }
.contact-live { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 12px 10px 14px; margin-bottom: 14px; border-radius: 14px; background: linear-gradient(120deg, var(--green-50), #f8f3df); border: 1px solid rgba(120, 160, 110, .22); }
.contact-live-dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #62a871; box-shadow: 0 0 0 4px rgba(98,168,113,.14); animation: softPulse 2.4s infinite; }
.contact-live__copy { min-width: 0; flex: 0 1 auto; }
.contact-live__copy strong { display: block; font-size: 13px; color: var(--green-900); line-height: 1.4; }
.contact-live__copy span { display: block; font-size: 9px; color: var(--muted); margin-top: 2px; }
.contact-live__time { flex: 0 0 auto; min-width: 176px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-left: 18px; margin-left: 28px; border-left: 1px solid rgba(80, 125, 90, .16); text-align: center; }
.contact-live__time-label { display: inline-flex; align-items: center; gap: 4px; font-size: 8px; font-weight: 900; letter-spacing: .12em; color: var(--green-600); }
.contact-live__time-label .icon { width: 10px; height: 10px; }
.contact-live__time strong { display: block; margin-top: 2px; font-size: 19px; line-height: 1.1; letter-spacing: .02em; color: var(--green-900); font-weight: 900; white-space: nowrap; }
.contact-live__time em { font-style: normal; font-size: 8.5px; color: var(--muted-2); margin-top: 3px; }
.contact-hours { color: var(--green-700); font-weight: 800; font-size: .96em; }
.guide-shift-hours { color: var(--green-700); font-size: 11px; font-weight: 800; }
.contact-layout { display: grid; grid-template-columns: 300px 1fr; gap: 20px; }
.contact-list { display: flex; flex-direction: column; gap: 8px; }
.contact-group { display: flex; flex-direction: column; gap: 6px; }
.contact-group + .contact-group { margin-top: 2px; }
.contact-group-label { display: flex; align-items: center; gap: 5px; padding: 0 4px 1px; font-size: 8px; font-weight: 800; letter-spacing: .08em; color: var(--muted-2); }
.contact-group-label em { font-style: normal; margin-left: auto; font-size: 7.5px; color: var(--muted-2); font-weight: 700; letter-spacing: .02em; }
.contact-group--pinned .contact-group-label { color: var(--green-700); }
.contact-group--online .contact-group-label { color: var(--green-700); }
.contact-online-dot { width: 6px; height: 6px; border-radius: 50%; background: #62a871; box-shadow: 0 0 0 3px rgba(98,168,113,.14); }
.contact-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper-2); text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.contact-item:hover { border-color: var(--green-300); background: var(--paper); transform: translateY(-1px); }
.contact-item.is-active { border-color: var(--green-400); background: var(--green-50); box-shadow: 0 5px 14px rgba(50, 100, 65, .08); }
.contact-item.is-offline:not(.is-active) { opacity: .55; }
.contact-item.is-featured { padding: 11px 12px; border-color: rgba(111, 166, 118, .38); background: linear-gradient(130deg, #fffef9, #e8f3e2); box-shadow: 0 7px 18px rgba(50, 100, 65, .09); }
.contact-item.is-featured .contact-item__avatar { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; font-size: 13px; position: relative; }
.contact-item.is-featured .contact-item__avatar::after { content: ""; position: absolute; inset: -3px; border: 1.5px solid rgba(98, 168, 113, .35); border-radius: 16px; animation: softPulse 2.6s infinite; }
.contact-item.is-featured .contact-item__main strong { font-size: 12.5px; }
.contact-item.is-featured .contact-item__main > span { font-size: 9.3px; }
.contact-item.is-featured .status-dot { width: 8px; height: 8px; }
.contact-item.is-compact { padding: 6px 8px; border-color: rgba(38, 72, 51, .06); background: rgba(255, 255, 255, .42); }
.contact-item.is-compact .contact-item__avatar { width: 26px; height: 26px; flex-basis: 26px; border-radius: 8px; font-size: 9px; }
.contact-item.is-compact .contact-item__main strong { font-size: 9.5px; gap: 3px; }
.contact-item.is-compact .contact-item__main > span { font-size: 7.5px; }
.contact-item.is-compact .contact-badge { font-size: 6.5px; padding: 0 3px; }
.contact-item.is-compact .status-dot { width: 5px; height: 5px; }
.contact-item.is-compact.is-offline:not(.is-active) { opacity: .72; }
.contact-item__avatar { width: 33px; height: 33px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; background: var(--avatar, var(--green-500)); flex: 0 0 33px; position: relative; }
.contact-item__main { flex: 1; min-width: 0; }
.contact-item__main strong { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--green-950); line-height: 1.3; }
.contact-item__main > span { display: block; font-size: 8.5px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.contact-badge { font-style: normal; font-size: 7.5px; font-weight: 800; padding: 1px 4px; border-radius: 4px; color: var(--green-800); background: var(--green-100); white-space: nowrap; }
.contact-badge.is-offline { color: var(--muted-2); background: #eef0e9; }
.contact-item .status-dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: #6cb27b; flex: 0 0 auto; }
.contact-item .status-dot.busy { background: #d2ac63; }
.contact-item .status-dot.is-offline { background: #bcc5bd; }
.contact-qr-panel { padding: 20px; border-radius: 18px; background: linear-gradient(145deg, var(--green-50), #f8f2df); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.contact-qr-panel.is-offline { background: linear-gradient(145deg, #f3f4ed, #faf8ef); }
.contact-qr-panel img { width: 168px; height: 168px; background: #fff; padding: 7px; border-radius: 12px; box-shadow: var(--shadow-xs); object-fit: contain; object-position: center; display: block; margin-inline: auto; align-self: center; }
.contact-qr-panel h3 { font-size: 15px; margin-top: 12px; color: var(--green-950); }
.contact-qr-panel p { font-size: 10px; color: var(--muted); margin-top: 3px; }
.build-panel { max-width: 340px; margin: 0 auto; }
.contact-state { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; padding: 4px 10px; border-radius: 99px; font-size: 9px; font-weight: 800; }
.contact-state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.contact-state.is-online { color: var(--green-700); background: rgba(234,243,226,.9); }
.contact-state.is-offline { color: #a67a5a; background: #f7eee5; }
.contact-offline-note { color: #a65a52 !important; font-size: 9.5px !important; line-height: 1.6; margin-top: 4px !important; }
.contact-staff-kook { margin-top: 14px; width: min(100%, 270px); min-height: 44px; }
.contact-qr-panel .kook-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 11px; padding: 6px 13px; border-radius: 99px; background: var(--green-900); color: #f8f5e8; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.contact-kook-panel { position: relative; overflow: hidden; background: linear-gradient(145deg, #f8f5e5, #e5efdc); padding: 30px; }
.contact-kook-panel::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(91, 141, 101, .16); right: -110px; bottom: -120px; }
.contact-kook-panel::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(91, 141, 101, .12); right: -60px; bottom: -70px; }
.kook-hero-mark { position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 19px; display: grid; place-items: center; background: var(--green-900); color: #f8f5e8; font-size: 28px; font-weight: 900; box-shadow: 0 10px 22px rgba(32, 76, 51, .2); }
.contact-panel-kicker { position: relative; z-index: 1; display: block; margin-top: 15px; font-size: 9px; font-weight: 900; letter-spacing: .24em; color: var(--green-600); }
.kook-big-number { position: relative; z-index: 1; display: block; font-size: clamp(52px, 6vw, 72px); line-height: 1; letter-spacing: .08em; color: var(--green-800); margin: 7px 0 9px; font-weight: 900; }
.contact-kook-panel h3 { position: relative; z-index: 1; font-size: 23px; margin-top: 0; letter-spacing: -.02em; }
.contact-kook-panel p { position: relative; z-index: 1; font-size: 12px; line-height: 1.8; max-width: 300px; margin-top: 6px; }
.contact-kook-panel .contact-state { position: relative; z-index: 1; margin-top: 13px; }
.contact-kook-actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; width: 100%; }
.contact-kook-actions .btn { width: min(100%, 270px); margin-top: 0; min-height: 44px; }
.contact-panel-hint { display: block; font-size: 9px; color: var(--muted-2); margin-top: 2px; }
.review-form .field { margin-bottom: 3px; }
.star-input { display: flex; gap: 4px; }
.star-input button { font-size: 26px; line-height: 1; color: #dcd7c6; transition: transform .15s, color .15s; }
.star-input button.is-on { color: var(--gold); }
.star-input button:hover { transform: scale(1.12); }
.review-form-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.review-form-row > span { font-size: 11px; font-weight: 800; color: var(--green-900); }
.review-upload-block { margin: 3px 0 13px; }
.review-upload-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.review-upload-head .form-label { margin-bottom: 0; }
.review-upload-count { font-size: 9px; color: var(--muted-2); font-weight: 700; letter-spacing: .04em; }
.review-upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 7px; }
.review-upload-grid:empty { display: none; }
.review-upload-item { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.review-upload-item img { width: 100%; height: 100%; object-fit: cover; }
.review-upload-remove { position: absolute; top: 4px; right: 4px; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 48, 33, .76); color: #fffdf6; backdrop-filter: blur(4px); }
.review-upload-remove .icon { width: 11px; height: 11px; }
.review-upload-remove:hover { background: rgba(112, 48, 42, .9); }
.review-upload-add { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px dashed var(--line-strong); border-radius: 11px; background: var(--paper-2); color: var(--green-700); font-size: 10.5px; font-weight: 700; cursor: pointer; overflow: hidden; transition: background .2s, border-color .2s; }
.review-upload-add:hover { background: var(--green-50); border-color: var(--green-400); }
.review-upload-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.review-upload-add[hidden] { display: none; }
.review-thanks { text-align: center; padding: 30px 20px; }

/* admin */
.admin-layout { display: grid; grid-template-columns: 330px 1fr; min-height: 480px; }
.admin-list { border-right: 1px solid var(--line); padding: 16px; max-height: 70vh; overflow-y: auto; background: var(--paper-2); }
.admin-list-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.admin-list-head strong { font-size: 12px; color: var(--green-900); }
.admin-list-head span { font-size: 9px; color: var(--muted); margin-left: auto; }
.admin-item { display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 10px; border: 1px solid transparent; width: 100%; text-align: left; transition: background .2s, border-color .2s; }
.admin-item:hover { background: var(--paper); border-color: var(--line); }
.admin-item.is-active { background: var(--green-100); border-color: var(--green-200); }
.admin-item img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex: 0 0 34px; }
.admin-item__txt { flex: 1; min-width: 0; }
.admin-item strong { display: block; font-size: 10.5px; color: var(--green-950); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-item span { display: block; font-size: 8.5px; color: var(--muted); }
.admin-item__del { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 5px; color: var(--muted-2); flex: 0 0 22px; }
.admin-item__del:hover { color: var(--rose); background: #f8eae6; }
.admin-form-wrap { padding: 22px 24px; max-height: 70vh; overflow-y: auto; }
.admin-form-head { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.admin-form-head strong { font-size: 15px; color: var(--green-950); }
.admin-form-head span { margin-left: auto; font-size: 9px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.form-label { display: block; font-size: 9.5px; font-weight: 800; color: var(--green-800); margin-bottom: 4px; letter-spacing: .04em; }
.form-label em { color: var(--rose); font-style: normal; }
.form-grid .field { min-height: 38px; padding: 8px 10px; font-size: 11px; }
.upload-zone { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--paper-2); cursor: pointer; }
.upload-zone:hover { border-color: var(--green-400); background: var(--green-50); }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-preview { width: 62px; height: 62px; border-radius: 9px; object-fit: cover; background: var(--green-100); flex: 0 0 62px; }
.upload-copy strong { display: block; font-size: 10.5px; color: var(--green-900); }
.upload-copy span { display: block; font-size: 8.5px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.admin-actions { display: flex; gap: 8px; margin-top: 15px; flex-wrap: wrap; }
.admin-actions .btn { flex: 1; min-width: 110px; }
.admin-danger { color: #a65a52; background: #f8eae6; }
.admin-tools { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.admin-tools .btn { min-height: 30px; padding: 0 10px; font-size: 9px; }

/* toast */
.toast-stack { position: fixed; z-index: 300; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
body.drawer-open .toast-stack { bottom: 108px; }
.toast {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: rgba(24, 57, 39, .95); color: #f8f5e8; font-size: 11.5px; font-weight: 600;
  box-shadow: 0 10px 26px rgba(15, 38, 24, .23); animation: toastIn .3s var(--ease);
  backdrop-filter: blur(8px);
}
.toast.is-out { animation: toastOut .25s ease forwards; }
.toast .icon { color: #b7d4a9; width: 15px; height: 15px; }
.toast.warn .icon { color: #e7ca8c; }

/* boot screen */
.boot-screen {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  background: #f3f8ed;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}
.boot-screen.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.boot-mark { width: 52px; height: 52px; color: var(--green-800); display: grid; place-items: center; animation: bootMarkIn .6s var(--ease) both; }
.boot-mark svg, .boot-mark img { width: 100%; height: auto; }
.boot-brand { display: flex; flex-direction: column; gap: 3px; }
.boot-brand strong { font-size: 21px; font-weight: 900; letter-spacing: .12em; color: var(--green-950); }
.boot-brand span { font-size: 10px; letter-spacing: .42em; color: var(--muted); }
.boot-bar { width: 168px; height: 4px; border-radius: 99px; background: var(--green-100); overflow: hidden; }
.boot-bar i {
  display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  transition: width .35s var(--ease);
}
.boot-tip { font-size: 11px; color: var(--muted-2); letter-spacing: .08em; }
@keyframes bootMarkIn { from { opacity: 0; transform: scale(.82) rotate(-6deg); } to { opacity: 1; transform: none; } }

/* page enter */
.page-enter { animation: pageIn .45s var(--ease); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1120px) {
  .hero-grid { gap: 36px; }
  .hero-title { font-size: clamp(42px, 5.4vw, 62px); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hot-grid .product-card { flex-basis: calc((100% - 36px) / 3); max-width: calc((100% - 36px) / 3); }
  .gift-strip { grid-template-columns: repeat(4, 1fr); }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gift-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1.2fr .7fr 1fr; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-contact-card { max-width: 340px; }
  .ranking-wrap { grid-template-columns: .9fr 1.1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .container { padding: 0 20px; }
  .header-inner { grid-template-columns: 1fr auto; gap: 12px; }
  .main-nav { display: none; }
  .mobile-nav {
    display: flex; gap: 4px; overflow-x: auto; padding: 0 16px 9px;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .mobile-nav::-webkit-scrollbar { display: none; }
  .mobile-nav .nav-link { white-space: nowrap; padding: 7px 13px; font-size: 11.5px; background: rgba(255,255,255,.55); border: 1px solid var(--line); }
  .mobile-nav .nav-link.is-active { background: var(--green-900); border-color: var(--green-900); transform: scale(1.03); font-size: 12px; box-shadow: 0 6px 14px rgba(28,70,50,.26), 0 0 12px rgba(67,134,93,.3); }
  .brand-text strong { font-size: 17px; }
  .brand-mark { width: 39px; height: 39px; border-radius: 13px; }
  .brand-mark img { width: 23px; }
  .header-actions .icon-btn { display: none; }
  .hero { padding-top: 34px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { order: 1; }
  .hero-art-wrap { order: 2; max-width: 680px; width: 100%; margin: 0 auto; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-feature { grid-template-columns: 1fr; }
  .activity-feature__media { min-height: 290px; }
  .activity-feature__media::after { background: linear-gradient(180deg, transparent 55%, var(--green-900)); }
  .activity-feature__body { padding: 22px 28px 32px; }
  .activity-feature__body p { max-width: none; }
  .activity-mini-row { grid-template-columns: 1fr; }
  .ranking-wrap { grid-template-columns: 1fr; }
  .ranking-intro { min-height: 280px; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-aside { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .guide-aside::-webkit-scrollbar { display: none; }
  .guide-tab { width: auto; white-space: nowrap; flex: 0 0 auto; }
  .guide-contact-card { display: none; }
  .activity-page-grid { grid-template-columns: 1fr; }
  .activity-card.is-wide { grid-column: auto; grid-template-columns: 1fr; }
  .activity-card.is-wide .activity-card__media { min-height: 260px; }
  .activity-card.is-wide .activity-card__body { padding: 24px; }
  .gift-hero { grid-template-columns: 1fr; }
  .gift-hero-art { justify-content: flex-start; padding-left: 18px; }
  .gift-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .interactive-grid { grid-template-columns: 1fr; }
  .review-summary { grid-template-columns: 180px 1fr; gap: 20px; }
  .review-summary__tags { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail__media { min-height: 280px; aspect-ratio: 16 / 10; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-list { border-right: 0; border-bottom: 1px solid var(--line); max-height: 230px; }
  .admin-form-wrap { max-height: none; }
}
@media (max-width: 720px) {
  body { font-size: 14px; }
  /* 性能降级：移动端关闭常驻背景模糊，避免滚动时持续重算 */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fdfef8; }
  .price-tag, .product-badge, .product-hover { backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* 关闭持续呼吸脉冲，减少无限动画合成开销 */
  .ticker-label i, .contact-live-dot, .contact-item.is-featured .contact-item__avatar::after { animation: none; }
  /* 移动端无跟随视差，撤掉主视觉常驻合成层提升 */
  .hero-art { will-change: auto; transform-style: flat; }
  .hero-art img { animation: none; }
  .container { padding: 0 16px; }
  .header-inner { height: 60px; }
  .ticker { top: 99px; }
  .brand-text span { display: none; }
  .cart-trigger { min-height: 38px; padding: 0 13px 0 11px; }
  .cart-trigger .btn-text { display: none; }
  .cart-trigger .icon { width: 19px; height: 19px; }
  .header-actions { gap: 6px; }
  .mobile-nav { padding: 0 12px 8px; }
  .ticker-inner { padding: 0 16px; height: 30px; }
  .ticker-label { display: none; }
  .ticker-item { font-size: 10px; }
  .hero { padding: 28px 0 14px; }
  .hero-title { font-size: clamp(38px, 11vw, 54px); letter-spacing: -.06em; }
  .hero-lede { font-size: 12.5px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { min-height: 46px; padding: 0 18px; font-size: 12.5px; }
  .hero-kook { max-width: none; }
  .hero-metrics { gap: 7px; }
  .hero-metric { padding: 10px 8px; }
  .hero-metric strong { font-size: 17px; }
  .hero-metric span { font-size: 9px; }
  .quick-grid { gap: 8px; }
  .quick-card { padding: 12px; border-radius: 16px; gap: 9px; }
  .quick-icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px; }
  .quick-icon .quick-svg { width: 27px; height: 27px; }
  .quick-card strong { font-size: 12px; }
  .quick-card > span:nth-child(2) > span { font-size: 9px; }
  .quick-arrow { display: none; }
  .tool-banner { padding: 14px 16px; border-radius: 18px; gap: 12px; }
  .tool-banner__icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px; }
  .tool-banner__icon .icon { width: 25px; height: 25px; }
  .tool-banner__body strong { font-size: 13px; }
  .tool-banner__body span { font-size: 10px; }
  .section { padding: 40px 0; }
  .section--tight { padding: 26px 0; }
  .section-head { margin-bottom: 18px; gap: 12px; align-items: flex-end; }
  .section-title { font-size: 27px; }
  .section-sub { font-size: 11px; }
  .section-head > .section-sub { display: none; }
  .section-link { font-size: 10.5px; flex: 0 0 auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hot-grid { gap: 10px; }
  .hot-grid .product-card { flex-basis: calc((100% - 20px) / 3); max-width: calc((100% - 20px) / 3); }
  .product-card { border-radius: 16px; }
  .product-body { padding: 10px 10px 10px; }
  .product-title { font-size: 12px; line-height: 1.4; }
  .product-desc { font-size: 9.5px; min-height: 30px; display: -webkit-box; -webkit-line-clamp: 2; }
  .product-tags { display: none; }
  .price-tag { font-size: 15px; padding: 4px 8px; border-radius: 9px; right: 7px; top: 7px; }
  .product-badge { font-size: 8px; padding: 3px 6px; left: 7px; top: 7px; }
  .product-foot { margin-top: 8px; padding-top: 8px; }
  .product-meta { font-size: 8.5px; }
  .product-meta strong { font-size: 9px; }
  .add-btn { width: 28px; height: 28px; flex-basis: 28px; }
  .add-btn .icon { width: 13px; height: 13px; }
  .product-hover { display: none; }
  .activity-feature { border-radius: 26px; min-height: 0; }
  .activity-feature__media { min-height: 220px; }
  .activity-feature__body { padding: 20px 20px 26px; }
  .activity-feature__body h3 { font-size: 26px; }
  .activity-mini { min-height: 140px; border-radius: 18px; }
  .activity-mini__img { min-height: 140px; }
  .activity-mini__body { padding: 14px 12px; }
  .activity-mini__body h4 { font-size: 13.5px; }
  .activity-mini__body p { font-size: 9.5px; }
  .gift-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gift-card { border-radius: 16px; padding: 9px; }
  .gift-visual { height: 106px; border-radius: 12px; margin-bottom: 8px; }
  .gift-visual svg { width: 82px; height: 82px; }
  .gift-card h4 { font-size: 12px; }
  .gift-card p { display: none; }
  .gift-price { font-size: 15px; }
  .ranking-intro { padding: 28px 24px; border-radius: 24px; min-height: 250px; }
  .ranking-intro h3 { font-size: 26px; }
  .ranking-list { padding: 12px 14px; border-radius: 22px; }
  .ranking-row { gap: 8px; padding: 8px 0; }
  .rank-avatar { width: 30px; height: 30px; border-radius: 9px; font-size: 11px; }
  .rank-name { font-size: 11px; }
  .rank-orders { display: none; }
  .rank-score { font-size: 11px; }
  .review-summary { grid-template-columns: 1fr; gap: 13px; padding: 20px; border-radius: 22px; }
  .review-summary__tags { grid-column: auto; }
  .review-grid { grid-template-columns: 1fr; gap: 10px; }
  .review-card { padding: 16px; border-radius: 18px; }
  .review-text { font-size: 11.5px; }
  .score-big strong { font-size: 46px; }
  .page-banner { padding: 22px 20px; border-radius: 22px; flex-direction: column; align-items: flex-start; }
  .page-banner h1 { font-size: 38px; }
  .page-banner__side { width: 100%; justify-content: flex-start; }
  .page-banner__side .btn { min-height: 38px; }
  .guide-steps { padding: 16px 4px; overflow-x: auto; border-radius: 20px; }
  .guide-step { min-width: 74px; }
  .guide-step:not(:last-child)::after { display: none; }
  .guide-step__no { width: 34px; height: 34px; margin-bottom: 5px; }
  .guide-step strong { font-size: 10.5px; }
  .guide-step span { font-size: 8px; }
  .guide-panel { padding: 18px 16px; border-radius: 20px; }
  .guide-panel h2 { font-size: 17px; }
  .accordion summary { font-size: 12px; gap: 8px; padding: 14px 0; }
  .acc-no { flex-basis: 19px; font-size: 9px; }
  .accordion-body { padding-left: 27px; font-size: 11px; }
  .deposit-note { padding: 14px; }
  .guide-help { padding: 20px; border-radius: 20px; }
  .guide-help h3 { font-size: 17px; }
  .menu-page { padding-top: 16px; }
  .game-switch { gap: 6px; margin: 16px 0 10px; }
  .game-tab { padding: 7px 12px; font-size: 10.5px; }
  .menu-toolbar { gap: 7px; }
  .menu-search { min-height: 43px; flex-basis: 100%; }
  .menu-search input { font-size: 12px; }
  .menu-sort { min-height: 38px; margin-left: auto; }
  .menu-meta { margin: 12px 0 10px; }
  .category-chip { padding: 6px 10px; font-size: 10px; }
  .gift-hero { padding: 22px 20px; border-radius: 22px; gap: 12px; }
  .gift-hero h1 { font-size: 34px; }
  .gift-hero-art { gap: 7px; padding-left: 2px; }
  .gift-hero-thumb { width: 84px; height: 84px; border-radius: 16px; padding: 7px; }
  .gift-hero-thumb:nth-child(2) { transform: translateY(-8px) scale(1.08); }
  .gift-page-grid { gap: 10px; }
  .gift-page-grid .gift-visual { height: 165px; }
  .gift-page-grid .gift-visual img { padding: 8px; }
  .gift-page-grid .gift-visual svg { width: 96px; height: 96px; }
  .gift-page-grid .gift-card h4 { font-size: 13px; }
  .gift-note { font-size: 9.5px; padding: 12px; }
  .activity-page-grid { gap: 12px; }
  .activity-card { border-radius: 20px; }
  .activity-card__body { padding: 16px; }
  .activity-card h3 { font-size: 18px; }
  .activity-card p { font-size: 10px; }
  .activity-highlights { display: none; }
  .activity-card__foot { margin-top: 10px; }
  .activity-card__foot .btn { min-height: 34px; padding: 0 12px; font-size: 10.5px; }
  .site-footer { margin-top: 16px; padding-top: 10px; border-radius: 30px 30px 0 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 12px 10px; padding-bottom: 8px; }
  .footer-col:not(.footer-col--contact) { grid-template-columns: 1fr; }
  .footer-col a, .footer-col button { font-size: 10px; padding: 0; line-height: 1.3; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .brand { gap: 10px; }
  .footer-brand .brand-mark { width: 30px; height: 30px; }
  .footer-brand .brand-mark img { width: 18px; }
  .footer-brand .brand-text strong { font-size: 16px; }
  .footer-brand .brand-text span { font-size: 8.5px; }
  .footer-brand p { margin-top: 4px; font-size: 9.5px; line-height: 1.4; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-contact-card { padding: 7px 9px; gap: 9px; }
  .footer-qr { width: 44px; height: 44px; flex: 0 0 44px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; padding: 6px 0 8px; }
  .footer-bottom p { line-height: 1.5; }
  .footer-bottom p { font-size: 8px; }
  .footer-bottom .footer-links { gap: 12px; }
  .floating-support { width: 52px; height: 52px; bottom: 14px; }
  .floating-support .fs-label { display: none; }
  .cart-drawer { width: 100%; }
  .drawer-head { padding: 16px 18px 10px; }
  .drawer-steps { padding: 2px 20px 13px; }
  .drawer-body { padding: 14px 18px 20px; }
  .drawer-foot { padding: 11px 18px max(14px, env(safe-area-inset-bottom)); }
  .drawer-total strong { font-size: 25px; }
  .modal-overlay { padding: 10px; align-items: flex-end; }
  .modal { max-height: 92vh; border-radius: 22px 22px 0 0; width: 100%; }
  .modal--wide, .modal--poster { width: 100%; }
  .modal-head { padding: 14px 16px; }
  .modal-body { padding: 16px; }
  .product-detail__body { padding: 20px; }
  .product-detail__body h2 { font-size: 21px; }
  .spec-group { grid-template-columns: 1fr; }
  .duration-group { grid-template-columns: repeat(2, 1fr); }
  .contact-live { flex-wrap: wrap; align-items: flex-start; justify-content: flex-start; padding: 10px 12px; }
  .contact-live__copy { flex: 1; }
  .contact-live__time { width: 100%; min-width: 0; margin-top: 2px; margin-left: 0; padding: 8px 0 0 15px; border-left: 0; border-top: 1px dashed rgba(80, 125, 90, .18); flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; text-align: left; }
  .contact-live__time strong { margin-top: 0; font-size: 17px; }
  .contact-live__time em { margin-top: 0; margin-left: auto; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-qr-panel { order: -1; }
  .contact-qr-panel img { width: 140px; height: 140px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .admin-list { padding: 10px; }
  .admin-form-wrap { padding: 16px; }
  .toast-stack { bottom: 20px; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 34px; }
  .gift-page-grid { grid-template-columns: 1fr; }
  .gift-page-grid .gift-visual { height: 160px; }
  .product-title { font-size: 11.5px; }
}

/* ---------------- motion ---------------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes softPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@keyframes navGlow {
  0%, 100% { box-shadow: 0 8px 20px rgba(28,70,50,.28), 0 0 14px rgba(67,134,93,.28), inset 0 1px 0 rgba(255,255,255,.14); }
  50% { box-shadow: 0 8px 22px rgba(28,70,50,.34), 0 0 22px rgba(67,134,93,.45), inset 0 1px 0 rgba(255,255,255,.18); }
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes slowSpin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px) scale(.96); } }
@keyframes pageIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes clickRipple { 0% { transform: scale(0); opacity: .2; } 100% { transform: scale(1); opacity: 0; } }
@keyframes cartBump { 0%, 100% { transform: translateY(0) scale(1); } 32% { transform: translateY(-2px) scale(1.055); } 62% { transform: translateY(0) scale(.985); } }
@keyframes badgePop { 0%, 100% { transform: scale(1); } 38% { transform: scale(1.32); } 70% { transform: scale(.92); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .page-enter { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero-copy .hero-title span, .hero-copy .hero-lede, .hero-copy .hero-tags,
  .hero-copy .hero-actions, .hero-copy .hero-kook, .hero-copy .hero-metrics { opacity: 1 !important; transform: none !important; animation: none !important; }
  .product-grid.reveal > *, .gift-strip.reveal > *, .quick-grid.reveal > *, .gift-page-grid.reveal > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-art img { animation: none; }
}

/* ---------------- 获奖站风格动效（灰白绿点缀版） ---------------- */

/* 1. Hero 阶梯入场：容器 reveal 显现后，内部元素依次上浮淡入 */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero-copy .hero-title span,
.hero-copy .hero-lede,
.hero-copy .hero-tags,
.hero-copy .hero-actions,
.hero-copy .hero-kook,
.hero-copy .hero-metrics { opacity: 0; }
.hero-copy.in .hero-title span { animation: heroRise .6s var(--ease) both; }
.hero-copy.in .hero-title span:nth-child(1) { animation-delay: .02s; }
.hero-copy.in .hero-title span:nth-child(2) { animation-delay: .1s; }
.hero-copy.in .hero-lede      { animation: heroRise .6s var(--ease) both; animation-delay: .16s; }
.hero-copy.in .hero-tags      { animation: heroRise .6s var(--ease) both; animation-delay: .24s; }
.hero-copy.in .hero-actions   { animation: heroRise .6s var(--ease) both; animation-delay: .32s; }
.hero-copy.in .hero-kook      { animation: heroRise .6s var(--ease) both; animation-delay: .4s; }
.hero-copy.in .hero-metrics   { animation: heroRise .6s var(--ease) both; animation-delay: .48s; }

/* 2. 统计数字滚动：等宽数字避免计数时抖动 */
.hero-metric strong { font-variant-numeric: tabular-nums; }

/* 3. 卡片 hover 微光扫过（sheen） */
.product-card, .quick-card, .gift-card { isolation: isolate; }
.product-card::before, .quick-card::before, .gift-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.32) 50%, transparent 65%);
  transform: translateX(-130%); transition: transform .7s var(--ease);
}
.product-card:hover::before, .quick-card:hover::before, .gift-card:hover::before {
  transform: translateX(130%);
}

/* 4. 网格卡片交错浮现：父级 reveal 显现后，子项按 --i 序号依次延迟 */
.product-grid.reveal > *, .gift-strip.reveal > *, .quick-grid.reveal > *, .gift-page-grid.reveal > * {
  opacity: 0; transform: translateY(18px);
}
.product-grid.reveal.in > *, .gift-strip.reveal.in > *, .quick-grid.reveal.in > *, .gift-page-grid.reveal.in > * {
  opacity: 1; transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* 5. Hero 人物呼吸浮动（作用于内层图，不与 3D 倾斜变换冲突） */
.hero-art img { animation: floatY 6s ease-in-out infinite; }



/* ================= 弹窗动效增强（v218） ================= */
.modal-overlay {
  perspective: 1400px;
  animation: overlayIn .34s ease both;
}
@keyframes overlayIn {
  from { opacity: 0; background: rgba(18,38,27,0); backdrop-filter: blur(0px); }
  to   { opacity: 1; background: rgba(18,38,27,.5); backdrop-filter: blur(6px); }
}

.modal {
  transform-origin: 50% 62%;
  will-change: transform, opacity;
  animation: modalPop .52s cubic-bezier(.2,.92,.24,1.14) both;
}
@keyframes modalPop {
  0%   { opacity: 0; transform: translateY(30px) scale(.92) rotateX(7deg); }
  55%  { opacity: 1; }
  75%  { transform: translateY(-3px) scale(1.012) rotateX(0deg); }
  100% { opacity: 1; transform: none; }
}

/* 弹窗出现时的柔光圈 */
.modal::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  animation: modalHalo .9s ease-out .12s 1 both;
}
@keyframes modalHalo {
  0%   { box-shadow: 0 0 0 0 rgba(126, 202, 158, .45), 0 0 0 0 rgba(255,255,255,.28); }
  70%  { box-shadow: 0 0 0 20px rgba(126, 202, 158, 0), 0 0 34px 6px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(126, 202, 158, 0); }
}

/* 头部与内容分层入场 */
.modal-head { animation: headDrop .48s cubic-bezier(.22,.9,.3,1.1) .06s both; }
@keyframes headDrop {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}
.modal-body > * {
  animation: bodyRise .5s cubic-bezier(.22,.9,.3,1.06) both;
}
.modal-body > *:nth-child(1) { animation-delay: .10s; }
.modal-body > *:nth-child(2) { animation-delay: .16s; }
.modal-body > *:nth-child(3) { animation-delay: .22s; }
.modal-body > *:nth-child(4) { animation-delay: .28s; }
@keyframes bodyRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* 关闭按钮悬停旋转 */
.modal-close { transition: transform .3s var(--ease), background .2s ease; }
.modal-close:hover { transform: rotate(90deg) scale(1.06); }

/* 组合下单提示：文字流光 + 数字高亮 */
.combo-notice { position: relative; overflow: hidden; }
.combo-notice::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 45%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.85) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-140%);
  animation: comboSheen 1.15s ease-out .5s 1 both;
  pointer-events: none;
}
@keyframes comboSheen { to { transform: translateX(240%); } }

/* 浮动小光点 */
.combo-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.combo-fx i {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(179,232,203,.75) 60%, rgba(179,232,203,0) 100%);
  opacity: 0;
  animation: fxFloat 3.2s ease-in-out infinite;
}
.combo-fx i:nth-child(1) { left: 12%;  bottom: 18%; animation-delay: .2s;  }
.combo-fx i:nth-child(2) { left: 68%;  bottom: 26%; animation-delay: .9s;  width: 4px; height: 4px; }
.combo-fx i:nth-child(3) { left: 84%;  bottom: 46%; animation-delay: 1.5s; width: 5px; height: 5px; }
.combo-fx i:nth-child(4) { left: 26%;  bottom: 52%; animation-delay: 2.1s; width: 3px; height: 3px; }
@keyframes fxFloat {
  0%   { opacity: 0; transform: translateY(14px) scale(.7); }
  30%  { opacity: .9; }
  70%  { opacity: .55; }
  100% { opacity: 0; transform: translateY(-46px) scale(1.15); }
}

/* 按钮悬停高光掠过 */
.modal .btn { position: relative; overflow: hidden; }
.modal .btn::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.42) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-160%);
  transition: transform .55s ease;
  pointer-events: none;
}
.modal .btn:hover::after { transform: translateX(260%); }

@media (prefers-reduced-motion: reduce) {
  .modal, .modal-overlay, .modal-head, .modal-body > *, .modal::after,
  .combo-notice::after, .combo-fx i { animation: none !important; }
}

/* ================= 热门微交互（v219） ================= */
@property --ring-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* 1. 动态弥散光晕描边：卡片悬停时，边框上一圈渐变流光缓慢旋转 */
.product-card::after,
.gift-card::after,
.quick-card::after {
  content: '';
  position: absolute; inset: -1px; border-radius: inherit; padding: 1.4px;
  background: conic-gradient(from var(--ring-a, 0deg),
      rgba(126,202,158,0) 0deg,
      rgba(126,202,158,.95) 55deg,
      rgba(255,232,163,.9) 110deg,
      rgba(126,202,158,0) 170deg,
      rgba(126,202,158,0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0; pointer-events: none; z-index: 2;
  transition: opacity .38s var(--ease);
  animation: ringSpin 7s linear infinite paused;
}
.product-card:hover::after,
.gift-card:hover::after,
.quick-card:hover::after { opacity: 1; animation-play-state: running; }
@keyframes ringSpin { to { --ring-a: 360deg; } }

/* 2. 弹性微缩按钮：按下 0.96 压缩 + 内阴影加深，松开轻微超调回弹 */
.btn {
  transition: transform .32s cubic-bezier(.2,.9,.28,1.3), box-shadow .32s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:active {
  transform: translateY(0) scale(.955);
  box-shadow: inset 0 4px 10px rgba(24, 62, 42, .24), 0 2px 6px rgba(24, 62, 42, .10);
  transition-duration: .09s;
}
.btn:not(:active) { transition-duration: .34s; }

/* 3. 阻尼弹性抽屉：点单夹滑入/滑出带回弹 */
.cart-drawer { transition-timing-function: cubic-bezier(.18, 1.12, .28, 1); }

/* 4. 弹簧交错入场：网格子项用轻微弹性上滑 */
.product-grid.reveal.in > *,
.gift-strip.reveal.in > *,
.quick-grid.reveal.in > *,
.gift-page-grid.reveal.in > * {
  transition-timing-function: cubic-bezier(.18, 1.16, .3, 1);
}

/* 5. 按钮磁吸微光：指针靠近时按钮轻微上浮与光晕 */
.btn-primary { position: relative; }
.btn-primary::before {
  content: ''; position: absolute; inset: -40% -10%; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 0%, rgba(255,255,255,.34), rgba(255,255,255,0) 70%);
  opacity: 0; transition: opacity .3s ease;
}
.btn-primary:hover::before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .product-card::after, .gift-card::after, .quick-card::after { animation: none !important; }
  .btn, .cart-drawer { transition-duration: .01s !important; }
  .btn:active { transform: none !important; }
}

/* ================= 顶部导航重设计（v221） ================= */
/* 去掉深绿发光胶囊，改为浅苔绿薄片 + 细描边 + 底部渐隐短线 */
.nav-link {
  border-radius: 12px;
  padding: 9px 15px;
  transition: color .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
}
.nav-link:hover {
  color: var(--green-800);
  background: rgba(36, 88, 61, .055);
  box-shadow: none;
}
.nav-link.is-active {
  color: var(--green-900);
  background: linear-gradient(180deg, #f5faf6 0%, #e9f2ec 100%);
  box-shadow: inset 0 0 0 1px rgba(36, 88, 61, .15), 0 2px 8px rgba(28, 70, 50, .07);
  transform: none;
  font-size: 13.5px;
  letter-spacing: .02em;
  animation: none;
}
.nav-link.is-active::after {
  content: "";
  position: absolute; left: 50%; bottom: 4px; width: 18px; height: 2px;
  margin-left: -9px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(36,88,61,0), rgba(36,88,61,.8), rgba(36,88,61,0));
}
.nav-link.is-active:hover {
  background: linear-gradient(180deg, #f2f8f4 0%, #e4efe8 100%);
  box-shadow: inset 0 0 0 1px rgba(36, 88, 61, .22), 0 4px 12px rgba(28, 70, 50, .09);
}

/* 移动端导航同步 */
.mobile-nav .nav-link { border-radius: 12px; }
.mobile-nav .nav-link.is-active {
  background: linear-gradient(180deg, #f5faf6 0%, #e9f2ec 100%);
  border-color: rgba(36, 88, 61, .18);
  color: var(--green-900);
  transform: none;
  font-size: 12px;
  box-shadow: inset 0 0 0 1px rgba(36, 88, 61, .12), 0 2px 8px rgba(28, 70, 50, .07);
}

/* 覆盖外部注入的优先级（v221 补丁） */
.main-nav .nav-link.is-active {
  color: #1c4632 !important;
  box-shadow: inset 0 0 0 1px rgba(36, 88, 61, .16), 0 2px 8px rgba(28, 70, 50, .07) !important;
}
.main-nav .nav-link:hover { color: #24583d !important; }

/* ================= 玩法中心标题居中 + 字距（v222） ================= */
.page-banner--center {
  justify-content: center;
  padding: 40px 34px 34px;
}
.page-banner--center .page-banner__main {
  position: relative; z-index: 1; flex: 1 1 auto;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 4px 0;
}
.page-banner--center .eyebrow { letter-spacing: .22em; }
.page-banner--center h1 {
  letter-spacing: .16em;
  text-indent: .16em;
  font-weight: 900;
}
.page-banner--center p {
  max-width: 520px; margin-left: auto; margin-right: auto;
  letter-spacing: .04em;
}
.page-banner--center .page-banner__side {
  position: absolute; right: 34px; top: 30px;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .page-banner--center { padding: 24px 20px 22px; }
  .page-banner--center .page-banner__side {
    position: relative; right: auto; top: auto;
    justify-content: center; width: 100%; margin-top: 14px;
  }
  .page-banner--center h1 { letter-spacing: .12em; text-indent: .12em; }
}

/* v227 好评专区：新版卡片头像 + 好评大图 */
.review-avatar.has-photo { background: var(--paper-2); }
.review-avatar.is-default { background: #f1f3ee; color: #a6b0a3; border: 1px solid rgba(20, 48, 33, .07); }
.review-imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 11px; position: relative; }
.review-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; transition: transform .35s var(--ease); }
.review-img:hover img { transform: scale(1.05); }
.review-img-more { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; background: rgba(20, 48, 33, .72); color: #fffdf6; font-size: 10px; font-weight: 800; letter-spacing: .02em; backdrop-filter: blur(4px); pointer-events: none; }
.review-imgs.is-single { grid-template-columns: 1fr; }
.review-imgs:not(.is-single) .review-img:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 32 / 10; }
.review-img { padding: 0; border: 0; background: var(--paper-2); border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; cursor: zoom-in; display: block; }
.review-imgs.is-single .review-img { aspect-ratio: auto; }
.review-imgs.is-single .review-img img { height: auto; }
/* v228 海报弹窗加载优化：预留高度 + 骨架微光，避免一片空白和布局跳动 */
.poster-stage { min-height: 34vh; }
.poster-stage img { transition: opacity .26s ease; }
.poster-stage.is-loading img { opacity: 0; }
.poster-stage.is-loading::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(255,255,255,.24) 18%, rgba(255,255,255,.60) 42%, rgba(255,255,255,.24) 66%);
  background-size: 240% 100%;
  animation: posterShimmer 1.15s ease-in-out infinite;
}
@keyframes posterShimmer { 0% { background-position: 160% 0 } 100% { background-position: -60% 0 } }

/* v231 质感优化（只挑低风险项）：弹簧曲线、等宽数字、撤销 snackbar、浮层手感 */
:root {
  --spring: linear(0, .007 1.4%, .028 2.8%, .061 4.7%, .121 6.9%, .222 9.4%, .376 12.5%, .577 16.2%, .762 20%, .913 23.9%, 1.005 28%, 1.052 32%, 1.069 35.7%, 1.062 39.6%, 1.039 44.2%, 1.011 49.9%, .997 55.8%, .994 61%, .998 72%, 1);
  --spring-bouncy: linear(0, .02 2%, .08 4%, .19 6.5%, .36 9.5%, .58 13%, .78 17%, .93 21.5%, 1.03 27%, 1.06 31%, 1.045 36%, 1.015 44%, .998 54%, 1.003 68%, 1);
}
/* 按压反馈：只动 transform，不改现有过渡与布局 */
.btn:active, .add-btn:active, .gift-send:active, .spec-option:active { transform: scale(.962); }
.qty button:active, .modal-close:active { transform: scale(.92); }
/* 点赞 Q 弹 */
@keyframes likePop { 0% { transform: scale(1); } 34% { transform: scale(1.28); } 62% { transform: scale(.93); } 100% { transform: scale(1); } }
.like-btn.is-liked .icon { animation: likePop .52s var(--spring-bouncy); }
/* 数字等宽锁死，价格/计数不左右跳 */
.price-tag, .price-tag small, .detail-price, .detail-price span, .cart-count, .qty span, .review-date, .mini-tag, .guide-shift-hours, .status-online, .activity-countdown { font-variant-numeric: tabular-nums; }
/* 滚动不到底不串页，iOS 走原生惯性 */
.modal, .drawer, .modal-body, .review-imgs { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
/* 末行不留孤字 */
.review-text, .poster-panel h2, .gift-note, .guide-help p { text-wrap: pretty; }
/* 单独两个图标按钮补命中区，避免误触相邻控件 */
.modal-close, .cart-item__del { position: relative; }
.modal-close::after, .cart-item__del::after { content: ''; position: absolute; inset: -6px; border-radius: inherit; }

/* v242 玩法详情：去掉横幅卡，只留一层容器 */
.page-head--flat { padding-top: 22px; }
.interactive-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.interactive-bar__title { font-size: 16px; font-weight: 800; letter-spacing: .02em; color: var(--ink); }
.interactive-bar__tag {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #3f6049;
  background: #e9f2df; border-radius: 999px; padding: 3px 9px;
}
.interactive-frame { margin-top: 0; border-radius: 18px; border: 1px solid var(--line); box-shadow: none; background: var(--paper); }
.interactive-frame iframe { height: calc(100dvh - 176px); min-height: 560px; }
@media (max-width: 780px) {
  .interactive-frame iframe { height: calc(100dvh - 158px); min-height: 520px; }
  .interactive-bar__title { font-size: 14px; }
}


/* v243 搜索抽屉（动效对齐点单夹） + 点单夹角标外置 */

/* 角标：从胶囊内挪到右上角外沿，彻底避免被 overflow 裁切 */
.cart-slot { position: relative; display: inline-flex; align-items: center; }

.cart-count {
  position: absolute;
  top: -6px;
  right: -7px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  border: 1.5px solid #fdfef8;
  background: var(--green-800);
  color: #f7f3e3;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 10px rgba(21, 52, 38, .26);
  transform: scale(.6);
  transform-origin: 60% 60%;
  opacity: 0;
  pointer-events: none;
  transition: transform .3s cubic-bezier(.18, 1.4, .3, 1), opacity .2s ease;
}

.cart-count.has-items { transform: scale(1); opacity: 1; }

.cart-slot.cart-bump .cart-count { animation: badgePop .55s var(--ease); }
.cart-slot.cart-bump .cart-trigger { animation: cartBump .55s var(--ease); }

@media (max-width: 720px) {
  .cart-count { top: -5px; right: -6px; min-width: 18px; height: 18px; font-size: 10.5px; }
}

/* 搜索抽屉：与点单夹同一套滑入曲线 / 时长 / 遮罩 */
.search-drawer {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  box-shadow: -24px 0 70px rgba(17, 44, 29, .2);
  transform: translateX(102%);
  transition: transform .42s var(--ease);
}

.search-drawer.is-open { transform: none; }

.search-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 12px;
}

.search-head__label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-700);
}

.search-close {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green-800);
  cursor: pointer;
  transition: transform .25s var(--ease), background .2s;
}

.search-close:hover { transform: rotate(90deg); background: var(--green-100); }
.search-close .icon { width: 15px; height: 15px; }

.search-field {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 22px;
  padding: 0 14px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}

.search-field:focus-within {
  border-color: rgba(47, 108, 73, .45);
  box-shadow: 0 0 0 3px rgba(47, 108, 73, .1);
}

.search-field .icon { width: 17px; height: 17px; flex: 0 0 auto; color: var(--green-700); }

.search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--green-950);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.search-field input::placeholder { color: var(--muted-2); }

.search-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 22px 20px;
}

.search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

.search-tag {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  color: var(--green-800);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.search-tag:hover { background: var(--green-100); border-color: rgba(47, 108, 73, .3); }

.search-list { display: flex; flex-direction: column; gap: 4px; }

.search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .18s;
}

.search-row:hover { background: rgba(47, 108, 73, .08); }
.search-row img { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 10px; object-fit: cover; background: var(--green-100); }

.search-row__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search-row__name { font-size: 13.5px; font-weight: 600; color: var(--green-950); }
.search-row__meta { font-size: 11.5px; color: var(--muted); }

.search-row__price {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-800);
  font-variant-numeric: tabular-nums;
}

.search-row__price small { font-size: 10px; font-weight: 500; color: var(--muted-2); }

.search-empty { padding: 48px 0; text-align: center; font-size: 13px; color: var(--muted); }

.search-foot {
  flex: 0 0 auto;
  padding: 11px 22px 18px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .search-drawer { width: 100%; }
  .search-head { padding: 18px 16px 10px; }
  .search-field { margin: 0 16px; height: 44px; }
  .search-body { padding: 12px 16px 18px; }
  .search-foot { padding: 10px 16px 14px; }
}

/* ============================================================
   动效 v2（视频提炼：磁吸按钮 / 倾斜反光卡 / 按下微倾 /
   成功反馈 / 吸附轮播 / 光标聚光灯 / 长按浮起 + 新版涟漪、toast）
   ============================================================ */

/* ---------- 1. 磁吸按钮 ---------- */
.btn.is-magnetic {
  --gx: 0px;
  --gy: 0px;
  will-change: transform;
  transition: transform .38s cubic-bezier(.18, .9, .22, 1), box-shadow .3s var(--ease), background .25s, color .25s;
}
.btn.is-magnetic > * {
  transform: translate3d(calc(var(--gx) * .42), calc(var(--gy) * .42), 0);
  transition: transform .3s cubic-bezier(.18, .9, .22, 1);
}
.btn.is-magnetic.is-pulling {
  transform: translate3d(var(--gx), var(--gy), 0) scale(1.015);
  box-shadow: 0 18px 34px -16px rgba(30, 74, 48, .5);
}

/* ---------- 2. 倾斜反光卡 + 悬停显现 ---------- */
.tilt {
  --rx: 0deg;
  --ry: 0deg;
  --ty: 0px;
  --sc: 1;
  --gx: 50%;
  --gy: 50%;
  position: relative;
  transform: perspective(980px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, var(--ty), 0) scale(var(--sc));
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2, .85, .24, 1), box-shadow .4s var(--ease), border-color .4s var(--ease);
  will-change: transform;
}
.tilt.is-tilting { transition: transform .12s ease-out, box-shadow .3s var(--ease); }
.tilt.is-press {
  --sc: .982;
  transition: transform .22s cubic-bezier(.2, .7, .3, 1), box-shadow .22s var(--ease);
}
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  background: radial-gradient(240px circle at var(--gx) var(--gy), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 62%);
  mix-blend-mode: screen;
  transition: opacity .32s var(--ease);
}
.tilt.is-tilting::after { opacity: 1; }
.tilt .product-hover,
.tilt .gift-card__quick {
  transform: translateY(7px);
  opacity: 0;
  transition: transform .34s cubic-bezier(.2, .9, .24, 1), opacity .3s var(--ease);
}
.tilt.is-tilting .product-hover { transform: none; opacity: 1; }

/* ---------- 3. 成功反馈 ---------- */
.add-btn { overflow: hidden; }
.add-btn .check-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.3) rotate(-38deg);
  transition: opacity .3s var(--ease), transform .42s cubic-bezier(.2, 1.3, .3, 1);
  pointer-events: none;
}
.add-btn .check-mark .icon { width: 17px; height: 17px; stroke-width: 2.6; }
.add-btn.is-success { background: var(--green-900); }
.add-btn.is-success > .icon { opacity: 0; transform: scale(.4) rotate(90deg); transition: opacity .2s, transform .3s var(--ease); }
.add-btn.is-success .check-mark { opacity: 1; transform: scale(1) rotate(0deg); }
.add-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(120, 176, 126, .6);
  opacity: 0;
  pointer-events: none;
}
.add-btn.is-success::after { animation: successRing .7s cubic-bezier(.2, .8, .3, 1); }
@keyframes successRing {
  0% { opacity: .9; box-shadow: 0 0 0 0 rgba(120, 176, 126, .55); }
  100% { opacity: 0; box-shadow: 0 0 0 18px rgba(120, 176, 126, 0); }
}

/* ---------- 4. 光标聚光灯（首页 hero 暖光跟手） ---------- */
.hero { --sx: 50%; --sy: 34%; isolation: isolate; }
.hero::after {
  content: "";
  position: absolute;
  inset: -30px -10px 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--sx) var(--sy), rgba(255, 240, 196, .5), rgba(255, 240, 196, 0) 68%);
  transition: opacity .4s var(--ease);
}
.hero.is-lit::after { opacity: 1; }

/* ---------- 5. 长按浮起（点单夹订单项） ---------- */
.cart-item { position: relative; transition: transform .38s cubic-bezier(.2, .9, .24, 1), box-shadow .38s var(--ease), filter .3s var(--ease), opacity .3s; }
.cart-item.is-lifted {
  transform: translateY(-5px) scale(1.018);
  box-shadow: 0 20px 38px -18px rgba(20, 50, 32, .42);
  z-index: 6;
}
.drawer-body.is-lifting .cart-item:not(.is-lifted) { filter: blur(1.4px) saturate(.92); opacity: .72; transform: scale(.986); }
.cart-lift-menu {
  position: absolute;
  right: 8px;
  top: -15px;
  z-index: 7;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 253, 246, .96);
  box-shadow: 0 12px 26px -12px rgba(20, 50, 32, .4), inset 0 0 0 1px rgba(56, 96, 66, .1);
  opacity: 0;
  transform: translateY(6px) scale(.9);
  transform-origin: 100% 50%;
  transition: opacity .22s var(--ease), transform .34s cubic-bezier(.2, 1.2, .3, 1);
  pointer-events: none;
}
.cart-lift-menu.show { opacity: 1; transform: none; pointer-events: auto; }
.cart-lift-menu button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--green-800);
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.cart-lift-menu button:hover { background: var(--green-100); }
.cart-lift-menu button[data-lift-delete] { color: #a44a3f; }
.cart-lift-menu button[data-lift-delete]:hover { background: rgba(196, 110, 96, .14); }
.cart-lift-menu button .icon { width: 12px; height: 12px; }

/* ---------- 6. 吸附轮播（窄屏热门位横滑，居中放大） ---------- */
@media (max-width: 760px) {
  .hot-grid.rail {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding: 6px 9vw 16px;
    margin: 0 -18px;
  }
  .hot-grid.rail::-webkit-scrollbar { display: none; }
  .hot-grid.rail .product-card {
    flex: 0 0 62vw;
    max-width: 62vw;
    scroll-snap-align: center;
    transform-origin: 50% 50%;
    transition: transform .45s cubic-bezier(.2, .85, .24, 1), opacity .45s var(--ease), box-shadow .45s;
  }
  .hot-grid.rail .product-card.is-off { transform: scale(.9); opacity: .7; box-shadow: var(--shadow-xs); }
  .hot-grid.rail .product-card.is-center { transform: scale(1); opacity: 1; }
}

/* ---------- 7. 新版涟漪 ---------- */
.click-ripple {
  background: radial-gradient(circle, currentColor 0%, currentColor 55%, transparent 72%);
  opacity: .22;
  animation: rippleV2 .74s cubic-bezier(.18, .72, .3, 1) forwards;
}
.click-ripple.is-halo {
  background: none;
  border: 1.5px solid currentColor;
  opacity: .34;
  animation: rippleHalo .86s cubic-bezier(.18, .72, .3, 1) forwards;
}
@keyframes rippleV2 {
  0% { transform: scale(0); opacity: .3; }
  55% { opacity: .24; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes rippleHalo {
  0% { transform: scale(.24); opacity: .38; }
  100% { transform: scale(1.24); opacity: 0; }
}

/* ---------- 8. toast 进度细线 ---------- */
.toast { position: relative; overflow: hidden; }
.toast-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: rgba(183, 212, 169, .85);
  transform-origin: 0 50%;
  animation: toastBar var(--toast-dur, 2800ms) linear forwards;
}
@keyframes toastBar {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .tilt, .btn.is-magnetic, .hero::after, .hot-grid.rail .product-card { transition: none !important; animation: none !important; }
  .tilt::after { display: none; }
}
/* 非 add-btn 的成功反馈（礼物按钮等） */
.btn.is-pop { animation: btnPop .58s cubic-bezier(.2, 1.2, .3, 1); }
@keyframes btnPop {
  0% { transform: scale(1); }
  26% { transform: scale(.955); }
  58% { transform: scale(1.04); }
  100% { transform: scale(1); }
}