*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  background: #0a0d12;
  color: #d8dce2;
  line-height: 1.5;
  min-height: 100vh;
  font-size: 15px;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: none; background: none; color: inherit; cursor: pointer; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; }
.main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.site-header {
  background: #0c0f14;
  border-bottom: 1px solid #1e2631;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: baseline;
  gap: 32px;
  flex-wrap: wrap;
}
.brand-link {
  font-size: 20px;
  font-weight: 700;
  color: #e8c887;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 0.2s;
}
.brand-link:hover { color: #f5deb3; }
.categories-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  flex: 1;
  justify-content: flex-end;
  align-items: baseline;
}
.runtime-category {
  color: #8ea0b8;
  font-size: 14px;
  font-family: "Heiti SC", "PingFang SC", sans-serif;
  padding: 4px 0;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.runtime-category:hover { color: #e8c887; border-bottom-color: #e8c887; }
.movie-overview-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 0;
  background: #0e1218;
  border: 1px solid #1c242f;
  margin: 24px 0 40px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.overview-media-shell {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(135deg, #0d1117 0%, #121924 100%);
  border-right: 1px solid #1c242f;
  min-width: 0;
}
.poster-wrapper {
  width: min(100%, 320px);
  aspect-ratio: 2 / 3;
  background: #0a0d12;
  overflow: hidden;
  border: 1px solid #232d3a;
  box-shadow: 0 0 30px rgba(0,0,0,0.6), inset 0 0 40px rgba(0,0,0,0.4);
  position: relative;
  margin: 0 auto;
}
.main-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.player-wrapper {
  width: 100%;
  min-width: 0;
  position: relative;
  background: #000;
  border: 1px solid #1e2631;
}
.player-element {
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  background: #0d1117;
  border-top: 1px solid #1c242f;
  flex-wrap: wrap;
  align-items: center;
}
.ctrl-btn {
  color: #8ea0b8;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
  background: rgba(255,255,255,0.03);
}
.ctrl-btn:hover { background: rgba(232,200,135,0.15); color: #e8c887; }
.overview-content-group {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.movie-title {
  font-size: 26px;
  color: #f0e6d2;
  letter-spacing: 0.02em;
  border-left: 3px solid #e8c887;
  padding-left: 14px;
  font-weight: 700;
}
.tagline {
  color: #e8c887;
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.06em;
  padding-left: 17px;
}
.cast-fragment {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid #1c242f;
  border-bottom: 1px solid #1c242f;
}
.fragment-label {
  color: #6b7d95;
  font-size: 13px;
  font-family: "Heiti SC", "PingFang SC", sans-serif;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.cast-list { display: flex; gap: 18px; flex-wrap: wrap; }
.cast-item {
  color: #c8d2e0;
  font-size: 14px;
  position: relative;
  cursor: default;
  transition: color 0.2s;
}
.cast-item:hover { color: #e8c887; }
.cast-item::after {
  content: "·";
  position: absolute;
  right: -12px;
  color: #3a4a5e;
}
.cast-item:last-child::after { display: none; }
.synopsis-fragment { display: flex; flex-direction: column; gap: 10px; }
.fragment-heading {
  font-size: 17px;
  color: #e8c887;
  font-family: "Heiti SC", "PingFang SC", sans-serif;
  letter-spacing: 0.06em;
  position: relative;
  padding-left: 12px;
}
.fragment-heading::before {
  content: "";
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  width: 3px;
  background: linear-gradient(180deg, #e8c887, #8a6a3a);
}
.synopsis-para {
  font-size: 14px;
  color: #aab6c6;
  line-height: 1.7;
  text-align: justify;
}
.episode-status-fragment {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  background: rgba(232,200,135,0.06);
  padding: 10px 14px;
  border-left: 2px solid #e8c887;
}
.status-label { color: #6b7d95; font-size: 13px; }
.status-current {
  color: #e8c887;
  font-weight: 700;
  font-size: 16px;
  font-family: "Heiti SC", "PingFang SC", sans-serif;
}
.status-total { color: #6b7d95; font-size: 13px; }
.details-fragment { margin-top: 2px; }
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}
.detail-item {
  display: flex;
  gap: 8px;
  font-size: 13px;
  padding-bottom: 4px;
  border-bottom: 1px dashed #1c242f;
}
.detail-item dt {
  color: #6b7d95;
  flex-shrink: 0;
  font-family: "Heiti SC", "PingFang SC", sans-serif;
}
.detail-item dd { color: #c0cad8; }
.timeline-fragment {
  margin: 40px 0;
  padding: 24px 0;
  border-top: 1px solid #1c242f;
  border-bottom: 1px solid #1c242f;
  position: relative;
}
.timeline-fragment .fragment-heading { margin-bottom: 24px; }
.timeline-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  padding: 0 20px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 16px; left: 40px; right: 40px;
  height: 2px;
  background: linear-gradient(90deg, #2a3748, #e8c887 30%, #e8c887 70%, #2a3748);
  opacity: 0.4;
}
.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.timeline-item::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #e8c887;
  border: 2px solid #0a0d12;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(232,200,135,0.5);
  margin-bottom: 2px;
}
.timecode {
  font-size: 13px;
  color: #e8c887;
  font-family: "Heiti SC", "PingFang SC", sans-serif;
  letter-spacing: 0.05em;
}
.label {
  font-size: 13px;
  color: #8ea0b8;
}
.episodes-fragment {
  margin: 40px 0;
  padding: 24px 0;
  border-top: 1px solid #1c242f;
}
.episodes-fragment .fragment-heading { margin-bottom: 20px; }
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}
.episode-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title dur"
    "num summary summary";
  gap: 2px 12px;
  padding: 12px 14px;
  background: #0e1218;
  border: 1px solid #1a222e;
  border-left: 3px solid #2a3748;
  transition: border-color 0.2s, background 0.2s;
  align-items: start;
}
.episode-item:hover {
  border-left-color: #e8c887;
  background: #11161e;
}
.ep-number {
  grid-area: num;
  font-size: 13px;
  color: #6b7d95;
  font-family: "Heiti SC", "PingFang SC", sans-serif;
  white-space: nowrap;
}
.ep-title {
  grid-area: title;
  font-size: 15px;
  color: #d8dce2;
  font-weight: 600;
}
.ep-summary {
  grid-area: summary;
  font-size: 13px;
  color: #8ea0b8;
  line-height: 1.5;
}
.ep-duration {
  grid-area: dur;
  font-size: 12px;
  color: #4a5a6e;
  white-space: nowrap;
  font-family: "Heiti SC", "PingFang SC", sans-serif;
}
.cast-intro-section {
  margin: 40px 0;
  padding: 24px 0;
  border-top: 1px solid #1c242f;
}
.cast-intro-section .fragment-heading { margin-bottom: 20px; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cast-card {
  background: #0e1218;
  border: 1px solid #1a222e;
  padding: 20px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.cast-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e8c887, transparent);
  opacity: 0.4;
}
.cast-card:hover { border-color: #2a3748; transform: translateY(-2px); }
.cast-name {
  font-size: 18px;
  color: #f0e6d2;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}
.cast-role {
  font-size: 13px;
  color: #6b7d95;
  font-family: "Heiti SC", "PingFang SC", sans-serif;
  letter-spacing: 0.1em;
}
.comments-fragment {
  margin: 40px 0;
  padding: 24px 0;
  border-top: 1px solid #1c242f;
}
.comments-fragment .fragment-heading { margin-bottom: 20px; }
.comments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.comment-card {
  background: #0e1218;
  border: 1px solid #1a222e;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.comment-card::after {
  content: "”";
  position: absolute;
  bottom: -8px; right: 10px;
  font-size: 40px;
  color: #1e2631;
  line-height: 1;
}
.comment-nick {
  font-size: 13px;
  color: #e8c887;
  font-family: "Heiti SC", "PingFang SC", sans-serif;
  letter-spacing: 0.05em;
  padding-bottom: 6px;
  border-bottom: 1px solid #1c242f;
}
.comment-text {
  font-size: 13px;
  color: #aab6c6;
  line-height: 1.6;
}
.recommendation-region {
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid #1c242f;
}
.recommendation-region .fragment-heading { margin-bottom: 16px; }
.recommendation-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #2a3748 transparent;
  padding-bottom: 8px;
}
.rec-card {
  display: flex;
  flex-direction: column;
  background: #0e1218;
  border: 1px solid #1a222e;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}
.rec-card:hover {
  border-color: #e8c887;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}
.rec-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #1a222e;
  filter: saturate(0.8);
  transition: filter 0.2s;
}
.rec-card:hover .rec-thumb { filter: saturate(1); }
.rec-name {
  font-size: 14px;
  color: #d8dce2;
  padding: 10px 10px 2px;
  font-weight: 600;
  font-family: "Heiti SC", "PingFang SC", sans-serif;
}
.rec-blurb {
  font-size: 12px;
  color: #8ea0b8;
  padding: 2px 10px 10px;
  line-height: 1.4;
  flex: 1;
}
.site-footer {
  background: #0c0f14;
  border-top: 1px solid #1e2631;
  margin-top: 48px;
}
.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}
.disclaimer {
  font-size: 12px;
  color: #4a5a6e;
  line-height: 1.6;
  max-width: 480px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-links a {
  font-size: 13px;
  color: #8ea0b8;
  transition: color 0.2s;
}
.footer-links a:hover { color: #e8c887; }
.friend-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: baseline;
  border-top: 1px solid #1c242f;
  padding-top: 16px;
}
.friend-label {
  font-size: 12px;
  color: #4a5a6e;
  font-family: "Heiti SC", "PingFang SC", sans-serif;
  letter-spacing: 0.1em;
  margin-right: 8px;
}
.runtime-friend-link {
  font-size: 12px;
  color: #6b7d95;
  transition: color 0.2s;
  white-space: nowrap;
}
.runtime-friend-link:hover { color: #e8c887; }
body.lights-dim {
  background: #05070a;
}
body.lights-dim .movie-overview-panel, body.lights-dim .episode-item, body.lights-dim .cast-card, body.lights-dim .comment-card, body.lights-dim .rec-card {
  background: #0a0d12;
}
body.theater-mode .main-container {
  max-width: none;
}
body.theater-mode .movie-overview-panel {
  grid-template-columns: 1fr;
}
body.theater-mode .overview-media-shell {
  border-right: none;
  border-bottom: 1px solid #1c242f;
}
body.theater-mode .poster-wrapper {
  display: none;
}
@media (max-width: 1024px) {.movie-overview-panel {
    grid-template-columns: 1fr;
  }
.overview-media-shell {
    border-right: none;
    border-bottom: 1px solid #1c242f;
  }
.poster-wrapper {
    width: min(100%, 280px);
  }
.recommendation-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episode-list {
    grid-template-columns: 1fr;
  }}
@media (max-width: 768px) {.main-container { padding: 0 14px; }
.header-inner { padding: 8px 14px; gap: 12px; }
.categories-nav { justify-content: flex-start; }
.movie-title { font-size: 21px; }
.overview-content-group { padding: 18px 16px 22px; }
.details-grid { grid-template-columns: 1fr; }
.timeline-track { padding: 0 10px; }
.cast-grid, .comments-grid {
    grid-template-columns: 1fr;
  }
.recommendation-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.footer-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
.footer-links { justify-content: flex-start; }
.poster-wrapper {
    width: min(100%, 240px);
  }
.player-wrapper {
    min-width: 0;
  }}
@media (max-width: 480px) {.main-container { padding: 0 10px; }
.movie-overview-panel { margin: 14px 0 28px; }
.overview-media-shell { padding: 12px; }
.overview-content-group { padding: 16px 12px 20px; }
.recommendation-strip {
    grid-template-columns: 1fr;
  }
.timeline-track {
    grid-template-columns: 1fr;
    gap: 16px;
  }
.timeline-track::before {
    top: 5px; bottom: 5px;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #2a3748, #e8c887 30%, #e8c887 70%, #2a3748);
    transform: translateX(-50%);
  }
.timeline-item {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding-left: 8px;
  }
.timeline-item::before {
    margin: 0;
    flex-shrink: 0;
  }
.timecode { min-width: 48px; text-align: right; }
.episode-item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "num dur"
      "title title"
      "summary summary";
  }
.ep-duration { text-align: right; }
.brand-link { font-size: 17px; }}

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}
