*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #10151f;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(120, 24, 34, 0.30), transparent 42%),
    radial-gradient(circle at 88% 96%, rgba(30, 46, 66, 0.55), transparent 55%),
    linear-gradient(180deg, #0d1219 0%, #111827 48%, #0b0f16 100%);
  background-attachment: fixed;
  color: #c3cddb;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.48;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: #aebacb;
  text-decoration: none;
}
a:hover {
  color: #e8edf4;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, p, dl, dd, dt {
  margin: 0;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(9, 13, 20, 0.96), rgba(12, 17, 25, 0.88));
  border-bottom: 1px solid #222c3c;
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
a[data-contract="site-name"] {
  color: #f2f5f9;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-left: 12px;
  border-left: 3px solid #8d1f2a;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #ff5566;
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  color: #9fb0c4;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border: 1px solid #2b3a4e;
  border-radius: 1px;
  background: rgba(22, 31, 44, 0.6);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #ffd9dd;
  border-color: #8d1f2a;
  background: rgba(96, 20, 28, 0.4);
  text-decoration: none;
}
.page-main {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 20px 34px;
}
.section-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #e6ebf2;
  text-transform: uppercase;
  padding: 0 0 6px 10px;
  border-left: 3px solid #8d1f2a;
  margin-bottom: 12px;
  line-height: 1.3;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 232px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 16px;
  background:
    linear-gradient(150deg, rgba(24, 33, 47, 0.92) 0%, rgba(16, 23, 34, 0.92) 55%, rgba(28, 15, 20, 0.9) 100%);
  border: 1px solid #26313f;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 18px 44px -28px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 2px, transparent 2px 5px),
    radial-gradient(ellipse at 74% 22%, rgba(140, 26, 36, 0.22), transparent 58%);
  pointer-events: none;
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  border: 1px solid #33404f;
  background: #0a0e14;
  padding: 4px;
  border-radius: 1px;
}
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: linear-gradient(200deg, rgba(180, 220, 255, 0.10), transparent 42%);
  pointer-events: none;
}
.main-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 1px;
  filter: saturate(0.92) contrast(1.06) brightness(0.96);
}
.hero-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.06;
  letter-spacing: 0.07em;
  font-weight: 800;
  color: #f4f7fa;
  text-shadow: 0 0 26px rgba(150, 30, 40, 0.45);
}
.movie-tagline {
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: #d78b93;
  padding-left: 10px;
  border-left: 2px solid #7c1b24;
  line-height: 1.42;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.46;
  color: #93a1b3;
  max-width: 78ch;
}
.player-panel {
  border: 1px solid #2b3644;
  background: #080b11;
  padding: 6px;
  border-radius: 1px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.player-panel.theater-mode {
  background: #05070a;
  border-color: #8d1f2a;
  box-shadow: 0 0 0 1px #8d1f2a inset, 0 0 34px -6px rgba(150, 30, 42, 0.55);
}
.player-panel.lights-on {
  background: #161d28;
  border-color: #5d6b7d;
}
.player-panel video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid #1d2632;
  border-radius: 1px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 4px 4px 2px;
  border-top: 1px solid #1c2531;
}
.ctrl-btn, .ctrl-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(31, 42, 57, 0.85);
  border: 1px solid #33404f;
  color: #c8d3e0;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.ctrl-btn:hover, .ctrl-select:hover {
  background: rgba(58, 24, 30, 0.85);
  border-color: #8d1f2a;
  color: #ffe2e5;
}
.ctrl-btn.is-active, .ctrl-select.is-active {
  background: #8d1f2a;
  border-color: #b8303f;
  color: #fff;
}
.ctrl-btn.play {
  background: #8d1f2a;
  border-color: #b8303f;
  color: #fff;
}
.ctrl-btn.mute.is-active {
  background: #253244;
  border-color: #4a5c72;
  color: #8fa1b6;
}
.ctrl-range {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 96px;
  min-width: 72px;
  height: 4px;
  background: #26313f;
  border: 1px solid #33404f;
  border-radius: 0;
  cursor: pointer;
  padding: 0;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 14px;
  background: #c8384a;
  border: 1px solid #7c1b24;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 9px;
  height: 14px;
  background: #c8384a;
  border: 1px solid #7c1b24;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-select {
  padding-right: 22px;
  background-image: linear-gradient(45deg, transparent 50%, #93a1b3 50%),
    linear-gradient(135deg, #93a1b3 50%, transparent 50%);
  background-position: calc(100% - 12px) center, calc(100% - 8px) center;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}
.ctrl-select.input, .ctrl-range.input {
  color: #dbe3ec;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #b9c5d3;
  padding: 4px 10px;
  border: 1px solid #2c3846;
  border-left: 2px solid #8d1f2a;
  background: rgba(18, 25, 36, 0.75);
  border-radius: 1px;
  white-space: nowrap;
}
.cast, .synopsis, .details {
  padding-top: 10px;
  border-top: 1px solid #222c3a;
}
.cast-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: #3a4759 #161d28;
}
.cast-list::-webkit-scrollbar {
  height: 6px;
}
.cast-list::-webkit-scrollbar-track {
  background: #161d28;
}
.cast-list::-webkit-scrollbar-thumb {
  background: #3a4759;
}
.cast-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 78px;
}
.cast-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid #3b4859;
  background:
    radial-gradient(circle at 50% 30%, rgba(190, 60, 74, 0.5), transparent 62%),
    linear-gradient(160deg, #2a3747 0%, #151d29 100%);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(200, 230, 255, 0.16) 0%, transparent 46%);
}
.cast-name {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #c2ccd9;
  text-align: center;
  white-space: nowrap;
}
.synopsis-para {
  font-size: 12.8px;
  line-height: 1.46;
  color: #93a1b3;
  margin-bottom: 6px;
  text-indent: 1.6em;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #222c3a;
  border: 1px solid #222c3a;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: rgba(16, 23, 34, 0.94);
  padding: 5px 9px;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #7b8899;
  white-space: nowrap;
}
.detail-val {
  font-size: 12.5px;
  color: #d4dde7;
  line-height: 1.4;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  margin-top: 26px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #222c3a;
  border: 1px solid #222c3a;
}
.timeline-node {
  position: relative;
  background: rgba(16, 23, 34, 0.94);
  padding: 9px 12px 9px 26px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 15px;
  width: 7px;
  height: 7px;
  border: 1px solid #c8384a;
  background: #10151f;
  transform: rotate(45deg);
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 24px;
  bottom: -1px;
  width: 1px;
  background: linear-gradient(180deg, #3a4759, rgba(58, 71, 89, 0.1));
}
.timeline-node:nth-last-child(-n + 1)::after {
  display: none;
}
.timeline-timecode {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #d78b93;
  font-weight: 700;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.44;
  color: #a9b6c6;
}
.episodes-section {
  margin-top: 26px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #222c3a;
  border: 1px solid #222c3a;
}
.episode-card {
  position: relative;
  background: rgba(16, 23, 34, 0.94);
  padding: 10px 12px 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  align-items: flex-start;
  transition: background 0.16s ease;
}
.episode-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #8d1f2a;
  opacity: 0.75;
}
.episode-card:hover {
  background: rgba(28, 37, 50, 0.96);
}
.episode-number {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: #c8384a;
  font-weight: 700;
}
.episode-title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #eef2f7;
  line-height: 1.3;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.45;
  color: #8e9cad;
}
.episode-duration {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #93a1b3;
  padding: 2px 7px;
  border: 1px solid #2c3846;
  border-radius: 1px;
  background: rgba(22, 31, 44, 0.8);
}
.comments-section {
  margin-top: 26px;
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  position: relative;
  background: linear-gradient(160deg, rgba(26, 35, 48, 0.96), rgba(15, 21, 31, 0.96));
  border: 1px solid #26313f;
  border-radius: 1px;
  padding: 14px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  box-shadow: 0 10px 26px -22px rgba(0, 0, 0, 0.95);
}
.comment-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 3px;
  background: #8d1f2a;
}
.comment-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, #8d1f2a, rgba(141, 31, 42, 0.08));
}
.comment-nickname {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #e0b6bb;
  font-weight: 700;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #9dabbc;
}
.recommend-region {
  margin-top: 26px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #222c3a;
  border: 1px solid #222c3a;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(16, 23, 34, 0.94);
  padding: 9px;
  color: #c3cddb;
  text-decoration: none;
  min-width: 0;
  align-items: stretch;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}
a.recommend-item:hover, a.recommend-item:focus-visible {
  background: rgba(30, 20, 26, 0.96);
  color: #f0f3f7;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px #8d1f2a;
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border: 1px solid #2b3644;
  border-radius: 1px;
  background: #0a0e14;
  filter: saturate(0.9) contrast(1.05) brightness(0.94);
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #eef2f7;
  line-height: 1.32;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.44;
  color: #8b98a9;
}
.site-footer {
  margin-top: 30px;
  border-top: 1px solid #222c3a;
  background: linear-gradient(180deg, rgba(9, 13, 20, 0.85), rgba(7, 10, 15, 0.98));
  padding: 18px 20px 26px;
}
.footer-links {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #1c2531;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #b4c0cf;
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border: 1px solid #2b3644;
  border-radius: 1px;
  background: rgba(20, 28, 39, 0.7);
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffe2e5;
  border-color: #8d1f2a;
  text-decoration: none;
}
.footer-disclaimer {
  max-width: 1240px;
  margin: 12px auto 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #6f7c8d;
  letter-spacing: 0.02em;
}
.friend-links {
  max-width: 1240px;
  margin: 14px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 12px;
  border-top: 1px solid #1c2531;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #7b8899;
  text-transform: uppercase;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: #93a1b3;
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-left: 1px solid #2b3644;
  white-space: nowrap;
  transition: color 0.14s ease, border-color 0.14s ease;
}
a.runtime-friend-link:hover {
  color: #e0b6bb;
  border-left-color: #8d1f2a;
  text-decoration: none;
}
.player {
  position: relative;
}
.player .progress, .player .timeupdate, .player .volume, .player .speed {
  transition: opacity 0.2s ease;
}
.click, .change {
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
@media (max-width: 1080px) {.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  }
.timeline-list, .comments-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    padding: 14px 14px 28px;
  }
.header-inner {
    padding: 8px 14px;
  }
.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
.hero-poster-wrap {
    max-width: 220px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list, .comments-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 4px;
  }
.ctrl-btn, .ctrl-select {
    font-size: 11px;
    padding: 5px 7px;
  }}
@media (max-width: 460px) {body {
    font-size: 14px;
  }
.movie-title {
    font-size: 22px;
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.ctrl-range {
    flex: 1 1 60px;
  }}

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}
