/* ============================================================================
   发布中心（老板板块 · 仅主账号可见）
   ----------------------------------------------------------------------------
   ⚠️ 类名一律 rc- 前缀，保证全局唯一（防与既有样式撞车）。
   ⚠️ 不碰 style.css —— 铁律：改内容只新建独立 css，并排在 style.css 之后加载。
   ⚠️ [hidden] 兜底：本子页里有 display:flex，会盖掉 [hidden]，故单独补一条。
   ========================================================================== */
#sub-release [hidden] { display: none !important; }

.rc-root { padding: 2px 0 26px; }

/* ---------- 顶部说明卡（深色，与老板板块的调性一致） ---------- */
.rc-hero {
  position: relative; overflow: hidden;
  border-radius: var(--radius, 20px);
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, #2b2118 0%, #1a1512 100%);
  color: #fff; margin-bottom: 14px;
}
.rc-hero::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  border-radius: 50%; background: radial-gradient(circle, rgba(249,89,1,.55), transparent 70%);
}
.rc-hero-t { font-size: 19px; font-weight: 800; letter-spacing: .3px; position: relative; }
.rc-hero-s { font-size: 12.5px; color: rgba(255,255,255,.62); margin-top: 7px; line-height: 1.6; position: relative; }

/* ---------- 卡片 ---------- */
.rc-card {
  background: var(--card, #fff); border-radius: 16px; padding: 14px 15px 16px;
  box-shadow: 0 2px 14px rgba(58,42,30,.06); border: 1px solid rgba(58,42,30,.05);
}
.rc-card + .rc-card { margin-top: 12px; }
.rc-card-h { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--text, #3a2a1e); margin-bottom: 10px; }

/* ---------- 状态行 ---------- */
.rc-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed rgba(58,42,30,.08); font-size: 13px; }
.rc-row:last-child { border-bottom: 0; }
.rc-k { color: var(--text2, #a08c7c); }
.rc-v { color: var(--text, #3a2a1e); font-weight: 600; }

/* ---------- 待发布区 ---------- */
.rc-empty { font-size: 13px; color: #16a34a; padding: 8px 0 2px; }
.rc-pend { font-size: 13.5px; color: var(--text, #3a2a1e); padding: 2px 0 9px; }
.rc-pend b { color: var(--primary, #f95901); font-size: 16px; }
.rc-warn { display: inline-block; margin-left: 8px; font-size: 11.5px; color: #b45309; background: #fef3c7; padding: 2px 8px; border-radius: 999px; }

.rc-list { max-height: 210px; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #fbf7f4; border-radius: 10px; padding: 8px 10px; }
.rc-file { font-size: 12px; color: #6b5a4c; font-family: ui-monospace, Menlo, Consolas, monospace; line-height: 1.85; word-break: break-all; }
.rc-more { color: var(--text2, #a08c7c); }

.rc-busy { margin-top: 10px; font-size: 12.5px; color: #b45309; background: #fff8ec; border-radius: 10px; padding: 9px 11px; line-height: 1.55; }

/* ---------- 主按钮 ---------- */
.rc-btn {
  display: block; width: 100%; margin-top: 14px; border: 0; border-radius: 14px;
  padding: 14px 16px; font-size: 15px; font-weight: 700; color: #fff;
  background: var(--grad, linear-gradient(135deg, #ff8845 0%, #f94400 100%));
  box-shadow: 0 6px 18px rgba(249,89,1,.28); cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit;
}
.rc-btn:active { transform: scale(.985); }
.rc-btn[disabled] { background: #e8e0da; color: #a08c7c; box-shadow: none; cursor: default; transform: none; }
/* 二次确认态：变红再点一次才真发（比 confirm 弹窗更适合手机） */
.rc-btn.rc-arm { background: linear-gradient(135deg, #f87171 0%, #dc2626 100%); box-shadow: 0 6px 18px rgba(220,38,38,.3); }

.rc-tip { font-size: 12px; color: var(--text2, #a08c7c); line-height: 1.65; margin-top: 10px; }

/* ---------- toast ---------- */
.rc-toast {
  position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); z-index: 99999;
  background: rgba(28,28,30,.94); color: #fff; font-size: 13px; padding: 10px 16px;
  border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.3); white-space: nowrap;
}
