/**
 * 「我的」页面样式（V2 - JWT 鉴权版）
 * 出海智诊 - 用户个人中心
 */

/* ========== 页面主体 ========== */
.my-page-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* ========== 用户信息卡 ========== */
.my-user-card {
  background: linear-gradient(135deg, var(--primary) 0%, #1B4F8C 100%);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.my-user-card::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(30,144,255,0.12);
}

.my-user-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.my-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.my-user-detail {
  position: relative;
  z-index: 1;
}

.my-user-phone {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.my-user-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.my-logout-btn {
  height: 36px;
  padding: 0 20px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}

.my-logout-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}

/* ========== Tab 切换 ========== */
.my-tabs {
  display: flex;
  gap: 0;
  background: var(--card-bg);
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  overflow: hidden;
}

.my-tab-btn {
  flex: 1;
  height: 48px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.my-tab-btn:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.my-tab-btn.active {
  color: var(--accent);
  background: var(--card-bg);
}

.my-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 3px;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
}

.my-tab-count {
  font-size: 11px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 1px 8px;
  border-radius: 10px;
  font-weight: 700;
}

/* ========== Tab 内容 ========== */
.my-tab-content {
  background: var(--card-bg);
  border-radius: 0 0 var(--radius) var(--radius);
  border: 1px solid var(--border);
  border-top: none;
  padding: 20px;
  min-height: 200px;
}

.my-tab-pane {
  display: none;
}

.my-tab-pane.active {
  display: block;
}

/* ========== 记录卡片 ========== */
.my-record-card {
  background: #FAFBFC;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: all var(--transition);
}

.my-record-card:hover {
  border-color: var(--accent);
}

.my-record-card:last-child {
  margin-bottom: 0;
}

.my-record-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.my-record-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-record-badges {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
  margin-left: 12px;
}

/* ========== 类型标签 ========== */
.my-type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.my-type-badge.l1 {
  background: var(--accent-light);
  color: var(--accent);
}

.my-type-badge.l2 {
  background: #FFF8E1;
  color: #B45309;
}

/* ========== 状态标签 ========== */
.my-status-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.my-status-badge.pending {
  background: #FFFBEB;
  color: #B45309;
}

.my-status-badge.confirmed {
  background: #DBEAFE;
  color: #1D4ED8;
}

.my-status-badge.success {
  background: #ECFDF5;
  color: #059669;
}

.my-status-badge.cancelled {
  background: #F3F4F6;
  color: #6B7280;
}

/* ========== 记录元数据 ========== */
.my-record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.my-record-score {
  color: var(--accent);
  font-weight: 600;
}

.my-record-score strong {
  font-size: 16px;
  color: var(--gold);
}

.my-record-score-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 6px;
}

.my-record-summary {
  font-size: 13px;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 8px;
}

.my-record-footer {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}

/* ========== 展开按钮 ========== */
.my-expand-btn {
  display: inline-block;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  margin-top: 4px;
  transition: color var(--transition);
}

.my-expand-btn:hover {
  color: #0073E6;
}

/* ========== 下载按钮 ========== */
.my-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 24px;
  margin-top: 12px;
  border: 2px solid var(--success);
  border-radius: 8px;
  background: #ECFDF5;
  color: #059669;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.my-download-btn:hover {
  background: #059669;
  color: #fff;
  border-color: #059669;
}

/* ========== L2 升级引导卡片 ========== */
.my-upgrade-card {
  max-width: 500px;
  width: 100%;
  border-radius: 20px;
  background: linear-gradient(165deg, #0A2463 0%, #1B4F8C 50%, #1E5FA8 100%);
  border: 2px solid rgba(201,168,76,0.5);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(10,36,99,0.35);
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 16px auto 0;
  cursor: pointer;
}

.my-upgrade-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 72px rgba(10,36,99,0.45);
}

.my-upgrade-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
  pointer-events: none;
}

.my-upgrade-inner {
  padding: 36px 32px 32px;
  position: relative;
  z-index: 1;
}

.my-upgrade-badge {
  display: inline-block;
  background: linear-gradient(135deg, #C9A84C, #E8C96A);
  color: #0A2463;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.my-upgrade-icon { font-size: 48px; margin-bottom: 12px; }

.my-upgrade-title {
  font-size: 26px; font-weight: 900; color: #fff;
  margin-bottom: 8px; line-height: 1.3;
}

.my-upgrade-features { margin-bottom: 28px; }

.my-upgrade-feature {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0;
  font-size: 14.5px; color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.my-upgrade-feature:last-child { border-bottom: none; }

.my-upgrade-check {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(46,204,113,0.2);
  color: #2ECC71; font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}

.my-upgrade-section-title {
  font-size: 15px; font-weight: 700; color: #fff;
  margin: 16px 0 8px 0; padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.my-upgrade-section-title:first-of-type { margin-top: 0; }

.my-upgrade-section-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 0 6px 8px;
  font-size: 13.5px; color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.my-upgrade-section-num {
  color: #F5C443; font-weight: 700; flex-shrink: 0;
  min-width: 18px;
}

.my-upgrade-price-row {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.my-upgrade-price-old {
  font-size: 15px; color: rgba(255,255,255,0.45);
  text-decoration: line-through;
}
.my-upgrade-price-now { display: flex; align-items: baseline; gap: 2px; color: #E8C96A; }
.my-upgrade-currency { font-size: 20px; font-weight: 700; }
.my-upgrade-amount { font-size: 42px; font-weight: 900; line-height: 1; letter-spacing: -1px; }
.my-upgrade-price-note {
  font-size: 12px; color: #2ECC71; font-weight: 600;
  background: rgba(46,204,113,0.12);
  padding: 3px 10px; border-radius: 10px;
}

.my-upgrade-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px 24px; border: none; border-radius: 14px;
  background: linear-gradient(135deg, #C9A84C, #E8C96A);
  color: #0A2463; font-size: 17px; font-weight: 800;
  cursor: pointer; transition: all 0.25s;
  box-shadow: 0 6px 24px rgba(201,168,76,0.45);
}
.my-upgrade-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201,168,76,0.6);
}

/* ========== 报告详情 Modal ========== */
.report-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
}

.report-modal-overlay.show {
  display: flex;
}

.report-modal-box {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  max-width: 640px;
  width: 100%;
  position: relative;
  padding: 0;
  margin: 20px auto;
}

.report-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,0.2);
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition);
}

.report-modal-close:hover {
  background: rgba(255,255,255,0.3);
}

.report-modal-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1B4F8C 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 32px 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.report-modal-hero::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(30,144,255,0.12);
}

.report-modal-company {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.report-modal-headline {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.report-modal-score-section {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.report-modal-score-num {
  font-size: 42px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.report-modal-score-unit {
  font-size: 14px;
  opacity: 0.6;
}

.report-modal-score-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-left: 12px;
}

.report-modal-interpretation {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 16px;
  opacity: 0.9;
}

/* Modal 内的 section */
.report-modal-box .my-detail-section {
  padding: 0 28px;
  margin-top: 20px;
}

.report-modal-box .my-detail-section:last-child {
  margin-bottom: 24px;
}

/* ========== 通用详情 Section ========== */
.my-detail-section {
  margin-bottom: 18px;
}

.my-detail-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========== 详情 - 维度评分 ========== */
.my-dim-item {
  margin-bottom: 10px;
}

.my-dim-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.my-dim-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.my-dim-score {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.my-dim-bar-bg {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.my-dim-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #0073E6);
  transition: width 0.8s ease;
}

/* ========== 详情 - 市场推荐 ========== */
.my-market-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
}

.my-market-rank {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.my-market-flag {
  font-size: 20px;
}

.my-market-info {
  flex: 1;
  min-width: 0;
}

.my-market-info strong {
  font-size: 14px;
  color: var(--primary);
  display: block;
}

.my-market-countries {
  font-size: 12px;
  color: var(--text-muted);
}

.my-market-score {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* ========== 详情 - 路径推荐 ========== */
.my-path-card {
  background: linear-gradient(135deg, var(--primary) 0%, #1B4F8C 100%);
  border-radius: 10px;
  padding: 18px;
  color: #fff;
}

.my-path-name {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.my-path-rationale {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 10px;
}

.my-path-timeline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
}

/* ========== 详情 - 行动清单 ========== */
.my-action-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  background: #FAFBFC;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  margin-bottom: 10px;
}

.my-action-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.my-action-content { flex: 1; }

.my-action-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.my-action-rationale {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 2px;
}

.my-action-time {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

/* ========== 详情 - 风险提示 ========== */
.my-risk-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 8px;
  border-left: 4px solid;
  margin-bottom: 10px;
}

.my-risk-item.high { background: #FEF2F2; border-color: var(--danger); }
.my-risk-item.medium { background: #FFFBEB; border-color: #F59E0B; }
.my-risk-item.low { background: #ECFDF5; border-color: var(--success); }

.my-risk-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.my-risk-content { flex: 1; }

.my-risk-type {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.my-risk-item.high .my-risk-type { color: var(--danger); }
.my-risk-item.medium .my-risk-type { color: #B45309; }
.my-risk-item.low .my-risk-type { color: var(--success); }

.my-risk-text {
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
}

/* ========== 详情 - 核心建议 ========== */
.my-detail-suggestion {
  background: linear-gradient(135deg, #EFF6FF, #E8F4FF);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--primary);
  font-weight: 500;
}

/* ========== 空状态 ========== */
.my-empty {
  text-align: center;
  padding: 40px 20px;
}

.my-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.my-empty-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.my-empty-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.my-empty-link {
  display: inline-block;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.my-empty-link:hover {
  color: #0073E6;
}

/* ========== 加载动画 ========== */
.my-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.my-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: my-spin 0.8s linear infinite;
  margin-bottom: 12px;
}

@keyframes my-spin {
  to { transform: rotate(360deg); }
}

.my-loading-text {
  font-size: 14px;
  color: var(--text-muted);
}

/* ========== 支付确认按钮 ========== */
.btn-confirm-pay {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent) 0%, #0073E6 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 16px;
}

.btn-confirm-pay:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30,144,255,0.35);
}

/* ========== Toast ========== */
.hz-toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(10,36,99,0.3);
  z-index: 400;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  max-width: 90%;
  text-align: center;
}

.hz-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========== 弹窗通用样式 ========== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  align-items: center;
  justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  padding: 32px 28px;
  max-width: 440px;
  width: 90%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--text); }

/* ========== 支付弹窗（复用 index.html 新版样式） ========== */
#paymentModal .modal-box {
  max-width: 440px; background: #fff; border-radius: 20px;
  padding: 0; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}
.pay-hero {
  background: linear-gradient(160deg, #0A2463 0%, #1B4F8C 100%);
  padding: 32px 28px 28px; text-align: center;
  position: relative; overflow: hidden;
}
.pay-hero::before {
  content: ''; position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(201,168,76,0.1);
}
.pay-hero-title {
  font-size: 20px; font-weight: 800; color: #fff;
  margin-bottom: 6px; position: relative;
}
.pay-hero-desc {
  font-size: 13px; color: rgba(255,255,255,0.65);
  margin-bottom: 20px; position: relative;
}
.pay-amount-wrap { position: relative; }
.pay-amount { font-size: 48px; font-weight: 900; color: #E8C96A;
  line-height: 1; letter-spacing: -2px; position: relative;
}
.pay-amount .currency { font-size: 20px; font-weight: 700; vertical-align: super; }
.pay-amount-old {
  font-size: 14px; color: rgba(255,255,255,0.45);
  text-decoration: line-through; margin-top: 6px; position: relative;
}
.pay-body { padding: 24px 28px 28px; }
.pay-features-title {
  font-size: 13px; font-weight: 700; color: #1e293b;
  text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.pay-feature-list {
  list-style: none; padding: 0; margin: 0 0 16px 0;
}
.pay-feature-list li {
  font-size: 13px; color: #4B5563; line-height: 1.7;
  padding: 3px 0; padding-left: 20px; position: relative;
}
.pay-feature-list li::before {
  content: '\2713'; position: absolute; left: 0;
  color: var(--success); font-weight: 700;
}
.pay-method-section { margin-top: 20px; }
.pay-method-title {
  font-size: 12px; font-weight: 700; color: #1e293b;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.pay-method-row { display: flex; gap: 10px; margin-bottom: 16px; }
.pay-method-btn {
  flex: 1; padding: 10px; border: 1.5px solid var(--border);
  border-radius: 8px; background: #fff; text-align: center;
  cursor: pointer; transition: all 0.2s; font-size: 14px;
}
.pay-method-btn.selected {
  border-color: var(--success); background: #ECFDF5;
}
.pay-method-btn:hover { border-color: var(--accent); }
.pay-confirm-btn {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, #0A2463, #1B4F8C);
  color: #fff; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 800; cursor: pointer;
  transition: all 0.25s;
}
.pay-confirm-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,36,99,0.35);
}
.pay-confirm-btn:disabled {
  opacity: 0.6; cursor: not-allowed; transform: none;
  box-shadow: none;
}
.modal-error {
  display: none; color: var(--danger);
  font-size: 13px; margin-bottom: 12px; text-align: center;
}
.modal-error.show { display: block; }

/* ========== 响应式 ========== */
@media (max-width: 480px) {
  .my-page-container {
    padding: 20px 16px 40px;
  }

  .my-user-card {
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .my-logout-btn {
    align-self: flex-end;
  }

  .my-tab-content {
    padding: 16px;
  }

  .my-record-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .my-record-badges {
    margin-left: 0;
  }

  .my-record-meta {
    flex-direction: column;
    gap: 4px;
  }

  .my-upgrade-inner {
    padding: 24px 20px 20px;
  }
  .my-upgrade-title {
    font-size: 22px;
  }
  .my-upgrade-amount {
    font-size: 36px;
  }

  .report-modal-box {
    margin: 10px auto;
  }

  .report-modal-hero {
    padding: 24px 20px;
  }

  .report-modal-box .my-detail-section {
    padding: 0 20px;
  }
}
