*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: #0a0e1a;
  color: #e8ecf4;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  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; letter-spacing: 0.005em; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 14, 26, 0.94);
  border-bottom: 1px solid #1c2438;
  backdrop-filter: blur(8px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 8px;
}
.site-brand {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #f3f5fa;
  text-decoration: none;
  border-left: 3px solid #8f1d2a;
  padding-left: 9px;
}
.site-brand:hover { color: #ff6a3d; }
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 10px;
}
.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: #c3cbdc;
  background: #141b2d;
  border: 1px solid #232d45;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.runtime-category:hover {
  color: #ffd9c9;
  background: #3d1119;
  border-color: #8f1d2a;
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px 20px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.block-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff6a3d;
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid #222c42;
  position: relative;
}
.block-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: #8f1d2a;
}
.hero-poster {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  grid-template-areas:
    "media titles"
    "media player"
    "cast cast"
    "synopsis synopsis"
    "status status"
    "details details";
  gap: 14px;
  background: linear-gradient(160deg, #101728 0%, #0c111e 100%);
  border: 1px solid #1e2740;
  border-radius: 3px;
  padding: 14px;
}
.hero-media {
  grid-area: media;
  position: relative;
  align-self: start;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #2a3550, 0 10px 26px rgba(0, 0, 0, 0.55);
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-countdown {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 8px 6px 26px;
  text-align: center;
  background: linear-gradient(180deg, rgba(40, 4, 9, 0.82) 0%, rgba(40, 4, 9, 0) 100%);
  pointer-events: none;
}
.countdown-digits {
  display: inline-block;
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #d8203a;
  text-shadow: 0 0 12px rgba(216, 32, 58, 0.65), 0 2px 4px rgba(0, 0, 0, 0.8);
  font-variant-numeric: tabular-nums;
}
.hero-titles {
  grid-area: titles;
  align-self: start;
  min-width: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #1e2740;
}
.movie-title {
  font-size: clamp(22px, 3.6vw, 34px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #f6f8fc;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #ff6a3d;
  letter-spacing: 0.05em;
}
.movie-seo {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #97a1b8;
}
.player-shell {
  grid-area: player;
  align-self: start;
  width: 100%;
  min-width: 0;
  background: #05070d;
  border: 1px solid #1e2740;
  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: 6px;
  padding: 8px;
  background: #0b101d;
  border-top: 1px solid #1a2236;
}
.pc-btn {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd4e6;
  background: #161e31;
  border: 1px solid #26314c;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.pc-btn:hover { background: #212c46; color: #fff; }
.pc-btn.is-playing, .pc-btn.is-active {
  background: #8f1d2a;
  border-color: #c22a3c;
  color: #ffe6e2;
}
.pc-btn.is-muted { color: #ff8a76; border-color: #6e2230; }
.pc-progress {
  flex: 1 1 140px;
  min-width: 100px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: #26314c;
  border-radius: 2px;
  cursor: pointer;
}
.pc-progress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff6a3d;
  border: none;
}
.pc-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: #ff6a3d;
}
.pc-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: #26314c;
  border-radius: 2px;
  cursor: pointer;
}
.pc-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c3cbdc;
}
.pc-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: #c3cbdc;
}
.player-shell.theater-mode {
  box-shadow: 0 0 0 2px #8f1d2a, 0 16px 44px rgba(0, 0, 0, 0.7);
}
body.lights-off .page-main { background: #05070d; }
body.lights-off .hero-media, body.lights-off .hero-titles, body.lights-off .cast-block, body.lights-off .synopsis-block, body.lights-off .episode-status, body.lights-off .details-block { opacity: 0.35; }
body.lights-off .player-shell { opacity: 1; }
body.lights-off .site-header { background: #05070d; }
.cast-block {
  grid-area: cast;
  min-width: 0;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px 12px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  background: #0e1524;
  border: 1px solid #1b2438;
  border-radius: 2px;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 38px;
  background:
    radial-gradient(circle at 50% 32%, #5a6a8a 0 30%, transparent 31%),
    linear-gradient(160deg, #2b3a5c 0%, #131c30 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: inset 0 0 0 1px #3d4c6e;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: #eef2f9;
  white-space: nowrap;
}
.cast-role {
  font-size: 11px;
  font-weight: 600;
  color: #ffb59a;
  background: #35141b;
  border: 1px solid #6e2230;
  border-radius: 2px;
  padding: 1px 6px;
  white-space: nowrap;
  margin-left: auto;
}
.synopsis-block {
  grid-area: synopsis;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid #1e2740;
}
.synopsis-text {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid #1b2438;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.6;
  color: #b3bccf;
  margin-bottom: 8px;
  break-inside: avoid;
}
.synopsis-para:last-child { margin-bottom: 0; }
.episode-status {
  grid-area: status;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid #1e2740;
}
.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
.status-current {
  font-size: 18px;
  font-weight: 800;
  color: #ff6a3d;
}
.status-total {
  font-size: 13px;
  font-weight: 600;
  color: #8b96ac;
}
.details-block {
  grid-area: details;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid #1e2740;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 4px 20px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted #1b2438;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: #7d879c;
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12.5px;
  font-weight: 600;
  color: #dde3ee;
  text-align: right;
  min-width: 0;
}
.timeline-shell {
  background: #0d1320;
  border: 1px solid #1e2740;
  border-radius: 3px;
  padding: 12px 14px;
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #3a4considered transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: #131c30; }
.timeline-track::-webkit-scrollbar-thumb { background: #35415f; border-radius: 3px; }
.timeline-node {
  flex: 0 0 190px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 10px;
  background: #111a2c;
  border: 1px solid #1f2a42;
  border-top: 2px solid #35415f;
  border-radius: 2px;
  position: relative;
}
.timeline-node.is-active {
  background: #241109;
  border-color: #8f4a1d;
  border-top-color: #ff6a3d;
  box-shadow: 0 0 0 1px rgba(255, 106, 61, 0.35);
}
.node-icon {
  width: 20px;
  height: 20px;
  background: #3a4866;
  clip-path: polygon(8% 0, 92% 0, 100% 24%, 62% 46%, 100% 62%, 88% 100%, 12% 100%, 0 62%, 38% 46%, 0 24%);
  align-self: flex-start;
}
.timeline-node.is-active .node-icon {
  background: #ff6a3d;
  box-shadow: 0 0 10px rgba(255, 106, 61, 0.6);
}
.node-time {
  font-size: 16px;
  font-weight: 800;
  color: #cfd7e6;
  font-variant-numeric: tabular-nums;
}
.timeline-node.is-active .node-time { color: #ffb26b; }
.node-label {
  font-size: 12px;
  line-height: 1.45;
  color: #929db3;
}
.timeline-node.is-active .node-label { color: #ffd9c9; }
.episodes-shell {
  background: #0d1320;
  border: 1px solid #1e2740;
  border-radius: 3px;
  padding: 12px 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title duration"
    "sum sum sum";
  gap: 2px 8px;
  padding: 8px 10px;
  background: #111a2c;
  border: 1px solid #1f2a42;
  border-left: 3px solid #26314c;
  border-radius: 2px;
  transition: background 0.15s, border-color 0.15s;
}
.episode-card:hover {
  background: #16203a;
  border-left-color: #8f1d2a;
}
.episode-card.is-current {
  background: #241109;
  border-color: #8f4a1d;
  border-left-color: #ff6a3d;
}
.ep-num {
  grid-area: num;
  font-size: 15px;
  font-weight: 800;
  color: #5f6d8a;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  min-width: 18px;
}
.episode-card.is-current .ep-num { color: #ff6a3d; }
.ep-title {
  grid-area: title;
  font-size: 14px;
  font-weight: 700;
  color: #e9eef8;
  line-height: 1.3;
  min-width: 0;
}
.ep-duration {
  grid-area: duration;
  font-size: 11px;
  font-weight: 600;
  color: #7d879c;
  align-self: center;
  white-space: nowrap;
}
.ep-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.45;
  color: #9aa5bb;
  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 .ep-summary, .episode-card:focus-within .ep-summary {
  max-height: 120px;
  opacity: 1;
  margin-top: 5px;
}
.comments-shell {
  background: #0d1320;
  border: 1px solid #1e2740;
  border-radius: 3px;
  padding: 12px 14px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  align-items: start;
  padding: 6px 2px;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px;
  background: #f5efdc;
  color: #1b1a16;
  border-radius: 2px;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.45);
  transform: rotate(-1.4deg);
  position: relative;
}
.comment-card:nth-child(2n) { transform: rotate(1.6deg); background: #eef1e2; }
.comment-card:nth-child(3n) { transform: rotate(-2.2deg); background: #f7e9dd; }
.comment-card:nth-child(5n) { transform: rotate(1deg); background: #e8eef5; }
.comment-nick {
  font-size: 12px;
  font-weight: 800;
  color: #8f1d2a;
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: #2b2822;
}
.rec-region {
  background: #0d1320;
  border: 1px solid #1e2740;
  border-radius: 3px;
  padding: 12px 14px;
  min-width: 0;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px 12px;
  align-items: start;
}
.rec-item {
  min-width: 0;
}
.rec-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "thumb thumb"
    "rank name"
    "blurb blurb";
  gap: 5px 8px;
  padding: 8px;
  background: #111a2c;
  border: 1px solid #1f2a42;
  border-radius: 2px;
  color: #c9d2e3;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 0.15s, border-color 0.15s;
}
.rec-link:hover {
  background: #17223a;
  border-color: #8f1d2a;
}
[data-runtime="recommendation"] img {
  grid-area: thumb;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  background: #05070d;
}
.rec-rank {
  grid-area: rank;
  font-size: 34px;
  font-weight: 800;
  line-height: 0.85;
  color: #ff6a3d;
  letter-spacing: -0.03em;
  opacity: 0.92;
  font-variant-numeric: tabular-nums;
  align-self: end;
}
.rec-name {
  grid-area: name;
  font-size: 13px;
  font-weight: 700;
  color: #eef2f9;
  line-height: 1.3;
  align-self: end;
  min-width: 0;
}
.rec-blurb {
  grid-area: blurb;
  font-size: 11.5px;
  line-height: 1.45;
  color: #8b96ac;
}
.site-footer {
  margin-top: 6px;
  padding: 16px;
  background: #080b15;
  border-top: 1px solid #1c2438;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.disclaimer {
  font-size: 11.5px;
  line-height: 1.55;
  color: #6d778c;
  max-width: 760px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-link {
  font-size: 12px;
  font-weight: 600;
  color: #c3cbdc;
  text-decoration: none;
  padding: 3px 10px;
  background: #131a2b;
  border: 1px solid #232d45;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.footer-link:hover {
  color: #ff6a3d;
  border-color: #8f1d2a;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px solid #141b2d;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ff6a3d;
  margin-right: 2px;
}
.runtime-friend-link {
  font-size: 11.5px;
  font-weight: 500;
  color: #7f8aa1;
  text-decoration: none;
  white-space: nowrap;
}
.runtime-friend-link:hover {
  color: #dde3ee;
  text-decoration: underline;
}
@media (max-width: 860px) {.hero-poster {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "titles"
      "player"
      "cast"
      "synopsis"
      "status"
      "details";
  }
.hero-media { max-width: 260px; }
.synopsis-text { columns: 1; }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }}
@media (max-width: 620px) {.page-main { padding: 12px 12px 18px; gap: 12px; }
.header-bar { padding: 9px 12px 7px; }
.categories-shell { padding: 0 12px 9px; }
.hero-poster { padding: 12px; gap: 12px; }
.hero-media { max-width: 210px; }
.episode-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.comment-stack { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.rec-list { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.cast-list { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.detail-value { text-align: left; }
.timeline-node { flex: 0 0 165px; }}
@media (max-width: 420px) {.player-controls { gap: 5px; }
.pc-btn { padding: 4px 8px; font-size: 11px; }
.pc-progress { flex: 1 1 100%; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.rec-list { grid-template-columns: minmax(0, 1fr); }
.countdown-digits { font-size: 24px; }}

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}
