:root {
  --ink: #0d0e0e;
  --coal: #141617;
  --cement: #1d2022;
  --cement-2: #23272a;
  --steel: #353b3f;
  --steel-line: #3f4549;
  --dust: #8d949a;
  --dust-dim: #6a7176;
  --paper: #d9d7d0;
  --paper-bright: #f0eee7;
  --lamp: #e8b23c;
  --lamp-deep: #c48a1f;
  --lamp-soft: rgba(232, 178, 60, 0.14);
  --gap: 12px;
  --pad: 12px;
  --song: "Songti SC", "Noto Serif SC", "SimSun", "STSong", serif;
  --hei: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --kai: "Kaiti SC", "STKaiti", "KaiTi", "Noto Serif SC", cursive;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}
body {
  background:
    radial-gradient(120% 60% at 50% 0%, #1a1c1e 0%, #101213 55%, #0b0c0d 100%);
  color: var(--paper);
  font-family: var(--hei);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100%;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol, dl {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #101112 0%, #141617 100%);
  border-bottom: 1px solid var(--steel-line);
  box-shadow: 0 1px 0 rgba(232, 178, 60, 0.06);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 8px 14px;
  max-width: 1280px;
  margin: 0 auto;
}
.site-logo {
  font-family: var(--song);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: var(--paper-bright);
  white-space: nowrap;
  border-left: 3px solid var(--lamp);
  padding-left: 8px;
  line-height: 1.2;
}
a[data-contract="site-name"] {
  color: var(--paper-bright);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--lamp);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1;
  padding: 6px 9px;
  color: var(--dust);
  text-decoration: none;
  border: 1px solid var(--steel-line);
  background: #191c1e;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #16181a;
  background: var(--lamp);
  border-color: var(--lamp);
}
.page-main {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--gap) 14px 24px;
}
.page-main > section {
  margin-bottom: var(--gap);
}
.hero-stage {
  position: relative;
  padding: 0 0 26px;
  margin-bottom: 26px !important;
}
.hero-player {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid var(--steel-line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.player-frame {
  display: block;
  width: 100%;
  background: #000;
  filter: saturate(0.86) contrast(1.06) brightness(0.86);
}
.hero-player.theater-mode {
  box-shadow: 0 0 0 2px var(--lamp-deep), 0 24px 60px rgba(0, 0, 0, 0.75);
}
body.lights-off .site-header, body.lights-off .site-footer, body.lights-off .page-main > section:not(.hero-stage) {
  opacity: 0.12;
  filter: brightness(0.4);
  transition: opacity 0.25s;
}
body.lights-off .hero-stage {
  position: relative;
  z-index: 5;
}
.player-console {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px var(--gap);
  padding: 8px 10px;
  background: linear-gradient(180deg, #1a1d1f 0%, #141718 100%);
  border-top: 1px solid var(--steel-line);
}
.ctl {
  appearance: none;
  border: 1px solid var(--steel-line);
  background: #202426;
  color: var(--dust);
  font-size: 12px;
  line-height: 1;
  padding: 7px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.ctl:hover {
  color: var(--lamp);
  border-color: var(--lamp-deep);
}
.ctl.is-active, .ctl.play.is-active, .ctl.mute.is-active, .ctl.light.is-active, .ctl.theater.is-active {
  background: var(--lamp);
  border-color: var(--lamp);
  color: #17190f;
}
.ctl-play {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.ctl-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.ctl-label {
  font-size: 11px;
  color: var(--dust-dim);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.ctl-range {
  appearance: none;
  -webkit-appearance: none;
  width: 96px;
  height: 3px;
  background: var(--steel);
  border-radius: 0;
  cursor: pointer;
  outline: none;
}
.ctl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lamp);
  border: none;
  cursor: pointer;
}
.ctl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--lamp);
  cursor: pointer;
}
.ctl-range.progress, .ctl-range.volume, .ctl-range.timeupdate {
  accent-color: var(--lamp);
}
.ctl-select {
  appearance: none;
  -webkit-appearance: none;
  background: #202426;
  border: 1px solid var(--steel-line);
  color: var(--dust);
  font-size: 12px;
  padding: 6px 8px;
  cursor: pointer;
}
.ctl-select:hover {
  color: var(--lamp);
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0 0 26px 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 9, 10, 0.55) 0%, rgba(8, 9, 10, 0) 34%, rgba(8, 9, 10, 0.72) 100%);
}
.hero-title, .hero-tagline {
  position: relative;
  z-index: 2;
}
.synopsis-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  grid-template-areas:
    "poster head"
    "poster syn"
    "poster status"
    "poster cast"
    "poster details";
  gap: var(--gap) 18px;
  align-content: start;
  align-items: start;
  background: linear-gradient(180deg, #191c1e 0%, #15181a 100%);
  border: 1px solid var(--steel-line);
  padding: 14px;
}
.overview-poster {
  grid-area: poster;
  align-self: start;
  width: 100%;
  border: 1px solid #2c3134;
  background: #0a0b0c;
  overflow: hidden;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(0.5) contrast(1.1) brightness(0.82);
  transition: filter 0.3s;
}
.overview-poster:hover .hero-poster {
  filter: grayscale(0.15) contrast(1.08) brightness(0.95) sepia(0.14);
}
.block-head {
  grid-area: head;
  min-width: 0;
  border-bottom: 1px solid var(--steel-line);
  padding-bottom: 8px;
  margin-bottom: 2px;
}
.hero-title {
  font-family: var(--song);
  font-weight: 700;
  font-size: clamp(24px, 4.6vw, 40px);
  line-height: 1.05;
  letter-spacing: 0.06em;
  color: var(--paper-bright);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}
.hero-tagline {
  font-family: var(--song);
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 0.34em;
  color: var(--lamp);
  margin-top: 6px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}
.block-note {
  font-size: 12px;
  color: var(--dust-dim);
  margin-top: 6px;
  line-height: 1.6;
}
.synopsis-grid {
  grid-area: syn;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px var(--gap);
  align-items: start;
}
.synopsis-text {
  font-size: 13px;
  color: var(--dust);
  line-height: 1.75;
  text-align: justify;
}
.synopsis-text:first-child {
  color: var(--paper);
}
.status-strip {
  grid-area: status;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--steel-line);
  border: 1px solid var(--steel-line);
  align-items: stretch;
}
.status-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #191d1f;
  padding: 7px 9px;
  min-width: 0;
}
.status-key {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--dust-dim);
}
.status-value {
  font-family: var(--song);
  font-size: 14px;
  color: var(--lamp);
  letter-spacing: 0.04em;
}
.cast-block {
  grid-area: cast;
  min-width: 0;
}
.details-block {
  grid-area: details;
  min-width: 0;
}
.sub-title {
  font-family: var(--song);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--paper);
  padding-left: 8px;
  border-left: 3px solid var(--lamp);
  margin-bottom: 8px;
  line-height: 1.2;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 7px 4px;
  background: #1c2022;
  border: 1px solid #2b3033;
  min-width: 0;
}
.cast-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #565c60 0%, #2e3336 58%, #1a1d1f 100%);
  box-shadow: inset 0 0 0 1px #454b4f, inset 0 -8px 14px rgba(0, 0, 0, 0.55);
  filter: sepia(0.45) grayscale(0.4) contrast(1.08);
  position: relative;
  flex: 0 0 auto;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(200deg, rgba(232, 178, 60, 0.16), rgba(0, 0, 0, 0.4));
}
.cast-name {
  font-size: 12px;
  color: var(--dust);
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.cast-card:hover .cast-name {
  color: var(--lamp);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--steel-line);
  border: 1px solid var(--steel-line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: #191d1f;
  padding: 6px 9px;
  min-width: 0;
}
.detail-key {
  font-size: 11px;
  color: var(--dust-dim);
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-value {
  font-size: 12px;
  color: var(--paper);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-block {
  background: linear-gradient(180deg, #171a1c 0%, #131618 100%);
  border: 1px solid var(--steel-line);
  padding: 12px;
}
.timeline-block .block-head {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 10px;
}
.block-title {
  font-family: var(--song);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--paper-bright);
  line-height: 1.1;
  padding-left: 10px;
  border-left: 4px solid var(--lamp);
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 1fr);
  gap: 1px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 16px 0 8px;
  background:
    linear-gradient(180deg, transparent 0, transparent 26px, var(--steel-line) 26px, var(--steel-line) 27px, transparent 27px);
  scrollbar-width: thin;
  scrollbar-color: var(--steel) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--steel);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 10px;
  min-width: 0;
  align-items: flex-start;
}
.node-lamp {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #6d7176 0%, #3a3f42 60%, #22262a 100%);
  box-shadow: inset 0 0 0 1px #565c60;
  flex: 0 0 auto;
}
.timeline-node.is-current .node-lamp {
  background: radial-gradient(circle at 36% 32%, #ffe9a8 0%, var(--lamp) 48%, var(--lamp-deep) 100%);
  box-shadow: 0 0 0 3px rgba(232, 178, 60, 0.16), 0 0 16px 3px rgba(232, 178, 60, 0.42);
}
.node-timecode {
  font-family: var(--song);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dust-dim);
}
.timeline-node.is-current .node-timecode {
  color: var(--lamp);
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--dust);
  overflow-wrap: anywhere;
}
.timeline-node.is-current .node-label {
  color: var(--paper-bright);
}
.timeline-node.is-current::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  bottom: -4px;
  background: var(--lamp-soft);
  border-top: 1px solid var(--lamp-deep);
  z-index: -1;
}
.episodes-block {
  background: linear-gradient(180deg, #171a1c 0%, #131618 100%);
  border: 1px solid var(--steel-line);
  padding: 12px;
}
.episodes-block .block-head {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 10px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--steel-line);
  border: 1px solid var(--steel-line);
  align-items: start;
}
.episode-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  background: #191d1f;
  padding: 9px 10px;
  min-width: 0;
  position: relative;
}
.episode-item:hover {
  background: #1e2325;
}
.episode-number {
  font-family: var(--song);
  font-weight: 700;
  font-size: 26px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--steel-line);
  text-stroke: 1px var(--steel-line);
  white-space: nowrap;
  padding-top: 2px;
}
.episode-item.is-current .episode-number {
  color: transparent;
  -webkit-text-stroke: 1px var(--lamp);
  text-shadow: 0 0 18px rgba(232, 178, 60, 0.35);
}
.episode-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.episode-title {
  font-family: var(--song);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper-bright);
  line-height: 1.3;
}
.episode-item.is-current .episode-title {
  color: var(--lamp);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.65;
  color: var(--dust-dim);
  overflow-wrap: anywhere;
}
.episode-duration {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #565d62;
}
.episode-item.is-current {
  background: #22262a;
  box-shadow: inset 3px 0 0 var(--lamp);
}
.comments-block {
  background: linear-gradient(180deg, #171a1c 0%, #131618 100%);
  border: 1px solid var(--steel-line);
  padding: 12px;
}
.comments-block .block-head {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 10px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}
.comment-item {
  background: #1b1f21;
  border: 1px solid #2b3033;
  border-left: 2px solid var(--steel);
  padding: 8px 10px;
  min-width: 0;
}
.comment-item:hover {
  border-left-color: var(--lamp);
}
.comment-nickname {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--lamp);
  margin-bottom: 3px;
}
.comment-text {
  font-family: var(--kai);
  font-size: 14px;
  line-height: 1.8;
  color: var(--dust);
  overflow-wrap: anywhere;
}
.rec-region {
  background: linear-gradient(180deg, #171a1c 0%, #131618 100%);
  border: 1px solid var(--steel-line);
  padding: 12px;
}
.rec-title {
  display: inline-block;
  font-family: var(--song);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #141617;
  background: var(--paper);
  padding: 4px 10px;
  margin-bottom: 10px;
  line-height: 1.2;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: inherit;
  text-decoration: none;
  background: #1b1f21;
  border: 1px solid #2b3033;
  padding: 6px;
  min-width: 0;
  transition: border-color 0.15s, transform 0.15s;
}
a.rec-item:hover {
  border-color: var(--lamp);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: #0a0b0c;
  filter: grayscale(0.45) contrast(1.08) brightness(0.86);
}
[data-runtime="recommendation"]:hover img {
  filter: grayscale(0.1) contrast(1.06) brightness(1) sepia(0.12);
}
.rec-pic {
  display: block;
}
.rec-name {
  font-family: var(--song);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper-bright);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.rec-item:hover .rec-name {
  color: var(--lamp);
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.6;
  color: var(--dust-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-region[data-recommendation-region="3"] .rec-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.site-footer {
  border-top: 1px solid var(--steel-line);
  background: #101213;
  padding: 14px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--dust-dim);
  max-width: 70ch;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--dust);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--lamp);
  border-bottom-color: var(--lamp);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  border-top: 1px solid #24282b;
  padding-top: 9px;
  min-width: 0;
}
.friend-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #565d62;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #767d82;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--lamp);
  text-decoration: underline;
}
.player.change, .player.click, .player.input, .player.timeupdate, .player.volume, .player.progress, .player.speed, .player.pause, .player.play, .player.mute, .player.pip, .player.fullscreen, .player.theater, .player.light {
  transition: opacity 0.2s;
}
.player-frame.pause {
  opacity: 0.92;
}
@media (max-width: 1080px) {.episode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.rec-region[data-recommendation-region="3"] .rec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.synopsis-block {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "head"
      "syn"
      "status"
      "cast"
      "details";
    gap: var(--gap);
  }
.overview-poster {
    width: min(220px, 60%);
  }
.cast-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
.rec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.synopsis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.header-bar {
    padding: 7px 10px;
  }
.site-logo {
    font-size: 16px;
  }
.page-main {
    padding: 10px 10px 20px;
  }
.synopsis-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.status-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid, .rec-region[data-recommendation-region="3"] .rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.ctl-range {
    width: 78px;
  }
.hero-stage {
    padding-bottom: 18px;
    margin-bottom: 18px !important;
  }}
@media (max-width: 480px) {.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid, .rec-region[data-recommendation-region="3"] .rec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.player-console {
    gap: 5px 8px;
  }
.ctl {
    padding: 6px 8px;
  }
.ctl-field {
    flex: 1 1 auto;
  }
.ctl-range {
    width: 100%;
  }
.episode-number {
    font-size: 22px;
  }}

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}
