*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, dt, ol {
  margin: 0;
  padding: 0;
}
ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
:root {
  --bg-deep: #0b0f14;
  --bg-panel: #131a22;
  --bg-panel-2: #18212b;
  --bg-soft: #1f2a35;
  --line: #2b3947;
  --line-strong: #3b4d5e;
  --text-hi: #eef3f8;
  --text-mid: #b3c0cd;
  --text-lo: #7d8b9a;
  --snow: #f6f9fc;
  --ice: #cfe0ee;
  --steel: #5a7a96;
  --amber: #ff7a2f;
  --amber-dim: #c4571c;
  --gap: 10px;
  --gap-sm: 8px;
  --gap-lg: 12px;
  --radius-avatar: 50%;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}
html, body {
  background: var(--bg-deep);
}
body {
  font-family: var(--font);
  color: var(--text-mid);
  line-height: 1.5;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
  padding: 8px 12px;
  background: rgba(11, 15, 20, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-brand {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--snow);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"] {
  color: var(--snow);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--amber);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.runtime-category, a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ice);
  text-decoration: none;
  white-space: nowrap;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: 1px;
}
a.runtime-category:hover {
  color: var(--bg-deep);
  background: var(--amber);
  border-color: var(--amber);
}
.page-main {
  display: block;
  padding: var(--gap) var(--gap) 0;
  max-width: 1180px;
  margin: 0 auto;
}
.page-main > section {
  margin-bottom: var(--gap-lg);
}
.section-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-hi);
  padding-bottom: 5px;
  margin-bottom: var(--gap-sm);
  border-bottom: 1px solid var(--line-strong);
}
.movie-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  grid-template-areas:
    "poster info"
    "poster status"
    "poster synopsis"
    "poster cast"
    "poster details";
  column-gap: var(--gap-lg);
  row-gap: var(--gap-sm);
  align-items: start;
  padding: var(--gap-lg);
  background:
    linear-gradient(180deg, rgba(20, 30, 40, 0.6), rgba(11, 15, 20, 0.9)),
    radial-gradient(120% 90% at 12% 0%, rgba(90, 122, 150, 0.28), transparent 62%),
    var(--bg-panel);
  border: 1px solid var(--line);
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.022) 0 1px,
      transparent 1px 64px
    );
  opacity: 0.7;
}
.poster-shell {
  grid-area: poster;
  position: relative;
  align-self: start;
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
}
.poster-image {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.86) contrast(1.06) brightness(0.94);
}
.poster-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 15, 20, 0) 58%, rgba(11, 15, 20, 0.62) 100%);
}
.overview-info {
  grid-area: info;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: var(--gap-sm);
  border-bottom: 1px solid var(--line);
}
.movie-title {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--snow);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--amber);
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  align-items: center;
}
.status-current, .status-total {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  line-height: 1.4;
  border-radius: 1px;
}
.status-current {
  color: var(--bg-deep);
  background: var(--amber);
}
.status-total {
  color: var(--ice);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
}
.synopsis-block {
  grid-area: synopsis;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: var(--gap-sm);
  border-top: 1px solid var(--line);
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.72;
  color: var(--text-mid);
  text-align: justify;
}
.synopsis-paragraph + .synopsis-paragraph {
  color: var(--text-lo);
}
.cast-block {
  grid-area: cast;
  display: flex;
  flex-direction: column;
  padding-top: var(--gap-sm);
  border-top: 1px solid var(--line);
}
.cast-block .section-heading, .details-block .section-heading, .synopsis-block .section-heading {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text-lo);
  padding-bottom: 4px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.cast-scroll {
  display: flex;
  gap: var(--gap-sm);
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.cast-scroll::-webkit-scrollbar {
  height: 4px;
}
.cast-scroll::-webkit-scrollbar-thumb {
  background: var(--line-strong);
}
.cast-card {
  flex: 0 0 auto;
  width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}
.cast-avatar-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-avatar);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  box-shadow: 0 0 0 3px rgba(255, 122, 47, 0);
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.cast-card:hover .cast-avatar-wrap {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.16);
}
.cast-avatar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-avatar);
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05);
}
.cast-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-hi);
}
.cast-role {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-lo);
  letter-spacing: 0.04em;
}
.details-block {
  grid-area: details;
  display: flex;
  flex-direction: column;
  padding-top: var(--gap-sm);
  border-top: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 4px var(--gap-lg);
  align-items: start;
}
.detail-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(59, 77, 94, 0.55);
  min-width: 0;
}
.detail-item dt {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-lo);
  white-space: nowrap;
}
.detail-item dd {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-hi);
  text-align: right;
  min-width: 0;
}
.player-section {
  display: flex;
  flex-direction: column;
}
.player-wrapper {
  position: relative;
  width: 100%;
  background: #05080b;
  border: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05080b;
  object-fit: contain;
}
.player-wrapper.is-lights-off {
  background: #000;
  box-shadow: 0 0 0 1px var(--line), 0 0 28px rgba(255, 122, 47, 0.14);
}
.player-wrapper.is-theater {
  box-shadow: 0 0 0 1px var(--amber-dim);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ice);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ctrl-btn:hover {
  color: var(--bg-deep);
  background: var(--ice);
  border-color: var(--ice);
}
.ctrl-btn.is-active {
  color: var(--bg-deep);
  background: var(--amber);
  border-color: var(--amber);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -1px;
  border-radius: 0;
  background: var(--amber);
  border: none;
}
.ctrl-progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: var(--amber);
  border: none;
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 60px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: var(--steel);
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: var(--steel);
  border: none;
}
.ctrl-speed {
  padding: 4px 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ice);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 1px;
}
.player-wrapper.is-theater .player-video {
  max-height: none;
}
.timeline-section {
  display: flex;
  flex-direction: column;
  padding: var(--gap-lg);
  background: var(--bg-panel);
  border: 1px solid var(--line);
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  position: relative;
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: var(--gap-sm);
  padding: 7px 10px 7px 18px;
  border-bottom: 1px solid rgba(43, 57, 71, 0.7);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  width: 5px;
  height: 5px;
  background: var(--steel);
  border: 1px solid var(--bg-panel);
  transform: rotate(45deg);
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 22px;
  bottom: -4px;
  width: 1px;
  background: var(--line-strong);
}
.timeline-node:last-child::after, .timeline-node:nth-last-child(2)::after {
  display: none;
}
.timeline-node:hover::before {
  background: var(--amber);
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--amber);
  white-space: nowrap;
  padding-top: 1px;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-mid);
  min-width: 0;
}
.episodes-section {
  display: flex;
  flex-direction: column;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-sm);
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px 7px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--steel);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  background: var(--bg-panel-2);
  border-left-color: var(--amber);
}
.episode-title {
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-hi);
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-lo);
}
.episode-duration {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ice);
  padding: 1px 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.comments-section {
  display: flex;
  flex-direction: column;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-sm);
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
}
.comment-card {
  padding: 7px 9px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
}
.comment-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.comment-avatar {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: var(--radius-avatar);
  object-fit: cover;
  border: 1px solid var(--line-strong);
  filter: grayscale(0.4) contrast(1.05);
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ice);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-mid);
}
.recommend-region {
  display: flex;
  flex-direction: column;
  padding: var(--gap-lg);
  background: #e8edf2;
  border: 1px solid #c8d2dc;
}
.recommend-heading {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #16202a;
  text-align: left;
  padding-bottom: 5px;
  margin-bottom: var(--gap-sm);
  border-bottom: 2px solid #16202a;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap-sm);
  align-items: start;
}
.recommend-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: #f7fafc;
  border: 1px solid #c8d2dc;
  border-radius: 0;
  text-decoration: none;
  color: #16202a;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
a.recommend-card {
  color: #16202a;
  text-decoration: none;
}
a.recommend-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 32, 42, 0.14);
}
.recommend-index {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--amber-dim);
}
.recommend-card img, [data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #ccd6e0;
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
  color: #16202a;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: #55636f;
}
.recommend-region-2 {
  background: #dde5ec;
}
.recommend-region-3 {
  background: #d3dde6;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--gap-lg) var(--gap) 22px;
  border-top: 1px solid var(--line);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-lo);
  margin-bottom: var(--gap-sm);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-bottom: var(--gap-sm);
}
.footer-nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
a[data-contract="footer-home"] {
  color: var(--ice);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--amber);
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  color: var(--ice);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-top: var(--gap-sm);
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-lo);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--steel);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  text-decoration: underline;
}
.player {
  position: relative;
}
.player .progress, .progress {
  background: var(--amber);
}
.change, .click, .input {
  transition: opacity 0.15s ease, background 0.15s ease;
}
.play, .pause, .mute, .volume, .volumechange, .timeupdate, .speed {
  transition: color 0.15s ease, background 0.15s ease;
}
.fullscreen, .pip, .theater, .light {
  transition: background 0.15s ease, border-color 0.15s ease;
}
.is-active {
  color: var(--bg-deep);
  background: var(--amber);
  border-color: var(--amber);
}
.player-wrapper.is-theater {
  position: relative;
  z-index: 30;
}
.player-wrapper.is-lights-off .player-controls {
  background: #000;
  border-top-color: #1a1a1a;
}
@media (max-width: 980px) {.movie-overview {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episodes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "info"
      "poster"
      "status"
      "synopsis"
      "cast"
      "details";
  }
.poster-shell {
    max-width: 260px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node:last-child::after {
    display: none;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 520px) {body {
    font-size: 13px;
  }
.site-header {
    gap: var(--gap-sm);
    padding: 7px 10px;
  }
.site-brand {
    font-size: 14px;
  }
.page-main {
    padding: var(--gap-sm) var(--gap-sm) 0;
  }
.movie-overview {
    padding: var(--gap-sm);
  }
.movie-title {
    font-size: 22px;
  }
.movie-tagline {
    letter-spacing: 0.14em;
    font-size: 12px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: 9;
  }
.ctrl-volume {
    flex: 1 1 70px;
  }
.timeline-node {
    grid-template-columns: 52px minmax(0, 1fr);
    padding-left: 16px;
  }}
@media (min-width: 1180px) {.page-main {
    padding-left: 0;
    padding-right: 0;
  }
.site-footer {
    padding-left: 0;
    padding-right: 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}
