:root {
  --rust: #8c3b22;
  --rust-deep: #5e2413;
  --rust-light: #b85c38;
  --steel: #3a4653;
  --steel-deep: #232c36;
  --steel-mid: #55636f;
  --steel-light: #8b98a4;
  --lamp: #e8b552;
  --lamp-soft: #f0cd83;
  --paper: #d8d3cb;
  --paper-dim: #b3ada3;
  --ink: #1a1d21;
  --ink-soft: #2a2f35;
  --line: #4a5560;
  --line-soft: #3a434d;
  --font-narrow: "PingFang SC", "Microsoft YaHei", "Heiti SC", "Noto Sans SC", sans-serif;
  --font-mono: "SFMono-Regular", "Consolas", "Menlo", "Courier New", monospace;
}
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-narrow);
  font-weight: 400;
  line-height: 1.45;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(140, 59, 34, 0.04) 2px,
      rgba(140, 59, 34, 0.04) 4px
    ),
    radial-gradient(
      ellipse 80% 50% at 50% 0%,
      rgba(232, 181, 82, 0.06),
      transparent 70%
    );
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}
::selection {
  background: var(--rust);
  color: var(--lamp-soft);
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--ink-soft);
}
::-webkit-scrollbar-thumb {
  background: var(--steel-mid);
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--rust-light);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--steel-deep);
  border-bottom: 2px solid var(--rust);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0.55rem 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
}
.site-branding {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--lamp);
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  padding-left: 0.6rem;
  border-left: 3px solid var(--rust);
}
a[data-contract="site-name"] {
  color: var(--lamp);
  text-decoration: none;
  transition: color 0.15s ease;
}
a[data-contract="site-name"]:hover {
  color: var(--lamp-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--rust);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
a.header-nav-link {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--steel-light);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
a.header-nav-link:hover {
  color: var(--paper);
  border-color: var(--rust);
  background-color: rgba(140, 59, 34, 0.18);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  padding: 0.4rem 1.25rem 0.5rem;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--line-soft);
}
a.runtime-category {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--paper-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  background: rgba(58, 70, 83, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
a.runtime-category:hover {
  color: var(--lamp);
  border-color: var(--rust);
  background: rgba(140, 59, 34, 0.25);
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.hero-banner {
  position: relative;
  margin: 1.25rem 0 0;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    linear-gradient(
      100deg,
      var(--steel-deep) 0%,
      var(--steel) 35%,
      rgba(58, 70, 83, 0.7) 55%,
      rgba(140, 59, 34, 0.35) 80%,
      var(--rust-deep) 100%
    );
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 72% 30%,
      rgba(232, 181, 82, 0.22),
      transparent 42%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(140, 59, 34, 0.3),
      transparent 50%
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 38px,
      rgba(0, 0, 0, 0.12) 38px,
      rgba(0, 0, 0, 0.12) 40px
    );
  pointer-events: none;
}
.hero-banner::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 46%;
  height: 82%;
  background:
    linear-gradient(
      to top,
      var(--ink) 0%,
      rgba(26, 29, 33, 0.85) 30%,
      rgba(35, 44, 54, 0.5) 60%,
      transparent 100%
    );
  clip-path: polygon(
    38% 100%,
    62% 100%,
    72% 62%,
    78% 40%,
    74% 22%,
    66% 10%,
    58% 2%,
    52% 0%,
    44% 4%,
    38% 14%,
    32% 30%,
    28% 50%,
    30% 72%,
    34% 88%
  );
  pointer-events: none;
  opacity: 0.92;
}
.hero-shell {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem 2rem;
  max-width: 640px;
}
.hero-kicker {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--lamp);
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
}
.hero-kicker::before {
  content: "▍";
  color: var(--rust-light);
  margin-right: 0.4em;
}
.hero-title {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--paper);
  line-height: 1.05;
  text-shadow:
    0 0 24px rgba(232, 181, 82, 0.25),
    2px 2px 0 var(--rust-deep);
  margin-bottom: 0.75rem;
}
.hero-tagline {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--lamp-soft);
  padding-left: 0.85rem;
  border-left: 3px solid var(--rust);
  margin-bottom: 1.1rem;
  max-width: 30em;
}
.hero-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--steel-light);
}
.hero-meta-item {
  color: var(--paper-dim);
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line-soft);
  background: rgba(26, 29, 33, 0.5);
}
.hero-meta-sep {
  color: var(--rust-light);
  font-weight: 700;
}
.player-section {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--rust);
  background: var(--steel-deep);
  padding: 0;
  display: flex;
  flex-direction: column;
}
.player-wrapper {
  width: 100%;
  background: #000;
  position: relative;
  line-height: 0;
}
.player-wrapper video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  padding: 0.55rem 0.75rem;
  background: var(--ink-soft);
  border-top: 1px solid var(--line-soft);
}
.player-btn {
  padding: 0.28rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(58, 70, 83, 0.4);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.player-btn:hover {
  color: var(--lamp);
  border-color: var(--rust);
  background: rgba(140, 59, 34, 0.22);
}
.player-btn.is-active {
  color: var(--lamp-soft);
  border-color: var(--lamp);
  background: rgba(232, 181, 82, 0.14);
}
.player-progress {
  flex: 1 1 140px;
  min-width: 100px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line-soft);
  border-radius: 0;
  cursor: pointer;
  accent-color: var(--rust-light);
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: var(--lamp);
  border-radius: 0;
  cursor: pointer;
}
.player-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--lamp);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
.player-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line-soft);
  border-radius: 0;
  cursor: pointer;
  accent-color: var(--steel-light);
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  background: var(--steel-light);
  border-radius: 0;
  cursor: pointer;
}
.player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--steel-light);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
.player-speed {
  padding: 0.28rem 0.5rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(58, 70, 83, 0.4);
  cursor: pointer;
}
.player-speed:hover {
  border-color: var(--rust);
  color: var(--lamp);
}
.player-speed option {
  background: var(--steel-deep);
  color: var(--paper);
}
.player-section.is-theater {
  border-color: var(--lamp);
  border-top-color: var(--lamp);
}
.player-section.is-theater .player-wrapper {
  background: #000;
}
.player-btn.play, .player-btn.click {
  color: var(--lamp);
}
.player-btn.input:active {
  border-color: var(--lamp);
}
.player-btn.progress:active, .player-progress.timeupdate {
  background: var(--rust-light);
}
.player-btn.volume.mute {
  opacity: 0.5;
}
.player-btn.speed {
  color: var(--lamp-soft);
}
.player-btn.pip {
  border-style: dashed;
}
.player-btn.fullscreen {
  border-color: var(--steel-light);
}
.player-btn.theater.is-active {
  border-color: var(--lamp);
}
.player-btn.light.is-active {
  color: var(--lamp-soft);
  border-color: var(--lamp);
  background: rgba(232, 181, 82, 0.2);
}
body.lights-off {
  background-color: #0a0c0e;
}
body.lights-off .page-main {
  opacity: 0.92;
}
body.lights-off .hero-banner::before {
  background:
    radial-gradient(
      circle at 72% 30%,
      rgba(232, 181, 82, 0.32),
      transparent 46%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(0, 0, 0, 0.5),
      transparent 55%
    );
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--steel-deep);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
  align-items: start;
}
.overview-poster-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.poster-media-wrapper {
  width: 100%;
  border: 2px solid var(--line);
  border-bottom: 3px solid var(--rust);
  background: #000;
  overflow: hidden;
  position: relative;
}
.poster-media-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(140, 59, 34, 0.25) 100%
  );
  pointer-events: none;
}
.poster-media-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.92);
}
.poster-caption {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--steel-light);
  text-align: center;
  padding: 0.2rem 0;
  border-top: 1px dashed var(--line-soft);
}
.overview-info-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}
.overview-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--paper);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--rust);
}
.overview-tagline {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--lamp-soft);
  padding-left: 0.7rem;
  border-left: 3px solid var(--rust-light);
}
.overview-seo {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--paper-dim);
  text-align: justify;
}
.cast-block {
  margin-top: 0.25rem;
}
.cast-heading, .synopsis-heading, .status-heading, .details-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lamp);
  font-family: var(--font-mono);
  margin-bottom: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.cast-heading::before, .synopsis-heading::before, .status-heading::before, .details-heading::before {
  content: "◢";
  color: var(--rust-light);
  margin-right: 0.4em;
  font-size: 0.7em;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(0, 1fr));
  gap: 0.4rem;
}
.cast-card {
  display: grid;
  grid-template-columns: 2rem 1fr;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.5rem;
  padding: 0.4rem 0.5rem;
  background: rgba(58, 70, 83, 0.3);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--rust);
  align-items: center;
}
.cast-avatar {
  grid-row: 1 / 3;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--lamp-soft);
  background: var(--rust-deep);
  border: 1px solid var(--rust);
  clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%);
  font-family: var(--font-narrow);
}
.cast-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
  align-self: end;
}
.cast-line {
  font-size: 0.68rem;
  color: var(--steel-light);
  letter-spacing: 0.02em;
  line-height: 1.3;
  align-self: start;
}
.synopsis-block {
  margin-top: 0.25rem;
}
.synopsis-para {
  font-size: 0.78rem;
  line-height: 1.75;
  color: var(--paper-dim);
  text-align: justify;
  margin-bottom: 0.5rem;
  padding-left: 0.6rem;
  border-left: 1px solid var(--line-soft);
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status-block {
  margin-top: 0.25rem;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.status-chip {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 88% 100%, 0 100%);
  background: rgba(58, 70, 83, 0.4);
  color: var(--paper-dim);
}
.status-chip-total {
  border-color: var(--steel-light);
  color: var(--steel-light);
}
.status-chip-current {
  border-color: var(--lamp);
  color: var(--lamp);
  background: rgba(232, 181, 82, 0.1);
}
.status-chip-platform {
  border-color: var(--rust-light);
  color: var(--rust-light);
  background: rgba(140, 59, 34, 0.15);
}
.details-block {
  margin-top: 0.25rem;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.25rem 0.75rem;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.2rem 0;
  border-bottom: 1px dotted var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--steel-light);
  white-space: nowrap;
}
.detail-value {
  flex: 1 1 auto;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: 0.03em;
  text-align: right;
  min-width: 0;
  overflow-wrap: break-word;
}
.timeline-section {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--steel-deep);
  border: 1px solid var(--line);
  border-top: 3px solid var(--rust);
}
.timeline-heading {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--rust);
  font-family: var(--font-mono);
}
.timeline-heading::before {
  content: "/// ";
  color: var(--rust-light);
  font-size: 0.8em;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.35rem 1.25rem;
  counter-reset: tl;
}
.timeline-node {
  display: grid;
  grid-template-columns: 1.2rem 0.75rem auto 1fr;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  counter-increment: tl;
}
.timeline-wrench {
  font-size: 0.7rem;
  line-height: 1;
  filter: sepia(1) hue-rotate(-20deg) saturate(2.5) brightness(0.9);
  text-align: center;
}
.timeline-tick {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--rust);
  position: relative;
}
.timeline-tick::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -2px;
  width: 3px;
  height: 6px;
  background: var(--rust-light);
}
.timeline-timecode {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lamp);
  white-space: nowrap;
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--line-soft);
  background: rgba(26, 29, 33, 0.5);
}
.timeline-label {
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--paper-dim);
  letter-spacing: 0.02em;
  min-width: 0;
}
.episodes-section {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--steel-deep);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
}
.episodes-heading {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--rust);
  font-family: var(--font-mono);
}
.episodes-heading::after {
  content: " 24";
  color: var(--rust-light);
  font-size: 0.75em;
  margin-left: 0.4em;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.6rem 0.7rem;
  background: rgba(35, 44, 54, 0.75);
  border: 1px solid var(--line);
  border-top: 3px solid var(--rust);
  position: relative;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.episode-card:hover {
  border-color: var(--rust-light);
  background: rgba(58, 70, 83, 0.5);
}
.episode-number {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--rust-light);
  padding: 0.1rem 0.45rem;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 85% 100%, 0 100%);
}
.episode-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--paper);
  line-height: 1.3;
}
.episode-summary {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--paper-dim);
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-card:hover .episode-summary {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.episode-duration {
  align-self: flex-start;
  font-size: 0.66rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  color: var(--steel-light);
  padding-top: 0.25rem;
  border-top: 1px dashed var(--line-soft);
  margin-top: auto;
}
.comments-section {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--steel-deep);
  border: 1px solid var(--line);
  border-right: 4px solid var(--rust);
}
.comments-heading {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--rust);
  font-family: var(--font-mono);
}
.comments-heading::before {
  content: "❯ ";
  color: var(--rust-light);
}
.comments-masonry {
  columns: 2;
  column-gap: 0.75rem;
}
.comment-card {
  display: grid;
  grid-template-columns: 1.8rem 1fr;
  gap: 0.1rem 0.5rem;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.75rem;
  background: rgba(35, 44, 54, 0.8);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--steel-mid);
  break-inside: avoid;
  page-break-inside: avoid;
}
.comment-card:nth-child(3n + 1) {
  border-left-color: var(--rust);
  transform: translateX(0);
}
.comment-card:nth-child(3n + 2) {
  border-left-color: var(--lamp);
  transform: translateX(0.35rem);
}
.comment-card:nth-child(3n) {
  border-left-color: var(--steel-light);
  transform: translateX(-0.2rem);
}
.comment-avatar {
  grid-row: 1 / 3;
  width: 1.8rem;
  height: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--paper);
  background: var(--steel);
  border: 1px solid var(--line);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%, 0 15%);
  font-family: var(--font-narrow);
}
.comment-nickname {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--lamp-soft);
  align-self: end;
}
.comment-text {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--paper-dim);
  letter-spacing: 0.01em;
  text-align: justify;
  grid-column: 2;
}
.recommend-region {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--steel-deep);
  border: 1px solid var(--line);
  border-top: 3px solid var(--rust);
}
.recommend-region-2 {
  border-top-color: var(--lamp);
}
.recommend-region-3 {
  border-top-color: var(--steel-light);
}
.recommend-heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lamp);
  font-family: var(--font-mono);
  margin-bottom: 0.7rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line-soft);
}
.recommend-region-2 .recommend-heading {
  color: var(--lamp-soft);
}
.recommend-region-3 .recommend-heading {
  color: var(--steel-light);
}
.recommend-heading::before {
  content: "· ";
  color: var(--rust-light);
}
.recommend-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.5rem;
}
.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.4rem;
  background: rgba(35, 44, 54, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 0;
  color: var(--paper-dim);
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
  min-width: 0;
}
a.recommend-item {
  color: var(--paper-dim);
  text-decoration: none;
}
a.recommend-item:hover {
  border-color: var(--rust-light);
  background: rgba(140, 59, 34, 0.18);
  transform: translateY(-2px);
}
.recommend-item[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--line-soft);
  filter: contrast(1.05) saturate(0.9);
  transition: filter 0.15s ease;
}
.recommend-item[data-runtime="recommendation"]:hover img {
  filter: contrast(1.1) saturate(1.05);
}
.recommend-thumb {
  display: block;
  width: 100%;
}
.recommend-name {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--paper);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 0.66rem;
  line-height: 1.45;
  color: var(--steel-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 2rem;
  background: var(--steel-deep);
  border-top: 3px solid var(--rust);
  padding: 1.25rem;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line-soft);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--steel-light);
  text-decoration: none;
  transition: color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--lamp);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--rust);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.6rem;
}
.friend-links-label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust-light);
  margin-right: 0.3rem;
}
a.runtime-friend-link {
  font-size: 0.7rem;
  color: var(--paper-dim);
  text-decoration: none;
  padding: 0.1rem 0.35rem;
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--lamp-soft);
  border-color: var(--line-soft);
}
a.runtime-friend-link::before {
  content: "·";
  color: var(--rust-light);
  margin-right: 0.25em;
}
.footer-disclaimer {
  font-size: 0.68rem;
  line-height: 1.6;
  color: var(--steel-mid);
  letter-spacing: 0.02em;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 1024px) {.movie-overview {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    gap: 1.25rem;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.header-bar {
    padding: 0.5rem 0.85rem;
  }
.categories-bar {
    padding: 0.35rem 0.85rem 0.45rem;
  }
.page-main {
    padding: 0 0.85rem;
  }
.hero-banner {
    min-height: 340px;
  }
.hero-shell {
    padding: 1.75rem 1.25rem 1.5rem;
  }
.hero-banner::after {
    width: 60%;
    height: 70%;
    right: 2%;
    opacity: 0.7;
  }
.movie-overview {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
.overview-poster-column {
    max-width: 220px;
  }
.cast-row {
    grid-template-columns: repeat(auto-fill, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: 1fr;
  }
.episodes-grid {
    grid-template-columns: 1fr;
  }
.comments-masonry {
    columns: 1;
  }
.comment-card:nth-child(3n + 2) {
    transform: none;
  }
.comment-card:nth-child(3n) {
    transform: none;
  }
.recommend-column {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }}
@media (max-width: 480px) {html {
    font-size: 15px;
  }
.header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
.header-nav {
    width: 100%;
  }
a.header-nav-link {
    flex: 1 1 auto;
    text-align: center;
  }
.hero-banner {
    min-height: 300px;
  }
.hero-title {
    font-size: 1.7rem;
  }
.hero-tagline {
    font-size: 0.82rem;
  }
.hero-meta-line {
    font-size: 0.7rem;
  }
.player-controls {
    gap: 0.35rem;
    padding: 0.45rem 0.55rem;
  }
.player-btn {
    padding: 0.25rem 0.55rem;
    font-size: 0.7rem;
  }
.player-progress {
    flex-basis: 100%;
    order: -1;
  }
.overview-poster-column {
    max-width: 160px;
  }
.cast-row {
    grid-template-columns: 1fr;
  }
.recommend-column {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
.details-list {
    grid-template-columns: 1fr;
  }
.timeline-node {
    grid-template-columns: 1.1rem 0.6rem auto 1fr;
    gap: 0.3rem;
  }
.timeline-label {
    font-size: 0.7rem;
  }
.footer-inner {
    gap: 0.6rem;
  }}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !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}
