:root {
  --ink-deep: #0d1218;
  --ink: #121a22;
  --ink-2: #17212b;
  --ink-3: #1e2a35;
  --line: #2a3742;
  --line-soft: #22303c;
  --wood: #4a3628;
  --wood-2: #5c4433;
  --amber: #d9a24a;
  --amber-soft: #b8863a;
  --warm-white: #ece5da;
  --warm-dim: #b9b2a6;
  --warm-faint: #8d877c;
  --radius: 3px;
  --gap-tight: 8px;
  --gap: 12px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--ink-deep);
  background-image:
    radial-gradient(120% 90% at 15% 0%, rgba(74, 54, 40, 0.28) 0%, rgba(13, 18, 24, 0) 58%),
    radial-gradient(90% 70% at 90% 8%, rgba(30, 42, 53, 0.55) 0%, rgba(13, 18, 24, 0) 60%),
    linear-gradient(180deg, #0f151c 0%, #0d1218 40%, #0b1015 100%);
  color: var(--warm-white);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, dl, dd, dt, figure, ul, ol, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
::selection {
  background: rgba(217, 162, 74, 0.32);
  color: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 16, 21, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  color: var(--amber);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #f0bd63;
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  color: var(--warm-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(30, 42, 53, 0.5);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--amber);
  text-decoration: none;
  border-color: var(--amber-soft);
  background: rgba(74, 54, 40, 0.45);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 24px;
}
.section-heading {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--warm-white);
  padding: 0 0 6px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--amber);
}
.movie-overview {
  display: block;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--line);
}
.poster-column {
  display: block;
  min-width: 0;
}
.poster-wrap {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink-3), var(--wood));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(217, 162, 74, 0.08);
}
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 18, 24, 0) 55%, rgba(13, 18, 24, 0.85) 100%),
    linear-gradient(90deg, rgba(74, 54, 40, 0.22), rgba(13, 18, 24, 0));
  mix-blend-mode: multiply;
}
.poster-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}
.hero-content {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0 0;
  isolation: isolate;
}
.window-texture {
  position: absolute;
  top: -20px;
  right: -16px;
  bottom: 0;
  width: 62%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(90deg, rgba(236, 229, 218, 0.55) 0 1px, rgba(0, 0, 0, 0) 1px 34px),
    repeating-linear-gradient(0deg, rgba(236, 229, 218, 0.5) 0 1px, rgba(0, 0, 0, 0) 1px 40px),
    repeating-linear-gradient(90deg, rgba(217, 162, 74, 0.35) 0 3px, rgba(0, 0, 0, 0) 3px 34px),
    repeating-linear-gradient(0deg, rgba(217, 162, 74, 0.3) 0 3px, rgba(0, 0, 0, 0) 3px 40px);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 45%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 45%, #000 100%);
}
.title-block {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 30ch;
  padding-left: 12px;
  border-left: 2px solid var(--amber-soft);
}
.movie-title {
  font-size: clamp(20px, 3.4vw, 30px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f4ecdf;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.movie-tagline {
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--amber);
  opacity: 0.92;
}
.player-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: 100%;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23, 33, 43, 0.9), rgba(13, 18, 24, 0.95));
  box-shadow: inset 0 0 0 1px rgba(217, 162, 74, 0.06);
}
.player-wrap video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  background: #05080b;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 4px 2px 2px;
}
.player-controls button {
  padding: 4px 9px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--warm-dim);
  background: rgba(30, 42, 53, 0.85);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-controls button:hover {
  color: var(--amber);
  border-color: var(--amber-soft);
  background: rgba(74, 54, 40, 0.5);
}
.player-controls button.is-active, .player-controls button.is-playing {
  color: var(--ink-deep);
  background: var(--amber);
  border-color: var(--amber);
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  flex: 1 1 90px;
  min-width: 60px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber-soft), var(--line));
  cursor: pointer;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--amber);
}
.player-controls select {
  padding: 3px 6px;
  font-size: 11.5px;
  color: var(--warm-dim);
  background: rgba(30, 42, 53, 0.9);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.movie-overview.is-light-off .hero-shell {
  filter: brightness(0.62) saturate(0.7);
}
.movie-overview.is-theater .hero-shell {
  grid-template-columns: minmax(0, 1fr);
}
.movie-overview.is-theater .poster-column {
  display: none;
}
.cast-panel {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(30, 42, 53, 0.72), rgba(19, 27, 35, 0.72));
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.cast-card:hover {
  border-color: var(--amber-soft);
  transform: translateY(-1px);
}
.cast-avatar {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, rgba(236, 229, 218, 0.55) 0 26%, rgba(0, 0, 0, 0) 27%),
    radial-gradient(circle at 50% 84%, rgba(236, 229, 218, 0.4) 0 34%, rgba(0, 0, 0, 0) 35%),
    linear-gradient(150deg, var(--wood-2), #1b2530);
  border: 1px solid rgba(217, 162, 74, 0.4);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}
.cast-name {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--warm-white);
  white-space: nowrap;
}
.synopsis-panel {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}
.synopsis-columns {
  column-count: 2;
  column-gap: 26px;
  column-rule: 1px solid var(--line-soft);
}
.synopsis-text {
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--warm-dim);
  text-indent: 2em;
  text-align: justify;
  break-inside: avoid;
  margin-bottom: 8px;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.episode-status-panel {
  padding: 12px 0 10px;
  border-bottom: 1px solid var(--line);
}
.episode-status-line {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--amber);
  padding: 4px 12px;
  border: 1px solid rgba(217, 162, 74, 0.35);
  border-radius: 2px;
  background: rgba(74, 54, 40, 0.35);
}
.details-panel {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(19, 27, 35, 0.92);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--warm-faint);
  white-space: nowrap;
}
.detail-value {
  font-size: 12.5px;
  color: var(--warm-white);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-panel {
  padding: 14px 0 14px;
  border-bottom: 1px solid var(--line);
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding: 10px 6px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--wood-2) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 5px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--wood-2);
  border-radius: 3px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(30, 42, 53, 0.4);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding: 14px 14px 12px 18px;
  border-left: 1px dashed rgba(217, 162, 74, 0.32);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline-node:first-child {
  border-left: none;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-deep);
  border: 1px solid var(--amber-soft);
  transform: translateX(-0.5px);
}
.timeline-node:first-child::before {
  left: 0;
}
.timeline-timecode {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--warm-faint);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--warm-dim);
}
.timeline-node.is-current {
  background: linear-gradient(180deg, rgba(74, 54, 40, 0.55), rgba(74, 54, 40, 0.12));
  border-left-color: rgba(217, 162, 74, 0.7);
}
.timeline-node.is-current::before {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(217, 162, 74, 0.22);
}
.timeline-node.is-current .timeline-timecode {
  color: var(--amber);
}
.timeline-node.is-current .timeline-label {
  color: #f3ead9;
}
.episodes-panel {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "sum sum";
  align-items: baseline;
  column-gap: 8px;
  row-gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--wood-2);
  border-radius: 2px;
  background: rgba(19, 27, 35, 0.7);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card:hover, .episode-card.is-current {
  border-color: var(--amber-soft);
  border-left-color: var(--amber);
  background: rgba(74, 54, 40, 0.32);
}
.episode-number {
  grid-area: num;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--amber-soft);
  white-space: nowrap;
}
.episode-card.is-current .episode-number {
  color: var(--amber);
}
.episode-title {
  grid-area: title;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--warm-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--warm-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-duration {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--amber);
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.episode-card:hover .episode-duration {
  opacity: 1;
  transform: translateY(0);
}
.comments-panel {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}
.comments-masonry {
  column-count: 3;
  column-gap: 8px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(30, 42, 53, 0.6), rgba(19, 27, 35, 0.6));
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.62;
  color: var(--warm-dim);
  margin-bottom: 5px;
}
.comment-nickname {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--amber-soft);
}
.comment-nickname::before {
  content: "— ";
  color: var(--warm-faint);
}
.recommend-region {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}
.region-heading {
  position: relative;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--warm-white);
  padding-bottom: 5px;
  margin-bottom: 10px;
}
.region-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 1px;
  background: var(--amber);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.recommend-item {
  min-width: 0;
  display: block;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  height: 100%;
  color: var(--warm-dim);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(19, 27, 35, 0.7);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
a[data-runtime="recommendation"]:hover {
  color: var(--warm-white);
  text-decoration: none;
  border-color: var(--amber-soft);
  background: rgba(74, 54, 40, 0.3);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 2px;
  background: linear-gradient(150deg, var(--ink-3), var(--wood));
  filter: saturate(0.85) brightness(0.92);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--warm-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--warm-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--warm-faint);
  max-width: 70ch;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--amber-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 162, 74, 0.3);
  padding-bottom: 1px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  text-decoration: none;
  border-bottom-color: var(--amber);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--warm-faint);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--warm-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 980px) {.recommend-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-masonry {
    column-count: 2;
  }
.hero-shell {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 14px;
  }}
@media (max-width: 760px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    max-width: 220px;
  }
.window-texture {
    width: 78%;
    opacity: 0.12;
  }
.synopsis-columns {
    column-count: 1;
    column-rule: none;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-masonry {
    column-count: 2;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    width: 150px;
  }}
@media (max-width: 480px) {.page-main {
    padding: 0 12px 20px;
  }
.header-inner {
    padding: 8px 12px;
  }
.site-footer {
    padding: 12px 12px 22px;
  }
.comments-masonry {
    column-count: 1;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.cast-list {
    gap: 6px;
  }
.cast-card {
    padding: 4px 10px 4px 4px;
  }
.timeline-node {
    width: 138px;
    padding-right: 10px;
  }}

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}
