:root {
  --neon: #cfe3e6;
  --neon-deep: #8fa9ae;
  --cold: #e8eff0;
  --cold-deep: #b9c9cd;
  --slate: #3c4c50;
  --ink: #1e2628;
  --wood: #6b4f38;
  --wood-deep: #3f2e20;
  --amber: #e6a95c;
  --amber-soft: #f0c58a;
  --cream: #f3ece0;
  --paper: #fbf7ef;
  --line: rgba(60, 76, 80, 0.18);
  --radius: 6px;
}
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, figure, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul { list-style: none; }
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #2c3b3f 0%, #35464a 100%);
  border-bottom: 1px solid rgba(207, 227, 230, 0.22);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
.site-brand {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--neon);
}
a[data-contract="site-name"] {
  color: var(--neon);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--neon);
  padding: 3px 9px;
  border: 1px solid rgba(207, 227, 230, 0.4);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
a.runtime-category:hover {
  background: var(--neon);
  color: var(--ink);
  text-decoration: none;
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.section-title {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--wood-deep);
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}
.hero-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 14px;
  padding: 16px 16px 24px;
  background:
    linear-gradient(160deg, #dfeaec 0%, #cfdee1 42%, #c3d4d8 100%);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.42) 0 2px,
      rgba(255, 255, 255, 0) 2px 34px
    );
  opacity: 0.5;
  pointer-events: none;
}
.hero-poster-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 210px;
  justify-self: start;
}
.hero-poster {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(30, 38, 40, 0.24);
  box-shadow: 0 10px 24px rgba(30, 38, 40, 0.28);
  background: #b9c9cd;
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.movie-title {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #172527;
}
.movie-tagline {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: #2f4649;
  letter-spacing: 0.02em;
}
.movie-seo-desc {
  margin-top: 8px;
  max-width: 52ch;
  font-size: 13px;
  line-height: 1.5;
  color: #3c5255;
  padding-left: 10px;
  border-left: 2px solid var(--amber);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.btn-primary, .btn-ghost {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  padding: 7px 16px;
  border-radius: 3px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--neon);
  border: 1px solid var(--ink);
}
.btn-primary:hover {
  background: var(--wood);
  border-color: var(--wood);
  color: var(--cream);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  border: 1px solid rgba(30, 38, 40, 0.45);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--neon);
  border-color: var(--ink);
}
.hero-warm-window {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  width: 132px;
  pointer-events: none;
}
.apartment-window {
  position: relative;
  padding: 5px 5px 4px;
  background: var(--wood-deep);
  border-radius: 3px;
  box-shadow: 0 8px 20px rgba(63, 46, 32, 0.45);
}
.apartment-window::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  box-shadow: inset 0 0 22px rgba(230, 169, 92, 0.55);
  pointer-events: none;
}
.window-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: sepia(0.55) saturate(1.5) hue-rotate(-12deg) brightness(1.06);
  border-radius: 2px;
}
.window-caption {
  margin-top: 3px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--amber-soft);
  text-align: center;
}
.player-shell {
  position: relative;
  width: 100%;
  margin-top: 12px;
  padding: 8px;
  background: #16201f;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(207, 227, 230, 0.14);
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 3px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.ctrl-btn {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  color: var(--neon-deep);
  background: rgba(207, 227, 230, 0.07);
  border: 1px solid rgba(207, 227, 230, 0.24);
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ctrl-btn:hover {
  background: rgba(207, 227, 230, 0.2);
  color: #ffffff;
}
.ctrl-btn.is-active, .ctrl-btn.is-muted {
  background: var(--amber);
  color: var(--wood-deep);
  border-color: var(--amber);
}
.player-shell.is-theater {
  padding: 0;
  border-radius: 0;
}
.player-shell.is-theater .main-player {
  border-radius: 0;
}
.player-shell.is-theater .player-controls {
  padding: 6px 8px 8px;
}
body.lights-off {
  background: #0d1213;
}
body.lights-off .page-main {
  filter: brightness(0.82);
}
body.lights-off .player-shell {
  filter: brightness(1.12);
}
.synopsis-block {
  margin-top: 18px;
}
.synopsis-paragraphs {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid var(--line);
}
.synopsis-p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #33413f;
  margin-bottom: 8px;
  break-inside: avoid;
}
.synopsis-p:first-child::first-letter {
  font-family: "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 30px;
  line-height: 1;
  float: left;
  padding: 3px 5px 0 0;
  color: var(--wood);
}
.details-block {
  margin-top: 18px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 10px;
  background: var(--cream);
}
.detail-key {
  flex: 0 0 auto;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--wood);
}
.detail-value {
  font-size: 13px;
  color: var(--ink);
}
.cast-block {
  margin-top: 18px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cast-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(63, 46, 32, 0.16);
}
.cast-figure {
  display: block;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}
.cast-name {
  display: block;
  padding: 5px 7px 6px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--wood-deep);
  text-align: center;
  border-top: 1px solid var(--line);
}
.episode-status-block {
  margin-top: 18px;
  padding: 10px 12px;
  background: var(--wood-deep);
  border-radius: var(--radius);
  border-left: 3px solid var(--amber);
}
.episode-status-block .section-title {
  color: var(--amber-soft);
  border-bottom-color: rgba(240, 197, 138, 0.3);
}
.status-line {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cream);
}
.status-total, .status-current {
  font-size: 16px;
  font-weight: 700;
  color: var(--amber);
  padding: 0 2px;
}
.timeline-block {
  margin-top: 18px;
}
.filmstrip-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.filmstrip {
  display: flex;
  gap: 6px;
  min-width: 100%;
  width: max-content;
}
.film-cell {
  flex: 0 0 auto;
  width: 168px;
  padding: 8px 9px;
  background: var(--wood-deep);
  border-top: 6px solid #241a12;
  border-bottom: 6px solid #241a12;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.film-cell::before, .film-cell::after {
  content: "";
  display: block;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #e8eff0 0 6px,
    transparent 6px 12px
  );
  opacity: 0.35;
  margin: -8px -9px 6px;
}
.film-cell::after {
  margin: 6px -9px -8px;
}
.film-cell:hover {
  background: var(--wood);
}
.film-cell.is-active {
  background: var(--amber);
}
.film-cell.is-active .film-timecode, .film-cell.is-active .film-label {
  color: var(--wood-deep);
}
.film-timecode {
  display: block;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber);
}
.film-label {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--cream);
}
.episodes-block {
  margin-top: 18px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.episode-row:hover {
  background: #f7f0e2;
}
.episode-row.is-active {
  background: var(--paper);
  border-color: var(--amber);
  box-shadow: inset 3px 0 0 var(--amber);
}
.episode-number {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 30px;
  line-height: 0.9;
  font-weight: 800;
  color: var(--cold-deep);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.04em;
  min-height: 62px;
}
.episode-row.is-active .episode-number {
  color: var(--wood);
}
.episode-body {
  min-width: 0;
}
.episode-title {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.episode-summary {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #445151;
}
.episode-duration {
  display: inline-block;
  margin-top: 5px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--wood);
  padding: 1px 7px;
  border: 1px solid rgba(107, 79, 56, 0.35);
  border-radius: 999px;
}
.comments-block {
  margin-top: 26px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
  padding: 6px 0;
}
.comment-card {
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cold-deep);
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(63, 46, 32, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.comment-card:nth-child(1) { transform: rotate(-1.1deg); }
.comment-card:nth-child(2) { transform: rotate(0.7deg); }
.comment-card:nth-child(3) { transform: rotate(-0.5deg); }
.comment-card:nth-child(4) { transform: rotate(1deg); }
.comment-card:nth-child(5) { transform: rotate(-0.8deg); }
.comment-card:nth-child(6) { transform: rotate(0.6deg); }
.comment-card:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 8px 18px rgba(63, 46, 32, 0.18);
}
.comment-text {
  font-size: 13px;
  line-height: 1.5;
  color: #33413f;
}
.comment-nickname {
  display: block;
  margin-top: 6px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--wood);
}
.comment-nickname::before {
  content: "— ";
  color: var(--amber);
}
.rec-region {
  margin-top: 20px;
}
.rec-title {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--wood-deep);
  text-align: left;
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 3px solid var(--amber);
}
.rec-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.rec-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.rec-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.rec-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.rec-card:hover {
  transform: translateY(-2px);
  border-color: var(--wood);
  box-shadow: 0 8px 18px rgba(63, 46, 32, 0.18);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  background: var(--cold-deep);
}
.rec-name {
  display: block;
  padding: 6px 8px 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.rec-blurb {
  display: block;
  padding: 3px 8px 8px;
  font-size: 11.5px;
  line-height: 1.45;
  color: #566462;
}
.rec-region[data-recommendation-region="1"] .rec-card .rec-pic, .rec-region[data-recommendation-region="1"] .rec-card img {
  filter: saturate(0.92);
}
.rec-region[data-recommendation-region="4"] .rec-card img {
  filter: sepia(0.18) brightness(1.02);
}
.site-footer {
  background: var(--wood-deep);
  color: var(--cream);
  padding: 20px 16px 24px;
}
.site-footer > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(243, 236, 224, 0.7);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(240, 197, 138, 0.22);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 12px 0;
}
.friends-label {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--amber);
}
a.runtime-friend-link {
  font-size: 11.5px;
  white-space: nowrap;
  color: rgba(243, 236, 224, 0.78);
  text-decoration: none;
  border-bottom: 1px dotted rgba(240, 197, 138, 0.45);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  border-color: var(--amber);
  text-decoration: none;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(240, 197, 138, 0.22);
}
.footer-link {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(243, 236, 224, 0.78);
  text-decoration: none;
}
a[data-contract="footer-home"] {
  color: rgba(243, 236, 224, 0.78);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a[data-contract="footer-sitemap"] {
  color: rgba(243, 236, 224, 0.78);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {.hero-banner {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  }
.movie-title { font-size: 26px; }
.cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 680px) {.header-inner { padding: 7px 12px; }
.page-main { padding: 0 12px 32px; }
.hero-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px 14px 90px;
  }
.hero-poster-wrap {
    max-width: 150px;
  }
.movie-title { font-size: 23px; }
.movie-seo-desc { max-width: none; }
.hero-warm-window {
    width: 108px;
    right: 12px;
    bottom: 10px;
  }
.synopsis-paragraphs {
    columns: 1;
    column-rule: none;
  }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.episode-list { grid-template-columns: minmax(0, 1fr); }
.rec-grid-4, .rec-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-list { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 420px) {.movie-title { font-size: 20px; }
.hero-poster-wrap { max-width: 128px; }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid-4, .rec-grid-3 { grid-template-columns: minmax(0, 1fr); }
.ctrl-btn { font-size: 11px; padding: 4px 8px; }
.film-cell { width: 148px; }
.episode-number { font-size: 24px; min-height: 50px; }}

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}
