/* ==========================================================================
   AURUM · 会员中心 / 登录注册 / 签到
   仅覆盖 .uc-* / .auth-* / .flow-* 体系，不改模板变量契约
   ========================================================================== */

/* ---------- 骨架 ---------- */
.uc-wrap {
  max-width: 1280px; margin: 0 auto; padding: 44px 32px 96px;
  display: grid; grid-template-columns: 246px minmax(0, 1fr); gap: 34px; align-items: start;
}
.uc-main { min-width: 0; display: flex; flex-direction: column; gap: 22px; }

/* ---------- 侧栏 ---------- */
.uc-side { position: sticky; top: 96px; background: var(--ink); color: #cfdae4; overflow: hidden; }
.uc-side__brand {
  position: relative; padding: 26px 24px 22px; border-bottom: 1px solid rgba(255, 255, 255, .09);
  font-size: 15px; letter-spacing: .14em; color: #fff;
}
.uc-side__brand small {
  display: block; font-family: var(--serif); font-size: 9.5px; letter-spacing: .28em;
  color: var(--gold); margin-top: 6px;
}
.uc-side__toggle {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: none; place-items: center;
  background: rgba(255, 255, 255, .08); border: 0; color: #fff;
}
.uc-navwrap { padding: 18px 0 26px; }
.uc-nav { display: block; margin-bottom: 14px; }
.uc-nav__label {
  padding: 10px 24px 8px; font-size: 10.5px; letter-spacing: .22em; color: #6f8494; text-transform: uppercase;
}
.uc-nav a {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px; font-size: 13.5px; color: #a9bac8; transition: all .22s var(--ease);
}
.uc-nav a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 0; background: var(--gold);
  transform: translateY(-50%); transition: height .24s var(--ease);
}
.uc-nav a:hover { color: #fff; background: rgba(255, 255, 255, .04); padding-left: 28px; }
.uc-nav a.active { color: var(--gold-l); background: rgba(191, 160, 98, .1); }
.uc-nav a.active::before { height: 18px; }
.uc-nav a em {
  font-style: normal; font-size: 11px; background: var(--gold); color: #1a1206;
  min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 5px;
}
.uc-side__out {
  display: block; margin: 4px 24px 0; padding: 11px 0; text-align: center;
  border: 1px solid rgba(255, 255, 255, .16); font-size: 12.5px; color: #a9bac8; letter-spacing: .08em;
}
.uc-side__out:hover { border-color: var(--gold); color: var(--gold-l); }
.uc-side.is-collapsed .uc-navwrap { display: none; }

/* ---------- 卡片 ---------- */
.uc-card { background: #fff; border: 1px solid var(--line); padding: 30px 32px; }
.uc-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: -4px 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.uc-card__head h2, .uc-card__head h1 { font-size: 16.5px; letter-spacing: .02em; margin: 0; }
.uc-card__head a { font-size: 12.5px; color: var(--muted); }
.uc-card__head a:hover { color: var(--gold-d); }

.uc-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.uc-title h1, .uc-title h2 { font-size: 24px; letter-spacing: -.01em; }
.uc-title__side { font-size: 12.5px; color: var(--muted); }
.uc-sub { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.uc-muted { color: var(--muted); font-size: 12.5px; }
.uc-empty { padding: 46px 0; text-align: center; color: var(--muted); font-size: 13.5px; }
.uc-doc { font-size: 13.5px; line-height: 1.9; color: #3c4a58; }
.uc-doc a { color: var(--gold-d); }
.uc-ink { color: var(--ink); }

/* ---------- 按钮 ---------- */
.uc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 20px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-size: 13px; letter-spacing: .03em; transition: all .25s var(--ease);
}
.uc-btn:hover { border-color: var(--gold); color: var(--gold-d); }
.uc-btn--primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.uc-btn--primary:hover { background: var(--gold); border-color: var(--gold); color: #1a1206; }
.uc-btn--sm { height: 34px; padding: 0 14px; font-size: 12.5px; }
.uc-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 首页英雄卡 ---------- */
.uc-hero {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: linear-gradient(115deg, var(--ink) 0%, #16304a 62%, #0d1f31 100%);
  color: #fff; padding: 30px 32px; position: relative; overflow: hidden;
}
.uc-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border: 1px solid rgba(191, 160, 98, .28); border-radius: 50%;
}
.uc-hero__avatar {
  width: 62px; height: 62px; flex: 0 0 62px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(191, 160, 98, .5);
  font-family: var(--serif); font-size: 22px; color: var(--gold-l); overflow: hidden;
}
.uc-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }
.uc-hero__main { flex: 1; min-width: 200px; }
.uc-hero__name { font-size: 19px; letter-spacing: .01em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.uc-hero__tag {
  font-size: 10.5px; letter-spacing: .12em; border: 1px solid rgba(191, 160, 98, .6);
  color: var(--gold-l); padding: 2px 8px;
}
.uc-hero__desc { font-size: 12.5px; color: #9fb0c0; margin: 7px 0 0; }
.uc-hero__ops { display: flex; gap: 10px; flex-wrap: wrap; z-index: 2; }
.uc-hero .uc-btn { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.uc-hero .uc-btn:hover { border-color: var(--gold); color: var(--gold-l); }
.uc-hero .uc-btn--primary { background: var(--gold); border-color: var(--gold); color: #1a1206; }

.uc-bar { height: 3px; background: var(--ivory-2); margin-top: 18px; }
.uc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-d), var(--gold-l)); }
.uc-bar__tip { font-size: 12px; color: var(--muted); margin: 9px 0 0; }

/* ---------- 统计卡 ---------- */
.uc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uc-stat {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  padding: 20px; transition: all .28s var(--ease);
}
.uc-stat:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-m); }
.uc-stat__ico {
  width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center;
  background: var(--ivory); color: var(--gold-d); font-size: 17px;
}
.uc-stat__v { display: block; font-family: var(--serif); font-size: 20px; color: var(--ink); line-height: 1.2; }
.uc-stat__k { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }

/* ---------- 两列 / 步骤 ---------- */
.uc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.uc-steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.uc-step {
  padding: 16px 10px; text-align: center; font-size: 12.5px; color: var(--muted);
  border-right: 1px solid var(--line); position: relative;
}
.uc-step:last-child { border-right: 0; }
.uc-step:hover { background: var(--ivory); color: var(--gold-d); }
.uc-step i { display: block; font-size: 17px; margin-bottom: 6px; color: var(--ink); }
.uc-step em {
  position: absolute; top: 8px; right: 12px; font-style: normal; font-size: 10.5px;
  background: var(--gold); color: #1a1206; min-width: 16px; height: 16px; border-radius: 8px;
  display: grid; place-items: center; padding: 0 4px;
}

/* ---------- 表格 / 订单 / 流水 ---------- */
.uc-table, .user-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.uc-table th, .user-table th {
  text-align: left; font-weight: 500; font-size: 11.5px; letter-spacing: .12em; color: var(--muted);
  padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fbfaf6;
}
.uc-table td, .user-table td { padding: 14px; border-bottom: 1px solid var(--line); color: #3c4a58; vertical-align: middle; }
.uc-table tr:hover td, .user-table tr:hover td { background: #fdfcf8; }

.order { border: 1px solid var(--line); margin-bottom: 14px; }
.order-top {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 12px 16px; background: #fbfaf6; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted);
}
.order-no { font-family: var(--serif); letter-spacing: .04em; color: var(--ink); }

.flow-list { border: 1px solid var(--line); }
.flow-row { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.flow-row:last-child { border-bottom: 0; }
.flow-ico {
  width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center;
  background: var(--ivory); color: var(--gold-d);
}
.flow-main { flex: 1; min-width: 0; }
.flow-main b { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.flow-main span { font-size: 11.5px; color: var(--muted); }
.flow-amt { font-family: var(--serif); font-size: 16px; }
.uc-amt--up { color: #b0452f; }  /* 中式记账：收入用暖红 */
.uc-amt--down { color: #1f7a56; }
.flow-balance { font-size: 11.5px; color: var(--muted); text-align: right; min-width: 84px; }

/* 钱包 */
.wallet-top {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, #0d1f31, #17324b); color: #fff; padding: 30px 32px;
}
.wallet-label { font-size: 11.5px; letter-spacing: .2em; color: #9fb0c0; }
.wallet-money { font-family: var(--serif); font-size: 42px; line-height: 1.1; color: #fff; margin: 8px 0 4px; }
.wallet-meta { font-size: 12px; color: #9fb0c0; }
.wallet-ops { display: flex; gap: 10px; flex-wrap: wrap; }
.wallet-ops .uc-btn { background: var(--gold); border-color: var(--gold); color: #1a1206; }

/* 标签 */
.uc-tag {
  display: inline-flex; align-items: center; font-size: 11.5px; padding: 2px 9px;
  border: 1px solid var(--line); color: var(--muted); background: #fff;
}
.uc-tag--ok { color: var(--ok); border-color: #bfe0d0; background: #f4fbf7; }
.uc-tag--wait { color: var(--warn); border-color: #ecd9bd; background: #fffaf2; }
.uc-tag--off { color: #93a0ad; }
.uc-tag--refund { color: #8e4a7a; border-color: #e6d0e0; background: #fdf6fb; }

/* 表单 */
.uc-field { margin-bottom: 16px; }
.uc-field label { display: block; font-size: 12px; color: var(--muted); letter-spacing: .06em; margin-bottom: 7px; }
.uc-field input, .uc-field select, .uc-field textarea {
  width: 100%; border: 1px solid var(--line); padding: 10px 13px; font-size: 14px; outline: none;
  background: #fff; transition: border-color .2s;
  font-family: inherit; color: var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none;
}
.uc-field select { background-image: linear-gradient(45deg, transparent 50%, #9aa3ad 50%), linear-gradient(135deg, #9aa3ad 50%, transparent 50%); background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.uc-field textarea { resize: vertical; min-height: 96px; line-height: 1.75; }
.uc-field input:focus, .uc-field select:focus, .uc-field textarea:focus { border-color: var(--gold); }
.uc-form__foot { margin-top: 22px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.uc-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.uc-tabs a { padding: 10px 16px; font-size: 13.5px; color: var(--muted); border-bottom: 2px solid transparent; }
.uc-tabs a.is-on, .uc-tabs a.active { color: var(--ink); border-color: var(--gold); }

/* ==========================================================================
   登录 / 注册 / 找回
   ========================================================================== */
.auth-box {
  max-width: 460px; margin: 70px auto 100px; background: #fff; border: 1px solid var(--line);
  padding: 46px 44px; position: relative;
}
.auth-box::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.auth-box h1 { font-size: 25px; margin-bottom: 8px; letter-spacing: -.01em; }
.auth-sub { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.auth-sub a { color: var(--gold-d); }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 12px; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.auth-field input {
  width: 100%; height: 46px; border: 1px solid var(--line); padding: 0 14px; font-size: 14.5px;
  outline: none; background: #fff; transition: all .2s;
}
.auth-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(191, 160, 98, .1); }
.auth-btn {
  width: 100%; height: 50px; background: var(--ink); color: #fff; border: 0; font-size: 14px;
  letter-spacing: .18em; margin-top: 6px; transition: all .28s var(--ease);
}
.auth-btn:hover { background: var(--gold); color: #1a1206; }
.auth-box .cap-img { height: 46px; }
.auth-oauth { display: flex; gap: 10px; margin-top: 18px; }
.auth-oauth a { flex: 1; text-align: center; border: 1px solid var(--line); padding: 10px; font-size: 12.5px; color: var(--muted); }

/* ==========================================================================
   签到
   ========================================================================== */
.sg-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sg-streak { font-family: var(--serif); font-size: 38px; color: var(--ink); line-height: 1.1; }
.sg-streak small { font-size: 13px; color: var(--muted); font-family: var(--sans); margin-left: 6px; }
.sg-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.sg-stats div b { display: block; font-family: var(--serif); font-size: 19px; color: var(--gold-d); }
.sg-stats div span { font-size: 11.5px; color: var(--muted); }
.sg-cal-wrap { border: 1px solid var(--line); padding: 18px; }
.sg-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.sg-cal .head { font-size: 11px; color: var(--muted); text-align: center; padding: 4px 0; }
.sg-cal a, .sg-cal span {
  aspect-ratio: 1; display: grid; place-items: center; font-size: 12.5px;
  border: 1px solid var(--line); color: var(--muted);
}
.sg-cal .is-done, .sg-cal .done { background: var(--ink); color: var(--gold-l); border-color: var(--ink); }
.sg-cal .is-today, .sg-cal .today { border-color: var(--gold); color: var(--gold-d); background: #fdfaf3; }
.sg-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sg-tier { border: 1px solid var(--line); padding: 18px; text-align: center; }
.sg-tier b { display: block; font-family: var(--serif); font-size: 22px; color: var(--ink); }
.sg-tier span { font-size: 11.5px; color: var(--muted); }

/* 响应式 */
@media (max-width: 1180px) {
  .uc-wrap { grid-template-columns: 1fr; padding: 30px 22px 70px; }
  .uc-side { position: static; }
  .uc-side__toggle { display: grid; }
  .uc-navwrap { display: none; }
  .uc-side:not(.is-collapsed) .uc-navwrap { display: block; }
  .uc-stats { grid-template-columns: 1fr 1fr; }
  .uc-grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .uc-card { padding: 22px 18px; }
  .uc-hero { padding: 24px 18px; }
  .uc-stats { grid-template-columns: 1fr; }
  .uc-steps { grid-template-columns: 1fr 1fr; }
  .uc-step:nth-child(2) { border-right: 0; }
  .auth-box { margin: 30px 18px 60px; padding: 32px 22px; }
  .sg-tiers { grid-template-columns: 1fr; }
  .uc-table, .user-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* 订单行 / 公告 / 演示标记（会员中心模板原生类名） */
.uc-rows { border-top: 1px solid var(--line); }
.uc-row {
  display: flex; align-items: center; gap: 12px; padding: 13px 4px;
  border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text);
}
.uc-row:hover { background: #fdfcf8; color: var(--gold-d); }
.uc-row i { font-size: 15px; color: var(--gold-d); }
.uc-row__no { font-family: var(--serif); color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.uc-row__amt { margin-left: auto; font-family: var(--serif); font-size: 15px; color: var(--ink); }
.uc-demo {
  font-size: 10.5px; letter-spacing: .12em; color: var(--gold-d); border: 1px solid var(--line);
  padding: 1px 7px; background: #fffdf8;
}
.uc-notice { display: flex; flex-direction: column; }
.uc-notice a {
  display: flex; align-items: center; gap: 12px; padding: 11px 0;
  border-bottom: 1px dashed var(--line); font-size: 13px; color: var(--text); line-height: 1.6;
}
.uc-notice a:hover { color: var(--gold-d); }
.uc-notice a span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-notice a em { font-style: normal; font-family: var(--serif); font-size: 11.5px; color: var(--muted); }
.uc-steps { border: 1px solid var(--line); }
.uc-steps .uc-step:last-child { border-right: 0; }

/* ==========================================================================
   签到页（品牌化：墨蓝 + 香槟金，锐利直角）
   ========================================================================== */
.sg-top { display: grid; grid-template-columns: 1fr auto; gap: 20px 24px; align-items: center; }
.sg-streak { grid-column: 1; grid-row: 1; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.sg-streak b { font-family: var(--serif); font-size: 42px; font-weight: 400; color: var(--ink); line-height: 1; }
.sg-streak span { font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.sg-streak small { width: 100%; margin-top: 8px; font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }

.sg-tiers { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sg-tier { padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; background: #fff; }
.sg-tier span { font-size: 11.5px; color: var(--muted); letter-spacing: .08em; }
.sg-tier b { font-family: var(--serif); font-size: 17px; color: var(--gold-d); font-weight: 400; }
.sg-tier small { font-size: 11px; color: #a9a294; }

.sg-op { grid-column: 2; grid-row: 1; justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sg-op small { font-size: 11.5px; color: var(--muted); }

.sg-month { display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; }
.sg-cal-wrap { flex: 1; min-width: 280px; }
.sg-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.sg-cal span {
  height: 38px; line-height: 38px; text-align: center;
  background: #fff; color: var(--muted); font-size: 12.5px; border-radius: 0;
  font-variant-numeric: tabular-nums;
}
.sg-cal span.on { background: rgba(191, 160, 98, .3); color: #6f5a30; font-weight: 600; }
.sg-cal span.today { box-shadow: inset 0 0 0 1px var(--gold); color: var(--ink); font-weight: 600; }
.sg-cal span.on.today { background: var(--gold); color: #fff; box-shadow: none; }
.sg-cal span.blank { background: var(--ivory); }
.sg-cal span.head {
  background: var(--ivory-2); color: #8d8577; height: 30px; line-height: 30px;
  font-size: 11.5px; letter-spacing: .1em;
}
.sg-stats { display: flex; flex-direction: column; gap: 0; min-width: 150px; border: 1px solid var(--line); }
.sg-stats div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sg-stats div:last-child { border-bottom: 0; }
.sg-stats span { font-size: 11.5px; color: var(--muted); letter-spacing: .08em; }
.sg-stats b { font-family: var(--serif); font-size: 16px; font-weight: 400; color: var(--ink); }

@media (max-width: 900px) {
  .sg-op { justify-self: start; align-items: flex-start; grid-column: 1; grid-row: 3; }
  .sg-tiers { grid-template-columns: 1fr; }
}

/* ==========================================================================
   会员子页组件（订单 / 优惠券 / 礼品卡 / 地址 / 收藏 / 消息 / 安全 …）
   ========================================================================== */

/* ---------- 通用表单栅格 ---------- */
.uc-form { display: block; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
.uc-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.uc-check input { width: 15px; height: 15px; accent-color: var(--gold-d); }

/* ---------- 统计卡图标配色 ---------- */
.ico-money { background: rgba(191, 160, 98, .14); color: var(--gold-d); }
.ico-score { background: rgba(31, 122, 86, .12); color: var(--ok); }
.ico-order { background: rgba(11, 26, 42, .08); color: var(--ink); }
.ico-coupon { background: rgba(142, 74, 122, .12); color: #8e4a7a; }

/* ---------- 订单卡片 ---------- */
.ord-search { display: flex; gap: 10px; flex-wrap: wrap; }
.ord-search__input {
  flex: 1; min-width: 200px; height: 40px; padding: 0 14px; font: inherit; font-size: 13px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); outline: none;
}
.ord-search__input:focus { border-color: var(--gold); }
.ord-card { border: 1px solid var(--line); background: #fff; }
.ord-head {
  display: flex; gap: 22px; flex-wrap: wrap; align-items: center;
  padding: 12px 22px; background: var(--ivory); border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--muted); letter-spacing: .03em;
}
.ord-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; padding: 20px 22px; align-items: center; }
.ord-item { display: flex; gap: 14px; align-items: center; min-width: 0; }
.ord-thumb {
  width: 56px; height: 56px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ivory); border: 1px solid var(--line); color: var(--gold-d); font-size: 20px;
}
.ord-name { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ord-name b { font-size: 14px; color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ord-name small { font-size: 12px; color: var(--muted); }
.ord-status { grid-column: 2; grid-row: 1; justify-self: end; }
.ord-side { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }
.ord-amt { display: flex; align-items: baseline; gap: 8px; }
.ord-amt span { font-size: 12px; color: var(--muted); }
.ord-amt b { font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--ink); }
.ord-ops { display: flex; gap: 10px; flex-wrap: wrap; }
.ord-status + .ord-side { grid-row: 2; }

/* ---------- 充值订单详情 ---------- */
.ord2-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ord2-head h2 { margin: 0; font-size: 18px; letter-spacing: .01em; }
.ord2-amt { font-size: 12.5px; color: var(--muted); }
.ord2-amt b { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-left: 8px; font-weight: 400; }
.ord2-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 22px 0 0; font-size: 13.5px; }
.ord2-rows span { color: var(--muted); display: block; font-size: 12px; margin-bottom: 4px; letter-spacing: .04em; }
.ord2-rows b { color: var(--ink); font-weight: 500; }
.ord2-note { background: var(--ivory); border-left: 2px solid var(--gold); padding: 12px 16px; font-size: 13px; color: var(--text); margin: 20px 0 0; }
.ord2-ops { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- 优惠券 ---------- */
.cp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cp { display: grid; grid-template-columns: 132px minmax(0, 1fr); border: 1px solid var(--line); background: #fff; }
.cp-left {
  background: var(--ink); color: #fff; padding: 22px 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.cp-left b { font-family: var(--serif); font-size: 32px; font-weight: 400; color: var(--gold-l); line-height: 1; }
.cp-left b i { font-size: 15px; font-style: normal; margin-right: 2px; }
.cp-left span { font-size: 11.5px; color: #98a9b8; letter-spacing: .04em; }
.cp-right { padding: 18px 20px; display: flex; flex-direction: column; gap: 5px; border-left: 1px dashed var(--line); }
.cp-right b { font-size: 14.5px; color: var(--ink); }
.cp-right small { font-size: 12px; color: var(--muted); }
.cp-right em { font-size: 11.5px; color: #a49b8b; font-style: normal; }
.cp-right .uc-tag { align-self: flex-start; margin-top: 6px; }
.cp--off { opacity: .55; }
.cp--off .cp-left { background: #8a8f97; }

/* ---------- 礼品卡 ---------- */
.gc-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); border: 1px solid var(--line); background: var(--ivory); }
.gc-left {
  background: linear-gradient(150deg, var(--ink) 0%, var(--ink-soft) 62%, #2b3a4c 100%);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  position: relative;
}
.gc-left::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 78% 22%, rgba(191, 160, 98, .28), transparent 58%); }
.gc-left b { position: relative; font-family: var(--serif); font-size: 34px; font-weight: 400; color: var(--gold-l); }
.gc-left span { position: relative; font-size: 11.5px; letter-spacing: .28em; color: #9db0c0; }
.gc-right { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.gc-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gc-line { display: flex; align-items: center; gap: 12px; font-size: 13px; flex-wrap: wrap; }
.gc-line span { color: var(--muted); font-size: 12px; min-width: 48px; }
.gc-line b { color: var(--ink); font-weight: 500; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.gc-line a { font-size: 12px; color: var(--gold-d); }
.gc-btn { margin-left: auto; }

/* ---------- 积分 / 资金明细 ---------- */
.pt-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pt-label { margin: 0 0 8px; font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.pt-num { font-family: var(--serif); font-size: 38px; color: var(--ink); line-height: 1; }
.pt-cells { display: flex; gap: 34px; flex-wrap: wrap; }
.pt-cell { display: flex; flex-direction: column; gap: 5px; }
.pt-cell span { font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
.pt-cell b { font-family: var(--serif); font-size: 17px; font-weight: 400; color: var(--ink); }
.pt-ops { display: flex; gap: 10px; }

/* ---------- 收藏 ---------- */
.fav-row { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fav-row:last-child { border-bottom: 0; }
.fav-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.fav-title { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.fav-title:hover { color: var(--gold-d); }
.fav-dead { color: #9aa3ad; }
.fav-main small { font-size: 12px; color: var(--muted); }

/* ---------- 收货地址 ---------- */
.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.addr-card { border: 1px solid var(--line); padding: 18px 20px; background: #fff; transition: border-color .25s var(--ease); }
.addr-card:hover { border-color: var(--gold); }
.addr-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 9px; }
.addr-head b { font-size: 14px; color: var(--ink); }
.addr-head span { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.addr-text { margin: 0; font-size: 13px; color: var(--text); line-height: 1.75; }
.addr-ops { display: flex; gap: 16px; margin-top: 12px; font-size: 12.5px; }
.addr-ops a { color: var(--gold-d); }
.addr-ops a:last-child { color: var(--muted); }

/* ---------- 消息中心 ---------- */
.msg-card { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.msg-card:last-child { border-bottom: 0; }
.msg-card--new { position: relative; }
.msg-ico { width: 40px; height: 40px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: var(--ivory); color: var(--gold-d); font-size: 16px; }
.msg-card--new .msg-ico { background: var(--ink); color: var(--gold-l); }
.msg-body { flex: 1; min-width: 0; }
.msg-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 7px; }
.msg-head b { font-size: 14px; color: var(--ink); }
.msg-text { margin: 0; font-size: 13px; color: var(--text); line-height: 1.8; }
.msg-ops { display: flex; gap: 14px; margin-top: 10px; font-size: 12.5px; }
.msg-ops a { color: var(--gold-d); }

/* ---------- 账号安全 ---------- */
.safe-top { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.safe-score { display: flex; align-items: baseline; gap: 3px; }
.safe-score b { font-family: var(--serif); font-size: 44px; font-weight: 400; color: var(--ink); line-height: 1; }
.safe-score span { font-size: 12px; color: var(--muted); }
.safe-main { flex: 1; min-width: 220px; }
.safe-tip { margin: 0; font-size: 14px; color: var(--ink); font-weight: 600; }
.bind-list { display: flex; flex-direction: column; }
.bind-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bind-row:last-child { border-bottom: 0; }
.bind-ico { width: 38px; height: 38px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: var(--ivory); color: var(--gold-d); font-size: 15px; }
.bind-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bind-main b { font-size: 13.5px; color: var(--ink); }
.bind-main small { font-size: 12px; color: var(--muted); }

/* ---------- 个人资料信息行 ---------- */
.info-rows { display: flex; flex-direction: column; }
.info-row { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.info-row:last-child { border-bottom: 0; }
.info-row > span:first-child { width: 96px; flex: 0 0 auto; color: var(--muted); font-size: 12.5px; }
.info-row b { flex: 1; font-weight: 500; color: var(--ink); }
.info-row a { font-size: 12.5px; color: var(--gold-d); }

/* ---------- 评价 ---------- */
.rv-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rv-goods { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 200px; }
.rv-goods-t { display: flex; flex-direction: column; gap: 4px; }
.rv-goods-t b { font-size: 13.5px; color: var(--ink); }
.rv-goods-t small { font-size: 12px; color: var(--muted); }
.rv-stars { display: flex; gap: 4px; color: var(--gold); font-size: 14px; margin: 16px 0 10px; }
.rv-text { margin: 0; font-size: 13.5px; color: var(--text); line-height: 1.85; }
.rv-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- 浏览记录 / 拼团 ---------- */
.his-row, .gp-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.his-row:last-child, .gp-row:last-child { border-bottom: 0; }
.his-main, .gp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.his-main b, .gp-main b { font-size: 14px; color: var(--ink); font-weight: 600; }
.his-main small, .gp-main small { font-size: 12px; color: var(--muted); }
.his-price, .gp-price { font-family: var(--serif); font-size: 17px; color: var(--ink); white-space: nowrap; }

/* ---------- 投诉 / 反馈 ---------- */
.tk-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tk-row:last-child { border-bottom: 0; }
.tk-main { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 5px; }
.tk-main b { font-size: 13.5px; color: var(--ink); }
.tk-main small { font-size: 12px; color: var(--muted); }
.fb-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.fb-chips label { border: 1px solid var(--line); padding: 8px 16px; font-size: 12.5px; color: var(--muted); cursor: pointer; transition: all .2s var(--ease); }
.fb-chips label:hover { border-color: var(--gold); color: var(--gold-d); }
.fb-chips input { display: none; }
.fb-chips input:checked + span { color: var(--ink); }
.fb-chips label:has(input:checked) { border-color: var(--ink); background: var(--ink); }
.fb-chips label:has(input:checked) span { color: #fff; }

/* ---------- 会员权益 ---------- */
.bn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.bn-item { border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 9px; background: #fff; }
.bn-ico { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--ivory); color: var(--gold-d); font-size: 17px; }
.bn-item b { font-size: 14px; color: var(--ink); }
.bn-item small { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.bn-item .uc-tag { align-self: flex-start; }

/* ---------- 生日礼 ---------- */
.bd-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bd-ico { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--gold-l); font-size: 22px; }
.bd-main { flex: 1; min-width: 220px; }
.bd-main b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.bd-main small { font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.bd-bar { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.bd-bar b { color: var(--gold-d); font-variant-numeric: tabular-nums; }
.bd-bar__track { flex: 1; min-width: 140px; height: 3px; background: var(--ivory-2); }
.bd-bar__track i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-d), var(--gold-l)); }
.bd-bar__t { font-size: 11.5px; color: #a49b8b; }

/* ---------- 分销 ---------- */
.ds-code { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ds-code > div { flex: 1; min-width: 200px; }
.ds-code b { display: block; font-family: var(--serif); font-size: 26px; letter-spacing: .12em; color: var(--ink); }
.ds-code span { font-size: 12.5px; color: var(--muted); }

/* ---------- 投稿 ---------- */
.post-form { display: flex; flex-direction: column; gap: 4px; }
.post-form .uc-field input, .post-form .uc-field textarea { width: 100%; }

/* ---------- 认证页补充 ---------- */
.auth-tip { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.auth-flash { border: 1px solid var(--line); border-left: 2px solid var(--gold); background: var(--ivory); padding: 12px 16px; font-size: 13px; margin-bottom: 18px; }
.auth-flash.err { border-left-color: #b45a5a; background: #fdf6f6; color: #8f3f3f; }

/* ---------- 顶部会员入口 ---------- */
.r-topbar__user { display: inline-flex; gap: 14px; align-items: center; }
.r-topbar__user a { color: rgba(255, 255, 255, .7); font-size: 12.5px; }
.r-topbar__user a:hover { color: var(--gold-l); }

/* ---------- 内容页补充 ---------- */
.c-reply { color: var(--gold-d); font-size: 12.5px; }
.dl-body { font-size: 14.5px; line-height: 1.95; color: var(--text); }
.topic-cover { margin-bottom: 26px; border: 1px solid var(--line); }
.topic-cover img { display: block; width: 100%; height: auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .cp-grid, .addr-grid, .bn-grid { grid-template-columns: 1fr; }
  .gc-card { grid-template-columns: 1fr; }
  .gc-left { padding: 26px 10px; }
  .ord2-rows { grid-template-columns: 1fr; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .ord-body { grid-template-columns: 1fr; }
  .ord-status { grid-column: 1; grid-row: 3; justify-self: start; }
  .ord-status + .ord-side { grid-row: 4; }
  .pt-top { gap: 18px; }
  .pt-cells { gap: 22px; }
}

/* ---------- 投稿状态徽标 ---------- */
.post-st {
  display: inline-block; padding: 3px 10px; font-size: 11.5px; letter-spacing: .06em;
  border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
}
.post-st.st-1 { color: var(--ok); border-color: #bfe0d0; background: #f4fbf7; }
.post-st.st-0 { color: var(--warn); border-color: #ecd9bd; background: #fffaf2; }
.post-st.st-2 { color: #8e4a7a; border-color: #e6d0e0; background: #fdf6fb; }

/* ---------- 移动端细化（会员子页） ---------- */
@media (max-width: 720px) {
  /* 标签页改为横向滚动，避免“全/部/6”逐字换行 */
  .uc-tabs {
    overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; gap: 0;
  }
  .uc-tabs::-webkit-scrollbar { display: none; }
  .uc-tabs a { flex: 0 0 auto; white-space: nowrap; padding: 10px 13px; }

  /* 订单搜索：input 独占一行，按钮并排 */
  .ord-search { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .ord-search__input { grid-column: 1 / -1; min-width: 0; }
  .ord-search .uc-btn { width: 100%; }

  /* 订单卡片：状态不再右浮动，改为与金额同行 */
  .ord-head { gap: 6px 16px; padding: 12px 16px; font-size: 11.5px; }
  .ord-body { padding: 16px; gap: 12px; }
  .ord-status { grid-row: 2; justify-self: start; }
  .ord-side { grid-row: 3; padding-top: 12px; }
  .ord-amt b { font-size: 18px; }

  /* 顶部标题与副标题 */
  .uc-title h1, .uc-title h2 { font-size: 20px; }
  .uc-card { padding: 20px 16px; }
  .pt-num { font-size: 30px; }
  .ds-code b { font-size: 22px; }
  .gc-left b { font-size: 28px; }
  .cp { grid-template-columns: 112px minmax(0, 1fr); }
  .cp-left b { font-size: 27px; }
}
