:root {
  --bg-deep: #10151c;
  --bg-panel: #161d27;
  --bg-panel-2: #1b2431;
  --line: #2a3543;
  --line-soft: #212b38;
  --ink: #d7dee7;
  --ink-dim: #8f9cab;
  --ink-faint: #66717f;
  --warm: #e8873f;
  --warm-deep: #c9662a;
  --warm-glow: rgba(232, 135, 63, 0.16);
  --cool: #5b7ea8;
  --radius-sm: 3px;
  --gap: 14px;
  --gap-tight: 10px;
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", "STSong", "SimSun", serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", "DejaVu Sans Mono", "Noto Sans Mono CJK SC", monospace;
  --sans: "Heiti SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--gap-tight);
  padding: 12px 18px;
  background: linear-gradient(180deg, #131a24 0%, #10151c 100%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
a[data-contract="site-name"] {
  color: var(--warm);
  letter-spacing: 0.22em;
  font-size: 17px;
  text-decoration: none;
  font-weight: 500;
}
a[data-contract="site-name"]:hover {
  color: #f4a163;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: #b9c6d4;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: #151d28;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--warm);
  border-color: var(--warm-deep);
  background: #1c2029;
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 18px 22px;
  max-width: 1180px;
  margin: 0 auto;
}
.movie-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 208px) minmax(0, 1fr);
  grid-template-areas:
    "poster hero"
    "poster player"
    "poster cast"
    "synopsis synopsis"
    "status details";
  grid-template-rows: auto auto auto auto auto;
  gap: 14px 18px;
  padding: 16px;
  background:
    radial-gradient(120% 80% at 78% 30%, var(--warm-glow) 0%, rgba(232, 135, 63, 0) 58%),
    linear-gradient(180deg, #171f2a 0%, #141b24 100%);
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--warm) 0%, rgba(232, 135, 63, 0) 70%);
  pointer-events: none;
}
.overview-poster {
  grid-area: poster;
  align-self: start;
  width: 100%;
  border: 1px solid var(--line-soft);
  background: #0d1218;
  box-shadow: 0 0 0 1px rgba(232, 135, 63, 0.07), 0 14px 30px -20px #000;
}
.overview-poster img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.overview-hero {
  grid-area: hero;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 8px;
}
.movie-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0.2em;
  color: #eef3f8;
  text-shadow: 0 0 22px rgba(232, 135, 63, 0.22);
}
.movie-tagline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.32em;
  color: var(--warm);
  padding: 2px 0 10px;
  border-bottom: 1px solid var(--line-soft);
}
.movie-seo {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-dim);
  max-width: 62ch;
}
.overview-player {
  grid-area: player;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #0c1117;
  border: 1px solid var(--line-soft);
  padding: 8px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.overview-player video {
  display: block;
  width: 100%;
  background: #000;
  border: 0;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.player-controls button {
  background: #1a2330;
  border: 1px solid var(--line);
  color: #c2ccd8;
  padding: 4px 9px;
  cursor: pointer;
  border-radius: 0;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.player-controls button:hover {
  border-color: var(--warm-deep);
  color: var(--warm);
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: #2c3745;
  border: 0;
  cursor: pointer;
  flex: 1 1 90px;
  min-width: 70px;
  max-width: 220px;
  border-radius: 0;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--warm);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--warm);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.player-controls select {
  background: #1a2330;
  border: 1px solid var(--line);
  color: #c2ccd8;
  padding: 4px 6px;
  border-radius: 0;
  cursor: pointer;
}
.player-controls .is-muted {
  color: var(--warm-deep);
  border-color: var(--warm-deep);
}
.overview-player.is-theater {
  background: #05080c;
  border-color: var(--warm-deep);
  box-shadow: 0 0 0 1px rgba(232, 135, 63, 0.2), 0 22px 44px -30px #000;
}
.overview-player.is-lights-off {
  background: #000;
  border-color: #131a24;
}
.overview-player.is-lights-off .player-controls {
  opacity: 0.42;
  transition: opacity 0.25s ease;
}
.overview-player.is-lights-off:hover .player-controls {
  opacity: 1;
}
.cast-block {
  grid-area: cast;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
}
.cast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  min-height: 74px;
  padding: 8px 9px;
  background: linear-gradient(180deg, #1d2734 0%, #171f2a 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.cast-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--warm) 0%, rgba(232, 135, 63, 0) 85%);
  opacity: 0.55;
}
.cast-card:hover {
  border-color: var(--warm-deep);
  transform: translateY(-1px);
}
.cast-name {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #e6ecf3;
}
.cast-relation {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--warm);
  opacity: 0.92;
}
.synopsis-block {
  grid-area: synopsis;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-block .section-heading {
  margin-bottom: 2px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.95;
  color: #aab6c4;
  text-align: justify;
}
.synopsis-paragraph + .synopsis-paragraph {
  margin-top: 6px;
}
.synopsis-block .synopsis-paragraph:first-of-type::first-letter {
  font-size: 1.9em;
  line-height: 1;
  color: var(--warm);
  padding-right: 2px;
}
.episode-status {
  grid-area: status;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 12px;
  background: #131b25;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--warm-deep);
}
.episode-status p {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.status-current {
  color: var(--warm);
}
.status-total {
  color: var(--ink-faint);
}
.details-block {
  grid-area: details;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted #26313f;
  min-width: 0;
}
.detail-row dt {
  flex: 0 0 4.6em;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.detail-row dd {
  font-family: var(--mono);
  font-size: 12px;
  color: #cbd5e1;
  min-width: 0;
  word-break: break-word;
}
.section-heading {
  position: relative;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.26em;
  color: #e8eef5;
  padding-left: 14px;
  margin-bottom: 4px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  bottom: 0.32em;
  width: 2px;
  background: var(--warm);
}
.timeline-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.timeline-scroll {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  border-bottom: 1px solid var(--line-soft);
  -webkit-overflow-scrolling: touch;
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: #131a23;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: #2f3c4c;
}
.timeline-node {
  flex: 0 0 148px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: #151d28;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.timeline-node:hover {
  border-color: #3b5878;
  background: #182130;
}
.timeline-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, #23303f 0%, #131a24 60%, #1b2634 100%);
  border: 1px solid #26313f;
  position: relative;
  overflow: hidden;
}
.timeline-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 62% 40%, rgba(232, 135, 63, 0.18) 0%, rgba(232, 135, 63, 0) 70%);
}
.timeline-time {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.timeline-label {
  font-size: 12px;
  line-height: 1.6;
  color: #a9b5c3;
}
.timeline-node-current {
  flex: 0 0 196px;
  border: 1px solid var(--warm);
  background: linear-gradient(180deg, #1e2530 0%, #191f29 100%);
  box-shadow: 0 0 0 1px rgba(232, 135, 63, 0.22), 0 18px 34px -26px #000;
}
.timeline-node-current .timeline-frame {
  border-color: var(--warm-deep);
}
.timeline-node-current .timeline-time {
  color: var(--warm);
}
.timeline-node-current .timeline-label {
  color: #e2e9f1;
}
.episodes-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 11px 10px;
  background: #151d28;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  overflow: hidden;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cool);
  opacity: 0.32;
  transition: background 0.18s ease, opacity 0.18s ease;
}
.episode-card:hover {
  border-color: #3a5474;
  background: #182130;
}
.episode-card:hover::after {
  background: var(--warm);
  opacity: 1;
}
.episode-number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.episode-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #e4eaf2;
  line-height: 1.4;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.7;
  color: #96a3b2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--warm);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.22s ease, margin-top 0.22s ease;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
  max-height: 22px;
  opacity: 1;
  margin-top: 2px;
}
.episode-card-current {
  border-color: var(--warm-deep);
  background: linear-gradient(180deg, #202730 0%, #191f29 100%);
}
.episode-card-current::after {
  background: var(--warm);
  opacity: 1;
}
.episode-card-current .episode-number {
  color: var(--warm);
}
.episode-card-current .episode-duration {
  max-height: 22px;
  opacity: 1;
}
.comments-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.comment-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
  padding-top: 2px;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: #1a222d;
  border: 1px solid var(--line-soft);
  border-top: 2px solid #33414f;
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.comment-note:nth-child(odd) {
  transform: rotate(-0.35deg);
}
.comment-note:nth-child(even) {
  transform: rotate(0.4deg) translateY(6px);
  background: #182029;
}
.comment-note:hover {
  border-top-color: var(--warm);
  background: #1e2732;
  transform: rotate(0deg);
}
.comment-nickname {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--warm);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.75;
  color: #a9b5c4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.recommend-strip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-strip::-webkit-scrollbar {
  height: 5px;
}
.recommend-strip::-webkit-scrollbar-track {
  background: #131a23;
}
.recommend-strip::-webkit-scrollbar-thumb {
  background: #2f3c4c;
}
a.recommend-item {
  flex: 0 0 148px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  background: #151d28;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommend-item:hover {
  border-color: var(--warm-deep);
  background: #1b2431;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #0d1218;
  border: 1px solid #232e3c;
  display: block;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #dfe6ee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  margin-top: 16px;
  background: #0e141b;
  border-top: 1px solid var(--line);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #aeb9c6;
  text-decoration: underline;
  text-decoration-color: #33414f;
  text-underline-offset: 3px;
}
a[data-contract="footer-home"]:hover {
  color: var(--warm);
  text-decoration-color: var(--warm-deep);
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--cool);
  text-decoration-color: var(--cool);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}
a.runtime-friend-link {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #8b98a6;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--warm);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.8;
  color: #5d6875;
  max-width: 92ch;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "hero"
      "poster"
      "player"
      "cast"
      "synopsis"
      "status"
      "details";
    gap: 12px;
  }
.overview-poster {
    max-width: 220px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-wall {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-note:nth-child(odd), .comment-note:nth-child(even), .comment-note:hover {
    transform: none;
  }}
@media (max-width: 620px) {.page-main {
    padding: 12px 12px 18px;
    gap: 14px;
  }
.site-header {
    padding: 10px 12px;
  }
.movie-title {
    font-size: 23px;
    letter-spacing: 0.14em;
  }
.movie-tagline {
    font-size: 13px;
    letter-spacing: 0.22em;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    -webkit-line-clamp: 3;
  }
.episode-duration, .episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
    max-height: 22px;
    opacity: 1;
    margin-top: 2px;
  }
.timeline-node {
    flex-basis: 132px;
  }
.timeline-node-current {
    flex-basis: 168px;
  }
a.recommend-item {
    flex-basis: 136px;
  }
.section-heading {
    font-size: 15px;
    letter-spacing: 0.2em;
  }
.site-footer {
    padding: 14px 12px;
  }}
@media (max-width: 420px) {.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls input[type="range"] {
    flex-basis: 100%;
    max-width: 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}
