*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, figure, dl, dd, ol, ul {
  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: #05080f;
  --deep: #0a1220;
  --deep-2: #0e1a2e;
  --panel: #101c30;
  --panel-2: #142338;
  --line: rgba(198, 162, 92, 0.22);
  --gold: #d9b168;
  --gold-dim: #b08c46;
  --gold-bright: #f0cf8a;
  --cold: #7c93ad;
  --cold-dim: #5a7089;
  --text: #d7dee8;
  --text-soft: #97a6b8;
  --text-faint: #6d7d92;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
}
html {
  background: var(--ink);
}
body {
  min-height: 100%;
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(28, 48, 82, 0.55) 0%, rgba(5, 8, 15, 0) 55%),
    radial-gradient(90% 60% at 90% 12%, rgba(217, 177, 104, 0.09) 0%, rgba(5, 8, 15, 0) 60%),
    linear-gradient(180deg, #060a12 0%, #070d18 40%, #05080f 100%);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.96), rgba(5, 8, 15, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 9px 22px;
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(240, 207, 138, 0.28);
}
a[data-contract="site-name"]:hover {
  color: #fff;
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 11px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  text-decoration: none;
  border: 1px solid rgba(124, 147, 173, 0.28);
  border-radius: 2px;
  background: rgba(20, 35, 56, 0.5);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: rgba(217, 177, 104, 0.6);
  background: rgba(217, 177, 104, 0.08);
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 18px;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  grid-template-areas: "poster copy";
  gap: 0 26px;
  align-items: start;
  padding: 26px 0 30px;
  isolation: isolate;
}
.poster-frame {
  grid-area: poster;
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0;
  border: 1px solid rgba(217, 177, 104, 0.28);
  box-shadow:
    0 0 0 1px rgba(5, 8, 15, 0.9),
    0 22px 50px -20px rgba(0, 0, 0, 0.9),
    0 0 60px -30px rgba(217, 177, 104, 0.5);
  overflow: hidden;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06) brightness(0.9);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 15, 0) 45%, rgba(5, 8, 15, 0.62) 100%),
    linear-gradient(105deg, rgba(217, 177, 104, 0.16) 0%, rgba(5, 8, 15, 0) 42%);
  pointer-events: none;
}
.hero-veil {
  position: absolute;
  inset: -26px -22px -30px;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 22% 42%, rgba(43, 74, 122, 0.42) 0%, rgba(5, 8, 15, 0) 68%),
    repeating-linear-gradient(
      118deg,
      rgba(217, 177, 104, 0.055) 0px,
      rgba(217, 177, 104, 0.055) 1px,
      rgba(5, 8, 15, 0) 1px,
      rgba(5, 8, 15, 0) 26px
    );
  pointer-events: none;
}
.hero-copy {
  grid-area: copy;
  align-self: end;
  padding-bottom: 6px;
  min-width: 0;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(28px, 5.2vw, 62px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #f2f6fb;
  text-shadow:
    0 0 26px rgba(217, 177, 104, 0.22),
    0 2px 0 rgba(5, 8, 15, 0.7);
}
.hero-tagline {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: 0.3em;
  color: var(--gold);
  border-left: 2px solid var(--gold-dim);
  padding-left: 12px;
}
.hero-roster {
  position: absolute;
  top: 26px;
  right: 0;
  z-index: 2;
  width: max-content;
  max-width: 130px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.roster-heading {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.42em;
  color: var(--gold-dim);
  writing-mode: vertical-rl;
  text-orientation: upright;
}
.roster-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.roster-item {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-soft);
  white-space: nowrap;
}
.roster-item:nth-child(2n) {
  color: var(--cold);
}
.player-panel {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #091324, #060b16);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(217, 177, 104, 0.45);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.player-panel video {
  display: block;
  width: 100%;
  background: #000;
  border: 1px solid rgba(124, 147, 173, 0.2);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 4px 11px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  background: rgba(20, 35, 56, 0.8);
  border: 1px solid rgba(124, 147, 173, 0.24);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.ctrl-btn:hover {
  color: var(--gold-bright);
  border-color: rgba(217, 177, 104, 0.55);
  background: rgba(217, 177, 104, 0.1);
}
.ctrl-btn.is-on {
  color: #06101e;
  background: var(--gold);
  border-color: var(--gold-bright);
}
.ctrl-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, rgba(217, 177, 104, 0.7), rgba(124, 147, 173, 0.25));
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 1px solid #06101e;
  box-shadow: 0 0 8px rgba(240, 207, 138, 0.7);
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #06101e;
  border-radius: 50%;
  background: var(--gold-bright);
}
.player-panel.is-theater {
  box-shadow: 0 0 0 1px rgba(217, 177, 104, 0.5), 0 0 70px -20px rgba(217, 177, 104, 0.55);
}
.player-panel.is-dark video {
  filter: brightness(0.62) contrast(1.1);
}
body.lights-off .page-main > :not(.hero-shell) {
  opacity: 0.72;
}
body.theater-mode .player-panel {
  border-color: rgba(217, 177, 104, 0.6);
}
.panel-heading {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--gold);
  padding-bottom: 7px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.panel-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 1px;
  background: var(--gold-bright);
}
.synopsis-panel, .details-panel, .timeline-panel, .episodes-panel, .cast-panel, .comments-panel, .recommend-region {
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(16, 28, 48, 0.72), rgba(9, 16, 30, 0.72));
  border: 1px solid rgba(124, 147, 173, 0.14);
}
.synopsis-lead {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #e6ecf4;
  padding-left: 12px;
  border-left: 2px solid rgba(217, 177, 104, 0.5);
  margin-bottom: 12px;
}
.synopsis-body {
  columns: 2;
  column-gap: 26px;
  column-rule: 1px solid rgba(124, 147, 173, 0.16);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--text-soft);
  margin-bottom: 9px;
  break-inside: avoid;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(124, 147, 173, 0.18);
}
.detail-key {
  flex: 0 0 5.4em;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cold);
}
.detail-value {
  font-size: 12.5px;
  color: #dfe6ef;
  letter-spacing: 0.03em;
}
.episode-status {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 11px 16px;
  background: linear-gradient(90deg, rgba(217, 177, 104, 0.12), rgba(9, 16, 30, 0.5) 60%);
  border: 1px solid rgba(217, 177, 104, 0.26);
}
.status-line {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gold-bright);
}
.status-meter {
  position: relative;
  width: 100%;
  height: 3px;
  background: rgba(124, 147, 173, 0.22);
  overflow: hidden;
}
.meter-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright));
  box-shadow: 0 0 10px rgba(240, 207, 138, 0.6);
}
.cast-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(217, 177, 104, 0.45) rgba(124, 147, 173, 0.14);
  scrollbar-width: thin;
}
.cast-rail::-webkit-scrollbar {
  height: 5px;
}
.cast-rail::-webkit-scrollbar-track {
  background: rgba(124, 147, 173, 0.12);
}
.cast-rail::-webkit-scrollbar-thumb {
  background: rgba(217, 177, 104, 0.5);
}
.cast-card {
  flex: 0 0 178px;
  scroll-snap-align: start;
  padding: 10px 11px;
  background: rgba(20, 35, 56, 0.55);
  border: 1px solid rgba(124, 147, 173, 0.16);
  border-top: 1px solid rgba(217, 177, 104, 0.38);
}
.cast-name {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--gold-bright);
  margin-bottom: 6px;
}
.cast-role {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-soft);
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  padding-left: 14px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, rgba(217, 177, 104, 0.75), rgba(217, 177, 104, 0.08));
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 4.4em minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 7px 0 7px 14px;
  border-bottom: 1px dashed rgba(124, 147, 173, 0.16);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(217, 177, 104, 0.8);
}
.timeline-code {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold-dim);
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-soft);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 10px 10px;
  background: linear-gradient(180deg, rgba(20, 35, 56, 0.6), rgba(10, 18, 32, 0.6));
  border: 1px solid rgba(124, 147, 173, 0.14);
  border-left: 2px solid rgba(217, 177, 104, 0.34);
  transition: border-color 0.18s, background 0.18s;
}
.episode-card:hover {
  border-left-color: var(--gold-bright);
  border-color: rgba(217, 177, 104, 0.42);
  background: linear-gradient(180deg, rgba(30, 48, 74, 0.72), rgba(12, 21, 37, 0.72));
}
.episode-number {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold-dim);
}
.episode-title {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #e8eef6;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--text-faint);
}
.episode-duration {
  align-self: flex-start;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  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;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  align-items: start;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-card {
  padding: 9px 11px;
  background: rgba(13, 23, 40, 0.66);
  border: 1px solid rgba(124, 147, 173, 0.14);
  border-left: 2px solid rgba(124, 147, 173, 0.3);
}
.comment-card:nth-child(2n) {
  border-left-color: rgba(217, 177, 104, 0.4);
  background: rgba(16, 27, 46, 0.7);
}
.comment-nickname {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.66;
  font-weight: 400;
  color: var(--text-soft);
}
.recommend-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px 7px 9px;
  text-decoration: none;
  color: var(--text);
  background: rgba(13, 23, 40, 0.7);
  border: 1px solid rgba(124, 147, 173, 0.16);
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
a.recommend-card:hover {
  border-color: rgba(217, 177, 104, 0.55);
  background: rgba(20, 34, 56, 0.86);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.88);
  border: 1px solid rgba(124, 147, 173, 0.16);
}
a.recommend-card:hover img {
  filter: saturate(1) brightness(1);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: #e6ecf4;
  line-height: 1.4;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 22px;
  padding: 18px 22px 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 16, 30, 0.4), rgba(5, 8, 15, 0.9));
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: 14px 30px;
  align-items: start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 177, 104, 0.32);
  padding-bottom: 2px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}
.friend-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--cold-dim);
}
.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  grid-column: 1 / -1;
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-faint);
  padding-top: 10px;
  border-top: 1px dashed rgba(124, 147, 173, 0.16);
}
@media (max-width: 1080px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.page-main {
    padding: 0 14px 0;
  }
.header-inner {
    padding: 8px 14px;
  }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "copy";
    gap: 18px;
    padding: 18px 0 22px;
  }
.poster-frame {
    max-width: 220px;
  }
.hero-roster {
    position: static;
    width: auto;
    max-width: none;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding-left: 0;
    border-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
.roster-heading {
    writing-mode: horizontal-tb;
    letter-spacing: 0.3em;
  }
.roster-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px 12px;
  }
.synopsis-body {
    columns: 1;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.recommend-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 540px) {body {
    font-size: 12.5px;
  }
.page-main {
    padding: 0 10px 0;
    gap: 10px;
  }
.header-inner {
    padding: 7px 10px;
    gap: 10px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
    letter-spacing: 0.26em;
  }
.category-strip {
    gap: 5px 6px;
  }
a.runtime-category {
    padding: 2px 8px;
    font-size: 11px;
  }
.synopsis-panel, .details-panel, .timeline-panel, .episodes-panel, .cast-panel, .comments-panel, .recommend-region {
    padding: 11px 11px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-band {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-card {
    flex: 0 0 150px;
  }
.player-controls {
    gap: 5px;
  }
.ctrl-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
.ctrl-range {
    flex: 1 1 100%;
    order: 5;
  }
.footer-inner {
    gap: 12px;
  }}

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}
