:root {
  --ink: #0a0a0b;
  --ink-2: #101012;
  --ink-3: #16161a;
  --gold: #b8944a;
  --gold-dim: #7d6630;
  --gold-bright: #d8b45f;
  --blood: #8e1f26;
  --blood-bright: #b8323a;
  --gray: #8a8a90;
  --gray-dim: #5c5c62;
  --text: #d8d5ce;
  --text-dim: #8f8b82;
  --line: #26262a;
  --line-gold: #3a3222;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
  overflow-x: hidden;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
::selection {
  background: var(--blood);
  color: #f2eee6;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 11, 0.94);
  border-bottom: 1px solid var(--line-gold);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 1320px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"] {
  color: var(--gold-bright);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
  border-left: 3px solid var(--blood);
  padding-left: 9px;
}
a[data-contract="site-name"]:hover {
  color: #f0d68a;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
a.runtime-category {
  color: var(--gray);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--line);
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px 24px;
}
.section-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--blood);
  line-height: 1.2;
}
.hero-section {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 56px 0 40px;
  margin-bottom: 14px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-gold);
}
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  right: 4%;
  top: 8%;
  width: 46%;
  height: 70%;
  background: radial-gradient(ellipse at 60% 40%, rgba(142, 31, 38, 0.34), rgba(142, 31, 38, 0) 68%);
  filter: blur(6px);
}
.hero-sword {
  position: absolute;
  right: 12%;
  top: -6%;
  width: 2px;
  height: 118%;
  background: linear-gradient(to bottom, rgba(216, 180, 95, 0) 0%, rgba(216, 180, 95, 0.95) 26%, rgba(216, 180, 95, 0.35) 62%, rgba(216, 180, 95, 0) 100%);
  transform: rotate(19deg);
  transform-origin: top center;
  box-shadow: 0 0 14px rgba(216, 180, 95, 0.55);
}
.hero-sword::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 44%;
  width: 12px;
  height: 12px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(216, 180, 95, 0.8);
}
.hero-embroidery {
  position: absolute;
  right: 6%;
  top: 14%;
  width: 34%;
  height: 62%;
  border: 1px solid rgba(184, 50, 58, 0.5);
  background:
    repeating-linear-gradient(115deg, rgba(142, 31, 38, 0.22) 0 1px, rgba(142, 31, 38, 0) 1px 9px),
    repeating-linear-gradient(65deg, rgba(142, 31, 38, 0.16) 0 1px, rgba(142, 31, 38, 0) 1px 14px),
    linear-gradient(160deg, rgba(142, 31, 38, 0.3), rgba(10, 10, 11, 0.9) 78%);
  transform: rotate(-6deg);
  box-shadow: 0 0 40px rgba(142, 31, 38, 0.22) inset;
  clip-path: polygon(0 0, 100% 4%, 96% 100%, 3% 94%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.6em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-left: 2px;
}
.hero-title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ece7db;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9);
  margin-bottom: 12px;
}
.hero-tagline {
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  max-width: 460px;
  margin-bottom: 20px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-play {
  background: var(--blood);
  color: #f6ece4;
  border: 1px solid var(--blood-bright);
  padding: 9px 24px;
  font-size: 13px;
  letter-spacing: 0.24em;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.hero-play:hover, .hero-play.is-active {
  background: var(--blood-bright);
  color: #fff;
}
a.hero-more {
  color: var(--gold-bright);
  text-decoration: none;
  border: 1px solid var(--gold-dim);
  padding: 9px 20px;
  font-size: 13px;
  letter-spacing: 0.2em;
  transition: background 0.15s, color 0.15s;
}
a.hero-more:hover {
  background: rgba(184, 148, 74, 0.14);
  color: #f0d68a;
}
.overview-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.overview-poster-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.overview-poster {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line-gold);
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.overview-player {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #000;
  border: 1px solid var(--line-gold);
  display: flex;
  flex-direction: column;
}
.overview-player video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}
.player-btn {
  border: 1px solid var(--line);
  color: var(--text-dim);
  background: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
.player-btn.is-active {
  color: var(--blood-bright);
  border-color: var(--blood);
  background: rgba(142, 31, 38, 0.16);
}
.player-progress {
  flex: 1 1 120px;
  min-width: 80px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 0;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 12px;
  background: var(--gold);
  border-radius: 0;
}
.player-progress::-moz-range-thumb {
  width: 8px;
  height: 12px;
  background: var(--gold);
  border: none;
  border-radius: 0;
}
.player-volume {
  flex: 0 1 68px;
  min-width: 48px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 0;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 12px;
  background: var(--gray);
  border-radius: 0;
}
.player-volume::-moz-range-thumb {
  width: 8px;
  height: 12px;
  background: var(--gray);
  border: none;
  border-radius: 0;
}
.player-speed {
  background: var(--ink-3);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 11px;
  padding: 4px 4px;
  border-radius: 0;
}
.overview-player.is-theater {
  border-color: var(--blood);
  box-shadow: 0 0 0 1px rgba(142, 31, 38, 0.4);
}
.overview-player.is-lit video {
  filter: brightness(1.12) contrast(1.04);
}
.overview-player.is-muted .player-volume {
  opacity: 0.4;
}
.overview-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.overview-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ece7db;
  line-height: 1.2;
}
.overview-tagline {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  border-left: 2px solid var(--line-gold);
  padding-left: 9px;
}
.episode-status {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gray-dim);
  white-space: nowrap;
}
.status-value {
  font-size: 13px;
  color: var(--blood-bright);
  letter-spacing: 0.06em;
  font-weight: 600;
}
.synopsis {
  min-width: 0;
}
.synopsis-title, .cast-title, .details-title {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 700;
}
.synopsis-text {
  font-size: 13px;
  line-height: 1.72;
  color: var(--text-dim);
  margin-bottom: 6px;
  text-align: justify;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.cast {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 5px 4px;
  background: var(--ink-2);
  transition: border-color 0.15s;
}
.cast-card:hover {
  border-color: var(--line-gold);
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 34%, rgba(184, 148, 74, 0.42), rgba(184, 148, 74, 0) 62%),
    linear-gradient(155deg, #1c1c20, #0d0d0f);
  border: 1px solid var(--line-gold);
}
.cast-name {
  font-size: 12px;
  color: #ddd8cc;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 10px;
  color: var(--gray-dim);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.details {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-item {
  background: var(--ink-2);
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.detail-key {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gray-dim);
}
.detail-value {
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0.02em;
  word-break: break-word;
}
.timeline-section {
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 26px;
  padding-left: 16px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold-dim), rgba(58, 50, 34, 0.2));
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "time label";
  align-items: baseline;
  gap: 4px 10px;
  padding: 5px 0 5px 4px;
  border-bottom: 1px solid var(--line);
}
.timeline-dot {
  position: absolute;
  left: -16px;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(184, 148, 74, 0.7);
}
.timeline-timecode {
  grid-area: time;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: #08080a;
  border: 1px solid var(--line-gold);
  padding: 1px 6px;
  white-space: nowrap;
  justify-self: start;
}
.timeline-label {
  grid-area: label;
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.03em;
}
.episodes-section {
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  gap: 3px 8px;
  padding: 7px 9px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-gold);
  transition: background 0.15s, border-color 0.15s;
}
.episode-card:hover {
  background: var(--ink-3);
  border-color: var(--line-gold);
}
.episode-card--active {
  border-left-color: var(--blood-bright);
  background: rgba(142, 31, 38, 0.1);
}
.episode-number {
  grid-area: num;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
}
.episode-card--active .episode-number {
  color: var(--blood-bright);
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 700;
  color: #e6e1d5;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--gray);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  grid-area: dur;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gray-dim);
}
.comments-section {
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  align-items: start;
}
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.comment-card {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
  min-width: 0;
}
.comment-nickname {
  color: var(--gold);
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.comment-divider {
  color: var(--blood);
  flex: 0 0 auto;
}
.comment-text {
  color: var(--text-dim);
  flex: 1 1 60%;
  min-width: 0;
}
.recommendations-section {
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.recommendations-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}
.recommendations-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--gold-bright);
  margin-bottom: 9px;
  padding-left: 12px;
  border-left: 3px solid var(--blood);
  line-height: 1.15;
  text-transform: uppercase;
}
.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 8px;
  align-items: start;
}
.recommendation-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-areas:
    "pic index"
    "pic name"
    "pic blurb";
  gap: 3px 10px;
  padding: 8px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  align-items: start;
  transition: border-color 0.15s, background 0.15s;
}
.recommendation-card:hover {
  background: var(--ink-3);
  border-color: var(--line-gold);
}
.recommendation-pic {
  grid-area: pic;
  width: 88px;
  height: 122px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line-gold);
  filter: saturate(0.8) contrast(1.05);
}
.recommendation-index {
  grid-area: index;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--blood-bright);
  font-weight: 700;
}
.recommendation-name {
  grid-area: name;
  font-size: 13px;
  font-weight: 700;
  color: #e6e1d5;
  letter-spacing: 0.03em;
  line-height: 1.35;
  word-break: break-word;
}
.recommendation-blurb {
  grid-area: blurb;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--gray);
  word-break: break-word;
}
.site-footer {
  border-top: 1px solid var(--line-gold);
  background: var(--ink-2);
  margin-top: 8px;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 16px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 8px 24px;
  align-items: start;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--gray-dim);
  letter-spacing: 0.02em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: flex-end;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--gold);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-dim);
}
.friend-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gray-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--gray);
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 1px 6px;
  border: 1px solid var(--line);
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  border-color: var(--line-gold);
}
@media (max-width: 1080px) {.overview-section {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-section {
    min-height: 340px;
    padding: 40px 0 30px;
  }
.hero-title {
    font-size: 30px;
  }
.hero-sword {
    right: 8%;
  }
.hero-embroidery {
    width: 44%;
    right: 2%;
  }
.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
.footer-nav {
    justify-content: flex-start;
  }}
@media (max-width: 620px) {.page-main {
    padding: 0 12px 20px;
  }
.header-inner {
    padding: 8px 12px;
  }
.hero-section {
    min-height: 300px;
    padding: 32px 0 24px;
  }
.hero-title {
    font-size: 24px;
  }
.hero-kicker {
    letter-spacing: 0.4em;
  }
.hero-embroidery {
    width: 52%;
    height: 52%;
    right: -4%;
    opacity: 0.75;
  }
.hero-play, a.hero-more {
    padding: 8px 16px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommendations-title {
    font-size: 17px;
    letter-spacing: 0.22em;
  }
.recommendation-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }
.recommendation-pic {
    width: 76px;
    height: 106px;
  }
.player-controls {
    gap: 4px;
    padding: 6px;
  }
.player-btn {
    padding: 4px 7px;
  }
.footer-inner {
    padding: 12px 12px 18px;
  }}
@media (max-width: 400px) {.cast-row {
    grid-template-columns: minmax(0, 1fr);
  }
.details-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}
