:root {
  --amber: #e8a33d;
  --amber-bright: #ffc46b;
  --amber-deep: #b06b1a;
  --charcoal: #14171a;
  --charcoal-2: #1b2024;
  --slate: #232a30;
  --slate-line: #333c44;
  --teal-dark: #131c20;
  --teal-mid: #1d2a30;
  --ink: #0c0e10;
  --text: #c9ced4;
  --text-dim: #8b939b;
  --text-faint: #6a727a;
  --title-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --body-font: "Songti SC", "SimSun", "Noto Serif CJK SC", "STSong", serif;
  --gap-tight: 8px;
  --gap: 12px;
  --gap-wide: 20px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
body {
  background: linear-gradient(180deg, #0e1114 0%, #131a1f 30%, #16232a 65%, #0f181d 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--amber);
  text-decoration: none;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--title-font);
  font-weight: 700;
  letter-spacing: 0.02em;
}
p {
  margin: 0;
}
ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: var(--title-font);
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 10px 18px;
  background: linear-gradient(180deg, rgba(12, 16, 19, 0.96), rgba(16, 24, 29, 0.9));
  border-bottom: 1px solid var(--slate-line);
  backdrop-filter: blur(6px);
}
.brand-shell {
  display: flex;
  align-items: center;
}
.brand-mark {
  font-family: var(--title-font);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--amber-bright);
  padding: 3px 12px;
  border: 1px solid var(--amber-deep);
  border-left: 4px solid var(--amber);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  text-shadow: 0 0 12px rgba(232, 163, 61, 0.4);
}
a[data-contract="site-name"] {
  color: var(--amber-bright);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #ffe0a8;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
a.runtime-category {
  white-space: nowrap;
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid var(--slate-line);
  background: rgba(35, 42, 48, 0.5);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}
.archive-main {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
}
.hero-arc {
  padding-top: 22px;
}
.hero-glow-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: var(--gap-wide);
  align-items: start;
}
.poster-wrap {
  position: relative;
  width: 100%;
  align-self: start;
}
.poster-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid var(--slate-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  filter: contrast(1.08) saturate(1.05);
}
.hero-lines {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
  min-width: 0;
}
.orb-emblem {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin-bottom: 2px;
  background:
    radial-gradient(circle at 38% 34%, #fff3d6 0%, var(--amber-bright) 18%, var(--amber) 42%, var(--amber-deep) 62%, #3a2408 82%, #101418 100%);
  box-shadow:
    0 0 26px rgba(232, 163, 61, 0.55),
    0 0 60px rgba(232, 163, 61, 0.28),
    inset 0 0 22px rgba(255, 220, 150, 0.5);
  animation: orb-breathe 4.2s ease-in-out infinite;
}
@keyframes orb-breathe {
  0%, 100% {
    box-shadow:
      0 0 20px rgba(232, 163, 61, 0.42),
      0 0 44px rgba(232, 163, 61, 0.2),
      inset 0 0 18px rgba(255, 220, 150, 0.4);
    filter: brightness(0.92);
  }
  50% {
    box-shadow:
      0 0 34px rgba(255, 196, 107, 0.75),
      0 0 84px rgba(232, 163, 61, 0.4),
      inset 0 0 26px rgba(255, 235, 190, 0.7);
    filter: brightness(1.12);
  }
}
.film-title {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  color: #f3f5f6;
  letter-spacing: 0.04em;
  text-shadow: 0 0 22px rgba(232, 163, 61, 0.35);
}
.film-tagline {
  font-family: var(--title-font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--amber-bright);
  border-left: 3px solid var(--amber);
  padding-left: 10px;
  letter-spacing: 0.02em;
}
.film-seo {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 68ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.hero-actions button {
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border: 1px solid var(--slate-line);
  background: rgba(28, 36, 42, 0.7);
  color: var(--text);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-play {
  background: linear-gradient(135deg, var(--amber-bright), var(--amber-deep));
  color: var(--ink);
  font-weight: 700;
  border-color: var(--amber);
  box-shadow: 0 0 18px rgba(232, 163, 61, 0.35);
}
.btn-play:hover {
  background: linear-gradient(135deg, #ffe0a8, var(--amber));
}
.btn-theater:hover, .btn-light:hover {
  color: var(--amber-bright);
  border-color: var(--amber);
}
.player-shell {
  position: relative;
  width: 100%;
  margin-top: var(--gap-wide);
  background: #050708;
  border: 1px solid var(--slate-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--amber-deep), 0 0 42px rgba(232, 163, 61, 0.28);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(20, 26, 30, 0.95), rgba(10, 14, 17, 0.95));
  border-top: 1px solid var(--slate-line);
}
.player-controls .ctl {
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text);
  background: rgba(35, 44, 51, 0.8);
  border: 1px solid var(--slate-line);
  padding: 5px 10px;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.player-controls .ctl:hover {
  color: var(--amber-bright);
  border-color: var(--amber-deep);
}
.ctl-progress {
  flex: 1 1 140px;
  min-width: 100px;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--amber-deep), #2c353c);
  border: none;
  padding: 0;
  cursor: pointer;
}
.ctl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: var(--amber-bright);
  border: 1px solid var(--ink);
  box-shadow: 0 0 10px rgba(232, 163, 61, 0.6);
}
.ctl-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--amber-bright);
  border: 1px solid var(--ink);
}
.ctl-volume {
  flex: 0 0 90px;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: #2c353c;
  border: none;
  padding: 0;
  cursor: pointer;
}
.ctl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  background: var(--amber);
}
.ctl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--amber);
  border: none;
}
.ctl.is-active {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}
.ctl.is-muted {
  color: #ff9d6b;
  border-color: #a04a20;
}
.is-lights-off .archive-main > .hero-arc .poster-wrap, .is-lights-off .site-footer, .is-lights-off .timeline-section, .is-lights-off .episodes-section, .is-lights-off .comments-section, .is-lights-off .rec-region {
  filter: brightness(0.35);
  transition: filter 0.35s ease;
}
.overview-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: var(--gap-wide);
  margin-top: var(--gap-wide);
  align-items: start;
}
.ov-col {
  display: flex;
  flex-direction: column;
  gap: var(--gap-wide);
  min-width: 0;
}
.block-title {
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--amber-bright);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--slate-line);
  position: relative;
}
.block-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: var(--amber);
}
.cast-block, .episode-status-block, .synopsis-block, .details-block {
  background: linear-gradient(160deg, rgba(28, 36, 43, 0.72), rgba(17, 23, 28, 0.72));
  border: 1px solid var(--slate-line);
  padding: 14px 16px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border: 1px solid transparent;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.cast-card:hover {
  border-color: var(--amber-deep);
  background: rgba(232, 163, 61, 0.06);
}
.cast-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, #4a5a63 0%, #2b363d 46%, #141a1e 100%);
  border: 1px solid var(--amber-deep);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6), 0 0 10px rgba(232, 163, 61, 0.15);
}
.cast-name {
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text);
  text-align: center;
}
.status-line {
  font-family: var(--title-font);
  font-size: 14px;
  color: #eef1f3;
  letter-spacing: 0.03em;
}
.status-meta {
  font-size: 12px;
  color: var(--amber);
  margin-top: 4px;
}
.synopsis-block .syn-p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.synopsis-block .syn-p:last-child {
  margin-bottom: 0;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(51, 60, 68, 0.7);
  min-width: 0;
}
.detail-key {
  flex: 0 0 68px;
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}
.detail-val {
  flex: 1 1 auto;
  font-size: 13px;
  color: var(--text);
  min-width: 0;
}
.timeline-section {
  margin-top: 46px;
}
.section-title {
  font-size: 17px;
  letter-spacing: 0.12em;
  color: #f0f2f4;
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--slate-line);
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-bright), transparent);
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 32px;
  padding-left: 14px;
  border-left: 1px solid var(--slate-line);
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  background: rgba(24, 31, 37, 0.62);
  border: 1px solid rgba(51, 60, 68, 0.7);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: background 0.18s ease, border-color 0.18s ease;
}
.timeline-item:hover {
  background: rgba(46, 36, 18, 0.5);
  border-color: var(--amber-deep);
}
.tl-node {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-left: -19px;
  background: var(--amber-bright);
  box-shadow: 0 0 10px rgba(232, 163, 61, 0.8);
  transform: rotate(45deg);
}
.tl-time {
  flex: 0 0 auto;
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.tl-label {
  flex: 1 1 auto;
  font-size: 13px;
  color: var(--text);
  min-width: 0;
}
.episodes-section {
  margin-top: 46px;
}
.episode-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-color: var(--amber-deep) transparent;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.episode-rail::-webkit-scrollbar {
  height: 6px;
}
.episode-rail::-webkit-scrollbar-track {
  background: rgba(35, 42, 48, 0.5);
}
.episode-rail::-webkit-scrollbar-thumb {
  background: var(--amber-deep);
}
.episode-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  background: linear-gradient(165deg, rgba(28, 36, 43, 0.85), rgba(15, 21, 26, 0.85));
  border: 1px solid var(--slate-line);
  border-top: 2px solid var(--slate-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.episode-card:hover {
  border-top-color: var(--amber);
  background: linear-gradient(165deg, rgba(58, 44, 22, 0.6), rgba(18, 24, 29, 0.9));
  transform: translateY(-2px);
}
.episode-card.is-current {
  border-top-color: var(--amber-bright);
  box-shadow: 0 0 20px rgba(232, 163, 61, 0.18);
}
.ep-number {
  font-family: var(--title-font);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber);
}
.ep-title {
  font-size: 14px;
  color: #eef1f3;
  letter-spacing: 0.02em;
}
.ep-duration {
  font-family: var(--title-font);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}
.ep-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.28s ease, margin-top 0.28s ease;
}
.episode-card:hover .ep-summary, .episode-card:focus-within .ep-summary {
  max-height: 140px;
  opacity: 1;
  margin-top: 4px;
}
.comments-section {
  margin-top: 46px;
}
.comment-masonry {
  column-count: 2;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 12px;
  padding: 11px 13px;
  background: linear-gradient(160deg, rgba(26, 33, 39, 0.85), rgba(14, 19, 23, 0.85));
  border: 1px solid var(--slate-line);
  border-left: 2px solid var(--amber-deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.cm-nick {
  display: inline-block;
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--amber-bright);
  margin-bottom: 5px;
}
.cm-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-dim);
}
.rec-region {
  margin-top: 46px;
}
.rec-title {
  font-size: 16px;
  letter-spacing: 0.1em;
  color: #f0f2f4;
  padding-bottom: 7px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--slate-line);
  position: relative;
}
.rec-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: var(--amber);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(165deg, rgba(28, 36, 43, 0.8), rgba(14, 19, 23, 0.8));
  border: 1px solid var(--slate-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.rec-card:hover {
  border-color: var(--amber);
  background: linear-gradient(165deg, rgba(58, 44, 22, 0.6), rgba(18, 24, 29, 0.9));
  transform: translateY(-2px);
}
.rec-card[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(51, 60, 68, 0.8);
}
.rec-name {
  font-family: var(--title-font);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #eef1f3;
}
.rec-blurb {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-faint);
}
.site-footer {
  max-width: 1240px;
  margin: 46px auto 0;
  padding: 20px 18px 30px;
  border-top: 1px solid var(--slate-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber-bright);
  border-bottom-color: var(--amber);
}
a[data-contract="footer-home"] {
  color: var(--amber);
}
a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(51, 60, 68, 0.7);
}
.friend-links-label {
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
a.runtime-friend-link:hover {
  color: var(--amber-bright);
  border-bottom-color: var(--amber-deep);
}
@media (max-width: 900px) {.hero-glow-shell {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: var(--gap);
  }
.overview-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gap-wide);
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 26px;
  }}
@media (max-width: 640px) {.archive-main {
    padding: 0 12px;
  }
.site-header {
    padding: 8px 12px;
  }
.brand-mark {
    font-size: 17px;
    padding: 2px 9px;
  }
.hero-glow-shell {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-wrap {
    max-width: 240px;
  }
.orb-emblem {
    width: 56px;
    height: 56px;
  }
.film-title {
    font-size: 30px;
  }
.overview-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-key {
    flex-basis: 60px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.comment-masonry {
    column-count: 1;
  }
.episode-rail {
    grid-auto-columns: minmax(170px, 78%);
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.player-controls .ctl {
    font-size: 11px;
    padding: 4px 8px;
  }
.ctl-progress {
    flex-basis: 100%;
    order: -1;
  }}
@media (max-width: 400px) {.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 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}
