*, *::before, *::after { box-sizing: border-box; }
html, body, h2, h3, p, ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, 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 {
  --ink-deep: #0c1410;
  --ink: #101b16;
  --ink-soft: #16241d;
  --moss: #1d3a2c;
  --moss-lite: #2c5741;
  --brick: #7a3326;
  --brick-soft: #9c4534;
  --lamp: #e8a94e;
  --lamp-dim: #c9853a;
  --paper: #d8d2c2;
  --paper-dim: #a8a294;
  --paper-faint: #6f6c62;
  --line: rgba(216, 210, 194, 0.14);
  --line-strong: rgba(216, 210, 194, 0.28);
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(120% 80% at 12% 108%, rgba(232, 169, 78, 0.13), transparent 58%),
    radial-gradient(90% 70% at 100% 0%, rgba(29, 58, 44, 0.55), transparent 62%),
    linear-gradient(168deg, #0b1210 0%, #0c1a14 42%, #0a110e 100%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.016) 0px, rgba(255, 255, 255, 0.016) 1px, transparent 1px, transparent 3px),
    radial-gradient(140% 110% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
  mix-blend-mode: normal;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(10, 17, 14, 0.94), rgba(10, 17, 14, 0.78));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 16px;
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lamp);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(232, 169, 78, 0.35), 0 1px 0 rgba(0, 0, 0, 0.6);
  transform: skewX(-6deg);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #f7c877;
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-left: auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--paper-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(29, 58, 44, 0.35);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--lamp);
  border-color: rgba(232, 169, 78, 0.5);
  background: rgba(122, 51, 38, 0.35);
  text-decoration: none;
}
.page-main {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-heading {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--paper);
  padding-left: 10px;
  margin-bottom: 9px;
  border-left: 3px solid var(--brick-soft);
  transform: skewX(-5deg);
}
.hero-shell {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(200deg, #0a1310 0%, #0d1c16 60%, #09100d 100%);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px -22px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    radial-gradient(58% 68% at 4% 104%, rgba(232, 169, 78, 0.16), transparent 62%),
    radial-gradient(46% 60% at 102% 0%, rgba(122, 51, 38, 0.2), transparent 66%);
  transition: opacity 0.35s ease;
}
.hero-shell.lights-off::after { opacity: 0; }
.hero-player-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #050907;
}
.hero-player {
  width: 100%;
  max-width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #050907;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06) brightness(0.9);
}
.hero-shell.is-theater {
  border-color: rgba(232, 169, 78, 0.4);
  box-shadow: 0 22px 60px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(232, 169, 78, 0.18);
}
.player-controls {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  line-height: 1.4;
  background: linear-gradient(180deg, rgba(12, 22, 17, 0.92) 0%, rgba(10, 16, 13, 0.98) 100%);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--paper-dim);
  background: rgba(29, 58, 44, 0.5);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.ctrl-btn:hover {
  color: var(--lamp);
  border-color: rgba(232, 169, 78, 0.45);
  background: rgba(122, 51, 38, 0.42);
  transform: translateY(-1px);
}
.ctrl-btn:active { transform: translateY(0); }
.ctrl-play.is-playing, .ctrl-play.play { color: var(--lamp); border-color: rgba(232, 169, 78, 0.5); }
.ctrl-mute.is-muted, .ctrl-mute.mute { color: var(--brick-soft); border-color: rgba(156, 69, 52, 0.6); }
.ctrl-theater.theater, .ctrl-fullscreen.fullscreen, .ctrl-pip.pip, .ctrl-light.light { color: var(--lamp); border-color: rgba(232, 169, 78, 0.5); }
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lamp-dim) 0%, var(--moss-lite) 100%);
  cursor: pointer;
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lamp);
  border: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 8px rgba(232, 169, 78, 0.6);
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  background: var(--lamp);
}
.ctrl-progress { flex: 1 1 180px; min-width: 120px; }
.ctrl-volume { flex: 0 1 96px; min-width: 68px; }
.ctrl-range.progress, .ctrl-range.volume, .ctrl-range.timeupdate, .ctrl-range.input, .ctrl-range.change { accent-color: var(--lamp); }
.ctrl-select {
  flex: 0 0 auto;
  padding: 4px 6px;
  font-size: 12px;
  color: var(--paper-dim);
  background: rgba(29, 58, 44, 0.5);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-select.speed { color: var(--lamp); }
.timeline-section {
  position: relative;
}
.film-strip {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  background: linear-gradient(180deg, #0a0f0c 0%, #101a13 50%, #0a0f0c 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--moss-lite) transparent;
  -webkit-overflow-scrolling: touch;
}
.film-strip::before, .film-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  z-index: 2;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, transparent 0 6px, rgba(216, 210, 194, 0.22) 6px 13px, transparent 13px 19px);
}
.film-strip::before { top: 0; }
.film-strip::after { bottom: 0; }
.film-strip::-webkit-scrollbar { height: 6px; }
.film-strip::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.4); }
.film-strip::-webkit-scrollbar-thumb { background: var(--moss-lite); border-radius: 3px; }
.timeline-list {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 12px;
  min-height: 118px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 172px;
  padding: 10px 12px 16px;
  margin-right: 2px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(180deg, rgba(29, 58, 44, 0.42) 0%, rgba(12, 20, 16, 0.75) 100%);
  border-left: 1px solid var(--line);
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: background 0.2s ease, transform 0.2s ease;
}
.timeline-node:nth-child(odd) {
  background: linear-gradient(180deg, rgba(122, 51, 38, 0.3) 0%, rgba(12, 20, 16, 0.78) 100%);
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--lamp), rgba(232, 169, 78, 0.05));
}
.timeline-node::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 7px);
}
.timeline-node:hover {
  background: linear-gradient(180deg, rgba(232, 169, 78, 0.22) 0%, rgba(12, 20, 16, 0.82) 100%);
  transform: translateY(-2px);
}
.node-label {
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--paper);
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
}
.node-timecode {
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--lamp);
  opacity: 0.82;
  position: relative;
  z-index: 1;
  padding-top: 5px;
  border-top: 1px dashed var(--line-strong);
}
.episodes-section { position: relative; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  overflow: hidden;
  padding: 12px 12px 30px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(155deg, rgba(22, 36, 29, 0.9) 0%, rgba(11, 18, 15, 0.95) 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.episode-card:hover {
  border-color: rgba(232, 169, 78, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.95);
}
.episode-number-bg {
  position: absolute;
  right: 2px;
  bottom: -22px;
  font-family: "Impact", "Arial Black", "STHeiti", sans-serif;
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
  color: rgba(216, 210, 194, 0.09);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.episode-card:hover .episode-number-bg { color: rgba(232, 169, 78, 0.16); }
.episode-title {
  position: relative;
  z-index: 1;
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lamp);
  transform: skewX(-5deg);
}
.episode-summary {
  position: relative;
  z-index: 1;
  font-size: 12px;
  line-height: 1.58;
  color: var(--paper-dim);
  flex: 1 1 auto;
}
.episode-duration {
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 9px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--paper-faint);
  padding-left: 9px;
  border-left: 2px solid var(--brick-soft);
}
.movie-overview {
  background:
    radial-gradient(90% 100% at 0% 100%, rgba(232, 169, 78, 0.09), transparent 55%),
    linear-gradient(160deg, rgba(20, 34, 26, 0.92) 0%, rgba(10, 17, 13, 0.96) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
}
.overview-main {
  display: grid;
  grid-template-columns: minmax(0, 178px) minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
}
.overview-poster {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 16px 34px -20px rgba(0, 0, 0, 0.95);
  background: #0a110e;
}
.overview-poster-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.overview-text {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.overview-title {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--paper);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.7), 0 0 22px rgba(232, 169, 78, 0.18);
  transform: skewX(-7deg);
  transform-origin: left bottom;
  margin-bottom: 6px;
}
.overview-tagline {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--lamp);
  padding-left: 10px;
  border-left: 3px solid var(--brick-soft);
  margin-bottom: 8px;
}
.overview-seo {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--paper-dim);
  text-align: justify;
}
.cast-row {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.cast-heading {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper-dim);
  margin-bottom: 7px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1px;
}
.cast-card {
  flex: 0 1 auto;
  display: flex;
  align-items: stretch;
  gap: 1px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cast-card:hover {
  border-color: rgba(232, 169, 78, 0.45);
  background: rgba(122, 51, 38, 0.28);
}
.cast-avatar {
  display: block;
  width: 34px;
  min-height: 46px;
  background:
    radial-gradient(60% 50% at 50% 34%, rgba(232, 169, 78, 0.32), transparent 70%),
    linear-gradient(165deg, #24402f 0%, #0d1712 100%);
  border-right: 1px solid var(--line);
}
.cast-card:nth-child(2n) .cast-avatar {
  background:
    radial-gradient(60% 50% at 50% 34%, rgba(156, 69, 52, 0.34), transparent 70%),
    linear-gradient(165deg, #33221c 0%, #0d1712 100%);
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 6px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--paper);
  white-space: nowrap;
}
.synopsis-block {
  grid-column: 1 / -1;
  grid-row: 3;
  padding-top: 11px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}
.synopsis-heading, .details-heading {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lamp);
  margin-bottom: 7px;
  transform: skewX(-5deg);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--paper-dim);
  text-align: justify;
  margin-bottom: 7px;
}
.synopsis-para:last-child { margin-bottom: 0; }
.synopsis-para:first-of-type { color: var(--paper); }
.episode-status {
  grid-column: 1 / -1;
  grid-row: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px dashed var(--line-strong);
}
.status-item {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--paper);
  background: rgba(29, 58, 44, 0.55);
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
}
.status-item:first-child {
  color: var(--lamp);
  border-color: rgba(232, 169, 78, 0.35);
  background: rgba(122, 51, 38, 0.3);
}
.details-block {
  grid-column: 1 / -1;
  grid-row: 5;
  padding-top: 11px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 9px;
  background: rgba(11, 18, 15, 0.92);
  font-size: 12px;
  min-width: 0;
}
.detail-item dt {
  flex: 0 0 auto;
  color: var(--paper-faint);
  letter-spacing: 0.06em;
  font-size: 11px;
}
.detail-item dd {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--paper);
  letter-spacing: 0.02em;
  word-break: break-word;
}
.detail-item:nth-child(4n + 1) dd { color: var(--lamp); }
.comments-section { position: relative; }
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 8px;
}
.comment-note {
  position: relative;
  padding: 11px 12px 12px;
  background: linear-gradient(150deg, rgba(30, 46, 36, 0.92) 0%, rgba(15, 24, 19, 0.95) 100%);
  border: 1px solid var(--line);
  border-radius: 1px;
  box-shadow: 0 10px 22px -16px rgba(0, 0, 0, 0.95);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.comment-note:nth-child(3n + 2) {
  background: linear-gradient(150deg, rgba(52, 33, 26, 0.9) 0%, rgba(16, 20, 16, 0.95) 100%);
}
.comment-note:nth-child(3n) {
  background: linear-gradient(150deg, rgba(24, 34, 40, 0.9) 0%, rgba(14, 20, 17, 0.95) 100%);
}
.comment-note::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 14px;
  width: 26px;
  height: 8px;
  background: rgba(232, 169, 78, 0.2);
  border: 1px solid rgba(232, 169, 78, 0.22);
  border-top: none;
  transform: rotate(-2deg);
}
.comment-note:nth-child(2n)::before {
  left: auto;
  right: 18px;
  background: rgba(156, 69, 52, 0.22);
  border-color: rgba(156, 69, 52, 0.28);
  transform: rotate(2.5deg);
}
.comment-note:hover {
  transform: translateY(-2px) rotate(-0.3deg);
  border-color: rgba(232, 169, 78, 0.38);
}
.comment-nickname {
  display: block;
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lamp);
  margin-bottom: 6px;
  padding-bottom: 5px;
  border-bottom: 1px dashed var(--line-strong);
}
.comment-text {
  font-size: 12px;
  line-height: 1.64;
  color: var(--paper-dim);
  text-align: justify;
}
.recommend-region { position: relative; }
.recommend-heading {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--paper);
  padding-left: 10px;
  margin-bottom: 8px;
  border-left: 3px solid var(--brick-soft);
  transform: skewX(-5deg);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(24, 38, 30, 0.92) 0%, rgba(11, 18, 14, 0.96) 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
a.recommend-card:hover {
  border-color: rgba(232, 169, 78, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -18px rgba(0, 0, 0, 0.95);
  text-decoration: none;
}
[data-runtime="recommendation"] img, .recommend-card .recommend-pic {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0a110e;
  filter: saturate(0.85) contrast(1.05) brightness(0.94);
}
.recommend-name {
  display: block;
  padding: 7px 9px 3px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  display: block;
  padding: 0 9px 9px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--paper-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-card:hover .recommend-name { color: var(--lamp); }
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding: 16px 16px 22px;
  background: linear-gradient(180deg, rgba(9, 15, 12, 0.6) 0%, rgba(6, 10, 8, 0.95) 100%);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
}
.friend-links-label {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper-faint);
  margin-right: 3px;
}
a.runtime-friend-link {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--paper-faint);
  text-decoration: none;
  background: rgba(29, 58, 44, 0.3);
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-friend-link:hover {
  color: var(--lamp);
  border-color: rgba(232, 169, 78, 0.35);
  background: rgba(122, 51, 38, 0.28);
  text-decoration: none;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
}
a[data-contract="footer-home"] { color: var(--lamp); }
a[data-contract="footer-sitemap"] { color: var(--paper-dim); }
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f7c877;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(168, 162, 148, 0.62);
  letter-spacing: 0.02em;
  max-width: 900px;
}
@media (max-width: 1080px) {.overview-main {
    grid-template-columns: minmax(0, 156px) minmax(0, 1fr);
    gap: 12px 15px;
  }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 900px) {.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.overview-main { grid-template-columns: minmax(0, 142px) minmax(0, 1fr); }}
@media (max-width: 720px) {.page-main { padding: 10px 12px 22px; gap: 15px; }
.header-inner { padding: 8px 12px; gap: 10px; }
a[data-contract="site-name"] { font-size: 18px; }
.overview-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.overview-poster {
    grid-column: 1;
    grid-row: auto;
    max-width: 176px;
  }
.overview-text { grid-column: 1; grid-row: auto; }
.cast-row { grid-column: 1; grid-row: auto; }
.overview-title { font-size: 22px; }
.cast-list { gap: 2px; }
.cast-avatar { width: 30px; min-height: 42px; }
.timeline-node { width: 156px; }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.recommend-grid { grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); }}
@media (max-width: 560px) {body { font-size: 13px; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.episode-card { padding: 10px 10px 28px; min-height: 120px; }
.episode-number-bg { font-size: 76px; bottom: -18px; }
.episode-title { font-size: 14px; }
.episode-summary { font-size: 11.5px; }
.section-heading { font-size: 15.5px; }
.recommend-heading { font-size: 15px; }
.recommend-grid { grid-template-columns: repeat(auto-fill, minmax(134px, 1fr)); gap: 6px; }
.player-controls { gap: 5px 6px; padding: 7px 8px; }
.ctrl-btn { padding: 4px 8px; font-size: 11.5px; }
.ctrl-progress { flex: 1 1 100%; min-width: 0; order: -1; }
.ctrl-volume { flex: 0 1 74px; min-width: 60px; }
.details-list { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.detail-item { padding: 5px 8px; font-size: 11.5px; }
.timeline-node { width: 146px; padding: 9px 10px 14px; }
.node-label { font-size: 12px; }
.site-footer { padding: 14px 12px 20px; }}
@media (max-width: 400px) {.episode-grid { grid-template-columns: minmax(0, 1fr); }
.recommend-grid { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }
.cast-avatar { width: 26px; min-height: 38px; }
.cast-name { font-size: 11px; padding: 4px 5px; }}
@media (prefers-reduced-motion: reduce) {* { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
html { scroll-behavior: auto; }}

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}
