* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: linear-gradient(180deg, #141414 0%, #1a1a1a 30%, #0d0d0d 100%);
  background-attachment: fixed;
  color: #f5f0e8;
  font-family: "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", sans-serif;
  font-weight: 300;
  line-height: 1.75;
  min-height: 100vh;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: "Songti SC", "SimSun", "STSong", serif; font-weight: 700; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid rgba(139, 0, 0, 0.4);
  background: rgba(10, 10, 10, 0.85);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
a[data-contract="site-name"] {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #f5f0e8;
  text-decoration: none;
  border-left: 3px solid #c8102e;
  padding-left: 0.75rem;
  transition: color 0.3s;
}
a[data-contract="site-name"]:hover { color: #e8c468; }
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 400;
  color: #b8b0a4;
  text-decoration: none;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  transition: all 0.25s;
}
a.runtime-category:hover, a.runtime-category:focus {
  color: #f5f0e8;
  background: rgba(200, 16, 46, 0.2);
  text-decoration: underline;
  text-decoration-color: #c8102e;
  text-underline-offset: 4px;
}
.hero-cinema {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1rem;
  align-items: start;
}
.poster-frame {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
}
.main-poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}
.hero-content {
  grid-column: 2;
  grid-row: 1;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: start;
}
.film-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #f5f0e8;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.tagline {
  font-size: 1rem;
  font-style: italic;
  color: #e8c468;
  letter-spacing: 0.08em;
  border-left: 2px solid #c8102e;
  padding-left: 0.75rem;
  margin-bottom: 0.5rem;
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f5f0e8;
  position: relative;
  padding-bottom: 0.4rem;
  margin-bottom: 0.5rem;
  width: fit-content;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #e8c468, transparent);
}
.synopsis-block p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #d8d2c8;
  max-width: 65ch;
}
.cast-grid {
  margin-top: 0.5rem;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}
.cast-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(200, 16, 46, 0.5);
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a), radial-gradient(circle at 30% 30%, #3a3a3a, transparent);
  background-blend-mode: overlay;
  position: relative;
  overflow: hidden;
}
.cast-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 40%, rgba(232, 196, 104, 0.15), transparent 70%);
}
.cast-name {
  font-size: 0.9rem;
  color: #e8c468;
  font-weight: 400;
  letter-spacing: 0.1em;
}
.episode-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
}
.current-episode {
  font-size: 1.1rem;
  font-weight: 700;
  color: #c8102e;
  border: 1px solid #c8102e;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  background: rgba(200, 16, 46, 0.1);
}
.total-episodes {
  font-size: 0.95rem;
  color: #b8b0a4;
  letter-spacing: 0.05em;
}
.meta-details {
  margin-top: 0.25rem;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 1.5rem;
  font-size: 0.9rem;
  color: #d8d2c8;
}
.detail-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.detail-label {
  color: #8a8278;
  font-size: 0.8rem;
  min-width: 3.5em;
}
.score-highlight {
  color: #e8c468;
  font-weight: 700;
  font-size: 1.1em;
  letter-spacing: 0.05em;
}
.player-shell {
  grid-column: 3;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  align-self: start;
  background: #0a0a0a;
  border: 1px solid rgba(139, 0, 0, 0.3);
  border-radius: 4px;
  overflow: hidden;
}
.player-shell video {
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.5rem;
  background: #111;
  border-top: 1px solid rgba(200, 16, 46, 0.2);
}
.player-controls button {
  background: #1a1a1a;
  color: #d8d2c8;
  border: 1px solid #333;
  font-size: 0.75rem;
  font-family: inherit;
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.player-controls button:hover {
  background: #2a2a2a;
  border-color: #c8102e;
  color: #f5f0e8;
}
.player.theater-mode, video.theater-mode {
  width: 100% !important;
  aspect-ratio: 21 / 9;
}
.player.lights-dim, video.lights-dim {
  filter: brightness(0.6) saturate(0.8);
}
.player.mute, video.mute { opacity: 0.85; }
.player.pip, video.pip { border: 2px solid #e8c468; }
.player.fullscreen, video.fullscreen { object-fit: contain; }
.player.play, video.play { box-shadow: 0 0 8px rgba(200, 16, 46, 0.4); }
.player.speed, video.speed { border-bottom: 2px solid #e8c468; }
.player.volume, video.volume { border-left: 2px solid #e8c468; }
.player.progress, video.progress { border-right: 2px solid #e8c468; }
.player.click, video.click { outline: 1px solid rgba(232, 196, 104, 0.5); }
.timeline-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(42, 36, 28, 0.3) 0%, rgba(60, 52, 40, 0.15) 50%, rgba(42, 36, 28, 0.3) 100%);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(139, 69, 19, 0.08) 2px, transparent 2px),
    radial-gradient(circle at 80% 60%, rgba(139, 69, 19, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(42, 36, 28, 0.3) 0%, rgba(60, 52, 40, 0.15) 50%, rgba(42, 36, 28, 0.3) 100%);
  background-size: 60px 60px, 40px 40px, cover;
  border-top: 1px solid rgba(139, 69, 19, 0.1);
  border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}
.timeline-section .section-title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: #eed9b8;
}
.timeline-vertical {
  position: relative;
  padding-left: 2rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.timeline-vertical::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(200, 16, 46, 0.7) 10%, rgba(200, 16, 46, 0.7) 90%, transparent);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.75rem;
  align-items: start;
}
.timeline-dot {
  position: absolute;
  left: -1.75rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  background: #c8102e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.2), 0 0 10px rgba(200, 16, 46, 0.5);
}
.timecode {
  font-family: "Songti SC", "SimSun", serif;
  font-weight: 700;
  font-size: 1rem;
  color: #e8c468;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.timeline-desc {
  font-size: 0.95rem;
  color: #d8c8b0;
  line-height: 1.6;
}
.episodes-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.episodes-section .section-title {
  margin-bottom: 1rem;
}
.episodes-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.episode-card {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 0, 0, 0.2);
  border-radius: 4px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  border-bottom: 2px solid #c8102e;
  transition: all 0.3s;
}
.episode-card:hover {
  background: rgba(30, 30, 30, 0.8);
  border-color: rgba(200, 16, 46, 0.5);
  transform: translateY(-2px);
}
.ep-number {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #c8102e;
  line-height: 1;
  opacity: 0.8;
}
.ep-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f5f0e8;
  letter-spacing: 0.05em;
}
.ep-summary {
  font-size: 0.85rem;
  color: #b8b0a4;
  line-height: 1.5;
  flex: 1;
}
.ep-duration {
  font-size: 0.75rem;
  color: #8a8278;
  letter-spacing: 0.05em;
  align-self: flex-end;
}
.ep-duration::after {
  content: "分钟";
  margin-left: 0.2em;
}
.comments-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.comments-masonry {
  columns: 2;
  column-gap: 1rem;
  margin-top: 1rem;
}
.comment-card {
  break-inside: avoid;
  margin-bottom: 1rem;
  border: 1px solid rgba(200, 16, 46, 0.3);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  background: rgba(20, 20, 20, 0.7);
  transition: border-color 0.3s;
}
.comment-card:hover {
  border-color: rgba(200, 16, 46, 0.6);
}
.comment-author {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e8c468;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
.comment-text {
  font-size: 0.9rem;
  color: #d8d2c8;
  line-height: 1.6;
}
.recommend-block {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(139, 0, 0, 0.15);
}
.recommend-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f5f0e8;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  width: fit-content;
}
.recommend-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #e8c468, transparent);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  align-items: start;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(26, 26, 26, 0.5);
  border: 1px solid rgba(139, 0, 0, 0.15);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  height: auto;
  align-self: start;
}
a[data-runtime="recommendation"]:hover {
  border-color: rgba(200, 16, 46, 0.5);
  background: rgba(30, 30, 30, 0.7);
  transform: translateY(-2px);
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
a[data-runtime="recommendation"] span[data-runtime="name"] {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f5f0e8;
  padding: 0 0.75rem;
  letter-spacing: 0.03em;
}
a[data-runtime="recommendation"] span[data-runtime="blurb"] {
  font-size: 0.8rem;
  color: #b8b0a4;
  line-height: 1.4;
  padding: 0 0.75rem 0.75rem;
}
footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(139, 0, 0, 0.3);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
  max-width: 1200px;
}
.friend-label {
  font-size: 0.85rem;
  color: #8a8278;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
}
a.runtime-friend-link {
  font-size: 0.85rem;
  color: #b8b0a4;
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus {
  color: #e8c468;
  text-decoration: underline;
  text-decoration-color: #c8102e;
  text-underline-offset: 3px;
}
.disclaimer {
  font-size: 0.75rem;
  color: #6a6258;
  text-align: center;
  max-width: 800px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.9rem;
  color: #b8b0a4;
  text-decoration: none;
  transition: color 0.25s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e8c468;
}
@media (max-width: 1100px) {.hero-cinema {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
.poster-frame {
    grid-column: 1;
    grid-row: 1;
  }
.hero-content {
    grid-column: 2;
    grid-row: 1;
    padding: 0 1.5rem;
  }
.player-shell {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 1.5rem;
    max-width: 720px;
    width: 100%;
    justify-self: center;
  }}
@media (max-width: 768px) {header {
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
.categories-bar {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
a.runtime-category {
    font-size: 0.85rem;
    padding: 0.2rem 0.5rem;
  }
.hero-cinema {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1rem 0.5rem;
  }
.poster-frame {
    grid-column: 1;
    grid-row: auto;
    max-width: 280px;
    margin: 0 auto;
  }
.hero-content {
    grid-column: 1;
    grid-row: auto;
    padding: 0;
  }
.film-title {
    font-size: 1.5rem;
  }
.cast-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
.cast-photo {
    width: 64px;
    height: 64px;
  }
.detail-list {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
.player-shell {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
    max-width: 100%;
  }
.timeline-section {
    padding: 1.5rem 1rem;
  }
.episodes-section, .comments-section, .recommend-block {
    padding: 1.5rem 1rem;
  }
.episodes-scroll {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
  }
.comments-masonry {
    columns: 1;
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
  }}
@media (max-width: 480px) {.cast-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
.cast-photo {
    width: 72px;
    height: 72px;
  }
.episodes-scroll {
    grid-template-columns: 1fr;
  }
.recommend-grid {
    grid-template-columns: 1fr;
  }
.timeline-vertical {
    padding-left: 1.5rem;
  }
.timeline-dot {
    left: -1.25rem;
  }
.timeline-item {
    grid-template-columns: 3.5rem 1fr;
  }
.episode-progress {
    flex-wrap: wrap;
  }
.footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }}

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}
