*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select {
  font: inherit;
  color: inherit;
}
:root {
  --iron: #171a1d;
  --iron-2: #1e2226;
  --iron-3: #262b30;
  --oil: #0d0f11;
  --rust: #8f3b26;
  --rust-bright: #c04f2f;
  --rust-dim: #5c2a1c;
  --bone: #d8d2c6;
  --bone-dim: #9a948a;
  --lamp: #e8b04b;
  --lamp-dim: #a87a2c;
  --line: #34393f;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", sans-serif;
  --song: "Songti SC", "SimSun", "STSong", "Noto Serif SC", serif;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--oil);
  background-image:
    linear-gradient(180deg, rgba(143, 59, 38, 0.06), transparent 320px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px);
  color: var(--bone);
  font-family: var(--song);
  font-size: 14px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #14181b, #101315);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 18px -12px #000;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px;
}
.site-brand {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--bone);
  padding-left: 10px;
  border-left: 3px solid var(--rust);
  white-space: nowrap;
  transition: color 0.15s ease;
}
a[data-contract="site-name"] {
  color: var(--bone);
  text-decoration: none;
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible {
  color: var(--lamp);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bone-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--lamp);
  border-color: var(--lamp-dim);
  background: rgba(232, 176, 75, 0.08);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section-heading {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--bone);
  margin-bottom: 9px;
  padding-left: 9px;
  border-left: 3px solid var(--rust);
  line-height: 1.3;
}
.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(232, 176, 75, 0.14), transparent 55%),
    linear-gradient(160deg, #20242a 0%, #171a1e 46%, #0f1114 100%);
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 16px 20px;
  padding: 16px;
}
.hero-media {
  position: relative;
  align-self: start;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--iron);
  box-shadow: 0 14px 28px -18px #000;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(13, 15, 17, 0.72) 100%),
    linear-gradient(105deg, transparent 52%, rgba(232, 176, 75, 0.16) 55%, transparent 68%);
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06);
}
.hero-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.hero-title {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #f0ebe0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}
.hero-tagline {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lamp);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.hero-seo {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--bone-dim);
  max-width: 62ch;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.status-line {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--bone);
  background: var(--iron-3);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rust-bright);
  padding: 4px 10px;
  white-space: nowrap;
}
.cast-section { margin-top: 2px; }
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  min-width: 0;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--iron);
  position: relative;
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.7) contrast(1.08) brightness(0.94);
  transition: filter 0.18s ease;
}
.cast-card:hover .cast-avatar img { filter: saturate(0.95) contrast(1.05) brightness(1.04); }
.cast-name {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--bone);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.synopsis-section { margin-top: 2px; }
.synopsis-body {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--bone-dim);
}
.synopsis-body p { margin-bottom: 8px; break-inside: avoid; }
.synopsis-body p:first-child::first-letter {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  color: var(--rust-bright);
  float: left;
  margin: 3px 6px 0 0;
}
.detail-strip {
  margin-top: 2px;
  background: var(--iron-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--rust-dim);
  padding: 10px 12px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 4px 16px;
  align-items: start;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 2px 0;
  border-bottom: 1px dotted rgba(216, 210, 198, 0.14);
}
.detail-item dt {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--rust-bright);
  flex: 0 0 auto;
  white-space: nowrap;
}
.detail-item dd {
  font-size: 12.5px;
  color: var(--bone);
  min-width: 0;
  overflow-wrap: anywhere;
}
.hero-player {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  background: #0a0c0e;
  border: 1px solid var(--line);
  padding: 8px;
  width: 100%;
  min-width: 0;
}
.hero-player video {
  display: block;
  background: #000;
  border: 1px solid #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-controls button {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--bone);
  background: var(--iron-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 9px;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.player-controls button:hover, .player-controls button:focus-visible {
  background: var(--rust-dim);
  border-color: var(--rust-bright);
  color: #fff;
}
.player-controls button.is-active {
  background: var(--lamp);
  border-color: var(--lamp);
  color: #1a1408;
}
.player-controls button.is-muted {
  background: var(--rust);
  border-color: var(--rust-bright);
  color: #fff;
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
  flex: 1 1 120px;
  min-width: 90px;
  max-width: 320px;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lamp);
  border: 1px solid #000;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #000;
  border-radius: 50%;
  background: var(--lamp);
}
.player-controls select {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--bone);
  background: var(--iron-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 6px;
  cursor: pointer;
}
.hero-player.theater-mode {
  border-color: var(--lamp-dim);
  box-shadow: 0 0 0 1px rgba(232, 176, 75, 0.28), 0 18px 40px -22px #000;
}
.hero-player.lights-off {
  background: #000;
  border-color: #000;
}
.hero-player.lights-off video { filter: brightness(1.08); }
.hero-player:fullscreen {
  width: 100%;
  height: 100%;
  justify-content: center;
  background: #000;
  padding: 0;
  border: 0;
}
.timeline-section { margin-top: 2px; }
.timeline-list {
  position: relative;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background: linear-gradient(180deg, var(--rust-bright), var(--rust-dim) 65%, transparent);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 5px 8px 5px 0;
  border-bottom: 1px solid rgba(52, 57, 63, 0.55);
}
.timeline-item:last-child { border-bottom: 0; }
.timeline-node {
  position: absolute;
  left: -18px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rust-bright);
  border: 2px solid var(--oil);
  box-shadow: 0 0 0 1px var(--rust);
}
.timeline-timecode {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--lamp);
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  line-height: 1.55;
  color: var(--bone-dim);
}
.episodes-section { margin-top: 2px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num summary"
    "num dur";
  gap: 3px 10px;
  align-items: start;
  padding: 9px 11px 9px 9px;
  background: var(--iron-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rust-dim);
  transition: border-color 0.16s ease, background 0.16s ease;
}
.episode-card:hover {
  background: var(--iron-3);
  border-left-color: var(--rust-bright);
}
.episode-number {
  grid-area: num;
  font-family: var(--sans);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  color: var(--rust-bright);
  letter-spacing: -0.02em;
  padding-top: 1px;
}
.episode-title {
  grid-area: title;
  font-family: var(--sans);
  font-weight: 900;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--bone);
  line-height: 1.35;
}
.episode-summary {
  grid-area: summary;
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--bone-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  grid-area: dur;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--lamp-dim);
  letter-spacing: 0.04em;
}
.comments-section { margin-top: 2px; }
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 8px 10px;
  background: linear-gradient(180deg, var(--iron-2), #191d21);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rust-dim);
}
.comment-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--iron);
  flex: 0 0 auto;
}
.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(0.45) brightness(0.92);
}
.comment-body { min-width: 0; }
.comment-nickname {
  display: block;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--lamp);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--bone-dim);
  overflow-wrap: anywhere;
}
.recommend-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.recommend-grid-wide {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.recommend-grid-narrow {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: var(--iron-2);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
a.recommend-card {
  color: var(--bone);
  text-decoration: none;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  border-color: var(--rust-bright);
  background: var(--iron-3);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--iron);
  border: 1px solid #000;
  filter: saturate(0.82) contrast(1.05);
}
.recommend-name {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--bone);
  line-height: 1.35;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--bone-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 14px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #6d6a63;
  max-width: 78ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.footer-nav a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
a[data-contract="footer-home"] {
  color: var(--lamp);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 176, 75, 0.35);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible {
  color: #fff;
  border-bottom-color: var(--rust-bright);
}
a[data-contract="footer-sitemap"] {
  color: var(--bone-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 148, 138, 0.3);
}
a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--bone);
  border-bottom-color: var(--rust-bright);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding-top: 8px;
  border-top: 1px dotted rgba(52, 57, 63, 0.9);
}
.friend-links-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--rust-bright);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--bone-dim);
  text-decoration: none;
  border-bottom: 1px dotted rgba(154, 148, 138, 0.45);
  white-space: nowrap;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--lamp);
  border-bottom-color: var(--lamp-dim);
}
body.is-playing .hero-player {
  border-color: var(--lamp-dim);
}
.player .progress, .player .timeupdate { display: none; }
@media (max-width: 900px) {.hero-panel { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.synopsis-body { columns: 1; }}
@media (max-width: 760px) {.hero-panel {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 12px;
  }
.hero-media {
    width: 100%;
    max-width: 300px;
  }
.hero-title { font-size: 21px; }
.comment-columns { grid-template-columns: 1fr; }
.episode-grid { grid-template-columns: 1fr; }
.cast-row { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); }
.detail-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.player-controls input[type="range"] { max-width: none; }}
@media (max-width: 480px) {.page-main { padding: 10px 10px 20px; gap: 16px; }
.header-inner { padding: 8px 10px; }
.hero-media { max-width: none; }
.hero-title { font-size: 19px; }
.hero-tagline { letter-spacing: 0.08em; }
.cast-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline-item { grid-template-columns: 48px minmax(0, 1fr); }
.recommend-grid-wide, .recommend-grid-narrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-controls button { padding: 4px 7px; font-size: 11px; }}

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}
