*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg-deep: #1b2029;
  --bg-panel: #232a35;
  --bg-panel-soft: #2a323e;
  --bg-cloth: #3a414c;
  --ink: #d8dce2;
  --ink-dim: #8f97a3;
  --ink-faint: #6b737f;
  --plum: #7d9a8c;
  --plum-deep: #5c7a6d;
  --gold: #c9a35c;
  --gold-warm: #dbb66a;
  --line: #333b47;
  --rule: 1px solid var(--line);
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(180deg, #1e242e 0%, #1b2029 40%, #191e26 100%);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.02em;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--plum-deep);
  color: #10141a;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 25, 32, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: var(--rule);
}
.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 18px;
}
.site-brand {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--plum);
  padding-left: 10px;
}
a[data-contract="site-name"] {
  color: var(--ink);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--gold);
}
.categories-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-panel);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category {
  color: var(--ink-dim);
  text-decoration: none;
}
a.runtime-category:hover {
  color: var(--gold-warm);
  border-color: var(--plum-deep);
  background: var(--bg-panel-soft);
}
.page-main {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 46px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 26px 30px;
  align-items: start;
  padding: 30px 0 60px;
}
.hero-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.hero-portrait {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background-color: var(--bg-cloth);
  background-image:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, rgba(0, 0, 0, 0) 2px 5px),
    repeating-linear-gradient(25deg, rgba(0, 0, 0, 0.22) 0 3px, rgba(255, 255, 255, 0.02) 3px 7px),
    linear-gradient(180deg, #2f3640 0%, #262d37 55%, #20262f 100%);
  border: 1px solid #39414d;
  box-shadow: 0 22px 46px -28px rgba(0, 0, 0, 0.9);
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.86) contrast(1.04);
}
.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(27, 32, 41, 0) 42%, rgba(58, 65, 76, 0.62) 72%, rgba(58, 65, 76, 0.95) 100%),
    linear-gradient(0deg, rgba(19, 23, 30, 0.72) 0%, rgba(19, 23, 30, 0) 34%);
  mix-blend-mode: normal;
}
.hero-tagline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34%;
  margin: 0;
  padding: 0 18px 0 22px;
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.42em;
  line-height: 1.9;
  color: #e7e2d8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}
.hero-player-wrap {
  position: relative;
  width: 100%;
  max-width: none;
  border: 1px solid #39414d;
  border-radius: 3px;
  background: #12161c;
  overflow: hidden;
}
.hero-player {
  display: block;
  width: 100%;
  background: #0d1116;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #1d232c 0%, #171c24 100%);
  border-top: var(--rule);
}
.player-btn {
  flex: 0 0 auto;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.player-btn:hover {
  color: var(--gold-warm);
  border-color: var(--plum-deep);
}
.player-btn.is-active, .player-btn:focus-visible {
  color: #10141a;
  background: var(--plum);
  border-color: var(--plum);
  outline: none;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  border-radius: 2px;
  background: #39414d;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
}
.player-progress {
  flex: 1 1 140px;
  min-width: 90px;
}
.player-volume {
  flex: 0 1 80px;
  min-width: 56px;
}
.hero-player-wrap.is-theater {
  box-shadow: 0 0 0 1px var(--plum-deep), 0 26px 50px -26px rgba(0, 0, 0, 0.95);
}
.hero-player-wrap.is-lights-off {
  background: #05070a;
}
.hero-player-wrap.is-lights-off .player-controls {
  opacity: 0.45;
}
body.theater-mode .page-main {
  max-width: 100%;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.hero-title {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.2em;
  color: #e6e3dc;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #cfc9be;
  line-height: 1.5;
  padding-left: 10px;
  border-left: 3px solid var(--plum);
  margin-bottom: 10px;
}
.status-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 26px;
  padding: 10px 14px;
  background: var(--bg-panel);
  border: var(--rule);
  border-radius: 3px;
}
.status-line, .status-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.status-label, .score-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}
.status-value {
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.06em;
}
.score-value {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-warm);
  line-height: 1;
}
.cast-strip {
  min-width: 0;
}
.cast-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.cast-track::-webkit-scrollbar {
  height: 6px;
}
.cast-track::-webkit-scrollbar-thumb {
  background: #3d4551;
  border-radius: 3px;
}
.cast-card {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  gap: 9px;
  width: 188px;
  padding: 8px;
  background: var(--bg-panel);
  border: var(--rule);
  border-radius: 3px;
}
.cast-thumb {
  flex: 0 0 auto;
  width: 46px;
  height: 62px;
  border-radius: 2px;
  background-color: #39414c;
  background-image:
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.05) 0 2px, rgba(0, 0, 0, 0) 2px 6px),
    linear-gradient(160deg, #4a525e 0%, #333a45 100%);
}
.cast-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}
.cast-name {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  white-space: nowrap;
}
.cast-role {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  white-space: nowrap;
}
.synopsis-panel {
  min-width: 0;
}
.synopsis-para {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.62;
  letter-spacing: 0.02em;
  color: #b6bcc5;
  text-indent: 2em;
  margin-bottom: 7px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-panel {
  min-width: 0;
}
.details-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  border-top: var(--rule);
  padding-top: 4px;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed #2f3743;
  min-width: 0;
}
.details-key {
  flex: 0 0 auto;
  width: 4.6em;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.details-value {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: var(--ink);
  letter-spacing: 0.04em;
  word-break: break-word;
}
.timeline-section {
  padding: 18px 0 30px;
  border-top: var(--rule);
}
.timeline-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 2px 12px;
  scrollbar-width: thin;
}
.timeline-rail::-webkit-scrollbar {
  height: 6px;
}
.timeline-rail::-webkit-scrollbar-thumb {
  background: #3d4551;
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 132px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px 10px;
  background: var(--bg-panel);
  border: var(--rule);
  border-radius: 2px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  width: 26px;
  height: 2px;
  background: var(--gold);
}
.timeline-node:nth-child(even) {
  margin-top: 26px;
}
.timeline-node:nth-child(odd) {
  margin-bottom: 26px;
}
.timeline-node:hover, .timeline-node.is-active {
  background: var(--bg-panel-soft);
  border-color: var(--plum-deep);
}
.timeline-node.is-active {
  transform: translateY(-4px) scale(1.06);
  clip-path: polygon(
    0% 4%, 6% 0%, 20% 3%, 34% 0%, 52% 3%, 68% 0%, 84% 3%, 100% 0%,
    100% 96%, 94% 100%, 78% 97%, 62% 100%, 46% 97%, 30% 100%, 14% 97%, 0% 100%
  );
}
.node-timecode {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.node-label {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--ink);
}
.episodes-section {
  padding: 14px 0 26px;
  border-top: var(--rule);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  position: relative;
  padding: 10px 12px 11px;
  background: var(--bg-panel);
  border: var(--rule);
  border-left: 2px solid #3d4551;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}
.episode-card:hover {
  background: var(--bg-panel-soft);
  border-left-color: var(--plum);
}
.episode-number {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--plum);
}
.episode-title {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #dcd8d0;
  margin: 3px 0 4px;
}
.episode-summary {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.55;
  color: #99a1ac;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  transition: -webkit-line-clamp 0.2s;
}
.episode-card:hover .episode-summary {
  -webkit-line-clamp: 6;
}
.episode-duration {
  margin-top: 6px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.comments-section {
  padding: 14px 0 26px;
  border-top: var(--rule);
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  align-items: start;
}
.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px dashed #2f3743;
  min-width: 0;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #39414c;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 2px, rgba(0, 0, 0, 0) 2px 5px),
    linear-gradient(150deg, #7d9a8c 0%, #3c4a52 100%);
}
.comment-body {
  min-width: 0;
}
.comment-nickname {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.58;
  color: #a8afb9;
}
.recommend-region {
  padding: 14px 0 24px;
  border-top: var(--rule);
}
.recommendation-title {
  position: relative;
  border-left: none;
  padding-left: 0;
  padding-bottom: 7px;
  font-size: 15px;
  text-align: left;
  color: #cfc9be;
}
.recommendation-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background: var(--plum);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: var(--bg-panel);
  border: var(--rule);
  border-radius: 2px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
a.recommend-card {
  color: var(--ink);
  text-decoration: none;
}
a.recommend-card:hover {
  background: var(--bg-panel-soft);
  border-color: var(--plum-deep);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: #2b323d;
  filter: saturate(0.85);
}
.recommend-pic {
  display: block;
  width: 100%;
}
.recommend-name {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #dcd8d0;
}
.recommend-blurb {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-faint);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.recommend-card:hover .recommend-blurb {
  -webkit-line-clamp: 3;
}
.site-footer {
  border-top: var(--rule);
  background: #171c24;
  padding: 20px 18px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.16s, border-color 0.16s;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--ink-dim);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-warm);
  border-bottom-color: var(--plum);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px dashed #2b323d;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  flex: 0 0 auto;
}
.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #8f97a3;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s;
}
a.runtime-friend-link {
  color: #8f97a3;
  text-decoration: none;
}
a.runtime-friend-link:hover {
  color: var(--plum);
}
.footer-disclaimer {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #5f6773;
}
.player .play, .player .pause, .player .mute, .player .volume, .player .progress, .player .speed, .player .pip, .player .fullscreen, .player .theater, .player .light, .player .input, .player .click, .player .data-player-action, .player .timeupdate {
  transition: color 0.16s, background 0.16s, border-color 0.16s;
}
@media (max-width: 980px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 44px;
  }
.hero-tagline {
    bottom: 22%;
    font-size: 12px;
    letter-spacing: 0.34em;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {body {
    font-size: 13.5px;
  }
.header-bar {
    padding: 8px 14px;
  }
.page-main {
    padding: 0 14px 34px;
  }
.hero {
    padding-top: 20px;
    padding-bottom: 32px;
  }
.hero-title {
    font-size: 21px;
    letter-spacing: 0.16em;
  }
.hero-tagline {
    position: static;
    padding: 10px 12px 12px;
    background: linear-gradient(180deg, rgba(19, 23, 30, 0) 0%, rgba(19, 23, 30, 0.7) 100%);
    letter-spacing: 0.26em;
  }
.hero-veil {
    background: linear-gradient(180deg, rgba(27, 32, 41, 0) 55%, rgba(58, 65, 76, 0.85) 100%);
  }
.details-table {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    -webkit-line-clamp: 2;
  }
.timeline-node:nth-child(even), .timeline-node:nth-child(odd) {
    margin-top: 0;
    margin-bottom: 0;
  }
.player-progress {
    flex: 1 1 100%;
  }
.site-footer {
    padding: 18px 14px 26px;
  }}
@media (max-width: 480px) {.hero-tagline {
    font-size: 11.5px;
    letter-spacing: 0.2em;
  }
.status-panel {
    gap: 8px 16px;
    padding: 9px 11px;
  }
.cast-card {
    width: 168px;
  }}

footer{text-align:center!important}
footer *{justify-content:center!important}
footer :is(div,nav,ul,ol,p,section,address){margin-left:auto!important;margin-right:auto!important}
