*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0d1319;
  --steel: #16212b;
  --slate: #1e2c38;
  --edge: #2c3d4c;
  --silver: #e8eef3;
  --frost: #9fb2c2;
  --dim: #6b7f90;
  --blood: #a8232f;
  --blood-bright: #d83442;
  --line: rgba(159, 178, 194, 0.16);
  --gap: 10px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  background-image:
    radial-gradient(circle at 12% -4%, rgba(44, 61, 76, 0.75), transparent 46%),
    linear-gradient(160deg, #0d1319 0%, #101922 52%, #0b1016 100%);
  color: var(--silver);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  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 { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 19, 25, 0.93);
  border-bottom: 1px solid var(--edge);
  backdrop-filter: blur(8px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  color: var(--silver);
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 3px 9px 3px 11px;
  border-left: 3px solid var(--blood-bright);
  background: linear-gradient(90deg, rgba(168, 35, 47, 0.22), transparent 78%);
  white-space: nowrap;
}
.categories-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--frost);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 10px;
  border: 1px solid var(--edge);
  background: rgba(30, 44, 56, 0.6);
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--silver);
  border-color: var(--silver);
  background: rgba(44, 61, 76, 0.85);
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 14px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
h2 {
  font-size: 14px;
  text-transform: none;
  color: var(--silver);
  padding-left: 9px;
  border-left: 3px solid var(--blood);
  margin-bottom: 9px;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  grid-template-areas:
    "poster status"
    "poster details"
    "synopsis details"
    "cast cast";
  gap: var(--gap);
  align-items: start;
  background: linear-gradient(150deg, #16212b 0%, #131d26 60%, #101820 100%);
  border: 1px solid var(--edge);
  border-top: 2px solid var(--blood);
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 58%, rgba(232, 238, 243, 0.05) 58.4%, transparent 59%),
    linear-gradient(115deg, transparent 68%, rgba(168, 35, 47, 0.16) 68.4%, transparent 69%);
  pointer-events: none;
}
.poster-stage {
  grid-area: poster;
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.poster-media {
  align-self: start;
  width: 100%;
  position: relative;
  background: #0a0f14;
  border: 1px solid var(--edge);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}
.poster-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 42%, rgba(11, 16, 22, 0.72) 100%);
  pointer-events: none;
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.12) brightness(0.94);
}
.poster-slogan {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding-top: 2px;
}
.movie-title {
  font-size: clamp(20px, 3.1vw, 30px);
  color: var(--silver);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 700;
  color: var(--blood-bright);
  letter-spacing: 0.06em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--edge);
}
.movie-seo {
  font-size: 12px;
  line-height: 1.72;
  color: var(--frost);
  max-width: 44em;
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 8px 10px;
  background: rgba(30, 44, 56, 0.55);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--blood-bright);
}
.status-progress {
  font-size: 13px;
  font-weight: 800;
  color: var(--silver);
  letter-spacing: 0.05em;
}
.status-current {
  font-size: 12px;
  color: var(--blood-bright);
  font-weight: 700;
  padding: 1px 7px;
  border: 1px solid rgba(216, 52, 66, 0.5);
  background: rgba(168, 35, 47, 0.14);
}
.details-card {
  grid-area: details;
  background: rgba(30, 44, 56, 0.4);
  border: 1px solid var(--edge);
  padding: 9px 10px 10px;
}
.details-heading {
  font-size: 12px;
  color: var(--frost);
  letter-spacing: 0.16em;
  padding-left: 8px;
  border-left: 3px solid var(--blood);
  margin-bottom: 7px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 6px 4px 0;
  border-bottom: 1px dashed rgba(159, 178, 194, 0.14);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.02em;
}
.detail-value {
  font-size: 12px;
  color: var(--silver);
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}
.synopsis-block {
  grid-area: synopsis;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}
.synopsis-heading {
  font-size: 12px;
  color: var(--frost);
  letter-spacing: 0.16em;
  padding-left: 8px;
  border-left: 3px solid var(--blood);
  margin-bottom: 2px;
}
.synopsis-paragraph {
  font-size: 12px;
  line-height: 1.75;
  color: var(--frost);
  max-width: 62em;
}
.synopsis-paragraph:first-of-type { color: #c3d0da; }
.cast-strip {
  grid-area: cast;
  padding-top: 10px;
  border-top: 1px solid var(--edge);
  position: relative;
  z-index: 1;
}
.cast-heading {
  font-size: 12px;
  color: var(--frost);
  letter-spacing: 0.16em;
  padding-left: 8px;
  border-left: 3px solid var(--blood);
  margin-bottom: 9px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px 9px;
  background: rgba(30, 44, 56, 0.42);
  border: 1px solid var(--edge);
  text-align: center;
  transition: border-color 0.16s, background 0.16s;
}
.cast-card:hover {
  border-color: var(--frost);
  background: rgba(44, 61, 76, 0.6);
}
.cast-avatar {
  width: 100%;
  max-width: 74px;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  background:
    radial-gradient(circle at 50% 32%, #4a6076 0%, #26333f 58%, #18222b 100%);
  border: 1px solid var(--edge);
  box-shadow: inset 0 -18px 22px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(168, 35, 47, 0.35) 100%);
}
.cast-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--silver);
}
.cast-role {
  font-size: 11px;
  color: var(--dim);
}
.player-shell {
  width: 100%;
  background: #080c10;
  border: 1px solid var(--edge);
  border-top: 2px solid var(--blood);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.player-shell video {
  background: #000;
  border: 1px solid var(--edge);
  max-width: none;
}
body.lights-off .player-shell video { filter: brightness(0.62); }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.control-button {
  background: rgba(30, 44, 56, 0.72);
  border: 1px solid var(--edge);
  color: var(--frost);
  font-size: 12px;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.control-button:hover, .control-button:focus-visible {
  color: var(--silver);
  border-color: var(--frost);
}
.control-button.is-active {
  color: var(--silver);
  border-color: var(--blood-bright);
  background: rgba(168, 35, 47, 0.32);
}
.control-progress {
  flex: 1 1 180px;
  min-width: 120px;
  height: 5px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--blood-bright) 0%, var(--blood-bright) 0%, #2c3d4c 0%);
  background-color: #2c3d4c;
  border: none;
  cursor: pointer;
}
.control-volume {
  flex: 0 1 110px;
  min-width: 68px;
  height: 5px;
  appearance: none;
  -webkit-appearance: none;
  background: #2c3d4c;
  border: none;
  cursor: pointer;
}
.control-progress::-webkit-slider-thumb, .control-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  background: var(--silver);
  border: 2px solid var(--blood-bright);
  cursor: pointer;
}
.control-progress::-moz-range-thumb, .control-volume::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border-radius: 0;
  background: var(--silver);
  border: 2px solid var(--blood-bright);
  cursor: pointer;
}
body.theater-mode .player-shell {
  border-color: var(--silver);
  box-shadow: 0 0 0 1px rgba(232, 238, 243, 0.2), 0 0 34px rgba(168, 35, 47, 0.28);
}
.timeline-section { width: 100%; }
.timeline-track {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 12px;
  border-bottom: 1px solid var(--edge);
  scrollbar-width: thin;
  scrollbar-color: var(--edge) transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: rgba(30, 44, 56, 0.4); }
.timeline-track::-webkit-scrollbar-thumb { background: var(--edge); }
.timeline-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0;
  min-width: min-content;
  position: relative;
  padding-top: 4px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding: 20px 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--edge);
}
.timeline-node:last-child::before { right: 60%; }
.timeline-diamond {
  position: absolute;
  top: 4px;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--frost);
  transform: rotate(45deg);
  border: 1px solid #0b1016;
  box-shadow: 0 0 0 2px rgba(159, 178, 194, 0.14);
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 800;
  color: var(--silver);
  letter-spacing: 0.06em;
}
.timeline-label {
  font-size: 11px;
  line-height: 1.55;
  color: var(--frost);
  padding-right: 6px;
}
.timeline-node-major { width: 208px; }
.timeline-node-major .timeline-diamond {
  width: 15px;
  height: 15px;
  top: 2px;
  background: var(--blood-bright);
  box-shadow: 0 0 0 3px rgba(168, 35, 47, 0.26);
}
.timeline-node-major .timeline-timecode {
  font-size: 13px;
  color: var(--blood-bright);
}
.timeline-node-major .timeline-label {
  font-size: 12px;
  color: var(--silver);
  font-weight: 700;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  gap: 2px 8px;
  padding: 7px 9px 8px;
  background: rgba(30, 44, 56, 0.42);
  border: 1px solid var(--edge);
  border-left: 3px solid rgba(159, 178, 194, 0.3);
  transition: border-color 0.16s, background 0.16s;
}
.episode-card:hover, .episode-card:focus-within {
  border-color: var(--frost);
  border-left-color: var(--blood-bright);
  background: rgba(44, 61, 76, 0.62);
}
.episode-number {
  grid-area: num;
  font-size: 11px;
  font-weight: 800;
  color: var(--blood-bright);
  letter-spacing: 0.04em;
  padding-top: 1px;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 12px;
  font-weight: 700;
  color: var(--silver);
  overflow-wrap: anywhere;
}
.episode-summary {
  grid-area: sum;
  font-size: 11px;
  line-height: 1.55;
  color: var(--frost);
  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-summary, .episode-card:focus-within .episode-summary {
  max-height: 5.2em;
  opacity: 1;
  margin-top: 3px;
}
.episode-duration {
  grid-area: dur;
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.06em;
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  position: relative;
  padding: 9px 10px 10px;
  background: linear-gradient(160deg, rgba(44, 61, 76, 0.72), rgba(30, 44, 56, 0.6));
  border: 1px solid var(--edge);
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.16s, border-color 0.16s;
}
.comment-card:nth-child(odd) { transform: rotate(-0.7deg); }
.comment-card:nth-child(even) { transform: rotate(0.8deg) translateY(2px); }
.comment-card:nth-child(3n) { transform: rotate(-0.3deg) translateY(-1px); }
.comment-card:hover {
  transform: rotate(0deg) translateY(-2px);
  border-color: var(--frost);
}
.comment-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10px;
  width: 26px;
  height: 3px;
  background: var(--blood);
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--silver);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.comment-text {
  font-size: 11px;
  line-height: 1.65;
  color: var(--frost);
}
.recommendations-region {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.page-main > .recommendations-region {
  margin-top: -10px;
}
.recommendations-heading {
  font-size: 12px;
  color: var(--frost);
  letter-spacing: 0.16em;
  padding-left: 8px;
  border-left: 3px solid var(--blood);
  margin-bottom: 7px;
}
.recommendations-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(122px, 1fr));
  gap: 6px;
  align-content: start;
}
.recommendation-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 5px;
  background: rgba(30, 44, 56, 0.42);
  border: 1px solid var(--edge);
  color: var(--frost);
  text-decoration: none;
  height: 100%;
  transition: border-color 0.16s, background 0.16s;
}
a[data-runtime="recommendation"]:hover, a[data-runtime="recommendation"]:focus-visible {
  border-color: var(--blood-bright);
  background: rgba(44, 61, 76, 0.68);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.08) brightness(0.92);
  border: 1px solid var(--edge);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 11px;
  font-weight: 700;
  color: var(--silver);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 10px;
  line-height: 1.5;
  color: var(--dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--edge);
  background: rgba(11, 16, 22, 0.86);
  padding: 14px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 1320px;
  margin: 0 auto;
}
.disclaimer {
  font-size: 11px;
  line-height: 1.65;
  color: var(--dim);
  max-width: 78em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--frost);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible {
  color: var(--silver);
  border-bottom-color: var(--blood-bright);
}
a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--silver);
  border-bottom-color: var(--frost);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(159, 178, 194, 0.14);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--silver);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--dim);
  text-decoration: none;
  font-size: 11px;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible { color: var(--blood-bright); }
@media (max-width: 980px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "status"
      "synopsis"
      "details"
      "cast";
  }
.details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }}
@media (max-width: 720px) {.page-main { padding: 12px 10px 24px; gap: 16px; }
.poster-stage { grid-template-columns: minmax(0, 1fr); }
.poster-media { max-width: 224px; }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.episode-summary { max-height: 5.2em; opacity: 1; margin-top: 3px; }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comments-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-card:nth-child(n) { transform: none; }
.recommendations-list { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); }}
@media (max-width: 480px) {body { font-size: 12px; }
.header-bar { padding: 7px 10px; gap: 8px; }
.movie-title { font-size: 20px; }
.details-grid { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-stack { grid-template-columns: minmax(0, 1fr); }
.timeline-node { width: 150px; }
.timeline-node-major { width: 184px; }
.player-controls { gap: 5px; }
.control-button { padding: 4px 8px; font-size: 11px; }
.recommendations-list { grid-template-columns: repeat(auto-fill, minmax(96px, 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}
