/* 店掌柜 · 会员客户端（移动 H5） */
:root {
  --cream: #f6f3ec;
  --cream-2: #efeae0;
  --panel: #ffffff;
  --ink: #1d2522;
  --ink-2: #4d5752;
  --muted: #8c948e;
  --line: #eae4d8;
  --line-2: #f1ede4;
  --brand: #17584a;
  --brand-2: #226b59;
  --brand-soft: #e8f0ec;
  --gold: #b1874a;
  --gold-soft: #f7efdf;
  --danger: #bf554c;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(29, 37, 34, .03), 0 12px 30px rgba(46, 53, 48, .07);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  background: var(--cream-2);
  color: var(--ink);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 15px; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* ---------- 启动过渡 ---------- */
body.splash-open { overflow: hidden; }
.cl-splash {
  position: fixed; inset: 0; z-index: 60; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(90% 70% at 50% 38%, #0f4739 0%, #0b3a2e 55%, #082f26 100%);
  color: #fff; transition: opacity .3s ease;
}
.cl-splash.is-hiding { opacity: 0; }
.cl-splash-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .38; }
.cl-splash::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 36, 30, .60), rgba(10, 36, 30, .82));
}
.cl-splash-mark {
  position: relative; z-index: 2;
  width: 62px; height: 62px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24);
  font-family: Georgia, "Songti SC", serif; font-size: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18); overflow: hidden;
  transition: opacity .2s ease;
}
.cl-splash-mark.is-loading { opacity: 0; }
.cl-splash-mark.has-logo { background: #fff; padding: 0; }
.cl-splash-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-splash-title { position: relative; z-index: 2; margin: 2px 0 -4px; font-family: Georgia, "Songti SC", serif; font-size: 25px; letter-spacing: 2px; }
.cl-splash-text { position: relative; z-index: 2; font-size: 13px; letter-spacing: 2px; color: rgba(255, 255, 255, .72); }
.cl-splash.has-image .cl-splash-bg { opacity: .32; }
.cl-splash.has-image::before { background: linear-gradient(180deg, rgba(10, 36, 30, .58), rgba(10, 36, 30, .84)); }

/* ---------- 登录 ---------- */
.cl-login {
  position: fixed; inset: 0; display: flex; align-items: flex-start; justify-content: center;
  background: radial-gradient(120% 80% at 15% 0%, #1d6653 0%, #12463b 55%, #0d3730 100%);
  padding: 24px; overflow-y: auto; overflow-x: hidden;
}
.cl-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .16; }
.cl-orb-1 { width: 280px; height: 280px; background: #f4dcae; left: -90px; top: -60px; }
.cl-orb-2 { width: 340px; height: 340px; background: #7fb5a0; right: -130px; bottom: -100px; }
.cl-login-card {
  position: relative; width: 100%; max-width: 400px; background: rgba(255, 255, 255, .97);
  border-radius: 26px; padding: 34px 28px 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .28); margin: auto;
}
.cl-logo {
  width: 54px; height: 54px; border-radius: 16px; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 27px; font-family: Georgia, "Songti SC", serif;
  margin-bottom: 16px; box-shadow: 0 8px 20px rgba(23, 88, 74, .28); overflow: hidden;
}
.cl-logo.has-logo, .cl-hero-mark.has-logo { background: #fff; padding: 0; }
.cl-logo img, .cl-hero-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-login-card h1 { margin: 0; font-size: 23px; letter-spacing: .5px; }
.cl-login-sub { margin: 7px 0 18px; color: var(--muted); font-size: 13px; letter-spacing: .3px; }
.cl-refhint {
  margin: 0 0 14px; padding: 9px 12px; border-radius: 10px;
  background: #fff8e8; border: 1px dashed #d9b977; color: #8a6426; font-size: 12px; line-height: 1.5;
}
.cl-register-link {
  width: 100%; border: 0; background: transparent; color: var(--brand);
  font-size: 13px; padding: 11px 0 2px; text-decoration: underline; text-underline-offset: 3px;
}
.cl-input-wrap { margin-bottom: 14px; }
.cl-input-wrap label { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 7px; letter-spacing: .3px; }
.cl-input-wrap input {
  width: 100%; border: 1px solid var(--line); background: #fbfaf6; border-radius: 12px;
  padding: 13px 14px; outline: none; transition: .18s;
}
.cl-input-wrap input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(23, 88, 74, .1); }
.cl-err { min-height: 20px; font-size: 12.5px; color: var(--danger); margin: 2px 0 8px; }
.cl-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 12px;
  padding: 12px 18px; font-weight: 500; transition: .18s;
}
.cl-btn-main { width: 100%; background: var(--brand); border-color: var(--brand); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: 1px; padding: 14px; }
.cl-btn-main:hover { background: var(--brand-2); }
.cl-btn-main:disabled { opacity: .6; }
.cl-demo { margin-top: 16px; text-align: center; font-size: 12px; color: var(--muted); background: var(--line-2); border-radius: 8px; padding: 8px; }
.cl-forgot { margin-top: 10px; text-align: center; font-size: 12px; color: var(--muted); }
.cl-back { display: block; text-align: center; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.cl-back:hover { color: var(--brand); }

/* ---------- 框架 ---------- */
.cl-app {
  max-width: 520px; margin: 0 auto; min-height: 100vh; background: var(--cream);
  display: flex; flex-direction: column; box-shadow: 0 0 40px rgba(30, 35, 30, .06);
}
.cl-top {
  position: sticky; top: 0; z-index: 20; background: rgba(246, 243, 236, .93);
  backdrop-filter: blur(14px); padding: 16px 20px 12px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(234, 228, 216, .7);
}
.cl-top-name { font-size: 17px; font-weight: 600; letter-spacing: .5px; }
.cl-top-sub { font-size: 9.5px; color: var(--muted); letter-spacing: 2px; margin-top: 3px; }
.cl-bell {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--ink-2); display: flex; align-items: center; justify-content: center; position: relative;
}
.cl-bell .cl-dot { position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 2px #fff; }
.cl-main { flex: 1; padding: 18px 18px 100px; }
.cl-pane { display: block; }

/* ---------- 首页 ---------- */
.cl-hero {
  position: relative; overflow: hidden; border-radius: 22px; padding: 22px 22px 18px; color: #fff;
  background: linear-gradient(135deg, #12463b 0%, #1b5f4e 52%, #2b725d 100%);
  box-shadow: 0 16px 34px rgba(18, 70, 59, .24);
}
.cl-hero::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -90px;
  border-radius: 50%; background: radial-gradient(circle, rgba(244, 220, 174, .28), transparent 70%);
}
.cl-hero-row { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.cl-greet { font-size: 12px; color: rgba(255, 255, 255, .66); letter-spacing: .5px; }
.cl-hero-name { font-size: 21px; font-weight: 600; margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.cl-level { font-style: normal; font-size: 10.5px; font-weight: 500; padding: 3px 8px; border-radius: 20px; background: rgba(244, 220, 174, .18); border: 1px solid rgba(244, 220, 174, .45); color: #f4dcae; letter-spacing: .5px; }
.cl-hero-mark { font-family: Georgia, "Songti SC", serif; font-size: 18px; color: rgba(244, 220, 174, .7); border: 1px solid rgba(244, 220, 174, .35); width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cl-bal-label { margin-top: 22px; font-size: 11px; color: rgba(255, 255, 255, .6); letter-spacing: 1px; }
.cl-balance { display: flex; align-items: baseline; gap: 4px; margin-top: 2px; }
.cl-cur { font-size: 17px; color: rgba(255, 255, 255, .8); }
.cl-balance #h-balance { font-size: 38px; font-weight: 700; letter-spacing: .5px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cl-bal-btn { margin-left: auto; align-self: center; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .1); color: #fff; border-radius: 20px; padding: 6px 12px; font-size: 12px; }
.cl-hero-stats { display: flex; gap: 0; margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 13px; position: relative; z-index: 1; }
.cl-hero-stats > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cl-hero-stats b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cl-hero-stats span { font-size: 11px; color: rgba(255, 255, 255, .55); }
.cl-vip-hint { margin-top: 10px; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .10); color: #f4dca9; font-size: 11.5px; line-height: 1.55; position: relative; z-index: 1; }
.cl-vip-hint-light { background: #f7f1e6; border: 1px solid #ede1cc; color: #8a6a35; }

.cl-note { margin-top: 14px; background: var(--gold-soft); color: #79603a; border: 1px solid #efe0c2; border-radius: 14px; padding: 11px 14px; font-size: 12.5px; line-height: 1.6; }
.cl-next { margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 13px 16px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); }
.cl-next .cl-next-date { background: var(--brand-soft); color: var(--brand); border-radius: 12px; padding: 8px 10px; text-align: center; min-width: 62px; }
.cl-next .cl-next-date b { display: block; font-size: 16px; line-height: 1.1; }
.cl-next .cl-next-date span { font-size: 10.5px; }
.cl-next .cl-next-main { flex: 1; min-width: 0; }
.cl-next .cl-next-main b { display: block; font-size: 14px; }
.cl-next .cl-next-main span { font-size: 12px; color: var(--muted); }

.cl-sec { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 2px 12px; }
.cl-sec h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: .3px; }
.cl-sec-tip { font-size: 11.5px; color: var(--muted); }
.cl-sec-goods { margin-top: 28px; }

.cl-items { display: flex; flex-direction: column; gap: 10px; }
.cl-item {
  display: flex; align-items: center; gap: 13px; background: var(--panel); border: 1px solid var(--line-2);
  border-radius: 16px; padding: 14px; box-shadow: 0 3px 12px rgba(40, 45, 40, .035);
  transition: transform .18s, box-shadow .18s;
}
.cl-item:active { transform: scale(.992); }
.cl-item-ico {
  width: 48px; height: 48px; border-radius: 14px; flex: 0 0 48px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #edf3ef, #e2ece7); color: var(--brand); font-size: 18px; font-weight: 600;
  font-family: Georgia, "Songti SC", serif;
}
.cl-item-main { flex: 1; min-width: 0; }
.cl-item-main h3 { margin: 0; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-item-main p { margin: 3px 0 5px; font-size: 11.5px; color: var(--muted); }
.cl-price { display: flex; align-items: baseline; gap: 7px; }
.cl-price b { color: var(--brand); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cl-price b::before { content: "¥"; font-size: 11px; font-weight: 500; margin-right: 1px; }
.cl-price s { color: #b3b8b4; font-size: 11.5px; }
.cl-price em { font-style: normal; font-size: 10px; color: var(--gold); background: var(--gold-soft); border-radius: 4px; padding: 1px 5px; }
.cl-book-btn {
  flex: 0 0 auto; border: 1px solid var(--brand); background: var(--brand-soft); color: var(--brand);
  border-radius: 20px; padding: 7px 14px; font-size: 12.5px; font-weight: 600;
}
.cl-book-btn:hover { background: var(--brand); color: #fff; }
.cl-book-btn.off { border-color: var(--line); background: #f6f5f1; color: #b3b8b4; }
.cl-shop-foot { margin: 34px 4px 8px; text-align: center; color: #a2a8a3; font-size: 11.5px; line-height: 1.9; }
.cl-shop-foot b { color: var(--ink-2); }
.cl-skeleton, .cl-empty, .cl-muted { padding: 26px 10px; text-align: center; color: var(--muted); font-size: 12.5px; }

/* ---------- 预约 ---------- */
.cl-card { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.cl-book-card { padding: 18px 16px 16px; }
.cl-field { margin-bottom: 17px; }
.cl-field:last-of-type { margin-bottom: 14px; }
.cl-field label { display: block; font-size: 12.5px; color: var(--ink-2); margin-bottom: 8px; letter-spacing: .3px; }
.cl-field label i { font-style: normal; color: var(--muted); font-size: 11px; }
.cl-field select, .cl-field input, .cl-field textarea {
  width: 100%; border: 1px solid var(--line); background: #fbfaf6; border-radius: 11px;
  padding: 11px 12px; outline: none; appearance: none;
}
.cl-field select:focus, .cl-field input:focus, .cl-field textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(23, 88, 74, .09); }
.cl-field textarea { resize: vertical; min-height: 74px; line-height: 1.55; }
.cl-days { display: flex; gap: 7px; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: none; }
.cl-days::-webkit-scrollbar { display: none; }
.cl-day {
  flex: 0 0 auto; min-width: 58px; border: 1px solid var(--line); background: #fbfaf6; border-radius: 12px;
  padding: 7px 6px; text-align: center; color: var(--ink-2); transition: .15s;
}
.cl-day b { display: block; font-size: 15px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.cl-day span { font-size: 10.5px; color: var(--muted); }
.cl-day.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.cl-day.on span { color: rgba(255, 255, 255, .7); }
.cl-day.rest { opacity: .45; background: #f4f2ed; cursor: not-allowed; }
.cl-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cl-slot {
  border: 1px solid var(--line); background: #fbfaf6; border-radius: 10px; padding: 9px 4px;
  text-align: center; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.cl-slot span { display: block; font-size: 9.5px; color: var(--muted); margin-top: 1px; }
.cl-slot.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.cl-slot.on span { color: rgba(255, 255, 255, .68); }
.cl-slot:disabled { opacity: .42; background: #f2f0ea; cursor: not-allowed; }
.cl-tip { margin-top: 10px; text-align: center; font-size: 11px; color: var(--muted); line-height: 1.6; }

.cl-list { display: flex; flex-direction: column; gap: 10px; }
.cl-appt { background: #fff; border: 1px solid var(--line-2); border-radius: 15px; padding: 13px 15px; box-shadow: 0 2px 10px rgba(40, 45, 40, .03); }
.cl-appt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cl-appt-top b { font-size: 14px; }
.cl-appt-top .cl-status { font-size: 10.5px; padding: 3px 8px; border-radius: 20px; background: var(--line-2); color: var(--muted); flex: 0 0 auto; }
.cl-status.wait { background: var(--gold-soft); color: #8a6a30; }
.cl-status.ok { background: var(--brand-soft); color: var(--brand); }
.cl-status.done { background: #eef0ee; color: #7b837d; }
.cl-status.cancel { background: #f3f2ef; color: #a5aaa5; text-decoration: line-through; }
.cl-appt-meta { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.cl-appt-foot { margin-top: 8px; display: flex; justify-content: space-between; align-items: center; }
.cl-appt-foot .cl-mini { border: 0; background: transparent; color: var(--danger); font-size: 12px; padding: 4px 0; }
.cl-appt-foot .cl-mini:hover { text-decoration: underline; }

/* ---------- 我的 ---------- */
.cl-me-head { display: flex; align-items: center; gap: 14px; padding: 8px 4px 18px; }
.cl-avatar {
  width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(145deg, #1b5f4e, #2b725d);
  color: #f4dcae; font-family: Georgia, "Songti SC", serif; font-size: 24px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(23, 88, 74, .22);
}
.cl-me-info h2 { margin: 0; font-size: 20px; display: flex; align-items: center; gap: 8px; }
.cl-me-info { min-width: 0; flex: 1; }
.cl-me-info h2 em { font-style: normal; font-size: 10.5px; font-weight: 500; color: var(--gold); background: var(--gold-soft); border: 1px solid #ecdcba; padding: 2px 7px; border-radius: 99px; }
.cl-me-info p { margin: 5px 0 0; color: var(--muted); font-size: 12.5px; letter-spacing: .4px; }
.cl-profile-edit {
  margin-left: auto; flex: 0 0 auto; border: 1px solid var(--line); background: #fff;
  color: var(--brand); border-radius: 99px; padding: 7px 12px; font-size: 12px;
}
.cl-profile-edit:hover { border-color: var(--brand); }
.cl-profile-birthday { display: flex; gap: 8px; }
.cl-profile-birthday select { width: 86px; flex: 0 0 auto; }
.cl-profile-birthday input { min-width: 0; flex: 1; }
.cl-me-stats { display: flex; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 0; box-shadow: var(--shadow); }
.cl-me-stats > div { flex: 1; text-align: center; position: relative; }
.cl-me-stats > div + div::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line-2); }
.cl-me-stats b { display: block; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
.cl-me-stats span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }

.cl-cards { display: flex; flex-direction: column; gap: 10px; }
.cl-carditem {
  background: linear-gradient(135deg, #1d5b4b, #2d7460); color: #fff; border-radius: 16px; padding: 15px 16px;
  position: relative; overflow: hidden; box-shadow: 0 10px 24px rgba(23, 88, 74, .18);
}
.cl-carditem::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; background: rgba(244, 220, 174, .1); }
.cl-carditem .cl-cname { font-size: 15px; font-weight: 600; }
.cl-carditem .cl-cno { font-size: 10.5px; color: rgba(255, 255, 255, .55); margin-top: 3px; letter-spacing: .8px; }
.cl-carditem .cl-cbar { height: 4px; background: rgba(255, 255, 255, .18); border-radius: 3px; margin: 13px 0 6px; overflow: hidden; }
.cl-carditem .cl-cbar i { display: block; height: 100%; background: #e7c98e; border-radius: 3px; }
.cl-carditem .cl-cmeta { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255, 255, 255, .72); }

.cl-tabs2 { display: flex; gap: 6px; background: #eeeae2; border-radius: 12px; padding: 4px; margin-bottom: 12px; }
.cl-tabs2 button { flex: 1; border: 0; background: transparent; border-radius: 9px; padding: 9px 4px; font-size: 12.5px; color: var(--ink-2); transition: .15s; }
.cl-tabs2 button.on { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 2px 6px rgba(40, 45, 40, .08); }

.cl-rec { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 13px; padding: 12px 14px; }
.cl-rec-main { min-width: 0; flex: 1; }
.cl-rec-main b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-rec-main span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.cl-rec-side { text-align: right; flex: 0 0 auto; }
.cl-rec-side b { display: block; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.cl-rec-side b.in { color: var(--brand); }
.cl-rec-side b.out { color: var(--ink); }
.cl-rec-side span { font-size: 10.5px; color: var(--muted); }

.cl-me-foot { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.cl-pwd-card { padding: 14px; }
.cl-pwd-card .cl-btn { width: 100%; background: #fff; color: var(--brand); border-color: var(--line); font-size: 14px; }
.cl-pwd-tip { padding: 8px 0 0 !important; font-size: 11.5px !important; text-align: left !important; }
.cl-modal { position: fixed; inset: 0; z-index: 55; display: flex; align-items: center; justify-content: center; padding: 22px; }
.cl-modal-mask { position: absolute; inset: 0; background: rgba(20, 26, 22, .42); backdrop-filter: blur(3px); }
.cl-modal-card { position: relative; width: 100%; max-width: 400px; background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .22); max-height: calc(100vh - 44px); overflow-y: auto; }
.cl-modal-card .cl-btn-main { margin-top: 4px; }
.cl-reg-tip { margin-top: 10px; font-size: 11.5px; line-height: 1.6; color: var(--muted); text-align: center; }
.cl-btn-ghost { width: 100%; border-color: var(--line); color: var(--muted); background: transparent; }
.cl-me-back { font-size: 11.5px; color: #a6aca7; }

/* ---------- 礼遇中心 ---------- */
.cl-perk-banner {
  margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(120deg, #fbf1de, #f7e7c8); border: 1px solid #ecdcba;
  border-radius: 16px; padding: 12px 15px;
}
.cl-perk-banner b { display: block; font-size: 13.5px; color: #6d5225; }
.cl-perk-banner span { display: block; font-size: 11px; color: #9b7b45; margin-top: 3px; }
.cl-perk-banner button {
  flex: 0 0 auto; border: 0; background: #8a6527; color: #fff; border-radius: 20px;
  padding: 7px 13px; font-size: 12px;
}
.cl-perks-hero {
  position: relative; overflow: hidden; border-radius: 22px; padding: 20px 19px 17px;
  background: linear-gradient(135deg, #342a19 0%, #4d3b21 55%, #67502c 100%);
  color: #f8ecd6; box-shadow: 0 16px 34px rgba(65, 48, 23, .22);
}
.cl-perks-hero::after {
  content: ""; position: absolute; width: 190px; height: 190px; right: -60px; top: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 170, .26), transparent 70%);
}
.cl-perks-title { font-size: 11px; letter-spacing: 2px; color: rgba(248, 236, 214, .62); }
.cl-perks-nums { display: flex; align-items: flex-end; gap: 26px; margin-top: 9px; position: relative; z-index: 1; }
.cl-perks-nums > div span { display: block; font-size: 10.5px; color: rgba(248, 236, 214, .55); }
.cl-perks-nums b { display: block; font-size: 28px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.cl-perks-nums b em { font-style: normal; font-size: 28px; }
.cl-perks-nums > div:last-child b { font-size: 20px; color: #f4dca9; }
.cl-invite {
  margin-top: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 13px; padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  position: relative; z-index: 1;
}
.cl-invite span { display: block; font-size: 10px; color: rgba(248, 236, 214, .5); }
.cl-invite b { display: block; font-size: 14px; letter-spacing: 1.5px; margin-top: 2px; }
.cl-invite button { border: 1px solid rgba(244, 220, 169, .4); background: rgba(244, 220, 169, .12); color: #f4dca9; border-radius: 20px; padding: 5px 10px; font-size: 11px; }
.cl-perks-rule { margin: 10px 2px 0; font-size: 10.5px; line-height: 1.6; color: rgba(248, 236, 214, .58); position: relative; z-index: 1; }

.cl-perk-list { display: flex; flex-direction: column; gap: 9px; }
.cl-tabs2 { display: flex; gap: 6px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 4px; margin-bottom: 10px; }
.cl-tabs2 button { flex: 1; border: 0; background: transparent; color: var(--muted); border-radius: 9px; padding: 8px 6px; font-size: 12px; }
.cl-tabs2 button.on { background: var(--brand); color: #fff; }
.cl-perk-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 15px; padding: 13px 14px; }
.cl-perk-ico { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #fbf1de, #f3e3c6); color: #8a6527; font-family: Georgia, "Songti SC", serif; font-size: 17px; }
.cl-perk-main { flex: 1; min-width: 0; }
.cl-perk-main b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-perk-main span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.cl-perk-cost { flex: 0 0 auto; text-align: right; }
.cl-perk-cost b { display: block; font-size: 15px; color: #8a6527; font-variant-numeric: tabular-nums; }
.cl-perk-cost span { display: block; font-size: 9.5px; color: var(--muted); margin-top: 1px; }
.cl-perk-item button { flex: 0 0 auto; border: 1px solid #c9a86f; background: #fbf1de; color: #7a5a22; border-radius: 20px; padding: 7px 12px; font-size: 12px; font-weight: 600; }
.cl-perk-item button:disabled { opacity: .45; border-color: var(--line); background: #f5f3ee; color: var(--muted); }

.cl-red { background: #fff; border: 1px solid var(--line-2); border-radius: 15px; padding: 13px 14px; }
.cl-red-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cl-red-top b { font-size: 14px; }
.cl-red-code { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; background: var(--brand-soft); border-radius: 10px; padding: 8px 11px; }
.cl-red-code span { font-size: 10px; color: var(--muted); }
.cl-red-code b { font-size: 15px; letter-spacing: 2px; color: var(--brand); font-family: ui-monospace, Menlo, Consolas, monospace; }
.cl-red-meta { margin-top: 7px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); }
.cl-red-meta button { border: 0; background: transparent; color: var(--danger); font-size: 11.5px; padding: 2px 0; }
.cl-red-status { font-size: 10.5px; padding: 3px 8px; border-radius: 20px; background: var(--line-2); color: var(--muted); }
.cl-red-status.wait { background: var(--gold-soft); color: #8a6a30; }
.cl-red-status.ok { background: var(--brand-soft); color: var(--brand); }
.cl-red-status.cancel { background: #f3f2ef; color: #a5aaa5; }

/* ---------- 门店 / 团队 ---------- */
.cl-store-hero {
  display: flex; align-items: center; gap: 14px; padding: 20px 18px;
  border-radius: 20px; color: #fff;
  background: radial-gradient(120% 120% at 0% 0%, #216b57, #124438 70%);
  box-shadow: 0 12px 28px rgba(18, 68, 56, .18);
}
.cl-store-logo {
  width: 58px; height: 58px; border-radius: 16px; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24);
  font-family: Georgia, "Songti SC", serif; font-size: 28px;
}
.cl-store-logo.has-logo { background: #fff; padding: 0; border-color: #fff; }
.cl-store-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-store-head h2 { margin: 0 0 6px; font-size: 19px; letter-spacing: .5px; }
.cl-store-head span { font-size: 12px; color: rgba(255, 255, 255, .7); letter-spacing: .8px; }
.cl-store-intro { margin-top: 14px; }
.cl-store-intro p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--ink-2); white-space: pre-wrap; }
.cl-store-position { margin-top: 12px; padding-top: 11px; border-top: 1px dashed #e3ebe5; font-size: 12px; line-height: 1.65; color: #7a6539; }
.cl-store-list { display: grid; gap: 10px; }
.cl-svc-card { padding: 14px 15px; border-radius: 15px; background: #fff; border: 1px solid var(--line); box-shadow: 0 5px 14px rgba(30, 45, 36, .05); }
.cl-svc-head { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.cl-svc-head b { font-size: 14.5px; color: var(--brand); }
.cl-svc-head span { font-size: 11.5px; color: var(--muted); }
.cl-svc-card p { margin: 6px 0 0; font-size: 12px; line-height: 1.65; color: var(--ink-2); }
.cl-focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.cl-focus-card { padding: 12px 13px; border-radius: 14px; background: #f7faf7; border: 1px solid #e5eee7; }
.cl-focus-card b { display: block; font-size: 13px; color: var(--brand); margin-bottom: 4px; }
.cl-focus-card span { font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.cl-feature-list { display: grid; gap: 8px; padding: 14px 15px; border-radius: 15px; background: #fff; border: 1px solid var(--line); }
.cl-feature-item { display: flex; gap: 12px; font-size: 12.5px; line-height: 1.65; }
.cl-feature-item b { flex: 0 0 66px; color: #7a6539; font-weight: 600; }
.cl-feature-item span { flex: 1; color: var(--ink-2); }
.cl-master { display: flex; gap: 13px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #fffdf6, #fff); border: 1px solid #eddfc4; }
.cl-master-ava { width: 46px; height: 46px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f4ead2; color: #7a6539; font-family: Georgia, "Songti SC", serif; font-size: 20px; }
.cl-master-main h3 { margin: 0 0 5px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.cl-master-main h3 em { font-style: normal; font-size: 11px; font-weight: 400; color: #7a6539; background: #fbf6e8; border: 1px solid #eee1c3; border-radius: 20px; padding: 2px 7px; }
.cl-master-main p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--muted); white-space: pre-wrap; }
.cl-store-facts { display: grid; gap: 13px; }
.cl-store-facts > div { display: flex; gap: 12px; font-size: 13px; line-height: 1.6; }
.cl-store-facts b { flex: 0 0 64px; color: var(--muted); font-weight: 500; }
.cl-store-facts span { flex: 1; color: var(--ink-2); white-space: pre-wrap; }
.cl-team { display: grid; gap: 12px; }
.cl-team-card {
  display: flex; gap: 13px; padding: 15px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(30, 45, 36, .06);
}
.cl-team-ava {
  width: 46px; height: 46px; flex: none; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #e8f0ea; color: var(--brand); font-family: Georgia, "Songti SC", serif; font-size: 20px;
}
.cl-team-ava img { width: 100%; height: 100%; object-fit: cover; }
.cl-team-main { min-width: 0; }
.cl-team-main h3 { margin: 0 0 4px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.cl-team-main h3 em { font-style: normal; font-size: 11px; font-weight: 400; color: var(--brand); background: #eef5f0; padding: 2px 7px; border-radius: 20px; }
.cl-team-main p { margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--muted); white-space: pre-wrap; }
.cl-team-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cl-team-skills span { font-size: 11.5px; color: #7a6539; background: #fbf6e8; border: 1px solid #eee1c3; border-radius: 20px; padding: 3px 9px; }
.cl-store-foot { margin: 18px 2px 10px; font-size: 12px; line-height: 1.7; color: var(--muted); text-align: center; }

/* ---------- 底部导航 ---------- */
.cl-tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 520px;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); display: flex; padding: 7px 0 calc(7px + env(safe-area-inset-bottom)); z-index: 30;
}
.cl-tabbar button {
  flex: 1; border: 0; background: transparent; color: #9aa19b; display: flex; flex-direction: column;
  align-items: center; gap: 3px; font-size: 10.5px; padding: 4px 0;
}
.cl-tabbar svg { width: 22px; height: 22px; }
.cl-tabbar button.on { color: var(--brand); font-weight: 600; }

/* ---------- 消息抽屉 ---------- */
.cl-sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.cl-sheet-mask { position: absolute; inset: 0; background: rgba(20, 26, 22, .38); backdrop-filter: blur(2px); }
.cl-sheet-body {
  position: relative; width: 100%; max-width: 520px; max-height: 76vh; background: var(--cream);
  border-radius: 24px 24px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  overflow-y: auto; animation: clSheet .26s ease;
}
@keyframes clSheet { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.cl-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cl-sheet-head h3 { margin: 0; font-size: 17px; }
.cl-sheet-head button { border: 0; background: transparent; color: var(--muted); font-size: 12.5px; }
.cl-msgs { display: flex; flex-direction: column; gap: 9px; }
.cl-msg { background: #fff; border: 1px solid var(--line-2); border-radius: 13px; padding: 12px 14px; }
.cl-msg b { display: block; font-size: 13.5px; }
.cl-msg p { margin: 5px 0 0; font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.cl-msg span { display: block; margin-top: 7px; font-size: 10.5px; color: var(--muted); }

/* ---------- 提示 ---------- */
.cl-toast {
  position: fixed; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 80;
  background: rgba(24, 30, 26, .9); color: #fff; border-radius: 12px; padding: 12px 18px;
  font-size: 13.5px; max-width: 76vw; text-align: center; line-height: 1.5;
}

@media (min-width: 521px) {
  body { padding: 0; }
  .cl-app { min-height: 100vh; }
}
@media (max-width: 480px) {
  .cl-focus-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .cl-main { padding-left: 14px; padding-right: 14px; }
  .cl-slots { grid-template-columns: repeat(3, 1fr); }
  .cl-focus-grid { grid-template-columns: 1fr; }
}

.cl-fb-btn { display: inline-block; margin-top: 7px; border: 1px solid #d7e8df; background: #eef8f3; color: #0d6b4f; border-radius: 15px; padding: 4px 9px; font-size: 10.5px; line-height: 1.2; white-space: nowrap; }
.cl-fb-order { margin-bottom: 14px; padding: 9px 11px; border-radius: 10px; background: #f6f8f7; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.cl-stars { display: flex; gap: 7px; }
.cl-stars button { flex: 1; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 11px; background: #fbfaf6; color: #c5ced7; font-size: 22px; line-height: 1; transition: .15s; }
.cl-stars button.on { border-color: #efd49a; background: #fff8e6; color: #e0a400; }
