:root {
  --ink: #14161a;
  --ink-deep: #0d0f12;
  --ink-soft: #1b1e23;
  --ruby: #7a1224;
  --ruby-mid: #5e0e1c;
  --ruby-dark: #3a0812;
  --ruby-bright: #a8243c;
  --silver: #c9cfd6;
  --silver-dim: #8a929c;
  --silver-deep: #4c545e;
  --vein: #3f6b54;
  --line: #262a30;
  --line-soft: #1f2329;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, dt, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
body {
  background: var(--ink-deep);
  color: var(--silver);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: rgba(13, 15, 18, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}
a[data-contract="site-name"] {
  color: var(--silver);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
a[data-contract="site-name"]:hover {
  color: var(--ruby-bright);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--silver-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
a.runtime-category:hover {
  color: var(--silver);
  border-color: var(--ruby);
  background: rgba(122, 18, 36, 0.22);
}
.movie-main {
  display: block;
  padding: 0 16px 24px;
}
.hero-section {
  position: relative;
  padding-top: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.hero-backdrop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(122, 18, 36, 0.55) 0%, rgba(58, 8, 18, 0.25) 42%, rgba(13, 15, 18, 0) 72%),
    linear-gradient(160deg, #1c1116 0%, #101216 60%, #0c0e11 100%);
}
.hero-media-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 260px;
  margin-left: auto;
  border-left: 1px solid var(--line);
  background: var(--ink);
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, rgba(201, 207, 214, 0.05) 0px, rgba(201, 207, 214, 0.05) 1px, transparent 1px, transparent 9px),
    radial-gradient(60% 55% at 22% 74%, rgba(63, 107, 84, 0.28) 0%, rgba(63, 107, 84, 0) 70%);
}
.hero-info {
  position: relative;
  z-index: 3;
  margin-top: 14px;
  padding-bottom: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.movie-title {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f2f0ee;
}
.movie-tagline {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ruby-bright);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.hero-player-wrap {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid var(--line);
}
.main-player {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: #101317;
  border-top: 1px solid var(--line);
}
.player-btn {
  padding: 4px 9px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--silver);
  background: #171b20;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.player-btn:hover {
  border-color: var(--ruby);
  color: #fff;
}
.player-btn.is-playing, .player-btn.is-active {
  background: var(--ruby);
  border-color: var(--ruby-bright);
  color: #fff;
}
.player-btn.is-muted {
  border-color: var(--vein);
  color: var(--vein);
}
.player-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--silver-deep);
  border-radius: 2px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ruby-bright);
  border: none;
}
.player-progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--ruby-bright);
}
.player-volume {
  flex: 0 1 80px;
  min-width: 60px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--silver-deep);
  border-radius: 2px;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--silver);
  border: none;
}
.player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--silver);
}
.hero-player-wrap.lights-off {
  background: #000;
  box-shadow: 0 0 0 1px var(--ruby-dark), 0 0 40px rgba(0, 0, 0, 0.9);
}
.hero-player-wrap.lights-off .player-controls {
  background: #05070a;
}
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.meta-item {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--silver-dim);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--ruby);
  background: var(--ink-soft);
  white-space: nowrap;
}
.cast-strip {
  padding-top: 4px;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--silver);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--ruby);
}
.cast-heading {
  margin-bottom: 8px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.cast-avatar {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 2px;
  background:
    linear-gradient(135deg, var(--ruby-mid) 0%, var(--ruby-dark) 55%, var(--vein) 100%);
  clip-path: polygon(50% 0%, 100% 30%, 82% 100%, 18% 100%, 0% 30%);
}
.cast-name {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--silver);
  white-space: nowrap;
}
.synopsis-block {
  padding-top: 4px;
}
.synopsis-heading {
  margin-bottom: 8px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: #b4bbc3;
  margin-bottom: 8px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-panel {
  padding-top: 4px;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 12px;
}
.details-heading {
  margin-bottom: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-key {
  flex: 0 0 76px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--silver-dim);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: var(--silver);
}
.timeline-section {
  padding-top: 22px;
}
.timeline-heading {
  margin-bottom: 12px;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--ruby-mid) var(--line-soft);
  -webkit-overflow-scrolling: touch;
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: var(--line-soft);
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--ruby-mid);
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  padding: 4px 0 6px;
  width: max-content;
  min-width: 100%;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--ruby-mid) 0%, var(--silver-deep) 45%, var(--line) 100%);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 0;
  text-align: left;
}
.node-gem {
  width: 13px;
  height: 13px;
  margin-top: 10px;
  background: var(--silver-deep);
  transform: rotate(45deg);
  border: 1px solid var(--silver-dim);
  position: relative;
  z-index: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.timeline-node:first-child .node-gem {
  background: var(--ruby);
  border-color: var(--ruby-bright);
  box-shadow: 0 0 0 3px rgba(122, 18, 36, 0.28);
}
.timeline-node:hover .node-gem {
  background: var(--ruby-bright);
  border-color: #e0a4b0;
}
.node-timecode {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ruby-bright);
  font-weight: 700;
}
.timeline-node:first-child .node-timecode {
  color: #d94a63;
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: #a9b0b8;
}
.episodes-section {
  padding-top: 22px;
}
.episodes-heading {
  margin-bottom: 12px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  column-gap: 8px;
  row-gap: 4px;
  align-items: center;
  padding: 8px 10px;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ruby-dark);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.episode-card:hover {
  border-left-color: var(--ruby-bright);
  background: #1e2228;
}
.episode-number {
  grid-area: num;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ruby-bright);
  line-height: 1;
  min-width: 18px;
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e6e4e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.5;
  color: #99a1aa;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  grid-area: dur;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--silver-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.22s ease;
}
.episode-card:hover .episode-duration {
  max-height: 20px;
  opacity: 1;
}
.comments-section {
  padding-top: 22px;
}
.comments-heading {
  margin-bottom: 12px;
}
.comments-masonry {
  column-count: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 10px;
  padding: 9px 11px;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ruby-dark);
}
.comment-nickname {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ruby-bright);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.5;
  color: #a7aeb6;
}
.recommend-region {
  margin-top: 22px;
  padding: 12px;
  border: 1px solid var(--line);
}
.region-1 {
  background: linear-gradient(180deg, #2a0a13 0%, #1a0810 100%);
  border-color: #45101d;
}
.region-2 {
  background: linear-gradient(180deg, #1e0810 0%, #14070d 100%);
  border-color: #370e18;
}
.region-3 {
  background: linear-gradient(180deg, #15070c 0%, #100609 100%);
  border-color: #2c0c14;
}
.recommend-heading {
  margin-bottom: 10px;
  border-bottom-color: rgba(201, 207, 214, 0.14);
}
.recommend-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
a.recommend-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas:
    "thumb name"
    "thumb blurb";
  column-gap: 9px;
  row-gap: 2px;
  align-items: start;
  padding: 6px;
  color: var(--silver);
  text-decoration: none;
  border: 1px solid transparent;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 2px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
a.recommend-item:hover {
  border-color: var(--ruby-bright);
  background: rgba(122, 18, 36, 0.24);
}
a.recommend-item img, [data-runtime="recommendation"] img {
  grid-area: thumb;
  width: 100%;
  height: 100%;
  max-height: 74px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--ink-deep);
}
.recommend-name {
  grid-area: name;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e2e0dd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  grid-area: blurb;
  font-size: 11px;
  line-height: 1.45;
  color: #98a0a9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 26px;
  padding: 16px 16px 24px;
  border-top: 1px solid var(--line);
  background: var(--ink);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--silver-dim);
  max-width: 720px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--silver);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ruby-bright);
  border-bottom-color: var(--ruby-bright);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--vein);
  padding-right: 4px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--silver-dim);
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--silver);
  border-color: var(--vein);
  background: rgba(63, 107, 84, 0.16);
}
.movie-main.theater-mode .hero-backdrop {
  border-color: var(--ruby-dark);
}
.movie-main.theater-mode .hero-player-wrap {
  box-shadow: 0 0 0 1px var(--ruby-dark), 0 10px 40px rgba(0, 0, 0, 0.6);
}
@media (max-width: 900px) {.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 13px;
  }
.movie-main {
    padding: 0 12px 20px;
  }
.hero-media-wrap {
    max-width: 190px;
  }
.movie-title {
    font-size: 24px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-masonry {
    column-count: 1;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    width: 148px;
  }
.player-btn {
    padding: 4px 7px;
    font-size: 11px;
  }
.detail-key {
    flex-basis: 66px;
  }}
@media (max-width: 420px) {.site-header {
    padding: 9px 12px;
  }
.hero-media-wrap {
    max-width: 150px;
  }
.cast-item {
    padding: 4px 8px 4px 4px;
  }}

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}
