*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background-color: #d8d4cc;
  background-image: radial-gradient(rgba(90, 80, 70, 0.08) 1px, transparent 1px);
  background-size: 4px 4px;
  color: #2f3438;
  line-height: 1.6;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
header {
  background: #2b3338;
  border-bottom: 3px solid #b85c38;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.site-brand {
  color: #e8d9b0;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  border-left: 4px solid #b85c38;
  padding-left: 12px;
  transition: color 0.2s ease;
}
.site-brand:hover {
  color: #f5ecd8;
}
.category-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.runtime-category {
  color: #c9c2b4;
  font-size: 14px;
  padding: 4px 10px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.runtime-category:hover {
  color: #f0e6cf;
  border-color: #b85c38;
  border-radius: 3px;
}
main {
  max-width: 1400px;
  margin: 0 auto;
}
.hero-section {
  padding: 24px 20px 8px;
}
.movie-overview {
  background: #e6e1d8;
  border: 1px solid #b8b0a2;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr) minmax(0, 1.2fr);
  grid-template-rows: auto auto auto auto;
  column-gap: 28px;
  row-gap: 20px;
  position: relative;
}
.poster-wrapper {
  grid-row: 1 / span 4;
  grid-column: 1;
  align-self: start;
}
.main-poster {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  width: 100%;
  border-radius: 3px;
  border: 1px solid #a89f90;
  background: #8c8a85;
}
.movie-info-block {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}
.movie-title {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 28px;
  font-weight: 700;
  color: #2b2f33;
  line-height: 1.3;
  margin-bottom: 8px;
}
.movie-tagline {
  font-family: "Songti SC", "STSong", serif;
  font-style: italic;
  font-size: 16px;
  color: #8a5a3b;
  margin-bottom: 12px;
  border-left: 3px solid #b85c38;
  padding-left: 12px;
}
.seo-description {
  font-size: 14px;
  color: #4a4f53;
  max-width: 65ch;
  line-height: 1.7;
}
.movie-details {
  grid-column: 3;
  grid-row: 1;
}
.detail-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  font-size: 13px;
}
.detail-item {
  display: contents;
}
.detail-item dt {
  color: #7c7468;
  font-weight: 600;
  white-space: nowrap;
}
.detail-item dd {
  color: #2f3438;
}
.cast-section {
  grid-column: 2;
  grid-row: 2;
  border-top: 1px dashed #b0a695;
  padding-top: 16px;
  align-self: start;
}
.section-title {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 18px;
  font-weight: 700;
  color: #2b2f33;
  margin-bottom: 12px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: "";
  width: 4px;
  height: 20px;
  background: #b85c38;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.cast-card {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid #c8bfae;
  border-radius: 3px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background 0.2s, border-color 0.2s;
}
.cast-card:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: #b85c38;
}
.actor-name {
  font-family: "Songti SC", "STSong", serif;
  font-size: 16px;
  font-weight: 700;
  color: #2b2f33;
}
.actor-role {
  font-size: 12px;
  color: #7c7468;
}
.synopsis-section {
  grid-column: 3;
  grid-row: 2;
  border-top: 1px dashed #b0a695;
  padding-top: 16px;
  align-self: start;
}
.synopsis-text {
  font-size: 14px;
  color: #3d4247;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.synopsis-text p {
  max-width: 62ch;
}
.episode-status {
  grid-column: 2 / span 2;
  grid-row: 3;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #c0b7a8;
  margin-top: 4px;
}
.status-label {
  background: #b85c38;
  color: #f5ecd8;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
}
.status-divider {
  color: #8a8274;
}
.status-current {
  font-size: 13px;
  color: #6a6256;
}
.player-wrapper {
  grid-column: 2 / span 2;
  grid-row: 4;
  align-self: start;
  background: #1c2023;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #444c50;
}
.player-wrapper video {
  display: block;
  background: #000;
}
.player-wrapper.theater-mode {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 90;
  border-radius: 0;
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.player-wrapper.lights-off::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: -1;
  pointer-events: none;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 10px;
  background: #2a2e31;
}
.player-btn {
  color: #c9c2b4;
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid #4a5256;
  border-radius: 3px;
  transition: all 0.2s;
}
.player-btn:hover {
  color: #f0e6cf;
  border-color: #b85c38;
}
.player-btn.is-muted {
  background: #b85c38;
  color: #fff;
  border-color: #b85c38;
}
.episodes-section {
  padding: 24px 20px 8px;
  margin-top: 20px;
}
.episodes-section .section-title {
  margin-bottom: 16px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 10px;
}
.episode-item {
  background: #e6e1d8;
  border: 1px solid #b8b0a2;
  border-radius: 3px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: baseline;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.episode-item:hover {
  border-color: #b85c38;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.episode-number {
  font-family: "Songti SC", "STSong", serif;
  font-size: 20px;
  font-weight: 700;
  color: #b85c38;
  grid-row: 1 / span 2;
  align-self: center;
  min-width: 28px;
}
.episode-name {
  font-family: "Songti SC", "STSong", serif;
  font-size: 16px;
  font-weight: 700;
  color: #2b2f33;
}
.episode-duration {
  font-size: 12px;
  color: #7c7468;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.episode-summary {
  font-size: 13px;
  color: #4a4f53;
  grid-column: 2 / -1;
  grid-row: 2;
  line-height: 1.5;
}
.timeline-section {
  padding: 24px 20px 8px;
}
.timeline-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #b85c38 transparent;
}
.timeline-track {
  display: flex;
  gap: 0;
  min-width: 900px;
}
.timeline-item {
  flex: 1;
  min-width: 0;
  padding: 16px;
  background: #e6e1d8;
  border: 1px solid #b8b0a2;
  border-right: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline-item:first-child {
  border-radius: 4px 0 0 4px;
}
.timeline-item:last-child {
  border-right: 1px solid #b8b0a2;
  border-radius: 0 4px 4px 0;
}
.timeline-item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  width: 10px;
  height: 10px;
  background: #b85c38;
  border: 2px solid #e6e1d8;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.timeline-item:last-child::after {
  right: auto;
  left: -6px;
}
.timecode {
  font-family: "Songti SC", "STSong", serif;
  font-size: 14px;
  font-weight: 700;
  color: #b85c38;
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  color: #3d4247;
  line-height: 1.5;
}
.comments-section {
  padding: 24px 20px 8px;
}
.comments-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #b85c38 transparent;
}
.comment-slider {
  display: flex;
  gap: 16px;
  min-width: 850px;
}
.comment-card {
  flex: 0 0 260px;
  background: #e6e1d8;
  border: 1px solid #b8b0a2;
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 4px solid #b85c38;
  transition: box-shadow 0.2s;
}
.comment-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.comment-nickname {
  font-family: "Songti SC", "STSong", serif;
  font-size: 14px;
  font-weight: 700;
  color: #2b2f33;
  padding-bottom: 4px;
  border-bottom: 1px solid #c8bfae;
}
.comment-text {
  font-size: 14px;
  color: #4a4f53;
  line-height: 1.6;
  font-style: italic;
}
.recommendation-region {
  padding: 24px 20px 8px;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.recommendation-card {
  background: #e6e1d8;
  border: 1px solid #b8b0a2;
  border-radius: 4px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  align-self: start;
}
.recommendation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-color: #b85c38;
}
.recommendation-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
  background: #8c8a85;
}
.recommendation-card span {
  font-size: 13px;
  color: #3d4247;
  line-height: 1.4;
}
.recommendation-card span[data-runtime="name"] {
  font-family: "Songti SC", "STSong", serif;
  font-size: 15px;
  font-weight: 700;
  color: #2b2f33;
}
footer {
  background: #2b3338;
  border-top: 3px solid #b85c38;
  margin-top: 32px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  color: #c9c2b4;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.runtime-friend-link {
  color: #a9a294;
  font-size: 13px;
  transition: color 0.2s;
  white-space: nowrap;
}
.runtime-friend-link:hover {
  color: #f0e6cf;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.disclaimer {
  font-size: 12px;
  color: #7c7468;
  line-height: 1.6;
  border-top: 1px solid #3d454a;
  padding-top: 16px;
}
.footer-links {
  display: flex;
  gap: 20px;
  border-top: 1px solid #3d454a;
  padding-top: 16px;
}
.footer-home-link, .footer-sitemap-link {
  font-size: 13px;
  color: #c9c2b4;
  transition: color 0.2s;
}
.footer-home-link:hover, .footer-sitemap-link:hover {
  color: #f0e6cf;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 1100px) {.movie-overview {
    grid-template-columns: 180px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto auto;
  }
.poster-wrapper {
    grid-row: 1 / span 5;
  }
.movie-info-block {
    grid-column: 2;
    grid-row: 1;
  }
.movie-details {
    grid-column: 2;
    grid-row: 2;
  }
.cast-section {
    grid-column: 2;
    grid-row: 3;
  }
.synopsis-section {
    grid-column: 2;
    grid-row: 4;
  }
.episode-status {
    grid-column: 2;
    grid-row: 5;
  }
.player-wrapper {
    grid-column: 2;
    grid-row: 6;
  }}
@media (max-width: 768px) {.header-inner {
    padding: 10px 16px;
    gap: 16px;
  }
.site-brand {
    font-size: 18px;
  }
.category-nav {
    gap: 2px;
  }
.runtime-category {
    font-size: 12px;
    padding: 3px 6px;
  }
.hero-section {
    padding: 16px 12px 8px;
  }
.movie-overview {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }
.poster-wrapper {
    grid-row: auto;
    grid-column: 1;
    max-width: 180px;
    margin: 0 auto;
  }
.movie-info-block, .movie-details, .cast-section, .synopsis-section, .episode-status, .player-wrapper {
    grid-column: 1;
    grid-row: auto;
  }
.movie-title {
    font-size: 22px;
  }
.movie-tagline {
    font-size: 14px;
  }
.seo-description {
    font-size: 13px;
  }
.detail-list {
    font-size: 12px;
  }
.cast-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }
.episode-list {
    grid-template-columns: 1fr;
  }
.episode-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
.timeline-track {
    min-width: 700px;
  }
.comment-slider {
    min-width: 650px;
  }
.comment-card {
    flex-basis: 220px;
  }
.recommendation-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }
.footer-inner {
    padding: 20px 16px;
  }}
@media (max-width: 480px) {.movie-overview {
    padding: 12px;
  }
.main-poster {
    max-width: 140px;
  }
.movie-title {
    font-size: 20px;
  }
.movie-tagline {
    font-size: 13px;
  }
.seo-description {
    font-size: 12px;
    line-height: 1.6;
  }
.cast-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
.episode-item {
    padding: 12px;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }
.episode-number {
    grid-row: 1;
    grid-column: 1;
  }
.episode-name {
    grid-column: 2;
    grid-row: 1;
  }
.episode-duration {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }
.episode-summary {
    grid-column: 1 / -1;
    grid-row: 3;
  }
.timeline-track {
    min-width: 550px;
  }
.comment-slider {
    min-width: 520px;
  }
.comment-card {
    flex-basis: 200px;
  }
.recommendation-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
.recommendation-card {
    padding: 8px;
  }
.recommendation-card span {
    font-size: 12px;
  }
.player-controls {
    gap: 4px;
    padding: 6px;
  }
.player-btn {
    font-size: 11px;
    padding: 3px 6px;
  }
.footer-links {
    flex-wrap: wrap;
    gap: 12px;
  }}

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}
