/* SPA→静态视觉桥 · midnight-gold · 深夜影厅 · 骨架保留 */
:root {
  --pink: #d4af37;
  --blue: #5b9fd4;
  --brand: #f0f0f2;
  --accent: #5b9fd4;
  --accent-ice: #7eb8e8;
  --accent-deep: #3d7ab8;
  --gold: #d4af37;
  --portal-accent: #5b9fd4;
  --bg: #0a0a0f;
  --surface: #111118;
  --surface-elevated: #181820;
  --text: #f0f0f2;
  --muted: #8a8a96;
  --card: #111118;
  --header-bg: #060608;
  --body-bg: #0a0a0f;
  --graphite: #2a2a34;
  color-scheme: dark;
}

html,
body {
  background: var(--body-bg) !important;
  color: var(--text) !important;
}

body,
.page,
.site-wrap,
.app-shell,
.layout,
.main-wrap,
#app,
.body-mother-adopt {
  background: var(--body-bg) !important;
  color: var(--text) !important;
}

.site-header,
.header,
.topbar,
.nav-bar,
.header-main,
.portal-header,
header.site-header,
.header-bar,
body.body-mother-adopt > header {
  background: color-mix(in srgb, var(--header-bg) 94%, var(--surface)) !important;
  border-bottom-color: var(--graphite) !important;
  color: var(--text) !important;
}

.brand-text,
.brand-mark,
.site-brand,
.logo-text,
.header-brand__title,
.site-title,
.brand a {
  color: var(--text) !important;
}

.main-nav a,
.header-main-nav__link,
.nav a,
.site-nav a {
  color: var(--muted) !important;
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.header-main-nav__link:hover,
.header-main-nav__link[aria-current="page"],
.nav a:hover,
.nav a.active {
  color: var(--accent-ice) !important;
}

.nav-search button,
.btn-primary,
.hero-actions .btn:first-child,
button[type="submit"],
.primary-btn,
.btn-accent,
.bg-blue-600 {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.hover\:bg-blue-700:hover,
.bg-blue-600:hover {
  background: linear-gradient(135deg, #2d6299, var(--accent-deep)) !important;
}

.card,
.movie-card,
.poster-card,
.grid-card,
.media-card,
.item-card {
  background: var(--card) !important;
  border-color: color-mix(in srgb, var(--accent) 14%, var(--graphite)) !important;
  color: var(--text) !important;
}

.section-title,
.home-h1,
.page-title {
  color: var(--text) !important;
}

h1 {
  color: var(--gold) !important;
}

.footer,
.site-footer,
footer,
body.body-mother-adopt > footer {
  background: color-mix(in srgb, var(--header-bg) 98%, #000) !important;
  color: var(--muted) !important;
}

.text-blue-400,
.text-blue-500,
.group-hover\:text-blue-400:hover {
  color: var(--accent-ice) !important;
}

.text-yellow-400 {
  color: var(--gold) !important;
}

.border-blue-500,
.border-blue-600,
.hover\:border-blue-500:hover,
.focus\:border-blue-500:focus {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent) !important;
}

.bg-blue-600\/20,
.bg-blue-600\/10,
.group-hover\:bg-blue-600\/30:hover {
  background-color: color-mix(in srgb, var(--accent) 14%, transparent) !important;
}

.bg-slate-800,
.bg-slate-800\/50,
.bg-slate-900,
.bg-slate-900\/95 {
  background-color: var(--surface) !important;
}

.border-slate-700 {
  border-color: var(--graphite) !important;
}

.text-gray-300,
.text-gray-400,
.text-gray-500 {
  color: var(--muted) !important;
}

.text-white {
  color: var(--text) !important;
}

a {
  color: var(--accent-ice);
}

a:hover {
  color: var(--accent);
}
