*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, p, figure, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --rust: #8f3b26;
  --rust-dark: #5e2416;
  --rust-bright: #b5502f;
  --straw: #c2a35a;
  --straw-dim: #8d763a;
  --blue-grey: #6d7d88;
  --blue-grey-dark: #3c4a54;
  --sand: #cbb892;
  --sand-pale: #e4d9c2;
  --ink: #14100d;
  --ink-2: #1c1712;
  --ink-3: #241d16;
  --line: rgba(143, 59, 38, 0.35);
  --line-soft: rgba(203, 184, 146, 0.16);
  --text: #d8cbb2;
  --text-dim: #9a8c74;
  --text-strong: #f0e6d2;
  --gap: 10px;
  --pad: 12px;
  --font-black: "FZCuHei", "方正粗黑宋简体", "Noto Sans SC", "PingFang SC",
    "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei",
    "Hiragino Sans GB", system-ui, sans-serif;
}
body {
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(143, 59, 38, 0.16), transparent 42%),
    radial-gradient(circle at 82% 4%, rgba(109, 125, 136, 0.14), transparent 38%),
    linear-gradient(180deg, #1a1511 0%, #100d0a 55%, #0b0907 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 6px clamp(10px, 2.4vw, 26px);
  background: linear-gradient(
    180deg,
    rgba(20, 16, 13, 0.97) 0%,
    rgba(20, 16, 13, 0.88) 72%,
    rgba(20, 16, 13, 0.62) 100%
  );
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
a[data-contract="site-name"] {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: 0.06em;
  color: var(--straw);
  text-decoration: none;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.9),
    1px 1px 0 rgba(94, 36, 22, 0.85);
  padding: 2px 2px 2px 0;
  border-left: 3px solid var(--rust);
  padding-left: 8px;
}
a[data-contract="site-name"]:hover {
  color: var(--rust-bright);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
  flex: 1 1 auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-black);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sand);
  text-decoration: none;
  padding: 3px 9px;
  background: rgba(109, 125, 136, 0.14);
  border: 1px solid rgba(109, 125, 136, 0.32);
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
a.runtime-category:hover {
  color: var(--text-strong);
  background: rgba(143, 59, 38, 0.42);
  border-color: var(--rust);
}
.page-main {
  display: block;
  padding: 0 clamp(10px, 2.4vw, 26px) 24px;
  max-width: 1560px;
  margin: 0 auto;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(8px, 1.6vw, 20px);
  padding: clamp(10px, 1.8vw, 22px) 0 clamp(16px, 2.6vw, 34px);
}
.hero-figure {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 22%, rgba(143, 59, 38, 0.34), transparent 58%),
    linear-gradient(155deg, #2a2019 0%, #17110d 62%, #0d0a08 100%);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.85);
}
.hero-portrait {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 12%;
  filter: saturate(0.72) contrast(1.1) brightness(0.92);
  display: block;
}
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      112deg,
      rgba(203, 184, 146, 0.05) 0px,
      rgba(203, 184, 146, 0.05) 1px,
      transparent 1px,
      transparent 3px
    ),
    repeating-linear-gradient(
      24deg,
      rgba(20, 16, 13, 0.22) 0px,
      rgba(20, 16, 13, 0.22) 2px,
      transparent 2px,
      transparent 6px
    );
  mix-blend-mode: overlay;
  opacity: 0.9;
}
.hero-scroll-scrap {
  position: absolute;
  right: 0;
  top: 4%;
  width: 46%;
  height: 72%;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(203, 184, 146, 0.2) 0%, rgba(203, 184, 146, 0) 78%),
    repeating-linear-gradient(
      96deg,
      rgba(143, 59, 38, 0.16) 0px,
      rgba(143, 59, 38, 0.16) 1px,
      transparent 1px,
      transparent 5px
    );
  clip-path: polygon(
    14% 0%,
    100% 3%,
    94% 22%,
    100% 41%,
    88% 63%,
    96% 84%,
    62% 100%,
    30% 92%,
    6% 100%,
    0% 66%,
    9% 38%,
    0% 16%
  );
  border-right: 1px solid rgba(143, 59, 38, 0.5);
  opacity: 0.85;
}
.hero-slogan {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-black);
  font-weight: 900;
  font-size: clamp(19px, 2.5vw, 36px);
  line-height: 1.02;
  letter-spacing: 0.1em;
  color: var(--text-strong);
  padding: 10px 6px 10px 12px;
  margin: 0;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 1),
    2px 2px 0 var(--rust-dark),
    0 0 24px rgba(143, 59, 38, 0.55);
  background: linear-gradient(
    90deg,
    rgba(20, 16, 13, 0.86) 0%,
    rgba(20, 16, 13, 0.34) 62%,
    rgba(20, 16, 13, 0) 100%
  );
  max-height: 100%;
  overflow: hidden;
}
.hero-player {
  position: relative;
  margin: 0;
  align-self: start;
  width: 100%;
  border: 1px solid var(--line);
  background: #0a0806;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.7);
}
.hero-player video {
  display: block;
  background: #0a0806;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #1d1712, #120e0b);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  font-family: var(--font-black);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--sand);
  background: rgba(109, 125, 136, 0.16);
  border: 1px solid rgba(203, 184, 146, 0.22);
  border-radius: 2px;
  padding: 4px 9px;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.ctrl-btn:hover {
  color: var(--text-strong);
  background: rgba(143, 59, 38, 0.5);
  border-color: var(--rust);
}
.ctrl-btn.is-active, .ctrl-btn.play, .ctrl-btn.pause {
  background: var(--rust);
  color: var(--text-strong);
  border-color: var(--rust-bright);
}
.ctrl-btn.is-active {
  box-shadow: inset 0 0 0 1px rgba(240, 230, 210, 0.28);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 76px;
  min-width: 64px;
  height: 4px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--rust) 0%, var(--straw-dim) 100%);
  cursor: pointer;
  margin: 0;
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 15px;
  background: var(--sand-pale);
  border: 1px solid var(--rust-dark);
  clip-path: polygon(0 0, 100% 12%, 88% 100%, 6% 88%);
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border-radius: 0;
  background: var(--sand-pale);
  border: 1px solid var(--rust-dark);
  cursor: pointer;
}
.ctrl-select {
  font-family: var(--font-black);
  font-size: 11px;
  font-weight: 700;
  color: var(--sand);
  background: rgba(20, 16, 13, 0.9);
  border: 1px solid rgba(203, 184, 146, 0.24);
  border-radius: 2px;
  padding: 3px 5px;
  cursor: pointer;
}
.hero-player.is-theater, .hero-player.theater {
  border-color: var(--rust-bright);
  box-shadow: 0 0 0 1px rgba(181, 80, 47, 0.5), 0 16px 44px rgba(0, 0, 0, 0.85);
}
body.lights-off {
  background-image: none;
  background-color: #050403;
}
body.lights-off .site-header, body.lights-off .page-main {
  filter: brightness(0.55);
}
body.lights-off .hero-player {
  filter: brightness(1.25);
}
.detail-strip {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(10px, 2vw, 26px);
  padding: clamp(12px, 2.2vw, 26px);
  background:
    linear-gradient(180deg, rgba(28, 23, 18, 0.96), rgba(16, 13, 10, 0.98));
  border: 1px solid var(--line);
  border-top: 2px solid var(--rust);
  box-shadow: inset 0 1px 0 rgba(203, 184, 146, 0.08);
}
.strip-poster {
  position: relative;
  align-self: start;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d0a08;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.66);
}
.strip-poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08);
}
.strip-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.02;
  letter-spacing: 0.05em;
  color: var(--text-strong);
  text-shadow:
    2px 2px 0 var(--rust-dark),
    0 0 30px rgba(143, 59, 38, 0.5);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.movie-tagline {
  font-family: var(--font-black);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--straw);
  border-left: 3px solid var(--rust);
  padding-left: 9px;
}
.movie-seo {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.movie-seo-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  max-width: 78ch;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--line-soft);
}
.group-heading {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--straw);
  text-transform: uppercase;
  padding: 0 0 5px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.group-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--rust-bright);
}
.movie-cast {
  margin-top: 2px;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 7px;
  align-items: start;
}
.cast-card {
  min-width: 0;
}
.cast-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #0e0b09;
}
.cast-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 10;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(0.6) contrast(1.12) brightness(0.9);
  transition: filter 0.2s ease, transform 0.25s ease;
}
.cast-card:hover .cast-media img {
  filter: saturate(0.9) contrast(1.1) brightness(1);
  transform: scale(1.03);
}
.cast-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-family: var(--font-black);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-strong);
  text-align: center;
  padding: 10px 4px 4px;
  background: linear-gradient(
    180deg,
    rgba(20, 16, 13, 0) 0%,
    rgba(20, 16, 13, 0.82) 46%,
    rgba(20, 16, 13, 0.96) 100%
  );
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
}
.movie-synopsis {
  margin-top: 2px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 6px;
  text-indent: 2em;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.movie-status {
  margin-top: 2px;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: stretch;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 11px;
  background: rgba(143, 59, 38, 0.16);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.status-key {
  font-family: var(--font-black);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.status-value {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--straw);
}
.movie-details {
  margin-top: 4px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 8px 5px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-family: var(--font-black);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  min-width: 4.6em;
}
.detail-key::after {
  content: "／";
  color: var(--rust);
  opacity: 0.7;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--text-strong);
  overflow-wrap: anywhere;
}
.story-timeline {
  margin-top: clamp(14px, 2.4vw, 28px);
  padding: clamp(12px, 2vw, 22px);
  background: linear-gradient(180deg, rgba(24, 19, 15, 0.9), rgba(14, 11, 9, 0.96));
  border: 1px solid var(--line);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 4px;
  align-items: start;
  padding-top: 16px;
  margin-top: 4px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 3px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--rust) 0px,
      var(--rust) 22px,
      transparent 22px,
      transparent 30px,
      var(--rust-dark) 30px,
      var(--rust-dark) 44px,
      transparent 44px,
      transparent 54px
    );
  clip-path: polygon(
    0% 40%,
    6% 0%,
    14% 60%,
    22% 10%,
    31% 70%,
    40% 20%,
    50% 80%,
    60% 15%,
    70% 66%,
    80% 8%,
    90% 58%,
    100% 22%,
    100% 100%,
    0% 100%
  );
  opacity: 0.85;
}
.timeline-node {
  position: relative;
  padding: 14px 8px 0 0;
  min-width: 0;
  cursor: pointer;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 2px;
  height: 22px;
  background: var(--straw-dim);
  transform: rotate(14deg);
  box-shadow: 4px 0 0 -0.5px rgba(143, 59, 38, 0.7);
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  width: 10px;
  height: 10px;
  background: var(--rust-bright);
  clip-path: polygon(50% 0%, 100% 42%, 68% 100%, 8% 78%, 0% 24%);
}
.node-timecode {
  display: block;
  font-family: var(--font-black);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--straw);
  margin-bottom: 3px;
}
.node-label {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text);
  border-top: 1px solid var(--line-soft);
  padding-top: 5px;
  max-height: 2.9em;
  overflow: hidden;
  transition: max-height 0.28s ease, color 0.2s ease;
}
.timeline-node:hover .node-label, .timeline-node.is-active .node-label, .timeline-node.click .node-label {
  max-height: 9em;
  color: var(--text-strong);
}
.timeline-node:hover .node-timecode, .timeline-node.is-active .node-timecode {
  color: var(--rust-bright);
}
.episode-block {
  margin-top: clamp(14px, 2.4vw, 28px);
  padding: clamp(12px, 2vw, 22px);
  background: linear-gradient(180deg, rgba(22, 18, 14, 0.92), rgba(13, 10, 8, 0.97));
  border: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-cell {
  position: relative;
  min-width: 0;
  padding: 7px 9px;
  background: rgba(109, 125, 136, 0.09);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--rust-dark);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.episode-cell:hover, .episode-cell.is-active {
  background: rgba(143, 59, 38, 0.24);
  border-left-color: var(--rust-bright);
  border-color: var(--line);
  z-index: 6;
}
.ep-number {
  display: block;
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--straw);
  margin-bottom: 1px;
}
.ep-title {
  display: block;
  font-family: var(--font-black);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--text-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-duration {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-top: 2px;
}
.ep-summary {
  position: absolute;
  left: -1px;
  right: -1px;
  top: calc(100% - 1px);
  z-index: 8;
  display: block;
  font-size: 11.5px;
  line-height: 1.42;
  color: var(--sand-pale);
  background: linear-gradient(180deg, #2c2119 0%, #191310 100%);
  border: 1px solid var(--rust);
  border-top: none;
  padding: 7px 9px 8px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.78);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  pointer-events: none;
}
.episode-cell:hover .ep-summary, .episode-cell.is-active .ep-summary {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.comment-block {
  margin-top: clamp(14px, 2.4vw, 28px);
  padding: clamp(12px, 2vw, 22px);
  background: linear-gradient(180deg, rgba(24, 19, 15, 0.9), rgba(13, 10, 8, 0.97));
  border: 1px solid var(--line);
}
.comment-columns {
  column-count: 2;
  column-gap: 10px;
  column-rule: 1px solid var(--line-soft);
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 8px;
  padding: 8px 10px;
  background: rgba(109, 125, 136, 0.08);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--rust-dark);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.comment-card:hover {
  background: rgba(143, 59, 38, 0.16);
  border-top-color: var(--rust-bright);
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--line-soft);
}
.comment-nick {
  font-family: var(--font-black);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--straw);
}
.comment-nick::before {
  content: "◆";
  color: var(--rust);
  font-size: 8px;
  margin-right: 5px;
  vertical-align: 2px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.48;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-region {
  margin-top: clamp(14px, 2.4vw, 28px);
  padding: clamp(12px, 2vw, 22px);
  background: linear-gradient(180deg, rgba(22, 18, 14, 0.9), rgba(12, 9, 7, 0.97));
  border: 1px solid var(--line);
}
.rec-heading {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--straw);
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.rec-heading::before {
  content: "";
  width: 3px;
  height: 15px;
  background: var(--rust-bright);
  flex: 0 0 auto;
}
.rec-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rec-item {
  display: block;
  border-bottom: 1px solid var(--line-soft);
  padding: 0;
}
.rec-item:last-child {
  border-bottom: none;
}
a[data-runtime="recommendation"] {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  grid-template-areas:
    "img name"
    "img blurb";
  align-items: center;
  gap: 1px 10px;
  padding: 6px 2px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease;
}
a[data-runtime="recommendation"]:hover {
  background: rgba(143, 59, 38, 0.14);
}
a[data-runtime="recommendation"] img {
  grid-area: img;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  filter: saturate(0.68) contrast(1.1) brightness(0.92);
  transition: filter 0.2s ease;
}
a[data-runtime="recommendation"]:hover img {
  filter: saturate(0.95) contrast(1.08) brightness(1.02);
  border-color: var(--rust);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  grid-area: name;
  font-family: var(--font-black);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--text-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  grid-area: blurb;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: clamp(16px, 2.6vw, 30px);
  padding: clamp(14px, 2.2vw, 24px) clamp(10px, 2.4vw, 26px);
  background: linear-gradient(180deg, rgba(16, 12, 10, 0.96), #080605);
  border-top: 2px solid var(--rust);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-black);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sand);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"] {
  color: var(--straw);
}
a[data-contract="footer-home"]:hover {
  color: var(--rust-bright);
  border-bottom-color: var(--rust-bright);
}
a[data-contract="footer-sitemap"] {
  color: var(--blue-grey);
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--text-strong);
  border-bottom-color: var(--blue-grey);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-soft);
}
.friend-links-label {
  font-family: var(--font-black);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.friend-links-label::after {
  content: "：";
  color: var(--rust);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--blue-grey);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(109, 125, 136, 0.5);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--straw);
  border-bottom-color: var(--straw);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 92ch;
  padding-top: 7px;
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 1024px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
.comment-columns {
    column-count: 2;
  }}
@media (max-width: 860px) {.detail-strip {
    grid-template-columns: minmax(0, 156px) minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }}
@media (max-width: 720px) {body {
    font-size: 13.5px;
  }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero-figure {
    max-height: 62vh;
  }
.hero-portrait {
    max-height: 62vh;
    object-position: 50% 10%;
  }
.hero-slogan {
    font-size: clamp(17px, 5.4vw, 26px);
  }
.detail-strip {
    grid-template-columns: minmax(0, 132px) minmax(0, 1fr);
    gap: 12px;
  }
.comment-columns {
    column-count: 1;
    column-rule: none;
  }
.timeline-track {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }}
@media (max-width: 560px) {.detail-strip {
    grid-template-columns: minmax(0, 1fr);
  }
.strip-poster {
    max-width: 220px;
  }
.cast-row {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track::before {
    display: none;
  }
.timeline-node {
    padding-top: 10px;
  }
a[data-runtime="recommendation"] {
    grid-template-columns: 66px minmax(0, 1fr);
  }
.player-controls {
    gap: 4px 5px;
  }
.ctrl-btn {
    font-size: 10.5px;
    padding: 3px 7px;
  }}
@media (max-width: 380px) {.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }}

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}
