*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input {
  font: inherit;
  color: inherit;
}
:root {
  --ink: #0d1b2a;
  --deep: #10263c;
  --sea: #1d3f5c;
  --mid: #35617f;
  --pale: #9dbdd2;
  --mist: #d6e4ec;
  --cold-white: #f4f8fa;
  --paper: #eef4f7;
  --warm: #e2793f;
  --warm-soft: #f0a273;
  --line: rgba(29, 63, 92, 0.16);
  --shadow: 0 1px 0 rgba(13, 27, 42, 0.06);
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(120% 60% at 50% 0%, #ffffff 0%, var(--cold-white) 42%, #e4eef4 78%, #d9e6ee 100%) fixed;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 248, 250, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px 20px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--deep);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--warm);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  color: var(--mid);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--warm);
  border-color: var(--warm-soft);
  background: rgba(226, 121, 63, 0.08);
}
.page-main {
  display: block;
  padding: 0 20px 40px;
  max-width: 1180px;
  margin: 0 auto;
}
.section-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--mid);
  text-transform: none;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--warm);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding-top: 18px;
}
.hero-poster-wrap {
  position: relative;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}
.hero-poster-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 18px 40px -22px rgba(13, 27, 42, 0.55);
  filter: saturate(0.9) contrast(1.02);
}
.hero-scene {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.hero-title-block {
  border-left: 2px solid var(--warm);
  padding-left: 11px;
}
.movie-title {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--deep);
}
.movie-tagline {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mid);
  max-width: 40ch;
}
.hero-player-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--deep);
  border-radius: 4px;
  padding: 6px;
  box-shadow: 0 16px 34px -24px rgba(13, 27, 42, 0.8);
}
.hero-player-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #061019;
  border-radius: 2px;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  padding: 2px 2px 1px;
}
.player-btn {
  appearance: none;
  border: 1px solid rgba(214, 228, 236, 0.28);
  background: rgba(214, 228, 236, 0.08);
  color: var(--mist);
  font-size: 11px;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.player-btn:hover {
  background: rgba(226, 121, 63, 0.22);
  border-color: var(--warm-soft);
  color: #fff;
}
.player-btn.is-playing, .player-btn.is-active, .player-btn.is-muted {
  background: var(--warm);
  border-color: var(--warm);
  color: #fff;
}
.player-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  background: rgba(214, 228, 236, 0.24);
  border-radius: 999px;
  cursor: pointer;
}
.player-volume {
  flex: 0 1 76px;
  min-width: 60px;
  height: 4px;
  appearance: none;
  background: rgba(214, 228, 236, 0.24);
  border-radius: 999px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--warm-soft);
  border: none;
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--warm-soft);
}
.movie-seo-desc {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--sea);
  max-width: 62ch;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.timeline-section {
  margin-top: 4px;
}
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--line);
  margin-left: 3px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 6px 0 6px 12px;
  border-bottom: 1px solid rgba(29, 63, 92, 0.07);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 1px;
  background: var(--pale);
}
.timeline-item[data-timeline-depth="1"]::before { background: #cfe1ec; }
.timeline-item[data-timeline-depth="2"]::before { background: #b6d2e2; }
.timeline-item[data-timeline-depth="3"]::before { background: #96bacf; }
.timeline-item[data-timeline-depth="4"]::before { background: #78a1bc; }
.timeline-item[data-timeline-depth="5"]::before { background: #5a86a4; }
.timeline-item[data-timeline-depth="6"]::before { background: #3f6a8b; }
.timeline-item[data-timeline-depth="7"]::before { background: #274f70; }
.timeline-item[data-timeline-depth="8"]::before { background: #10263c; }
.timeline-timecode {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--sea);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.55;
  color: var(--mid);
  min-width: 0;
}
.timeline-item[data-timeline-depth="8"] .timeline-label {
  color: var(--deep);
  font-weight: 600;
}
.cast-section {
  margin-top: 6px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 8px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.cast-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #cddfe9 0%, #8fb0c6 46%, #2b5374 100%);
  border: 1px solid rgba(29, 63, 92, 0.22);
  box-shadow: inset 0 -6px 10px -6px rgba(13, 27, 42, 0.5);
}
.cast-item:nth-child(2n) .cast-avatar {
  background: radial-gradient(circle at 32% 28%, #d6e4ec 0%, #9dbdd2 48%, #35617f 100%);
}
.cast-item:nth-child(3n) .cast-avatar {
  background: radial-gradient(circle at 32% 28%, #f0d7c3 0%, #e0a17a 52%, #7a3f22 100%);
}
.cast-name {
  font-size: 11.5px;
  color: var(--sea);
  text-align: center;
  white-space: nowrap;
}
.synopsis-section {
  margin-top: 6px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--sea);
}
.synopsis-para + .synopsis-para {
  padding-top: 8px;
  border-top: 1px solid rgba(29, 63, 92, 0.07);
}
.episode-status-section {
  margin-top: 6px;
}
.episode-status-text {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--deep);
  padding: 6px 12px;
  background: rgba(226, 121, 63, 0.1);
  border-left: 3px solid var(--warm);
  border-radius: 2px;
}
.details-section {
  margin-top: 6px;
}
.details-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.details-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px solid rgba(29, 63, 92, 0.07);
}
.details-key {
  font-size: 11.5px;
  color: var(--pale);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.details-value {
  font-size: 12.5px;
  color: var(--deep);
  min-width: 0;
}
.episodes-section {
  margin-top: 30px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.episode-card:hover {
  border-color: var(--pale);
  background: rgba(255, 255, 255, 0.86);
}
.episode-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(29, 63, 92, 0.14);
}
.episode-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--sea);
  font-variant-numeric: tabular-nums;
}
.episode-duration {
  font-size: 11px;
  color: var(--pale);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--deep);
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--mid);
}
.episode-card-active {
  border-color: var(--warm);
  background: rgba(226, 121, 63, 0.09);
  box-shadow: 0 0 0 1px rgba(226, 121, 63, 0.35);
}
.episode-card-active .episode-number, .episode-card-active .episode-title {
  color: #b1531f;
}
.episode-card-active .episode-card-head {
  border-bottom-color: rgba(226, 121, 63, 0.4);
}
.comments-section {
  margin-top: 30px;
}
.comments-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.comment-card {
  position: relative;
  padding: 9px 11px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px 8px 2px 2px;
  box-shadow: var(--shadow);
}
.comment-card::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(29, 63, 92, 0.2);
  background: rgba(255, 255, 255, 0.5);
}
.comments-col:nth-child(2) .comment-card {
  background: #e9f1f5;
}
.comments-col:nth-child(2) .comment-card:nth-child(2) {
  background: #f6ece4;
  border-color: rgba(226, 121, 63, 0.24);
  margin-left: 10px;
}
.comments-col:nth-child(1) .comment-card:nth-child(2) {
  margin-right: 10px;
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}
.comment-avatar {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(140deg, #cfe1ec 0%, #4d7c9c 100%);
  border: 1px solid rgba(29, 63, 92, 0.2);
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--sea);
  letter-spacing: 0.03em;
}
.comments-col:nth-child(2) .comment-avatar {
  background: linear-gradient(140deg, #f0d7c3 0%, #c06a37 100%);
}
.comments-col:nth-child(2) .comment-nickname {
  color: #a8551f;
}
.comment-text {
  font-size: 12px;
  line-height: 1.68;
  color: var(--mid);
}
.recommend-region {
  margin-top: 26px;
}
.recommend-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--sea);
  padding-left: 9px;
  border-left: 3px solid var(--warm);
  margin-bottom: 10px;
}
.recommend-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
a.recommend-item:hover {
  border-color: var(--warm-soft);
  background: #fff;
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 96px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  background: var(--mist);
  filter: saturate(0.92);
}
.recommend-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.4;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: var(--mid);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 34px;
  padding: 18px 20px 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(214, 228, 236, 0.24), rgba(16, 38, 60, 0.06));
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--sea);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s, border-color 0.16s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--warm);
  border-bottom-color: var(--warm-soft);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--pale);
  white-space: nowrap;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--mid);
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 0;
  border-bottom: 1px dotted rgba(53, 97, 127, 0.35);
  transition: color 0.16s, border-color 0.16s;
}
a.runtime-friend-link:hover {
  color: var(--warm);
  border-bottom-color: var(--warm);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.65;
  color: var(--pale);
  max-width: 74ch;
}
body.is-lights-off {
  background: #071019 fixed;
}
body.is-lights-off .site-header {
  background: rgba(7, 16, 25, 0.86);
  border-bottom-color: rgba(214, 228, 236, 0.14);
}
body.is-lights-off .page-main, body.is-lights-off .site-footer {
  filter: brightness(0.86);
}
body.is-lights-off .hero-scene, body.is-lights-off .timeline-section, body.is-lights-off .cast-section, body.is-lights-off .synopsis-section, body.is-lights-off .episode-status-section, body.is-lights-off .details-section {
  filter: brightness(1.06);
}
.hero-player-wrap.is-theater {
  box-shadow: 0 26px 60px -26px rgba(0, 0, 0, 0.85);
  outline: 1px solid rgba(226, 121, 63, 0.4);
}
.player .pause, .player .play, .player .mute, .player .volume, .player .progress, .player .speed, .player .fullscreen, .player .pip, .player .theater, .player .light, .player .timeupdate, .player .input, .player .click, .player .x {
  cursor: pointer;
}
@media (min-width: 560px) {body { font-size: 13.5px; }
.page-main { padding: 0 26px 46px; }
.header-inner { padding: 10px 26px; }
.cast-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cast-avatar { width: 52px; height: 52px; }
.episodes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.synopsis-body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.synopsis-para + .synopsis-para { padding-top: 0; border-top: none; }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.comments-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; align-items: start; }
.comments-col:nth-child(2) { margin-top: 22px; }
.recommend-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-footer { padding: 20px 26px 30px; }}
@media (min-width: 820px) {.hero {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 26px;
    padding-top: 24px;
    align-items: start;
  }
.hero-poster-wrap {
    max-width: none;
    margin: 0;
    position: sticky;
    top: 62px;
  }
.hero-scene { gap: 16px; }
.movie-title { font-size: 28px; }
.hero-title-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    border-left: none;
    border-right: 2px solid var(--warm);
    padding-left: 0;
    padding-right: 12px;
    align-self: flex-end;
  }
.movie-tagline { text-align: right; }
.timeline-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    border-left: none;
    margin-left: 0;
  }
.timeline-item {
    grid-template-columns: 56px minmax(0, 1fr);
    border-left: 1px solid var(--line);
    padding-left: 14px;
  }
.timeline-item::before { left: -5px; }
.episodes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comments-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.comments-col:nth-child(2) { margin-top: 34px; }
.recommend-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
[data-runtime="recommendation"] img { height: 104px; }
.site-footer {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 26px;
  }
.friend-links { flex: 1 1 auto; }
.footer-disclaimer { flex: 1 1 100%; }}
@media (min-width: 1080px) {.page-main { padding: 0 34px 56px; }
.hero { grid-template-columns: 280px minmax(0, 1fr); gap: 34px; }
.episodes-grid { gap: 10px; }
.recommend-columns { gap: 14px; }
[data-runtime="recommendation"] img { height: 118px; }}
@media (max-width: 400px) {.player-btn { font-size: 10.5px; padding: 4px 6px; }
.player-progress { flex-basis: 100%; }
.cast-avatar { width: 40px; height: 40px; }
.movie-title { font-size: 21px; }
.details-row { grid-template-columns: 66px minmax(0, 1fr); }}

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}
