*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink: #14161a;
  --ink-2: #1b1e23;
  --ink-3: #23262c;
  --panel: #20242a;
  --panel-2: #272b32;
  --line: #33383f;
  --red: #c8102e;
  --red-deep: #8e0b1f;
  --red-dark: #5d0a17;
  --red-glow: #e63946;
  --text: #d9dce0;
  --text-dim: #8f959d;
  --text-faint: #6b7178;
  --white: #f4f5f7;
  --radius: 3px;
  --gap: 10px;
  --pad: 14px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "Heiti SC", "WenQuanYi Micro Hei", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html {
  background: #101216;
}
body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(200, 16, 46, 0.10), transparent 60%),
    linear-gradient(180deg, #121419 0%, #0f1115 100%);
  background-color: #0f1115;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.lights-off {
  background: #060709;
}
body.lights-off .page-main {
  filter: brightness(0.82) contrast(1.05);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 20, 24, 0.92);
  border-bottom: 1px solid #24282e;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px clamp(12px, 3vw, 28px);
}
a[data-contract="site-name"] {
  color: var(--white);
  text-decoration: none;
}
.brand-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-left: 12px;
  position: relative;
  white-space: nowrap;
}
.brand-logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: var(--red);
  box-shadow: 0 0 10px rgba(200, 16, 46, 0.7);
}
.brand-logo:hover {
  color: var(--red-glow);
}
.category-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: var(--white);
  border-color: #3a3f47;
  background: #1a1d22;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 28px) 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero-gate {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  margin-top: 16px;
  background: linear-gradient(135deg, #17191e 0%, #101216 100%);
  border: 1px solid #262a30;
  border-left: 3px solid var(--red-deep);
  overflow: hidden;
}
.hero-media {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  min-height: 100%;
}
.poster-column {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: var(--pad);
  background: #0e1013;
}
.poster-column img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid #2c3037;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}
.gate-visual {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.0) 26%),
    linear-gradient(180deg, #7a0a1a 0%, #a30d22 34%, #c8102e 62%, #7c0a19 100%);
}
.gate-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49.4%, rgba(0, 0, 0, 0.55) 49.4% 50.2%, transparent 50.2% 100%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0 2px, rgba(255, 255, 255, 0.02) 2px 46px),
    radial-gradient(120% 90% at 70% 40%, rgba(255, 190, 190, 0.16), transparent 60%);
  pointer-events: none;
}
.gate-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}
.gate-crack-light {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 49.4%;
  width: 10px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 236, 214, 0) 0%, rgba(255, 236, 214, 0.85) 42%, rgba(255, 214, 190, 0.95) 55%, rgba(255, 236, 214, 0) 100%);
  filter: blur(3px);
  box-shadow: 0 0 26px 8px rgba(255, 190, 150, 0.35);
  animation: crack 5.5s ease-in-out infinite;
}
@keyframes crack {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.hero-overlay {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 3vw, 30px);
  padding-top: clamp(14px, 2.4vw, 22px);
  max-width: 62%;
  pointer-events: none;
}
.movie-title {
  font-size: clamp(34px, 6vw, 62px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--white);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 0 34px rgba(200, 16, 46, 0.55);
}
.movie-tagline {
  display: inline-block;
  align-self: flex-start;
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffe9ec;
  padding: 4px 10px;
  background: linear-gradient(90deg, rgba(200, 16, 46, 0.92), rgba(93, 10, 23, 0.5));
  border-left: 3px solid #ff5a6e;
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.68;
  color: #c3c7cd;
  max-width: 46ch;
  border-left: 1px solid #3a3f47;
  padding-left: 10px;
}
.player-shell {
  grid-column: 1 / -1;
  position: relative;
  width: 100%;
  background: #000;
  border-top: 1px solid #2b3037;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-shell.theater-mode {
  background: #000;
}
.player-shell.theater-mode video {
  max-height: 84vh;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  background: #14171b;
  border-top: 1px solid #262b31;
}
.control-btn {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  padding: 5px 9px;
  border: 1px solid #30353c;
  border-radius: var(--radius);
  background: #1a1e23;
  white-space: nowrap;
  transition: color 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}
.control-btn:hover {
  color: var(--white);
  border-color: #4a5058;
  background: #22272d;
}
.control-btn.is-active {
  color: #ffe4e8;
  background: var(--red-deep);
  border-color: var(--red);
}
.control-btn.click, .control-btn.data-player-action {
  color: var(--text);
}
.player-shell.show-progress .player-controls, .player-shell.show-volume .player-controls {
  background: #191d22;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  background: #191c21;
  border: 1px solid #262b31;
  border-left: 3px solid var(--red);
}
.episode-status > span {
  font-size: 12.5px;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  color: var(--text-dim);
  border-right: 1px solid #262b31;
  white-space: nowrap;
}
.episode-status > span:last-child {
  border-right: 0;
}
.status-current {
  color: #ffd7dd !important;
  font-weight: 700;
  background: var(--red-deep);
}
.status-total {
  color: var(--white) !important;
  font-weight: 600;
}
.status-duration {
  color: var(--text-faint) !important;
}
.section-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--white);
  text-transform: uppercase;
  padding-left: 12px;
  margin-bottom: 10px;
  position: relative;
  line-height: 1.2;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  bottom: 1px;
  width: 4px;
  background: var(--red);
}
.cast-block {
  border-top: 1px solid #22262c;
  padding-top: 14px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--gap);
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid #2b3037;
  border-radius: var(--radius);
  min-width: 0;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  background:
    radial-gradient(60% 60% at 50% 34%, #6f757c 0%, #4a4f56 62%, #33383f 100%);
  filter: saturate(0.42) contrast(1.06) brightness(0.92);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(200, 16, 46, 0.16), transparent 55%);
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.cast-role {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.03em;
  line-height: 1.35;
}
.synopsis-block {
  border-top: 1px solid #22262c;
  padding-top: 14px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.78;
  color: #a9aeb5;
  margin-bottom: 8px;
  max-width: 92ch;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.synopsis-paragraph::first-letter {
  color: #e6e8ea;
}
.details-block {
  border-top: 1px solid #22262c;
  padding-top: 14px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  background: #2a2f36;
  border: 1px solid #2a2f36;
}
.detail-key {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  background: #1a1d22;
  padding: 7px 10px;
}
.detail-value {
  font-size: 12.5px;
  color: var(--text);
  background: #20242a;
  padding: 7px 10px;
  letter-spacing: 0.02em;
}
.timeline-section {
  border-top: 1px solid #22262c;
  padding-top: 14px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--gap);
  padding-left: 14px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--red-deep) 8%, var(--red) 50%, var(--red-deep) 92%, transparent);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 8px 0 8px 0;
  border-bottom: 1px solid #1e2228;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #171a1f;
  border: 1px solid var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}
.timeline-time {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e0808f;
  text-align: left;
  padding-top: 1px;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  color: #b5bac1;
  line-height: 1.6;
}
.episodes-section {
  border-top: 1px solid #22262c;
  padding-top: 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px 11px;
  background: var(--ink-3);
  border: 1px solid #2b3037;
  border-top: 2px solid #3a3f47;
  border-radius: var(--radius);
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  border-top-color: var(--red);
  background: #262a31;
}
.episode-card-current {
  background: var(--red-dark);
  border-color: var(--red-deep);
  border-top-color: var(--red);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 110, 0.18), 0 4px 18px rgba(200, 16, 46, 0.18);
}
.episode-card-current .episode-number {
  color: #ffcdd4;
}
.episode-card-current .episode-title {
  color: #fff;
}
.episode-card-current .episode-summary {
  color: #f0c6cd;
}
.episode-card-current .episode-duration {
  color: #e79aa6;
}
.episode-number {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red-glow);
  text-transform: uppercase;
}
.episode-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1.25;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.62;
  color: #969ba2;
}
.episode-duration {
  margin-top: 2px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  border-top: 1px solid #2f343b;
  padding-top: 5px;
}
.comments-section {
  border-top: 1px solid #22262c;
  padding-top: 14px;
}
.comment-masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px;
  background: var(--panel);
  border: 1px solid #2b3037;
  border-left: 2px solid #3a3f47;
  border-radius: var(--radius);
  min-width: 0;
}
.comment-short {
  border-left-color: #4a5058;
}
.comment-long {
  background: #23272e;
  border-left-color: var(--red-deep);
}
.comment-nickname {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #c9ced4;
}
.comment-nickname::before {
  content: "— ";
  color: var(--red);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.68;
  color: #9ba1a8;
}
.comment-long .comment-text {
  color: #b3b8bf;
}
.recommend-region {
  border-top: 1px solid #22262c;
  padding-top: 14px;
}
.recommend-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--red-deep) #1a1d22;
}
.recommend-scroll::-webkit-scrollbar {
  height: 6px;
}
.recommend-scroll::-webkit-scrollbar-track {
  background: #1a1d22;
}
.recommend-scroll::-webkit-scrollbar-thumb {
  background: var(--red-deep);
  border-radius: 3px;
}
a.recommend-card {
  flex: 0 0 168px;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: var(--panel);
  border: 1px solid #2b3037;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
a.recommend-card:hover {
  border-color: var(--red);
  background: #262a31;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid #2f343b;
  background: #15181c;
  filter: saturate(0.82) contrast(1.04);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 8px;
  background: #101216;
  border-top: 1px solid #22262c;
  padding: 22px clamp(12px, 3vw, 28px) 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--red-glow);
  border-bottom-color: var(--red-deep);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px solid #1e2228;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: #7f858c;
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  padding: 2px 0;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: #e0808f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: #5e646b;
  max-width: 96ch;
  padding-top: 10px;
  border-top: 1px solid #1a1d22;
}
@media (max-width: 1080px) {.cast-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: 1fr;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.hero-gate {
    grid-template-columns: 1fr;
  }
.hero-media {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }
.hero-overlay {
    max-width: 78%;
  }
.movie-seo {
    max-width: 100%;
  }}
@media (max-width: 760px) {body {
    font-size: 13.5px;
  }
.page-main {
    gap: 20px;
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-masonry {
    grid-template-columns: 1fr;
  }
.hero-overlay {
    max-width: 100%;
    background: linear-gradient(180deg, rgba(10, 11, 14, 0.86) 0%, rgba(10, 11, 14, 0.35) 100%);
  }
a.recommend-card {
    flex-basis: 148px;
    width: 148px;
  }}
@media (max-width: 620px) {.hero-media {
    grid-template-columns: 1fr;
  }
.poster-column {
    justify-content: center;
  }
.poster-column img {
    width: min(220px, 62%);
  }
.gate-visual {
    min-height: 180px;
  }
.hero-overlay {
    position: relative;
    grid-row: auto;
  }
.hero-gate {
    display: flex;
    flex-direction: column;
  }
.hero-media {
    order: 1;
  }
.hero-overlay {
    order: 2;
  }
.player-shell {
    order: 3;
  }
.episode-grid {
    grid-template-columns: 1fr;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    grid-template-columns: 1fr;
    gap: 3px;
  }
.timeline-time {
    color: #e0808f;
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
a.recommend-card {
    flex-basis: 132px;
    width: 132px;
  }}
@media (max-width: 420px) {.brand-logo {
    font-size: 16px;
  }
.movie-title {
    font-size: 34px;
  }
.control-btn {
    font-size: 11px;
    padding: 4px 7px;
  }
.episode-status > span {
    padding: 7px 10px;
    font-size: 11.5px;
  }}

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}
