/* === 小除号咖啡 · 几何体块 === */
/* 参考素饮糖人：铜色暖调、几何构型、不对称张力 */

:root {
  --ink: #0d0d0d;
  --ink-light: #2a2a2a;
  --ink-wash: #5c5c5c;
  --stone: #8c8c8c;
  --haze: #bfbfbf;
  --mist: #dfdfdf;
  --breath: #f2f2f2;

  --copper: #c8a27a;
  --copper-deep: #a07848;
  --copper-light: #e0cfba;
  --copper-wash: #f5efe7;

  --paper: #fafaf7;
  --paper-dark: #f0ede8;
  --white: #fff;

  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  --mono: "SF Mono", "Menlo", "Courier New", monospace;

  --safe: env(safe-area-inset-bottom, 16px);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body {
  max-width: 450px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--paper);
  overflow-x: hidden;
}

.home-counter, .num-block, .h0 {
  overflow-wrap: break-word;
  word-break: break-all;
}

/* ============ 排版 ============ */
.h0 {
  font-family: var(--serif);
  font-size: clamp(48px, 18vw, 80px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}

.h1 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.caption {
  font-size: 12px;
  color: var(--stone);
  line-height: 1.5;
}

.mono {
  font-family: var(--mono);
  font-size: 13px;
}

/* ============ 布局 ============ */
.pad { padding: 20px 18px; }
.gap-sm { margin-bottom: 12px; }
.gap { margin-bottom: 24px; }
.gap-lg { margin-bottom: 40px; }

.flex { display: flex; }
.flex-btw { display: flex; align-items: center; justify-content: space-between; }
.flex-end { display: flex; align-items: flex-end; justify-content: space-between; }

/* ============ 铜色点缀线 ============ */
.accent-line {
  width: 40px; height: 4px; background: var(--copper);
  margin-bottom: 16px;
}

.accent-dot {
  width: 8px; height: 8px; background: var(--copper);
  display: inline-block; margin-right: 6px;
}

/* ============ 按钮 ============ */
.btn {
  display: flex; align-items: center; justify-content: center;
  height: 50px; border: none; font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; cursor: pointer;
  transition: all 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
  font-family: var(--sans);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:active { background: var(--ink-light); }

.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-line:active { background: var(--ink); color: var(--white); }

.btn-copper {
  background: var(--copper);
  color: var(--white);
}
.btn-copper:active { background: var(--copper-deep); }

.btn-sm { height: 38px; font-size: 12px; padding: 0 20px; display: inline-flex; }
.btn-full { width: 100%; }

/* ============ 页面 ============ */
.page { display: none; padding-bottom: 100px; min-height: 100vh; }
.page.active { display: block; animation: in 0.3s var(--ease); }

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

@media (prefers-reduced-motion: reduce) {
  .page.active { animation: none; }
  .wave { animation: none; }
}

/* ============ 导航 ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,247,0.93);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mist);
  padding: 12px 18px; height: 50px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-title { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; }
.nav-back { font-size: 14px; cursor: pointer; color: var(--stone); }

.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 450px; z-index: 100;
  background: rgba(250,250,247,0.93);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--mist);
  display: flex; padding-bottom: var(--safe);
}
.nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 12px 0 8px; cursor: pointer; font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; color: var(--stone); gap: 4px;
  transition: color 0.2s; position: relative;
  -webkit-tap-highlight-color: transparent;
}
.nav-item.on { color: var(--ink); }
.nav-item.on::after {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: 20px; height: 3px;
  background: var(--copper);
}
.nav-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }
.nav-icon svg { width: 100%; height: 100%; }

/* ============ 标签 ============ */
.tag {
  display: inline-flex; padding: 5px 12px;
  border: 1.5px solid var(--ink); font-size: 10px;
  font-weight: 700; letter-spacing: 0.06em;
  background: transparent; color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.15s;
}
.tag:active {
  background: var(--ink); color: var(--paper);
}
.tag-fill { background: var(--ink); color: var(--paper); }
.tag-copper { border-color: var(--copper); color: var(--copper-deep); }

.tag-add {
  cursor: pointer;
  transition: all 0.15s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.tag-add:active {
  background: var(--ink); color: var(--paper);
}

/* ============ 大号数字块 ============ */
.num-block {
  font-family: var(--mono);
  font-size: clamp(40px, 14vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--ink);
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* ================================================================ */
/*  首页                                                            */
/* ================================================================ */
.home-hero {
  padding: 60px 24px 36px;
}

.home-logo {
  width: 72px; height: 72px;
  margin-bottom: 32px;
  display: block;
}

.home-hero-tag {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 48px;
  max-width: 280px;
}

.home-counter {
  margin-bottom: 32px;
}

.home-counter .num-block {
  display: block;
  margin-bottom: 6px;
}

.home-counter .caption {
  letter-spacing: 0.05em;
}

/* 水质入口 - 不对称卡片 */
.water-entry {
  margin: 0 18px 32px;
  background: var(--white);
  position: relative;
  padding: 28px 20px;
  border-top: 5px solid var(--copper);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.water-entry-temp {
  font-family: var(--serif);
  font-size: clamp(28px, 10vw, 42px);
  font-weight: 900;
  line-height: 1;
  margin: 4px 0;
}

/* 首页快捷入口 - 艺术简约纵向列表 */
.home-actions {
  margin: 0 18px 40px;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}

.act-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 4px; cursor: pointer;
  border-bottom: 1px solid var(--breath);
  transition: all 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.act-item:last-child { border-bottom: none; }
.act-item:active { padding-left: 12px; background: var(--copper-wash); }

.act-arrow {
  font-size: 14px; color: var(--copper);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}
.act-item:active .act-arrow { transform: translateX(4px); }

.act-title {
  font-weight: 700; font-size: 17px;
  flex-shrink: 0; min-width: 80px;
}
.act-sub {
  font-size: 13px; color: var(--stone);
  flex: 1; text-align: right;
}

/* 推荐产品 - 横向但有节奏变化 */
.product-row {
  display: flex; overflow-x: auto; padding: 0 18px;
  gap: 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.product-row::-webkit-scrollbar { display: none; }

.product-card-item {
  min-width: 180px; flex-shrink: 0;
  background: var(--white);
}

.product-card-item:nth-child(odd) {
  border-top: 4px solid var(--copper);
}

.product-card-item:nth-child(even) {
  border-bottom: 4px solid var(--ink);
}

.product-card-img {
  height: 150px; background: var(--breath);
  display: flex; align-items: center; justify-content: center; font-size: 50px;
}
.product-card-body { padding: 16px; }
.product-card-name { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.product-card-price {
  font-family: var(--mono); font-size: 18px; font-weight: 900;
}

/* 打卡位 - 编号+厚边框 */
.spot-block {
  margin: 0 18px;
}

.spot-item {
  display: flex; align-items: center; padding: 20px 0;
  border-bottom: 1px solid var(--mist); cursor: pointer;
  transition: background 0.15s;
}
.spot-item:active { background: var(--breath); }

.spot-big-num {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 900;
  color: var(--copper-light);
  width: 56px;
  flex-shrink: 0;
  line-height: 1;
}

.spot-body { flex: 1; }
.spot-title { font-weight: 700; font-size: 15px; }

/* 路线入口 */
.route-entry-block {
  margin: 0 18px;
  background: var(--ink);
  color: var(--white);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

.route-entry-block::after {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 160px; height: 160px;
  border: 2px solid rgba(200,162,122,0.2);
  border-radius: 50%;
}

.route-steps {
  display: flex; align-items: center; gap: 16px;
  margin: 24px 0 20px;
}

.route-step-dot {
  width: 44px; height: 44px;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}

.route-step-dash {
  flex: 1; height: 1px; max-width: 48px;
  border-top: 1px dashed rgba(255,255,255,0.15);
}

/* ================================================================ */
/*  菜单                                                            */
/* ================================================================ */
.cat-fixed {
  position: sticky; top: 50px; z-index: 90;
  background: rgba(250,250,247,0.93);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mist);
}

.cat-scroll-row {
  display: flex; overflow-x: auto; padding: 10px 18px;
  gap: 6px; scrollbar-width: none;
}
.cat-scroll-row::-webkit-scrollbar { display: none; }

.cat-chip {
  padding: 10px 20px; font-size: 13px; font-weight: 700;
  color: var(--stone); white-space: nowrap;
  cursor: pointer; letter-spacing: 0.04em;
  transition: all 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
  border: 1px solid transparent;
}
.cat-chip.on {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}

/* 菜单项 */
.menu-item-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px; border-bottom: 1px solid var(--breath);
  cursor: pointer; transition: background 0.15s;
}
.menu-item-row:active { background: var(--breath); }

.menu-item-img {
  width: 100px; height: 100px; object-fit: cover;
  flex-shrink: 0; background: var(--breath);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 32px;
}
.menu-item-body { flex: 1; min-width: 0; }

.menu-item-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 6px;
}
.menu-item-title {
  font-weight: 700; font-size: 17px;
  display: flex; align-items: center; gap: 8px;
}
.menu-item-desc { font-size: 13px; color: var(--stone); margin-bottom: 14px; }
.menu-item-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.menu-price-big {
  font-family: var(--mono); font-size: 22px; font-weight: 900;
}

/* 加减器 */
.qty-ctrl { display: flex; align-items: center; border: 1.5px solid var(--ink); }
.qty-minus, .qty-plus {
  width: 34px; height: 34px; display: flex; align-items: center;
  justify-content: center; font-size: 20px; font-weight: 300;
  cursor: pointer; user-select: none; border: none; background: transparent;
  color: var(--ink);
}
.qty-plus { background: var(--ink); color: var(--paper); }
.qty-val {
  width: 42px; text-align: center;
  font-family: var(--mono); font-size: 14px; font-weight: 700;
}

/* 结算栏 */
.cart-fixed {
  position: fixed; bottom: 52px; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 450px; z-index: 101;
  display: flex; align-items: center;
  padding: 14px 18px;
  background: rgba(250,250,247,0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid var(--ink);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}

/* ================================================================ */
/*  打卡页 - 灵魂功能                                              */
/* ================================================================ */
.scan-zone {
  padding: 80px 32px 48px;
  display: flex; flex-direction: column; align-items: center;
}

.scan-window {
  width: 240px; height: 240px; position: relative;
  display: flex; align-items: center; justify-content: center;
}

.scan-window::before, .scan-window::after {
  content: ''; position: absolute;
  width: 48px; height: 48px;
  border-color: var(--copper); border-style: solid;
}
.scan-window::before { top: 0; left: 0; border-width: 3px 0 0 3px; }
.scan-window::after { bottom: 0; right: 0; border-width: 0 3px 3px 0; }

.scan-text {
  color: var(--stone);
  font-size: 13px; letter-spacing: 0.08em;
}

/* 报告 */
.report-head {
  padding: 40px 20px 20px; text-align: center;
  overflow: hidden;
}

.report-cup-no {
  font-family: var(--mono); font-size: 11px;
  color: var(--stone);
}

.report-page-title {
  font-family: var(--serif);
  font-size: clamp(24px, 8vw, 36px); font-weight: 900;
  margin-top: 24px;
  letter-spacing: 0.03em;
}

.report-date {
  font-size: 12px; color: var(--stone);
  margin-top: 8px; letter-spacing: 0.06em;
}

/* 水质报告卡 */
.water-card-main {
  margin: 0 18px 36px;
  background: var(--white);
}

.water-card-top {
  background: var(--ink);
  color: var(--white);
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
}

.water-lake-img {
  height: 180px; background: var(--ink-light);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.water-lake-img .caption {
  color: var(--stone);
  margin-top: 8px;
}

.water-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.water-stat {
  text-align: center;
  padding: 16px 4px;
  min-width: 0;
}

.water-stat-label {
  font-size: 9px; letter-spacing: 0.08em;
  color: var(--stone); margin-bottom: 6px;
}

.water-stat-num {
  font-family: var(--mono);
  font-size: clamp(22px, 9vw, 38px); font-weight: 900;
  line-height: 1.1;
  word-break: break-all;
}

.water-stat-unit {
  font-size: 11px; font-weight: 400;
  color: var(--stone);
}

.water-card-divider {
  margin: 0 20px;
  height: 1px;
  background: var(--mist);
}

.water-card-meta {
  display: flex; justify-content: space-between;
  align-items: center; padding: 16px 20px;
}

.water-card-quote {
  padding: 20px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-wash);
  font-size: 14px;
  line-height: 1.9;
  background: var(--paper-dark);
}

/* 水旅程 */
.journey-line-row {
  display: flex; justify-content: space-between;
  padding: 24px 0;
  gap: 4px;
}
.journey-step-el {
  flex: 1; text-align: center; position: relative;
  font-size: clamp(10px, 3vw, 12px); color: var(--stone);
  min-width: 0; word-break: keep-all; overflow-wrap: break-word;
  line-height: 1.35;
}
.journey-dot-point {
  width: 6px; height: 6px; background: var(--copper);
  margin: 0 auto 6px;
}
.journey-step-el::after {
  content: ''; position: absolute; top: 3px; left: 50%; right: -50%;
  height: 1px; background: var(--mist); z-index: -1;
}
.journey-step-el:last-child::after { display: none; }

/* 海报 */
.poster-section-wrap { margin: 0 18px; }

.poster-block {
  width: min(270px, calc(100vw - 36px)); margin: 0 auto; padding: 40px 20px;
  border: 3px solid var(--ink);
  background: var(--white);
  text-align: center;
  box-shadow: 6px 6px 0 var(--copper-light);
}

.poster-logo-sm {
  width: 60px; height: 60px; margin: 0 auto; display: block;
}

.poster-big-num {
  font-family: var(--mono);
  font-size: clamp(20px, 7vw, 48px); font-weight: 900;
  margin: 24px 0 6px;
  letter-spacing: 0.02em;
  line-height: 1.1;
  word-break: break-all;
}

.poster-slogan {
  font-family: var(--serif);
  font-size: 17px; font-weight: 700;
  line-height: 1.6;
}

.poster-foot {
  margin-top: 40px; padding-top: 16px;
  border-top: 1px solid var(--mist);
  font-size: 11px; color: var(--stone);
  letter-spacing: 0.06em;
}

/* ================================================================ */
/*  摄影页                                                          */
/* ================================================================ */
.vf-box {
  width: calc(100% - 36px); max-width: 300px;
  margin: 28px auto; aspect-ratio: 3/4;
  background: var(--breath); position: relative;
  border: 1px solid var(--mist);
}
.vf-grid { position: absolute; inset: 0; }
.vf-l { position: absolute; background: rgba(0,0,0,0.04); }
.vf-l1 { top: 33%; left:0; right:0; height:1px; }
.vf-l2 { top: 66%; left:0; right:0; height:1px; }
.vf-l3 { left: 33%; top:0; bottom:0; width:1px; }
.vf-l4 { left: 66%; top:0; bottom:0; width:1px; }

.vf-tag {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(0,0,0,0.78); color: #fff;
  padding: 8px 14px; font-size: 10px; line-height: 1.4;
  font-family: var(--mono);
}

/* 打卡位 */
.guide-block {
  border: 1px solid var(--mist); margin-bottom: 16px;
}
.guide-img-area {
  height: 200px; background: var(--breath);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.guide-frame-overlay {
  position: absolute; inset: 24px;
  border: 2px dashed rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
}
.guide-frame-c {
  position: absolute; width: 28px; height: 28px;
  border-color: rgba(0,0,0,0.18); border-style: solid;
}
.guide-frame-c.tl { top:-1px;left:-1px;border-width:2px 0 0 2px; }
.guide-frame-c.tr { top:-1px;right:-1px;border-width:2px 2px 0 0; }
.guide-frame-c.bl { bottom:-1px;left:-1px;border-width:0 0 2px 2px; }
.guide-frame-c.br { bottom:-1px;right:-1px;border-width:0 2px 2px 0; }
.guide-body-text { padding: 20px 18px; }

.pose-note {
  margin-top: 12px; padding: 16px 18px;
  background: var(--copper-wash);
  font-size: 13px; color: var(--copper-deep);
  line-height: 1.8;
  font-family: var(--serif);
}

/* 滤镜 */
.filter-row-scroll {
  display: flex; gap: 22px; padding: 0 18px;
  overflow-x: auto; scrollbar-width: none;
}
.filter-row-scroll::-webkit-scrollbar { display: none; }

.filter-pick {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; color: var(--stone);
  cursor: pointer; transition: color 0.2s;
}
.filter-pick.on { color: var(--ink); }
.filter-ring {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--mist);
  transition: all 0.2s;
}
.filter-pick.on .filter-ring { border-color: var(--copper); border-width: 3px; }

.f-morning { background: linear-gradient(135deg,#e8d5c4,#b8c5d6); }
.f-sunset  { background: linear-gradient(135deg,#d4a574,#8b6914); }
.f-mono    { background: linear-gradient(135deg,#4a4a4a,#1a1a1a); }
.f-cyan    { background: linear-gradient(135deg,#87ceeb,#4682b4); }

/* 尺寸 */
.size-row-opts {
  display: flex; gap: 12px; padding: 0 18px;
}
.size-pick {
  flex: 1; text-align: center; padding: 14px 8px;
  border: 1px solid var(--mist); cursor: pointer;
  transition: all 0.15s var(--ease);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--stone);
}
.size-pick.on {
  border-color: var(--ink); background: var(--ink); color: var(--paper);
}
.size-box { border: 1px dashed var(--haze); margin-bottom: 8px; height: 40px; }

/* ================================================================ */
/*  旅游页                                                          */
/* ================================================================ */
.travel-top-card {
  margin: 0; text-align: center; padding: 48px 24px;
  background: var(--ink);
  color: var(--white);
}

.travel-route-viz {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; margin: 32px 0 20px;
}

.travel-dot-node {
  width: 48px; height: 48px;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}

.travel-dash-line {
  flex: 1; height: 1px; max-width: 52px;
  border-top: 1px dashed rgba(255,255,255,0.12);
}

/* 时间线 */
.tl-wrap { padding: 8px 0; }
.tl-el {
  display: grid;
  grid-template-columns: 44px 16px 1fr;
  gap: 0;
  padding-bottom: 24px;
}
.tl-el:last-child { padding-bottom: 0; }
.tl-time-col {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--copper-deep); text-align: right;
  padding-top: 2px;
}
.tl-dot-col {
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.tl-bullet {
  width: 8px; height: 8px; background: var(--copper);
  flex-shrink: 0; margin-top: 5px;
}
.tl-line {
  flex: 1; width: 1px; background: var(--mist);
  margin-top: 4px;
}
.tl-el:last-child .tl-line { display: none; }
.tl-body-text { min-width: 0; }

/* 套餐 */
.pkg-card {
  padding: 24px 18px; border: 1px solid var(--mist); margin-bottom: 10px;
  transition: box-shadow 0.15s; background: var(--white);
  position: relative;
}
.pkg-card:active { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.pkg-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--copper); opacity: 0;
  transition: opacity 0.2s;
}
.pkg-card:active::before { opacity: 1; }
.pkg-price-big {
  font-family: var(--mono); font-size: 26px; font-weight: 900;
}

/* 周边 */
.nearby-strip-row {
  display: flex; overflow-x: auto; gap: 12px;
  padding: 0 18px; scrollbar-width: none;
}
.nearby-strip-row::-webkit-scrollbar { display: none; }

.nearby-card-item {
  min-width: 150px; border: 1px solid var(--mist);
  background: var(--white);
}
.nearby-card-img {
  height: 120px; background: var(--breath);
  display: flex; align-items: center; justify-content: center; font-size: 48px;
}
.nearby-card-body { padding: 14px; }

/* ================================================================ */
/*  会员页                                                          */
/* ================================================================ */
.member-top-block {
  margin: 0; padding: 40px 20px 32px;
  background: var(--ink);
  color: var(--white);
}

.member-header-flex {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 28px;
}

.growth-num-huge {
  font-family: var(--mono); font-size: clamp(42px, 15vw, 68px); font-weight: 900;
  color: var(--copper); line-height: 1;
}

.growth-target-text {
  font-size: 14px; color: rgba(255,255,255,0.4); margin-left: 8px;
}

.member-badge-icon { font-size: 40px; }
.member-badge-name {
  color: var(--copper); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; margin-top: 4px;
}

/* 进度条 */
.prog-section { margin-top: 24px; }
.prog-track {
  height: 14px; background: rgba(255,255,255,0.06);
  position: relative; overflow: hidden;
}
.prog-fill {
  height: 100%; background: var(--copper);
  position: relative; transition: width 0.8s var(--ease);
}
.prog-wave-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,transparent 0%,rgba(255,255,255,0.2) 50%,transparent 100%);
  animation: wave 2.5s infinite;
}
.prog-hint-text {
  font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 10px; display: block;
}

/* 湖面水位 */
.lake-surface {
  margin-top: 20px;
  height: 140px;
  background: linear-gradient(180deg, #1a2530 0%, #0d141c 50%, #1a2530 100%);
  position: relative; overflow: hidden;
}
.lake-water {
  position: absolute; bottom: 0; left: 0; right: 0;
  min-height: 4px;
  background: linear-gradient(180deg,
    rgba(200,180,150,0.5) 0%,
    rgba(180,160,130,0.7) 30%,
    rgba(140,110,70,0.85) 70%,
    rgba(100,70,40,0.95) 100%
  );
  transition: height 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.lake-water::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: rgba(255,220,180,0.6);
  box-shadow: 0 0 8px rgba(200,162,122,0.4);
}
.lake-ripple {
  position: absolute; top: -10px; left: 0; right: 0; height: 10px;
  background: rgba(220,200,160,0.3);
  border-radius: 50%;
  animation: ripple 3s infinite ease-in-out;
}
@keyframes ripple {
  0%, 100% { transform: translateY(0) scaleX(1); opacity: 0.5; }
  50% { transform: translateY(-3px) scaleX(1.05); opacity: 0.8; }
}
.lake-hint {
  position: absolute; bottom: 10px; left: 0; right: 0;
  text-align: center; z-index: 2;
}

/* 打卡日历 */
.week-row {
  display: flex; justify-content: space-between; padding: 24px 0;
}
.week-day-col {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.week-dot {
  width: 44px; height: 44px; border: 2px solid var(--mist);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  background: var(--white); color: var(--white);
}
.week-dot.filled { background: var(--ink); border-color: var(--ink); color: var(--white); }
.week-dot.now { border-color: var(--copper); color: var(--copper-deep); background: var(--white); }
.week-label { font-size: 9px; color: var(--stone); }

/* 解锁列表 */
.unlock-list-wrap { margin-top: 8px; }
.unlock-row-item {
  display: flex; align-items: center; padding: 18px 0;
  border-bottom: 1px solid var(--breath);
}
.unlock-row-item.locked { opacity: 0.28; }
.unlock-icon-slot { width: 48px; font-size: 24px; text-align: center; margin-right: 14px; }
.unlock-info-slot { flex: 1; }
.unlock-item-title { font-weight: 700; font-size: 15px; margin-bottom: 2px; }

.unlock-progress-mini {
  height: 4px; background: var(--breath); margin-top: 8px;
}
.unlock-progress-fill {
  height: 100%; background: var(--copper); transition: width 0.8s;
}

/* ================================================================ */
/*  门店                                                            */
/* ================================================================ */
.store-top-img {
  width: 100%; height: 280px; background: var(--breath);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 4px solid var(--copper);
}
.store-info-head { padding: 28px 18px 4px; }

.info-cell {
  display: flex; padding: 18px 0; border-bottom: 1px solid var(--breath);
}
.info-cell-key {
  width: 90px; font-weight: 700; font-size: 13px;
  flex-shrink: 0; color: var(--ink-light);
}
.info-cell-val { flex: 1; font-size: 14px; color: var(--ink-wash); }
.info-cell-val.link { color: var(--copper-deep); cursor: pointer; }

.amenities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--mist);
  border: 1px solid var(--mist); margin-top: 20px;
}
.amenity-cell {
  display: flex; flex-direction: column; align-items: center;
  padding: 22px 0; background: var(--paper); gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.amenity-cell-icon { font-size: 26px; }

.transport-list { margin-top: 20px; }
.transport-cell {
  padding: 14px 0; border-bottom: 1px solid var(--breath);
}

/* ================================================================ */
/*  订单                                                            */
/* ================================================================ */
.order-item-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--breath);
}

.pickup-opts {
  display: flex; gap: 12px; margin-top: 16px;
}
.pickup-choice {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 20px 8px; border: 1px solid var(--mist); cursor: pointer;
  transition: all 0.15s var(--ease); gap: 6px;
}
.pickup-choice.on {
  border-color: var(--ink); background: var(--ink); color: var(--paper);
}
.pickup-choice.on .caption { color: rgba(255,255,255,0.5); }

.remark-box {
  width: 100%; height: 46px; border: 1px solid var(--mist);
  padding: 0 14px; font-size: 14px; font-family: var(--sans);
  outline: none; margin-top: 12px; transition: border-color 0.15s;
  background: var(--white);
}
.remark-box:focus { border-color: var(--copper); }
.remark-box::placeholder { color: var(--stone); }

.order-total-section { padding: 18px 0; }
.order-final-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--mist);
}
.order-final-label { font-weight: 700; font-size: 16px; }
.order-final-amount {
  font-family: var(--mono); font-size: 26px; font-weight: 900;
  color: var(--copper-deep);
}

/* ============ Toast & Modal ============ */
.toast {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: rgba(0,0,0,0.9); color: #fff;
  padding: 14px 28px; font-size: 14px; z-index: 999;
  pointer-events: none; opacity: 0;
  transition: opacity 0.3s var(--ease);
  letter-spacing: 0.06em;
}
.toast.show { opacity: 1; }

.modal-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 998; display: flex; align-items: center; justify-content: center;
}
.modal-dialog {
  background: var(--paper); padding: 28px 24px;
  width: 280px; max-width: 90vw;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--copper-light);
}
.modal-dialog h3 { font-family: var(--serif); font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.modal-dialog p { font-size: 13px; color: var(--ink-wash); margin-bottom: 24px; white-space: pre-line; line-height: 1.6; }
.modal-btns { display: flex; gap: 12px; justify-content: flex-end; }
.modal-btn-no { padding: 10px 20px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; background: none; color: var(--stone); letter-spacing: 0.04em; }
.modal-btn-yes { padding: 10px 20px; font-size: 13px; font-weight: 700; cursor: pointer; background: var(--copper); color: #fff; border: none; letter-spacing: 0.04em; }

/* ============ 响应式 ============ */
@media (min-width: 451px) {
  body {
    border-left: 1px solid var(--mist);
    border-right: 1px solid var(--mist);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ====== order history ====== */
.order-card {
  background: var(--white);
  border: 1px solid var(--mist);
  padding: 16px 18px;
  margin-bottom: 10px;
}
.order-card-items {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px;
}
