/* =========================================================
   扶摇国际 风格 · 响应式前台
   桌面：内容区最大 1200px，商品 3 列、快捷入口 4 列
   手机：自适应单列 / 双列
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
  --bg: #0a0a0f;
  --card: #16161f;
  --card-2: #1b1b26;
  --gold: #C9A063;
  --gold-2: #E8C88A;
  --text: #F5F1E8;
  --muted: #9B9BA8;
  --dim: #6f6f6f;
  --accent: #FB7185;
  --line: #2a2a35;
  --line-2: #343440;
  --radius: 12px;
  --grad: linear-gradient(135deg, var(--gold-2), var(--gold));
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: #0a0a0f;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }
svg { flex: none; }

.app {
  --pad: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 0 var(--pad) 96px;
  position: relative;
}
@media (max-width: 720px) {
  .app { --pad: 14px; padding-bottom: 88px; }
}

/* ---------- 顶部品牌栏 ---------- */
.topbar-wrap {
  margin: 0 calc(var(--pad) * -1);
  padding: 10px var(--pad) 12px;
  background: linear-gradient(180deg, #121008 0%, #0b0b0b 78%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 9px;
  overflow: hidden;
  background: #0b0906;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  display: flex; align-items: center; gap: 6px;
  font-size: 16px; font-weight: 700; letter-spacing: .5px;
  color: var(--text);
  white-space: nowrap;
}
.brand-badge {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid rgba(201,160,99,.4);
  border-radius: 4px;
  padding: 0 4px;
  line-height: 14px;
}
.brand-sub {
  margin-top: 1px;
  font-size: 10.5px;
  color: #7c766c;
  letter-spacing: .4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn {
  position: relative;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: #cfc9bf;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn .dot {
  position: absolute; top: 8px; right: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #fb7185;
  box-shadow: 0 0 0 2px #101008;
}
.avatar-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #171410;
  border: 1px solid rgba(201,160,99,.35);
  color: var(--gold-2);
  overflow: hidden;
}
.avatar-btn svg { width: 17px; height: 17px; }
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 搜索 ---------- */
.searchbar {
  margin-top: 10px;
  display: flex; align-items: center; gap: 8px;
  height: 46px;
  padding: 0 16px;
  background: rgba(22,22,31,.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 18px;
  color: #9B9BA8;
}
.searchbar svg { width: 15px; height: 15px; flex: none; }
.searchbar input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--text); font-size: 12.5px;
}
.searchbar input::placeholder { color: #666; }

/* ---------- 轮播 ---------- */
.banner-carousel {
  position: relative;
  margin-top: 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f0f0f;
}
.banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 6.5 / 1;
  min-height: 120px;
  overflow: hidden;
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.12)); }
.banner-text { position: relative; text-align: left; width: 100%; padding: 0 26px; z-index: 2; }
.banner-text h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.banner-text p { margin: 6px 0 0; font-size: 12.5px; color: var(--gold-2); }
.banner-dots {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; gap: 5px; justify-content: center; z-index: 3;
}
.banner-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.3); }
.banner-dots i.on { background: var(--gold); width: 14px; border-radius: 999px; }
@media (max-width: 720px) {
  .banner { aspect-ratio: 2.9 / 1; min-height: 112px; }
  .banner-text { padding: 0 16px; }
  .banner-text h3 { font-size: 16px; }
  .banner-text p { font-size: 11px; }
}

/* ---------- 快捷入口 ---------- */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.quick {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px;
  background: rgba(22,22,31,.8);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 16px;
  text-align: center;
  transition: transform .15s, border-color .15s;
}
.quick:hover { border-color: rgba(255,255,255,.95); transform: translateY(-1px); }
.quick:active { transform: scale(.95); }
.quick-ico {
  width: 44px; height: 44px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.quick-ico svg { width: 20px; height: 20px; }
.quick-title { font-size: 13px; font-weight: 600; line-height: 1.2; }
.quick-sub { font-size: 10.5px; color: #9B9BA8; margin-top: 1px; }
@media (max-width: 720px) {
  .quick-grid { gap: 8px; }
  .quick { padding: 10px 4px; gap: 6px; border-radius: 14px; }
  .quick-ico { width: 38px; height: 38px; border-radius: 14px; }
  .quick-ico svg { width: 18px; height: 18px; }
  .quick-title { font-size: 12px; }
  .quick-sub { font-size: 10px; }
}

/* ---------- 公告 ---------- */
.notice-bar {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(22,22,31,.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
  overflow: hidden;
}
.notice-ico {
  width: 24px; height: 24px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: #fff1f2;
  color: #f43f5e;
}
.notice-ico svg { width: 14px; height: 14px; }
.notice-label {
  flex: none;
  color: #f43f5e;
  font-size: 12px; font-weight: 500;
  margin-right: 2px;
}
.notice-text { flex: 1; min-width: 0; overflow: hidden; }
.notice-text span {
  display: block;
  font-size: 13px; color: #9B9BA8;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.notice-more { flex: none; display: flex; color: #9B9BA8; }
.notice-more svg { width: 16px; height: 16px; }

/* ---------- 区块标题 ---------- */
.section { margin-top: 0; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 20px 0 12px;
}
.section-head h2 {
  display: flex; align-items: center; gap: 8px;
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .5px;
}
.section-head h2::before {
  content: "";
  width: 4px; height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #C9A063, #FF6B6B);
}
.section-head .more {
  display: flex; align-items: center; gap: 2px;
  font-size: 12px;
  color: #8b8b8b;
}
.section-head .more svg { width: 13px; height: 13px; }

/* ---------- 分类标签 ---------- */
.tabs {
  display: flex; gap: 8px;
  padding: 0;
  margin: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #9B9BA8;
  background: transparent;
  border: 0;
  white-space: nowrap;
}
.tab.on {
  background: var(--grad);
  color: #231a0a;
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(201,160,99,.3);
}

/* ---------- 商品 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 721px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(5, 1fr); }
}
.product-card {
  display: flex; flex-direction: column;
  background: #16161f;
  border: 1px solid #fff;
  border-radius: 18px;
  overflow: hidden;
  padding: 6px;
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px -8px rgba(86,167,245,.5); }
.product-card:active { transform: scale(.99); }
.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: linear-gradient(135deg, #E9F3FF, #DCEBFF);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-bottom: 6px;
}
.product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.product-thumb svg { width: 30px; height: 30px; color: rgba(201,160,99,.45); }
.product-thumb .discount-badge {
  position: absolute; top: 6px; left: 6px;
  border-radius: 10px;
  font-size: 10px; font-weight: 700;
  padding: 2px 6px;
}
.product-tag {
  position: absolute; top: 8px; left: 8px;
  font-size: 10px; font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px;
  background: linear-gradient(135deg, #F5DCA8, #C9A063);
  color: #2a1e0b;
}
.product-info { padding: 0 2px 2px; display: flex; flex-direction: column; gap: 6px; }
.product-name {
  font-size: 12px; font-weight: 700; line-height: 1.25;
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-height: 0;
}
.buy-btn {
  display: block;
  padding: 2px 8px;
  border-radius: 999px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #C9A063 0%, #3d8bf5 100%);
  box-shadow: 0 1px 2px rgba(138,109,59,.3);
}
.buy-btn:hover { filter: brightness(1.1); }
.product-price {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px;
  font-size: 13.5px; font-weight: 700; color: var(--gold);
  line-height: 1.3;
}
.product-price small { font-size: 10px; font-weight: 400; color: var(--dim); text-decoration: line-through; }
.product-sales { font-size: 10px; color: var(--dim); }
@media (min-width: 721px) {
  .product-info { padding: 10px 2px 0; gap: 9px; }
  .product-name { font-size: 13.5px; }
  .buy-btn { font-size: 13px; padding: 7px 0; }
}

/* ---------- 通用 ---------- */
.page-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 0 8px;
}
.page-head h1 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.page-head .right { margin-left: auto; font-size: 12px; color: var(--muted); }
.page-head .back {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--line);
}
.page-head .back svg { width: 16px; height: 16px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card-pad { padding: 16px; }
.round-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap8 { gap: 8px; }
.gap12 { gap: 12px; }
.bold { font-weight: 700; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 12.5px; }
.tiny { font-size: 11px; }
.hr { height: 1px; background: var(--line); margin: 14px 0; }
.empty { padding: 46px 0; text-align: center; color: var(--dim); }
.empty svg { width: 34px; height: 34px; margin: 0 auto 10px; color: #3f3f3f; }
.empty p { margin: 0; font-size: 12.5px; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; color: #b8b3a9; margin-bottom: 7px; }
.input, .select, .textarea {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  background: #161616;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  color: var(--text);
  font-size: 13.5px;
  outline: 0;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; padding: 11px 13px; line-height: 1.6; resize: vertical; }
.input:focus, .textarea:focus, .select:focus {
  border-color: rgba(201,160,99,.6);
  box-shadow: 0 0 0 3px rgba(201,160,99,.08);
}
.input::placeholder, .textarea::placeholder { color: #5f5a52; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%;
  height: 43px;
  border: 0;
  border-radius: 9px;
  background: var(--grad);
  color: #2a1e0b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .8px;
  box-shadow: 0 8px 22px rgba(201,160,99,.22);
  transition: transform .12s, box-shadow .12s, opacity .15s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.ghost {
  background: #1a1a1a;
  color: var(--text);
  border: 1px solid var(--line-2);
  box-shadow: none;
  font-weight: 500;
}
.btn.small { width: auto; height: 36px; padding: 0 14px; font-size: 12.5px; border-radius: 8px; }
.btn.danger { background: rgba(251,113,133,.16); color: #fb7185; border: 1px solid rgba(251,113,133,.3); box-shadow: none; }
.btn svg { width: 15px; height: 15px; }

/* ---------- 分段选择 ---------- */
.seg {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 9px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button {
  flex: 0 0 auto;
  padding: 7px 16px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  white-space: nowrap;
}
.seg button.on {
  background: var(--grad);
  color: #2a1e0b;
  font-weight: 700;
}

/* ---------- 列表 ---------- */
.list { display: flex; flex-direction: column; gap: 10px; }
.list-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 14px;
}
.li-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.li-title { font-size: 13.5px; font-weight: 600; }
.li-sub { margin-top: 5px; font-size: 12px; color: var(--muted); }
.li-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--dim); }
.status-pill { flex: none; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }

/* ---------- 统计 ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px 12px;
  text-align: center;
}
.stat b { display: block; font-size: 19px; font-weight: 700; }
.stat span { display: block; margin-top: 3px; font-size: 11px; color: var(--dim); }

/* ---------- 交易 ---------- */
.rate-card {
  margin-top: 12px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,160,99,.14), rgba(201,160,99,.03)), var(--card);
  border: 1px solid rgba(201,160,99,.18);
}
.rate-big { margin-top: 4px; font-size: 28px; font-weight: 800; color: var(--gold-2); letter-spacing: .5px; }
.rate-big small { font-size: 12px; font-weight: 500; color: var(--muted); }
.rate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.rate-cell {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 9px;
  padding: 10px 12px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--muted);
}
.rate-cell b { font-size: 14px; }

/* ---------- 买单付款 ---------- */
.li-actions { display: flex; gap: 8px; margin-top: 10px; }
.li-btn {
  flex: 1;
  height: 36px;
  border: 0;
  border-radius: 9px;
  background: var(--grad);
  color: #2a1e0b;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
}
.li-btn:active { opacity: .85; }
.li-btn.ghost { background: transparent; border: 1px solid var(--line-2); color: var(--muted); font-weight: 600; }
.li-btn.ghost:active { opacity: .7; }
.li-btn[disabled] { opacity: .5; }
.pay-sum {
  padding: 16px;
  border-radius: 13px;
  text-align: center;
  background: linear-gradient(135deg, rgba(201,160,99,.14), rgba(201,160,99,.03)), var(--card);
  border: 1px solid rgba(201,160,99,.2);
}
.pay-total { margin: 4px 0 6px; font-size: 28px; font-weight: 800; color: var(--gold-2); }
.pay-total b { font-weight: 800; }
.pay-card {
  margin-top: 12px;
  padding: 12px 14px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.pay-account-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 10px 12px;
  background: rgba(0,0,0,.28);
  border: 1px dashed rgba(201,160,99,.3);
  border-radius: 10px;
}
.pay-account {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-2);
  word-break: break-all;
}
.pay-copy {
  flex: none;
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(201,160,99,.4);
  border-radius: 8px;
  background: rgba(201,160,99,.12);
  color: var(--gold);
  font-size: 12px;
  font-family: inherit;
}
.pay-qr {
  display: block;
  width: 168px;
  max-width: 100%;
  margin: 12px auto 0;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
}
.pay-proof {
  display: block;
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed rgba(201,160,99,.3);
  border-radius: 12px;
  background: var(--card);
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.pay-proof img { display: block; width: 120px; max-width: 100%; margin: 8px auto 0; border-radius: 8px; }
.pay-support { display: block; margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--gold); }

/* ---------- 我的 ---------- */
.profile-card {
  margin-top: 12px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.avatar {
  width: 52px; height: 52px;
  flex: none;
  border-radius: 50%;
  background: #1d1a14;
  border: 1px solid rgba(201,160,99,.3);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.avatar svg { width: 24px; height: 24px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.asset-box {
  margin-top: 14px;
  padding: 15px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(201,160,99,.10), rgba(201,160,99,.02));
  border: 1px solid rgba(201,160,99,.14);
}
.asset-main { margin-top: 3px; font-size: 27px; font-weight: 800; color: var(--gold-2); letter-spacing: .5px; }
.asset-main small { font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.asset-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 13px; }
.asset-item { text-align: center; }
.asset-item b { display: block; font-size: 14px; font-weight: 700; }
.asset-item span { display: block; margin-top: 2px; font-size: 10.5px; color: var(--dim); }

.pill-row { display: flex; gap: 10px; margin-top: 12px; }
.pill-btn {
  flex: 1;
  height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: var(--grad);
  color: #2a1e0b;
  font-size: 13px;
  font-weight: 700;
}
.pill-btn.ghost { background: var(--card); border: 1px solid var(--line); color: var(--text); font-weight: 500; }

.menu-group-title { margin: 20px 0 10px; font-size: 12.5px; color: var(--dim); letter-spacing: .5px; }
.menu-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.menu-list + .menu-list { margin-top: 10px; }
.menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,.045);
}
.menu-item:last-child { border-bottom: 0; }
.menu-item:active { background: rgba(255,255,255,.03); }
.mi-ico {
  width: 32px; height: 32px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: rgba(201,160,99,.1);
  color: var(--gold);
}
.mi-ico svg { width: 16px; height: 16px; }
.mi-title { flex: 1; font-size: 13.5px; }
.mi-arrow { color: #4a4a4a; display: flex; }
.mi-arrow svg { width: 15px; height: 15px; }

/* ---------- 代理 ---------- */
.invite-box {
  margin-top: 12px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,160,99,.14), rgba(201,160,99,.03)), var(--card);
  border: 1px solid rgba(201,160,99,.18);
  text-align: center;
}
.invite-code { font-size: 26px; font-weight: 800; letter-spacing: 5px; color: var(--gold-2); margin: 8px 0; }
.invite-link { font-size: 11.5px; color: var(--muted); word-break: break-all; }
.level-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.level-cell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 4px;
  text-align: center;
}
.level-cell b { display: block; font-size: 14px; color: var(--gold); }
.level-cell span { display: block; font-size: 10px; color: var(--dim); margin-top: 2px; }

/* ---------- 竞猜 ---------- */
.opt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.opt {
  padding: 16px 12px;
  border-radius: 11px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: center;
}
.bet-form { margin-top: 12px; }
.opt-row .opt b { display: block; font-size: 17px; }

/* ---------- 文章 ---------- */
.article { font-size: 13px; line-height: 1.9; color: #cfcabf; }
.article h3 { font-size: 15px; color: var(--gold); margin: 20px 0 8px; }
.article p { margin: 0 0 10px; }
.article ul { padding-left: 18px; }

/* ---------- 页脚 / 底部导航 ---------- */
.footer {
  margin-top: 26px;
  padding: 18px 0 6px;
  border-top: 1px solid rgba(255,255,255,.05);
  text-align: center;
  font-size: 11px;
  color: #5c564d;
  line-height: 1.9;
}
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid #E7EFFB;
  box-shadow: 0 -4px 24px rgba(86,167,245,.10);
}
.bottom-nav .inner {
  max-width: 512px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  flex: 0 0 auto;
  font-size: 11px;
  color: #a7b6d0;
  padding: 4px 14px;
  border-radius: 999px;
  transition: color .18s, background .18s;
}
.nav-item svg { width: 24px; height: 24px; }
.nav-item.on { color: #2F9BFF; background: rgba(47,155,255,.10); }

.fab {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 80;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(201,160,99,.16);
  border: 1px solid rgba(201,160,99,.35);
  color: var(--gold-2);
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.fab svg { width: 18px; height: 18px; }

/* ---------- 弹层 ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 96px;
  transform: translate(-50%, 14px);
  max-width: 82vw;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(20,20,20,.96);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 12.5px;
  opacity: 0;
  pointer-events: none;
  transition: .22s;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-color: rgba(251,113,133,.45); color: #ffc2cc; }
.sheet-mask {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  opacity: 0; pointer-events: none;
  transition: .2s;
  z-index: 100;
}
.sheet-mask.show { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 560px;
  background: #141414;
  border: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  z-index: 101;
  transition: transform .25s;
  max-height: 86vh;
  overflow-y: auto;
}
.sheet.show { transform: translateX(-50%) translateY(0); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; font-size: 15px; font-weight: 700; }
.sheet-head .x { color: var(--muted); }
.sheet-body { padding: 0 18px 24px; }

.notice-popup {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.notice-popup.show { display: flex; }
.notice-popup .np {
  width: 100%;
  max-width: 340px;
  padding: 22px;
  background: #141414;
  border: 1px solid rgba(201,160,99,.16);
  border-radius: 16px;
}
.notice-popup h3 { margin: 0 0 10px; font-size: 16px; text-align: center; }
.notice-popup p { margin: 0 0 18px; font-size: 13px; color: var(--muted); line-height: 1.7; text-align: center; }

/* 旧版 hero（保留兼容） */
.hero-top { display: none; }

/* ---------- 子页面在宽屏下收窄，保证阅读宽度 ---------- */
@media (min-width: 721px) {
  .sub-page .app > * { max-width: 880px; margin-left: auto; margin-right: auto; }
  .sub-page .app > .footer { max-width: 880px; }
}

/* =====================================================
   充值 USDT
   ===================================================== */
.recharge-page { background: #080807; }
@media (min-width: 721px) {
  .recharge-page .app > * { max-width: 980px; }
  .recharge-page .app > .rc-bar {
    max-width: none;
    margin-left: calc(var(--pad) * -1);
    margin-right: calc(var(--pad) * -1);
  }
}

.rc-bar {
  margin: 0 calc(var(--pad) * -1);
  padding: 11px var(--pad);
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #EADCB9 0%, #E0CA9A 40%, #D2B278 100%);
  border-bottom: 1px solid rgba(120, 90, 40, .28);
  position: sticky;
  top: 0;
  z-index: 60;
}
.rc-back {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
  color: #8d6c31;
}
.rc-back:active { background: rgba(120, 90, 40, .14); }
.rc-back svg { width: 18px; height: 18px; }
.rc-bar-ico {
  width: 28px; height: 28px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
  background: rgba(120, 90, 40, .16);
  color: #8d6c31;
}
.rc-bar-ico svg { width: 16px; height: 16px; }
.rc-bar h1 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .6px;
  color: #8a6a2f;
}

.rc-wrap { padding-top: 2px; padding-bottom: 10px; }

.rc-card {
  background: #101010;
  border: 1px solid rgba(201, 160, 99, .45);
  border-radius: 15px;
  padding: 20px;
  margin-top: 16px;
}
.rc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #efe9dc;
  line-height: 1.4;
}
.rc-title svg { width: 16px; height: 16px; color: var(--gold); }

.rc-addr {
  margin-top: 14px;
  padding: 14px;
  background: #161616;
  border: 1px solid #282828;
  border-radius: 9px;
  font-size: 13px;
  color: #ece7db;
  letter-spacing: .2px;
  word-break: break-all;
}
.rc-copy {
  width: 100%;
  height: 34px;
  margin-top: 12px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: #b08b45;
  font-size: 12.5px;
  font-weight: 600;
}
.rc-copy svg { width: 14px; height: 14px; }
.rc-copy:active { background: #f1f1f1; }

.rc-label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #efe9dc;
}
.rc-amount {
  display: flex;
  align-items: center;
  height: 42px;
  padding-right: 14px;
  background: #161616;
  border: 1px solid #282828;
  border-radius: 9px;
  transition: border-color .16s, box-shadow .16s;
}
.rc-amount:focus-within {
  border-color: rgba(201, 160, 99, .6);
  box-shadow: 0 0 0 3px rgba(201, 160, 99, .08);
}
.rc-amount input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 14px;
  background: none;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 13.5px;
}
.rc-amount input::placeholder { color: #6c6c6c; }
.rc-unit { flex: none; color: var(--muted); font-size: 13px; }
.rc-min { margin-top: 10px; font-size: 11.5px; color: #6f6f6f; }

.rc-drop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 156px;
  margin-top: 14px;
  padding: 18px;
  background: #0d0d0d;
  border: 1px dashed #3a3a3a;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .16s, background .16s;
}
.rc-drop:hover { border-color: rgba(201, 160, 99, .55); background: #111; }
.rc-drop.is-loading { opacity: .6; pointer-events: none; }
.rc-drop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.rc-drop-empty svg { width: 30px; height: 30px; color: #8b8b8b; margin-bottom: 2px; }
.rc-drop-empty b { font-size: 13px; font-weight: 600; color: #f0eadc; }
.rc-drop-empty i { font-style: normal; font-size: 11px; color: #6f6f6f; }
.rc-proof-img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 8px;
}

.rc-submit {
  width: 100%;
  height: 44px;
  margin-top: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(100deg, #CBB486 0%, #BC9F68 45%, #A9864C 100%);
  color: #3a2a10;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .8px;
  box-shadow: 0 10px 24px rgba(201, 160, 99, .16);
  transition: transform .12s, box-shadow .12s, opacity .15s;
}
.rc-submit:active { transform: translateY(1px); }
.rc-submit[disabled] { opacity: .55; pointer-events: none; }
.rc-submit svg { width: 15px; height: 15px; }

.rc-record-empty {
  padding: 42px 0 46px;
  text-align: center;
  font-size: 12.5px;
  color: #6f6f6f;
}
.rc-records { margin-top: 8px; }
.rc-record { padding: 14px 0; border-top: 1px solid #1f1f1f; }
.rc-record:first-child { border-top: 0; }
.rc-record-head { display: flex; align-items: center; gap: 10px; }
.rc-record-amount { font-size: 14px; font-weight: 700; color: var(--gold-2); }
.rc-record-status { margin-left: auto; padding: 2px 8px; border-radius: 999px; font-size: 11px; }
.rc-record-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  font-size: 11px;
  color: #6f6f6f;
}
.rc-record-proof { display: inline-block; margin-top: 6px; font-size: 11.5px; color: var(--gold); }
.rc-record-cancel {
  display: inline-block;
  margin-top: 8px;
  height: 30px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}
.rc-record-cancel:active { opacity: .7; }
.rc-record-cancel[disabled] { opacity: .5; }

.rc-steps {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #b9b4aa;
  font-size: 12.5px;
  line-height: 1.9;
}
.rc-steps li { padding-left: 2px; }
.rc-steps li::marker { color: #9b9ba8; }

@media (max-width: 720px) {
  .rc-card { padding: 16px; border-radius: 13px; margin-top: 12px; }
  .rc-drop { min-height: 140px; }
  .rc-bar h1 { font-size: 15px; }
}

/* =====================================================
   登录 / 注册
   ===================================================== */
.app.auth-app { max-width: none; background: transparent; box-shadow: none; padding: 0; overflow: visible; }
.auth-body { background: #090806; }
.auth-app .bottom-nav, .auth-app .fab,
.auth-body .bottom-nav, .auth-body .fab { display: none !important; }

.auth-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 18px 40px;
  overflow: hidden;
  background:
    radial-gradient(760px 380px at 50% -8%, rgba(201,160,99,.17), transparent 68%),
    radial-gradient(520px 320px at 6% 78%, rgba(201,160,99,.08), transparent 70%),
    radial-gradient(480px 300px at 96% 26%, rgba(201,160,99,.07), transparent 70%),
    #090806;
}
.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .28;
  pointer-events: none;
}
.auth-brandmark {
  position: absolute;
  top: 26px;
  left: max(22px, calc(50% - 252px));
  width: 30px;
  height: 38px;
  opacity: .9;
  z-index: 2;
}
.auth-brandmark img { width: 100%; height: 100%; object-fit: contain; }
.auth-spark { position: absolute; color: rgba(201,160,99,.5); pointer-events: none; z-index: 1; }
.auth-spark svg { width: 100%; height: 100%; display: block; }
.auth-spark.s1 { width: 14px; height: 14px; left: 13%; top: 9%; opacity: .55; }
.auth-spark.s2 { width: 20px; height: 20px; right: 22%; top: 11%; opacity: .38; }
.auth-spark.s3 { width: 18px; height: 18px; right: 23%; bottom: 20%; opacity: .45; }
.auth-spark.s4 { width: 11px; height: 11px; left: 17%; bottom: 34%; opacity: .35; }

.auth-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.auth-brand { text-align: center; margin-bottom: 18px; }
.auth-logo {
  width: 90px; height: 117px;
  margin: 0 auto 13px;
  border-radius: 6px;
  background: #0b0906;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 34px rgba(201,160,99,.18);
}
.auth-logo img { width: 100%; height: 100%; object-fit: contain; }
.auth-brand h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #F7F2E7;
  line-height: 1.2;
}
.auth-tag {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: .9px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.auth-tag::before, .auth-tag::after {
  content: "";
  width: 3.5px; height: 3.5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .85;
}
.auth-card {
  width: 100%;
  background: rgba(20,17,13,.94);
  border: 1px solid rgba(201,160,99,.16);
  border-radius: 20px;
  padding: 18px 17px 20px;
  box-shadow: 0 26px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.03);
}
.auth-tabs {
  display: flex;
  padding: 3px;
  margin-bottom: 14px;
  background: #0c0a08;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 999px;
}
.auth-tabs a {
  flex: 1;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 14px;
  color: #8b857b;
  border-radius: 999px;
  transition: .18s ease;
}
.auth-tabs a.on {
  background: linear-gradient(135deg, #F5DCA8, #C9A063);
  color: #2a1e0b;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(201,160,99,.34);
}
.afield { margin-bottom: 10px; }
.afield > label { display: block; font-size: 12.5px; color: #cfc7b9; margin-bottom: 7px; letter-spacing: .3px; }
.ainput {
  position: relative;
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 13px 0 38px;
  background: #171310;
  border: 1px solid #2b2419;
  border-radius: 9px;
  transition: border-color .16s, box-shadow .16s;
}
.ainput:focus-within { border-color: rgba(201,160,99,.6); box-shadow: 0 0 0 3px rgba(201,160,99,.08); }
.ainput .ai { position: absolute; left: 13px; width: 16px; height: 16px; color: #7d766a; pointer-events: none; }
.ainput input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  background: none;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 14px;
  padding: 0;
  border-radius: 0;
}
.ainput input::placeholder { color: #6b6459; }
.ainput .eye {
  flex: none;
  width: 26px; height: 26px;
  margin-left: 4px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0;
  color: #7d766a;
}
.ainput .eye svg { width: 17px; height: 17px; }
.acheck {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 14px;
  font-size: 12.5px;
  color: #a9a294;
  cursor: pointer;
  user-select: none;
  width: fit-content;
}
.acheck input { position: absolute; opacity: 0; width: 0; height: 0; }
.acheck .box {
  width: 14px; height: 14px;
  flex: none;
  border: 1px solid #4a4234;
  border-radius: 3px;
  background: #171310;
  position: relative;
}
.acheck input:checked + .box { background: linear-gradient(135deg, #F5DCA8, #C9A063); border-color: #C9A063; }
.acheck input:checked + .box::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border: solid #2a1e0b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.abtn {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #F5DCA8, #C9A063 58%, #B98A46);
  color: #2a1e0b;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  box-shadow: 0 10px 26px rgba(201,160,99,.28);
  transition: transform .12s, box-shadow .12s;
}
.abtn:active { transform: translateY(1px); box-shadow: 0 6px 16px rgba(201,160,99,.24); }
.atip { margin: 8px 0 11px; font-size: 11.5px; line-height: 1.7; color: #6f695e; }
.anext {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -4px 0 12px;
  padding: 8px 11px;
  font-size: 12px;
  line-height: 1.5;
  color: #d8c39a;
  background: rgba(201,160,99,.09);
  border: 1px solid rgba(201,160,99,.22);
  border-radius: 8px;
}
.anext svg { width: 13px; height: 13px; flex: none; color: #c9a063; }
.auth-foot { margin: 18px 0 0; font-size: 11.5px; letter-spacing: .8px; color: #5c564d; }
@media (max-width: 380px) {
  .auth-page { padding: 74px 14px 48px; }
  .auth-brand h1 { font-size: 27px; }
  .auth-card { padding: 16px 14px 18px; }
}
@media (max-height: 700px) {
  .auth-page { align-items: flex-start; padding-top: 64px; }
}

/* =====================================================
   我的（个人中心）
   ===================================================== */
.profile-page { background: #080807; }
@media (min-width: 721px) {
  .profile-page .app > * { max-width: 980px; }
  .profile-page .app > .pf-hero {
    max-width: none;
    margin-left: calc(var(--pad) * -1);
    margin-right: calc(var(--pad) * -1);
  }
}

.pf-hero {
  margin: 0 calc(var(--pad) * -1);
  padding: 16px var(--pad) 74px;
  background:
    radial-gradient(120% 130% at 4% 0%, rgba(255, 255, 255, .38), transparent 58%),
    linear-gradient(158deg, #EBDCB8 0%, #DFC590 52%, #C9A063 100%);
  border-radius: 0 0 22px 22px;
  position: relative;
}
.pf-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 76px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, rgba(8, 8, 7, 0) 0%, rgba(8, 8, 7, .72) 58%, #080807 100%);
  pointer-events: none;
}
.pf-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pf-hero h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #7d5f2a;
}
.pf-hero-links { display: flex; align-items: center; gap: 8px; }
.pf-toplink {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .3);
  color: #7d5f2a;
  font-size: 11px;
  font-weight: 600;
}
.pf-edit {
  width: 27px; height: 27px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  color: #7d5f2a;
}
.pf-edit svg { width: 14px; height: 14px; }

.pf-user {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
}
.pf-avatar {
  width: 54px; height: 54px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, .42);
  border: 2px solid rgba(255, 255, 255, .6);
  color: #8a6a2f;
  box-shadow: 0 6px 16px rgba(120, 90, 40, .16);
}
.pf-avatar svg { width: 26px; height: 26px; }
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf-user-body { min-width: 0; }
.pf-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16.5px;
  font-weight: 700;
  color: #3f2f13;
  line-height: 1.3;
}
.pf-name > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-vip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 17px;
  padding: 0 6px;
  border-radius: 999px;
  background: #3f3218;
  color: #E8C88A;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .3px;
}
.pf-vip svg { width: 10px; height: 10px; }
.pf-meta {
  margin-top: 3px;
  font-size: 11px;
  color: #6f6349;
}

.pf-assets {
  position: relative;
  margin-top: -52px;
  padding: 14px 18px 14px;
  background: #0b0b0b;
  border: 1px solid rgba(201, 160, 99, .45);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .45);
}
.pf-assets-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pf-assets-head > span { font-size: 12px; color: #a9a49a; }
.pf-btn-recharge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 13px;
  border-radius: 999px;
  background: linear-gradient(100deg, #E3BE83, #C9A063);
  color: #3a2a10;
  font-size: 11.5px;
  font-weight: 700;
}
.pf-btn-recharge svg { width: 12px; height: 12px; }

.pf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 10px;
}
.pf-stat {
  position: relative;
  padding: 4px 4px 2px;
  text-align: center;
}
.pf-stat + .pf-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, .09);
}
.pf-stat b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #f0ece1;
  letter-spacing: .3px;
}
.pf-stat span {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  color: #7d7a72;
}
.pf-stat.is-main b { font-size: 20px; color: #F2994A; font-weight: 700; }

.pf-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.pf-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: #F5F2EA;
  color: #8b8fa8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
}
.pf-action svg { width: 13px; height: 13px; flex: none; }
.pf-action.tone-gold { background: linear-gradient(100deg, #E3BE83, #C9A063); color: #3a2a10; }
.pf-action.tone-blue { color: #7b86c8; }
.pf-action.tone-orange { color: #E0954E; }
.pf-action:active { transform: translateY(1px); }

.pf-section-title {
  margin: 18px 2px 10px;
  font-size: 12.5px;
  color: #8f8a80;
  letter-spacing: .5px;
}
.pf-services {
  padding: 16px 8px 10px;
  background: #0b0b0b;
  border: 1px solid rgba(201, 160, 99, .45);
  border-radius: 14px;
}
.pf-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  row-gap: 16px;
}
.pf-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 2px 0;
  min-width: 0;
}
.pf-service-ico {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #EDD6A6, #C9A063);
  color: #46320f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 10px rgba(0, 0, 0, .25);
  transition: transform .12s;
}
.pf-service-ico svg { width: 16px; height: 16px; }
.pf-service > span:last-child {
  font-size: 10.5px;
  color: #9b968c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.pf-service:active .pf-service-ico { transform: translateY(1px); }

.pf-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 46px;
  margin-top: 16px;
  background: #0b0b0b;
  border: 1px solid rgba(201, 160, 99, .45);
  border-radius: 14px;
  color: #ef6b6b;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .5px;
}
.pf-logout svg { width: 15px; height: 15px; }

@media (max-width: 720px) {
  .pf-hero { padding-top: 14px; padding-bottom: 68px; border-radius: 0 0 18px 18px; }
  .pf-assets { margin-top: -48px; padding: 13px 14px; border-radius: 13px; }
  .pf-services { padding: 14px 6px 8px; border-radius: 13px; }
  .pf-services-grid { row-gap: 14px; }
  .pf-service-ico { width: 32px; height: 32px; border-radius: 8px; }
  .pf-service-ico svg { width: 15px; height: 15px; }
  .pf-service > span:last-child { font-size: 10px; }
  .pf-logout { border-radius: 13px; }
}
@media (max-width: 360px) {
  .pf-service > span:last-child { font-size: 9.5px; }
  .pf-action { font-size: 11px; }
}

/* =====================================================
   在线客服（聊天）
   ===================================================== */
.support-page { background: #080807; }
.support-page .app { padding-bottom: 152px; }
.support-page .fab { display: none; }
@media (min-width: 721px) {
  .support-page .app > * { max-width: 980px; }
  .support-page .app > .sp-head { max-width: none; }
}

.sp-head {
  position: sticky;
  top: 0;
  z-index: 60;
  margin: 0 calc(var(--pad) * -1);
  padding: 7px var(--pad);
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(100deg, #DCC08C 0%, #C9A063 55%, #B58D52 100%);
  border-bottom: 1px solid rgba(120, 90, 40, .28);
}
.sp-back {
  width: 26px; height: 26px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
  color: #FFF8E9;
}
.sp-back:active { background: rgba(255, 255, 255, .16); }
.sp-back svg { width: 17px; height: 17px; }
.sp-head-text { min-width: 0; }
.sp-title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #FFF8E9;
  line-height: 1.25;
}
.sp-sub {
  margin-top: 1px;
  font-size: 10px;
  color: rgba(255, 248, 233, .82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-headset {
  margin-left: auto;
  flex: none;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #FFF8E9;
}
.sp-headset svg { width: 15px; height: 15px; }

.sp-chat { padding: 0 0 8px; }
.sp-hint {
  margin: 16px 0 12px;
  text-align: center;
  font-size: 11.5px;
  color: #7a7a7a;
}
.sp-msgs { display: flex; flex-direction: column; gap: 12px; }
.sp-row { display: flex; align-items: flex-end; }
.sp-row.me { justify-content: flex-end; }
.sp-row.cs { justify-content: flex-start; }
.sp-bubble {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  word-break: break-word;
  white-space: pre-wrap;
}
.sp-row.me .sp-bubble {
  background: linear-gradient(135deg, #EBD3A0, #C9A063);
  color: #3a2a10;
  font-weight: 500;
  border-bottom-right-radius: 3px;
  box-shadow: 0 6px 16px rgba(201, 160, 99, .16);
}
.sp-row.cs .sp-bubble {
  background: #161616;
  border: 1px solid rgba(201, 160, 99, .24);
  color: #e9e4d8;
  border-bottom-left-radius: 3px;
}
.sp-bubble.has-img {
  padding: 4px;
  background: #161616;
  border: 1px solid rgba(201, 160, 99, .3);
  box-shadow: none;
}
.sp-bubble.has-img img {
  display: block;
  max-width: 180px;
  border-radius: 9px;
}
.sp-wait { font-size: 10.5px; color: #6a6a6a; padding-left: 2px; }

.sp-inputbar {
  position: fixed;
  left: 0; right: 0;
  bottom: 64px;
  z-index: 70;
  margin: 0;
  padding: 10px var(--pad);
  background: rgba(10, 10, 9, .95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201, 160, 99, .16);
}
.sp-inputbar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 980px;
  margin: 0 auto;
}
.sp-imgbtn {
  width: 36px; height: 36px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  border: 1px solid rgba(201, 160, 99, .5);
  border-radius: 9px;
  background: #141414;
  color: var(--gold);
}
.sp-imgbtn svg { width: 16px; height: 16px; }
.sp-imgbtn.is-loading { opacity: .5; pointer-events: none; }
.sp-field {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(201, 160, 99, .5);
  border-radius: 9px;
  background: #111;
}
.sp-field input {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  font-size: 12.5px;
}
.sp-field input::placeholder { color: #6c6c6c; }
.sp-send {
  width: 36px; height: 36px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #EBD3A0, #C9A063);
  color: #3a2a10;
  box-shadow: 0 6px 16px rgba(201, 160, 99, .22);
}
.sp-send svg { width: 16px; height: 16px; }
.sp-send[disabled] { opacity: .55; pointer-events: none; }

@media (max-width: 720px) {
  .support-page .app { padding-bottom: 142px; }
  .sp-title { font-size: 14px; }
  .sp-sub { max-width: 210px; }
  .sp-inputbar { padding: 8px var(--pad); }
  .sp-imgbtn, .sp-field, .sp-send { height: 34px; }
  .sp-imgbtn, .sp-send { width: 34px; }
}

/* ---------- 商品详情：自定义金额 ---------- */
.amount-label { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.amount-input-wrap { position: relative; }
.amount-input-wrap .input { text-align: center; font-size: 24px; font-weight: 700; letter-spacing: 1px; padding-right: 46px; height: 54px; }
.amount-unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; pointer-events: none; }
.amount-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.amount-chip { padding: 12px 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--card-2); color: #b9b5ad; font-size: 14px; cursor: pointer; transition: all .15s ease; }
.amount-chip:hover { border-color: var(--line-2); }
.amount-chip.on { background: var(--grad); border-color: transparent; color: #241a0a; font-weight: 700; }

/* ---------- 商品教程 ---------- */
.tutorial-bar { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid rgba(201,160,99,.35); background: linear-gradient(135deg, rgba(201,160,99,.16), rgba(201,160,99,.05)); color: var(--gold); border-radius: 12px; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.tutorial-badge { width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--gold); color: #1a1408; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.tutorial-text { flex: 1; }
.tutorial-more { display: flex; opacity: .7; }
.tutorial-more svg { width: 16px; height: 16px; }
.tutorial-mask { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.8); display: none; align-items: center; justify-content: center; padding: 22px; }
.tutorial-mask.show { display: flex; }
.tutorial-modal { width: 100%; max-width: 430px; max-height: 76vh; display: flex; flex-direction: column; background: #16161f; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.tutorial-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.tutorial-body { padding: 16px 18px 20px; overflow: auto; font-size: 14px; line-height: 1.8; color: #9ca3af; white-space: pre-wrap; }
.tutorial-close { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }

/* ---------- 商品折扣角标 ---------- */
.thumb-flags { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.thumb-flags .product-tag { position: static; top: auto; left: auto; }
.discount-badge { display: inline-block; font-size: 10px; font-weight: 700; line-height: 1.5; padding: 2px 6px; border-radius: 10px; background: linear-gradient(90deg, #C9A063, #FF6B6B); color: #fff; letter-spacing: .3px; box-shadow: 0 4px 12px rgba(255,140,120,.35); }

/* ---------- 产品详情页（对齐 fygj.lol） ---------- */
.product-head {
  margin: 0 calc(var(--pad) * -1);
  padding: 16px var(--pad);
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(90deg, #E8C88A 0%, #C9A063 100%);
  color: #fff;
  border-radius: 0 0 32px 32px;
}
.product-head h1 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: .3px; color: #fff; }
.ph-back { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: #fff; }
.ph-back svg { width: 20px; height: 20px; }
.product-detail { padding-top: 14px; }
.product-detail .card {
  border-radius: 18px;
  background: #16161f;
  border: 1px solid #e5e5e5;
}
.product-detail .card-pad { padding: 22px 16px; }

.amount-chips { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.amount-label { font-size: 14px; color: #6b7280; margin-bottom: 8px; }
.product-detail .amount-input-wrap .input {
  height: 56px;
  border: 2px solid #bfdbfe;
  border-radius: 8px;
  background: #16161f;
  font-size: 24px;
  font-weight: 700;
  padding: 4px 44px 4px 12px;
}
.product-detail .amount-input-wrap .input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.product-detail .amount-unit { right: 14px; font-size: 20px; font-weight: 700; color: #F5F1E8; }
.product-detail .amount-chip {
  padding: 12px 16px;
  border-radius: 12px;
  background: #16161f;
  border: 1px solid #2a2a35;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
}
.product-detail .amount-chip.on {
  background: linear-gradient(90deg, #E8C88A, #C9A063);
  border-color: transparent;
  color: #231a0a;
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(201,160,99,.35);
}

/* 教程条：浅色胶囊（对齐截图） */
.product-detail .tutorial-bar {
  border: none;
  background: #fff7ed;
  color: #ea580c;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  padding: 12px;
  gap: 8px;
}
.product-detail .tutorial-badge {
  width: auto; height: auto;
  background: transparent;
  border: 0;
  color: #f97316;
  font-size: 12px;
}
.product-detail .tutorial-badge svg { width: 20px; height: 20px; }

.info-card .info-title { font-size: 16px; font-weight: 500; color: #6b7280; margin-bottom: 10px; }
.info-card .field { margin-top: 12px; }
.info-card .field label { color: #9ca3af; font-size: 14px; margin-bottom: 6px; }
.info-card .req { color: #ef4444; font-weight: 700; }

.balance-card {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 40px 18px;
  border-radius: 18px;
  background: #f8fafc;
  color: #6b7280;
  font-size: 14px;
}
.balance-card b { font-size: 14px; font-weight: 600; color: #334155; }

.pay-card {
  margin-top: 14px;
  padding: 22px 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
  color: #4b5563;
}
.pay-line { display: flex; align-items: center; justify-content: space-between; font-size: 14px; padding: 6px 0; color: #4b5563; }
.pay-line b { font-weight: 600; color: #1f2937; }
.pay-line.accent { color: #ea580c; }
.pay-line.accent b { color: #ea580c; font-weight: 600; }
.pay-total {
  margin-top: 10px; padding-top: 14px;
  border-top: 1px solid #fed7aa;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 600;
  color: #4b5563;
}
.pay-total b { font-size: 24px; font-weight: 700; color: #1f2937; }
.pay-submit { margin-top: 16px; height: 56px; border-radius: 16px; font-size: 15px; font-weight: 600; }

/* 图片上传字段 */
.upload-field { display: flex; flex-direction: column; gap: 8px; }
.upload-box {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 18px 12px;
  border: 1px dashed rgba(201,160,99,.45);
  border-radius: 10px;
  color: var(--gold);
  font-size: 13px;
  cursor: pointer;
  background: rgba(201,160,99,.06);
}
.upload-box svg { width: 18px; height: 18px; }
.upload-preview { max-height: 150px; border-radius: 10px; object-fit: contain; align-self: flex-start; }

.product-detail .input,
.product-detail .textarea { height: 48px; font-size: 14px; border-radius: 8px; border-color: #2a2a35; background: #16161f; }
.product-detail .textarea { height: auto; min-height: 90px; }
.product-detail .field label { font-size: 13.5px; }

/* =========================================================
   与 fygj.lol 统一（首页 / 商品详情）
   ========================================================= */
.app { --pad: 20px; }
@media (max-width: 720px) {
  .app { --pad: 20px; }
}
.sub-page.product-page .app { --pad: 16px; }

/* ---------- 首页顶栏（渐变 + 大圆角） ---------- */
.home-page .topbar-wrap {
  position: relative;
  top: auto;
  margin: 0 calc(var(--pad) * -1);
  padding: 16px var(--pad) 24px;
  background: linear-gradient(180deg, #2b230f 0%, #16161f 55%, #0a0a0f 100%);
  border-bottom: 0;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
  overflow: hidden;
}
.home-page .brand { gap: 10px; }
.home-page .brand-logo {
  width: 40px; height: 40px;
  border-radius: 16px;
  background: rgba(22,22,31,.95);
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.home-page .brand-logo img { object-fit: cover; }
.home-page .brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
  letter-spacing: 0;
}
.home-page .brand-badge {
  font-size: 10px;
  color: #f5f1e8;
  background: rgba(22,22,31,.30);
  border: 0;
  border-radius: 999px;
  padding: 2px 6px;
  line-height: 14px;
}
.home-page .brand-sub {
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255,255,255,.8);
  letter-spacing: 0;
}
.home-page .icon-btn,
.home-page .avatar-btn {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: rgba(22,22,31,.25);
  border: 0;
  color: #fff;
  overflow: hidden;
}
.home-page .icon-btn svg,
.home-page .avatar-btn svg { width: 18px; height: 18px; color: #fff; }
.home-page .icon-btn .dot { box-shadow: 0 0 0 2px rgba(255,255,255,.6); background: #fb7185; top: 9px; right: 9px; }
.home-page .searchbar {
  margin-top: 16px;
  height: auto;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(22,22,31,.8);
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
  color: #c9a063;
}
.home-page .searchbar svg { width: 16px; height: 16px; color: #c9a063; }
.home-page .searchbar input { font-size: 14px; color: #f5f1e8; }
.home-page .searchbar input::placeholder { color: #6d6d7a; }

/* ---------- 首页轮播 ---------- */
.home-page .banner-carousel {
  margin-top: 20px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #e8c88a, #c9a063);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
}
.home-page .banner { aspect-ratio: auto; height: 128px; min-height: 0; }
.home-page .banner-dots { bottom: 10px; gap: 6px; }
.home-page .banner-dots i { width: 6px; height: 6px; background: rgba(22,22,31,.5); }
.home-page .banner-dots i.on { width: 20px; background: #16161f; }

/* ---------- 首页快捷入口 / 公告 ---------- */
.home-page .quick-grid { margin-top: 16px; gap: 12px; }
.home-page .quick {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(22,22,31,.8);
  padding: 12px;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.home-page .quick-ico { width: 44px; height: 44px; border-radius: 16px; }
.home-page .quick-title { font-size: 13px; font-weight: 600; color: #f5f1e8; line-height: 1; }
.home-page .quick-sub { font-size: 10px; color: #6d6d7a; margin-top: 4px; }

.home-page .notice-bar {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(22,22,31,.8);
}
.home-page .notice-ico { width: 24px; height: 24px; border-radius: 8px; }
.home-page .notice-ico svg { width: 14px; height: 14px; }
.home-page .notice-label { color: #f43f5e; font-size: 12px; font-weight: 500; }
.home-page .notice-text span { font-size: 13px; color: #9b9ba8; }
.home-page .notice-more svg { width: 16px; height: 16px; color: #6d6d7a; }

/* ---------- 首页区块标题 / 分类 / 商品卡 ---------- */
.home-page .section-head { margin: 20px 0 12px; }
.home-page .section-head h2 { font-size: 15px; font-weight: 700; color: #f5f1e8; }
.home-page .section-head h2::before {
  width: 4px; height: 16px;
  background: linear-gradient(180deg, #c9a063, #ff6b6b);
}
.home-page .section-head .more { font-size: 11px; color: #6d6d7a; gap: 2px; }

.home-page .tabs {
  margin: 20px 0 12px;
  padding: 10px 0;
  gap: 6px;
  background: rgba(22,22,31,.8);
}
.home-page .tab {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #9b9ba8;
  border-radius: 999px;
}
.home-page .tab.on {
  font-weight: 500;
  box-shadow: 0 4px 6px -1px rgba(138,109,59,.3);
}
.home-page .product-grid { gap: 10px; }
.home-page .product-card {
  border-radius: 17.6px;
  border-width: 1px;
  border-style: solid;
  border-color: #ffffff;
  padding: 6px;
  box-shadow: 0 6px 20px -10px rgba(86,167,245,.35);
}
.home-page .product-thumb {
  border-radius: 14.4px;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #e9f3ff, #dcebff);
}
.home-page .product-thumb img { padding: 6px; }
.home-page .discount-badge {
  top: 6px; left: 6px;
  border-radius: 8px;
  padding: 2px 6px;
  font-size: 10px;
  box-shadow: 0 4px 10px rgba(255,140,120,.35);
}
.home-page .product-info { gap: 6px; }
.home-page .product-name {
  font-size: 12px;
  font-weight: 700;
  color: #f5f1e8;
  line-height: 1.25;
}
.home-page .buy-btn {
  margin-top: 0;
  padding: 2px 8px;
  font-size: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a063 0%, #3d8bf5 100%);
}
.home-page .footer { margin-top: 24px; }

/* ---------- 商品详情 ---------- */
.product-head {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0 calc(var(--pad) * -1);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #e8c88a 0%, #c9a063 100%);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 10px 30px -12px rgba(201,160,99,.4);
}
.product-head h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #fff;
}
.ph-back {
  width: 36px; height: 36px;
  border-radius: 8px;
  color: #fff;
}
.ph-back svg { width: 20px; height: 20px; }
.ph-back:active { background: rgba(22,22,31,.2); }

.product-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0 0;
}
.product-detail .card {
  border-radius: 16px;
  background: #16161f;
  border: 1px solid #e5e5e5;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
  overflow: hidden;
}
.product-detail .card-pad { padding: 40px 16px; }

.product-detail .amount-label {
  margin: 0 0 8px;
  font-size: 14px;
  color: #6b7280;
}
.product-detail .amount-input-wrap { display: flex; align-items: center; gap: 12px; }
.product-detail .amount-input-wrap .input {
  flex: 1 1 auto;
  height: 56px;
  padding: 4px 12px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #f5f1e8;
  background: #16161f;
  border: 2px solid #bfdbfe;
  border-radius: 8px;
}
.product-detail .amount-input-wrap .input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.product-detail .amount-input-wrap .input::placeholder { color: #9ca3af; }
.product-detail .amount-unit {
  position: static;
  transform: none;
  font-size: 20px;
  font-weight: 700;
  color: #f5f1e8;
  pointer-events: none;
}
.product-detail .amount-chips {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.product-detail .amount-chip {
  padding: 12px 16px;
  border-radius: 12px;
  background: #16161f;
  border: 1px solid #2a2a35;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s ease;
}
.product-detail .amount-chip.on {
  background: linear-gradient(90deg, #e8c88a, #c9a063);
  border-color: transparent;
  color: #231a0a;
  font-weight: 500;
  box-shadow: 0 4px 6px -1px rgba(201,160,99,.35);
}

.product-detail .tutorial-bar {
  margin-top: 16px;
  padding: 12px;
  gap: 8px;
  background: #fff7ed;
  border: 0;
  border-radius: 12px;
  color: #ea580c;
  font-size: 14px;
  font-weight: 500;
}
.product-detail .tutorial-badge { width: auto; height: auto; background: transparent; color: #f97316; }
.product-detail .tutorial-badge svg { width: 20px; height: 20px; }

.info-card { display: flex; flex-direction: column; gap: 16px; }
.info-card .info-title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
}
.info-card .field { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.info-card .field label { margin: 0; font-size: 14px; color: #6b7280; display: flex; align-items: center; }
.info-card .req { color: #ef4444; margin-left: 4px; }
.product-detail .input,
.product-detail .textarea {
  height: 48px;
  padding: 0 12px;
  font-size: 14px;
  color: #f5f1e8;
  background: #16161f;
  border: 1px solid #2a2a35;
  border-radius: 8px;
}
.product-detail .textarea { height: auto; min-height: 96px; padding: 12px; line-height: 1.6; }
.product-detail .input::placeholder,
.product-detail .textarea::placeholder { color: #6d6d7a; }
.product-detail .input:focus,
.product-detail .textarea:focus { border-color: rgba(201,160,99,.6); box-shadow: 0 0 0 3px rgba(201,160,99,.08); }

/* 省 / 市 / 区 */
.addr-field { display: flex; flex-direction: column; gap: 8px; }
.addr-selects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.addr-select {
  width: 100%;
  height: 36px;
  padding: 0 8px;
  font-size: 12px;
  color: #111827;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
}
.addr-select:focus { border-color: #c9a063; box-shadow: 0 0 0 2px rgba(201,160,99,.2); }
.addr-select:disabled { opacity: .55; }
.addr-note {
  padding: 8px;
  font-size: 14px;
  color: #6b7280;
  background: #f8fafc;
  border-radius: 6px;
}

/* 图片上传 */
.upload-field { display: flex; flex-direction: column; gap: 8px; }
.upload-row { display: flex; align-items: center; gap: 12px; }
.upload-preview {
  width: 56px; height: 56px;
  align-self: auto;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #2a2a35;
}
.upload-ok { font-size: 12px; color: #16a34a; }
.upload-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid #c9a063;
  border-radius: 8px;
  color: #f5f1e8;
  font-size: 13px;
}
.upload-btn svg { width: 16px; height: 16px; color: #c9a063; }

/* 余额 / 支付 */
.product-detail .balance-card {
  margin: 0;
  padding: 40px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 0;
  font-size: 14px;
  color: #6b7280;
}
.product-detail .balance-card b { font-size: 14px; font-weight: 500; color: #334155; }
.product-detail .pay-card {
  margin: 0;
  padding: 40px 16px;
  border-radius: 16px;
  background: linear-gradient(90deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
}
.product-detail .pay-line {
  padding: 0;
  margin-bottom: 12px;
  font-size: 14px;
  color: #4b5563;
}
.product-detail .pay-line b { font-size: 14px; font-weight: 500; color: #1f2937; }
.product-detail .pay-line.accent { color: #ea580c; }
.product-detail .pay-line.accent span { color: #ea580c; font-weight: 500; }
.product-detail .pay-line.accent b { color: #ea580c; font-weight: 400; }
.product-detail .pay-total {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #fed7aa;
  font-size: 14px;
  font-weight: 400;
  color: #4b5563;
}
.product-detail .pay-total b {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
}
.product-detail .pay-submit {
  margin: 0;
  height: 56px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #231a0a;
  background: linear-gradient(90deg, #e8c88a, #c9a063);
  box-shadow: 0 10px 24px rgba(201,160,99,.4);
}

/* 教程弹窗 */
.tutorial-mask { background: rgba(0,0,0,.8); }
.tutorial-modal {
  max-width: 448px;
  max-height: 80vh;
  background: #16161f;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
}
.tutorial-head {
  padding: 20px 20px 12px;
  border-bottom: 0;
  font-size: 18px;
  font-weight: 600;
  color: #f5f1e8;
}
.tutorial-body {
  padding: 0 20px 24px;
  font-size: 15px;
  line-height: 1.8;
  color: #cfc9bd;
}
.tutorial-close {
  width: 28px; height: 28px;
  border: 0;
  background: transparent;
  color: #9b9ba8;
  font-size: 22px;
}


/* =====================================================
   提现页（多收款方式）
   ===================================================== */
.wd-balance { text-align: center; padding: 22px 20px 18px; }
.wd-balance-num { font-size: 28px; font-weight: 700; color: var(--gold-2); letter-spacing: .5px; line-height: 1.1; }
.wd-balance-num i { margin-left: 6px; font-style: normal; font-size: 12.5px; font-weight: 600; color: #8f8a80; }
.wd-balance-label { margin-top: 8px; font-size: 12px; color: #8f8a80; }
.wd-balance-frozen { margin-top: 4px; font-size: 11.5px; color: #6f6f6f; }
.wd-balance-frozen b { color: #b9b4aa; font-weight: 600; }

.wd-chips { display: flex; gap: 8px; margin-top: 12px; }
.wd-chip {
  flex: 1 1 0;
  height: 34px;
  border: 1px solid #2b2b2b;
  border-radius: 8px;
  background: #161616;
  color: #b9b4aa;
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .16s, background .16s, color .16s;
}
.wd-chip:active { opacity: .75; }
.wd-chip.on { border-color: rgba(201,160,99,.75); background: rgba(201,160,99,.12); color: var(--gold-2); }

.wd-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.wd-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 2px 9px;
  border: 1px solid #282828;
  border-radius: 10px;
  background: #141414;
  color: #9b9ba8;
  font-size: 11.5px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .16s, background .16s, color .16s;
}
.wd-method .wd-badge {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: #2a2a2a;
  color: #cfc9bd;
  font-size: 13px;
  font-weight: 700;
  transition: background .16s, color .16s;
}
.wd-method.on { border-color: rgba(201,160,99,.75); background: rgba(201,160,99,.08); color: #efe9dc; }
.wd-method.on .wd-badge { color: #fff; }

.wd-fields { margin-top: 16px; }
.wd-fields .field:last-child { margin-bottom: 0; }
.wd-fields .input, .wd-fields .select { width: 100%; }

.rc-record-sub { margin-top: 6px; font-size: 12px; color: #a9a49a; word-break: break-all; }

@media (max-width: 360px) {
  .wd-method { font-size: 11px; }
  .wd-balance-num { font-size: 25px; }
}
