*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --iron: #4a4f55;
  --iron-deep: #33383e;
  --iron-light: #5c636b;
  --abyss: #0c141d;
  --abyss-2: #101a26;
  --abyss-3: #16222f;
  --fog: #7d8b99;
  --fog-dim: #5a6672;
  --rust: #b45a2b;
  --rust-bright: #d4703a;
  --moon: #c8d2dc;
  --line: rgba(125, 139, 153, 0.22);
  --line-strong: rgba(125, 139, 153, 0.4);
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, "Courier New", monospace;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--abyss);
  color: var(--moon);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
  background-image:
    linear-gradient(180deg, rgba(12, 20, 29, 0) 0%, rgba(12, 20, 29, 0.6) 60%, var(--abyss) 100%),
    repeating-linear-gradient(90deg, rgba(74, 79, 85, 0.05) 0 1px, transparent 1px 4px);
}
img, video { display: block; max-width: 100%; }
a { color: var(--fog); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--rust-bright); }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
.section-heading {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--moon);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(9, 15, 22, 0.97) 0%, rgba(9, 15, 22, 0.88) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"].site-brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.22em;
  color: var(--moon);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"].site-brand:hover { color: var(--rust-bright); }
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--fog);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: rgba(74, 79, 85, 0.14);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--rust-bright);
  border-color: rgba(180, 90, 43, 0.55);
  background: rgba(180, 90, 43, 0.1);
}
.page-main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 16px 18px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.movie-overview {
  background: linear-gradient(160deg, var(--abyss-2) 0%, var(--iron-deep) 128%);
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.hero-poster-shell {
  position: relative;
  width: 100%;
  max-width: 260px;
  border: 1px solid var(--line-strong);
  background: var(--iron-deep);
  line-height: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}
.hero-poster-shell img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}
.hero-video-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.hero-video-shell video {
  display: block;
  width: 100%;
  background: #060b11;
  border: 1px solid var(--line-strong);
}
.player-control-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: rgba(12, 20, 29, 0.82);
  border: 1px solid var(--line);
}
.player-btn {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fog);
  background: rgba(74, 79, 85, 0.24);
  border: 1px solid var(--line);
  padding: 4px 9px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-btn:hover { color: var(--moon); border-color: var(--line-strong); background: rgba(74, 79, 85, 0.42); }
.player-btn.is-active, .player-btn.play.is-active {
  color: var(--rust-bright);
  border-color: rgba(180, 90, 43, 0.6);
  background: rgba(180, 90, 43, 0.14);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex: 1 1 90px;
  min-width: 70px;
  background: var(--iron);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  background: var(--rust-bright);
  border-radius: 50%;
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  background: var(--rust-bright);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.player-select {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--fog);
  background: rgba(74, 79, 85, 0.24);
  border: 1px solid var(--line);
  padding: 3px 6px;
  cursor: pointer;
}
.hero-video-shell.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: 0;
  gap: 0;
  background: #04080d;
  justify-content: center;
}
.hero-video-shell.theater-mode video {
  border: none;
  max-height: 82vh;
  object-fit: contain;
}
.hero-video-shell.theater-mode .player-control-panel {
  border-left: none;
  border-right: none;
  justify-content: center;
}
.hero-video-shell.lights-off { background: #000; }
.hero-video-shell.lights-off video { filter: brightness(0.55) contrast(1.1); }
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: #e8eef5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}
.movie-tagline {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--rust-bright);
  border-left: 3px solid var(--rust);
  padding-left: 10px;
}
.movie-description {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.78;
  color: var(--fog);
  max-width: 68ch;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: baseline;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(74, 79, 85, 0.1);
}
.status-line {
  font-size: 12.5px;
  color: var(--fog);
  letter-spacing: 0.06em;
}
.status-number {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--moon);
  padding: 0 1px;
}
.status-rating {
  font-size: 12.5px;
  color: var(--fog-dim);
  letter-spacing: 0.08em;
  margin-left: auto;
}
.rating-number {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--rust-bright);
  letter-spacing: 0.02em;
  text-shadow: 0 0 14px rgba(212, 112, 58, 0.35);
}
.movie-details { margin-top: 2px; }
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0 16px;
}
.detail-item {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px solid rgba(125, 139, 153, 0.12);
  font-size: 12.5px;
  min-width: 0;
}
.detail-item dt {
  flex: 0 0 auto;
  color: var(--fog-dim);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.detail-item dd {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--moon);
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.01em;
}
.cast-block { margin-top: 2px; }
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: flex-start;
}
.cast-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 62px;
}
.cast-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 34% 30%, rgba(125, 139, 153, 0.5), rgba(12, 20, 29, 0.9) 72%),
    linear-gradient(150deg, var(--iron-light), var(--abyss-2));
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.7);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(200, 210, 220, 0.14);
}
.cast-name {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--fog);
  white-space: nowrap;
  text-align: center;
}
.synopsis-block { margin-top: 2px; }
.synopsis-columns {
  column-count: 2;
  column-gap: 24px;
  column-rule: 1px solid var(--line);
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.82;
  color: var(--fog);
  margin-bottom: 10px;
  break-inside: avoid;
}
.synopsis-paragraph:first-child { color: #a9b5c1; }
.timeline-section { padding: 4px 0; }
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--line);
  padding-left: 0;
}
.timeline-node {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 7px 0 7px 16px;
  position: relative;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--iron-light);
  border: 1px solid var(--abyss);
  box-shadow: 0 0 0 1px var(--line-strong);
}
.timeline-code {
  flex: 0 0 auto;
  width: 56px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--fog-dim);
}
.timeline-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: var(--fog);
}
.timeline-node-current {
  padding: 11px 0 11px 16px;
  background: linear-gradient(90deg, rgba(180, 90, 43, 0.14), rgba(180, 90, 43, 0) 78%);
  border-bottom: 2px solid var(--rust);
}
.timeline-node-current::before {
  background: var(--rust-bright);
  width: 9px;
  height: 9px;
  left: -5px;
  top: 16px;
  box-shadow: 0 0 12px rgba(212, 112, 58, 0.8);
}
.timeline-node-current .timeline-code {
  font-size: 14px;
  color: var(--rust-bright);
}
.timeline-node-current .timeline-label {
  font-size: 14.5px;
  color: #dbe4ed;
  font-family: var(--serif);
  letter-spacing: 0.02em;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 13px;
  background: rgba(74, 79, 85, 0.16);
  min-width: 0;
  transition: background 0.18s ease;
}
.episode-card:hover { background: var(--abyss-3); }
.episode-title {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #dfe7ef;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--fog-dim);
  flex: 0 1 auto;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--fog);
  padding-top: 4px;
  border-top: 1px solid rgba(125, 139, 153, 0.14);
  margin-top: auto;
}
.comment-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-card {
  padding: 8px 12px 9px 14px;
  border-left: 2px solid var(--line-strong);
  background: rgba(74, 79, 85, 0.09);
  min-width: 0;
}
.comment-card-featured {
  border-left-color: var(--rust);
  background: rgba(180, 90, 43, 0.09);
  padding: 11px 14px 12px 16px;
}
.comment-card-featured .comment-nickname { color: var(--rust-bright); }
.comment-nickname {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--fog);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 13px;
  line-height: 1.72;
  color: var(--moon);
  max-width: 78ch;
}
.recommend-region { padding: 2px 0; }
.recommend-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.recommend-item { min-width: 0; }
a[data-runtime="recommendation"] {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
  border-bottom: 1px solid rgba(125, 139, 153, 0.16);
  color: var(--fog);
  text-decoration: none;
  transition: color 0.16s ease, background 0.16s ease;
}
a[data-runtime="recommendation"]:hover {
  color: var(--moon);
  background: rgba(74, 79, 85, 0.18);
}
[data-runtime="recommendation"] img {
  flex: 0 0 auto;
  width: 62px;
  height: 88px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--iron-deep);
  filter: saturate(0.85) brightness(0.92);
}
a[data-runtime="recommendation"] > span[data-runtime="name"] {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #d3dce5;
  white-space: nowrap;
  max-width: 8em;
  overflow: hidden;
  text-overflow: ellipsis;
}
a[data-runtime="recommendation"] > span[data-runtime="blurb"] {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--fog-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 18px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--fog-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fog);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover { color: var(--rust-bright); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 8px;
  border-top: 1px solid rgba(125, 139, 153, 0.14);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--fog);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover { color: var(--rust-bright); text-decoration: underline; }
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--fog-dim);
  max-width: 92ch;
}
.player.progress { cursor: progress; }
.data-player-action { cursor: pointer; }
.data-player-action.input { cursor: pointer; }
.player-btn.change { color: var(--rust-bright); }
.player-btn.click { border-color: var(--line-strong); }
.player-btn.mute.is-active, .player-btn.play.is-active, .player-btn.pip.is-active, .player-btn.fullscreen.is-active, .player-btn.theater.is-active, .player-btn.light.is-active {
  color: var(--rust-bright);
  border-color: rgba(180, 90, 43, 0.6);
  background: rgba(180, 90, 43, 0.14);
}
.player-btn.speed { font-family: var(--mono); }
.player-btn.timeupdate { color: var(--moon); }
.player-btn.volume { color: var(--moon); }
@media (max-width: 1024px) {.overview-hero { grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr); }
.hero-poster-shell { max-width: 220px; }}
@media (max-width: 860px) {.page-main { gap: 22px; padding: 14px 14px 34px; }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.hero-poster-shell {
    max-width: 200px;
    margin: 0 auto;
  }
.movie-title { font-size: 23px; }
.synopsis-columns { column-count: 2; column-gap: 18px; }
.detail-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }}
@media (max-width: 640px) {body { font-size: 13.5px; }
.header-shell { padding: 9px 12px; gap: 10px; }
a[data-contract="site-name"].site-brand { font-size: 16px; letter-spacing: 0.16em; }
.categories-bar { justify-content: flex-start; }
.page-main { padding: 12px 12px 30px; gap: 20px; }
.movie-overview { padding: 12px; gap: 16px; }
.overview-hero { grid-template-columns: minmax(0, 1fr); }
.hero-poster-shell { max-width: 46vw; margin: 0; }
.movie-title { font-size: 21px; }
.movie-tagline { font-size: 12.5px; letter-spacing: 0.22em; }
.status-rating { margin-left: 0; }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.detail-item dd { text-align: left; }
.cast-member { width: 54px; }
.cast-avatar { width: 44px; height: 44px; }
.synopsis-columns { column-count: 1; column-rule: none; }
.timeline-node { gap: 10px; padding: 6px 0 6px 12px; }
.timeline-code { width: 48px; font-size: 11.5px; }
.timeline-label { font-size: 12.5px; }
.timeline-node-current { padding: 10px 0 10px 12px; }
.timeline-node-current .timeline-label { font-size: 13.5px; }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.comment-text { font-size: 12.5px; }
a[data-runtime="recommendation"] { gap: 8px; }
[data-runtime="recommendation"] img { width: 52px; height: 74px; }
a[data-runtime="recommendation"] > span[data-runtime="name"] { max-width: 6.5em; }
.friend-links { gap: 5px 10px; }
.site-footer { padding: 16px 12px 24px; }}
@media (max-width: 420px) {.hero-poster-shell { max-width: 62vw; }
.player-control-panel { gap: 5px; padding: 6px; }
.player-btn { font-size: 11px; padding: 3px 7px; }
.player-range { flex: 1 1 100%; min-width: 0; }}

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}
