/* ============================================================
   十元茶摊 H5 前台样式 v1.0
   暖茶色系 · 移动端优先
   ============================================================ */
:root {
  --tea: #b3422f;        /* 朱砂主色 */
  --tea-dark: #7c2a1d;
  --amber: #e9a13b;      /* 鎏金点缀 */
  --amber-light: #efbd62;
  --cream: #f6f1e7;      /* 纸感背景 */
  --card: #fffdf9;
  --ink: #33281f;        /* 墨色文字 */
  --gray: #93857a;
  --line: #e6dccb;
  --green: #059669;
  --red: #dc2626;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
i, em { font-style: normal; }
html { font-size: 16px; }

/* ---- SVG 图标 ---- */
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; flex-shrink: 0; object-fit: contain; border-radius: 8px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  padding-bottom: 62px; /* 底部导航占位 */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font-family: inherit; font-size: 15px; }

/* ---- 顶部 ---- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: 54px; padding: 0 16px;
  display: flex; align-items: center; justify-content: center;
}
.topbar .logo { font-size: 17px; font-weight: 800; color: var(--tea-dark); display: flex; align-items: center; gap: 7px; letter-spacing: 1px; }
.topbar .logo b { background: linear-gradient(135deg, #c1492f, #a0301f); color: #fff; padding: 2px 7px; border-radius: 6px; font-size: 12px; letter-spacing: 1px; box-shadow: 0 2px 6px rgba(163,42,27,.28); }
.topbar .logo .ic { width: 24px; height: 24px; }
.topbar .site-logo { height: 40px; width: auto; object-fit: contain; display: block; }
.topbar .phone { font-size: 14px; color: var(--tea-dark); background: #fff; border: 1px solid #f0dcc6; padding: 7px 12px; border-radius: 20px; display: inline-flex; align-items: center; gap: 4px; }
.topbar .phone .ic { width: 16px; height: 16px; display: inline-flex; }
.topbar .phone .ic img { width: 16px; height: 16px; border-radius: 3px; object-fit: cover; }

/* ---- 轮播 ---- */
.banner { position: relative; overflow: hidden; margin: 12px 12px 0; border-radius: var(--radius); border: 1px solid #e8dcc9; box-shadow: 0 4px 14px rgba(80,40,20,.10); }
.banner .track { display: flex; transition: transform .35s ease; }
.banner .slide {
  min-width: 100%; height: 140px; position: relative;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; color: #fff; text-align: center;
}
.banner .slide h2 { font-size: 24px; letter-spacing: 2px; text-shadow: 0 2px 14px rgba(0,0,0,.7), 0 1px 3px rgba(0,0,0,.55); }
.banner .slide p { font-size: 13px; opacity: .95; margin-top: 6px; text-shadow: 0 2px 10px rgba(0,0,0,.75), 0 1px 3px rgba(0,0,0,.5); }
.banner .slide.bg1 { background: linear-gradient(135deg, #9a3412, #c1492f 55%, #d96a4e); }
.banner .slide.bg2 { background: linear-gradient(135deg, #1f2937, #374151 55%, #4b5563); }
.banner .slide.bg3 { background: linear-gradient(135deg, #14532d, #166534 55%, #15803d); }
.banner .slide .em { font-size: 40px; margin-bottom: 6px; }
.banner .slide .em .ic { border-radius: 18px; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.section-title .ic { width: 22px; height: 22px; border-radius: 7px; }
.banner .dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; }
.banner .dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.5); transition: all .3s; }
.banner .dots i.on { width: 18px; background: #fff; }

/* ---- 卡片与区块 ---- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 12px 12px 0; box-shadow: 0 1px 5px rgba(80,40,20,.04); }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 18px 12px 4px; }
.section-title h3 { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 800; color: var(--tea-dark); position: relative; padding-left: 12px; letter-spacing: 1px; }
.section-title h3::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 17px; border-radius: 2px; background: linear-gradient(180deg, #c1492f, #a0301f); }
.section-title h3 img.ti-img { display: block; width: 22px; height: 22px; border-radius: 6px; object-fit: cover; margin: 0; flex-shrink: 0; }
.section-title .more { font-size: 13px; color: var(--tea); font-weight: 600; }
.section-title .more::after { content: "›"; margin-left: 2px; }

/* ---- 公告 ---- */
/* ---- 公告滚动条 ---- */
.notice-bar {
  display: flex; align-items: center; gap: 8px;
  margin: 12px 12px 0; padding: 8px 12px;
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--tea); border-radius: 10px;
  overflow: hidden;
}
.notice-bar .nb-ic { flex-shrink: 0; font-size: 18px; line-height: 1; display: flex; align-items: center; }
.notice-bar .nb-wrap { flex: 1; min-width: 0; overflow: hidden; height: 20px; position: relative; }
.notice-bar .nb-track { display: flex; flex-direction: column; animation: nb-scroll 8s linear infinite; }
.notice-bar .nb-item { height: 20px; line-height: 20px; font-size: 12px; color: #8a6a3f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice-bar .nb-item b { color: var(--tea-dark); }
.notice-bar { cursor: pointer; }
/* 公告弹窗 */
.notice-mask { position: fixed; inset: 0; background: rgba(20,13,6,.52); z-index: 95; opacity: 0; pointer-events: none; transition: opacity .25s; }
.notice-mask.on { opacity: 1; pointer-events: auto; }
.notice-pop { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -46%) scale(.97); width: 86vw; max-width: 340px; max-height: 78vh; background: var(--card); border: 1px solid var(--line); border-radius: 16px; z-index: 96; opacity: 0; pointer-events: none; transition: all .25s; box-shadow: 0 12px 34px rgba(0,0,0,.28); display: flex; flex-direction: column; overflow: hidden; }
.notice-pop.on { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.notice-pop .np-pophead { padding: 14px 16px; font-size: 16px; font-weight: 800; color: var(--tea-dark); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; letter-spacing: 1px; }
.notice-pop .np-pophead::before { content: ''; width: 5px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, #c1492f, #a0301f); }
.notice-pop .np-body { flex: 1; overflow-y: auto; padding: 0 16px; }
.notice-pop .np-item { cursor: pointer; border-bottom: 1px solid var(--line); }
.notice-pop .np-item:last-child { border-bottom: none; }
.notice-pop .np-item .np-head { display: flex; align-items: center; gap: 8px; padding: 13px 0 11px; }
.notice-pop .np-title { font-size: 14px; font-weight: 700; color: var(--ink); flex: 1; min-width: 0; }
.notice-pop .np-time { font-size: 11px; color: var(--gray); flex-shrink: 0; }
.notice-pop .np-arrow { font-style: normal; font-size: 12px; color: var(--gray); flex-shrink: 0; transition: transform .2s; }
.notice-pop .np-item.open .np-arrow { transform: rotate(180deg); color: var(--tea); }
.notice-pop .np-content { max-height: 0; overflow: hidden; transition: max-height .25s ease; font-size: 13px; color: #5f5348; line-height: 1.7; white-space: pre-wrap; padding: 0 2px; }
.notice-pop .np-item.open .np-content { max-height: 420px; padding-bottom: 13px; }
.notice-pop .np-close { margin: 12px 16px 16px; padding: 11px; border: none; border-radius: 12px; background: linear-gradient(135deg, #c1492f, #a0301f); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 3px; cursor: pointer; box-shadow: 0 4px 12px rgba(163,42,27,.25); }
@keyframes nb-scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

/* ---- 标语条 ---- */
.slogan-bar { margin: 12px 12px 0; padding: 13px 14px; background: linear-gradient(135deg, var(--card), #fdf3ea); border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.slogan-bar .sb-m { font-size: 15px; font-weight: 800; color: var(--tea-dark); letter-spacing: 2px; }
.slogan-bar .sb-s { font-size: 11px; color: var(--gray); margin-top: 4px; letter-spacing: 1px; }

/* ---- 主功能宫格 ---- */
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 12px 0; }
.q-item { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 12px; box-shadow: 0 1px 5px rgba(80,40,20,.04); text-decoration: none; transition: transform .12s; }
.q-item:active { transform: scale(.97); }
.q-item .q-ic { width: 40px; height: 40px; flex-shrink: 0; display: inline-flex; }
.q-item .q-ic .ic { width: 40px; height: 40px; border-radius: 10px; }
.q-b { flex: 1; min-width: 0; }
.q-t { font-size: 14px; font-weight: 800; color: var(--tea-dark); display: block; letter-spacing: 1px; }
.q-s { font-size: 10px; color: var(--gray); display: block; margin-top: 2px; }
.q-go { font-size: 16px; color: #d8c7ae; flex-shrink: 0; font-style: normal; }

/* ---- 今日茶底 · 一行横滑方形卡 ---- */
.tea-grid { display: flex; overflow-x: auto; gap: 10px; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tea-grid::-webkit-scrollbar { display: none; }
.tea-gcard { flex: 0 0 auto; width: 86px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 10px; text-decoration: none; display: flex; flex-direction: column; align-items: center; box-shadow: 0 1px 4px rgba(80,40,20,.05); }
.tg-img { position: relative; width: 70px; height: 70px; border-radius: 10px; overflow: hidden; background: #f3ecdf; }
.tg-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tg-rc { position: absolute; top: 4px; right: 4px; background: linear-gradient(135deg, #c1492f, #a0301f); color: #fff; font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 7px; letter-spacing: 1px; box-shadow: 0 2px 5px rgba(163,42,27,.35); z-index: 2; }
.tg-body { text-align: center; }
.tg-nm { font-size: 12px; font-weight: 700; color: var(--ink); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tg-ds { display: none; }
/* 茶品详情弹窗 */
.tea-mask { position: fixed; inset: 0; background: rgba(20,13,6,.52); z-index: 95; opacity: 0; pointer-events: none; transition: opacity .25s; }
.tea-mask.on { opacity: 1; pointer-events: auto; }
.tea-pop { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -46%) scale(.97); width: 86vw; max-width: 340px; max-height: 82vh; background: var(--card); border: 1px solid var(--line); border-radius: 16px; z-index: 96; opacity: 0; pointer-events: none; transition: all .25s; box-shadow: 0 12px 34px rgba(0,0,0,.28); display: flex; flex-direction: column; overflow: hidden; }
.tea-pop.on { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.tea-pop .tp-img { width: 100%; height: 190px; object-fit: cover; display: block; background: #f3ecdf; }
.tea-pop .tp-body { padding: 14px 16px 4px; overflow-y: auto; }
.tea-pop .tp-head { display: flex; align-items: center; gap: 8px; }
.tea-pop .tp-nm { font-size: 18px; font-weight: 800; color: var(--ink); }
.tea-pop .tp-rc { background: linear-gradient(135deg, #c1492f, #a0301f); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 8px; letter-spacing: 1px; display: none; }
.tea-pop .tp-price { font-size: 15px; font-weight: 800; color: var(--tea); margin-top: 8px; }
.tea-pop .tp-ds { font-size: 13px; color: #5f5348; line-height: 1.7; margin-top: 6px; white-space: pre-wrap; }
.tea-pop .tp-foot { display: flex; gap: 10px; padding: 12px 16px 16px; }
.tea-pop .tp-close, .stall-pop .tp-close { flex: 1; padding: 11px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer; }
.tea-pop .tp-go, .stall-pop .tp-go { flex: 1; text-align: center; padding: 11px; background: linear-gradient(135deg, #c1492f, #a0301f); color: #fff; border-radius: 12px; font-size: 14px; font-weight: 700; text-decoration: none; letter-spacing: 1px; box-shadow: 0 4px 12px rgba(163,42,27,.25); }
/* 摊位详情弹窗 */
.stall-card { cursor: pointer; }
.stall-mask { position: fixed; inset: 0; background: rgba(20,13,6,.52); z-index: 95; opacity: 0; pointer-events: none; transition: opacity .25s; }
.stall-mask.on { opacity: 1; pointer-events: auto; }
.stall-pop { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -46%) scale(.97); width: 86vw; max-width: 340px; max-height: 84vh; background: var(--card); border: 1px solid var(--line); border-radius: 16px; z-index: 96; opacity: 0; pointer-events: none; transition: all .25s; box-shadow: 0 12px 34px rgba(0,0,0,.28); display: flex; flex-direction: column; overflow: hidden; }
.stall-pop.on { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.stall-pop .sp-img { width: 100%; height: 180px; object-fit: cover; display: block; background: #f3ecdf; }
.stall-pop .sp-body { padding: 14px 16px 4px; overflow-y: auto; }
.stall-pop .sp-head { display: flex; align-items: center; gap: 8px; }
.stall-pop .sp-nm { font-size: 18px; font-weight: 800; color: var(--ink); }
.stall-pop .sp-price { background: linear-gradient(135deg, #c1492f, #a0301f); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 12px; }
.stall-pop .sp-addr { margin-top: 10px; font-size: 13px; display: flex; align-items: center; gap: 4px; }
.stall-pop .sp-addr .sp-addr-ic { display: inline-flex; flex-shrink: 0; }
.stall-pop .sp-addr .sp-addr-ic .ic { width: 16px; height: 16px; }
.stall-pop .sp-addr a { color: var(--tea); text-decoration: none; font-weight: 600; }
.stall-pop .sp-time { font-size: 12px; color: var(--gray); margin-top: 8px; }
.stall-pop .sp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.stall-pop .sp-intro { font-size: 13px; color: #5f5348; line-height: 1.7; margin-top: 10px; white-space: pre-wrap; padding-bottom: 6px; }
.stall-pop .sp-foot { display: flex; gap: 10px; padding: 12px 16px 16px; }

/* 导航选择弹层 */
.nav-mask { position: fixed; inset: 0; background: rgba(20,13,6,.52); z-index: 97; opacity: 0; pointer-events: none; transition: opacity .25s; }
.nav-mask.on { opacity: 1; pointer-events: auto; }
.nav-pop { position: fixed; left: 0; right: 0; bottom: 0; z-index: 98; background: var(--card); border-radius: 18px 18px 0 0; padding: 6px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .28s; box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
.nav-pop.on { transform: translateY(0); }
.nav-pop .nav-bar { text-align: center; padding: 12px 0 4px; font-size: 15px; font-weight: 800; color: var(--ink); }
.nav-pop .nav-bar::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 2px; background: #e3d8c4; margin: 0 auto 12px; }
.nav-pop .nav-tip { text-align: center; font-size: 12px; color: var(--gray); margin-bottom: 12px; }
.nav-pop .nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.nav-pop .nav-item { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 4px 12px; border-radius: 14px; background: #faf5ec; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.nav-pop .nav-item:active { background: #f3ead8; }
.nav-pop .nav-item .nav-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }
.nav-pop .nav-item .nav-tx { font-size: 12px; font-weight: 700; }
.nav-pop .nav-cancel { margin-top: 10px; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--gray); font-size: 14px; font-weight: 700; cursor: pointer; }

/* 品牌卖点 */
.feat { text-align: center; padding: 18px 16px 16px; }
.feat-sub { font-size: 12px; color: var(--gray); letter-spacing: 1px; }
.feat-slogan { font-size: 20px; font-weight: 800; color: var(--tea-dark); margin-top: 6px; }
.feat-grid { display: flex; gap: 10px; margin-top: 14px; }
.feat-item { flex: 1; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 14px 4px 12px; }
.feat-ic { font-size: 36px; line-height: 1; }
.feat-nm { font-size: 13px; font-weight: 700; margin-top: 8px; }
.feat-ds { font-size: 11px; color: var(--gray); margin-top: 3px; }

/* ---- 茶摊须知 ---- */
.notice2 { font-size: 13px; color: #57534e; }
.notice2-h { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--tea-dark); font-size: 14px; margin-bottom: 6px; }
.notice2-ic { font-size: 18px; line-height: 1; display: flex; }
.notice2-list { list-style: none; }
.notice2-list li { position: relative; padding-left: 14px; margin-top: 6px; line-height: 1.55; }
.notice2-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
/* notice2 已停用，保留样式兼容历史 */

/* ---- 茶品卡片列表（横向滑动） ---- */
.tea-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tea-scroll::-webkit-scrollbar { display: none; }
.tea-list { display: grid; grid-template-columns: repeat(6, calc((100% - 20px) / 3)); gap: 10px; }
.tea-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 6px 12px; box-sizing: border-box; min-width: 0; box-shadow: 0 1px 5px rgba(80,40,20,.04); }
.tc-ico { font-size: 38px; line-height: 1; }
.tc-ico .ic { border-radius: 10px; }
.tc-info { flex: none; min-width: 0; width: 100%; }
.tc-nm { font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 8px; }
.tc-rc { position: absolute; top: 5px; right: 5px; font-size: 10px; color: var(--amber); background: #fdf0d8; padding: 1px 7px; border-radius: 8px; transform: rotate(10deg); }
.tc-ds { font-size: 11px; color: var(--gray); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- 摊位卡片 ---- */
.stall-card { display: flex; gap: 12px; }
.stall-card .l { flex-shrink: 0; width: 84px; height: 84px; border-radius: 12px; background: linear-gradient(135deg, #f3e7cf, #e6d3ac); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 36px; overflow: hidden; }
.stall-card .l img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-addr { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #1d4ed8; text-decoration: none; }
.st-addr-ic { font-size: 15px; line-height: 1; display: inline-flex; }
.st-addr-ic img { border-radius: 4px; }
.st-addr-tx { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.st-time { font-size: 12px; color: var(--gray); margin-top: 3px; }

/* ---- 加盟招商卡 ---- */
.fr-card { background: linear-gradient(135deg, #54201a, #a0301f 55%, #c1492f); color: #fff; padding: 0; overflow: hidden; box-shadow: 0 4px 14px rgba(163,42,27,.25); }
.fr-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 14px 13px; }
.fr-l { display: flex; align-items: center; min-width: 0; }
.fr-ic { font-size: 44px; line-height: 1; margin-right: 10px; display: inline-flex; flex-shrink: 0; }
.fr-ic img { border-radius: 10px; }
.fr-t { font-size: 17px; font-weight: 800; }
.fr-s { font-size: 12px; opacity: .85; margin-top: 4px; }
.fr-btn { flex-shrink: 0; background: linear-gradient(135deg, #f2b95c, #e0922d); color: #4a2c12; font-weight: 800; font-size: 13px; padding: 8px 14px; border-radius: 20px; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.fr-phone { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-top: 1px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .12); font-size: 12px; }
.fr-pic { font-size: 16px; line-height: 1; display: inline-flex; }
.fr-pic img { border-radius: 4px; }
.fr-pn { margin-left: auto; font-weight: 800; color: #fff; text-decoration: none; font-size: 14px; }

/* ---- 菜单页 ---- */
.m-note { display: flex; align-items: center; gap: 10px; background: #fdf3e3; border: 1px dashed #e9c58a; border-radius: 12px; padding: 12px 14px; margin: 12px 12px 0; }
.m-note-i { font-size: 20px; line-height: 1; display: inline-flex; flex-shrink: 0; }
.m-note-i img { border-radius: 6px; }
.m-note-b { min-width: 0; }
.m-note-t { font-size: 13px; font-weight: 700; color: #57534e; }
.m-note-s { font-size: 12px; color: #8a7a63; margin-top: 3px; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 12px; }
.m-card { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; min-width: 0; }
.m-top { display: flex; align-items: flex-start; justify-content: space-between; }
.m-ic { font-size: 34px; line-height: 1; display: inline-flex; }
.m-ic img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.m-price { font-size: 13px; font-weight: 800; color: var(--red); }
.m-price .m-unit, .m-price em.m-unit { font-style: normal; font-size: 11px; font-weight: 400; color: var(--gray); }
.m-free { color: var(--tea); font-size: 12px; font-weight: 700; background: #f6e7d8; padding: 1px 8px; border-radius: 10px; }
.m-nm { font-size: 14px; font-weight: 700; margin-top: 10px; display: flex; align-items: center; gap: 5px; }
.m-nm .badge { font-size: 10px; padding: 1px 6px; border-radius: 6px; }
.m-ds { font-size: 11px; color: var(--gray); margin-top: 4px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ti-img { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; vertical-align: -3px; }
.tci-img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; display: block; margin: 0 auto; }
.m-cats { display: flex; gap: 10px; margin: 14px 12px 0; }
.m-cat { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--tea-dark); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 0; box-shadow: 0 2px 8px rgba(139, 90, 43, .05); }
.m-cat .ti-img { width: 20px; height: 20px; border-radius: 6px; }
.m-unit { font-size: 11px; color: var(--gray); margin-top: 6px; }
.m-cta { text-align: center; padding: 18px 14px; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; margin: 14px 12px 0; }
.m-cta-t { font-size: 13px; color: var(--gray); margin-bottom: 12px; }
.stall-card .r { flex: 1; min-width: 0; }
.stall-card .nm { font-size: 16px; font-weight: 800; }
.stall-card .meta { font-size: 12px; color: var(--gray); margin-top: 4px; line-height: 1.8; }
.stall-card .meta i { font-style: normal; color: var(--tea); }
.stall-card .tags { margin-top: 6px; }
.stall-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.stall-card .tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; padding: 3px 9px; border-radius: 7px; margin: 0; }
.stall-card .tag .tg-ic { font-size: 14px; line-height: 1; display: inline-flex; }
.stall-card .tag .tg-ic img { border-radius: 4px; }
.tag-water { color: #0f766e; background: #d6f2ec; }
.tag-night { color: #4338ca; background: #e4e7ff; }
.tag-tea { color: #a05a1f; background: #f5ecd8; }
.tag-wind { color: #0369a1; background: #def0fc; }
.tag-leaf { color: #15803d; background: #dcf3e0; }
.tag-city { color: #a05a1f; background: #f6e7d8; }
.tag-wc { color: #0369a1; background: #dbeafe; }
.tag-wifi { color: #0d9488; background: #ccfbf1; }
.tag-plain { color: #57534e; background: #f0ece1; }
.stall-card .price { color: var(--red); font-weight: 800; font-size: 15px; }
.stall-card .price small { font-size: 11px; color: var(--gray); font-weight: 400; }

/* ---- 按钮 ---- */
.btn {
  display: block; text-align: center; padding: 12px; border-radius: 12px;
  font-size: 15px; font-weight: 700; border: none; cursor: pointer;
  background: linear-gradient(135deg, #c1492f, #a0301f); color: #fff;
  letter-spacing: 2px; box-shadow: 0 4px 12px rgba(163,42,27,.25);
}
.btn:active { transform: scale(.98); }
.btn.block { width: 100%; }
.btn.ghost { background: var(--cream); color: var(--tea); border: 1px solid #e8cfa8; }
.btn.sm { display: inline-block; padding: 7px 16px; font-size: 13px; border-radius: 10px; }
.btn.green { background: linear-gradient(135deg, #10b981, #059669); }
.btn.danger { background: linear-gradient(135deg, #ef4444, #dc2626); }
.btn:disabled { opacity: .6; }

/* ---- 表单 ---- */
.form { margin-top: 4px; }
.form .field { margin-bottom: 14px; }
.form label { display: block; font-size: 13px; color: var(--gray); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #e2d5c2; border-radius: 10px; background: #fff; outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,158,11,.12); }
.form textarea { min-height: 90px; resize: vertical; }

/* ---- 列表页条 ---- */
.list-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
a.list-row { color: inherit; text-decoration: none; }
.list-row:last-child { border-bottom: none; }
.list-row .lb { display: flex; align-items: center; gap: 10px; }
.list-row .lb .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.list-row .rt { color: var(--gray); font-size: 14px; }

/* ---- 状态徽章 ---- */
.badge { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 10px; font-weight: 600; }
.badge.warn { background: #fdf0d8; color: #a05a1f; }
.badge.ok { background: #d1fae5; color: #047857; }
.badge.done { background: #e0e7ff; color: #4338ca; }
.badge.off { background: #fee2e2; color: #b91c1c; }

/* ---- 底部导航 ---- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--card); border-top: 1px solid var(--line);
  display: flex; padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; font-size: 10px; color: var(--gray); padding: 0; letter-spacing: 1px; }
.tabbar a .ic { width: 32px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 23px; border-radius: 9px; background: #f1e9da; transition: all .18s; }
.tabbar a.on .ic { background: linear-gradient(135deg, #c1492f, #a0301f); filter: none; transform: scale(1.06); box-shadow: 0 3px 8px rgba(163,42,27,.30); }
.tabbar a.on { color: var(--tea); font-weight: 700; }

/* ---- 登录页 ---- */
.auth-wrap { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; padding: 30px 24px; }
.auth-logo { text-align: center; margin-bottom: 30px; }
.auth-logo .cup { font-size: 56px; }
.auth-logo h1 { font-size: 26px; color: var(--tea-dark); margin-top: 8px; }
.auth-logo p { color: var(--gray); font-size: 13px; margin-top: 4px; }
.auth-tabs { display: flex; background: #f0e8da; border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.auth-tabs a { flex: 1; text-align: center; padding: 9px; border-radius: 9px; font-size: 14px; color: var(--gray); }
.auth-tabs a.on { background: #fff; color: var(--tea-dark); font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

/* ---- 我的页 ---- */
.me-head { position: relative; overflow: hidden; background: linear-gradient(135deg, #7c2a1d, #c1492f); color: #fff; padding: 30px 20px 26px; border-radius: 0 0 24px 24px; }
.me-head-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.me-head-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(50,30,12,.86) 0%, rgba(120,76,32,.72) 100%); }
.me-head-in { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; }
.me-head .ava { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.45); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.me-head .nm { font-size: 19px; font-weight: 800; margin-top: 2px; }
.me-head .mb { font-size: 13px; opacity: .85; margin-top: 4px; }
.me-cards { margin-top: -20px; position: relative; z-index: 2; }
.me-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.me-grid .cell { background: var(--card); border-radius: 12px; padding: 16px 6px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.me-grid .cell .c-ic { font-size: 22px; line-height: 1; display: inline-flex; color: var(--tea); }
.me-grid .cell .n { font-size: 22px; font-weight: 800; color: var(--tea); margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.me-grid .cell .t { font-size: 12px; color: var(--gray); margin-top: 2px; }

/* ---- 详情弹层/空态 ---- */
.empty { text-align: center; padding: 50px 20px; color: var(--gray); }
.empty .ic { font-size: 48px; margin-bottom: 10px; }
.fab { position: fixed; right: 16px; bottom: 78px; z-index: 55; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--amber), #c9853a); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 6px 20px rgba(201,133,58,.4); }

/* ---- 提示 ---- */
.toast { position: fixed; left: 50%; top: 45%; transform: translate(-50%, -50%); background: rgba(43,36,28,.92); color: #fff; padding: 10px 20px; border-radius: 10px; font-size: 14px; z-index: 99; display: none; max-width: 78%; text-align: center; }
.toast.show { display: block; animation: fade .25s; }
@keyframes fade { from { opacity: 0; transform: translate(-50%, -48%); } to { opacity: 1; transform: translate(-50%, -50%); } }

/* ---- 详情页通用 ---- */
.page-head { position: sticky; top: 0; z-index: 50; background: rgba(246,241,231,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.page-head .back { font-size: 20px; }
.page-head .t { font-size: 16px; font-weight: 700; }
.big-title { font-size: 22px; font-weight: 800; color: var(--tea-dark); }
.desc { font-size: 14px; color: #57534e; margin-top: 8px; }
.phone-line { display: flex; align-items: center; justify-content: space-between; background: #fdf3e3; border-radius: 12px; padding: 12px 16px; }

/* ---- 在线客服(首页右下角) ---- */
.kf-float { position: fixed; right: 0; bottom: 120px; z-index: 90; width: 25px; display: flex; flex-direction: column; align-items: center; gap: 5px; background: var(--tea); color: #fff; border: none; border-radius: 12px 0 0 12px; padding: 10px 0; cursor: pointer; box-shadow: 0 4px 14px rgba(163,42,27,.3); }
.kf-float .kf-ic { width: 14px; height: 14px; display: inline-flex; }
.kf-float .kf-ic img { width: 14px; height: 14px; border-radius: 4px; }
.kf-float .kf-tx { writing-mode: vertical-rl; font-size: 12px; font-weight: 700; letter-spacing: 3px; line-height: 1.2; }
.kf-mask { position: fixed; inset: 0; background: rgba(20,13,6,.52); z-index: 95; opacity: 0; pointer-events: none; transition: opacity .25s; }
.kf-mask.on { opacity: 1; pointer-events: auto; }
.kf-pop { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -46%) scale(.97); width: 300px; max-width: 84vw; background: #fffdf7; border-radius: 16px; z-index: 96; opacity: 0; pointer-events: none; transition: all .25s; box-shadow: 0 12px 34px rgba(0,0,0,.28); overflow: hidden; }
.kf-pop.on { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.kf-pop-h { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; background: var(--tea-dark); color: #fff; font-size: 15px; font-weight: 700; }
.kf-pop-h i { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 13px; cursor: pointer; }
.kf-pop-b { padding: 18px 16px 20px; text-align: center; }
.kf-qr { width: 216px; height: 216px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; margin: 0 auto; display: block; }
.kf-tip { font-size: 13px; color: var(--gray); margin-top: 10px; }
.kf-call { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; background: var(--amber); color: #fff; border-radius: 24px; padding: 11px; font-size: 15px; font-weight: 700; text-decoration: none; }
.kf-call .kf-call-ic { width: 18px; height: 18px; display: inline-flex; }
.kf-call .kf-call-ic img { width: 18px; height: 18px; border-radius: 5px; }

/* ---- 加盟页 ---- */
.fr-hero { position: relative; margin: 12px 12px 0; border-radius: 16px; overflow: hidden; height: 215px; }
.fr-hero-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.fr-hero-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(20,10,5,.12) 0%, rgba(20,10,5,.82) 100%); }
.fr-hero-txt { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; }
.fr-hero-badge { align-self: flex-start; font-size: 11px; background: linear-gradient(135deg, var(--amber), #c9853a); color: #fff; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 8px; }
.fr-hero-title { font-size: 20px; font-weight: 800; line-height: 1.35; }
.fr-hero-sub { font-size: 12px; opacity: .92; margin-top: 6px; }
.fr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 12px 14px; }
.fr-cell { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px; box-shadow: 0 2px 8px rgba(139,90,43,.05); }
.fr-cell .ic { font-size: 26px; line-height: 1; display: inline-flex; }
.fr-cell .t { font-size: 14px; font-weight: 800; color: var(--tea-dark); margin-top: 8px; }
.fr-cell .d { font-size: 11px; color: var(--gray); margin-top: 4px; line-height: 1.5; }
.fr-cell .tag { display: inline-block; font-size: 10px; padding: 3px 9px; border-radius: 8px; margin-top: 8px; font-weight: 600; }
.bk-head { padding: 22px 20px 14px; }
.bk-title { font-size: 24px; font-weight: 800; color: var(--tea-dark); }
.bk-sub { font-size: 13px; color: var(--gray); margin-top: 6px; }
.bk-card { margin: 0 12px 12px; padding: 14px 14px 6px; }
.bk-label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--tea-dark); margin-bottom: 12px; }
.bk-no { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--amber), #c9853a); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bk-stalls { display: flex; flex-direction: column; gap: 10px; }
.bk-stall { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; cursor: pointer; position: relative; }
.bk-stall.on { border-color: var(--amber); background: #fdf5e6; }
.bk-stall-img { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--cream); display: flex; align-items: center; justify-content: center; }
.bk-stall-img img { width: 100%; height: 100%; object-fit: cover; }
.bk-stall-ico { font-size: 26px; line-height: 1; display: inline-flex; }
.bk-stall-info { flex: 1; min-width: 0; }
.bk-stall-nm { font-size: 14px; font-weight: 700; color: var(--tea-dark); }
.bk-stall-tag { font-size: 11px; color: var(--gray); margin-top: 3px; }
.bk-check { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d9cfc0; flex-shrink: 0; position: relative; }
.bk-stall.on .bk-check { border-color: var(--amber); background: var(--amber); }
.bk-stall.on .bk-check::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bk-date-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.bk-date-row input[type="date"] { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #e2d5c2; border-radius: 10px; background: #fff; font-size: 14px; outline: none; color: var(--tea-dark); }
.bk-date-row input[type="date"]:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,158,11,.12); }
.bk-date-tip { font-size: 11px; color: var(--gray); white-space: nowrap; }
.bk-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bk-time { border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 10px 4px; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--tea-dark); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bk-time em { font-style: normal; font-size: 10px; color: var(--gray); font-weight: 400; }
.bk-time.on { border-color: var(--amber); background: #fdf5e6; color: #a05a1f; }
.bk-time.on em { color: #a05a1f; }
.bk-persons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.bk-person { border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 10px 0; cursor: pointer; font-size: 15px; font-weight: 800; color: var(--tea-dark); display: flex; align-items: baseline; justify-content: center; gap: 1px; }
.bk-person em { font-style: normal; font-size: 10px; color: var(--gray); font-weight: 400; }
.bk-person.on { border-color: var(--amber); background: #fdf5e6; color: #a05a1f; }
.bk-person.on em { color: #a05a1f; }
.bk-input { margin-bottom: 10px; }
.bk-input label { display: block; font-size: 12px; color: var(--gray); margin-bottom: 5px; }
.bk-input input { width: 100%; padding: 11px 13px; border: 1px solid #e2d5c2; border-radius: 10px; background: #fff; font-size: 14px; outline: none; box-sizing: border-box; }
.bk-input input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,158,11,.12); }
.bk-card textarea { width: 100%; box-sizing: border-box; min-height: 72px; resize: vertical; padding: 11px 13px; border: 1px solid #e2d5c2; border-radius: 10px; background: #fff; font-size: 14px; outline: none; font-family: inherit; }
.bk-card textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,158,11,.12); }
.bk-note { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: var(--gray); margin: 2px 20px 14px; line-height: 1.6; }
.bk-note-ico { font-size: 14px; line-height: 1.4; display: inline-flex; flex-shrink: 0; }
.bk-submit.btn.block { display: block; width: calc(100% - 24px); box-sizing: border-box; margin: 0 12px 28px; }

/* ---- 会员卡(我的页) ---- */
.mem-card { position: relative; overflow: hidden; margin: 12px 12px 0; background: linear-gradient(135deg, #7c2a1d, #c1492f); border-radius: 16px; padding: 16px; color: #fff; box-shadow: 0 6px 18px rgba(124,42,29,.3); }
.mem-deco { position: absolute; right: -14px; top: -14px; font-size: 88px; opacity: .10; transform: rotate(-12deg); pointer-events: none; }
.mem-deco .ic { width: 88px; height: 88px; border-radius: 0; }
.mem-row { position: relative; display: flex; align-items: flex-start; justify-content: space-between; }
.mem-lv-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24); border-radius: 12px; padding: 3px 10px; }
.mem-lv-badge .ic { width: 16px; height: 16px; }
.mem-balance { font-size: 32px; font-weight: 800; margin-top: 10px; line-height: 1; }
.mem-y { font-size: 17px; font-weight: 700; margin-right: 2px; }
.mem-tip { font-size: 11px; opacity: .75; margin-top: 6px; }
.mem-right { text-align: right; position: relative; }
.mem-total { font-size: 11px; opacity: .85; background: rgba(255,255,255,.13); border-radius: 9px; padding: 3px 8px; }
.mem-total b { color: #fcd34d; }
.mem-disc { font-size: 13px; font-weight: 700; color: #fcd34d; margin-top: 8px; }
.mem-exp { font-size: 11px; opacity: .8; margin-top: 4px; }
.mem-actions { position: relative; display: flex; gap: 8px; margin-top: 14px; }
.mem-btn { flex: 1; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; padding: 8px 0; text-align: center; font-size: 12px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; gap: 5px; }
.mem-btn .ic { width: 15px; height: 15px; }
.mem-btn:active { background: rgba(255,255,255,.24); }

/* ---- 充值页 ---- */
.rch-head { margin: 12px 12px 0; background: linear-gradient(135deg, #7c2a1d, #c1492f); border-radius: 16px; padding: 20px 18px; color: #fff; }
.rch-balance-label { font-size: 12px; opacity: .82; }
.rch-balance { font-size: 38px; font-weight: 800; margin-top: 4px; line-height: 1.1; }
.rch-head-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; opacity: .92; margin-top: 10px; flex-wrap: wrap; }
.rch-head-meta .ic { width: 16px; height: 16px; }
.rch-vip { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.16); border-radius: 10px; padding: 3px 9px; font-weight: 700; }
.rch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 12px 14px; }
.rch-pkg { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 12px; cursor: pointer; text-align: center; box-shadow: 0 2px 8px rgba(139,90,43,.05); }
.rch-pkg.on { border-color: var(--amber); background: #fdf5e6; }
.rch-pkg-bonus { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--amber), #c9853a); border-radius: 10px; padding: 2px 9px; }
.rch-pkg-amt { font-size: 26px; font-weight: 800; color: var(--tea-dark); margin-top: 10px; line-height: 1; }
.rch-pkg-name { font-size: 12px; color: var(--gray); margin-top: 8px; }
.rch-pkg-total { font-size: 11px; color: var(--red); font-weight: 700; margin-top: 4px; }
.rch-tag { position: absolute; top: -1px; right: -1px; background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 0 14px 0 12px; }
.rch-pkg-check { position: absolute; right: 8px; top: 8px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #d9cfc0; }
.rch-pkg.on .rch-pkg-check { border-color: var(--amber); background: var(--amber); }
.rch-pkg.on .rch-pkg-check::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rch-benefit { margin: 0 12px 12px; }
.rch-benefit-t { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--tea-dark); margin-bottom: 10px; }
.rch-benefit-t .ic { width: 18px; height: 18px; }
.rch-benefit-row { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: #57534e; line-height: 1.7; }
.rch-benefit-row .ic { width: 15px; height: 15px; margin-top: 1px; flex-shrink: 0; }
.rch-submit.btn.block { display: block; width: calc(100% - 24px); box-sizing: border-box; margin: 0 12px 10px; }
.rch-tip { font-size: 11px; color: var(--gray); text-align: center; margin: 0 20px 16px; }

/* ---- 会员页(vip) ---- */
.vip-head { margin: 12px 12px 0; }
.vip-card { background: linear-gradient(135deg, #7c2a1d, #c1492f); border-radius: 16px; padding: 18px; color: #fff; }
.vip-card-top { display: flex; align-items: center; justify-content: space-between; }
.vip-level { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; background: rgba(255,255,255,.16); border-radius: 12px; padding: 3px 12px 3px 4px; }
.vip-level .ic { width: 19px; height: 19px; }
.vip-lvic { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.vip-no { font-size: 11px; opacity: .75; letter-spacing: 1px; }
.vip-nm { font-size: 20px; font-weight: 800; margin-top: 14px; }
.vip-meta { display: flex; gap: 10px; font-size: 12px; opacity: .9; margin-top: 8px; }
.vip-meta span { background: rgba(255,255,255,.13); border-radius: 9px; padding: 3px 9px; }
.vip-bar { background: #f6e7d8; border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.vip-bar-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--tea-dark); font-weight: 700; }
.vip-bar-track { height: 8px; background: #e2d5c2; border-radius: 6px; margin-top: 8px; overflow: hidden; }
.vip-bar-fill { height: 100%; background: linear-gradient(135deg, var(--amber), #c9853a); border-radius: 6px; }
.vip-benefits { margin: 0 12px 14px; }
.vip-bitem { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 12px; margin-bottom: 10px; }
.vip-bitem.on { border-color: #e9c58a; background: #fdf5e6; }
.vip-bic { font-size: 24px; line-height: 1; display: inline-flex; flex-shrink: 0; }
.vip-binfo { flex: 1; min-width: 0; }
.vip-bt { font-size: 13px; font-weight: 800; color: var(--tea-dark); }
.vip-bd { font-size: 11px; color: var(--gray); margin-top: 3px; line-height: 1.5; }
.vip-badge { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 8px; background: #f5ecd8; color: #a05a1f; white-space: nowrap; flex-shrink: 0; }
.vip-bitem.on .vip-badge { background: #f5ecd8; color: #a05a1f; }
.vip-cta { margin: 0 12px 14px; text-align: center; }
.vip-cta-t { font-size: 15px; font-weight: 800; color: var(--tea-dark); }
.vip-cta-d { font-size: 12px; color: var(--gray); margin: 6px 0 12px; line-height: 1.6; }

/* ---- 推广页(invite) ---- */
.iv-head { padding: 22px 20px 12px; }
.iv-title { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 800; color: var(--tea-dark); }
.iv-title .ic { width: 22px; height: 22px; }
.iv-sub { font-size: 12px; color: var(--gray); margin-top: 6px; }
.iv-code-card { margin: 0 12px 12px; text-align: center; padding: 18px 14px; }
.iv-code-label { font-size: 12px; color: var(--gray); }
.iv-code-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 10px; }
.iv-code { font-size: 34px; font-weight: 800; letter-spacing: 6px; color: var(--tea-dark); font-family: monospace; }
.iv-link-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; }
.iv-link { font-size: 10px; color: var(--gray); max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: rtl; }
.iv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 12px 14px; }
.iv-stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 6px; text-align: center; }
.iv-stat .n { font-size: 20px; font-weight: 800; color: var(--tea); }
.iv-stat .t { font-size: 11px; color: var(--gray); margin-top: 3px; }
