*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
:root {
  --indigo: #1f3a5f;
  --indigo-deep: #14273f;
  --indigo-mid: #2d4d73;
  --indigo-soft: #3d5f85;
  --grey-blue: #6c8299;
  --wood: #6b5544;
  --wood-deep: #4a3a2e;
  --ochre: #9a6a3c;
  --moon: #d9e2e8;
  --moon-bright: #eef3f6;
  --ink: #1b1f24;
  --paper: #f2f0ea;
  --paper-deep: #e7e3d9;
  --line: rgba(31, 58, 95, 0.22);
  --line-soft: rgba(31, 58, 95, 0.12);
}
html {
  font-size: 15px;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
body.lights-off {
  background: #0b1218;
  color: var(--moon);
}
h1, h2, h3, .block-heading, .section-heading, .movie-title, .recommend-heading, .episode-detail-title {
  font-family: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.site-header {
  background: var(--indigo-deep);
  color: var(--moon);
  border-bottom: 2px solid var(--wood-deep);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}
.site-brand {
  font-family: "Songti SC", "SimSun", serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--moon-bright);
  text-decoration: none;
  border-left: 3px solid var(--ochre);
  padding-left: 0.5rem;
}
.site-brand:hover {
  color: #fff;
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 0.2rem 0.65rem;
  font-size: 0.82rem;
  color: var(--moon);
  background: rgba(217, 226, 232, 0.08);
  border: 1px solid rgba(217, 226, 232, 0.28);
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: #fff;
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  grid-template-areas:
    "media title"
    "media figure"
    "player player"
    "overview overview";
  gap: 0.75rem 1.25rem;
  align-items: start;
  padding: 1.1rem 1rem 1.35rem;
  margin-bottom: 0.85rem;
  background: linear-gradient(160deg, #16283f 0%, #1f3a5f 45%, #233c58 100%);
  color: var(--moon);
  border-bottom: 3px solid var(--wood-deep);
  overflow: hidden;
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(154, 106, 60, 0.18), transparent 55%),
    repeating-linear-gradient(90deg, rgba(217, 226, 232, 0.05) 0 1px, transparent 1px 6px);
  pointer-events: none;
}
.hero-media {
  grid-area: media;
  position: relative;
  z-index: 1;
  align-self: start;
  width: 100%;
  border: 1px solid rgba(217, 226, 232, 0.25);
  box-shadow: 0 6px 18px rgba(5, 12, 22, 0.45);
}
.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.04);
}
.hero-figure {
  grid-area: figure;
  position: relative;
  z-index: 1;
  align-self: end;
  max-width: 34rem;
}
.hero-figure-note {
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(217, 226, 232, 0.72);
  padding-left: 0.7rem;
  border-left: 2px solid var(--ochre);
}
.hero-slogan {
  position: absolute;
  top: 1.1rem;
  right: 0.9rem;
  z-index: 2;
  writing-mode: vertical-rl;
  text-orientation: upright;
  max-height: 78%;
  padding: 0.65rem 0.55rem;
  border-left: 1px solid rgba(217, 226, 232, 0.35);
  background: linear-gradient(180deg, rgba(11, 18, 24, 0.42), rgba(11, 18, 24, 0.08));
  pointer-events: none;
}
.hero-slogan-text {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.35;
  color: var(--moon-bright);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.hero-title-block {
  grid-area: title;
  position: relative;
  z-index: 1;
  align-self: start;
  padding-right: 3.6rem;
}
.movie-title {
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--moon-bright);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.movie-tagline {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(217, 226, 232, 0.85);
  border-top: 1px solid rgba(217, 226, 232, 0.2);
  padding-top: 0.45rem;
}
.player-shell {
  grid-area: player;
  position: relative;
  z-index: 2;
  width: 100%;
  background: #0b1218;
  border: 1px solid rgba(217, 226, 232, 0.22);
  padding: 0.4rem;
  box-shadow: 0 8px 22px rgba(5, 12, 22, 0.5);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 0.4rem 0.15rem 0.15rem;
}
.player-btn {
  appearance: none;
  border: 1px solid rgba(217, 226, 232, 0.3);
  background: rgba(31, 58, 95, 0.55);
  color: var(--moon);
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.32rem 0.55rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: #fff;
}
.player-btn.is-playing {
  background: var(--indigo-mid);
  border-color: var(--moon);
  color: #fff;
}
.player-btn.is-muted {
  background: var(--wood-deep);
  border-color: var(--wood);
  color: var(--moon);
}
.player-btn.is-active {
  background: var(--ochre);
  border-color: var(--ochre);
  color: #fff;
}
.player-btn.is-fullscreen {
  background: var(--indigo-soft);
  border-color: var(--moon-bright);
}
.player-progress {
  flex: 1 1 8rem;
  min-width: 5rem;
  height: 0.35rem;
  accent-color: var(--ochre);
  cursor: pointer;
}
.player-volume {
  flex: 0 1 6rem;
  min-width: 4rem;
  height: 0.35rem;
  accent-color: var(--grey-blue);
  cursor: pointer;
}
.player-speed {
  flex: 0 0 auto;
  font-size: 0.75rem;
  padding: 0.26rem 0.35rem;
  background: rgba(31, 58, 95, 0.55);
  color: var(--moon);
  border: 1px solid rgba(217, 226, 232, 0.3);
  border-radius: 2px;
  cursor: pointer;
}
body.theater-mode {
  background: #0b1218;
}
body.theater-mode .hero-stage {
  box-shadow: 0 0 0 2px var(--ochre) inset;
}
body.lights-off .page-main {
  opacity: 0.92;
}
body.lights-off .comments-section, body.lights-off .timeline-section {
  background: #101a24;
  color: var(--moon);
}
.overview-info {
  grid-area: overview;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr) minmax(0, 0.8fr);
  grid-template-areas:
    "cast synopsis status"
    "details details status";
  gap: 0.75rem 1.25rem;
  align-items: start;
  padding: 0.85rem 0.9rem 0.95rem;
  background: rgba(238, 243, 246, 0.06);
  border: 1px solid rgba(217, 226, 232, 0.2);
  color: var(--moon);
}
.block-heading {
  font-size: 0.88rem;
  color: var(--moon-bright);
  padding-bottom: 0.3rem;
  margin-bottom: 0.45rem;
  border-bottom: 1px solid rgba(217, 226, 232, 0.28);
}
.cast-block {
  grid-area: cast;
}
.synopsis-block {
  grid-area: synopsis;
}
.episode-status-block {
  grid-area: status;
}
.details-block {
  grid-area: details;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  align-items: flex-start;
}
.cast-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.5rem;
  align-items: center;
  row-gap: 0.05rem;
}
.cast-avatar {
  grid-row: 1 / 3;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(238, 243, 246, 0.55), transparent 45%),
    linear-gradient(145deg, var(--indigo-soft), var(--wood-deep));
  border: 1px solid rgba(217, 226, 232, 0.45);
}
.cast-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--moon-bright);
  line-height: 1.25;
}
.cast-role {
  font-size: 0.72rem;
  color: rgba(217, 226, 232, 0.7);
  line-height: 1.25;
}
.synopsis-text {
  font-size: 0.78rem;
  line-height: 1.62;
  color: rgba(217, 226, 232, 0.86);
  text-align: justify;
}
.synopsis-text + .synopsis-text {
  margin-top: 0.4rem;
}
.status-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.3rem 0.6rem;
  align-items: baseline;
}
.status-key {
  font-size: 0.75rem;
  color: rgba(217, 226, 232, 0.65);
}
.status-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--moon-bright);
  font-family: "Songti SC", "SimSun", serif;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.3rem 1rem;
  align-items: baseline;
}
.detail-key {
  font-size: 0.72rem;
  color: rgba(217, 226, 232, 0.6);
  display: inline;
}
.detail-value {
  font-size: 0.78rem;
  color: rgba(238, 243, 246, 0.92);
  display: inline;
  margin-left: 0.35rem;
}
.section-heading {
  font-size: 1rem;
  color: var(--indigo-deep);
  padding-bottom: 0.3rem;
  margin-bottom: 0.65rem;
  border-bottom: 2px solid var(--indigo);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 3.2rem;
  height: 2px;
  background: var(--ochre);
}
.timeline-section {
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.85rem 0.85rem;
  background: var(--paper-deep);
  border: 1px solid var(--line-soft);
}
.timeline-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}
.timeline-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-right: 1px solid var(--line);
  position: relative;
}
.timeline-cell:first-child {
  padding-left: 0;
}
.timeline-cell:last-child {
  border-right: none;
  padding-right: 0;
}
.timeline-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--ochre);
  transform: rotate(45deg);
}
.timeline-cell:first-child::before {
  left: 0;
}
.timeline-timecode {
  font-family: "Songti SC", "SimSun", serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--indigo);
  padding-top: 0.55rem;
}
.timeline-label {
  font-size: 0.74rem;
  line-height: 1.45;
  color: #3a4450;
}
.episodes-section {
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.85rem 0.9rem;
  background: linear-gradient(180deg, #1a2f4a 0%, #16283f 100%);
  color: var(--moon);
  border: 1px solid var(--indigo-deep);
}
.episodes-section .section-heading {
  color: var(--moon-bright);
  border-bottom-color: rgba(217, 226, 232, 0.3);
}
.episodes-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.7fr);
  gap: 0.9rem;
  align-items: start;
}
.episode-list-nav {
  border: 1px solid rgba(217, 226, 232, 0.2);
  background: rgba(11, 18, 24, 0.35);
  padding: 0.3rem;
}
.episode-list {
  display: flex;
  flex-direction: column;
  max-height: 15rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--indigo-soft) transparent;
}
.episode-list::-webkit-scrollbar {
  width: 6px;
}
.episode-list::-webkit-scrollbar-thumb {
  background: var(--indigo-soft);
  border-radius: 3px;
}
.episode-list-item {
  border-bottom: 1px solid rgba(217, 226, 232, 0.1);
}
.episode-list-item:last-child {
  border-bottom: none;
}
a.episode-list-link {
  display: block;
  padding: 0.35rem 0.5rem;
  font-size: 0.78rem;
  color: rgba(217, 226, 232, 0.82);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.episode-list-link:hover {
  background: rgba(154, 106, 60, 0.22);
  border-left-color: var(--ochre);
  color: #fff;
  text-decoration: none;
}
.episode-detail-panel {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.episode-detail {
  border: 1px solid rgba(217, 226, 232, 0.18);
  border-left: 3px solid var(--ochre);
  background: rgba(238, 243, 246, 0.05);
  padding: 0.5rem 0.65rem 0.55rem;
}
.episode-detail-title {
  font-size: 0.86rem;
  color: var(--moon-bright);
  margin-bottom: 0.3rem;
}
.episode-detail-summary {
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(217, 226, 232, 0.82);
  text-align: justify;
}
.episode-detail-duration {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  color: var(--ochre);
  letter-spacing: 0.08em;
}
.comments-section {
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.85rem 0.9rem;
  background: var(--moon-bright);
  border: 1px solid var(--line-soft);
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: start;
}
.comment-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--indigo-soft);
  padding: 0.5rem 0.6rem 0.6rem;
  box-shadow: 0 1px 3px rgba(31, 58, 95, 0.08);
}
.comment-nickname {
  font-family: "Songti SC", "SimSun", serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--indigo);
  padding-bottom: 0.28rem;
  margin-bottom: 0.3rem;
  border-bottom: 1px dashed var(--line-soft);
}
.comment-text {
  font-size: 0.74rem;
  line-height: 1.6;
  color: #38424e;
  text-align: justify;
}
.recommend-region {
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.85rem 0.9rem;
  background: var(--paper-deep);
  border: 1px solid var(--line-soft);
}
.recommend-region-1 {
  background: linear-gradient(180deg, #e9ecec 0%, #e2e5e3 100%);
}
.recommend-region-2 {
  background: linear-gradient(180deg, #ece9e2 0%, #e5e1d7 100%);
}
.recommend-region-3 {
  background: linear-gradient(180deg, #e6eaee 0%, #dde3e7 100%);
}
.recommend-heading {
  font-size: 0.95rem;
  color: var(--indigo-deep);
  padding-bottom: 0.28rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.recommend-heading::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--ochre);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.55rem;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line-soft);
  padding: 0.3rem;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
a.recommend-card:hover {
  background: #fff;
  border-color: var(--ochre);
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--indigo-deep);
  display: block;
}
.recommend-name {
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--indigo-deep);
}
.recommend-blurb {
  font-size: 0.68rem;
  line-height: 1.45;
  color: #5a636d;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: var(--indigo-deep);
  color: rgba(217, 226, 232, 0.78);
  border-top: 3px solid var(--wood-deep);
  padding: 0.85rem 1rem 1rem;
  font-size: 0.74rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 1180px;
  margin: 0 auto 0.45rem;
}
a.footer-link {
  color: var(--moon);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 226, 232, 0.3);
  padding-bottom: 1px;
}
a.footer-link:hover {
  color: #fff;
  border-bottom-color: var(--ochre);
  text-decoration: none;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 0.55rem;
  line-height: 1.6;
  color: rgba(217, 226, 232, 0.55);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(217, 226, 232, 0.15);
}
.friend-links-label {
  font-family: "Songti SC", "SimSun", serif;
  font-weight: 700;
  color: var(--ochre);
  letter-spacing: 0.08em;
}
a.runtime-friend-link {
  color: rgba(217, 226, 232, 0.7);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 980px) {.overview-info {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    grid-template-areas:
      "cast synopsis"
      "status synopsis"
      "details details";
  }
.comment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {html {
    font-size: 14px;
  }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "media"
      "figure"
      "player"
      "overview";
    gap: 0.7rem;
  }
.hero-media {
    max-width: 15rem;
  }
.hero-slogan {
    top: 0.6rem;
    right: 0.5rem;
    max-height: 60%;
  }
.hero-slogan-text {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
  }
.hero-title-block {
    padding-right: 2.6rem;
  }
.movie-title {
    font-size: 1.4rem;
  }
.overview-info {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "cast"
      "synopsis"
      "status"
      "details";
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  }
.timeline-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem 0;
  }
.timeline-cell:nth-child(3n) {
    border-right: none;
  }
.episodes-split {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    max-height: 10rem;
  }
.comment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-row {
    grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  }}
@media (max-width: 460px) {.header-inner {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
.timeline-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-cell {
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
    padding-bottom: 0.4rem;
  }
.comment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 0.3rem;
  }
.player-btn {
    font-size: 0.7rem;
    padding: 0.3rem 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}
