*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #c9d3d6;
  background-color: #0e1417;
  background-image:
    radial-gradient(circle at 78% 4%, rgba(150, 62, 42, 0.22), transparent 42%),
    radial-gradient(circle at 12% 26%, rgba(52, 86, 92, 0.28), transparent 46%),
    linear-gradient(178deg, #121b1f 0%, #0d1316 60%, #0a0f11 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: #8fb0b6;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 15, 18, 0.9);
  border-bottom: 1px solid #223035;
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #d9e2e4;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(150, 62, 42, 0.5);
  padding: 2px 10px 2px 0;
  border-right: 3px solid #963e2a;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #9fb6bb;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid #26373c;
  background: #131c20;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #f0e2dc;
  border-color: #963e2a;
  background: #1c2529;
}
.movie-page {
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #e2eaec;
  padding-left: 11px;
  border-left: 4px solid #963e2a;
  margin-bottom: 12px;
  line-height: 1.2;
}
.hero-poster {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 18px;
  background:
    linear-gradient(140deg, rgba(26, 38, 42, 0.96), rgba(15, 22, 25, 0.96)),
    radial-gradient(circle at 88% 10%, rgba(150, 62, 42, 0.28), transparent 55%);
  border: 1px solid #26373c;
  box-shadow: inset 0 0 0 1px rgba(150, 62, 42, 0.12), 0 10px 26px rgba(0, 0, 0, 0.45);
  position: relative;
}
.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.018) 0 1px,
    transparent 1px 4px
  );
}
.hero-media {
  position: relative;
  align-self: start;
  border: 1px solid #37474d;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(150, 62, 42, 0.2), transparent 45%),
    linear-gradient(0deg, rgba(10, 16, 18, 0.5), transparent 40%);
}
.poster-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #eef3f4;
  line-height: 1.1;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 0 22px rgba(150, 62, 42, 0.35);
}
.movie-tagline {
  font-size: 14px;
  letter-spacing: 0.22em;
  color: #b0705c;
  border-left: 2px solid #963e2a;
  padding-left: 9px;
  font-family: "Songti SC", "SimSun", serif;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.7;
  color: #9aacb0;
  font-family: "Songti SC", "SimSun", serif;
  text-align: justify;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  padding: 7px 12px;
  background: rgba(30, 42, 46, 0.72);
  border-left: 3px solid #963e2a;
  border-top: 1px solid #2a3c41;
  border-bottom: 1px solid #2a3c41;
}
.status-line {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #dfe8ea;
}
.status-current {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #cf7f68;
  padding: 1px 8px;
  border: 1px solid rgba(150, 62, 42, 0.6);
  background: rgba(150, 62, 42, 0.14);
}
.cast-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cast-heading, .synopsis-heading, .details-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #cfdadd;
  padding-bottom: 5px;
  border-bottom: 1px solid #2a3c41;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 9px;
  background: rgba(22, 32, 36, 0.78);
  border: 1px solid #26373c;
  border-left: 2px solid #4d6a70;
  transition: border-color 0.15s, background 0.15s;
}
.cast-card:hover {
  border-left-color: #963e2a;
  background: rgba(30, 42, 46, 0.92);
}
.cast-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #e6edee;
}
.cast-role {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #b0705c;
}
.cast-desc {
  font-size: 11px;
  line-height: 1.5;
  color: #8499 9d;
  color: #84999d;
  font-family: "Songti SC", "SimSun", serif;
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.75;
  color: #9db0b4;
  font-family: "Songti SC", "SimSun", serif;
  text-align: justify;
  text-indent: 2em;
}
.details-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 5px 12px;
  align-items: start;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  padding: 3px 0;
  border-bottom: 1px dotted #2b3d42;
}
.detail-item dt {
  flex: 0 0 auto;
  color: #788e93;
  letter-spacing: 0.06em;
}
.detail-item dd {
  flex: 1 1 auto;
  min-width: 0;
  color: #cdd8db;
  letter-spacing: 0.03em;
  font-family: "Songti SC", "SimSun", serif;
}
.player-section {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: #0b1114;
  border: 1px solid #26373c;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  transition: background 0.2s, box-shadow 0.2s;
}
.movie-player {
  display: block;
  width: 100%;
  background: #05080a;
  border: 1px solid #1d2b2f;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 6px 8px;
  background: rgba(24, 34, 38, 0.86);
  border: 1px solid #26373c;
}
.ctrl-btn {
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  color: #c3d0d3;
  background: #182327;
  border: 1px solid #2c4046;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: #f2e6e1;
  border-color: #963e2a;
  background: #223035;
}
.ctrl-btn:active {
  transform: translateY(1px);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 6px;
  cursor: pointer;
  accent-color: #963e2a;
  background: #1c2a2e;
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 60px;
  height: 6px;
  cursor: pointer;
  accent-color: #5d8288;
  background: #1c2a2e;
}
.ctrl-speed {
  cursor: pointer;
  font-size: 12px;
  padding: 3px 6px;
  color: #c3d0d3;
  background: #182327;
  border: 1px solid #2c4046;
}
.player-section.theater-mode {
  background: #05080a;
  border-color: #963e2a;
  box-shadow: 0 0 0 1px rgba(150, 62, 42, 0.35), 0 14px 32px rgba(0, 0, 0, 0.7);
}
.player-section.theater-mode .movie-player {
  border-color: #3d2a24;
}
body.lights-off {
  background-image: none;
  background-color: #040607;
}
body.lights-off .site-header, body.lights-off .hero-poster, body.lights-off .site-footer {
  filter: brightness(0.55) saturate(0.7);
}
body.lights-off .player-section {
  box-shadow: 0 0 0 1px rgba(150, 62, 42, 0.5), 0 0 60px rgba(150, 62, 42, 0.18);
}
.timeline-section {
  display: flex;
  flex-direction: column;
}
.timeline-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-color: #963e2a #1a2528;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.timeline-strip::-webkit-scrollbar {
  height: 8px;
}
.timeline-strip::-webkit-scrollbar-track {
  background: #162024;
}
.timeline-strip::-webkit-scrollbar-thumb {
  background: #7a3524;
  border: 1px solid #162024;
}
.timeline-node {
  flex: 0 0 150px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  background: rgba(22, 32, 36, 0.8);
  border: 1px solid #26373c;
  border-top: 2px solid #4d6a70;
  transition: border-color 0.15s, background 0.15s;
}
.timeline-node:hover {
  border-top-color: #963e2a;
  background: rgba(31, 44, 48, 0.95);
}
.timeline-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(150deg, rgba(94, 128, 134, 0.35), rgba(18, 27, 30, 0.9)),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 7px);
  border: 1px solid #2f4247;
  overflow: hidden;
}
.timeline-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 16, 18, 0.65), transparent 55%),
    radial-gradient(circle at 70% 25%, rgba(150, 62, 42, 0.3), transparent 55%);
  pointer-events: none;
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #cf7f68;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.45;
  color: #c2d0d3;
  font-family: "Songti SC", "SimSun", serif;
}
.episodes-section {
  display: flex;
  flex-direction: column;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-item {
  position: relative;
  padding: 9px 11px;
  background: rgba(20, 29, 33, 0.82);
  border: 1px solid #26373c;
  border-left: 3px solid #46646a;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  gap: 3px 10px;
  align-items: baseline;
  transition: border-color 0.15s, background 0.15s;
}
.episode-item:hover {
  border-left-color: #963e2a;
  background: rgba(29, 41, 45, 0.95);
}
.episode-number {
  grid-area: num;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #cf7f68;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e2eaec;
  min-width: 0;
}
.episode-duration {
  grid-area: dur;
  font-size: 11px;
  color: #7e9398;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.6;
  color: #93a7ab;
  font-family: "Songti SC", "SimSun", serif;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease, margin-top 0.25s ease;
}
.episode-item:hover .episode-summary, .episode-item:focus-within .episode-summary {
  max-height: 140px;
  opacity: 1;
  margin-top: 3px;
}
.comments-section {
  display: flex;
  flex-direction: column;
}
.comments-masonry {
  columns: 3;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 10px;
  padding: 9px 11px;
  background: rgba(22, 32, 36, 0.82);
  border: 1px solid #26373c;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  transition: border-color 0.15s, background 0.15s;
}
.comment-card:hover {
  border-color: #3d5459;
  background: rgba(29, 41, 45, 0.95);
}
.comment-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(200, 220, 224, 0.55), transparent 55%),
    linear-gradient(140deg, #4d6a70, #223035);
  border: 1px solid #3d5459;
  box-shadow: inset 0 0 0 2px rgba(10, 16, 18, 0.6);
}
.comment-nickname {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #d3dee0;
}
.comment-text {
  flex: 1 1 100%;
  font-size: 12px;
  line-height: 1.65;
  color: #96a9ad;
  font-family: "Songti SC", "SimSun", serif;
  border-top: 1px dotted #2b3d42;
  padding-top: 6px;
}
.recommend-region {
  display: flex;
  flex-direction: column;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  color: #c9d3d6;
  text-decoration: none;
  background: rgba(20, 29, 33, 0.85);
  border: 1px solid #26373c;
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}
a.recommend-card:hover {
  border-color: #963e2a;
  background: rgba(31, 43, 47, 0.96);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid #2f4247;
  filter: saturate(0.85) contrast(1.04);
}
.recommend-thumb {
  background: #162024;
}
.recommend-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e4ebec;
  line-height: 1.35;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: #93a7ab;
  font-family: "Songti SC", "SimSun", serif;
}
.site-footer {
  margin-top: 10px;
  padding: 16px;
  background: #0a1013;
  border-top: 1px solid #223035;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-disclaimer {
  max-width: 1360px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #6d8085;
  font-family: "Songti SC", "SimSun", serif;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a[data-contract="footer-home"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #a6bcc0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover {
  color: #e8d8d2;
  border-bottom-color: #963e2a;
}
a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #a6bcc0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-sitemap"]:hover {
  color: #e8d8d2;
  border-bottom-color: #5d8288;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  width: 100%;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #cf7f68;
  padding-right: 8px;
  border-right: 2px solid #963e2a;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #7f959a;
  text-decoration: none;
  padding: 1px 6px;
  border: 1px solid #23343a;
  background: #101a1e;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: #dbe4e5;
  border-color: #4d6a70;
}
.player {
  position: relative;
}
.play, .click, .input, .change, .timeupdate, .progress, .volume, .mute, .speed, .fullscreen, .pip, .light, .theater {
  transition: opacity 0.18s, transform 0.18s;
}
.progress, .volume {
  accent-color: #963e2a;
}
@media (max-width: 980px) {.hero-poster {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 16px;
  }
.movie-title {
    font-size: 27px;
  }
.comments-masonry {
    columns: 2;
  }}
@media (max-width: 760px) {.movie-page {
    gap: 20px;
    padding: 12px 12px 32px;
  }
.hero-poster {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px;
  }
.hero-media {
    max-width: 220px;
  }
.movie-title {
    font-size: 24px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.ctrl-progress {
    flex: 1 1 100%;
  }}
@media (max-width: 520px) {body {
    font-size: 13px;
  }
.header-inner {
    gap: 10px;
    padding: 7px 12px;
  }
a[data-contract="site-name"] {
    font-size: 16px;
  }
.movie-title {
    font-size: 21px;
  }
.movie-tagline {
    letter-spacing: 0.14em;
  }
.hero-media {
    max-width: 170px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.comments-masonry {
    columns: 1;
  }
.recommend-row {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.timeline-node {
    flex-basis: 132px;
  }
.player-controls {
    gap: 5px 6px;
  }
.ctrl-btn {
    padding: 4px 8px;
    font-size: 11.5px;
  }
.ctrl-volume {
    flex: 1 1 100%;
  }}

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}
