/* SPA→静态视觉桥 · mono-editorial · 黑白灰 + 编辑红强调 */
:root {
  --mint: #c41e3a;
  --mint-deep: #c41e3a;
  --mint-dark: #0a0a0a;
  --ice: #fafafa;
  --ice-2: #f5f5f5;
  --graphite: #0a0a0a;
  --graphite-muted: #737373;
  --surface: #ffffff;
  --pink: var(--mint-deep);
  --blue: #404040;
  --brand: var(--mint-deep);
  --accent: var(--mint-deep);
  --portal-accent: var(--mint-deep);
  --portal-accent-hover: #9f1239;
  --portal-accent-light: #e5e5e5;
  --portal-page: #fafafa;
  --bg: var(--ice);
  --card: var(--surface);
  --text: var(--graphite);
  --muted: var(--graphite-muted);
  --header-bg: var(--mint-dark);
  --body-bg: var(--portal-page);
  color-scheme: light;
}

html,
body {
  background: var(--ice) !important;
  color: var(--graphite) !important;
}

body.body-tpl-portal,
body.body-tpl-yygk,
body.body-tpl-cnportal,
body.body-tpl-wythyclone {
  --portal-accent: var(--mint-deep);
  --portal-accent-hover: #9f1239;
  --portal-accent-light: #e5e5e5;
  --portal-accent-soft: rgba(196, 30, 58, 0.1);
  --portal-page: #fafafa;
  --portal-footer: #0a0a0a;
  --portal-footer-mid: #171717;
  --qjz-ink: var(--graphite);
  --qjz-ink-muted: var(--graphite-muted);
  --qjz-surface: #ffffff;
  --qjz-nav-bg: var(--mint-dark);
  background: var(--portal-page) !important;
  background-image: none !important;
  color: var(--graphite) !important;
}

body,
.page,
.site-wrap,
.app-shell,
.layout,
.main-wrap,
.page-main,
#app {
  background: transparent !important;
  color: var(--graphite) !important;
}

/* 顶栏 · 纯黑编辑风 */
.wythy-header,
.wythy-header__bar,
.site-header,
.header,
.topbar,
.nav-bar,
.header-main,
.portal-header,
header.site-header,
.header-bar {
  background: var(--mono-black, #0a0a0a) !important;
  border-bottom: 2px solid var(--mint-deep) !important;
  color: #fafafa !important;
}

.wythy-header__brand-text,
.wythy-header__brand,
.brand-text,
.brand-mark,
.site-brand,
.logo-text,
.header-brand__title,
.site-title,
.brand a {
  color: #fff !important;
}

.wythy-header__film-ico {
  color: var(--mint-deep) !important;
}

.wythy-header__nav-link,
.main-nav a,
.header-main-nav__link,
.nav a,
.site-nav a {
  color: rgba(250, 250, 250, 0.82) !important;
}

.wythy-header__nav-link:hover,
.wythy-header__nav-link[aria-current="page"],
.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: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.wythy-header__search {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.wythy-header__search input {
  color: #fff !important;
}

.wythy-header__search input::placeholder {
  color: rgba(250, 250, 250, 0.5) !important;
}

.wythy-header__search-btn,
.nav-search button,
.btn-primary,
.hero-actions .btn:first-child,
button[type="submit"],
.primary-btn,
.btn-accent {
  background: var(--mint-deep) !important;
  border-color: transparent !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.wythy-header__search-btn:hover,
.btn-primary:hover {
  background: var(--portal-accent-hover) !important;
}

/* 首页 hero */
.wythy-home-hero {
  background: var(--mono-black, #0a0a0a) !important;
}

.wythy-home-hero__panel {
  background: var(--mono-white, #fff) !important;
  border: 1px solid var(--mono-gray-200, #e5e5e5) !important;
  box-shadow: var(--vod-shadow, 0 2px 12px rgba(0, 0, 0, 0.06)) !important;
}

.wythy-home-hero__eyebrow {
  color: var(--mint-deep) !important;
}

.wythy-home-hero__title {
  color: var(--graphite) !important;
}

.wythy-home-hero__lead,
.wythy-home-hero__brand,
.wythy-home-hero__intro {
  color: var(--graphite-muted) !important;
}

.wythy-home-hero__brand-name {
  color: var(--graphite) !important;
  font-weight: 800;
}

/* 区块卡片 */
.wythy-section-card {
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: none !important;
  border-radius: 4px !important;
}

.wythy-section-card--alt {
  background: #fafafa !important;
}

.wythy-section-card__h2,
.section-title,
h1,
h2,
h3,
.home-h1,
.page-title {
  color: var(--graphite) !important;
}

.wythy-section-card__more,
.wythy-cat-tiles__card:hover,
.category-tile:hover strong {
  color: var(--mint-deep) !important;
}

.wythy-cat-tiles__card {
  background: #f5f5f5 !important;
  border: 1px solid #e5e5e5 !important;
}

.wythy-cat-tiles__card:hover {
  background: #fff !important;
  border-color: #0a0a0a !important;
}

.wythy-cat-tiles__label {
  color: var(--graphite) !important;
}

.wythy-cat-tiles__sub {
  color: var(--graphite-muted) !important;
}

/* 影视卡片 */
.card,
.movie-card,
.poster-card,
.grid-card,
.media-card,
.item-card,
.yygk-vcard {
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  color: var(--graphite) !important;
  border-radius: 4px !important;
}

.yygk-vcard:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px);
  border-color: #0a0a0a !important;
}

.yygk-vcard__title {
  color: var(--graphite) !important;
}

.yygk-vcard__pill,
.yygk-vcard__stat--genre,
.yygk-vcard__hq {
  background: #f5f5f5 !important;
  color: var(--graphite) !important;
  border: 1px solid #e5e5e5 !important;
}

.cn-portal-genres__btn.is-active,
.cn-portal-sort .is-active {
  background: var(--graphite) !important;
  color: #fff !important;
}

.cn-portal-genres__btn,
.cn-portal-sort button {
  border-color: #d4d4d4 !important;
  color: var(--graphite-muted) !important;
}

/* 播放页 */
.nj-play-sheet,
.home-sheet,
.nj-play-player,
.nj-play-block,
.nj-play-section {
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 4px !important;
}

.nj-play-head__h1,
.nj-play-block__h,
.nj-play-section__h {
  color: var(--graphite) !important;
}

.nj-play-actions__btn {
  background: #f5f5f5 !important;
  color: var(--graphite) !important;
  border: 1px solid #d4d4d4 !important;
}

.nj-play-actions__btn:hover {
  background: var(--mint-deep) !important;
  color: #fff !important;
  border-color: var(--mint-deep) !important;
}

.video-frame,
.player-box {
  background: #000 !important;
  border-radius: 4px !important;
}

/* 页脚 */
.footer,
.site-footer,
footer,
.wythy-footer {
  background: #0a0a0a !important;
  color: #fafafa !important;
  border-top: 2px solid var(--mint-deep) !important;
}

.wythy-footer__sitename {
  color: #fff !important;
}

.wythy-footer__tagline,
.wythy-footer__text-card-lead,
.wythy-footer__disclaimer,
.wythy-footer__copy {
  color: rgba(250, 250, 250, 0.72) !important;
}

.wythy-footer__col-title,
.wythy-footer__strip-title,
.wythy-footer__text-card-h {
  color: #fff !important;
}

.wythy-footer__links a,
.wythy-footer__text-card-link,
.wythy-footer__text-card-cta {
  color: rgba(250, 250, 250, 0.88) !important;
}

.wythy-footer__links a:hover {
  color: var(--mint-deep) !important;
}

a {
  color: var(--graphite);
}

a:hover {
  color: var(--mint-deep);
}

.yygk-breadcrumb a {
  color: var(--graphite-muted);
}

.yygk-breadcrumb a:hover {
  color: var(--mint-deep);
}
