:root {
  --sand: #b08a5a;
  --sand-deep: #7a5a34;
  --iron: #2e3a42;
  --iron-deep: #1b2329;
  --iron-night: #131a20;
  --gold: #c9a15a;
  --gold-bright: #e0b76a;
  --ink: #0d1114;
  --paper: #e8e2d6;
  --paper-dim: #b9b2a4;
  --line: #3d4a52;
  --gap: 10px;
  --edge: 0;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background:
    linear-gradient(180deg, #10161a 0%, #131a20 40%, #0d1114 100%);
  color: var(--paper);
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--sand);
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #0d1114 0%, #151d23 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(201, 161, 90, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  color: var(--gold-bright);
  text-decoration: none;
  font-family: "Songti SC", "STSong", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 2px 0 2px 12px;
  border-left: 3px solid var(--sand-deep);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #f0d18c;
  border-left-color: var(--gold);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  color: var(--paper-dim);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: rgba(46, 58, 66, 0.35);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(122, 90, 52, 0.3);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 28px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  grid-template-areas:
    "media copy"
    "media rail"
    "syn syn"
    "stat stat"
    "det det";
  gap: 14px 18px;
  align-items: start;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  grid-area: media;
  position: relative;
  background: var(--iron-night);
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 rgba(201, 161, 90, 0.08);
  align-self: start;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(176, 138, 90, 0.4) 0%,
    rgba(176, 138, 90, 0.05) 42%,
    rgba(27, 35, 41, 0.55) 100%);
  mix-blend-mode: hard-light;
  pointer-events: none;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.hero-copy {
  grid-area: copy;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-title {
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper);
  line-height: 1.15;
  text-shadow: 0 1px 0 #000, 0 0 18px rgba(201, 161, 90, 0.18);
}
.hero-tagline {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding-left: 10px;
  border-left: 2px solid var(--sand-deep);
}
.hero-player-wrap {
  position: relative;
  width: 100%;
  margin-top: 4px;
  background: #000;
  border: 1px solid var(--line);
}
.hero-player-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: linear-gradient(180deg, #1b2329 0%, #12181d 100%);
  border-top: 1px solid var(--line);
}
.ctrl {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: rgba(46, 58, 66, 0.4);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}
.ctrl.is-active, .ctrl.is-playing {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold-bright);
}
.ctrl.is-muted {
  color: #d98b6a;
  border-color: #8a4a34;
}
.ctrl-play {
  color: var(--gold-bright);
  border-color: var(--sand-deep);
  min-width: 52px;
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 6px;
  margin: 0 4px;
  border: 1px solid var(--line);
  background: #0a0e11;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 16px;
  background: var(--gold);
  border: 0;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 10px;
  height: 16px;
  background: var(--gold);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 76px;
  min-width: 60px;
  height: 6px;
  border: 1px solid var(--line);
  background: #0a0e11;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 14px;
  background: var(--sand);
  border: 0;
}
.ctrl-volume::-moz-range-thumb {
  width: 8px;
  height: 14px;
  background: var(--sand);
  border: 0;
  border-radius: 0;
}
body.theater-mode .hero-player-wrap {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 161, 90, 0.4), 0 0 34px rgba(201, 161, 90, 0.16);
}
body.lights-off {
  background: #05080a;
}
body.lights-off .hero-player-wrap {
  box-shadow: 0 0 46px rgba(201, 161, 90, 0.22);
}
.hero-player-wrap.is-fullscreen {
  border: 0;
  background: #000;
}
.hero-player-wrap.is-fullscreen video {
  height: 100%;
  width: 100%;
  aspect-ratio: auto;
}
.cast-rail {
  grid-area: rail;
  min-width: 0;
  padding-top: 2px;
  border-top: 1px solid var(--line);
}
.cast-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold);
  padding: 6px 0 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.cast-list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--sand-deep) transparent;
}
.cast-list::-webkit-scrollbar {
  height: 4px;
}
.cast-list::-webkit-scrollbar-thumb {
  background: var(--sand-deep);
}
.cast-member {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 84px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--paper);
  background: linear-gradient(160deg, #3a464e 0%, #1e262c 100%);
  border: 1px solid var(--line);
  border-radius: 0;
  transition: color 0.15s, border-color 0.15s;
}
.cast-member:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}
.synopsis-block {
  grid-area: syn;
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.synopsis-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold);
  padding: 6px 0 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.synopsis-body {
  display: grid;
  gap: 8px;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--paper-dim);
  text-indent: 2em;
  padding-left: 0;
}
.synopsis-para::first-line {
  color: var(--paper);
}
.episode-status {
  grid-area: stat;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.status-current, .status-total {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  border: 1px solid var(--line);
}
.status-current {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold-bright);
  font-weight: 700;
}
.status-total {
  color: var(--paper-dim);
  background: rgba(46, 58, 66, 0.4);
}
.details-strip {
  grid-area: det;
  min-width: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(30, 38, 44, 0.35);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--sand);
  letter-spacing: 0.1em;
  padding-right: 6px;
  border-right: 1px solid var(--line);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--paper);
  letter-spacing: 0.04em;
  overflow-wrap: break-word;
}
.timeline-heading, .episodes-heading, .comments-heading, .recommendations-heading {
  font-family: "Songti SC", "STSong", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--paper);
  padding: 6px 0 8px 12px;
  border-left: 4px solid var(--sand-deep);
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.timeline-section {
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}
.timeline-list {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 4px 0;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-0.5px);
  background: linear-gradient(180deg,
    rgba(201, 161, 90, 0.05) 0%,
    rgba(201, 161, 90, 0.55) 12%,
    rgba(201, 161, 90, 0.55) 88%,
    rgba(201, 161, 90, 0.05) 100%);
}
.timeline-node {
  position: relative;
  width: calc(50% - 26px);
  padding: 8px 12px;
  background: linear-gradient(150deg, #212b32 0%, #161d22 100%);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 16px;
  width: 10px;
  height: 10px;
  background: var(--iron-night);
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.timeline-left {
  justify-self: start;
  border-left: 3px solid var(--sand-deep);
}
.timeline-left::after {
  right: -32px;
}
.timeline-right {
  justify-self: end;
  border-right: 3px solid var(--sand-deep);
  text-align: right;
}
.timeline-right::after {
  left: -32px;
}
.timeline-timecode {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  margin-bottom: 3px;
}
.timeline-label {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--paper-dim);
}
.episodes-section {
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px 10px;
  background: linear-gradient(160deg, #1f282e 0%, #141a1f 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--iron);
  border-radius: 0;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-left-color: var(--sand);
  background: linear-gradient(160deg, #26323a 0%, #171e24 100%);
}
.episode-current {
  border: 1px solid var(--gold);
  border-left: 3px solid var(--gold-bright);
  background: linear-gradient(160deg, #33291a 0%, #191410 100%);
  box-shadow: 0 0 0 1px rgba(201, 161, 90, 0.28), 0 0 20px rgba(201, 161, 90, 0.1);
}
.episode-number {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--sand);
  padding-right: 8px;
  border-right: 1px solid var(--line);
  align-self: flex-start;
}
.episode-current .episode-number {
  color: var(--gold-bright);
  border-right-color: var(--sand-deep);
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper);
  line-height: 1.35;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--paper-dim);
}
.episode-duration {
  margin-top: auto;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--iron);
  background: var(--sand);
  padding: 1px 7px;
  border-radius: 0;
}
.episode-current .episode-duration {
  background: var(--gold-bright);
  color: var(--ink);
}
.comments-section {
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}
.comments-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 12px 10px;
  background: rgba(30, 38, 44, 0.5);
  border: 1px solid var(--line);
  border-top: 2px solid var(--sand-deep);
  border-radius: 0;
}
.comment-nickname {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--line);
}
.comment-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--paper-dim);
}
.recommendations {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line);
}
.recommendations:last-of-type {
  border-bottom: 0;
  padding-bottom: 4px;
}
.recommendations-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.recommendations-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--sand-deep) 0%, rgba(61, 74, 82, 0.1) 100%);
}
.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(165deg, #1e272d 0%, #12181d 100%);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--paper-dim);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
.recommendation-card:hover {
  border-color: var(--gold);
  background: linear-gradient(165deg, #27333b 0%, #151c22 100%);
  transform: translateY(-2px);
}
.recommendation-card img, .recommendation-pic {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  display: block;
  background: var(--iron-night);
  border: 1px solid var(--line);
}
.recommendation-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
  line-height: 1.4;
}
.recommendation-card:hover .recommendation-name {
  color: var(--gold-bright);
}
.recommendation-blurb {
  font-size: 12px;
  line-height: 1.55;
  color: var(--paper-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 30px;
  border-top: 1px solid var(--line);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-link {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  border: 1px solid var(--line);
  background: rgba(46, 58, 66, 0.35);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--paper-dim);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 10px 0;
  margin-bottom: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  padding-right: 10px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--paper-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: #6f7a82;
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "copy"
      "rail"
      "syn"
      "stat"
      "det";
    gap: 12px;
  }
.hero-media {
    max-width: 260px;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommendations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 640px) {.page-main {
    padding: 0 12px 22px;
  }
.header-inner {
    padding: 8px 12px;
    gap: 8px;
  }
a[data-contract="site-name"] {
    font-size: 16px;
    letter-spacing: 0.16em;
  }
.hero-shell {
    padding: 14px 0 18px;
  }
.hero-media {
    max-width: 210px;
  }
.hero-title {
    letter-spacing: 0.1em;
  }
.player-controls {
    gap: 3px;
  }
.ctrl {
    font-size: 11px;
    padding: 3px 6px;
    letter-spacing: 0.06em;
  }
.ctrl-volume {
    flex: 1 1 60px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list::before {
    left: 7px;
    transform: none;
  }
.timeline-node {
    width: 100%;
    max-width: 100%;
    padding-left: 24px;
  }
.timeline-left, .timeline-right {
    justify-self: stretch;
    text-align: left;
    border-left: 3px solid var(--sand-deep);
    border-right: 1px solid var(--line);
  }
.timeline-left::after, .timeline-right::after {
    left: 3px;
    right: auto;
    top: 14px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommendations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 400px) {.recommendations-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-media {
    max-width: 180px;
  }}

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}
