*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #12181a;
  --ink-2: #1a2226;
  --panel: #162024;
  --panel-2: #1e2a2e;
  --line: #2c3b3f;
  --wet: #3d4f52;
  --mist: #7d9498;
  --fog: #a8bcc0;
  --paper: #d7d2c4;
  --paper-dim: #a49e8e;
  --police: #4a6b8a;
  --police-deep: #2f4a63;
  --evidence: #c9552b;
  --evidence-soft: #e07b4a;
  --rust: #8a6a4f;
  --text: #c3cfcf;
  --text-dim: #86989a;
  --gap: 0.7rem;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  background-image:
    radial-gradient(ellipse at 12% 0%, rgba(74, 107, 138, 0.16), transparent 55%),
    radial-gradient(ellipse at 88% 8%, rgba(201, 85, 43, 0.09), transparent 50%),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 3px);
  color: var(--text);
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: 15px;
  line-height: 1.62;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, .block-heading, .section-title, .rec-title, .cast-name, .episode-title, .episode-number, .timeline-time, .status-value, .rec-count, .brand-link, .friend-label, .mark {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  letter-spacing: 0.02em;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 0.55rem 1rem;
  background: linear-gradient(180deg, #0e1416, #141d20);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(74, 107, 138, 0.25), 0 6px 16px -12px #000;
  position: relative;
  z-index: 5;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--police), var(--evidence) 70%, transparent);
  opacity: 0.5;
}
.masthead { min-width: 0; }
.brand-link {
  display: inline-block;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--fog);
  padding: 0.15rem 0.1rem;
  text-shadow: 0 1px 0 #000, 0 0 14px rgba(74, 107, 138, 0.4);
}
.brand-link::before {
  content: "档案";
  display: inline-block;
  margin-right: 0.5em;
  padding: 0.05em 0.4em;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--ink);
  background: var(--evidence);
  vertical-align: 0.18em;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-end;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 0.22rem 0.62rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--fog);
  background: rgba(74, 107, 138, 0.14);
  border: 1px solid rgba(74, 107, 138, 0.4);
  border-radius: 1px;
  text-decoration: none;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #eaf1f1;
  background: rgba(74, 107, 138, 0.3);
  border-color: var(--police);
}
.page-main {
  display: block;
  padding: 0.9rem 1rem 1.4rem;
  max-width: 1440px;
  margin: 0 auto;
}
.section-block + .section-block, .timeline-section, .episodes-section, .comments-section, .rec-region { margin-top: 1.15rem; }
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.hero-shell {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem;
  background:
    linear-gradient(150deg, rgba(30, 42, 46, 0.96), rgba(16, 23, 26, 0.98));
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.55), 0 10px 26px -20px #000;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 78% 22%, rgba(125, 148, 152, 0.22), transparent 58%),
    linear-gradient(105deg, #101718 0%, #1b272b 42%, #22333a 74%, #162022 100%);
  opacity: 1;
  filter: saturate(0.7);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(96deg, rgba(216, 226, 226, 0.05) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(84deg, rgba(216, 226, 226, 0.035) 0 1px, transparent 1px 11px);
  mix-blend-mode: screen;
}
.poster-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 138px;
  align-self: flex-start;
  border: 1px solid rgba(168, 188, 192, 0.28);
  background: #0d1315;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 12px 24px -16px #000;
  z-index: 2;
}
.hero-poster {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}
.poster-frost {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(168, 188, 192, 0.16), transparent 34%),
    linear-gradient(0deg, rgba(16, 23, 26, 0.72), transparent 46%),
    repeating-linear-gradient(172deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 6px);
  mix-blend-mode: screen;
}
.hero-ident {
  position: relative;
  z-index: 2;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0.2rem 0.3rem 0.2rem 0;
}
.film-title {
  font-size: clamp(1.5rem, 4.6vw, 2.35rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #e6eeed;
  text-shadow:
    0 1px 0 #000,
    0 0 22px rgba(74, 107, 138, 0.55),
    0 0 2px rgba(201, 85, 43, 0.35);
}
.film-title::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin-top: 0.45rem;
  background: linear-gradient(90deg, var(--evidence), rgba(201, 85, 43, 0));
}
.film-tagline {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: var(--paper-dim);
  letter-spacing: 0.05em;
  border-left: 2px solid rgba(201, 85, 43, 0.6);
  padding-left: 0.55rem;
}
.hero-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.7rem;
}
.mark {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.16rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: rgba(13, 19, 21, 0.7);
  color: var(--fog);
}
.mark-score {
  color: #f0e6d8;
  background: linear-gradient(180deg, rgba(201, 85, 43, 0.9), rgba(138, 63, 32, 0.9));
  border-color: rgba(224, 123, 74, 0.7);
  font-weight: 700;
}
.mark-year { color: var(--police); border-color: rgba(74, 107, 138, 0.55); }
.mark-genre { color: var(--paper-dim); }
.player-shell {
  position: relative;
  background: #080c0d;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
  filter: saturate(0.92);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  background: linear-gradient(180deg, rgba(30, 42, 46, 0.9), rgba(13, 19, 21, 0.96));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 0.26rem 0.62rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--fog);
  background: rgba(74, 107, 138, 0.16);
  border: 1px solid rgba(74, 107, 138, 0.42);
  border-radius: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: #eef4f4;
  background: rgba(74, 107, 138, 0.34);
  border-color: var(--police);
}
.ctrl-play {
  color: #fdf3ec;
  background: linear-gradient(180deg, rgba(201, 85, 43, 0.86), rgba(138, 63, 32, 0.86));
  border-color: rgba(224, 123, 74, 0.66);
  font-weight: 700;
}
.ctrl-play:hover, .ctrl-play:focus-visible {
  background: linear-gradient(180deg, #d96334, #a94c26);
  border-color: var(--evidence-soft);
}
.ctrl-progress {
  flex: 1 1 8rem;
  min-width: 5rem;
  height: 0.9rem;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(90deg, var(--evidence), var(--police));
  border-radius: 2px;
}
.ctrl-progress::-moz-range-track {
  height: 3px;
  background: linear-gradient(90deg, var(--evidence), var(--police));
  border-radius: 2px;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px; height: 11px;
  margin-top: -4px;
  border-radius: 50%;
  background: #e6eeed;
  border: 2px solid var(--evidence);
}
.ctrl-progress::-moz-range-thumb {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #e6eeed;
  border: 2px solid var(--evidence);
}
.ctrl-volume {
  flex: 0 1 5.5rem;
  height: 0.9rem;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-runnable-track {
  height: 3px;
  background: var(--wet);
  border-radius: 2px;
}
.ctrl-volume::-moz-range-track {
  height: 3px;
  background: var(--wet);
  border-radius: 2px;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px; height: 10px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--fog);
}
.ctrl-volume::-moz-range-thumb {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--fog);
  border: none;
}
.ctrl-speed {
  flex: 0 0 auto;
  padding: 0.24rem 0.35rem;
  font-size: 0.74rem;
  color: var(--fog);
  background: rgba(13, 19, 21, 0.9);
  border: 1px solid rgba(74, 107, 138, 0.42);
  border-radius: 1px;
  cursor: pointer;
}
.player-shell--theater {
  box-shadow: 0 0 0 1px rgba(74, 107, 138, 0.6), 0 0 40px -6px rgba(74, 107, 138, 0.5);
}
.player-shell--lights-out {
  background: #000;
  box-shadow: inset 0 0 120px 20px #000, 0 0 0 1px rgba(201, 85, 43, 0.4);
}
.ctrl-theater--active, .ctrl-light--active {
  color: #fdf3ec;
  background: rgba(201, 85, 43, 0.4);
  border-color: var(--evidence);
}
.player.play .ctrl-play, .player.pause .ctrl-play, .player.mute .ctrl-mute, .player.volume .ctrl-volume, .player.progress .ctrl-progress, .player.speed .ctrl-speed, .player.pip .ctrl-pip, .player.fullscreen .ctrl-fullscreen, .player.theater .ctrl-theater, .player.light .ctrl-light, .player.timeupdate .ctrl-progress, .player.input .ctrl-progress, .player.change .ctrl-speed, .player.click .ctrl-btn { outline: none; }
.fullscreen .player-shell, .player-shell.fullscreen { border-radius: 0; }
.hero-info {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0.75rem 0.85rem;
  align-items: start;
}
.hero-info > .section-block {
  padding: 0.7rem 0.8rem;
  background: linear-gradient(165deg, rgba(30, 42, 46, 0.9), rgba(19, 27, 30, 0.92));
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(168, 188, 192, 0.06);
}
.block-heading {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--fog);
  padding-bottom: 0.35rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.block-heading::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.5rem;
  background: var(--evidence);
  transform: translateY(-0.06em) rotate(45deg);
}
.synopsis-block { grid-column: 1 / -1; }
.synopsis-body { display: block; }
.synopsis-para {
  font-size: 0.86rem;
  line-height: 1.78;
  color: var(--text);
  text-indent: 2em;
}
.synopsis-para + .synopsis-para { margin-top: 0.45rem; }
.episode-status-block { align-self: start; }
.status-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.16rem 0;
  border-bottom: 1px dashed rgba(44, 59, 63, 0.7);
}
.status-label { font-size: 0.76rem; color: var(--text-dim); letter-spacing: 0.08em; }
.status-value {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--evidence-soft);
  letter-spacing: 0.06em;
}
.status-bar {
  margin-top: 0.5rem;
  height: 6px;
  background: rgba(13, 19, 21, 0.9);
  border: 1px solid var(--line);
  border-radius: 1px;
  overflow: hidden;
}
.status-bar-fill {
  height: 100%;
  width: 8.33%;
  background: linear-gradient(90deg, var(--evidence), var(--police));
  box-shadow: 0 0 8px rgba(201, 85, 43, 0.6);
}
.details-block { align-self: start; }
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.1rem 0.7rem;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.14rem 0;
  min-width: 0;
  border-bottom: 1px solid rgba(44, 59, 63, 0.55);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.detail-key::after { content: "·"; margin-left: 0.25em; color: var(--rust); }
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.78rem;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.cast-block { grid-column: 1 / -1; }
.cast-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: start;
}
.cast-card {
  position: relative;
  padding: 0.5rem 0.6rem 0.55rem;
  background: rgba(13, 19, 21, 0.62);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(74, 107, 138, 0.6);
  border-radius: 1px;
  min-width: 0;
}
.cast-card:nth-child(even) { border-left-color: rgba(201, 85, 43, 0.5); }
.cast-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e4eceb;
}
.cast-role {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--police);
}
.cast-line {
  margin-top: 0.35rem;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(201, 85, 43, 0.45);
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--paper-dim);
}
.section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem 0.75rem;
  padding-bottom: 0.4rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-head::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 4.5rem; height: 2px;
  background: linear-gradient(90deg, var(--evidence), transparent);
}
.section-title {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #e2ebea;
  text-shadow: 0 0 16px rgba(74, 107, 138, 0.4);
}
.section-sub {
  font-size: 0.74rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.9rem;
  align-items: start;
}
.timeline-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.1rem 0.55rem;
  padding: 0.4rem 0.5rem 0.45rem 0.6rem;
  background: rgba(19, 27, 30, 0.7);
  border: 1px solid var(--line);
  border-left: 2px solid var(--wet);
  border-radius: 1px;
}
.timeline-time {
  grid-column: 1;
  grid-row: 1;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--evidence-soft);
  background: rgba(201, 85, 43, 0.12);
  border: 1px solid rgba(201, 85, 43, 0.35);
  padding: 0.05rem 0.35rem;
  border-radius: 1px;
  white-space: nowrap;
}
.timeline-label {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.82rem;
  color: var(--paper);
  min-width: 0;
}
.timeline-progress {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 0.32rem;
  height: 5px;
  background: rgba(8, 12, 13, 0.9);
  border: 1px solid rgba(44, 59, 63, 0.9);
  border-radius: 1px;
  overflow: hidden;
}
.timeline-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--police-deep), var(--police) 55%, var(--evidence));
  box-shadow: 0 0 6px rgba(74, 107, 138, 0.5);
}
.timeline-fill-1 { width: 8.33%; }
.timeline-fill-3 { width: 25%; }
.timeline-fill-6 { width: 50%; }
.timeline-fill-9 { width: 75%; }
.timeline-fill-12 { width: 100%; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: start;
}
.episode-card {
  position: relative;
  padding: 0.55rem 0.65rem 0.6rem;
  background: linear-gradient(168deg, rgba(30, 42, 46, 0.86), rgba(16, 23, 26, 0.92));
  border: 1px solid var(--line);
  border-top: 2px solid rgba(74, 107, 138, 0.45);
  border-radius: 2px;
  min-width: 0;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.episode-card::after {
  content: "";
  position: absolute;
  right: -18px; top: -18px;
  width: 56px; height: 56px;
  background: radial-gradient(circle, rgba(201, 85, 43, 0.18), transparent 70%);
  pointer-events: none;
}
.episode-card:hover, .episode-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(201, 85, 43, 0.6);
  border-top-color: var(--evidence);
  box-shadow: 0 10px 20px -16px #000, 0 0 0 1px rgba(201, 85, 43, 0.25);
}
.episode-number {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--police);
  border: 1px solid rgba(74, 107, 138, 0.45);
  padding: 0.02rem 0.35rem;
  border-radius: 1px;
}
.episode-title {
  margin-top: 0.3rem;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e6eeed;
}
.episode-summary {
  margin-top: 0.28rem;
  font-size: 0.78rem;
  line-height: 1.66;
  color: var(--text-dim);
}
.episode-duration {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--rust);
}
.episode-code {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--evidence-soft);
  background: rgba(13, 19, 21, 0.92);
  border: 1px solid rgba(201, 85, 43, 0.45);
  padding: 0.04rem 0.4rem;
  border-radius: 1px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.episode-card:hover .episode-code, .episode-card:focus-within .episode-code {
  opacity: 1;
  transform: translateY(0);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem 0.7rem;
  align-items: start;
}
.comment-note {
  position: relative;
  padding: 0.55rem 0.65rem 0.6rem;
  background: linear-gradient(172deg, rgba(215, 210, 196, 0.1), rgba(30, 42, 46, 0.9));
  border: 1px solid var(--line);
  border-radius: 1px;
  min-width: 0;
  box-shadow: 0 8px 18px -16px #000;
}
.comment-note::before {
  content: "";
  position: absolute;
  left: 0.5rem; top: -1px;
  width: 2.2rem; height: 3px;
  background: var(--evidence);
  opacity: 0.8;
}
.comment-note:nth-child(3n/**/+2) { transform: translateY(0.45rem); border-color: rgba(74, 107, 138, 0.5); }
.comment-note:nth-child(3n/**/+2)::before { background: var(--police); }
.comment-note:nth-child(3n) { transform: translateY(-0.2rem); }
.comment-note:nth-child(3n)::before { background: var(--rust); }
.comment-nick {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--evidence-soft);
  padding-bottom: 0.2rem;
  border-bottom: 1px dashed rgba(44, 59, 63, 0.9);
}
.comment-text {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text);
}
.rec-region {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.65rem 0.7rem 0.75rem;
  background: linear-gradient(170deg, rgba(30, 42, 46, 0.72), rgba(13, 19, 21, 0.9));
  border: 1px solid var(--line);
  border-left: 2px solid rgba(74, 107, 138, 0.5);
  border-radius: 2px;
}
.rec-region-2 { border-left-color: rgba(201, 85, 43, 0.5); }
.rec-region-3 { border-left-color: rgba(138, 106, 79, 0.7); }
.rec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
}
.rec-title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #e2ebea;
}
.rec-count {
  flex: 0 0 auto;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  padding: 0.02rem 0.4rem;
  border-radius: 1px;
  white-space: nowrap;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: start;
}
a.rec-card {
  display: block;
  min-width: 0;
  padding: 0.4rem;
  background: rgba(13, 19, 21, 0.85);
  border: 1px solid var(--line);
  border-radius: 1px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
a.rec-card:hover, a.rec-card:focus-visible {
  border-color: rgba(201, 85, 43, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -16px #000;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0a0f10;
  border: 1px solid rgba(44, 59, 63, 0.9);
  filter: saturate(0.85);
}
.rec-name {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #dfe8e7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 1.4rem;
  background: linear-gradient(180deg, #141d20, #0c1113);
  border-top: 1px solid var(--line);
  box-shadow: 0 -1px 0 rgba(74, 107, 138, 0.25);
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.85rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--fog);
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 107, 138, 0.4);
  padding-bottom: 0.05rem;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #eef4f4;
  border-bottom-color: var(--evidence);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.55rem;
}
.friend-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--rust);
  padding-right: 0.4rem;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.05rem 0.35rem;
  background: rgba(74, 107, 138, 0.1);
  border: 1px solid rgba(44, 59, 63, 0.9);
  border-radius: 1px;
  white-space: nowrap;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: #e9f0ef;
  background: rgba(74, 107, 138, 0.28);
  border-color: rgba(74, 107, 138, 0.7);
}
.footer-disclaimer {
  font-size: 0.72rem;
  line-height: 1.7;
  color: #6d7d7f;
  letter-spacing: 0.03em;
  border-top: 1px dashed rgba(44, 59, 63, 0.9);
  padding-top: 0.55rem;
}
@media (max-width: 1080px) {.hero-info { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 760px) {body { font-size: 14px; }
.page-main { padding: 0.7rem 0.6rem 1.1rem; }
.hero-shell { flex-direction: row; gap: 0.65rem; padding: 0.6rem; }
.poster-wrap { width: 108px; }
.hero-ident { padding-right: 0; }
.film-title { font-size: 1.35rem; }
.film-tagline { font-size: 0.78rem; }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-code { opacity: 1; transform: none; position: static; display: inline-block; margin-top: 0.35rem; }
.cast-row { grid-template-columns: minmax(0, 1fr); }
.comment-stack { grid-template-columns: minmax(0, 1fr); gap: 0.55rem; }
.comment-note:nth-child(3n/**/+2), .comment-note:nth-child(3n) { transform: none; }
.rec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-controls { gap: 0.3rem; padding: 0.4rem; }
.ctrl-btn { padding: 0.24rem 0.5rem; font-size: 0.7rem; }
.ctrl-progress { flex: 1 1 100%; order: 10; }
.ctrl-volume { flex: 0 1 4.5rem; }}
@media (max-width: 460px) {.hero-shell { flex-direction: column; }
.poster-wrap { width: 128px; }
.rec-list { grid-template-columns: minmax(0, 1fr); }
.ctrl-volume { display: none; }
.footer-inner { padding: 0.7rem 0.6rem 0.95rem; }}

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}
