:root {
  --bg-deep: #12161c;
  --bg-panel: #1a2029;
  --bg-sheet: #e8e2d2;
  --bg-sheet-alt: #ddd6c2;
  --ink: #0d1116;
  --ink-soft: #4a525e;
  --text-dim: #8b95a3;
  --text-faint: #626c7a;
  --paper: #e8e2d2;
  --paper-ink: #23282f;
  --paper-dim: #6b6350;
  --accent: #d9b23c;
  --accent-deep: #b8912a;
  --line: #2c3542;
  --line-soft: #232b36;
  --stamp: #b0392c;
  --radius: 0;
  --mono: "Courier New", "Consolas", "Menlo", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --cond: "Arial Narrow", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-deep);
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.012) 0px,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 3px
    ),
    radial-gradient(ellipse at 50% 0%, #1c232e 0%, #12161c 60%);
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, ol, ul, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 18, 24, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line-soft);
}
a[data-contract="site-name"].site-brand {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.16em;
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
a[data-contract="site-name"].site-brand:hover {
  color: var(--accent);
}
.header-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  white-space: nowrap;
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-strip::-webkit-scrollbar {
  display: none;
}
a.runtime-category {
  display: inline-block;
  padding: 6px 12px;
  font-family: var(--cond);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  border-right: 1px solid var(--line-soft);
  border-bottom: 2px solid transparent;
}
a.runtime-category:first-child {
  padding-left: 0;
}
a.runtime-category:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.case-file-main {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.dossier-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.dossier-cover {
  position: relative;
  background: #0e1218;
  border: 1px solid var(--line);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.dossier-cover::before, .dossier-cover::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg-deep);
  box-shadow: inset 0 0 0 3px #0b0e13;
}
.dossier-cover::before {
  top: 26px;
  left: 6px;
}
.dossier-cover::after {
  top: 26px;
  right: 6px;
}
.cover-stamp {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--stamp);
  border: 1px solid var(--stamp);
  padding: 2px 8px;
  transform: rotate(-2deg);
  opacity: 0.85;
}
.poster-frame {
  width: 100%;
  max-width: 300px;
  border: 1px solid var(--line);
  background: #000;
  padding: 0;
  line-height: 0;
}
.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.cover-code {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(34px, 9vw, 62px);
  line-height: 0.9;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(217, 178, 60, 0.18);
  align-self: flex-end;
  padding-right: 4px;
}
.tape-mark {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 96px;
  height: 24px;
  background: rgba(216, 205, 168, 0.14);
  border-left: 1px dashed rgba(216, 205, 168, 0.28);
  border-right: 1px dashed rgba(216, 205, 168, 0.28);
  pointer-events: none;
}
.dossier-sheet {
  background: var(--bg-sheet);
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(35, 40, 47, 0.035) 0px,
      rgba(35, 40, 47, 0.035) 1px,
      transparent 1px,
      transparent 22px
    );
  color: var(--paper-ink);
  border: 1px solid #b6ae98;
  box-shadow: 0 2px 0 #a99f87, 0 14px 30px rgba(0, 0, 0, 0.45);
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.dossier-sheet::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 8px;
  width: 2px;
  background: repeating-linear-gradient(
    180deg,
    #b6ae98 0 4px,
    transparent 4px 9px
  );
  opacity: 0.6;
}
.sheet-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 14px;
  border-left: 3px solid var(--accent-deep);
}
.movie-title {
  font-family: var(--cond);
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: var(--ink);
}
.movie-tagline {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--paper-dim);
  font-weight: 600;
}
.seo-description {
  font-size: 13px;
  line-height: 1.75;
  color: #3a4048;
  padding-left: 14px;
  text-indent: 0;
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #10151c;
  border: 1px solid #2b3542;
  padding: 10px;
  margin-left: 14px;
}
.player-shell.is-theater {
  background: #05070a;
  border-color: var(--accent-deep);
}
.player-shell.is-lights-off video {
  filter: brightness(0.35);
}
.player-heading {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
  border: 1px solid #2b3542;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-controls button, .player-controls select {
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  background: #1b232e;
  color: var(--text-dim);
  border: 1px solid #2b3542;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
}
.player-controls button:hover, .player-controls select:hover {
  color: var(--accent);
  border-color: var(--accent-deep);
}
.player-controls button.is-active, .player-controls button.is-muted {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent-deep);
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  background: #2b3542;
  border: none;
  outline: none;
  cursor: pointer;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 14px;
  background: var(--accent);
  border: none;
  border-radius: 0;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 14px;
  background: var(--accent);
  border: none;
  border-radius: 0;
}
.episode-status {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 6px 10px 6px 14px;
  background: rgba(35, 40, 47, 0.06);
  border-left: 3px solid var(--accent-deep);
}
.status-key {
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--paper-dim);
  text-transform: uppercase;
}
.status-value {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.cast-strip {
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cast-heading, .synopsis-heading, .detail-heading {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--paper-dim);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(35, 40, 47, 0.28);
  padding-bottom: 4px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-card {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 10px;
  background: rgba(35, 40, 47, 0.055);
  border: 1px solid rgba(35, 40, 47, 0.16);
  border-radius: 0;
}
.cast-index {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: 0.06em;
}
.cast-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.synopsis-block {
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.85;
  color: #333940;
  text-align: justify;
}
.detail-block {
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(35, 40, 47, 0.18);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 8px 4px 0;
  border-bottom: 1px solid rgba(35, 40, 47, 0.12);
}
.detail-key {
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-value {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.timeline-section {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.timeline-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 100%;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 10px,
    rgba(217, 178, 60, 0.14) 10px 11px
  );
  pointer-events: none;
}
.timeline-heading {
  font-family: var(--cond);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--paper);
  text-transform: uppercase;
}
.timeline-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 5px;
}
.timeline-track::-webkit-scrollbar-track {
  background: var(--line-soft);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--accent-deep);
}
.timeline-node {
  flex: 0 0 auto;
  width: 172px;
  scroll-snap-align: start;
  background: #161d26;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-deep);
  padding: 8px 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.timeline-node::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 5px;
  height: 5px;
  background: var(--line);
  border-radius: 50%;
}
.timeline-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(217, 178, 60, 0.08);
  border: 1px solid rgba(217, 178, 60, 0.25);
  padding: 1px 6px;
  align-self: flex-start;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
}
.episode-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.episode-heading {
  font-family: var(--cond);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--paper);
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 10px;
}
.episode-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent-deep);
  padding: 12px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 0;
}
.episode-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 16px 16px 0;
  border-color: transparent var(--bg-deep) transparent transparent;
}
.episode-corner {
  position: absolute;
  top: 6px;
  right: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}
.episode-number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.episode-title {
  font-family: var(--cond);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--paper);
  line-height: 1.15;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-faint);
  flex: 1 1 auto;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  border-top: 1px dashed var(--line);
  padding-top: 5px;
  align-self: flex-start;
  width: 100%;
}
.comment-section {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comment-heading {
  font-family: var(--cond);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--paper);
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 10px;
  background: #161d26;
  border: 1px solid var(--line);
  border-left: 3px solid var(--stamp);
}
.comment-seal {
  align-self: flex-start;
  font-family: var(--cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(217, 178, 60, 0.35);
  border-radius: 50%;
  padding: 3px 9px;
  background: rgba(217, 178, 60, 0.06);
  white-space: nowrap;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
}
.recommend-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-deep);
}
.recommend-heading {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--paper);
  text-transform: uppercase;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-dim);
  text-decoration: none;
  background: #161d26;
  border: 1px solid var(--line);
  padding: 6px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.recommend-item:hover {
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--line-soft);
  filter: saturate(0.8) contrast(1.04);
}
a.recommend-item .recommend-name {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1.3;
}
a.recommend-item .recommend-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-faint);
}
a.recommend-item:hover .recommend-name {
  color: var(--accent);
}
.site-footer {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 14px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-faint);
}
.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a.footer-link {
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
a.footer-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}
.friend-links-label {
  font-family: var(--cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  text-transform: uppercase;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-faint);
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.play.change, .click.change, .input.change, .timeupdate.change, .volume.change, .progress.change, .speed.change {
  color: var(--accent);
}
.is-active {
  color: var(--accent);
}
@media (min-width: 720px) {body {
    font-size: 14.5px;
  }
.case-file-main {
    padding: 20px 20px 32px;
    gap: 26px;
  }
.dossier-hero {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 20px;
  }
.dossier-cover {
    position: sticky;
    top: 76px;
  }
.poster-frame {
    max-width: 100%;
  }
.dossier-sheet {
    padding: 20px 22px 24px;
    gap: 18px;
  }
.episode-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
.comment-columns {
    gap: 16px;
  }
.recommend-row {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }}
@media (min-width: 1080px) {.case-file-main {
    padding: 24px 28px 40px;
    gap: 30px;
  }
.dossier-hero {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 26px;
  }
.dossier-cover {
    padding: 16px;
  }
.dossier-sheet {
    padding: 24px 28px 30px;
  }
.synopsis-body {
    columns: 2;
    column-gap: 26px;
  }
.synopsis-paragraph {
    break-inside: avoid;
    margin-bottom: 8px;
  }
.detail-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-row {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
.site-footer {
    padding: 20px 28px 34px;
  }}
@media (max-width: 560px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 5px;
  }
.player-controls button, .player-controls select {
    font-size: 10.5px;
    padding: 4px 7px;
  }
.recommend-row {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
.timeline-node {
    width: 156px;
  }
.synopsis-paragraph {
    text-align: left;
  }}
@media (max-width: 380px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    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}
