* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: #0a0a0a;
  color: #d4d4d4;
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  font-size: 14px;
}
a {
  color: inherit;
  text-decoration: none;
}
img { display: block; max-width: 100%; }
button { background: none; border: none; color: inherit; cursor: pointer; font: inherit; }
main { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  background-color: #111;
  border-bottom: 1px solid #2a1212;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-brand {
  font-size: 22px;
  font-weight: 700;
  color: #e63946;
  letter-spacing: 1px;
  white-space: nowrap;
  font-family: Georgia, "Times New Roman", serif;
}
.site-brand:hover { color: #ff6b6b; }
.categories-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
}
.runtime-category {
  color: #bbb;
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.runtime-category:hover {
  background-color: #2a1212;
  border-color: #e63946;
  color: #fff;
}
.movie-hero {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  padding: 40px 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1212 60%, #0a0a0a 100%);
}
.poster-frame {
  align-self: start;
}
.hero-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #2a1212;
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.15);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.movie-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  color: #f5f0f0;
  line-height: 1.3;
  border-left: 4px solid #e63946;
  padding-left: 16px;
}
.tagline {
  font-size: 15px;
  color: #e63946;
  font-style: italic;
  padding-left: 20px;
  margin-top: -12px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background-color: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 16px;
}
.section-label {
  grid-column: 1 / -1;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #e63946;
  font-weight: 600;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 8px;
  margin-bottom: 4px;
}
.actor-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  background-color: #1a1a1a;
  border-radius: 6px;
  transition: background-color 0.2s;
}
.actor-card:hover { background-color: #241414; }
.actor-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a1212, #4a1a1a);
  border: 2px solid #5a2a2a;
  flex-shrink: 0;
  display: block;
}
.actor-name {
  font-weight: 600;
  color: #eee;
  font-size: 14px;
  display: block;
}
.actor-role {
  font-size: 12px;
  color: #8a8a8a;
  display: block;
}
.synopsis-block {
  background-color: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 16px;
}
.synopsis-block p {
  margin-bottom: 10px;
  color: #c4c4c4;
  line-height: 1.7;
}
.synopsis-block p:last-child { margin-bottom: 0; }
.episode-status {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background-color: #1a1212;
  border: 1px solid #3a1a1a;
  border-radius: 8px;
  padding: 12px 16px;
}
.status-label {
  font-size: 13px;
  color: #bbb;
}
.status-total {
  font-size: 24px;
  font-weight: 700;
  color: #e63946;
}
.status-sep {
  color: #444;
  font-size: 18px;
}
.status-current {
  font-size: 13px;
  color: #ddd;
  margin-left: 4px;
}
.status-current-num {
  font-size: 18px;
  font-weight: 600;
  color: #ff6b6b;
}
.movie-details {
  background-color: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 16px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}
.detail-item {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid #1a1a1a;
}
.detail-item dt {
  color: #888;
  font-size: 13px;
  min-width: 60px;
}
.detail-item dd {
  color: #ddd;
  font-size: 13px;
  font-weight: 500;
}
.player-wrapper {
  width: 100%;
  max-width: none;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  position: relative;
}
.player-wrapper video {
  display: block;
  background-color: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px;
  background-color: #111;
  border-top: 1px solid #2a2a2a;
}
.player-controls button {
  padding: 6px 12px;
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  font-size: 12px;
  color: #bbb;
  transition: background-color 0.2s, color 0.2s;
}
.player-controls button:hover {
  background-color: #2a1212;
  border-color: #e63946;
  color: #fff;
}
.player-wrapper.theater-mode {
  max-width: 100%;
  background-color: #000;
}
.player-wrapper.theater-mode video {
  max-height: 70vh;
}
.player-wrapper.lights-off video {
  filter: brightness(0.6);
}
.episodes-section {
  padding: 40px 0;
  border-top: 1px solid #2a2a2a;
}
.episodes-scroll {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.episode-card {
  background-color: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s;
  min-width: 0;
}
.episode-card:hover { border-color: #e63946; }
.episode-number {
  font-size: 12px;
  color: #e63946;
  font-weight: 600;
  text-transform: uppercase;
}
.episode-title {
  font-size: 18px;
  color: #eee;
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
}
.episode-summary {
  font-size: 13px;
  color: #9a9a9a;
  flex-grow: 1;
}
.episode-duration {
  font-size: 12px;
  color: #666;
  align-self: flex-end;
}
.timeline-section {
  padding: 40px 0;
  border-top: 1px solid #2a2a2a;
}
.timeline {
  position: relative;
  padding-left: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #e63946, #2a1212);
}
.timeline-item {
  position: relative;
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-left: 16px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e63946;
  border: 2px solid #0a0a0a;
}
.timeline-time {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  color: #e63946;
  font-weight: 700;
  min-width: 48px;
  white-space: nowrap;
}
.timeline-event {
  color: #c4c4c4;
  line-height: 1.5;
}
.comments-section {
  padding: 40px 0;
  border-top: 1px solid #2a2a2a;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.comment-item {
  background-color: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-nickname {
  font-weight: 600;
  color: #e63946;
  font-size: 14px;
}
.comment-text {
  color: #bbb;
  font-size: 13px;
  line-height: 1.6;
}
.recommendation-region {
  padding: 32px 0;
  border-top: 1px solid #2a2a2a;
}
.recommendation-title {
  font-size: 18px;
  color: #eee;
  margin-bottom: 16px;
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
  padding-left: 12px;
  border-left: 3px solid #e63946;
}
.recommendation-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.recommendation-card {
  background-color: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
  min-width: 0;
}
.recommendation-card:hover {
  border-color: #e63946;
  transform: translateY(-2px);
}
.recommendation-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.recommendation-card span {
  padding: 8px 12px;
  font-size: 13px;
}
.recommendation-card span[data-runtime="name"] {
  font-weight: 600;
  color: #ddd;
}
.recommendation-card span[data-runtime="blurb"] {
  color: #8a8a8a;
  font-size: 12px;
  padding-top: 0;
  line-height: 1.4;
}
footer {
  background-color: #111;
  border-top: 1px solid #2a2a2a;
  padding: 32px 24px;
  margin-top: 40px;
}
.footer-disclaimer {
  font-size: 12px;
  color: #666;
  margin-bottom: 16px;
  text-align: center;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-links a {
  color: #999;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: #e63946; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.friend-label {
  color: #666;
  font-size: 13px;
}
.runtime-friend-link {
  color: #888;
  font-size: 13px;
  transition: color 0.2s;
  white-space: nowrap;
}
.runtime-friend-link:hover { color: #e63946; }
@media (max-width: 1024px) {.movie-hero {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }
.episodes-scroll {
    grid-template-columns: repeat(4, 1fr);
  }
.recommendation-scroll {
    grid-template-columns: repeat(3, 1fr);
  }}
@media (max-width: 768px) {header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
.categories-nav {
    width: 100%;
  }
.movie-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }
.poster-frame {
    max-width: 240px;
  }
.cast-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.details-list {
    grid-template-columns: 1fr;
  }
.episodes-scroll {
    grid-template-columns: repeat(3, 1fr);
  }
.comment-list {
    grid-template-columns: 1fr;
  }
.recommendation-scroll {
    grid-template-columns: repeat(2, 1fr);
  }}
@media (max-width: 480px) {main {
    padding: 0 12px;
  }
.movie-title {
    font-size: 20px;
  }
.tagline {
    font-size: 13px;
  }
.cast-grid {
    grid-template-columns: 1fr;
  }
.episodes-scroll {
    grid-template-columns: 1fr;
  }
.recommendation-scroll {
    grid-template-columns: 1fr;
  }
.timeline-item {
    flex-direction: column;
    gap: 4px;
  }
.timeline-time {
    min-width: 0;
  }
.player-controls {
    gap: 4px;
  }
.player-controls button {
    padding: 4px 8px;
    font-size: 11px;
  }}

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}
