*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, figure, dl, dd, dt, ol, ul, li { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:root {
  --abyss: #080f1c;
  --deep: #0d1a2c;
  --slate: #16263c;
  --iron: #1e3149;
  --steel: #2c4360;
  --mist: #7d94ad;
  --ash: #b6c4d4;
  --bone: #dfe7f0;
  --beacon: #f5b73f;
  --beacon-dim: #c9902a;
  --ember: #ffd479;
  --radius: 10px;
  --radius-sm: 6px;
  --rule: 1px solid #1c2e45;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background:
    radial-gradient(140% 90% at 50% -10%, #12233a 0%, #0a1424 45%, var(--abyss) 100%);
  background-attachment: fixed;
  color: var(--ash);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(8,15,28,0.96) 0%, rgba(10,20,36,0.88) 100%);
  backdrop-filter: blur(8px);
  border-bottom: var(--rule);
}
.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--beacon);
  text-decoration: none;
  text-shadow: 0 0 18px rgba(245,183,63,0.35);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: var(--ember); }
.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mist);
  text-decoration: none;
  border: 1px solid #24374f;
  border-radius: 999px;
  background: rgba(22,38,60,0.7);
  transition: color .15s, border-color .15s, background .15s;
}
a.runtime-category:hover {
  color: var(--beacon);
  border-color: var(--beacon-dim);
  background: rgba(44,67,96,0.55);
}
.page-main {
  display: block;
  padding: 0 14px 26px;
  max-width: 1180px;
  margin: 0 auto;
}
.page-main.theater-mode {
  max-width: 100%;
  padding-left: 8px;
  padding-right: 8px;
}
.page-main.lights-off { filter: brightness(0.62) saturate(0.8); }
.movie-overview {
  margin-top: 14px;
  background: linear-gradient(180deg, rgba(19,34,54,0.92) 0%, rgba(12,22,38,0.92) 100%);
  border: var(--rule);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 18px 44px -26px rgba(0,0,0,0.9);
}
.overview-header {
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: var(--rule);
}
.overview-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--bone);
  line-height: 1.2;
}
.overview-tagline {
  margin-top: 4px;
  font-size: 13px;
  color: var(--mist);
  letter-spacing: 0.03em;
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 16px;
  align-items: start;
}
.poster-column { min-width: 0; }
.poster-figure {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid #263c58;
  background: #0c1727;
  box-shadow: 0 12px 28px -18px rgba(0,0,0,0.95);
}
.poster-figure img[data-contract="main-poster"] {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 9 / 16;
}
.info-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.overview-seo {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--mist);
  padding: 8px 10px;
  background: rgba(30,49,73,0.45);
  border-left: 2px solid var(--beacon-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.player-wrapper {
  width: 100%;
  min-width: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid #263c58;
  background: #05090f;
}
video.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05090f;
  object-fit: contain;
}
.episode-status-block {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.status-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #2c4360;
  color: var(--ash);
  background: rgba(30,49,73,0.55);
  white-space: nowrap;
}
.status-chip.current {
  color: #1b1206;
  background: linear-gradient(180deg, var(--ember), var(--beacon));
  border-color: var(--beacon);
  box-shadow: 0 0 16px -2px rgba(245,183,63,0.5);
}
.status-chip.total { color: var(--mist); }
.block-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--beacon);
  text-transform: none;
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid #22344c;
  position: relative;
}
.block-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--beacon);
  box-shadow: 0 0 10px rgba(245,183,63,0.7);
}
.section-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--bone);
  padding-left: 11px;
  position: relative;
  margin-bottom: 10px;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 15px;
  background: linear-gradient(180deg, var(--ember), var(--beacon-dim));
  border-radius: 2px;
}
.details-block, .cast-block, .synopsis-block { min-width: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 14px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed #1d2f47;
  font-size: 12.5px;
  min-width: 0;
}
.detail-item dt {
  flex: 0 0 auto;
  color: var(--mist);
  letter-spacing: 0.05em;
}
.detail-item dd {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--bone);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 5px 14px;
}
.cast-member {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 5px 0;
  border-bottom: 1px dashed #1d2f47;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, #48627f 0%, #24384f 62%, #16263c 100%);
  border: 1px solid #38536f;
  box-shadow: inset 0 0 0 2px rgba(8,15,28,0.7), 0 0 12px -4px rgba(245,183,63,0.35);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 40% 40%;
  background: rgba(125,148,173,0.5);
}
.cast-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 12px;
  line-height: 1.5;
  color: var(--mist);
}
.synopsis-paragraph {
  font-size: 12.8px;
  line-height: 1.72;
  color: var(--ash);
  margin-bottom: 6px;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.timeline-section {
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(16,30,48,0.9), rgba(10,19,33,0.9));
  border: var(--rule);
  border-radius: var(--radius);
  padding: 13px 14px 15px;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--steel) transparent;
  -webkit-overflow-scrolling: touch;
}
.timeline-scroll::-webkit-scrollbar { height: 7px; }
.timeline-scroll::-webkit-scrollbar-track { background: rgba(30,49,73,0.4); border-radius: 4px; }
.timeline-scroll::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 4px; }
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: max-content;
  padding-top: 20px;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 20px;
  background:
    repeating-linear-gradient(105deg,
      rgba(44,67,96,0.9) 0 6px,
      rgba(44,67,96,0) 6px 12px);
  clip-path: polygon(0 62%, 8% 40%, 17% 58%, 26% 26%, 35% 48%, 44% 18%, 53% 40%, 62% 12%, 71% 34%, 80% 8%, 89% 30%, 100% 6%, 100% 100%, 0 100%);
  opacity: 0.85;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding: 26px 10px 8px;
  border-left: 1px solid #22344c;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.timeline-node:last-child { border-right: 1px solid #22344c; }
.timeline-node::before {
  content: "";
  position: absolute;
  top: 14px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--beacon);
  box-shadow: 0 0 12px 2px rgba(245,183,63,0.6);
}
.timeline-node:nth-child(1)::before { top: 20px; }
.timeline-node:nth-child(2)::before { top: 18px; }
.timeline-node:nth-child(3)::before { top: 16px; }
.timeline-node:nth-child(4)::before { top: 14px; }
.timeline-node:nth-child(5)::before { top: 12px; }
.timeline-node:nth-child(6)::before { top: 10px; }
.timeline-timecode {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--beacon);
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ash);
  word-break: break-word;
}
.episodes-section {
  margin-top: 18px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  background: linear-gradient(160deg, rgba(30,49,73,0.6), rgba(13,26,44,0.85));
  border: 1px solid #22344c;
  border-radius: var(--radius-sm);
  padding: 9px 10px 10px;
  min-width: 0;
  overflow: hidden;
  transition: border-color .16s, transform .16s, box-shadow .16s;
}
.episode-card:hover {
  border-color: var(--beacon-dim);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(0,0,0,0.95), 0 0 0 1px rgba(245,183,63,0.2);
}
.episode-number {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #12100a;
  background: var(--beacon);
  border-radius: 3px;
  padding: 1px 7px;
  margin-bottom: 6px;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--mist);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .24s ease, opacity .2s ease, margin .2s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 96px;
  opacity: 1;
  margin-bottom: 5px;
}
.episode-duration {
  display: block;
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.episode-card:hover .episode-duration { color: var(--beacon-dim); }
.recommendation-region {
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(16,30,48,0.82), rgba(10,19,33,0.82));
  border: var(--rule);
  border-radius: var(--radius);
  padding: 13px 14px 14px;
}
.recommendation-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 4px 14px;
}
a.recommendation-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  align-items: center;
  padding: 5px 6px;
  border-radius: var(--radius-sm);
  border-bottom: 1px dashed #1d2f47;
  text-decoration: none;
  color: var(--ash);
  min-width: 0;
  transition: background .15s, border-color .15s;
}
a.recommendation-item:hover {
  background: rgba(44,67,96,0.42);
  border-bottom-color: var(--beacon-dim);
}
a.recommendation-item img {
  grid-row: 1 / span 2;
  width: 68px;
  height: 92px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #2a4160;
  background: #0c1727;
}
a.recommendation-item [data-runtime="name"] {
  grid-column: 2;
  font-size: 13px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  align-self: end;
}
a.recommendation-item [data-runtime="blurb"] {
  grid-column: 2;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--mist);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  align-self: start;
}
a.recommendation-item:hover [data-runtime="name"] { color: var(--beacon); }
.comments-section { margin-top: 18px; }
.comments-masonry {
  columns: 2;
  column-gap: 9px;
}
.comment-card {
  break-inside: avoid;
  margin-bottom: 9px;
  background: linear-gradient(150deg, rgba(30,49,73,0.55), rgba(12,22,38,0.9));
  border: 1px solid #1f3149;
  border-radius: var(--radius-sm);
  padding: 8px 10px 9px;
  min-width: 0;
}
.comment-card:hover { border-color: #33506f; }
.comment-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #55708d, #1e3149 70%);
  border: 1px solid #37516e;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  color: var(--beacon-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-body {
  font-size: 12.3px;
  line-height: 1.6;
  color: var(--ash);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 9px 11px;
  background: linear-gradient(180deg, rgba(30,49,73,0.7), rgba(13,26,44,0.9));
  border: var(--rule);
  border-radius: var(--radius);
}
.control-btn {
  flex: 0 0 auto;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ash);
  background: rgba(44,67,96,0.6);
  border: 1px solid #2c4360;
  border-radius: 999px;
  padding: 5px 12px;
  transition: color .15s, background .15s, border-color .15s;
}
.control-btn:hover {
  color: var(--bone);
  background: rgba(60,88,122,0.75);
  border-color: var(--beacon-dim);
}
.control-btn.is-active {
  color: #17120a;
  background: linear-gradient(180deg, var(--ember), var(--beacon));
  border-color: var(--beacon);
}
.control-btn.is-muted {
  color: var(--beacon);
  border-color: var(--beacon-dim);
  background: rgba(245,183,63,0.14);
}
.control-range {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--beacon-dim), var(--steel));
  border-radius: 3px;
  cursor: pointer;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--beacon);
  border: 2px solid #101d30;
  box-shadow: 0 0 8px rgba(245,183,63,0.7);
}
.control-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #101d30;
  border-radius: 50%;
  background: var(--beacon);
}
.control-range::-moz-range-track {
  height: 4px;
  border-radius: 3px;
  background: var(--steel);
}
.control-select {
  flex: 0 0 auto;
  cursor: pointer;
  font-size: 12px;
  color: var(--ash);
  background: rgba(44,67,96,0.6);
  border: 1px solid #2c4360;
  border-radius: 999px;
  padding: 5px 10px;
}
.control-select:hover { border-color: var(--beacon-dim); }
.site-footer {
  margin-top: 22px;
  padding: 16px 18px 22px;
  border-top: var(--rule);
  background: linear-gradient(180deg, rgba(10,19,33,0.6), rgba(6,12,22,0.95));
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 9px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--beacon);
  border-bottom-color: var(--beacon-dim);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: #5f7590;
  max-width: 780px;
  margin-bottom: 12px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding-top: 10px;
  border-top: 1px dashed #1b2b41;
}
.friend-links-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--steel);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
a.runtime-friend-link:hover {
  color: var(--beacon);
  border-bottom-color: var(--beacon-dim);
}
@media (max-width: 900px) {.overview-body {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    max-width: 240px;
  }
.comments-masonry { columns: 2; }}
@media (max-width: 680px) {.page-main { padding: 0 10px 20px; }
.movie-overview { padding: 12px; margin-top: 10px; }
.overview-title { font-size: 21px; }
.poster-column { max-width: 190px; }
.details-list { grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); }
.cast-list { grid-template-columns: minmax(0, 1fr); }
.episodes-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.recommendation-list { grid-template-columns: minmax(0, 1fr); }
.comments-masonry { columns: 1; }
.timeline-node { width: 148px; }
.player-controls { gap: 5px; padding: 8px; }
.control-btn { padding: 5px 10px; font-size: 11.5px; }
.control-range { flex-basis: 100%; }}
@media (max-width: 420px) {.brand-bar { padding: 7px 11px; }
a[data-contract="site-name"] { font-size: 16px; }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.poster-column { max-width: 150px; }
.episode-summary { max-height: 96px; opacity: 1; margin-bottom: 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}
