:root {
  --ink: #10151c;
  --ink-2: #161d26;
  --ink-3: #1d2731;
  --wood: #7a5a38;
  --wood-2: #a97c4a;
  --amber: #d7a45e;
  --amber-soft: #e8c48d;
  --snow: #eef2f6;
  --snow-2: #cdd7e1;
  --grey-blue: #6f8296;
  --grey-blue-2: #47586b;
  --line: rgba(215, 164, 94, 0.28);
  --line-cool: rgba(160, 180, 200, 0.18);
  --stamp: #b3482f;
  --paper: #ece4d6;
  --font-song: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
  --gutter: 14px;
  --radius: 2px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(120, 145, 170, 0.20), transparent 62%),
    radial-gradient(900px 600px at 8% 4%, rgba(169, 124, 74, 0.13), transparent 60%),
    linear-gradient(180deg, #0d1218 0%, #10161e 34%, #0c1117 100%);
  color: var(--snow);
  font-family: var(--font-song);
  font-size: 14px;
  line-height: 1.62;
  letter-spacing: -0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(11, 15, 21, 0.96), rgba(11, 15, 21, 0.82));
  border-bottom: 1px solid var(--line-cool);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter);
  flex-wrap: wrap;
  padding: 8px 18px;
  max-width: 1320px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--amber-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  padding-left: 12px;
  border-left: 2px solid var(--stamp);
}
a[data-contract="site-name"]:hover {
  color: var(--snow);
}
.category-nav {
  min-width: 0;
}
.category-slot-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  color: var(--snow-2);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 18px 8px;
  display: block;
}
.movie-overview {
  border: 1px solid var(--line-cool);
  border-top: 2px solid var(--wood);
  background:
    linear-gradient(180deg, rgba(29, 39, 49, 0.72), rgba(16, 21, 28, 0.72));
  padding: 14px;
  margin-bottom: 16px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.poster-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
  min-width: 0;
}
.poster-frame {
  position: relative;
  border: 1px solid var(--line);
  background: #05080c;
  padding: 3px;
}
.poster-frame::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 22px;
  height: 22px;
  border-right: 1px solid var(--wood-2);
  border-bottom: 1px solid var(--wood-2);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}
.poster-caption-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 8px;
  border-left: 2px solid var(--grey-blue-2);
}
.poster-caption-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--snow);
}
.poster-caption-note {
  font-size: 11px;
  color: var(--grey-blue);
  letter-spacing: 0.04em;
}
.overview-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.title-block {
  border-bottom: 1px solid var(--line-cool);
  padding-bottom: 8px;
}
.movie-title {
  font-size: 26px;
  color: var(--snow);
  letter-spacing: 0.02em;
}
.movie-tagline {
  margin-top: 4px;
  font-size: 13px;
  color: var(--amber-soft);
  letter-spacing: 0.03em;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line-cool);
  background: #05080c;
  padding: 3px;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 4px 4px;
  border-top: 1px solid var(--line-cool);
  margin-top: 4px;
}
.ctrl {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-cool);
  color: var(--snow-2);
  border-radius: var(--radius);
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ctrl:hover {
  border-color: var(--wood-2);
  color: var(--snow);
}
.ctrl.is-active, .ctrl.play.is-active, .ctrl.mute.is-active, .ctrl.pip.is-active, .ctrl.fullscreen.is-active, .ctrl.theater.is-active, .ctrl.light.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}
.ctrl-progress {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 160px;
  min-width: 120px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: linear-gradient(90deg, var(--amber), var(--grey-blue-2));
  cursor: pointer;
}
.ctrl-volume {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 1 90px;
  width: 90px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: var(--grey-blue-2);
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--snow);
  border: 1px solid var(--ink);
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--snow);
  border: 1px solid var(--ink);
}
.ctrl-speed {
  padding: 3px 6px;
}
.ctrl-speed option {
  background: var(--ink-2);
  color: var(--snow);
}
.player-shell.theater-mode {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(215, 164, 94, 0.35), 0 18px 40px rgba(0, 0, 0, 0.55);
}
.player-shell.fullscreen {
  background: #000;
}
body.lights-off .movie-overview, body.lights-off .site-header, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .rec-region, body.lights-off .site-footer {
  opacity: 0.28;
  transition: opacity 0.25s ease;
}
body.lights-off .player-shell {
  opacity: 1;
}
.cast-block {
  border-top: 1px solid var(--line-cool);
  padding-top: 10px;
}
.cast-heading, .synopsis-heading, .status-heading, .details-heading {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 2px solid var(--stamp);
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}
.cast-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  align-self: start;
}
.cast-avatar {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--wood-2);
  background:
    radial-gradient(circle at 34% 30%, rgba(238, 242, 246, 0.5), transparent 55%),
    linear-gradient(140deg, var(--grey-blue-2), #1a2229);
  box-shadow: inset 0 0 0 3px rgba(16, 21, 28, 0.8);
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--snow);
  letter-spacing: 0.05em;
}
.cast-role {
  font-size: 11px;
  color: var(--grey-blue);
  letter-spacing: 0.02em;
}
.synopsis-block {
  border-top: 1px solid var(--line-cool);
  padding-top: 10px;
}
.synopsis-flow {
  columns: 2;
  column-gap: 20px;
  column-rule: 1px solid var(--line-cool);
}
.synopsis-paragraph {
  font-size: 13px;
  color: var(--snow-2);
  line-height: 1.78;
  margin-bottom: 8px;
  break-inside: avoid;
  padding-left: 8px;
  border-left: 1px solid transparent;
}
.synopsis-paragraph:first-child {
  color: var(--snow);
}
.episode-status-block, .details-block {
  border-top: 1px solid var(--line-cool);
  padding-top: 10px;
}
.status-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
}
.status-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 9px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  background: rgba(215, 164, 94, 0.05);
  align-self: start;
}
.status-key {
  font-size: 11px;
  color: var(--grey-blue);
  letter-spacing: 0.08em;
}
.status-value {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--amber-soft);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px 16px;
}
.detail-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(160, 180, 200, 0.14);
}
.detail-key {
  font-size: 11px;
  color: var(--grey-blue);
  letter-spacing: 0.1em;
}
.detail-value {
  font-size: 12.5px;
  color: var(--snow-2);
}
.timeline-section {
  border: 1px solid var(--line-cool);
  border-left: 2px solid var(--wood);
  background: linear-gradient(180deg, rgba(22, 29, 38, 0.7), rgba(13, 18, 24, 0.7));
  padding: 12px 14px 14px;
  margin-bottom: 16px;
}
.timeline-heading, .episodes-heading, .comments-heading {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--snow);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  padding: 7px 9px 7px 6px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  align-self: start;
}
.timeline-stamp {
  grid-row: 1 / span 2;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--stamp);
  box-shadow: inset 0 0 0 3px rgba(16, 21, 28, 0.95), inset 0 0 0 4px rgba(179, 72, 47, 0.6);
  background: radial-gradient(circle, rgba(179, 72, 47, 0.35), transparent 70%);
  margin-top: 2px;
}
.timeline-timecode {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--amber);
}
.timeline-label {
  font-size: 12px;
  color: var(--snow-2);
  line-height: 1.6;
}
.episodes-section {
  border: 1px solid var(--line-cool);
  border-top: 2px solid var(--wood-2);
  background: linear-gradient(180deg, rgba(29, 39, 49, 0.62), rgba(13, 18, 24, 0.7));
  padding: 12px 14px 14px;
  margin-bottom: 16px;
}
.episode-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 11px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
  align-self: start;
}
.episode-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-cool);
}
.episode-number {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--amber);
  white-space: nowrap;
}
.episode-divider {
  flex: 0 0 auto;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--wood-2), transparent);
}
.episode-title {
  font-size: 13.5px;
  color: var(--snow);
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.72;
  color: var(--snow-2);
  flex: 1 1 auto;
}
.episode-card-foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 5px;
  border-top: 1px dashed rgba(160, 180, 200, 0.14);
}
.episode-duration {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-blue);
  letter-spacing: 0.04em;
}
.comments-section {
  border: 1px solid var(--line-cool);
  border-left: 2px solid var(--wood);
  background: linear-gradient(180deg, rgba(22, 29, 38, 0.66), rgba(13, 18, 24, 0.7));
  padding: 12px 14px 14px;
  margin-bottom: 16px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.comments-column-b {
  padding-top: 18px;
}
.comment-letter {
  position: relative;
  padding: 9px 11px 10px;
  background: linear-gradient(180deg, rgba(236, 228, 214, 0.06), rgba(236, 228, 214, 0.015));
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
}
.comment-letter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 12px solid rgba(215, 164, 94, 0.22);
  border-right: 12px solid transparent;
}
.comments-column-a .comment-letter:nth-child(2n) {
  transform: translateX(6px);
}
.comments-column-b .comment-letter:nth-child(2n) {
  transform: translateX(-6px);
}
.comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 5px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-cool);
}
.comment-nickname {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--amber-soft);
  letter-spacing: 0.06em;
}
.comment-stamp {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--stamp);
  opacity: 0.7;
}
.comment-text {
  font-size: 12px;
  line-height: 1.75;
  color: var(--snow-2);
}
.rec-region {
  border: 1px solid var(--line-cool);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(29, 39, 49, 0.5), rgba(13, 18, 24, 0.66));
  padding: 11px 13px 13px;
  margin-bottom: 14px;
}
.rec-region-1 {
  border-top-color: var(--wood-2);
}
.rec-region-2 {
  border-top-color: var(--grey-blue);
}
.rec-region-3 {
  border-top-color: var(--stamp);
}
.rec-heading {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--snow);
  margin-bottom: 9px;
  padding-left: 10px;
  border-left: 2px solid var(--amber);
}
.rec-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 9px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 7px;
  color: var(--snow-2);
  text-decoration: none;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  align-self: start;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.rec-card:hover {
  border-color: var(--amber);
  background: rgba(215, 164, 94, 0.08);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  background: #05080c;
  filter: saturate(0.85) contrast(1.05);
}
.rec-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--snow);
  letter-spacing: 0.03em;
  line-height: 1.45;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.6;
  color: var(--grey-blue);
}
a.rec-card:hover .rec-name {
  color: var(--amber-soft);
}
.site-footer {
  border-top: 1px solid var(--line-cool);
  background: linear-gradient(180deg, rgba(11, 15, 21, 0.9), #080b10);
  padding: 14px 18px 22px;
  margin-top: 6px;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}
.footer-links-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 9px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line-cool);
}
a.footer-link {
  color: var(--snow-2);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
a.footer-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 10px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--wood-2);
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--grey-blue);
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--amber-soft);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: rgba(111, 130, 150, 0.85);
  letter-spacing: 0.02em;
  max-width: 900px;
}
@media (max-width: 900px) {.overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    flex-direction: row;
    align-items: flex-end;
    gap: 12px;
  }
.poster-frame {
    flex: 0 0 auto;
    width: 180px;
    max-width: 42%;
  }
.poster-caption-block {
    padding-bottom: 4px;
  }
.synopsis-flow {
    columns: 1;
  }
.comments-column-b {
    padding-top: 0;
  }
.comments-column-a .comment-letter:nth-child(2n), .comments-column-b .comment-letter:nth-child(2n) {
    transform: none;
  }}
@media (max-width: 640px) {:root {
    --gutter: 10px;
  }
.page-main {
    padding: 10px 10px 4px;
  }
.header-inner {
    padding: 7px 10px;
  }
.movie-overview, .timeline-section, .episodes-section, .comments-section, .rec-region {
    padding: 9px 10px 11px;
  }
.movie-title {
    font-size: 21px;
  }
.poster-column {
    flex-direction: column;
    align-items: stretch;
  }
.poster-frame {
    width: 100%;
    max-width: 100%;
  }
.cast-grid {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-rail {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-rail {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }
.player-controls {
    gap: 5px;
  }
.ctrl {
    padding: 3px 7px;
    font-size: 11.5px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    min-width: 0;
  }}
@media (max-width: 400px) {.rec-rail {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-grid {
    grid-template-columns: minmax(0, 1fr);
  }}

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}
