*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0a1020;
  --ink-2: #111a33;
  --panel: #16203c;
  --panel-2: #1c2747;
  --line: rgba(120, 160, 220, 0.16);
  --rust: #c9691f;
  --rust-bright: #e8853a;
  --glow: rgba(233, 138, 60, 0.55);
  --indigo: #22356b;
  --text: #d7deee;
  --text-dim: #8b98b5;
  --text-bright: #f2f6ff;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(201, 105, 31, 0.16), transparent 62%),
    radial-gradient(900px 700px at 12% 4%, rgba(34, 53, 107, 0.55), transparent 66%),
    var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl { list-style: none; }
button, input, select { font: inherit; color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 15, 30, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px clamp(12px, 3vw, 28px);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--rust-bright);
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(232, 133, 58, 0.35);
}
a[data-contract="site-name"]:hover { color: var(--text-bright); }
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
a.runtime-category {
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(28, 39, 71, 0.6);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--rust-bright);
  border-color: rgba(201, 105, 31, 0.55);
  background: rgba(201, 105, 31, 0.1);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(12px, 2.6vw, 26px) clamp(12px, 3vw, 28px) 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: clamp(14px, 2.4vw, 30px);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(22, 32, 60, 0.92), rgba(12, 19, 38, 0.94));
  padding: clamp(12px, 2vw, 22px);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, transparent 44%, rgba(233, 138, 60, 0.5) 44.4%, rgba(233, 138, 60, 0.12) 45%, transparent 45.6%),
              linear-gradient(64deg, transparent 61%, rgba(233, 138, 60, 0.4) 61.4%, rgba(233, 138, 60, 0.08) 62%, transparent 62.6%);
  pointer-events: none;
  opacity: 0.55;
}
.hero-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.poster-frame {
  border: 1px solid rgba(201, 105, 31, 0.4);
  border-radius: 3px;
  overflow: hidden;
  width: min(100%, 260px);
  box-shadow: 0 0 0 1px rgba(9, 15, 30, 0.8), 0 12px 30px rgba(0, 0, 0, 0.5);
  background: var(--ink-2);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-player-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #070c18;
  padding: 6px;
}
.hero-player-wrap video {
  display: block;
  background: #000;
  border-radius: 2px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.control-btn {
  background: rgba(34, 53, 107, 0.65);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  font-size: 11px;
  padding: 3px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.control-btn:hover { border-color: rgba(201, 105, 31, 0.6); color: var(--rust-bright); }
.control-btn.is-active {
  background: rgba(201, 105, 31, 0.22);
  border-color: var(--rust);
  color: var(--rust-bright);
}
.control-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex: 1 1 90px;
  min-width: 70px;
  background: linear-gradient(90deg, var(--rust) 0%, rgba(120, 160, 220, 0.25) 0%);
  border-radius: 2px;
  cursor: pointer;
  outline: none;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rust-bright);
  box-shadow: 0 0 8px var(--glow);
}
.control-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--rust-bright);
}
.control-range-volume { flex: 0 1 70px; min-width: 52px; }
.control-select {
  background: rgba(34, 53, 107, 0.65);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  font-size: 11px;
  padding: 3px 4px;
  cursor: pointer;
}
.hero-player-wrap.is-theater {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #04070f;
  border-radius: 0;
  border: none;
  padding: 0;
  justify-content: center;
  gap: 0;
}
.hero-player-wrap.is-theater video {
  width: 100%;
  max-height: 100%;
  border-radius: 0;
}
.hero-player-wrap.is-theater .player-controls {
  padding: 6px 10px;
  background: rgba(4, 7, 15, 0.95);
  justify-content: center;
}
body.lights-dim .hero-section { filter: brightness(0.62); }
body.lights-dim .site-header { filter: brightness(0.7); }
.hero-text {
  min-width: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.movie-title {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--text-bright);
  text-shadow: 0 0 22px rgba(233, 138, 60, 0.35);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--rust-bright);
  letter-spacing: 0.06em;
  border-left: 2px solid var(--rust);
  padding-left: 9px;
  line-height: 1.4;
}
.movie-seo-desc {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text-dim);
  max-width: 62ch;
}
.hero-text > section {
  border-top: 1px solid var(--line);
  padding-top: 11px;
}
.status-heading, .cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--rust-bright);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-heading::after, .cast-heading::after, .synopsis-heading::after, .details-heading::after, .timeline-heading::after, .episodes-heading::after, .comments-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 105, 31, 0.5), transparent);
}
.recommend-title { margin-bottom: 10px; }
.episode-status { }
.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
}
.status-current {
  color: var(--text-bright);
  font-weight: 700;
}
.status-current::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  background: var(--rust-bright);
  box-shadow: 0 0 10px var(--glow);
  transform: rotate(45deg);
}
.status-total {
  color: var(--text-dim);
  font-size: 12px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.cast-member {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  border-left: 2px solid rgba(201, 105, 31, 0.45);
  background: rgba(34, 53, 107, 0.22);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text);
  margin-bottom: 7px;
}
.synopsis-para:last-child { margin-bottom: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 4px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  border-bottom: 1px dashed rgba(120, 160, 220, 0.14);
  padding-bottom: 3px;
}
.detail-key {
  color: var(--text-dim);
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-value {
  color: var(--text-bright);
  font-weight: 600;
  margin-left: auto;
  text-align: right;
}
.timeline-section {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  padding: clamp(12px, 2vw, 20px);
}
.timeline-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-thumb { background: rgba(201, 105, 31, 0.45); border-radius: 3px; }
.timeline-track::-webkit-scrollbar-track { background: rgba(120, 160, 220, 0.1); }
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  scroll-snap-align: start;
  padding: 14px 11px 12px;
  background: linear-gradient(160deg, rgba(34, 53, 107, 0.5), rgba(12, 19, 38, 0.5));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.timeline-node:hover { transform: translateY(-2px); border-color: rgba(201, 105, 31, 0.5); }
.timeline-node::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 11px;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--rust), transparent);
}
.node-timecode {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--rust-bright);
}
.node-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-dim);
}
.timeline-node-current {
  background: linear-gradient(160deg, rgba(201, 105, 31, 0.28), rgba(20, 28, 54, 0.85));
  border-color: var(--rust-bright);
  box-shadow: 0 0 0 1px rgba(232, 133, 58, 0.35), 0 0 22px rgba(201, 105, 31, 0.25);
}
.timeline-node-current .node-label { color: var(--text-bright); }
.timeline-node-current::before { background: linear-gradient(90deg, var(--rust-bright), transparent); box-shadow: 0 0 8px var(--glow); }
.episodes-section {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  padding: clamp(12px, 2vw, 20px);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  background: rgba(12, 19, 38, 0.72);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(120, 160, 220, 0.28);
  border-radius: 2px;
  transition: border-color 0.18s, background 0.18s;
}
.episode-card:hover { border-left-color: var(--rust); background: rgba(28, 39, 71, 0.9); }
.episode-number {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--rust-bright);
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.3;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-dim);
}
.episode-duration {
  font-size: 10.5px;
  color: var(--rust-bright);
  letter-spacing: 0.08em;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease, margin 0.25s ease;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
  max-height: 20px;
  opacity: 1;
  margin-top: 2px;
}
.episode-card-current {
  background: linear-gradient(150deg, rgba(201, 105, 31, 0.2), rgba(20, 28, 54, 0.9));
  border-color: rgba(232, 133, 58, 0.65);
  border-left-color: var(--rust-bright);
  box-shadow: 0 0 18px rgba(201, 105, 31, 0.16);
}
.episode-card-current .episode-number { color: var(--rust-bright); }
.episode-card-current .episode-duration { max-height: 20px; opacity: 1; margin-top: 2px; }
.comments-section {
  border: 1px solid rgba(120, 160, 220, 0.22);
  border-radius: 4px;
  padding: clamp(12px, 2vw, 20px);
  background: linear-gradient(180deg, #e7ecf6, #cdd6e8);
  color: #16203c;
}
.comments-section .comments-heading { color: #a04f12; }
.comments-section .comments-heading::after { background: linear-gradient(90deg, rgba(160, 79, 18, 0.5), transparent); }
.comment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 32, 60, 0.1);
  border-radius: 3px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 7px;
}
.comment-avatar {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(233, 138, 60, 0.9) 0 3px, transparent 3px),
    linear-gradient(140deg, #22356b, #0a1020);
  border: 1px solid rgba(201, 105, 31, 0.55);
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 800;
  color: #16203c;
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: #33405c;
  padding-left: 27px;
}
.recommend-region {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  padding: clamp(12px, 2vw, 18px);
}
.recommend-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  align-items: start;
}
a[data-runtime="recommendation"] {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(12, 19, 38, 0.72);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
a[data-runtime="recommendation"]:hover {
  border-color: rgba(201, 105, 31, 0.6);
  background: rgba(28, 39, 71, 0.92);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: var(--ink-2);
  filter: saturate(0.9);
}
[data-runtime="recommendation"]:hover img { filter: saturate(1.1); }
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.35;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
[data-runtime="recommendation"] [data-runtime="name"]::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rust-bright);
  box-shadow: 0 0 8px var(--glow);
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(9, 15, 30, 0.9);
  padding: 18px clamp(12px, 3vw, 28px) 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 72ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}
a[data-contract="footer-home"] { color: var(--rust-bright); }
a[data-contract="footer-home"]:hover { color: var(--text-bright); text-decoration: underline; }
a[data-contract="footer-sitemap"] { color: #7f9bd6; }
a[data-contract="footer-sitemap"]:hover { color: var(--text-bright); text-decoration: underline; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  width: 100%;
  max-width: 900px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #93a6cc;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover { color: var(--rust-bright); text-decoration: underline; }
@media (max-width: 1000px) {.hero-section { grid-template-columns: minmax(0, 1fr); }
.poster-frame { width: min(100%, 220px); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 720px) {.page-main { gap: 18px; }
.hero-section { gap: 14px; padding: 12px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-list { grid-template-columns: minmax(0, 1fr); }
.recommend-track { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.timeline-node { width: 150px; }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.comment-text { padding-left: 0; }
.movie-title { font-size: clamp(22px, 6vw, 30px); }}
@media (max-width: 460px) {.header-inner { gap: 8px; padding: 7px 12px; }
a[data-contract="site-name"] { font-size: 14px; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.recommend-track { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.player-controls { gap: 4px; }
.control-btn { padding: 3px 6px; font-size: 10.5px; }
.control-range { flex: 1 1 70px; }}
@media (min-width: 1300px) {.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}

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}
