:root {
  --bg: #0e1319;
  --bg-2: #131a22;
  --bg-3: #18212b;
  --panel: #161e28;
  --panel-2: #1b2531;
  --line: #24303d;
  --line-soft: #1e2833;
  --text: #d7dee6;
  --text-dim: #93a1b0;
  --text-faint: #6b7887;
  --amber: #f0a04b;
  --amber-soft: #e08a3c;
  --amber-glow: rgba(240, 160, 75, 0.16);
  --amber-glow-2: rgba(240, 160, 75, 0.28);
  --ghost: rgba(190, 214, 232, 0.62);
  --radius: 10px;
  --radius-sm: 7px;
  --radius-lg: 14px;
  --tight: 8px;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(120% 60% at 82% 4%, rgba(240, 160, 75, 0.10), transparent 60%),
    radial-gradient(90% 50% at 8% 96%, rgba(240, 160, 75, 0.05), transparent 62%),
    linear-gradient(180deg, #0d1218 0%, var(--bg) 42%, #0c1116 100%);
  background-color: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
}
ul, ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(12, 17, 23, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber);
  text-decoration: none;
  padding: 2px 2px;
  border-radius: var(--radius-sm);
  transition: color 0.18s ease, text-shadow 0.18s ease;
}
a[data-contract="site-name"]:hover {
  color: #ffbc6d;
  text-shadow: 0 0 14px var(--amber-glow-2);
}
.category-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.015);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-category:hover {
  color: var(--amber);
  border-color: rgba(240, 160, 75, 0.45);
  background: var(--amber-glow);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e6ecf3;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::before {
  content: "";
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--amber), rgba(240, 160, 75, 0.15));
  box-shadow: 0 0 10px var(--amber-glow-2);
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 2fr);
  gap: 22px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 70% at 84% 12%, rgba(240, 160, 75, 0.09), transparent 66%),
    linear-gradient(180deg, var(--panel) 0%, #131b24 100%);
  position: relative;
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(240, 160, 75, 0.05) 50%, transparent 58%);
}
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
}
.poster-frame {
  position: relative;
  width: 100%;
  max-width: 250px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(240, 160, 75, 0.08);
}
.poster-image {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #0b1015;
}
.hero-figures {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(240, 160, 75, 0.07), rgba(160, 200, 230, 0.05));
}
.figure-luyao, .figure-shenzhihe {
  display: flex;
  align-items: center;
  min-width: 0;
}
.figure-luyao {
  justify-content: flex-start;
  align-self: end;
}
.figure-shenzhihe {
  justify-content: flex-end;
  align-self: start;
}
.figure-name {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.figure-luyao .figure-name {
  color: #f4d3ad;
  background: rgba(240, 160, 75, 0.14);
  border: 1px solid rgba(240, 160, 75, 0.35);
  box-shadow: 0 0 16px rgba(240, 160, 75, 0.14);
}
.figure-shenzhihe .figure-name {
  color: var(--ghost);
  background: rgba(170, 205, 232, 0.07);
  border: 1px dashed rgba(170, 205, 232, 0.34);
  opacity: 0.9;
}
.figure-divider {
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, transparent, rgba(240, 160, 75, 0.5), transparent);
}
.hero-contract-line {
  position: absolute;
  left: 6%;
  top: 46%;
  width: 88%;
  height: 1px;
  transform: rotate(-13deg);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(240, 160, 75, 0.75), rgba(240, 160, 75, 0.28) 46%, rgba(170, 205, 232, 0.34));
  box-shadow: 0 0 12px var(--amber-glow-2);
  pointer-events: none;
}
.hero-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-size: 24px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f3f7fb;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.movie-tagline {
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.03em;
  padding-left: 10px;
  border-left: 2px solid rgba(240, 160, 75, 0.5);
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text-dim);
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #080c10;
  padding: 8px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.main-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: #05080b;
  display: block;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.player-btn {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  color: var(--text-dim);
  font-size: 12px;
  padding: 5px 10px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-btn:hover {
  color: var(--amber);
  border-color: rgba(240, 160, 75, 0.42);
  background: var(--amber-glow);
}
.player-btn.is-active {
  color: #0e1319;
  background: var(--amber);
  border-color: var(--amber);
  font-weight: 600;
}
.player-range {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(240, 160, 75, 0.55), rgba(240, 160, 75, 0.12));
  outline: none;
  cursor: pointer;
}
.player-range-volume {
  flex: 0 1 84px;
  min-width: 64px;
  background: linear-gradient(90deg, rgba(170, 205, 232, 0.4), rgba(170, 205, 232, 0.1));
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid #0e1319;
  box-shadow: 0 0 8px var(--amber-glow-2);
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid #0e1319;
}
.player-range-volume::-webkit-slider-thumb {
  background: #aacde8;
}
.player-shell.is-theater {
  border-color: rgba(240, 160, 75, 0.5);
  background: #05080b;
}
.player-shell.is-light {
  background: #04070a;
  border-color: rgba(240, 160, 75, 0.28);
}
.player-shell.is-light .main-player {
  filter: brightness(1.12) contrast(1.04);
}
.player-shell.is-playing {
  border-color: rgba(240, 160, 75, 0.34);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-self: start;
}
.status-chip {
  font-size: 12px;
  color: #e9d6bd;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(240, 160, 75, 0.3);
  background: rgba(240, 160, 75, 0.08);
  white-space: nowrap;
}
.cast-strip {
  min-width: 0;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  align-items: start;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.018);
  min-width: 0;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.cast-card:hover {
  border-color: rgba(240, 160, 75, 0.34);
  background: var(--amber-glow);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(240, 160, 75, 0.5), transparent 62%),
    linear-gradient(150deg, #26313d, #1a232d);
  border: 1px solid var(--line);
}
.cast-name {
  font-size: 12.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  min-width: 0;
}
.synopsis-text {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--text-dim);
  margin-bottom: 5px;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.details-block {
  min-width: 0;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.015);
  min-width: 0;
}
.detail-item dt {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.detail-item dd {
  margin: 0;
  font-size: 12.5px;
  color: var(--text);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-panel {
  min-width: 0;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 160, 75, 0.4) transparent;
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: rgba(240, 160, 75, 0.35);
  border-radius: 999px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 2px 6px;
  min-width: max-content;
}
.timeline-node {
  flex: 0 0 auto;
  width: 178px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  position: relative;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.timeline-node:nth-child(even) {
  transform: translateY(14px);
}
.timeline-node:hover {
  border-color: rgba(240, 160, 75, 0.42);
}
.timeline-timecode {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber);
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(240, 160, 75, 0.1);
  align-self: flex-start;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim);
}
.episodes-panel {
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.006));
  min-width: 0;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.episode-card:hover {
  border-color: rgba(240, 160, 75, 0.38);
  background: var(--amber-glow);
}
.episode-number {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber);
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #eaf0f6;
  line-height: 1.35;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}
.episode-duration {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-faint);
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}
.comments-panel {
  min-width: 0;
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 12px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(240, 160, 75, 0.4);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
  min-width: 0;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region {
  min-width: 0;
}
.recommend-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-chip {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
a.recommend-chip:hover {
  border-color: rgba(240, 160, 75, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.42);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #0a0e13;
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #e9eff5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.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: 30px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(240, 160, 75, 0.03), transparent 40%), #0b1015;
}
.footer-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  border-color: rgba(240, 160, 75, 0.42);
  background: var(--amber-glow);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #8ea0b2;
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  border-color: rgba(240, 160, 75, 0.35);
  background: rgba(240, 160, 75, 0.07);
}
@media (max-width: 900px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }
.hero-visual {
    max-width: 420px;
  }
.poster-frame {
    max-width: 210px;
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 680px) {.page-main {
    padding: 14px 12px 6px;
    gap: 20px;
  }
.header-shell {
    padding: 8px 12px;
  }
.movie-title {
    font-size: 20px;
  }
.hero-panel {
    padding: 13px;
  }
.poster-frame {
    max-width: 168px;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    width: 156px;
  }
.timeline-node:nth-child(even) {
    transform: translateY(8px);
  }
.footer-shell {
    padding: 16px 12px 22px;
  }}
@media (max-width: 420px) {.details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-chips {
    grid-template-columns: minmax(0, 1fr);
  }
.player-btn {
    padding: 5px 8px;
    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}
