/* 播放页 play.temp.shoutu48 — 与 st48 顶栏/色板一致；不依赖 body-tpl-play-light */

body.st48.st48-play {
  margin: 0;
  min-width: 0;
  background: #eceef2;
  background-image: linear-gradient(165deg, #e8ecf3 0%, #f4f6f9 38%, #eef0f4 100%);
  background-attachment: fixed;
}

body.st48.st48-play .st48-wrap {
  max-width: min(100%, var(--st48-shell-max, 58rem));
  margin: 0 auto;
  padding: 0.75rem clamp(0.65rem, 2.2vw, 1rem) 2.5rem;
}

/* 面包屑 */
body.st48.st48-play .st48-play-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.8125rem;
  color: #5c5c61;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--st48-radius-md, 0.5rem);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

body.st48.st48-play .st48-play-crumb a {
  color: var(--st48-ink-muted, #636366) !important;
}

body.st48.st48-play .st48-play-crumb a:hover {
  color: var(--st48-accent, #00a85c) !important;
}

body.st48.st48-play .st48-play-crumb-sep {
  opacity: 0.45;
  user-select: none;
}

body.st48.st48-play .st48-play-crumb strong {
  font-weight: 600;
  color: var(--st48-ink, #1c1c1e);
}

/* 主播放区 */
body.st48.st48-play .nj-play-v2 {
  color: var(--st48-ink, #1c1c1e);
  padding: 0 0 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.st48.st48-play .nj-play-v2__inner {
  max-width: min(100%, var(--st48-shell-max, 58rem));
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

body.st48.st48-play .nj-play-v2__stage-wrap {
  width: 100%;
  box-sizing: border-box;
}

body.st48.st48-play .nj-play-v2__stage {
  border-radius: var(--st48-radius-lg, 0.75rem);
  overflow: hidden;
  background: var(--st48-surface, #fff);
  box-shadow: var(--st48-elev, 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 10px 28px -8px rgba(15, 23, 42, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.72);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.st48.st48-play .nj-play-v2__stage .video-frame,
body.st48.st48-play .nj-play-v2__stage .video-frame--nj-play {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border-radius: calc(var(--st48-radius-lg, 0.75rem) - 1px);
  overflow: hidden;
  background: #0f172a;
  position: relative;
  box-sizing: border-box;
}

/* 用 padding 占位 16:9：仅含绝对定位子元素时，单靠 aspect-ratio 在部分内核上会高度塌成 0 */
body.st48.st48-play .nj-play-v2__media-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  background: #0f172a;
  border-radius: calc(var(--st48-radius-lg, 0.75rem) - 1px);
  overflow: hidden;
  box-sizing: border-box;
}

body.st48.st48-play .nj-play-v2__media-shell > *:not(.nj-play-v2__big-play) {
  position: absolute !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

body.st48.st48-play .nj-play-v2__media-shell--iframe .nj-play-iframe-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 0 !important;
  min-height: 0 !important;
  border-radius: 0;
}

body.st48.st48-play .nj-play-v2__stage video.video-el {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
  box-sizing: border-box;
}

body.st48.st48-play .nj-play-v2__media-shell #playera1 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  max-height: none !important;
  border-radius: 0;
  box-sizing: border-box;
}

body.st48.st48-play .nj-play-v2__big-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  width: 4.25rem;
  height: 4.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease;
}

body.st48.st48-play .nj-play-v2__big-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.32);
}

body.st48.st48-play .nj-play-v2__big-play:active {
  transform: translate(-50%, -50%) scale(0.98);
}

body.st48.st48-play .nj-play-v2__big-play:focus-visible {
  outline: 2px solid rgba(0, 168, 92, 0.55);
  outline-offset: 3px;
}

body.st48.st48-play .nj-play-v2__big-play-ico {
  width: 1.55rem;
  height: 1.55rem;
  margin-left: 3px;
  color: var(--st48-ink, #1c1c1e);
}

body.st48.st48-play .nj-play-v2__media-shell.is-playing .nj-play-v2__big-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.st48.st48-play .nj-play-iframe-wrap iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.st48.st48-play .nj-play-v2__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-height: clamp(10rem, 56.25vw, 28rem);
  padding: 1.25rem 1.5rem;
  color: var(--st48-ink-muted, #636366);
  background: linear-gradient(165deg, #f1f5f9, #e2e8f0);
  font-size: 0.875rem;
  line-height: 1.55;
  box-sizing: border-box;
}

/* 标题 */
body.st48.st48-play .nj-play-v2__headline {
  margin: 1rem 0 0;
}

body.st48.st48-play .nj-play-v2__headline h1 {
  margin: 0;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

body.st48.st48-play .nj-play-v2__headline h1 a {
  color: var(--st48-ink, #1c1c1e) !important;
  text-decoration: none !important;
  border-radius: 0.25rem;
}

body.st48.st48-play .nj-play-v2__headline h1 a:hover {
  color: var(--st48-accent, #00a85c) !important;
}

body.st48.st48-play .nj-play-v2__headline-ep {
  display: inline-block;
  margin: 0.35rem 0 0 0.5rem;
  padding: 0.18rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #14e078, var(--st48-accent, #00a85c) 55%, #008f52);
  border-radius: 999px;
  vertical-align: middle;
  box-shadow: 0 2px 10px rgba(0, 140, 80, 0.22);
}

/* 信息卡 */
body.st48.st48-play .nj-play-v2__card {
  margin-top: 1rem;
  background: var(--st48-surface, #fff);
  color: var(--st48-ink, #1c1c1e);
  border-radius: var(--st48-radius-lg, 0.75rem);
  padding: clamp(1rem, 2.5vw, 1.25rem);
  box-shadow: var(--st48-elev, 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 10px 28px -8px rgba(15, 23, 42, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.72);
}

body.st48.st48-play .nj-play-v2__card-h {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 800;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--st48-line, rgba(0, 0, 0, 0.06));
  color: var(--st48-ink, #1c1c1e);
}

body.st48.st48-play .nj-play-v2__dl {
  margin: 0;
  padding: 0;
}

body.st48.st48-play .nj-play-v2__dl > div {
  display: grid;
  grid-template-columns: minmax(4.25rem, 5.5rem) 1fr;
  gap: 0.4rem 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
  line-height: 1.55;
  align-items: start;
}

body.st48.st48-play .nj-play-v2__dl > div:last-of-type {
  border-bottom: 0;
}

body.st48.st48-play .nj-play-v2__dt {
  color: var(--st48-ink-muted, #636366);
  font-weight: 600;
  font-size: 0.8125rem;
}

body.st48.st48-play .nj-play-v2__dd {
  color: #3a3a40;
  margin: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

body.st48.st48-play .nj-play-v2__dd a {
  color: var(--st48-accent, #00a85c) !important;
  text-decoration: none !important;
}

body.st48.st48-play .nj-play-v2__dd a:hover {
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

body.st48.st48-play .nj-play-v2__syn {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--st48-line, rgba(0, 0, 0, 0.06));
}

body.st48.st48-play .nj-play-v2__syn-h {
  margin: 0 0 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--st48-ink-muted, #636366);
  letter-spacing: 0.04em;
}

body.st48.st48-play .nj-play-v2__syn-body {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #4a4a4f;
  word-break: break-word;
  overflow-wrap: anywhere;
}

body.st48.st48-play .nj-play-v2__syn-body img {
  max-width: 100% !important;
  height: auto !important;
}

/* 选集线路 */
body.st48.st48-play .nj-play-v2__src {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--st48-radius-lg, 0.75rem);
  background: var(--st48-surface, #fff);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

body.st48.st48-play .nj-play-v2__src-h {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.st48.st48-play .nj-play-v2__src-h strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--st48-ink, #1c1c1e);
}

body.st48.st48-play .nj-play-v2__src-h span {
  font-size: 0.75rem;
  color: var(--st48-ink-muted, #636366);
  line-height: 1.45;
  max-width: min(100%, 17rem);
  text-align: right;
}

body.st48.st48-play .nj-play-v2__pl {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

body.st48.st48-play .nj-play-v2__pl li {
  margin: 0;
  padding: 0;
}

body.st48.st48-play .nj-play-v2__pl a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.32rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--st48-radius-md, 0.5rem);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #3a3a40 !important;
  text-decoration: none !important;
  background: #fff;
  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;
}

body.st48.st48-play .nj-play-v2__pl a:hover {
  border-color: rgba(0, 168, 92, 0.35);
  color: var(--st48-accent, #00a85c) !important;
  background: rgba(0, 168, 92, 0.06);
}

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

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

/* 推荐区 */
body.st48.st48-play .nj-play-v2__rec {
  margin-top: 1.5rem;
}

body.st48.st48-play .nj-play-v2__rec-h {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--st48-ink, #1c1c1e);
  letter-spacing: -0.02em;
}

body.st48.st48-play .nj-play-v2__rec-lead {
  font-size: 0.8125rem;
  color: var(--st48-ink-muted, #636366);
  margin: 0 0 0.9rem;
  line-height: 1.55;
  max-width: 48rem;
}

body.st48.st48-play .nj-play-v2 .st48-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.45rem;
}

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

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

body.st48.st48-play .nj-play-v2 .st48-card {
  min-width: 0;
}

body.st48.st48-play .nj-play-v2 .st48-card > a {
  display: block;
  color: inherit;
  text-decoration: none !important;
}

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

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

body.st48.st48-play .nj-play-v2 .st48-card__pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

body.st48.st48-play .nj-play-v2 .st48-card:hover .st48-card__pic img {
  transform: scale(1.04);
}

body.st48.st48-play .nj-play-v2 .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.st48-play .nj-play-v2 .st48-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

body.st48.st48-play .nj-play-v2 .st48-card:hover .st48-card__play {
  opacity: 1;
}

body.st48.st48-play .nj-play-v2 .st48-card__play-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

body.st48.st48-play .nj-play-v2 .st48-card__body h4 {
  margin: 0 0 0.2rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--st48-ink, #1c1c1e);
}

body.st48.st48-play .nj-play-v2 .st48-card__body h4 a {
  color: inherit !important;
}

body.st48.st48-play .nj-play-v2 .st48-card:hover .st48-card__body h4 {
  color: var(--st48-accent, #00a85c);
}

body.st48.st48-play .nj-play-v2 .st48-card__cast {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--st48-ink-muted, #636366);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 页脚（播放页不加载 st48-show.css 时也要有样式） */
body.st48.st48-play .st48-foot {
  margin-top: 1.5rem;
  padding: 1.25rem 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--st48-ink-muted, #636366);
  border-top: 1px solid var(--st48-line, rgba(0, 0, 0, 0.06));
}

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