:root {
  --river-1: #1b2733;
  --river-2: #24313f;
  --river-3: #2d3c4c;
  --river-4: #3a4b5c;
  --river-line: #46596b;
  --cool-text: #9fb0bf;
  --cool-dim: #6f8296;
  --cool-bright: #d7e2ea;
  --warm: #e8994f;
  --warm-deep: #c9743a;
  --warm-soft: #f0b177;
  --paper: #1e2a36;
  --font-stack: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--river-1);
  color: var(--cool-text);
  font-family: var(--font-stack);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--cool-bright);
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  background: var(--river-2);
  border-bottom: 1px solid var(--river-line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.site-brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--warm);
  white-space: nowrap;
}
a[data-contract="site-name"] {
  color: var(--warm);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--warm-soft);
  text-decoration: underline;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--cool-text);
  background: var(--river-3);
  border: 1px solid var(--river-line);
  border-radius: 2px;
  text-decoration: none;
}
a.runtime-category:hover {
  color: var(--river-1);
  background: var(--warm);
  border-color: var(--warm);
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 18px;
  padding: 18px 14px 26px;
  background:
    linear-gradient(180deg, rgba(20, 30, 40, 0.15) 0%, rgba(20, 30, 40, 0.85) 78%, var(--river-1) 100%),
    repeating-linear-gradient(102deg, rgba(88, 118, 142, 0.14) 0 2px, rgba(27, 39, 51, 0) 2px 26px),
    var(--river-2);
  border-bottom: 1px solid var(--river-line);
}
.hero-figure {
  align-self: start;
}
.poster-frame {
  position: relative;
  border: 1px solid var(--river-line);
  background: var(--river-1);
  box-shadow: 0 0 0 1px rgba(232, 153, 79, 0.08), 0 10px 26px rgba(0, 0, 0, 0.45);
}
.poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.hero-title-block {
  position: relative;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--river-line);
}
.hero-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--cool-bright);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.hero-tagline {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--warm);
  text-transform: none;
}
.hero-seo {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--cool-text);
  max-width: 62ch;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #0d151d;
  border: 1px solid var(--river-line);
}
.player-shell.theater-mode {
  background: #05090d;
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-shell.lights-off::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  pointer-events: none;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: var(--river-2);
  border-top: 1px solid var(--river-line);
}
.ctrl-btn {
  padding: 3px 9px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--cool-text);
  background: var(--river-3);
  border: 1px solid var(--river-line);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.ctrl-btn:hover {
  color: var(--cool-bright);
  border-color: var(--warm-deep);
}
.ctrl-btn.is-active, .ctrl-btn.play.is-active {
  color: var(--river-1);
  background: var(--warm);
  border-color: var(--warm);
}
.ctrl-play {
  font-weight: 700;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--river-4);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 100px;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--warm);
  border: 0;
}
.ctrl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--warm);
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 64px;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cool-dim);
  border: 0;
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--cool-dim);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 6px 10px;
  background: var(--river-3);
  border-left: 3px solid var(--warm);
}
.status-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--warm-soft);
}
.status-line {
  font-size: 12.5px;
  color: var(--cool-text);
}
.status-total, .status-current {
  font-weight: 800;
  color: var(--cool-bright);
}
.details {
  border-top: 1px solid var(--river-line);
  padding-top: 8px;
}
.details-heading, .cast-heading, .synopsis-heading, .timeline-heading, .episodes-heading, .comments-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--cool-bright);
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 3px solid var(--warm);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 1px;
  background: var(--river-line);
  border: 1px solid var(--river-line);
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 8px;
  background: var(--river-2);
}
.detail-key {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cool-dim);
}
.detail-value {
  font-size: 12px;
  color: var(--cool-bright);
  word-break: break-word;
}
.cast {
  border-top: 1px solid var(--river-line);
  padding-top: 8px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 6px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 9px;
  background: var(--river-3);
  border: 1px solid var(--river-line);
  border-left: 3px solid var(--river-4);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--cool-bright);
}
.cast-role {
  font-size: 11.5px;
  color: var(--cool-dim);
}
.synopsis {
  border-top: 1px solid var(--river-line);
  padding-top: 8px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--cool-text);
  margin-bottom: 7px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.timeline-section {
  padding: 16px 14px 14px;
  border-top: 1px solid var(--river-line);
}
.timeline-heading {
  margin-bottom: 10px;
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  position: relative;
  scrollbar-width: thin;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--river-line), rgba(70, 89, 107, 0.15));
  pointer-events: none;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 208px;
  padding: 8px 10px 10px;
  background: var(--river-2);
  border: 1px solid var(--river-line);
  border-top: 3px solid var(--river-4);
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 12px;
  width: 9px;
  height: 9px;
  background: var(--warm);
  border-radius: 50%;
}
.timeline-node-broken {
  border-top-style: dashed;
  border-top-color: var(--cool-dim);
  background: repeating-linear-gradient(135deg, rgba(58, 75, 92, 0.5) 0 6px, rgba(36, 49, 63, 0.9) 6px 12px);
}
.timeline-node-broken::before {
  background: var(--cool-dim);
}
.timeline-node-final {
  border-top-color: var(--warm);
  width: 236px;
}
.timeline-node-final::before {
  background: var(--warm);
  box-shadow: 0 0 0 4px rgba(232, 153, 79, 0.18);
}
.timeline-timecode {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--warm);
  margin-bottom: 4px;
}
.timeline-node-broken .timeline-timecode {
  color: var(--cool-dim);
}
.timeline-label {
  font-size: 12px;
  line-height: 1.58;
  color: var(--cool-text);
}
.episodes-section {
  padding: 16px 14px 14px;
  border-top: 1px solid var(--river-line);
}
.episodes-heading {
  margin-bottom: 10px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  gap: 3px 8px;
  padding: 8px 10px;
  background: var(--river-2);
  border: 1px solid var(--river-line);
  border-left: 3px solid var(--river-4);
}
.episode-number {
  grid-area: num;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--cool-dim);
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 800;
  color: var(--cool-dim);
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.56;
  color: var(--cool-dim);
}
.episode-duration {
  grid-area: dur;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--cool-dim);
}
.episode-card-current {
  margin-left: -8px;
  background: var(--river-3);
  border-left-color: var(--warm);
  box-shadow: 0 0 0 1px rgba(232, 153, 79, 0.22), -8px 0 20px rgba(0, 0, 0, 0.35);
}
.episode-card-current .episode-number {
  color: var(--warm);
}
.episode-card-current .episode-title {
  color: var(--warm-soft);
}
.episode-card-current .episode-summary {
  color: var(--cool-text);
}
.episode-card-current .episode-duration {
  color: var(--warm-deep);
}
.comments-section {
  padding: 16px 14px 14px;
  border-top: 1px solid var(--river-line);
}
.comments-heading {
  margin-bottom: 10px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-column:nth-child(2) {
  margin-top: 20px;
}
.comment-column:nth-child(3) {
  margin-top: 40px;
}
.comment-card {
  padding: 8px 10px;
  background: var(--river-2);
  border: 1px solid var(--river-line);
  border-bottom: 2px solid var(--river-4);
}
.comment-nickname {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--warm);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.62;
  color: var(--cool-text);
}
.recommend-region {
  padding: 16px 14px 14px;
  border-top: 1px solid var(--river-line);
}
.recommend-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cool-bright);
  margin-bottom: 10px;
  padding-left: 8px;
  border-left: 3px solid var(--warm);
}
.recommend-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.recommend-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.recommend-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 6px;
  background: var(--river-2);
  border: 1px solid var(--river-line);
  color: var(--cool-text);
  text-decoration: none;
}
a.recommend-card:hover {
  border-color: var(--warm-deep);
  background: var(--river-3);
  text-decoration: none;
}
a.recommend-card:hover .recommend-name {
  color: var(--warm-soft);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  background: var(--river-1);
  border: 1px solid var(--river-line);
}
.recommend-pic {
  display: block;
}
.recommend-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--cool-bright);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--cool-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px;
  border-top: 1px solid var(--river-line);
  background: var(--river-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--cool-dim);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--cool-text);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--warm);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--warm);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--cool-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--warm-soft);
  text-decoration: underline;
}
.player.click, .player.is-active, .play.is-active {
  color: var(--river-1);
  background: var(--warm);
  border-color: var(--warm);
}
.data-player-action.is-active, .input.is-active, .progress.is-active, .volume.is-active, .speed.is-active, .pip.is-active, .fullscreen.is-active, .theater.is-active, .light.is-active, .mute.is-active, .timeupdate.is-active {
  border-color: var(--warm);
}
.theater-mode {
  background: #05090d;
}
.lights-off {
  background: #05090d;
}
@media (max-width: 1080px) {.hero {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  }
.recommend-grid-5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-figure {
    max-width: 260px;
  }
.recommend-grid-5, .recommend-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-column:nth-child(2), .comment-column:nth-child(3) {
    margin-top: 0;
  }}
@media (max-width: 760px) {.hero {
    padding: 14px 12px 20px;
    gap: 14px;
  }
.hero-title {
    font-size: 26px;
  }
.hero-tagline {
    letter-spacing: 0.2em;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card-current {
    margin-left: -6px;
  }
.comment-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid-5, .recommend-grid-4, .recommend-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    width: 182px;
  }
.timeline-node-final {
    width: 200px;
  }}
@media (max-width: 540px) {body {
    font-size: 12.5px;
  }
.header-inner {
    padding: 6px 10px;
    gap: 8px;
  }
.hero-figure {
    max-width: 200px;
  }
.hero-title {
    font-size: 22px;
  }
.detail-list {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(134px, 1fr));
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-5, .recommend-grid-4, .recommend-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
[data-runtime="recommendation"] img {
    height: 96px;
  }
.ctrl-btn {
    padding: 3px 7px;
    font-size: 11px;
  }}
@media (max-width: 400px) {.recommend-grid-5, .recommend-grid-4, .recommend-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
[data-runtime="recommendation"] img {
    height: 150px;
  }
.timeline-node, .timeline-node-final {
    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}
