:root {
  --ink: #070c18;
  --ink-2: #0b1225;
  --ink-3: #101a33;
  --blood: #a3122e;
  --blood-bright: #d81f42;
  --blood-deep: #5c0819;
  --pink: #f4a8c8;
  --pink-soft: #ffc9de;
  --pink-dim: #c9769a;
  --silver: #b9c6d8;
  --silver-dim: #74839a;
  --line: rgba(185, 198, 216, 0.14);
  --line-strong: rgba(244, 168, 200, 0.28);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Roboto Mono", Consolas, "Courier New", monospace;
  --gap: 10px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 620px at 12% -6%, rgba(163, 18, 46, 0.24), transparent 62%),
    radial-gradient(900px 560px at 92% 4%, rgba(244, 168, 200, 0.13), transparent 60%),
    radial-gradient(700px 700px at 50% 120%, rgba(92, 8, 25, 0.35), transparent 65%),
    linear-gradient(180deg, #060a14 0%, #080d1c 45%, #05080f 100%);
  background-attachment: fixed;
  color: var(--silver);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, dl {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 8px 16px;
  background: linear-gradient(180deg, rgba(6, 10, 20, 0.96), rgba(6, 10, 20, 0.78));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blood-bright) 30%, var(--pink) 62%, transparent);
  opacity: 0.5;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.18em;
  color: var(--pink-soft);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(244, 168, 200, 0.35);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #fff;
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--silver);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--pink-soft);
  border-color: var(--line-strong);
  background: rgba(244, 168, 200, 0.08);
  text-decoration: none;
}
.movie-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 0 0 4px;
}
.movie-detail > section {
  position: relative;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.movie-detail > section:first-child {
  border-top: 0;
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding-top: 16px !important;
  background:
    linear-gradient(115deg, rgba(163, 18, 46, 0.14) 0%, transparent 42%),
    linear-gradient(295deg, rgba(244, 168, 200, 0.09) 0%, transparent 46%);
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  border: 1px solid rgba(185, 198, 216, 0.2);
  background: #04070e;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 14px 34px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}
.crack-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(112deg, transparent 46.4%, rgba(244, 168, 200, 0.55) 46.9%, transparent 47.5%),
    linear-gradient(74deg, transparent 28.6%, rgba(216, 31, 66, 0.5) 29%, transparent 29.6%),
    linear-gradient(158deg, transparent 63.4%, rgba(185, 198, 216, 0.4) 63.8%, transparent 64.3%),
    linear-gradient(22deg, transparent 81.4%, rgba(244, 168, 200, 0.42) 81.8%, transparent 82.3%),
    radial-gradient(60% 45% at 30% 22%, rgba(244, 168, 200, 0.14), transparent 70%),
    radial-gradient(70% 55% at 76% 82%, rgba(163, 18, 46, 0.22), transparent 72%);
  mix-blend-mode: screen;
  opacity: 0.85;
}
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 7, 14, 0.72) 100%);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.hero-title {
  font-size: clamp(20px, 3.1vw, 34px);
  color: #f2f6ff;
  letter-spacing: 0.03em;
  text-shadow: 0 0 22px rgba(216, 31, 66, 0.4), 0 2px 0 rgba(0, 0, 0, 0.5);
}
.hero-tagline {
  font-size: 13px;
  line-height: 1.65;
  color: var(--pink-dim);
  max-width: 60ch;
  padding-left: 10px;
  border-left: 2px solid var(--blood);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.action-button {
  position: relative;
  padding: 7px 16px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(185, 198, 216, 0.24);
  border-radius: 1px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.action-button:hover {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(244, 168, 200, 0.1);
}
.action-button:active {
  transform: translateY(1px);
}
.action-button.is-active, .action-button.is-playing, .action-button.is-muted {
  color: #fff;
  border-color: var(--blood-bright);
  background: linear-gradient(180deg, rgba(216, 31, 66, 0.32), rgba(92, 8, 25, 0.28));
  box-shadow: 0 0 16px rgba(216, 31, 66, 0.35) inset;
}
.action-play {
  color: #fff;
  border-color: rgba(216, 31, 66, 0.7);
  background: linear-gradient(180deg, rgba(216, 31, 66, 0.42), rgba(92, 8, 25, 0.5));
  box-shadow: 0 0 18px rgba(216, 31, 66, 0.28);
}
.action-play:hover {
  background: linear-gradient(180deg, rgba(216, 31, 66, 0.62), rgba(92, 8, 25, 0.6));
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid rgba(185, 198, 216, 0.18);
  background: #03060d;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px 10px;
  background: linear-gradient(180deg, rgba(11, 18, 37, 0.9), rgba(6, 10, 20, 0.98));
  border-top: 1px solid var(--line);
}
.control-progress {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blood-bright), var(--pink));
  border-radius: 2px;
  cursor: pointer;
  outline: none;
}
.control-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pink-soft);
  border: 1px solid var(--blood);
  box-shadow: 0 0 10px rgba(244, 168, 200, 0.7);
}
.control-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid var(--blood);
  border-radius: 50%;
  background: var(--pink-soft);
}
.control-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.control-button {
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(185, 198, 216, 0.2);
  border-radius: 1px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.control-button:hover {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(244, 168, 200, 0.1);
}
.control-button.is-playing, .control-button.is-muted, .control-button.is-active {
  color: #fff;
  border-color: var(--blood-bright);
  background: rgba(216, 31, 66, 0.28);
}
.control-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 3px;
  background: rgba(185, 198, 216, 0.35);
  border-radius: 2px;
  cursor: pointer;
  outline: none;
}
.control-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--silver);
}
.control-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--silver);
}
.control-speed {
  padding: 4px 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(185, 198, 216, 0.2);
  border-radius: 1px;
  cursor: pointer;
}
.control-speed option {
  background: var(--ink-2);
  color: var(--silver);
}
body.is-theater .player-shell {
  border-color: var(--blood-bright);
  box-shadow: 0 0 0 1px rgba(216, 31, 66, 0.45), 0 22px 60px rgba(0, 0, 0, 0.75);
}
body.is-lights-off .movie-detail > section:not(.hero-section) {
  opacity: 0.45;
  transition: opacity 0.3s ease;
}
body.is-lights-off .hero-section {
  background: linear-gradient(115deg, rgba(163, 18, 46, 0.2) 0%, transparent 48%);
}
.episode-status {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  align-self: flex-start;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blood-bright);
  background: linear-gradient(90deg, rgba(163, 18, 46, 0.16), transparent 80%);
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--silver-dim);
}
.status-current {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--pink-soft);
  text-shadow: 0 0 12px rgba(244, 168, 200, 0.45);
}
.status-total {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--silver-dim);
}
.cast-panel, .synopsis-panel, .details-panel {
  background: linear-gradient(180deg, rgba(16, 26, 51, 0.55), rgba(7, 12, 24, 0.35));
  border: 1px solid var(--line);
  padding: 10px 12px;
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-title {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--pink-soft);
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.cast-heading::before, .synopsis-heading::before, .details-heading::before, .timeline-heading::before, .episodes-heading::before, .comments-heading::before, .recommend-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--blood-bright), var(--pink));
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px 8px;
}
.cast-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 8px;
  padding: 5px 6px;
  border: 1px solid transparent;
  border-left: 1px solid var(--line);
  transition: border-color 0.16s ease, background 0.16s ease;
}
.cast-item:hover {
  border-color: var(--line);
  border-left-color: var(--pink);
  background: rgba(244, 168, 200, 0.05);
}
.cast-portrait {
  grid-row: span 2;
  width: 22px;
  height: 30px;
  border-radius: 1px;
  background:
    radial-gradient(60% 34% at 50% 22%, rgba(244, 168, 200, 0.75), transparent 72%),
    linear-gradient(180deg, rgba(244, 168, 200, 0.35), rgba(163, 18, 46, 0.28) 60%, rgba(7, 12, 24, 0.9));
  border: 1px solid rgba(185, 198, 216, 0.22);
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, 0.55);
}
.cast-name {
  font-size: 13px;
  color: #e8eefb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--pink-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-text {
  font-size: 13px;
  line-height: 1.78;
  color: #c3cddd;
  max-width: 78ch;
}
.synopsis-text + .synopsis-text {
  margin-top: 6px;
}
.synopsis-text:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 2.1em;
  line-height: 1;
  float: left;
  margin: 2px 6px 0 0;
  color: var(--blood-bright);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 2px 14px;
}
.detail-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(185, 198, 216, 0.1);
}
.detail-key {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--silver-dim);
}
.detail-value {
  font-size: 13px;
  color: #dbe4f2;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  overflow: hidden;
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding: 18px 4px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--blood) transparent;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 27px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--blood), var(--pink-dim));
  border-radius: 3px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 178px;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.timeline-marker {
  position: relative;
  width: 18px;
  height: 14px;
  margin-bottom: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 168, 200, 0.95), transparent 62%),
    linear-gradient(180deg, var(--pink), var(--blood));
  clip-path: polygon(50% 48%, 100% 0, 78% 50%, 100% 100%, 50% 52%, 0 100%, 22% 50%, 0 0);
  box-shadow: 0 0 12px rgba(244, 168, 200, 0.5);
}
.timeline-node:first-child .timeline-marker {
  background: linear-gradient(180deg, var(--blood-bright), var(--blood-deep));
  box-shadow: 0 0 16px rgba(216, 31, 66, 0.75);
}
.timeline-time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--pink-soft);
}
.timeline-label {
  font-size: 12px;
  line-height: 1.6;
  color: #aeb9cb;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px 8px 12px;
  background: linear-gradient(150deg, rgba(16, 26, 51, 0.7), rgba(7, 12, 24, 0.5));
  border: 1px solid var(--line);
  border-radius: 1px;
  overflow: hidden;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.episode-card::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(185, 198, 216, 0.35);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 168, 200, 0.28) 0 22%, transparent 24%),
    conic-gradient(from 0deg, rgba(185, 198, 216, 0.3) 0 12%, transparent 12% 25%, rgba(185, 198, 216, 0.3) 25% 37%, transparent 37% 50%, rgba(185, 198, 216, 0.3) 50% 62%, transparent 62% 75%, rgba(185, 198, 216, 0.3) 75% 87%, transparent 87% 100%);
  opacity: 0.6;
  pointer-events: none;
}
.episode-card:hover {
  border-color: var(--line-strong);
  background: linear-gradient(150deg, rgba(26, 38, 70, 0.8), rgba(10, 16, 32, 0.6));
}
.episode-card.is-current {
  border-color: rgba(216, 31, 66, 0.72);
  background: linear-gradient(150deg, rgba(92, 8, 25, 0.55), rgba(11, 18, 37, 0.7));
  box-shadow: 0 0 0 1px rgba(216, 31, 66, 0.25), 0 0 22px rgba(216, 31, 66, 0.22);
}
.episode-card.is-current .episode-number {
  color: var(--blood-bright);
  border-color: var(--blood-bright);
  text-shadow: 0 0 12px rgba(216, 31, 66, 0.7);
}
.episode-card.is-current .episode-title {
  color: #fff;
}
.episode-number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--pink-dim);
  border: 1px solid rgba(185, 198, 216, 0.2);
  padding: 0 5px;
  align-self: flex-start;
  line-height: 1.7;
}
.episode-title {
  font-size: 14px;
  color: #e9effb;
  padding-right: 20px;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.62;
  color: #9fabbf;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--silver-dim);
  margin-top: 2px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  position: relative;
  padding: 9px 11px 9px 13px;
  background: linear-gradient(200deg, rgba(16, 26, 51, 0.82), rgba(7, 12, 24, 0.55));
  border: 1px solid var(--line);
  border-left: 2px solid rgba(244, 168, 200, 0.4);
  border-radius: 1px;
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.comment-card:hover {
  border-color: var(--line-strong);
  border-left-color: var(--pink);
  transform: translateY(-1px);
}
.comment-watermark {
  position: absolute;
  top: -8px;
  left: -10px;
  width: 58px;
  height: 46px;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(244, 168, 200, 0.34), rgba(244, 168, 200, 0.04) 70%);
  clip-path: polygon(50% 50%, 100% 6%, 74% 50%, 100% 94%, 50% 52%, 0 94%, 26% 50%, 0 6%);
  filter: blur(0.4px);
  opacity: 0.75;
}
.comment-nickname {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--pink-soft);
  margin-bottom: 4px;
}
.comment-text {
  position: relative;
  font-size: 12.5px;
  line-height: 1.68;
  color: #bcc7d9;
}
.recommend-region {
  background: linear-gradient(180deg, rgba(11, 18, 37, 0.5), transparent);
}
.recommend-title {
  color: var(--silver);
  letter-spacing: 0.16em;
}
.recommend-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 1px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommend-item:hover {
  border-color: var(--line-strong);
  background: rgba(244, 168, 200, 0.06);
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(185, 198, 216, 0.16);
  background: #04070e;
  filter: saturate(0.9) contrast(1.05);
}
.recommend-pic {
  transition: filter 0.2s ease;
}
a.recommend-item:hover .recommend-pic {
  filter: saturate(1.1) contrast(1.08) brightness(1.06);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.45;
  color: #e6edf9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.55;
  color: #8c98ac;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 2px;
  padding: 12px 16px 20px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.6), rgba(3, 5, 10, 0.95));
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--silver-dim);
  max-width: 88ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--pink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--pink-soft);
  border-bottom-color: var(--pink);
  text-decoration: none;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(185, 198, 216, 0.12);
}
.friends-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--silver-dim);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--silver);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 6px;
  border: 1px solid transparent;
  border-radius: 1px;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--pink-soft);
  border-color: var(--line-strong);
  background: rgba(244, 168, 200, 0.07);
  text-decoration: none;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 1px solid var(--pink);
  outline-offset: 2px;
}
@media (max-width: 1080px) {.recommend-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.hero-section {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 12px;
  }
.recommend-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {body {
    font-size: 13.5px;
  }
.site-header {
    padding: 8px 12px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
    letter-spacing: 0.12em;
  }
.movie-detail > section {
    padding: 11px 12px;
  }
.hero-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero-poster-wrap {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
  }
.hero-tagline {
    max-width: none;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    width: 160px;
  }
.site-footer {
    padding: 12px 12px 18px;
  }}
@media (max-width: 520px) {.recommend-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.control-row {
    gap: 5px;
  }
.control-button {
    padding: 4px 8px;
    font-size: 11.5px;
  }
.control-volume {
    width: 64px;
  }
.hero-actions {
    gap: 6px;
  }
.action-button {
    padding: 6px 12px;
    font-size: 12.5px;
    flex: 1 1 auto;
  }}
@media (max-width: 420px) {.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster-wrap {
    max-width: 190px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
    scroll-behavior: auto !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}
