*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, p, figure, figcaption, ol, ul, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink-deep: #1a120b;
  --ink: #241811;
  --ink-soft: #2f2016;
  --brown: #3a2718;
  --brown-2: #4b3320;
  --gold: #c9a253;
  --gold-bright: #e2be6d;
  --gold-dim: #8a6d34;
  --copper: #b0763a;
  --copper-bright: #d18f45;
  --jade: #7d8f73;
  --red-dark: #7a2c28;
  --red-deep: #5c1f1c;
  --text-main: #e9e0d0;
  --text-soft: #b9ac97;
  --text-faint: #8b7f6b;
  --line: rgba(201, 162, 83, 0.28);
  --line-soft: rgba(201, 162, 83, 0.14);
  --panel: rgba(43, 30, 19, 0.72);
  --panel-2: rgba(30, 21, 13, 0.82);
  --song: "Songti SC", "SimSun", "STSong", "Noto Serif SC", serif;
  --hei: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --gap: 10px;
  --pad: 12px;
  --radius: 3px;
  --fret: repeating-linear-gradient(
    90deg,
    rgba(201, 162, 83, 0.32) 0 1px,
    transparent 1px 7px
  );
}
body {
  background-color: var(--ink-deep);
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(176, 118, 58, 0.16), transparent 60%),
    linear-gradient(180deg, #1a120b 0%, #150f09 55%, #100b06 100%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--hei);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
h1, h2, .section-title, .region-title, .movie-title, .node-timecode, .episode-number, .cast-name {
  font-family: var(--song);
  font-weight: 700;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 8px 14px;
  background:
    linear-gradient(180deg, rgba(26, 18, 11, 0.98), rgba(26, 18, 11, 0.9));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
a[data-contract="site-name"].site-logo {
  font-family: var(--song);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  text-decoration: none;
  text-shadow: 0 0 12px rgba(201, 162, 83, 0.35);
  white-space: nowrap;
}
a[data-contract="site-name"].site-logo::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  vertical-align: -1px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--ink-deep), inset 0 0 0 3px var(--gold-dim);
}
a[data-contract="site-name"].site-logo:hover, a[data-contract="site-name"].site-logo:focus-visible {
  color: #fff3d6;
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(58, 39, 24, 0.4);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  background: rgba(75, 51, 32, 0.7);
  text-decoration: none;
}
.page-main {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(201, 162, 83, 0.22);
}
.section-title::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--ink-deep), inset 0 0 0 3px var(--gold-dim);
}
.region-title {
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--gold);
  padding-bottom: 5px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--line-soft);
}
.movie-overview {
  background:
    linear-gradient(180deg, rgba(47, 32, 22, 0.6), rgba(26, 18, 11, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  position: relative;
  padding: 12px;
  border-radius: var(--radius);
  background:
    radial-gradient(90% 120% at 88% 0%, rgba(176, 118, 58, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(20, 14, 9, 0.94), rgba(33, 22, 14, 0.94));
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.overview-hero::after {
  content: "金家祠堂";
  position: absolute;
  top: 8px;
  right: 14px;
  font-family: var(--song);
  font-size: 30px;
  letter-spacing: 0.32em;
  writing-mode: vertical-rl;
  color: rgba(201, 162, 83, 0.1);
  pointer-events: none;
  user-select: none;
}
.poster-column {
  position: relative;
  z-index: 1;
  align-self: start;
}
.poster-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(58, 39, 24, 0.85), rgba(26, 18, 11, 0.9));
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}
.poster-frame::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--line-soft);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.92) contrast(1.05);
}
.poster-caption {
  font-family: var(--song);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold-dim);
  text-align: center;
}
.hero-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.movie-title {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  text-shadow: 0 2px 16px rgba(201, 162, 83, 0.3);
}
.movie-tagline {
  font-family: var(--song);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  border-left: 2px solid var(--copper);
  padding-left: 8px;
}
.hero-slogan {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  z-index: 2;
  padding: 6px 4px;
  border-left: 1px solid var(--line-soft);
}
.slogan-line {
  font-family: var(--song);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(201, 162, 83, 0.3);
}
.seo-description {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 62ch;
  padding-right: 46px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.hero-actions button {
  padding: 6px 16px;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-family: var(--song);
  border-radius: var(--radius);
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  background: linear-gradient(180deg, rgba(75, 51, 32, 0.9), rgba(38, 25, 15, 0.9));
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
}
.hero-actions button:hover {
  background: linear-gradient(180deg, rgba(176, 118, 58, 0.9), rgba(122, 44, 40, 0.85));
  color: #1a120b;
  border-color: var(--copper-bright);
}
.hero-actions button:active {
  transform: translateY(1px);
}
.btn-play {
  border-color: var(--copper) !important;
  color: #1a120b !important;
  background: linear-gradient(180deg, var(--gold-bright), var(--copper)) !important;
}
.btn-play:hover {
  background: linear-gradient(180deg, #fff0c9, var(--gold-bright)) !important;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0d0906;
  overflow: hidden;
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-bottom: 1px solid var(--line-soft);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 7px 8px;
  background:
    linear-gradient(180deg, rgba(47, 32, 22, 0.9), rgba(20, 14, 9, 0.95));
  border-top: 1px solid var(--line-soft);
}
.player-controls button {
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(58, 39, 24, 0.45);
  white-space: nowrap;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.player-controls button:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  background: rgba(75, 51, 32, 0.8);
}
.player-controls button.is-active, .player-controls button.is-playing {
  color: #1a120b;
  background: linear-gradient(180deg, var(--gold-bright), var(--copper));
  border-color: var(--copper-bright);
}
.player-controls button.is-muted, .player-controls button.is-quiet {
  color: var(--gold);
  border-color: var(--gold-dim);
  border-style: dashed;
}
.ctrl-play {
  color: var(--gold-bright) !important;
  border-color: var(--gold-dim) !important;
}
.player-shell.is-theater, .player-shell.theater {
  border-color: var(--copper);
  box-shadow: 0 0 0 1px rgba(176, 118, 58, 0.35), 0 0 34px rgba(0, 0, 0, 0.8);
}
.player-shell.is-lights-off, .player-shell.light {
  background: #050302;
}
.player-shell.is-lights-off .player-controls {
  background: #050302;
  border-top-color: rgba(201, 162, 83, 0.2);
}
.player-shell.fullscreen {
  border-radius: 0;
}
.player-shell .progress, .player-shell .speed, .player-shell .volume, .player-shell .mute, .player-shell .pip, .player-shell .play, .player-shell .click {
  transition: color 0.16s, background 0.16s, border-color 0.16s;
}
.cast-section {
  padding: 10px 0 4px;
  border-top: 1px solid var(--line-soft);
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 9px 11px;
  background:
    linear-gradient(180deg, rgba(58, 39, 24, 0.62), rgba(26, 18, 11, 0.72));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
.cast-card::before {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: 0.7;
}
.cast-card:nth-child(even) {
  transform: translateY(12px);
}
.cast-card:hover {
  border-color: var(--gold-dim);
  background:
    linear-gradient(180deg, rgba(75, 51, 32, 0.8), rgba(38, 25, 15, 0.85));
}
.cast-name {
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}
.cast-verdict {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-faint);
  border-top: 1px dashed var(--line-soft);
  padding-top: 5px;
}
.synopsis-section {
  padding: 8px 0 4px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  counter-reset: syn;
}
.synopsis-item {
  position: relative;
  padding: 7px 8px 7px 34px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
  background: rgba(47, 32, 22, 0.4);
  border-left: 2px solid var(--line-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  counter-increment: syn;
}
.synopsis-item::before {
  content: counter(syn, cjk-ideographic);
  position: absolute;
  left: 8px;
  top: 8px;
  font-family: var(--song);
  font-size: 11px;
  color: var(--gold-dim);
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
}
.episode-status, .details-section {
  padding: 8px 0 4px;
  border-top: 1px solid var(--line-soft);
}
.status-list, .details-list {
  display: grid;
  gap: 6px;
  align-items: start;
}
.status-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.details-list {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.status-item, .detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 8px;
  background: rgba(47, 32, 22, 0.42);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  min-width: 0;
}
.status-key, .detail-key {
  flex: 0 0 auto;
  font-family: var(--song);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-dim);
}
.status-key::after, .detail-key::after {
  content: "／";
  color: var(--line);
}
.status-value, .detail-value {
  font-size: 13px;
  color: var(--text-main);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  background: linear-gradient(180deg, rgba(38, 25, 15, 0.7), rgba(20, 14, 9, 0.7));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
  padding-left: 22px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(201, 162, 83, 0.5),
    rgba(201, 162, 83, 0.12)
  );
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "lock time"
    "lock label";
  gap: 2px 8px;
  align-items: center;
  padding: 7px 9px 7px 10px;
  background: rgba(30, 21, 13, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.18s, background 0.18s;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--line);
}
.timeline-node:hover {
  border-color: var(--gold-dim);
  background: rgba(47, 32, 22, 0.85);
}
.node-lock {
  grid-area: lock;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-family: var(--song);
  font-size: 11px;
  color: var(--gold-dim);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(26, 18, 11, 0.9), inset 0 0 0 3px var(--line-soft);
}
.node-timecode {
  grid-area: time;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.node-label {
  grid-area: label;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-soft);
}
.timeline-node.is-current {
  border-color: var(--copper-bright);
  background: linear-gradient(180deg, rgba(176, 118, 58, 0.28), rgba(58, 39, 24, 0.85));
  box-shadow: 0 0 0 1px rgba(176, 118, 58, 0.25), 0 4px 16px rgba(0, 0, 0, 0.5);
}
.timeline-node.is-current .node-lock {
  color: #1a120b;
  background: linear-gradient(180deg, var(--gold-bright), var(--copper));
  border-color: var(--copper-bright);
  box-shadow: inset 0 0 0 2px rgba(26, 18, 11, 0.85);
}
.timeline-node.is-current .node-timecode {
  color: var(--gold-bright);
}
.timeline-node.is-current .node-label {
  color: var(--text-main);
}
.timeline-node.is-current::before {
  background: var(--copper-bright);
  width: 14px;
  left: -23px;
}
.episodes-section {
  padding: 8px 0 4px;
}
.episode-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  grid-template-rows: 1fr;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}
.episode-rail::-webkit-scrollbar {
  height: 6px;
}
.episode-rail::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 3px;
}
.episode-rail::-webkit-scrollbar-track {
  background: rgba(201, 162, 83, 0.08);
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 176px;
  padding: 10px 10px 12px;
  scroll-snap-align: start;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(201, 162, 83, 0.05) 0 6px,
      transparent 6px 12px
    ),
    linear-gradient(180deg, rgba(47, 32, 22, 0.9), rgba(20, 14, 9, 0.95));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.episode-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 60px;
  height: 60px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  opacity: 0.6;
}
.episode-card:hover {
  border-color: var(--copper);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transform: translateY(-3px);
}
.episode-number {
  font-size: 34px;
  line-height: 1;
  color: rgba(201, 162, 83, 0.35);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.episode-card:hover .episode-number {
  color: var(--gold-bright);
}
.episode-title {
  font-family: var(--song);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--gold);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}
.episode-card:hover .episode-title, .episode-card:focus-within .episode-title {
  opacity: 1;
  transform: translateY(0);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-soft);
  flex: 1 1 auto;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  padding: 1px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
}
.comments-section {
  padding: 8px 0 4px;
  background: linear-gradient(180deg, rgba(38, 25, 15, 0.42), transparent 70%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.comments-masonry {
  column-count: 2;
  column-gap: 10px;
  padding: 2px 0 6px;
}
.comment-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: block;
  margin-bottom: 10px;
  padding: 8px 10px;
  background: rgba(30, 21, 13, 0.7);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--red-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: border-color 0.18s, background 0.18s;
}
.comment-card:hover {
  border-left-color: var(--copper);
  background: rgba(47, 32, 22, 0.8);
}
.comment-nickname {
  display: block;
  font-family: var(--song);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #a8443c;
  text-shadow: 0 0 8px rgba(122, 44, 40, 0.4);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 13px;
  line-height: 1.75;
  color: #cdc4b4;
}
.recommend-region {
  padding: 8px 0 4px;
  border-top: 1px solid var(--line-soft);
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  color: var(--text-soft);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(47, 32, 22, 0.72), rgba(20, 14, 9, 0.85));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  color: var(--gold-bright);
  border-color: var(--copper);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.9) contrast(1.04);
  background: #0d0906;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--song);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gold);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 12px;
  padding: 12px 14px 20px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 14, 9, 0.6), rgba(13, 9, 6, 0.95));
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
a.footer-link {
  font-family: var(--song);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold-dim);
  text-decoration: none;
  padding: 2px 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
a.footer-link:hover, a.footer-link:focus-visible {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-dim);
  text-decoration: none;
}
a[data-contract="footer-home"] {
  color: var(--gold);
}
a[data-contract="footer-sitemap"] {
  color: var(--text-soft);
}
.friend-links-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 8px;
  max-width: 100%;
}
.friend-links-label {
  font-family: var(--song);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  padding-right: 6px;
  border-right: 1px solid var(--line-soft);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--text-faint);
  text-decoration: none;
  padding: 1px 2px;
  white-space: nowrap;
  transition: color 0.18s;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-faint);
  max-width: 72ch;
  opacity: 0.85;
}
@media (max-width: 1024px) {.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.cast-card:nth-child(even) {
    transform: none;
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.poster-column {
    max-width: 260px;
  }
.overview-hero::after {
    font-size: 22px;
  }
.hero-slogan {
    position: static;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    flex-direction: row;
    gap: 10px;
    border-left: 0;
    padding: 0;
  }
.slogan-line {
    letter-spacing: 0.18em;
  }
.seo-description {
    padding-right: 0;
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.comments-masonry {
    column-count: 2;
  }}
@media (max-width: 640px) {body {
    font-size: 13.5px;
  }
.page-main {
    padding: 10px 10px 18px;
    gap: 10px;
  }
.movie-title {
    font-size: 23px;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
.synopsis-list {
    grid-template-columns: minmax(0, 1fr);
  }
.status-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 20px;
  }
.episode-rail {
    grid-auto-columns: minmax(150px, 78%);
  }
.comments-masonry {
    column-count: 1;
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.site-header {
    padding: 7px 10px;
  }
a[data-contract="site-name"].site-logo {
    font-size: 17px;
    letter-spacing: 0.1em;
  }}
@media (max-width: 420px) {.cast-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
.recommend-row {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-actions button {
    flex: 1 1 auto;
    text-align: center;
  }
.poster-column {
    max-width: 220px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }}

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}
