*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:root {
  --midnight: #080b14;
  --midnight-2: #0d1220;
  --midnight-3: #131a2c;
  --line: rgba(150, 172, 214, 0.16);
  --line-strong: rgba(150, 172, 214, 0.3);
  --warm: #f0b968;
  --warm-2: #ffd79a;
  --warm-dim: rgba(240, 185, 104, 0.42);
  --gold: #b8935a;
  --ink: #e7ecf7;
  --ink-2: #a7b0c6;
  --ink-3: #6f7896;
  --track: clamp(1.05rem, 2.4vw, 2.4rem);
  --gap: clamp(0.5rem, 1.3vw, 0.95rem);
  --radius: 10px;
  --narrow: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--midnight);
  color: var(--ink);
  font-family: var(--narrow);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
body.lights-off { background: #04060c; }
body.lights-off .page-main { opacity: 0.42; transition: opacity 0.3s ease; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(8, 11, 20, 0.96), rgba(8, 11, 20, 0.82));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-shell {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.6rem);
  padding: 0.5rem var(--track);
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--warm-2);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(240, 185, 104, 0.28);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: #fff3dd; }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
}
a.runtime-category:hover {
  color: var(--warm-2);
  border-color: var(--warm-dim);
  background: rgba(240, 185, 104, 0.07);
}
.page-main {
  display: block;
  padding: 0 var(--track) clamp(1rem, 3vw, 2rem);
}
.block-heading {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--warm);
  text-transform: none;
  padding-bottom: 0.35rem;
  margin-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.block-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 2.6rem;
  height: 2px;
  background: linear-gradient(90deg, var(--warm), transparent);
}
.hero-screen {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(0.7rem, 2.2vw, 1.6rem);
  align-items: start;
  margin-top: 0.6rem;
  margin-bottom: clamp(1rem, 3vw, 1.8rem);
  padding: clamp(0.9rem, 2.4vw, 1.9rem) 0 clamp(0.8rem, 2vw, 1.4rem);
}
.hero-backdrop {
  position: absolute;
  inset: -0.6rem calc(var(--track) * -1) 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(37, 52, 92, 0.55), transparent 62%),
    linear-gradient(180deg, #0a0e1a 0%, #070a12 100%);
  border-bottom: 1px solid var(--line);
}
.hero-silhouette {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(80%, 780px);
  height: 74%;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 34% 100%, rgba(4, 6, 12, 0.98) 68%, transparent 100%) left bottom / 50% 100% no-repeat,
    radial-gradient(closest-side at 66% 100%, rgba(4, 6, 12, 0.98) 68%, transparent 100%) right bottom / 50% 100% no-repeat;
  filter: blur(0.4px);
  opacity: 0.95;
}
.hero-warmglow {
  position: absolute;
  right: 14%;
  top: 12%;
  width: min(52%, 460px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 197, 116, 0.5), rgba(240, 160, 70, 0.16) 52%, transparent 74%);
  filter: blur(6px);
  mix-blend-mode: screen;
}
.hero-warmglow::after {
  content: "";
  position: absolute;
  left: -70%;
  bottom: -18%;
  width: 46%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 190, 110, 0.34), transparent 70%);
  filter: blur(10px);
}
.hero-poster-column, .hero-info-column { position: relative; z-index: 1; }
.hero-poster-column { align-self: start; }
.poster-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(240, 185, 104, 0.08) inset;
  background: var(--midnight-3);
}
.poster-frame img { width: 100%; height: auto; object-fit: cover; }
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(240, 185, 104, 0.12), transparent 46%);
  pointer-events: none;
}
.hero-info-column {
  display: flex;
  flex-direction: column;
  gap: clamp(0.45rem, 1.4vw, 0.85rem);
  min-width: 0;
}
.movie-title {
  font-size: clamp(1.5rem, 4.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #f6f8ff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.7);
}
.movie-tagline {
  font-size: clamp(0.86rem, 1.9vw, 1.02rem);
  letter-spacing: 0.05em;
  color: var(--warm-2);
  max-width: 42ch;
}
.movie-seo {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 62ch;
}
.player-shell {
  position: relative;
  width: 100%;
  margin-top: 0.2rem;
  background: #000;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px -24px rgba(0, 0, 0, 0.95);
}
.player-shell video { display: block; width: 100%; height: auto; background: #000; }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  padding: 0.45rem 0.55rem;
  background: linear-gradient(180deg, rgba(13, 18, 32, 0.96), rgba(8, 11, 20, 0.98));
  border-top: 1px solid var(--line);
}
.player-btn {
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: rgba(240, 185, 104, 0.06);
  color: var(--ink-2);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-btn:hover { color: var(--warm-2); border-color: var(--warm-dim); }
.player-btn.is-playing, .player-btn.is-active, .player-btn.is-muted {
  color: #1a1206;
  background: var(--warm);
  border-color: var(--warm);
}
.player-progress {
  flex: 1 1 8rem;
  min-width: 5rem;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--warm) 0%, var(--warm) 0%, rgba(150, 172, 214, 0.22) 0%);
  border-radius: 999px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--warm-2);
  box-shadow: 0 0 8px rgba(240, 185, 104, 0.7);
}
.player-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--warm-2);
}
.player-volume {
  flex: 0 1 6rem;
  min-width: 3.4rem;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(150, 172, 214, 0.22);
  border-radius: 999px;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-2);
}
.player-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--ink-2);
}
.overview-meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(0.6rem, 1.6vw, 1.1rem);
  align-items: start;
  margin-top: 0.35rem;
  padding: clamp(0.65rem, 1.8vw, 1.1rem);
  background: linear-gradient(180deg, rgba(19, 26, 44, 0.86), rgba(11, 15, 26, 0.86));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cast-strip { grid-column: 1; min-width: 0; }
.synopsis-block { grid-column: 2; grid-row: 1 / span 2; min-width: 0; }
.episode-status { grid-column: 1; min-width: 0; }
.details-block { grid-column: 1 / -1; min-width: 0; }
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 3.6rem;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 215, 154, 0.5), transparent 46%),
    linear-gradient(160deg, #2b3450, #131a2c 62%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 3px rgba(240, 185, 104, 0.05);
}
.cast-name {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  text-align: center;
  white-space: nowrap;
}
.synopsis-para {
  font-size: 0.82rem;
  line-height: 1.72;
  color: var(--ink-2);
  text-indent: 0;
}
.synopsis-para + .synopsis-para { margin-top: 0.4rem; }
.status-list, .details-list { display: block; }
.status-row, .detail-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.24rem 0;
  border-bottom: 1px solid var(--line);
}
.status-row:last-child, .detail-row:last-child { border-bottom: 0; }
.status-key, .detail-key {
  flex: 0 0 auto;
  min-width: 4.4em;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.status-value, .detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
  color: var(--ink);
}
.status-value { color: var(--warm-2); font-weight: 600; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0 1.1rem;
  align-content: start;
}
.detail-row { border-bottom: 1px solid var(--line); }
.timeline-section {
  margin-bottom: clamp(1rem, 3vw, 1.7rem);
}
.timeline-track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  padding: 0.15rem 0 0.7rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--warm-dim) transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: rgba(150, 172, 214, 0.08); border-radius: 999px; }
.timeline-track::-webkit-scrollbar-thumb { background: var(--warm-dim); border-radius: 999px; }
.timeline-card {
  flex: 0 0 auto;
  width: clamp(11rem, 22vw, 15rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.7rem 0.75rem 0.8rem;
  background: linear-gradient(180deg, rgba(19, 26, 44, 0.9), rgba(9, 13, 23, 0.9));
  border: 1px solid var(--line);
  border-left: 2px solid var(--warm-dim);
  border-radius: 6px;
  transition: border-color 0.18s, transform 0.18s;
}
.timeline-card:hover {
  border-color: var(--line-strong);
  border-left-color: var(--warm);
  transform: translateY(-2px);
}
.timeline-timecode {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--warm);
}
.timeline-label {
  font-size: 0.8rem;
  line-height: 1.62;
  color: var(--ink-2);
}
.episodes-section { margin-bottom: clamp(1rem, 3vw, 1.7rem); }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 0.6rem 0.7rem 0.65rem;
  background: rgba(18, 24, 40, 0.62);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: background 0.18s, border-color 0.18s;
}
.episode-card:hover {
  background: rgba(24, 32, 54, 0.9);
  border-color: var(--line-strong);
}
.episode-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.episode-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.episode-summary {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--ink-3);
}
.episode-duration {
  margin-top: 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.episode-duration::before {
  content: "◷ ";
  color: var(--warm-dim);
}
.comments-section { margin-bottom: clamp(1rem, 3vw, 1.7rem); }
.comment-columns {
  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);
  min-width: 0;
}
.comment-column:last-child { margin-top: 1.35rem; }
.comment-bubble {
  position: relative;
  padding: 0.6rem 0.75rem 0.65rem;
  background: linear-gradient(180deg, rgba(28, 36, 58, 0.9), rgba(15, 20, 34, 0.9));
  border: 1px solid var(--line);
  border-radius: 12px 12px 12px 3px;
  box-shadow: 0 10px 26px -20px rgba(0, 0, 0, 0.95);
}
.comment-bubble::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: -1px;
  width: 1.9rem;
  height: 2px;
  background: linear-gradient(90deg, var(--warm), transparent);
  border-radius: 2px;
}
.comment-text {
  font-size: 0.8rem;
  line-height: 1.68;
  color: var(--ink);
}
.comment-nickname {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--warm-2);
}
.comment-nickname::before { content: "— "; color: var(--ink-3); }
.recommend-region {
  margin-bottom: clamp(0.8rem, 2.4vw, 1.4rem);
}
.recommend-list {
  display: flex;
  flex-direction: column;
}
.recommend-item {
  border-bottom: 1px solid var(--line);
}
.recommend-item:last-child { border-bottom: 0; }
a[data-runtime="recommendation"] {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.6rem;
  row-gap: 0.05rem;
  align-items: start;
  padding: 0.45rem 0.35rem;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.16s, color 0.16s;
}
a[data-runtime="recommendation"] img {
  grid-row: 1 / span 2;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
  filter: saturate(0.86) brightness(0.92);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.7rem;
  line-height: 1.55;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a[data-runtime="recommendation"]:hover {
  background: rgba(240, 185, 104, 0.07);
  color: var(--warm-2);
}
a[data-runtime="recommendation"]:hover [data-runtime="name"] { color: var(--warm-2); }
.site-footer {
  padding: clamp(0.9rem, 2.4vw, 1.5rem) var(--track) clamp(1.2rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 12, 21, 0.4), rgba(6, 8, 14, 0.95));
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--warm-2);
  border-bottom-color: var(--warm-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.7rem;
}
.friend-links-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 0.72rem;
  color: var(--ink-3);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(150, 172, 214, 0.24);
}
a.runtime-friend-link:hover {
  color: var(--warm);
  border-bottom-color: var(--warm-dim);
}
.footer-disclaimer {
  font-size: 0.68rem;
  line-height: 1.7;
  color: #4d5köp;
  color: #4f5871;
  max-width: 82ch;
}
.player-shell.fullscreen, .player-shell.theater { border-radius: 0; }
body.theater-mode .player-shell { width: 100%; }
.player-shell.theater .player-controls { background: rgba(4, 6, 12, 0.96); }
.player-btn.click, .player-btn.play, .player-btn.pause, .player-btn.mute, .player-btn.volume, .player-btn.speed, .player-btn.progress, .player-btn.pip, .player-btn.fullscreen, .player-btn.theater, .player-btn.light, .player-btn.input, .player-btn.timeupdate, .player-btn.player { transition: color 0.15s, background 0.15s, border-color 0.15s; }
@media (max-width: 1080px) {.hero-screen { grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr); }
.overview-meta-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
.synopsis-block { grid-column: 1 / -1; grid-row: auto; }
.episode-status { grid-column: 1 / -1; }
.details-block { grid-column: 1 / -1; }
.cast-strip { grid-column: 1 / -1; }}
@media (max-width: 820px) {.hero-screen {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }
.hero-poster-column { width: min(62%, 20rem); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 640px) {body { font-size: 14.5px; }
.header-shell { gap: 0.4rem 0.7rem; }
.hero-poster-column { width: min(72%, 17rem); }
.overview-meta-grid { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-columns { grid-template-columns: minmax(0, 1fr); }
.comment-column:last-child { margin-top: 0; }
.timeline-card { width: 78vw; }
.player-progress { flex-basis: 100%; order: 3; }
.player-volume { flex: 1 1 4rem; }
.details-list { grid-template-columns: minmax(0, 1fr); }
a[data-runtime="recommendation"] { grid-template-columns: 2.8rem minmax(0, 1fr); }}
@media (max-width: 420px) {.hero-poster-column { width: 100%; }
.cast-item { width: 3.1rem; }
.player-btn { font-size: 0.7rem; padding: 0.2rem 0.45rem; }}

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}
