:root {
  --cinder: #1a1310;
  --ember: #2b1e18;
  --char: #0f0b09;
  --ash: #3a3430;
  --smoke: #6e6a66;
  --bone: #e8e2da;
  --pale: #b9b2a9;
  --blood: #7a1f1a;
  --blood-deep: #4a1210;
  --slate: #4a5a68;
  --slate-dim: #2f3a44;
  --line: rgba(232, 226, 218, 0.12);
  --line-soft: rgba(232, 226, 218, 0.07);
  --gap: 10px;
  --pad: 12px;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--cinder);
  color: var(--bone);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol, dl {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
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(15, 11, 9, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 8px 14px;
  max-width: 1320px;
  margin: 0 auto;
}
.site-brand {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bone);
  text-transform: uppercase;
  border-left: 3px solid var(--blood);
  padding-left: 8px;
  line-height: 1.1;
}
a[data-contract="site-name"] {
  color: var(--bone);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #f0b9a8;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 6px;
  min-width: 0;
}
.runtime-category, a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.2;
  padding: 3px 9px;
  color: var(--pale);
  background: var(--ember);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--bone);
  background: var(--blood-deep);
  border-color: var(--blood);
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 14px 26px;
}
.hero-panel {
  position: relative;
  margin-top: 14px;
  border: 1px solid var(--line);
  background: var(--char);
  overflow: hidden;
}
.hero-media {
  position: relative;
  display: block;
  width: 100%;
  max-height: 58vh;
  overflow: hidden;
}
.hero-still {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 58vh;
  object-fit: cover;
  object-position: 50% 28%;
  filter: brightness(0.72) contrast(1.08) saturate(0.82);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 11, 9, 0.55) 0%, rgba(15, 11, 9, 0.1) 38%, rgba(15, 11, 9, 0.72) 78%, var(--char) 100%),
    linear-gradient(90deg, rgba(74, 18, 16, 0.4) 0%, rgba(15, 11, 9, 0) 55%);
  pointer-events: none;
}
.hero-timecode {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #e2c9a8;
  padding: 3px 8px 3px 10px;
  border-right: 2px solid var(--blood);
  background: rgba(15, 11, 9, 0.55);
  font-variant-numeric: tabular-nums;
}
.hero-caption {
  position: relative;
  z-index: 2;
  margin-top: -58px;
  padding: 0 16px 14px;
  max-width: 780px;
}
.hero-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #f3ece2;
  text-shadow: 0 1px 12px rgba(15, 11, 9, 0.9);
}
.hero-tagline {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 300;
  color: #cbbdb0;
  letter-spacing: 0.06em;
}
.spec-panel {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 14px;
  padding: 14px;
  background: var(--ash);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--blood-deep);
  color: var(--bone);
}
.spec-poster {
  width: 100%;
}
.poster-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: brightness(0.9) contrast(1.05);
}
.spec-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spec-title {
  font-size: 20px;
  color: #f3ece2;
}
.spec-tagline {
  font-size: 12.5px;
  font-weight: 300;
  color: #c3b6a8;
  letter-spacing: 0.05em;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line-soft);
}
.spec-episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-current, .status-total, .status-duration {
  display: inline-block;
  font-size: 12px;
  line-height: 1.3;
  padding: 3px 8px;
  border: 1px solid var(--line-soft);
  background: rgba(15, 11, 9, 0.28);
  color: var(--pale);
  white-space: nowrap;
}
.status-current {
  color: #f0d9c4;
  border-color: rgba(122, 31, 26, 0.7);
  background: rgba(74, 18, 16, 0.5);
}
.status-total {
  color: var(--pale);
}
.status-duration {
  color: #a9b6c0;
  border-color: rgba(74, 90, 104, 0.6);
  background: rgba(47, 58, 68, 0.5);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 12.5px;
  padding: 3px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-row dt {
  flex: 0 0 58px;
  color: var(--smoke);
  font-weight: 400;
}
.detail-row dd {
  flex: 1 1 auto;
  min-width: 0;
  color: #ded6cb;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.spec-synopsis {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 7px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-para {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.6;
  color: #c8bfb4;
  text-align: justify;
}
.spec-cast {
  padding-top: 7px;
  border-top: 1px solid var(--line-soft);
}
.cast-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--smoke);
  margin-bottom: 7px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px 8px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  text-align: center;
}
.cast-avatar {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, #6b5a4c 0%, #3a3129 52%, #17120f 100%);
  border: 1px solid rgba(122, 31, 26, 0.55);
  box-shadow: inset 0 0 10px rgba(15, 11, 9, 0.8);
}
.cast-name {
  font-size: 11.5px;
  font-weight: 500;
  color: #ded6cb;
  line-height: 1.25;
  writing-mode: horizontal-tb;
  overflow-wrap: anywhere;
}
.cast-role {
  font-size: 10.5px;
  font-weight: 300;
  color: var(--smoke);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.player-section {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.player-wrap {
  width: 100%;
  max-width: 100%;
  background: #000;
  border: 1px solid var(--line-soft);
  line-height: 0;
}
.player-wrap video {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px;
  background: var(--ember);
  border: 1px solid var(--line-soft);
}
.ctrl-btn {
  flex: 0 0 auto;
  font-size: 11.5px;
  line-height: 1.2;
  padding: 5px 10px;
  color: var(--pale);
  background: rgba(15, 11, 9, 0.5);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.ctrl-btn:hover {
  color: var(--bone);
  background: var(--blood-deep);
  border-color: var(--blood);
}
.ctrl-play.is-playing, .ctrl-mute.is-muted, .ctrl-pip.is-active, .ctrl-fullscreen.is-active, .ctrl-theater.is-active, .ctrl-light.is-active {
  color: #f4dcca;
  background: var(--blood);
  border-color: #a83a2c;
}
.ctrl-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--slate-dim);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 90px;
}
.ctrl-volume {
  flex: 0 1 96px;
  width: 96px;
}
.ctrl-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c98a6a;
  border: 1px solid var(--blood);
}
.ctrl-slider::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid var(--blood);
  border-radius: 50%;
  background: #c98a6a;
}
.ctrl-select {
  flex: 0 0 auto;
  font-size: 11.5px;
  padding: 5px 6px;
  color: var(--pale);
  background: rgba(15, 11, 9, 0.5);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.player-section.theater-mode {
  background: #000;
  padding: 12px 0 0;
  margin-left: -14px;
  margin-right: -14px;
  padding-left: 14px;
  padding-right: 14px;
}
.player-section.lights-off {
  background: #050403;
}
.player-section.lights-off .player-controls {
  opacity: 0.55;
}
.section-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f0e7dc;
  padding-bottom: 7px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: var(--blood);
}
.timeline-section {
  margin-top: 20px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  padding-left: 20px;
  border-left: 2px solid var(--blood);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 0 0 14px 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 12px;
}
.timeline-dot {
  position: absolute;
  left: -27px;
  top: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e6c9a4;
  box-shadow: 0 0 0 3px rgba(122, 31, 26, 0.35);
}
.timeline-node:nth-child(2) .timeline-dot {
  background: #d0ac86;
}
.timeline-node:nth-child(3) .timeline-dot {
  background: #b78e6b;
}
.timeline-node:nth-child(4) .timeline-dot {
  background: #9d7355;
}
.timeline-node:nth-child(5) .timeline-dot {
  background: #835b45;
}
.timeline-node:nth-child(6) .timeline-dot {
  background: #674438;
}
.timeline-node:nth-child(7) .timeline-dot {
  background: #4d3029;
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #c99a72;
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.5;
  color: #c6bcb0;
  overflow-wrap: anywhere;
}
.episodes-section {
  margin-top: 20px;
}
.episode-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--blood) var(--ember);
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.episode-scroll::-webkit-scrollbar {
  height: 6px;
}
.episode-scroll::-webkit-scrollbar-track {
  background: var(--ember);
}
.episode-scroll::-webkit-scrollbar-thumb {
  background: var(--blood-deep);
}
.episode-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px;
  min-height: 100%;
  background: var(--ember);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--blood-deep);
}
.episode-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #c99a72;
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: #ece3d8;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.episode-duration {
  font-size: 11px;
  font-weight: 400;
  color: var(--smoke);
  font-variant-numeric: tabular-nums;
}
.episode-summary {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.5;
  color: #a89e93;
  overflow-wrap: anywhere;
}
.cast-section {
  margin-top: 20px;
}
.cast-grid-full {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 8px;
}
.cast-grid-full .cast-avatar {
  width: 58px;
  height: 58px;
}
.cast-grid-full .cast-name {
  font-size: 12.5px;
}
.comments-section {
  margin-top: 20px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.comment-item {
  padding: 7px 9px;
  background: rgba(43, 30, 24, 0.6);
  border-left: 2px solid var(--blood-deep);
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #c99a72;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  color: #c2b8ac;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.recommend-region {
  margin-top: 20px;
}
.recommend-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.recommend-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #efe6db;
}
.recommend-count {
  font-size: 11px;
  font-weight: 400;
  color: var(--smoke);
  white-space: nowrap;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  color: inherit;
  text-decoration: none;
  background: rgba(15, 11, 9, 0.4);
  border: 1px solid var(--line-soft);
  transition: border-color 0.15s ease, background 0.15s ease;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  background: rgba(74, 18, 16, 0.35);
  border-color: var(--blood);
}
[data-runtime="recommendation"] img, .recommend-poster {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  background: var(--char);
  filter: brightness(0.88) contrast(1.04);
}
.recommend-name {
  font-size: 12px;
  font-weight: 700;
  color: #e6ddd2;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.4;
  color: #9d9489;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.site-footer {
  margin-top: 26px;
  padding: 14px;
  background: var(--char);
  border-top: 1px solid var(--line);
  color: var(--smoke);
}
.footer-disclaimer {
  max-width: 1320px;
  margin: 0 auto;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.55;
  color: #8b837b;
}
.friend-links {
  max-width: 1320px;
  margin: 10px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding-top: 9px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #a79c90;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11px;
  font-weight: 300;
  color: #9aa6b0;
  text-decoration: none;
  padding: 2px 6px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #e2c9a8;
  border-color: var(--blood);
}
.footer-nav {
  max-width: 1320px;
  margin: 10px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 9px;
  border-top: 1px solid var(--line-soft);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  font-weight: 500;
  color: #b6ada2;
  text-decoration: underline;
  text-decoration-color: rgba(122, 31, 26, 0.7);
  text-underline-offset: 3px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f0d9c4;
  text-decoration-color: #c99a72;
}
@media (max-width: 1040px) {.spec-panel {
    grid-template-columns: 180px minmax(0, 1fr);
  }
.cast-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.cast-grid-full {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.spec-panel {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
  }
.timeline-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
.timeline-node {
    margin-bottom: 0;
  }
.recommend-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 680px) {.page-main {
    padding: 0 10px 22px;
  }
.header-inner {
    padding: 7px 10px;
    flex-wrap: wrap;
  }
.site-brand {
    font-size: 14px;
  }
.hero-caption {
    margin-top: -44px;
    padding: 0 12px 12px;
  }
.hero-title {
    font-size: 18px;
  }
.hero-tagline {
    font-size: 12px;
  }
.spec-panel {
    grid-template-columns: 1fr;
    padding: 11px;
  }
.spec-poster {
    max-width: 150px;
  }
.detail-list {
    grid-template-columns: 1fr;
  }
.detail-row dt {
    flex-basis: 66px;
  }
.cast-grid, .cast-grid-full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.cast-grid-full .cast-avatar {
    width: 50px;
    height: 50px;
  }
.comment-columns {
    grid-template-columns: 1fr;
    gap: 7px 0;
  }
.comment-text {
    -webkit-line-clamp: 2;
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 5px;
    padding: 7px;
  }
.ctrl-btn, .ctrl-select {
    font-size: 11px;
    padding: 4px 8px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    min-width: 0;
    order: -1;
  }
.ctrl-volume {
    flex: 0 1 80px;
    width: 80px;
  }}
@media (max-width: 420px) {.hero-title {
    font-size: 16px;
  }
.cast-grid, .cast-grid-full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-name {
    font-size: 11.5px;
  }
.recommend-blurb {
    font-size: 10.5px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
    animation: none !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}
