*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  font-stretch: condensed;
  color: #1c1e22;
  background: #e9eaec;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, dl, dd, dt, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #101215;
  border-bottom: 1px solid #26282d;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5), 0 6px 18px -12px rgba(0, 0, 0, 0.9);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #e7f2f0;
  text-decoration: none;
  text-shadow: 0 0 6px rgba(120, 200, 190, 0.45), 0 0 18px rgba(120, 200, 190, 0.18);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(150, 220, 210, 0.7), 0 0 22px rgba(120, 200, 190, 0.35);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #9fb3b0;
  text-decoration: none;
  background: #1a1d21;
  border: 1px solid #2b3036;
  border-radius: 2px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: #e6f4f1;
  text-decoration: none;
  background: #23282e;
  border-color: #4a6b66;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 14px 28px;
}
.hero-live {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 16px 0 18px;
  margin-bottom: 14px;
}
.hero-live::before {
  content: "";
  position: absolute;
  inset: -200px -50vw -20px -50vw;
  z-index: -1;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(88, 24, 30, 0.55) 0%, rgba(16, 17, 19, 0) 62%),
    linear-gradient(180deg, #0c0d0f 0%, #121417 70%, #e9eaec 100%);
}
.hero-slogan {
  display: grid;
  gap: 2px;
}
.hero-title {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #eef5f3;
  text-shadow: 0 0 8px rgba(140, 210, 200, 0.4), 0 0 26px rgba(140, 210, 200, 0.16);
}
.hero-tagline {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #8fa5a2;
}
.player-shell {
  position: relative;
  display: grid;
  gap: 0;
  background: #0a0b0d;
  border: 1px solid #2a2d32;
  border-radius: 3px;
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.player-frame {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #000;
}
.player-frame video {
  display: block;
  width: 100%;
  height: auto;
}
.danmaku-layer {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 10px 12px;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(180deg, rgba(6, 8, 9, 0.62) 0%, rgba(6, 8, 9, 0.12) 55%, rgba(6, 8, 9, 0) 100%);
}
.danmaku-item {
  display: inline-block;
  max-width: 100%;
  padding: 2px 8px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #a9c4c0;
  background: rgba(12, 18, 19, 0.55);
  border: 1px solid rgba(120, 168, 162, 0.22);
  border-radius: 2px;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.danmaku-item:nth-child(2n) { margin-left: 12%; }
.danmaku-item:nth-child(3n) { margin-left: 4%; }
.danmaku-item:nth-child(4n) { margin-left: 20%; }
.danmaku-item:nth-child(5n) { margin-left: 8%; }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #121417;
  border-top: 1px solid #26292e;
}
.ctrl-btn {
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #cfdcd9;
  background: #1c2024;
  border: 1px solid #333940;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ctrl-btn:hover {
  color: #eaf5f2;
  background: #262c31;
  border-color: #4d6a65;
}
.ctrl-btn.is-playing, .ctrl-btn.is-active, .ctrl-btn.is-muted {
  color: #0b0d0e;
  background: #8fbab3;
  border-color: #8fbab3;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #2a3036;
  border-radius: 2px;
  cursor: pointer;
  outline: none;
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
}
.ctrl-volume {
  flex: 0 0 auto;
  width: 84px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #a7cfc8;
  border: 1px solid #0b0d0e;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #0b0d0e;
  border-radius: 50%;
  background: #a7cfc8;
}
.ctrl-select {
  padding: 3px 6px;
  font-size: 11px;
  color: #cfdcd9;
  background: #1c2024;
  border: 1px solid #333940;
  border-radius: 2px;
  cursor: pointer;
}
.player-shell.is-theater {
  border-color: #5c3a3f;
  box-shadow: 0 22px 50px -24px rgba(120, 30, 40, 0.8), inset 0 0 0 1px rgba(180, 90, 100, 0.12);
}
.movie-overview.is-theater {
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
body.lights-off {
  background: #07080a;
}
body.lights-off .movie-overview, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .recommendation-region {
  filter: brightness(0.72) contrast(1.05);
}
.movie-overview {
  margin: 0 0 20px;
  background: #f4f5f6;
  border: 1px solid #d3d6da;
  border-radius: 3px;
  box-shadow: 0 12px 30px -26px rgba(20, 24, 28, 0.7);
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  align-items: start;
}
.poster-wrapper {
  align-self: start;
  width: 100%;
  line-height: 0;
  border: 1px solid #c6cace;
  border-radius: 2px;
  overflow: hidden;
  background: #d8dbde;
}
.poster-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.overview-info {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.overview-title {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #14171a;
}
.overview-tagline {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #5d6a6d;
  padding-bottom: 8px;
  border-bottom: 1px solid #dcdfe2;
}
.overview-seo {
  font-size: 12.5px;
  line-height: 1.65;
  color: #3a4247;
}
.cast-strip {
  display: grid;
  gap: 6px;
  padding-top: 4px;
}
.cast-heading, .synopsis-heading, .status-heading, .details-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #6b7478;
  text-transform: uppercase;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 6px;
}
.cast-item {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 7px 5px 6px;
  text-align: center;
  background: #eceef0;
  border: 1px solid #d9dcdf;
  border-radius: 2px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.cast-item:hover {
  background: #e2e6e7;
  border-color: #8fae aa;
  transform: translateY(-1px);
}
.cast-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #b9c0c4;
  background: #c8ced2;
  box-shadow: inset 0 0 0 2px #eef0f1;
}
.cast-avatar-1 { background: linear-gradient(140deg, #6d7d84, #3f4b52); }
.cast-avatar-2 { background: linear-gradient(140deg, #7b6f6a, #4a403c); }
.cast-avatar-3 { background: linear-gradient(140deg, #8a939a, #565f66); }
.cast-avatar-4 { background: linear-gradient(140deg, #6f6a78, #423d4a); }
.cast-avatar-5 { background: linear-gradient(140deg, #86797c, #4f4447); }
.cast-avatar-6 { background: linear-gradient(140deg, #77858a, #454f54); }
.cast-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1d2327;
  white-space: nowrap;
}
.cast-role {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #6d787d;
  white-space: nowrap;
}
.cast-danmaku {
  margin-top: 2px;
  padding: 1px 5px;
  max-width: 100%;
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #2f5a55;
  background: rgba(178, 208, 203, 0.35);
  border: 1px solid rgba(120, 168, 162, 0.35);
  border-radius: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-item:hover .cast-danmaku {
  color: #16403b;
  background: rgba(160, 200, 194, 0.6);
}
.synopsis-block {
  display: grid;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid #dcdfe2;
}
.synopsis-paragraphs {
  display: grid;
  gap: 6px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: #3a4247;
  text-align: justify;
}
.episode-status {
  display: grid;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid #dcdfe2;
}
.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  font-size: 12px;
}
.status-current {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8d2730;
}
.status-total {
  letter-spacing: 0.06em;
  color: #6d787d;
}
.status-bar {
  position: relative;
  height: 6px;
  background: #d9dcdf;
  border-radius: 3px;
  overflow: hidden;
}
.status-bar-fill {
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, #7d2a32, #b04a52);
}
.details-block {
  display: grid;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid #dcdfe2;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 4px 12px;
}
.detail-row {
  display: flex;
  gap: 6px;
  align-items: baseline;
  padding: 3px 0;
  border-bottom: 1px dotted #d4d8db;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #778186;
}
.detail-key::after {
  content: "·";
  margin-left: 4px;
  color: #b6bcc0;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: #232a2e;
  overflow-wrap: anywhere;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #232a2e;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 2px solid #232a2e;
  text-shadow: 0 0 8px rgba(120, 200, 190, 0.25);
}
.timeline-section {
  margin-bottom: 20px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 6px;
  align-items: start;
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  align-items: start;
  padding: 7px 9px 7px 14px;
  background: #f2f3f4;
  border: 1px solid #dcdfe2;
  border-left: 3px solid #8d2730;
  border-radius: 2px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8d2730;
  box-shadow: 0 0 0 2px #f2f3f4;
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8d2730;
  white-space: nowrap;
}
.timeline-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: #232a2e;
}
.timeline-danmaku {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #3b6560;
  background: rgba(178, 208, 203, 0.3);
  border-left: 2px solid rgba(120, 168, 162, 0.7);
  padding: 1px 6px;
  overflow-wrap: anywhere;
}
.timeline-progress {
  grid-column: 1 / -1;
  height: 3px;
  margin-top: 4px;
  background: #d9dcdf;
  border-radius: 2px;
  overflow: hidden;
}
.timeline-progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7d2a32, #b04a52);
}
.timeline-node:nth-child(1) .timeline-progress-fill { width: 9%; }
.timeline-node:nth-child(2) .timeline-progress-fill { width: 22%; }
.timeline-node:nth-child(3) .timeline-progress-fill { width: 36%; }
.timeline-node:nth-child(4) .timeline-progress-fill { width: 50%; }
.timeline-node:nth-child(5) .timeline-progress-fill { width: 65%; }
.timeline-node:nth-child(6) .timeline-progress-fill { width: 82%; }
.timeline-node:nth-child(7) .timeline-progress-fill { width: 100%; }
.episodes-section {
  margin-bottom: 20px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  background: #f2f3f4;
  border: 1px solid #dcdfe2;
  border-radius: 2px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card:hover {
  background: #eceef0;
  border-color: #a9b2b6;
}
.episode-number {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #8d2730;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1a2024;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.58;
  color: #4a5358;
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #7b858a;
}
.episode-card.is-current {
  border-color: #8d2730;
  box-shadow: inset 0 0 0 1px #8d2730, 0 0 0 1px rgba(141, 39, 48, 0.18);
  background: #f7eff0;
}
.episode-card.is-current .episode-number {
  color: #a52a34;
}
.comments-section {
  margin-bottom: 20px;
}
.comment-stream {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 5px;
  align-items: start;
}
.comment-item {
  display: grid;
  gap: 1px;
  padding: 6px 9px;
  background: #e9ebec;
  border: 1px solid #d6dadd;
  border-left: 3px solid rgba(120, 168, 162, 0.75);
  border-radius: 2px;
}
.comment-nickname {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #2f5a55;
}
.comment-text {
  font-size: 12px;
  line-height: 1.58;
  color: #3a4247;
  overflow-wrap: anywhere;
}
.recommendation-region {
  margin-bottom: 20px;
  padding: 10px 12px 12px;
  background: #f4f5f6;
  border: 1px solid #d9dcdf;
  border-radius: 3px;
}
.recommendation-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #232a2e;
  padding-bottom: 4px;
  margin-bottom: 8px;
  border-bottom: 1px solid #ccd1d4;
  text-shadow: 0 0 8px rgba(120, 200, 190, 0.2);
}
.recommendation-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommendation-card {
  display: grid;
  gap: 3px;
  padding: 6px;
  color: #232a2e;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #dde1e4;
  border-radius: 2px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
a.recommendation-card:hover {
  color: #232a2e;
  text-decoration: none;
  border-color: #8d2730;
  box-shadow: 0 8px 18px -14px rgba(20, 24, 28, 0.9);
  transform: translateY(-1px);
}
a.recommendation-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: #cfd4d7;
}
a.recommendation-card [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1a2024;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.recommendation-card [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.5;
  color: #5d686d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: #101215;
  border-top: 1px solid #26282d;
  color: #8f9a9d;
}
.footer-inner {
  display: grid;
  gap: 8px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
a[data-contract="footer-home"] {
  color: #cfe0dc;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: #ffffff;
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  color: #94a7a4;
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: #d8e8e5;
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  padding-top: 8px;
  border-top: 1px solid #1e2226;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #6d787d;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #7f9a96;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #bcd6d2;
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #6b767a;
  padding-top: 8px;
  border-top: 1px solid #1e2226;
}
@media (max-width: 860px) {.overview-grid {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
.hero-title { font-size: 20px; }}
@media (max-width: 680px) {body { font-size: 12.5px; }
.overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-wrapper {
    max-width: 220px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list, .comment-stream {
    grid-template-columns: minmax(0, 1fr);
  }
.recommendation-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.player-controls {
    gap: 5px;
    padding: 7px 8px;
  }
.ctrl-progress { flex: 1 1 100%; order: 2; }
.ctrl-volume { width: 70px; }}
@media (max-width: 460px) {.header-inner { padding: 7px 10px; }
.page-main { padding: 0 10px 22px; }
.hero-live { padding: 12px 0 14px; }
.hero-title { font-size: 18px; letter-spacing: 0.06em; }
.hero-tagline { font-size: 11.5px; }
.overview-grid { padding: 10px; }
.overview-title { font-size: 17px; }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
.cast-avatar { width: 30px; height: 30px; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.danmaku-layer { padding: 7px 8px; gap: 4px; }
.danmaku-item { font-size: 10px; padding: 1px 6px; }
.danmaku-item:nth-child(4n) { margin-left: 8%; }
.danmaku-item:nth-child(5n) { margin-left: 2%; }
.player-controls { padding: 6px 7px; }
.ctrl-btn { padding: 3px 8px; font-size: 10.5px; }
.recommendation-region { padding: 9px 10px 10px; }
.recommendation-list { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.footer-inner { padding: 12px 10px; }}
@media (max-width: 340px) {.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommendation-list { grid-template-columns: minmax(0, 1fr); }
.ctrl-btn { padding: 3px 6px; }}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }}

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}
