:root {
  --daiqing: #1b2a33;
  --daiqing-deep: #111c23;
  --daiqing-soft: #24363f;
  --zhusha: #c8402f;
  --zhusha-bright: #e05a45;
  --yuebai: #eef1ee;
  --yuebai-dim: #c3ccc6;
  --ink: #0d1419;
  --line: rgba(238, 241, 238, 0.16);
  --line-strong: rgba(238, 241, 238, 0.28);
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", "Source Han Serif SC", serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--serif);
  background-color: var(--daiqing-deep);
  background-image:
    radial-gradient(circle at 88% 4%, rgba(224, 90, 69, 0.16) 0%, rgba(224, 90, 69, 0) 42%),
    repeating-linear-gradient(90deg, rgba(238, 241, 238, 0.022) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(238, 241, 238, 0.022) 0 1px, transparent 1px 64px),
    linear-gradient(160deg, #16242c 0%, #111c23 55%, #0d1419 100%);
  color: var(--yuebai);
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--yuebai-dim);
  text-decoration: none;
}
a:hover {
  color: var(--zhusha-bright);
}
ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.03em;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(13, 20, 25, 0.96) 0%, rgba(17, 28, 35, 0.9) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
}
.brand-row {
  display: flex;
  align-items: center;
  min-width: 0;
}
a[data-contract="site-name"] {
  color: var(--yuebai);
  text-decoration: none;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding-left: 12px;
  border-left: 3px solid var(--zhusha);
  line-height: 1.1;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--zhusha-bright);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  color: var(--yuebai-dim);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  background: rgba(238, 241, 238, 0.03);
  white-space: nowrap;
}
a.runtime-category:hover {
  color: var(--zhusha-bright);
  border-color: var(--zhusha);
  background: rgba(200, 64, 47, 0.12);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading {
  font-size: 1.02rem;
  letter-spacing: 0.22em;
  color: var(--yuebai);
  padding: 0 0 7px 0;
  margin-bottom: 13px;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 2px;
  background: var(--zhusha);
}
.hero-poster {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 26px;
  align-items: start;
  position: relative;
  padding: 20px 20px 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(224, 90, 69, 0.18) 0%, rgba(224, 90, 69, 0) 46%),
    linear-gradient(180deg, rgba(36, 54, 63, 0.55) 0%, rgba(17, 28, 35, 0.2) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(238, 241, 238, 0.05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(238, 241, 238, 0.05) 0 1px, transparent 1px 34px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 62%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 62%);
  opacity: 0.55;
  z-index: 0;
}
.hero-media-col {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.poster-wrap {
  position: relative;
  width: 100%;
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(238, 241, 238, 0.04);
  background: var(--ink);
  overflow: hidden;
}
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(224, 90, 69, 0.22) 0%, rgba(224, 90, 69, 0) 40%),
    linear-gradient(0deg, rgba(13, 20, 25, 0.72) 0%, rgba(13, 20, 25, 0) 46%);
}
.poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}
.hero-info-col {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.hero-title-block {
  width: 100%;
  border-left: 3px solid var(--zhusha);
  padding-left: 14px;
}
.movie-title {
  font-size: 1.95rem;
  letter-spacing: 0.12em;
  color: var(--yuebai);
  text-shadow: 0 2px 16px rgba(224, 90, 69, 0.28);
}
.movie-tagline {
  margin-top: 5px;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  color: var(--yuebai-dim);
}
.player-shell {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: #060a0d;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.48);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #060a0d;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(36, 54, 63, 0.9) 0%, rgba(13, 20, 25, 0.95) 100%);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line-strong);
  background: rgba(238, 241, 238, 0.05);
  color: var(--yuebai-dim);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.ctrl-btn:hover {
  color: var(--zhusha-bright);
  border-color: var(--zhusha);
  background: rgba(200, 64, 47, 0.14);
}
.ctrl-play {
  color: var(--yuebai);
  border-color: var(--zhusha);
  background: rgba(200, 64, 47, 0.24);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(238, 241, 238, 0.16);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--zhusha-bright);
  border: 1px solid var(--yuebai);
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--zhusha-bright);
  border: 1px solid var(--yuebai);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 78px;
  min-width: 58px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(238, 241, 238, 0.16);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-speed {
  border: 1px solid var(--line-strong);
  background: rgba(238, 241, 238, 0.05);
  color: var(--yuebai-dim);
  font-size: 0.72rem;
  padding: 3px 5px;
  cursor: pointer;
}
.player-shell.theater-mode {
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.72);
  border-color: var(--zhusha);
}
body.lights-off .hero-poster {
  background: #05090c;
}
body.lights-off .hero-poster::before {
  opacity: 0.2;
}
body.lights-off .poster-wrap::after {
  background: linear-gradient(0deg, rgba(5, 9, 12, 0.85) 0%, rgba(5, 9, 12, 0.2) 60%);
}
.details-block {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(36, 54, 63, 0.42);
  padding: 12px 14px 14px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(238, 241, 238, 0.12);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: rgba(195, 204, 198, 0.72);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
  color: var(--yuebai);
  text-align: right;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-chip {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  padding: 3px 11px;
  border: 1px solid var(--line-strong);
  color: var(--yuebai-dim);
  background: rgba(238, 241, 238, 0.04);
  white-space: nowrap;
}
.status-current {
  color: #fff;
  border-color: var(--zhusha);
  background: rgba(200, 64, 47, 0.28);
}
.status-total {
  color: var(--yuebai-dim);
}
.synopsis-block {
  width: 100%;
  min-width: 0;
}
.synopsis-para {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(224, 230, 226, 0.86);
  text-align: justify;
  margin-bottom: 7px;
  padding-left: 11px;
  border-left: 1px solid rgba(200, 64, 47, 0.34);
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.cast-section {
  width: 100%;
  min-width: 0;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  align-items: start;
}
.cast-card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(36, 54, 63, 0.6) 0%, rgba(17, 28, 35, 0.6) 100%);
  padding: 9px 10px 0;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.cast-card:hover {
  border-color: rgba(200, 64, 47, 0.6);
  transform: translateY(-2px);
}
.cast-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.cast-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  filter: grayscale(0.25) contrast(1.05);
}
.cast-name {
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: var(--yuebai);
}
.cast-bio {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(224, 230, 226, 0.82);
  background: rgba(13, 20, 25, 0.55);
  border-top: 1px solid rgba(200, 64, 47, 0.3);
  padding: 7px 8px 8px;
  margin: 0 -10px;
  text-align: justify;
}
.episodes-section {
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 10px;
  border: 1px solid var(--line);
  border-left: 2px solid rgba(200, 64, 47, 0.44);
  background: linear-gradient(180deg, rgba(36, 54, 63, 0.5) 0%, rgba(17, 28, 35, 0.44) 100%);
  transition: border-color 0.22s ease, background 0.22s ease;
}
.episode-card:hover {
  border-color: rgba(200, 64, 47, 0.72);
  border-left-color: var(--zhusha-bright);
  background: linear-gradient(180deg, rgba(44, 64, 74, 0.72) 0%, rgba(20, 32, 40, 0.6) 100%);
}
.episode-num {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--zhusha-bright);
}
.episode-title {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--yuebai);
}
.episode-summary {
  font-size: 0.74rem;
  line-height: 1.55;
  color: rgba(224, 230, 226, 0.76);
}
.episode-duration {
  margin-top: auto;
  padding-top: 5px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(195, 204, 198, 0.6);
  border-top: 1px dotted rgba(238, 241, 238, 0.12);
}
.timeline-section {
  min-width: 0;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0 22px;
  border-left: 1px solid var(--line-strong);
  padding-left: 4px;
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0 7px 20px;
  border-bottom: 1px dotted rgba(238, 241, 238, 0.12);
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 13px;
  width: 9px;
  height: 9px;
  background: var(--daiqing-soft);
  border: 1px solid var(--yuebai-dim);
  transform: rotate(45deg);
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 15px;
  width: 7px;
  height: 1px;
  background: var(--line-strong);
}
.timeline-timecode {
  flex: 0 0 auto;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--yuebai-dim);
  white-space: nowrap;
}
.timeline-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(224, 230, 226, 0.84);
}
.timeline-current {
  border-bottom-color: rgba(200, 64, 47, 0.5);
}
.timeline-current::before {
  background: var(--zhusha);
  border-color: var(--zhusha-bright);
  box-shadow: 0 0 0 3px rgba(200, 64, 47, 0.2);
}
.timeline-current::after {
  background: var(--zhusha-bright);
}
.timeline-current .timeline-timecode {
  color: var(--zhusha-bright);
}
.timeline-current .timeline-label {
  color: var(--yuebai);
}
.comments-section {
  min-width: 0;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px 20px;
  align-items: start;
}
.comment-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: rgba(36, 54, 63, 0.32);
}
.comment-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 58px;
  text-align: center;
}
.comment-avatar {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.comment-nickname {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--zhusha-bright);
  word-break: break-all;
  line-height: 1.3;
}
.comment-text {
  font-size: 0.76rem;
  line-height: 1.62;
  color: rgba(224, 230, 226, 0.82);
  text-align: justify;
  padding-left: 9px;
  border-left: 1px solid rgba(200, 64, 47, 0.26);
}
.recommend-region {
  min-width: 0;
}
.recommend-region .section-heading {
  border: 1px solid var(--line-strong);
  border-bottom-color: var(--line-strong);
  padding: 6px 11px;
  margin-bottom: 11px;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--yuebai);
  background: rgba(238, 241, 238, 0.03);
}
.recommend-region .section-heading::before {
  display: none;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px 18px;
  align-items: start;
}
a.recommend-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 3px;
  align-items: start;
  padding: 7px 8px;
  border: 1px solid var(--line);
  background: rgba(36, 54, 63, 0.3);
  color: var(--yuebai-dim);
  text-decoration: none;
  transition: border-color 0.22s ease, background 0.22s ease;
}
a.recommend-item:hover {
  color: var(--yuebai);
  border-color: rgba(200, 64, 47, 0.66);
  background: rgba(200, 64, 47, 0.1);
}
.recommend-item .recommend-thumb {
  grid-row: 1 / span 2;
  width: 68px;
  height: 92px;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.9) contrast(1.04);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recommend-name {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--yuebai);
  line-height: 1.3;
  align-self: end;
}
.recommend-blurb {
  font-size: 0.7rem;
  line-height: 1.5;
  color: rgba(195, 204, 198, 0.74);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 34px;
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(17, 28, 35, 0.7) 0%, rgba(13, 20, 25, 0.96) 100%);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 0.72rem;
  line-height: 1.66;
  color: rgba(195, 204, 198, 0.62);
  max-width: 74ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--yuebai-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--zhusha-bright);
  border-bottom-color: var(--zhusha);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding-top: 11px;
  border-top: 1px dotted rgba(238, 241, 238, 0.14);
}
.friend-links-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(195, 204, 198, 0.6);
  padding-right: 6px;
  border-right: 1px solid rgba(200, 64, 47, 0.5);
}
a.runtime-friend-link {
  font-size: 0.72rem;
  color: rgba(195, 204, 198, 0.72);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--zhusha-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1080px) {.hero-poster {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 20px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-poster {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
.hero-media-col {
    max-width: 340px;
  }
.movie-title {
    font-size: 1.6rem;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 640px) {.page-main {
    padding: 14px 12px 6px;
    gap: 20px;
  }
.header-inner {
    padding: 7px 12px;
    gap: 5px 14px;
  }
a[data-contract="site-name"] {
    font-size: 1.02rem;
    letter-spacing: 0.12em;
  }
.hero-poster {
    padding: 14px 12px 18px;
  }
.hero-media-col {
    max-width: 260px;
  }
.movie-title {
    font-size: 1.34rem;
  }
.movie-tagline {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }
.player-controls {
    gap: 4px 5px;
    padding: 6px 7px;
  }
.ctrl-btn {
    font-size: 0.68rem;
    padding: 2px 7px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: -1;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-row {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.footer-inner {
    padding: 16px 12px 22px;
  }}
@media (max-width: 380px) {.hero-media-col {
    max-width: 100%;
  }
a.recommend-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }
.recommend-item .recommend-thumb {
    width: 58px;
    height: 80px;
  }}

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}
