*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #0a0f0d;
  color: #c9d4cd;
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
video {
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
.page-shell {
  background: linear-gradient(180deg, #0a0f0d 0%, #0e1410 40%, #0d0a0e 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 14px 24px;
  background: rgba(10, 15, 13, 0.92);
  border-bottom: 1px solid rgba(191, 63, 63, 0.35);
  backdrop-filter: blur(8px);
}
.site-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e8dcc8;
  letter-spacing: 0.12em;
  text-shadow: 0 0 12px rgba(191, 63, 63, 0.4);
  white-space: nowrap;
}
a[data-contract="site-name"]:link, a[data-contract="site-name"]:visited {
  color: #e8dcc8;
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #f0e6d2;
  text-shadow: 0 0 16px rgba(191, 63, 63, 0.8);
}
.categories-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #9fb4a8;
  border: 1px solid rgba(159, 180, 168, 0.2);
  border-radius: 2px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
a.runtime-category:link, a.runtime-category:visited {
  color: #9fb4a8;
  text-decoration: none;
}
a.runtime-category:hover {
  color: #f0e6d2;
  border-color: rgba(191, 63, 63, 0.6);
  background: rgba(191, 63, 63, 0.08);
  text-decoration: none;
}
.main-content {
  padding: 0 24px 40px;
}
.hero-poster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "poster player"
    "info info";
  gap: 20px 24px;
  margin-top: 20px;
}
.poster-media-wrapper {
  grid-area: poster;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #050a08;
  align-self: start;
  box-shadow: 0 0 0 1px rgba(159, 180, 168, 0.15), 0 8px 30px rgba(0, 0, 0, 0.6);
  max-width: 520px;
}
.hero-backdrop {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}
.hero-tagline-block {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(180deg, rgba(10, 15, 13, 0) 0%, rgba(10, 15, 13, 0.85) 70%, rgba(10, 15, 13, 0.95) 100%);
}
.hero-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f0e6d2;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 4px;
}
.hero-tagline {
  font-size: 0.92rem;
  color: #c9b89a;
  letter-spacing: 0.08em;
  line-height: 1.5;
  max-width: 90%;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.player-main-wrapper {
  grid-area: player;
  align-self: start;
  background: #080d0b;
  border: 1px solid rgba(159, 180, 168, 0.25);
  border-radius: 4px;
  padding: 10px;
  box-shadow: 0 0 0 1px rgba(191, 63, 63, 0.08), 0 8px 24px rgba(0, 0, 0, 0.5);
  min-width: min(100%, 480px);
  width: 100%;
}
.player-main-wrapper video {
  border-radius: 2px;
  background: #000;
  width: 100%;
  min-width: 0;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 4px 2px;
}
.player-controls button {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: rgba(159, 180, 168, 0.08);
  border: 1px solid rgba(159, 180, 168, 0.2);
  border-radius: 2px;
  color: #a8bcb0;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.player-controls button:hover {
  color: #f0e6d2;
  border-color: rgba(191, 63, 63, 0.5);
  background: rgba(191, 63, 63, 0.12);
}
.player-main-wrapper.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 200;
  border-radius: 0;
  border: none;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000;
}
.player-main-wrapper.theater-mode video {
  max-height: 82vh;
  width: auto;
  margin: 0 auto;
}
.page-shell.lights-off {
  filter: brightness(0.75) contrast(1.1);
}
.page-shell.lights-off .site-header, .page-shell.lights-off .site-footer, .page-shell.lights-off .main-content > *:not(.hero-poster) {
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.movie-info-panel {
  grid-area: info;
  background: linear-gradient(135deg, rgba(14, 20, 16, 0.95) 0%, rgba(10, 15, 13, 0.98) 60%, rgba(13, 10, 14, 0.95) 100%);
  border: 1px solid rgba(159, 180, 168, 0.2);
  border-radius: 4px;
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.section-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e8dcc8;
  letter-spacing: 0.18em;
  padding-bottom: 8px;
  margin-bottom: 14px;
  position: relative;
  border-bottom: 1px solid rgba(191, 63, 63, 0.4);
}
.section-heading::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: #bf3f3f;
  box-shadow: 0 0 8px rgba(191, 63, 63, 0.5);
}
.synopsis-module {
  margin-bottom: 24px;
}
.synopsis-line {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #b8c4bc;
  margin-bottom: 8px;
  text-align: justify;
}
.synopsis-line:last-child {
  margin-bottom: 0;
}
.cast-module {
  margin-bottom: 24px;
}
.cast-scroll-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.cast-card {
  background: rgba(10, 15, 13, 0.7);
  border: 1px solid rgba(159, 180, 168, 0.18);
  border-radius: 3px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cast-card:hover {
  border-color: rgba(191, 63, 63, 0.5);
  background: rgba(191, 63, 63, 0.06);
}
.cast-name {
  font-size: 1rem;
  font-weight: 600;
  color: #e8dcc8;
  letter-spacing: 0.06em;
}
.cast-role {
  font-size: 0.85rem;
  color: #8fa49a;
  letter-spacing: 0.04em;
}
.episode-status-module {
  margin-bottom: 24px;
}
.episode-status-text {
  font-size: 1rem;
  color: #c9d4cd;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  background: rgba(191, 63, 63, 0.06);
  border-left: 3px solid #bf3f3f;
  display: inline-block;
}
.total-episodes, .current-episode {
  font-weight: 700;
  color: #f0e6d2;
  font-size: 1.1rem;
  padding: 0 2px;
}
.details-module {
  margin-bottom: 4px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 6px 16px;
}
.detail-item {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(159, 180, 168, 0.12);
}
.detail-item dt {
  color: #8fa49a;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  min-width: 44px;
}
.detail-item dd {
  color: #c9d4cd;
  font-size: 0.92rem;
  font-weight: 500;
}
.episodes-section {
  margin-top: 32px;
  padding-top: 8px;
}
.episode-card-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.episode-card {
  background: linear-gradient(160deg, rgba(14, 20, 16, 0.85) 0%, rgba(10, 15, 13, 0.95) 100%);
  border: 1px solid rgba(159, 180, 168, 0.18);
  border-top: 2px solid #bf3f3f;
  border-radius: 3px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.episode-card:hover {
  transform: translateY(-2px);
  border-color: rgba(191, 63, 63, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.ep-number {
  font-size: 0.8rem;
  color: #bf3f3f;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ep-number::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #bf3f3f;
  transform: rotate(45deg);
}
.ep-title {
  font-size: 1rem;
  font-weight: 600;
  color: #e8dcc8;
  letter-spacing: 0.06em;
}
.ep-summary {
  font-size: 0.82rem;
  color: #a0b0a6;
  line-height: 1.6;
  flex: 1;
}
.ep-duration {
  font-size: 0.78rem;
  color: #7d8f85;
  letter-spacing: 0.04em;
  border-top: 1px dotted rgba(159, 180, 168, 0.15);
  padding-top: 6px;
  margin-top: 4px;
}
.timeline-section {
  margin-top: 36px;
}
.timeline-vertical {
  position: relative;
  padding-left: 32px;
  margin-top: 20px;
  max-width: 720px;
}
.timeline-vertical::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #bf3f3f 0%, rgba(191, 63, 63, 0.3) 100%);
  box-shadow: 0 0 8px rgba(191, 63, 63, 0.3);
}
.timeline-item {
  position: relative;
  padding: 0 0 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: #0a0f0d;
  border: 2px solid #bf3f3f;
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(191, 63, 63, 0.6);
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item:hover::before {
  background: #bf3f3f;
}
.timecode {
  font-size: 0.85rem;
  font-weight: 700;
  color: #bf3f3f;
  letter-spacing: 0.12em;
}
.timeline-label {
  font-size: 0.95rem;
  color: #c9d4cd;
  line-height: 1.5;
}
.comments-section {
  margin-top: 36px;
}
.comments-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  margin-top: 18px;
  align-items: start;
}
.comment-count-block {
  background: rgba(191, 63, 63, 0.06);
  border: 1px solid rgba(191, 63, 63, 0.2);
  border-radius: 4px;
  padding: 20px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  font-size: 0.9rem;
  color: #a0b0a6;
  letter-spacing: 0.08em;
}
.comment-total {
  font-size: 2.4rem;
  font-weight: 700;
  color: #f0e6d2;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(191, 63, 63, 0.4);
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comment-item {
  background: rgba(14, 20, 16, 0.8);
  border-left: 3px solid rgba(191, 63, 63, 0.6);
  border-radius: 0 3px 3px 0;
  padding: 12px 16px;
  transition: border-color 0.2s ease;
}
.comment-item:hover {
  border-left-color: #bf3f3f;
}
.comment-user {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #c9b89a;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.comment-text {
  font-size: 0.9rem;
  color: #b8c4bc;
  line-height: 1.7;
}
.recommendation-region {
  margin-top: 32px;
  padding-top: 8px;
  border-top: 1px solid rgba(191, 63, 63, 0.15);
}
.recommendation-region:first-of-type {
  margin-top: 36px;
}
.rec-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8dcc8;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  padding-left: 12px;
  position: relative;
}
.rec-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: #bf3f3f;
  box-shadow: 0 0 6px rgba(191, 63, 63, 0.4);
}
.rec-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(14, 20, 16, 0.7);
  border: 1px solid rgba(159, 180, 168, 0.15);
  border-radius: 3px;
  padding: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
a[data-runtime="recommendation"]:link, a[data-runtime="recommendation"]:visited {
  color: #c9d4cd;
  text-decoration: none;
}
a[data-runtime="recommendation"]:hover {
  border-color: rgba(191, 63, 63, 0.5);
  transform: translateY(-2px);
  background: rgba(191, 63, 63, 0.05);
  text-decoration: none;
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: #050a08;
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e8dcc8;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.78rem;
  color: #8fa49a;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  margin-top: 48px;
  padding: 28px 24px 20px;
  border-top: 1px solid rgba(191, 63, 63, 0.2);
  background: rgba(8, 12, 10, 0.6);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-disclaimer {
  font-size: 0.8rem;
  color: #7d8f85;
  line-height: 1.6;
  max-width: 800px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.88rem;
  color: #9fb4a8;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}
a[data-contract="footer-home"]:link, a[data-contract="footer-home"]:visited, a[data-contract="footer-sitemap"]:link, a[data-contract="footer-sitemap"]:visited {
  color: #9fb4a8;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f0e6d2;
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 0.82rem;
}
.friend-label {
  color: #7d8f85;
  letter-spacing: 0.06em;
}
a.runtime-friend-link {
  color: #8fa49a;
  transition: color 0.2s ease;
  font-size: 0.82rem;
}
a.runtime-friend-link:link, a.runtime-friend-link:visited {
  color: #8fa49a;
  text-decoration: none;
}
a.runtime-friend-link:hover {
  color: #f0e6d2;
  text-decoration: none;
}
.player.play video {
  outline: 2px solid rgba(191, 63, 63, 0.3);
}
.player.progress video {
  cursor: pointer;
}
.player.volume video, .player.mute video {
  opacity: 0.95;
}
.player.speed video {
  filter: saturate(1.2);
}
.player.pip video {
  border-radius: 4px;
}
.player.fullscreen video {
  width: 100%;
  height: 100%;
}
.player.theater-mode video {
  max-height: 82vh;
}
.player.light video {
  filter: brightness(0.85);
}
@media (max-width: 980px) {.hero-poster {
    grid-template-columns: 1fr;
    grid-template-areas:
      "poster"
      "player"
      "info";
    gap: 16px;
  }
.poster-media-wrapper {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }
.player-main-wrapper {
    min-width: 0;
  }
.episode-card-row {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }}
@media (max-width: 720px) {.site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
  }
.categories-container {
    justify-content: flex-start;
    width: 100%;
  }
.main-content {
    padding: 0 16px 32px;
  }
.movie-info-panel {
    padding: 16px;
  }
.comments-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
.comment-count-block {
    min-height: auto;
    padding: 14px 12px;
    flex-direction: row;
    gap: 10px;
  }
.comment-total {
    font-size: 1.8rem;
  }
.episode-card-row {
    grid-template-columns: 1fr;
  }
.rec-cards {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.hero-title {
    font-size: 1.25rem;
  }
.hero-tagline {
    font-size: 0.85rem;
  }
.timeline-vertical {
    padding-left: 28px;
  }
.timeline-vertical::before {
    left: 6px;
  }
.timeline-item::before {
    left: -26px;
    width: 8px;
    height: 8px;
  }}
@media (max-width: 480px) {.rec-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
.player-controls {
    gap: 4px;
  }
.player-controls button {
    padding: 4px 8px;
    font-size: 0.72rem;
  }
.cast-scroll-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
.details-list {
    grid-template-columns: 1fr;
  }
.hero-poster {
    margin-top: 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}
