:root {
  --ink: #10151c;
  --ink-2: #161d26;
  --ink-3: #1d262f;
  --slate: #2a343f;
  --slate-2: #3a4550;
  --line: #3d4b58;
  --line-soft: #2c3742;
  --rain: #6f8598;
  --mist: #9fb0bf;
  --paper: #d9e0e6;
  --paper-dim: #aab6c0;
  --lamp: #e8b25a;
  --lamp-deep: #c98a2e;
  --med-red: #8e2f33;
  --med-red-dark: #5e1f23;
  --radius: 2px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(20, 27, 35, 0.92) 0%, rgba(16, 21, 28, 0.97) 55%, rgba(12, 16, 21, 1) 100%),
    repeating-linear-gradient(115deg, rgba(111, 133, 152, 0.045) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(65deg, rgba(111, 133, 152, 0.035) 0 1px, transparent 1px 11px);
  color: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC",
    "WenQuanYi Micro Hei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  font-stretch: condensed;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--lamp);
  text-decoration: none;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, figure {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
button, input, a {
  font: inherit;
  letter-spacing: inherit;
}
.site-header.rain-header {
  position: relative;
  background: linear-gradient(180deg, #0c1117 0%, #121a22 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.site-header.rain-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(101deg, rgba(150, 175, 196, 0.08) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(88deg, rgba(150, 175, 196, 0.05) 0 1px, transparent 1px 9px);
  pointer-events: none;
  mix-blend-mode: screen;
}
.header-bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 14px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 14px;
}
.site-brand, a[data-contract="site-name"] {
  color: var(--lamp);
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: none;
  padding-right: 12px;
  border-right: 2px solid var(--med-red);
}
a[data-contract="site-name"]:hover {
  color: #f6cd82;
}
.category-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 5px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--paper-dim);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(45, 56, 68, 0.45);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--lamp);
  border-color: var(--lamp-deep);
  background: rgba(201, 138, 46, 0.14);
}
.movie-page {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 14px 22px;
}
.panel-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--paper);
  padding: 5px 0 5px 9px;
  margin-bottom: 7px;
  border-left: 3px solid var(--med-red);
  background: linear-gradient(90deg, rgba(142, 47, 51, 0.22) 0%, rgba(142, 47, 51, 0) 62%);
}
.hero-balcony {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr) minmax(0, 210px);
  grid-template-areas:
    "poster info cast"
    "poster synopsis cast"
    "poster status cast"
    "poster details cast";
  align-items: start;
  gap: 14px 18px;
  position: relative;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
}
.hero-poster-col {
  grid-area: poster;
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 190px;
  border: 1px solid var(--line);
  background: #0b0f14;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 8px 10px 26px rgba(0, 0, 0, 0.55);
}
.hero-poster-col::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(8, 12, 17, 0.22) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, rgba(142, 47, 51, 0.16) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.5) 100%);
}
.poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.06) brightness(0.94);
}
.hero-info-col {
  grid-area: info;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.movie-title {
  font-size: clamp(21px, 3.2vw, 33px);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: #eef3f7;
  text-shadow: 0 1px 0 #000, 0 0 22px rgba(232, 178, 90, 0.18);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--lamp);
  padding: 4px 8px;
  border-left: 2px solid var(--lamp-deep);
  background: rgba(201, 138, 46, 0.09);
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
  letter-spacing: 0.015em;
  border-top: 1px solid var(--line-soft);
  padding-top: 7px;
}
.hero-player-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 2px;
  border: 1px solid var(--line);
  background: #05080b;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55);
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  background: linear-gradient(180deg, #1b242e 0%, #12191f 100%);
  border-top: 1px solid var(--line);
}
.player-btn {
  flex: 0 0 auto;
  cursor: pointer;
  color: var(--paper-dim);
  background: #232d37;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  white-space: nowrap;
  transition: color 0.14s, background 0.14s, border-color 0.14s;
}
.player-btn:hover {
  color: var(--lamp);
  border-color: var(--lamp-deep);
  background: #2c3742;
}
.player-btn.is-active {
  color: #12191f;
  background: var(--lamp);
  border-color: var(--lamp-deep);
}
.player-btn.is-playing {
  color: #12191f;
  background: var(--lamp);
}
.player-range {
  flex: 1 1 84px;
  min-width: 70px;
  height: 15px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  accent-color: var(--med-red);
}
.player-range[data-player-action="volume"] {
  flex: 0 1 70px;
  min-width: 52px;
  accent-color: var(--lamp-deep);
}
.hero-player-shell.is-theater {
  border-color: var(--lamp-deep);
  box-shadow: 0 0 0 1px var(--lamp-deep), 0 0 26px rgba(232, 178, 90, 0.22);
}
.hero-player-shell.is-muted .player-btn[data-player-action="mute"] {
  color: #12191f;
  background: var(--med-red);
  border-color: var(--med-red-dark);
}
.cast-panel {
  grid-area: cast;
  min-width: 0;
  align-self: start;
  background: rgba(29, 38, 47, 0.6);
  border: 1px solid var(--line);
  border-top: 2px solid var(--med-red);
  padding: 8px 8px 9px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.cast-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 66px;
  padding: 6px 6px 5px;
  background:
    linear-gradient(180deg, rgba(58, 69, 80, 0.75) 0%, rgba(16, 21, 28, 0.96) 78%),
    repeating-linear-gradient(135deg, rgba(111, 133, 152, 0.09) 0 1px, transparent 1px 6px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.cast-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--lamp-deep), rgba(201, 138, 46, 0));
}
.cast-name {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e7edf2;
  text-shadow: 0 1px 3px #000;
}
.synopsis-panel {
  grid-area: synopsis;
  min-width: 0;
  align-self: start;
  padding-top: 2px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--mist);
  text-align: justify;
}
.synopsis-para:first-child {
  color: var(--paper-dim);
}
.episode-status-panel {
  grid-area: status;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}
.status-line {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lamp);
  background: rgba(201, 138, 46, 0.1);
  border: 1px solid rgba(201, 138, 46, 0.4);
  border-radius: var(--radius);
  padding: 3px 8px;
}
.status-line + .status-line {
  color: #f0d7a6;
  background: rgba(142, 47, 51, 0.24);
  border-color: rgba(142, 47, 51, 0.7);
}
.details-panel {
  grid-area: details;
  min-width: 0;
  align-self: start;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 12px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 3px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rain);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--paper);
  letter-spacing: 0.02em;
}
.days-timeline {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  background: rgba(29, 38, 47, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 10px 12px;
  border-right: 1px solid var(--line-soft);
  border-top: 3px solid var(--slate-2);
  background: linear-gradient(180deg, rgba(42, 52, 63, 0.5) 0%, rgba(16, 21, 28, 0.4) 100%);
}
.timeline-node:last-child {
  border-right: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: repeating-linear-gradient(180deg, rgba(150, 175, 196, 0.22) 0 3px, transparent 3px 9px);
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 1px;
  background: linear-gradient(90deg, var(--med-red-dark), rgba(142, 47, 51, 0));
}
.timeline-node:nth-child(odd) {
  border-top-color: var(--med-red);
}
.timeline-node:nth-child(even) {
  border-top-color: var(--lamp-deep);
}
.node-timecode {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--lamp);
  white-space: nowrap;
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--paper-dim);
}
.episode-panel {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 54px auto;
  grid-template-areas: "num body thumb dur";
  align-items: start;
  gap: 0 9px;
  padding: 7px 8px;
  background: rgba(24, 31, 39, 0.72);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--slate-2);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}
.episode-row:hover {
  background: rgba(32, 41, 51, 0.9);
  border-left-color: var(--med-red);
}
.episode-number {
  grid-area: num;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--lamp);
  white-space: nowrap;
  padding-top: 1px;
  writing-mode: horizontal-tb;
}
.episode-body {
  grid-area: body;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.episode-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #e9eff4;
  line-height: 1.3;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.52;
  color: var(--mist);
}
.episode-thumb {
  grid-area: thumb;
  align-self: start;
  display: block;
  width: 54px;
  height: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0f14;
  font-size: 0;
  color: transparent;
  text-indent: -9999px;
  background-image: linear-gradient(135deg, #3a4550 0%, #10151c 100%);
}
.episode-duration {
  grid-area: dur;
  align-self: start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper-dim);
  white-space: nowrap;
  padding-top: 2px;
}
.comments-panel {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.comments-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--slate-2) transparent;
}
.comments-rail::-webkit-scrollbar {
  height: 6px;
}
.comments-rail::-webkit-scrollbar-track {
  background: rgba(16, 21, 28, 0.7);
}
.comments-rail::-webkit-scrollbar-thumb {
  background: var(--slate-2);
  border-radius: 0;
}
.comment-card {
  scroll-snap-align: start;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 9px 9px;
  background: rgba(29, 38, 47, 0.62);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--slate-2);
  border-radius: var(--radius);
}
.comment-card:nth-child(3n + 1) {
  border-top-color: var(--med-red);
}
.comment-card:nth-child(3n + 2) {
  border-top-color: var(--lamp-deep);
}
.comment-nick {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--lamp);
}
.comment-nick::before {
  content: "◤";
  color: var(--med-red);
  margin-right: 4px;
  font-size: 10px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--paper-dim);
}
.rec-region {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}
.rec-region:last-of-type {
  border-bottom: 0;
}
.rec-grid.rec-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  align-items: start;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 6px;
  background: rgba(24, 31, 39, 0.74);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--paper-dim);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.rec-card:hover {
  border-color: var(--med-red);
  background: rgba(36, 45, 55, 0.95);
}
.rec-card img, [data-runtime="recommendation"] img.rec-thumb, [data-runtime="recommendation"] .rec-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  background: #0b0f14;
  filter: saturate(0.85) brightness(0.92);
}
.rec-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #e6edf3;
  line-height: 1.35;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--mist);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #10161d 0%, #0a0e13 100%);
  padding: 14px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 1240px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #7e8d9b;
  letter-spacing: 0.02em;
  border-left: 2px solid var(--line);
  padding-left: 9px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"], .footer-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.footer-link {
  color: var(--paper-dim);
}
a[data-contract="footer-home"] {
  color: var(--lamp);
}
a[data-contract="footer-sitemap"] {
  color: var(--rain);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover, .footer-link:hover {
  color: #f4d9a0;
  border-bottom-color: var(--lamp-deep);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--med-red);
  background: rgba(142, 47, 51, 0.12);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2px 7px;
  margin-right: 4px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #8b9aa8;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 6px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(29, 38, 47, 0.5);
}
a.runtime-friend-link:hover {
  color: var(--lamp);
  border-color: var(--lamp-deep);
  background: rgba(201, 138, 46, 0.12);
}
.is-lights-off {
  background-color: #05070a;
}
.is-lights-off .hero-poster-col, .is-lights-off .rain-header::after {
  filter: brightness(0.55);
}
.player .play, .player .mute, .player .volume, .player .progress, .player .timeupdate, .player .speed, .player .pip, .player .fullscreen, .player .theater, .player .light {
  cursor: pointer;
}
@media (max-width: 1080px) {.hero-balcony {
    grid-template-columns: minmax(0, 1fr) minmax(0, 220px);
    grid-template-areas:
      "info cast"
      "poster cast"
      "synopsis cast"
      "status cast"
      "details cast";
    gap: 12px 16px;
  }
.hero-poster-col {
    max-width: 170px;
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-node:nth-child(3n) {
    border-right: 0;
  }
.timeline-node:nth-child(n + 4) {
    border-top-color: var(--slate-2);
  }}
@media (max-width: 860px) {.hero-balcony {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "info"
      "synopsis"
      "status"
      "details"
      "cast";
  }
.hero-poster-col {
    max-width: 46%;
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node:nth-child(3n) {
    border-right: 1px solid var(--line-soft);
  }
.timeline-node:nth-child(2n) {
    border-right: 0;
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 640px) {body {
    font-size: 14px;
  }
.header-bar {
    padding: 8px 10px;
  }
.movie-page {
    padding: 0 10px 18px;
  }
.hero-poster-col {
    max-width: 62%;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
.timeline-node:last-child {
    border-bottom: 0;
  }
.rec-grid.rec-grid-3col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-rail {
    grid-auto-columns: minmax(180px, 82%);
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.player-controls {
    gap: 3px;
  }
.player-btn {
    font-size: 10.5px;
    padding: 3px 6px;
  }
.episode-row {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "num body"
      "thumb dur";
    row-gap: 6px;
  }
.episode-thumb {
    width: 100%;
    max-width: 120px;
    height: 72px;
  }
.episode-duration {
    align-self: center;
  }}
@media (max-width: 420px) {.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid.rec-grid-3col {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster-col {
    max-width: 74%;
  }}

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}
