:root {
  --night: #0d1420;
  --night-2: #131d2e;
  --indigo: #16243c;
  --indigo-soft: #1e3050;
  --caramel: #c9722c;
  --caramel-hot: #e8912f;
  --ember: #f4b03e;
  --porcelain: #f2ece3;
  --porcelain-dim: #c9c0b3;
  --line: rgba(201, 114, 44, 0.35);
  --line-soft: rgba(242, 236, 227, 0.14);
  --radius: 6px;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(120% 60% at 78% -10%, rgba(232, 145, 47, 0.16), transparent 62%),
    radial-gradient(90% 50% at 8% 0%, rgba(30, 48, 80, 0.9), transparent 70%),
    var(--night);
  color: var(--porcelain);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-stretch: condensed;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ember);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
ul, ol {
  list-style: none;
}
h1, h2 {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 10px 18px 9px;
  background: linear-gradient(180deg, #0b111b 0%, #101a2b 100%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.site-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
a[data-contract="site-name"] {
  color: var(--caramel-hot);
  text-decoration: none;
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-shadow: 0 0 14px rgba(232, 145, 47, 0.35);
}
a[data-contract="site-name"]:hover {
  color: var(--ember);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-tagline {
  font-size: 11px;
  color: var(--porcelain-dim);
  letter-spacing: 0.18em;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}
a.runtime-category {
  color: var(--porcelain-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 9px 4px;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  background: rgba(30, 48, 80, 0.4);
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
a.runtime-category:hover {
  color: var(--night);
  background: var(--caramel-hot);
  border-color: var(--caramel-hot);
  text-decoration: none;
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 18px 22px;
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
}
.section-heading {
  font-size: 17px;
  color: var(--porcelain);
  padding-left: 11px;
  margin-bottom: 8px;
  position: relative;
  letter-spacing: 0.08em;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ember), var(--caramel));
  box-shadow: 0 0 8px rgba(232, 145, 47, 0.6);
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(22, 36, 60, 0.92), rgba(13, 20, 32, 0.96) 55%),
    var(--night-2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 12px 30px -18px #000;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.poster-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #091019;
  box-shadow: 0 0 22px -6px rgba(232, 145, 47, 0.35);
  align-self: start;
  width: 100%;
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.movie-title {
  font-size: 25px;
  color: var(--porcelain);
  text-shadow: 0 0 18px rgba(232, 145, 47, 0.35);
}
.movie-tagline {
  font-size: 12.5px;
  color: var(--ember);
  letter-spacing: 0.14em;
  border-left: 2px solid var(--caramel);
  padding-left: 8px;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.7;
  color: var(--porcelain-dim);
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 3px;
}
.action-btn {
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: rgba(30, 48, 80, 0.55);
  color: var(--porcelain);
  font-size: 12.5px;
  padding: 6px 14px;
  letter-spacing: 0.06em;
  transition: background 0.16s, color 0.16s, border-color 0.16s, box-shadow 0.16s;
}
.action-btn:hover {
  background: var(--indigo-soft);
  border-color: var(--caramel);
}
.action-play {
  background: linear-gradient(180deg, var(--caramel-hot), var(--caramel));
  border-color: var(--ember);
  color: #17100a;
  font-weight: 700;
}
.action-play:hover {
  background: var(--ember);
  color: #100b06;
  box-shadow: 0 0 16px -3px rgba(244, 176, 62, 0.8);
}
.action-theater, .action-light {
  color: var(--porcelain-dim);
}
.action-theater:hover, .action-light:hover {
  color: var(--porcelain);
}
.player-shell {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #05080d;
}
.player-video {
  width: 100%;
  height: auto;
  background: #05080d;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(19, 29, 46, 0.96), rgba(9, 14, 22, 0.98));
  border-top: 1px solid var(--line-soft);
}
.player-btn {
  cursor: pointer;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid var(--line-soft);
  background: rgba(30, 48, 80, 0.5);
  color: var(--porcelain-dim);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-btn:hover {
  color: var(--ember);
  border-color: var(--caramel);
  background: rgba(30, 48, 80, 0.85);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(242, 236, 227, 0.2);
  cursor: pointer;
  min-width: 70px;
}
.player-progress {
  flex: 1 1 160px;
  min-width: 90px;
}
.player-volume {
  flex: 0 1 88px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ember);
  border: none;
  box-shadow: 0 0 8px rgba(244, 176, 62, 0.85);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--ember);
}
.player-speed {
  font-size: 12px;
  padding: 4px 6px;
  border-radius: 3px;
  border: 1px solid var(--line-soft);
  background: rgba(9, 14, 22, 0.9);
  color: var(--porcelain-dim);
  cursor: pointer;
}
.player-shell.is-playing .player-btn[data-player-action="play"] {
  color: var(--ember);
  border-color: var(--caramel);
}
.player-shell.is-muted .player-btn[data-player-action="mute"] {
  color: #7f8ea6;
  border-color: #33445e;
}
.player-shell.is-dim .player-video {
  filter: brightness(0.55) saturate(0.85);
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--caramel), 0 0 40px -10px rgba(232, 145, 47, 0.6);
}
.player-shell.is-fullscreen {
  border-radius: 0;
}
.player-shell.is-pip .player-btn[data-player-action="pip"], .player-shell.is-speed .player-speed {
  color: var(--ember);
  border-color: var(--caramel);
}
.movie-overview.is-theater .overview-hero {
  grid-template-columns: minmax(0, 1fr);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 8px 11px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(19, 29, 46, 0.6);
}
.status-line {
  font-size: 12.5px;
  color: var(--ember);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.status-meter {
  flex: 1 1 140px;
  min-width: 100px;
}
.meter-track {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(242, 236, 227, 0.12);
  overflow: hidden;
}
.meter-fill {
  display: block;
  width: 75%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--caramel), var(--ember));
  box-shadow: 0 0 10px rgba(244, 176, 62, 0.7);
}
.synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 8px 18px;
  align-items: start;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: var(--porcelain-dim);
  border-left: 2px solid rgba(201, 114, 44, 0.4);
  padding-left: 9px;
}
.cast-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: linear-gradient(170deg, #1b2b46, #0f1727);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
}
.cast-portrait {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 46% at 50% 26%, rgba(244, 176, 62, 0.42), transparent 70%),
    radial-gradient(120% 80% at 50% 120%, rgba(201, 114, 44, 0.5), transparent 60%),
    linear-gradient(180deg, #22334f, #0c1420);
}
.cast-portrait::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 22%;
  width: 42%;
  height: 34%;
  transform: translateX(-50%);
  border-radius: 50% 50% 44% 44%;
  background: rgba(9, 14, 22, 0.45);
  box-shadow: 0 22px 0 -2px rgba(9, 14, 22, 0.4);
}
.cast-name {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 16px 7px 6px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--porcelain);
  background: linear-gradient(180deg, transparent, rgba(5, 8, 13, 0.92) 55%);
  text-shadow: 0 1px 4px #000;
}
.details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 0 16px;
  align-items: start;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(242, 236, 227, 0.1);
  font-size: 12.5px;
}
.detail-key {
  flex: 0 0 auto;
  color: var(--caramel-hot);
  letter-spacing: 0.06em;
}
.detail-val {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--porcelain-dim);
  text-align: right;
}
.timeline-block {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.timeline-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(168px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-color: var(--caramel) rgba(242, 236, 227, 0.08);
  scrollbar-width: thin;
  background:
    repeating-linear-gradient(90deg, rgba(242, 236, 227, 0.07) 0 1px, transparent 1px 12px) bottom / 100% 8px no-repeat;
  align-items: stretch;
}
.timeline-strip::-webkit-scrollbar {
  height: 7px;
}
.timeline-strip::-webkit-scrollbar-track {
  background: rgba(242, 236, 227, 0.08);
  border-radius: 4px;
}
.timeline-strip::-webkit-scrollbar-thumb {
  background: var(--caramel);
  border-radius: 4px;
}
.timeline-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 9px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(22, 36, 60, 0.85), rgba(13, 20, 32, 0.95));
  position: relative;
  min-width: 0;
}
.timeline-card::before, .timeline-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  background: repeating-linear-gradient(90deg, rgba(242, 236, 227, 0.3) 0 4px, transparent 4px 10px);
}
.timeline-card::before {
  top: 0;
}
.timeline-card::after {
  bottom: 0;
}
.timeline-code {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ember);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--porcelain-dim);
}
.episodes-block {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 0 18px;
  align-items: start;
}
.episode-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  gap: 2px 9px;
  padding: 7px 8px;
  border-bottom: 1px solid rgba(242, 236, 227, 0.08);
  border-left: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.episode-row:hover {
  background: rgba(30, 48, 80, 0.45);
}
.episode-row.is-active {
  background: rgba(201, 114, 44, 0.16);
  border-left-color: var(--ember);
}
.episode-number {
  grid-area: num;
  font-size: 12px;
  color: var(--caramel-hot);
  letter-spacing: 0.06em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  color: var(--porcelain);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  grid-area: dur;
  font-size: 11.5px;
  color: #8b9ab1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.55;
  color: var(--porcelain-dim);
}
.comments-block {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.comments-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  align-items: start;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 11px 10px;
  border-radius: 3px 3px 10px 3px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(30, 48, 80, 0.7), rgba(19, 29, 46, 0.85));
  box-shadow: 0 6px 16px -12px #000;
  position: relative;
}
.comment-note::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 14px;
  width: 26px;
  height: 9px;
  background: rgba(232, 145, 47, 0.35);
  border-radius: 1px;
  transform: rotate(-2deg);
}
.comment-left {
  transform: rotate(-0.6deg);
}
.comment-right {
  transform: rotate(0.6deg);
  margin-top: 14px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--porcelain-dim);
}
.comment-author {
  font-size: 11.5px;
  color: var(--caramel-hot);
  letter-spacing: 0.06em;
  align-self: flex-end;
}
.comment-author::before {
  content: "— ";
  color: rgba(242, 236, 227, 0.35);
}
.recommend-region {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  min-width: 0;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(22, 36, 60, 0.7), rgba(13, 20, 32, 0.92));
  overflow: hidden;
  color: var(--porcelain-dim);
  text-decoration: none;
  transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s;
}
a.recommend-item {
  color: var(--porcelain-dim);
  text-decoration: none;
}
a.recommend-item:hover {
  border-color: var(--caramel);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -14px rgba(232, 145, 47, 0.9);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #091019;
  filter: saturate(1.05);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--porcelain);
  padding: 0 7px;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--porcelain-dim);
  padding: 0 7px 8px;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px 22px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 17, 27, 0.6), #080d15);
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.footer-link {
  font-size: 12.5px;
  letter-spacing: 0.06em;
}
a[data-contract="footer-home"] {
  color: var(--caramel-hot);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--ember);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a[data-contract="footer-sitemap"] {
  color: var(--porcelain-dim);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--porcelain);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: rgba(19, 29, 46, 0.5);
}
.friend-label {
  font-size: 11.5px;
  color: var(--caramel-hot);
  letter-spacing: 0.12em;
  padding-right: 6px;
  border-right: 1px solid var(--line-soft);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #93a2b8;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--ember);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: #6f7d92;
  max-width: 92ch;
}
@media (max-width: 900px) {.overview-hero {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 12px;
  }
.movie-title {
    font-size: 21px;
  }
.comments-wall {
    gap: 10px 16px;
  }}
@media (max-width: 720px) {.page-main {
    padding: 12px 12px 18px;
    gap: 12px;
  }
.site-header {
    padding: 9px 12px 8px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-frame {
    max-width: 190px;
  }
.movie-seo {
    max-width: none;
  }
.comments-wall {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-right {
    margin-top: 0;
  }
.comment-left, .comment-right {
    transform: none;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-strip {
    grid-auto-columns: minmax(150px, 78%);
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.site-footer {
    padding: 12px 12px 18px;
  }}
@media (max-width: 460px) {.movie-title {
    font-size: 19px;
  }
.hero-actions {
    gap: 6px;
  }
.action-btn {
    flex: 1 1 auto;
    text-align: center;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-btn {
    padding: 4px 8px;
    font-size: 11.5px;
  }}

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}
