:root {
  --chalk: #e8e6df;
  --chalk-dim: #b9b6ab;
  --board: #1f2a24;
  --board-deep: #161d19;
  --ink: #10130f;
  --rust: #a83a24;
  --rust-hot: #c8482c;
  --tin: #2c332e;
  --tin-line: #3d453d;
  --paper: #d9d5c9;
  --serif: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--board-deep);
  color: var(--chalk);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, dl, dd, dt, figure, ol, ul, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #131a15 0%, #171f19 100%);
  border-bottom: 1px solid var(--tin-line);
  box-shadow: 0 2px 0 rgba(168, 58, 36, 0.28);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 7px 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.brand-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
a[data-contract="site-name"] {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--chalk);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--rust-hot);
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--chalk-dim);
  white-space: nowrap;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 9px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--chalk-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--tin-line);
  background: rgba(232, 230, 223, 0.03);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
a.runtime-category:hover {
  color: var(--chalk);
  border-color: var(--rust);
  background: rgba(168, 58, 36, 0.18);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 16px 26px;
}
.section-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--chalk);
  padding-left: 10px;
  border-left: 3px solid var(--rust);
  line-height: 1.2;
}
.section-sub {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--chalk-dim);
  margin: 4px 0 0 13px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-bottom: 16px;
}
.hero-media {
  position: relative;
  align-self: start;
}
.poster-frame {
  position: relative;
  display: block;
  background: var(--ink);
  border: 1px solid var(--tin-line);
  padding: 5px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.06);
}
.poster-caption {
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 5px;
  padding: 5px 8px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--chalk);
  background: rgba(16, 19, 15, 0.82);
  border-top: 2px solid var(--rust);
}
.hero-info {
  background: linear-gradient(160deg, #1c2620 0%, #141a16 100%);
  border: 1px solid var(--tin-line);
  padding: 12px 14px 14px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.hero-kicker {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--chalk-dim);
}
.hero-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  margin-top: 3px;
  color: var(--chalk);
}
.hero-tagline {
  font-size: 13px;
  color: var(--rust-hot);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.hero-score {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 9px;
  padding: 3px 10px 3px 8px;
  border-left: 3px solid var(--rust);
  background: rgba(168, 58, 36, 0.12);
}
.score-value {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  color: var(--rust-hot);
}
.score-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--chalk-dim);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}
a.btn-play, a.btn-ghost {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 6px 18px;
  text-decoration: none;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: background 0.15s ease, color 0.15s ease;
}
a.btn-play {
  background: var(--rust);
  color: #f4efe6;
}
a.btn-play:hover {
  background: var(--rust-hot);
  color: #fff;
}
a.btn-ghost {
  background: transparent;
  color: var(--chalk);
  border: 1px solid var(--chalk-dim);
}
a.btn-ghost:hover {
  border-color: var(--rust-hot);
  color: var(--rust-hot);
}
.hero-desc {
  margin-top: 11px;
  font-size: 13.5px;
  line-height: 1.72;
  color: #cfccc1;
  border-top: 1px solid var(--tin-line);
  padding-top: 9px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  margin-top: 11px;
  border-top: 1px solid var(--tin-line);
  padding-top: 8px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(61, 69, 61, 0.7);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--chalk-dim);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: #ddd9cd;
  word-break: break-word;
}
.episode-status {
  margin-top: 11px;
  padding: 8px 10px;
  background: rgba(168, 58, 36, 0.1);
  border-left: 3px solid var(--rust);
}
.status-line {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--chalk);
}
.status-current {
  color: var(--rust-hot);
  font-weight: 700;
}
.status-total {
  color: var(--chalk);
}
.status-note {
  font-size: 12px;
  color: var(--chalk-dim);
  margin-top: 2px;
}
.player-panel {
  background: #141a16;
  border: 1px solid var(--tin-line);
  padding: 10px 12px 12px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.panel-title {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--chalk);
  padding-left: 9px;
  border-left: 3px solid var(--rust);
  line-height: 1.2;
  margin-bottom: 8px;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid var(--tin-line);
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
}
.ctrl-btn {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: var(--tin);
  color: var(--chalk);
  border: 1px solid var(--tin-line);
  cursor: pointer;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
.ctrl-btn:hover {
  border-color: var(--rust);
  color: var(--rust-hot);
}
.ctrl-btn.is-active {
  background: var(--rust);
  border-color: var(--rust-hot);
  color: #f4efe6;
}
.ctrl-range {
  flex: 1 1 120px;
  min-width: 90px;
  height: 18px;
  background: transparent;
  cursor: pointer;
  accent-color: var(--rust-hot);
}
.player-controls .ctrl-range[data-player-action="volume"] {
  flex: 0 1 110px;
  min-width: 70px;
}
.cast {
  margin-top: 16px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 9px;
}
.cast-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  background: #1a221c;
  border: 1px solid var(--tin-line);
  padding: 8px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.cast-photo {
  width: 62px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--tin-line);
}
.cast-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}
.cast-text {
  min-width: 0;
}
.cast-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--chalk);
  line-height: 1.3;
}
.cast-role {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--rust-hot);
  line-height: 1.4;
  margin-top: 1px;
}
.cast-note {
  font-size: 12px;
  line-height: 1.55;
  color: #c2bfb4;
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.synopsis {
  margin-top: 16px;
}
.synopsis-body {
  margin-top: 9px;
  padding: 11px 13px;
  background: linear-gradient(180deg, #1b231d 0%, #151b17 100%);
  border: 1px solid var(--tin-line);
  border-left: 3px solid var(--rust);
  column-count: 2;
  column-gap: 20px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.78;
  color: #cfccc1;
  margin-bottom: 9px;
  break-inside: avoid;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.timeline {
  margin-top: 16px;
}
.timeline-track {
  margin-top: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--tin-line);
  scrollbar-color: var(--rust) #1a221c;
}
.timeline-track:focus-visible {
  outline: 1px solid var(--rust-hot);
  outline-offset: 2px;
}
.timeline-track::-webkit-scrollbar {
  height: 7px;
}
.timeline-track::-webkit-scrollbar-track {
  background: #1a221c;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--rust);
}
.timeline-list {
  display: flex;
  gap: 0;
  align-items: stretch;
  min-width: max-content;
}
.timeline-point {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding: 18px 12px 10px 14px;
  background: #1a221c;
  border-right: 1px solid var(--tin-line);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.timeline-tick {
  position: absolute;
  top: 0;
  left: 14px;
  width: 34px;
  height: 10px;
  background: var(--chalk-dim);
  transform: skewX(-28deg);
  opacity: 0.75;
}
.timeline-timecode {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--rust-hot);
}
.timeline-label {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: #cfccc1;
  margin-top: 4px;
}
.episodes {
  margin-top: 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 9px;
  align-items: start;
}
.episode-card {
  background: #1a221c;
  border: 1px solid var(--tin-line);
  padding: 8px 10px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.episode-number {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--chalk-dim);
}
.episode-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  color: var(--chalk);
  line-height: 1.36;
  margin-top: 2px;
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8f8c82;
  margin-top: 3px;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: #c2bfb4;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dashed rgba(61, 69, 61, 0.8);
}
.episode-card-active {
  background: linear-gradient(160deg, #33231d 0%, #241a16 100%);
  border-color: var(--rust);
  border-left: 3px solid var(--rust-hot);
}
.episode-card-active .episode-number {
  color: var(--rust-hot);
  font-weight: 700;
}
.episode-card-active .episode-title {
  color: #f2e9dd;
}
.episode-card-active .episode-summary {
  display: block;
  color: #ddd6c8;
  border-top-color: rgba(168, 58, 36, 0.5);
}
.comments {
  margin-top: 16px;
}
.comment-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 9px;
  align-items: start;
}
.comment-note {
  background: var(--paper);
  color: #241f18;
  padding: 9px 11px 8px;
  border-left: 3px solid var(--rust);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.42);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.comment-board .comment-note:nth-child(2n) {
  transform: rotate(-0.5deg);
}
.comment-board .comment-note:nth-child(2n + 1) {
  transform: rotate(0.55deg);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.68;
  color: #2b251d;
}
.comment-author {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--rust);
}
.comment-author::before {
  content: "—— ";
  color: #8a8577;
}
.recommend-region {
  margin-top: 16px;
}
.recommend-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--rust-hot);
  padding-left: 8px;
  border-left: 2px solid var(--rust);
  line-height: 1.2;
}
.recommend-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 8px;
  align-items: start;
}
.recommend-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: stretch;
}
a.recommend-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-areas:
    "thumb name"
    "thumb blurb";
  column-gap: 9px;
  row-gap: 1px;
  align-items: start;
  padding: 6px;
  background: #1a221c;
  border: 1px solid var(--tin-line);
  color: var(--chalk);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
a.recommend-item:hover {
  border-color: var(--rust);
  background: #212b23;
}
[data-runtime="recommendation"] img {
  grid-area: thumb;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  background: var(--ink);
  border: 1px solid var(--tin-line);
  filter: saturate(0.82) contrast(1.05);
}
[data-runtime="recommendation"] .recommend-name {
  grid-area: name;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: var(--chalk);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] .recommend-blurb {
  grid-area: blurb;
  font-size: 11.5px;
  line-height: 1.55;
  color: #b6b3a8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 22px;
  background: #121814;
  border-top: 1px solid var(--tin-line);
  box-shadow: inset 0 2px 0 rgba(168, 58, 36, 0.22);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 10px 24px;
  align-items: start;
}
.footer-disclaimer {
  grid-column: 1 / -1;
  font-size: 11.5px;
  line-height: 1.66;
  color: #8f8c82;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--chalk-dim);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--rust-hot);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  min-width: 0;
}
.friend-links-title {
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--rust-hot);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #9d9a90;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--chalk);
  text-decoration: underline;
}
.footer-note {
  grid-column: 1 / -1;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #6e6c64;
  border-top: 1px solid var(--tin-line);
  padding-top: 8px;
}
.player {
  position: relative;
}
.player .play, .player .input, .player .progress, .player .volume, .player .speed, .player .timeupdate, .player .click, .player .mute, .player .pip, .player .fullscreen, .player .theater, .player .light, .player .is-active {
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.player-controls .play, .player-controls .input, .player-controls .progress, .player-controls .volume, .player-controls .speed, .player-controls .timeupdate, .player-controls .click, .player-controls .mute, .player-controls .pip, .player-controls .fullscreen, .player-controls .theater, .player-controls .light {
  border-color: var(--rust);
  color: var(--rust-hot);
}
.player-controls .is-active {
  background: var(--rust);
  border-color: var(--rust-hot);
  color: #f4efe6;
}
body.lights-off {
  background: #080b08;
}
body.lights-off .player-panel {
  box-shadow: 0 0 0 1px var(--rust), 0 0 24px rgba(200, 72, 44, 0.28);
}
body.theater-mode .page-main {
  max-width: 100%;
}
body.theater-mode .player-panel {
  border-color: var(--rust);
}
body.theater-mode .hero-media, body.theater-mode .hero-info {
  opacity: 0.55;
}
.player-shell:fullscreen, .player-shell.fullscreen {
  width: 100%;
  height: 100%;
  background: #000;
}
.player-shell:fullscreen video, .player-shell.fullscreen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 760px) {.hero {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    grid-template-areas:
      "media info"
      "player player"
      "cast cast";
    gap: 12px;
  }
.hero-media {
    grid-area: media;
  }
.hero-info {
    grid-area: info;
  }
.player-panel {
    grid-area: player;
  }
.cast {
    grid-area: cast;
  }
.hero-title {
    font-size: 32px;
  }
.detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (min-width: 1000px) {.hero {
    grid-template-columns: minmax(0, 330px) minmax(0, 1fr) minmax(0, 340px);
    grid-template-areas:
      "media info player"
      "media info cast";
    align-items: start;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.hero-title {
    font-size: 34px;
  }}
@media (max-width: 1000px) {.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {body {
    font-size: 14px;
  }
.header-inner {
    padding: 6px 12px;
  }
.brand-sub {
    display: none;
  }
.category-bar {
    margin-left: 0;
    width: 100%;
  }
.page-main {
    padding: 8px 12px 20px;
  }
.hero-title {
    font-size: 24px;
  }
.cast-list, .episode-grid, .recommend-columns, .comment-board {
    grid-template-columns: minmax(0, 1fr);
  }
.synopsis-body {
    column-count: 1;
  }
.footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-score {
    margin-top: 7px;
  }}
@media (max-width: 420px) {.detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-title {
    font-size: 22px;
  }
.player-controls {
    gap: 5px;
  }
.ctrl-btn {
    padding: 4px 8px;
    font-size: 11.5px;
  }}

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}
