*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Songti SC", "SimSun", "STSong", serif;
  background-color: #1a1613;
  color: #d9cdb8;
  line-height: 1.6;
  letter-spacing: 0.02em;
  min-height: 100vh;
  background-image: 
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 3px),
    radial-gradient(ellipse at 30% 20%, rgba(120, 90, 50, 0.15), transparent 60%);
}
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; font-size: inherit; }
details summary { cursor: pointer; }
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1rem 4%;
  background: #1a1613;
  border-bottom: 1px solid #3a3025;
  position: sticky;
  top: 0;
  z-index: 100;
}
a[data-contract="site-name"] {
  font-size: 1.35rem;
  font-weight: 700;
  color: #e8d5a8;
  letter-spacing: 0.15em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: #f0e6c8; }
.categories-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}
.runtime-category {
  color: #b8a88e;
  font-size: 0.9rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.08em;
  transition: color 0.2s, border-color 0.2s;
}
.runtime-category:hover {
  color: #e8d5a8;
  border-bottom-color: #e8d5a8;
}
.movie-overview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 4% 2.5rem;
  background: #221c17;
  border-radius: 8px;
  margin-top: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid #3a3025;
  position: relative;
}
.overview-media-shell {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.poster-wrapper {
  width: 100%;
  max-width: 280px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  border: 1px solid #4a3f2a;
  background: #1a1613;
}
.main-poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.player-wrapper {
  width: 100%;
  min-width: 0;
  background: #0f0c0a;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #3a3025;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.detail-player {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: #2a241e;
  border-top: 1px solid #4a3f2a;
}
.player-controls button {
  font-size: 0.75rem;
  color: #b8a88e;
  padding: 0.35rem 0.6rem;
  border: 1px solid #4a3f2a;
  border-radius: 3px;
  background: #1a1613;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.player-controls button:hover {
  background: #3a3025;
  color: #e8d5a8;
}
.title-tagline-group {
  margin-top: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #3a3025;
}
.movie-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #e8d5a8;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
.movie-tagline {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #b8a88e;
  font-style: italic;
  letter-spacing: 0.1em;
}
.cast-panel {
  margin-top: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #3a3025;
}
.block-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e8d5a8;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.block-heading::before {
  content: "";
  width: 4px;
  height: 1.4em;
  background: #8a6f3a;
  border-radius: 2px;
  flex-shrink: 0;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}
.cast-card {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  background: #2a241e;
  border-radius: 6px;
  border-left: 3px solid #8a6f3a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.cast-name {
  font-size: 1rem;
  font-weight: 600;
  color: #f0e6c8;
}
.cast-role {
  font-size: 0.85rem;
  color: #b8a88e;
  margin-top: 0.25rem;
}
.synopsis-panel {
  margin-top: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #3a3025;
}
.synopsis-paragraph {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #c4b49a;
  line-height: 1.75;
  text-align: justify;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.episode-status-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid #3a3025;
}
.episode-current {
  font-size: 0.95rem;
  color: #e8d5a8;
  background: #3a2e20;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid #8a6f3a;
}
.episode-total {
  font-size: 0.9rem;
  color: #b8a88e;
}
.details-panel {
  margin-top: 1.25rem;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem 1.5rem;
}
.detail-item {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.88rem;
}
.detail-item dt {
  color: #8a7a60;
  font-weight: 600;
  white-space: nowrap;
}
.detail-item dd {
  color: #d9cdb8;
}
.timeline-section {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 2rem 4%;
  background: #221c17;
  border-radius: 8px;
  border: 1px solid #3a3025;
}
.timeline-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  padding-top: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #8a6f3a #1a1613;
}
.timeline-scroll::-webkit-scrollbar { height: 6px; }
.timeline-scroll::-webkit-scrollbar-track { background: #1a1613; }
.timeline-scroll::-webkit-scrollbar-thumb { background: #8a6f3a; border-radius: 3px; }
.timeline-item {
  flex: 0 0 240px;
  background: #2a241e;
  border-radius: 6px;
  padding: 1rem;
  border-top: 3px solid #8a6f3a;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.timecode {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e8d5a8;
  letter-spacing: 0.08em;
}
.timeline-label {
  font-size: 0.88rem;
  color: #c4b49a;
  line-height: 1.6;
}
.episodes-section {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 2rem 4%;
  background: #221c17;
  border-radius: 8px;
  border: 1px solid #3a3025;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}
.episode-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem;
  background: #2a241e;
  border-radius: 6px;
  border: 1px solid #3a3025;
  transition: border-color 0.2s;
}
.episode-item:hover { border-color: #8a6f3a; }
.episode-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8a6f3a;
  line-height: 1;
  min-width: 1.4em;
  text-align: center;
  padding-top: 0.1em;
}
.episode-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.episode-title {
  font-size: 1rem;
  font-weight: 600;
  color: #e8d5a8;
}
.episode-summary {
  font-size: 0.85rem;
  color: #b8a88e;
  line-height: 1.6;
}
.episode-summary summary {
  color: #a89068;
  font-size: 0.8rem;
  display: inline;
  margin-right: 0.5rem;
}
.episode-summary summary:hover { color: #e8d5a8; }
.episode-duration {
  font-size: 0.78rem;
  color: #8a7a60;
}
.comments-section {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 2rem 4%;
  background: #221c17;
  border-radius: 8px;
  border: 1px solid #3a3025;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.comment-card {
  background: #2a241e;
  border-radius: 6px;
  padding: 1.25rem;
  border-left: 3px solid #8a6f3a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.comment-text {
  font-size: 0.95rem;
  font-style: italic;
  color: #c4b49a;
  line-height: 1.7;
}
.comment-author {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #8a7a60;
  text-align: right;
}
.recommendation-region {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 2rem 4%;
  background: #221c17;
  border-radius: 8px;
  border: 1px solid #3a3025;
}
.recommendation-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #2a241e;
  border-radius: 6px;
  border: 1px solid #3a3025;
  transition: border-color 0.2s, transform 0.2s;
  color: #d9cdb8;
  min-width: 0;
}
a[data-runtime="recommendation"]:hover {
  border-color: #8a6f3a;
  transform: translateY(-2px);
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  background: #1a1613;
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e8d5a8;
  line-height: 1.4;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.8rem;
  color: #8a7a60;
  line-height: 1.5;
  flex: 1;
}
footer {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 2rem 4% 3rem;
  background: #1a1613;
  border-top: 1px solid #3a3025;
}
.disclaimer-text {
  font-size: 0.8rem;
  color: #6a5a48;
  line-height: 1.7;
  max-width: 800px;
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #b8a88e;
  font-size: 0.9rem;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e8d5a8;
  border-bottom-color: #8a6f3a;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}
.friend-label {
  font-size: 0.85rem;
  color: #8a7a60;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.runtime-friend-link {
  font-size: 0.85rem;
  color: #b8a88e;
  padding: 0.2rem 0.5rem;
  border: 1px solid #3a3025;
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.runtime-friend-link:hover {
  color: #e8d5a8;
  border-color: #8a6f3a;
}
.player-wrapper.theater-mode {
  max-width: 100%;
}
.movie-overview.light-off .overview-media-shell, .movie-overview.light-off .title-tagline-group, .movie-overview.light-off .cast-panel, .movie-overview.light-off .synopsis-panel, .movie-overview.light-off .episode-status-panel, .movie-overview.light-off .details-panel {
  opacity: 0.3;
  transition: opacity 0.3s;
}
.movie-overview.light-off .player-wrapper {
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
}
.player-wrapper .detail-player.playing { border: 2px solid #8a6f3a; }
@media (max-width: 900px) {.overview-media-shell {
    grid-template-columns: 1fr;
  }
.poster-wrapper {
    max-width: 220px;
    margin: 0 auto;
  }
.comments-grid {
    grid-template-columns: 1fr;
  }}
@media (max-width: 640px) {html { font-size: 15px; }
header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 4%;
  }
.categories-nav {
    justify-content: flex-start;
    width: 100%;
  }
.movie-overview, .timeline-section, .episodes-section, .comments-section, .recommendation-region {
    padding: 1.5rem 4%;
    margin-top: 1rem;
  }
.episode-list {
    grid-template-columns: 1fr;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.recommendation-row {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.details-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.timeline-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
.timeline-item {
    flex-basis: 200px;
    flex-shrink: 0;
  }
.player-controls {
    justify-content: center;
  }}
@media (max-width: 420px) {.cast-list {
    grid-template-columns: 1fr 1fr;
  }
.recommendation-row {
    grid-template-columns: 1fr 1fr;
  }
.episode-item {
    flex-direction: column;
    align-items: flex-start;
  }
.episode-number {
    font-size: 1.2rem;
  }
.movie-title {
    font-size: 1.4rem;
  }
.footer-links {
    flex-wrap: wrap;
  }
.details-grid {
    grid-template-columns: 1fr 1fr;
  }}
.movie-overview::before, .timeline-section::before, .episodes-section::before, .comments-section::before, .recommendation-region::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8a6f3a, transparent);
  opacity: 0.5;
  pointer-events: none;
}
.movie-overview, .timeline-section, .episodes-section, .comments-section, .recommendation-region {
  position: relative;
}
.movie-overview::after, .timeline-section::after, .episodes-section::after, .comments-section::after, .recommendation-region::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.03) 0px, rgba(0, 0, 0, 0.03) 2px, transparent 2px, transparent 4px);
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.movie-overview > *, .timeline-section > *, .episodes-section > *, .comments-section > *, .recommendation-region > * {
  position: relative;
  z-index: 1;
}

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}
