*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: #16181a;
  background-image:
    linear-gradient(180deg, #15171a 0%, #1a1c1f 42%, #191b1d 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 4px);
  color: #c9ccd0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: #8fa3ad;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
}
h1, h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
::selection {
  background: #7a1f1f;
  color: #f0e9e2;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 20, 22, 0.94);
  border-bottom: 1px solid #2b2f33;
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"], .brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #dfe3e6;
  text-transform: uppercase;
  padding-left: 12px;
  border-left: 3px solid #6d8a96;
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: auto;
}
a.runtime-category, .runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #9ba7ad;
  text-decoration: none;
  border: 1px solid #2f3438;
  background: #1c1f22;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
a.runtime-category:hover, .runtime-category:hover {
  color: #d6dee2;
  border-color: #55707c;
  background: #22262a;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px 22px;
  display: block;
}
.movie-overview {
  display: block;
}
.overview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: stretch;
  min-height: 340px;
  border-bottom: 1px solid #2b2f33;
  background-image:
    linear-gradient(100deg, #101214 0%, #14171a 44%, rgba(20, 23, 26, 0.35) 72%, rgba(20, 23, 26, 0) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 6px);
}
.hero-text {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 34px 26px 34px 0;
  background: linear-gradient(90deg, #101214 0%, #131619 62%, rgba(19, 22, 25, 0) 100%);
}
.movie-title {
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #eceff1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.movie-tagline {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #7f9ba6;
  padding-left: 10px;
  border-left: 2px solid #7a1f1f;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.7;
  color: #8d9296;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.btn-play, .btn-theater, .btn-light {
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  border: 1px solid #3a4045;
  background: #1d2024;
  color: #cdd4d8;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-play {
  background: #7a1f1f;
  border-color: #9c2c2c;
  color: #f4ece6;
  font-weight: 700;
}
.btn-play:hover {
  background: #932626;
}
.btn-theater:hover, .btn-light:hover {
  border-color: #55707c;
  color: #e2e8eb;
  background: #23272b;
}
.btn-play.is-active, .btn-theater.is-active, .btn-light.is-active {
  border-color: #6d8a96;
  color: #f0f5f7;
}
.hero-poster-wrap {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-poster {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.82) contrast(1.06) brightness(0.86);
}
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #101214 0%, rgba(16, 18, 20, 0.4) 26%, rgba(16, 18, 20, 0) 62%);
  pointer-events: none;
}
.player-shell {
  position: relative;
  margin: 16px 0;
  border: 1px solid #2b2f33;
  background: #101214;
}
.player-video {
  display: block;
  width: 100%;
  background: #0b0c0d;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #171a1d;
  border-top: 1px solid #2b2f33;
}
.player-controls button, .player-controls select {
  padding: 5px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #a7b0b5;
  background: #1e2226;
  border: 1px solid #2f3539;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.player-controls button:hover, .player-controls select:hover {
  color: #e0e7ea;
  border-color: #55707c;
}
.ctrl-play {
  color: #f0e6df;
  border-color: #7a1f1f;
  background: #2a1719;
}
.ctrl-play:hover {
  background: #3a1c1e;
}
.ctrl-progress {
  flex: 1 1 180px;
  min-width: 120px;
  height: 4px;
  appearance: none;
  background: #2c3135;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  appearance: none;
  width: 11px;
  height: 11px;
  background: #7a1f1f;
  border: 1px solid #a33535;
}
.ctrl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #a33535;
  background: #7a1f1f;
}
.ctrl-volume {
  flex: 0 1 96px;
  min-width: 72px;
  height: 4px;
  appearance: none;
  background: #2c3135;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  background: #6d8a96;
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  background: #6d8a96;
}
.ctrl-speed {
  padding: 5px 6px;
}
.ctrl-mute.is-active, .ctrl-pip.is-active, .ctrl-fullscreen.is-active, .ctrl-theater.is-active, .ctrl-light.is-active {
  color: #d8e2e6;
  border-color: #6d8a96;
  background: #1c2a2f;
}
.panel-heading, .section-heading, .recommend-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #dde3e6;
  padding-left: 10px;
  border-left: 3px solid #6d8a96;
  margin-bottom: 10px;
}
.synopsis-panel, .cast-panel, .episode-status-panel, .details-panel {
  padding: 16px 0;
  border-top: 1px solid #24282c;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 88ch;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.75;
  color: #9aa0a4;
}
.synopsis-paragraph:first-child::first-letter {
  color: #b8623f;
  font-weight: 700;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.cast-card {
  position: relative;
  border: 1px solid #2b2f33;
  background: #181b1e;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.cast-card:hover {
  border-color: #55707c;
}
.cast-avatar {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #101214;
}
.cast-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.35) contrast(1.06) brightness(0.9);
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(12, 14, 16, 0) 0%, rgba(12, 14, 16, 0.92) 100%);
  pointer-events: none;
}
.cast-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 5px 7px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #e2e8ea;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}
.status-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.status-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #2b2f33;
  background: #181b1e;
}
.status-key {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #7f878c;
}
.status-value {
  font-size: 14px;
  font-weight: 700;
  color: #d5dbde;
  letter-spacing: 0.02em;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 14px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dotted #31363a;
}
.detail-key {
  font-size: 12px;
  color: #7f878c;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.detail-value {
  font-size: 13px;
  color: #c2c8cb;
  text-align: right;
}
.timeline-section {
  padding: 30px 0 18px;
  border-top: 1px solid #24282c;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
  padding-top: 22px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 3%;
  right: 3%;
  height: 1px;
  background: linear-gradient(90deg, #2e3438 0%, #4d6570 50%, #2e3438 100%);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 8px 8px;
  text-align: left;
  border: 1px solid transparent;
  border-top: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 8px;
  width: 9px;
  height: 9px;
  background: #1b1e21;
  border: 1px solid #55707c;
  transform: rotate(45deg);
}
.node-timecode {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #6d8a96;
}
.node-label {
  font-size: 12px;
  line-height: 1.45;
  color: #9aa0a4;
}
.timeline-node.is-current {
  border-color: #4a2124;
  background: #1d1416;
  transform: translateY(-6px);
}
.timeline-node.is-current::before {
  top: -24px;
  left: 6px;
  width: 15px;
  height: 15px;
  background: #7a1f1f;
  border-color: #b53a3a;
  box-shadow: 0 0 0 3px rgba(122, 31, 31, 0.28);
}
.timeline-node.is-current .node-timecode {
  color: #c9553f;
  font-weight: 700;
}
.timeline-node.is-current .node-label {
  color: #e6dbd5;
  font-weight: 700;
}
.episodes-section {
  padding: 18px 0;
  border-top: 1px solid #24282c;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  gap: 3px 10px;
  align-items: baseline;
  padding: 9px 11px 9px 13px;
  border: 1px solid #2b2f33;
  background: #181b1e;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.episode-card:hover {
  border-color: #4c5b63;
  background: #1c2024;
}
.episode-number {
  grid-area: num;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6d8a96;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 700;
  color: #d5dbde;
  letter-spacing: 0.02em;
}
.episode-duration {
  grid-area: dur;
  font-size: 11px;
  color: #767e83;
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.55;
  color: #8d9296;
}
.episode-card.is-current {
  border-color: #7a1f1f;
  background: #1f1517;
}
.episode-card.is-current::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 3px;
  background: #a83030;
}
.episode-card.is-current .episode-number {
  color: #c9553f;
}
.episode-card.is-current .episode-title {
  color: #f0e6e0;
}
.comments-section {
  padding: 18px 0;
  border-top: 1px solid #24282c;
}
.comment-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.comment-item {
  padding: 9px 10px 9px 14px;
  border-left: 2px solid #2b2f33;
  margin-left: 0;
}
.comment-item + .comment-item {
  margin-left: 22px;
  margin-top: 5px;
}
.comment-item:not(.is-featured) .comment-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comment-item.is-featured {
  border-left-color: #7a1f1f;
  background: #191c1f;
  padding: 12px 14px 12px 16px;
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #7f9ba6;
}
.comment-item.is-featured .comment-nickname {
  color: #c9553f;
}
.comment-text {
  font-size: 13px;
  line-height: 1.68;
  color: #9aa0a4;
}
.comment-item.is-featured .comment-text {
  color: #c4cace;
}
.recommend-region {
  padding: 18px 0;
  border-top: 1px solid #24282c;
}
.recommend-heading {
  font-size: 14px;
  color: #d5dbde;
  border-left-color: #7a1f1f;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 14px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
  border-bottom: 1px dotted #31363a;
}
.recommend-item + .recommend-item {
  border-top: 1px dotted #31363a;
}
a[data-runtime="recommendation"], a[data-runtime="recommendation"]:visited {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 0;
  color: #b9c0c4;
  text-decoration: none;
  transition: color 0.15s ease;
}
a[data-runtime="recommendation"]:hover {
  color: #e6ecee;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  border: 1px solid #2b2f33;
  background: #101214;
  filter: saturate(0.85) brightness(0.9);
  transition: border-color 0.15s ease, filter 0.15s ease;
}
a[data-runtime="recommendation"]:hover img {
  border-color: #55707c;
  filter: saturate(1) brightness(1);
}
[data-runtime="name"] {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #d2d8db;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="blurb"] {
  font-size: 12px;
  line-height: 1.5;
  color: #868d92;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 6px;
  padding: 16px 18px 26px;
  border-top: 1px solid #2b2f33;
  background: #131518;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  max-width: 1240px;
  margin: 0 auto 10px;
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #6d8a96;
  padding-right: 8px;
  border-right: 1px solid #2f3438;
}
a.runtime-friend-link, .runtime-friend-link {
  font-size: 12px;
  color: #8b9297;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 6px;
  border: 1px solid #262a2e;
  background: #171a1d;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover, .runtime-friend-link:hover {
  color: #d6dee2;
  border-color: #4c5b63;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"], .footer-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #9aa4a9;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover, .footer-link:hover {
  color: #d8e0e4;
  border-bottom-color: #7a1f1f;
}
.footer-disclaimer {
  max-width: 1240px;
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.6;
  color: #666d72;
}
.player-video.is-muted {
  opacity: 0.98;
}
body.lights-off .overview-hero, body.lights-off .player-shell {
  background: #08090a;
}
body.lights-off .hero-poster {
  filter: saturate(0.6) brightness(0.55) contrast(1.1);
}
body.theater-mode .player-shell {
  border-color: #5d7a86;
  box-shadow: 0 0 0 1px rgba(109, 138, 150, 0.25), 0 14px 40px rgba(0, 0, 0, 0.6);
}
body.theater-mode .overview-hero {
  background-image: linear-gradient(100deg, #0b0d0e 0%, #101315 60%, rgba(16, 19, 21, 0) 100%);
}
@media (max-width: 1024px) {.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 18px;
  }
.timeline-track::before {
    display: none;
  }
.timeline-node::before {
    position: static;
    display: block;
    margin-bottom: 6px;
  }
.timeline-node.is-current::before {
    margin-bottom: 6px;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
.hero-text {
    padding: 24px 16px;
    background: linear-gradient(180deg, #101214 0%, #131619 100%);
    order: 2;
  }
.hero-poster-wrap {
    order: 1;
  }
.hero-poster {
    width: 100%;
    max-height: 52vh;
    object-position: center 22%;
  }
.hero-poster-wrap::after {
    background: linear-gradient(180deg, rgba(16, 18, 20, 0) 40%, #101214 100%);
  }
.movie-seo {
    max-width: none;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.status-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 13px;
  }
.header-inner {
    padding: 9px 13px;
    gap: 10px;
  }
.page-main {
    padding: 0 13px 18px;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
.node-label {
    font-size: 11px;
  }
.comment-item + .comment-item {
    margin-left: 12px;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 5px;
    padding: 7px 8px;
  }
.player-controls button, .player-controls select {
    padding: 5px 8px;
    font-size: 11px;
  }
.ctrl-progress {
    flex-basis: 100%;
    order: -1;
  }
.site-footer {
    padding: 14px 13px 22px;
  }}
@media (max-width: 400px) {.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-actions {
    gap: 6px;
  }
.btn-play, .btn-theater, .btn-light {
    padding: 7px 12px;
    font-size: 12px;
  }}

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}
