*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #0a0e1a;
  color: #c9d1e8;
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.2rem;
  background: #0e1424;
  border-bottom: 2px solid #3a1a2a;
  position: sticky;
  top: 0;
  z-index: 100;
}
a[data-contract="site-name"] {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #e8d5a3;
  text-shadow: 0 0 8px rgba(255, 180, 80, 0.5);
  text-decoration: none;
  white-space: nowrap;
}
.category-nav {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.runtime-category {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #9aa8c7;
  background: transparent;
  border: 1px solid #3a4a6a;
  border-radius: 3px;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.runtime-category:hover {
  color: #e8d5a3;
  border-color: #e8d5a3;
  box-shadow: 0 0 6px rgba(255, 180, 80, 0.3);
}
.movie-overview-shell {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  gap: 0;
  background: linear-gradient(145deg, #11182b 0%, #0d1322 60%, #141020 100%);
  border-bottom: 3px solid #4a1a2a;
  position: relative;
}
.movie-overview-shell::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4a1a2a, #e8d5a3, #4a1a2a);
  opacity: 0.5;
}
.poster-column {
  padding: 1.2rem 1rem 1.2rem 1.2rem;
  align-self: start;
}
.poster-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 4px 12px 4px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 0 1px #3a1a2a inset;
  background: #0a0e1a;
  aspect-ratio: 2/3;
}
.poster-wrapper::after {
  content: "▶";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(255, 200, 120, 0.7);
  text-shadow: 0 0 20px rgba(255, 150, 50, 0.8);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.poster-wrapper:hover::after { opacity: 1; }
.main-poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px 12px 4px 12px;
}
.info-column {
  padding: 1.2rem 1.2rem 1.5rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
}
.title-block { border-bottom: 1px solid #2a3550; padding-bottom: 0.6rem; }
.movie-title {
  font-size: 1.9rem;
  font-weight: 900;
  color: #f0d8a8;
  text-shadow: 0 0 12px rgba(255, 170, 60, 0.5), 0 0 30px rgba(255, 100, 50, 0.2);
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}
.tagline {
  font-size: 0.9rem;
  color: #9aa8c7;
  font-style: italic;
  letter-spacing: 0.04em;
}
.cast-section { margin-top: 0.2rem; }
.section-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #e8d5a3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-left: 4px solid #c04a3a;
  padding-left: 0.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 6px rgba(255, 180, 80, 0.3);
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.cast-member {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(20, 28, 48, 0.6);
  border-radius: 4px;
  padding: 0.3rem 0.4rem;
  border: 1px solid #2a3550;
  min-width: 0;
}
.cast-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a1a2a, #5a3a4a);
  border: 1px solid #c04a3a;
  flex-shrink: 0;
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  bottom: 0; left: 25%;
  width: 50%; height: 40%;
  background: #e8d5a3;
  border-radius: 50% 50% 0 0;
  opacity: 0.4;
}
.cast-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #c9d1e8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-section { border-top: 1px solid #2a3550; padding-top: 0.6rem; }
.synopsis-paragraph {
  font-size: 0.88rem;
  color: #b0bcd8;
  margin-bottom: 0.4rem;
  line-height: 1.55;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.episode-status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  background: rgba(74, 26, 42, 0.3);
  border: 1px solid #4a1a2a;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}
.episode-current {
  color: #f0d8a8;
  text-shadow: 0 0 8px rgba(255, 170, 60, 0.3);
}
.episode-total, .episode-duration { color: #9aa8c7; }
.episode-total::before, .episode-duration::before {
  content: "·";
  margin-right: 0.4rem;
  color: #c04a3a;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.3rem 0.8rem;
  border-top: 1px solid #2a3550;
  padding-top: 0.6rem;
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.3rem 0.4rem;
  background: rgba(15, 20, 36, 0.5);
  border-radius: 3px;
  border-left: 2px solid #3a1a2a;
}
.detail-label {
  font-size: 0.65rem;
  color: #6a7a9a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.detail-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: #d0d8f0;
}
.player-section {
  background: #0a0e1a;
  padding: 0.8rem 1.2rem 1rem;
  border-bottom: 2px solid #3a1a2a;
  position: relative;
}
.player-section video {
  display: block;
  border-radius: 6px;
  box-shadow: 0 0 24px rgba(0,0,0,0.8), 0 0 0 2px #2a3550;
  background: #000;
  max-width: 100%;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.5rem;
  justify-content: center;
}
.player-controls button {
  background: #11182b;
  border: 1px solid #3a4a6a;
  color: #9aa8c7;
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}
.player-controls button:hover {
  color: #f0d8a8;
  border-color: #f0d8a8;
  box-shadow: 0 0 8px rgba(255, 180, 80, 0.2);
}
.player-section video.theater-mode {
  border-radius: 0;
  box-shadow: none;
  width: 100%;
}
.player-section video.lights-off {
  filter: brightness(0.7) contrast(1.1);
}
.player-section video.fullscreen {
  object-fit: contain;
}
.timeline-section {
  padding: 1.2rem 1.2rem 0.8rem;
  background: #0d1322;
  border-bottom: 2px solid #2a3550;
}
.timeline-scroll {
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #4a1a2a #11182b;
}
.timeline-track {
  display: flex;
  gap: 0.8rem;
  min-width: max-content;
  padding: 0.3rem;
}
.timeline-item {
  flex: 0 0 180px;
  background: linear-gradient(160deg, #141c30, #0e1424);
  border: 1px solid #2a3550;
  border-top: 3px solid #c04a3a;
  border-radius: 4px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.5), 0 0 0 1px #c04a3a;
}
.timecode {
  font-size: 0.75rem;
  font-weight: 800;
  color: #f0d8a8;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #3a1a2a;
  padding-bottom: 0.2rem;
}
.timeline-label {
  font-size: 0.78rem;
  color: #b0bcd8;
  line-height: 1.4;
}
.episodes-section {
  padding: 1.2rem 1.2rem 0.8rem;
  background: #0a0e1a;
  border-bottom: 2px solid #2a3550;
}
.episodes-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.6rem;
  max-height: none;
  overflow: visible;
}
.episode-card {
  background: #11182b;
  border: 1px solid #2a3550;
  border-left: 4px solid #c04a3a;
  border-radius: 4px;
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.episode-number {
  font-size: 0.7rem;
  font-weight: 800;
  color: #6a7a9a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.episode-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f0d8a8;
  margin: 0;
  line-height: 1.3;
}
.episode-card p {
  font-size: 0.8rem;
  color: #9aa8c7;
  line-height: 1.4;
  flex-grow: 1;
}
.episode-card .episode-duration {
  font-size: 0.7rem;
  color: #6a7a9a;
  border-top: 1px solid #1a2440;
  padding-top: 0.3rem;
  margin-top: 0.2rem;
}
.comments-section {
  padding: 1.2rem 1.2rem 0.8rem;
  background: #0d1322;
  border-bottom: 2px solid #2a3550;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.comment-card {
  background: #11182b;
  border: 1px solid #2a3550;
  border-radius: 4px;
  padding: 0.6rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.comment-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e8d5a3;
  letter-spacing: 0.04em;
}
.comment-text {
  font-size: 0.82rem;
  color: #b0bcd8;
  line-height: 1.4;
}
.recommendation-region {
  padding: 1.2rem 1.2rem 0.8rem;
  background: #0a0e1a;
  border-bottom: 2px solid #2a3550;
}
.recommendation-region:nth-of-type(even) { background: #0d1322; }
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.8rem;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: #11182b;
  border: 1px solid #2a3550;
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}
a[data-runtime="recommendation"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.6), 0 0 0 1px #c04a3a;
  border-color: #c04a3a;
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-bottom: 1px solid #2a3550;
}
a[data-runtime="recommendation"] span[data-runtime="name"] {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f0d8a8;
  padding: 0 0.5rem;
}
a[data-runtime="recommendation"] span[data-runtime="blurb"] {
  font-size: 0.75rem;
  color: #9aa8c7;
  padding: 0 0.5rem 0.5rem;
  line-height: 1.3;
  flex-grow: 1;
}
footer {
  background: #0e1424;
  padding: 1rem 1.2rem 1.5rem;
  border-top: 3px solid #4a1a2a;
}
.disclaimer {
  font-size: 0.75rem;
  color: #6a7a9a;
  margin-bottom: 0.8rem;
  line-height: 1.4;
  border-left: 3px solid #3a1a2a;
  padding-left: 0.6rem;
}
.footer-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.82rem;
  color: #9aa8c7;
  text-decoration: none;
  transition: color 0.2s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover { color: #f0d8a8; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  align-items: center;
}
.friend-links-label {
  font-size: 0.75rem;
  color: #6a7a9a;
  margin-right: 0.3rem;
  font-weight: 600;
}
.runtime-friend-link {
  font-size: 0.75rem;
  color: #8a9ab8;
  text-decoration: none;
  border-bottom: 1px dotted #3a4a6a;
  transition: color 0.2s, border-color 0.2s;
}
.runtime-friend-link:hover {
  color: #f0d8a8;
  border-color: #f0d8a8;
}
@media (max-width: 900px) {.movie-overview-shell {
    grid-template-columns: 1fr;
  }
.poster-column {
    padding: 1rem;
    max-width: 320px;
    margin: 0 auto;
  }
.info-column { padding: 1rem; }
.cast-grid { grid-template-columns: repeat(2, 1fr); }
.comments-grid { grid-template-columns: 1fr; }}
@media (max-width: 600px) {header {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
  }
.category-nav { justify-content: center; }
.movie-title { font-size: 1.4rem; }
.cast-grid { grid-template-columns: repeat(2, 1fr); }
.episodes-scroll { grid-template-columns: 1fr; }
.recommendation-grid { grid-template-columns: repeat(2, 1fr); }
.details-grid { grid-template-columns: repeat(2, 1fr); }
.player-section { padding: 0.5rem 0.8rem 0.8rem; }
.player-controls { gap: 0.2rem; }
.player-controls button { flex: 1 1 auto; }
.timeline-item { flex: 0 0 150px; }}
@media (max-width: 420px) {.recommendation-grid { grid-template-columns: 1fr; }
.cast-grid { grid-template-columns: 1fr; }
.details-grid { grid-template-columns: 1fr 1fr; }
.poster-column { max-width: 260px; }}

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}
