:root {
  --bg-deep: #0d1117;
  --bg-panel: #151b24;
  --bg-panel-2: #1a222d;
  --bg-tint: #1e2833;
  --ink: #c8d0da;
  --ink-dim: #7e8894;
  --ink-faint: #5a636e;
  --warm: #c9702e;
  --warm-dim: #8a4d1f;
  --cool: #3a6ea5;
  --cool-dim: #274a6e;
  --highlight: #e8a24a;
  --heart: #d0483e;
  --line: #232c38;
  --gap-xs: 4px;
  --gap-s: 8px;
  --gap-m: 12px;
  --gap-l: 18px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --narrow: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol, dl, dd, p, h1, h2, h3 {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 17, 23, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--gap-s) var(--gap-m);
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  font-family: var(--narrow);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--highlight);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #f2b962;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-xs) var(--gap-s);
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg-panel);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--ink);
  border-color: var(--cool-dim);
  background: var(--bg-tint);
}
.page-main {
  display: block;
  padding: 0 16px;
  max-width: 1440px;
  margin: 0 auto;
}
.section-heading {
  font-family: var(--narrow);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-transform: uppercase;
  padding-bottom: 6px;
  margin-bottom: var(--gap-m);
  border-bottom: 1px solid var(--line);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap-l);
  padding: 24px 0 20px;
}
.hero-poster-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  overflow: hidden;
  background: #0a0e13;
  border-radius: 3px;
}
.hero-poster {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(201, 112, 46, 0.34) 0%, rgba(201, 112, 46, 0.06) 38%, rgba(58, 110, 165, 0.06) 62%, rgba(58, 110, 165, 0.38) 100%);
  mix-blend-mode: overlay;
}
.hero-wave-cut {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 26px;
  transform: translateY(-50%);
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 6px,
      var(--highlight) 6px 7px,
      transparent 7px 13px
    );
  clip-path: polygon(
    0% 50%, 4% 18%, 8% 82%, 12% 26%, 16% 74%, 20% 10%, 24% 90%, 28% 30%, 32% 70%,
    36% 14%, 40% 86%, 44% 22%, 48% 78%, 52% 10%, 56% 90%, 60% 26%, 64% 74%, 68% 18%,
    72% 82%, 76% 30%, 80% 70%, 84% 14%, 88% 86%, 92% 22%, 96% 78%, 100% 50%,
    100% 60%, 96% 88%, 92% 32%, 88% 96%, 84% 24%, 80% 80%, 76% 40%, 72% 92%, 68% 28%,
    64% 84%, 60% 36%, 56% 100%, 52% 20%, 48% 88%, 44% 32%, 40% 96%, 36% 24%, 32% 80%,
    28% 40%, 24% 100%, 20% 20%, 16% 84%, 12% 36%, 8% 92%, 4% 28%, 0% 60%
  );
  opacity: 0.9;
  box-shadow: 0 0 12px rgba(232, 162, 74, 0.55);
}
.hero-ghosts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ghost {
  position: absolute;
  font-family: var(--narrow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 2px 6px;
  border-radius: 2px;
  opacity: 0.82;
  mix-blend-mode: screen;
  white-space: nowrap;
}
.ghost-su {
  top: 26%;
  left: 6%;
  color: #f2d6b0;
  background: rgba(201, 112, 46, 0.34);
  transform: rotate(-3deg);
}
.ghost-cheng {
  top: 40%;
  right: 5%;
  color: #cfe3f7;
  background: rgba(58, 110, 165, 0.36);
  transform: rotate(3deg);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: var(--gap-m);
  min-width: 0;
}
.movie-title {
  font-family: var(--narrow);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.15;
  color: #eef2f6;
}
.tagline {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--warm);
  border-left: 2px solid var(--warm-dim);
  padding-left: 9px;
  margin-top: -4px;
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #090c10;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.main-player {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-xs) var(--gap-s);
  padding: 7px 9px;
  background: var(--bg-panel-2);
  border-top: 1px solid var(--line);
}
.ctrl {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 7px;
  line-height: 1.4;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl:hover {
  color: var(--ink);
  border-color: var(--cool-dim);
  background: #232f3d;
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 100px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #2b3644;
  border: none;
  border-radius: 2px;
  padding: 0;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--highlight);
  box-shadow: 0 0 6px rgba(232, 162, 74, 0.7);
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--highlight);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 80px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #2b3644;
  border: none;
  border-radius: 2px;
  padding: 0;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cool);
  cursor: pointer;
}
.ctrl-volume::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: var(--cool);
  cursor: pointer;
}
.ctrl-speed-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1px 5px;
  cursor: pointer;
}
.ctrl-speed {
  font-size: 11px;
  background: transparent;
  border: none;
  color: var(--ink);
  padding: 1px 0;
  outline: none;
}
.ctrl-speed option {
  background: var(--bg-panel-2);
  color: var(--ink);
}
body.is-theater-mode .player-shell {
  position: fixed;
  inset: 0;
  z-index: 90;
  border: none;
  border-radius: 0;
  justify-content: center;
  background: #05080b;
}
body.is-theater-mode .main-player {
  max-height: 82vh;
  object-fit: contain;
}
body.is-lights-off {
  background: #05080b;
}
body.is-lights-off .player-shell {
  box-shadow: 0 0 0 1px var(--warm-dim), 0 0 40px rgba(201, 112, 46, 0.2);
}
.ctrl.play, .ctrl.mute, .ctrl.pip, .ctrl.fullscreen, .ctrl.theater, .ctrl.light, .ctrl.speed, .ctrl.progress, .ctrl.volume {
  outline: none;
}
.ctrl:focus-visible, .runtime-category:focus-visible, a[data-contract="site-name"]:focus-visible, a.rec-card:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-s) var(--gap-m);
  align-items: center;
  padding: 8px 10px;
  background: var(--bg-panel);
  border-left: 3px solid var(--warm);
  border-radius: 2px;
}
.episode-status span {
  font-family: var(--narrow);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.status-current {
  color: var(--highlight);
  font-weight: 700;
}
.status-total {
  color: var(--ink-dim);
}
.status-reach {
  color: var(--cool);
  margin-left: auto;
}
.cast-strip {
  display: block;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: var(--gap-s);
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  align-self: start;
  transition: border-color 0.15s, background 0.15s;
}
.cast-card:hover {
  border-color: var(--warm-dim);
  background: var(--bg-panel-2);
}
.cast-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(160deg, #2c3541 0%, #1a222d 55%, #131a23 100%);
  border: 1px solid #2a3441;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.cast-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03) 0 2px,
      transparent 2px 6px
    );
}
.cast-name {
  font-family: var(--narrow);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #e2e8ee;
}
.cast-role {
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.synopsis-block {
  display: block;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-dim);
  letter-spacing: 0.02em;
  text-indent: 2em;
}
.synopsis-para + .synopsis-para {
  margin-top: 7px;
}
.details-block {
  display: block;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0 var(--gap-m);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: var(--gap-s);
  padding: 4px 0;
  border-bottom: 1px dotted #212a35;
}
.detail-key {
  flex: 0 0 62px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: var(--ink);
  letter-spacing: 0.02em;
  word-break: break-word;
}
.timeline-section {
  padding: 14px 0 22px;
}
.timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 0;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--cool-dim) 12%, var(--warm-dim) 88%, transparent 100%);
  transform: translateX(-50%);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: center;
  padding: 9px 0;
}
.timeline-left .node-timecode {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}
.timeline-left .node-dot {
  grid-column: 2;
}
.timeline-left .node-label {
  grid-column: 3;
  justify-self: start;
}
.timeline-right .node-timecode {
  grid-column: 3;
  justify-self: start;
  text-align: left;
}
.timeline-right .node-dot {
  grid-column: 2;
}
.timeline-right .node-label {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}
.node-timecode {
  font-family: var(--narrow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--highlight);
  padding: 0 10px;
  white-space: nowrap;
}
.timeline-right .node-timecode {
  color: var(--cool);
}
.node-dot {
  grid-row: 1;
  justify-self: center;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--warm);
  box-shadow: 0 0 0 3px var(--bg-deep), 0 0 8px rgba(201, 112, 46, 0.5);
  position: relative;
  z-index: 2;
}
.node-dot::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--warm);
}
.timeline-right .node-dot {
  border-color: var(--cool);
  box-shadow: 0 0 0 3px var(--bg-deep), 0 0 8px rgba(58, 110, 165, 0.5);
}
.timeline-right .node-dot::after {
  background: var(--cool);
}
.node-label {
  max-width: 100%;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  padding: 0 10px;
  letter-spacing: 0.02em;
}
.timeline-glitch .node-label {
  position: relative;
  color: #a9b4c0;
}
.timeline-glitch .node-label::before, .timeline-glitch .node-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(208, 72, 62, 0.55);
  pointer-events: none;
}
.timeline-glitch .node-label::before {
  top: 4px;
  transform: translateX(-3px);
}
.timeline-glitch .node-label::after {
  bottom: 4px;
  transform: translateX(4px);
}
.timeline-glitch .node-dot {
  animation: pulse-glitch 3.2s ease-in-out infinite;
}
@keyframes pulse-glitch {
  0%, 100% { transform: scale(1); opacity: 1; }
  46% { transform: scale(1); opacity: 1; }
  48% { transform: scale(1.35); opacity: 0.7; }
  50% { transform: scale(1); opacity: 1; }
}
.episodes-section {
  padding: 6px 0 18px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap-s);
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  align-self: start;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-color: var(--cool-dim);
  background: var(--bg-panel-2);
}
.episode-icon {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 2px;
  background: var(--bg-tint);
  border: 1px solid #2c3644;
  position: relative;
  flex: 0 0 auto;
}
.episode-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  opacity: 0.85;
}
.episode-icon-tape::after {
  background-image:
    repeating-linear-gradient(0deg, var(--warm) 0 1px, transparent 1px 3px);
  border-radius: 0;
  inset: 4px 3px;
}
.episode-icon-rain::after {
  background-image:
    repeating-linear-gradient(75deg, var(--cool) 0 1px, transparent 1px 4px);
  inset: 3px;
}
.episode-icon-ear::after {
  background-image:
    radial-gradient(circle at 50% 50%, transparent 2px, var(--warm) 2px 3px, transparent 3px),
    radial-gradient(circle at 50% 50%, transparent 4px, var(--warm-dim) 4px 5px, transparent 5px);
}
.episode-icon-fire::after {
  background-image:
    radial-gradient(ellipse 40% 60% at 50% 70%, var(--highlight), transparent 70%),
    linear-gradient(0deg, var(--warm-dim), transparent 80%);
  border-radius: 2px;
}
.episode-icon-ecg::after {
  background-image:
    linear-gradient(90deg,
      transparent 0 15%, var(--heart) 15% 20%, transparent 20% 30%,
      var(--heart) 30% 34%, transparent 34% 42%, var(--heart) 42% 46%,
      transparent 46% 58%, var(--heart) 58% 62%, transparent 62% 100%);
  background-size: 100% 55%;
  background-position: center;
}
.episode-icon-headphone::after {
  background-image:
    radial-gradient(circle at 50% 68%, transparent 4px, var(--cool) 4px 5px, transparent 5px),
    linear-gradient(0deg, transparent 40%, var(--cool-dim) 40% 62%, transparent 62%);
  border-radius: 50% / 40%;
}
.episode-number {
  font-family: var(--narrow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--warm);
}
.episode-title {
  font-family: var(--narrow);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e4eaf0;
  line-height: 1.3;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--cool);
  margin-top: auto;
  padding-top: 3px;
  border-top: 1px solid #1f2732;
}
.comments-section {
  padding: 6px 0 18px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-m) var(--gap-l);
  align-items: start;
}
.comment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 10px 10px;
  background:
    linear-gradient(180deg, #232b32 0%, #1c232a 100%);
  border: 1px solid #303a45;
  border-radius: 2px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  align-self: start;
}
.comment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 2px;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.02) 0 1px,
      transparent 1px 4px
    );
}
.comment-tape-label {
  position: absolute;
  top: -6px;
  left: 12px;
  width: 46px;
  height: 12px;
  background: rgba(201, 112, 46, 0.75);
  border: 1px solid rgba(232, 162, 74, 0.55);
  border-radius: 1px;
  transform: rotate(-2deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.comment-tape-label::after {
  content: "";
  position: absolute;
  inset: 3px 4px;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0 2px, transparent 2px 5px);
}
.comment-nickname {
  font-family: var(--narrow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--highlight);
}
.comment-text {
  font-size: 12px;
  line-height: 1.62;
  color: var(--ink-dim);
  letter-spacing: 0.02em;
}
.comment-tilt-1 {
  transform: rotate(-1.2deg);
}
.comment-tilt-2 {
  transform: rotate(1.4deg);
}
.comment-tilt-3 {
  transform: rotate(-0.6deg);
}
.rec-region {
  padding: 6px 0 16px;
}
.rec-flow {
  display: grid;
  gap: var(--gap-s);
  align-items: start;
}
.rec-flow-equal {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.rec-flow-uneven {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  align-self: start;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.rec-card:hover {
  border-color: var(--warm-dim);
  background: var(--bg-panel-2);
  transform: translateY(-2px);
}
a.rec-card.rec-card-tall .rec-pic {
  aspect-ratio: 3 / 4;
}
a.rec-card.rec-card-short .rec-pic {
  aspect-ratio: 16 / 10;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0a0e13;
  border-radius: 1px;
  filter: saturate(0.85);
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(1);
}
.rec-name {
  font-family: var(--narrow);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e0e6ec;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.site-footer {
  margin-top: 10px;
  padding: 16px 16px 24px;
  border-top: 1px solid var(--line);
  background: #0a0e13;
}
.disclaimer {
  max-width: 900px;
  margin: 0 auto 12px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--ink-faint);
  text-align: center;
  letter-spacing: 0.02em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap-m);
  margin-bottom: 12px;
}
a[data-contract="footer-home"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--warm);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
a[data-contract="footer-home"]:hover {
  color: var(--highlight);
  border-bottom-color: var(--highlight);
}
a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cool);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
a[data-contract="footer-sitemap"]:hover {
  color: #6ea3d8;
  border-bottom-color: #6ea3d8;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs) var(--gap-s);
  max-width: 1100px;
  margin: 0 auto;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  padding-right: 4px;
  border-right: 1px solid var(--line);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 1px 5px;
  border-radius: 2px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--ink);
  background: var(--bg-panel);
  border-color: var(--line);
}
@media (min-width: 760px) {.hero {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    padding: 32px 0 26px;
  }
.hero-poster-wrap {
    position: sticky;
    top: 58px;
    margin: 0;
    max-width: none;
  }
.movie-title {
    font-size: 36px;
  }}
@media (min-width: 1080px) {body {
    font-size: 14px;
  }
.hero {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 34px;
  }
.movie-title {
    font-size: 42px;
  }
.episode-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.rec-flow-equal {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.rec-flow-uneven {
    grid-template-columns: 1.4fr 1fr 0.8fr;
  }
.rec-flow-uneven .rec-card-tall {
    grid-row: span 1;
  }}
@media (max-width: 1080px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-flow-uneven {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gap-m);
  }
.comment-tilt-1, .comment-tilt-2, .comment-tilt-3 {
    transform: rotate(0deg);
  }
.timeline-track::before {
    left: 17px;
    transform: none;
  }
.timeline-node {
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    padding: 8px 0;
  }
.timeline-left .node-timecode, .timeline-right .node-timecode {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    text-align: left;
    padding: 0 0 0 8px;
  }
.timeline-left .node-dot, .timeline-right .node-dot {
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-self: center;
    margin-top: 2px;
  }
.timeline-left .node-label, .timeline-right .node-label {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    text-align: left;
    padding: 2px 0 0 8px;
  }
.rec-flow-equal, .rec-flow-uneven {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.movie-title {
    font-size: 26px;
  }
.friend-links-label {
    border-right: none;
    width: 100%;
    text-align: center;
    margin: 0 0 2px;
    padding: 0;
  }}
@media (max-width: 460px) {.page-main {
    padding: 0 10px;
  }
.header-inner {
    padding: 7px 10px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-flow-equal, .rec-flow-uneven {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.movie-title {
    font-size: 23px;
  }
.player-controls {
    gap: 3px 5px;
  }
.ctrl {
    font-size: 10.5px;
    padding: 3px 6px;
  }}
@media (prefers-reduced-motion: reduce) {.timeline-glitch .node-dot {
    animation: none;
  }
* {
    transition-duration: 0.01ms !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}
