*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:root {
  --warm-grey: #cfc7ba;
  --warm-grey-deep: #8d8478;
  --wood: #6b5137;
  --wood-deep: #3d2f21;
  --gold: #b99a5b;
  --gold-light: #d8bc7d;
  --ink: #241f19;
  --ink-soft: #4a4238;
  --paper: #f2ede4;
  --paper-deep: #e4dccd;
  --cold-blue: #728092;
  --cold-blue-deep: #4a586b;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, sans-serif;
}
html, body { background: var(--paper); }
body {
  font-family: var(--sans);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(36, 31, 25, 0.94);
  border-bottom: 1px solid rgba(185, 154, 91, 0.45);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  color: var(--gold-light);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.14em;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}
a[data-contract="site-name"]:hover { border-bottom-color: var(--gold-light); }
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  color: var(--warm-grey);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.4;
  padding: 3px 9px;
  border: 1px solid rgba(207, 199, 186, 0.35);
  border-radius: 2px;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 28px;
}
.hero-stage {
  position: relative;
  margin: 0 -16px 20px;
  padding: 0 16px;
}
.hero-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--wood-deep);
  border-bottom: 1px solid rgba(185, 154, 91, 0.45);
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(0.82) contrast(1.04) sepia(0.14);
}
.hero-feathers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 26% at 86% 88%, rgba(242, 237, 228, 0.55) 0%, rgba(242, 237, 228, 0) 62%),
    radial-gradient(ellipse 34% 12% at 74% 70%, rgba(216, 188, 125, 0.42) 0%, rgba(216, 188, 125, 0) 70%),
    linear-gradient(214deg, rgba(242, 237, 228, 0.30) 0%, rgba(242, 237, 228, 0) 34%);
  mix-blend-mode: screen;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(24, 20, 15, 0.72) 0%, rgba(24, 20, 15, 0.10) 34%, rgba(24, 20, 15, 0.05) 52%, rgba(19, 16, 12, 0.86) 100%),
    radial-gradient(ellipse 118% 96% at 50% 46%, rgba(19, 16, 12, 0) 44%, rgba(19, 16, 12, 0.62) 100%);
}
.hero-copy {
  position: absolute;
  top: 0;
  left: 0;
  max-width: min(560px, 78%);
  padding: 18px 16px 0;
  color: var(--paper);
  text-shadow: 0 1px 10px rgba(19, 16, 12, 0.85);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(26px, 5vw, 46px);
  line-height: 1.08;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #f6f0e4;
}
.hero-tagline {
  margin-top: 7px;
  font-family: var(--serif);
  font-size: clamp(12px, 1.6vw, 15px);
  line-height: 1.45;
  letter-spacing: 0.05em;
  color: var(--gold-light);
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
}
.chip {
  font-size: 11px;
  line-height: 1.35;
  padding: 2px 7px;
  border: 1px solid rgba(216, 188, 125, 0.55);
  color: var(--paper);
  background: rgba(36, 31, 25, 0.5);
  border-radius: 1px;
  white-space: nowrap;
}
.player-shell {
  position: relative;
  width: 100%;
  margin: 16px 0 20px;
  background: #14110d;
  border: 1px solid rgba(185, 154, 91, 0.4);
  border-radius: 2px;
  overflow: hidden;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(36, 31, 25, 0.96), rgba(24, 20, 15, 0.98));
  border-top: 1px solid rgba(185, 154, 91, 0.32);
}
.control-btn {
  font-size: 11px;
  line-height: 1.35;
  padding: 3px 9px;
  color: var(--warm-grey);
  background: rgba(242, 237, 228, 0.06);
  border: 1px solid rgba(207, 199, 186, 0.3);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.control-btn:hover { color: var(--ink); background: var(--gold-light); border-color: var(--gold-light); }
.control-btn.is-active { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.control-btn.play { font-weight: 600; }
.control-btn.pause { font-weight: 600; }
.control-btn.mute.is-active { background: var(--cold-blue); border-color: var(--cold-blue); color: #eef2f6; }
.control-btn.light.is-active { background: #1b1712; border-color: var(--gold); color: var(--gold-light); }
.control-btn.theater.is-active { background: var(--wood); border-color: var(--gold); color: var(--paper); }
.control-btn.fullscreen.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.control-btn.pip.is-active { background: var(--wood); border-color: var(--gold); color: var(--paper); }
.control-btn.speed.is-active { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.control-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  flex: 1 1 120px;
  min-width: 90px;
  background: rgba(207, 199, 186, 0.3);
  border-radius: 2px;
  cursor: pointer;
}
.control-range.progress { background: linear-gradient(90deg, var(--gold) 0%, rgba(207, 199, 186, 0.3) 0%); }
.control-range.volume { flex: 0 1 96px; }
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 1px solid var(--wood-deep);
}
.control-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid var(--wood-deep);
  border-radius: 50%;
  background: var(--gold-light);
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--gold), 0 12px 34px rgba(19, 16, 12, 0.55);
}
.player-shell.is-lights-off { background: #000; }
.player-shell.is-lights-off .player-controls { opacity: 0.72; }
.block-heading, .section-heading, .region-heading {
  font-family: var(--serif);
  letter-spacing: 0.12em;
  color: var(--wood-deep);
}
.block-heading {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  padding-left: 9px;
  border-left: 3px solid var(--gold);
  margin-bottom: 9px;
}
.section-heading {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(185, 154, 91, 0.55);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(185, 154, 91, 0.5), rgba(185, 154, 91, 0));
}
.region-heading {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 2px solid var(--warm-grey-deep);
}
.overview-block { margin-bottom: 18px; }
.synopsis-block {
  background: var(--paper-deep);
  border: 1px solid rgba(141, 132, 120, 0.35);
  border-left: 3px solid var(--gold);
  padding: 12px 14px 13px;
  border-radius: 2px;
}
.synopsis-body { columns: 2; column-gap: 22px; column-rule: 1px solid rgba(141, 132, 120, 0.28); }
.synopsis-para {
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-soft);
  text-align: justify;
  break-inside: avoid;
  margin-bottom: 8px;
}
.synopsis-para:last-child { margin-bottom: 0; }
.cast-block { position: relative; }
.cast-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.cast-card {
  position: relative;
  flex: 0 0 auto;
  width: 96px;
  height: 118px;
  scroll-snap-align: start;
  border: 1px solid rgba(141, 132, 120, 0.4);
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--warm-grey) 0%, var(--warm-grey-deep) 100%);
}
.cast-avatar {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(242, 237, 228, 0.92) 0 17%, rgba(242, 237, 228, 0) 18%),
    radial-gradient(ellipse 46% 32% at 50% 88%, rgba(61, 47, 33, 0.72) 0 60%, rgba(61, 47, 33, 0) 62%),
    linear-gradient(168deg, rgba(107, 81, 55, 0.35) 0%, rgba(61, 47, 33, 0.68) 100%);
}
.cast-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 14px 6px 5px;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0.05em;
  color: #f6f0e4;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(180deg, rgba(19, 16, 12, 0) 0%, rgba(19, 16, 12, 0.82) 62%);
}
.status-block {
  background: var(--paper-deep);
  border: 1px solid rgba(141, 132, 120, 0.35);
  padding: 11px 14px 12px;
  border-radius: 2px;
}
.status-line {
  font-size: 13px;
  line-height: 1.5;
  color: var(--wood-deep);
  letter-spacing: 0.04em;
  padding-left: 9px;
  border-left: 2px solid var(--cold-blue);
}
.details-block {
  background: var(--paper-deep);
  border: 1px solid rgba(141, 132, 120, 0.35);
  padding: 12px 14px 13px;
  border-radius: 2px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 16px;
}
.detail-key {
  font-size: 11px;
  line-height: 1.4;
  color: var(--warm-grey-deep);
  letter-spacing: 0.14em;
}
.detail-value {
  grid-row: span 1;
  font-size: 13px;
  line-height: 1.42;
  color: var(--ink);
  padding-bottom: 5px;
  border-bottom: 1px dotted rgba(141, 132, 120, 0.45);
  margin-bottom: 4px;
}
.detail-list > .detail-key { grid-column: 1; }
.detail-list { grid-auto-flow: row; }
.timeline-section { margin: 22px 0 20px; }
.timeline-list {
  position: relative;
  padding: 4px 0 4px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, rgba(185, 154, 91, 0) 0%, var(--gold) 6%, var(--gold) 94%, rgba(185, 154, 91, 0) 100%);
  transform: translateX(-0.5px);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 22px 12px 0;
}
.timeline-item::after {
  content: "";
  position: absolute;
  top: 6px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--gold);
}
.timeline-right {
  margin-left: 50%;
  padding: 0 0 12px 22px;
}
.timeline-right::after {
  right: auto;
  left: -4px;
}
.timeline-timecode {
  display: inline-block;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--wood);
  background: rgba(185, 154, 91, 0.16);
  border: 1px solid rgba(185, 154, 91, 0.4);
  padding: 1px 6px;
  border-radius: 1px;
  margin-bottom: 3px;
}
.timeline-label {
  font-size: 13px;
  line-height: 1.48;
  color: var(--ink-soft);
}
.timeline-left .timeline-timecode { margin-left: 0; }
.timeline-item:nth-child(n/**/+7) .timeline-timecode {
  color: var(--cold-blue-deep);
  background: rgba(114, 128, 146, 0.14);
  border-color: rgba(114, 128, 146, 0.45);
}
.episodes-section { margin: 22px 0 20px; }
.episode-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 13px 16px;
  background: linear-gradient(96deg, var(--wood-deep) 0%, var(--wood) 58%, #7d603f 100%);
  border: 1px solid rgba(185, 154, 91, 0.5);
  border-radius: 2px;
  color: var(--paper);
}
.episode-number {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 54px;
  line-height: 0.86;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(19, 16, 12, 0.6);
}
.episode-body { flex: 1 1 auto; min-width: 0; }
.episode-title {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: #f6f0e4;
}
.episode-summary {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(242, 237, 228, 0.82);
}
.episode-duration {
  display: inline-block;
  margin-top: 7px;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border: 1px solid rgba(216, 188, 125, 0.6);
  color: var(--gold-light);
  border-radius: 1px;
}
.comments-section { margin: 22px 0 20px; }
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}
.comment-note {
  position: relative;
  padding: 9px 11px 10px;
  background: #f7f2e6;
  border: 1px solid rgba(141, 132, 120, 0.4);
  border-radius: 1px;
  box-shadow: 0 2px 7px rgba(61, 47, 33, 0.14);
  transform: rotate(-0.7deg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.comment-note:nth-child(even) { transform: rotate(0.8deg); }
.comment-note:nth-child(3n) { transform: rotate(-0.35deg); background: #f4efe0; }
.comment-note:nth-child(5n) { transform: rotate(1.1deg); background: #f8f4ea; }
.comment-note:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 5px 14px rgba(61, 47, 33, 0.22);
  z-index: 2;
}
.comment-nickname {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--wood);
  margin-bottom: 4px;
  padding-bottom: 3px;
  border-bottom: 1px dotted rgba(141, 132, 120, 0.5);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--ink-soft);
}
.recommend-region { margin: 20px 0 20px; }
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: var(--paper-deep);
  border: 1px solid rgba(141, 132, 120, 0.38);
  border-radius: 2px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
a.recommend-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(61, 47, 33, 0.18);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 1px;
  filter: saturate(0.85) sepia(0.1);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: var(--wood-deep);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--warm-grey-deep);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 26px;
  border-top: 1px solid rgba(185, 154, 91, 0.45);
  background: linear-gradient(180deg, rgba(228, 220, 205, 0) 0%, rgba(228, 220, 205, 0.7) 100%);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--warm-grey-deep);
  max-width: 720px;
  margin-bottom: 10px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--wood);
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 81, 55, 0.4);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding-top: 10px;
  border-top: 1px dotted rgba(141, 132, 120, 0.45);
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--warm-grey-deep);
  padding-right: 4px;
  border-right: 1px solid rgba(141, 132, 120, 0.45);
}
a.runtime-friend-link {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--cold-blue-deep);
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 6px;
  border: 1px solid rgba(114, 128, 146, 0.32);
  border-radius: 1px;
  background: rgba(114, 128, 146, 0.07);
}
a.runtime-friend-link:hover {
  color: var(--paper);
  background: var(--cold-blue);
  border-color: var(--cold-blue);
}
@media (max-width: 900px) {.synopsis-body { columns: 1; column-rule: none; }
.detail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-columns { grid-template-columns: 1fr; }
.comments-column { gap: 10px; }}
@media (max-width: 720px) {.hero-copy {
    position: static;
    max-width: none;
    padding: 12px 0 0;
    color: var(--ink);
    text-shadow: none;
  }
.hero-title { color: var(--wood-deep); }
.hero-tagline { color: var(--wood); }
.chip { color: var(--ink-soft); background: rgba(228, 220, 205, 0.85); border-color: rgba(185, 154, 91, 0.6); }
.hero-media { margin-bottom: 0; }
.hero-stage { padding-top: 0; }}
@media (max-width: 640px) {body { font-size: 13.5px; }
.recommend-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.episode-banner { gap: 12px; padding: 11px 12px; }
.episode-number { font-size: 40px; }
.timeline-list::before { left: 14px; }
.timeline-item, .timeline-right {
    width: 100%;
    margin-left: 0;
    padding: 0 0 12px 30px;
  }
.timeline-item::after, .timeline-right::after { left: 10px; right: auto; }
.cast-card { width: 84px; height: 104px; }}
@media (max-width: 480px) {.detail-list { grid-template-columns: 1fr; }
.page-main { padding-left: 12px; padding-right: 12px; }
.hero-stage { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
.header-inner { padding: 7px 12px; }
.control-range.volume { flex: 1 1 70px; }
.recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}

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}
