:root {
  --bg: #14161a;
  --bg-2: #1a1d22;
  --bg-3: #20242b;
  --line: #2b3039;
  --ink: #d6dae0;
  --ink-dim: #8d949f;
  --ink-faint: #666d78;
  --red: #8e1b26;
  --red-bright: #b32332;
  --red-deep: #5f1220;
  --radius: 4px;
  --gap: 10px;
  --pad: 12px;
  --maxw: 1180px;
  font-size: 16px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ink);
  text-decoration: none;
}
ul, ol, li {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}
button, input {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--red);
  color: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 22, 26, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"].site-brand {
  color: #f2f3f5;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding-left: 10px;
  position: relative;
  white-space: nowrap;
}
a[data-contract="site-name"].site-brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: var(--red-bright);
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--red);
  background: var(--red-deep);
}
.page-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-title {
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #e8eaee;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title-accent {
  color: #f0f1f3;
  padding-left: 10px;
  position: relative;
}
.section-title-accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  background: var(--red-bright);
}
.player-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #0c0d10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.control-btn {
  cursor: pointer;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 12px;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 3px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.control-btn:hover {
  color: #fff;
  border-color: #3d444f;
}
.control-btn.is-active {
  color: #fff;
  background: var(--red-deep);
  border-color: var(--red-bright);
}
.control-progress {
  flex: 1 1 180px;
  min-width: 120px;
  display: flex;
  align-items: center;
  padding: 0 4px;
}
.control-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 150px;
  min-width: 110px;
}
.progress-range, .volume-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #333944;
  cursor: pointer;
  outline: none;
}
.progress-range::-webkit-slider-thumb, .volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red-bright);
  border: 2px solid #1a1d22;
  cursor: pointer;
}
.progress-range::-moz-range-thumb, .volume-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 2px solid #1a1d22;
  border-radius: 50%;
  background: var(--red-bright);
  cursor: pointer;
}
.volume-range {
  flex: 1 1 auto;
  min-width: 40px;
}
body.is-lights-off .page-main {
  opacity: 0.35;
  transition: opacity 0.25s;
}
body.is-lights-off .player-shell {
  position: relative;
  z-index: 5;
  opacity: 1;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--red-deep), 0 18px 44px rgba(0, 0, 0, 0.7);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "poster header  header"
    "poster details status"
    "poster synopsis synopsis"
    "cast   cast    cast";
  gap: 14px;
  align-items: start;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.overview-poster {
  grid-area: poster;
  margin: 0;
  align-self: start;
  background: #0c0d10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.overview-poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.overview-header {
  grid-area: header;
  min-width: 0;
}
.movie-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #f4f5f7;
  line-height: 1.15;
}
.movie-tagline {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
  padding-left: 10px;
  border-left: 2px solid var(--red);
}
.details-panel {
  grid-area: details;
  min-width: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 14px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.45;
  padding: 1px 0;
}
.detail-key {
  flex: 0 0 auto;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}
.detail-key::after {
  content: "·";
  margin-left: 2px;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.detail-rating {
  color: var(--red-bright);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.episode-status-panel {
  grid-area: status;
  min-width: 0;
  align-self: start;
}
.status-line {
  font-size: 13px;
  color: var(--ink);
  padding: 8px 10px;
  background: var(--bg-3);
  border-left: 3px solid var(--red);
  border-radius: 0 3px 3px 0;
}
.synopsis-panel {
  grid-area: synopsis;
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.72;
  color: #b7bdc6;
  text-align: justify;
}
.synopsis-paragraph + .synopsis-paragraph {
  margin-top: 8px;
}
.cast-panel {
  grid-area: cast;
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.cast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0e1014;
}
.cast-avatar {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0a0b0e;
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%) contrast(1.05) brightness(0.82);
  transition: filter 0.3s ease, transform 0.4s ease;
}
.cast-card:hover .cast-avatar img {
  filter: grayscale(15%) contrast(1.06) brightness(0.95);
  transform: scale(1.03);
}
.cast-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 9px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(to top, rgba(8, 9, 12, 0.96) 30%, rgba(8, 9, 12, 0.55) 70%, rgba(8, 9, 12, 0));
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: #f2f3f5;
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 11px;
  color: #a2a9b3;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
.timeline-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 0;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 1px;
  background: linear-gradient(to right, var(--red-deep), var(--line) 40%, var(--line));
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px 0 0;
  min-width: 0;
}
.timeline-dot {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 3px var(--bg), 0 0 10px rgba(179, 35, 50, 0.7);
}
.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.timeline-timecode {
  font-size: 12px;
  font-weight: 700;
  color: var(--red-bright);
  letter-spacing: 0.08em;
}
.timeline-label {
  font-size: 12.5px;
  color: var(--ink-dim);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.episodes-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  min-width: 0;
}
.episode-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--red-deep) transparent;
  -webkit-overflow-scrolling: touch;
}
.episode-strip::-webkit-scrollbar {
  height: 6px;
}
.episode-strip::-webkit-scrollbar-track {
  background: var(--bg-3);
  border-radius: 3px;
}
.episode-strip::-webkit-scrollbar-thumb {
  background: var(--red-deep);
  border-radius: 3px;
}
.episode-card {
  flex: 0 0 190px;
  width: 190px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 2px solid #343a44;
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.episode-card:hover {
  background: var(--bg-3);
  border-left-color: var(--red);
}
.episode-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #e9ebef;
  line-height: 1.35;
}
.episode-duration {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.episode-summary {
  display: none;
  font-size: 11.5px;
  line-height: 1.55;
  color: #9ba2ac;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  padding-top: 6px;
}
.episode-card-current {
  flex-basis: 300px;
  width: 300px;
  background: linear-gradient(160deg, #24161a, var(--bg-2) 60%);
  border-color: var(--red-deep);
  border-left: 2px solid var(--red-bright);
}
.episode-card-current .episode-number {
  color: var(--red-bright);
}
.episode-card-current .episode-summary {
  display: block;
}
.episode-card.is-active {
  box-shadow: 0 0 0 1px var(--red-deep), 0 8px 22px rgba(0, 0, 0, 0.5);
}
.comments-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.comments-columns {
  column-count: 2;
  column-gap: 12px;
}
.comments-col {
  break-inside: avoid;
  display: block;
}
.comment-card {
  break-inside: avoid;
  margin-bottom: 8px;
  padding: 8px 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.comment-card:last-child {
  margin-bottom: 0;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  color: #dfe2e7;
  margin-bottom: 3px;
  letter-spacing: 0.03em;
}
.comment-nickname::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: 1px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: #9aa1ab;
  overflow-wrap: anywhere;
}
.recommend-region {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.recommend-title {
  font-size: 14px;
  font-weight: 700;
  color: #eceef1;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  padding-left: 10px;
  position: relative;
}
.recommend-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 13px;
  background: var(--red-bright);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
a.recommend-card:hover {
  background: var(--bg-3);
  border-color: var(--red-deep);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
  background: #0a0b0e;
  filter: brightness(0.86) saturate(0.85);
  transition: filter 0.25s;
}
a.recommend-card:hover img {
  filter: brightness(1) saturate(1);
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  color: #e9ebef;
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: #8f96a0;
  overflow-wrap: anywhere;
}
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 16px 34px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-faint);
  max-width: 860px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--red-bright);
  border-bottom-color: var(--red-bright);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #7f8791;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--red-bright);
}
@media (max-width: 1024px) {.movie-overview {
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
    grid-template-areas:
      "poster header"
      "poster details"
      "status status"
      "synopsis synopsis"
      "cast cast";
  }
.timeline-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 0;
  }
.timeline-list::before {
    display: none;
  }
.timeline-node {
    padding-right: 14px;
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.page-main {
    padding: 0 12px 32px;
    gap: 20px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "header"
      "details"
      "status"
      "synopsis"
      "cast";
    padding: 12px;
  }
.overview-poster {
    max-width: 170px;
  }
.movie-title {
    font-size: 21px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 0;
  }
.comments-columns {
    column-count: 1;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-card {
    flex-basis: 168px;
    width: 168px;
  }
.episode-card-current {
    flex-basis: 260px;
    width: 260px;
  }}
@media (max-width: 480px) {.header-inner {
    padding: 8px 12px;
    gap: 10px;
  }
a[data-contract="site-name"].site-brand {
    font-size: 15px;
  }
.player-controls {
    gap: 5px;
    padding: 7px 8px;
  }
.control-btn {
    font-size: 11px;
    padding: 5px 7px;
  }
.control-progress {
    flex: 1 1 100%;
    order: -1;
  }
.control-volume {
    flex: 1 1 100%;
    min-width: 0;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px 0;
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.movie-title {
    font-size: 19px;
  }}

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}
