:root {
  --ink: #0d1116;
  --ink-2: #141a22;
  --ink-3: #1b232d;
  --paper: #e8dfc8;
  --paper-dim: #c9bfa4;
  --paper-faint: #8d8672;
  --slate: #5d7186;
  --slate-deep: #33414f;
  --slate-pale: #9fb2c4;
  --blood: #8c2f2a;
  --blood-bright: #b0453b;
  --line: #2a3541;
  --line-soft: #222c36;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--paper);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    linear-gradient(180deg, #070a0e 0%, #0d1116 34%, #131a22 58%, #0b0f14 100%);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--paper);
  text-decoration: none;
}
a:hover {
  color: var(--paper-dim);
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
::selection {
  background: var(--blood);
  color: var(--paper);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 11, 15, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}
a[data-contract="site-name"] {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--paper);
  text-decoration: none;
  padding: 0.15rem 0.55rem 0.15rem 0;
  border-right: 2px solid var(--blood);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--paper-dim);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--slate-pale);
  text-decoration: none;
  padding: 0.22rem 0.6rem;
  border: 1px solid var(--line);
  background: var(--ink-2);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  color: var(--paper);
  background: var(--slate-deep);
  border-color: var(--slate);
}
.page-main {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}
.section-heading {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--paper);
  text-transform: none;
  padding: 0 0 0.4rem;
  margin-bottom: 0.7rem;
  border-bottom: 2px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 3.2rem;
  height: 2px;
  background: var(--blood);
}
.hero-poster {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0 1.75rem;
  border-bottom: 1px solid var(--line);
}
.hero-figure {
  position: relative;
  border: 1px solid var(--line);
  background: var(--ink-2);
  align-self: start;
  box-shadow: 0 0 0 1px rgba(140, 47, 42, 0.25), 0 18px 40px -28px #000;
}
.hero-figure img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.82) contrast(1.06);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 17, 22, 0.05) 0%, rgba(13, 17, 22, 0.42) 100%);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}
.movie-title {
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.movie-tagline {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--slate-pale);
  letter-spacing: 0.06em;
  padding-left: 0.7rem;
  border-left: 2px solid var(--blood);
}
.movie-seo {
  font-size: 0.83rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--paper-faint);
  max-width: 62ch;
}
.player-shell {
  width: 100%;
  border: 1px solid var(--line);
  background: #05070a;
  padding: 0.35rem;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.15rem 0.1rem;
  border-top: 1px solid var(--line-soft);
  margin-top: 0.35rem;
}
.player-btn {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--line);
  background: var(--ink-2);
  transition: color 0.14s, background 0.14s, border-color 0.14s;
}
.player-btn:hover {
  color: var(--paper);
  background: var(--slate-deep);
  border-color: var(--slate);
}
.player-btn.is-active {
  color: var(--paper);
  background: var(--blood);
  border-color: var(--blood-bright);
}
.player-progress {
  flex: 1 1 8rem;
  min-width: 5rem;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--slate-deep);
  border: none;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 12px;
  background: var(--blood-bright);
  border: none;
  cursor: pointer;
}
.player-progress::-moz-range-thumb {
  width: 10px;
  height: 12px;
  background: var(--blood-bright);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
.player-volume {
  flex: 0 1 5rem;
  min-width: 3.5rem;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--slate-deep);
  border: none;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 12px;
  background: var(--slate-pale);
  border: none;
  cursor: pointer;
}
.player-volume::-moz-range-thumb {
  width: 8px;
  height: 12px;
  background: var(--slate-pale);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
body.is-theater .page-main {
  max-width: 100%;
}
body.is-theater .hero-poster {
  grid-template-columns: minmax(0, 1fr);
}
body.is-theater .hero-figure {
  display: none;
}
body.is-lights-off .page-main, body.is-lights-off .site-footer {
  opacity: 0.42;
  transition: opacity 0.3s;
}
body.is-lights-off .player-shell {
  opacity: 1;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.status-current {
  color: var(--ink);
  background: var(--paper);
  font-weight: 700;
  padding: 0.2rem 0.6rem;
}
.status-total {
  color: var(--slate-pale);
  border: 1px solid var(--line);
  padding: 0.18rem 0.6rem;
}
.cast-strip {
  border-top: 1px solid var(--line-soft);
  padding-top: 0.75rem;
}
.cast-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--paper-faint);
  margin-bottom: 0.5rem;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 4.4rem;
  text-align: center;
}
.cast-avatar {
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, var(--slate-deep) 0%, var(--ink-3) 55%, #0a0d11 100%);
  position: relative;
  flex: none;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0.35rem;
  border: 1px solid rgba(159, 178, 196, 0.28);
}
.cast-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.2;
}
.cast-role {
  font-size: 0.66rem;
  font-weight: 300;
  color: var(--paper-faint);
  line-height: 1.2;
}
.synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 0.75rem;
}
.synopsis-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--paper-faint);
  margin-bottom: 0.45rem;
}
.synopsis-paragraph {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--paper-dim);
  margin-bottom: 0.5rem;
  max-width: 74ch;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 0.75rem;
}
.details-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--paper-faint);
  margin-bottom: 0.45rem;
}
.details-table {
  width: 100%;
  font-size: 0.72rem;
  line-height: 1.3;
}
.details-table tr {
  border-bottom: 1px solid var(--line-soft);
}
.details-table tr:last-child {
  border-bottom: none;
}
.detail-key {
  text-align: left;
  font-weight: 400;
  color: var(--paper-faint);
  padding: 0.24rem 0.5rem 0.24rem 0;
  white-space: nowrap;
  vertical-align: top;
  width: 5.2rem;
}
.detail-value {
  text-align: left;
  font-weight: 300;
  color: var(--paper-dim);
  padding: 0.24rem 1rem 0.24rem 0;
  vertical-align: top;
}
.details-table th:empty, .details-table td:empty {
  padding: 0;
}
.timeline-section {
  padding: 1.4rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem 1.4rem;
}
.timeline-node {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.4rem 0 0.4rem 0.9rem;
  border-left: 1px solid var(--line);
  position: relative;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0.72rem;
  width: 7px;
  height: 7px;
  background: var(--blood);
  border: 1px solid var(--blood-bright);
}
.timeline-timecode {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--slate-pale);
  white-space: nowrap;
}
.timeline-label {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--paper-dim);
}
.episodes-section {
  padding: 1.4rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: start;
}
.episode-card {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 0.55rem 0.65rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-color: var(--slate);
  background: var(--ink-3);
}
.episode-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.episode-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blood-bright);
  white-space: nowrap;
}
.episode-duration {
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--paper-faint);
  white-space: nowrap;
}
.episode-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.3;
}
.episode-summary {
  font-size: 0.74rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--paper-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comments-section {
  padding: 1.4rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: start;
}
.comment-card {
  border: 1px solid var(--line);
  border-left: 3px solid var(--slate);
  background: var(--ink-2);
  padding: 0.55rem 0.7rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.comment-nickname {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--slate-pale);
}
.comment-nickname::before {
  content: "▍";
  color: var(--blood);
  margin-right: 0.25rem;
}
.comment-text {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--paper-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-section {
  padding: 1.3rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
}
.recommend-section:last-of-type {
  border-bottom: none;
}
.recommend-heading {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--paper);
  margin-bottom: 0.6rem;
  padding-left: 0.6rem;
  border-left: 3px solid var(--blood);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 0.35rem;
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
a.recommend-card:hover {
  border-color: var(--slate);
  background: var(--ink-3);
  color: var(--paper);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  display: block;
  background: var(--slate-deep);
  filter: saturate(0.85) contrast(1.05);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--paper-faint);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #070a0e;
  margin-top: 0.5rem;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.1rem 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-disclaimer {
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--paper-faint);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--slate-pale);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--paper);
  border-bottom-color: var(--blood);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  align-items: center;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--paper-faint);
  white-space: nowrap;
  padding-right: 0.4rem;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--paper-dim);
}
@media (max-width: 900px) {.hero-poster {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 1.1rem;
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 680px) {.hero-poster {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding-top: 1.1rem;
  }
.hero-figure {
    max-width: 200px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-table {
    font-size: 0.7rem;
  }
.detail-key {
    width: 4.4rem;
  }}
@media (max-width: 460px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-item {
    width: 3.9rem;
  }
.cast-avatar {
    width: 2.5rem;
    height: 2.5rem;
  }
.player-controls {
    gap: 0.25rem;
  }
.player-btn {
    font-size: 0.68rem;
    padding: 0.24rem 0.45rem;
  }}

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}
