/* ============================================================
   个人中心 - 增强版
   蓝色大气风（#1E9FFF），与全站 index.css 协同
   ============================================================ */

/* ---------- 顶部用户卡 ---------- */
.uc-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #1E9FFF 0%, #4FB3FF 60%, #6BC0FF 100%);
  color: #fff;
  border: none !important;
  box-shadow: 0 8px 24px rgba(30, 159, 255, 0.18) !important;
  position: relative;
  overflow: hidden;
}
.uc-hero::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.uc-hero-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.uc-hero-info h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.uc-hero-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}
.uc-hero-email { font-size: 14px; }
.uc-hero-uid { font-size: 12px; margin-top: 2px; opacity: 0.8; }
.uc-hero-bio {
  font-size: 13px;
  margin-top: 6px;
  opacity: 0.85;
  line-height: 1.5;
  max-width: 480px;
  word-break: break-word;
}
.uc-hero-bio.is-empty { opacity: 0.5; font-style: italic; }

/* 乐手币余额 (hero 内的紧凑行) */
.uc-hero-coin {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
  color: #fff;
  flex-wrap: wrap;
}
.uc-coin-label {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(255, 215, 0, 0.22);
  border: 1px solid rgba(255, 215, 0, 0.5);
  color: #FFD700;
  font-size: 11px;
  font-weight: 600;
  border-radius: 10px;
  letter-spacing: 0.5px;
}
.uc-coin-num {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.uc-coin-link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.uc-coin-link:last-child { border-right: none; }
.uc-coin-link:hover { color: #fff; text-decoration: underline; }
.uc-hero-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.uc-hero .ys-btn {
  border: 0;
  background: #fff;
  color: #1E9FFF;
  font-weight: 600;
}
.uc-hero .ys-btn:hover { background: #f0f7ff; }
.uc-hero .ys-btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}
.uc-hero .ys-btn-ghost:hover { background: rgba(255, 255, 255, 0.25); }

/* 头像（hero 内） */
.uc-hero .ys-avatar-lg {
  background: rgba(255, 255, 255, 0.22);
  border: 3px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* VIP / 角色徽章 */
.uc-vip-badge,
.uc-role-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 12px;
  letter-spacing: 0.5px;
  vertical-align: middle;
  line-height: 1.4;
}
.uc-vip-badge {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #5C3300;
  box-shadow: 0 2px 6px rgba(255, 165, 0, 0.4);
}
.uc-role-tag {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ---------- 统计数字 ---------- */
.uc-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-top: -12px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.uc-stat-item {
  text-align: center;
  padding: 18px 8px;
  color: var(--text);
  border-right: 1px solid var(--border-light);
  transition: background 0.15s;
  cursor: pointer;
}
.uc-stat-item:last-child { border-right: 0; }
.uc-stat-item:hover { background: #f9fbff; }
.uc-stat-item .num {
  font-size: 22px;
  font-weight: 700;
  color: #1E9FFF;
  line-height: 1.2;
}
.uc-stat-item .label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
@media (max-width: 640px) {
  .uc-stats { grid-template-columns: repeat(3, 1fr); }
  .uc-stat-item:nth-child(4) { border-top: 1px solid var(--border-light); }
  .uc-stat-item:nth-child(5) { border-top: 1px solid var(--border-light); }
  .uc-stat-item:nth-child(3) { border-right: 0; }
  .uc-stat-item:nth-child(4) { border-right: 1px solid var(--border-light); }
  .uc-stat-item .num { font-size: 18px; }
  .uc-hero { flex-direction: column; align-items: flex-start; }
  .uc-hero-actions { width: 100%; }
  .uc-hero-actions .ys-btn { flex: 1; }
}

/* ---------- Tab 栏 ---------- */
.uc-tabs {
  border-radius: var(--radius) var(--radius) 0 0;
}

/* ---------- Tab 通用 ---------- */
.uc-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.uc-pane-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.uc-sub-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 14px;
}

/* ---------- 创作者收款信息卡 ---------- */
.uc-payout-card {
  background: #fff;
  border: 1px solid var(--border-light, #e5e7eb);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.uc-payout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.uc-payout-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text, #1f2937);
}
.uc-payout-icon { font-size: 18px; }
.uc-payout-status {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 12px;
  background: #fee2e2;
  color: #dc2626;
}
.uc-payout-status.is-set {
  background: #dcfce7;
  color: #16a34a;
}
.uc-payout-body { font-size: 13px; color: var(--text-muted, #6b7280); }
.uc-payout-empty { padding: 4px 0; }
.uc-payout-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 6px 12px;
  align-items: baseline;
}
.uc-payout-grid .lbl { color: #94a3b8; font-size: 12px; }
.uc-payout-grid .val { color: #1f2937; font-weight: 500; word-break: break-all; }
.uc-modal.uc-modal-lg { max-width: 680px; }
.uc-modal.uc-modal-xl { max-width: 920px; }
.uc-payout-type-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.uc-payout-type-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  font-size: 14px;
  transition: all .15s;
}
.uc-payout-type-opt:has(input:checked) {
  border-color: #1E9FFF;
  background: #e8f4ff;
  color: #1E9FFF;
  font-weight: 500;
}
.uc-payout-type-opt input { accent-color: #1E9FFF; }

/* 过滤 chip */
.uc-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.uc-chip {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 16px;
  background: #f1f5f9;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.uc-chip:hover { background: #e2e8f0; }
.uc-chip.active {
  background: #e8f4ff;
  color: #1E9FFF;
  font-weight: 600;
}

/* ---------- sub-tab (定制曲谱 4 个子 tab) ---------- */
.uc-subtab-bar {
  display: flex;
  gap: 4px;
  margin: 12px 0 16px;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
}
.uc-subtab {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.15s;
  position: relative;
}
.uc-subtab:hover { color: #1E9FFF; }
.uc-subtab.active {
  color: #1E9FFF;
  border-bottom-color: #1E9FFF;
  font-weight: 600;
}
.uc-subtab-count {
  display: inline-block;
  min-width: 18px;
  padding: 0 5px;
  margin-left: 4px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 9px;
}
.uc-subpane { display: none; }
.uc-subpane.active { display: block; }

/* ---------- 列表 (订单/下载/定制) ---------- */
.uc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.uc-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fafbfc;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.15s;
}
.uc-list-item:hover {
  background: #fff;
  border-color: #b3dffd;
  box-shadow: 0 4px 12px rgba(30, 159, 255, 0.08);
  transform: translateY(-1px);
}
.uc-list-item-block { cursor: default; flex-direction: column; align-items: stretch; }
.uc-list-item-block:hover {
  transform: none;
  background: #fafbfc;
  border-color: var(--border-light);
  box-shadow: none;
}
/* 2026-06-27: 定制曲谱订单/需求卡 — row1 (信息+徽章) + row2 (操作按钮) 上下分, 排版更整齐 */
.uc-list-item-block .uc-list-row1 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.uc-list-item-block .uc-list-row2 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e5e7eb;
}
.uc-list-item-block .uc-list-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.uc-list-item-block .uc-list-meta-money {
  font-size: 12px;
  color: var(--text-muted);
  background: #f0fdf4;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #bbf7d0;
}
/* 2026-06-27 R6 评价闭环: 5 星交互 + 已评价展示 */
.uc-review-stars {
  display: inline-flex;
  gap: 6px;
  font-size: 30px;
  line-height: 1;
  user-select: none;
  cursor: pointer;
}
.uc-review-star {
  color: #d1d5db;
  transition: color 0.1s ease, transform 0.1s ease;
}
.uc-review-star:hover {
  transform: scale(1.15);
}
.uc-rating-display {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}

/* 2026-06-27 R5+R7: 接单池 — 锁定状态卡 (locked by other = 灰显, locked by me = 绿色高亮) */
.uc-grab-locked-other {
  opacity: 0.55;
  background: #f9fafb;
}
.uc-grab-locked-other:hover {
  background: #f9fafb !important;
  border-color: var(--border-light) !important;
  transform: none !important;
  box-shadow: none !important;
}
.uc-grab-locked-mine {
  border-color: #86efac;
  background: #f0fdf4;
}
.uc-grab-locked-mine:hover {
  background: #ecfdf5 !important;
  border-color: #4ade80 !important;
}
.uc-grab-lock-banner {
  margin: 8px 0;
  padding: 8px 12px;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 6px;
  font-size: 13px;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 8px;
}
.uc-grab-lock-mine {
  background: #dcfce7;
  border-color: #22c55e;
}
.uc-grab-lock-icon {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.uc-grab-countdown {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-weight: 600;
  color: #16a34a;
  margin-left: 4px;
}
.uc-list-cover {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  background: #e8eef5;
  flex-shrink: 0;
}
.uc-list-info { flex: 1; min-width: 0; }
.uc-list-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.uc-list-meta {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 2026-06-27: 打回原因红条 — 创作者中心 status=1 订单列表里显示 */
.uc-reject-banner {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.5;
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-all;
}
.uc-list-side {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.uc-list-price {
  font-size: 15px;
  font-weight: 600;
  color: #ff6b35;
}
.uc-list-sub {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 13px;
}
.uc-list-cat {
  display: inline-block;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 10px;
  background: #e8f4ff;
  color: #1E9FFF;
  line-height: 1.5;
}

/* 状态徽章 */
.uc-status {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 10px;
  font-weight: 500;
}
.uc-status-1 { background: #e8f7ee; color: #16a34a; }
.uc-status-0 { background: #fff4e5; color: #ea8c0a; }
.uc-status-2 { background: #f1f5f9; color: #64748b; }
.uc-status-custom-1 { background: #e8f4ff; color: #1E9FFF; }
.uc-status-custom-2 { background: #fff4e5; color: #ea8c0a; }
.uc-status-custom-3 { background: #f3e8ff; color: #9333ea; }
.uc-status-custom-4 { background: #e8f7ee; color: #16a34a; }
.uc-status-custom-5 { background: #fee2e2; color: #dc2626; }

/* 下载方式标签 */
.uc-method-tag {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 4px;
  background: #e8f4ff;
  color: #1E9FFF;
  font-weight: 500;
}
.uc-method-vip { background: linear-gradient(135deg, #fff3cd, #ffe69c); color: #ad7e00; }
.uc-method-purchase { background: #fff4e5; color: #ea8c0a; }
.uc-method-free { background: #e8f7ee; color: #16a34a; }

/* ---------- 收藏行列表(无缩略图) ---------- */
.uc-fav-list {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}
.uc-fav-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
  gap: 16px;
}
.uc-fav-row:last-child { border-bottom: 0; }
.uc-fav-row:hover { background: #f5f9ff; }
.uc-fav-name {
  flex: 1;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.uc-fav-name .uc-fav-creator {
  color: var(--text-muted);
  margin-left: 6px;
}
.uc-fav-cat {
  display: inline-block;
  padding: 2px 10px;
  background: #e8f4ff;
  color: #1E9FFF;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
}
.uc-fav-time {
  color: var(--text-muted);
  font-size: 13px;
  min-width: 90px;
  text-align: right;
  white-space: nowrap;
}
.uc-fav-author {
  color: var(--text-muted);
  font-size: 13px;
  min-width: 110px;
  white-space: nowrap;
}
.uc-fav-del {
  margin-left: 12px;
  padding: 4px 12px;
  background: #fff;
  color: #f56c6c;
  border: 1px solid #fbc4c4;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.15s;
}
.uc-fav-del:hover { background: #f56c6c; color: #fff; border-color: #f56c6c; }
.uc-fav-del:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- 收藏网格 ---------- */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.uc-grid-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all 0.18s;
  display: flex;
  flex-direction: column;
}
.uc-grid-card:hover {
  border-color: #b3dffd;
  box-shadow: 0 6px 18px rgba(30, 159, 255, 0.12);
  transform: translateY(-2px);
}
.uc-grid-cover {
  aspect-ratio: 1;
  background: #e8eef5;
  overflow: hidden;
}
.uc-grid-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.uc-grid-title {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 10px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}
.uc-grid-meta {
  padding: 0 10px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
}
.uc-tag-mini {
  background: #e8f4ff;
  color: #1E9FFF;
  padding: 1px 6px;
  border-radius: 3px;
  flex-shrink: 0;
}
.uc-creator-mini {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.uc-grid-foot {
  margin-top: auto;
  padding: 8px 10px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.uc-price { color: #ff6b35; font-weight: 600; }
.uc-price-free { color: #16a34a; font-weight: 600; }
.uc-fav-time { color: var(--text-muted); font-size: 11px; }

/* ---------- VIP 模块 ---------- */
.uc-vip-current { margin-bottom: 8px; }
.uc-vip-on,
.uc-vip-off {
  background: linear-gradient(135deg, #1E9FFF 0%, #4FB3FF 100%);
  color: #fff;
  border-radius: 10px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: 0 6px 18px rgba(30, 159, 255, 0.18);
}
.uc-vip-off { background: linear-gradient(135deg, #94a3b8 0%, #cbd5e1 100%); }
.uc-vip-on-title,
.uc-vip-off-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.uc-vip-on-sub,
.uc-vip-off-sub {
  font-size: 13px;
  opacity: 0.92;
}
.uc-vip-on .ys-btn-primary,
.uc-vip-off .ys-btn-primary {
  background: #fff;
  color: #1E9FFF;
  border: 0;
}

.uc-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.uc-plan-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 20px 18px;
  text-align: center;
  transition: all 0.18s;
  position: relative;
}
.uc-plan-card:hover {
  border-color: #1E9FFF;
  box-shadow: 0 8px 20px rgba(30, 159, 255, 0.12);
  transform: translateY(-2px);
}
.uc-plan-card.current {
  border-color: #1E9FFF;
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 50%);
}
.uc-plan-tag {
  position: absolute;
  top: -10px;
  right: 14px;
  background: #1E9FFF;
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 10px;
  font-weight: 500;
}
.uc-plan-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.uc-plan-price {
  color: #ff6b35;
  font-weight: 600;
  margin: 8px 0 12px;
}
.uc-plan-price .big { font-size: 30px; }
.uc-plan-price small { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.uc-plan-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  min-height: 16px;
}
.uc-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  text-align: left;
  font-size: 13px;
  color: var(--text);
}
.uc-plan-features li {
  padding: 4px 0;
  border-bottom: 1px dashed var(--border-light);
}
.uc-plan-features li:last-child { border-bottom: 0; }
.uc-plan-card .ys-btn { width: 100%; }

/* ---------- 账号安全 ---------- */
.uc-security {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.uc-security-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #fafbfc;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  gap: 14px;
  flex-wrap: wrap;
}
.uc-security-item.uc-danger {
  background: #fff8f8;
  border-color: #fecaca;
}
.uc-security-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.uc-security-hint {
  font-size: 12px;
  color: var(--text-muted);
}
.uc-security-item.uc-danger .uc-security-hint { color: #b91c1c; }

/* ---------- 分页器 ---------- */
.uc-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-muted);
}
.uc-page-btn {
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  color: var(--text);
  font-size: 13px;
  transition: all 0.15s;
}
.uc-page-btn:hover:not(:disabled) {
  border-color: #1E9FFF;
  color: #1E9FFF;
}
.uc-page-btn:disabled {
  background: #f5f5f5;
  color: #cbd5e1;
  cursor: not-allowed;
}

/* ---------- 空状态 ---------- */
.uc-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}
.uc-empty-icon {
  font-size: 50px;
  color: #cbd5e1;
  margin-bottom: 10px;
}
.uc-empty-text {
  font-size: 14px;
  margin-bottom: 6px;
}

/* ---------- 加载提示 ---------- */
.uc-loading {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 13px;
}

/* ---------- Modal 弹窗 ---------- */
.uc-modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: ucFadeIn 0.18s ease;
}
@keyframes ucFadeIn { from { opacity: 0; } to { opacity: 1; } }
.uc-modal {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: ucSlideUp 0.22s ease;
}
@keyframes ucSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.uc-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
.uc-modal-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.uc-modal-close {
  font-size: 24px;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.15s;
}
.uc-modal-close:hover { color: #1E9FFF; }
.uc-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.uc-modal-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #fafbfc;
}
.uc-modal-foot .ys-btn { min-width: 80px; }

/* ---------- 表单 ---------- */
.uc-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.uc-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.uc-form-row label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.uc-input,
.uc-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.uc-input:focus,
.uc-textarea:focus {
  outline: 0;
  border-color: #1E9FFF;
  box-shadow: 0 0 0 3px rgba(30, 159, 255, 0.12);
}
.uc-input-static {
  background: #f5f5f5;
  color: var(--text-muted);
  cursor: default;
}
.uc-textarea {
  resize: vertical;
  min-height: 70px;
  line-height: 1.5;
}
.uc-form-hint {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
}
.uc-form-hint:not([style*="text-align"]) { text-align: left; }
.uc-form-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #e2e8f0 20%, #e2e8f0 80%, transparent);
  margin: 20px 0 16px;
}
.uc-form-subsection {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.uc-form-sub-tip {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}
.uc-input-group {
  display: flex;
  gap: 8px;
}
.uc-input-group .uc-input { flex: 1; }
.uc-input-group .ys-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0 14px;
}
.uc-radio-group {
  display: flex;
  gap: 16px;
  padding-top: 4px;
}
.uc-radio {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text);
}
.uc-radio input { cursor: pointer; }

/* 头像选择器 */
.uc-avatar-pick {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.uc-avatar-preview {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E9FFF, #4FB3FF);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
  overflow: hidden;
  flex-shrink: 0;
}
.uc-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.uc-avatar-pick-body { flex: 1; min-width: 0; }
.uc-avatar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
/* 头像区按钮强制品牌蓝边框(默认 1px 浅灰在白底弹窗上几乎看不见) */
.uc-avatar-actions .ys-btn {
  border-color: #1E9FFF;
  color: #1E9FFF;
}
.uc-avatar-actions .ys-btn:hover {
  background: #1E9FFF;
  color: #fff;
  border-color: #1E9FFF;
}
.uc-avatar-actions .ys-btn.ghost {
  background: transparent;
}
.uc-avatar-actions .ys-btn.ghost:hover {
  background: #1E9FFF;
  color: #fff;
}
.uc-avatar-progress {
  margin-top: 8px;
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.uc-avatar-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #1E9FFF, #4FB3FF);
  width: 0%;
  transition: width 0.2s;
  border-radius: 3px;
}
.uc-avatar-progress-text {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  line-height: 1.4;
}
.uc-avatar-status {
  font-size: 12px;
  margin-top: 6px;
  min-height: 16px;
  line-height: 1.4;
  color: #666;
}
.uc-avatar-pick-body .uc-form-hint { text-align: left; }

/* ---------- 注销警告 ---------- */
.uc-deactivate-warning {
  background: #fff8f8;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #b91c1c;
}
.uc-deactivate-warning p { margin: 0 0 8px; }
.uc-deactivate-warning ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
}

/* ---------- 按钮变体 ---------- */
.ys-btn-sm { padding: 6px 14px; font-size: 12px; }
.ys-btn-disabled,
.ys-btn:disabled {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  border-color: #e2e8f0 !important;
}
.ys-btn-danger {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.ys-btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }
.uc-btn-disabled {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  border-color: #e2e8f0 !important;
}

/* ---------- Toast ---------- */
.uc-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 11000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  max-width: 80%;
  text-align: center;
}
.uc-toast-show { opacity: 1; }
.uc-toast-ok { background: rgba(34, 197, 94, 0.92); }
.uc-toast-err { background: rgba(220, 38, 38, 0.92); }

.uc-no-scroll { overflow: hidden; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 640px) {
  .uc-list-item { padding: 10px; gap: 10px; }
  .uc-list-cover { width: 50px; height: 50px; }
  .uc-list-title { font-size: 13px; }
  .uc-list-meta { font-size: 11px; }
  .uc-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .uc-plan-grid { grid-template-columns: 1fr; }
  .uc-security-item { padding: 14px; }
  .uc-modal { max-width: 100%; }
  .uc-vip-on, .uc-vip-off { padding: 16px; }
}

/* ============================================================
   站内消息 (Notifications)
   ============================================================ */
.uc-stat-notif { position: relative; }
.uc-stat-notif .uc-stat-dot,
.uc-tab-dot {
  display: inline-block;
  min-width: 8px;
  height: 8px;
  margin-left: 4px;
  border-radius: 50%;
  background: #ef4444;
  vertical-align: middle;
}
.uc-tab-dot {
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  font-size: 11px;
  color: #fff;
  background: #ef4444;
  border-radius: 9px;
  font-style: normal;
  text-align: center;
  font-weight: 600;
}
.uc-pane-sub {
  font-size: 12px;
  color: #6b7280;
  font-weight: normal;
  margin-left: 8px;
}
.uc-btn-link {
  background: none;
  border: 0;
  color: #1E9FFF;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
}
.uc-btn-link:hover { color: #0E7BD8; text-decoration: underline; }
.uc-btn-link-danger { color: #ef4444; }
.uc-btn-link-danger:hover { color: #dc2626; }

.uc-msg-list { display: flex; flex-direction: column; gap: 10px; }
.uc-msg-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.18s;
}
.uc-msg-item:hover { border-color: #1E9FFF; box-shadow: 0 4px 16px rgba(30, 159, 255, 0.1); }
.uc-msg-item.unread {
  background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
  border-color: #bae6fd;
}
.uc-msg-item.unread:hover { background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 100%); }
.uc-msg-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  background: #f3f4f6;
  color: #6b7280;
}
.uc-msg-icon.uc-msg-ok   { background: #d1fae5; color: #059669; }
.uc-msg-icon.uc-msg-err  { background: #fee2e2; color: #dc2626; }
.uc-msg-icon.uc-msg-info { background: #e0f2fe; color: #1E9FFF; }
.uc-msg-body { flex: 1; min-width: 0; }
.uc-msg-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.uc-msg-type {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #f3f4f6;
  color: #6b7280;
}
.uc-msg-icon.uc-msg-ok   + .uc-msg-body .uc-msg-type { background: #d1fae5; color: #059669; }
.uc-msg-icon.uc-msg-err  + .uc-msg-body .uc-msg-type { background: #fee2e2; color: #dc2626; }
.uc-msg-icon.uc-msg-info + .uc-msg-body .uc-msg-type { background: #e0f2fe; color: #1E9FFF; }
.uc-msg-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.uc-msg-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  margin-left: auto;
}
.uc-msg-content {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 4px;
  word-break: break-word;
  white-space: pre-wrap;
}
.uc-msg-meta {
  font-size: 11px;
  color: #9ca3af;
}
.uc-msg-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .uc-msg-item { padding: 12px; gap: 10px; }
  .uc-msg-icon { width: 36px; height: 36px; font-size: 16px; }
  .uc-msg-actions { flex-direction: row; }
}

/* ============================================================
 * 留言反馈 (Feedback)
 * ============================================================ */

/* 弹窗内图片上传区 */
.uc-fb-upload {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.uc-fb-image-grid {
  display: contents;
}
.uc-fb-img-card {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}
.uc-fb-img-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.uc-fb-img-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 4px 0 3px;
  font-size: 11px;
  line-height: 1;
}
.uc-fb-img-progress-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: rgba(30, 159, 255, 0.6);
  z-index: 0;
  transition: width 0.18s;
}
.uc-fb-img-progress-text {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
  font-size: 11px;
}
.uc-fb-img-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 14px;
  line-height: 18px;
  cursor: pointer;
  padding: 0;
  display: none;
  z-index: 2;
}
.uc-fb-img-card:hover .uc-fb-img-remove { display: block; }
.uc-fb-img-card.uc-fb-img-uploaded .uc-fb-img-progress { display: none; }
.uc-fb-img-card.uc-fb-img-error { border-color: #ef4444; }
.uc-fb-img-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 80px;
  height: 80px;
  border: 1px dashed #cbd5e1;
  background: #fafbfc;
  color: #6b7280;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  padding: 0;
  transition: all 0.15s;
}
.uc-fb-img-add-btn:hover {
  border-color: #1E9FFF;
  color: #1E9FFF;
  background: #f0f9ff;
}
.uc-fb-img-add-btn[hidden] { display: none !important; }
.uc-fb-img-add-icon {
  font-size: 22px;
  line-height: 1;
  color: inherit;
}

/* 详情弹窗内图片网格 */
.uc-fb-detail-imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.uc-fb-detail-imgs a {
  display: block;
  width: 90px;
  height: 90px;
}
.uc-fb-detail-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #eee;
  cursor: zoom-in;
}
.uc-fb-list-img-item {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eee;
}
.uc-fb-list-imgs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.uc-fb-list { display: flex; flex-direction: column; gap: 12px; }
.uc-fb-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.18s;
}
.uc-fb-item:hover {
  border-color: #1E9FFF;
  box-shadow: 0 4px 16px rgba(30, 159, 255, 0.1);
}
.uc-fb-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.uc-fb-type {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #f3f4f6;
  color: #6b7280;
  flex-shrink: 0;
}
.uc-fb-type-suggest   { background: #e0f2fe; color: #1E9FFF; }
.uc-fb-type-bug       { background: #fee2e2; color: #dc2626; }
.uc-fb-type-complaint { background: #fef3c7; color: #b45309; }
.uc-fb-type-cooperate { background: #ede9fe; color: #6d28d9; }
.uc-fb-type-other     { background: #f3f4f6; color: #6b7280; }
.uc-fb-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.uc-fb-replied-tag {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background: #1E9FFF;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-style: normal;
  margin-left: 4px;
}
.uc-fb-content {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 8px;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.uc-fb-imgs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.uc-fb-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eee;
  cursor: pointer;
}
.uc-fb-meta {
  font-size: 11px;
  color: #9ca3af;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.uc-fb-actions {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #f0f0f0;
}

/* 状态徽章（复用站内消息的风格） */
.uc-badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #f3f4f6;
  color: #6b7280;
}
.uc-badge-ok    { background: #d1fae5; color: #059669; }
.uc-badge-warn  { background: #fef3c7; color: #b45309; }
.uc-badge-muted { background: #f3f4f6; color: #9ca3af; }

@media (max-width: 600px) {
  .uc-fb-item { padding: 12px; }
  .uc-fb-title { font-size: 13px; }
}

/* F5 草稿横幅 (2026-06-22) */
.uc-draft-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: #fffbeb;        /* 暖黄, 提示"待处理" */
  border: 1px solid #fcd34d;
  border-left: 4px solid #f59e0b;
  border-radius: 6px;
  font-size: 14px;
  color: #78350f;
}
.uc-draft-banner .uc-draft-icon { font-size: 18px; }
.uc-draft-banner .uc-draft-text { flex: 1; min-width: 200px; }
.uc-draft-banner .ys-btn-sm { padding: 4px 12px; font-size: 12px; }
.uc-draft-banner .uc-draft-clear { color: #b91c1c; }
@media (max-width: 600px) {
  .uc-draft-banner { font-size: 13px; padding: 10px 12px; }
}

/* ============================================================
   VIP 支付弹窗 (2026-06-23 接入真实微信/支付宝)
   用于 user_center VIP tab + 独立 /vip 页面
   ============================================================ */

/* 套餐摘要 (弹窗顶部) */
.vip-pay-channel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vip-pay-summary {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
  border: 1px solid #b3d9ff;
  border-radius: 10px;
  padding: 16px 18px;
  text-align: center;
}
.vip-pay-summary-name {
  font-size: 16px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 4px;
}
.vip-pay-summary-meta {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 8px;
}
.vip-pay-summary-price {
  font-size: 28px;
  font-weight: 700;
  color: #1E9FFF;
  letter-spacing: 0.5px;
}
.vip-pay-summary-price::before {
  content: "¥";
  font-size: 16px;
  margin-right: 2px;
}

/* 支付方式选择 */
.vip-pay-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vip-pay-channel-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s;
  background: #fff;
  user-select: none;
}
.vip-pay-channel-opt:hover {
  border-color: #93c5fd;
  background: #f8fafc;
}
.vip-pay-channel-opt.active {
  border-color: #1E9FFF;
  background: #f0f7ff;
}
.vip-pay-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  position: relative;
  flex-shrink: 0;
  transition: all 0.18s;
}
.vip-pay-channel-opt.active .vip-pay-radio {
  border-color: #1E9FFF;
}
.vip-pay-channel-opt.active .vip-pay-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #1E9FFF;
  border-radius: 50%;
}
.vip-pay-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.vip-pay-icon-wechat { background: #07c160; }
.vip-pay-icon-alipay { background: #1677ff; }
.vip-pay-name {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
}
.vip-pay-sub {
  font-size: 12px;
  color: #9ca3af;
  margin-left: auto;
}

/* 二维码弹窗 */
.vip-qrcode-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.vip-qrcode-title {
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
}
#vip-qrcode-img {
  padding: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#vip-qrcode-img img,
#vip-qrcode-img canvas {
  display: block;
}
.vip-qrcode-hint {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

/* 支付中 loading */
.vip-pay-loading {
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

/* 支付成功 */
.vip-pay-success {
  text-align: center;
  padding: 16px 0;
}
.vip-pay-success-icon {
  width: 64px;
  height: 64px;
  line-height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #07c160;
  color: #fff;
  font-size: 36px;
  font-weight: 600;
}
.vip-pay-success h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #1f2937;
}
.vip-pay-success p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

/* vip-pay 独立 modal (用户中心页面已经用 uc-modal, 这里兜底) */
.vip-pay-modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.vip-pay-modal-mask[style*="flex"] {
  display: flex !important;
}
.vip-pay-modal {
  background: #fff;
  border-radius: 12px;
  width: 92%;
  max-width: 460px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}
.vip-pay-modal-head {
  padding: 14px 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9fafb;
}
.vip-pay-modal-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}
.vip-pay-modal-close {
  font-size: 24px;
  color: #9ca3af;
  text-decoration: none;
  line-height: 1;
  padding: 0 4px;
}
.vip-pay-modal-close:hover { color: #1f2937; }
.vip-pay-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.vip-pay-modal-foot {
  padding: 14px 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #f9fafb;
}
.vip-pay-no-scroll { overflow: hidden; }

/* 响应式 */
@media (max-width: 600px) {
  .vip-pay-modal { max-width: 100%; border-radius: 8px; }
  .vip-pay-summary-price { font-size: 24px; }
  .vip-pay-channel-opt { padding: 12px 14px; }
}
/* ===== �������۵��� (2026-06-23) ===== */
.uc-list-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.uc-list-item-row .uc-list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.uc-list-action {
  flex-shrink: 0;
}
.uc-reviewed-tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 12px;
  color: #94a3b8;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  margin-right: 4px;
  cursor: not-allowed;
  user-select: none;
  vertical-align: middle;
  font-weight: 500;
}
.uc-rv-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.uc-rv-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.uc-rv-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}
.uc-rv-stars {
  display: flex;
  gap: 4px;
  font-size: 28px;
  line-height: 1;
}
.uc-rv-star,
.uc-rv-star-readonly {
  color: #e5e7eb;
  cursor: default;
  transition: color 0.15s;
}
.uc-rv-star {
  cursor: pointer;
}
.uc-rv-star.on,
.uc-rv-star-readonly.on {
  color: #f59e0b;
}
.uc-rv-star:hover {
  color: #fbbf24;
}
.uc-rv-hint {
  font-size: 12px;
  color: #9ca3af;
  margin-left: 4px;
}
.uc-rv-textarea {
  width: 100%;
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  font-family: inherit;
  box-sizing: border-box;
}
.uc-rv-textarea:focus {
  outline: none;
  border-color: #1E9FFF;
  box-shadow: 0 0 0 2px rgba(30, 159, 255, 0.12);
}
.uc-rv-counter {
  text-align: right;
  font-size: 12px;
  color: #9ca3af;
}
.uc-rv-content {
  padding: 10px 12px;
  background: #f9fafb;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #1f2937;
  white-space: pre-wrap;
  word-break: break-word;
}
.uc-rv-empty {
  color: #9ca3af;
  font-style: italic;
}
.uc-rv-vis-row {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.uc-rv-vis-row .uc-rv-label {
  flex-shrink: 0;
}
.uc-rv-radio {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  background: #fff;
}
.uc-rv-radio input {
  margin: 0;
}
.uc-rv-radio small {
  color: #9ca3af;
  font-size: 12px;
  margin-left: 2px;
}
.uc-rv-radio:has(input:checked) {
  border-color: #1E9FFF;
  background: #eff6ff;
  color: #1E9FFF;
}
.uc-rv-vis-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}
.uc-rv-vis-pill.uc-rv-vis-public {
  background: #dbeafe;
  color: #1e40af;
}
.uc-rv-vis-pill.uc-rv-vis-private {
  background: #fef3c7;
  color: #92400e;
}
.uc-rv-meta {
  font-size: 12px;
  color: #9ca3af;
  padding-top: 6px;
  border-top: 1px dashed #e5e7eb;
}
.uc-rv-loading,
.uc-rv-error {
  padding: 20px 0;
  text-align: center;
  color: #6b7280;
}
.uc-rv-error { color: #ef4444; }
/* ====== 2026-06-26: 我发布的需求 sub-tab 内联报价列表 ======
   从 custom_detail.html 搬过来, 适配 uc-list-item 内部的紧凑布局 */
.uc-inline-quotes-box {
  margin-top: 12px;
  padding: 14px;
  background: #f9fafb;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}
.uc-inline-quotes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
}
.uc-inline-quotes-title {
  font-weight: 600;
  color: var(--text, #1f2937);
}
.uc-inline-quotes-stat {
  color: #6b7280;
  font-weight: normal;
}
.uc-inline-quotes-empty {
  text-align: center;
  color: #9ca3af;
  padding: 24px 0;
  font-size: 13px;
}
.uc-inline-quotes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 单条报价卡片 */
.uc-inline-quote-card {
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  padding: 14px;
}
.uc-iq-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.uc-iq-creator {
  display: flex;
  align-items: center;
  gap: 10px;
}
.uc-iq-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-soft, #e0f2fe);
  color: var(--primary, #1E9FFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
  flex-shrink: 0;
}
.uc-iq-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.uc-iq-creator-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text, #1f2937);
}
.uc-iq-creator-role {
  font-size: 11px;
  color: #9ca3af;
}
.uc-iq-current {
  text-align: right;
}
.uc-iq-current-label {
  font-size: 11px;
  color: #9ca3af;
}
.uc-iq-round-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--primary-soft, #e0f2fe);
  color: var(--primary, #1E9FFF);
  font-size: 11px;
  border-radius: 10px;
  margin-left: 6px;
  font-weight: normal;
}
.uc-iq-current-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary, #1E9FFF);
  line-height: 1.2;
}

/* 时间线 */
.uc-iq-timeline {
  border-left: 2px solid var(--border, #e5e7eb);
  padding-left: 14px;
  margin: 10px 0;
}
.uc-iq-timeline-item {
  padding: 6px 0;
  position: relative;
}
.uc-iq-timeline-item::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary, #1E9FFF);
}
.uc-iq-timeline-item.creator::before { background: #16a34a; }
.uc-iq-timeline-item.user::before { background: #f59e0b; }
.uc-iq-timeline-role {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 2px;
}
.uc-iq-timeline-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1f2937);
}
.uc-iq-timeline-msg {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
  padding: 6px 10px;
  background: #f9fafb;
  border-radius: 4px;
}
.uc-iq-timeline-time {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 4px;
}

/* 操作按钮 */
.uc-iq-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border, #e5e7eb);
}
.uc-iq-actions .ys-btn { min-width: 80px; }
.uc-iq-status-pending {
  color: #16a34a;
  font-size: 13px;
  padding: 4px 0;
}

/* ====== 2026-06-26: 「洽谈中报价」tab 摘要卡片(列表态) ====== */
.uc-iq-summary {
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color .15s;
}
.uc-iq-summary:hover { border-color: var(--primary, #1E9FFF); }
.uc-iq-summary-row1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.uc-iq-summary-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.uc-iq-summary-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f9ff;
  color: var(--primary, #1E9FFF);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.uc-iq-summary-avatar img { width: 100%; height: 100%; object-fit: cover; }
.uc-iq-summary-meta { min-width: 0; flex: 1; }
.uc-iq-summary-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.uc-iq-summary-sub {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}
.uc-iq-summary-price {
  text-align: right;
  flex-shrink: 0;
}
.uc-iq-summary-price-label {
  font-size: 12px;
  color: #9ca3af;
}
.uc-iq-summary-price-num {
  font-size: 20px;
  font-weight: 700;
  color: #f59e0b;
  line-height: 1.2;
}
.uc-iq-summary-row2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border, #e5e7eb);
  gap: 10px;
  flex-wrap: wrap;
}
.uc-iq-summary-link {
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
}
.uc-iq-summary-link:hover { color: var(--primary, #1E9FFF); }
.uc-iq-expand-btn {
  font-size: 13px;
  color: var(--primary, #1E9FFF);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.uc-iq-expand-btn:hover { text-decoration: underline; }