/* =============================================================================
 * 天天互助站 · Web 版 —— 首页样式 Home
 * 版本: 20261009e — 吉祥物卡片修复：DOM ready 绑定 + 右侧定位
 * -----------------------------------------------------------------------------
 * 仅承载首页独有区块的样式；通用组件见 components.css。
 * 区块顺序与 index.html 保持一致：
 *   Hero → 数据条 → 快捷入口 → 分类区 → Banner 轮播 → 招牌菜品
 *   → 磁吸叙事（深色） → 校园场景 → 口碑跑马灯
 * ========================================================================== */

/* =============================================================================
 * 1. Hero —— 全屏 3D 粒子背景 + 大字号标题
 * ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-ink);
  color: #fff;
  isolation: isolate;
  padding-top: var(--nav-h);
}

/* Three.js 画布容器 */
.hero__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__stage canvas { display: block; width: 100%; height: 100%; }

/* CSS 兜底光斑：即使 CDN 未加载或 WebGL 不可用也保持高级观感 */
.hero__aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 46% at 78% 26%, rgba(255, 90, 54, .40), transparent 70%),
    radial-gradient(38% 42% at 20% 78%, rgba(255, 61, 46, .30), transparent 72%),
    radial-gradient(30% 34% at 55% 60%, rgba(120, 190, 255, .12), transparent 70%);
  filter: blur(24px);
  animation: wm-aurora 18s ease-in-out infinite alternate;
}

/* 顶部暗角，保证导航可读 */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 21, 25, .78) 0%, rgba(15, 21, 25, .20) 34%, rgba(15, 21, 25, .82) 100%),
    radial-gradient(80% 60% at 50% 50%, transparent 40%, rgba(15, 21, 25, .55) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: clamp(72px, 12vh, 140px) var(--page-x) clamp(90px, 14vh, 150px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: var(--sp-12);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 10px 20px 10px 14px;
  border-radius: var(--r-full);
  background: var(--c-white-10);
  border: 1px solid var(--c-white-34);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: #fff;
  letter-spacing: .01em;
}
.hero__eyebrow b { color: var(--c-brand-light); font-weight: var(--fw-semi); }
.hero__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-brand);
  box-shadow: 0 0 0 0 rgba(255, 90, 54, .7);
  animation: wm-pulse-ring 2.2s var(--ease-out-expo) infinite;
}

.hero__title {
  margin-top: var(--sp-6);
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-mega);
  line-height: var(--lh-tight);
  text-wrap: balance;
}
.hero__title .grad {
  background: var(--grad-brand-h);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title .grad--blue {
  background: linear-gradient(120deg, #3b82f6 0%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title .thin { font-weight: var(--fw-light); color: var(--c-white-64); }

.hero__lead {
  margin-top: var(--sp-6);
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: var(--lh-loose);
  color: rgba(255, 255, 255, .78);
}
.hero__lead strong { color: #fff; font-weight: var(--fw-semi); }

.hero__actions {
  margin-top: var(--sp-10);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  row-gap: var(--sp-4);
  flex-wrap: wrap;
}
/* Hero 内按钮：强化玻璃对比度与交互反馈（避免与其它页面组件样式互相影响，仅作用于此容器） */
.hero__actions .btn { transition: transform var(--dur-2) var(--ease-out-back), box-shadow var(--dur-3) var(--ease-out-expo), background var(--dur-2), border-color var(--dur-2), color var(--dur-2); }
.hero__actions .btn--primary { box-shadow: 0 14px 30px rgba(255, 90, 54, .34), var(--sh-inset-hair); }
.hero__actions .btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(255, 90, 54, .42); }
.hero__actions .btn--glass {
  --btn-bg: var(--c-white-18);
  --btn-fg: #fff;
  --btn-bd: var(--c-white-34);
}
.hero__actions .btn--glass:hover { --btn-bg: var(--c-white-34); --btn-bd: var(--c-white-55); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, .34); }
.hero__actions .btn:active { transform: translateY(0) scale(.98); }
.hero__actions .btn:focus-visible { outline: 2px solid rgba(255, 159, 111, .9); outline-offset: 3px; }

.hero__stats {
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-white-10);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: start;
  gap: 0;
}
.hero__stat {
  min-width: 0;
  padding-inline: var(--sp-6);
  text-align: center;
  border-right: 1px solid var(--c-white-10);
}
.hero__stat:first-child { padding-left: 0; }
.hero__stat:last-child { padding-right: 0; border-right: 0; }
.hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero__stat-num i { font-style: normal; font-size: .6em; color: var(--c-brand-light); font-weight: var(--fw-semi); }
.hero__stat-label { margin-top: 4px; font-size: var(--fs-xs); color: var(--c-white-64); letter-spacing: var(--ls-wide); }

/* --- 右侧：漂浮玻璃卡组（体现"外卖"业务属性） --- */
.hero__deck {
  position: relative;
  min-height: 0;
  display: block;
}

.hero__float {
  position: absolute;
  width: min(330px, 84%);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
  -webkit-backdrop-filter: blur(var(--glass-blur-lg)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-lg)) saturate(var(--glass-saturate));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .42), var(--sh-inset-hair);
  animation: wm-float 7s var(--ease-out-expo) infinite;
}
.hero__float--dish { top: 4%; left: 0; animation-delay: -.4s; }
.hero__float--order { bottom: 4%; right: 0; animation-delay: -3.2s; animation-duration: 8.4s; }

.hero__float-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.hero__float-title { font-size: var(--fs-sm); font-weight: var(--fw-semi); color: #fff; }

.hero__dish-row { display: flex; align-items: center; gap: var(--sp-4); }
.hero__dish-thumb {
  width: 58px; height: 58px;
  flex: 0 0 auto;
  border-radius: var(--r-md);
  background: var(--grad-brand);
  display: grid; place-items: center;
  font-size: 1.6rem;
  box-shadow: var(--sh-brand);
}
.hero__dish-name { font-size: var(--fs-sm); font-weight: var(--fw-semi); color: #fff; }
.hero__dish-sub { margin-top: 2px; font-size: var(--fs-xs); color: var(--c-white-64); }
.hero__dish-price {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--c-brand-light);
  font-variant-numeric: tabular-nums;
}

.hero__timeline { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.hero__timeline span {
  height: 4px; flex: 1;
  border-radius: var(--r-full);
  background: var(--c-white-10);
  overflow: hidden;
  position: relative;
}
.hero__timeline span::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-brand-h);
  transform-origin: 0 50%;
  animation: wm-grow-x 2.6s var(--ease-out-expo) infinite;
  animation-delay: inherit;
}
.hero__timeline span:nth-child(1)::after { animation-delay: 0s; }
.hero__timeline span:nth-child(2)::after { animation-delay: .5s; }
.hero__timeline span:nth-child(3)::after { animation-delay: 1s; }

/* --- 滚动提示 --- */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-white-64);
}
.hero__scroll-line {
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--c-white-34), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; inset-inline: 0; top: -60%;
  height: 60%;
  background: var(--grad-brand-h);
  animation: wm-scroll-hint 2.1s var(--ease-out-expo) infinite;
}

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-12); }
  .hero__deck { min-height: 340px; }
  .hero__float { width: min(320px, 88%); }
}

/* =============================================================================
 * 2. 数据条 Stats Bar
 * ========================================================================== */
.stats-bar {
  position: relative;
  z-index: 3;
  margin-top: calc(var(--sp-16) * -1);
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: var(--sp-6) var(--sp-4);
  border-radius: var(--r-xl);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur-lg)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-lg)) saturate(var(--glass-saturate));
  box-shadow: var(--sh-4);
}
.stat {
  padding-inline: var(--sp-5);
  border-right: 1px solid var(--c-line);
  text-align: center;
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: var(--fw-bold);
  color: var(--c-ink);
  letter-spacing: var(--ls-tight);
  font-variant-numeric: tabular-nums;
}
.stat__num i { font-style: normal; font-size: .58em; color: var(--c-brand-ink); }
.stat__label { margin-top: 4px; font-size: var(--fs-xs); color: var(--c-ink-68); letter-spacing: var(--ls-wide); }

@media (max-width: 760px) {
  .stats-bar { margin-top: var(--sp-10); }
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--c-line); padding-block: var(--sp-4); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
}

/* =============================================================================
 * 3. 分类区 Category
 * ========================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-5);
}
.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform var(--dur-3) var(--ease-out-expo), box-shadow var(--dur-3) var(--ease-out-expo), border-color var(--dur-3);
}
/* 悬停时左上角渗出的品牌色光斑 */
.cat::before {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 54, .22), transparent);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out-expo);
}
.cat:hover { transform: translateY(-8px); box-shadow: var(--sh-3); border-color: rgba(255, 90, 54, .3); }
.cat:hover::before { opacity: 1; }

.cat__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--grad-brand-soft);
  font-size: 1.5rem;
  transition: transform var(--dur-3) var(--ease-out-back);
}
.cat:hover .cat__icon { transform: scale(1.1) rotate(-6deg); }

.cat__name { font-size: var(--fs-h4); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.cat__desc { font-size: var(--fs-xs); color: var(--c-ink-68); line-height: var(--lh-normal); }
.cat__meta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--c-ink-68);
}
.cat__go {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: var(--c-ink-07);
  color: var(--c-ink);
  transition: background var(--dur-2), color var(--dur-2), transform var(--dur-2) var(--ease-out-back);
}
.cat:hover .cat__go { background: var(--grad-brand); color: #fff; transform: translateX(3px); }
.cat__go svg { width: 15px; height: 15px; }

/* 快捷入口（场景按钮行） */
.quick-row {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

/* =============================================================================
 * 4. 招牌菜品 Dish Grid
 * ========================================================================== */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-6);
}

.dish {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform var(--dur-3) var(--ease-out-expo), box-shadow var(--dur-3) var(--ease-out-expo), border-color var(--dur-3);
}
.dish:hover { transform: translateY(-8px); box-shadow: var(--sh-3); border-color: rgba(255, 90, 54, .3); }

/* 图片区：真实图片缺失时展示渐变 + emoji 占位 */
.dish__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--grad-cream);
}
.dish__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-5) var(--ease-out-expo);
}
.dish:hover .dish__img { transform: scale(1.07); }

.dish__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 3.2rem;
  background:
    radial-gradient(60% 60% at 30% 25%, rgba(255, 90, 54, .22), transparent 70%),
    var(--grad-cream);
}

.dish__tags { position: absolute; top: var(--sp-4); left: var(--sp-4); display: flex; gap: var(--sp-2); }
.dish__hot {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: rgba(23, 32, 37, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semi);
  display: inline-flex; align-items: center; gap: 4px;
  letter-spacing: var(--ls-wide);
}

.dish__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.dish__name { font-size: var(--fs-h4); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.dish__desc {
  font-size: var(--fs-xs);
  color: var(--c-ink-68);
  line-height: var(--lh-normal);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dish__meta { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-xs); color: var(--c-ink-68); }
.dish__rating { display: inline-flex; align-items: center; gap: 4px; color: var(--c-ink-68); font-weight: var(--fw-semi); }

.dish__foot {
  margin-top: auto;
  padding-top: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.dish__price {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--c-brand-red);
  font-size: 1.22rem;
  font-variant-numeric: tabular-nums;
}
.dish__price small { font-size: .62em; font-weight: var(--fw-semi); }
.dish__price del { font-size: .58em; color: var(--c-ink-68); font-weight: var(--fw-regular); }

/* 圆形加号按钮 */
.dish__add {
  position: relative;
  width: 40px; height: 40px;
  flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-brand);
  transition: transform var(--dur-2) var(--ease-out-back), box-shadow var(--dur-3);
}
.dish__add:hover { transform: scale(1.12) rotate(90deg); box-shadow: var(--sh-brand-lg); }
.dish__add:active { transform: scale(.94); }
.dish__add svg { width: 18px; height: 18px; }
/* 加入成功后的对勾反馈 */
.dish__add.is-done { background: var(--c-ink); box-shadow: var(--sh-2); }
.dish__add.is-done svg { animation: wm-pop var(--dur-3) var(--ease-out-back) 1; }

/* 骨架屏（数据加载中） */
.skeleton {
  border-radius: var(--r-lg);
  background: linear-gradient(100deg, var(--c-cream-deep) 30%, rgba(255, 255, 255, .85) 50%, var(--c-cream-deep) 70%);
  background-size: 240% 100%;
  animation: wm-skeleton 1.4s linear infinite;
  min-height: 320px;
}

/* =============================================================================
 * 5. 磁吸叙事区 Pinned Story（深色）
 * ========================================================================== */
.story {
  position: relative;
  background: var(--grad-ink);
  color: #fff;
  overflow: hidden;
}
/* 用 grid 让左侧文案 sticky，右侧面板随滚动切换 —— 磁吸式段落 */
.story__inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
  padding-block: var(--section-y);
}
.story__aside { position: sticky; top: calc(var(--nav-h-sm) + 48px); }
.story__title {
  margin-top: var(--sp-4);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-mega);
  line-height: var(--lh-snug);
  color: #3b82f6;
}
.story__title .grad { background: var(--grad-brand-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story__desc { margin-top: var(--sp-5); color: var(--c-white-64); line-height: var(--lh-loose); max-width: 42ch; }

.story__progress {
  margin-top: var(--sp-8);
  display: flex; align-items: center; gap: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--c-white-64);
  letter-spacing: var(--ls-wide);
}
.story__bar { flex: 1; height: 2px; background: var(--c-white-10); border-radius: var(--r-full); overflow: hidden; }
.story__bar i { display: block; height: 100%; width: 0; background: var(--grad-brand-h); }

.story__steps { display: flex; flex-direction: column; gap: var(--sp-6); }
.step {
  position: relative;
  padding: var(--sp-8) var(--sp-8) var(--sp-8) calc(var(--sp-8) + 46px);
  border-radius: var(--r-xl);
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .30);
  /* 未激活时压低存在感，随滚动进入视口后点亮 */
  opacity: .42;
  transform: translateY(14px) scale(.985);
  transition: opacity var(--dur-4) var(--ease-out-expo), transform var(--dur-4) var(--ease-out-expo), border-color var(--dur-4);
}
.step.is-live { opacity: 1; transform: none; border-color: rgba(255, 90, 54, .34); }

.step__idx {
  position: absolute;
  left: var(--sp-8);
  top: var(--sp-8);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  box-shadow: var(--sh-brand);
}
.step__title { font-size: var(--fs-h4); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); background: linear-gradient(120deg, #3b82f6 0%, #2563eb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step__desc { margin-top: var(--sp-3); color: var(--c-white-64); line-height: var(--lh-loose); font-size: var(--fs-sm); }
.step__chips { margin-top: var(--sp-5); display: flex; gap: var(--sp-2); flex-wrap: wrap; }

@media (max-width: 940px) {
  .story__inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .story__aside { position: static; }
  .step { padding: var(--sp-6) var(--sp-6) var(--sp-6) calc(var(--sp-6) + 42px); }
  .step__idx { left: var(--sp-6); top: var(--sp-6); }
}

/* =============================================================================
 * 6. 校园场景区 Campus Scenes
 * ========================================================================== */
.scene-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--sp-5);
}
.scene {
  position: relative;
  min-height: 200px;
  padding: var(--sp-7);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: var(--grad-brand);
  isolation: isolate;
  transition: transform var(--dur-3) var(--ease-out-expo), box-shadow var(--dur-3);
}
.scene:hover { transform: translateY(-6px); box-shadow: var(--sh-4); }
.scene::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: radial-gradient(70% 80% at 85% 15%, rgba(255, 255, 255, .28), transparent 68%);
  transition: opacity var(--dur-4);
  opacity: .8;
}
.scene:hover::after { opacity: 1; }
.scene--wide { grid-row: span 2; min-height: 420px; }
.scene--brand { background: var(--grad-brand); }
.scene--brand::after { background: radial-gradient(70% 80% at 85% 15%, rgba(255, 255, 255, .28), transparent 68%); }

.scene__title { font-size: var(--fs-h3); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); color: #fff; }
.scene__desc { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--c-white-64); line-height: var(--lh-loose); max-width: 40ch; }
.scene--brand .scene__desc { color: rgba(255, 255, 255, .86); }
.scene__tag { position: absolute; top: var(--sp-5); left: var(--sp-7); }

@media (max-width: 940px) {
  .scene-grid { grid-template-columns: 1fr 1fr; }
  .scene--wide { grid-column: span 2; grid-row: auto; min-height: 260px; }
}
@media (max-width: 600px) {
  .scene-grid { grid-template-columns: 1fr; }
  .scene--wide { grid-column: auto; }
}

/* =============================================================================
 * 7. 口碑 / 尾段 CTA
 * ========================================================================== */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
}
.quote {
  padding: var(--sp-7);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-3) var(--ease-out-expo), box-shadow var(--dur-3);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.quote__text { font-size: var(--fs-sm); line-height: var(--lh-loose); color: var(--c-ink-68); }
.quote__who { margin-top: var(--sp-5); display: flex; align-items: center; gap: var(--sp-3); }
.quote__avatar {
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  background: var(--grad-brand);
  color: #fff;
  display: grid; place-items: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
}
.quote__name { font-size: var(--fs-sm); font-weight: var(--fw-semi); }
.quote__role { font-size: var(--fs-2xs); color: var(--c-ink-68); }

/* 尾段行动号召 */
.cta {
  position: relative;
  padding: clamp(40px, 7vw, 88px) clamp(28px, 6vw, 76px);
  border-radius: var(--r-2xl);
  background: var(--grad-ink);
  color: #fff;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 140%;
  z-index: -1;
  background:
    radial-gradient(45% 55% at 20% 30%, rgba(255, 90, 54, .40), transparent 70%),
    radial-gradient(45% 55% at 82% 70%, rgba(255, 61, 46, .32), transparent 72%);
  animation: wm-aurora 16s ease-in-out infinite alternate;
}
.cta__title { font-size: var(--fs-h2); font-weight: var(--fw-bold); letter-spacing: var(--ls-mega); }
.cta__desc { margin-top: var(--sp-4); color: var(--c-white-64); font-size: var(--fs-lead); }
.cta__actions { margin-top: var(--sp-8); display: flex; justify-content: center; gap: var(--sp-3); flex-wrap: wrap; }

/* =============================================================================
 * 8. 菜品区：统一「双列」栅格 + 响应式节奏
 *    桌面端用大卡片（16:10 图区，向苹果产品阵列靠拢），
 *    移动端收窄为紧凑双列（贴近主流外卖 App 的手感）。
 * ========================================================================== */
.dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 1000px) {
  .dish-grid { gap: var(--sp-8); }
  .dish__media { aspect-ratio: 16 / 10; }
  .dish__body { padding: var(--sp-6); gap: var(--sp-3); }
  .dish__name { font-size: var(--fs-h3); }
  .dish__desc { font-size: var(--fs-sm); }
}

@media (max-width: 720px) {
  .dish-grid { gap: var(--sp-4); }
  .dish__media { aspect-ratio: 1 / 1; }
  .dish__body { padding: var(--sp-4) var(--sp-4) var(--sp-5); gap: 6px; }
  .dish__name { font-size: .98rem; line-height: 1.32; }
  .dish__desc { display: none; }              /* 双列窄卡下隐藏描述，避免拥挤 */
  .dish__meta { font-size: var(--fs-2xs); gap: var(--sp-2); }
  .dish__price { font-size: 1.02rem; }
  .dish__add { width: 34px; height: 34px; }
  .dish__add svg { width: 16px; height: 16px; }
  .dish__ph { font-size: 2.4rem; }
  .dish__tags { top: var(--sp-3); left: var(--sp-3); }
  .dish__hot { top: var(--sp-3); right: var(--sp-3); padding: 4px 8px; }
  .dish__tags .badge { font-size: .68rem; padding: 3px 8px; }
}

/* 菜品区底部的说明文字（图片占位说明等） */
.dish-note {
  margin-top: var(--sp-8);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-ink-68);
  line-height: var(--lh-loose);
}

/* =====================================================================
   Hero 吉祥物「味味」——毛茸茸小狐狸，天天互助站专属
   ================================================================== */
.hero__mascot {
  position: absolute;
  top: clamp(16px, 5vh, 64px);
  right: var(--page-x);
  width: min(360px, 40vw);
  display: grid;
  place-items: center;
}
.hero__mascot-glow {
  position: absolute;
  left: 50%;
  bottom: -8%;
  width: 104%;
  aspect-ratio: 1.7;
  border-radius: 50%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 158, 79, .30) 0%, rgba(255, 158, 79, .08) 48%, transparent 70%);
  filter: blur(26px);
  transform: translateX(-50%);
  animation: wm-glow-breathe 5.5s var(--ease-out-expo) infinite;
  pointer-events: none;
}
.hero__mascot svg {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 38px rgba(0, 0, 0, .36)) drop-shadow(0 12px 22px rgba(0, 0, 0, .22));
  animation: wm-mascot-float 6.8s var(--ease-out-expo) infinite;
  will-change: transform;
}
@keyframes wm-mascot-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1.4deg); }
}
@keyframes wm-glow-breathe {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: .78; }
  50% { transform: translateX(-50%) scale(1.1); opacity: 1; }
}
@media (max-width: 1000px) {
  .hero__mascot {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: auto;
    min-height: 0;
    margin-top: var(--sp-6);
  }
  .hero__mascot svg { width: min(360px, 92%); }
}
@media (max-width: 640px) {
  .hero__mascot svg { width: min(300px, 88%); }
}

/* ===========================================================================
 * 2. 吉祥物「味味」交互样式
 * =========================================================================== */

.hero__mascot {
  cursor: pointer;
  transition: transform 0.35s var(--ease-out-expo);
}
.hero__mascot:hover {
  animation: wm-mascot-wave 0.9s ease-in-out;
}
@keyframes wm-mascot-wave {
  0%   { transform: translateY(0) rotate(0deg) scale(1); }
  20%  { transform: translateY(-14px) rotate(-4deg) scale(1.03); }
  40%  { transform: translateY(-22px) rotate(4deg)  scale(1.05); }
  60%  { transform: translateY(-14px) rotate(-2deg) scale(1.02); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

.mascot-card {
  position: absolute;
  top: 40%;
  right: 16px;
  z-index: 120;
  width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(16px) scale(0.92);
  transform-origin: left center;
  transition: opacity 0.32s ease, transform 0.32s var(--ease-out-expo), visibility 0s 0.32s;
  pointer-events: none;
}
.mascot-card.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  transition: opacity 0.32s ease, transform 0.32s var(--ease-out-expo), visibility 0s 0s;
  pointer-events: auto;
}
.mascot-card.is-visible .mascot-card-close {
  opacity: 1;
  transform: translate(0, 0);
}
.mascot-card-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: var(--r-full);
  background: rgba(23, 32, 37, .76);
  color: var(--c-white);
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transform: translate(6px, -6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mascot-card-close:hover {
  background: rgba(23, 32, 37, .94);
}
.mascot-card-body {
  padding: 18px 16px;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, #1B2429 0%, rgba(38, 50, 56, .92) 100%);
  border: 1px solid var(--glass-border-dark);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  color: var(--c-white);
}
.mascot-card-emoji {
  font-size: 40px;
  margin-bottom: 6px;
}
.mascot-card-name {
  font-size: var(--fs-h4);
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: var(--ls-wide);
}
.mascot-card-desc {
  font-size: var(--fs-xs);
  color: var(--c-white-64);
  line-height: 1.6;
  margin-bottom: 12px;
}
.mascot-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--c-white-10);
  font-size: var(--fs-xs);
}
.mascot-card-price {
  color: var(--c-brand);
  font-weight: 700;
  font-size: var(--fs-sm);
}
.mascot-card-eta {
  color: var(--c-white-64);
}
.mascot-card-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-size: 10px;
  background: var(--grad-brand-soft);
  color: var(--c-brand-light);
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .mascot-card {
    left: 16px;
    right: auto;
    transform: translateX(16px) scale(0.92);
  }
  .mascot-card.is-visible {
    transform: translateX(0) scale(1);
  }
}

/* ===========================================================================
 * 3. 互助平台化新增（v20261011a）
 *    最近互助任务预览 / 更多服务折叠 / Hero 吉祥物磁吸容器 / 购物车悬浮条隐藏
 * ======================================================================== */

/* --- Hero 右侧：吉祥物容器（覆盖 .hero__float 的玻璃卡样式） --- */
.hero__float--mascot {
  position: absolute;
  top: clamp(16px, 5vh, 64px);
  right: var(--page-x);
  width: min(360px, 40vw);
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  animation: none;
  z-index: 5;
  translate: var(--mx, 0px) calc(var(--my, 0px) + var(--scrolly, 0px));
  transition: translate .55s var(--ease-out-expo);
  will-change: translate;
}
.hero__float--mascot .hero__mascot {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
}
@media (max-width: 1000px) {
  .hero__float--mascot {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: var(--sp-6);
  }
}

/* --- 最近互助任务预览 --- */
.help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-10);
}
@media (max-width: 1080px) {
  .help-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .help-grid { grid-template-columns: 1fr; }
}

.help-task {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur-md)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-md)) saturate(var(--glass-saturate));
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform .4s var(--ease-out-expo), box-shadow .4s var(--ease-out-expo), border-color .4s ease;
}
.help-task:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 90, 54, .34);
  box-shadow: var(--sh-4), 0 0 0 1px rgba(255, 90, 54, .10) inset;
}
.help-task--urgent::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand-h);
}
.help-task__link {
  display: block;
  padding: var(--sp-6);
  color: inherit;
}
.help-task__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.help-task__cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--grad-brand-soft);
  color: var(--c-brand-ink);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide);
}
.help-task__status {
  font-size: var(--fs-2xs);
  color: var(--c-ink-40);
  white-space: nowrap;
}
.help-task__title {
  margin-top: var(--sp-4);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.help-task__desc {
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  line-height: var(--lh-loose);
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.help-task__meta {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--c-ink-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
  font-size: var(--fs-2xs);
  color: var(--c-ink-50);
}
.help-task__reward {
  color: var(--c-brand);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
}
.help-task--skeleton {
  height: 186px;
  background:
    linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%),
    var(--c-ink-06);
  background-size: 220% 100%;
  animation: wm-skeleton 1.4s linear infinite;
  border-color: transparent;
}
@keyframes wm-skeleton {
  from { background-position: 130% 0; }
  to { background-position: -90% 0; }
}
.help-empty {
  padding: var(--sp-12) var(--sp-8);
  text-align: center;
  border-radius: var(--r-lg);
  background: var(--glass-bg-strong);
  border: 1px dashed var(--c-ink-20);
}
.help-empty__title { font-size: var(--fs-h4); font-weight: var(--fw-bold); }
.help-empty__desc { margin-top: var(--sp-3); color: var(--text-2); font-size: var(--fs-sm); }
.help-empty .btn { margin-top: var(--sp-6); }

/* --- 更多服务（外卖点单降级折叠入口） --- */
.more {
  margin-top: var(--sp-16);
  padding: var(--sp-14) var(--page-x);
  background: linear-gradient(180deg, transparent, var(--c-ink-04));
}
.more__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(var(--glass-blur-md)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-md)) saturate(var(--glass-saturate));
  box-shadow: var(--sh-1);
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s var(--ease-out-expo);
}
.more__trigger:hover {
  border-color: rgba(255, 90, 54, .34);
  box-shadow: var(--sh-4);
  transform: translateY(-2px);
}
.more__trigger-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--grad-brand-soft);
  color: var(--c-brand-ink);
}
.more__trigger-icon svg { width: 22px; height: 22px; }
.more__trigger-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.more__trigger-title { font-size: var(--fs-h4); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.more__trigger-sub { font-size: var(--fs-xs); color: var(--text-2); }
.more__trigger-arrow { color: var(--c-ink-40); transition: transform .4s var(--ease-out-expo); }
.more__trigger-arrow svg { width: 20px; height: 20px; display: block; }
.more__trigger.is-open .more__trigger-arrow { transform: rotate(180deg); }

.more__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .55s var(--ease-out-expo), opacity .4s ease, margin-top .55s var(--ease-out-expo);
}
.more__panel > * {
  overflow: hidden;
}
.more__panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: var(--sp-5);
}
.more__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
  padding: var(--sp-2) 0 var(--sp-6);
}
@media (max-width: 1080px) {
  .more__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .more__grid { grid-template-columns: repeat(2, 1fr); }
}
.more__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(var(--glass-blur-md)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-md)) saturate(var(--glass-saturate));
  box-shadow: var(--sh-1);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform .35s var(--ease-out-expo), border-color .35s ease, box-shadow .35s ease;
}
.more__item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 90, 54, .34);
  box-shadow: var(--sh-4);
}
.more__item-ico {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--grad-brand-soft);
  color: var(--c-brand-ink);
}
.more__item-ico svg { width: 20px; height: 20px; }
.more__item-name { font-size: var(--fs-sm); font-weight: var(--fw-semi); }
.more__item-desc { font-size: var(--fs-2xs); color: var(--text-2); }

/* --- 首页不再常驻购物车悬浮条（外卖降级，入口收进更多服务） --- */
.cart-dock { display: none !important; }

/* ===========================================================================
 * 4. Hero 布局修复覆盖（v20261011b）
 *    主标语节奏统一 / 首屏导航透明白字 / 激活下划线精确对齐文字中心
 * ======================================================================== */
.hero__title {
  margin-top: var(--sp-6);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-mega);
  text-wrap: balance;
}
body[data-nav-over-dark] .nav:not(.is-solid) .nav__link { color: rgba(255, 255, 255, .82); }
body[data-nav-over-dark] .nav:not(.is-solid) .nav__link:hover { color: #fff; background: var(--c-white-10); }
body[data-nav-over-dark] .nav:not(.is-solid) .nav__link.is-active { color: #fff; }
body[data-nav-over-dark] .nav:not(.is-solid) .nav__link.is-active::after {
  left: 50% !important;
  right: auto !important;
  width: 1.6em !important;
  transform: translateX(-50%) !important;
}

/* =============================================================================
 * 高级感精修（v20261012a 视觉升级）—— 首页
 *     只做叠加增强，不改变布局结构。
 * ========================================================================== */

/* ---- Hero：排版更克制 ---- */
.hero__lead {
  line-height: var(--lh-loose);
  letter-spacing: var(--ls-normal);
}
.hero__lead strong {
  font-weight: var(--fw-semi);
  color: var(--c-white);
}
.hero__title .grad {
  filter: drop-shadow(0 10px 34px rgba(255, 90, 54, .26));
}
.hero__title .grad--blue {
  filter: drop-shadow(0 10px 34px rgba(59, 130, 246, .30));
}
.hero__eyebrow b {
  font-weight: var(--fw-semi);
}

/* Hero 数据条：发丝高光 + 浮起感 */
.hero__stats {
  box-shadow: var(--sh-card), var(--sh-hair);
  border-color: var(--glass-border-soft);
}

/* ---- 数据条 stats-bar：玻璃化 + 内高光 ---- */
.stats-bar {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  box-shadow: var(--sh-card), var(--sh-hair);
  border: 1px solid var(--glass-border-soft);
}

/* ---- 分类/菜品卡：hover 品牌光晕 + 内高光 ---- */
.cat,
.dish {
  box-shadow: var(--sh-1), var(--sh-hair);
}
.cat:hover,
.dish:hover {
  box-shadow: var(--sh-card), var(--sh-hair), var(--glow-brand-sm);
}
.dish__add {
  box-shadow: var(--sh-brand), var(--glow-brand-sm);
}

/* ---- 深色区 story：卡片精致化 ---- */
.story__bar i {
  box-shadow: 0 0 14px rgba(255, 90, 54, .55);
}
.step.is-live .step__idx {
  box-shadow: var(--glow-brand-md);
}

/* ---- 场景卡 scene：hover 光晕 ---- */
.scene:hover {
  box-shadow: var(--sh-card), var(--glow-brand-sm);
}

/* ---- 用户评价卡 quote：玻璃化 ---- */
.quote {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  box-shadow: var(--sh-1), var(--sh-hair);
}
.quote:hover { box-shadow: var(--sh-card), var(--sh-hair); }

/* ---- CTA：光晕更饱满 ---- */
.cta {
  box-shadow: var(--sh-pop);
}
.cta::before {
  opacity: .9;
}

/* ---- 互助区块 help-task：玻璃化（呼应互助主流程） ---- */
.help-task {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  box-shadow: var(--sh-1), var(--sh-hair);
}
.help-task:hover { box-shadow: var(--sh-card), var(--sh-hair), var(--glow-brand-sm); }

/* ---- 更多面板 more：玻璃化 ---- */
.more__panel {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(var(--glass-blur-lg)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-lg)) saturate(var(--glass-saturate));
  box-shadow: var(--sh-pop);
}

/* ---- 吉祥物光晕：克制提亮 ---- */
.hero__mascot-glow {
  opacity: .85;
}

@media (prefers-reduced-motion: reduce) {
  .hero__title .grad, .hero__title .grad--blue { filter: none; }
  .story__bar i, .step.is-live .step__idx { box-shadow: none; }
}

/* =============================================================================
 * 12. 曲线边界：hero / help / story 区块间柔和波浪过渡
 *     深色块与浅色块之间的平直水平分界替换为低频贝塞尔波浪，
 *     波形颜色与两侧背景令牌一致（米白 #FFF5EB / 深墨渐变），
 *     分界线叠加 1.5px 品牌橙色微光，克制弧线对标苹果/大疆。
 * ========================================================================== */
/* Hero 深色区 → 互助任务浅色区：底部浅色波浪上拱，盖住 hero 直边 */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: clamp(36px, 4vw, 56px);
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0,56 L1440,56 L1440,0 C1290,0 1248,36 1080,36 C912,36 870,0 720,0 C570,0 528,36 360,36 C192,36 150,0 0,0 Z' fill='%23FFF5EB'/%3E%3Cpath d='M0,56 C150,56 192,20 360,20 C528,20 570,56 720,56 C870,56 912,20 1080,20 C1248,20 1290,56 1440,56' fill='none' stroke='rgba(255,90,54,0.22)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* 互助任务浅色区 → 流程深色区：顶部深色波浪下探，盖住 story 直边 */
.story::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: clamp(36px, 4vw, 56px);
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='wg' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%231B2429'/%3E%3Cstop offset='1' stop-color='%23334D54'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0,56 L1440,56 L1440,0 C1290,0 1248,36 1080,36 C912,36 870,0 720,0 C570,0 528,36 360,36 C192,36 150,0 0,0 Z' fill='url(%23wg)'/%3E%3Cpath d='M0,56 C150,56 192,20 360,20 C528,20 570,56 720,56 C870,56 912,20 1080,20 C1248,20 1290,56 1440,56' fill='none' stroke='rgba(255,159,111,0.28)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* 流程深色区 → 校园场景浅色区：底部浅色波浪上拱，盖住 story 直边 */
.story::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: clamp(36px, 4vw, 56px);
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0,56 L1440,56 L1440,0 C1290,0 1248,36 1080,36 C912,36 870,0 720,0 C570,0 528,36 360,36 C192,36 150,0 0,0 Z' fill='%23FFF5EB'/%3E%3Cpath d='M0,56 C150,56 192,20 360,20 C528,20 570,56 720,56 C870,56 912,20 1080,20 C1248,20 1290,56 1440,56' fill='none' stroke='rgba(255,90,54,0.22)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* =====================================================================
 * 吉祥物主动提醒：气泡引导 + 轻摆动，吸引用户点击「味味」
 * ================================================================== */
.mascot-hint {
  position: absolute;
  top: 2%;
  right: 8%;
  z-index: 6;
  max-width: 220px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--c-brand-ink, #BC3B11);
  font-size: var(--fs-sm, 14px);
  font-weight: var(--fw-semi, 600);
  line-height: 1.2;
  letter-spacing: .01em;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .10);
  opacity: 0;
  transform: translateY(6px) scale(.92);
  transform-origin: 90% 100%;
  transition: opacity .3s var(--ease-out-expo), transform .3s var(--ease-out-expo);
  pointer-events: none;
  white-space: nowrap;
}
.mascot-hint::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .08);
}
.mascot-hint.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hero__float--mascot.is-hinting .hero__mascot {
  animation: wm-mascot-nudge 1.6s ease-in-out infinite;
}
@keyframes wm-mascot-nudge {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  15% { transform: rotate(-3.5deg) translateY(-4px); }
  30% { transform: rotate(3deg) translateY(-6px); }
  45% { transform: rotate(-2.5deg) translateY(-3px); }
  60% { transform: rotate(0deg) translateY(0); }
  70% { transform: rotate(-3deg) translateY(-3px); }
  85% { transform: rotate(2.5deg) translateY(-2px); }
}
@media (max-width: 1000px) {
  .mascot-hint { top: 0; right: 10%; }
}

/* =====================================================================
 * 黑胶唱片播放器：story 区左侧空白位，点击播放/暂停、上一首/下一首
 * ================================================================== */
.vinyl {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}
.vinyl__disc {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  cursor: pointer;
  background:
    radial-gradient(circle at 32% 30%, rgba(255,255,255,.10), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,.05), transparent 45%),
    repeating-radial-gradient(circle at 50% 50%, #1a1a1f 0 2px, #2a2a30 2px 4px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, .45),
    0 4px 8px rgba(0, 0, 0, .30),
    inset 0 2px 6px rgba(255,255,255,.18),
    inset 0 -6px 14px rgba(0, 0, 0, .55),
    0 0 0 2px rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  transform: translateZ(0);
  animation: vinyl-idle 5s linear infinite;
  transition: transform .35s var(--ease-out-expo), box-shadow .35s var(--ease-out-expo);
  animation: vinyl-float 3.6s ease-in-out infinite, vinyl-idle 5s linear infinite;
}
@keyframes vinyl-float {
  0%, 100% { transform: translateY(0) translateZ(0); }
  50% { transform: translateY(-4px) translateZ(0); }
}
.vinyl__disc:hover { transform: translateY(-5px) scale(1.03) translateZ(0); }
.vinyl[data-playing="true"] .vinyl__disc {
  animation: vinyl-spin 3.2s linear infinite, vinyl-float 3.6s ease-in-out infinite;
}
@keyframes vinyl-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes vinyl-idle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.vinyl__grooves {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.05) 0 3px, transparent 3px 6px);
  pointer-events: none;
}
.vinyl__label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #FF6B35, #E0471E);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: inset 0 2px 4px rgba(255,255,255,.35), inset 0 -3px 6px rgba(0,0,0,.25);
}
.vinyl__hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #0d0d10;
  box-shadow: 0 0 0 2px rgba(255,255,255,.55);
}
/* 唱针臂 */
.vinyl__needle-arm {
  position: absolute;
  top: -12px;
  right: -10px;
  width: 60px;
  height: 60px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
  animation: needle-rock 4s ease-in-out infinite;
  transform-origin: 38px 16px;
}
@keyframes needle-rock {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-1.5deg); }
}
.vinyl[data-playing="true"] .vinyl__needle-arm {
  animation: needle-rock 4s ease-in-out infinite, needle-glow 2s ease-in-out infinite;
}
@keyframes needle-glow {
  0%, 100% { filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
  50% { filter: drop-shadow(0 2px 8px rgba(255,107,53,.25)); }
}
/* 浮动音符 */
.vinyl__notes {
  position: absolute;
  top: -20px;
  right: 60px;
  width: 80px;
  height: 60px;
  pointer-events: none;
  z-index: 1;
}
.vinyl__note {
  position: absolute;
  font-size: 16px;
  color: rgba(255, 255, 255, .35);
  animation: note-float 2s ease-in-out infinite;
}
@keyframes note-float {
  0% { transform: translateY(0) scale(.8); opacity: .2; }
  50% { transform: translateY(-12px) scale(1); opacity: .8; }
  100% { transform: translateY(-20px) scale(.9); opacity: .1; }
}
.vinyl__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.vinyl__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
  color: var(--c-brand, #fff);
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
  padding: 0;
}
.vinyl__btn svg { width: 16px; height: 16px; }
.vinyl__btn:hover { background: rgba(255, 255, 255, .16); transform: scale(1.08); }
.vinyl__btn--toggle {
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, #FF6B35, #E0471E);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(224, 71, 30, .35);
}
.vinyl__btn--toggle:hover { background: linear-gradient(145deg, #FF7B45, #E0471E); }
.vinyl__btn .ico-pause { display: none; }
.vinyl[data-playing="true"] .vinyl__btn--toggle .ico-play { display: none; }
.vinyl[data-playing="true"] .vinyl__btn--toggle .ico-pause { display: block; }
.vinyl__title {
  margin: 0;
  max-width: 240px;
  min-height: 1.4em;
  text-align: center;
  font-size: var(--fs-sm, 14px);
  font-weight: var(--fw-semi, 600);
  color: var(--c-text-2, rgba(255,255,255,.75));
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1000px) {
  .vinyl { margin-top: 20px; }
  .vinyl__disc { width: 108px; height: 108px; }
  .vinyl__label { width: 38px; height: 38px; margin: -19px 0 0 -19px; font-size: 15px; }
  .vinyl__title { max-width: 200px; }
  .vinyl__needle-arm { width: 50px; height: 50px; top: -8px; right: -6px; }
  .vinyl__notes { top: -14px; right: 50px; width: 70px; height: 50px; }
}

/* =============================================================================
 * 流星划过效果（v20261013p）
 * ============================================================================= */
.shooting-star {
  position: absolute;
  width: 120px;
  height: 4px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(220,240,255,1) 0%, rgba(170,210,255,.8) 40%, rgba(100,160,255,0) 100%);
  box-shadow: 0 0 12px 4px rgba(160,200,255,.8), 0 0 30px 8px rgba(100,160,255,.4), 0 0 60px 16px rgba(100,160,255,.15);
  z-index: 0;
  pointer-events: none;
  transform-origin: left center;
  opacity: 0;
}
.shooting-star.is-active {
  animation: shooting-star-fly 1s ease-out forwards;
}
@keyframes shooting-star-fly {
  0% {
    opacity: 0;
    transform: translateX(0) translateY(0) rotate(-35deg) scale(0.5);
  }
  8% {
    opacity: 1;
    transform: translateX(10px) translateY(8px) rotate(-35deg) scale(1);
  }
  65% {
    opacity: 1;
    transform: translateX(calc(100vw + 160px)) translateY(calc(100vh * 0.7 + 120px)) rotate(-35deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(calc(100vw + 160px)) translateY(calc(100vh * 0.7 + 120px)) rotate(-35deg) scale(0.3);
  }
}


/* =============================================================================
 * 移动端视觉改版 v20261020a —— 吉祥物「味味」随滚动持续漂浮
 *     固定定位 + 弹性漂浮动画，右下角悬浮，不遮挡内容、不影响交互
 * ========================================================================== */
@media (max-width: 768px) {
  .hero__float--mascot {
    position: fixed;
    top: auto;
    right: 12px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    width: 78px;
    margin: 0;
    z-index: 30;
    translate: none;
    transition: none;
    pointer-events: auto;
  }
  .hero__float--mascot .hero__mascot {
    width: 100%;
    margin: 0;
  }
  .hero__mascot svg {
    width: 100%;
    filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .30));
    animation: wm-mascot-float 5.6s var(--ease-out-expo) infinite;
  }
  /* 推荐卡片：随吉祥物向上弹出，避免超出屏幕 */
  .hero__float--mascot .mascot-card {
    top: auto;
    bottom: calc(100% + 10px);
    right: -8px;
    left: auto;
    transform: translateY(8px) scale(.92);
    transform-origin: 100% 100%;
  }
  .hero__float--mascot .mascot-card.is-visible {
    transform: translateY(0) scale(1);
  }
  /* 气泡提示：跟随吉祥物，置于其上方 */
  .mascot-hint {
    top: -14px;
    right: -6px;
    bottom: auto;
    transform-origin: 90% 100%;
  }
}
