*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, table, tr, th, td, nav, section, header, footer, main, video, img, label, button, select, input {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, select, input { font: inherit; color: inherit; }
:root {
  --bg: #04070f;
  --bg-deep: #02040a;
  --surface: #0a1120;
  --surface-2: #0d1728;
  --line: rgba(120, 200, 230, 0.16);
  --line-soft: rgba(120, 200, 230, 0.09);
  --cyan: #6ee7ff;
  --cyan-dim: #9fb8cc;
  --white: #eaf4fb;
  --muted: #7d93a8;
  --pink: #ff4fa8;
  --orange: #ff9b3d;
  --radius: 10px;
  --gap: 14px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(110, 231, 255, 0.10), transparent 60%),
    radial-gradient(900px 620px at 6% 12%, rgba(255, 79, 168, 0.09), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  color: var(--white);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: 0.14em; line-height: 1.3; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(4, 7, 15, 0.96), rgba(4, 7, 15, 0.78));
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--white);
  text-decoration: none;
  text-shadow: 0 0 16px rgba(110, 231, 255, 0.55);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: var(--cyan); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #cfe6f2;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  background: rgba(110, 231, 255, 0.05);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--bg-deep);
  background: var(--cyan);
  border-color: var(--cyan);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.5fr);
  gap: 20px;
  align-items: start;
  padding: 8px 0 4px;
}
.hero-figure {
  position: relative;
  align-self: start;
}
.poster-shell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(110, 231, 255, 0.06), 0 18px 46px -22px rgba(0, 0, 0, 0.95);
  background: var(--surface);
}
.poster-image {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.hero-glow-orbit {
  position: absolute;
  inset: -14% -18% -14% -18%;
  border-radius: 50%;
  border: 1px solid rgba(110, 231, 255, 0.14);
  transform: rotate(-18deg) scaleY(0.42);
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(110, 231, 255, 0.16), transparent 70%);
  filter: blur(1px);
  z-index: -1;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(20px, 3.4vw, 32px);
  letter-spacing: 0.22em;
  color: var(--white);
  text-shadow: 0 0 26px rgba(110, 231, 255, 0.35), 0 0 46px rgba(255, 79, 168, 0.18);
}
.movie-tagline {
  font-size: 12.5px;
  color: var(--cyan-dim);
  letter-spacing: 0.06em;
  padding-left: 10px;
  border-left: 2px solid var(--pink);
}
.hero-player {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-player.is-theater {
  background: #000;
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(110, 231, 255, 0.3), 0 22px 60px -26px rgba(110, 231, 255, 0.5);
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 2px 2px 0;
}
.player-btn {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(110, 231, 255, 0.06);
  color: #cfe6f2;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.player-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.player-btn-play {
  background: rgba(255, 79, 168, 0.14);
  border-color: rgba(255, 79, 168, 0.5);
  color: #ffd2ea;
}
.player-btn-play:hover { background: var(--pink); color: #0a0410; border-color: var(--pink); }
.player-btn.is-playing {
  background: rgba(110, 231, 255, 0.2);
  border-color: var(--cyan);
  color: var(--cyan);
}
.player-btn.is-muted, .player-btn.is-active {
  background: rgba(255, 155, 61, 0.18);
  border-color: var(--orange);
  color: var(--orange);
}
.player-progress-label, .player-volume-label, .player-speed-label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.player-progress-label { flex: 1 1 150px; }
.player-volume-label { flex: 0 1 120px; }
.player-control-text {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 60px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), rgba(110, 231, 255, 0.18));
  outline: none;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px rgba(255, 79, 168, 0.8);
  border: none;
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px rgba(255, 79, 168, 0.8);
}
.player-select {
  font-size: 11.5px;
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: #cfe6f2;
  cursor: pointer;
}
.player.is-theater, .theater .player-video { border-radius: 0; }
.is-lights-off body, body.is-lights-off {
  background: #000;
}
body.is-lights-off .site-header { background: rgba(0, 0, 0, 0.92); }
body.is-lights-off .hero-stage { filter: brightness(0.72); }
.is-playing .player-video { box-shadow: 0 0 0 1px rgba(110, 231, 255, 0.35); }
.episode-status {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.episode-status-heading, .cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading, .friend-links-heading {
  font-size: 12.5px;
  letter-spacing: 0.24em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
  position: relative;
  padding-left: 12px;
}
.episode-status-heading::before, .cast-heading::before, .synopsis-heading::before, .details-heading::before, .timeline-heading::before, .episodes-heading::before, .comments-heading::before, .recommend-heading::before, .friend-links-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}
.episode-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.episode-status-item {
  font-size: 12px;
  color: var(--cyan-dim);
  letter-spacing: 0.06em;
}
.episode-status-item:first-child { color: var(--white); }
.cast-panel { min-width: 0; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  padding: 7px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(13, 23, 40, 0.55);
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
}
.cast-role {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.synopsis-panel {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(13, 23, 40, 0.7), rgba(10, 17, 32, 0.4));
  min-width: 0;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.synopsis-paragraph {
  font-size: 12px;
  line-height: 1.85;
  color: #c6d8e6;
  text-indent: 1.6em;
}
.synopsis-seo {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-soft);
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.details-panel {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(10, 17, 32, 0.5);
  min-width: 0;
}
.details-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.details-row { border-bottom: 1px solid var(--line-soft); }
.details-row:last-child { border-bottom: none; }
.details-key {
  text-align: left;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 3px 8px 3px 0;
  width: 30%;
  vertical-align: top;
  white-space: nowrap;
}
.details-value {
  font-size: 12px;
  color: var(--white);
  padding: 3px 0;
  vertical-align: top;
  word-break: break-word;
}
.timeline-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 231, 255, 0.35) transparent;
}
.timeline-track::-webkit-scrollbar { height: 5px; }
.timeline-track::-webkit-scrollbar-thumb { background: rgba(110, 231, 255, 0.32); border-radius: 3px; }
.timeline-node {
  position: relative;
  flex: 1 0 168px;
  min-width: 168px;
  padding: 16px 12px 0 0;
  border-top: 1px solid var(--line);
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(110, 231, 255, 0.9);
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 12px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(110, 231, 255, 0.5), rgba(110, 231, 255, 0.05));
}
.timeline-timecode {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--pink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 3px;
}
.timeline-label {
  display: block;
  font-size: 11px;
  line-height: 1.7;
  color: #b6c9d8;
}
.episodes-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.episode-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
}
.episode-card {
  display: grid;
  grid-template-columns: minmax(0, 76px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}
.episode-number {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(110, 231, 255, 0.6);
  white-space: nowrap;
  padding-top: 1px;
}
.episode-body { min-width: 0; }
.episode-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 2px;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.75;
  color: #a9bccb;
}
.episode-duration {
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--orange);
}
.comments-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.comment-deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  padding: 4px 0 6px;
}
.comment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(13, 23, 40, 0.92), rgba(7, 12, 24, 0.86));
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.95);
  align-self: start;
}
.comment-card::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -5px;
  width: 9px;
  height: 9px;
  background: inherit;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.comment-card-a { transform: rotate(-1.6deg) translateY(2px); border-color: rgba(110, 231, 255, 0.3); }
.comment-card-b { transform: rotate(1.2deg) translateY(-4px); }
.comment-card-c { transform: rotate(-0.8deg) translateY(4px); border-color: rgba(255, 79, 168, 0.28); }
.comment-card-d { transform: rotate(1.8deg) translateY(-2px); }
.comment-card-e { transform: rotate(-1.1deg) translateY(3px); }
.comment-card-f { transform: rotate(0.9deg) translateY(-5px); border-color: rgba(255, 155, 61, 0.26); }
.comment-text {
  font-size: 11.5px;
  line-height: 1.8;
  color: #d3e3ee;
}
.comment-nickname {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-align: right;
}
.comment-nickname::before { content: "— "; color: var(--pink); }
.recommend-region {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  min-width: 0;
}
.recommend-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-item { min-width: 0; }
a.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(10, 17, 32, 0.55);
  color: var(--white);
  text-decoration: none;
  height: 100%;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
a.recommend-link:hover {
  border-color: rgba(110, 231, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -20px rgba(110, 231, 255, 0.7);
}
a[data-runtime="recommendation"] img, .recommend-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  background: var(--surface-2);
  display: block;
}
.recommend-name {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--muted);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-footer {
  border-top: 1px solid var(--line-soft);
  margin-top: 8px;
  padding: 16px 16px 26px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 780px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 231, 255, 0.28);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--pink);
  border-bottom-color: var(--pink);
}
.friend-links { min-width: 0; }
.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.friend-links-item { min-width: 0; }
a.runtime-friend-link {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #9fb8cc;
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  display: inline-block;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--orange);
  border-color: rgba(255, 155, 61, 0.5);
}
@media (max-width: 980px) {.hero-stage {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
    gap: 16px;
  }
.cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 760px) {.page-main { padding: 14px 12px 24px; gap: 20px; }
.hero-stage { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.hero-figure { max-width: 240px; }
.comment-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-card { grid-template-columns: minmax(0, 64px) minmax(0, 1fr); gap: 10px; }}
@media (max-width: 520px) {.header-inner { padding: 8px 12px; gap: 10px; }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-deck { grid-template-columns: minmax(0, 1fr); }
.comment-card { transform: none; }
.recommend-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-key { width: 36%; }
.hero-figure { max-width: 200px; }
.movie-title { letter-spacing: 0.14em; }
.episode-card { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.episode-number { font-size: 13px; }}

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}
