*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ol, ul, dl, dd {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
:root {
  --ink: #060a12;
  --ink-2: #0a1220;
  --ink-3: #0e1728;
  --panel: #0c1524;
  --panel-2: #101c30;
  --line: #1e2c44;
  --line-soft: #17233a;
  --steel: #7d90ad;
  --steel-dim: #5c6d88;
  --steel-bright: #b9c7dc;
  --rust: #b0472a;
  --rust-bright: #d4552f;
  --rust-dim: #7c3520;
  --ice: #cfdcec;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html {
  background: var(--ink);
}
body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--steel-bright);
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(176, 71, 42, 0.10), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(38, 66, 110, 0.30), transparent 65%),
    linear-gradient(180deg, #05080f 0%, #070c16 40%, #05080f 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 10, 18, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1320px;
  margin: 0 auto;
  padding: 7px 18px;
}
.brand-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.site-brand, a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--rust-bright);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--steel);
  text-decoration: none;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 44, 68, 0.35), rgba(12, 21, 36, 0.6));
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--rust);
  border-color: var(--rust-bright);
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 18px 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.panel-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--rust-bright);
  text-transform: uppercase;
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.panel-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: var(--rust);
}
.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 236px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(16, 28, 48, 0.85), rgba(8, 14, 24, 0.95)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 7px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(176, 71, 42, 0.10), transparent 42%),
    radial-gradient(700px 320px at 78% 6%, rgba(48, 84, 138, 0.22), transparent 70%);
}
.hero-media {
  position: relative;
  z-index: 1;
  align-self: start;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.78) contrast(1.06) brightness(0.92);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(6, 10, 18, 0.05) 30%, rgba(6, 10, 18, 0.72) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #eaf1f9;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.hero-tagline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--rust-bright);
  padding-left: 10px;
  border-left: 3px solid var(--rust);
}
.hero-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--steel);
  max-width: 68ch;
}
.player-shell {
  width: 100%;
  margin-top: 2px;
  border: 1px solid var(--line);
  background: #04070d;
}
.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--ink-2));
}
.player-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--steel-bright);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.player-btn:hover {
  background: var(--rust-dim);
  border-color: var(--rust);
  color: #fff;
}
.player-btn.is-active, .player-btn.click, .player-btn.play, .player-btn.pause, .player-btn.mute, .player-btn.volume, .player-btn.speed, .player-btn.theater, .player-btn.fullscreen, .player-btn.pip, .player-btn.light {
  border-color: var(--rust);
}
.player-btn.is-active {
  background: var(--rust);
  color: #fff;
}
.player-progress {
  flex: 1 1 150px;
  min-width: 110px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  border: none;
  cursor: pointer;
}
.player-volume {
  flex: 0 1 90px;
  min-width: 64px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  border: none;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 0;
  background: var(--rust-bright);
  border: 1px solid #0a0f18;
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: var(--rust-bright);
  border: 1px solid #0a0f18;
}
.player-progress.input, .player-progress.progress, .player-progress.timeupdate, .player-volume.input, .player-volume.volume {
  background: var(--line-soft);
}
.player-shell.is-theater, .player-shell.theater {
  border-color: var(--rust);
  box-shadow: 0 0 0 1px rgba(176, 71, 42, 0.4), 0 0 26px rgba(176, 71, 42, 0.16);
}
.player-shell.player {
  background: #04070d;
}
body.lights-off .page-main {
  filter: brightness(0.6);
}
body.lights-off .hero-panel .player-shell {
  filter: brightness(1.65);
}
.cast-strip {
  margin-top: 2px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 6px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 5px 8px;
  text-align: center;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(22, 36, 58, 0.55), rgba(9, 15, 26, 0.75));
  min-width: 0;
}
.cast-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 34% 28%, rgba(185, 199, 220, 0.35), transparent 58%),
    linear-gradient(150deg, #2a3d59, #131e30 70%);
  box-shadow: inset 0 0 0 2px rgba(8, 13, 22, 0.85);
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ice);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.cast-role {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--rust-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.synopsis-panel {
  margin-top: 2px;
}
.synopsis-para {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.74;
  color: var(--steel);
  text-align: justify;
}
.synopsis-para + .synopsis-para {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line-soft);
}
.episode-status {
  border: 1px solid var(--line);
  border-left: 3px solid var(--rust);
  background: linear-gradient(90deg, rgba(176, 71, 42, 0.16), rgba(12, 21, 36, 0.6) 55%);
  padding: 6px 12px;
}
.status-line {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--steel-bright);
}
.details-panel {
  margin-top: 2px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0 18px;
  border-top: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--steel-dim);
}
.detail-value {
  flex: 1 1 auto;
  text-align: right;
  font-size: 12px;
  font-weight: 500;
  color: var(--ice);
  overflow-wrap: anywhere;
}
.timeline-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 23, 40, 0.7), rgba(8, 13, 22, 0.7));
  padding: 12px 14px 14px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0 26px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  padding: 6px 0 6px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline-item:first-child::before {
  top: 50%;
}
.timeline-item:last-child::before {
  bottom: 50%;
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: var(--ink);
  border: 1px solid var(--rust);
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rust-bright);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--steel-bright);
  letter-spacing: -0.005em;
}
.episodes-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 23, 40, 0.55), rgba(8, 13, 22, 0.6));
  padding: 12px 14px 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px 10px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--rust-dim);
  background: linear-gradient(180deg, rgba(21, 34, 55, 0.6), rgba(10, 17, 29, 0.72));
  align-self: start;
}
.episode-number {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--rust-bright);
  font-variant-numeric: tabular-nums;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ice);
  line-height: 1.3;
}
.episode-summary {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.62;
  color: var(--steel);
}
.episode-duration {
  margin-top: 2px;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--steel-dim);
  padding: 1px 7px;
  border: 1px solid var(--line-soft);
  background: rgba(6, 10, 18, 0.6);
}
.comments-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 23, 40, 0.5), rgba(8, 13, 22, 0.6));
  padding: 12px 14px 14px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 8px;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px 10px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(20, 32, 52, 0.6), rgba(9, 15, 26, 0.72));
  align-self: start;
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-soft);
}
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 32% 26%, rgba(185, 199, 220, 0.32), transparent 60%),
    linear-gradient(150deg, #2c405e, #121d2f 72%);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ice);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.66;
  color: var(--steel);
}
.recommend-region {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 23, 40, 0.5), rgba(8, 13, 22, 0.6));
  padding: 12px 14px 14px;
}
.recommend-region + .recommend-region {
  margin-top: 0;
}
.recommend-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--rust-bright);
  text-transform: uppercase;
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.recommend-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: var(--rust);
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  text-decoration: none;
  color: var(--steel-bright);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(21, 34, 55, 0.6), rgba(10, 17, 29, 0.75));
  align-self: start;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
a.recommend-card:hover {
  border-color: var(--rust);
  background: linear-gradient(180deg, rgba(30, 46, 72, 0.7), rgba(12, 20, 33, 0.85));
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  filter: saturate(0.8) brightness(0.92);
}
.recommend-pic {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ice);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.58;
  color: var(--steel);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 18px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--steel);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--rust-bright);
  border-bottom-color: var(--rust);
}
a[data-contract="footer-sitemap"] {
  color: var(--steel-dim);
}
.footer-disclaimer {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--steel-dim);
  letter-spacing: -0.005em;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--rust-bright);
  text-transform: uppercase;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--steel);
  text-decoration: none;
  padding: 1px 7px;
  border: 1px solid var(--line-soft);
  background: rgba(10, 17, 29, 0.6);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--ice);
  border-color: var(--rust);
}
.player-btn.pause, .player-btn.is-active.play {
  border-color: var(--rust);
}
.player-shell .x {
  display: none;
}
@media (max-width: 980px) {.hero-panel {
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
    gap: 14px;
  }
.hero-title {
    font-size: 25px;
  }}
@media (max-width: 760px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
.hero-media {
    max-width: 168px;
  }
.hero-title {
    font-size: 22px;
  }
.hero-desc {
    font-size: 12.5px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list, .episode-grid, .comment-stack, .recommend-row {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 480px) {.header-inner, .page-main, .site-footer {
    padding-left: 12px;
    padding-right: 12px;
  }
.hero-title {
    font-size: 20px;
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.player-controls {
    gap: 4px;
    padding: 5px 6px;
  }
.player-btn {
    font-size: 10.5px;
    padding: 4px 7px;
  }
.timeline-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
  }}

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}
