:root {
  --ink-blue: #10161f;
  --ink-blue-2: #161f2c;
  --ink-blue-3: #1d2836;
  --slate: #2a3646;
  --grey-white: #c8cdd4;
  --grey-white-2: #8d959f;
  --grey-dim: #5b626c;
  --dark-red: #8e2b2b;
  --red-pen: #d43a3a;
  --warm-glow: #e8b96a;
  --warm-glow-soft: rgba(232, 185, 106, 0.14);
  --edge: rgba(200, 205, 212, 0.12);
  --edge-strong: rgba(200, 205, 212, 0.22);
  --serif: "Songti SC", "STSong", "SimSun", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", Arial, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--ink-blue);
  background-image:
    radial-gradient(120% 90% at 82% 8%, rgba(232, 185, 106, 0.10) 0%, rgba(232, 185, 106, 0.03) 32%, transparent 62%),
    linear-gradient(180deg, #0c1119 0%, #10161f 40%, #0d131b 100%);
  color: var(--grey-white);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  font-stretch: condensed;
  min-height: 100%;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}
p {
  margin: 0;
}
ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 18px;
  background: rgba(12, 17, 25, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--edge);
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--warm-glow);
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus {
  color: #f2cd86;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
  flex: 1 1 auto;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--grey-white-2);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: rgba(42, 54, 70, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus {
  color: var(--grey-white);
  border-color: var(--edge-strong);
  background: rgba(42, 54, 70, 0.7);
  text-decoration: none;
}
.movie-detail {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px 34px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 14px 0 20px;
  border-bottom: 1px solid var(--edge);
}
.hero-visual {
  position: relative;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.poster-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0a0e14;
  border: 1px solid var(--edge-strong);
  border-radius: 3px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}
.poster-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(6, 9, 14, 0.92) 0%, rgba(6, 9, 14, 0.55) 34%, rgba(6, 9, 14, 0) 58%),
    radial-gradient(85% 70% at 88% 18%, var(--warm-glow-soft) 0%, transparent 60%);
}
.poster-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.86);
}
.hero-tagline {
  position: relative;
  padding: 6px 0 6px 10px;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.6;
  color: var(--grey-white);
  border-left: 2px solid var(--red-pen);
  text-shadow: 0 1px 12px rgba(232, 185, 106, 0.25);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.hero-title {
  font-size: 30px;
  line-height: 1.15;
  color: #eef1f5;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 22px rgba(232, 185, 106, 0.18);
}
.hero-seo {
  font-size: 12px;
  line-height: 1.65;
  color: var(--grey-white-2);
  max-width: 66ch;
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #070a0f;
  border: 1px solid var(--edge-strong);
  border-radius: 3px;
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(22, 31, 44, 0.96), rgba(13, 19, 27, 0.96));
  border-top: 1px solid var(--edge);
}
.player-controls button {
  padding: 3px 9px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--grey-white-2);
  background: rgba(42, 54, 70, 0.45);
  border: 1px solid var(--edge);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.player-controls button:hover, .player-controls button:focus {
  color: var(--grey-white);
  border-color: var(--edge-strong);
  background: rgba(42, 54, 70, 0.85);
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: var(--slate);
  border-radius: 2px;
  cursor: pointer;
  flex: 1 1 90px;
  min-width: 60px;
}
.player-controls input[type="range"][data-player-action="progress"] {
  flex: 3 1 160px;
  background: linear-gradient(90deg, var(--red-pen) 0%, var(--slate) 0%);
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grey-white);
  border: 1px solid #0a0e14;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 1px solid #0a0e14;
  border-radius: 50%;
  background: var(--grey-white);
}
.player-shell.is-theater {
  width: 100%;
  border-color: var(--warm-glow);
  box-shadow: 0 0 0 1px rgba(232, 185, 106, 0.25);
}
.player-shell.is-lights-off video {
  filter: brightness(0.62) contrast(1.08);
}
.player-shell.is-lights-off .player-controls {
  background: #05080c;
}
body.is-lights-off .poster-shell img {
  filter: saturate(0.5) contrast(1.05) brightness(0.6);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 7px 10px;
  background: rgba(29, 40, 54, 0.55);
  border: 1px solid var(--edge);
  border-left: 2px solid var(--red-pen);
  border-radius: 2px;
}
.status-current {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--red-pen);
  letter-spacing: 0.04em;
}
.status-total {
  font-size: 11px;
  color: var(--grey-white-2);
  letter-spacing: 0.05em;
}
.details {
  padding: 10px 0 2px;
  border-top: 1px solid var(--edge);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px 18px;
}
.details-list dt {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--grey-dim);
  text-transform: uppercase;
}
.details-list dd {
  font-size: 12px;
  color: var(--grey-white);
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(200, 205, 212, 0.08);
}
.cast {
  padding-top: 4px;
}
.cast-heading, .synopsis-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommendations-heading {
  position: relative;
  display: inline-block;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #eef1f5;
  padding-left: 10px;
}
.cast-heading::before, .synopsis-heading::before, .timeline-heading::before, .episodes-heading::before, .comments-heading::before, .recommendations-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  background: var(--red-pen);
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px 14px;
  margin-top: 10px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px;
  background: rgba(29, 40, 54, 0.4);
  border: 1px solid var(--edge);
  border-radius: 2px;
  align-self: start;
}
.cast-name {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-white);
  letter-spacing: 0.04em;
}
.cast-relation {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--grey-white-2);
}
.synopsis {
  padding-top: 6px;
  border-top: 1px solid var(--edge);
  margin-top: 4px;
}
.synopsis p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.68;
  color: var(--grey-white-2);
  max-width: 72ch;
}
.synopsis p:first-of-type {
  color: var(--grey-white);
}
.timeline {
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--edge);
}
.timeline-list {
  position: relative;
  margin-top: 12px;
  padding-left: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2px 26px;
  align-items: start;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, var(--red-pen) 0%, rgba(212, 58, 58, 0.35) 78%, transparent 100%);
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 0 6px 14px;
  border-bottom: 1px solid rgba(200, 205, 212, 0.07);
  align-self: start;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-blue);
  border: 1px solid var(--red-pen);
}
.timeline-item:last-child::before {
  background: var(--red-pen);
}
.timeline-timecode {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--red-pen);
  font-weight: 700;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--grey-white);
}
.episodes {
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--edge);
}
.episode-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 240px);
  grid-template-rows: auto;
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.episode-scroller::-webkit-scrollbar {
  height: 6px;
}
.episode-scroller::-webkit-scrollbar-track {
  background: rgba(42, 54, 70, 0.4);
  border-radius: 3px;
}
.episode-scroller::-webkit-scrollbar-thumb {
  background: var(--dark-red);
  border-radius: 3px;
}
.episode-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 10px;
  background: rgba(22, 31, 44, 0.62);
  border: 1px solid var(--edge);
  border-radius: 2px;
  cursor: pointer;
  align-self: start;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.episode-card:hover {
  border-color: var(--edge-strong);
  background: rgba(29, 40, 54, 0.8);
}
.episode-card.is-current {
  background: rgba(142, 43, 43, 0.16);
  border-color: var(--dark-red);
  grid-row: span 1;
}
.episode-number {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--grey-dim);
  font-weight: 700;
}
.episode-card.is-current .episode-number {
  color: var(--red-pen);
}
.episode-title {
  font-size: 13px;
  line-height: 1.4;
  color: var(--grey-white);
  letter-spacing: 0.02em;
}
.episode-summary {
  display: none;
  font-size: 11px;
  line-height: 1.55;
  color: var(--grey-white-2);
}
.episode-duration {
  display: none;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--grey-dim);
}
.episode-card.is-current .episode-summary {
  display: block;
}
.episode-card.is-current .episode-duration {
  display: block;
  color: var(--red-pen);
}
.comments {
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--edge);
}
.comments-columns {
  column-count: 2;
  column-gap: 18px;
  margin-top: 12px;
}
.comment-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  break-inside: avoid;
  margin-bottom: 10px;
  padding: 9px 10px;
  background: rgba(22, 31, 44, 0.55);
  border: 1px solid var(--edge);
  border-radius: 2px;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(232, 185, 106, 0.7) 0%, rgba(232, 185, 106, 0.12) 55%, transparent 70%),
    linear-gradient(140deg, #38465a 0%, #1b2534 100%);
  border: 1px solid var(--edge-strong);
}
.comment-body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.comment-nickname {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--warm-glow);
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--grey-white-2);
  width: 100%;
}
.recommendations {
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--edge);
}
.recommendations:last-of-type {
  border-bottom: none;
}
.recommendations-heading {
  font-size: 14px;
  color: #dfe3e9;
  counter-reset: rec;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 11px;
  align-items: start;
}
a.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: rgba(29, 40, 54, 0.42);
  border: 1px solid var(--edge);
  border-radius: 2px;
  text-decoration: none;
  color: var(--grey-white);
  align-self: start;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
a.recommendation-card:hover, a.recommendation-card:focus {
  border-color: var(--edge-strong);
  background: rgba(42, 54, 70, 0.62);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
  background: #0a0e14;
  filter: saturate(0.7) brightness(0.88);
}
.recommendation-name {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: #eef1f5;
}
.recommendation-blurb {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--grey-white-2);
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 18px 30px;
  border-top: 1px solid var(--edge);
  font-size: 11px;
  color: var(--grey-dim);
}
.site-footer > p {
  line-height: 1.6;
  max-width: 80ch;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-decoration: none;
}
a[data-contract="footer-home"] {
  color: var(--grey-white-2);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus {
  color: var(--grey-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a[data-contract="footer-sitemap"] {
  color: var(--dark-red);
}
a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus {
  color: var(--red-pen);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer nav[data-contract="friend-links"] {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(200, 205, 212, 0.1);
}
.friend-links-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--grey-dim);
  text-transform: uppercase;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--grey-white-2);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus {
  color: var(--warm-glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 16px;
  }
.hero-title {
    font-size: 26px;
  }
.comments-columns {
    column-count: 2;
    column-gap: 14px;
  }}
@media (max-width: 720px) {.movie-detail {
    padding: 12px 14px 28px;
  }
.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.hero-visual {
    max-width: 260px;
  }
.hero-title {
    font-size: 23px;
  }
.hero-seo {
    max-width: none;
  }
.timeline-list {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2px 18px;
  }
.episode-scroller {
    grid-auto-columns: minmax(180px, 210px);
  }
.comments-columns {
    column-count: 1;
  }
.recommendation-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }}
@media (max-width: 480px) {.site-header {
    padding: 7px 12px;
    gap: 10px;
  }
.movie-detail {
    padding: 10px 11px 24px;
  }
.hero-visual {
    max-width: none;
  }
.hero-title {
    font-size: 21px;
  }
.details-list {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 5px 12px;
  }
.cast-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 7px 10px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-scroller {
    grid-auto-columns: minmax(170px, 200px);
  }
.recommendation-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
  }
.site-footer {
    padding: 14px 12px 26px;
  }}

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}
