:root {
  --bg-deep: #070a12;
  --bg-panel: #0d1220;
  --bg-elev: #131a2b;
  --bg-tint: rgba(255, 138, 61, 0.06);
  --line: rgba(140, 165, 210, 0.16);
  --line-strong: rgba(160, 190, 235, 0.28);
  --text: #e8eef8;
  --text-dim: #9aa8c0;
  --text-faint: #6b7893;
  --orange: #ff8a3d;
  --orange-soft: #ffb27a;
  --blue: #3d7bd6;
  --blue-soft: #6fa4ef;
  --radius: 8px;
  --gap: 10px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html, body, h1, h2, h3, p, dl, dd, dt, ul, li {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(255, 138, 61, 0.13), transparent 62%),
    radial-gradient(900px 560px at 4% 4%, rgba(61, 123, 214, 0.16), transparent 60%),
    linear-gradient(180deg, #070a12 0%, #080c16 48%, #060911 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--text);
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 9px 18px;
  background: linear-gradient(180deg, rgba(8, 11, 19, 0.96), rgba(8, 11, 19, 0.78));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(9px);
}
.header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}
a[data-contract="site-name"] {
  color: var(--orange);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 0 18px rgba(255, 138, 61, 0.35);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--orange-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.header-categories {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  font-size: 12.5px;
  color: var(--text-dim);
  background: rgba(120, 155, 215, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.runtime-category:hover {
  color: #fff;
  background: rgba(255, 138, 61, 0.16);
  border-color: rgba(255, 138, 61, 0.5);
  text-decoration: none;
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 18px 34px;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(720px 420px at 88% 0%, rgba(255, 138, 61, 0.14), transparent 66%),
    radial-gradient(680px 460px at 6% 100%, rgba(61, 123, 214, 0.18), transparent 66%),
    linear-gradient(180deg, #0e1424 0%, #0a0f1c 100%);
  box-shadow: 0 22px 60px -32px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 138, 61, 0.07) 58%, transparent 74%);
}
.hero-media {
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 42px -20px rgba(0, 0, 0, 0.95);
}
.poster-image {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.06);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(7, 10, 18, 0) 44%, rgba(7, 10, 18, 0.72) 100%);
  pointer-events: none;
}
.hero-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-size: 26px;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.7);
}
.movie-tagline {
  font-size: 13.5px;
  color: var(--orange-soft);
  letter-spacing: 0.14em;
  padding-left: 10px;
  border-left: 3px solid var(--orange);
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: #04060c;
  overflow: hidden;
  box-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.95);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.player-shell.is-theater {
  border-color: rgba(255, 138, 61, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.35), 0 26px 60px -26px rgba(255, 138, 61, 0.4);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off .player-video {
  filter: brightness(1.12) contrast(1.06);
}
.player-video {
  display: block;
  width: 100%;
  max-width: none;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 9px;
  background: linear-gradient(180deg, rgba(14, 20, 34, 0.96), rgba(8, 12, 21, 0.96));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 4px 9px;
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(120, 155, 215, 0.09);
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.ctrl-btn:hover {
  color: #fff;
  background: rgba(255, 138, 61, 0.18);
  border-color: rgba(255, 138, 61, 0.5);
}
.ctrl-btn.is-active {
  color: #0a0e18;
  background: var(--orange);
  border-color: var(--orange);
  font-weight: 600;
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(140, 165, 210, 0.22);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 76px;
  min-width: 54px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(140, 165, 210, 0.22);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid #0a0e18;
  box-shadow: 0 0 10px rgba(255, 138, 61, 0.7);
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #0a0e18;
  border-radius: 50%;
  background: var(--orange);
}
.cast-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.cast-heading, .synopsis-heading, .details-heading {
  font-size: 13px;
  color: var(--orange-soft);
  letter-spacing: 0.16em;
  text-transform: none;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  padding: 5px 8px;
  background: rgba(120, 155, 215, 0.06);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.cast-card:hover {
  background: rgba(255, 138, 61, 0.1);
  border-color: rgba(255, 138, 61, 0.45);
  transform: translateY(-1px);
}
.cast-avatar {
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 178, 122, 0.9), transparent 58%),
    linear-gradient(150deg, #2b4a7d, #16233a 72%);
  border: 1px solid rgba(255, 138, 61, 0.4);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.55);
}
.cast-name {
  grid-column: 2;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cast-relation {
  grid-column: 2;
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.cast-card:hover .cast-relation {
  color: var(--orange-soft);
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.synopsis-text {
  font-size: 13px;
  line-height: 1.68;
  color: var(--text-dim);
}
.synopsis-text + .synopsis-text {
  padding-top: 2px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.status-chip {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--orange-soft);
  background: rgba(255, 138, 61, 0.1);
  border: 1px solid rgba(255, 138, 61, 0.32);
  border-radius: 999px;
  white-space: nowrap;
}
.details-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 4px 14px;
  align-items: start;
}
.details-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(140, 165, 210, 0.14);
}
.details-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.details-value {
  flex: 0 1 auto;
  font-size: 12.5px;
  color: var(--text);
  text-align: right;
  font-weight: 500;
}
.timeline-section {
  margin-bottom: 26px;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(19, 26, 43, 0.72), rgba(11, 16, 28, 0.72));
}
.timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--orange);
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  background:
    linear-gradient(90deg, rgba(255, 138, 61, 0.5), rgba(61, 123, 214, 0.5)) 0 100% / 100% 1px no-repeat;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: rgba(255, 138, 61, 0.4);
  border-radius: 999px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 180px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px 12px;
  background: rgba(120, 155, 215, 0.06);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(255, 138, 61, 0.6);
  border-radius: 7px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.timeline-node:hover {
  background: rgba(255, 138, 61, 0.1);
  border-color: rgba(255, 138, 61, 0.45);
}
.timeline-timecode {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-dim);
}
.episodes-section {
  margin-bottom: 26px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px 11px;
  background: linear-gradient(180deg, rgba(19, 26, 43, 0.9), rgba(11, 16, 28, 0.9));
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.episode-card:hover {
  border-color: rgba(255, 138, 61, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -20px rgba(255, 138, 61, 0.6);
}
.episode-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
}
.episode-title {
  font-size: 14px;
  color: #fff;
  line-height: 1.35;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-card:hover .episode-summary {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.episode-duration {
  margin-top: auto;
  padding-top: 5px;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  border-top: 1px solid rgba(140, 165, 210, 0.12);
}
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 26px;
}
.comments-section, .recommend-panel {
  min-width: 0;
  padding: 14px 15px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(19, 26, 43, 0.7), rgba(10, 15, 26, 0.7));
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: rgba(120, 155, 215, 0.055);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(61, 123, 214, 0.55);
  border-radius: 6px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.comment-card:hover {
  background: rgba(61, 123, 214, 0.11);
  border-left-color: var(--orange);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-soft);
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
}
.recommend-panel {
  margin-bottom: 18px;
}
.split-layout .recommend-panel {
  margin-bottom: 0;
}
.recommend-heading {
  font-size: 15px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 9px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 7px;
  background: rgba(120, 155, 215, 0.055);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
a.recommend-card:hover {
  border-color: rgba(255, 138, 61, 0.5);
  background: rgba(255, 138, 61, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 5px;
  background: #0a0f1c;
  filter: saturate(1.05);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 6px;
  padding: 16px 18px 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 11, 19, 0.5), rgba(5, 8, 14, 0.9));
  text-align: center;
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.05em;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  max-width: 760px;
  margin: 0 auto 12px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--text-faint);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(140, 165, 210, 0.14);
}
.friend-links-label {
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.12em;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--blue-soft);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1020px) {.split-layout {
    grid-template-columns: minmax(0, 1fr);
  }
.hero {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 16px;
  }
.hero-media {
    max-width: 240px;
  }}
@media (max-width: 760px) {.page-main {
    padding: 12px 12px 26px;
  }
.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 13px;
    margin-bottom: 18px;
  }
.hero-media {
    max-width: 200px;
    margin: 0 auto;
  }
.movie-title {
    font-size: 21px;
  }
.movie-tagline {
    font-size: 12.5px;
    letter-spacing: 0.08em;
  }
.player-controls {
    gap: 5px;
    padding: 7px;
  }
.ctrl-btn {
    padding: 4px 8px;
    font-size: 11.5px;
  }
.ctrl-progress, .ctrl-volume {
    flex: 1 1 100%;
  }
.ctrl-volume {
    flex-basis: 60%;
  }
.timeline-section, .comments-section, .recommend-panel {
    padding: 12px;
  }
.timeline-section, .episodes-section, .split-layout {
    margin-bottom: 18px;
  }
.timeline-node {
    width: 158px;
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 8px;
  }
.episode-summary {
    -webkit-line-clamp: 2;
  }
.site-header {
    padding: 8px 12px;
    gap: 8px;
  }}
@media (max-width: 460px) {.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, 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}
