/* 火包炮 HBP · 会员 / 商店 / 教练 样式 */
:root { --shop-pink: #ff5f6d; --shop-pink-2: #ff8b78; --shop-ink: #3d3742; }

/* ---------- 会员中心 ---------- */
.member-status {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 20px 22px; border: 1px solid #f0e9e4; border-radius: 18px;
  background: linear-gradient(120deg, #fff6f4, #fff 62%); margin-bottom: 22px;
}
.member-status.is-vip { border-color: #ffd9c9; background: linear-gradient(120deg, #fff2e8, #fff8f4 60%); }
.member-status-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.member-status-icon { width: 48px; height: 48px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 14px; color: #fff; background: linear-gradient(140deg, #ff8a63, var(--shop-pink)); }
.member-status-icon svg { width: 23px; height: 23px; }
.member-status h2 { margin: 0 0 3px; font-size: 18px; color: var(--shop-ink); }
.member-status p { margin: 0; color: #948d97; font-size: 12px; }
.member-status-right { text-align: right; }
.member-coins { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; color: #a8622f; background: #fff3e5; font-size: 12px; }
.member-coins svg { width: 14px; height: 14px; }
.member-coins b { font-size: 15px; }
.member-recharge-note { display: block; margin-top: 5px; color: #aaa3ad; font-size: 11px; }
.member-block { margin-bottom: 26px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.plan-card { position: relative; padding: 20px 18px; border: 1px solid #efe8e3; border-radius: 16px; background: #fff; }
.plan-card.recommend { border-color: #ffc7c9; box-shadow: 0 12px 30px rgba(255, 95, 109, .1); }
.plan-tag { position: absolute; right: 14px; top: 14px; padding: 2px 8px; border-radius: 999px; color: #fff; background: var(--shop-pink); font-size: 10px; }
.plan-card h3 { margin: 0 0 8px; font-size: 16px; color: var(--shop-ink); }
.plan-price { display: flex; align-items: baseline; gap: 2px; color: var(--shop-pink); }
.plan-price small { font-size: 14px; }
.plan-price strong { font-size: 34px; font-weight: 800; line-height: 1; }
.plan-price span { color: #a29ba5; font-size: 12px; }
.plan-unit { margin: 5px 0 12px; color: #a8a1aa; font-size: 11px; }
.plan-points { margin: 0 0 15px; padding: 0; list-style: none; display: grid; gap: 6px; }
.plan-points li { display: flex; align-items: center; gap: 6px; color: #7d7680; font-size: 12px; }
.plan-points svg { width: 13px; height: 13px; color: #28a179; }
.recharge-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.recharge-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 12px; border: 1px solid #efe8e3; border-radius: 14px; background: #fff; cursor: pointer; transition: .16s; }
.recharge-card:hover { border-color: #ffc7c9; background: #fff8f7; transform: translateY(-2px); }
.recharge-card.hot { border-color: #ffc7c9; background: linear-gradient(160deg, #fff3f0, #fff); }
.recharge-rmb { color: #948d97; font-size: 12px; }
.recharge-card strong { color: var(--shop-ink); font-size: 22px; line-height: 1.2; }
.recharge-card strong small { margin-left: 3px; color: #a29ba5; font-size: 10px; font-weight: 400; }
.recharge-note { color: #b0a9b2; font-size: 10px; }
.perk-table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid #efe8e3; border-radius: 14px; background: #fff; }
.perk-table th, .perk-table td { padding: 11px 14px; border-bottom: 1px solid #f5f1ed; text-align: left; font-size: 12.5px; }
.perk-table th { color: #9a939d; background: #fbf8f6; font-weight: 500; font-size: 11.5px; }
.perk-table tr:last-child td { border-bottom: 0; }
.perk-table td:first-child { color: var(--shop-ink); font-weight: 500; }
.perk-table .muted { color: #a8a1aa; }
.perk-table .perk-member { color: #d9505d; font-weight: 600; }
.order-list { display: grid; overflow: hidden; border: 1px solid #efe8e3; border-radius: 14px; background: #fff; }
.order-row { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-bottom: 1px solid #f5f1ed; }
.order-row:last-child { border-bottom: 0; }
.order-row > div:first-child { flex: 1; min-width: 0; }
.order-row strong { display: block; color: var(--shop-ink); font-size: 12.5px; font-weight: 500; }
.order-row small { display: block; margin-top: 2px; color: #aaa3ad; font-size: 10.5px; }
.order-amount { color: #d9505d; font-size: 12.5px; font-weight: 600; }
.order-amount.coins { color: #b07a2f; }
.order-status { padding: 2px 8px; border-radius: 999px; color: #238c6b; background: #eaf8f2; font-size: 10.5px; }
.order-status.pending { color: #b9812f; background: #fdf4e3; }
.order-status.cancelled { color: #a29ba5; background: #f4f1ee; }
.empty-inline { padding: 26px 16px; border: 1px dashed #e8e1db; border-radius: 12px; color: #a29ba5; text-align: center; font-size: 12px; }
.pay-method { padding: 4px 0 2px; }
.pay-method-item { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #ffd9dc; border-radius: 11px; background: #fff7f7; }
.pay-method-item svg { width: 18px; height: 18px; color: var(--shop-pink); }
.pay-method-item strong { display: block; font-size: 12.5px; color: var(--shop-ink); }
.pay-method-item small { display: block; color: #a29ba5; font-size: 10.5px; }
.pay-desc { margin: 11px 0 0; color: #948d97; font-size: 11.5px; line-height: 1.75; }

/* ---------- 弹币商店 ---------- */
.shop-wallet { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 17px 20px; margin-bottom: 16px; border: 1px solid #f0e9e4; border-radius: 16px; background: linear-gradient(120deg, #fff6f3, #fff 65%); }
.shop-wallet-main { display: flex; align-items: baseline; gap: 6px; }
.shop-wallet-main span { color: #938c96; font-size: 12px; }
.shop-wallet-main strong { color: var(--shop-pink); font-size: 30px; font-weight: 800; line-height: 1; }
.shop-wallet-main small { color: #a8a1aa; font-size: 11px; }
.shop-wallet-links { display: flex; gap: 8px; }
.shop-wallet-links a { padding: 5px 11px; border: 1px solid #f0e2dd; border-radius: 999px; color: #c2544f; background: #fff; font-size: 11px; }
.shop-wallet-links a:hover { border-color: #ffb9be; background: #fff6f6; }
.shop-wallet-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.wallet-badge { padding: 4px 9px; border-radius: 8px; color: #8d8690; background: #f8f4f1; font-size: 10.5px; }
.wallet-badge b { color: #5d5661; font-weight: 600; }
.shop-filter { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.shop-card { display: flex; flex-direction: column; padding: 16px; border: 1px solid #efe8e3; border-radius: 15px; background: #fff; transition: .16s; }
.shop-card:hover { border-color: #f2ddd8; box-shadow: 0 12px 28px rgba(90, 60, 50, .06); transform: translateY(-2px); }
.shop-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.shop-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--shop-color, #ff5f6d); background: color-mix(in srgb, var(--shop-color, #ff5f6d) 12%, white); }
.shop-icon svg { width: 18px; height: 18px; }
.shop-card h3 { margin: 0 0 4px; color: var(--shop-ink); font-size: 14px; }
.shop-card p { min-height: 34px; margin: 0 0 12px; color: #948d97; font-size: 11.5px; line-height: 1.6; }
.shop-card-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.shop-price { display: inline-flex; align-items: center; gap: 3px; color: #b07a2f; font-size: 13px; font-weight: 700; white-space: nowrap; }
.shop-price svg { width: 13px; height: 13px; }
.shop-card-foot .button { flex: 1; }
.shop-inventory { margin-bottom: 22px; }
.inv-list { display: grid; overflow: hidden; border: 1px solid #efe8e3; border-radius: 14px; background: #fff; }
.inv-row { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-bottom: 1px solid #f5f1ed; }
.inv-row:last-child { border-bottom: 0; }
.inv-main { flex: 1; min-width: 0; }
.inv-main strong { display: block; color: var(--shop-ink); font-size: 12.5px; font-weight: 500; }
.inv-main small { display: block; margin-top: 1px; color: #aaa3ad; font-size: 10.5px; }

/* ---------- 教练课堂 ---------- */
.coach-filter { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.coach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 26px; }
.coach-card { display: flex; flex-direction: column; padding: 17px; border: 1px solid #efe8e3; border-radius: 16px; background: #fff; transition: .16s; }
.coach-card:hover { border-color: #f2ddd8; box-shadow: 0 14px 30px rgba(90, 60, 50, .06); transform: translateY(-2px); }
.coach-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.coach-name { flex: 1; min-width: 0; }
.coach-name strong { display: block; color: var(--shop-ink); font-size: 14px; }
.coach-name span { display: inline-block; margin-top: 1px; margin-right: 6px; color: #a29ba5; font-size: 10.5px; }
.coach-rating { display: flex; align-items: center; gap: 3px; color: #d79a2f; }
.coach-rating svg { width: 13px; height: 13px; }
.coach-rating b { font-size: 14px; }
.coach-rating small { color: #aaa3ad; font-size: 9.5px; margin-left: 2px; }
.coach-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 9px; }
.coach-intro { margin: 0 0 10px; color: #7d7680; font-size: 11.5px; line-height: 1.7; }
.coach-points { margin: 0 0 13px; padding: 0; list-style: none; display: grid; gap: 4px; }
.coach-points li { display: flex; align-items: center; gap: 5px; color: #948d97; font-size: 11px; }
.coach-points svg { width: 12px; height: 12px; color: #28a179; }
.coach-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: auto; padding-top: 11px; border-top: 1px solid #f5f1ed; }
.coach-price strong { color: var(--shop-pink); font-size: 19px; }
.coach-price small { display: block; color: #aaa3ad; font-size: 10px; }
.coach-pay { display: grid; gap: 8px; margin-top: 6px; }
.pay-choice { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #efe8e3; border-radius: 10px; cursor: pointer; }
.pay-choice:has(input:checked) { border-color: #ffc7c9; background: #fff7f7; }
.pay-choice input { accent-color: var(--shop-pink); }
.pay-choice > span { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: #7d7680; font-size: 12px; }
.pay-choice svg { width: 14px; height: 14px; color: #b07a2f; }
.pay-choice b { color: var(--shop-ink); }
.pay-choice small { color: #aaa3ad; font-size: 10.5px; }
.booking-row { flex-wrap: wrap; }
.booking-actions { display: flex; gap: 5px; flex-wrap: wrap; }

/* 首页会员条 */
.member-strip { display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-top: 13px; border: 1px solid #f3ded6; border-radius: 16px; background: linear-gradient(110deg, #fff3ec, #fff 55%, #fff7f2); transition: .16s; }
.member-strip:hover { border-color: #ffc7bd; box-shadow: 0 12px 28px rgba(210, 120, 80, .08); transform: translateY(-1px); }
.member-strip-icon { width: 38px; height: 38px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 11px; color: #fff; background: linear-gradient(140deg, #ff9a6a, #ff5f6d); }
.member-strip-icon svg { width: 19px; height: 19px; }
.member-strip-main { flex: 1; min-width: 0; }
.member-strip-main strong { display: block; color: #5a4038; font-size: 14px; }
.member-strip-main span { display: block; margin-top: 1px; color: #a08d84; font-size: 11.5px; }
.member-strip-cta { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #ff8a63, #ff5f6d); font-size: 11.5px; white-space: nowrap; }
.member-strip-cta svg { width: 13px; height: 13px; }

@media (max-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .coach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rival-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .recharge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coach-grid { grid-template-columns: 1fr; }
  .member-status { align-items: flex-start; }
  .member-status-right { text-align: left; }
  .shop-wallet { gap: 12px; }
  .shop-wallet-badges { margin-left: 0; width: 100%; }
  .rival-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .shop-grid { grid-template-columns: 1fr; }
  .member-strip { flex-wrap: wrap; }
  .member-strip-cta { width: 100%; justify-content: center; }
}

.popover-tag { margin-left: auto; padding: 1px 7px; border-radius: 999px; color: #b07a2f; background: #fff3e5; font-size: 10px; }
.user-trigger-meta small { white-space: nowrap; }

/* 装扮效果：头像框 */
.avatar-frame-neon { outline: 2px solid #ff5f6d; outline-offset: 2px; box-shadow: 0 0 0 4px rgba(255, 95, 109, .16); }
.avatar-frame-ice { outline: 2px solid #5bc8ff; outline-offset: 2px; box-shadow: 0 0 0 4px rgba(91, 200, 255, .16); }
.nickname-mint { color: #22b184 !important; }
.nickname-gold { color: #c8902f !important; }
.vip-name { display: inline-flex; align-items: center; gap: 3px; }
.vip-badge { display: inline-flex; align-items: center; padding: 1px 5px; border-radius: 4px; color: #b9812f; background: #fff3e5; font-size: 9px; font-weight: 600; }
.vip-badge svg { width: 10px; height: 10px; }
