*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: #1a1c1d;
  background-image:
    linear-gradient(180deg, #202324 0%, #191b1c 42%, #141617 100%);
  color: #b9bcbb;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Source Han Sans SC", "WenQuanYi Micro Hei", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
body.is-lights-off {
  background-color: #0b0c0d;
  background-image: none;
}
body.is-lights-off .site-header, body.is-lights-off .page-main, body.is-lights-off .site-footer {
  opacity: 0.32;
  filter: saturate(0.4) brightness(0.7);
}
.site-header, .page-main, .site-footer {
  transition: opacity 0.25s ease, filter 0.25s ease;
}
body.is-lights-off .player-section {
  opacity: 1;
  filter: none;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: #9aa0a0;
  text-decoration: none;
}
a:hover {
  color: #c8434d;
}
button, input {
  font: inherit;
  color: inherit;
}
h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}
h2 {
  font-size: 17px;
}
h3 {
  font-size: 13px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 22, 23, 0.94);
  border-bottom: 1px solid #2c3031;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 7px 12px;
  max-width: 1280px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: #d5d8d7;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  white-space: nowrap;
  padding-right: 10px;
  border-right: 1px solid #34393a;
}
a[data-contract="site-name"]:hover {
  color: #c8434d;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1;
  padding: 5px 9px;
  color: #9fa4a4;
  text-decoration: none;
  border: 1px solid #333839;
  background: #212425;
  border-radius: 2px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: #e6e8e7;
  border-color: #6d2b31;
  background: #2a2425;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 12px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.player-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.player-shell {
  width: 100%;
  background: #0e0f10;
  border: 1px solid #2b2f30;
  position: relative;
  overflow: hidden;
}
.player-shell.is-theater {
  border-color: #6d2b31;
  box-shadow: 0 0 0 1px #43181c, 0 10px 30px rgba(0, 0, 0, 0.6);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  background: #1c1f20;
  border: 1px solid #2b2f30;
  border-top: none;
}
.player-controls button {
  appearance: none;
  border: 1px solid #363b3c;
  background: #242829;
  color: #a9aeae;
  font-size: 11px;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.player-controls button:hover {
  color: #e8eae9;
  border-color: #6d2b31;
  background: #2c2426;
}
.player-controls button.is-active {
  color: #f2f4f3;
  background: #6d2b31;
  border-color: #a03a44;
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #3a3f40;
  border-radius: 2px;
  cursor: pointer;
  flex: 1 1 90px;
  min-width: 70px;
  max-width: 100%;
}
.player-controls input[type="range"]:first-of-type {
  flex: 3 1 160px;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #b03a44;
  border: 1px solid #d2d5d4;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #d2d5d4;
  border-radius: 50%;
  background: #b03a44;
}
.overview-section {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr) minmax(0, 1.5fr);
  grid-template-areas:
    "poster heading details"
    "poster cast details"
    "split split status";
  gap: 10px 14px;
  align-items: start;
  background: #1d2021;
  border: 1px solid #2b2f30;
  border-radius: 3px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.overview-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #6d2b31 0%, #41181c 55%, transparent 100%);
  pointer-events: none;
}
.overview-poster-wrap {
  grid-area: poster;
  align-self: start;
  width: 100%;
  max-width: 210px;
  position: relative;
  overflow: hidden;
  border: 1px solid #303536;
  background: #101112;
}
.overview-poster-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.overview-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 11, 12, 0.72) 0%,
    rgba(10, 11, 12, 0.28) 42%,
    rgba(109, 43, 49, 0.16) 100%
  );
  pointer-events: none;
}
.overview-heading {
  grid-area: heading;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 7px;
  border-bottom: 1px solid #2c3031;
}
.overview-title {
  font-size: 22px;
  letter-spacing: 0.08em;
  color: #e4e6e5;
  text-shadow: 0 1px 0 #000;
}
.overview-tagline {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #b03a44;
  padding-left: 1px;
}
.details-block {
  grid-area: details;
  align-self: start;
  min-width: 0;
}
.block-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #8e9493;
  text-transform: uppercase;
  padding-bottom: 3px;
  margin-bottom: 6px;
  border-bottom: 1px solid #2c3031;
}
.details-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 2px 10px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  padding: 2px 0;
  border-bottom: 1px dotted #292d2e;
}
.detail-item dt {
  flex: 0 0 auto;
  font-size: 10px;
  color: #797f7e;
  letter-spacing: 0.06em;
}
.detail-item dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: #cdd1d0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.cast-block {
  grid-area: cast;
  align-self: start;
  min-width: 0;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 1px 12px;
}
.cast-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 2px 0;
  border-bottom: 1px dotted #292d2e;
  min-width: 0;
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: #d7dad9;
  flex: 0 0 auto;
}
.cast-role {
  font-size: 10.5px;
  color: #838988;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.overview-split {
  grid-area: split;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
  padding-top: 4px;
}
.timeline-block {
  min-width: 0;
}
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid #2f3334;
  padding-left: 12px;
  margin-left: 2px;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 0 8px;
  border-bottom: 1px dotted #292d2e;
}
.timeline-node:last-child {
  border-bottom: none;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 12px;
  width: 8px;
  height: 2px;
  background: #b03a44;
}
.timeline-timecode {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #b03a44;
}
.timeline-label {
  font-size: 12px;
  color: #b2b7b6;
  line-height: 1.45;
}
.synopsis-block {
  min-width: 0;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 2px;
}
.synopsis-para {
  font-size: 11.5px;
  line-height: 1.62;
  color: #a4a9a8;
  text-align: justify;
}
.synopsis-para:first-child::first-letter {
  color: #b03a44;
  font-weight: 700;
}
.episode-status-block {
  grid-area: status;
  align-self: start;
  min-width: 0;
  padding: 8px 10px;
  background: #212425;
  border: 1px solid #2b2f30;
  border-left: 2px solid #6d2b31;
  border-radius: 2px;
}
.status-line {
  font-size: 12.5px;
  font-weight: 700;
  color: #d5d8d7;
  letter-spacing: 0.04em;
}
.status-meter {
  position: relative;
  height: 6px;
  margin: 7px 0 5px;
  background: #2c3031;
  border-radius: 3px;
  overflow: hidden;
}
.status-meter-fill {
  display: block;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, #6d2b31 0%, #c8434d 100%);
  border-radius: 3px;
}
.status-note {
  font-size: 10.5px;
  color: #868c8b;
  letter-spacing: 0.04em;
}
.section-heading {
  font-size: 15px;
  letter-spacing: 0.2em;
  color: #dddfde;
  margin-bottom: 8px;
  padding-left: 9px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 3px;
  background: #b03a44;
}
.episodes-section {
  min-width: 0;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  gap: 1px 8px;
  align-items: baseline;
  padding: 6px 8px 7px;
  background: #1e2122;
  border: 1px solid #292d2e;
  border-left: 2px solid #3a3f40;
  border-radius: 2px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  background: #232627;
  border-left-color: #b03a44;
}
.episode-number {
  grid-area: num;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #b03a44;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 12.5px;
  font-weight: 700;
  color: #d8dbda;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  grid-area: dur;
  font-size: 10px;
  color: #7e8483;
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 11px;
  line-height: 1.42;
  color: #949a99;
  margin-top: 1px;
}
.comments-section {
  min-width: 0;
}
.comments-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 10px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 9px;
  background: #1e2122;
  border: 1px solid #292d2e;
  border-top: 2px solid #2f3334;
  border-radius: 2px;
  min-width: 0;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: #a9aead;
}
.comment-nickname {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #b03a44;
  align-self: flex-start;
  padding-top: 3px;
  border-top: 1px dotted #2f3334;
  width: 100%;
}
.comment-nickname::before {
  content: "— ";
  color: #565c5b;
}
.recommend-section {
  min-width: 0;
}
.recommend-heading {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #d2d5d4;
  margin-bottom: 6px;
  padding-left: 9px;
  position: relative;
}
.recommend-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  background: #6d2b31;
}
.recommend-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 5px;
  scrollbar-width: thin;
  scrollbar-color: #3a3f40 transparent;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-scroll::-webkit-scrollbar {
  height: 5px;
}
.recommend-scroll::-webkit-scrollbar-track {
  background: #1b1e1f;
}
.recommend-scroll::-webkit-scrollbar-thumb {
  background: #3a3f40;
  border-radius: 3px;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 5px;
  background: #1e2122;
  border: 1px solid #292d2e;
  border-radius: 2px;
  color: #a9aead;
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a.recommend-card:hover {
  color: #e2e4e3;
  background: #232627;
  border-color: #6d2b31;
}
[data-runtime="recommendation"] img, .recommend-pic {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #101112;
  border: 1px solid #2b2f30;
}
.recommend-name {
  font-size: 12px;
  font-weight: 700;
  color: #d5d8d7;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 10.5px;
  line-height: 1.4;
  color: #838988;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 12px 26px;
  border-top: 1px solid #2b2f30;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.6;
  color: #747a79;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  color: #a2a7a6;
  text-decoration: none;
  border-bottom: 1px dotted #3a3f40;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #c8434d;
  border-bottom-color: #6d2b31;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 10px;
  padding-top: 7px;
  border-top: 1px dotted #2b2f30;
}
.friend-links-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #6d7372;
  flex: 0 0 auto;
}
a.runtime-friend-link {
  font-size: 10.5px;
  color: #838988;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #b03a44;
  text-decoration: underline;
}
@media (max-width: 1080px) {.overview-section {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr);
    grid-template-areas:
      "poster heading"
      "poster details"
      "poster cast"
      "split split"
      "status status";
  }
.overview-poster-wrap {
    max-width: 190px;
  }
.overview-split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }}
@media (max-width: 860px) {.comments-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-scroll {
    grid-auto-columns: minmax(0, 1fr);
  }}
@media (max-width: 700px) {.overview-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "heading"
      "details"
      "cast"
      "split"
      "status";
  }
.overview-poster-wrap {
    max-width: 150px;
  }
.overview-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-row {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-scroll {
    grid-auto-columns: minmax(0, 1fr);
  }}
@media (max-width: 520px) {body {
    font-size: 12.5px;
  }
.page-main {
    padding: 6px 9px 20px;
    gap: 10px;
  }
.header-inner {
    padding: 6px 9px;
    gap: 8px;
  }
a[data-contract="site-name"] {
    font-size: 13px;
    letter-spacing: 0.08em;
  }
.overview-title {
    font-size: 18px;
  }
.details-row {
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  }
.recommend-scroll {
    grid-auto-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 3px;
    padding: 4px;
  }
.player-controls button {
    font-size: 10px;
    padding: 4px 6px;
  }
.player-controls input[type="range"] {
    flex: 1 1 70px;
    min-width: 60px;
  }
.player-controls input[type="range"]:first-of-type {
    flex: 1 1 100%;
  }}
@media (max-width: 380px) {.recommend-scroll {
    grid-auto-columns: minmax(0, 1fr);
  }
.episode-card {
    padding: 5px 6px 6px;
  }}

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}
