/* 内容页（show）深色皮肤：与 list zhiyan2 顶栏/页脚一致，覆盖 st48-show.css 浅色变量 */

html:has(body.st48-show-zhiyan) {
  overflow-x: clip;
  max-width: 100%;
  background-color: var(--zy-bgcolor, #16161a);
  scrollbar-gutter: stable;
}

body.st48.fed-min-width.st48-show.st48-show-zhiyan {
  /* 与 zhiyan2 style.css 一致的中文字体栈（避免被 fed 模板的 system-ui 顶掉） */
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC",
    "WenQuanYi Micro Hei", "Microsoft JhengHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: hsla(0, 0%, 100%, 0.88) !important;
  background-color: var(--zy-bgcolor, #16161a) !important;
  background-image: none !important;
  margin: 0;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  overflow-x: clip;
  /* 详情区字阶（目标站：标题纯白，正文浅灰） */
  --tgt-text: #d1d1d1;
  --tgt-text-muted: #9a9aa3;
  --tgt-label: #8e8e93;
}

body.st48.fed-min-width.st48-show.st48-show-zhiyan .header a {
  color: hsla(0, 0%, 100%, 0.9) !important;
}

body.st48.fed-min-width.st48-show.st48-show-zhiyan .header a:hover {
  color: var(--zy-hover, #00cc4c) !important;
}

body.st48.fed-min-width.st48-show.st48-show-zhiyan .header .nav .menu span,
body.st48.fed-min-width.st48-show.st48-show-zhiyan .header .nav .menu span i {
  color: hsla(0, 0%, 100%, 0.82) !important;
}

body.st48.fed-min-width.st48-show.st48-show-zhiyan .header .nav .menu:hover span,
body.st48.fed-min-width.st48-show.st48-show-zhiyan .header .nav .menu:hover span i {
  color: hsla(0, 0%, 100%, 0.96) !important;
}

body.st48.fed-min-width.st48-show.st48-show-zhiyan .search-box .search-input {
  color: hsla(0, 0%, 100%, 0.92) !important;
  caret-color: var(--zy-hover, #00cc4c);
}

body.st48.fed-min-width.st48-show.st48-show-zhiyan .search-box .search-input::placeholder {
  color: hsla(0, 0%, 100%, 0.52) !important;
  opacity: 1;
}

body.st48.fed-min-width.st48-show.st48-show-zhiyan .header .logo span.name {
  color: hsla(0, 0%, 100%, 0.92) !important;
}

body.st48.fed-min-width.st48-show.st48-show-zhiyan .footer a {
  color: hsla(0, 0%, 100%, 0.75) !important;
}

body.st48.fed-min-width.st48-show.st48-show-zhiyan .footer a:hover {
  color: var(--zy-hover, #00cc4c) !important;
}

/* 包住内层 .container 的 mt50，避免与「空 main」外边距合并后顶到 fixed 顶栏下被裁切 */
body.st48-show-zhiyan .main.st48-show-main {
  display: flow-root;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-bottom: 1.5rem;
  box-sizing: border-box;
}

body.st48-show-zhiyan .header {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.st48-show-zhiyan .header .container,
body.st48-show-zhiyan .main.st48-show-main > .container {
  box-sizing: border-box;
  padding-left: max(10px, env(safe-area-inset-left, 0px));
  padding-right: max(10px, env(safe-area-inset-right, 0px));
}

/* 抵消 fed 主题在内容区把链接压成深灰 */
body.st48-show-zhiyan .st48-detail a {
  color: inherit;
}

body.st48-show-zhiyan .st48-detail__crumb {
  background: rgba(30, 30, 34, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: hsla(0, 0%, 100%, 0.55);
}

body.st48-show-zhiyan .st48-detail__crumb a {
  color: hsla(0, 0%, 100%, 0.78) !important;
}

body.st48-show-zhiyan .st48-detail__crumb a:hover {
  color: var(--zy-hover, #00cc4c) !important;
}

body.st48-show-zhiyan .st48-detail__crumb strong {
  color: hsla(0, 0%, 100%, 0.95);
}

body.st48-show-zhiyan .st48-detail__hero {
  background: #1f1f24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

body.st48-show-zhiyan .st48-detail__poster {
  background: linear-gradient(145deg, #2a2a30, #1a1a1e);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

body.st48-show-zhiyan .st48-detail__title {
  color: hsla(0, 0%, 100%, 0.95);
}

body.st48-show-zhiyan .st48-detail__tip {
  color: hsla(0, 0%, 100%, 0.5);
}

body.st48-show-zhiyan .st48-detail__tip b {
  color: hsla(0, 0%, 100%, 0.82);
}

body.st48-show-zhiyan .st48-drows {
  color: hsla(0, 0%, 100%, 0.72);
}

body.st48-show-zhiyan .st48-dk {
  color: hsla(0, 0%, 100%, 0.45);
}

body.st48-show-zhiyan .st48-douban-chip {
  background: rgba(0, 204, 76, 0.12);
  color: #5ee9a8 !important;
}

body.st48-show-zhiyan .st48-douban-empty {
  color: hsla(0, 0%, 100%, 0.38);
}

body.st48-show-zhiyan .st48-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: hsla(0, 0%, 100%, 0.82) !important;
}

body.st48-show-zhiyan .st48-btn--ghost:hover {
  color: var(--zy-hover, #00cc4c) !important;
  border-color: rgba(0, 204, 76, 0.35);
}

body.st48-show-zhiyan .nj-playblock__card {
  background: #1f1f24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

body.st48-show-zhiyan .nj-playblock__intro {
  color: hsla(0, 0%, 100%, 0.55);
  background: linear-gradient(180deg, #24242a, #1c1c21);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.st48-show-zhiyan .nj-playblock__masthead {
  background: linear-gradient(180deg, #24242a, #1c1c21);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.st48-show-zhiyan .nj-playblock--multi .nj-playblock__top {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.st48-show-zhiyan .nj-playblock__line {
  color: hsla(0, 0%, 100%, 0.92);
}

body.st48-show-zhiyan .nj-playblock__seg {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: hsla(0, 0%, 100%, 0.68) !important;
  box-shadow: none;
}

body.st48-show-zhiyan .nj-playblock__seg:hover {
  color: var(--zy-hover, #00cc4c) !important;
  border-color: rgba(0, 204, 76, 0.35);
}

body.st48-show-zhiyan .nj-playblock__ep {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: hsla(0, 0%, 100%, 0.86) !important;
  box-shadow: none;
}

body.st48-show-zhiyan .nj-playblock__ep:hover {
  background: rgba(0, 204, 76, 0.12);
  color: var(--zy-hover, #00cc4c) !important;
}

body.st48-show-zhiyan .nj-playblock__panel .nj-playblock__deck::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

body.st48-show-zhiyan .nj-playblock__panel .nj-playblock__deck {
  scrollbar-color: rgba(0, 204, 76, 0.45) rgba(255, 255, 255, 0.06);
}

body.st48-show-zhiyan .st48-panel {
  background: #1f1f24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

body.st48-show-zhiyan .st48-panel__h {
  color: hsla(0, 0%, 100%, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.st48-show-zhiyan .ecms-newstext {
  color: var(--tgt-text, #d1d1d1);
  font-size: 14px;
  line-height: 1.75;
}

body.st48-show-zhiyan .ecms-newstext a {
  color: var(--zy-hover, #00cc4c);
}

body.st48-show-zhiyan .st48-card__pic {
  background: linear-gradient(145deg, #2a2a30, #1a1a1e);
}

body.st48-show-zhiyan .st48-card__body h4 {
  color: hsla(0, 0%, 100%, 0.9);
}

body.st48-show-zhiyan .st48-card__cast {
  color: hsla(0, 0%, 100%, 0.52);
}

body.st48-show-zhiyan .st48-card__play-inner svg path {
  fill: #0c0c0e;
}

/* ---------- 与 zhiyan2 目标站一致的详情结构（.movbox / .info） ---------- */
body.st48-show-zhiyan .movbox {
  position: relative;
  overflow: hidden;
}

body.st48-show-zhiyan .movbox .container {
  position: relative;
  z-index: 1;
}

body.st48-show-zhiyan .info .con .p2 p.zy-vod-meta {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--zy-gray, hsla(0, 0%, 100%, 0.55));
  word-break: break-word;
}

body.st48-show-zhiyan .zy-vod-meta__a {
  color: var(--zy-hover, #00cc4c) !important;
}

body.st48-show-zhiyan .zy-vod-meta__muted {
  opacity: 0.85;
}

body.st48-show-zhiyan .zy-vod-meta__sep {
  margin: 0 0.35rem;
  opacity: 0.45;
}

body.st48-show-zhiyan .info .con .p2 p.zy-vod-links {
  margin: 8px 0 0;
  font-size: 13px;
}

body.st48-show-zhiyan .zy-vod-links a {
  color: var(--zy-hover, #00cc4c) !important;
}

body.st48-show-zhiyan .info .con .p2 p.zy-vod-tip {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--zy-gray, hsla(0, 0%, 100%, 0.45));
  line-height: 1.55;
}

body.st48-show-zhiyan .info .con .p2 p.zy-vod-tip b {
  color: hsla(0, 0%, 100%, 0.72);
}

/* 播放列表：嵌入 index-block 后，面板用 zhiyan「分类灰底」而不是独立白卡片 */
body.st48-show-zhiyan .zy-vod-playwrap .nj-playblock__card {
  background: var(--zy-bggray, #24242a);
  border: none;
  box-shadow: none;
  border-radius: 5px;
  overflow: hidden;
}

body.st48-show-zhiyan .zy-vod-playwrap .nj-playblock__top {
  padding-top: 12px;
  background: transparent;
  border-bottom: 1px solid var(--zy-bggray-on, rgba(255, 255, 255, 0.08));
}

body.st48-show-zhiyan .zy-vod-playwrap .nj-playblock--multi .nj-playblock__top {
  border-bottom-color: var(--zy-bggray-on, rgba(255, 255, 255, 0.08));
}

body.st48-show-zhiyan .zy-vod-playwrap .nj-playblock__ep {
  background: var(--zy-bggray-on, #2c2c34);
  border: none;
  color: hsla(0, 0%, 100%, 0.88) !important;
}

body.st48-show-zhiyan .zy-vod-playwrap .nj-playblock__ep:hover {
  background: var(--zy-bgcolor, #16161a);
  color: var(--zy-hover, #00cc4c) !important;
}

body.st48-show-zhiyan .zy-vod-playwrap .nj-playblock__seg {
  background: var(--zy-bggray-on, #2c2c34);
  border: none;
}

body.st48-show-zhiyan .zy-vod-playwrap .nj-playblock__seg.is-active {
  color: #fff !important;
}

/* 剧情简介块：沿用 .category 灰底圆角 */
body.st48-show-zhiyan .zy-vod-ysinfo {
  margin-top: 0;
}

body.st48-show-zhiyan .zy-vod-ysinfo.ecms-newstext,
body.st48-show-zhiyan .zy-vod-ysinfo .ecms-newstext {
  padding: 0;
}

/* 相关推荐：与列表页相同的 a-con 字色（深底） */
body.st48-show-zhiyan .zy-vod-article .a-con-inner span.s1,
body.st48-show-zhiyan .zy-vod-article .a-con-inner span.s1 a {
  color: hsla(0, 0%, 100%, 0.9) !important;
  -webkit-text-fill-color: currentColor !important;
}

body.st48-show-zhiyan .zy-vod-article .a-con-inner span.s1 a:hover {
  color: var(--zy-hover, #00cc4c) !important;
}

body.st48-show-zhiyan .zy-vod-article .a-con-inner span.s2,
body.st48-show-zhiyan .zy-vod-article .a-con-inner span.s2 a {
  color: hsla(0, 0%, 100%, 0.68) !important;
}

body.st48-show-zhiyan .zy-vod-article .a-con-inner span.s5,
body.st48-show-zhiyan .zy-vod-article .a-con-inner span.s5 b.jj {
  color: hsla(0, 0%, 100%, 0.72) !important;
}

body.st48-show-zhiyan .zy-vod-article .a-con-inner span.s5 b.zy {
  color: hsla(0, 0%, 100%, 0.88) !important;
}

body.st48-show-zhiyan .info .con .p1 .tit {
  color: hsla(0, 0%, 100%, 0.96);
}

body.st48-show-zhiyan .info .con .p1 .ftit {
  color: var(--zy-gray, hsla(0, 0%, 100%, 0.55));
}

body.st48-show-zhiyan .info .con .p1 .play a {
  color: #fff !important;
}

/* ---------- 目标站详情：手机居中堆叠；电脑左海报 + 右信息 ---------- */
body.st48-show-zhiyan .tgt-vod-hero {
  position: relative;
  margin: 0 0 20px;
  padding: 8px 0 22px;
  overflow: hidden;
}

body.st48-show-zhiyan .tgt-vod-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: blur(18px) saturate(1.05);
  transform: scale(1.08);
  opacity: 0.45;
  pointer-events: none;
}

body.st48-show-zhiyan .tgt-vod-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 22, 26, 0.2) 0%,
    rgba(22, 22, 26, 0.75) 42%,
    var(--zy-bgcolor, #16161a) 100%
  );
}

body.st48-show-zhiyan .tgt-vod-hero__shell {
  position: relative;
  z-index: 1;
  max-width: 1080px;
}

body.st48-show-zhiyan .tgt-vod-hero__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 0 8px;
}

body.st48-show-zhiyan .tgt-vod-hero__col--poster {
  flex-shrink: 0;
}

body.st48-show-zhiyan .tgt-vod-hero__col--main {
  width: 100%;
  max-width: 36rem;
  text-align: center;
}

body.st48-show-zhiyan .tgt-vod-hero__poster {
  display: inline-block;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  line-height: 0;
  vertical-align: top;
}

body.st48-show-zhiyan .tgt-vod-hero__poster img {
  display: block;
  width: min(220px, 52vw);
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

body.st48-show-zhiyan .tgt-vod-hero__title {
  margin: 16px 0 6px;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1.3;
}

body.st48-show-zhiyan .tgt-vod-hero__pinyin {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--tgt-text-muted, #9a9aa3);
  letter-spacing: 0.06em;
}

body.st48-show-zhiyan .tgt-vod-hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin: 0 auto 18px;
}

body.st48-show-zhiyan .tgt-vod-hero__tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
  background: #2b2d31;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body.st48-show-zhiyan .tgt-vod-hero__tag:empty {
  display: none !important;
}

body.st48-show-zhiyan .tgt-vod-hero__play {
  margin: 4px 0 6px;
}

body.st48-show-zhiyan .tgt-vod-hero__play a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: min(280px, 88vw);
  padding: 11px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff !important;
  text-decoration: none;
  background: linear-gradient(90deg, #ff9a3e 0%, #ff6b35 38%, #ff4d4f 100%);
  box-shadow: 0 8px 28px rgba(255, 77, 79, 0.35);
  transition: transform 0.15s ease, filter 0.2s ease;
}

body.st48-show-zhiyan .tgt-vod-hero__play a:hover {
  color: #fff !important;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

body.st48-show-zhiyan .tgt-vod-hero__play .iconfont {
  font-size: 1.15rem;
}

body.st48-show-zhiyan .tgt-vod-hero__meta {
  text-align: left;
  margin-top: 18px;
  padding: 16px 4px 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.st48-show-zhiyan .tgt-vod-hero__row {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--tgt-text, #d1d1d1);
}

body.st48-show-zhiyan .tgt-vod-hero__row--cast .tgt-vod-hero__v {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

body.st48-show-zhiyan .tgt-vod-hero__k {
  color: var(--tgt-label, #8e8e93);
  font-weight: 600;
  margin-right: 4px;
}

body.st48-show-zhiyan .tgt-vod-hero__v {
  color: var(--tgt-text, #d1d1d1);
  font-weight: 400;
  word-break: break-word;
}

body.st48-show-zhiyan .tgt-vod-hero__row--plot {
  display: block;
  margin-top: 12px;
}

body.st48-show-zhiyan .tgt-vod-hero__row--plot .tgt-vod-hero__k {
  display: inline;
  margin-right: 0;
}

body.st48-show-zhiyan .tgt-vod-hero__plot {
  display: inline;
  color: var(--tgt-text, #d1d1d1);
  font-weight: 400;
  line-height: 1.75;
}

body.st48-show-zhiyan .tgt-vod-hero__expand {
  display: inline;
  margin-left: 2px;
  font-size: 14px;
  font-weight: 400;
  color: #ff4d4f !important;
  text-decoration: none;
  white-space: nowrap;
}

body.st48-show-zhiyan .tgt-vod-hero__expand::before {
  content: "...";
  color: #ff4d4f;
}

body.st48-show-zhiyan .tgt-vod-hero__footlinks {
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 400;
  color: var(--tgt-text-muted, #9a9aa3);
  line-height: 1.65;
}

body.st48-show-zhiyan .tgt-vod-hero__footlinks a {
  color: var(--tgt-text-muted, #9a9aa3) !important;
  font-weight: 400;
}

body.st48-show-zhiyan .tgt-vod-hero__footlinks a:hover {
  color: #ff4d4f !important;
}

body.st48-show-zhiyan .tgt-vod-hero__dot {
  margin: 0 0.35rem;
  opacity: 0.45;
}

body.st48-show-zhiyan .tgt-vod-hero__tip {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--tgt-text-muted, #9a9aa3);
  line-height: 1.6;
}

body.st48-show-zhiyan .tgt-vod-hero__tip b {
  color: #b0b0b8;
  font-weight: 600;
}

@media (min-width: 768px) {
  body.st48-show-zhiyan .tgt-vod-hero__grid {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    align-items: start;
    column-gap: clamp(28px, 4vw, 44px);
    row-gap: 0;
    padding: 18px 0 12px;
    text-align: left;
  }

  body.st48-show-zhiyan .tgt-vod-hero__col--poster {
    justify-self: start;
  }

  body.st48-show-zhiyan .tgt-vod-hero__col--main {
    max-width: none;
    text-align: left;
    padding-top: 2px;
  }

  body.st48-show-zhiyan .tgt-vod-hero__poster img {
    width: 200px;
    max-width: 100%;
  }

  body.st48-show-zhiyan .tgt-vod-hero__title {
    margin-top: 0;
    font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  }

  body.st48-show-zhiyan .tgt-vod-hero__tags {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }

  body.st48-show-zhiyan .tgt-vod-hero__play {
    margin-top: 6px;
    margin-bottom: 0;
  }

  body.st48-show-zhiyan .tgt-vod-hero__play a {
    min-width: 0;
    width: auto;
    padding-left: 26px;
    padding-right: 26px;
  }

  body.st48-show-zhiyan .tgt-vod-hero__meta {
    margin-top: 20px;
    padding-top: 0;
    border-top: 0;
  }

  body.st48-show-zhiyan .tgt-vod-hero__row--cast .tgt-vod-hero__v {
    display: inline;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
  }
}
