/* ============================================================
   页面组件 —— 移动优先，单列卡片流
   ============================================================ */

/* ---------------- 首页 Banner ---------------- */
.banner {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1b2530, #2c3e50);
  box-shadow: var(--sh-2);
}

.banner__rail {
  display: flex;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.banner__slide {
  flex: 0 0 100%;
  min-height: 150px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.banner__copy { flex: 1; min-width: 0; }
.banner__eyebrow {
  display: inline-block;
  background: var(--orange);
  color: #131921;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.banner__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.banner__desc {
  font-size: 12px;
  color: #b8c5d3;
  margin-top: 5px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.banner__art {
  flex: 0 0 104px;
  display: grid;
  place-items: center;
}
.banner__art img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.3));
}

.banner__dots {
  position: absolute;
  left: 0; right: 0; bottom: 9px;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.banner__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.35);
  padding: 0;
  cursor: pointer;
}
.banner__dot[aria-current="true"] { background: var(--orange); width: 16px; border-radius: 3px; }

/* ---------------- 分类入口 ---------------- */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  padding: 14px 8px 10px;
  margin-top: 12px;
}
.cat {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 2px;
  border-radius: var(--r-sm);
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--ink-2);
}
.cat:active { background: var(--surface-3); }
.cat__icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
  color: var(--orange-hi);
}
.cat__icon svg { width: 20px; height: 20px; fill: currentColor; }
.cat__label { font-size: 11px; font-weight: 600; line-height: 1.2; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat.is-active .cat__icon { background: var(--orange); color: #fff; }
.cat.is-active .cat__label { color: var(--orange-hi); }

/* ---------------- 双列瀑布 ---------------- */
.grid-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pcard {
  background: var(--surface);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-1);
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
  position: relative;
}
.pcard:active { transform: scale(.985); }

.pcard__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  overflow: hidden;
}
.pcard__media img, .pcard__media .ph {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pcard__flag {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 10px;
  font-weight: 800;
  background: var(--deal);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.4;
}

.pcard__body { padding: 9px 10px 11px; display: flex; flex-direction: column; flex: 1; min-width: 0; }

.pcard__title {
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
  margin: 0 0 5px;
  font-weight: 400;
}
.pcard__meta { display: flex; align-items: center; gap: 4px; margin-bottom: 5px; }
.pcard__meta .tiny { color: var(--muted-2); font-size: 11px; }

.pcard__ship {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.pcard__ship b { color: var(--ink-2); font-weight: 600; }
.pcard__prime { display: inline-flex; align-items: center; gap: 3px; }
.pcard__prime i { width: 5px; height: 5px; border-radius: 50%; background: #00a8e1; }
.pcard__prime b { font-size: 10px; letter-spacing: -.02em; }

.pcard__foot { margin-top: auto; }
.pcard__foot .btn {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  border-radius: var(--r-pill);
}

/* ---------------- 横向轨道 ---------------- */
.track-sec { margin-top: 12px; }
.track-sec__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 2px 10px;
}
.track-sec__head h2 { font-size: 16px; }
.track-sec__head a { font-size: 12px; color: var(--link); }

.track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 2px 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track__item {
  flex: 0 0 104px;
  scroll-snap-align: start;
  cursor: pointer;
}
.track__item img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
}
.track__item p {
  font-size: 11px;
  color: var(--ink-2);
  margin: 6px 0 2px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}

/* ---------------- 区块标题 ---------------- */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px 10px;
}
.section-head h2 { font-size: 16px; }
.section-head .tiny { color: var(--muted-2); }

/* ---------------- 抢单页 ---------------- */
.grab-hero {
  background: linear-gradient(180deg, #fff 0%, #fffaf3 100%);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: 26px 20px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.grab-hero::before {
  content: "";
  position: absolute;
  top: -60px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,153,0,.12), transparent 70%);
}

.grab-ring {
  width: 160px; height: 160px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, #fff8e6 0%, #ffd814 62%, #f0b400 100%);
  box-shadow: 0 10px 26px rgba(240,180,0,.32), inset 0 0 0 6px rgba(255,255,255,.55);
  font-size: 26px;
  font-weight: 800;
  color: #5a4200;
  letter-spacing: -.02em;
  position: relative;
  transition: transform .2s;
}
.grab-ring:active { transform: scale(.97); }
.grab-ring.is-loading { animation: pulse 1.05s ease-in-out infinite; }
.grab-ring::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px dashed rgba(240,180,0,.45);
  animation: spin 20s linear infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1) } 50% { transform: scale(1.03) } }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes slideInRight { from { transform: translateX(100%) } to { transform: none } }

.grab-hero h2 { font-size: 17px; margin-bottom: 4px; }
.grab-hero p { font-size: 12px; color: var(--muted); margin: 0 0 16px; }
.grab-hero .btn { min-width: 190px; }

/* 抢单结果卡 */
.order-flash {
  background: var(--surface);
  border: 1px solid #ffe0b2;
  border-radius: var(--r);
  padding: 14px 16px;
  text-align: left;
  margin-top: 16px;
  animation: toastIn .22s;
}
.order-flash__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px dashed #f0e6d2;
}
.order-flash__row:last-of-type { border-bottom: 0; }
.order-flash__row b { font-weight: 700; }

/* ---------------- 三宫格数据 ---------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 12px;
}
.stat-cell {
  background: var(--surface);
  padding: 14px 10px;
  text-align: center;
}
.stat-cell__label { font-size: 11px; color: var(--muted-2); margin-bottom: 4px; }
.stat-cell__value { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }

/* ---------------- 账户概览 ---------------- */
.account-hero {
  background: linear-gradient(135deg, #131921 0%, #232f3e 55%, #2f4155 100%);
  border-radius: var(--r-lg);
  padding: 20px;
  color: #fff;
  box-shadow: var(--sh-2);
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.account-hero::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,153,0,.18), transparent 70%);
}
.account-hero__avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  flex: none;
}
.account-hero__id { flex: 1; min-width: 0; }
.account-hero__name {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.account-hero__sub { font-size: 12px; color: #a9b6c4; margin-top: 3px; }
.account-hero__bal { text-align: right; flex: none; }
.account-hero__bal small { display: block; font-size: 11px; color: #a9b6c4; }
.account-hero__bal b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }

/* ---------------- 功能格 ---------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.tile {
  background: var(--surface);
  border-radius: var(--r);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  box-shadow: var(--sh-1);
  transition: transform .15s;
}
.tile:active { transform: scale(.97); }
.tile__icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
  color: var(--orange-hi);
}
.tile__icon svg { width: 19px; height: 19px; fill: currentColor; }
.tile__title { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.tile__desc { display: none; }

/* ---------------- 订单卡 ---------------- */
.order-card {
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
.order-card + .order-card { margin-top: 10px; }

.order-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  background: var(--surface-2);
  font-size: 11px;
  color: var(--muted-2);
}
.order-card__head b { color: var(--ink-2); font-weight: 600; }

.order-card__body { display: flex; gap: 12px; padding: 14px; }
.order-card__thumb {
  width: 76px; height: 76px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.order-card__thumb img, .order-card__thumb .ph { width: 100%; height: 100%; object-fit: contain; }
.order-card__main { flex: 1; min-width: 0; }
.order-card__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}
.order-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  color: var(--muted-2);
}
.order-card__facts b { color: var(--ink-2); font-weight: 600; }
.order-card__side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 14px 14px;
}
.order-card__side .btn { width: 100%; }

/* ---------------- 记录列表 ---------------- */
.rec {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.rec:last-child { border-bottom: 0; }
.rec:active { background: var(--surface-2); }

.rec__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
  color: var(--orange-hi);
}
.rec__icon svg { width: 17px; height: 17px; fill: currentColor; }

.rec__body { flex: 1; min-width: 0; }
.rec__title {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.rec__meta {
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 3px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.rec__amount {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
  flex: none;
}
.rec__amount.is-in { color: var(--success); }
.rec__amount.is-out { color: var(--danger); }

/* ---------------- 银行卡 ---------------- */
.bank {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  border: 1px solid transparent;
}
.bank + .bank { margin-top: 10px; }
.bank.is-active { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,153,0,.12); }

.bank__logo {
  width: 46px; height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #131921, #2f4155);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  flex: none;
}
.bank__body { flex: 1; min-width: 0; }
.bank__name { font-size: 14px; font-weight: 700; }
.bank__num { font-size: 12px; color: var(--muted); font-family: ui-monospace, Consolas, monospace; margin-top: 2px; }
.bank__radio { width: 18px; height: 18px; accent-color: var(--orange); flex: none; }

/* ---------------- 登录 / 注册 ---------------- */
.auth {
  min-height: calc(100vh - var(--header-h) - var(--tabbar-h) - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 30px;
}
.auth__logo { margin-bottom: 18px; }
.auth__logo svg { width: 108px; height: 32px; }

.auth-card {
  width: 100%;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: 22px 20px 24px;
}
.auth-card h1 { font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.auth-card .btn--primary { width: 100%; padding: 12px; font-size: 16px; border-radius: var(--r-sm); }

.auth-legal { font-size: 11px; color: var(--muted-2); margin-top: 14px; line-height: 1.6; }
.auth-legal a { color: var(--link); }

.auth-switch { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }
.auth-switch .btn { margin-top: 10px; }

/* ---------------- 充值 / 提现 ---------------- */
.checkout { display: flex; flex-direction: column; gap: 12px; }
.checkout__main { display: flex; flex-direction: column; gap: 12px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  color: var(--muted);
}
.summary-row b { color: var(--ink); font-weight: 700; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  font-weight: 700;
  border-top: 1px solid var(--line-soft);
  margin-top: 8px;
  padding-top: 12px;
}

.pay-methods { display: flex; flex-direction: column; gap: 10px; }
.pay-method {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  background: var(--surface);
  transition: border-color .15s, background .15s;
}
.pay-method:active { background: var(--surface-2); }
.pay-method.is-active { border-color: var(--orange); background: var(--orange-soft); }

.pay-method__icon {
  width: 40px; height: 28px;
  border-radius: 5px;
  background: linear-gradient(135deg, #131921, #2f4155);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  flex: none;
}
.pay-method__body { flex: 1; min-width: 0; }
.pay-method__name { font-weight: 700; font-size: 14px; }
.pay-method__desc { font-size: 12px; color: var(--muted); margin-top: 2px; word-break: break-all; }

.account-box {
  background: var(--surface-2);
  border: 1px dashed var(--line);
  border-radius: var(--r);
  padding: 14px;
}
.account-box__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding: 5px 0;
}
.account-box__row span { color: var(--muted); flex: none; }
.account-box__row b { font-weight: 700; text-align: right; word-break: break-all; }

.uploader {
  display: block;
  border: 2px dashed var(--line);
  border-radius: var(--r);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  background: var(--surface-2);
  transition: border-color .15s, background .15s;
}
.uploader:active { border-color: var(--orange); background: var(--orange-soft); }
.uploader input { display: none; }
.uploader__icon { width: 30px; height: 30px; fill: var(--muted-2); margin: 0 auto 8px; }
.uploader__title { font-size: 14px; font-weight: 600; }
.uploader__hint { font-size: 12px; color: var(--muted-2); margin-top: 4px; }

.uploader__preview { position: relative; margin-top: 12px; display: inline-block; }
.uploader__preview img { max-height: 170px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.uploader__remove {
  position: absolute;
  top: -8px; right: -8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 0;
  background: var(--nav);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  display: grid;
  place-items: center;
}

/* ---------------- 通知 ---------------- */
.notif {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}
.notif:last-child { border-bottom: 0; }
.notif.is-unread { background: #fffdf7; }
.notif__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; margin-top: 7px; }
.notif__dot.is-read { background: transparent; border: 1px solid var(--line); }
.notif__body { flex: 1; min-width: 0; }
.notif__title { font-size: 14px; font-weight: 700; }
.notif__text {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notif__time { font-size: 11px; color: var(--muted-2); flex: none; white-space: nowrap; }

/* ---------------- Tab 切换 ---------------- */
.tabs {
  display: flex;
  gap: 6px;
  background: var(--surface);
  border-radius: var(--r-pill);
  padding: 4px;
  box-shadow: var(--sh-1);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 0;
  background: none;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  border-radius: var(--r-pill);
  transition: background .15s, color .15s;
}
.tab[aria-selected="true"] {
  background: var(--orange);
  color: #131921;
  font-weight: 700;
}

/* ---------------- 分页 ---------------- */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 0 4px;
}
.pager button {
  min-width: 32px; height: 32px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
}
.pager button[aria-current="true"] { background: var(--nav); color: #fff; border-color: var(--nav); font-weight: 700; }
.pager button:disabled { opacity: .4; }

/* ---------------- 合规正文 ---------------- */
.legal-body { font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.legal-body h2 { font-size: 16px; margin: 22px 0 10px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 12px; }
.legal-body ul { margin: 0 0 12px; padding-left: 20px; list-style: disc; }
.legal-body li { margin-bottom: 5px; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 10px 0 14px; font-size: 13px; }
.legal-body th, .legal-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.legal-body th { background: var(--surface-2); font-weight: 700; }

/* ---------------- 响应式微调 ---------------- */
@media (max-width: 340px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .pcard__title { font-size: 12px; }
}

@media (min-width: 560px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(8, 1fr); }
  .tiles { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 751px) {
  .grid-products { grid-template-columns: repeat(4, 1fr); }
  .banner__slide { min-height: 180px; }
  .banner__title { font-size: 22px; }
  .pcard__title { font-size: 13px; }
  .account-hero { padding: 24px; }
}

/* ---------------- 抢单页容器（activity.js 结构） ---------------- */
.grab-stage {
  background: linear-gradient(180deg, #fff 0%, #fffaf3 100%);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: 24px 18px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.grab-stage::before {
  content: "";
  position: absolute;
  top: -70px; right: -50px;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,153,0,.14), transparent 70%);
}
.grab-stage .grab-ring {
  width: 156px; height: 156px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, #fff8e6 0%, #ffd814 62%, #f0b400 100%);
  box-shadow: 0 10px 26px rgba(240,180,0,.32), inset 0 0 0 6px rgba(255,255,255,.55);
  font-size: 25px;
  font-weight: 800;
  color: #5a4200;
  letter-spacing: -.02em;
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: transform .18s;
}
.grab-stage .grab-ring:active { transform: scale(.96); }
.grab-ring.is-loading { animation: pulse 1.05s ease-in-out infinite; }
.grab-stage .grab-ring::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px dashed rgba(240,180,0,.45);
  animation: spin 22s linear infinite;
}
.grab-title { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.grab-sub { font-size: 12px; color: var(--muted); margin: 0 0 16px; }
.grab-stage .btn { min-width: 190px; }

/* 账户概览（buybox） */
.account-cols { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }

.buybox {
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  padding: 16px;
}
.buybox__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
}
.buybox__row b, .buybox__row .strong { color: var(--ink); font-weight: 700; }
.buybox__row > span:first-child { flex: none; }
.buybox__row > span:last-child, .buybox__row > b { text-align: right; }

.buybox__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  border-top: 1px solid var(--line-soft);
  margin-top: 8px;
  padding-top: 12px;
}
.buybox__total b { font-size: 20px; letter-spacing: -.02em; }

/* 抢单页容器：桌面并排 */
@media (min-width: 751px) {
  .account-cols { flex-direction: row; }
  .account-cols > * { flex: 1; }
}
/* ---------------- 收益页数据格（income.js 结构） ---------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-1);
  margin-bottom: 12px;
}
.stat {
  background: var(--surface);
  padding: 14px 10px;
  text-align: center;
}
.stat__label { font-size: 11px; color: var(--muted-2); margin-bottom: 5px; line-height: 1.3; }
.stat__value { font-size: 15px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }

@media (max-width: 380px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 12px 8px; }
  .stat__value { font-size: 14px; }
}