body[data-page="detail"] {
  background: #141516;
  color: #fff;
  font-family: Montserrat, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
body[data-page="detail"] .sm-detail {
  width: 100%;
  max-width: none;
  margin: 70px 0 0;
  padding: 0 0 50px;
  background: #111218;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
}
body[data-page="detail"] .sm-detail * { box-sizing: border-box; }

.sm-crumb,
.sm-hero,
.sm-episodes,
.sm-recs {
  width: min(100%, 1920px);
  margin-right: auto;
  margin-left: auto;
  padding-right: 110px;
  padding-left: 110px;
}
@media (max-width: 1780px) {
  .sm-crumb,
  .sm-hero,
  .sm-episodes,
  .sm-recs { padding-right: 4vw; padding-left: 4vw; }
}

.sm-crumb {
  margin-top: 20px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .6);
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}
.sm-crumb a { color: rgba(255, 255, 255, .6); text-decoration: none; }
.sm-crumb a:first-child { color: rgba(255, 255, 255, .75); }
.sm-crumb-current { color: #fff; }

.sm-hero {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 50px;
}
.sm-cover { flex: none; width: 195px; height: 260px; }
.sm-cover-link,
.sm-cover .picture,
.sm-cover img {
  display: block;
  width: 195px;
  height: 260px;
  max-width: none;
  border-radius: 12px;
  object-fit: cover;
  object-position: 50% 50%;
}
.sm-cover-link { overflow: hidden; }
.sm-copy {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 260px;
}
.sm-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 39.2px;
}
.sm-tags { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; }
.sm-creator { margin: 0; color: #cccdd4; font-size: 14px; }
.sm-detail [hidden] { display: none !important; }
.sm-tags-h5 { display: none; }
.sm-tag {
  display: flex;
  align-items: center;
  min-height: 24.8px;
  padding: 4px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .08);
  color: #cccdd4;
  font-size: 12px;
  font-weight: 500;
  line-height: 16.8px;
  text-decoration: none;
}
.sm-desc { position: relative; margin: 8px 0 0; padding-right: 16px; }
.sm-desc-text {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  word-break: break-word;
  opacity: .6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.sm-desc.is-open .sm-desc-text { display: block; -webkit-line-clamp: unset; }
.sm-desc-more {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 100px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.sm-desc-more::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin: 4px auto 0;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
}
.sm-desc.is-open .sm-desc-more::before { margin-top: 6px; transform: rotate(225deg); }
.sm-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
}
.sm-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: linear-gradient(139deg, #ff8020 5.83%, #ffb170), #ff8020;
  color: #141516;
  font-family: Montserrat, "PingFang SC", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
}
.sm-play svg { width: 14px; height: 14px; fill: #141516; }
.sm-play-pc { min-width: 130px; padding: 0 12px; border-radius: 100px; }
.sm-play-h5 { display: none; }
.sm-stats { display: flex; align-items: center; }
.sm-stats-pc { gap: 40px; }
.sm-stats-h5 { display: none; }
.sm-stats-pc .sm-stat { display: flex; align-items: center; gap: 22px; color: #fff; font-size: 12px; font-weight: 400; line-height: 1.4; }
.sm-stats-pc .sm-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 30px;
}
.sm-stat-icon svg { width: 16px; height: 16px; fill: #fff; }

.sm-episodes,
.sm-recs { margin-bottom: 50px; }
.sm-ep-head,
.sm-recs h2,
.sm-ep-head h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 20px;
  color: #fff;
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}
.sm-ep-head h2,
.sm-recs h2 { margin: 0; }
.sm-ep-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.sm-ep-chevron,
.sm-ep-all button span,
.sm-ep-more span:last-child {
  width: 24px;
  height: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .08);
  position: relative;
}
.sm-ep-chevron::before,
.sm-ep-all button span::before,
.sm-ep-more span:last-child::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}
.sm-ep-nav,
.sm-ep-more { display: none; }
.sm-ep-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 16px;
}
.sm-ep {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  text-decoration: none;
}
.sm-ep:hover,
.sm-ep:focus-visible { background: rgba(255, 255, 255, .16); }
.sm-ep.is-entry,
.sm-ep[aria-current="true"] {
  background: #fc6f03;
  box-shadow: 0 0 10px rgba(252, 111, 3, .5);
}
.sm-ep[hidden] { display: none; }
.sm-empty {
  margin: 20px 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  opacity: .6;
}

body[data-page="detail"] .sm-recs .card-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
}
body[data-page="detail"] .sm-recs .card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 0 0 16px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}
body[data-page="detail"] .sm-recs .poster {
  width: 100%;
  aspect-ratio: 172.1 / 260;
  border-radius: 12px;
  background: #2a2b2d;
}
body[data-page="detail"] .sm-recs .card h3 {
  margin: 0;
  padding: 0 2px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body[data-page="detail"] .sm-recs .card h3 a { color: inherit; text-decoration: none; }
body[data-page="detail"] .sm-recs .card-heat,
body[data-page="detail"] .sm-recs .card-detail-link,
body[data-page="detail"] .sm-recs .ep-badge,
body[data-page="detail"] .sm-recs .tag-badge { display: none; }

@media (max-width: 1023px) {
  body[data-page="detail"] .sm-detail {
    margin-top: 0;
    padding-bottom: 60px;
  }
  .sm-crumb,
  .sm-hero,
  .sm-episodes,
  .sm-recs { padding-right: 20px; padding-left: 20px; }
  .sm-hero { flex-direction: column; align-items: stretch; gap: 20px; }
  .sm-cover { width: 195px; height: 260px; margin: 0 auto; }
  .sm-copy { min-height: 0; gap: 0; }
  .sm-copy h1 { order: 1; font-size: 18px; font-weight: 600; line-height: 22px; }
  .sm-stats-h5 { order: 2; }
  .sm-play-h5 { order: 3; }
  .sm-desc { order: 4; }
  .sm-tags-h5 { order: 5; }
  .sm-tags-pc,
  .sm-play-pc,
  .sm-stats-pc,
  .sm-ep-head { display: none; }
  .sm-tags-h5 { display: flex; margin-top: 12px; }
  .sm-stats-h5 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(217, 217, 217, .12);
    border-bottom: 1px solid rgba(217, 217, 217, .12);
  }
  .sm-stats-h5 .sm-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
  }
  .sm-stats-h5 .sm-stat-icon { width: 24px; height: 24px; }
  .sm-play-h5 {
    display: inline-flex;
    align-self: center;
    width: fit-content;
    margin-top: 12px;
    padding: 0 32px;
    border-radius: 30px;
  }
  .sm-desc { margin-top: 8px; }
  .sm-actions { display: none; }
  .sm-ep-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 30px;
    margin-bottom: 12px;
  }
  .sm-ep-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
  .sm-ep-tabs button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    font-family: "PingFang SC", "Noto Sans SC", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 30px;
    opacity: .6;
    cursor: pointer;
  }
  .sm-ep-tabs button.is-active { opacity: 1; }
  .sm-ep-all { margin: 0; flex: none; }
  .sm-ep-all button {
    display: inline-flex;
    align-items: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 30px;
    opacity: .6;
    cursor: pointer;
  }
  .sm-ep-grid { display: flex; flex-wrap: wrap; gap: 4px; }
  .sm-ep-grid.is-preview:not(.is-open) { max-height: 140px; overflow: hidden; }
  .sm-ep {
    width: calc(20% - 3.2px);
    min-width: 30px;
    height: 44px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .1);
    font-size: 12px;
    font-weight: 600;
  }
  .sm-ep-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 12px auto 0;
    padding: 4px 16px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 100px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 12px;
    line-height: 24px;
    cursor: pointer;
  }
  .sm-episodes { margin-bottom: 50px; }
  body[data-page="detail"] .sm-recs .card-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  body[data-page="detail"] .sm-recs .poster { aspect-ratio: 110 / 145; }
  body[data-page="detail"] .sm-recs .card h3 { font-size: 12px; font-weight: 400; line-height: 16px; }
}
