*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  background: #0a0e14;
  color: #e8edf2;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; background: none; border: none; }
video { display: block; }
header {
  background: #0d1219;
  border-bottom: 2px solid #1a2634;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f0f4f8;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 6px 100%);
  background: #1a2634;
  padding: 0.35rem 0.8rem;
}
.site-logo:hover { color: #7ab8e8; }
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
}
.runtime-category {
  color: #6b7b8d;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.3rem;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.runtime-category:hover {
  color: #9fc4e8;
  border-bottom-color: #3a6a8f;
}
main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}
.movie-overview-block {
  background: #0e141c;
  border: 1px solid #1a2733;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  grid-template-areas:
    "poster info"
    "player player";
  gap: 0;
  position: relative;
  overflow: hidden;
}
.movie-overview-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(58, 106, 143, 0.08) 40%, transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(255,255,255,0.015) 12px 13px);
  pointer-events: none;
  z-index: 0;
}
.poster-wrapper {
  grid-area: poster;
  position: relative;
  z-index: 1;
  background: #0a0e14;
}
.main-poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  filter: contrast(1.1) saturate(0.9);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.info-wrapper {
  grid-area: info;
  padding: 1.2rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}
.movie-title {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
  color: #f0f4f8;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  padding-left: 0.5rem;
  border-left: 4px solid #3a6a8f;
}
.tagline {
  color: #7ab8e8;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-left: 0.5rem;
}
.details-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  padding: 0.6rem 0.8rem;
  background: rgba(10, 14, 20, 0.6);
  border-left: 3px solid #1f3a52;
  font-size: 0.8rem;
  color: #9fb0c0;
}
.detail-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}
.detail-label {
  color: #5f7185;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.detail-item:last-child {
  color: #7ab8e8;
  font-weight: 700;
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.25rem 0;
}
.synopsis-line {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #b8c6d4;
  padding-left: 0.75rem;
  border-left: 2px solid #2a3e52;
  position: relative;
}
.synopsis-line::before {
  content: "▸";
  position: absolute;
  left: -0.1rem;
  color: #3a6a8f;
  font-size: 0.7rem;
  top: 0.2rem;
}
.cast-strip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.2rem 0;
}
.cast-label {
  color: #5f7185;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border-right: 2px solid #2a3e52;
  padding-right: 0.3rem;
  height: 4.5rem;
}
.cast-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.3rem;
  scrollbar-width: thin;
  scrollbar-color: #2a3e52 transparent;
}
.cast-card {
  flex: 0 0 auto;
  background: #16202c;
  border: 1px solid #243546;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #d0dce8;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 8px 100%);
  white-space: nowrap;
  transition: background 0.2s;
}
.cast-card:nth-child(even) {
  background: #13202b;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}
.cast-card:hover { background: #1f3a52; }
.episode-status-panel {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #1a2733;
}
.status-total {
  background: #1f3a52;
  color: #c8dcef;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 100%, 5px 100%);
  letter-spacing: 0.08em;
}
.status-current {
  color: #7ab8e8;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(58, 106, 143, 0.2);
  padding: 0.3rem 0.8rem;
  border-left: 3px solid #3a6a8f;
}
.player-container {
  grid-area: player;
  position: relative;
  z-index: 1;
  background: #06090d;
  border-top: 3px solid #1f3a52;
  min-width: 480px;
  width: 100%;
}
.player-container video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #0d141c;
  border-top: 1px solid #1a2733;
  flex-wrap: wrap;
}
.player-controls button {
  background: #16202c;
  border: 1px solid #243546;
  color: #9fb0c0;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 4px 100%);
}
.player-controls button:hover {
  background: #1f3a52;
  color: #e0ecf7;
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 80px;
  height: 4px;
  background: #2a3e52;
  border-radius: 0;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background: #7ab8e8;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  cursor: pointer;
}
.player-controls select {
  background: #16202c;
  border: 1px solid #243546;
  color: #9fb0c0;
  font-size: 0.7rem;
  padding: 0.25rem 0.4rem;
}
.timeline-section {
  margin-top: 2rem;
  padding: 0 0.25rem;
}
.section-heading-arrow {
  font-size: 1.1rem;
  font-weight: 800;
  color: #e0ecf7;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-heading-arrow::before {
  content: "▶";
  font-size: 0.7rem;
  color: #3a6a8f;
}
.section-heading-arrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #2a3e52, transparent);
}
.timeline-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 0.8rem;
  scrollbar-width: thin;
  scrollbar-color: #2a3e52 transparent;
}
.timeline-node {
  flex: 0 0 auto;
  min-width: 140px;
  background: #0e141c;
  border: 1px solid #1a2733;
  border-top: 3px solid #3a6a8f;
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -6px;
  width: 14px;
  height: 14px;
  background: #3a6a8f;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: rotate(45deg);
}
.timeline-code {
  color: #7ab8e8;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  background: #1f3a52;
  display: inline-block;
  padding: 0.2rem 0.5rem;
  align-self: flex-start;
}
.timeline-label {
  color: #d0dce8;
  font-size: 0.8rem;
  font-weight: 600;
}
.episodes-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  align-items: start;
}
.episodes-grid > .section-heading-arrow {
  grid-column: 1 / -1;
}
.episode-card {
  background: #0e141c;
  border: 1px solid #1a2733;
  border-left: 3px solid #3a6a8f;
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem;
  transition: transform 0.2s, border-left-color 0.2s;
}
.episode-card:nth-child(even) {
  border-left-color: #5a7d99;
  margin-top: 1rem;
}
.episode-card:nth-child(odd) {
  transform: translateX(0.4rem);
}
.episode-card:hover {
  transform: translateX(0);
  border-left-color: #7ab8e8;
}
.episode-number {
  flex: 0 0 auto;
  font-size: 1.4rem;
  font-weight: 900;
  color: #3a6a8f;
  line-height: 1;
  padding-top: 0.2rem;
  font-family: "Courier New", monospace;
  letter-spacing: -0.05em;
}
.episode-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.episode-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e0ecf7;
  letter-spacing: 0.03em;
}
.episode-summary {
  font-size: 0.78rem;
  color: #8a9bb0;
  line-height: 1.5;
}
.episode-duration {
  font-size: 0.7rem;
  color: #5f7185;
  font-family: "Courier New", monospace;
  letter-spacing: 0.05em;
  align-self: flex-start;
  border: 1px solid #2a3e52;
  padding: 0.1rem 0.4rem;
}
.comments-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  align-items: start;
}
.comments-grid > .section-heading-arrow {
  grid-column: 1 / -1;
}
.comment-card {
  background: #0e141c;
  border: 1px solid #1a2733;
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 8px 100%);
}
.comment-card:nth-child(even) {
  border-top: 2px solid #2a3e52;
}
.comment-nick {
  font-size: 0.75rem;
  font-weight: 700;
  color: #7ab8e8;
  letter-spacing: 0.08em;
  background: #1a2634;
  display: inline-block;
  padding: 0.15rem 0.5rem;
  align-self: flex-start;
  clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 4px 100%);
}
.comment-text {
  font-size: 0.82rem;
  color: #b8c6d4;
  line-height: 1.55;
}
.recommendation-region {
  margin-top: 2rem;
}
.recommendation-row {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding: 0.3rem 0 0.8rem;
  scrollbar-width: thin;
  scrollbar-color: #2a3e52 transparent;
}
.rec-card {
  flex: 0 0 auto;
  width: 200px;
  background: #0e141c;
  border: 1px solid #1a2733;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.rec-card:hover {
  border-color: #3a6a8f;
  transform: translateY(-2px);
}
.rec-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #1a2634;
}
.rec-card span[data-runtime="name"] {
  font-size: 0.85rem;
  font-weight: 700;
  color: #d0dce8;
  padding: 0.5rem 0.6rem 0.2rem;
  line-height: 1.3;
  flex-shrink: 0;
}
.rec-card span[data-runtime="blurb"] {
  font-size: 0.72rem;
  color: #7a8ba0;
  padding: 0 0.6rem 0.7rem;
  line-height: 1.4;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
footer {
  margin-top: 3rem;
  background: #0d1219;
  border-top: 2px solid #1a2634;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.2rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.disclaimer {
  font-size: 0.72rem;
  color: #5f7185;
  line-height: 1.6;
  border-left: 3px solid #2a3e52;
  padding-left: 0.7rem;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.8rem;
  align-items: center;
  font-size: 0.75rem;
}
.friend-label {
  color: #5f7185;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.runtime-friend-link {
  color: #8a9bb0;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.15rem 0.4rem;
  border: 1px solid #1a2733;
  background: #0e141c;
}
.runtime-friend-link:hover {
  color: #7ab8e8;
  border-color: #3a6a8f;
}
.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  border-top: 1px solid #1a2733;
  padding-top: 0.8rem;
}
.footer-links a {
  color: #7a8ba0;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #9fc4e8;
}
@media (max-width: 1024px) {.movie-overview-block {
    grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
  }
.movie-title { font-size: 1.35rem; }
.player-container { min-width: 480px; }}
@media (max-width: 768px) {.header-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.categories-bar { justify-content: flex-start; }
.movie-overview-block {
    grid-template-columns: 1fr;
    grid-template-areas:
      "poster"
      "info"
      "player";
  }
.poster-wrapper {
    max-width: 240px;
    margin: 0 auto;
    width: 100%;
  }
.main-poster-img {
    aspect-ratio: 2 / 3;
  }
.info-wrapper {
    padding: 1rem;
  }
.player-container {
    min-width: 480px;
    width: calc(100vw - 2rem);
  }
.episodes-grid {
    grid-template-columns: 1fr;
  }
.episodes-grid > .section-heading-arrow {
    grid-column: 1;
  }
.episode-card:nth-child(even) {
    margin-top: 0;
  }
.episode-card:nth-child(odd) {
    transform: none;
  }
.comments-grid {
    grid-template-columns: 1fr;
  }
.comments-grid > .section-heading-arrow {
    grid-column: 1;
  }
.rec-card {
    width: 180px;
  }}
@media (max-width: 480px) {.player-container {
    min-width: 0;
    width: calc(100vw - 2rem);
  }
.player-controls {
    gap: 0.3rem;
  }
.player-controls button {
    padding: 0.25rem 0.4rem;
    font-size: 0.65rem;
  }
.movie-title {
    font-size: 1.15rem;
  }
.tagline {
    font-size: 0.75rem;
  }
.details-panel {
    font-size: 0.72rem;
    gap: 0.3rem 0.8rem;
  }
.cast-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
.cast-label {
    writing-mode: horizontal-tb;
    transform: none;
    height: auto;
    border-right: none;
    border-bottom: 2px solid #2a3e52;
    padding-right: 0;
    padding-bottom: 0.2rem;
  }
.timeline-node {
    min-width: 120px;
  }
.rec-card {
    width: 160px;
  }
.rec-card span[data-runtime="blurb"] {
    -webkit-line-clamp: 2;
  }}
.player-container.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.theater-mode video {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 60px);
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.theater-mode .player-controls {
  background: rgba(13, 20, 28, 0.9);
  border-top: 1px solid #1a2733;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
body.light-mode {
  background: #e8edf2;
  color: #1a2634;
}
body.light-mode header, body.light-mode footer {
  background: #d0dce8;
  border-color: #b0c0d0;
}
body.light-mode .movie-overview-block, body.light-mode .episode-card, body.light-mode .comment-card, body.light-mode .rec-card, body.light-mode .timeline-node {
  background: #f0f4f8;
  border-color: #c0d0df;
}
body.light-mode .movie-title, body.light-mode .section-heading-arrow, body.light-mode .episode-title {
  color: #1a2634;
}
body.light-mode .tagline, body.light-mode .status-current, body.light-mode .comment-nick, body.light-mode .timeline-code {
  color: #1f3a52;
}
body.light-mode .synopsis-line, body.light-mode .comment-text, body.light-mode .episode-summary {
  color: #3a4a5a;
}
body.light-mode .details-panel, body.light-mode .disclaimer {
  background: rgba(200, 210, 220, 0.4);
  color: #4a5a6a;
}
body.light-mode .detail-label, body.light-mode .friend-label {
  color: #6a7a8a;
}
body.light-mode .episode-duration {
  color: #5a6a7a;
  border-color: #c0d0df;
}
body.light-mode .runtime-friend-link {
  background: #e0e8f0;
  border-color: #c0d0df;
  color: #3a4a5a;
}
body.light-mode .cast-card {
  background: #d0dce8;
  color: #2a3a4a;
}
body.light-mode .player-controls {
  background: #d0dce8;
  border-color: #b0c0d0;
}
body.light-mode .player-controls button {
  background: #e0e8f0;
  border-color: #b0c0d0;
  color: #3a4a5a;
}
body.light-mode .player-controls input[type="range"] {
  background: #b0c0d0;
}
body.light-mode .player-controls input[type="range"]::-webkit-slider-thumb {
  background: #1f3a52;
}
body.light-mode .site-logo {
  background: #b0c0d0;
  color: #1a2634;
}
::selection {
  background: #3a6a8f;
  color: #fff;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0a0e14;
}
::-webkit-scrollbar-thumb {
  background: #2a3e52;
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: #3a6a8f;
}

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}
