:root {
  --bg: #f2f3ee;
  --surface: #ffffff;
  --ink: #101208;
  --ink-2: #5d6153;
  --ink-3: #9ba192;
  --line: #e6e8df;
  --lime: #c9f227;
  --lime-deep: #a8d400;
  --black: #12140e;
  --price: #e23d1c;
  --radius: 14px;
  --pad: 16px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: #e7e9e1;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input, textarea { font: inherit; color: inherit; }

.phone {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 18px 50px rgba(0, 0, 0, .07);
  overflow-x: hidden;
}

#app { padding-bottom: 74px; }
#app.no-tab { padding-bottom: 0; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px var(--pad) 10px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar.solid { background: #fff; }

.brand { display: flex; align-items: baseline; gap: 7px; }
.brand-mark {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
}
.brand-en {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: var(--ink-3);
  text-transform: uppercase;
}
.brand-dot {
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--lime-deep);
  display: inline-block;
  margin-left: 1px;
}

.searchbox {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  background: #f2f3ee;
  color: var(--ink-3);
  font-size: 12.5px;
  border: 1px solid transparent;
}
.searchbox:active { border-color: var(--line); }

.icon-btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: #f2f3ee;
  flex: 0 0 auto;
}

/* ---------- category chips ---------- */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px var(--pad) 4px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  transition: .16s;
}
.chip.on {
  background: var(--black);
  color: var(--lime);
  border-color: var(--black);
  font-weight: 600;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  margin: 12px var(--pad) 0;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: #12140e;
  color: #fff;
  overflow: hidden;
}
.hero-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(201, 242, 39, .16) 0 1px, transparent 1px 13px);
  opacity: .55;
  pointer-events: none;
}
.hero-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--lime);
  border: 1px solid rgba(201, 242, 39, .45);
  border-radius: 4px;
  padding: 3px 7px 2px;
  margin-bottom: 12px;
}
.hero h1 {
  margin: 0 0 6px;
  font-size: 27px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -.5px;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime);
}
.hero p {
  margin: 0 0 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, .62);
  letter-spacing: .3px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--lime);
  color: #12140e;
  font-size: 13px;
  font-weight: 700;
}
.hero-stat {
  position: absolute;
  right: 18px; bottom: 18px;
  text-align: right;
}
.hero-stat b { display: block; font-size: 30px; font-weight: 800; color: var(--lime); line-height: 1; letter-spacing: -1px; }
.hero-stat span { font-size: 9.5px; letter-spacing: 1.4px; color: rgba(255, 255, 255, .45); }

/* ---------- service strip ---------- */
.svc {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin: 12px var(--pad) 0;
  padding: 11px 4px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.svc div {
  flex: 1;
  text-align: center;
  font-size: 10.5px;
  color: var(--ink-2);
  line-height: 1.3;
}
.svc b { display: block; font-size: 12px; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* ---------- section ---------- */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 22px var(--pad) 10px;
}
.sec-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.2px;
}
.sec-head h2 span { color: var(--ink-3); font-weight: 400; font-size: 11px; margin-left: 6px; letter-spacing: 1px; }
.sec-head a { font-size: 11.5px; color: var(--ink-3); text-decoration: none; }

/* ---------- grid ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 var(--pad);
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform .16s ease, box-shadow .16s ease;
}
.card:active { transform: scale(.985); }

.card-art {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f7f8f3;
  display: grid;
  place-items: center;
  padding: 4px;
}
.card-art svg { width: 100%; height: 100%; }

.card-tag {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .6px;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--black);
  color: var(--lime);
}
.card-tag.soft { background: rgba(226, 61, 28, .1); color: var(--price); }

.card-body { padding: 9px 10px 11px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-sub {
  font-size: 10.5px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-foot { display: flex; align-items: baseline; gap: 5px; margin-top: auto; padding-top: 5px; }
.price { color: var(--price); font-weight: 800; letter-spacing: -.4px; }
.price i { font-style: normal; font-size: 11px; font-weight: 700; margin-right: 1px; }
.price.lg { font-size: 25px; }
.price.md { font-size: 17px; }
.price.sm { font-size: 14.5px; }
.orig { font-size: 10.5px; color: var(--ink-3); text-decoration: line-through; }
.sold { font-size: 10px; color: var(--ink-3); margin-left: auto; }

/* ---------- category page ---------- */
.cat-wrap { display: flex; align-items: flex-start; }
.cat-rail {
  flex: 0 0 88px;
  position: sticky;
  top: 57px;
  padding: 6px 0 90px;
  background: #f2f3ee;
}
.cat-rail button {
  display: block;
  width: 100%;
  padding: 15px 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  position: relative;
  text-align: center;
}
.cat-rail button.on { color: var(--ink); font-weight: 700; background: #fff; border-radius: 0 10px 10px 0; }
.cat-rail button.on::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 16px;
  background: var(--lime-deep);
  border-radius: 0 3px 3px 0;
}
.cat-main { flex: 1; padding-bottom: 90px; min-width: 0; }
.cat-main .grid { padding: 10px 12px; gap: 9px; }
.cat-title { padding: 14px 12px 4px; font-size: 13px; font-weight: 700; }
.cat-title span { font-size: 10px; color: var(--ink-3); font-weight: 400; letter-spacing: 1px; margin-left: 5px; }

/* ---------- detail ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.navbar .t { flex: 1; font-size: 14px; font-weight: 600; text-align: center; }
.navbar .sp { width: 34px; flex: 0 0 auto; }

.detail-art {
  background: #f7f8f3;
  padding: 18px 30px 24px;
  position: relative;
}
.detail-art svg { width: 100%; height: auto; }
.art-badge {
  position: absolute;
  right: 14px; top: 14px;
  font-size: 9.5px;
  letter-spacing: 1.4px;
  color: var(--ink-3);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  padding: 3px 7px;
}

.block { background: #fff; border-radius: var(--radius); margin: 10px 12px 0; padding: 14px; border: 1px solid var(--line); }

.price-row { display: flex; align-items: flex-end; gap: 8px; }
.price-row .orig { font-size: 12px; padding-bottom: 4px; }
.save-tag {
  margin-left: auto;
  font-size: 10px;
  color: var(--price);
  background: rgba(226, 61, 28, .08);
  border-radius: 4px;
  padding: 3px 7px;
  align-self: center;
}
.d-title { margin: 8px 0 4px; font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: -.2px; }
.d-sub { font-size: 12px; color: var(--ink-3); }
.d-meta { display: flex; gap: 14px; margin-top: 10px; font-size: 11px; color: var(--ink-3); }
.d-meta b { color: var(--ink); font-weight: 600; }

.opt-label { font-size: 12px; color: var(--ink-2); margin-bottom: 9px; display: flex; justify-content: space-between; }
.opt-label span { color: var(--ink-3); font-size: 11px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  padding: 8px 13px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
  background: #fafbf7;
}
.opt.on {
  border-color: var(--black);
  color: var(--ink);
  font-weight: 600;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--black);
}
.opt.dis { color: #c9cdc2; text-decoration: line-through; background: #f7f8f3; }

.qty-row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.qty button { width: 34px; height: 32px; font-size: 16px; color: var(--ink-2); display: grid; place-items: center; }
.qty button:disabled { color: #d5d8cd; }
.qty span { min-width: 34px; text-align: center; font-size: 13px; font-weight: 600; }

.h-row { display: flex; gap: 9px; padding: 7px 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.h-row::before {
  content: "";
  flex: 0 0 auto;
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--lime-deep);
  margin-top: 8px;
}

.nutri { width: 100%; border-collapse: collapse; font-size: 12px; }
.nutri th, .nutri td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; }
.nutri th { font-weight: 500; color: var(--ink-2); }
.nutri td { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.nutri td.nrv { color: var(--ink-3); width: 52px; }
.nutri tr:last-child th, .nutri tr:last-child td { border-bottom: 0; }
.nutri caption { text-align: left; font-size: 10.5px; color: var(--ink-3); padding-top: 9px; caption-side: bottom; }

.warn {
  background: #fdf6ec;
  border: 1px solid #f5e3c8;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 11.5px;
  line-height: 1.65;
  color: #8a5a12;
}
.warn b { display: block; font-size: 12px; color: #6d460c; margin-bottom: 3px; }

.detail-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.bar-ico { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9.5px; color: var(--ink-3); width: 42px; }
.bar-ico.on { color: var(--ink); }
.btn {
  height: 44px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 18px;
  transition: opacity .15s;
}
.btn:active { opacity: .82; }
.btn.lime { background: var(--lime); color: #12140e; }
.btn.dark { background: var(--black); color: #fff; }
.btn.line { border: 1px solid var(--ink); color: var(--ink); background: #fff; }
.btn.block { width: 100%; }
.btn.grow { flex: 1; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- cart ---------- */
.cart-item {
  display: flex;
  gap: 11px;
  padding: 12px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.cart-art {
  flex: 0 0 78px;
  height: 78px;
  border-radius: 10px;
  background: #f7f8f3;
  overflow: hidden;
}
.cart-art svg { width: 100%; height: 100%; }
.cart-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cart-name { font-size: 13px; font-weight: 600; line-height: 1.35; }
.cart-var { font-size: 11px; color: var(--ink-3); margin-top: 3px; }
.cart-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.tick {
  width: 19px; height: 19px;
  border-radius: 999px;
  border: 1.5px solid #ccd0c4;
  display: grid; place-items: center;
  flex: 0 0 auto;
  align-self: center;
}
.tick.on { background: var(--black); border-color: var(--black); }
.tick.on::after {
  content: "";
  width: 9px; height: 5px;
  border-left: 1.6px solid var(--lime);
  border-bottom: 1.6px solid var(--lime);
  transform: rotate(-45deg) translate(.5px, -1px);
}
.cart-foot {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 430px;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-foot.above-tab { bottom: calc(55px + env(safe-area-inset-bottom)); }
.cart-foot .total { flex: 1; font-size: 11.5px; color: var(--ink-3); }
.cart-foot .total b { display: block; font-size: 17px; color: var(--price); font-weight: 800; letter-spacing: -.4px; }

/* ---------- checkout / list ---------- */
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.row:last-child { border-bottom: 0; }
.row .k { color: var(--ink-2); flex: 0 0 auto; }
.row .v { margin-left: auto; color: var(--ink); text-align: right; }
.row .v.muted { color: var(--ink-3); font-size: 12px; }
.addr-main { font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.addr-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.45; }

.sum { font-size: 12.5px; }
.sum div { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink-2); }
.sum div b { color: var(--ink); font-weight: 500; }
.sum .grand { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 10px; font-size: 13px; }
.sum .grand b { color: var(--price); font-weight: 800; font-size: 16px; }

.payline {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 0;
  font-size: 13px;
}
.payline .badge {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: #07c160;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.payline .ok { margin-left: auto; color: var(--lime-deep); font-weight: 700; }

.notice {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.6;
  padding: 10px 12px;
  background: #f7f8f3;
  border-radius: 10px;
  margin-top: 10px;
}

/* ---------- orders ---------- */
.tabs {
  display: flex;
  gap: 2px;
  padding: 0 var(--pad);
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 57px;
  z-index: 30;
}
.tabs button {
  flex: 1;
  padding: 11px 0;
  font-size: 12.5px;
  color: var(--ink-3);
  position: relative;
}
.tabs button.on { color: var(--ink); font-weight: 700; }
.tabs button.on::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 20px; height: 2.5px;
  border-radius: 2px;
  background: var(--black);
}

.order {
  margin: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-3);
}
.order-top .st { font-weight: 700; font-size: 12px; color: var(--ink); }
.order-top .st.unpaid { color: var(--price); }
.order-top .st.done { color: var(--ink-3); }
.order-item { display: flex; gap: 10px; padding: 11px 13px; align-items: center; }
.order-item .cart-art { flex: 0 0 54px; height: 54px; border-radius: 8px; }
.order-item .n { font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.order-item .sv { font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.order-item .p { margin-left: auto; text-align: right; font-size: 12px; color: var(--ink-2); }
.order-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-top: 1px solid var(--line);
}
.order-foot .tot { font-size: 11px; color: var(--ink-3); margin-right: auto; }
.order-foot .tot b { font-size: 14px; color: var(--price); font-weight: 800; }
.mini-btn {
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-2);
}
.mini-btn.primary { background: var(--black); color: #fff; border-color: var(--black); }
.mini-btn.lime { background: var(--lime); color: #12140e; border-color: var(--lime); font-weight: 700; }

/* ---------- mine ---------- */
.mine-head {
  background: #12140e;
  color: #fff;
  padding: 18px var(--pad) 26px;
  position: relative;
  overflow: hidden;
}
.mine-head .u { display: flex; align-items: center; gap: 12px; position: relative; }
.avatar {
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--lime);
  color: #12140e;
  display: grid; place-items: center;
  font-size: 19px; font-weight: 800;
  flex: 0 0 auto;
}
.mine-head .nm { font-size: 15px; font-weight: 700; }
.mine-head .ph { font-size: 11px; color: rgba(255, 255, 255, .5); margin-top: 3px; letter-spacing: .4px; }
.mine-orders {
  margin: -16px 12px 0;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 13px 6px 12px;
  position: relative;
  z-index: 2;
}
.mine-orders .hd { display: flex; justify-content: space-between; padding: 0 8px 10px; font-size: 12.5px; font-weight: 600; }
.mine-orders .hd a { color: var(--ink-3); font-weight: 400; font-size: 11px; text-decoration: none; }
.mine-orders .cols { display: flex; }
.mine-orders .cols button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 10.5px; color: var(--ink-2); position: relative; }
.mine-orders .cols .cnt {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 15px; height: 15px;
  border-radius: 999px;
  background: var(--price);
  color: #fff;
  font-size: 9.5px;
  display: grid; place-items: center;
  padding: 0 3px;
}
.menu { margin: 10px 12px 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 2px 14px; }
.menu .row { cursor: pointer; }
.menu .row .v { color: var(--ink-3); font-size: 12px; display: flex; align-items: center; gap: 5px; }
.chev { color: #c6cabf; font-size: 15px; line-height: 1; }

/* ---------- 协议入口与同意勾选 ---------- */
.menu a.row { text-decoration: none; color: inherit; }
.agree-line { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 12px; color: var(--ink-2); line-height: 1.65; }
.agree-line input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--lime-deep); flex: 0 0 auto; }
.agree-line a { color: var(--lime-deep); text-decoration: none; font-weight: 600; }

/* ---------- tabbar ---------- */
.tabbar {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 430px;
  z-index: 60;
  display: flex;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar button {
  flex: 1;
  padding: 7px 0 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  color: #a8ada0;
  position: relative;
}
.tabbar button.on { color: var(--ink); font-weight: 600; }
.tabbar .dot {
  position: absolute;
  top: 4px;
  left: 50%;
  margin-left: 4px;
  min-width: 15px; height: 15px;
  border-radius: 999px;
  background: var(--price);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: grid; place-items: center;
  padding: 0 4px;
  border: 1.5px solid #fff;
}
.tabbar svg { width: 21px; height: 21px; }

/* ---------- empty ---------- */
.empty { padding: 70px 30px; text-align: center; color: var(--ink-3); }
.empty .cir {
  width: 74px; height: 74px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.empty p { font-size: 13px; margin: 0 0 4px; color: var(--ink-2); }
.empty span { font-size: 11.5px; }
.empty .btn { margin-top: 18px; display: inline-grid; }

/* ---------- toast & modal ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translate(-50%, 12px);
  background: rgba(18, 20, 14, .92);
  color: #fff;
  font-size: 12.5px;
  padding: 10px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: .22s ease;
  z-index: 999;
  max-width: 80%;
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.mask {
  position: fixed;
  inset: 0;
  background: rgba(12, 14, 8, .45);
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fade .18s ease;
}
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes rise { from { transform: translateY(18px); opacity: .4 } to { transform: translateY(0); opacity: 1 } }

.modal {
  width: 100%;
  max-width: 330px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  animation: rise .2s ease;
}
.modal .mh { padding: 20px 20px 4px; text-align: center; }
.modal .mh .amt { font-size: 30px; font-weight: 800; letter-spacing: -1px; margin: 6px 0 2px; }
.modal .mh .amt i { font-style: normal; font-size: 16px; margin-right: 2px; }
.modal .mh p { margin: 0; font-size: 11.5px; color: var(--ink-3); }
.modal .mb { padding: 14px 18px 6px; }
.modal .mf { padding: 8px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.modal .mnote { font-size: 10.5px; color: var(--ink-3); line-height: 1.55; text-align: center; padding: 0 22px 14px; }

.sheet {
  position: fixed;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  z-index: 901;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  animation: rise .22s ease;
  max-height: 86vh;
  overflow-y: auto;
}
.sheet h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.sheet h3 button { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.field { margin-bottom: 11px; }
.field label { display: block; font-size: 11.5px; color: var(--ink-3); margin-bottom: 5px; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fafbf7;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  outline: none;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--black); background: #fff; }
.field textarea { resize: none; height: 62px; }
.field-row { display: flex; gap: 9px; }
.field-row .field { flex: 1; }

/* footer credit */
.credit { text-align: center; font-size: 10.5px; color: #b3b8aa; padding: 26px 20px 12px; line-height: 1.7; }

/* ---------- 积分体系 ---------- */
.pt-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 12px 0;
  padding: 11px 13px;
  width: calc(100% - 24px);
  text-align: left;
  background: #12140e;
  border-radius: var(--radius);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pt-entry:after {
  content: "";
  position: absolute; right: -28px; top: -28px;
  width: 92px; height: 92px; border-radius: 999px;
  background: rgba(201, 242, 39, .14);
}
.pt-entry-ico {
  width: 30px; height: 30px; flex: 0 0 30px;
  border-radius: 9px;
  background: var(--lime);
  color: #12140e;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
}
.pt-entry-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pt-entry-txt b { font-size: 13px; font-weight: 700; }
.pt-entry-txt i { font-style: normal; font-size: 10.5px; color: rgba(255, 255, 255, .55); }
.pt-entry-go { font-size: 11px; color: var(--lime); z-index: 1; }

.pt-hero {
  position: relative;
  margin: 12px;
  padding: 18px 16px 14px;
  border-radius: 18px;
  background: #12140e;
  color: #fff;
  overflow: hidden;
}
.pt-hero .hero-lines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 26px);
}
.pt-hero-label { position: relative; font-size: 11px; color: rgba(255, 255, 255, .5); letter-spacing: .5px; }
.pt-hero-num {
  position: relative;
  font-size: 40px; font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px; color: var(--lime);
  margin: 2px 0 4px;
}
.pt-hero-sub { position: relative; font-size: 10.5px; color: rgba(255, 255, 255, .48); line-height: 1.6; }
.pt-hero-acts { position: relative; display: flex; gap: 8px; margin-top: 13px; }
.pt-hero-acts button {
  flex: 1;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 11px;
}
.pt-ruleline {
  margin: 0 12px 14px;
  padding: 9px 12px;
  background: rgba(201, 242, 39, .16);
  border: 1px solid rgba(168, 212, 0, .3);
  border-radius: 10px;
  font-size: 11px;
  color: #4d5c07;
  line-height: 1.6;
}
.pt-ruleline b { margin-right: 6px; }

.pt-card .card-body { padding-bottom: 11px; }
.pt-out {
  position: absolute; inset: 0;
  background: rgba(242, 243, 238, .78);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: var(--ink-3);
}
.pt-card .card-art { position: relative; }
.pt-line { display: flex; align-items: baseline; gap: 6px; margin-top: 7px; }
.pt-cost { color: var(--lime-deep); font-weight: 800; }
.pt-cost b { font-size: 19px; letter-spacing: -.5px; color: var(--ink); }
.pt-cost i { font-style: normal; font-size: 10.5px; color: var(--ink-3); margin-left: 3px; font-weight: 400; }
.pt-nocash {
  margin-left: auto;
  font-size: 9px;
  color: var(--price);
  border: 1px solid rgba(226, 61, 28, .35);
  border-radius: 3px;
  padding: 1px 4px;
  white-space: nowrap;
}
.pt-btn {
  width: 100%;
  height: 30px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--lime);
  color: #12140e;
  font-size: 11.5px;
  font-weight: 700;
}
.pt-btn.dim { background: #eef0e8; color: #a2a89a; font-weight: 400; }
.pt-btn[disabled] { background: #eef0e8; color: #c2c7ba; }

.pt-rule { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pt-rule:last-child { border-bottom: 0; }
.pt-rule b { font-size: 12px; font-weight: 700; }
.pt-rule span { font-size: 11px; color: var(--ink-3); line-height: 1.6; }

.pt-balbar {
  margin: 12px;
  padding: 13px 14px;
  background: #12140e;
  color: #fff;
  border-radius: var(--radius);
  display: flex; align-items: baseline; gap: 7px;
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
}
.pt-balbar b { font-size: 24px; color: var(--lime); font-weight: 800; letter-spacing: -.6px; }
.pt-log { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pt-log:last-child { border-bottom: 0; }
.pt-log .r { font-size: 12.5px; color: var(--ink); }
.pt-log .t { font-size: 10.5px; color: var(--ink-3); margin-top: 3px; }
.pt-log b { margin-left: auto; font-size: 15px; font-weight: 800; }
.pt-log b.plus { color: var(--lime-deep); }
.pt-log b.minus { color: var(--price); }
.pt-tip { font-size: 10.5px; color: var(--ink-3); line-height: 1.7; }
.pt-pill {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--lime);
  color: #12140e;
  font-size: 11px;
  font-weight: 800;
}
.pt-order-meta { padding: 0 12px 12px; font-size: 10.5px; color: var(--ink-3); }

.pt-card-menu { padding-bottom: 4px; }
.pt-links { display: flex; border-top: 1px solid var(--line); }
.pt-links button {
  flex: 1;
  padding: 11px 0;
  font-size: 11.5px;
  color: var(--ink-2);
}
.pt-links button + button { border-left: 1px solid var(--line); }

.num-input {
  width: 62px;
  text-align: right;
  border: 1px solid var(--line);
  background: #fafbf7;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 13px;
  outline: none;
}
.switch {
  width: 46px; height: 27px;
  border-radius: 999px;
  background: #dcdfd4;
  position: relative;
  transition: background .18s;
  flex: 0 0 auto;
}
.switch i {
  position: absolute; top: 3px; left: 3px;
  width: 21px; height: 21px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
  transition: transform .18s;
}
.switch.on { background: var(--lime-deep); }
.switch.on i { transform: translateX(19px); }

.rm-head { padding: 20px 20px 0; text-align: center; }
.rm-art { width: 130px; height: 130px; margin: 0 auto 10px; }
.rm-name { font-size: 15px; font-weight: 700; }
.rm-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.pt-warn {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(226, 61, 28, .08);
  color: var(--price);
  font-size: 11px;
  line-height: 1.6;
}

/* ---------- 福利值体系（amber 区分积分） ---------- */
:root { --amber: #ffd166; --amber-deep: #b8860b; }

.benefit { display: flex; gap: 10px; margin: 10px 12px 0; }
.bf {
  flex: 1;
  text-align: left;
  padding: 12px 13px 11px;
  border-radius: var(--radius);
  background: #12140e;
  color: #fff;
  display: flex; flex-direction: column; gap: 2px;
  position: relative;
  overflow: hidden;
}
.bf:after {
  content: "";
  position: absolute; right: -26px; top: -26px;
  width: 78px; height: 78px; border-radius: 999px;
  background: rgba(201, 242, 39, .13);
}
.bf-welfare:after { background: rgba(255, 209, 102, .16); }
.bf-cap { font-size: 10.5px; color: rgba(255, 255, 255, .5); letter-spacing: .5px; }
.bf-num { font-size: 23px; font-weight: 800; letter-spacing: -.6px; color: var(--lime); line-height: 1.2; }
.bf-welfare .bf-num { color: var(--amber); }
.bf-sub { font-size: 9.5px; color: rgba(255, 255, 255, .45); }
.bf-go { margin-top: 6px; font-size: 10.5px; color: rgba(255, 255, 255, .8); z-index: 1; }

.asset-card { padding-bottom: 2px; }
.asset-hd { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 8px; border-bottom: 1px solid var(--line); }
.asset-hd span { font-size: 12px; font-weight: 700; }
.asset-hd a { font-size: 10.5px; color: var(--ink-3); }
.asset-row { display: flex; border-bottom: 1px solid var(--line); }
.asset {
  flex: 1; padding: 14px 0 12px; text-align: center;
  display: flex; flex-direction: column; gap: 1px;
}
.asset + .asset { border-left: 1px solid var(--line); }
.a-cap { font-size: 10.5px; color: var(--ink-3); }
.a-num { font-size: 22px; font-weight: 800; letter-spacing: -.6px; color: var(--ink); line-height: 1.25; }
.a-num.amber { color: var(--amber-deep); }
.a-sub { font-size: 9.5px; color: var(--ink-3); }
.asset-links { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.asset-links button { padding: 10px 0; font-size: 11.5px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.asset-links button:nth-child(odd) { border-right: 1px solid var(--line); }
.asset-links button:nth-last-child(-n+2) { border-bottom: 0; }

.wf-hero {
  position: relative;
  margin: 12px;
  padding: 18px 16px 14px;
  border-radius: 18px;
  background: #1a160c;
  color: #fff;
  overflow: hidden;
}
.wf-hero .hero-lines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 209, 102, .06) 0 1px, transparent 1px 26px);
}
.pt-hero-num.wf { color: var(--amber); }
.wf-source {
  position: relative;
  margin-top: 9px;
  font-size: 10px;
  color: rgba(255, 209, 102, .8);
  border: 1px solid rgba(255, 209, 102, .25);
  border-radius: 7px;
  padding: 5px 8px;
  line-height: 1.5;
}
.pt-cost.wf b { color: var(--amber-deep); }
.pt-ruleline.wf {
  background: rgba(255, 209, 102, .18);
  border-color: rgba(184, 134, 11, .3);
  color: #6b5300;
}
.pt-btn.wf { background: var(--amber); color: #2a1f00; }
.pt-btn.wf.dim { background: #f0ece0; color: #a9a294; }
.wf-gift {
  margin-top: 6px;
  font-size: 10px;
  color: var(--amber-deep);
  background: rgba(255, 209, 102, .18);
  border-radius: 5px;
  padding: 3px 7px;
  align-self: flex-start;
  display: inline-block;
}
.wf-giftbox {
  margin-top: 11px;
  padding: 10px 11px;
  border-radius: 9px;
  background: rgba(255, 209, 102, .16);
  border: 1px solid rgba(184, 134, 11, .22);
  display: flex; flex-direction: column; gap: 3px;
}
.wf-giftbox b { font-size: 12px; color: #6b5300; }
.wf-giftbox span { font-size: 10.5px; color: #8a6f22; line-height: 1.5; }
.wf-gift-pill {
  font-size: 10px;
  color: #6b5300;
  background: rgba(255, 209, 102, .3);
  border-radius: 999px;
  padding: 3px 8px;
  font-weight: 700;
}
.pt-balbar.wf { background: #1a160c; }
.pt-balbar.wf b { color: var(--amber); }
.pt-log b.plus.wf { color: var(--amber-deep); }

/* ---------- 会员 / 邀请 / 佣金 ---------- */
.rank-chip {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(168, 212, 0, .18);
  color: #4d5c07;
  font-size: 9.5px;
  font-weight: 700;
  vertical-align: middle;
}
.rank-chip.me { background: rgba(18, 20, 14, .08); color: var(--ink-2); }
.rank-chip.light { background: rgba(201, 242, 39, .18); color: var(--lime); }

.mine-inv { display: flex; gap: 8px; margin-top: 14px; position: relative; }
.mine-inv button {
  flex: 1;
  height: 31px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .92);
  font-size: 11.5px;
}

.inv-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 12px 0;
  padding: 11px 13px;
  width: calc(100% - 24px);
  text-align: left;
  background: #12140e;
  border-radius: var(--radius);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.inv-entry:after {
  content: "";
  position: absolute; right: -30px; top: -30px;
  width: 96px; height: 96px; border-radius: 999px;
  background: rgba(201, 242, 39, .12);
}
.ie-ico {
  width: 30px; height: 30px; flex: 0 0 30px;
  border-radius: 9px;
  background: var(--lime);
  color: #12140e;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
}
.ie-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ie-txt b { font-size: 12.5px; }
.ie-txt i { font-style: normal; font-size: 10.5px; color: rgba(255, 255, 255, .5); }
.ie-go { font-size: 11px; color: var(--lime); z-index: 1; }

.inv-hero {
  position: relative;
  margin: 12px;
  padding: 18px 16px 14px;
  border-radius: 18px;
  background: #12140e;
  color: #fff;
  overflow: hidden;
}
.inv-label { position: relative; font-size: 11px; color: rgba(255, 255, 255, .5); letter-spacing: .5px; }
.inv-code {
  position: relative;
  font-size: 38px; font-weight: 800;
  letter-spacing: 3px; color: var(--lime);
  line-height: 1.15; margin: 2px 0 2px;
}
.inv-meta { position: relative; font-size: 10.5px; color: rgba(255, 255, 255, .48); }
.inv-acts { position: relative; display: flex; gap: 8px; margin-top: 12px; }
.inv-acts button {
  flex: 1;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 11px;
}

/* 邀请海报 */
.poster {
  margin: 12px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #12140e;
  border: 1px solid rgba(18, 20, 14, .1);
  box-shadow: 0 10px 24px rgba(18, 20, 14, .14);
}
.poster-top { background: #0f1626; position: relative; }
/* 主图完整显示：宽度铺满、高度按原图比例，不裁切任何内容 */
.poster-img { width: 100%; height: auto; display: block; object-fit: contain; }
.poster-brand { min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 0 18px; gap: 3px; background: #f4f5ef; }
.pb-name { font-size: 21px; font-weight: 800; color: #12140e; letter-spacing: -.5px; }
.pb-name i { font-style: normal; font-size: 10px; color: var(--ink-3); margin-left: 5px; letter-spacing: .5px; }
.pb-sub { font-size: 11px; color: var(--ink-3); }
.poster-body { padding: 14px 132px 16px 16px; position: relative; min-height: 104px; }
.poster-title { font-size: 15px; font-weight: 700; color: #fff; }
.poster-sub { font-size: 10.5px; color: rgba(255, 255, 255, .5); margin-top: 3px; }
/* 彩色圆形二维码：浮在海报右下角，可覆盖主图 */
.poster-qr-round {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #c9f227, #35e0a1, #33a6ff, #a855f7, #c9f227);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .42);
  z-index: 3;
}
.poster-qr-round::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05);
}
.poster-qr-round .pqr-code { position: relative; display: block; width: 68%; height: 68%; z-index: 1; }
.poster-qr-round .pqr-code svg { display: block; width: 100%; height: 100%; }
.poster-code { font-size: 11px; color: rgba(255, 255, 255, .5); }
.poster-code b { font-size: 22px; color: var(--lime); letter-spacing: 2px; margin-left: 4px; vertical-align: -2px; }
.poster-store { font-size: 10px; color: rgba(255, 255, 255, .35); margin-top: 8px; letter-spacing: .4px; }

/* 直推会员列表 */
.tm-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tm-row:last-of-type { border-bottom: 0; }
.tm-av {
  width: 32px; height: 32px; flex: 0 0 32px;
  border-radius: 999px;
  background: #f0f2e8;
  color: var(--ink-2);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
}
.tm-main { flex: 1; min-width: 0; }
.tm-name { font-size: 12.5px; font-weight: 600; }
.tm-sub { font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }
.tm-right { text-align: right; }
.tm-right b { display: block; font-size: 13px; font-weight: 800; color: var(--lime-deep); }
.tm-right span { font-size: 10px; color: var(--ink-3); }

/* 佣金 */
.cm-hero {
  position: relative;
  margin: 12px;
  padding: 18px 16px 15px;
  border-radius: 18px;
  background: #12140e;
  color: #fff;
  overflow: hidden;
}
.cm-cap { position: relative; font-size: 11px; color: rgba(255, 255, 255, .5); }
.cm-num { position: relative; font-size: 36px; font-weight: 800; color: var(--lime); letter-spacing: -1px; line-height: 1.2; margin: 2px 0; }
.cm-sub { position: relative; font-size: 10.5px; color: rgba(255, 255, 255, .48); }
.cm-sum { display: flex; }
.cm-sum > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cm-sum > div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.cm-sum span { font-size: 10.5px; color: var(--ink-3); }
.cm-sum b { font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
.cm-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.cm-row:last-of-type { border-bottom: 0; }
.cm-row .t { font-size: 12px; }
.cm-row .s { font-size: 10px; color: var(--ink-3); margin-top: 3px; }
.cm-row b { margin-left: auto; font-size: 14px; font-weight: 800; color: var(--lime-deep); }

/* 后台会员列表 */
.mb-row { padding: 11px 0; border-bottom: 1px solid var(--line); }
.mb-row:last-of-type { border-bottom: 0; }
.mb-name { font-size: 12.5px; font-weight: 700; }
.mb-sub { font-size: 10.5px; color: var(--ink-3); margin-top: 3px; }
.mb-meta { font-size: 10.5px; color: var(--ink-3); margin-top: 3px; }
.mb-acts { display: flex; gap: 7px; margin-top: 8px; }

.up-row { display: flex; gap: 12px; align-items: center; }
.up-thumb { width: 104px; height: 60px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.up-empty {
  width: 104px; height: 60px;
  border: 1px dashed var(--line-2, #dcdfd4);
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 10px; color: var(--ink-3);
  text-align: center; line-height: 1.4;
}
.up-empty span { font-size: 9px; color: #b3b8a9; }
.up-acts { display: flex; gap: 7px; flex-direction: column; }

/* 登录页 */
.lg-hero {
  position: relative;
  margin: 12px;
  padding: 18px 16px;
  border-radius: 18px;
  background: #12140e;
  color: #fff;
  overflow: hidden;
}
.lg-title { position: relative; font-size: 16px; font-weight: 700; }
.lg-sub { position: relative; font-size: 10.5px; color: rgba(255, 255, 255, .5); margin-top: 4px; }
.lg-input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fafbf7;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 14px;
  letter-spacing: .5px;
  outline: none;
}

/* ---------- 佣金提现 / 下线名单 ---------- */
.cm-wd {
  position: absolute; right: 16px; top: 18px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--lime); color: #12140e;
  font-size: 12.5px; font-weight: 800; letter-spacing: .3px;
}
.cm-wd[disabled] { background: rgba(255,255,255,.16); color: rgba(255,255,255,.5); }
.cm-sum b.amber { color: var(--amber-deep); }

.st-chip {
  display: inline-block; margin-left: 5px; padding: 0 5px;
  border-radius: 4px; font-size: 9.5px; line-height: 15px; font-weight: 700;
  vertical-align: 1px;
}
.st-chip.ok { background: #e9f7c8; color: #4d6a00; }
.st-chip.wait { background: #fdf0d8; color: #97661a; }
.st-chip.done { background: #eceee6; color: #767f66; }

/* 下线名单 */
.dl-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.dl-row:last-of-type { border-bottom: 0; }
.dl-av {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #eef3d8, #dfe8c0); color: #4d6a00;
  font-size: 13px; font-weight: 800;
}
.dl-name { font-size: 12.5px; font-weight: 700; }
.dl-sub { font-size: 10px; color: var(--ink-3); margin-top: 2px; }
.dl-meta { font-size: 10px; color: var(--ink-3); margin-top: 2px; }
.dl-amt { text-align: right; }
.dl-amt b { display: block; font-size: 14px; font-weight: 800; color: var(--lime-deep); }
.dl-amt span { font-size: 9.5px; color: var(--ink-3); }

/* 提现弹层 */
.wd-avail {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 12px 14px; border-radius: 12px; background: #f7f9ef;
  border: 1px solid #e7ecd6; margin-bottom: 12px;
}
.wd-avail span { font-size: 11.5px; color: var(--ink-3); }
.wd-avail b { font-size: 22px; font-weight: 800; color: var(--lime-deep); letter-spacing: -.5px; }
.wd-quick { display: flex; justify-content: flex-end; margin: -4px 0 8px; }
.wd-quick button { font-size: 11.5px; color: var(--lime-deep); font-weight: 700; }
.wd-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 12px; }
.wd-row span { color: var(--ink-3); }
.wd-row b { font-weight: 600; }
.wd-row b.wd-net { color: var(--lime-deep); font-weight: 800; font-size: 13px; }
.wd-tip { font-size: 10px; color: var(--ink-3); line-height: 1.6; margin-top: 9px; }

/* 我的账户（四账户中心） */
.acc-hero {
  position: relative; margin: 12px; padding: 18px 16px 16px;
  border-radius: 15px; background: #12140e; color: #fff; overflow: hidden;
}
.acc-cap { position: relative; font-size: 10.5px; color: rgba(255,255,255,.5); letter-spacing: 1px; }
.acc-nm { position: relative; display: flex; align-items: center; gap: 7px; margin-top: 5px; font-size: 19px; font-weight: 800; }
.acc-sub { position: relative; margin-top: 4px; font-size: 10.5px; color: rgba(255,255,255,.45); }
.acc-note { position: relative; display: inline-block; margin-top: 10px; padding: 4px 9px; border-radius: 99px; font-size: 9.5px; color: var(--lime); background: rgba(201,242,39,.12); border: 1px solid rgba(201,242,39,.25); }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 0 12px 4px; }
.acc-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 13px 12px; border-radius: 13px; text-align: left;
  background: var(--card); border: 1px solid var(--line);
}
.acc-k { font-size: 11px; color: var(--ink-3); }
.acc-v { font-size: 21px; font-weight: 800; letter-spacing: -.6px; line-height: 1.2; }
.acc-v i { font-size: 12px; font-style: normal; margin-right: 1px; }
.acc-s { font-size: 9.5px; color: var(--ink-3); }
.acc-card.c-cash .acc-v { color: var(--ink); }
.acc-card.c-cm .acc-v { color: var(--lime-deep); }
.acc-card.c-pt .acc-v { color: #5b7a00; }
.acc-card.c-wf .acc-v { color: var(--amber-deep); }
.acc-rule { padding: 11px 0; border-bottom: 1px solid var(--line); }
.acc-rule:last-child { border-bottom: 0; }
.acc-rule-h { display: flex; align-items: baseline; justify-content: space-between; }
.acc-rule-h b { font-size: 12.5px; }
.acc-rule-h span { font-size: 9.5px; color: var(--ink-3); }
.acc-rule-d { font-size: 10.5px; color: var(--ink-2); line-height: 1.65; margin-top: 3px; }
.acc-rule-m { margin-top: 4px; font-size: 9.5px; color: var(--ink-3); display: flex; flex-direction: column; gap: 1px; }

/* 注册开通四账户提示 */
.acc-open-tip {
  margin-top: 10px; padding: 10px 12px; border-radius: 10px;
  background: #f7f9ef; border: 1px dashed #d8e3b8;
}
.acc-open-tip b { display: block; font-size: 11.5px; color: var(--lime-deep); }
.acc-open-tip span { display: block; margin-top: 3px; font-size: 10.5px; color: var(--ink-3); }

/* ═══ 首页四屏改版 ═══ */
.banner-snap { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.banner-snap::-webkit-scrollbar { display: none; }
.banner-snap img { width: 100%; flex: 0 0 100%; scroll-snap-align: start; display: block; cursor: pointer; }

.big-card { margin: 0 12px 12px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); cursor: pointer; }
.big-card.wf { border: 1px solid #f0e2bd; }
.big-img { width: 100%; display: block; }
.big-body { padding: 12px 14px 14px; }
.big-name { font-size: 15px; font-weight: 700; color: var(--ink, #12140e); }
.big-sub { font-size: 12px; color: var(--ink-3, #9ba192); margin-top: 3px; }
.big-foot { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.buy-tag { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--ink, #12140e); }
.buy-tag.amber { color: #b8860b; }
.wf-val { color: #b8860b; font-weight: 700; font-size: 13px; }
.wf-val b { font-size: 18px; }
.gift-tag { font-size: 10px; color: #fff; background: #c0392b; border-radius: 5px; padding: 2px 6px; }

/* ═══ 详情页：主图轮播 + 图文详情 ═══ */
.gallery-snap { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; background: #0b1226; }
.gallery-snap::-webkit-scrollbar { display: none; }
.gallery-snap img { width: 100%; flex: 0 0 100%; max-height: 420px; object-fit: contain; scroll-snap-align: start; display: block; }
.detail-pics img { width: 100%; display: block; margin-top: 10px; border-radius: 10px; }
