*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0c1418;
  --ink-2: #101c22;
  --panel: #14222a;
  --panel-2: #182a33;
  --line: #24383f;
  --cold: #7d97a3;
  --cold-2: #4a6570;
  --paper: #e8dfc8;
  --paper-dim: #c9bfa4;
  --neon: #dff1f7;
  --frost: #9fd6e4;
  --amber: #d9a95c;
  --amber-dim: #8a6b34;
  --text: #c3d2d8;
  --text-dim: #8fa3ac;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(217,169,92,0.16), transparent 60%),
    radial-gradient(900px 520px at 6% 4%, rgba(159,214,228,0.10), transparent 62%),
    linear-gradient(180deg, #0a1216 0%, #0c161b 42%, #0b1418 100%);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; border: 0; }
ul, ol, dl { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.18; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(9,16,20,0.96), rgba(9,16,20,0.86));
  border-bottom: 1px solid rgba(36,56,63,0.9);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--neon);
  text-decoration: none;
  padding-right: 14px;
  border-right: 1px solid var(--line);
  text-shadow: 0 0 18px rgba(159,214,228,0.35);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: var(--frost); text-decoration: none; }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cold);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 2px;
  background: rgba(36,56,63,0.35);
  transition: color .15s, background .15s, border-color .15s;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--frost);
  border-color: var(--frost);
  text-decoration: none;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px 0;
}
.section-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--frost);
  text-transform: none;
  padding-left: 9px;
  margin-bottom: 10px;
  border-left: 3px solid var(--amber);
  line-height: 1.2;
}
.movie-overview {
  background: linear-gradient(160deg, rgba(20,34,42,0.96), rgba(14,25,30,0.96));
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 16px 18px 18px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 46%;
  background: radial-gradient(70% 60% at 20% 25%, rgba(217,169,92,0.20), transparent 70%);
  pointer-events: none;
}
.movie-overview::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 52%;
  background: radial-gradient(70% 70% at 85% 40%, rgba(159,214,228,0.14), transparent 72%);
  pointer-events: none;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 20px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.poster-wrap {
  position: relative;
  border: 1px solid rgba(36,56,63,0.9);
  border-radius: 2px;
  overflow: hidden;
  background: var(--ink);
  align-self: start;
}
.poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(217,169,92,0.18) 0%, transparent 52%, rgba(6,12,15,0.55) 100%);
  pointer-events: none;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 900;
  letter-spacing: -0.055em;
  color: var(--neon);
  line-height: 1.05;
}
.movie-tagline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--amber);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.movie-seo {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
a.btn-play, .btn-trailer {
  display: inline-block;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s, background .15s, color .15s, border-color .15s;
}
a.btn-play {
  background: linear-gradient(100deg, var(--frost), var(--neon));
  color: #08161b;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(159,214,228,0.28);
}
a.btn-play:hover { transform: translateY(-1px); color: #04141a; text-decoration: none; }
.btn-trailer {
  background: transparent;
  color: var(--paper-dim);
  border-color: rgba(201,191,164,0.45);
}
.btn-trailer:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}
.player-shell {
  position: relative;
  margin-top: 16px;
  background: #050b0e;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  z-index: 1;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #05090b;
}
.player-shell.is-theater { box-shadow: 0 0 0 1px var(--frost), 0 0 40px rgba(159,214,228,0.22); }
.player-shell.lights-off { filter: brightness(0.62) contrast(1.06); }
.player-shell.lights-off .player-controls { filter: brightness(1.6); }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(16,28,34,0.98), rgba(10,19,23,0.98));
  border-top: 1px solid var(--line);
}
.player-controls button, .player-controls select {
  background: rgba(36,56,63,0.5);
  border: 1px solid var(--line);
  color: var(--cold);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.player-controls button:hover, .player-controls select:hover { color: var(--neon); border-color: var(--cold-2); }
.ctrl-play { color: var(--neon) !important; border-color: var(--cold-2) !important; }
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(36,56,63,0.9);
  border-radius: 3px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--frost);
  box-shadow: 0 0 10px rgba(159,214,228,0.6);
}
.ctrl-progress::-moz-range-thumb {
  width: 12px; height: 12px; border: 0; border-radius: 50%;
  background: var(--frost);
}
.ctrl-volume {
  flex: 0 1 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(36,56,63,0.9);
  border-radius: 3px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cold);
}
.ctrl-volume::-moz-range-thumb {
  width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--cold);
}
.player-controls .is-active {
  color: #08161b;
  background: var(--frost);
  border-color: var(--frost);
}
.player-shell .progress { accent-color: var(--frost); }
.player-shell .volume { accent-color: var(--cold); }
.player-shell .speed { color: var(--frost); }
.player-shell .play.is-active, .player-shell .mute.is-active, .player-shell .pip.is-active, .player-shell .fullscreen.is-active, .player-shell .theater.is-active, .player-shell .light.is-active { color: #08161b; background: var(--frost); border-color: var(--frost); }
.player-shell .input { accent-color: var(--frost); }
.player-shell .click, .player-shell .change, .player-shell .timeupdate, .player-shell .data-player-action { transition: all .15s ease; }
.cast-strip {
  margin-top: 20px;
  position: relative;
  z-index: 1;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.cast-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.cast-item { flex: 0 0 auto; }
.cast-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 78px;
}
.cast-avatar img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--cold-2);
  filter: grayscale(0.35) contrast(1.06);
  transition: filter .2s, border-color .2s, transform .2s;
}
.cast-item:hover .cast-avatar img {
  filter: grayscale(0) contrast(1.1);
  border-color: var(--amber);
  transform: translateY(-2px);
}
.cast-avatar figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-align: center;
}
.cast-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--neon);
  letter-spacing: 0;
  line-height: 1.25;
}
.cast-role {
  font-size: 11px;
  color: var(--cold-2);
  line-height: 1.25;
}
.synopsis-block { margin-top: 22px; }
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.62;
  color: var(--text-dim);
  padding-left: 12px;
  border-left: 1px solid rgba(36,56,63,0.9);
}
.episode-status { margin-top: 22px; }
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.status-item {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(24,42,51,0.95), rgba(16,28,34,0.95));
}
.status-item dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cold-2);
  font-weight: 600;
}
.status-item dd {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--neon);
}
.status-item dd::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin-top: 5px;
  background: var(--amber-dim);
}
.details-block { margin-top: 22px; }
.details-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(36,56,63,0.75);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(18,31,38,0.96);
}
.detail-row dt {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--cold-2);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.detail-row dd {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--paper-dim);
  min-width: 0;
  overflow-wrap: break-word;
}
.timeline-section {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.timeline-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--cold-2) transparent;
}
.timeline-scroll::-webkit-scrollbar { height: 6px; }
.timeline-scroll::-webkit-scrollbar-thumb { background: var(--cold-2); border-radius: 3px; }
.timeline-scroll::-webkit-scrollbar-track { background: rgba(36,56,63,0.4); }
.timeline-track {
  display: flex;
  gap: 12px;
  min-width: max-content;
  padding: 2px 2px 4px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 224px;
  padding: 12px 13px 13px;
  background: linear-gradient(165deg, rgba(24,42,51,0.96), rgba(14,25,30,0.96));
  border: 1px solid var(--line);
  border-top: 2px solid var(--cold-2);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: default;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(217,169,92,0.16);
}
.timeline-node:hover {
  border-top-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0,0,0,0.5);
  z-index: 3;
}
.node-time {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.node-label {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text);
  font-weight: 600;
}
.node-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .22s, transform .22s;
}
.node-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.8) contrast(1.08);
}
.timeline-node:hover .node-thumb {
  opacity: 1;
  transform: translateY(0);
}
.episodes-section {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(36,56,63,0.6);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.episode-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  height: 62px;
  padding: 8px 12px;
  background: rgba(16,28,34,0.96);
  transition: background .15s;
  overflow: hidden;
}
.episode-item:hover { background: rgba(24,42,51,0.98); }
.ep-number {
  flex: 0 0 auto;
  width: 52px;
  padding-top: 2px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--frost);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ep-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ep-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--neon);
  letter-spacing: -0.02em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-summary {
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--cold-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ep-duration {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--amber-dim);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
  white-space: nowrap;
}
.comments-section {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.comments-masonry {
  column-count: 2;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 12px;
  padding: 10px 12px 11px;
  background: linear-gradient(170deg, rgba(22,38,46,0.96), rgba(14,25,30,0.96));
  border: 1px solid var(--line);
  border-left: 2px solid var(--cold-2);
  border-radius: 2px;
  transition: border-color .18s, background .18s;
}
.comment-card:hover {
  border-left-color: var(--amber);
  background: linear-gradient(170deg, rgba(26,45,54,0.98), rgba(16,29,35,0.98));
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}
.comment-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid var(--cold-2);
  filter: grayscale(0.5);
}
.comment-nick {
  font-size: 12px;
  font-weight: 800;
  color: var(--frost);
  letter-spacing: 0;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-dim);
}
.recommend-region {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.recommend-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: rgba(18,31,38,0.92);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  text-decoration: none;
  transition: border-color .16s, transform .16s, background .16s;
}
a.recommend-card:hover {
  border-color: var(--cold-2);
  background: rgba(24,42,51,0.96);
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1px;
  display: block;
  filter: saturate(0.82) contrast(1.06);
  transition: filter .18s;
}
a.recommend-card:hover img, [data-runtime="recommendation"]:hover img { filter: saturate(1) contrast(1.1); }
.rec-name {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--neon);
  letter-spacing: -0.02em;
  line-height: 1.3;
  display: block;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--cold-2);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9,16,20,0.7), rgba(6,11,14,0.98));
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--frost);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--neon);
  border-bottom-color: var(--amber);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 12px;
  border-top: 1px dashed rgba(36,56,63,0.9);
}
.friend-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--cold-2);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid rgba(36,56,63,0.9);
  border-radius: 2px;
  white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
}
a.runtime-friend-link:hover {
  color: var(--neon);
  border-color: var(--cold-2);
  background: rgba(36,56,63,0.4);
  text-decoration: none;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--cold-2);
  max-width: 92ch;
  padding-top: 10px;
  border-top: 1px solid rgba(36,56,63,0.7);
}
@media (max-width: 1024px) {.hero-panel { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); }
.details-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.synopsis-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 820px) {.hero-panel { grid-template-columns: minmax(0, 1fr); }
.poster-wrap { max-width: 260px; }
.comments-masonry { column-count: 2; }
.recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 640px) {.page-main { padding: 12px 12px 0; }
.header-inner { padding: 8px 12px; gap: 10px; }
.movie-overview { padding: 12px 12px 14px; }
.poster-wrap { max-width: 210px; }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-list { grid-template-columns: minmax(0, 1fr); }
.episode-item { height: 60px; }
.comments-masonry { column-count: 1; }
.recommend-grid { grid-template-columns: minmax(0, 1fr); }
.status-item { flex: 1 1 45%; }}
@media (max-width: 420px) {.movie-title { font-size: 22px; }
.cast-avatar { width: 68px; }
.cast-avatar img { width: 60px; height: 60px; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.player-controls { gap: 5px; padding: 7px 8px; }
.player-controls button, .player-controls select { padding: 4px 8px; font-size: 11.5px; }}

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}
