﻿/* =========================================================
   扶摇国际 风格 · 响应式前台
   桌面：内容区最大 1200px，商品 3 列、快捷入口 4 列
   手机：自适应单列 / 双列
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
  --bg: #0a0a0a;
  --card: #121212;
  --card-2: #1a1a1a;
  --gold: #C9A063;
  --gold-2: #E8C88A;
  --text: #F5F1E8;
  --muted: #9B9BA8;
  --dim: #6f6f6f;
  --accent: #FB7185;
  --line: #232323;
  --line-2: #2c2c2c;
  --radius: 12px;
  --grad: linear-gradient(135deg, var(--gold-2), var(--gold));
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: #080807;
  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: 40px;
  padding: 0 13px;
  background: #121212;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #6f6f6f;
}
.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: 7px;
  padding: 14px 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  transition: border-color .15s, transform .15s;
}
.quick:hover { border-color: rgba(201,160,99,.35); }
.quick:active { transform: scale(.98); }
.quick-ico {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.quick-ico svg { width: 19px; height: 19px; }
.quick-title { font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.quick-sub { font-size: 11px; color: var(--dim); margin-top: 1px; }
@media (max-width: 720px) {
  .quick-grid { gap: 8px; }
  .quick { padding: 12px 4px; gap: 6px; }
  .quick-ico { width: 34px; height: 34px; }
  .quick-ico svg { width: 16px; height: 16px; }
  .quick-title { font-size: 12px; }
  .quick-sub { font-size: 10px; }
}

/* ---------- 公告 ---------- */
.notice-bar {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px;
  padding: 0 13px;
  height: 38px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.notice-badge {
  display: flex; align-items: center; gap: 4px;
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 12px; font-weight: 600;
}
.notice-badge svg { width: 13px; height: 13px; }
.notice-text { flex: 1; min-width: 0; overflow: hidden; }
.notice-text span {
  display: block;
  font-size: 12.5px; color: #c9c5bb;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.notice-bar .dim svg { width: 14px; height: 14px; }

/* ---------- 区块标题 ---------- */
.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: 3px; height: 15px;
  border-radius: 2px;
  background: var(--grad);
}
.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: 7px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.tab.on {
  background: var(--grad);
  color: #231a0a;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(201,160,99,.28);
}

/* ---------- 商品 ---------- */
.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: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.product-card:hover { border-color: rgba(201,160,99,.35); }
.product-card:active { transform: scale(.99); }
.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #1e1e1e, #141414);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb svg { width: 30px; height: 30px; color: rgba(201,160,99,.45); }
.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: 8px 9px 10px; display: flex; flex-direction: column; gap: 3px; }
.product-name {
  font-size: 12px; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}
.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 12px 13px; gap: 4px; }
  .product-name { font-size: 13px; min-height: 36px; }
  .product-price { font-size: 15px; }
  .product-sales { font-size: 11px; }
}

/* ---------- 通用 ---------- */
.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; }
}
