:root {
  --ink: #0a0c0f;
  --ink-2: #10141a;
  --ink-3: #161b22;
  --panel: #12161c;
  --panel-2: #1a1f27;
  --line: #262c36;
  --line-soft: #1e242c;
  --gold: #b8912f;
  --gold-bright: #d8ae45;
  --gold-dim: #6e5820;
  --fog: #c9ced6;
  --fog-mid: #98a0ab;
  --fog-dim: #6b737d;
  --cold: #7f8b99;
  --radius: 3px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--fog);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, li, figure, figcaption, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--cold);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 12, 15, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 9px 16px;
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--gold-bright);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex: 0 0 auto;
}
a[data-contract="site-name"]:hover {
  color: #f0c95a;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--fog-mid);
  font-size: 12.5px;
  line-height: 1;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-2);
  text-decoration: none;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  background: #1b1a12;
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #e6e9ee;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: "poster player info";
  gap: 16px;
  align-items: start;
  padding: 14px;
  background: linear-gradient(160deg, var(--panel) 0%, var(--ink-2) 60%, #0d1014 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.poster-column {
  grid-area: poster;
  min-width: 0;
}
.poster-figure {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #05070a;
}
.poster-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.poster-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 10px 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  background: linear-gradient(to top, rgba(5, 7, 10, 0.95), rgba(5, 7, 10, 0));
}
.player-column {
  grid-area: player;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #05070a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.player-shell video {
  width: 100%;
  height: auto;
  display: block;
  background: #05070a;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.ctrl {
  background: #1d232c;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--fog-mid);
  font-size: 12px;
  line-height: 1;
  padding: 6px 9px;
  white-space: nowrap;
}
.ctrl:hover {
  color: #e6e9ee;
  border-color: var(--gold-dim);
}
.ctrl.is-active, .ctrl.play.is-active, .ctrl.pause.is-active, .ctrl.mute.is-active, .ctrl.pip.is-active, .ctrl.fullscreen.is-active, .ctrl.theater.is-active, .ctrl.light.is-active, .ctrl.speed.is-active {
  color: #0a0c0f;
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  font-weight: 700;
}
.ctrl-play {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  background: #1b1a12;
  font-weight: 700;
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 18px;
  padding: 0;
  background: transparent;
  border: none;
  accent-color: var(--gold);
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 62px;
  height: 18px;
  padding: 0;
  background: transparent;
  border: none;
  accent-color: var(--gold);
}
.ctrl-speed {
  padding: 6px 6px;
  background: #1d232c;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
}
.overview-info {
  grid-area: info;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.title-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.movie-title {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f2f4f7;
}
.movie-tagline {
  font-size: 13px;
  line-height: 1.35;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
  padding-left: 8px;
  border-left: 2px solid var(--gold-dim);
}
.seo-description {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fog-mid);
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  display: inline-block;
  font-size: 11.5px;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 2px;
  background: #1b1a12;
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.cast-band {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.cast-band .section-heading {
  font-size: 13px;
  border-bottom: none;
  margin-bottom: 7px;
  padding-bottom: 0;
  color: var(--fog-mid);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.cast-item {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "avatar name"
    "avatar role";
  align-items: center;
  column-gap: 7px;
  row-gap: 1px;
}
.cast-avatar {
  grid-area: avatar;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #0d0f12;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background: linear-gradient(150deg, #3a4048, #22272e);
  letter-spacing: 0;
}
.cast-avatar-1 { background: linear-gradient(150deg, #4a5058, #23282f); color: #e8b84a; }
.cast-avatar-2 { background: linear-gradient(150deg, #414852, #20252b); color: #cfd4da; }
.cast-avatar-3 { background: linear-gradient(150deg, #3c4249, #1d2229); color: #d8ae45; }
.cast-avatar-4 { background: linear-gradient(150deg, #454b54, #21262d); color: #c9ced6; }
.cast-avatar-5 { background: linear-gradient(150deg, #383e46, #1b2027); color: #b8912f; }
.cast-name {
  grid-area: name;
  font-size: 12.5px;
  font-weight: 700;
  color: #e6e9ee;
  line-height: 1.2;
  white-space: nowrap;
}
.cast-role {
  grid-area: role;
  font-size: 11px;
  color: var(--fog-dim);
  line-height: 1.2;
  white-space: nowrap;
}
.synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.synopsis-block .section-heading {
  font-size: 13px;
  border-bottom: none;
  margin-bottom: 7px;
  padding-bottom: 0;
  color: var(--fog-mid);
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fog-mid);
  margin-bottom: 6px;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.details-block .section-heading {
  font-size: 13px;
  border-bottom: none;
  margin-bottom: 7px;
  padding-bottom: 0;
  color: var(--fog-mid);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 0;
  border-bottom: 1px dotted var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 62px;
  font-size: 11.5px;
  color: var(--fog-dim);
  letter-spacing: 0.02em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: #dfe3e9;
  font-weight: 500;
}
.timeline-section {
  padding: 12px 14px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: thin;
}
.timeline-node {
  flex: 1 1 0;
  min-width: 118px;
  display: grid;
  grid-template-rows: auto auto auto;
  justify-items: center;
  text-align: center;
  gap: 6px;
  padding: 0 6px;
  position: relative;
}
.timeline-timecode {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.timeline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--ink-3);
  box-shadow: 0 0 0 1px var(--gold-dim);
  position: relative;
  z-index: 2;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 1;
}
.timeline-node:first-child::before {
  left: 50%;
}
.timeline-node:last-child::before {
  right: 50%;
}
.timeline-node-final .timeline-dot {
  background: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(216, 174, 69, 0.18);
}
.timeline-node-final .timeline-label {
  color: var(--gold-bright);
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--fog-mid);
  max-width: 160px;
}
.episodes-section {
  padding: 12px 14px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 8px;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}
.episode-card:hover {
  border-left-color: var(--gold);
  background: #1b2029;
}
.episode-title {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #e6e9ee;
  letter-spacing: -0.01em;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--fog-dim);
  flex: 1 1 auto;
}
.episode-duration {
  align-self: flex-start;
  font-size: 10.5px;
  line-height: 1;
  padding: 3px 6px;
  color: var(--gold-bright);
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  background: rgba(184, 145, 47, 0.07);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.episode-card-final {
  border-left-color: var(--gold-bright);
  background: linear-gradient(150deg, #1d1b13, #171a1f);
}
.episode-card-final .episode-title {
  color: var(--gold-bright);
}
.recommend-region {
  padding: 12px 14px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.recommend-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
a.recommend-item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "thumb name"
    "thumb blurb";
  align-items: center;
  gap: 2px 10px;
  padding: 7px 4px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--fog-mid);
  text-decoration: none;
  min-width: 0;
}
a.recommend-item:last-child {
  border-bottom: none;
}
a.recommend-item:hover {
  background: rgba(184, 145, 47, 0.06);
}
[data-runtime="recommendation"] img {
  grid-area: thumb;
  width: 60px;
  height: 34px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: #05070a;
}
.recommend-name {
  grid-area: name;
  font-size: 12.5px;
  font-weight: 700;
  color: #e6e9ee;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.recommend-item:hover .recommend-name {
  color: var(--gold-bright);
}
.recommend-blurb {
  grid-area: blurb;
  font-size: 11px;
  line-height: 1.35;
  color: var(--fog-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comments-section {
  padding: 12px 14px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  min-width: 0;
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
}
.comment-text {
  font-size: 12px;
  line-height: 1.45;
  color: var(--fog-mid);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 6px;
  border-top: 1px solid var(--line);
  background: #08090c;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--fog-dim);
  max-width: 900px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.footer-links-label {
  font-size: 11.5px;
  color: var(--fog-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--cold);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-dim);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-top: 9px;
  border-top: 1px solid var(--line-soft);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--fog-mid);
  text-decoration: none;
  letter-spacing: 0.02em;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
}
body.lights-off .page-main {
  filter: brightness(0.82) saturate(0.9);
}
body.lights-off .player-shell {
  filter: brightness(1.25) saturate(1.05);
  box-shadow: 0 0 0 1px var(--gold-dim), 0 0 26px rgba(184, 145, 47, 0.22);
}
body.theater-mode .movie-overview {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "player"
    "poster"
    "info";
}
body.theater-mode .poster-column {
  max-width: 260px;
}
.player .is-active, .player.is-active, .progress.is-active, .timeupdate.is-active, .volume.is-active, .change.is-active, .click.is-active, .input.is-active, .play.is-active, .pause.is-active, .fullscreen.is-active, .theater.is-active, .light.is-active, .mute.is-active, .pip.is-active, .speed.is-active {
  border-color: var(--gold-bright);
}
@media (max-width: 1180px) {.movie-overview {
    grid-template-columns: minmax(170px, 210px) minmax(0, 1fr);
    grid-template-areas:
      "poster player"
      "info info";
  }
.overview-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    align-items: start;
  }
.title-block, .seo-description, .episode-status {
    grid-column: 1 / -1;
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.page-main {
    padding: 12px 12px 20px;
    gap: 16px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "player"
      "info";
    padding: 12px;
  }
.poster-column {
    max-width: 240px;
    justify-self: start;
  }
.overview-info {
    grid-template-columns: minmax(0, 1fr);
  }
.movie-title {
    font-size: 21px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    min-width: 132px;
  }
.footer-inner {
    padding: 12px 12px 20px;
  }}
@media (max-width: 560px) {body {
    font-size: 13.5px;
  }
.header-inner {
    padding: 8px 12px;
    gap: 8px 12px;
  }
.page-main {
    padding: 10px 10px 18px;
    gap: 14px;
  }
.movie-overview, .timeline-section, .episodes-section, .recommend-region, .comments-section {
    padding: 10px 10px 12px;
  }
.poster-column {
    max-width: 210px;
  }
.movie-title {
    font-size: 19px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-key {
    flex-basis: 66px;
  }
.timeline-node {
    min-width: 150px;
  }
.ctrl {
    padding: 6px 8px;
    font-size: 11.5px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: 3;
  }
a.recommend-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }
[data-runtime="recommendation"] img {
    width: 52px;
    height: 30px;
  }
.footer-inner {
    padding: 12px 10px 20px;
  }}
@media (max-width: 380px) {.cast-list {
    gap: 7px 10px;
  }
.cast-avatar {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
.timeline-node {
    min-width: 138px;
  }}

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}
