/* site.css · site 10 · cherry-burst · build 注入块兼容 */

.cb-body .movie-grid,
.cb-body .div-grid--dense,
.cb-body .div-grid--rail { display: contents; }

.cb-body .image-off { opacity: 0; }

/* 旧 tw- 类名残留兼容（防止 build 产物错位） */
.tw-body .movie-grid,
.tw-body .div-grid--dense { display: contents; }

.cb-body .filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--cb-surface, #fff);
  border: 1px solid var(--cb-line-cta, rgba(37, 99, 235, 0.22));
  box-shadow: 0 3px 14px rgba(37, 99, 235, 0.06);
}
.cb-body .filter-panel input,
.cb-body .filter-panel select {
  flex: 1;
  min-width: 140px;
  padding: 10px 14px;
  border: 1px solid var(--cb-line, rgba(225, 29, 72, 0.18));
  border-radius: 8px;
  background: var(--cb-bg, #fff1f2);
  color: var(--cb-text, #881337);
  outline: none;
}
.cb-body .filter-panel input:focus,
.cb-body .filter-panel select:focus {
  border-color: var(--cb-brand, #e11d48);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.cb-body .empty-state {
  padding: 2.5rem;
  text-align: center;
  color: var(--cb-muted, #be123c);
  border-radius: 12px;
  background: var(--cb-surface, #fff);
  border: 1px dashed var(--cb-line, rgba(225, 29, 72, 0.18));
}

@media (max-width: 768px) {
  .cb-body .movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 404 等 build 硬编码页兼容 */
.cb-body .page-hero,
.cb-body .compact-hero {
  text-align: center;
  padding: 32px 24px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cb-surface, #fff) 0%, var(--cb-surface-2, #ffe4e6) 100%);
  border: 1px solid var(--cb-line, rgba(225, 29, 72, 0.18));
  border-top: 4px solid var(--cb-brand, #e11d48);
}
.cb-body .page-hero .eyebrow,
.cb-body .compact-hero .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--cb-hot, #fbbf24);
  margin-bottom: 10px;
}
.cb-body .page-hero h1,
.cb-body .compact-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 900;
  color: var(--cb-text, #881337);
}
.cb-body .page-hero p,
.cb-body .compact-hero p {
  margin: 0 auto;
  max-width: 540px;
  color: var(--cb-muted, #be123c);
  line-height: 1.7;
}
.cb-body .primary-btn {
  display: inline-flex;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cb-cta, #2563eb), #1d4ed8);
  color: #fff !important;
}
.cb-body .ghost-btn {
  display: inline-flex;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 800;
  color: var(--cb-brand, #e11d48) !important;
  border: 2px solid var(--cb-brand, #e11d48);
  margin-left: 10px;
}
