/* ui_ux_patch_g — 下载页分集状态板：最新可下高亮、已下载提示 */

.delivery-series-board {
  margin-bottom: 16px;
}

.delivery-series-tip {
  margin: 0 0 10px;
  padding: 8px 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 8px;
}

.delivery-ep-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.delivery-ep-row {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border, #2a2a2e);
  background: var(--bg-input, #141416);
}

.delivery-ep-row--latest {
  border-color: #f59e0b;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.45), 0 4px 18px rgba(245, 158, 11, 0.12);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(20, 20, 22, 0.95));
}

.delivery-ep-row--downloaded {
  opacity: 0.88;
}

.delivery-ep-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.delivery-ep-no {
  font-weight: 700;
  font-size: 0.95rem;
}

.delivery-ep-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: #374151;
  color: #e5e7eb;
}

.delivery-ep--publishable .delivery-ep-badge {
  background: #065f46;
  color: #a7f3d0;
}

.delivery-ep--generating .delivery-ep-badge {
  background: #1e3a8a;
  color: #bfdbfe;
}

.delivery-ep--waiting .delivery-ep-badge {
  background: #374151;
  color: #d1d5db;
}

.delivery-ep-latest-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fbbf24;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(251, 191, 36, 0.5);
}

.delivery-ep-downloaded {
  font-size: 0.72rem;
  color: #9ca3af;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(156, 163, 175, 0.12);
}

.delivery-ep-detail {
  margin: 0 0 8px;
  font-size: 0.84rem;
  color: var(--text-muted, #9ca3af);
  line-height: 1.4;
}

.delivery-ep-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.delivery-ep-prog,
.delivery-ep-eta {
  color: var(--text-muted, #9ca3af);
}

.delivery-ep-dl--latest {
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.55);
}

@media (max-width: 480px) {
  .delivery-ep-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .delivery-ep-dl {
    width: 100%;
    text-align: center;
  }
}

/* 新建项目 · 0 需求页省钱说明弹框 */
.cost-save-hint-line {
  margin-top: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted, #9ca3af);
}

.cost-save-open-btn {
  margin-right: 4px;
  font-weight: 600;
  color: var(--primary-light, #93c5fd) !important;
}

.cost-save-modal-card {
  width: calc(100vw - 24px);
  max-width: 540px;
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
}

.cost-save-modal-sub {
  margin: -4px 0 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted, #9ca3af);
}

.cost-save-modal-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted, #9ca3af);
}

.cost-save-modal-actions {
  margin-top: 14px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .cost-save-modal-card {
    width: calc(100vw - 16px);
    max-height: 90vh;
  }
}

.cost-save-guide-body {
  margin-top: 10px;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.cost-save-guide-lead {
  margin: 0 0 8px;
  color: var(--text, #e5e7eb);
}

.cost-save-guide-list {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

.cost-save-guide-list li {
  margin: 4px 0;
}

.cost-save-tiers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cost-save-tier {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border, #2a2a2e);
  background: var(--bg-input, #141416);
}

.cost-save-tier--best {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(6, 95, 70, 0.12);
}

.cost-save-tier strong {
  display: block;
  margin-bottom: 4px;
  font-size: inherit;
  font-weight: 600;
  color: var(--text, #e5e7eb);
}

.cost-save-tier p {
  margin: 0;
  font-size: inherit;
}

.cost-save-tier-tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 1px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  background: #374151;
  color: #e5e7eb;
}

.cost-save-tier--best .cost-save-tier-tag {
  background: #065f46;
  color: #a7f3d0;
}

.billing-insufficient-detail {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #fecaca;
  word-break: break-word;
}
.billing-insufficient-tip {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #94a3b8;
}

.cost-save-guide-foot {
  margin: 12px 0 0;
  font-size: inherit;
  color: var(--primary-light, #93c5fd);
}

.cost-save-tips {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border, #2a2a2e);
}

.cost-save-tips-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text, #e5e7eb);
}

.cost-save-tips-list {
  margin: 0;
  padding-left: 1.2em;
  font-size: inherit;
}

.cost-save-tips-list li {
  margin: 6px 0;
}

.cost-save-tips-list strong {
  color: var(--text, #e5e7eb);
  font-weight: 600;
}

.drama-review-mode-hint {
  font-size: 0.82rem;
  color: var(--text-muted, #9ca3af);
  margin-right: 8px;
  max-width: 12rem;
  line-height: 1.45;
  text-align: right;
}

@media (max-width: 720px) {
  .drama-review-mode-hint {
    font-size: 0.78rem;
    max-width: 8.5rem;
  }
}
