*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #0d1418;
  color: #c6d0d4;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, dt {
  margin: 0;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
video {
  display: block;
  max-width: 100%;
}
body.lights-off {
  background: #05090b;
}
body.lights-off .page-main, body.lights-off .site-header, body.lights-off .site-footer {
  filter: brightness(0.55) contrast(1.05);
}
body.is-theater .hero-poster {
  max-width: 100%;
}
body.is-theater .hero-still {
  display: none;
}
body.is-theater .hero-info {
  grid-column: 1 / -1;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 16, 20, 0.94);
  border-bottom: 1px solid #1d2a30;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
}
.site-brand {
  flex: 0 0 auto;
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e8eef0;
  padding-right: 14px;
  border-right: 2px solid #e0762a;
  line-height: 1.2;
}
a[data-contract="site-name"] {
  color: #eef3f5;
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #f0932f;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  font-size: 13px;
  color: #93a4ab;
  background: #131f25;
  border: 1px solid #223037;
  border-radius: 2px;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-category:hover {
  color: #f5a54b;
  border-color: #7a4a1c;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-poster {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 18px;
  align-items: start;
  background: linear-gradient(160deg, #131f25 0%, #101a1f 58%, #0f191e 100%);
  border: 1px solid #1f2d34;
  border-left: 3px solid #b4512a;
  padding: 16px;
}
.hero-still {
  position: relative;
  width: 100%;
  align-self: start;
  border: 1px solid #2b3b43;
  background: #0a1114;
  overflow: hidden;
}
.hero-still::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 34, 42, 0.34) 0%, rgba(8, 16, 20, 0) 42%, rgba(6, 12, 15, 0.62) 100%);
  pointer-events: none;
}
.hero-still img {
  width: 100%;
  height: auto;
  filter: saturate(0.62) contrast(1.06) brightness(0.94);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #7f949c;
  text-transform: uppercase;
  border-bottom: 1px solid #223037;
  padding-bottom: 7px;
}
.hero-title {
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  font-size: clamp(26px, 4.4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #f1f6f7;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
.hero-tagline {
  font-size: 14px;
  line-height: 1.5;
  color: #a9b8be;
  padding-left: 10px;
  border-left: 2px solid #e0762a;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.meta-chip {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: #9fb0b7;
  background: #16232a;
  border: 1px solid #26363e;
  border-radius: 2px;
}
.meta-chip.meta-score {
  color: #12191d;
  background: linear-gradient(120deg, #f0932f, #dd6b23);
  border-color: #f0a04a;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero-player {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: #0b1317;
  border: 1px solid #223037;
  border-top: 2px solid #2f4249;
}
.hero-player video {
  background: #000;
  border: 1px solid #1b272d;
}
.player-status {
  font-size: 12.5px;
  color: #8fa2a9;
  letter-spacing: 0.03em;
}
.player-status::before {
  content: "▍";
  color: #e0762a;
  margin-right: 3px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ctrl-btn {
  padding: 3px 9px;
  font-size: 12.5px;
  color: #9db0b7;
  background: #152329;
  border: 1px solid #263740;
  border-radius: 2px;
  line-height: 1.5;
  transition: color 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.ctrl-btn:hover {
  color: #f3f7f8;
  border-color: #47595f;
  background: #1c2c33;
}
.ctrl-btn.is-active, .ctrl-btn.play.is-active, .ctrl-btn.is-playing {
  color: #12191d;
  background: #e0762a;
  border-color: #f0932f;
  font-weight: 700;
}
.ctrl-btn.is-muted, .ctrl-btn.mute.is-active, .ctrl-btn.volume.is-active {
  color: #f0b46a;
  border-color: #7a4a1c;
  background: #241a10;
}
.cast-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #1e2b31;
}
.section-heading {
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e6edee;
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-heading::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 15px;
  background: #e0762a;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 10px;
  background: #101b20;
  border: 1px solid #1f2d34;
  border-left: 2px solid #33474f;
  align-self: start;
  transition: border-color 0.14s ease, background 0.14s ease;
}
.cast-card:hover {
  border-left-color: #e0762a;
  background: #142128;
}
.cast-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #eef3f4;
  letter-spacing: 0.03em;
}
.cast-role {
  font-size: 12px;
  color: #e0762a;
  letter-spacing: 0.02em;
}
.cast-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: #93a4ab;
  border-top: 1px dashed #223037;
  padding-top: 5px;
  margin-top: 2px;
}
.synopsis-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #1e2b31;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 18px;
  align-items: start;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.72;
  color: #a7b6bc;
  text-align: justify;
  padding-left: 10px;
  border-left: 1px solid #223037;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: #1c282e;
  border: 1px solid #1c282e;
  margin-top: 4px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 9px;
  background: #0f191e;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: #7f949c;
  letter-spacing: 0.06em;
}
.detail-val {
  font-size: 12.5px;
  color: #cfd9dc;
  min-width: 0;
}
.timeline-section, .episodes-section, .comments-section, .rec-region {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 10px;
  border-top: 1px solid #1e2b31;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  align-items: start;
  counter-reset: tl;
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px 8px 12px;
  background: #101b20;
  border: 1px solid #1f2d34;
  border-left: 2px solid #3a505a;
  align-self: start;
}
.timeline-mark {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e0762a;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: #b3c0c5;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
  align-items: start;
  counter-reset: ep;
}
.episode-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 10px 9px 14px;
  background: #0f191e;
  border: 1px solid #1f2d34;
  border-left: 3px solid #2c3f47;
  align-self: start;
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease;
}
.episode-item::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 12px;
  width: 3px;
  height: 12px;
  background: #2c3f47;
}
.episode-item:hover {
  background: #142128;
  border-color: #33474f;
}
.episode-item.episode-current {
  background: linear-gradient(120deg, #23180e 0%, #16232a 70%);
  border-color: #7a4a1c;
  border-left-color: #e0762a;
}
.episode-item.episode-current::before {
  background: #f0932f;
}
.episode-number {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #7f949c;
}
.episode-item.episode-current .episode-number {
  color: #f0932f;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  color: #e8eef0;
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.55;
  color: #93a4ab;
}
.episode-duration {
  align-self: flex-start;
  margin-top: 2px;
  padding: 1px 7px;
  font-size: 11.5px;
  color: #8fa2a9;
  background: #16232a;
  border: 1px solid #26363e;
  border-radius: 2px;
}
.episode-item.episode-current .episode-duration {
  color: #f0b46a;
  border-color: #7a4a1c;
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 10px;
  background: #101b20;
  border: 1px solid #1f2d34;
  align-self: start;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #12191d;
  background: linear-gradient(140deg, #7f949c, #4c6169);
  border-radius: 2px;
}
.comment-card:nth-child(2n) .comment-avatar {
  background: linear-gradient(140deg, #e0762a, #9c4c1c);
  color: #12191d;
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.comment-nickname {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #cfd9dc;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: #93a4ab;
}
.rec-strip {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 7px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.rec-strip::-webkit-scrollbar {
  height: 6px;
}
.rec-strip::-webkit-scrollbar-track {
  background: #101b20;
}
.rec-strip::-webkit-scrollbar-thumb {
  background: #33474f;
  border-radius: 3px;
}
.rec-item {
  flex: 0 0 168px;
  scroll-snap-align: start;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 7px;
  background: #101b20;
  border: 1px solid #1f2d34;
  color: #cfd9dc;
  text-decoration: none;
  transition: border-color 0.14s ease, transform 0.14s ease, background 0.14s ease;
}
a[data-runtime="recommendation"]:hover {
  border-color: #b4512a;
  background: #16232a;
  transform: translateY(-2px);
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0a1114;
  border: 1px solid #223037;
  filter: saturate(0.78) brightness(0.94);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 13px;
  font-weight: 700;
  color: #e8eef0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 12px;
  line-height: 1.5;
  color: #8fa2a9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 30px;
  border-top: 1px solid #1d2a30;
  background: #0a1114;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.65;
  color: #6f838a;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: #a9b8be;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid #223037;
  background: #101b20;
  border-radius: 2px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f0932f;
  border-color: #7a4a1c;
}
.site-footer nav[data-contract="friend-links"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #5f737a;
  padding-right: 8px;
  border-right: 1px solid #223037;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #7f949c;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #e0762a;
  text-decoration: underline;
}
@media (max-width: 900px) {.hero-poster {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 14px;
  }
.hero-still {
    max-width: 260px;
  }
.rec-item {
    flex-basis: 156px;
  }}
@media (max-width: 680px) {body {
    font-size: 14.5px;
  }
.page-main {
    padding: 12px 12px 26px;
    gap: 18px;
  }
.hero-poster {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
.hero-still {
    max-width: 220px;
  }
.hero-title {
    font-size: 26px;
  }
.cast-strip {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.detail-list {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
.episode-list {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
.comment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-item {
    flex-basis: 142px;
  }
.header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }}
@media (max-width: 420px) {.cast-strip {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-item {
    flex-basis: 128px;
  }
.hero-still {
    max-width: 180px;
  }}

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}
