:root {
  --bg: #0d1219;
  --bg-2: #111925;
  --bg-3: #151f2d;
  --panel: #131c28;
  --panel-2: #172231;
  --rust: #8c2b22;
  --rust-2: #b03a2b;
  --rust-3: #5e1d18;
  --ice: #cfe3e8;
  --ice-dim: #8fa6ad;
  --line: #22303f;
  --line-2: #2c3d50;
  --text: #d3dee4;
  --text-dim: #8496a1;
  --text-mute: #66757f;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  --radius: 4px;
  --gap: 10px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(1200px 500px at 50% -10%, rgba(140, 43, 34, 0.16), transparent 70%),
    radial-gradient(900px 400px at 90% 5%, rgba(70, 120, 140, 0.08), transparent 70%);
  background-repeat: no-repeat;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ice);
  text-decoration: none;
}
ul, ol, dl, dd, dt, p, h1, h2, h3 {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 16, 23, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--rust-2);
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-shadow: 0 0 18px rgba(176, 58, 43, 0.45);
}
a[data-contract="site-name"]:hover {
  color: var(--ice);
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--ice-dim);
  text-decoration: none;
  font-size: 12px;
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(21, 31, 45, 0.7);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--ice);
  border-color: var(--rust);
  background: rgba(140, 43, 34, 0.28);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 14px 26px;
  display: block;
}
.page-main > section {
  margin-top: 16px;
}
.page-main > section:first-child {
  margin-top: 0;
}
.hero-shell {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  grid-template-areas:
    "figure caption"
    "figure player"
    "figure grid";
  gap: 12px 18px;
  overflow: hidden;
}
.hero-backdrop {
  grid-area: figure;
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: start;
}
.hero-figure {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 210px;
}
.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  filter: saturate(0.7) contrast(1.08) brightness(0.92);
}
.hero-glow {
  position: absolute;
  inset: -20px -30px 30% -30px;
  background:
    radial-gradient(60% 45% at 40% 20%, rgba(176, 58, 43, 0.35), transparent 70%),
    radial-gradient(70% 50% at 70% 80%, rgba(120, 190, 205, 0.16), transparent 72%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 1;
}
.hero-caption {
  grid-area: caption;
  position: relative;
  padding: 2px 0 4px;
  border-bottom: 1px dashed var(--line-2);
}
.movie-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #e8f2f5;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.5),
    0 0 26px rgba(140, 43, 34, 0.55);
}
.movie-tagline {
  margin-top: 4px;
  font-size: 13px;
  color: var(--rust-2);
  letter-spacing: 0.06em;
}
.movie-seo {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.player-shell {
  grid-area: player;
  position: relative;
  width: 100%;
  background: #070b10;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  z-index: 3;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #04070a;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(13, 20, 28, 0.96), rgba(9, 14, 20, 0.98));
  border-top: 1px solid var(--line);
}
.ctrl {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--ice-dim);
  padding: 4px 9px;
  font-size: 12px;
  border-radius: 3px;
  line-height: 1.4;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl:hover {
  color: var(--ice);
  border-color: var(--rust);
  background: rgba(140, 43, 34, 0.25);
}
.ctrl-play {
  color: #f2e2df;
  border-color: var(--rust-3);
  background: rgba(140, 43, 34, 0.4);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 20px;
  padding: 0 2px;
  border: 1px solid var(--line-2);
  background: #0a1017;
  border-radius: 3px;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 64px;
  height: 20px;
  padding: 0 2px;
  border: 1px solid var(--line-2);
  background: #0a1017;
  border-radius: 3px;
}
.ctrl-speed {
  background: var(--bg-3);
  padding: 4px 6px;
}
.ctrl-theater, .ctrl-light {
  color: var(--ice-dim);
}
.player-shell.fullscreen, .player-shell .fullscreen {
  border-radius: 0;
}
.is-lights-off .player-shell {
  box-shadow: 0 0 0 1px var(--rust-3), 0 0 60px rgba(0, 0, 0, 0.95);
}
.is-lights-off .overview-grid, .is-lights-off .hero-caption {
  opacity: 0.55;
  transition: opacity 0.2s;
}
.is-theater .player-shell {
  box-shadow: 0 0 0 1px var(--rust-3), 0 18px 50px rgba(0, 0, 0, 0.8);
}
.is-theater .hero-shell {
  grid-template-areas:
    "caption caption"
    "player player"
    "figure grid";
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
}
.ctrl.play, .ctrl.click, .ctrl.change, .ctrl.input, .ctrl.timeupdate, .ctrl.progress, .ctrl.volume, .ctrl.speed, .ctrl.mute, .ctrl.pip, .ctrl.fullscreen, .ctrl.theater, .ctrl.light {
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.overview-grid {
  grid-area: grid;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-auto-rows: min-content;
  align-items: start;
  gap: var(--gap);
}
.synopsis-panel, .cast-panel, .episode-status-panel, .details-panel {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.synopsis-panel {
  grid-row: span 2;
}
.panel-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ice);
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.panel-heading::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 1px;
  width: 3px;
  height: 12px;
  background: var(--rust-2);
}
.synopsis-body {
  display: grid;
  gap: 6px;
}
.synopsis-body p {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--text-dim);
}
.synopsis-body p::first-letter {
  color: var(--ice);
  font-weight: 700;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 6px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  background: rgba(13, 18, 25, 0.6);
  border: 1px solid var(--line);
  border-radius: 3px;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #0a1017;
  box-shadow: 0 0 0 2px rgba(140, 43, 34, 0.22);
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.1);
}
.cast-names {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
.cast-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ice);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 11px;
  color: var(--text-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status-line {
  font-size: 14px;
  font-weight: 700;
  color: var(--rust-2);
  letter-spacing: 0.04em;
}
.status-sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-dim);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2px 12px;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(44, 61, 80, 0.75);
  min-width: 0;
}
.detail-row dt {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}
.detail-row dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--text);
  text-align: right;
  overflow-wrap: anywhere;
}
.section-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ice);
  margin-bottom: 9px;
  padding-left: 10px;
  border-left: 3px solid var(--rust-2);
  line-height: 1.2;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  align-items: baseline;
  gap: 2px 8px;
  padding: 8px 10px 8px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-2);
  border-radius: 3px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.episode-card:hover {
  border-left-color: var(--rust-2);
  background: var(--panel-2);
  transform: translateY(-1px);
}
.episode-number {
  grid-area: num;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ice-dim);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  min-width: 0;
  overflow-wrap: anywhere;
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  grid-area: dur;
  justify-self: end;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.episode-card-current {
  border-left-color: var(--rust-2);
  background: linear-gradient(90deg, rgba(140, 43, 34, 0.28), rgba(19, 28, 40, 0.9) 65%);
  box-shadow: inset 0 0 0 1px rgba(176, 58, 43, 0.28);
}
.episode-card-current .episode-number {
  color: var(--rust-2);
}
.episode-card-current .episode-title {
  color: #f0dcd8;
}
.timeline-section {
  overflow: hidden;
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 4px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, rgba(17, 25, 37, 0.5), transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: #0a1017;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--rust-3);
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  flex: 0 0 190px;
  max-width: 190px;
  padding: 6px 14px 6px 16px;
  scroll-snap-align: start;
  border-left: 1px dashed var(--line-2);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ice-dim);
  box-shadow: 0 0 0 2px var(--bg), 0 0 10px rgba(143, 166, 173, 0.5);
}
.timeline-node:first-child {
  border-left: none;
}
.timeline-node:first-child::before {
  left: 0;
}
.timeline-timecode {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ice);
  padding: 1px 7px 1px 0;
}
.timeline-label {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
}
.timeline-node-current {
  background: linear-gradient(180deg, rgba(140, 43, 34, 0.3), rgba(140, 43, 34, 0.06));
  border-left-color: var(--rust);
}
.timeline-node-current::before {
  background: var(--rust-2);
  box-shadow: 0 0 0 2px var(--bg), 0 0 14px rgba(176, 58, 43, 0.9);
}
.timeline-node-current .timeline-timecode {
  color: #f2c9c2;
}
.timeline-node-current .timeline-label {
  color: var(--text);
}
.comments-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px;
}
.comment-item {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  min-width: 0;
}
.comment-bar {
  flex: 0 0 3px;
  background: linear-gradient(180deg, var(--rust-2), var(--rust-3));
}
.comment-item:nth-child(2n) .comment-bar {
  background: linear-gradient(180deg, #4d7f8c, #24414a);
}
.comment-item:nth-child(3n) .comment-bar {
  background: linear-gradient(180deg, #6b6f7d, #333844);
}
.comment-body {
  padding: 7px 10px;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ice);
  letter-spacing: 0.04em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}
.recommend-region {
  margin-top: 16px;
}
.recommend-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ice);
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 3px solid var(--rust-2);
  line-height: 1.2;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.recommend-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: 4px;
  padding: 0 0 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.recommend-card:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
.recommend-index {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #f4e6e3;
  background: var(--rust);
  padding: 2px 7px 3px;
  border-bottom-right-radius: 3px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}
.recommend-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #070b10;
  filter: saturate(0.78) contrast(1.08);
}
.recommend-card:hover img {
  filter: saturate(1) contrast(1.05);
}
.recommend-name {
  padding: 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ice);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  padding: 0 8px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 16, 23, 0.4), #090d13);
  padding: 14px 14px 20px;
}
.footer-disclaimer {
  max-width: 1280px;
  margin: 0 auto 8px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-mute);
}
.footer-nav {
  max-width: 1280px;
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--ice-dim);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--rust-2);
  text-decoration: underline;
}
.friend-links {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  padding-right: 6px;
  border-right: 1px solid var(--line-2);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 1px 6px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--ice);
  border-color: var(--line-2);
  background: rgba(21, 31, 45, 0.8);
}
@media (max-width: 1080px) {.hero-shell {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  }
.hero-figure {
    max-width: 180px;
  }
.movie-title {
    font-size: 28px;
  }
.overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.synopsis-panel {
    grid-row: auto;
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "caption"
      "figure"
      "player"
      "grid";
    padding: 12px;
  }
.hero-backdrop {
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
  }
.hero-figure {
    max-width: 150px;
  }
.hero-glow {
    inset: -14px -20px 40% -20px;
  }
.movie-title {
    font-size: 24px;
  }
.movie-seo {
    -webkit-line-clamp: 4;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }}
@media (max-width: 560px) {body {
    font-size: 13px;
  }
.header-inner {
    padding: 7px 10px;
    gap: 8px;
  }
a[data-contract="site-name"] {
    font-size: 16px;
  }
.page-main {
    padding: 10px 10px 20px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-list {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-row dd {
    text-align: left;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.timeline-node {
    flex: 0 0 168px;
    max-width: 168px;
  }
.movie-title {
    font-size: 21px;
  }
.ctrl {
    padding: 4px 7px;
    font-size: 11.5px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: 2;
  }
.site-footer {
    padding: 12px 10px 18px;
  }}
@media (min-width: 1280px) {.episodes-grid {
    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}
