*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background-color: #1a1a1a;
  color: #c9c2b4;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; color: inherit; font: inherit; }
h1, h2 { font-family: Georgia, "Times New Roman", "Songti SC", serif; font-weight: 700; }
body { padding: 0; }
header, main, footer { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 16px;
  border-bottom: 1px solid #3a352c;
  background: #1a1a1a;
}
.site-brand {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #c9a86a;
  text-decoration: none;
  white-space: nowrap;
}
.site-brand:hover { color: #e0c48a; }
.categories-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  justify-content: flex-end;
  align-items: center;
}
.categories-nav .runtime-category {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.85rem;
  color: #a89f8e;
  border: 1px solid #3a352c;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.categories-nav .runtime-category:hover {
  color: #c9a86a;
  border-color: #c9a86a;
}
main { padding-bottom: 24px; }
.movie-overview-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  grid-template-areas:
    "poster title"
    "poster synopsis"
    "poster cast"
    "poster status"
    "poster details"
    "poster player";
  gap: 0;
  margin: 16px 0 24px;
  background: #1f1e1b;
  border: 1px solid #3a352c;
  border-radius: 4px;
  overflow: hidden;
}
.poster-wrapper {
  grid-area: poster;
  align-self: start;
  background: #141312;
}
.main-poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.title-tagline-group {
  grid-area: title;
  padding: 20px 24px 8px;
  border-bottom: 1px solid #2e2a24;
}
.movie-title {
  font-size: 1.5rem;
  color: #e0d6c2;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.movie-tagline {
  font-size: 1rem;
  color: #c9a86a;
  font-style: italic;
  letter-spacing: 0.04em;
}
.synopsis-block {
  grid-area: synopsis;
  padding: 16px 24px;
  border-bottom: 1px solid #2e2a24;
}
.block-heading {
  font-size: 1.1rem;
  color: #c9a86a;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  border-left: 3px solid #c9a86a;
  padding-left: 10px;
}
.synopsis-paragraph {
  font-size: 0.9rem;
  color: #b0a896;
  margin-bottom: 10px;
  text-align: justify;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.cast-section {
  grid-area: cast;
  padding: 16px 24px;
  border-bottom: 1px solid #2e2a24;
}
.cast-card-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}
.cast-card {
  padding: 10px 8px;
  background: #26241f;
  border: 1px solid #3a352c;
  border-radius: 2px;
  text-align: center;
  transition: border-color 0.2s;
}
.cast-card:hover { border-color: #c9a86a; }
.cast-name {
  font-size: 0.9rem;
  color: #d8d0be;
  letter-spacing: 0.05em;
}
.episode-status-block {
  grid-area: status;
  padding: 10px 24px;
  border-bottom: 1px solid #2e2a24;
  display: flex;
  gap: 16px;
  align-items: center;
}
.status-current {
  font-size: 0.9rem;
  color: #c9a86a;
  font-weight: 700;
}
.status-total {
  font-size: 0.85rem;
  color: #8c8375;
}
.movie-details-panel {
  grid-area: details;
  padding: 12px 24px;
  border-bottom: 1px solid #2e2a24;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 4px 20px;
}
.detail-item {
  display: flex;
  gap: 6px;
  font-size: 0.82rem;
  padding: 2px 0;
}
.detail-item dt {
  color: #8c8375;
  white-space: nowrap;
}
.detail-item dd {
  color: #c9c2b4;
}
.player-container {
  grid-area: player;
  padding: 16px 24px 20px;
  min-width: 0;
}
.player-container video {
  background: #000;
  border: 1px solid #3a352c;
  border-radius: 2px;
}
.player-controls {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  padding: 6px 8px;
  background: #26241f;
  border: 1px solid #3a352c;
  border-radius: 2px;
}
.player-controls button {
  padding: 4px 8px;
  font-size: 0.9rem;
  color: #b0a896;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}
.player-controls button:hover {
  color: #c9a86a;
  background: #33302a;
}
.player-controls button.is-playing { color: #c9a86a; }
.player.theater-mode video { width: 100%; }
.player.lights-off video { filter: brightness(0.6); }
.timeline-section {
  margin: 24px 0;
  padding: 20px;
  background: #1f1e1b;
  border: 1px solid #3a352c;
  border-radius: 4px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 12px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #c9a86a 10%, #c9a86a 90%, transparent);
  opacity: 0.4;
}
.timeline-node {
  position: relative;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 8px; top: 4px;
  width: 9px; height: 9px;
  background: #1f1e1b;
  border: 2px solid #c9a86a;
  border-radius: 50%;
}
.node-timecode {
  font-size: 0.8rem;
  font-weight: 700;
  color: #c9a86a;
  letter-spacing: 0.04em;
}
.node-label {
  font-size: 0.85rem;
  color: #b0a896;
  line-height: 1.4;
}
.episodes-section {
  margin: 24px 0;
  padding: 20px;
  background: #1f1e1b;
  border: 1px solid #3a352c;
  border-radius: 4px;
}
.episode-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.episode-item {
  display: grid;
  grid-template-columns: 70px 100px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 10px 8px;
  border-bottom: 1px solid #2e2a24;
  transition: background 0.2s;
}
.episode-item:last-child { border-bottom: none; }
.episode-item:hover { background: #26241f; }
.episode-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: #c9a86a;
  white-space: nowrap;
}
.episode-title {
  font-size: 0.9rem;
  color: #e0d6c2;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  font-size: 0.82rem;
  color: #a89f8e;
  line-height: 1.4;
}
.comments-section {
  margin: 24px 0;
  padding: 20px;
  background: #1f1e1b;
  border: 1px solid #3a352c;
  border-radius: 4px;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.comment-card {
  padding: 14px;
  background: #26241f;
  border-left: 3px solid #c9a86a;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comment-nickname {
  font-size: 0.85rem;
  font-weight: 700;
  color: #c9a86a;
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 0.85rem;
  color: #b0a896;
  line-height: 1.5;
}
.recommendation-region {
  margin: 24px 0;
  padding: 20px;
  background: #1f1e1b;
  border: 1px solid #3a352c;
  border-radius: 4px;
}
.recommendation-region .block-heading { margin-bottom: 16px; }
.recommendation-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.recommendation-scroll a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: #26241f;
  border: 1px solid #3a352c;
  border-radius: 2px;
  transition: border-color 0.2s, transform 0.2s;
  color: inherit;
}
.recommendation-scroll a[data-runtime="recommendation"]:hover {
  border-color: #c9a86a;
  transform: translateY(-2px);
}
.recommendation-scroll a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1px;
}
.recommendation-scroll a[data-runtime="recommendation"] span[data-runtime="name"] {
  font-size: 0.9rem;
  font-weight: 600;
  color: #d8d0be;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommendation-scroll a[data-runtime="recommendation"] span[data-runtime="blurb"] {
  font-size: 0.78rem;
  color: #8c8375;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
footer {
  border-top: 1px solid #3a352c;
  padding: 20px 16px 32px;
  margin-top: 16px;
  background: #141312;
}
.footer-friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  margin-bottom: 16px;
}
.friend-links-label {
  font-size: 0.82rem;
  color: #8c8375;
  white-space: nowrap;
}
.runtime-friend-link {
  font-size: 0.8rem;
  color: #a89f8e;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.runtime-friend-link:hover {
  color: #c9a86a;
  text-decoration: underline;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #2e2a24;
}
.footer-legal p {
  font-size: 0.78rem;
  color: #6e675c;
  max-width: 70ch;
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-links a {
  font-size: 0.82rem;
  color: #a89f8e;
  text-decoration: none;
}
.footer-links a:hover {
  color: #c9a86a;
  text-decoration: underline;
}
.player.theater-mode video { width: 100%; }
.player.lights-off video { filter: brightness(0.5); }
.player.is-fullscreen video { height: 100%; }
.player.is-muted video { opacity: 0.8; }
@media (max-width: 768px) {.movie-overview-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "poster"
      "title"
      "synopsis"
      "cast"
      "status"
      "details"
      "player";
  }
.poster-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }
.episode-item {
    grid-template-columns: 60px 1fr;
    gap: 4px 10px;
  }
.episode-summary {
    grid-column: 2;
  }
.timeline-list {
    grid-template-columns: 1fr;
  }
.timeline-list::before { left: 8px; }
.recommendation-scroll {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }}
@media (max-width: 480px) {header {
    flex-direction: column;
    align-items: flex-start;
  }
.categories-nav {
    justify-content: flex-start;
  }
.movie-title {
    font-size: 1.2rem;
  }
.details-list {
    grid-template-columns: 1fr 1fr;
  }
.recommendation-scroll {
    grid-template-columns: 1fr 1fr;
  }
.footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }}

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}
