*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #17120d;
  background-image:
    radial-gradient(ellipse at 18% -8%, rgba(214, 168, 74, 0.16), transparent 58%),
    radial-gradient(ellipse at 88% 4%, rgba(46, 84, 63, 0.22), transparent 52%),
    linear-gradient(180deg, #1c1610 0%, #17120d 40%, #120e0a 100%);
  background-attachment: fixed;
  color: #d9cdb8;
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: #d6a84a; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
input[type="range"] { accent-color: #d6a84a; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(18, 14, 10, 0.97), rgba(18, 14, 10, 0.86));
  border-bottom: 1px solid rgba(214, 168, 74, 0.26);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #f0dfb4;
  text-shadow: 0 0 14px rgba(214, 168, 74, 0.4);
}
a[data-contract="site-name"] { color: #f0dfb4; text-decoration: none; }
a[data-contract="site-name"]:hover { color: #ffd77a; text-decoration: none; }
.categories-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #cfc2a6;
  text-decoration: none;
  border: 1px solid rgba(214, 168, 74, 0.34);
  border-radius: 2px;
  background: rgba(43, 34, 24, 0.6);
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
a.runtime-category:hover {
  color: #ffe6a8;
  border-color: #d6a84a;
  background: rgba(70, 52, 26, 0.72);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 8px;
  display: block;
}
.block-heading {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #e8d6a8;
  padding-left: 11px;
  border-left: 3px solid #2e543f;
  margin-bottom: 10px;
  line-height: 1.3;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  grid-template-areas:
    "poster info"
    "player player";
  gap: 12px 18px;
  padding: 14px;
  border: 1px solid rgba(214, 168, 74, 0.22);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(30, 24, 17, 0.92), rgba(21, 17, 12, 0.96)),
    radial-gradient(ellipse at 78% 0%, rgba(214, 168, 74, 0.14), transparent 60%);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.55);
}
.hero-backdrop {
  grid-area: poster;
  position: relative;
  align-self: start;
  border: 1px solid rgba(214, 168, 74, 0.3);
  background: #0e0b08;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.6);
}
.hero-poster-media { display: block; }
.hero-poster-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.hero-info {
  grid-area: info;
  align-self: start;
  min-width: 0;
  padding: 2px 0 0;
}
.hero-title {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0.1em;
  color: #f5e6bd;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8), 0 0 26px rgba(214, 168, 74, 0.25);
}
.hero-tagline {
  margin-top: 6px;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: #d6a84a;
}
.hero-seo {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(214, 168, 74, 0.18);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 13.5px;
  line-height: 1.8;
  color: #bcae95;
  text-align: justify;
}
.hero-player {
  grid-area: player;
  position: relative;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(214, 168, 74, 0.24);
  background: #0b0906;
}
.hero-player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(38, 30, 21, 0.95), rgba(24, 19, 13, 0.95));
  border-top: 1px solid rgba(214, 168, 74, 0.2);
}
.player-controls button {
  padding: 3px 10px;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #d5c8ad;
  border: 1px solid rgba(214, 168, 74, 0.3);
  border-radius: 2px;
  background: rgba(46, 84, 63, 0.35);
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.player-controls button:hover {
  color: #ffe6a8;
  border-color: #d6a84a;
  background: rgba(70, 52, 26, 0.8);
}
.player-controls input[type="range"] {
  flex: 1 1 90px;
  min-width: 70px;
  height: 18px;
}
.player-controls input[data-player-action="volume"] { flex: 0 1 96px; }
.hero-player.is-lights-off::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  transition: background-color 0.3s ease;
}
.hero-player.is-theater {
  grid-column: 1 / -1;
  box-shadow: 0 0 0 1px rgba(214, 168, 74, 0.5), 0 14px 46px rgba(0, 0, 0, 0.75);
}
.hero-player .play, .hero-player .player, .hero-player .progress, .hero-player .speed, .hero-player .volume, .hero-player .mute, .hero-player .pip, .hero-player .fullscreen, .hero-player .theater, .hero-player .light, .hero-player .click { cursor: pointer; }
.synopsis-block {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(214, 168, 74, 0.16);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(30, 24, 17, 0.72), rgba(20, 16, 11, 0.72));
}
.synopsis-body {
  columns: 2;
  column-gap: 26px;
  column-rule: 1px solid rgba(214, 168, 74, 0.14);
}
.synopsis-paragraph {
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.85;
  color: #bdb09a;
  text-align: justify;
  break-inside: avoid;
}
.synopsis-paragraph + .synopsis-paragraph { margin-top: 8px; }
.episode-status-block {
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(214, 168, 74, 0.16);
  border-radius: 3px;
  background: rgba(24, 19, 13, 0.7);
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
}
.status-current {
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #f0d68d;
}
.status-total {
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #9d9versa;
  color: #9d917c;
}
.details-block {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(214, 168, 74, 0.16);
  border-radius: 3px;
  background: rgba(24, 19, 13, 0.7);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 4px 22px;
}
.details-key {
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #8c7f68;
  padding-top: 6px;
  border-top: 1px solid rgba(214, 168, 74, 0.1);
}
.details-value {
  margin: 0 0 6px;
  font-size: 14px;
  color: #d8cbb2;
}
.cast-block {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(214, 168, 74, 0.16);
  border-radius: 3px;
  background: rgba(24, 19, 13, 0.7);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.cast-member {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(240, 214, 141, 0.5), transparent 62%),
    linear-gradient(160deg, #3a2d1d, #221a12);
  border: 1px solid rgba(214, 168, 74, 0.42);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6);
}
.cast-name {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #ddcfb2;
  white-space: nowrap;
}
.timeline-section {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(214, 168, 74, 0.16);
  border-radius: 3px;
  background: rgba(24, 19, 13, 0.7);
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 4px;
}
.timeline-node {
  position: relative;
  flex: 1 1 0;
  min-width: 128px;
  padding: 4px 12px 4px 12px;
  border-left: 1px dashed rgba(214, 168, 74, 0.24);
}
.timeline-node:first-child { border-left: 0; }
.timeline-hole {
  display: block;
  width: 14px;
  height: 20px;
  border-radius: 3px;
  border: 1px solid rgba(214, 168, 74, 0.55);
  background: #0c0906;
  box-shadow: inset 0 0 6px rgba(214, 168, 74, 0.28);
  margin-bottom: 8px;
}
.timeline-timecode {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: #d6a84a;
}
.timeline-label {
  display: block;
  margin-top: 3px;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #b6a992;
}
.episodes-section {
  margin-top: 18px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(214, 168, 74, 0.16);
  border-left: 3px solid rgba(46, 84, 63, 0.85);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(30, 24, 17, 0.8), rgba(21, 17, 12, 0.8));
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.episode-card:hover {
  border-color: rgba(214, 168, 74, 0.42);
  border-left-color: #d6a84a;
  background: linear-gradient(180deg, rgba(38, 30, 20, 0.9), rgba(24, 19, 13, 0.9));
}
.episode-text { min-width: 0; }
.episode-number {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #d6a84a;
}
.episode-title {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: #ecdcb4;
}
.episode-summary {
  margin-top: 4px;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 12.5px;
  line-height: 1.7;
  color: #a89c86;
}
.episode-duration {
  display: inline-block;
  margin-top: 6px;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #8f836c;
  border-top: 1px solid rgba(214, 168, 74, 0.14);
  padding-top: 4px;
}
.episode-thumb {
  width: 96px;
  height: 54px;
  border-radius: 2px;
  border: 1px solid rgba(214, 168, 74, 0.28);
  background:
    linear-gradient(135deg, rgba(46, 84, 63, 0.5), rgba(20, 16, 11, 0.9)),
    repeating-linear-gradient(90deg, rgba(214, 168, 74, 0.08) 0 2px, transparent 2px 6px);
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.6);
}
.comments-section {
  margin-top: 20px;
}
.comment-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}
.comment-card {
  flex: 1 1 250px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(214, 168, 74, 0.2);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(33, 26, 18, 0.9), rgba(22, 18, 13, 0.9));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transform: rotate(-0.7deg);
}
.comment-card:nth-child(even) { transform: rotate(0.8deg); }
.comment-card:nth-child(3n) { transform: rotate(-1.1deg); }
.comment-nickname {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #d6a84a;
  margin-bottom: 4px;
}
.comment-text {
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.75;
  color: #b8ab94;
}
.recommend-region {
  margin-top: 20px;
}
.recommend-scroller {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}
a.recommend-item {
  flex: 0 0 150px;
  width: 150px;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  padding: 8px;
  color: #d5c8ad;
  text-decoration: none;
  border: 1px solid rgba(214, 168, 74, 0.18);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(30, 24, 17, 0.85), rgba(20, 16, 11, 0.85));
  scroll-snap-align: start;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}
a.recommend-item:hover {
  color: #ffe6a8;
  border-color: rgba(214, 168, 74, 0.55);
  background: linear-gradient(180deg, rgba(40, 31, 20, 0.92), rgba(24, 19, 13, 0.92));
  text-decoration: none;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(214, 168, 74, 0.24);
  margin-bottom: 6px;
  background: #0d0a07;
}
.recommend-name {
  font-size: 13.5px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: #ecdcb4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.recommend-blurb {
  margin-top: 3px;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 11.5px;
  line-height: 1.6;
  color: #9c9079;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  margin-top: 26px;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(214, 168, 74, 0.2);
  background: linear-gradient(180deg, rgba(18, 14, 10, 0.6), rgba(11, 9, 6, 0.95));
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.footer-nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #cfc2a6;
  text-decoration: none;
}
a[data-contract="footer-home"] { color: #cfc2a6; text-decoration: none; }
a[data-contract="footer-home"]:hover { color: #ffd77a; text-decoration: underline; }
a[data-contract="footer-sitemap"] { color: #a99a7c; text-decoration: none; }
a[data-contract="footer-sitemap"]:hover { color: #ffd77a; text-decoration: underline; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  flex: 1 1 320px;
  min-width: 0;
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #8c7f68;
}
a.runtime-friend-link {
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 12px;
  color: #9f9versa;
  color: #9f9377;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #ffd77a;
  text-decoration: underline;
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 11.5px;
  line-height: 1.7;
  color: #7d7360;
}
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 10px 14px;
  }
.hero-title { font-size: 28px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 720px) {body { font-size: 14.5px; }
.page-main { padding: 12px 12px 6px; }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "info"
      "player";
    gap: 12px;
    padding: 12px;
  }
.hero-backdrop { max-width: 260px; }
.hero-title { font-size: 24px; }
.synopsis-body { columns: 1; column-rule: 0; }
.episode-card { grid-template-columns: minmax(0, 1fr) 84px; }
.episode-thumb { width: 84px; height: 47px; }
.timeline-node { min-width: 152px; }
.comment-card { transform: rotate(0deg); }
.comment-card:nth-child(even) { transform: rotate(0deg); }
.comment-card:nth-child(3n) { transform: rotate(0deg); }
a.recommend-item { flex: 0 0 132px; width: 132px; }}
@media (max-width: 480px) {.header-inner { padding: 7px 12px; }
.site-brand { font-size: 17px; }
.hero-title { font-size: 21px; }
.hero-tagline { font-size: 14px; }
.hero-seo { font-size: 13px; }
.player-controls button { padding: 3px 8px; font-size: 12px; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.cast-avatar { width: 40px; height: 40px; }
.episode-card { grid-template-columns: minmax(0, 1fr); }
.episode-thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.comment-card { flex: 1 1 100%; }
a.recommend-item { flex: 0 0 118px; width: 118px; }}

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}
