*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #0b1017;
  background-image:
    radial-gradient(120% 90% at 12% -10%, rgba(255, 176, 74, 0.16), transparent 58%),
    radial-gradient(120% 100% at 100% 0%, rgba(38, 74, 122, 0.35), transparent 62%),
    linear-gradient(180deg, #0c1119 0%, #090d14 42%, #070a10 100%);
  color: #e7dfd2;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: #e8c07d;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 12, 19, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(214, 168, 96, 0.28);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: #f4d9a6;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-shadow: 0 0 18px rgba(255, 178, 74, 0.35);
}
a[data-contract="site-name"]:hover {
  color: #ffe4b0;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 11px;
  font-size: 13px;
  color: #cbd7e6;
  text-decoration: none;
  border: 1px solid rgba(148, 178, 214, 0.34);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(38, 62, 96, 0.45), rgba(16, 25, 40, 0.55));
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
a.runtime-category:hover {
  color: #ffe6b4;
  border-color: rgba(255, 190, 96, 0.7);
  background: linear-gradient(180deg, rgba(84, 62, 30, 0.5), rgba(30, 22, 12, 0.6));
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f0d49c;
  padding-left: 12px;
  position: relative;
  margin-bottom: 10px;
  text-shadow: 0 0 14px rgba(255, 172, 68, 0.28);
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 3px;
  background: linear-gradient(180deg, #ffc46b, rgba(255, 140, 40, 0.25));
  border-radius: 1px;
}
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 20px;
  align-items: start;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(48, 34, 18, 0.72), rgba(12, 18, 28, 0.85) 58%),
    linear-gradient(180deg, #10161f, #0a0e15);
  border: 1px solid rgba(206, 160, 92, 0.3);
  border-radius: 3px;
  box-shadow: inset 0 0 90px rgba(255, 160, 60, 0.07), 0 14px 34px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.hero-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(9, 13, 20, 0), rgba(6, 9, 14, 0.92));
  pointer-events: none;
}
.hero-poster-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 320px;
  border: 1px solid rgba(212, 168, 98, 0.45);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}
.hero-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}
.hero-overlay {
  position: relative;
  z-index: 3;
  align-self: end;
  padding: 4px 0 10px;
  min-width: 0;
}
.hero-title {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffe0a8;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 0 34px rgba(255, 158, 52, 0.42);
}
.hero-tagline {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #cfd8e4;
  letter-spacing: 0.08em;
  max-width: 34em;
  border-left: 2px solid rgba(255, 178, 74, 0.55);
  padding-left: 12px;
}
.player-wrap {
  position: relative;
  display: block;
  width: 100%;
  background: #05080d;
  border: 1px solid rgba(206, 160, 92, 0.3);
  border-radius: 3px;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 2px;
  object-fit: contain;
}
.player-wrap.theater-mode {
  border-color: rgba(255, 190, 96, 0.62);
  box-shadow: 0 0 0 1px rgba(255, 176, 74, 0.22), 0 16px 40px rgba(0, 0, 0, 0.7);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 2px 2px;
  border-top: 1px solid rgba(150, 175, 205, 0.16);
}
.player-btn {
  appearance: none;
  cursor: pointer;
  padding: 4px 11px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: #e3d3b4;
  background: linear-gradient(180deg, rgba(52, 40, 22, 0.9), rgba(22, 18, 12, 0.9));
  border: 1px solid rgba(198, 154, 88, 0.4);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.player-btn:hover {
  color: #ffe9bd;
  border-color: rgba(255, 190, 96, 0.78);
}
.player-btn.is-playing, .player-btn.is-active {
  color: #14100a;
  background: linear-gradient(180deg, #ffd487, #d99a3c);
  border-color: #ffd487;
}
.player-btn.is-muted {
  color: #8fa2b8;
  border-color: rgba(120, 140, 165, 0.45);
  background: linear-gradient(180deg, rgba(24, 32, 44, 0.9), rgba(12, 17, 24, 0.9));
}
.player-range {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  margin: 0;
  background: linear-gradient(90deg, rgba(255, 186, 88, 0.85), rgba(84, 108, 140, 0.55));
  border-radius: 2px;
  cursor: pointer;
  outline: none;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffdda0;
  border: 1px solid #8a6020;
  box-shadow: 0 0 8px rgba(255, 176, 74, 0.7);
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #8a6020;
  border-radius: 50%;
  background: #ffdda0;
}
.player-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding: 4px 10px;
  font-size: 12.5px;
  color: #e3d3b4;
  background: linear-gradient(180deg, rgba(38, 46, 60, 0.9), rgba(14, 19, 27, 0.9));
  border: 1px solid rgba(160, 180, 206, 0.35);
  border-radius: 2px;
}
.cast-section {
  padding-top: 2px;
}
.cast-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.cast-track::-webkit-scrollbar {
  height: 6px;
}
.cast-track::-webkit-scrollbar-thumb {
  background: rgba(198, 154, 88, 0.4);
  border-radius: 3px;
}
.cast-card {
  position: relative;
  flex: 0 0 auto;
  width: 132px;
  min-height: 104px;
  scroll-snap-align: start;
  display: flex;
  align-items: flex-end;
  padding: 10px 10px 12px;
  border: 1px solid rgba(190, 150, 90, 0.34);
  border-radius: 2px;
  background:
    linear-gradient(160deg, rgba(58, 40, 20, 0.75), rgba(12, 17, 25, 0.92) 70%);
  box-shadow: inset 0 0 40px rgba(255, 160, 60, 0.06);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.cast-card-a { transform: translateY(0); }
.cast-card-b { transform: translateY(-14px); }
.cast-card-c { transform: translateY(0); }
.cast-card-d { transform: translateY(-14px); }
.cast-card-e { transform: translateY(0); }
.cast-card-f { transform: translateY(-14px); }
.cast-card-g { transform: translateY(0); }
.cast-card-h { transform: translateY(-14px); }
.cast-name {
  display: block;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #ffe1ad;
  text-shadow: 0 0 14px rgba(255, 168, 62, 0.35);
}
.synopsis-section {
  max-width: 74em;
}
.synopsis-lead {
  font-size: 15.5px;
  line-height: 1.85;
  color: #f3e5cd;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 2px solid rgba(255, 178, 74, 0.5);
}
.synopsis-para {
  font-size: 14px;
  line-height: 1.85;
  color: #b9c3d1;
  margin-bottom: 9px;
  text-indent: 2em;
}
.episode-status-section, .details-section {
  background: linear-gradient(180deg, rgba(20, 27, 38, 0.72), rgba(11, 16, 24, 0.72));
  border: 1px solid rgba(140, 165, 196, 0.22);
  border-radius: 3px;
  padding: 12px 14px;
}
.status-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 2px;
  border-bottom: 1px dashed rgba(140, 165, 196, 0.16);
}
.status-row:last-child {
  border-bottom: 0;
}
.status-label {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: #8fa3ba;
  white-space: nowrap;
}
.status-value {
  font-size: 14px;
  color: #ffdca4;
  letter-spacing: 0.06em;
  text-align: right;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px 18px;
}
.detail-pair {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 2px;
  border-bottom: 1px dashed rgba(140, 165, 196, 0.14);
}
.detail-key {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: #8fa3ba;
  white-space: nowrap;
}
.detail-value {
  font-size: 13.5px;
  color: #e6dcc8;
  text-align: right;
}
.timeline-section {
  max-width: 74em;
}
.timeline-list {
  position: relative;
  margin-left: 6px;
  padding: 2px 0 22px 24px;
  border-left: 1px solid rgba(168, 190, 216, 0.3);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 4px 14px;
  align-items: baseline;
}
.timeline-node {
  position: absolute;
  left: -31px;
  top: 0.42em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, rgba(255, 216, 150, 0.95), rgba(196, 130, 44, 0.85) 62%, rgba(96, 60, 16, 0.9));
  border: 1px solid rgba(255, 200, 120, 0.55);
  box-shadow: 0 0 0 3px rgba(10, 14, 21, 0.95), 0 0 14px rgba(255, 168, 62, 0.4);
}
.timeline-timecode {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: #ffca7a;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 14px;
  line-height: 1.7;
  color: #c3cddb;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 12px 12px;
  background: linear-gradient(180deg, rgba(22, 29, 40, 0.82), rgba(12, 17, 25, 0.82));
  border: 1px solid rgba(140, 165, 196, 0.2);
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.episode-card:hover {
  border-color: rgba(255, 190, 96, 0.5);
  transform: translateY(-2px);
}
.episode-number {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #8fa3ba;
}
.episode-title {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f0dcb4;
  line-height: 1.4;
}
.episode-summary {
  font-size: 13px;
  line-height: 1.7;
  color: #a9b5c5;
}
.episode-duration {
  margin-top: auto;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #7f93ab;
  font-variant-numeric: tabular-nums;
}
.episode-card-current {
  background: linear-gradient(180deg, rgba(255, 196, 100, 0.94), rgba(214, 148, 48, 0.92));
  border-color: #ffd68a;
  box-shadow: 0 0 0 1px rgba(255, 214, 138, 0.5), 0 10px 26px rgba(255, 150, 40, 0.22);
}
.episode-card-current .episode-number {
  color: #6b4514;
}
.episode-card-current .episode-title {
  color: #241503;
}
.episode-card-current .episode-summary {
  color: #4a3111;
}
.episode-card-current .episode-duration {
  color: #6b4514;
}
.episode-card-current:hover {
  border-color: #ffe6b8;
}
.comment-columns {
  column-count: 2;
  column-gap: 14px;
}
.comment-card {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(20, 27, 38, 0.78), rgba(11, 16, 24, 0.78));
  border: 1px solid rgba(140, 165, 196, 0.18);
  border-left: 2px solid rgba(255, 178, 74, 0.5);
  border-radius: 2px;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 214, 150, 0.9), rgba(122, 92, 48, 0.9) 60%, rgba(46, 34, 18, 0.95));
  border: 1px solid rgba(214, 172, 100, 0.45);
}
.comment-body {
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: #ffca7a;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 13.5px;
  line-height: 1.72;
  color: #b8c3d1;
}
.recommend-region {
  border-top: 1px solid rgba(140, 165, 196, 0.16);
  padding-top: 14px;
}
.recommend-region-1 {
  border-top-color: rgba(255, 178, 74, 0.4);
}
.recommend-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  color: #e6dcc8;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(21, 28, 39, 0.8), rgba(11, 16, 24, 0.8));
  border: 1px solid rgba(140, 165, 196, 0.2);
  border-radius: 2px;
  transition: border-color 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
}
a.recommend-item:hover {
  border-color: rgba(255, 190, 96, 0.62);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: #06090e;
  filter: saturate(1.04);
}
.recommend-pic {
  display: block;
}
.recommend-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #f2dfb8;
  line-height: 1.45;
}
.recommend-blurb {
  display: block;
  font-size: 12.5px;
  line-height: 1.68;
  color: #a4b0c0;
}
.site-footer {
  margin-top: 26px;
  padding: 18px 18px 26px;
  border-top: 1px solid rgba(214, 168, 96, 0.28);
  background: linear-gradient(180deg, rgba(9, 13, 20, 0.6), rgba(5, 8, 12, 0.9));
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #d8c49a;
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 172, 100, 0.35);
  padding-bottom: 2px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffe6b4;
  border-bottom-color: rgba(255, 214, 150, 0.8);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: #7f93ab;
}
a.runtime-friend-link {
  font-size: 12.5px;
  color: #9fb4cc;
  text-decoration: none;
  border-bottom: 1px dotted rgba(140, 168, 200, 0.45);
  padding-bottom: 1px;
}
a.runtime-friend-link:hover {
  color: #ffe0a8;
  border-bottom-color: rgba(255, 200, 120, 0.8);
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: #6f8098;
  max-width: 76em;
}
body.lights-off {
  background-image:
    radial-gradient(110% 80% at 12% -10%, rgba(255, 160, 50, 0.07), transparent 60%),
    radial-gradient(120% 100% at 100% 0%, rgba(30, 60, 100, 0.22), transparent 62%),
    linear-gradient(180deg, #06090e 0%, #04060a 60%, #03050a 100%);
}
body.lights-off .hero-stage, body.lights-off .player-wrap {
  filter: brightness(0.86);
}
.player-btn.change, .player-btn.click, .player-btn.input, .player-btn.progress, .player-btn.speed, .player-btn.timeupdate, .player-btn.volume, .player-btn.mute, .player-btn.play, .player-btn.pip, .player-btn.fullscreen, .player-btn.theater, .player-btn.light {
  cursor: pointer;
}
@media (max-width: 1080px) {.hero-stage {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 16px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.page-main {
    padding: 14px 14px 6px;
    gap: 18px;
  }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.hero-poster-wrap {
    max-width: 260px;
  }
.hero-overlay {
    align-self: start;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-columns {
    column-count: 2;
  }}
@media (max-width: 720px) {body {
    font-size: 14.5px;
  }
.header-inner {
    padding: 8px 12px;
  }
a[data-contract="site-name"] {
    font-size: 17px;
  }
.page-main {
    padding: 12px 12px 6px;
    gap: 16px;
  }
.hero-stage {
    padding: 12px;
  }
.hero-poster-wrap {
    max-width: 210px;
  }
.hero-title {
    font-size: clamp(21px, 6.4vw, 28px);
  }
.hero-tagline {
    font-size: 13.5px;
    margin-top: 9px;
    padding-left: 10px;
  }
.player-wrap {
    padding: 6px;
  }
.player-controls {
    gap: 6px;
  }
.player-btn, .player-select {
    font-size: 12px;
    padding: 4px 9px;
  }
.player-range {
    flex: 1 1 100%;
    order: 9;
  }
.cast-card {
    width: 116px;
    min-height: 92px;
  }
.cast-card-b, .cast-card-d, .cast-card-f, .cast-card-h {
    transform: translateY(-10px);
  }
.synopsis-lead {
    font-size: 14.5px;
  }
.synopsis-para {
    font-size: 13.5px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
.timeline-list {
    padding-left: 20px;
  }
.timeline-node {
    left: -27px;
  }
.comment-columns {
    column-count: 1;
  }
.recommend-columns {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 480px) {.hero-poster-wrap {
    max-width: 100%;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
.timeline-timecode {
    font-size: 12px;
  }
.cast-card {
    width: 104px;
    min-height: 84px;
  }
.footer-nav {
    gap: 12px;
  }}

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}
