*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --ink: #0a0e14;
  --ink-2: #0e141d;
  --panel: #121a24;
  --panel-2: #16202b;
  --line: #24313f;
  --line-soft: #1b2632;
  --text: #c7d2dc;
  --text-dim: #7f8fa0;
  --text-bright: #eef3f7;
  --green: #1f3a34;
  --green-line: #33564c;
  --warm: #e8b567;
  --warm-dim: #b98d4c;
  --warm-glow: rgba(232, 181, 103, 0.16);
  --accent: #6fb0c9;
  --font-title: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --radius: 2px;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--ink);
  background-image:
    linear-gradient(160deg, rgba(31, 58, 52, 0.28) 0%, rgba(10, 14, 20, 0) 42%),
    linear-gradient(340deg, rgba(20, 34, 48, 0.55) 0%, rgba(10, 14, 20, 0) 55%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--text);
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2 {
  font-family: var(--font-title);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text-bright);
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 14, 20, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: 17px;
  letter-spacing: 0.24em;
  color: var(--text-bright);
  text-decoration: none;
  white-space: nowrap;
  border-left: 2px solid var(--warm);
  padding-left: 10px;
}
a[data-contract="site-name"]:hover {
  color: var(--warm);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 14px;
  min-width: 0;
}
a.runtime-category {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a.runtime-category:hover {
  color: var(--warm);
  border-bottom-color: var(--warm-dim);
}
.movie-detail-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.movie-overview {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.overview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 232px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.poster-column {
  position: relative;
  z-index: 1;
}
.poster-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 20, 0.05) 0%, rgba(10, 14, 20, 0.55) 100%),
    linear-gradient(120deg, rgba(31, 58, 52, 0.35) 0%, rgba(10, 14, 20, 0) 60%);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.92);
}
.hero-text-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 200;
  line-height: 1.28;
  letter-spacing: 0.08em;
  color: var(--text-bright);
  padding-left: 12px;
  border-left: 3px solid var(--warm);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--warm);
  padding-left: 15px;
}
.seo-description {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--text);
  max-width: 62ch;
  padding-left: 15px;
  border-left: 1px solid var(--line-soft);
}
.overview-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 220px);
  gap: 18px;
  align-items: start;
  margin-top: 2px;
  padding-left: 15px;
}
.details-panel {
  min-width: 0;
}
.details-heading, .synopsis-heading, .cast-heading, .episode-status-heading {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 0 16px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--line-soft);
  min-width: 0;
}
.detail-item dt {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.detail-item dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--text-bright);
  text-align: right;
  overflow-wrap: anywhere;
}
.episode-status-panel {
  border: 1px solid var(--green-line);
  background:
    linear-gradient(180deg, rgba(31, 58, 52, 0.42) 0%, rgba(18, 26, 36, 0.6) 100%);
  border-radius: var(--radius);
  padding: 12px 14px;
  align-self: start;
}
.episode-status-line {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.status-number {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 300;
  color: var(--warm);
  padding: 0 3px;
  letter-spacing: 0.02em;
}
.episode-status-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  border-top: 1px solid var(--green-line);
  padding-top: 6px;
}
.player-wrapper {
  position: relative;
  width: 100%;
  background: #05080c;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.player-wrapper video {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #05080c;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  padding: 5px 10px;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
  white-space: nowrap;
}
.ctrl-btn:hover {
  color: var(--warm);
  border-color: var(--warm-dim);
}
.ctrl-btn.is-active, .ctrl-btn.play.is-active, .ctrl-btn.change.is-active, .ctrl-btn.click.is-active, .ctrl-btn.pause.is-active, .ctrl-btn.mute.is-active, .ctrl-btn.pip.is-active, .ctrl-btn.fullscreen.is-active, .ctrl-btn.theater.is-active, .ctrl-btn.light.is-active, .ctrl-btn.speed.is-active, .ctrl-btn.volume.is-active, .ctrl-btn.progress.is-active, .ctrl-btn.timeupdate.is-active, .ctrl-btn.player.is-active, .ctrl-btn.input.is-active, .ctrl-btn.data-player-action.is-active {
  color: var(--ink);
  background: var(--warm);
  border-color: var(--warm);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: var(--line);
  border-radius: 0;
  outline: none;
  flex: 1 1 160px;
  min-width: 90px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 16px;
  border-radius: 1px;
  background: var(--warm);
  border: 1px solid var(--warm-dim);
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 9px;
  height: 15px;
  border-radius: 1px;
  background: var(--warm);
  border: 1px solid var(--warm-dim);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 96px;
  min-width: 70px;
}
.ctrl-select {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 5px 6px;
}
.ctrl-select:hover {
  color: var(--warm);
  border-color: var(--warm-dim);
}
body.is-theater .player-wrapper {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  border-left: none;
  border-right: none;
  border-radius: 0;
}
body.is-lights-off {
  background-image: none;
  background-color: #04060a;
}
body.is-lights-off .movie-detail-main::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 8, 0.72);
  z-index: 5;
  pointer-events: none;
}
body.is-lights-off .player-wrapper {
  position: relative;
  z-index: 6;
  box-shadow: 0 0 60px var(--warm-glow);
}
.synopsis-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.synopsis-paragraph {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text);
  text-indent: 2em;
  margin-bottom: 7px;
  max-width: 88ch;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.cast-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: flex-start;
}
.cast-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 74px;
  flex: 0 0 auto;
}
.cast-avatar {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--green-line);
  background:
    radial-gradient(circle at 34% 28%, rgba(232, 181, 103, 0.28) 0%, rgba(31, 58, 52, 0.9) 58%, #0b1017 100%);
  box-shadow: inset 0 0 0 3px rgba(10, 14, 20, 0.75);
}
.cast-name {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-align: center;
  white-space: nowrap;
}
.section-heading {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--text-bright);
  padding-left: 12px;
  border-left: 3px solid var(--warm);
  margin-bottom: 14px;
}
.timeline-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 20px;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px 12px;
  padding-top: 12px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, var(--green-line) 50%, var(--line) 100%);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 26px;
  min-width: 0;
}
.node-marker {
  position: absolute;
  top: 8px;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid var(--green-line);
  background: var(--ink);
  box-shadow: 0 0 0 4px var(--ink);
}
.node-marker::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
}
.node-marker::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 6px;
  width: 3px;
  height: 6px;
  background: var(--ink);
}
.timeline-node.is-active .node-marker {
  border-color: var(--warm);
  box-shadow: 0 0 0 4px var(--ink), 0 0 14px var(--warm-glow);
}
.timeline-node.is-active .node-marker::before {
  background: var(--warm);
}
.node-timecode {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.timeline-node.is-active .node-timecode {
  color: var(--warm);
}
.node-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text);
}
.timeline-node.is-active .node-label {
  color: var(--text-bright);
}
.episodes-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 18px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  align-items: start;
}
.episode-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel-2);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.episode-card:hover {
  border-color: var(--green-line);
}
.episode-card.is-active {
  border-color: var(--warm-dim);
  background:
    linear-gradient(180deg, rgba(232, 181, 103, 0.09) 0%, rgba(22, 32, 43, 0.9) 100%);
}
.episode-details {
  min-width: 0;
}
.episode-summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  cursor: pointer;
  list-style: none;
  min-width: 0;
}
.episode-summary::-webkit-details-marker {
  display: none;
}
.episode-summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 14px;
  color: var(--text-dim);
  order: 4;
  margin-left: auto;
}
.episode-details[open] .episode-summary::after {
  content: "−";
  color: var(--warm);
}
.episode-number {
  flex: 0 0 auto;
  font-family: var(--font-title);
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.episode-card.is-active .episode-number {
  color: var(--warm);
}
.episode-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: var(--text-bright);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border-left: 1px solid var(--line);
  padding-left: 10px;
}
.episode-text {
  padding: 0 12px 11px;
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--text);
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
  margin-top: 2px;
}
.comments-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 18px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  align-items: start;
}
.comment-card {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--green-line);
  border-radius: var(--radius);
  background: var(--panel-2);
  padding: 10px 12px;
  min-width: 0;
}
.comment-card:hover {
  border-left-color: var(--warm);
}
.comment-index {
  flex: 0 0 auto;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--warm-dim);
  line-height: 1.2;
  padding-top: 1px;
}
.comment-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--text);
}
.comment-nickname {
  align-self: flex-start;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  border-top: 1px solid var(--line-soft);
  padding-top: 5px;
}
.comment-nickname::before {
  content: "— ";
  color: var(--warm-dim);
}
.recommend-region {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px 18px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
}
.recommend-item a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  text-decoration: none;
  color: var(--text);
}
.recommend-item [data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--ink-2);
  filter: saturate(0.8) brightness(0.92);
  transition: border-color 0.16s ease, filter 0.16s ease;
}
.recommend-item a[data-runtime="recommendation"]:hover img {
  border-color: var(--warm-dim);
  filter: saturate(1) brightness(1);
}
.recommend-item [data-runtime="name"] {
  font-size: 13px;
  color: var(--text-bright);
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-item [data-runtime="blurb"] {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-item a[data-runtime="recommendation"]:hover [data-runtime="name"] {
  color: var(--warm);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding: 20px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--warm);
  border-bottom-color: var(--warm-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 14px;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  border-left: 2px solid var(--green-line);
  padding-left: 8px;
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted var(--line);
  padding-bottom: 1px;
}
a.runtime-friend-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.site-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: #5d6b7a;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  max-width: 90ch;
}
@media (max-width: 960px) {.overview-hero {
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
    gap: 18px;
  }
.overview-meta-row {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-status-panel {
    width: 100%;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
  }
.category-strip {
    justify-content: flex-start;
  }
.movie-detail-main {
    padding: 14px 14px 26px;
    gap: 20px;
  }
.movie-overview {
    padding: 14px;
    gap: 14px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    max-width: 220px;
  }
.seo-description, .movie-tagline, .movie-title, .overview-meta-row {
    padding-left: 12px;
  }
.episode-grid, .comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 6px;
  }
.ctrl-range {
    flex: 1 1 100%;
  }
.ctrl-volume {
    flex: 1 1 100%;
  }}
@media (max-width: 520px) {.timeline-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.timeline-track::before {
    display: none;
  }
.timeline-node {
    padding-top: 24px;
    border-top: 1px solid var(--line-soft);
  }
.node-marker {
    top: 4px;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    gap: 12px 16px;
  }
.cast-member {
    width: 66px;
  }
.cast-avatar {
    width: 50px;
    height: 50px;
  }
.episode-duration {
    display: none;
  }
.poster-column {
    max-width: none;
  }}

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}
