*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0e141c;
  --ink-2: #161f2b;
  --ink-3: #1d2837;
  --slate: #2a3748;
  --slate-line: #35475c;
  --mist: #93a6bd;
  --mist-dim: #6d7f95;
  --paper: #dfe7f1;
  --paper-dim: #b3c1d3;
  --orange: #ff7a2f;
  --orange-soft: #ff9a55;
  --orange-deep: #e05a10;
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Heiti SC", "SimHei", system-ui, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(1200px 600px at 15% -5%, #1c2a3d 0%, transparent 60%),
    linear-gradient(180deg, #0b1017 0%, #0f1721 40%, #0c121a 100%);
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font-family: inherit; font-size: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(11,16,23,0.96) 0%, rgba(11,16,23,0.82) 100%);
  border-bottom: 1px solid var(--slate-line);
  backdrop-filter: blur(8px);
}
.header-shell {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"].site-brand {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--orange);
  text-decoration: none;
  text-transform: uppercase;
  padding-right: 12px;
  border-right: 2px solid var(--orange-deep);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--paper-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: rgba(147,166,189,0.08);
  transition: color .15s, background .15s, border-color .15s;
}
a.runtime-category:hover {
  color: var(--orange);
  border-color: var(--orange-deep);
  background: rgba(255,122,47,0.1);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 28px;
}
.section-heading {
  position: relative;
  font-size: 15px;
  padding-left: 11px;
  margin-bottom: 8px;
  color: var(--paper);
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  bottom: 0.22em;
  width: 3px;
  background: var(--orange);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 0;
  position: relative;
  margin: 0 -16px 26px;
  background: linear-gradient(120deg, #131c27 0%, #0d141d 55%, #101924 100%);
  border-bottom: 1px solid var(--slate-line);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,122,47,0.07) 0%, transparent 32%),
    repeating-linear-gradient(90deg, rgba(255,122,47,0.05) 0 2px, transparent 2px 46px);
  mix-blend-mode: screen;
}
.hero-media {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--slate-line);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,16,23,0.15) 0%, rgba(11,16,23,0.85) 100%);
}
.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) brightness(0.86);
}
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px 20px 16px;
  min-width: 0;
}
.hero-title {
  font-size: 30px;
  letter-spacing: 0.02em;
  color: #f2f6fb;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}
.hero-tagline {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
  border-left: 2px solid var(--orange-deep);
  padding-left: 9px;
}
.hero-desc {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--paper-dim);
  max-width: 62ch;
}
.hero-player {
  width: 100%;
  margin-top: 4px;
  background: #05080c;
  border: 1px solid var(--slate-line);
}
.hero-player video {
  display: block;
  background: #05080c;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  background: var(--ink-2);
  border: 1px solid var(--slate-line);
  border-top: none;
}
.pc-btn {
  cursor: pointer;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  color: var(--paper-dim);
  background: var(--slate);
  border: 1px solid var(--slate-line);
  border-radius: 2px;
  padding: 3px 8px;
  transition: color .14s, background .14s, border-color .14s;
}
.pc-btn:hover { color: var(--paper); background: #35475c; border-color: var(--mist-dim); }
.pc-play { color: var(--orange); border-color: var(--orange-deep); background: rgba(255,122,47,0.12); }
.pc-play:hover { background: rgba(255,122,47,0.24); color: var(--orange-soft); }
.pc-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: #33455a;
  border-radius: 2px;
  cursor: pointer;
}
.pc-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
}
.pc-progress::-moz-range-thumb {
  width: 11px; height: 11px; border: none; border-radius: 50%; background: var(--orange);
}
.pc-volume {
  flex: 0 1 70px;
  width: 70px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: #33455a;
  border-radius: 2px;
  cursor: pointer;
}
.pc-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px; height: 10px; border-radius: 50%; background: var(--mist); border: none;
}
.pc-volume::-moz-range-thumb { width: 10px; height: 10px; border: none; border-radius: 50%; background: var(--mist); }
.pc-btn.is-active, .pc-play.is-active {
  color: #100c07;
  background: var(--orange);
  border-color: var(--orange-soft);
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.episode-status {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--orange-soft);
  border: 1px solid var(--orange-deep);
  background: rgba(255,122,47,0.09);
  padding: 2px 9px;
  align-self: flex-start;
}
.cast { margin-top: 4px; }
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(147,166,189,0.06);
  border: 1px solid var(--slate-line);
  border-left: 2px solid var(--orange-deep);
  padding: 3px 9px 3px 6px;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #b9c8da 0 26%, transparent 27%),
    radial-gradient(circle at 50% 92%, #b9c8da 0 40%, transparent 41%),
    linear-gradient(160deg, #33455a, #1c2735);
  border: 1px solid var(--slate-line);
  filter: saturate(0.6);
}
.cast-name { font-size: 12px; font-weight: 700; color: var(--paper); white-space: nowrap; }
.cast-role {
  font-size: 10.5px;
  color: var(--mist-dim);
  white-space: nowrap;
}
.synopsis { margin-top: 13px; }
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--paper-dim);
  max-width: 76ch;
}
.synopsis-para + .synopsis-para { margin-top: 6px; }
.details { margin-top: 13px; }
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 1px;
  background: var(--slate-line);
  border: 1px solid var(--slate-line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 4px 9px;
  background: var(--ink-2);
  min-width: 0;
}
.detail-row dt {
  font-size: 10.5px;
  color: var(--mist-dim);
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}
.detail-row dd {
  font-size: 12px;
  font-weight: 600;
  color: var(--paper);
  min-width: 0;
}
.timeline {
  margin-bottom: 24px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--slate-line);
  border-bottom: 1px solid var(--slate-line);
  background:
    linear-gradient(180deg, rgba(255,122,47,0.04) 0%, transparent 70%);
}
.timeline-track {
  position: relative;
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 14px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--orange-deep) transparent;
}
.timeline-track::-webkit-scrollbar { height: 5px; }
.timeline-track::-webkit-scrollbar-track { background: rgba(147,166,189,0.1); }
.timeline-track::-webkit-scrollbar-thumb { background: var(--orange-deep); }
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0, var(--orange-deep) 6%, var(--orange-deep) 94%, transparent 100%);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 172px;
  padding: 18px 12px 0 0;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 26px;
  height: 3px;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255,122,47,0.55);
}
.timeline-timecode {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 2px;
}
.timeline-label {
  display: block;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--paper-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episodes { margin-bottom: 24px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--slate-line);
  border: 1px solid var(--slate-line);
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 9px;
  background: var(--ink-2);
  padding: 7px 10px;
  min-width: 0;
  transition: background .15s;
}
.episode-card:hover { background: var(--ink-3); }
.episode-number {
  grid-row: 1;
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.episode-title {
  grid-row: 1;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.episode-duration {
  grid-row: 1;
  font-size: 10.5px;
  color: var(--mist-dim);
  white-space: nowrap;
  justify-self: end;
}
.episode-summary {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 11.5px;
  line-height: 1.42;
  color: var(--mist);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.comments { margin-bottom: 24px; }
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--slate-line);
  border: 1px solid var(--slate-line);
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--slate-line);
  min-width: 0;
}
.comment-card {
  background: var(--ink-2);
  padding: 7px 10px;
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--orange-soft);
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.52;
  color: var(--paper-dim);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.recommend-region {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-line);
}
.recommend-region:last-of-type { border-bottom: none; }
.recommend-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--ink-2);
  border: 1px solid var(--slate-line);
  border-bottom: 2px solid var(--slate-line);
  padding: 5px;
  text-decoration: none;
  min-width: 0;
  transition: border-color .15s, background .15s, transform .15s;
}
a.recommend-item:hover {
  background: var(--ink-3);
  border-color: var(--orange-deep);
  border-bottom-color: var(--orange);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #070b10;
  filter: saturate(0.85) brightness(0.9);
  transition: filter .15s;
}
a.recommend-item:hover img { filter: saturate(1.05) brightness(1); }
.recommend-item [data-runtime="name"] {
  font-size: 12px;
  font-weight: 700;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-item [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.4;
  color: var(--mist-dim);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  border-top: 1px solid var(--slate-line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: var(--mist-dim);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 700;
  color: var(--paper-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .15s, border-color .15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(147,166,189,0.14);
}
.friend-links-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--orange-deep);
  text-transform: uppercase;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--mist-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
a.runtime-friend-link:hover { color: var(--orange-soft); }
body.theater-mode .hero-media {
  position: fixed;
  inset: 0;
  z-index: 200;
  border: none;
  background: #000;
}
body.theater-mode .hero-media img { width: 100%; height: 100%; object-fit: contain; }
body.theater-mode .hero-media::after { background: rgba(0,0,0,0.55); }
body.lights-off .page-main, body.lights-off .site-header, body.lights-off .site-footer { opacity: 0.28; }
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    margin-left: -16px;
    margin-right: -16px;
  }
.hero-title { font-size: 25px; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 720px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    margin: 0 -16px 20px;
  }
.hero-media {
    border-right: none;
    border-bottom: 1px solid var(--slate-line);
    max-height: 42vh;
  }
.hero-media img { height: 100%; object-fit: cover; }
.hero-copy { padding: 14px 14px 14px; }
.hero-title { font-size: 22px; }
.hero-desc { font-size: 12px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-columns { grid-template-columns: minmax(0, 1fr); }
.recommend-strip { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }}
@media (max-width: 520px) {body { font-size: 12.5px; }
.header-shell { gap: 10px; padding: 7px 12px; }
a[data-contract="site-name"].site-brand { font-size: 15px; }
.page-main { padding: 0 12px 22px; }
.hero { margin-left: -12px; margin-right: -12px; }
.hero-copy { padding: 12px 12px 12px; }
.hero-title { font-size: 19px; }
.hero-tagline { font-size: 12px; }
.player-controls { gap: 4px; padding: 5px; }
.pc-btn { font-size: 10px; padding: 3px 6px; }
.pc-volume { flex: 0 1 54px; width: 54px; }
.cast-card { padding: 3px 7px 3px 5px; }
.cast-avatar { width: 18px; height: 18px; }
.details-grid { grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); }
.timeline-node { width: 150px; }
.recommend-strip { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; }
a.recommend-item { padding: 4px; }
.site-footer { padding: 12px 12px 22px; }
.friend-links { gap: 4px 10px; }}

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}
