:root {
  --wine: #4a0f1e;
  --wine-deep: #2b0710;
  --wine-bright: #7a1a30;
  --silver: #c9ccd1;
  --silver-dim: #8a8f96;
  --ink: #0d0a0c;
  --ink-soft: #161013;
  --thread: rgba(201, 204, 209, 0.42);
  --thread-warm: rgba(180, 130, 140, 0.5);
  --mesh: rgba(201, 204, 209, 0.05);
  --gap: 10px;
  --serif: "Songti SC", "STSong", "SimSun", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(45deg, var(--mesh) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(-45deg, var(--mesh) 0 1px, transparent 1px 5px),
    radial-gradient(140% 90% at 12% 0%, #241018 0%, var(--ink) 62%);
  background-attachment: fixed;
  color: var(--silver);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.62;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, dl, dd, figure, h1, h2, h3, p {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 400;
  line-height: 1.3;
}
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
a {
  color: var(--silver);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 10, 12, 0.92);
  border-bottom: 1px solid rgba(201, 204, 209, 0.14);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.16em;
  color: var(--silver);
  text-decoration: none;
  border-left: 2px solid var(--wine-bright);
  padding-left: 9px;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #fff;
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--silver-dim);
  text-decoration: none;
  border: 1px solid rgba(201, 204, 209, 0.2);
  border-radius: 1px;
  background: linear-gradient(180deg, rgba(74, 15, 30, 0.24), rgba(13, 10, 12, 0.2));
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--wine-bright);
  text-decoration: none;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 14px 26px;
  display: block;
}
.movie-overview {
  position: relative;
  margin-top: 14px;
  padding: 16px 16px 18px;
  background:
    linear-gradient(180deg, rgba(43, 7, 16, 0.86) 0%, rgba(13, 10, 12, 0.94) 58%),
    var(--ink-soft);
  border: 1px solid rgba(201, 204, 209, 0.12);
  border-top: 2px solid var(--wine);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(201, 204, 209, 0.035) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(-45deg, rgba(201, 204, 209, 0.035) 0 1px, transparent 1px 6px);
}
.overview-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  grid-template-areas:
    "poster head"
    "player player";
  gap: 16px 20px;
  align-items: start;
}
.poster-shell {
  grid-area: poster;
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 260px;
  padding: 5px;
  background: linear-gradient(160deg, rgba(122, 26, 48, 0.5), rgba(13, 10, 12, 0.9));
  border: 1px solid rgba(201, 204, 209, 0.16);
}
.main-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) brightness(0.94);
}
.thread-thread {
  position: absolute;
  left: -14px;
  bottom: -14px;
  width: 46%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--thread-warm), transparent);
  transform: rotate(-32deg);
  transform-origin: left center;
  pointer-events: none;
}
.overview-head {
  grid-area: head;
  min-width: 0;
  padding-top: 2px;
}
.movie-title {
  font-family: var(--serif);
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: 0.06em;
  color: #f2ecec;
  text-shadow: 0 0 22px rgba(122, 26, 48, 0.7);
}
.movie-tagline {
  margin-top: 6px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: #d9b8bf;
  border-left: 1px solid var(--wine-bright);
  padding-left: 10px;
}
.movie-seo {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--silver-dim);
  text-align: justify;
}
.player-shell {
  grid-area: player;
  position: relative;
  min-width: 0;
  width: 100%;
  background: #000;
  border: 1px solid rgba(201, 204, 209, 0.16);
  border-top: 2px solid var(--wine-bright);
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(43, 7, 16, 0.72), rgba(13, 10, 12, 0.92));
  border-top: 1px solid rgba(201, 204, 209, 0.12);
}
.ctrl {
  flex: 0 0 auto;
  padding: 3px 9px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--silver-dim);
  background: rgba(201, 204, 209, 0.05);
  border: 1px solid rgba(201, 204, 209, 0.18);
  border-radius: 1px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.ctrl:hover, .ctrl:focus-visible {
  color: #fff;
  border-color: var(--wine-bright);
  background: rgba(122, 26, 48, 0.28);
}
.ctrl.is-active, .ctrl.play.is-active, .ctrl.mute.is-active, .ctrl.pause.is-active, .ctrl.pip.is-active, .ctrl.speed.is-active, .ctrl.theater.is-active, .ctrl.fullscreen.is-active, .ctrl.light.is-active {
  color: #fff;
  border-color: var(--wine-bright);
  background: rgba(122, 26, 48, 0.42);
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 96px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(201, 204, 209, 0.2);
  border: none;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wine-bright);
  border: 1px solid var(--silver);
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wine-bright);
  border: 1px solid var(--silver);
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 60px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(201, 204, 209, 0.2);
  border: none;
  cursor: pointer;
}
.player-shell.is-theater {
  border-color: var(--wine-bright);
  box-shadow: 0 0 0 1px rgba(122, 26, 48, 0.6), 0 22px 50px rgba(0, 0, 0, 0.7);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off .main-player {
  filter: brightness(0.62);
}
.player-shell.is-lights-off .player-controls {
  background: #050405;
}
.main-player.is-playing {
  box-shadow: inset 0 0 0 1px rgba(122, 26, 48, 0.45);
}
.cast-panel {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(201, 204, 209, 0.12);
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.24em;
  color: #e6d9dc;
  padding-left: 10px;
  border-left: 2px solid var(--wine-bright);
  margin-bottom: 10px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.cast-card {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-areas:
    "media tag"
    "media note";
  gap: 4px 10px;
  align-content: start;
  padding: 8px 9px;
  background: linear-gradient(150deg, rgba(43, 7, 16, 0.5), rgba(13, 10, 12, 0.72));
  border: 1px solid rgba(201, 204, 209, 0.1);
  border-left: 2px solid rgba(122, 26, 48, 0.55);
}
.cast-media {
  grid-area: media;
  width: 62px;
  align-self: start;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(201, 204, 209, 0.16);
}
.cast-portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 3px;
  filter: saturate(0.7) contrast(1.05);
}
.cast-role-tag {
  grid-area: tag;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: #f0e6e8;
  align-self: end;
}
.cast-thread {
  position: absolute;
  left: 8px;
  bottom: 6px;
  right: 8px;
  height: 1px;
  background: linear-gradient(90deg, var(--thread-warm), transparent 78%);
  pointer-events: none;
}
.cast-note {
  grid-area: note;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--silver-dim);
}
.synopsis-panel {
  margin-top: 14px;
  padding: 12px 13px;
  background: rgba(201, 204, 209, 0.028);
  border: 1px solid rgba(201, 204, 209, 0.1);
  border-left: 2px solid var(--wine);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.82;
  color: #b9b6ba;
  text-align: justify;
}
.synopsis-para + .synopsis-para {
  margin-top: 8px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.status-chip {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border: 1px solid rgba(201, 204, 209, 0.2);
  border-radius: 1px;
  color: var(--silver-dim);
  background: rgba(13, 10, 12, 0.5);
  white-space: nowrap;
}
.status-total {
  color: #d7c3c8;
}
.status-current {
  color: #fff;
  border-color: var(--wine-bright);
  background: rgba(122, 26, 48, 0.32);
}
.details-panel {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(201, 204, 209, 0.12);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0 var(--gap);
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 2px;
  border-bottom: 1px dashed rgba(201, 204, 209, 0.12);
  min-width: 0;
}
.detail-key {
  flex: 0 0 62px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--silver-dim);
  white-space: nowrap;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: #ded7d9;
}
.timeline-section {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 204, 209, 0.1);
}
.timeline-rail {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: var(--gap);
  padding: 4px 2px 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  background-image: linear-gradient(90deg, var(--thread) 0 100%);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 12px;
}
.timeline-node {
  position: relative;
  scroll-snap-align: start;
  min-width: 0;
  padding: 22px 8px 8px;
  background: linear-gradient(180deg, rgba(43, 7, 16, 0.42), rgba(13, 10, 12, 0.7));
  border: 1px solid rgba(201, 204, 209, 0.1);
}
.timeline-stitch {
  position: absolute;
  top: 6px;
  left: 8px;
  width: 13px;
  height: 13px;
  border: 1px solid var(--thread);
  border-radius: 50%;
  background: var(--ink);
}
.timeline-stitch::before, .timeline-stitch::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 6px;
  background: var(--thread-warm);
  transform: translateX(-50%);
}
.timeline-stitch::before {
  top: -7px;
}
.timeline-stitch::after {
  bottom: -7px;
}
.timeline-node.is-active {
  border-color: var(--wine-bright);
  background: linear-gradient(180deg, rgba(122, 26, 48, 0.42), rgba(13, 10, 12, 0.75));
}
.timeline-node.is-active .timeline-stitch {
  border-color: var(--wine-bright);
  box-shadow: 0 0 10px rgba(122, 26, 48, 0.8);
}
.timeline-time {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #d9b8bf;
  margin-bottom: 4px;
}
.timeline-label {
  display: block;
  font-size: 12px;
  line-height: 1.65;
  color: var(--silver-dim);
}
.episodes-section {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 204, 209, 0.1);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.episode-card {
  position: relative;
  min-width: 0;
  padding: 10px 12px 12px;
  background: linear-gradient(160deg, rgba(43, 7, 16, 0.5), rgba(13, 10, 12, 0.78));
  border: 1px solid rgba(201, 204, 209, 0.1);
  clip-path: polygon(0 0, 100% 1%, 99.4% 100%, 0.6% 99%);
}
.episode-odd {
  border-left: 2px solid rgba(122, 26, 48, 0.72);
  transform: translateX(-1px);
}
.episode-even {
  border-right: 2px solid rgba(201, 204, 209, 0.3);
  transform: translateX(1px);
}
.episode-number {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #e2c9cf;
  padding: 1px 7px;
  border: 1px solid rgba(201, 204, 209, 0.2);
  background: rgba(13, 10, 12, 0.6);
  white-space: nowrap;
}
.episode-title {
  margin-top: 6px;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: #f1e9ea;
}
.episode-summary {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.72;
  color: #a9a6ab;
  text-align: justify;
}
.episode-duration {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--silver-dim);
  border-top: 1px dashed rgba(201, 204, 209, 0.22);
  padding-top: 5px;
}
.comments-section {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 204, 209, 0.1);
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  align-items: start;
  padding: 6px 4px 10px;
}
.comment-note {
  min-width: 0;
  padding: 9px 11px 11px;
  background: linear-gradient(170deg, rgba(201, 204, 209, 0.09), rgba(43, 7, 16, 0.34));
  border: 1px solid rgba(201, 204, 209, 0.14);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  transform-origin: center top;
}
.comment-rot-a {
  transform: rotate(-1.4deg);
}
.comment-rot-b {
  transform: rotate(1.1deg);
}
.comment-rot-c {
  transform: rotate(-0.8deg);
}
.comment-rot-d {
  transform: rotate(1.6deg);
}
.comment-rot-e {
  transform: rotate(-1.1deg);
}
.comment-rot-f {
  transform: rotate(0.9deg);
}
.comment-nickname {
  display: block;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #e0c5cb;
  padding-bottom: 5px;
  border-bottom: 1px dashed rgba(201, 204, 209, 0.2);
}
.comment-text {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.72;
  color: #b6b2b7;
}
.recommend-region {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 204, 209, 0.1);
}
.recommend-heading {
  position: relative;
  background-image: linear-gradient(90deg, var(--thread-warm), transparent 82%);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 0.82em;
  padding-bottom: 2px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--gap);
  align-items: start;
}
a.recommend-card {
  display: block;
  min-width: 0;
  padding: 6px;
  color: var(--silver);
  text-decoration: none;
  background: linear-gradient(165deg, rgba(43, 7, 16, 0.44), rgba(13, 10, 12, 0.8));
  border: 1px solid rgba(201, 204, 209, 0.1);
  border-bottom: 2px solid rgba(122, 26, 48, 0.5);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
a.recommend-card:hover {
  color: #fff;
  text-decoration: none;
  border-color: var(--wine-bright);
  border-bottom-color: var(--wine-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06) brightness(0.94);
  border: 1px solid rgba(201, 204, 209, 0.08);
}
.recommend-name {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #ece2e4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--silver-dim);
}
.site-footer {
  margin-top: 30px;
  background: linear-gradient(180deg, rgba(43, 7, 16, 0.5), rgba(5, 4, 5, 0.96));
  border-top: 2px solid var(--wine);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 14px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--silver-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  text-decoration: none;
  border-bottom-color: var(--wine-bright);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  min-width: 0;
}
.friend-links-label {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #d9b8bf;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--silver-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 6px;
  border: 1px solid rgba(201, 204, 209, 0.14);
  background: rgba(201, 204, 209, 0.03);
}
a.runtime-friend-link:hover {
  color: #fff;
  text-decoration: none;
  border-color: var(--wine-bright);
}
.footer-disclaimer {
  flex: 1 1 260px;
  min-width: 0;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(138, 143, 150, 0.8);
}
@media (max-width: 860px) {.overview-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "poster"
      "player";
    gap: 12px;
  }
.poster-shell {
    max-width: 210px;
  }
.timeline-rail {
    grid-auto-columns: minmax(170px, 78%);
  }}
@media (max-width: 560px) {body {
    font-size: 13.5px;
  }
.page-main {
    padding: 0 10px 20px;
  }
.movie-overview {
    padding: 12px 11px 14px;
  }
.poster-shell {
    max-width: 168px;
  }
.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list, .comment-list, .recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.timeline-rail {
    grid-auto-columns: minmax(160px, 84%);
  }
.player-controls {
    gap: 5px;
  }
.ctrl {
    padding: 3px 7px;
    font-size: 11px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: -1;
  }}
@media (min-width: 1080px) {.episode-list {
    grid-template-columns: repeat(3, 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}
