:root {
  --ink: #1c2126;
  --ink-soft: #3d454d;
  --paper: #e8e4da;
  --paper-warm: #efe7d4;
  --blue-grey: #2b3540;
  --blue-grey-2: #394653;
  --blue-grey-3: #4d5c6b;
  --line: #6d7a86;
  --line-soft: #9aa5af;
  --amber: #c9a25a;
  --amber-deep: #a67c33;
  --seal: #8c2f2a;
  --seal-soft: #a8483f;
  --tear: #f4efe2;
  --font-serif: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, 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(--blue-grey);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 320px),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.014) 0 2px, rgba(0, 0, 0, 0.02) 2px 4px);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, dl, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(28, 34, 41, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  padding: 7px 14px;
  max-width: 1360px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper-warm);
  text-decoration: none;
  padding-right: 14px;
  border-right: 1px solid var(--line);
  flex: 0 0 auto;
}
a[data-contract="site-name"]:hover {
  color: var(--amber);
}
.category-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #c3cbd3;
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid rgba(154, 165, 175, 0.32);
  background: rgba(255, 255, 255, 0.03);
}
a.runtime-category:hover {
  color: var(--blue-grey);
  background: var(--amber);
  border-color: var(--amber);
}
.case-file {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px 14px 26px;
}
.case-file::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(154, 165, 175, 0.14) 12%, rgba(154, 165, 175, 0.14) 88%, transparent);
  pointer-events: none;
}
.case-file.is-lights-off {
  background: rgba(0, 0, 0, 0.42);
}
.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 16px 20px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.hero-sleeve {
  position: relative;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 10px 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.22)),
    var(--blue-grey-2);
  border: 1px solid var(--line);
}
.poster-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  background: #14191e;
  border: 1px solid rgba(154, 165, 175, 0.4);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.4);
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.poster-tear {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 22px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(244, 239, 226, 0) 0%, rgba(244, 239, 226, 0.92) 42%, rgba(244, 239, 226, 0.98) 100%);
  clip-path: polygon(
    58% 0%, 100% 0%, 100% 100%, 44% 100%,
    66% 92%, 40% 84%, 70% 75%, 38% 66%, 68% 57%, 36% 48%,
    64% 39%, 34% 30%, 62% 21%, 32% 12%, 60% 5%
  );
  filter: drop-shadow(-2px 0 3px rgba(0, 0, 0, 0.45));
}
.hero-note {
  position: relative;
  align-self: flex-end;
  margin: -26px 0 0 -6px;
  padding: 8px 12px 9px;
  background: var(--paper-warm);
  color: var(--ink);
  border-left: 3px solid var(--seal);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.42);
  transform: rotate(-1.4deg);
  z-index: 3;
}
.note-line {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--seal);
}
.note-date {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--ink-soft);
}
.hero-dossier {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 12px 0 0;
  border-top: 2px solid var(--amber);
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--amber);
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4.4vw, 44px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.08;
  color: #f3efe4;
  margin-top: -4px;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #c6cdd4;
  padding-left: 12px;
  border-left: 2px solid var(--seal);
}
.hero-player {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: 100%;
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #0e1216;
  border: 1px solid var(--line);
}
.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0e1216;
  display: block;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--amber), 0 18px 34px rgba(0, 0, 0, 0.55);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 6px;
  padding: 6px 7px;
  background: var(--blue-grey-2);
  border: 1px solid var(--line);
  border-top: none;
}
.ctrl {
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.05em;
  padding: 6px 9px;
  color: #d5dbe1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(154, 165, 175, 0.4);
  border-radius: 0;
  white-space: nowrap;
}
.ctrl:hover {
  color: #f6f2e8;
  border-color: var(--amber);
  background: rgba(201, 162, 90, 0.16);
}
.ctrl.is-active, .ctrl.play.is-active, .ctrl.mute.is-active, .ctrl.speed.is-active, .ctrl.pip.is-active, .ctrl.fullscreen.is-active, .ctrl.theater.is-active, .ctrl.light.is-active {
  color: var(--blue-grey);
  background: var(--amber);
  border-color: var(--amber-deep);
}
.ctrl-play {
  font-weight: 700;
  min-width: 62px;
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 110px;
  height: 6px;
  margin: 0 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(154, 165, 175, 0.3);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 16px;
  background: var(--amber);
  border: none;
  border-radius: 0;
}
.ctrl-progress::-moz-range-thumb {
  width: 8px;
  height: 16px;
  background: var(--amber);
  border: none;
  border-radius: 0;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 70px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(154, 165, 175, 0.3);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 16px;
  background: var(--line-soft);
  border: none;
  border-radius: 0;
}
.ctrl-volume::-moz-range-thumb {
  width: 8px;
  height: 16px;
  background: var(--line-soft);
  border: none;
  border-radius: 0;
}
.hero-seo {
  font-size: 13px;
  line-height: 1.68;
  color: #b9c2cb;
  text-align: justify;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.028);
  border-left: 2px solid var(--line);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.status-chip {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  color: #d3dae1;
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}
.status-current {
  color: #f6ecd8;
  background: var(--seal);
  border-color: var(--seal-soft);
  font-weight: 700;
}
.status-total {
  color: var(--amber);
  border-color: rgba(201, 162, 90, 0.55);
}
.block-heading {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--paper-warm);
  padding: 0 0 5px 9px;
  border-left: 3px solid var(--amber);
  border-bottom: 1px solid var(--line);
  margin-bottom: 9px;
}
.details-block {
  border-top: 1px solid rgba(154, 165, 175, 0.25);
  padding-top: 9px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 16px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(154, 165, 175, 0.32);
}
.detail-key {
  flex: 0 0 58px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--line-soft);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: #e4e8ec;
}
.cast-strip {
  border-top: 1px solid rgba(154, 165, 175, 0.25);
  padding-top: 9px;
}
.cast-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(154, 165, 175, 0.32);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--blue-grey);
  background: linear-gradient(150deg, var(--amber), var(--amber-deep));
  border-radius: 0;
}
.cast-name {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #e0e5ea;
  white-space: nowrap;
}
.synopsis-block {
  border-top: 1px solid rgba(154, 165, 175, 0.25);
  padding-top: 9px;
}
.synopsis-body {
  column-count: 2;
  column-gap: 20px;
  column-rule: 1px solid rgba(154, 165, 175, 0.22);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  text-align: justify;
  color: #bcc5cd;
  break-inside: avoid;
  margin-bottom: 8px;
  padding-left: 9px;
  border-left: 1px solid rgba(201, 162, 90, 0.4);
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.timeline-section, .episodes-section, .comments-section, .rec-strip {
  padding-top: 14px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.timeline-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 12px 18px;
  align-items: start;
}
.timeline-axis {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 15px;
  border-left: 2px solid rgba(201, 162, 90, 0.55);
}
.axis-mark {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 0 6px;
  border-bottom: 1px dotted rgba(154, 165, 175, 0.28);
}
.axis-mark::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--blue-grey);
  border: 2px solid var(--amber);
}
.axis-mark:last-child {
  border-bottom: none;
}
.axis-timecode {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.axis-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: #c0c9d1;
}
.timeline-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: start;
}
.time-card {
  flex: 1 1 168px;
  max-width: 100%;
  padding: 6px 9px 7px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(154, 165, 175, 0.3);
  border-top: 2px solid var(--amber);
}
.time-card-code {
  display: block;
  font-family: var(--font-serif);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 3px;
}
.time-card-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #d2d8de;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px 9px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(154, 165, 175, 0.28);
  border-left: 3px solid var(--line);
}
.episode-number {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--line-soft);
}
.episode-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f0ece1;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.55;
  color: #b4bec7;
  text-align: justify;
}
.episode-duration {
  margin-top: 2px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--line-soft);
  padding-top: 4px;
  border-top: 1px dotted rgba(154, 165, 175, 0.28);
}
.episode-card.is-current {
  background: linear-gradient(150deg, rgba(140, 47, 42, 0.42), rgba(140, 47, 42, 0.16));
  border-color: var(--seal-soft);
  border-left-color: var(--amber);
}
.episode-card.is-current .episode-number {
  color: var(--amber);
}
.episode-card.is-current .episode-title {
  color: #fff6e6;
}
.episode-card.is-current .episode-summary {
  color: #e6dfd4;
}
.episode-card.is-current .episode-duration {
  color: #e2cdb0;
  border-top-color: rgba(226, 205, 176, 0.45);
}
.comments-columns {
  column-count: 2;
  column-gap: 12px;
  column-rule: 1px solid rgba(154, 165, 175, 0.22);
}
.comment-card {
  break-inside: avoid;
  margin-bottom: 7px;
  padding: 7px 10px 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(154, 165, 175, 0.26);
  border-bottom: 2px solid rgba(201, 162, 90, 0.4);
}
.comment-nick {
  display: block;
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: #c2cbd3;
  text-align: justify;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  align-items: start;
}
.rec-row {
  min-width: 0;
  display: flex;
}
a.rec-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-width: 0;
  padding: 6px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(154, 165, 175, 0.28);
  color: #dfe4e9;
  text-decoration: none;
}
a.rec-link:hover {
  border-color: var(--amber);
  background: rgba(201, 162, 90, 0.12);
  color: #fff6e6;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #14191e;
  border: 1px solid rgba(154, 165, 175, 0.3);
}
.rec-name {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f0ece1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: #a9b3bc;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.site-footer {
  margin-top: 18px;
  padding: 14px 14px 22px;
  background: rgba(20, 25, 30, 0.9);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: #8f9aa4;
  max-width: 900px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(201, 162, 90, 0.45);
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f2d79c;
  border-bottom-color: #f2d79c;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(154, 165, 175, 0.2);
}
.friend-links-label {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--line-soft);
  padding-right: 8px;
  border-right: 1px solid rgba(154, 165, 175, 0.3);
}
a.runtime-friend-link {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #9fb0bd;
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid rgba(154, 165, 175, 0.24);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--blue-grey);
  background: var(--amber);
  border-color: var(--amber);
}
.player .play, .player .mute, .player .pip, .player .fullscreen, .player .theater, .player .light, .player .speed {
  transition: background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.click, .input, .progress, .timeupdate, .volume {
  outline: none;
}
.click:focus-visible, .input:focus-visible, .ctrl:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
}
.light.is-active, .ctrl-light.is-active {
  box-shadow: inset 0 0 0 1px rgba(28, 34, 41, 0.5);
}
@media (max-width: 1080px) {.case-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.case-hero {
    grid-template-columns: minmax(0, 1fr);
  }
.case-file::before {
    display: none;
  }
.poster-frame {
    max-width: 300px;
  }
.hero-note {
    align-self: center;
    margin: -22px 0 0 0;
  }
.timeline-rail {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.synopsis-body, .comments-columns {
    column-count: 1;
    column-rule: none;
  }}
@media (max-width: 560px) {.case-file {
    padding: 10px 10px 18px;
  }
.header-bar {
    padding: 6px 10px;
    gap: 6px 10px;
  }
a[data-contract="site-name"] {
    font-size: 16px;
    padding-right: 10px;
  }
.hero-title {
    font-size: 24px;
  }
.poster-frame {
    max-width: 100%;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-list {
    grid-template-columns: minmax(0, 1fr);
  }
.time-card {
    flex: 1 1 100%;
  }
.player-controls {
    padding: 5px;
    gap: 4px;
  }
.ctrl {
    font-size: 11.5px;
    padding: 5px 7px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    min-width: 100%;
    margin: 0;
    order: 10;
  }
.ctrl-volume {
    flex: 1 1 100%;
    min-width: 100%;
    order: 11;
  }
.site-footer {
    padding: 12px 10px 18px;
  }}
@media (max-width: 400px) {.ctrl {
    padding: 5px 6px;
    font-size: 11px;
  }}

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}
