*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, figure, ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink: #070b14;
  --ink-2: #0c1322;
  --panel: #101a2c;
  --panel-2: #14203a;
  --line: rgba(120, 160, 220, 0.16);
  --line-strong: rgba(140, 180, 240, 0.28);
  --text: #e8eefb;
  --text-dim: #9fb0cd;
  --text-mute: #6f819f;
  --neon: #ff5a2b;
  --neon-2: #ff8a3d;
  --neon-soft: rgba(255, 90, 43, 0.14);
  --rain: #2f6bd8;
  --rain-soft: rgba(47, 107, 216, 0.22);
  --warm: #ffc46b;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --gap: 14px;
  --gap-s: 10px;
  --gap-l: 26px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --track: -0.02em;
}
body {
  min-height: 100vh;
  font-family: var(--font);
  letter-spacing: var(--track);
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 90% at 78% -10%, rgba(47, 107, 216, 0.26), transparent 58%),
    radial-gradient(90% 70% at 6% 4%, rgba(255, 196, 107, 0.14), transparent 52%),
    radial-gradient(140% 120% at 50% 120%, rgba(7, 11, 20, 0.9), rgba(7, 11, 20, 1));
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(9, 14, 26, 0.96), rgba(9, 14, 26, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 18px;
}
.brand {
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
  padding: 4px 2px;
  position: relative;
  white-space: nowrap;
}
.brand::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--neon), var(--neon-2) 60%, transparent);
}
a[data-contract="site-name"] {
  color: var(--text);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--warm);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 11px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 32, 58, 0.55);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #fff;
  border-color: var(--neon);
  background: var(--neon-soft);
}
.movie-page {
  display: flex;
  flex-direction: column;
  gap: var(--gap-l);
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 18px 34px;
}
.block-heading {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
  padding-left: 11px;
  position: relative;
  margin-bottom: var(--gap);
}
.block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--neon), var(--neon-2));
}
.overview-panel {
  position: relative;
  background:
    linear-gradient(160deg, rgba(20, 32, 58, 0.9), rgba(12, 19, 34, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: var(--gap-l);
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 172px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.poster-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  align-self: start;
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 90, 43, 0.08);
}
.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding-top: 2px;
}
.movie-title {
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 0 26px rgba(255, 90, 43, 0.28);
}
.movie-tagline {
  font-size: 0.9rem;
  color: var(--warm);
  opacity: 0.92;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.meta-chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(9, 14, 26, 0.6);
  white-space: nowrap;
}
.player-shell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #04070d;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #04070d;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(10, 16, 30, 0.95), rgba(6, 10, 20, 0.98));
  border-top: 1px solid var(--line);
}
.ctrl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(20, 32, 58, 0.7);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 9px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.ctrl:hover, .ctrl:focus-visible {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(30, 46, 78, 0.85);
}
.ctrl-play {
  color: #fff;
  border-color: rgba(255, 90, 43, 0.5);
  background: linear-gradient(180deg, rgba(255, 90, 43, 0.9), rgba(214, 62, 22, 0.9));
}
.ctrl-play:hover, .ctrl-play:focus-visible {
  background: linear-gradient(180deg, var(--neon-2), var(--neon));
  border-color: var(--neon-2);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 0;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--neon) 0%, var(--rain) 100%);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--neon);
  box-shadow: 0 0 10px rgba(255, 90, 43, 0.8);
}
.ctrl-progress::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 2px solid var(--neon);
  border-radius: 50%;
  background: #fff;
}
.ctrl-volume {
  flex: 0 1 84px;
  height: 5px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(120, 160, 220, 0.3);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rain);
  border: 2px solid #cfe0ff;
}
.ctrl-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rain);
  border: 2px solid #cfe0ff;
}
.ctrl-speed {
  border-radius: 8px;
  padding: 5px 7px;
}
.ctrl-speed option {
  color: #0b1220;
}
.player-shell.is-theater {
  border-color: rgba(255, 90, 43, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 90, 43, 0.25), 0 22px 60px rgba(0, 0, 0, 0.7);
}
.player-shell.is-theater video {
  max-height: 72vh;
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(0, 0, 0, 0.72) 100%);
  z-index: 2;
}
.player-shell.is-lights-off .player-controls {
  position: relative;
  z-index: 3;
}
.player-shell.is-lights-off .ctrl {
  color: rgba(230, 238, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 14, 0.85);
}
.cast-block {
  display: flex;
  flex-direction: column;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: var(--gap-s);
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  min-width: 0;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cast-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.cast-role {
  font-size: 0.72rem;
  color: var(--text-mute);
  line-height: 1.25;
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: var(--gap-l);
}
.synopsis-text {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text-dim);
  max-width: 74ch;
}
.synopsis-text + .synopsis-text {
  margin-top: 10px;
}
.episode-status-block {
  border-top: 1px solid var(--line);
  padding-top: var(--gap-l);
}
.status-line {
  font-size: 0.86rem;
  color: var(--text-dim);
  padding: 3px 0;
}
.status-line:first-of-type {
  color: var(--warm);
  font-weight: 700;
}
.details-block {
  border-top: 1px solid var(--line);
  padding-top: var(--gap-l);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 2px var(--gap-l);
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(120, 160, 220, 0.14);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 0.78rem;
  color: var(--text-mute);
  min-width: 4.4em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.84rem;
  color: var(--text);
  font-weight: 600;
}
.timeline-block {
  display: flex;
  flex-direction: column;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px var(--gap-l);
  padding-left: 2px;
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 14px auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 7px 0 7px 2px;
  border-bottom: 1px solid rgba(120, 160, 220, 0.1);
}
.timeline-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 2px rgba(255, 90, 43, 0.2), 0 0 12px rgba(255, 90, 43, 0.85);
}
.timeline-timecode {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--neon-2);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.timeline-label {
  font-size: 0.84rem;
  color: var(--text-dim);
  min-width: 0;
  line-height: 1.4;
}
.episodes-block {
  display: flex;
  flex-direction: column;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-s);
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  gap: 4px 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(20, 32, 58, 0.72), rgba(12, 19, 34, 0.72));
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.episode-card:hover {
  border-color: var(--line-strong);
  background: linear-gradient(160deg, rgba(26, 42, 74, 0.85), rgba(14, 22, 40, 0.85));
}
.episode-number {
  grid-area: num;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--rain);
  background: var(--rain-soft);
  border-radius: 6px;
  padding: 2px 7px;
  white-space: nowrap;
  align-self: center;
}
.episode-title {
  grid-area: title;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  min-width: 0;
  align-self: center;
}
.episode-summary {
  grid-area: sum;
  font-size: 0.76rem;
  line-height: 1.62;
  color: var(--text-mute);
  min-width: 0;
}
.episode-duration {
  grid-area: dur;
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}
.episode-card.is-current {
  border-color: rgba(255, 90, 43, 0.6);
  background: linear-gradient(160deg, rgba(255, 90, 43, 0.16), rgba(30, 18, 14, 0.7));
  box-shadow: 0 0 0 1px rgba(255, 90, 43, 0.25), 0 10px 26px rgba(255, 90, 43, 0.12);
}
.episode-card.is-current .episode-number {
  color: #fff;
  background: linear-gradient(180deg, var(--neon), rgba(214, 62, 22, 0.95));
}
.episode-card.is-current .episode-title {
  color: var(--warm);
}
.comments-block {
  display: flex;
  flex-direction: column;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap-s);
  align-items: start;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(255, 90, 43, 0.45);
  background: rgba(12, 19, 34, 0.66);
}
.comment-nickname {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--warm);
  letter-spacing: 0.02em;
}
.comment-text {
  font-size: 0.84rem;
  line-height: 1.9;
  color: var(--text-dim);
}
.recommend-region {
  display: flex;
  flex-direction: column;
}
.recommend-rail {
  display: flex;
  gap: var(--gap-s);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 160, 220, 0.35) transparent;
}
.recommend-rail::-webkit-scrollbar {
  height: 6px;
}
.recommend-rail::-webkit-scrollbar-thumb {
  background: rgba(120, 160, 220, 0.32);
  border-radius: 999px;
}
a.recommend-card {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--text);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  border-color: rgba(255, 90, 43, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 108px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #04070d;
}
.recommend-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  padding: 7px 9px 2px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  display: block;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-mute);
  padding: 0 9px 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 86px;
  height: 24px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 20, 0.85));
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 14, 26, 0.9), rgba(5, 8, 15, 0.98));
  padding: 20px 18px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 0.74rem;
  line-height: 1.7;
  color: var(--text-mute);
  max-width: 72ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--warm);
  border-bottom-color: var(--warm);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friends-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 0.74rem;
  color: var(--text-mute);
  text-decoration: none;
  border-bottom: 1px dotted rgba(120, 160, 220, 0.28);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--rain);
  border-bottom-color: var(--rain);
}
@media (max-width: 900px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }}
@media (max-width: 720px) {:root {
    --gap-l: 20px;
    --gap: 12px;
  }
.movie-page {
    padding: 14px 12px 26px;
  }
.overview-panel {
    padding: 13px;
    border-radius: var(--radius);
    gap: 20px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 128px) minmax(0, 1fr);
    gap: 13px;
  }
.movie-title {
    font-size: 1.2rem;
  }
.movie-tagline {
    font-size: 0.8rem;
  }
.header-inner {
    padding: 8px 12px;
  }
.category-bar {
    justify-content: flex-start;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  }
a.recommend-card {
    width: 148px;
  }
[data-runtime="recommendation"] img {
    height: 96px;
  }
.recommend-card::after {
    top: 74px;
  }
.site-footer {
    padding: 16px 12px 26px;
  }}
@media (max-width: 460px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.poster-frame {
    max-width: 168px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 5px;
    padding: 7px 8px;
  }
.ctrl {
    font-size: 0.72rem;
    padding: 4px 7px;
  }
.ctrl-progress {
    flex-basis: 100%;
  }
a.recommend-card {
    width: 132px;
  }
[data-runtime="recommendation"] img {
    height: 86px;
  }
.recommend-card::after {
    top: 64px;
  }}

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}
