:root {
  --ash-void: #0b0d10;
  --ash-deep: #12161b;
  --ash-slate: #1b2128;
  --ash-blue: #2a3440;
  --ash-line: #333e4a;
  --ash-fog: #7d8b99;
  --ash-mist: #aebac6;
  --ash-bone: #d7dee5;
  --tungsten: #e8c07a;
  --tungsten-dim: #b98f4c;
  --ember: #e07a3c;
  --ember-deep: #a04a1e;
  --font-cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--ash-void);
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(70, 84, 98, 0.28), transparent 60%),
    radial-gradient(90% 60% at 90% 110%, rgba(160, 74, 30, 0.10), transparent 65%);
  background-attachment: fixed;
  color: var(--ash-mist);
  font-family: var(--font-cjk);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
a {
  color: var(--tungsten);
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ash-bone);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 13, 16, 0.92);
  border-bottom: 1px solid var(--ash-line);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--tungsten);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #f4d79c;
  text-decoration: none;
}
.category-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  flex: 1 1 auto;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ash-mist);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--ash-line);
  border-radius: 2px;
  background: rgba(42, 52, 64, 0.35);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
a.runtime-category:hover {
  background: rgba(232, 192, 122, 0.14);
  color: var(--tungsten);
  border-color: var(--tungsten-dim);
  text-decoration: none;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--tungsten);
  text-transform: none;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ash-line);
  margin-bottom: 10px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--ember);
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.overview-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ash-line);
  background: var(--ash-deep);
}
.hero-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #05070a;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(215, 222, 229, 0.10) 0 1px, transparent 1.5px),
    radial-gradient(circle at 78% 36%, rgba(215, 222, 229, 0.08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 44% 74%, rgba(215, 222, 229, 0.07) 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 82%, rgba(215, 222, 229, 0.06) 0 1px, transparent 1.5px),
    linear-gradient(180deg, rgba(11, 13, 16, 0.30) 0%, rgba(11, 13, 16, 0.10) 40%, rgba(11, 13, 16, 0.88) 100%);
  background-size: 90px 90px, 130px 130px, 70px 70px, 160px 160px, 100% 100%;
  pointer-events: none;
}
.hero-poster {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.72) contrast(1.06) brightness(0.82);
}
.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(180deg, transparent, rgba(11, 13, 16, 0.72) 40%, rgba(11, 13, 16, 0.94));
}
.movie-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f2f5f8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  line-height: 1.15;
}
.movie-tagline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--tungsten);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--ash-line);
  border-top: none;
  background:
    linear-gradient(180deg, rgba(27, 33, 40, 0.85), rgba(18, 22, 27, 0.94));
}
.overview-primary {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  border-right: 1px solid var(--ash-line);
}
.overview-secondary {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ash-fog);
  padding-left: 10px;
  border-left: 2px solid var(--ember-deep);
}
.synopsis-block {
  display: flex;
  flex-direction: column;
}
.synopsis-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.synopsis-row {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ash-mist);
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #05070a;
  border: 1px solid var(--ash-line);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: rgba(11, 13, 16, 0.9);
  border-top: 1px solid var(--ash-line);
}
.player-button {
  appearance: none;
  border: 1px solid var(--ash-line);
  background: rgba(42, 52, 64, 0.5);
  color: var(--ash-mist);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.player-button:hover {
  background: rgba(232, 192, 122, 0.16);
  color: var(--tungsten);
  border-color: var(--tungsten-dim);
}
.player-button.is-active {
  background: rgba(224, 122, 60, 0.22);
  color: #f0b183;
  border-color: var(--ember);
}
.player-progress, .player-volume {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--ash-blue);
  cursor: pointer;
  outline: none;
}
.player-progress {
  flex: 1 1 140px;
  min-width: 90px;
}
.player-volume {
  flex: 0 1 84px;
  min-width: 56px;
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--tungsten);
  border: none;
  cursor: pointer;
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--tungsten);
  cursor: pointer;
}
.player-shell.is-playing .player-video {
  box-shadow: inset 0 0 40px rgba(224, 122, 60, 0.12);
}
.player-shell.is-paused .player-video {
  filter: brightness(0.88);
}
body.lights-off .page-main {
  opacity: 0.28;
  transition: opacity 0.4s ease;
}
body.lights-off .player-shell {
  opacity: 1;
  box-shadow: 0 0 0 1px var(--ember), 0 0 36px rgba(224, 122, 60, 0.28);
}
body.theater-mode .player-shell {
  box-shadow: 0 0 0 1px var(--tungsten-dim), 0 0 60px rgba(0, 0, 0, 0.9);
}
.details-card {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 10px;
  background: rgba(11, 13, 16, 0.45);
  border: 1px solid var(--ash-line);
}
.detail-rows {
  display: flex;
  flex-direction: column;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dotted rgba(125, 139, 153, 0.28);
  font-size: 12px;
  line-height: 1.4;
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-key {
  flex: 0 0 auto;
  color: var(--ash-fog);
  letter-spacing: 0.06em;
  font-weight: 500;
}
.detail-value {
  flex: 1 1 auto;
  text-align: right;
  color: var(--ash-bone);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.episode-status {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: rgba(11, 13, 16, 0.45);
  border: 1px solid var(--ash-line);
}
.status-line {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ash-mist);
}
.status-total, .status-current {
  color: var(--tungsten);
  font-weight: 800;
  font-size: 15px;
  padding: 0 1px;
}
.cast-ring {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: rgba(11, 13, 16, 0.45);
  border: 1px solid var(--ash-line);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding-top: 4px;
}
.cast-member {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 62px;
  margin: 0 auto;
  background:
    radial-gradient(circle at 34% 28%, rgba(232, 192, 122, 0.32), transparent 62%),
    linear-gradient(150deg, var(--ash-blue), var(--ash-deep));
  border: 1px solid var(--ash-line);
  clip-path: polygon(50% 0%, 100% 38%, 81% 100%, 19% 100%, 0% 38%);
}
.cast-name {
  display: block;
  margin-top: -7px;
  padding: 2px 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ash-bone);
  background: rgba(11, 13, 16, 0.86);
  border-top: 1px solid var(--tungsten-dim);
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.timeline-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0 32px;
  padding: 16px 18px;
  border: 1px solid var(--ash-line);
  background: linear-gradient(180deg, rgba(27, 33, 40, 0.7), rgba(18, 22, 27, 0.92));
}
.timeline-column {
  min-width: 0;
  max-width: 460px;
}
.timeline-list {
  position: relative;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--tungsten-dim), var(--ash-line) 70%, transparent);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: start;
  column-gap: 10px;
  row-gap: 1px;
  padding: 6px 0 6px 0;
  border-bottom: 1px solid rgba(51, 62, 74, 0.5);
}
.timeline-node:last-child {
  border-bottom: none;
}
.timeline-dot {
  position: absolute;
  left: -16px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 3px rgba(224, 122, 60, 0.16);
}
.timeline-timecode {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--tungsten);
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  color: var(--ash-mist);
  letter-spacing: 0.02em;
}
.timeline-quote {
  align-self: start;
  min-width: 0;
  padding: 14px 0 0 20px;
  border-left: 1px solid var(--ash-line);
}
.quote-text {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ash-fog);
  max-width: 34ch;
}
.quote-text::before {
  content: "「";
  color: var(--ember);
  margin-right: 2px;
}
.quote-text::after {
  content: "」";
  color: var(--ember);
  margin-left: 2px;
}
.episodes-section {
  display: flex;
  flex-direction: column;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--ash-line);
  background: rgba(18, 22, 27, 0.8);
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 13px 12px;
  border-bottom: 1px solid var(--ash-line);
  border-right: 1px solid var(--ash-line);
  min-width: 0;
}
.episode-card:nth-child(2n) {
  border-right: none;
}
.episode-card:nth-last-child(-n + 2) {
  border-bottom: none;
}
.episode-card-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.episode-number {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ash-void);
  background: var(--tungsten);
  padding: 1px 6px;
  border-radius: 1px;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ash-bone);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ash-fog);
}
.episode-meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ember);
  font-weight: 700;
  margin-top: auto;
}
.comments-section {
  display: flex;
  flex-direction: column;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}
.comment-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.comment-column-right {
  padding-top: 26px;
}
.comment-card {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(51, 62, 74, 0.55);
  min-width: 0;
}
.comment-card:last-child {
  border-bottom: none;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(232, 192, 122, 0.34), transparent 60%),
    linear-gradient(140deg, var(--ash-blue), var(--ash-deep));
  border: 1px solid var(--ash-line);
}
.comment-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--tungsten);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ash-mist);
}
.recommend-grid-section {
  display: flex;
  flex-direction: column;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
a.recommend-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: rgba(27, 33, 40, 0.72);
  border: 1px solid var(--ash-line);
  color: var(--ash-mist);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
a.recommend-cell:hover {
  border-color: var(--tungsten-dim);
  background: rgba(42, 52, 64, 0.85);
  text-decoration: none;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #05070a;
  border: 1px solid rgba(51, 62, 74, 0.8);
  filter: saturate(0.8) brightness(0.9);
}
.recommend-name {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ash-bone);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.recommend-blurb {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ash-fog);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
a.recommend-cell:hover .recommend-name {
  color: var(--tungsten);
}
.site-footer {
  border-top: 1px solid var(--ash-line);
  background: #080a0d;
  margin-top: 8px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #6a7684;
  max-width: 82ch;
}
.footer-friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(51, 62, 74, 0.6);
  border-bottom: 1px solid rgba(51, 62, 74, 0.6);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ash-fog);
  padding-right: 6px;
  border-right: 1px solid var(--ash-line);
  margin-right: 2px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ash-mist);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--tungsten);
  text-decoration: underline;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ash-mist);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--tungsten);
  border-bottom-color: var(--tungsten-dim);
  text-decoration: none;
}
@media (max-width: 1024px) {.overview-body {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-primary {
    border-right: none;
    border-bottom: 1px solid var(--ash-line);
  }
.timeline-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
.timeline-column {
    max-width: none;
  }
.timeline-quote {
    padding: 0 0 0 16px;
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {body {
    font-size: 13.5px;
  }
.page-main {
    padding: 0 12px 36px;
    gap: 18px;
  }
.header-inner {
    padding: 7px 12px;
  }
.category-nav {
    justify-content: flex-start;
    width: 100%;
  }
.movie-title {
    font-size: 21px;
  }
.movie-tagline {
    font-size: 12px;
  }
.hero-caption {
    padding: 14px 13px 12px;
  }
.overview-primary, .overview-secondary {
    padding: 13px;
  }
.cast-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card, .episode-card:nth-child(2n), .episode-card:nth-last-child(-n + 2) {
    border-right: none;
    border-bottom: 1px solid var(--ash-line);
  }
.episode-card:last-child {
    border-bottom: none;
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.comment-column-right {
    padding-top: 0;
  }
.comment-card:last-child {
    border-bottom: 1px solid rgba(51, 62, 74, 0.55);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
.timeline-section {
    padding: 13px;
  }
.quote-text {
    font-size: 14px;
  }}
@media (max-width: 440px) {.movie-title {
    font-size: 19px;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 6px;
  }
.cast-avatar {
    max-width: 54px;
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.player-button {
    padding: 4px 7px;
    font-size: 10.5px;
  }
.player-progress {
    flex: 1 1 100%;
  }}

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}
