:root {
  --ink-black: #0a0c0e;
  --ink-deep: #111417;
  --qingjin: #1d3a3f;
  --qingjin-light: #2e5a60;
  --dark-red: #7a1f1f;
  --dark-red-bright: #a83232;
  --gold: #b8944a;
  --gold-bright: #d4b06a;
  --silver: #8a9095;
  --silver-light: #b8bfc4;
  --bamboo: #c9b68a;
  --bamboo-dark: #a89468;
  --paper: #d8cfb8;
  --paper-dark: #b8ad92;
  --text-primary: #d4cfc4;
  --text-dim: #9a948a;
  --gap-tight: 0.5rem;
  --gap-mid: 0.75rem;
  --gap-wide: 1rem;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--ink-black);
  color: var(--text-primary);
  font-family: "Songti SC", "SimSun", "STSong", "Noto Serif SC", serif;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10,12,14,0.98) 0%, rgba(17,20,23,0.94) 100%);
  border-bottom: 1px solid rgba(184,148,74,0.35);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-mid);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.4rem 1rem;
}
a[data-contract="site-name"].site-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--dark-red);
  padding-left: 0.5rem;
}
a[data-contract="site-name"].site-name:hover {
  color: #e8c87a;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--silver-light);
  text-decoration: none;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(138,144,149,0.35);
  background: rgba(46,90,96,0.18);
  white-space: nowrap;
  letter-spacing: 0.05em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: rgba(184,148,74,0.6);
  background: rgba(122,31,31,0.25);
}
.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.75rem 1.5rem;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 0.7fr);
  grid-template-rows: auto auto;
  gap: var(--gap-mid);
  padding: 1.2rem 0 0.6rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(184,148,74,0.25);
}
.hero-figure-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-silhouette {
  position: absolute;
  bottom: 0;
  left: 4%;
  width: 42%;
  height: 88%;
  background:
    radial-gradient(ellipse 40% 30% at 50% 12%, rgba(20,22,26,0.9) 0%, transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(10,12,14,0.4) 55%, rgba(10,12,14,0.95) 100%);
  clip-path: polygon(42% 0%, 58% 0%, 64% 16%, 60% 26%, 72% 46%, 68% 100%, 32% 100%, 28% 46%, 40% 26%, 36% 16%);
  background-color: rgba(8,10,12,0.82);
  opacity: 0.9;
}
.hero-palace-fire {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70%;
  height: 75%;
  background:
    radial-gradient(ellipse 35% 40% at 70% 70%, rgba(122,31,31,0.55) 0%, transparent 65%),
    radial-gradient(ellipse 25% 30% at 50% 80%, rgba(168,50,50,0.45) 0%, transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(122,31,31,0.12) 60%, rgba(122,31,31,0.3) 100%);
  clip-path: polygon(10% 55%, 18% 40%, 24% 48%, 32% 28%, 40% 44%, 50% 22%, 58% 42%, 66% 32%, 76% 50%, 88% 38%, 100% 58%, 100% 100%, 0% 100%);
  opacity: 0.85;
}
.hero-info-column {
  position: relative;
  z-index: 2;
  grid-column: 1 / 3;
  align-self: center;
  padding: 0.5rem 0;
}
.movie-title {
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  color: var(--gold-bright);
  letter-spacing: 0.06em;
  text-shadow: 0 2px 12px rgba(122,31,31,0.6);
  margin-bottom: 0.4rem;
  border-bottom: 2px solid var(--dark-red);
  padding-bottom: 0.3rem;
  display: inline-block;
}
.movie-tagline {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", serif;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.movie-seo {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 42em;
  border-left: 2px solid rgba(184,148,74,0.4);
  padding-left: 0.6rem;
}
.hero-poster-column {
  position: relative;
  z-index: 2;
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  align-self: start;
}
.poster-frame {
  border: 1px solid rgba(184,148,74,0.5);
  padding: 3px;
  background: rgba(17,20,23,0.7);
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.poster-image {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.synopsis-section {
  position: relative;
  z-index: 2;
  grid-column: 1 / 3;
  padding: 0.4rem 0;
}
.section-heading {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  padding-left: 0.55rem;
  border-left: 4px solid var(--dark-red);
  line-height: 1.3;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.9rem;
}
.synopsis-paragraph {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-primary);
  text-indent: 1.6em;
  padding: 0.2rem 0;
  border-bottom: 1px dotted rgba(138,144,149,0.2);
}
.cast-section {
  position: relative;
  z-index: 2;
  grid-column: 1 / 4;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(184,148,74,0.2);
  margin-top: 0.3rem;
}
.cast-rail {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--gap-mid);
  overflow-x: auto;
  padding: 0.3rem 0.1rem 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: var(--dark-red) transparent;
}
.cast-rail::-webkit-scrollbar {
  height: 5px;
}
.cast-rail::-webkit-scrollbar-track {
  background: rgba(17,20,23,0.8);
}
.cast-rail::-webkit-scrollbar-thumb {
  background: var(--dark-red);
}
.cast-medallion {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 4.6rem;
}
.cast-silhouette {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, rgba(46,90,96,0.55) 0%, rgba(29,58,63,0.85) 60%, rgba(17,20,23,0.95) 100%);
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 12px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.cast-silhouette::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 55%;
  background: rgba(8,10,12,0.85);
  clip-path: polygon(50% 0%, 68% 30%, 76% 100%, 24% 100%, 32% 30%);
}
.cast-name {
  font-size: 0.72rem;
  color: var(--silver-light);
  text-align: center;
  letter-spacing: 0.05em;
  white-space: nowrap;
  font-family: "Kaiti SC", "STKaiti", "KaiTi", serif;
}
.episode-status-section, .details-section {
  position: relative;
  z-index: 2;
  padding: 0.4rem 0;
}
.episode-status-section {
  grid-column: 1 / 2;
}
.details-section {
  grid-column: 2 / 4;
  border-left: 1px solid rgba(184,148,74,0.2);
  padding-left: 0.75rem;
}
.episode-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: flex-start;
}
.status-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  border-left: 2px solid var(--dark-red);
  padding-left: 0.45rem;
}
.status-key {
  font-size: 0.68rem;
  color: var(--silver);
  letter-spacing: 0.08em;
}
.status-value {
  font-size: 0.95rem;
  color: var(--gold-bright);
  font-weight: 700;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.25rem 0.9rem;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.76rem;
  padding: 0.1rem 0;
  border-bottom: 1px dotted rgba(138,144,149,0.18);
}
.detail-key {
  color: var(--silver);
  flex: 0 0 auto;
  white-space: nowrap;
}
.detail-key::after {
  content: "·";
  margin-left: 0.15rem;
  color: var(--dark-red-bright);
}
.detail-value {
  color: var(--text-primary);
  flex: 1 1 auto;
  text-align: right;
}
.player-section {
  margin: 0.75rem 0 0.5rem;
}
.player-shell {
  border: 1px solid rgba(184,148,74,0.35);
  background: #000;
  position: relative;
  transition: box-shadow 0.3s;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 3px var(--gold), 0 0 40px rgba(184,148,74,0.4);
}
.player-shell.is-lights-off {
  box-shadow: 0 0 0 2px var(--dark-red), 0 0 60px rgba(10,12,14,0.95);
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.5rem;
  background: linear-gradient(180deg, rgba(17,20,23,0.95), rgba(10,12,14,1));
  border-top: 1px solid rgba(184,148,74,0.3);
}
.player-button {
  font-family: inherit;
  font-size: 0.7rem;
  color: var(--silver-light);
  background: rgba(46,90,96,0.25);
  border: 1px solid rgba(138,144,149,0.35);
  padding: 0.22rem 0.5rem;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.player-button:hover {
  color: var(--gold-bright);
  border-color: rgba(184,148,74,0.6);
  background: rgba(122,31,31,0.3);
}
.player-button.is-active, .player-button.play, .player-button.mute, .player-button.pip, .player-button.fullscreen, .player-button.theater, .player-button.light {
  border-color: rgba(184,148,74,0.5);
}
.player-button.is-active {
  color: var(--gold-bright);
  background: rgba(122,31,31,0.45);
  border-color: var(--gold);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(138,144,149,0.3);
  border-radius: 0;
  cursor: pointer;
  outline: none;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--gold);
  border: 1px solid var(--dark-red);
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--gold);
  border: 1px solid var(--dark-red);
  cursor: pointer;
  border-radius: 0;
}
.player-progress {
  flex: 1 1 12rem;
  min-width: 6rem;
}
.player-volume {
  flex: 0 0 5rem;
  min-width: 4rem;
}
.player-progress.progress::-webkit-slider-thumb {
  background: var(--dark-red-bright);
}
.player-progress.timeupdate::-webkit-slider-thumb {
  background: var(--gold-bright);
}
.player-volume.volume::-webkit-slider-thumb {
  background: var(--qingjin-light);
}
.player-speed-label {
  font-size: 0.7rem;
  color: var(--silver);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}
.player-speed {
  font-family: inherit;
  font-size: 0.7rem;
  color: var(--text-primary);
  background: rgba(29,58,63,0.6);
  border: 1px solid rgba(138,144,149,0.35);
  padding: 0.18rem 0.3rem;
  cursor: pointer;
}
.player-speed.input, .player-speed.change, .player-speed.click {
  border-color: var(--gold);
}
.timeline-section {
  margin: 0.75rem 0 0.5rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(184,148,74,0.25);
}
.timeline-scroll {
  display: flex;
  flex-direction: row;
  gap: 0;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1rem;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.timeline-scroll::-webkit-scrollbar {
  height: 5px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: rgba(17,20,23,0.8);
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--gold);
}
.timeline-node {
  flex: 0 0 auto;
  width: 9.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  padding: 0 0.4rem;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  z-index: 0;
}
.timeline-node:first-child::before {
  left: 50%;
}
.timeline-node:last-child::before {
  right: 50%;
}
.timeline-jade {
  width: 1.7rem;
  height: 1.7rem;
  position: relative;
  z-index: 1;
  background: radial-gradient(circle at 40% 35%, rgba(46,90,96,0.9), rgba(29,58,63,1));
  border: 2px solid var(--gold);
  box-shadow: 0 0 8px rgba(184,148,74,0.4), inset 0 0 6px rgba(0,0,0,0.5);
  clip-path: polygon(50% 0%, 90% 25%, 100% 65%, 65% 100%, 25% 95%, 0% 60%, 10% 20%);
}
.timeline-node:nth-child(2n) .timeline-jade {
  clip-path: polygon(20% 0%, 80% 10%, 100% 45%, 75% 95%, 25% 100%, 0% 55%, 5% 15%);
}
.timeline-node:nth-child(3n) .timeline-jade {
  clip-path: polygon(35% 0%, 75% 15%, 100% 55%, 60% 100%, 15% 90%, 0% 45%);
}
.timeline-node-current .timeline-jade {
  background: radial-gradient(circle at 40% 35%, var(--dark-red-bright), var(--dark-red));
  border-color: var(--gold-bright);
  box-shadow: 0 0 14px rgba(168,50,50,0.8), inset 0 0 8px rgba(0,0,0,0.4);
  transform: scale(1.15);
}
.timeline-timecode {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 1;
}
.timeline-node-current .timeline-timecode {
  color: var(--gold-bright);
}
.timeline-label {
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--text-dim);
  text-align: center;
  font-family: "Kaiti SC", "STKaiti", "KaiTi", serif;
}
.timeline-node-current .timeline-label {
  color: var(--text-primary);
}
.episodes-section {
  margin: 0.75rem 0 0.5rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(184,148,74,0.25);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}
.episode-card {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  background:
    repeating-linear-gradient(180deg, rgba(201,182,138,0.06) 0px, rgba(201,182,138,0.06) 1px, transparent 1px, transparent 5px),
    linear-gradient(90deg, rgba(29,58,63,0.35), rgba(17,20,23,0.55));
  border-left: 3px solid var(--dark-red);
  border-bottom: 1px solid rgba(184,148,74,0.2);
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.episode-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 12px 12px 0;
  border-color: transparent rgba(184,148,74,0.35) transparent transparent;
}
.episode-card:hover {
  background:
    repeating-linear-gradient(180deg, rgba(201,182,138,0.1) 0px, rgba(201,182,138,0.1) 1px, transparent 1px, transparent 5px),
    linear-gradient(90deg, rgba(46,90,96,0.45), rgba(17,20,23,0.65));
  border-left-color: var(--gold);
}
.episode-number {
  flex: 0 0 auto;
  font-size: 0.72rem;
  color: var(--gold-bright);
  font-weight: 700;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
  padding: 0.1rem 0.15rem;
  border-right: 1px solid rgba(184,148,74,0.3);
  text-orientation: upright;
}
.episode-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.episode-title {
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.episode-summary {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--text-dim);
}
.episode-duration {
  font-size: 0.65rem;
  color: var(--silver);
  letter-spacing: 0.05em;
}
.comments-section {
  margin: 0.75rem 0 0.5rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(184,148,74,0.25);
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.4rem 0.5rem;
  background: linear-gradient(90deg, rgba(29,58,63,0.2), transparent 80%);
  border-bottom: 1px solid rgba(138,144,149,0.15);
}
.comment-mark {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Kaiti SC", "STKaiti", "KaiTi", serif;
  font-size: 0.85rem;
  color: var(--dark-red-bright);
  border: 1px solid var(--dark-red);
  background: rgba(122,31,31,0.15);
  clip-path: polygon(50% 0%, 100% 30%, 90% 100%, 10% 100%, 0% 30%);
  transform: rotate(-4deg);
}
.comment-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.comment-nickname {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.comment-text {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-primary);
  font-family: "Kaiti SC", "STKaiti", "KaiTi", serif;
}
.recommend-region {
  margin: 0.6rem 0 0.4rem;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(184,148,74,0.2);
}
.recommend-title {
  font-size: 0.92rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--dark-red);
}
.recommend-region-1 .recommend-title {
  border-left-color: var(--dark-red-bright);
}
.recommend-region-2 .recommend-title {
  border-left-color: var(--qingjin-light);
}
.recommend-region-3 .recommend-title {
  border-left-color: var(--gold);
}
.recommend-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.4rem;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.35rem;
  background: rgba(17,20,23,0.75);
  border: 1px solid rgba(138,144,149,0.25);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.recommend-region-1 a.recommend-card {
  border-top: 2px solid var(--dark-red);
  background: linear-gradient(180deg, rgba(122,31,31,0.12), rgba(17,20,23,0.8));
}
.recommend-region-2 a.recommend-card {
  border-top: 2px solid var(--qingjin-light);
  background: linear-gradient(180deg, rgba(46,90,96,0.12), rgba(17,20,23,0.8));
}
.recommend-region-3 a.recommend-card {
  border-top: 2px solid var(--gold);
  background: linear-gradient(180deg, rgba(184,148,74,0.12), rgba(17,20,23,0.8));
}
a.recommend-card:hover {
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  background: rgba(29,58,63,0.5);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(184,148,74,0.3);
}
.recommend-pic {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: rgba(10,12,14,0.9);
}
.recommend-name {
  font-size: 0.72rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 0.64rem;
  line-height: 1.4;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 0.75rem;
  padding: 0.9rem 1rem 1.2rem;
  background: linear-gradient(180deg, rgba(17,20,23,0.6), rgba(10,12,14,1));
  border-top: 1px solid rgba(184,148,74,0.3);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"], .footer-link {
  font-size: 0.76rem;
  color: var(--silver-light);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(138,144,149,0.3);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover, .footer-link:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}
.footer-disclaimer {
  font-size: 0.68rem;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 1200px;
  margin: 0 auto 0.5rem;
  padding: 0.4rem 0;
  border-top: 1px dotted rgba(138,144,149,0.2);
}
.footer-friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.6rem;
  max-width: 1200px;
  margin: 0 auto;
}
.friend-links-label {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-right: 0.2rem;
}
a.runtime-friend-link {
  font-size: 0.68rem;
  color: var(--silver);
  text-decoration: none;
  padding: 0.1rem 0.35rem;
  border: 1px solid rgba(138,144,149,0.25);
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  border-color: rgba(184,148,74,0.5);
  background: rgba(29,58,63,0.4);
}
@media (max-width: 900px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
  }
.hero-info-column {
    grid-column: 1 / 2;
  }
.hero-poster-column {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }
.synopsis-section {
    grid-column: 1 / 3;
  }
.cast-section {
    grid-column: 1 / 3;
  }
.episode-status-section {
    grid-column: 1 / 2;
  }
.details-section {
    grid-column: 2 / 3;
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 640px) {html {
    font-size: 15px;
  }
.header-inner {
    padding: 0.35rem 0.6rem;
  }
.page-main {
    padding: 0 0.5rem 1rem;
  }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    padding: 0.8rem 0 0.4rem;
  }
.hero-info-column {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
.hero-poster-column {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    max-width: 55%;
    margin: 0 auto;
  }
.synopsis-section {
    grid-column: 1 / 2;
  }
.cast-section {
    grid-column: 1 / 2;
  }
.episode-status-section {
    grid-column: 1 / 2;
  }
.details-section {
    grid-column: 1 / 2;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(184,148,74,0.15);
    padding-top: 0.4rem;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 0.25rem;
    padding: 0.35rem;
  }
.player-button {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
  }
.player-progress {
    flex: 1 1 100%;
    order: -1;
  }
.timeline-node {
    width: 7.5rem;
  }
.recommend-rail {
    grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  }
.cast-medallion {
    width: 4rem;
  }
.cast-silhouette {
    width: 3.2rem;
    height: 3.2rem;
  }
.footer-friend-links {
    gap: 0.25rem 0.4rem;
  }}
@media (max-width: 400px) {.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.hero-poster-column {
    max-width: 70%;
  }}

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}
