*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  background-color: #1c2530;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 4px),
    linear-gradient(160deg, #1e2833 0%, #1a222c 45%, #161d26 100%);
  color: #d6dde4;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: #c3ccd6; text-decoration: none; }
button, input { font: inherit; color: inherit; }
ul, ol, dl { list-style: none; }
h1, h2, h3 {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", "STSong", serif;
  font-weight: 700;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 27, 35, 0.92);
  border-bottom: 1px solid #2b3947;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 7px 14px;
}
a[data-contract="site-name"] {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #eef3f8;
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid #9e2b2b;
  padding-left: 8px;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  color: #a9b6c4;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #33424f;
  background: #1b242e;
}
a.runtime-category:hover {
  color: #f0f4f8;
  border-color: #9e2b2b;
  background: #232f3b;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.block-title {
  font-size: 14px;
  letter-spacing: 0.16em;
  color: #eaf0f6;
  padding-left: 9px;
  border-left: 3px solid #9e2b2b;
  margin-bottom: 8px;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(42,54,67,0.55) 0%, rgba(28,37,47,0.55) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 5px);
  border: 1px solid #2c3a48;
  padding: 14px;
}
.hero-figure {
  position: relative;
  align-self: start;
}
.poster-frame {
  position: relative;
  z-index: 2;
  border: 1px solid #3a4a59;
  background: #12181f;
  box-shadow: 0 10px 26px rgba(0,0,0,0.55);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.92);
}
.hero-shadow {
  position: absolute;
  inset: 18px -18px -18px 22px;
  z-index: 1;
  background: linear-gradient(135deg, rgba(158,43,43,0.22), rgba(0,0,0,0) 62%);
  border: 1px solid rgba(158,43,43,0.28);
  pointer-events: none;
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-tagline {
  font-size: 12px;
  color: #b6a06a;
  letter-spacing: 0.18em;
  padding-bottom: 5px;
  border-bottom: 1px dashed #3a4a59;
}
.hero-title {
  font-size: 26px;
  color: #f2f6fa;
  letter-spacing: 0.06em;
}
.hero-desc {
  font-size: 12.5px;
  line-height: 1.62;
  color: #9fadbb;
  max-width: 68ch;
}
.player-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  border: 1px solid #33424f;
  background: #0e1319;
  padding: 6px;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #05080b;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #2b3947;
}
.ctl-btn {
  cursor: pointer;
  padding: 3px 8px;
  font-size: 11.5px;
  color: #cdd7e0;
  background: #202b36;
  border: 1px solid #38485a;
  line-height: 1.4;
}
.ctl-btn:hover {
  color: #fff;
  border-color: #9e2b2b;
  background: #2a3644;
}
.ctl-progress {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 130px;
  min-width: 90px;
  height: 4px;
  background: #38485a;
  cursor: pointer;
}
.ctl-volume {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 1 74px;
  min-width: 60px;
  height: 4px;
  background: #38485a;
  cursor: pointer;
}
.ctl-progress::-webkit-slider-thumb, .ctl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  background: #c0392b;
  border-radius: 50%;
  border: 1px solid #7d1f1f;
}
.ctl-progress::-moz-range-thumb, .ctl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: #c0392b;
  border: 1px solid #7d1f1f;
  border-radius: 50%;
}
.player-shell.is-playing .ctl-btn { border-color: #4a5c70; }
.player-shell.is-muted .ctl-volume { background: #5a2a2a; }
.player-shell.is-theater {
  background: #080b0f;
  border-color: #9e2b2b;
}
.player-shell.is-lights-off video { filter: brightness(0.42); }
.player-shell.is-fullscreen { background: #000; }
.player .play, .player .pause, .player .mute, .player .pip, .player .fullscreen, .player .theater, .player .light, .player .progress, .player .volume, .player .speed, .player .timeupdate, .player .input, .player .click { display: none; }
.cast-block { margin-top: 4px; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  background: linear-gradient(180deg, #263140 0%, #1d2733 100%);
  border: 1px solid #303e4c;
  border-left: 2px solid #4a5c70;
}
.cast-card:nth-child(even) { background: linear-gradient(180deg, #1f2935 0%, #182029 100%); }
.cast-name {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #eef3f8;
  letter-spacing: 0.05em;
}
.cast-role {
  font-size: 11.5px;
  color: #8f9dab;
  line-height: 1.35;
}
.synopsis-block { margin-top: 2px; }
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 6px 16px;
}
.synopsis-p {
  font-size: 12.5px;
  line-height: 1.62;
  color: #9fadbb;
  padding-left: 8px;
  border-left: 1px solid #2f3d4b;
}
.status-block { margin-top: 2px; }
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 10px;
  background: #202b36;
  border: 1px solid #303e4c;
}
.status-key {
  font-size: 11.5px;
  color: #8593a1;
  letter-spacing: 0.08em;
}
.status-val {
  font-size: 12.5px;
  color: #e6edf3;
  font-weight: 700;
}
.details-block { margin-top: 2px; }
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 1px;
  background: #2b3947;
  border: 1px solid #2b3947;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 8px;
  background: #1d2732;
}
.detail-key {
  font-size: 11px;
  color: #8593a1;
  flex: 0 0 auto;
  letter-spacing: 0.06em;
}
.detail-key::after { content: ""; }
.detail-val {
  font-size: 12px;
  color: #dbe3ea;
  min-width: 0;
  overflow-wrap: anywhere;
}
.detail-item .detail-val:last-child { color: #dbe3ea; }
.detail-item:nth-child(8) .detail-val {
  color: #ff5a4d;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.timeline-section {
  border: 1px solid #2c3a48;
  background: #1a232d;
  padding: 12px 14px 14px;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding-top: 16px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 2%;
  right: 2%;
  height: 1px;
  background: linear-gradient(90deg, rgba(192,57,43,0.35), #c0392b 12%, #c0392b 88%, rgba(192,57,43,0.35));
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 7px 6px;
  background: #212c38;
  border: 1px solid #2f3d4b;
  border-top: 2px solid #3a4a59;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  background: #c0392b;
  border: 1px solid #6e1c1c;
  border-radius: 50%;
}
.node-timecode {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #c0392b;
  font-weight: 700;
}
.node-label {
  font-size: 11.5px;
  line-height: 1.4;
  color: #aab7c4;
}
.episodes-section {
  border: 1px solid #2c3a48;
  background: #1a232d;
  padding: 12px 14px 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #2b3947;
  border: 1px solid #2b3947;
}
.episode-cell {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 9px;
  background: #1e2833;
}
.episode-cell:nth-child(odd) { background: #182029; }
.episode-num {
  flex: 0 0 auto;
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #c0392b;
  letter-spacing: 0.04em;
  padding-top: 1px;
  min-width: 42px;
}
.episode-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.episode-title {
  font-size: 12.5px;
  color: #e9eff5;
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.45;
  color: #8d9baa;
}
.episode-duration {
  font-size: 10.5px;
  color: #6f7d8b;
  letter-spacing: 0.06em;
}
.comments-section {
  border: 1px solid #2c3a48;
  background: #1a232d;
  padding: 12px 14px 14px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 10px;
  background: #e8e3d5;
  color: #26303a;
  border: 1px solid #c9c2ae;
  box-shadow: 0 3px 9px rgba(0,0,0,0.4);
}
.comment-column:nth-child(1) .comment-note:nth-child(1) { transform: rotate(-1.1deg); }
.comment-column:nth-child(1) .comment-note:nth-child(2) { transform: rotate(0.7deg); }
.comment-column:nth-child(1) .comment-note:nth-child(3) { transform: rotate(-0.5deg); }
.comment-column:nth-child(2) .comment-note:nth-child(1) { transform: rotate(0.9deg); }
.comment-column:nth-child(2) .comment-note:nth-child(2) { transform: rotate(-0.8deg); }
.comment-column:nth-child(2) .comment-note:nth-child(3) { transform: rotate(0.4deg); }
.comment-column:nth-child(3) .comment-note:nth-child(1) { transform: rotate(-0.6deg); }
.comment-column:nth-child(3) .comment-note:nth-child(2) { transform: rotate(1deg); }
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: #2b3540;
}
.comment-author {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #8a3a34;
  text-align: right;
  align-self: flex-end;
  border-top: 1px dashed #c2bba6;
  padding-top: 3px;
  width: 100%;
}
.rec-band {
  border: 1px solid #2c3a48;
  background: #1a232d;
  padding: 10px 12px 12px;
}
.band-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 6px;
  margin-bottom: 9px;
  border-bottom: 1px dashed #3a4a59;
}
.band-title {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #eaf0f6;
}
.band-count {
  font-size: 11px;
  color: #7f8d9b;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.band-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 152px;
  gap: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: #3a4a59 #1a232d;
  -webkit-overflow-scrolling: touch;
}
.band-strip::-webkit-scrollbar { height: 7px; }
.band-strip::-webkit-scrollbar-track { background: #1a232d; }
.band-strip::-webkit-scrollbar-thumb { background: #3a4a59; }
.band-strip::-webkit-scrollbar-thumb:hover { background: #9e2b2b; }
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: #212c38;
  border: 1px solid #303e4c;
  color: #c3ccd6;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.rec-item:hover {
  border-color: #9e2b2b;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  background: #0e1319;
  filter: saturate(0.78) brightness(0.94);
}
[data-runtime="recommendation"]:hover img { filter: saturate(1) brightness(1); }
.rec-name {
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #eef3f8;
  letter-spacing: 0.02em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.4;
  color: #8b99a7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 14px;
  border-top: 1px solid #2b3947;
  background: #151c24;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: #9fadbb;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f0f4f8;
  border-bottom-color: #9e2b2b;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: #6f7d8b;
  max-width: 78ch;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 7px;
  border-top: 1px dashed #2b3947;
}
.friend-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #7f8d9b;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #8d9baa;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #d9e2ea;
  text-decoration: underline;
  text-decoration-color: #9e2b2b;
}
@media (max-width: 1024px) {.hero-panel { grid-template-columns: minmax(0, 190px) minmax(0, 1fr); }
.timeline-track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
.timeline-track::before { display: none; }
.timeline-node::before { display: none; }
.timeline-node { border-top-width: 2px; border-top-color: #9e2b2b; }}
@media (max-width: 860px) {.page-main { padding: 10px 11px 4px; gap: 11px; }
.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    padding: 11px;
  }
.hero-figure {
    display: flex;
    justify-content: center;
  }
.poster-frame { max-width: 210px; }
.hero-shadow { inset: 14px -12px -12px 18px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comments-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-column:nth-child(3) { grid-column: 1 / -1; }
.comment-column:nth-child(3) .comment-note {
    transform: none;
  }}
@media (max-width: 640px) {body { font-size: 12.5px; }
.page-main { padding: 9px 9px 3px; gap: 10px; }
.header-inner { padding: 6px 9px; gap: 9px; }
a[data-contract="site-name"] { font-size: 14.5px; letter-spacing: 0.14em; }
.hero-title { font-size: 21px; }
.hero-tagline { font-size: 11px; letter-spacing: 0.12em; }
.timeline-section, .episodes-section, .comments-section, .rec-band { padding: 10px 10px 12px; }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.detail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-columns { grid-template-columns: minmax(0, 1fr); }
.comment-note { transform: none !important; }
.band-strip { grid-auto-columns: 132px; gap: 7px; }
.footer-inner { padding: 10px 9px 15px; }}
@media (max-width: 420px) {.hero-title { font-size: 19px; }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: minmax(0, 1fr); }
.timeline-track { grid-template-columns: minmax(0, 1fr); }
.band-strip { grid-auto-columns: 120px; }
.player-controls { gap: 4px; }
.ctl-btn { padding: 3px 6px; font-size: 11px; }
.ctl-progress { flex: 1 1 100%; }}

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}
