/* 日韩热播剧免费在 · site 10 · mono-editorial × m105 雾纸信号 */

:root {
  --site-accent: #c41e3a;
  --site-accent-hot: #e02445;
  --site-ink: #111111;
  --site-ink-2: #1a1a1a;
  --site-muted: #666666;
  --site-fog: #f7f7f7;
  --site-paper: #eeeeee;
  --site-border: rgba(17, 17, 17, 0.12);
  --site-accent-dim: rgba(196, 30, 58, 0.08);
}

/* ── 全局：纯黑白灰 + 编辑红强调，保留 m105 布局骨架 ── */
body.body-mother-adopt {
  background: linear-gradient(180deg, #fafafa 0%, var(--site-fog) 50%, var(--site-paper) 100%) !important;
}

body.body-mother-adopt .hx-top {
  border-bottom-color: var(--site-ink) !important;
  background: rgba(255, 255, 255, 0.95) !important;
}

body.body-mother-adopt .hx-brand__core {
  background: var(--site-ink) !important;
  box-shadow: none !important;
}

body.body-mother-adopt .hx-brand__dash {
  background: var(--site-accent) !important;
}

body.body-mother-adopt .hx-brand__text strong b {
  color: var(--site-accent) !important;
}

body.body-mother-adopt .hx-brand__text em span:first-child {
  color: var(--site-ink) !important;
}

body.body-mother-adopt .hx-brand__text em {
  color: var(--site-muted) !important;
}

body.body-mother-adopt .hx-hero__veil {
  background:
    linear-gradient(105deg, rgba(17, 17, 17, 0.92) 0%, rgba(17, 17, 17, 0.75) 45%, rgba(17, 17, 17, 0.4) 100%),
    linear-gradient(180deg, transparent 35%, rgba(17, 17, 17, 0.88) 100%) !important;
}

body.body-mother-adopt .hx-hero__kicker {
  color: #cccccc !important;
  letter-spacing: 0.12em;
  text-transform: none;
}

body.body-mother-adopt .hx-hero__kicker span {
  background: var(--site-accent) !important;
  box-shadow: none !important;
}

body.body-mother-adopt .hx-btn--signal {
  background: var(--site-accent) !important;
  border-color: var(--site-accent) !important;
  color: #fff !important;
}

body.body-mother-adopt .hx-btn--signal:hover {
  background: var(--site-accent-hot) !important;
}

body.body-mother-adopt .hx-btn--line {
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #fff !important;
}

body.body-mother-adopt .hx-btn--line:hover {
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

body.body-mother-adopt .hx-head__bar {
  background: var(--site-accent) !important;
}

body.body-mother-adopt .hx-chip.is-active,
body.body-mother-adopt .hx-chip:hover {
  border-color: var(--site-ink) !important;
  color: var(--site-ink) !important;
  background: var(--site-accent-dim) !important;
}

body.body-mother-adopt .hx-tile__grade {
  background: var(--site-ink) !important;
}

body.body-mother-adopt .hx-tile:hover .hx-tile__shot {
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.15) !important;
}

body.body-mother-adopt .hx-split article span {
  color: var(--site-accent) !important;
}

body.body-mother-adopt .hx-foot__rule {
  background: var(--site-ink) !important;
}

body.body-mother-adopt .hx-foot {
  background: var(--site-ink-2) !important;
  color: #ccc !important;
}

body.body-mother-adopt .hx-foot__brand {
  color: #fff !important;
}

body.body-mother-adopt .ababseo-mark__name {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--site-accent) !important;
}

body.body-mother-adopt .hx-nav a:hover,
body.body-mother-adopt .hx-head__more {
  color: var(--site-accent) !important;
}

body.body-mother-adopt .hx-search button {
  background: var(--site-ink) !important;
}

/* ── 播放器：原生 controls，无 SPA 装饰层 ── */
body.body-mother-adopt .hx-player:has(.mirror-local-player[controls]) > .absolute {
  display: none !important;
}

body.body-mother-adopt .mirror-local-player {
  border-radius: 2px;
  border: 1px solid var(--site-border);
}

body.body-mother-adopt .hx-play__ticker {
  background: var(--site-ink) !important;
  color: #ccc !important;
  font-size: 12px;
  letter-spacing: 0.06em;
}

body.body-mother-adopt .mother-play-desc {
  max-width: var(--hx-max, 1160px);
  margin: 1.25rem auto 0;
  padding: 0 1rem;
  color: var(--site-muted);
  line-height: 1.85;
  font-size: 15px;
}

body.body-mother-adopt .mother-related {
  max-width: var(--hx-max, 1160px);
  margin: 2rem auto 3rem;
  padding: 0 1rem;
}

body.body-mother-adopt .mother-related > h2 {
  margin: 0 0 1.25rem;
  font-family: var(--hx-display, sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--site-ink);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--site-border);
}

body.body-mother-adopt .mother-related > h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.1em;
  margin-right: 0.65rem;
  vertical-align: -0.15em;
  background: var(--site-accent);
}

body.body-mother-adopt .mother-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.body-mother-adopt .hx-tile--compact .hx-tile__body h3 {
  font-size: 0.875rem;
}

/* ── 搜索/榜单/分类页通用区块 ── */
body.body-mother-adopt .page-hero {
  padding: 2.5rem 1rem 2rem;
  max-width: var(--hx-max, 1160px);
  margin: 0 auto;
}

body.body-mother-adopt .page-hero.compact-hero {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

body.body-mother-adopt .page-hero .eyebrow,
body.body-mother-adopt .page-hero .eyebrow.solo {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--site-accent);
}

body.body-mother-adopt .page-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--hx-display, sans-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--site-ink);
}

body.body-mother-adopt .page-hero p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.65;
  max-width: 36rem;
}

body.body-mother-adopt .section-block {
  max-width: var(--hx-max, 1160px);
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
}

body.body-mother-adopt .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--site-border);
}

body.body-mother-adopt .section-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--site-ink);
}

body.body-mother-adopt .section-head a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--site-accent);
}

body.body-mother-adopt .section-icon {
  color: var(--site-accent);
  margin-right: 0.35rem;
}

body.body-mother-adopt .filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--site-border);
}

body.body-mother-adopt .filter-panel input,
body.body-mother-adopt .filter-panel select {
  flex: 1 1 140px;
  min-width: 120px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--site-border);
  background: #fff;
  font: inherit;
  color: var(--site-ink);
}

body.body-mother-adopt .filter-panel input:focus,
body.body-mother-adopt .filter-panel select:focus {
  outline: 2px solid rgba(196, 30, 58, 0.25);
  border-color: var(--site-accent);
}

body.body-mother-adopt .movie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.body-mother-adopt .category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

body.body-mother-adopt .category-grid.large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.body-mother-adopt .empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--site-muted);
  font-size: 0.95rem;
}

body.body-mother-adopt .empty-state[hidden] {
  display: none;
}

/* ── Tailwind 播放页残留色覆盖 ── */
body.body-mother-adopt .text-blue-600,
body.body-mother-adopt .hover\:text-blue-400:hover,
body.body-mother-adopt .hover\:text-blue-600:hover {
  color: var(--site-accent) !important;
}

body.body-mother-adopt .bg-blue-600 {
  background: var(--site-ink) !important;
}

/* ── 滚动条 ── */
body.body-mother-adopt ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body.body-mother-adopt ::-webkit-scrollbar-track {
  background: var(--site-fog);
}

body.body-mother-adopt ::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}

/* ── 移动端 ── */
@media (min-width: 640px) {
  body.body-mother-adopt .mother-cards,
  body.body-mother-adopt .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.body-mother-adopt .category-grid,
  body.body-mother-adopt .category-grid.large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  body.body-mother-adopt .mother-cards,
  body.body-mother-adopt .movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  body.body-mother-adopt .category-grid.large {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  body.body-mother-adopt .hx-brand__text strong {
    font-size: 0.88rem;
  }

  body.body-mother-adopt .hx-search {
    min-width: 0;
    max-width: none;
  }

  body.body-mother-adopt .hx-login {
    display: none;
  }

  body.body-mother-adopt .filter-panel {
    flex-direction: column;
  }

  body.body-mother-adopt .filter-panel input,
  body.body-mother-adopt .filter-panel select {
    width: 100%;
    flex: none;
  }

  body.body-mother-adopt .mother-play-desc,
  body.body-mother-adopt .mother-related {
    padding: 0 0.75rem;
  }

  body.body-mother-adopt .hx-play__layout {
    flex-direction: column;
  }

  body.body-mother-adopt .hx-cat__layout {
    flex-direction: column;
  }

  body.body-mother-adopt .hx-cat__side {
    display: none;
  }

  body.body-mother-adopt .hx-hero__copy h1 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  body.body-mother-adopt .hx-chipwall {
    gap: 0.5rem;
  }

  body.body-mother-adopt .hx-chip {
    font-size: 0.8125rem;
    padding: 0.4rem 0.75rem;
  }
}
