*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --lapis-deep: #0a1428;
  --lapis-mid: #0e1e3a;
  --lapis-panel: #101f3c;
  --lapis-line: #1d3559;
  --gold-deep: #8a6a2f;
  --gold: #c9a24b;
  --gold-bright: #e6c877;
  --jade: #7fbfb0;
  --jade-glow: rgba(140, 210, 195, 0.55);
  --ink: #e8e2d4;
  --ink-dim: #9aa6bd;
  --ink-faint: #6d7a93;
  --serif: "Songti SC", "Noto Serif SC", "STZhongsong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--lapis-deep);
  background-image:
    repeating-linear-gradient(0deg, rgba(120, 160, 220, 0.035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(120, 160, 220, 0.03) 0 1px, transparent 1px 5px),
    radial-gradient(120% 80% at 82% 4%, rgba(201, 162, 75, 0.14), transparent 55%),
    radial-gradient(90% 70% at 12% 100%, rgba(127, 191, 176, 0.08), transparent 60%),
    linear-gradient(160deg, #0a1428 0%, #0c1a34 45%, #0a1428 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(10, 20, 40, 0.96), rgba(10, 20, 40, 0.82));
  border-bottom: 1px solid var(--lapis-line);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 18px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(201, 162, 75, 0.35);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #fff3d0;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 11px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid var(--lapis-line);
  border-radius: 2px;
  background: rgba(16, 31, 60, 0.6);
  white-space: nowrap;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold-deep);
  background: rgba(30, 52, 92, 0.75);
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
  padding-left: 12px;
  margin-bottom: 10px;
  border-left: 3px solid var(--gold-deep);
  text-shadow: 0 0 12px rgba(201, 162, 75, 0.2);
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 30px 26px 34px;
  border: 1px solid var(--lapis-line);
  border-radius: 3px;
  background:
    repeating-linear-gradient(115deg, rgba(201, 162, 75, 0.045) 0 2px, transparent 2px 9px),
    linear-gradient(105deg, #081020 0%, #0d1d3a 55%, #132a4d 100%);
  display: flex;
  align-items: flex-end;
}
.hero-silhouette {
  position: absolute;
  top: 0;
  right: 6%;
  width: 46%;
  height: 100%;
  background:
    radial-gradient(60% 45% at 62% 34%, rgba(215, 230, 255, 0.16), transparent 70%),
    radial-gradient(38% 30% at 60% 26%, rgba(232, 240, 255, 0.22), transparent 72%),
    linear-gradient(200deg, rgba(20, 40, 72, 0.9) 0%, rgba(8, 16, 32, 0.98) 78%);
  clip-path: polygon(72% 0%, 100% 0%, 100% 100%, 30% 100%, 44% 72%, 56% 52%, 58% 34%, 64% 16%);
  opacity: 0.95;
  pointer-events: none;
}
.hero-jade-glow {
  position: absolute;
  top: -30%;
  right: -8%;
  width: 62%;
  height: 170%;
  background: radial-gradient(closest-side, var(--jade-glow), rgba(127, 191, 176, 0.12) 48%, transparent 76%);
  transform: rotate(24deg);
  filter: blur(4px);
  pointer-events: none;
}
.hero-titles {
  position: relative;
  z-index: 2;
  max-width: 62%;
  padding-bottom: 4px;
}
.movie-title {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f4ecd8;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 0 26px rgba(201, 162, 75, 0.35);
}
.movie-tagline {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--jade);
  text-shadow: 0 0 14px rgba(127, 191, 176, 0.45);
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 20px;
  align-items: start;
}
.overview-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.overview-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--lapis-line);
  border-radius: 3px;
  background:
    repeating-linear-gradient(0deg, rgba(120, 160, 220, 0.03) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, rgba(16, 31, 60, 0.85), rgba(10, 20, 40, 0.9));
}
.player-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--lapis-line);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(20, 38, 70, 0.9), rgba(10, 20, 40, 0.95));
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.player-frame {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(201, 162, 75, 0.18);
  background: #05090f;
}
.main-player {
  width: 100%;
  display: block;
  background: #05090f;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 4px 2px;
  min-width: 0;
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  cursor: pointer;
  border: 1px solid var(--lapis-line);
  border-radius: 2px;
  background: rgba(16, 31, 60, 0.7);
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.ctrl-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold-deep);
  background: rgba(30, 52, 92, 0.8);
}
.ctrl-btn.is-playing, .ctrl-btn.is-active {
  color: #06131f;
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
}
.ctrl-btn.is-muted {
  color: #f0b9a8;
  border-color: #7a3b30;
  background: rgba(90, 34, 26, 0.5);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--gold-deep), rgba(29, 53, 89, 0.9));
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--jade);
  border: 1px solid #eef7f4;
  box-shadow: 0 0 10px var(--jade-glow);
}
.ctrl-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #eef7f4;
  border-radius: 50%;
  background: var(--jade);
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 64px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(29, 53, 89, 0.9);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
}
.ctrl-speed {
  flex: 0 0 auto;
  padding: 4px 6px;
  font-size: 12px;
  color: var(--ink-dim);
  cursor: pointer;
  border: 1px solid var(--lapis-line);
  border-radius: 2px;
  background: rgba(16, 31, 60, 0.7);
}
.ctrl-speed option {
  background: var(--lapis-mid);
  color: var(--ink);
}
.player-shell.is-theater {
  background: linear-gradient(180deg, #04080e, #020509);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.3), 0 0 40px rgba(0, 0, 0, 0.6);
}
.player-shell.is-lights-off {
  background: #010204;
}
.player-shell.is-lights-off .player-controls {
  opacity: 0.35;
}
.player-shell.is-lights-off .player-controls:hover {
  opacity: 1;
}
.episode-status {
  padding: 12px 14px 14px;
  border: 1px solid var(--lapis-line);
  border-left: 3px solid var(--gold-deep);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(16, 31, 60, 0.72), rgba(10, 20, 40, 0.82));
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  align-items: flex-start;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
}
.status-key {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.status-value {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1.1;
}
.status-current .status-value {
  color: var(--jade);
}
.status-progress {
  position: relative;
  margin-top: 12px;
  height: 5px;
  border-radius: 3px;
  background: rgba(29, 53, 89, 0.8);
  overflow: hidden;
}
.status-progress-fill {
  display: block;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--jade));
  box-shadow: 0 0 12px rgba(201, 162, 75, 0.5);
}
.synopsis {
  padding: 12px 14px 14px;
  border: 1px solid var(--lapis-line);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(14, 28, 54, 0.7), rgba(10, 20, 40, 0.85));
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  align-items: start;
}
.synopsis-para {
  font-size: 14px;
  line-height: 1.75;
  color: #cfd6e4;
  text-align: justify;
}
.synopsis-para:first-child::first-letter {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
  padding-right: 4px;
}
.movie-details {
  padding: 12px 14px 14px;
  border: 1px solid var(--lapis-line);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(16, 31, 60, 0.65), rgba(10, 20, 40, 0.85));
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 5px 12px 5px 0;
  border-bottom: 1px solid rgba(29, 53, 89, 0.55);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.detail-value {
  font-size: 13px;
  color: #d7dde9;
  min-width: 0;
  word-break: break-word;
}
.poster-wrap {
  position: relative;
  width: 100%;
  border: 1px solid rgba(201, 162, 75, 0.3);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 162, 75, 0.08) inset;
}
.main-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.cast {
  min-width: 0;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 8px;
  border-left: 2px solid var(--gold-deep);
  background: rgba(20, 38, 70, 0.5);
  min-width: 0;
}
.cast-name {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: #eae3d2;
  letter-spacing: 0.06em;
}
.cast-role {
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-faint);
}
.relation-hint {
  padding: 10px 12px 12px;
  border: 1px dashed rgba(127, 191, 176, 0.35);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(16, 42, 60, 0.5), rgba(10, 20, 40, 0.6));
}
.relation-hint-title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--jade);
  margin-bottom: 6px;
}
.relation-hint-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: #b9c4d6;
  text-align: justify;
}
.timeline {
  padding: 12px 14px 16px;
  border: 1px solid var(--lapis-line);
  border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, rgba(201, 162, 75, 0.035) 0 1px, transparent 1px 26px),
    linear-gradient(180deg, rgba(12, 26, 50, 0.85), rgba(8, 16, 32, 0.9));
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 14px;
  align-items: start;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 0 12px;
  min-width: 0;
}
.timeline-timecode {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  white-space: nowrap;
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lapis-deep);
  border: 2px solid var(--gold);
  box-shadow: 0 0 10px rgba(201, 162, 75, 0.6);
}
.timeline-connector {
  display: block;
  height: 2px;
  margin: 4px 0 4px 12px;
  background: linear-gradient(90deg, var(--gold-deep), rgba(29, 53, 89, 0.7));
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: #c3ccdb;
  padding-left: 2px;
}
.episodes {
  padding: 12px 14px 16px;
  border: 1px solid var(--lapis-line);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(14, 28, 54, 0.78), rgba(10, 20, 40, 0.88));
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  min-width: 0;
  padding: 9px 11px 10px;
  border: 1px solid rgba(29, 53, 89, 0.85);
  border-top: 2px solid var(--gold-deep);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(20, 38, 70, 0.7), rgba(12, 24, 46, 0.8));
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.episode-card:hover {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(30, 54, 92, 0.9), rgba(16, 32, 60, 0.92));
  transform: translateY(-2px);
}
.episode-number {
  display: inline-block;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--jade);
  margin-bottom: 3px;
}
.episode-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #eee7d6;
  line-height: 1.35;
}
.episode-summary {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #a9b4c8;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.28s ease, margin-top 0.28s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 220px;
  opacity: 1;
}
.episode-duration {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.comments {
  padding: 12px 14px 16px;
  border: 1px solid var(--lapis-line);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(12, 26, 50, 0.8), rgba(8, 16, 32, 0.86));
}
.comment-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) rgba(29, 53, 89, 0.5);
}
.comment-track::-webkit-scrollbar {
  height: 6px;
}
.comment-track::-webkit-scrollbar-track {
  background: rgba(29, 53, 89, 0.5);
  border-radius: 3px;
}
.comment-track::-webkit-scrollbar-thumb {
  background: var(--gold-deep);
  border-radius: 3px;
}
.comment-card {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
  padding: 8px 10px 9px;
  border: 1px solid rgba(29, 53, 89, 0.9);
  border-left: 2px solid var(--jade);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(22, 42, 74, 0.75), rgba(12, 24, 46, 0.82));
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.comment-card:hover {
  border-color: var(--jade);
  transform: translateY(-2px);
}
.comment-nickname {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--jade);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: #b8c2d4;
}
.rec-region {
  padding: 12px 14px 14px;
  border: 1px solid var(--lapis-line);
  border-radius: 3px;
  background:
    repeating-linear-gradient(135deg, rgba(201, 162, 75, 0.03) 0 2px, transparent 2px 10px),
    linear-gradient(180deg, rgba(13, 27, 52, 0.8), rgba(9, 18, 36, 0.88));
}
.rec-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  padding-left: 12px;
  margin-bottom: 10px;
  border-left: 3px solid var(--gold-deep);
}
.rec-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.rec-grid-1 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rec-grid-2 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rec-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-grid-4 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 7px 7px 9px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(29, 53, 89, 0.85);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(20, 38, 70, 0.7), rgba(11, 22, 42, 0.82));
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
a.rec-item:hover {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(32, 56, 94, 0.9), rgba(16, 32, 60, 0.92));
  transform: translateY(-2px);
}
.rec-region-1 a.rec-item:nth-child(1) { margin-top: 0; }
.rec-region-1 a.rec-item:nth-child(2) { margin-top: 12px; }
.rec-region-1 a.rec-item:nth-child(3) { margin-top: 4px; }
.rec-region-1 a.rec-item:nth-child(4) { margin-top: 16px; }
.rec-region-2 a.rec-item:nth-child(1) { margin-top: 10px; }
.rec-region-2 a.rec-item:nth-child(2) { margin-top: 0; }
.rec-region-2 a.rec-item:nth-child(3) { margin-top: 14px; }
.rec-region-2 a.rec-item:nth-child(4) { margin-top: 4px; }
.rec-region-2 a.rec-item:nth-child(5) { margin-top: 12px; }
.rec-region-3 a.rec-item:nth-child(1) { margin-top: 6px; }
.rec-region-3 a.rec-item:nth-child(2) { margin-top: 0; }
.rec-region-3 a.rec-item:nth-child(3) { margin-top: 14px; }
.rec-region-4 a.rec-item:nth-child(1) { margin-top: 0; }
.rec-region-4 a.rec-item:nth-child(2) { margin-top: 12px; }
.rec-region-4 a.rec-item:nth-child(3) { margin-top: 2px; }
.rec-region-4 a.rec-item:nth-child(4) { margin-top: 14px; }
.rec-region-4 a.rec-item:nth-child(5) { margin-top: 4px; }
.rec-region-4 a.rec-item:nth-child(6) { margin-top: 10px; }
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(201, 162, 75, 0.16);
  background: #06101f;
}
.rec-name {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ece5d4;
  line-height: 1.35;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
}
.site-footer {
  max-width: 1440px;
  margin: 26px auto 0;
  padding: 16px 18px 24px;
  border-top: 1px solid var(--lapis-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(9, 18, 36, 0.6), rgba(6, 12, 26, 0.9));
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  min-width: 0;
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--ink-faint);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--jade);
  text-decoration: underline;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  margin-left: auto;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-deep);
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-faint);
  text-align: justify;
  max-width: 900px;
}
@media (max-width: 1180px) {.rec-grid-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid-2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-region a.rec-item { margin-top: 0; }}
@media (max-width: 960px) {.overview-body {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-aside {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    grid-template-areas:
      "poster cast"
      "poster relation";
    gap: 14px 16px;
    align-items: start;
  }
.poster-wrap { grid-area: poster; }
.cast { grid-area: cast; }
.relation-hint { grid-area: relation; }
.timeline-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.movie-title { font-size: 28px; }}
@media (max-width: 760px) {.page-main { padding: 12px 12px 0; gap: 20px; }
.header-inner { padding: 8px 12px; }
.hero-panel { min-height: 200px; padding: 24px 16px 26px; }
.hero-titles { max-width: 78%; }
.movie-title { font-size: 23px; }
.movie-tagline { font-size: 12px; letter-spacing: 0.24em; }
.hero-silhouette { right: -6%; width: 62%; }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-summary { max-height: none; opacity: 1; margin-top: 4px; }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.overview-aside {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "cast"
      "relation";
  }
.poster-wrap { max-width: 260px; }
.cast-list { grid-template-columns: minmax(0, 1fr); }
.rec-grid-1, .rec-grid-2, .rec-grid-3, .rec-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-card { width: 190px; }
.site-footer { padding: 14px 12px 20px; }
.footer-links { margin-left: 0; }}
@media (max-width: 480px) {.movie-title { font-size: 20px; }
.hero-titles { max-width: 100%; }
.hero-silhouette { opacity: 0.5; }
.category-nav { margin-left: 0; width: 100%; }
.timeline-track { grid-template-columns: minmax(0, 1fr); }
.rec-grid-1, .rec-grid-2, .rec-grid-3, .rec-grid-4 { grid-template-columns: minmax(0, 1fr); }
.comment-card { width: 168px; }
.ctrl-btn { padding: 4px 8px; font-size: 11px; }
.status-value { font-size: 19px; }}

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}
