:root {
  --indigo: #2b3a52;
  --indigo-deep: #1a2434;
  --indigo-faded: #4a5c78;
  --rust: #8c4a30;
  --rust-bright: #b05c38;
  --cotton: #e8e2d6;
  --cotton-dim: #c9c0af;
  --ledger: #c4a95e;
  --ledger-dim: #9a8342;
  --ink: #141a24;
  --ink-soft: #1d2735;
  --ink-panel: #212c3d;
  --line: rgba(200, 190, 168, 0.16);
  --line-strong: rgba(200, 190, 168, 0.3);
  --text: #d8d0c0;
  --text-dim: #9a9285;
  --text-bright: #f0e9db;
  --radius: 2px;
  --gap-tight: 0.4rem;
  --gap: 0.75rem;
  --gap-wide: 1.1rem;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(26, 36, 52, 0.9) 0%, rgba(20, 26, 36, 0.95) 40%, rgba(20, 26, 36, 1) 100%);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
dl, dd, dt {
  margin: 0;
}
a {
  color: var(--cotton-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 1.5rem;
}
h2 {
  font-size: 1.05rem;
}
h3 {
  font-size: 0.95rem;
}
p {
  margin: 0;
}
.site-header {
  background-color: var(--indigo-deep);
  border-bottom: 1px solid var(--line-strong);
  position: relative;
  z-index: 20;
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}
a[data-contract="site-name"] {
  color: var(--cotton);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
a[data-contract="site-name"]:hover {
  color: var(--rust-bright);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.55rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem 0.5rem;
  border-top: 1px solid var(--line);
  padding-top: 0.4rem;
}
a.runtime-category {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.82rem;
  white-space: nowrap;
  padding: 0.1rem 0.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
}
a.runtime-category:hover {
  color: var(--ledger);
  border-color: var(--line-strong);
  background-color: rgba(196, 169, 94, 0.06);
}
.page-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-section {
  position: relative;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-bottom: 0.75rem;
}
.hero-poster {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.12) saturate(0.7);
  border-radius: var(--radius);
  display: block;
}
.hero-body {
  position: relative;
  max-width: 680px;
  margin-bottom: 0.85rem;
  padding-left: 0.15rem;
}
.hero-title {
  color: var(--text-bright);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
.hero-tagline {
  color: var(--rust-bright);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.hero-seo {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.55;
}
.hero-player-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 0.75rem;
  background-color: #0f141d;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-player-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.45rem;
  background-color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.player-btn {
  background-color: rgba(74, 92, 120, 0.25);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--cotton-dim);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.player-btn:hover {
  background-color: rgba(140, 74, 48, 0.4);
  color: var(--text-bright);
  border-color: var(--rust);
}
.player-btn.is-playing, .player-btn.is-active {
  background-color: var(--rust);
  border-color: var(--rust-bright);
  color: var(--cotton);
}
.player-btn.is-muted {
  color: var(--rust-bright);
  border-color: var(--rust);
}
.player-btn.is-alt-speed {
  color: var(--ledger);
  border-color: var(--ledger-dim);
}
.player-progress, .player-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background-color: rgba(200, 190, 168, 0.2);
  border-radius: var(--radius);
  cursor: pointer;
}
.player-progress {
  flex: 1 1 120px;
  min-width: 80px;
}
.player-volume {
  flex: 0 1 80px;
  width: 80px;
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: var(--radius);
  background-color: var(--ledger);
  border: none;
  cursor: pointer;
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: var(--radius);
  background-color: var(--ledger);
  border: none;
  cursor: pointer;
}
.page-main.is-lights-down {
  background-color: #05070b;
}
.page-main.is-lights-down .hero-section {
  background-color: #05070b;
}
.hero-player-wrap.is-theater {
  max-width: 100%;
  width: 100%;
}
.synopsis-section {
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.section-heading {
  color: var(--cotton);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.55rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--rust);
  line-height: 1.3;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.synopsis-paragraph {
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.65;
  text-align: justify;
}
.synopsis-paragraph:first-of-type::first-letter {
  color: var(--rust-bright);
  font-size: 1.4em;
  font-weight: 700;
}
.episode-status {
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--ledger);
  border-radius: var(--radius);
  background-color: rgba(196, 169, 94, 0.05);
}
.episode-status__line {
  color: var(--ledger);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.cast-section {
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  align-items: flex-start;
}
.cast-item {
  flex: 0 0 auto;
}
.cast-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
}
.cast-avatar {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: brightness(0.7) contrast(1.08) saturate(0.75);
  border: 1px solid var(--line-strong);
}
.cast-name {
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0.02em;
}
.details-strip {
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.details-strip__title {
  color: var(--cotton);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}
.details-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.4rem;
}
.details-item {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex: 0 1 auto;
  padding: 0.12rem 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.details-key {
  color: var(--text-dim);
  font-size: 0.75rem;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.details-value {
  color: var(--cotton-dim);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.timeline-section {
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.timeline-list {
  position: relative;
  padding-left: 0.9rem;
  border-left: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-left: 0.35rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.05rem;
  top: 0.35rem;
  width: 5px;
  height: 5px;
  background-color: var(--rust);
  border-radius: 50%;
  border: 1px solid var(--ink);
}
.timeline-timecode {
  color: var(--ledger);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.timeline-label {
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.45;
}
.episodes-section {
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}
.episode-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--ink-panel);
  padding: 0.4rem 0.45rem;
  overflow: hidden;
  transition: border-color 0.18s ease, background-color 0.18s ease;
  cursor: pointer;
}
.episode-card:hover {
  border-color: var(--rust);
  background-color: rgba(140, 74, 48, 0.12);
}
.episode-title {
  color: var(--cotton);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.episode-number {
  color: var(--rust-bright);
  font-size: 0.72rem;
  font-weight: 700;
  margin-right: 0.3rem;
  letter-spacing: 0.03em;
}
.episode-summary {
  color: var(--text-dim);
  font-size: 0.74rem;
  line-height: 1.45;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease, margin-top 0.25s ease;
  margin-top: 0;
}
.episode-card:hover .episode-summary {
  max-height: 8rem;
  opacity: 1;
  margin-top: 0.3rem;
}
.episode-duration {
  display: block;
  color: var(--text-dim);
  font-size: 0.68rem;
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
}
.comments-section {
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.comments-grid {
  column-count: 2;
  column-gap: 0.75rem;
}
.comment-item {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin-bottom: 0.55rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--indigo-faded);
  border-radius: var(--radius);
  background-color: rgba(33, 44, 61, 0.55);
}
.comment-nickname {
  color: var(--ledger);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}
.comment-text {
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.55;
}
.recommend-region {
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.recommend-title {
  color: var(--cotton);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.recommend-title::after {
  content: attr(data-recommendation-title);
  display: none;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}
a.recommend-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.4rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: rgba(33, 44, 61, 0.5);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
a.recommend-item:hover {
  border-color: var(--rust);
  background-color: rgba(140, 74, 48, 0.14);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  filter: brightness(0.7) contrast(1.06) saturate(0.72);
}
.recommend-pic {
  display: block;
}
.recommend-name {
  color: var(--cotton);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.recommend-blurb {
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1rem 1.5rem;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-disclaimer {
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.5;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}
.footer-link {
  color: var(--cotton-dim);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.footer-link:hover {
  color: var(--rust-bright);
  text-decoration: underline;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--cotton-dim);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--rust-bright);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.7rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}
.friend-links__label {
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--indigo-faded);
  text-decoration: none;
  font-size: 0.72rem;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--ledger);
  text-decoration: underline;
}
@media (max-width: 900px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 0 0.75rem 1.25rem;
    gap: 1.2rem;
  }
.hero-title {
    font-size: 1.35rem;
  }
.comments-grid {
    column-count: 1;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    gap: 0.2rem 0.7rem;
  }
.cast-avatar {
    width: 50px;
    height: 50px;
  }}
@media (max-width: 520px) {.site-header__bar {
    padding: 0.45rem 0.75rem;
  }
.category-nav {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
a[data-contract="site-name"] {
    font-size: 0.98rem;
  }
.hero-media {
    max-width: 100%;
  }
.hero-title {
    font-size: 1.2rem;
  }
.page-main {
    padding: 0 0.6rem 1rem;
    gap: 1rem;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    max-height: 8rem;
    opacity: 1;
    margin-top: 0.3rem;
  }
.player-controls {
    gap: 0.25rem;
  }
.player-btn {
    font-size: 0.7rem;
    padding: 0.18rem 0.4rem;
  }
.site-footer {
    padding: 0.85rem 0.6rem 1.25rem;
  }}

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}
