/* ============================================================
   创作者中心 - 蓝色大气风（#1E9FFF）
   命名空间: cc- (creator center)
   与 index.css / user_center.css 协同,不互相污染
   ============================================================ */

/* ---------- 顶部创作者 hero ---------- */
.cc-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;
}
.cc-hero::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.cc-hero::before {
  content: '♪';
  position: absolute;
  right: 40px;
  bottom: -30px;
  font-size: 200px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
  line-height: 1;
}
.cc-hero-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.cc-hero-info h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cc-hero-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}
.cc-hero-email { font-size: 14px; }
.cc-hero-uid { font-size: 12px; margin-top: 2px; opacity: 0.8; }
.cc-hero-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.cc-hero .ys-btn {
  border: 0;
  background: #fff;
  color: #1E9FFF;
  font-weight: 600;
}
.cc-hero .ys-btn:hover { background: #f0f7ff; }
.cc-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);
}
.cc-hero .ys-btn-ghost:hover { background: rgba(255, 255, 255, 0.25); }

/* hero 内的头像 */
.cc-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);
}

/* 认证徽章 */
.cc-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 12px;
  letter-spacing: 0.5px;
  vertical-align: middle;
  line-height: 1.5;
}
.cc-cert-approved { background: linear-gradient(135deg, #FFD700, #FFA500); color: #5C3300; box-shadow: 0 2px 6px rgba(255, 165, 0, 0.4); }
.cc-cert-pending  { background: rgba(255, 255, 255, 0.25); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); }
.cc-cert-rejected { background: rgba(220, 38, 38, 0.85); color: #fff; }
.cc-cert-none     { background: rgba(255, 255, 255, 0.18); color: #fff; border: 1px dashed rgba(255, 255, 255, 0.5); cursor: pointer; }

/* ---------- 统计数字 (5 列) ---------- */
.cc-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;
}
.cc-stat-item {
  text-align: center;
  padding: 18px 8px;
  color: var(--text);
  border-right: 1px solid var(--border-light);
  transition: background 0.15s;
  cursor: pointer;
}
.cc-stat-item:last-child { border-right: 0; }
.cc-stat-item:hover { background: #f9fbff; }
.cc-stat-item .num {
  font-size: 22px;
  font-weight: 700;
  color: #1E9FFF;
  line-height: 1.2;
}
.cc-stat-item .num.warn { color: #ff6b35; }
.cc-stat-item .label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- 认证提醒条 ---------- */
.cc-cert-bar {
  background: linear-gradient(135deg, #fff4e5, #fff8f0);
  border: 1px solid #fcd9a8;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.cc-cert-bar.cc-cert-bar-pending { background: linear-gradient(135deg, #e8f4ff, #f0f7ff); border-color: #b3dffd; }
.cc-cert-bar.cc-cert-bar-rejected { background: linear-gradient(135deg, #fff8f8, #fef2f2); border-color: #fecaca; }
.cc-cert-bar.cc-cert-bar-approved { display: none; }
.cc-cert-bar-text {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cc-cert-bar-text .icon { font-size: 18px; }

/* ---------- Tab 栏 ---------- */
.cc-tabs {
  border-radius: var(--radius) var(--radius) 0 0;
}
.cc-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.cc-pane-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* 过滤 chip */
.cc-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cc-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;
}
.cc-chip:hover { background: #e2e8f0; }
.cc-chip.active {
  background: #e8f4ff;
  color: #1E9FFF;
  font-weight: 600;
}

/* ---------- 曲谱卡(列表形式) ---------- */
.cc-score-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cc-score-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  transition: all 0.15s;
}
.cc-score-card:hover {
  border-color: #b3dffd;
  box-shadow: 0 4px 12px rgba(30, 159, 255, 0.08);
}
.cc-score-cover {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #e8eef5;
  object-fit: cover;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 24px;
}
.cc-score-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cc-score-main { flex: 1; min-width: 0; }
.cc-score-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cc-score-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cc-score-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.cc-score-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

/* 状态徽章 */
.cc-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 10px;
  font-weight: 500;
}
.cc-status-online  { background: #e8f7ee; color: #16a34a; }
.cc-status-offline { background: #f1f5f9; color: #64748b; }
.cc-status-pending { background: #fff4e5; color: #ea8c0a; }
.cc-status-success { background: #e8f7ee; color: #16a34a; }
.cc-status-paid    { background: #e8f7ee; color: #16a34a; }
.cc-status-rejected{ background: #fee2e2; color: #dc2626; }
.cc-status-info    { background: #e8f4ff; color: #1E9FFF; }

/* 驳回原因提示框 */
.cc-reject-box {
  margin-top: 6px;
  padding: 6px 10px;
  background: #fff5f5;
  border: 1px solid #ffccc7;
  border-radius: 4px;
  font-size: 12px;
  color: #c41d7f;
  line-height: 1.5;
}

/* 源标签 */
.cc-source-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 4px;
  background: #e8f4ff;
  color: #1E9FFF;
}

/* ---------- Hero 创作者 3 stat (inline 风格, 跟乐手币同款) ---------- */
.uc-hero-creator-stats {
  margin-top: 6px !important;
}
.uc-hero-creator-stats .uc-coin-num { transition: opacity .15s; cursor: pointer; }
.uc-hero-creator-stats .uc-coin-num:hover { opacity: .8; }

/* ---------- 收益管理 (4 卡并排) ---------- */
.cc-earnings-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.cc-stat-card {
  background: #fff;
  border: 1px solid var(--border-light, #e5e7eb);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.cc-stat-card:hover {
  box-shadow: 0 6px 18px rgba(30, 159, 255, .12);
  transform: translateY(-1px);
}
.cc-stat-card-primary {
  background: linear-gradient(135deg, #1E9FFF 0%, #4FB3FF 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(30, 159, 255, .22);
}
.cc-stat-card-primary::before {
  content: '¥';
  position: absolute;
  right: -16px;
  bottom: -52px;
  font-size: 160px;
  font-weight: 700;
  color: rgba(255,255,255,.08);
  line-height: 1;
  pointer-events: none;
}
.cc-stat-label {
  font-size: 13px;
  color: var(--text-muted, #6b7280);
  display: flex;
  align-items: center;
  gap: 4px;
}
.cc-stat-card-primary .cc-stat-label {
  color: rgba(255,255,255,.9);
}
.cc-stat-num {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  color: #1f2937;
  letter-spacing: -.5px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
}
.cc-stat-card-primary .cc-stat-num {
  color: #fff;
  font-size: 36px;
  text-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.cc-stat-num.warn { color: #f59e0b; }
.cc-stat-num.ok { color: #16a34a; }
.cc-stat-hint {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}
.cc-stat-card-primary .cc-stat-hint { color: rgba(255,255,255,.75); }
.cc-stat-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  position: relative;
  z-index: 1;
}
.cc-stat-actions .ys-btn {
  flex: 1;
  font-size: 13px;
  padding: 8px 12px;
}
.cc-stat-actions .ys-btn-primary {
  background: #fff;
  color: #1E9FFF;
  font-weight: 600;
  border: 0;
}
.cc-stat-actions .ys-btn-primary:hover { background: #f0f7ff; }
.cc-stat-actions .ys-btn-ghost {
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}
.cc-stat-actions .ys-btn-ghost:hover { background: rgba(255,255,255,.28); }

/* ---------- 顶部报表 stat row (5 张报表样式, 所有人可见) ---------- */
.uc-report-stats {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
/* 创作者/管理员: 多 1 张「我的粉丝」, 桌面端 6 列均分 (2026-06-23) */
.uc-report-stats.is-creator {
  grid-template-columns: repeat(6, 1fr);
}
.uc-report-card {
  background: #fff;
  border: 1px solid var(--border-light, #e5e7eb);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all .2s;
  text-decoration: none;
  color: inherit;
  cursor: default;
  min-height: 86px;
  position: relative;
  overflow: hidden;
}
.uc-report-card-link {
  cursor: pointer;
}
.uc-report-card-link:hover {
  border-color: #1E9FFF;
  box-shadow: 0 4px 12px rgba(30, 159, 255, .12);
  transform: translateY(-1px);
}
.uc-report-label {
  font-size: 12px;
  color: var(--text-muted, #6b7280);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.uc-report-num {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #1f2937;
  letter-spacing: -.5px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
}
.uc-report-hint {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}
.uc-report-hint-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.uc-report-hint-links a {
  color: #1E9FFF;
  text-decoration: none;
  cursor: pointer;
  transition: all .15s;
}
.uc-report-hint-links a:hover {
  color: #0d6efd;
  text-decoration: underline;
}
.uc-report-hint-sep {
  color: #cbd5e1;
  font-size: 11px;
  user-select: none;
}
/* 主卡样式已去除 — 跟其他 4 张统一白底, 只保留 cursor:pointer 表示可点 */
.uc-report-card-primary {
  cursor: pointer;
}
.uc-report-card-primary .uc-report-num {
  font-size: 30px;
}

/* ---------- Hero 操作小卡片 row ---------- */
.uc-hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}
.uc-action-chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
  user-select: none;
}
.uc-action-chip:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1E9FFF;
}
.uc-action-chip:active {
  transform: translateY(1px);
}
.uc-action-chip-creator {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: #0369a1;
}
.uc-action-chip-creator:hover {
  background: #bae6fd;
  border-color: #38bdf8;
  color: #075985;
}

/* 响应式: 报表 row 在小屏降级为 2 列 (覆盖创作者 6 列, 避免手机挤压变形) */
@media (max-width: 720px) {
  .uc-report-stats,
  .uc-report-stats.is-creator {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 提现记录 modal (表格化 + 筛选) ---------- */
.cc-wh-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.cc-wh-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.cc-wh-stat {
  font-size: 12px;
  color: var(--text-muted, #6b7280);
}
.cc-wh-stat b { color: #1f2937; font-weight: 600; }
.cc-wh-table {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.cc-wh-row {
  display: grid;
  grid-template-columns: 120px 1.4fr 1.6fr 110px;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  transition: background .15s;
}
.cc-wh-row:last-child { border-bottom: 0; }
.cc-wh-row:not(.cc-wh-head):hover { background: #f8fafc; }
.cc-wh-head {
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px;
}
.cc-wh-head:hover { background: #f8fafc; }
.cc-wh-amount {
  font-size: 18px;
  font-weight: 700;
  color: #1E9FFF;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  line-height: 1.2;
}
.cc-wh-remark {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
  line-height: 1.4;
}
.cc-wh-acc-type {
  font-size: 12px;
  color: #1E9FFF;
  font-weight: 600;
  margin-bottom: 2px;
}
.cc-wh-acc-name {
  font-size: 13px;
  color: #1f2937;
  font-weight: 500;
}
.cc-wh-acc-no {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
}
.cc-wh-time-lbl {
  display: inline-block;
  font-size: 11px;
  color: #94a3b8;
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 6px;
}
.cc-wh-col-time > div { margin-bottom: 2px; color: #475569; }
.cc-wh-col-time > div:last-child { margin-bottom: 0; }
.cc-wh-col-stat { align-self: center; }

/* ---------- 申请提现 modal (紧凑 + 大额输入 + 快捷) ---------- */
.cc-wd-balance {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
  border: 1px solid #d4e8ff;
  border-radius: 10px;
  padding: 14px 6px;
  margin-bottom: 14px;
}
.cc-wd-balance-item {
  flex: 1;
  text-align: center;
  padding: 0 8px;
  border-right: 1px dashed #cfe4ff;
}
.cc-wd-balance-item:last-child { border-right: 0; }
.cc-wd-balance-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  color: #1E9FFF;
  font-size: 18px;
  font-weight: 700;
}
.cc-wd-balance-lbl {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 4px;
}
.cc-wd-balance-num {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  line-height: 1.1;
}
.cc-wd-balance-out { color: #1E9FFF; }
.cc-wd-balance-rest { color: #16a34a; }

.cc-wd-payout {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
}
.cc-wd-payout-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.cc-wd-payout-info { flex: 1; min-width: 0; }
.cc-wd-payout-type {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 2px;
}
.cc-wd-payout-name {
  font-size: 12px;
  color: #64748b;
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
}
.cc-wd-payout-edit {
  font-size: 12px;
  color: #1E9FFF;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background .15s;
}
.cc-wd-payout-edit:hover { background: #e8f4ff; }

.cc-wd-amount-row {
  margin-bottom: 10px;
}
.cc-wd-label {
  display: block;
  font-size: 13px;
  color: #475569;
  margin-bottom: 6px;
  font-weight: 500;
}
.cc-wd-required { color: #dc2626; margin-left: 2px; }
.cc-wd-amount-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 2px solid #1E9FFF;
  border-radius: 10px;
  padding: 4px 14px;
  background: #fff;
  transition: all .15s;
}
.cc-wd-amount-wrap:focus-within {
  box-shadow: 0 0 0 4px rgba(30,159,255,.12);
}
.cc-wd-yen {
  font-size: 24px;
  font-weight: 700;
  color: #1E9FFF;
  margin-right: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
}
.cc-wd-amount-input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 26px;
  font-weight: 600;
  padding: 10px 0;
  background: transparent;
  color: #1f2937;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
}
.cc-wd-amount-input::placeholder {
  color: #cbd5e1;
  font-weight: 400;
  font-size: 14px;
}

.cc-wd-quick-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.cc-wd-quick {
  flex: 1;
  min-width: 60px;
  padding: 7px 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 6px;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
  transition: all .15s;
  font-weight: 500;
}
.cc-wd-quick:hover {
  border-color: #1E9FFF;
  color: #1E9FFF;
  background: #e8f4ff;
}
.cc-wd-quick-all {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #ea580c;
}
.cc-wd-quick-all:hover {
  background: #ffedd5;
  border-color: #ea580c;
  color: #ea580c;
}

.cc-wd-tips {
  font-size: 12px;
  color: #94a3b8;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid #cbd5e1;
  line-height: 1.6;
}
.cc-wd-tip-icon {
  color: #1E9FFF;
  font-weight: 700;
  margin-right: 2px;
}

/* 响应式: 提现表格 */
@media (max-width: 640px) {
  .cc-wh-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cc-wh-head { display: none; }
  .cc-wh-row > div { padding: 0; }
  .cc-wh-row {
    padding: 12px;
  }
  .cc-wd-balance { flex-direction: column; padding: 8px; }
  .cc-wd-balance-item { border-right: 0; border-bottom: 1px dashed #cfe4ff; padding: 6px 0; }
  .cc-wd-balance-item:last-child { border-bottom: 0; }
  .cc-wd-balance-arrow { transform: rotate(90deg); height: 16px; width: 100%; }
  .cc-wd-balance-num { font-size: 18px; }
  .cc-wd-amount-input { font-size: 22px; }
}

/* 提现申请内嵌表单 */
.cc-withdraw-form {
  background: #fafbfc;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.cc-withdraw-form .ys-form-row { margin-bottom: 12px; }
.cc-withdraw-form .ys-form-row:last-child { margin-bottom: 0; }

/* 收益列表 */
.cc-earning-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cc-earning-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
}
.cc-earning-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8f4ff, #f0f7ff);
  color: #1E9FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.cc-earning-main { flex: 1; min-width: 0; }
.cc-earning-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}
.cc-earning-meta {
  font-size: 12px;
  color: var(--text-muted);
}
.cc-earning-amount {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-shrink: 0;
  text-align: right;
}
.cc-earning-amount .cc-earning-ratio {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
}
.cc-earning-amount .cc-earning-num {
  font-size: 16px;
  font-weight: 700;
  color: #16a34a;
}
.cc-earning-amount.pending .cc-earning-num { color: #ea8c0a; }
.cc-earning-amount.withdrawn .cc-earning-num { color: var(--text-muted); }

/* ---------- 定制订单 / 报价列表 ---------- */
.cc-order-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cc-order-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.15s;
}
.cc-order-card:hover {
  border-color: #b3dffd;
  box-shadow: 0 4px 12px rgba(30, 159, 255, 0.08);
}
.cc-order-main { flex: 1; min-width: 0; }
.cc-order-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-order-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cc-order-side {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.cc-order-price {
  font-size: 18px;
  font-weight: 700;
  color: #ff6b35;
}

/* ---------- 粉丝列表 ---------- */
.cc-follower-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.cc-follower-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  transition: all 0.15s;
}
.cc-follower-card:hover {
  border-color: #b3dffd;
  box-shadow: 0 4px 12px rgba(30, 159, 255, 0.08);
}
.cc-follower-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E9FFF, #4FB3FF);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
}
.cc-follower-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cc-follower-main { flex: 1; min-width: 0; }
.cc-follower-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-follower-meta {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 上传 / 编辑表单 ---------- */
.cc-form-card {
  background: #fafbfc;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 20px;
}
.cc-form-card .ys-form-row { margin-bottom: 16px; }
.cc-form-card .ys-form-row:last-child { margin-bottom: 0; }
.cc-form-card .ys-form-row label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--text); }
.cc-form-card .ys-form-row.inline label { display: inline-block; min-width: 80px; margin-bottom: 0; margin-right: 8px; }
.cc-form-card .ys-form-row.inline .ys-input,
.cc-form-card .ys-form-row.inline select,
.cc-form-card .ys-form-row.inline input[type="number"],
.cc-form-card .ys-form-row.inline input[type="text"] {
  display: inline-block;
  width: auto;
  flex: 1;
  max-width: 300px;
}
.cc-input,
.cc-textarea,
.cc-select {
  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;
}
.cc-input:focus,
.cc-textarea:focus,
.cc-select:focus {
  outline: 0;
  border-color: #1E9FFF;
  box-shadow: 0 0 0 3px rgba(30, 159, 255, 0.12);
}
.cc-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}
.cc-form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.cc-form-hint.error { color: #dc2626; }
.cc-form-hint.ok    { color: #16a34a; }

.cc-price-toggle {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 3px;
  gap: 2px;
  margin-bottom: 6px;
}
.cc-price-toggle span {
  padding: 6px 16px;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s;
  user-select: none;
}
.cc-price-toggle span.active {
  background: #1E9FFF;
  color: #fff;
  font-weight: 500;
}

/* 封面预览 */
.cc-cover-preview {
  width: 100%;
  max-width: 200px;
  height: 120px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 30px;
  overflow: hidden;
  margin-top: 6px;
  position: relative;
}
.cc-cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cc-cover-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: none;
}
.cc-cover-preview.has-image .cc-cover-preview-remove { display: block; }

/* 上传按钮 */
.cc-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  transition: all 0.15s;
}
.cc-upload-btn:hover {
  border-color: #1E9FFF;
  color: #1E9FFF;
}
.cc-upload-btn input { display: none; }

/* ---------- 分页器 ---------- */
.cc-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-muted);
}
.cc-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;
  font-family: inherit;
}
.cc-page-btn:hover:not(:disabled) {
  border-color: #1E9FFF;
  color: #1E9FFF;
}
.cc-page-btn:disabled {
  background: #f5f5f5;
  color: #cbd5e1;
  cursor: not-allowed;
}

/* ---------- 空状态 / 加载 ---------- */
.cc-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}
.cc-empty-icon {
  font-size: 50px;
  color: #cbd5e1;
  margin-bottom: 10px;
}
.cc-empty-text {
  font-size: 14px;
  margin-bottom: 6px;
}
.cc-loading {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 13px;
}
.cc-loading::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #b3dffd;
  border-top-color: #1E9FFF;
  border-radius: 50%;
  vertical-align: -3px;
  margin-right: 8px;
  animation: cc-spin 0.8s linear infinite;
}
@keyframes cc-spin { to { transform: rotate(360deg); } }

/* ---------- Modal ---------- */
.cc-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: ccFadeIn 0.18s ease;
}
@keyframes ccFadeIn { from { opacity: 0; } to { opacity: 1; } }
.cc-modal {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: ccSlideUp 0.22s ease;
}
@keyframes ccSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cc-modal.cc-modal-lg { max-width: 680px; }
.cc-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
.cc-modal-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.cc-modal-close {
  font-size: 24px;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.15s;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.cc-modal-close:hover { color: #1E9FFF; }
.cc-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.cc-modal-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #fafbfc;
}
.cc-modal-foot .ys-btn { min-width: 80px; }

/* ---------- Toast ---------- */
.cc-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;
}
.cc-toast-show { opacity: 1; }
.cc-toast-ok { background: rgba(34, 197, 94, 0.92); }
.cc-toast-err { background: rgba(220, 38, 38, 0.92); }
.cc-no-scroll { overflow: hidden; }

/* ---------- 危险按钮变体 ---------- */
.cc-btn-danger {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.cc-btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 900px) {
  .cc-stats { grid-template-columns: repeat(3, 1fr); }
  .cc-stat-item:nth-child(4) { border-top: 1px solid var(--border-light); }
  .cc-stat-item:nth-child(5) { border-top: 1px solid var(--border-light); }
  .cc-stat-item:nth-child(3) { border-right: 0; }
  .cc-stat-item:nth-child(4) { border-right: 1px solid var(--border-light); }
  .cc-follower-grid { grid-template-columns: 1fr; }
  .cc-form-card .ys-form-row.inline label { display: block; margin-bottom: 6px; margin-right: 0; }
  .cc-form-card .ys-form-row.inline input,
  .cc-form-card .ys-form-row.inline select {
    display: block;
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 640px) {
  .cc-hero { flex-direction: column; align-items: flex-start; }
  .cc-hero-actions { width: 100%; }
  .cc-hero-actions .ys-btn { flex: 1; }
  .cc-stat-item .num { font-size: 18px; }
  .cc-earnings-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cc-stat-card { padding: 14px 16px; }
  .cc-stat-num { font-size: 24px; }
  .cc-stat-card-primary { grid-column: 1 / -1; }
  .cc-stat-card-primary .cc-stat-num { font-size: 30px; }
  .cc-score-card { padding: 10px; gap: 10px; }
  .cc-score-cover { width: 52px; height: 52px; }
  .cc-score-title { font-size: 14px; }
  .cc-score-meta { font-size: 11px; }
  .cc-order-card { padding: 12px; }
  .cc-modal { max-width: 100%; }
  .cc-follower-grid { grid-template-columns: 1fr; }
  .cc-cert-bar { padding: 12px 14px; }
}

/* ============================================================
   发布曲谱 v2（OSS + VOD）— uploader / slider / rate-group / status-bar
   ============================================================ */

/* 上传服务状态条 */
.cc-upload-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.5;
  background: #f5f9ff;
  border: 1px solid #d6e8ff;
  color: #2563eb;
}
.cc-upload-status-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.cc-upload-status-ok {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}
.cc-upload-status-warn {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}

/* 难度点选 */
.cc-rate-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cc-rate-group > span {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #d6e0ec;
  border-radius: 6px;
  font-size: 13px;
  color: #4b5563;
  background: #f9fafb;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.cc-rate-group > span:hover {
  border-color: #1E9FFF;
  color: #1E9FFF;
}
.cc-rate-group > span.active {
  background: linear-gradient(135deg, #1E9FFF 0%, #4FB3FF 100%);
  color: #fff;
  border-color: #1E9FFF;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(30, 159, 255, 0.25);
}

/* 原版度滑块 */
.cc-slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 420px;
}
.cc-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: linear-gradient(90deg, #1E9FFF 0%, #4FB3FF 100%);
  border-radius: 3px;
  outline: none;
}
.cc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 3px solid #1E9FFF;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(30, 159, 255, 0.3);
}
.cc-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #fff;
  border: 3px solid #1E9FFF;
  border-radius: 50%;
  cursor: pointer;
}
.cc-slider-val {
  min-width: 52px;
  font-size: 16px;
  font-weight: 600;
  color: #1E9FFF;
  text-align: right;
}

/* 媒体上传器（图片 / 音频 / 视频 共用） */
.cc-media-uploader {
  border: 1px dashed #c8d6e5;
  border-radius: 8px;
  padding: 14px;
  background: #fafbfc;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
}
.cc-media-uploader:hover {
  border-color: #1E9FFF;
  background: #f5f9ff;
}
.cc-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #1E9FFF 0%, #4FB3FF 100%);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(30, 159, 255, 0.2);
  transition: transform 0.1s, box-shadow 0.15s;
}
.cc-upload-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(30, 159, 255, 0.3);
}
.cc-upload-btn input[type="file"] {
  display: none;
}
.cc-upload-icon { font-size: 16px; }
.cc-upload-text { line-height: 1; }

.cc-upload-preview {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cc-upload-preview.has-file {
  text-align: left;
  justify-content: flex-start;
  padding: 6px;
}
.cc-cover-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cc-cover-preview-remove:hover {
  background: #dc2626;
}

/* 上传进度条 */
.cc-upload-progress {
  margin-top: 10px;
  position: relative;
  height: 22px;
  background: #e8eef5;
  border-radius: 11px;
  overflow: hidden;
}
.cc-upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #1E9FFF 0%, #4FB3FF 100%);
  width: 0;
  transition: width 0.2s;
  border-radius: 11px;
}
.cc-upload-progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: #1f2937;
  text-shadow: 0 0 3px #fff;
}

/* ============================================================
   v2 多图 + 替换 + 错误态（红色提示）
   ============================================================ */

/* 曲谱图片：多图网格 */
.cc-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.cc-image-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #d6e0ec;
  border-radius: 8px;
  background: #f9fafb;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cc-image-card.cc-image-uploaded {
  border-color: #1E9FFF;
  box-shadow: 0 2px 8px rgba(30, 159, 255, 0.2);
}
.cc-image-card.cc-image-error {
  border-color: #dc2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}
.cc-image-thumb {
  width: 100%;
  height: 100%;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cc-image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cc-image-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  overflow: hidden;
}
.cc-image-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #1E9FFF 0%, #4FB3FF 100%);
  width: 0;
  transition: width 0.2s;
}
.cc-image-progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}
.cc-image-error .cc-image-progress-text { color: #fecaca; }
.cc-image-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border: none;
  background: rgba(220, 38, 38, 0.85);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
}
.cc-image-card:hover .cc-image-remove { opacity: 1; }

/* 拖动手柄（右上角，hover 才显示） */
.cc-image-drag {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border: none;
  background: rgba(30, 159, 255, 0.85);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
  user-select: none;
}
.cc-image-card:hover .cc-image-drag { opacity: 1; }
.cc-image-drag:active { cursor: grabbing; }

/* 顺序序号（左下角；第一张是封面，蓝色角标） */
.cc-image-index {
  position: absolute;
  left: 4px;
  bottom: 4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}
.cc-image-index.is-cover {
  background: linear-gradient(90deg, #1E9FFF 0%, #4FB3FF 100%);
  box-shadow: 0 1px 3px rgba(30, 159, 255, 0.5);
}

/* HTML5 拖动态：源元素半透明，目标位置高亮 */
.cc-image-card.cc-image-dragging {
  opacity: 0.35;
  transform: scale(0.95);
}
.cc-image-card.cc-image-dragover {
  border-color: #1E9FFF;
  box-shadow: 0 0 0 2px rgba(30, 159, 255, 0.6);
  transform: scale(1.04);
}

/* 点击预览大图 - Lightbox 模态（body 直接挂） */
.ys-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.2s;
}
.ys-image-lightbox[hidden] {
  display: none !important;
}
.ys-image-lightbox.is-visible {
  opacity: 1;
}
.ys-image-lightbox-inner {
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ys-image-lightbox-inner img {
  display: block;
  max-width: 92vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  background: #fff;
}
.ys-image-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.ys-image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* lightbox 打开时锁定 body 滚动 */
body.ys-lightbox-open {
  overflow: hidden;
}

/* 「+ 添加图片」按钮 */
.cc-upload-btn-add {
  background: #fff !important;
  color: #1E9FFF !important;
  border: 1px dashed #1E9FFF !important;
  box-shadow: none !important;
  display: inline-flex;
}
.cc-upload-btn-add:hover {
  background: #f5f9ff !important;
  color: #1E9FFF !important;
  border-color: #1E9FFF !important;
}

/* 音频 / 视频：替换 + 删除按钮 */
.cc-replace-btn,
.cc-remove-btn {
  display: inline-block;
  margin-left: 8px;
  padding: 8px 14px;
  font-size: 13px;
  border: 1px solid #d6e0ec;
  border-radius: 6px;
  background: #fff;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.15s;
}
.cc-replace-btn:hover {
  border-color: #1E9FFF;
  color: #1E9FFF;
}
.cc-remove-btn:hover {
  border-color: #dc2626;
  color: #dc2626;
  background: #fef2f2;
}

/* 上传失败错误态（红色进度条/红色文字） */
.cc-upload-progress.is-error .cc-upload-progress-bar {
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
}
.cc-upload-progress.is-error .cc-upload-progress-text {
  color: #fff;
  text-shadow: none;
  font-weight: 600;
}