/* ==========================================================
   澜造分销商城 · H5 客户端样式
   设计基准：390 × 844
   ========================================================== */
:root {
  --brand: #126659;
  --brand-2: #0A2E2B;
  --brand-soft: #E8F3F0;
  --accent: #E34721;
  --accent-2: #F56E40;
  --accent-soft: #FDEEE9;
  --gold: #C79A4B;
  --bg: #F4F6F5;
  --card: #FFFFFF;
  --text: #1A1F1E;
  --text2: #5C6A67;
  --text3: #9AA5A3;
  --line: #EDF0EF;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 6px 20px -8px rgba(10, 46, 43, .18);
  --shadow-up: 0 -6px 24px -12px rgba(10, 46, 43, .22);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: #DDE5E2;
  background-image: radial-gradient(1200px 600px at 50% -10%, #EFF4F2 0%, #DCE4E1 60%, #D3DDDA 100%);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 14px; outline: none; }
::-webkit-scrollbar { width: 0; height: 0; }

/* ---------- 手机外框（PC 打开时） ---------- */
#phone {
  position: relative;
  width: 390px;
  height: 844px;
  max-height: 100vh;
  background: var(--bg);
  border-radius: 44px;
  box-shadow: 0 40px 90px -30px rgba(6, 32, 30, .55), 0 0 0 10px #10201E, 0 0 0 12px #2A3A38;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#phone::before {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 26px; background: #10201E; border-radius: 14px; z-index: 90;
}
@media (max-width: 520px), (pointer: coarse) {
  body { background: var(--bg); }
  #phone { width: 100%; height: 100vh; max-height: none; border-radius: 0; box-shadow: none; }
  #phone::before { display: none; }
}
body.embed #phone { width: 100%; height: 100vh; max-height: none; border-radius: 0; box-shadow: none;
  padding-top: env(safe-area-inset-top, 0px); }
body.embed #phone::before { display: none; }
body.embed .statusbar { display: none; }

/* 路由切换加载态：避免异步取数期间旧页闪现 */
.route-loading { height: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 12px; }
.route-loading span { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: route-spin .7s linear infinite; }
.ord-badge { position:absolute; top:-6px; left:50%; margin-left:4px; min-width:16px; height:16px; padding:0 4px;
  border-radius:9px; background:var(--accent); color:#fff; font-size:10px; line-height:16px; text-align:center; font-weight:700; }
@keyframes route-spin { to { transform: rotate(360deg); } }

/* ---------- 状态栏 ---------- */
.statusbar {
  flex: none; height: 48px; display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 22px 6px; font-size: 12px; font-weight: 600; color: var(--text); z-index: 80;
  background: transparent; position: relative;
}
.statusbar.on-dark { color: #fff; }
body[data-darkbar="1"] .statusbar { background: #0A2E2B; color: #fff; }
.statusbar .sb-icons { display: flex; gap: 5px; align-items: center; }
.sb-dot { width: 15px; height: 10px; border-radius: 2px; background: currentColor; opacity: .85; }

/* ---------- 滚动区 ---------- */
#app {
  flex: 1; overflow-y: auto; overflow-x: hidden; position: relative;
  -webkit-overflow-scrolling: touch;
}
/* 留出 Tabbar 58 + 悬浮购物车占位，避免遮挡列表最后一行 */
#app.has-tabbar { padding-bottom: calc(126px + var(--safe-b)); }
#app.has-actionbar { padding-bottom: calc(72px + var(--safe-b)); }
#app.has-tabbar.has-actionbar { padding-bottom: calc(64px + 76px + var(--safe-b)); }
/* 同时存在 Tabbar 与操作栏时，操作栏上移避开 Tabbar */
#phone.has-tabbar .actionbar { bottom: calc(58px + var(--safe-b)); }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: sticky; top: 0; z-index: 60; height: 52px; display: flex; align-items: center;
  padding: 0 10px; background: var(--card); border-bottom: 1px solid var(--line);
}
.navbar.transparent { background: transparent; border: 0; }
.navbar .nav-title { flex: 1; text-align: center; font-size: 16px; font-weight: 600; }
.navbar .nav-btn { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 18px; }
.navbar .nav-btn:active { background: rgba(0, 0, 0, .05); }
.nav-back { font-size: 20px; line-height: 1; }

/* ---------- 通用 ---------- */
.page { padding: 0 0 20px; }
.pad { padding: 0 16px; }
.card { background: var(--card); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.card + .card { margin-top: 12px; }
/* 双列网格里的卡片不用纵向堆叠间距，避免同排右侧卡片整体下移 */
.goods-grid > .card + .card,
.act-waterfall > .act-water-card + .act-water-card { margin-top: 0; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt20 { margin-top: 20px; }
.row { display: flex; align-items: center; }
.between { display: flex; align-items: center; justify-content: space-between; }
.gap6 { gap: 6px; } .gap8 { gap: 8px; } .gap12 { gap: 12px; }
.flex1 { flex: 1; min-width: 0; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ell2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t2 { color: var(--text2); } .t3 { color: var(--text3); }
.f11 { font-size: 11px; } .f12 { font-size: 12px; } .f13 { font-size: 13px; }
.b { font-weight: 600; }
.center { text-align: center; }
.price { color: var(--accent); font-weight: 700; font-family: "DIN Alternate", -apple-system, sans-serif; }
.price small { font-size: 11px; font-weight: 600; margin-right: 1px; }
.price .unit { font-size: 11px; color: var(--text3); font-weight: 400; margin-left: 2px; }
.origin { color: var(--text3); text-decoration: line-through; font-size: 11px; margin-left: 6px; font-weight: 400; }
.divider { height: 1px; background: var(--line); margin: 12px 0; }
.section-title { font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 10px; }
.section-title .more { font-size: 12px; color: var(--text3); font-weight: 400; }

.tag { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 10px; line-height: 16px;
  background: var(--brand-soft); color: var(--brand); }
.tag.accent { background: var(--accent-soft); color: var(--accent); }
.tag.gold { background: #FBF3E4; color: var(--gold); }
.tag.gray { background: #F2F4F3; color: var(--text3); }
.tag.green { background: #EAF3F1; color: #0F4A44; }

/* ---------- 营销模式中心通用组件 ---------- */
.card-hd { display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 12.5px; }
.card-bd { padding: 12px 14px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.field { margin-bottom: 10px; }
.field label { display: block; font-size: 11px; color: var(--text3); margin-bottom: 5px; }
.field .x-input, .field .x-textarea { width: 100%; }
/* 通用输入控件（发布笔记 / 表单弹层） */
.inp { display: block; width: 100%; height: 38px; padding: 0 10px; border: 1px solid var(--line);
  border-radius: 9px; background: #fff; font-size: 13px; color: var(--text); }
.inp::placeholder { color: #B9C3C1; }
.inp:focus { border-color: var(--brand); }
textarea.inp { height: auto; min-height: 96px; padding: 9px 10px; line-height: 1.6; resize: vertical; }
select.inp { padding-right: 26px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 44px;
  padding: 0 20px; border-radius: 22px; font-size: 15px; font-weight: 600; transition: .15s;
  white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(45deg, var(--accent-2), var(--accent)); color: #fff;
  box-shadow: 0 6px 14px -4px rgba(227, 71, 33, .45); }
.btn-brand { background: linear-gradient(45deg, #1B8474, var(--brand-2)); color: #fff; }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid #DDE3E1; }
.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; border-radius: 16px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- 首页 ---------- */
.home-hero {
  background: linear-gradient(160deg, #0A2E2B 0%, #126659 100%);
  padding: 0 16px 20px; color: #fff; position: relative; overflow: hidden;
  border-radius: 0 0 24px 24px;
}
.home-hero::after {
  content: ""; position: absolute; right: -60px; top: -70px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(126, 224, 196, .28), transparent 70%);
}
.hero-top { display: flex; align-items: center; gap: 10px; padding-top: 4px; }
.brand-logo { width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--brand-2);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: .5px; }
.brand-slogan { font-size: 10px; opacity: .7; }
.search-bar { flex: 1; height: 36px; background: rgba(255, 255, 255, .16); border-radius: 18px;
  display: flex; align-items: center; padding: 0 14px; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .75);
  backdrop-filter: blur(6px); position: relative; z-index: 3; pointer-events: auto; }
.home-hero a { position: relative; z-index: 3; pointer-events: auto; }
.hero-notice { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 11px;
  background: rgba(255, 255, 255, .12); border-radius: 8px; padding: 6px 10px; }
/* 首页门店切换条：显示当前门店，点击切换（只在该门店在售的商品会展示） */
.store-bar { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 12px;
  background: rgba(255, 255, 255, .12); border-radius: 10px; color: #fff; cursor: pointer;
  position: relative; z-index: 3; }
.store-bar .sb-ico { font-size: 14px; flex: none; }
.store-bar .sb-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.store-bar .sb-txt b { font-size: 13px; font-weight: 600; }
.store-bar .sb-txt i { font-style: normal; font-size: 10px; opacity: .72;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-bar .sb-switch { flex: none; font-size: 11px; opacity: .85; }
.store-bar.on { background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.store-bar.on .sb-txt b { font-weight: 700; letter-spacing: .3px; }
.store-bar.on .sb-txt i { opacity: .95; }
.store-bar.on .sb-switch { color: #FFE9B8; opacity: 1; font-weight: 600; }
/* 本店专供商品标签（列表 / 卡片通用） */
.tag.own-store { background: #FFF0E4; color: #D8631A; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(216, 99, 26, .18); }
/* 门店选择弹层 */
.sheet-item { display: flex; align-items: center; gap: 10px; padding: 12px 10px;
  border-radius: 12px; font-size: 13px; cursor: pointer; }
.sheet-item + .sheet-item { margin-top: 4px; }
.sheet-item.on { background: var(--brand-soft); }
.sheet-item .si-on { color: var(--brand); font-weight: 700; flex: none; }
/* 首页轮播（后台「首页轮播」上传，图片建议 750×360） */
.home-swiper { position: relative; margin-top: 12px; height: 152px; border-radius: 14px;
  overflow: hidden; background: rgba(255, 255, 255, .1); z-index: 3; }
.hs-track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.3, .8, .3, 1); }
.hs-slide { flex: 0 0 100%; height: 100%; display: block; position: relative; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-cap { position: absolute; left: 12px; right: 60px; bottom: 10px; color: #fff; font-size: 13px;
  font-weight: 700; line-height: 1.3; text-shadow: 0 2px 8px rgba(0, 0, 0, .55); }
.hs-dots { position: absolute; right: 10px; bottom: 12px; display: flex; gap: 5px; z-index: 4; }
.hs-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .55);
  transition: width .2s, background .2s; cursor: pointer; }
.hs-dots i.on { width: 16px; background: #fff; }

.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 16px 0; }
.quick-item { background: #fff; border-radius: 12px; padding: 10px; box-shadow: var(--shadow); }
.quick-item .qi-name { font-size: 13px; font-weight: 600; }
.quick-item .qi-desc { font-size: 10px; color: var(--accent); margin-top: 2px; }

.banner-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 14px 16px; }
.banner-item { flex: none; width: 260px; height: 108px; border-radius: 14px; overflow: hidden; position: relative; }
.banner-item img { width: 100%; height: 100%; object-fit: cover; }
.banner-item .bt { position: absolute; left: 12px; bottom: 10px; color: #fff; font-weight: 700; font-size: 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }

.countdown { display: inline-flex; align-items: center; gap: 3px; font-family: "DIN Alternate", sans-serif; }
.countdown b { background: var(--text); color: #fff; border-radius: 4px; padding: 1px 4px; font-size: 11px; }

.goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; align-items: stretch; }
.goods-grid > .card { display: flex; flex-direction: column; height: 100%; }
.goods-grid > .card > img { flex: none; }
.goods-grid > .card > div:last-child { flex: 1; }
.goods-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.goods-card .thumb { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #EEF2F1; }
.goods-card .gc-body { padding: 8px 10px 10px; }
.goods-card .gc-name { font-size: 13px; font-weight: 600; line-height: 1.35; height: 36px; overflow: hidden; }
.goods-card .gc-meta { font-size: 10px; color: var(--text3); margin-top: 4px; }

/* ---------- 商品列表行 ---------- */
.goods-row { display: flex; gap: 10px; padding: 12px; background: #fff; border-radius: 14px; }
.goods-row + .goods-row { margin-top: 10px; }
.goods-row .thumb { width: 92px; height: 92px; border-radius: 10px; object-fit: cover; flex: none; background: #EEF2F1; }
.goods-row .gr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.goods-row .gr-name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.goods-row .gr-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }

/* ---------- Tabbar ---------- */
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: calc(58px + var(--safe-b));
  padding-bottom: var(--safe-b); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); display: flex; z-index: 70;
}
.tabbar .tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; font-size: 10px; color: var(--text3); position: relative; }
.tabbar .tab.on { color: var(--brand); font-weight: 600; }
.tabbar .tab .ti { font-size: 20px; line-height: 1; position: relative; }
.tabbar .tab-dot { position: absolute; top: -3px; right: -8px; min-width: 15px; height: 15px;
  padding: 0 4px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 9px;
  font-style: normal; line-height: 15px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.tabbar .badge { position: absolute; top: 6px; right: 50%; margin-right: -22px; background: var(--accent);
  color: #fff; font-size: 9px; min-width: 15px; height: 15px; border-radius: 8px; display: flex;
  align-items: center; justify-content: center; padding: 0 4px; }

/* ---------- 购物车悬浮按钮（从 Tab 移出，可拖动 / 可调透明度） ---------- */
.fab-cart {
  position: absolute; right: 14px; bottom: calc(16px + var(--safe-b));
  width: 52px; height: 52px; border-radius: 50%; z-index: 76;
  background: linear-gradient(135deg, rgba(27, 132, 116, .92), rgba(10, 46, 43, .92)); color: #fff;
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; font-size: 21px;
  box-shadow: 0 10px 24px -8px rgba(10, 46, 43, .55);
  transition: transform .12s, opacity .18s, box-shadow .18s;
  touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
  -webkit-user-drag: none;
}
.fab-cart:active { transform: scale(.94); }
.fab-cart.dragging { transition: none; cursor: grabbing; transform: scale(1.04); box-shadow: 0 14px 30px -8px rgba(10, 46, 43, .7); }
/* 拖动后改为按 left/top 定位（覆盖各 Tabbar 状态下的 bottom 规则） */
.fab-cart.dragged { right: auto !important; bottom: auto !important; }
.fab-cart .badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
#phone.has-tabbar .fab-cart { bottom: calc(58px + var(--safe-b) + 16px); }
#phone.has-actionbar .fab-cart { bottom: calc(72px + var(--safe-b) + 16px); }
#phone.has-tabbar.has-actionbar .fab-cart { bottom: calc(58px + 76px + var(--safe-b) + 16px); }

/* ---------- 底部操作条 ---------- */
.actionbar { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; padding: 10px 14px calc(10px + var(--safe-b));
  border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; z-index: 70;
  box-shadow: var(--shadow-up); }
/* 商品详情底部：购物车图标右上角的数量角标 */
.act-ico { position: relative; display: inline-block; line-height: 1; }
.act-ico .badge { position: absolute; top: -6px; right: -11px; min-width: 15px; height: 15px; padding: 0 4px;
  border-radius: 8px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 600;
  line-height: 15px; text-align: center; box-shadow: 0 0 0 1.5px #fff; }

/* ---------- 分类页 ---------- */
#app.cat-mode { overflow: hidden; }
.cat-shell { position: absolute; inset: 0 0 58px 0; display: flex; flex-direction: column; background: var(--bg); }
.cat-head { flex: none; background: linear-gradient(160deg, #0A2E2B, #126659); padding: 0 16px 14px; color: #fff; }
.cat-body { flex: 1; display: flex; min-height: 0; }
.cat-side { width: 92px; background: #F7F9F8; overflow-y: auto; flex: none; }
.cat-side .cs-item { display: block; padding: 14px 8px; font-size: 13px; color: var(--text2); text-align: center; position: relative; }
.cat-side .cs-item.on { background: #fff; color: var(--brand); font-weight: 600; }
.cat-side .cs-item.on::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 18px; background: var(--brand); border-radius: 2px; }
.cat-main { flex: 1; min-width: 0; overflow-y: auto; overflow-x: hidden; padding: 12px; }
.cat-main .goods-row { min-width: 0; }

/* ---------- 详情页 ---------- */
.detail-hero { position: relative; background: #E8EEEC; }
.detail-hero img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.detail-price { background: linear-gradient(120deg, #0A2E2B, #126659); color: #fff; padding: 14px 16px;
  margin: -20px 16px 0; border-radius: 16px; position: relative; box-shadow: var(--shadow); }
.detail-price .dp-main { font-size: 26px; font-weight: 800; font-family: "DIN Alternate", sans-serif; }
.detail-price .dp-main small { font-size: 14px; }
.spec-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-options { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-opt { padding: 7px 14px; border-radius: 18px; background: #F5F7F6; font-size: 13px; border: 1px solid transparent; }
.spec-opt.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 600; }

/* ---------- 列表项 ---------- */
.list { background: #fff; border-radius: var(--radius); overflow: hidden; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 14px 14px; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.list-item .li-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.list-item .li-name { flex: 1; font-size: 14px; }
.list-item .li-val { font-size: 13px; color: var(--text3); }
.list-item .li-arrow { color: #C9D2D0; font-size: 15px; }
.list-item:active { background: #FAFBFA; }

/* 我的 · 功能宫格：一排 4 个方块 */
.mine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 10px 6px 6px; }
.mine-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mine-cell { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px 9px;
  border-radius: 12px; color: var(--text); text-align: center; }
.mine-cell:active { background: #F6F9F8; }
.mine-cell .mc-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 18px; position: relative; }
.mine-cell .mc-name { font-size: 11.5px; line-height: 1.25; }
.mine-cell .mc-val { font-size: 10px; color: var(--text3); margin-top: -3px; }
.mine-cell .mc-badge { position: absolute; top: -4px; right: -6px; min-width: 15px; height: 15px; padding: 0 4px;
  border-radius: 8px; background: var(--accent); color: #fff; font-size: 9.5px; line-height: 15px; }
/* 活动页 · 我参与的活动 */
.act-row { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.act-row:last-child { border-bottom: 0; }
.act-row .thumb { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; flex: none; background: #EEF2F1; }

/* 我的积分 · 方形积分商城入口 */
.pts-mall {
  display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px; color: #fff;
}
.pts-mall:active { background: rgba(255, 255, 255, .2); }
.pts-mall .pm-ico {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: rgba(255, 255, 255, .92); color: var(--brand-2);
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700;
}
.pts-mall .pm-name { display: block; font-size: 13px; font-weight: 600; }
.pts-mall .pm-desc { display: block; font-size: 11px; opacity: .75; margin-top: 3px; }
.pts-mall .pm-go { font-size: 11px; opacity: .85; }

/* ========== 好物圈 · 短视频流（抖音式） ========== */
.v-head {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center; gap: 22px;
  padding: 12px 16px 10px; color: #fff;
  background: linear-gradient(180deg, rgba(10, 46, 43, .92), rgba(10, 46, 43, .55));
  backdrop-filter: blur(8px);
}
.v-head .v-tab { font-size: 14px; color: rgba(255, 255, 255, .62); }
.v-head .v-tab.on { color: #fff; font-weight: 700; }
.v-head .v-pub {
  position: absolute; right: 16px; top: 10px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .18); color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 15px;
}
.v-mute {
  position: absolute; right: 54px; top: 10px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .18); color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 14px; backdrop-filter: blur(4px);
}
.v-mute.on { background: rgba(227, 71, 33, .85); }

/* ---------- 评论弹层 ---------- */
.cmt-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.cmt-title { font-size: 15px; font-weight: 700; }
.cmt-title b { color: var(--brand-2); margin-left: 3px; }
.cmt-close {
  width: 28px; height: 28px; border-radius: 50%; background: #F2F5F4; color: var(--text2);
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.cmt-note {
  font-size: 11px; color: var(--text3); margin: 2px 0 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cmt-list { max-height: 46vh; overflow-y: auto; margin: 0 -2px; }
.cmt-item { display: flex; gap: 10px; padding: 14px 2px; border-bottom: 1px solid #F4F7F6; }
.cmt-item:last-child { border-bottom: 0; }
.cmt-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #E7F3EF, #D3E9E2); color: var(--brand-2);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
}
.cmt-body { flex: 1; min-width: 0; }
.cmt-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cmt-name { font-size: 12px; color: var(--text2); }
.cmt-time { font-size: 10.5px; color: var(--text3); flex: none; }
.cmt-text { font-size: 13px; line-height: 1.65; margin-top: 5px; color: var(--text); word-break: break-word; }
.cmt-empty { padding: 40px 0 30px; text-align: center; color: var(--text3); font-size: 12px; }
.cmt-empty-ico { font-size: 34px; opacity: .35; margin-bottom: 8px; }
.cmt-bar {
  display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--line);
}
.cmt-input {
  flex: 1; height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid transparent;
  background: #F4F7F6; font-size: 13px; color: var(--text);
}
.cmt-input:focus { background: #fff; border-color: var(--brand); }
.cmt-send {
  height: 40px; padding: 0 18px; border-radius: 20px; background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 600; flex: none;
}
.cmt-send:active { opacity: .85; }

/* 评论点赞 / 回复 */
.cmt-ops { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.cmt-op { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text3); }
.cmt-op .co-ico { font-size: 13px; line-height: 1; }
.cmt-op.on { color: #E34721; }
.cmt-replies { margin-top: 10px; padding: 4px 12px; background: #F7FAF9; border-radius: 10px; }
.cmt-reply { padding: 10px 0; border-bottom: 1px dashed #E6EDEB; }
.cmt-reply:last-child { border-bottom: 0; }
.cmt-reply .cmt-top { gap: 6px; align-items: center; }
.cmt-reply .cmt-time { margin-left: auto; }
.cmt-reply .cmt-text { margin-top: 4px; font-size: 12.5px; }
.cmt-at { font-size: 11px; color: var(--brand-2); }
.cmt-reply-tip {
  display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 12px;
  background: #F2F7F5; border-radius: 10px; font-size: 12px; color: var(--text2);
}
.cmt-reply-tip span { flex: 1; }
.cmt-reply-tip button { color: var(--text3); font-size: 12px; }
/* 竖向翻页由 #app 承担（snap 与每屏高度都在 bindFeed 里设到 #app）。
   feed 自身不能是滚动容器，否则 overscroll-behavior:contain 会把滚轮/触摸滑动吞掉，导致滑不动 */
.v-feed { overflow: visible; }
.v-slide {
  position: relative; scroll-snap-align: start; overflow: hidden; background: #0A2E2B;
  background-size: cover; background-position: center;
}
.v-slide video, .v-slide .v-poster { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 视频未就绪时先显示封面背景，播放后再淡入，避免黑屏 */
.v-slide video { opacity: 0; transition: opacity .3s; }
.v-slide.playing video { opacity: 1; }
.v-mask { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .68), rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, .16)); }
.v-info { position: absolute; left: 14px; right: 74px; bottom: 16px; color: #fff; }
.v-user { font-size: 12px; opacity: .88; }
.v-title { font-size: 14px; font-weight: 600; line-height: 1.5; margin-top: 6px; }
.v-topic { display: inline-block; font-size: 11px; color: #9FE3D6; margin-top: 6px; }
.v-goods { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px;
  border-radius: 10px; color: #fff; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.v-goods img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; flex: none; }
.v-goods .vg-info { flex: 1; min-width: 0; }
.v-goods .vg-name { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-goods .vg-price { font-size: 12px; font-weight: 700; color: #FFD9A0; margin-top: 2px; }
.v-goods .vg-go { flex: none; font-size: 11px; padding: 4px 9px; border-radius: 999px; background: #E34721; }
.v-side { position: absolute; right: 10px; bottom: 108px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.v-act { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #fff; }
.v-act .vi { font-size: 22px; line-height: 1; }
.v-act .vn { font-size: 11px; opacity: .92; }
.v-act.on .vi { color: #FF6B57; }
.v-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; background: rgba(0, 0, 0, .34);
  color: #fff; display: none; align-items: center; justify-content: center; font-size: 20px; }
.v-slide.paused .v-play { display: flex; }
.v-empty { padding: 60px 20px; text-align: center; color: #fff; opacity: .8; font-size: 13px; }

/* 图文瀑布流 */
.p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.p-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(10, 46, 43, .05); }
.p-card .pc-img { width: 100%; height: 124px; object-fit: cover; display: block; background: #EEF2F1; }
.p-card .pc-body { padding: 9px 10px 10px; }
.p-card .pc-title { font-size: 13px; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card .pc-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--text3); }

/* 全部活动双列网格：固定图高、同排上下齐平 */
.act-waterfall { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; align-items: stretch; }
.act-waterfall .act-water-card { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; }
.act-waterfall .pc-img { width: 100%; height: 124px; object-fit: cover; display: block; background: #EEF2F1; flex: none; }
.act-waterfall .pc-body { flex: 1; display: flex; flex-direction: column; }
.act-waterfall .pc-meta { margin-top: auto; }

/* ---------- 通用页码器 ---------- */
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 18px 0 6px; }
.pager a, .pager span.gap, .pager span.info {
  min-width: 34px; height: 32px; padding: 0 10px; border-radius: 9px; font-size: 13px; color: var(--text2);
  background: #fff; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; }
.pager a.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager a.dis { color: #C3CCC9; background: #F7F9F8; pointer-events: none; }
.pager span.gap { border: 0; background: transparent; color: var(--text3); min-width: 16px; padding: 0; }
.pager span.info { border: 0; background: transparent; color: var(--text3); font-size: 11px; min-width: 0; }

/* 列表「查看全部」入口 */
.link-more { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; color: var(--text3); }

/* ---------- 表单 ---------- */
.form-item { display: flex; align-items: center; padding: 14px; border-bottom: 1px solid var(--line); background: #fff; }
.form-item:last-child { border-bottom: 0; }
.form-item label { width: 84px; flex: none; font-size: 14px; color: var(--text2); }
.form-item input, .form-item textarea { flex: 1; border: 0; background: transparent; font-size: 14px; }
.form-item input::placeholder { color: #B9C3C1; }
.form-box { border-radius: var(--radius); overflow: hidden; }

/* 售后申请：问题描述 / 图片（垂直布局，避免 form-item label 挤压） */
.as-field { padding: 14px; border-bottom: 1px solid var(--line); background: #fff; }
.as-field:last-child { border-bottom: 0; }
.as-field > label { display: block; font-size: 14px; color: var(--text2); margin-bottom: 8px; }
.as-field > textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 8px;
  padding: 10px; font-size: 14px; resize: vertical; min-height: 76px; background: #fff; }
.as-field > textarea::placeholder { color: #B9C3C1; }
.as-upload { width: 100%; }
.as-imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.as-imgs:empty { display: none; }
.as-imgs > div { position: relative; width: 100%; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #F2F5F4; }
.as-imgs img { width: 100%; height: 100%; object-fit: cover; }
.as-imgs button { position: absolute; right: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,.6); color: #fff; font-size: 13px; line-height: 18px; text-align: center; }
.as-upload-btn { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px;
  border: 1px dashed var(--brand); color: var(--brand); border-radius: 8px; font-size: 13px; cursor: pointer; background: var(--brand-soft); }

/* ---------- 订单 ---------- */
.order-card { background: #fff; border-radius: var(--radius); padding: 14px; }
.order-card + .order-card { margin-top: 10px; }
.order-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--text3); margin-bottom: 10px; }
.order-head .st { font-weight: 600; }
.st-pending { color: var(--accent); } .st-paid { color: #D98B1F; } .st-shipped { color: var(--brand); }
.st-completed { color: var(--text3); } .st-refunding { color: #C2410C; } .st-closed { color: var(--text3); }
.order-goods { display: flex; gap: 10px; padding: 8px 0; }
.order-goods .thumb { width: 62px; height: 62px; border-radius: 8px; object-fit: cover; flex: none; background: #EEF2F1; }
.order-foot { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; }

/* ---------- 分段 ---------- */
.seg { display: flex; gap: 4px; background: #F2F5F4; border-radius: 10px; padding: 3px; }
.seg .sg { flex: 1; text-align: center; padding: 7px 0; font-size: 13px; color: var(--text2); border-radius: 8px; }
.seg .sg.on { background: #fff; color: var(--text); font-weight: 600; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
/* 预约中心：日期 / 时段横滑 */
.rv-dates .sg, .rv-slots .sg { flex: none; min-width: 64px; padding: 7px 12px; display: flex; flex-direction: column; gap: 2px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .05); }
.rv-slots .sg { flex-direction: row; justify-content: center; }
.rv-picked { outline: 2px solid var(--brand); border-radius: 10px; }
/* 首页预约入口条 */
.reserve-entry { display: flex; align-items: center; gap: 10px; margin: 8px 12px 0; padding: 10px 14px;
  background: linear-gradient(120deg, #0F4A44, #1B7A66); border-radius: 12px; color: #fff; }
.reserve-entry .re-ico { font-size: 20px; }
.reserve-entry .re-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.reserve-entry .re-txt b { font-size: 13px; font-weight: 700; }
.reserve-entry .re-txt i { font-style: normal; font-size: 11px; opacity: .82; }
.reserve-entry .re-go { font-size: 11px; background: rgba(255, 255, 255, .2); padding: 4px 10px; border-radius: 999px; }

.tabs-line { display: flex; gap: 18px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs-line .tl { padding: 12px 0; font-size: 14px; color: var(--text2); position: relative; white-space: nowrap; }
.tabs-line .tl.on { color: var(--text); font-weight: 600; }
.tabs-line .tl.on::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 3px; border-radius: 2px; background: var(--brand); }

/* ---------- 空状态 ---------- */
.empty { padding: 60px 20px; text-align: center; color: var(--text3); }
.empty .ico { font-size: 44px; opacity: .5; }
.empty .txt { margin-top: 10px; font-size: 13px; }

/* ---------- 弹层 ---------- */
.mask { position: absolute; inset: 0; background: rgba(10, 24, 22, .45); z-index: 100;
  display: flex; align-items: flex-end; animation: fade .18s; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; background: #fff; border-radius: 20px 20px 0 0; padding: 16px 16px calc(16px + var(--safe-b));
  max-height: 78%; overflow-y: auto; animation: up .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes up { from { transform: translateY(100%); } }
.sheet-title { font-size: 16px; font-weight: 700; text-align: center; margin-bottom: 14px; }
/* 应用内确认弹窗 */
.cfm-card { text-align: center; padding: 8px 4px 4px; }
.cfm-ico { width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center;
  background: #E8F3F0; color: #0F6B5C; font-size: 24px; font-weight: 700; }
.cfm-ico.danger { background: #FDEDEA; color: #D94B33; }
.cfm-t { font-size: 16px; font-weight: 700; }
.cfm-m { font-size: 13px; color: var(--text2); line-height: 1.75; margin: 10px 4px 20px; text-align: left; }
.cfm-b { display: flex; gap: 12px; }
.pmt-card { text-align: left; padding: 6px 4px 4px; }
.pmt-t { font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.pmt-b { display: flex; gap: 12px; margin-top: 16px; }
.btn-danger { background: linear-gradient(45deg, #E05038, #D5371F); color: #fff; }
.toast { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); background: rgba(20, 32, 30, .9);
  color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 13px; z-index: 200; max-width: 76%; text-align: center; }

/* ---------- 分销 ---------- */
.dist-hero { background: linear-gradient(150deg, #0A2E2B 0%, #126659 70%, #1C8A76 100%);
  color: #fff; padding: 16px; border-radius: 0 0 24px 24px; }
.dist-money { font-size: 32px; font-weight: 800; font-family: "DIN Alternate", sans-serif; letter-spacing: -1px; }
.dist-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
.dist-stats.cols-4 { grid-template-columns: repeat(4, 1fr); }
.dist-stats .ds { text-align: center; display: block; color: inherit; text-decoration: none; }
.dist-stats .ds:active { opacity: .65; }

/* 消息未读角标 / 未读消息卡片 */
.msg-dot { position: absolute; top: -5px; right: -6px; min-width: 15px; height: 15px; padding: 0 4px;
  border-radius: 8px; background: #E34721; color: #fff; font-size: 9.5px; line-height: 15px; font-style: normal; text-align: center; }
.msg-card { position: relative; }
.msg-card.unread::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px;
  border-radius: 3px; background: var(--brand); }
.msg-card.unread { background: #FBFDFC; }
.msg-unread-dot { width: 6px; height: 6px; border-radius: 50%; background: #E34721; flex: none; display: inline-block; }

/* 消息分类筛选 */
.filter-chip { padding: 6px 13px; border-radius: 15px; background: #F2F5F4; color: var(--text2);
  font-size: 12.5px; flex: none; }
.filter-chip.on { background: var(--brand); color: #fff; }

/* 公告弹层里的其它公告行 */
.notice-line { display: flex; align-items: center; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.notice-line:last-child { border-bottom: 0; }
.dist-stats .ds b { font-size: 16px; font-weight: 700; }
.dist-stats .ds span { display: block; font-size: 10px; opacity: .72; margin-top: 2px; }

.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #1B8474, #0A2E2B);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex: none; }

/* ---------- 通用工具 ---------- */
.skel { background: linear-gradient(90deg, #EEF1F0 25%, #F6F8F7 37%, #EEF1F0 63%); background-size: 400% 100%;
  animation: sk 1.2s infinite; border-radius: 8px; }
@keyframes sk { from { background-position: 100% 50%; } to { background-position: 0 50%; } }

/* ---------- 幸运抽奖大转盘 ---------- */
@keyframes lucky-pop { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes lucky-pulse { 0%, 100% { box-shadow: 0 6px 18px rgba(0,0,0,.35), 0 0 0 0 rgba(255,215,118,.55); } 50% { box-shadow: 0 6px 18px rgba(0,0,0,.35), 0 0 0 12px rgba(255,215,118,0); } }
@keyframes lucky-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes lucky-float { from { transform: translateY(-2px) rotate(var(--r, 0deg)); } to { transform: translateY(6px) rotate(var(--r, 0deg)); } }
@keyframes lucky-twinkle { from { opacity: .45; } to { opacity: 1; } }

.lucky-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 22%, #6E45A8 0%, #3B225F 46%, #24143D 100%);
}
.lucky-hero::before {
  content: ""; position: absolute; inset: -40%; pointer-events: none; opacity: .3;
  background: radial-gradient(circle, rgba(255,231,168,.5) 0 1.5px, transparent 2px) 0 0 / 34px 34px;
  animation: lucky-float 18s linear infinite;
}
.lucky-hero::after {
  content: ""; position: absolute; left: 50%; top: 48%; width: 340px; height: 340px; pointer-events: none;
  transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(255,215,118,.2), transparent 70%); filter: blur(8px);
}
.lucky-hero > * { position: relative; z-index: 1; }
.lucky-stage { position: relative; width: 180px; height: 180px; margin: 8px auto 0; }
.lucky-wheel {
  position: absolute; inset: 18px; border-radius: 50%;
  box-shadow: 0 0 0 5px #6E43A6, 0 0 0 9px #FFD976, 0 0 0 11px rgba(255,255,255,.16),
    0 10px 24px rgba(0,0,0,.42), inset 0 0 0 2px rgba(255,255,255,.3);
  transition: transform 7s cubic-bezier(.12,.68,.18,1); will-change: transform;
}
.lucky-wheel::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.34), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.2), transparent 44%, rgba(0,0,0,.14));
}
.lucky-bulbs { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 2; }
.lucky-bulbs i {
  position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%;
  background: #FFF3C4; box-shadow: 0 0 7px #FFD976, 0 0 13px #FFB84D;
  transform: rotate(var(--a)) translateY(-81px); animation: lucky-twinkle 1.1s ease-in-out infinite alternate;
}
.lucky-bulbs i:nth-child(2n) { animation-delay: .25s; }
.lucky-bulbs i:nth-child(3n) { animation-delay: .5s; }
.lucky-pointer {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: 5;
  width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent;
  border-top: 22px solid #FFF3C4; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45));
}
.lucky-pointer::after {
  content: ""; position: absolute; left: -6px; top: -18px; width: 13px; height: 13px; border-radius: 50%;
  background: #E8543F; border: 2px solid #fff; box-shadow: 0 0 10px #FF7A5C;
}
.lucky-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 4;
  width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff;
  background: linear-gradient(145deg, #FFF6D8, #FFD35C); color: #5B2A16;
  font-weight: 900; font-size: 12px; letter-spacing: 1px;
  box-shadow: 0 6px 18px rgba(0,0,0,.35), inset 0 -4px 0 rgba(190,105,20,.22);
  animation: lucky-pulse 2.4s ease-in-out infinite;
}
.lucky-hub:active { transform: translate(-50%,-50%) scale(.95); }
.lucky-label {
  position: absolute; left: 50%; top: 50%; width: 50px; margin-left: -25px; margin-top: -6px;
  z-index: 2; text-align: center; pointer-events: none;
}
.lucky-label span {
  display: inline-block; max-width: 48px; padding: 1px 3px; border-radius: 6px;
  background: rgba(255,255,255,.92); color: #4A2E1E; font-size: 8px; font-weight: 800; line-height: 11px;
  box-shadow: 0 2px 5px rgba(72,38,20,.18); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.lucky-tip { text-align: center; font-size: 10px; color: rgba(255,255,255,.72); margin-top: 6px; }
.lucky-draw-btn {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #FFB347, #FFD976, #FF9F68) !important;
  color: #5B2A16 !important; font-weight: 900 !important; letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(255,168,72,.34);
}
.lucky-draw-btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-24deg); animation: lucky-shine 3s ease-in-out infinite;
}
.lucky-result { position: relative; overflow: hidden; }
.lucky-confetti { position: absolute; inset: 0; pointer-events: none; }
.lucky-confetti i {
  position: absolute; top: 10px; left: var(--l); width: 7px; height: 11px; border-radius: 2px;
  background: var(--c); animation: lucky-float 2.2s ease-in-out infinite alternate;
}
.lucky-reveal { animation: lucky-pop .48s cubic-bezier(.2,.8,.3,1.2) both; }
.lucky-medal {
  width: 108px; height: 108px; margin: 0 auto 10px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 48px;
  background: radial-gradient(circle at 35% 30%, #FFF6CF, #FFD976 60%, #F0A93B);
  box-shadow: 0 0 0 5px rgba(255,215,118,.28), 0 12px 24px rgba(91,58,30,.25);
}
.lucky-medal img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .lucky-wheel { transition-duration: .01s; }
  .lucky-hub, .lucky-draw-btn::after, .lucky-bulbs i, .lucky-confetti i, .lucky-reveal { animation: none !important; }
}
.progress { height: 6px; border-radius: 3px; background: #EDF1F0; overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.scroll-x { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 4px; }

/* 装修商品列表隐藏价格（组件显示价格=0） */
.dp-no-price .price { display: none !important; }

