*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:root {
  --ink: #050a14;
  --ink-2: #0a1526;
  --ink-3: #0f2036;
  --ice: #7fd8ff;
  --ice-dim: #3d8aa8;
  --ice-line: rgba(127, 216, 255, 0.22);
  --ice-line-strong: rgba(127, 216, 255, 0.42);
  --bolt: #ffd21e;
  --bolt-soft: #ffe873;
  --bronze: #c9924a;
  --bronze-dim: #8a6531;
  --text: #dce8f5;
  --text-dim: #8fa6bd;
  --text-faint: #5f7593;
  --gap: 12px;
  --radius: 6px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(45, 110, 155, 0.28), transparent 62%),
    radial-gradient(900px 540px at 4% 12%, rgba(20, 62, 96, 0.34), transparent 60%),
    linear-gradient(180deg, #050a14 0%, #060d1a 46%, #040810 100%);
  color: var(--text);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(127, 216, 255, 0.05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(-115deg, rgba(127, 216, 255, 0.035) 0 1px, transparent 1px 62px);
  opacity: 0.55;
}
.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 10px 20px;
  background: linear-gradient(180deg, rgba(6, 14, 26, 0.96), rgba(6, 14, 26, 0.72));
  border-bottom: 1px solid var(--ice-line);
  backdrop-filter: blur(6px);
}
.site-header__brand { display: flex; align-items: center; }
.site-header__logo {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--text);
  padding: 3px 0 3px 12px;
  border-left: 3px solid var(--bolt);
  text-shadow: 0 0 14px rgba(255, 210, 30, 0.28);
}
.site-header__logo:hover { color: var(--bolt-soft); }
.site-header__categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ice);
  text-decoration: none;
  border: 1px solid var(--ice-line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(127, 216, 255, 0.10), rgba(127, 216, 255, 0.02));
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.runtime-category:hover {
  color: var(--ink);
  background: var(--ice);
  border-color: var(--ice);
}
.page-main {
  position: relative;
  z-index: 1;
  display: block;
  padding: 14px 20px 26px;
  max-width: 1560px;
  margin: 0 auto;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ice-line);
}
.hero__media {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hero__poster-wrap {
  position: relative;
  align-self: start;
  width: min(100%, 260px);
  border: 1px solid var(--ice-line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 14px 34px rgba(0, 0, 0, 0.62), 0 0 26px rgba(127, 216, 255, 0.12);
}
.hero__poster {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.hero__player-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--ice-line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 22px rgba(127, 216, 255, 0.10);
}
.hero__player { display: block; width: 100%; background: #000; }
.hero__player-wrap.is-theater {
  box-shadow: 0 0 0 1px var(--bolt), 0 0 34px rgba(255, 210, 30, 0.35);
}
.hero__player-wrap.lights-off::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(2, 5, 12, 0.72);
  border-radius: var(--radius);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(10, 22, 38, 0.96), rgba(5, 12, 22, 0.96));
  border-top: 1px solid var(--ice-line);
}
.player-btn {
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ice);
  background: rgba(127, 216, 255, 0.07);
  border: 1px solid var(--ice-line);
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.player-btn:hover { color: var(--ink); background: var(--ice); border-color: var(--ice); }
.player-btn.is-active, .player-btn.play.is-active, .player-btn.mute.is-active, .player-btn.pip.is-active, .player-btn.fullscreen.is-active, .player-btn.theater.is-active, .player-btn.light.is-active {
  color: var(--ink);
  background: var(--bolt);
  border-color: var(--bolt);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  width: 92px;
  flex: 0 1 auto;
  background: rgba(127, 216, 255, 0.22);
  border-radius: 3px;
  cursor: pointer;
  outline: none;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bolt);
  border: none;
  box-shadow: 0 0 8px rgba(255, 210, 30, 0.6);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--bolt);
}
.player-range.progress, .player-range.volume, .player-range.input, .player-range.timeupdate, .player-range.change { background: rgba(127, 216, 255, 0.28); }
.player-range.progress { flex: 1 1 120px; min-width: 70px; }
.player-select {
  padding: 3px 6px;
  font-size: 11.5px;
  color: var(--ice);
  background: rgba(127, 216, 255, 0.07);
  border: 1px solid var(--ice-line);
  border-radius: 4px;
  cursor: pointer;
}
.player-select option { background: #0a1526; color: var(--text); }
.hero__info {
  position: relative;
  min-width: 0;
  padding: 16px 18px 18px;
  border: 1px solid var(--ice-line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(12, 26, 44, 0.86), rgba(6, 14, 26, 0.92));
  box-shadow: inset 0 1px 0 rgba(127, 216, 255, 0.10), 0 12px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.hero__info::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 210px;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(201, 146, 74, 0.16) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(0deg, rgba(201, 146, 74, 0.10) 0 1px, transparent 1px 17px);
  mask-image: linear-gradient(200deg, #000 0%, transparent 76%);
  -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 76%);
  opacity: 0.85;
}
.hero__info > * { position: relative; }
.hero__title {
  font-size: clamp(21px, 2.5vw, 31px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.015em;
  color: #f2f8ff;
  text-shadow: 0 0 20px rgba(127, 216, 255, 0.24);
}
.hero__tagline {
  margin-top: 6px;
  padding-left: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bolt-soft);
  border-left: 3px solid var(--bolt);
  text-shadow: 0 0 12px rgba(255, 210, 30, 0.22);
}
.hero__seo {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--text-dim);
}
.cast { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ice-line); }
.cast__heading, .synopsis__heading, .episode-status__heading, .details__heading, .timeline-section__heading, .episodes-section__heading, .comments-section__heading, .recommend-region__heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ice);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cast__heading::after, .synopsis__heading::after, .episode-status__heading::after, .details__heading::after, .timeline-section__heading::after, .episodes-section__heading::after, .comments-section__heading::after, .recommend-region__heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--ice-line-strong), transparent);
}
.cast__list {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 7px;
  align-items: start;
}
.cast-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas: "avatar name" "avatar role";
  align-items: center;
  gap: 2px 9px;
  padding: 6px 9px 6px 7px;
  border: 1px solid rgba(127, 216, 255, 0.14);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(127, 216, 255, 0.055), rgba(127, 216, 255, 0.012));
}
.cast-card__avatar {
  grid-area: avatar;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--ice-line-strong);
  box-shadow: 0 0 12px rgba(127, 216, 255, 0.16);
}
.cast-card__name {
  grid-area: name;
  font-size: 13.5px;
  font-weight: 700;
  color: #eef6ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-card__role {
  grid-area: role;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-faint);
}
.synopsis { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ice-line); }
.synopsis__paragraph {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--text-dim);
}
.synopsis__paragraph:first-of-type {
  margin-top: 9px;
  color: var(--text);
}
.synopsis__paragraph:first-of-type::first-letter {
  font-size: 200%;
  font-weight: 800;
  color: var(--bolt);
  line-height: 1;
  margin-right: 2px;
}
.episode-status { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ice-line); }
.episode-status__current, .episode-status__total {
  display: inline-block;
  margin-top: 9px;
  margin-right: 7px;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--ice-line);
}
.episode-status__current {
  color: var(--ink);
  background: linear-gradient(180deg, var(--bolt-soft), var(--bolt));
  border-color: var(--bolt);
}
.episode-status__total {
  color: var(--ice);
  background: rgba(127, 216, 255, 0.07);
}
.details { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ice-line); }
.details__list {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 4px 14px;
  align-items: start;
}
.details__item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(127, 216, 255, 0.14);
  min-width: 0;
}
.details__key {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--bronze);
}
.details__value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--text);
  text-align: right;
}
.timeline-section {
  margin-top: 16px;
  padding: 13px 15px 15px;
  border: 1px solid var(--ice-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 22, 38, 0.72), rgba(5, 12, 22, 0.62));
  box-shadow: inset 0 1px 0 rgba(127, 216, 255, 0.08);
}
.timeline {
  position: relative;
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px 16px;
  align-items: start;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice-line-strong) 8%, var(--ice-line-strong) 92%, transparent);
}
.timeline__node {
  position: relative;
  padding-top: 17px;
  min-width: 0;
}
.timeline__marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--ice);
  transform: rotate(45deg);
  box-shadow: 0 0 0 2px rgba(5, 10, 20, 0.95), 0 0 12px rgba(127, 216, 255, 0.8);
}
.timeline__timecode {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--bolt);
  font-variant-numeric: tabular-nums;
}
.timeline__label {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-dim);
}
.episodes-section {
  margin-top: 16px;
  padding: 13px 15px 15px;
  border: 1px solid var(--ice-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 22, 38, 0.72), rgba(5, 12, 22, 0.62));
}
.episode-card {
  margin-top: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(127, 216, 255, 0.18);
  border-left: 3px solid var(--bronze);
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(201, 146, 74, 0.10), rgba(127, 216, 255, 0.03) 42%, transparent);
}
.episode-card__title {
  font-size: 15px;
  font-weight: 800;
  color: #f2f8ff;
  letter-spacing: 0.01em;
}
.episode-card__summary {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 78ch;
}
.episode-card__duration {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bolt);
  border: 1px solid rgba(255, 210, 30, 0.4);
  border-radius: 999px;
  background: rgba(255, 210, 30, 0.07);
}
.comments-section {
  margin-top: 16px;
  padding: 13px 15px 15px;
  border: 1px solid var(--ice-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 22, 38, 0.72), rgba(5, 12, 22, 0.62));
}
.comments-grid {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  padding: 9px 11px;
  border: 1px solid rgba(127, 216, 255, 0.15);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(127, 216, 255, 0.05), rgba(127, 216, 255, 0.012));
}
.comment-card__nickname {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ice);
}
.comment-card__nickname::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--bolt);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.comment-card__text {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-dim);
}
.recommend-region {
  margin-top: 16px;
  padding: 13px 15px 15px;
  border: 1px solid var(--ice-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 22, 38, 0.72), rgba(5, 12, 22, 0.62));
}
.recommend-region__grid {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(127, 216, 255, 0.16);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(127, 216, 255, 0.05), rgba(127, 216, 255, 0.012));
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.recommend-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  background: #071120;
}
.recommend-card__name {
  font-size: 13px;
  font-weight: 700;
  color: #eef6ff;
  line-height: 1.3;
}
.recommend-card__blurb {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-faint);
}
.recommend-card:hover {
  border-color: var(--bolt);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55), 0 0 18px rgba(255, 210, 30, 0.18);
}
.recommend-card:hover .recommend-card__name { color: var(--bolt-soft); }
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 16px 20px 22px;
  border-top: 1px solid var(--ice-line);
  background: linear-gradient(180deg, rgba(5, 12, 22, 0.5), rgba(3, 7, 14, 0.92));
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 10px 22px;
  align-items: start;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
}
.site-footer__disclaimer {
  grid-column: 1 / -1;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(127, 216, 255, 0.12);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-faint);
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.site-footer__link {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ice);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.site-footer__link:hover {
  color: var(--bolt);
  border-bottom-color: var(--bolt);
}
.site-footer__friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
}
.site-footer__friends-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--bronze);
  text-transform: uppercase;
}
.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-faint);
  text-decoration: none;
  border-bottom: 1px dotted rgba(201, 146, 74, 0.4);
}
.runtime-friend-link:hover {
  color: var(--ice);
  border-bottom-color: var(--ice);
}
@media (max-width: 1080px) {.hero {
    grid-template-columns: minmax(0, 1fr);
  }
.hero__poster-wrap { width: min(100%, 210px); }}
@media (max-width: 860px) {.site-footer { grid-template-columns: minmax(0, 1fr); }
.comments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 620px) {.page-main { padding: 12px 12px 20px; }
.site-header { padding: 9px 12px; }
.site-footer { padding: 14px 12px 20px; }
.hero__info { padding: 13px 12px 15px; }
.cast__list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.details__list { grid-template-columns: minmax(0, 1fr); }
.details__value { text-align: left; }
.comments-grid { grid-template-columns: minmax(0, 1fr); }
.recommend-region__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.timeline { grid-template-columns: minmax(0, 1fr); }
.timeline::before { display: none; }
.timeline__node { padding-top: 0; padding-left: 17px; }
.timeline__marker { top: 5px; }}
@media (max-width: 420px) {.hero__poster-wrap { width: 100%; }
.player-range { width: 74px; }
.recommend-region__grid { grid-template-columns: minmax(0, 1fr); }
.cast__list { grid-template-columns: minmax(0, 1fr); }}
@media (prefers-reduced-motion: reduce) {* { transition: none !important; animation: none !important; }}

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}
