/* 内容页（show.temp.shoutu48）— 与 st48-shoutu48 视觉一致；需 body.st48 或 body.st48.fed-min-width */

html:has(body.st48-show) {
  overflow-x: hidden;
  max-width: 100%;
}

body.st48-show {
  --st48-accent: #00a85c;
  --st48-accent-bright: #0bbe06;
  --st48-accent-glow: rgba(0, 168, 92, 0.22);
  --st48-ink: #1c1c1e;
  --st48-ink-muted: #636366;
  --st48-surface: #ffffff;
  --st48-line: rgba(0, 0, 0, 0.06);
  --st48-radius-lg: 0.75rem;
  --st48-radius-md: 0.5rem;
  --st48-shell-max: 58rem;
  --st48-elev: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 10px 28px -8px rgba(15, 23, 42, 0.08);

  margin: 0;
  min-width: 0;
  width: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--st48-ink);
  background: #eceef2;
  background-image: linear-gradient(165deg, #e8ecf3 0%, #f4f6f9 38%, #eef0f4 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.st48-show *,
body.st48-show *::before,
body.st48-show *::after {
  box-sizing: border-box;
}

body.st48-show img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

body.st48-show a {
  color: #333;
  text-decoration: none;
}

body.st48-show a:hover {
  color: var(--st48-accent-bright);
}

/* 顶栏（.st48-top / 主导航 / 搜索）：与 skin/st48-shoutu48.css 中 body.st48 .st48-* 统一 */

body.st48-show .st48-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* 移动菜单：抽屉/遮罩/链接样式由 skin/st48-shoutu48.css 统一提供 */
body.st48-show .st48-mnav {
  position: relative;
  margin-left: auto;
}

body.st48-show .st48-mnav summary {
  list-style: none;
  cursor: pointer;
}

body.st48-show .st48-mnav summary::-webkit-details-marker {
  display: none;
}

/* 桌面端隐藏汉堡菜单：见 skin/st48-shoutu48.css 中 body.st48 .st48-mnav */

/* 主区 */
body.st48-show .st48-wrap {
  max-width: min(100%, var(--st48-shell-max, 58rem));
  margin: 0 auto;
  padding: 1rem clamp(0.65rem, 2.2vw, 1rem) 2rem;
}

body.st48-show .st48-detail {
  display: block;
}

body.st48-show .st48-detail__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.8125rem;
  color: #5c5c61;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}

body.st48-show .st48-detail__crumb-sep {
  opacity: 0.45;
}

body.st48-show .st48-detail__crumb strong {
  font-weight: 600;
  color: var(--st48-ink);
}

/* 英雄区 */
body.st48-show .st48-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, clamp(12.5rem, 28vw, 16.5rem)) minmax(0, 1fr);
  gap: 1rem 1.25rem;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  margin: 0 0 1rem;
  background: var(--st48-surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--st48-radius-lg);
  box-shadow: var(--st48-elev);
}

@media (max-width: 42rem) {
  body.st48-show .st48-detail__hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  body.st48-show .st48-detail__main {
    width: 100%;
  }

  body.st48-show .st48-detail__actions {
    justify-content: center;
  }

  body.st48-show .st48-drows {
    text-align: left;
  }
}

body.st48-show .st48-detail__col-media {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
  max-width: clamp(12.5rem, 28vw, 16.5rem);
}

@media (max-width: 42rem) {
  body.st48-show .st48-detail__col-media {
    max-width: min(16.5rem, 88vw);
  }
}

body.st48-show .st48-detail__poster {
  position: relative;
  border-radius: var(--st48-radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  background: linear-gradient(145deg, #eceef2, #dfe3ea);
}

body.st48-show .st48-detail__poster::before {
  content: "";
  display: block;
  padding-top: 150%;
}

body.st48-show .st48-detail__poster a {
  position: absolute;
  inset: 0;
  display: block;
}

body.st48-show .st48-detail__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.st48-show .st48-detail__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 3.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--st48-ink);
}

body.st48-show .st48-detail__tip {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  color: #86868b;
  line-height: 1.5;
}

body.st48-show .st48-drows {
  display: grid;
  gap: 0.4rem 0;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: #4a4a4f;
}

body.st48-show .st48-drow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  line-height: 1.45;
}

body.st48-show .st48-dk {
  flex: 0 0 2.5rem;
  font-weight: 600;
  color: #86868b;
  font-size: 0.75rem;
}

@media (max-width: 42rem) {
  body.st48-show .st48-dk {
    flex: 0 0 auto;
  }
}

body.st48-show .st48-douban-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  background: rgba(0, 168, 92, 0.1);
  color: var(--st48-accent) !important;
  font-weight: 600;
  font-size: 0.8125rem;
}

body.st48-show .st48-douban-empty {
  color: #999;
}

body.st48-show .st48-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* 按钮 */
body.st48-show .st48-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

body.st48-show .st48-btn--play {
  color: #fff !important;
  background: linear-gradient(135deg, #14e078, var(--st48-accent) 55%, #008f52);
  box-shadow: 0 4px 16px rgba(0, 140, 80, 0.28);
}

body.st48-show .st48-btn--play:hover {
  transform: translateY(-1px);
  color: #fff !important;
}

body.st48-show .st48-btn--ghost {
  color: var(--st48-ink-muted) !important;
  background: #f3f4f6;
  border-color: rgba(0, 0, 0, 0.08);
}

body.st48-show .st48-btn--ghost:hover {
  color: var(--st48-accent) !important;
  border-color: rgba(0, 168, 92, 0.3);
}

/* 选集块 */
body.st48-show .nj-playblock {
  margin: 0 0 1rem;
}

body.st48-show .nj-playblock__card {
  background: var(--st48-surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--st48-radius-lg);
  box-shadow: var(--st48-elev);
  overflow: hidden;
}

body.st48-show .nj-playblock__intro {
  margin: 0;
  padding: 0.75rem clamp(0.75rem, 2vw, 1rem);
  font-size: 0.8125rem;
  color: #6e6e73;
  border-bottom: 1px solid var(--st48-line);
  background: linear-gradient(180deg, #fafbfc, #fff);
}

body.st48-show .nj-playblock__masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem 1rem;
  padding: clamp(0.75rem, 2vw, 1rem);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--st48-line);
  background: linear-gradient(180deg, #fafbfc, #fff);
}

body.st48-show .nj-playblock__heading {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--st48-accent);
  position: relative;
  padding-bottom: 0.4rem;
}

body.st48-show .nj-playblock__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.35rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--st48-accent-bright), var(--st48-accent));
}

body.st48-show .nj-playblock__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem clamp(0.65rem, 2vw, 1rem);
}

body.st48-show .nj-playblock--multi .nj-playblock__top {
  border-bottom: 1px solid var(--st48-line);
}

body.st48-show .nj-playblock__segwrap {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: 100%;
}

body.st48-show .nj-playblock__seg {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0.62rem 0.75rem;
  border-radius: var(--st48-radius-md);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: var(--st48-ink-muted);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: border-color 0.15s ease, box-shadow 0.2s ease, color 0.15s ease, transform 0.12s ease;
}

body.st48-show .nj-playblock__seg:hover {
  color: var(--st48-accent);
  border-color: rgba(0, 168, 92, 0.35);
}

body.st48-show .nj-playblock__seg:focus-visible {
  outline: 2px solid rgba(0, 168, 92, 0.45);
  outline-offset: 2px;
}

body.st48-show .nj-playblock__seg.is-active {
  color: #fff !important;
  border-color: transparent;
  background: linear-gradient(135deg, #14e078, var(--st48-accent) 55%, #008f52);
  box-shadow: 0 4px 14px rgba(0, 140, 80, 0.28);
}

body.st48-show .nj-playblock__single {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  min-width: 0;
}

body.st48-show .nj-playblock__line {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--st48-ink);
}

body.st48-show .nj-playblock__panel {
  padding: 0 0 0.85rem;
}

body.st48-show .nj-playblock__stack {
  padding: 0.65rem clamp(0.65rem, 2vw, 1rem) 0.85rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

body.st48-show .nj-playblock__stack:last-child {
  border-bottom: 0;
}

body.st48-show .nj-playblock__stack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

body.st48-show .nj-playblock__stack-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--st48-ink);
}

body.st48-show .nj-playblock__pill {
  flex-shrink: 0;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--st48-accent);
  background: rgba(0, 168, 92, 0.1);
  border: 1px solid rgba(0, 168, 92, 0.2);
}

body.st48-show .nj-playblock__panel .nj-playblock__deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.45rem clamp(0.65rem, 2vw, 1rem) 0.65rem;
  max-height: min(17rem, 42vh);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 168, 92, 0.4) rgba(0, 0, 0, 0.06);
}

body.st48-show .nj-playblock__panel .nj-playblock__deck::-webkit-scrollbar {
  width: 8px;
}

body.st48-show .nj-playblock__panel .nj-playblock__deck::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
}

body.st48-show .nj-playblock__panel .nj-playblock__deck::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0, 168, 92, 0.55), rgba(0, 168, 92, 0.3));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

@media (min-width: 30rem) {
  body.st48-show .nj-playblock__panel .nj-playblock__deck {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) {
  body.st48-show .nj-playblock__panel .nj-playblock__deck {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

body.st48-show .nj-playblock__panel--stack .nj-playblock__deck {
  display: flex;
  flex-wrap: wrap;
  max-height: none;
  padding: 0;
  gap: 0.4rem;
  overflow: visible;
}

body.st48-show .nj-playblock__ep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 2.15rem;
  padding: 0.32rem 0.45rem;
  border-radius: var(--st48-radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  color: #3a3a40 !important;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.2s ease, transform 0.12s ease;
}

body.st48-show .nj-playblock__ep:hover {
  color: var(--st48-accent) !important;
  border-color: rgba(0, 168, 92, 0.38);
  background: rgba(0, 168, 92, 0.07);
  box-shadow: 0 2px 10px rgba(0, 140, 80, 0.12);
}

body.st48-show .nj-playblock__ep:focus-visible {
  outline: 2px solid rgba(0, 168, 92, 0.45);
  outline-offset: 2px;
}

/* 正文区 */
body.st48-show .st48-panel {
  margin: 0 0 1rem;
  padding: clamp(0.85rem, 2vw, 1.15rem);
  background: var(--st48-surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--st48-radius-lg);
  box-shadow: var(--st48-elev);
}

body.st48-show .st48-panel__h {
  margin: 0 0 0.65rem;
  padding-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--st48-ink);
  border-bottom: 1px solid var(--st48-line);
}

body.st48-show .ecms-newstext {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #3d3d42;
  word-break: break-word;
  overflow-wrap: anywhere;
}

body.st48-show .ecms-newstext img {
  max-width: 100% !important;
  height: auto !important;
}

body.st48-show .ecms-newstext p {
  margin: 0 0 0.75rem;
}

/* 相关推荐 */
body.st48-show .st48-related .st48-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.45rem;
}

@media (min-width: 36rem) {
  body.st48-show .st48-related .st48-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 52rem) {
  body.st48-show .st48-related .st48-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem 0.5rem;
  }
}

body.st48-show .st48-card {
  min-width: 0;
}

body.st48-show .st48-card > a {
  display: block;
  color: inherit;
}

body.st48-show .st48-card__pic {
  position: relative;
  border-radius: var(--st48-radius-md);
  overflow: hidden;
  background: linear-gradient(145deg, #eceef2, #dfe3ea);
  margin-bottom: 0.35rem;
}

body.st48-show .st48-card__pic::before {
  content: "";
  display: block;
  padding-top: 150%;
}

body.st48-show .st48-card__pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.st48-show .st48-card__remark {
  position: absolute;
  right: 0.25rem;
  bottom: 0.25rem;
  left: 0.25rem;
  text-align: right;
  font-size: 0.72rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.st48-show .st48-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: rgba(0, 0, 0, 0.25);
}

body.st48-show .st48-card:hover .st48-card__play {
  opacity: 1;
}

body.st48-show .st48-card__play-inner {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.st48-show .st48-card__body h4 {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--st48-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

body.st48-show .st48-card__cast {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: #86868b;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* 页脚 */
body.st48-show .st48-foot {
  margin-top: 1.5rem;
  padding: 1.25rem 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--st48-ink-muted);
  border-top: 1px solid var(--st48-line);
}

body.st48-show .st48-foot p {
  margin: 0;
  line-height: 1.65;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
