*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, ul, ol, li, dl, dd, dt { 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; }
button { background: none; border: 0; cursor: pointer; }
:root {
  --xuan: #0b1519;
  --xuan-2: #10222a;
  --xuan-3: #17313a;
  --frost: #e8f1f4;
  --frost-dim: #a9bcc4;
  --gold: #d8a449;
  --gold-soft: #f0c877;
  --gold-deep: #8a6120;
  --violet: #3a1f52;
  --violet-2: #641f6e;
  --line: rgba(216, 164, 73, 0.28);
  --line-soft: rgba(232, 241, 244, 0.12);
  --radius: 4px;
  --radius-lg: 8px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(1200px 700px at 50% -10%, #1c3b46 0%, rgba(11, 21, 25, 0) 60%),
    radial-gradient(900px 600px at 50% 100%, #2a1440 0%, rgba(11, 21, 25, 0) 65%),
    var(--xuan);
  color: var(--frost);
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100%;
}
h1, h2, .hero-title, .overview-title, .section-heading, .region-title {
  font-family: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "SimSun", serif;
  font-weight: 600;
  text-shadow: 0 0 1px rgba(232, 241, 244, 0.35), 0 0 14px rgba(216, 164, 73, 0.12);
}
body.lights-off {
  background: #05090b;
}
body.lights-off .site-header, body.lights-off .site-footer, body.lights-off .overview-panel > *:not(.player-region), body.lights-off .episodes-block, body.lights-off .timeline-block, body.lights-off .comments-block, body.lights-off .recommend-region {
  opacity: 0.35;
  transition: opacity 0.35s ease;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(8, 18, 22, 0.96), rgba(8, 18, 22, 0.72));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.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: "Songti SC", "Noto Serif SC", serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.14em;
  text-decoration: none;
  white-space: nowrap;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}
a[data-contract="site-name"] { color: var(--gold-soft); text-decoration: none; }
a[data-contract="site-name"]:hover { color: #fff; text-shadow: 0 0 10px rgba(240, 200, 119, 0.6); }
.category-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 320px;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--frost-dim);
  padding: 3px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(23, 49, 58, 0.5);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
a.runtime-category { color: var(--frost-dim); text-decoration: none; }
a.runtime-category:hover {
  color: var(--gold-soft);
  border-color: var(--line);
  background: rgba(216, 164, 73, 0.1);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-stage {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 90% at 50% 120%, rgba(100, 31, 110, 0.5) 0%, rgba(11, 21, 25, 0) 70%),
    radial-gradient(70% 80% at 50% -20%, rgba(40, 96, 110, 0.45) 0%, rgba(11, 21, 25, 0) 70%),
    linear-gradient(180deg, #0e2129 0%, #07171d 55%, #150a24 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px 22px 26px;
}
.hero-rift {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%) rotate(6deg);
  background: linear-gradient(180deg, rgba(240, 200, 119, 0) 0%, rgba(240, 200, 119, 0.9) 45%, rgba(100, 31, 110, 0.9) 100%);
  box-shadow: 0 0 24px 6px rgba(216, 164, 73, 0.35), 0 0 60px 18px rgba(100, 31, 110, 0.35);
}
.hero-rift::before, .hero-rift::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 42%;
  background: linear-gradient(180deg, rgba(240, 200, 119, 0.55), rgba(240, 200, 119, 0));
  transform-origin: top center;
}
.hero-rift::before { top: 8%; transform: rotate(24deg); }
.hero-rift::after { top: 22%; transform: rotate(-31deg); }
.hero-silhouette {
  position: absolute;
  bottom: 0;
  width: 32%;
  max-width: 230px;
  height: 86%;
  background: linear-gradient(180deg, rgba(4, 10, 13, 0.2) 0%, rgba(4, 10, 13, 0.95) 78%);
  opacity: 0.92;
  pointer-events: none;
}
.hero-left {
  left: 4%;
  clip-path: polygon(48% 0%, 62% 12%, 70% 40%, 88% 62%, 100% 100%, 0% 100%, 16% 60%, 34% 36%, 40% 14%);
}
.hero-right {
  right: 4%;
  clip-path: polygon(52% 0%, 40% 12%, 30% 40%, 12% 62%, 0% 100%, 100% 100%, 84% 60%, 66% 36%, 60% 14%);
}
.hero-motes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 18% 30%, rgba(240, 200, 119, 0.9), rgba(240, 200, 119, 0) 70%),
    radial-gradient(2px 2px at 32% 62%, rgba(240, 200, 119, 0.7), rgba(240, 200, 119, 0) 70%),
    radial-gradient(2px 2px at 47% 24%, rgba(240, 200, 119, 0.85), rgba(240, 200, 119, 0) 70%),
    radial-gradient(2px 2px at 58% 54%, rgba(240, 200, 119, 0.6), rgba(240, 200, 119, 0) 70%),
    radial-gradient(2px 2px at 71% 34%, rgba(240, 200, 119, 0.8), rgba(240, 200, 119, 0) 70%),
    radial-gradient(2px 2px at 84% 68%, rgba(240, 200, 119, 0.65), rgba(240, 200, 119, 0) 70%),
    radial-gradient(2px 2px at 26% 82%, rgba(240, 200, 119, 0.5), rgba(240, 200, 119, 0) 70%),
    radial-gradient(2px 2px at 66% 84%, rgba(240, 200, 119, 0.55), rgba(240, 200, 119, 0) 70%);
  animation: moteDrift 9s ease-in-out infinite alternate;
}
@keyframes moteDrift {
  from { transform: translateY(4px); opacity: 0.75; }
  to { transform: translateY(-8px); opacity: 1; }
}
.hero-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
}
.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 14px;
  background: rgba(11, 21, 25, 0.55);
}
.hero-title {
  font-size: clamp(26px, 5vw, 44px);
  letter-spacing: 0.1em;
  color: #fff;
}
.hero-tagline {
  font-size: 13px;
  letter-spacing: 0.26em;
  color: var(--frost-dim);
}
.overview-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(23, 49, 58, 0.7) 0%, rgba(11, 21, 25, 0.82) 100%);
  box-shadow: inset 0 1px 0 rgba(232, 241, 244, 0.05), 0 10px 30px rgba(0, 0, 0, 0.4);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.overview-head {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.poster-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, #17313a, #2a1440);
  align-self: start;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 34px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}
.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overview-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.overview-title {
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: 0.06em;
  color: #fff;
}
.overview-tagline {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.18em;
}
.overview-seo {
  font-size: 13px;
  line-height: 1.75;
  color: var(--frost-dim);
  text-align: justify;
}
.overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.action-play {
  display: inline-block;
  padding: 7px 20px;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  color: #1a1206;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  border-radius: var(--radius);
  box-shadow: 0 0 18px rgba(216, 164, 73, 0.35);
}
a.action-play { color: #1a1206; text-decoration: none; }
a.action-play:hover { background: linear-gradient(180deg, #ffe3a8, var(--gold-soft)); }
.action-follow {
  padding: 7px 18px;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  color: var(--frost);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 21, 25, 0.5);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.action-follow:hover {
  color: var(--gold-soft);
  border-color: var(--gold);
  background: rgba(216, 164, 73, 0.12);
}
.player-region {
  width: 100%;
  min-width: 0;
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #05090b;
}
.player-shell.player-shell-theater {
  box-shadow: 0 0 0 2px var(--gold), 0 0 40px rgba(216, 164, 73, 0.35);
}
.player-video {
  display: block;
  width: 100%;
  background: #05090b;
}
.player-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(23, 49, 58, 0.9), rgba(8, 18, 22, 0.95));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  font-size: 12px;
  padding: 4px 10px;
  color: var(--frost-dim);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(11, 21, 25, 0.6);
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ctrl-btn:hover { color: var(--gold-soft); border-color: var(--line); }
.ctrl-btn.ctrl-btn-active {
  color: #1a1206;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  border-color: var(--gold);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 100px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) var(--progress, 0%), rgba(232, 241, 244, 0.18) var(--progress, 0%));
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 10px rgba(240, 200, 119, 0.8);
}
.ctrl-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--gold-soft);
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 64px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(232, 241, 244, 0.18);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--frost);
}
.ctrl-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--frost);
}
.ctrl-speed {
  font-size: 12px;
  padding: 4px 6px;
  color: var(--frost-dim);
  background: rgba(11, 21, 25, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.ctrl-speed option { background: #0b1519; color: var(--frost); }
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.section-heading {
  position: relative;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
  padding-left: 12px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-soft), rgba(216, 164, 73, 0.1));
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 18px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.8;
  color: var(--frost-dim);
  text-align: justify;
}
.cast-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(23, 49, 58, 0.75), rgba(11, 21, 25, 0.7));
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.cast-role {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 15px;
  color: var(--frost);
  letter-spacing: 0.06em;
}
.cast-actor {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(216, 164, 73, 0.07);
}
.status-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.status-value {
  font-size: 13.5px;
  color: var(--frost);
}
.status-duration {
  font-size: 12px;
  color: var(--frost-dim);
  margin-left: auto;
}
.details-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px 18px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(232, 241, 244, 0.08);
}
.detail-key {
  flex: 0 0 auto;
  min-width: 60px;
  font-size: 12px;
  color: var(--frost-dim);
  letter-spacing: 0.1em;
}
.detail-val {
  font-size: 13px;
  color: var(--frost);
}
.episodes-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.episode-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) rgba(232, 241, 244, 0.08);
}
.episode-scroller::-webkit-scrollbar { height: 6px; }
.episode-scroller::-webkit-scrollbar-track { background: rgba(232, 241, 244, 0.06); border-radius: 999px; }
.episode-scroller::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 999px; }
.episode-track {
  display: flex;
  gap: 8px;
  align-items: stretch;
  min-width: max-content;
}
.episode-card {
  flex: 0 0 auto;
  width: 216px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(23, 49, 58, 0.7), rgba(11, 21, 25, 0.85));
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: border-color 0.2s, transform 0.2s;
}
.episode-card:hover { border-color: var(--line); transform: translateY(-2px); }
.episode-card-current {
  border-color: var(--gold);
  background: linear-gradient(170deg, rgba(216, 164, 73, 0.2), rgba(42, 20, 64, 0.8));
  box-shadow: 0 0 20px rgba(216, 164, 73, 0.25);
}
.episode-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 9px 11px;
}
a.episode-link { color: inherit; text-decoration: none; }
a.episode-link:hover .episode-title { color: var(--gold-soft); }
.episode-num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.episode-title {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 15px;
  color: var(--frost);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.episode-duration {
  font-size: 11.5px;
  color: var(--frost-dim);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.65;
  color: var(--frost-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.timeline-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0 6px;
  border-top: 1px solid var(--line-soft);
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px 22px;
  align-items: start;
  padding-left: 16px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(216, 164, 73, 0.05), rgba(216, 164, 73, 0.55), rgba(100, 31, 110, 0.4));
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 0 2px 8px;
}
.timeline-dot {
  position: absolute;
  left: -16px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 10px 3px rgba(240, 200, 119, 0.55);
}
.timeline-node-current .timeline-dot {
  background: #fff;
  box-shadow: 0 0 16px 6px rgba(240, 200, 119, 0.85);
}
.timeline-timecode {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.timeline-label {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 14px;
  color: var(--frost);
  letter-spacing: 0.06em;
}
.timeline-node-current .timeline-label { color: #fff; }
.comments-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(216, 164, 73, 0.5);
  border-radius: var(--radius);
  background: rgba(23, 49, 58, 0.42);
}
.comment-avatar {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--violet-2) 75%);
  box-shadow: 0 0 10px rgba(216, 164, 73, 0.3);
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.comment-nick {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--frost-dim);
}
.recommend-region {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.region-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.region-title {
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
}
.region-count {
  font-size: 11.5px;
  color: var(--xuan);
  background: var(--gold);
  border-radius: 999px;
  padding: 1px 9px;
  letter-spacing: 0.08em;
}
.recommend-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(23, 49, 58, 0.62), rgba(11, 21, 25, 0.82));
  transition: border-color 0.2s, transform 0.2s;
}
a.recommend-card { color: inherit; text-decoration: none; }
a.recommend-card:hover { border-color: var(--gold); transform: translateY(-2px); }
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: #0a1216;
}
.recommend-name {
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 13.5px;
  color: var(--frost);
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--frost-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 18, 22, 0.9), #05090b);
  margin-top: 8px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(169, 188, 196, 0.75);
  max-width: 820px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-nav a {
  font-size: 12.5px;
  color: var(--frost-dim);
  letter-spacing: 0.1em;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--line);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.friend-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--gold);
  padding-right: 10px;
  border-right: 1px solid var(--line);
}
.runtime-friend-link {
  font-size: 12px;
  color: rgba(169, 188, 196, 0.8);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link { color: rgba(169, 188, 196, 0.8); text-decoration: none; }
a.runtime-friend-link:hover { color: var(--gold-soft); }
@media (max-width: 900px) {.overview-head {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
  }
.hero-stage { min-height: 250px; }}
@media (max-width: 720px) {.page-main { gap: 13px; padding: 12px 11px 22px; }
.overview-panel { padding: 11px; }
.overview-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-frame { max-width: 200px; }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.recommend-rail { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); }
.timeline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-silhouette { width: 38%; }
.status-duration { margin-left: 0; }}
@media (max-width: 480px) {.header-inner { gap: 8px; padding: 7px 11px; }
.site-brand { font-size: 16px; padding-right: 10px; }
.hero-stage { min-height: 210px; padding: 22px 14px 18px; }
.hero-kicker { letter-spacing: 0.2em; font-size: 11px; }
.hero-tagline { letter-spacing: 0.18em; font-size: 12px; }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.recommend-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-card { width: 188px; }
.ctrl-btn { font-size: 11.5px; padding: 4px 8px; }}

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}
