:root {
  --bg-deep: #060b14;
  --bg-panel: #0b1420;
  --bg-panel-2: #0d1826;
  --bg-comment: #080f1a;
  --line: #1c2c3f;
  --line-strong: #2a4258;
  --ice: #7fc4e8;
  --ice-bright: #a8ddf5;
  --ice-dim: #3f6a86;
  --steel: #8b9aa8;
  --steel-dim: #5a6b7a;
  --text: #d7e3ec;
  --text-dim: #8fa2b3;
  --alert: #ff7a2f;
  --alert-dim: #c85a1e;
  --radius: 3px;
  --gap: 10px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: var(--ice);
  text-decoration: none;
}
a:hover {
  color: var(--ice-bright);
}
input, button {
  font: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 11, 20, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  color: var(--ice-bright);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--alert);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  color: var(--steel);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--ice-bright);
  border-color: var(--ice-dim);
  background: #0f1f2e;
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px 26px;
}
.hero-banner {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
  padding-bottom: 20px;
}
.hero-media {
  position: relative;
  align-self: start;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-panel);
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.06) brightness(0.94);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(127, 196, 232, 0.14) 0%, transparent 42%),
    linear-gradient(0deg, rgba(6, 11, 20, 0.72) 0%, transparent 46%);
  mix-blend-mode: screen;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}
.hero-title-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.hero-title {
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0.04em;
  color: #eaf4fb;
  text-shadow: 0 0 26px rgba(127, 196, 232, 0.28);
}
.hero-tagline {
  font-size: 13px;
  color: var(--ice);
  letter-spacing: 0.08em;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  font-size: 12px;
  line-height: 1;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-panel);
  color: var(--steel);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.status-chip-current {
  color: var(--alert);
  border-color: var(--alert-dim);
  background: rgba(255, 122, 47, 0.09);
}
.status-chip-score {
  color: var(--ice-bright);
  border-color: var(--ice-dim);
  background: rgba(127, 196, 232, 0.08);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 7px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-panel);
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.action-play {
  background: linear-gradient(180deg, #ff8a44, #e0641c);
  border-color: #ff9a5c;
  color: #140a03;
}
.action-play:hover {
  background: linear-gradient(180deg, #ffa262, #f0701f);
}
.action-favorite {
  color: var(--ice);
  border-color: var(--ice-dim);
}
.action-favorite:hover {
  color: var(--ice-bright);
  background: #0f1f2e;
}
.player-panel {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #04080f;
}
.player-panel video {
  display: block;
  width: 100%;
  border-radius: 2px;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 5px 4px 2px;
  border-top: 1px solid var(--line);
}
.player-btn {
  font-size: 11.5px;
  line-height: 1;
  padding: 5px 9px;
  color: var(--steel);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-btn:hover {
  color: var(--ice-bright);
  border-color: var(--ice-dim);
}
.player-btn.is-active, .player-btn.play.is-active {
  color: var(--alert);
  border-color: var(--alert-dim);
  background: rgba(255, 122, 47, 0.1);
}
.player-progress, .player-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: #16283a;
  cursor: pointer;
  outline: none;
}
.player-progress {
  flex: 1 1 120px;
  min-width: 90px;
}
.player-volume {
  flex: 0 0 84px;
  width: 84px;
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ice);
  border: 1px solid #0b1420;
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #0b1420;
  border-radius: 50%;
  background: var(--ice);
}
.player-progress.input, .player-volume.input {
  background: #1b3346;
}
body.lights-off {
  background: #000;
}
body.lights-off .site-header, body.lights-off .page-main {
  opacity: 0.35;
  transition: opacity 0.25s;
}
body.lights-off .player-panel {
  opacity: 1;
}
body.theater-mode .player-panel {
  border-color: var(--alert-dim);
  box-shadow: 0 0 0 1px rgba(255, 122, 47, 0.24);
}
body.theater-mode .player-controls {
  border-top-color: var(--alert-dim);
}
.section-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ice-bright);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--alert);
}
.cast-section {
  margin-top: 4px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 7px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  min-width: 0;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  background-color: #10202f;
  background-image: linear-gradient(180deg, #1d3549 0%, #0a1622 100%);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(168, 221, 245, 0.22) 0%, transparent 52%, rgba(6, 11, 20, 0.85) 100%);
  mix-blend-mode: screen;
}
.cast-avatar-1 { background-image: linear-gradient(160deg, #26455e, #0a1622); }
.cast-avatar-2 { background-image: linear-gradient(160deg, #1f3d52, #0a1622); }
.cast-avatar-3 { background-image: linear-gradient(160deg, #2b4a63, #0c1825); }
.cast-avatar-4 { background-image: linear-gradient(160deg, #223c50, #0a1622); }
.cast-avatar-5 { background-image: linear-gradient(160deg, #2e4c66, #0c1825); }
.cast-avatar-6 { background-image: linear-gradient(160deg, #3a5a72, #0a1622); }
.cast-avatar-7 { background-image: linear-gradient(160deg, #1d3549, #091119); }
.cast-avatar-8 { background-image: linear-gradient(160deg, #29465d, #0c1825); }
.cast-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 11px;
  color: var(--steel-dim);
  line-height: 1.35;
}
.synopsis-section {
  margin-top: 4px;
}
.synopsis-paragraph {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.72;
  padding-left: 10px;
  border-left: 2px solid var(--line);
  margin-bottom: 7px;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.details-section {
  margin-top: 4px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 9px;
  background: var(--bg-panel);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel-dim);
}
.detail-value {
  margin: 0;
  font-size: 12.5px;
  color: var(--text);
  min-width: 0;
}
.timeline-section {
  margin-top: 26px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
  position: relative;
  padding-top: 14px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice-dim) 6%, var(--ice-dim) 94%, transparent);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-panel);
  min-width: 0;
}
.timeline-node-icon {
  position: absolute;
  top: -13px;
  left: 9px;
  width: 9px;
  height: 9px;
  background: var(--ice);
  border: 1px solid #061019;
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(127, 196, 232, 0.5);
}
.timeline-node-current {
  border-color: var(--alert-dim);
  border-left-color: var(--alert);
  background: rgba(255, 122, 47, 0.07);
}
.timeline-node-current .timeline-node-icon {
  background: var(--alert);
  box-shadow: 0 0 10px rgba(255, 122, 47, 0.7);
}
.timeline-timecode {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ice);
}
.timeline-node-current .timeline-timecode {
  color: var(--alert);
}
.timeline-label {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.4;
}
.episodes-section {
  margin-top: 26px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-color: var(--ice-dim);
  background: var(--bg-panel-2);
}
.episode-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--alert);
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  color: #e6f1f9;
  letter-spacing: 0.04em;
}
.episode-summary {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}
.episode-duration {
  display: block;
  font-size: 11px;
  color: var(--ice);
  letter-spacing: 0.08em;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.22s ease, margin-top 0.22s ease;
}
.episode-card:hover .episode-duration {
  max-height: 22px;
  opacity: 1;
  margin-top: 3px;
}
.comments-section {
  margin-top: 26px;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid #142334;
  border-radius: var(--radius);
  background: var(--bg-comment);
  min-width: 0;
}
.comment-item-short {
  border-left: 2px solid var(--ice-dim);
}
.comment-item-long {
  border-left: 2px solid var(--line-strong);
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ice);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--text-dim);
}
.comment-item-long .comment-text {
  line-height: 1.6;
}
.recommend-region {
  margin-top: 16px;
  padding: 9px 11px 10px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--ice-dim);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.recommend-region-3 {
  border-left-color: var(--alert-dim);
}
.recommend-region-4 {
  border-left-color: var(--line-strong);
}
.recommend-region-1 { margin-top: 26px; }
.recommend-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ice-bright);
  text-align: left;
  margin-bottom: 8px;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  justify-content: end;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel-2);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.recommend-item:hover {
  border-color: var(--ice-dim);
  background: #10202f;
  color: var(--text);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: #091320;
  filter: saturate(0.86) brightness(0.95);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #e2eef7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--steel-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #050a12;
  padding: 14px 16px 18px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  max-width: 1320px;
  margin: 0 auto 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--steel);
  text-decoration: none;
  letter-spacing: 0.06em;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ice-bright);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  min-width: 0;
}
.friend-links-label {
  font-size: 11.5px;
  color: var(--steel-dim);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--steel);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
a.runtime-friend-link:hover {
  color: var(--ice-bright);
  border-color: var(--ice-dim);
  text-decoration: none;
}
.footer-disclaimer {
  max-width: 1320px;
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.6;
  color: var(--steel-dim);
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
@media (max-width: 1080px) {.hero-banner {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero-media {
    max-width: 260px;
    width: 100%;
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }}
@media (max-width: 640px) {.page-main {
    padding: 0 12px 20px;
  }
.header-inner {
    padding: 7px 12px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
    letter-spacing: 0.1em;
  }
.hero-banner {
    margin-top: 14px;
    padding-bottom: 16px;
  }
.hero-title {
    font-size: 23px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }
.player-progress {
    flex-basis: 100%;
  }
.player-volume {
    flex: 1 1 70px;
    width: auto;
  }
.synopsis-paragraph {
    font-size: 12.5px;
  }
.footer-top {
    flex-direction: column;
  }}
@media (max-width: 420px) {.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  }
.recommend-row {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
.action-button {
    flex: 1 1 auto;
  }}

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}
