*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(160deg, #1a0a2e 0%, #2d0b2e 40%, #4a0d2a 100%);
  color: #e6dce8;
  line-height: 1.5;
  min-height: 100vh;
  font-weight: 300;
  letter-spacing: 0.02em;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; cursor: pointer; font: inherit; }
img, video { display: block; max-width: 100%; }
main { position: relative; }
header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1.2rem;
  background: rgba(10, 4, 18, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(120, 80, 160, 0.3);
}
.site-logo {
  font-size: 1.1rem;
  font-weight: 600;
  color: #8be8ff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-left: 3px solid #8be8ff;
  padding-left: 0.6rem;
}
a[data-contract="site-name"] { color: #8be8ff; text-decoration: none; }
a[data-contract="site-name"]:hover { color: #d0f4ff; }
nav[data-contract="categories"] {
  display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.85rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(139, 232, 255, 0.3);
  color: #b9a8c9;
  border-radius: 20px;
  transition: all 0.25s ease;
}
.runtime-category:hover {
  color: #8be8ff;
  border-color: #8be8ff;
  background: rgba(139, 232, 255, 0.08);
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0;
  background: linear-gradient(180deg, #1a0a2e 0%, #3d0a2e 60%, #4a0a2e 100%);
  border-bottom: 1px solid rgba(120, 80, 160, 0.2);
}
.hero-visual {
  position: relative;
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.poster-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 2 / 3;
  margin: 0 auto;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  border: 1px solid rgba(139, 232, 255, 0.2);
  overflow: hidden;
}
.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20, 4, 30, 0.6) 100%);
  pointer-events: none;
}
.player-shell {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid rgba(180, 120, 200, 0.25);
  box-shadow: 0 0 30px rgba(139, 232, 255, 0.15);
}
.player-shell video {
  aspect-ratio: 16 / 9;
  width: 100%;
  display: block;
}
.player-controls {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem 0.2rem;
  background: rgba(10, 4, 20, 0.5);
  border-top: 1px solid rgba(139, 232, 255, 0.15);
  flex-wrap: wrap;
}
.player-controls button {
  font-size: 0.9rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(139, 232, 255, 0.25);
  border-radius: 4px;
  color: #a8d8e8;
  transition: all 0.2s;
  background: rgba(0,0,0,0.2);
}
.player-controls button:hover {
  background: rgba(139, 232, 255, 0.15);
  color: #ffffff;
}
.player-controls .is-muted, .player-controls .is-active, .player-controls .is-dim {
  background: rgba(139, 232, 255, 0.3);
  color: #ffffff;
}
.hero-title-group {
  text-align: center;
  padding: 0.5rem 0 0;
}
.movie-title {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  color: #e8e0f0;
  letter-spacing: 0.12em;
  text-shadow: 0 0 20px rgba(139, 232, 255, 0.2);
}
.tagline {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: #9a8ab0;
  letter-spacing: 0.3em;
}
.movie-info-panel {
  padding: 1.5rem 1.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 1px solid rgba(120, 80, 160, 0.2);
  background: rgba(20, 6, 30, 0.4);
}
.synopsis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.synopsis-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.6rem;
  border-left: 1px solid rgba(139, 232, 255, 0.15);
  background: rgba(255,255,255,0.01);
}
.syn-icon {
  font-size: 1.2rem;
  color: #8be8ff;
  text-shadow: 0 0 12px rgba(139, 232, 255, 0.5);
}
.synopsis-col p {
  font-size: 0.78rem;
  color: #cbb8d8;
  line-height: 1.55;
}
.details-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.detail-chip {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(180, 120, 200, 0.25);
  border-radius: 30px;
  color: #c0a8d0;
  background: rgba(0,0,0,0.15);
  white-space: nowrap;
  font-family: "SFMono-Regular", Consolas, monospace;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.cast-card {
  text-align: center;
  padding: 0.5rem 0.3rem;
  border: 1px solid rgba(139, 232, 255, 0.1);
  border-radius: 6px;
  background: rgba(0,0,0,0.1);
}
.cast-name {
  display: block;
  font-size: 0.9rem;
  color: #e0d0ec;
  font-weight: 400;
}
.cast-role {
  display: block;
  font-size: 0.7rem;
  color: #8a7898;
  margin-top: 0.15rem;
}
.episode-status-line {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.8rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(120, 80, 160, 0.2);
}
.status-current {
  color: #8be8ff;
  font-family: "SFMono-Regular", Consolas, monospace;
}
.status-total {
  color: #a090a8;
  font-family: "SFMono-Regular", Consolas, monospace;
}
.timeline-section {
  padding: 1.5rem 1.2rem;
  border-bottom: 1px solid rgba(120, 80, 160, 0.2);
  background: rgba(10, 4, 20, 0.2);
}
.section-title {
  font-size: 1rem;
  font-weight: 400;
  color: #b8a0c8;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  border-left: 3px solid #8be8ff;
  padding-left: 0.6rem;
}
.timeline-track {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 232, 255, 0.3) transparent;
}
.timeline-node {
  flex: 0 0 auto;
  width: 150px;
  padding: 0.6rem;
  border: 1px solid rgba(139, 232, 255, 0.15);
  border-radius: 8px;
  background: rgba(0,0,0,0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.3s;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  background: #8be8ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #8be8ff;
}
.timecode {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  color: #8be8ff;
}
.label {
  font-size: 0.78rem;
  color: #c0b0d0;
  line-height: 1.3;
}
.episode-list {
  padding: 1.5rem 1.2rem;
  border-bottom: 1px solid rgba(120, 80, 160, 0.2);
}
.episode-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 0.8rem;
}
.episode-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.5rem 0.2rem;
  border-bottom: 1px solid rgba(120, 80, 160, 0.1);
}
.ep-number {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  color: #8be8ff;
  min-width: 1.5rem;
  text-align: right;
  padding-top: 0.2rem;
}
.ep-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.ep-title {
  font-size: 0.9rem;
  color: #d8c8e8;
  font-weight: 400;
}
.ep-summary {
  font-size: 0.75rem;
  color: #8a7898;
  line-height: 1.4;
}
.ep-duration {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  color: #6a5a78;
  white-space: nowrap;
  padding-top: 0.2rem;
}
.comments-horizontal {
  padding: 1.5rem 1.2rem;
  border-bottom: 1px solid rgba(120, 80, 160, 0.2);
  background: rgba(10, 4, 20, 0.2);
}
.comments-scroll {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 232, 255, 0.3) transparent;
}
.comment-card {
  flex: 0 0 auto;
  width: 220px;
  padding: 0.7rem;
  border: 1px solid rgba(139, 232, 255, 0.1);
  border-radius: 8px;
  background: rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.comment-nick {
  font-size: 0.85rem;
  color: #8be8ff;
  font-weight: 400;
}
.comment-text {
  font-size: 0.78rem;
  color: #c0b0d0;
  line-height: 1.4;
}
.recommendation-region {
  padding: 1.5rem 1.2rem;
  border-bottom: 1px solid rgba(120, 80, 160, 0.2);
}
.rec-title {
  font-size: 0.95rem;
  font-weight: 400;
  color: #b8a0c8;
  letter-spacing: 0.2em;
  margin-bottom: 0.8rem;
  border-left: 3px solid #8be8ff;
  padding-left: 0.6rem;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.rec-grid > a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem;
  border: 1px solid rgba(120, 80, 160, 0.2);
  border-radius: 6px;
  background: rgba(0,0,0,0.1);
  transition: border-color 0.2s, transform 0.2s;
  color: #b8a0c8;
}
.rec-grid > a[data-runtime="recommendation"]:hover {
  border-color: #8be8ff;
  transform: translateY(-2px);
}
.rec-grid > a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
}
.rec-grid > a[data-runtime="recommendation"] span[data-runtime="name"] {
  font-size: 0.8rem;
  color: #d8c8e8;
  font-weight: 400;
}
.rec-grid > a[data-runtime="recommendation"] span[data-runtime="blurb"] {
  font-size: 0.7rem;
  color: #8a7898;
  line-height: 1.3;
}
.ending-symbol {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  background: radial-gradient(circle at center, rgba(80, 20, 60, 0.4), #1a0a2e);
  border-bottom: 1px solid rgba(139, 232, 255, 0.1);
}
.ending-mark {
  font-size: 1.1rem;
  letter-spacing: 0.5em;
  color: #8be8ff;
  text-shadow: 0 0 30px rgba(139, 232, 255, 0.4);
}
footer {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(10, 4, 18, 0.9);
  border-top: 1px solid rgba(120, 80, 160, 0.2);
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: #7a6a88;
  text-align: center;
  max-width: 70ch;
  margin: 0 auto;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  justify-content: center;
}
.friend-label {
  font-size: 0.8rem;
  color: #8be8ff;
  font-weight: 400;
}
a.runtime-friend-link {
  font-size: 0.75rem;
  color: #a090a8;
  border-bottom: 1px solid rgba(139, 232, 255, 0.1);
  transition: color 0.2s, border-color 0.2s;
}
a.runtime-friend-link:hover {
  color: #8be8ff;
  border-color: #8be8ff;
}
.footer-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.8rem;
  color: #b8a0c8;
  transition: color 0.2s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #8be8ff;
}
body.theater-mode .player-shell {
  max-width: 100%;
  border-color: #8be8ff;
}
body.lights-off .hero-visual {
  filter: brightness(0.7);
}
body.lights-off .movie-info-panel {
  filter: brightness(0.7);
}
.player .play, .player .progress, .player .volume, .player .mute, .player .speed, .player .pip, .player .fullscreen, .player .theater, .player .light {
  
  font-family: "SFMono-Regular", Consolas, monospace;
}
.x .click {  }
@media (max-width: 1024px) {.hero-shell {
    grid-template-columns: 1fr;
  }
.movie-info-panel {
    border-left: none;
    border-top: 1px solid rgba(120, 80, 160, 0.2);
  }
.synopsis-grid {
    grid-template-columns: 1fr;
  }
.rec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.episode-items {
    grid-template-columns: 1fr;
  }
.cast-grid {
    grid-template-columns: repeat(2, 1fr);
  }}
@media (max-width: 640px) {header {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.5rem;
  }
nav[data-contract="categories"] {
    justify-content: center;
  }
.hero-visual {
    padding: 1rem;
  }
.poster-frame {
    max-width: 260px;
  }
.player-shell {
    max-width: 100%;
  }
.rec-grid {
    grid-template-columns: 1fr 1fr;
  }
.comment-card {
    width: 180px;
  }
.timeline-node {
    width: 120px;
  }
.episode-items {
    grid-template-columns: 1fr;
  }
.cast-grid {
    grid-template-columns: 1fr 1fr;
  }}
@media (max-width: 400px) {.rec-grid {
    grid-template-columns: 1fr;
  }
.cast-grid {
    grid-template-columns: 1fr;
  }
.runtime-category {
    font-size: 0.75rem;
  }
.details-chip-row {
    gap: 0.25rem;
  }
.detail-chip {
    font-size: 0.65rem;
  }
.movie-title {
    font-size: 1.1rem;
  }}

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}
