*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: #060b1a; 
  color: #e0e8ff;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; background: none; border: none; }
h1, h2, h3 { line-height: 1.2; }
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  background: rgba(6, 11, 26, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(80, 220, 100, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #7dffa0;
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px rgba(125, 255, 160, 0.5);
  white-space: nowrap;
}
.site-logo:hover { color: #b0ffc8; text-decoration: none; }
.categories-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.categories-nav a.runtime-category {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(125, 255, 160, 0.08);
  border: 1px solid rgba(125, 255, 160, 0.3);
  border-radius: 999px;
  font-size: 0.9rem;
  color: #a8f0bc;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
}
.categories-nav a.runtime-category:hover {
  background: rgba(125, 255, 160, 0.2);
  box-shadow: 0 0 10px rgba(125, 255, 160, 0.4);
  color: #eafff0;
  text-decoration: none;
}
.hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem 1.5rem 1.5rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(180, 80, 255, 0.12), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(0, 255, 200, 0.08), transparent 40%),
    #060b1a;
  align-items: start;
}
.hero-poster-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 28px rgba(125, 255, 160, 0.18), 0 8px 30px rgba(0, 0, 0, 0.7);
}
.hero-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.energy-pulse {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(125, 255, 160, 0.4);
  animation: pulse 3s ease-out infinite;
}
.pulse-ring-1 { width: 60%; height: 60%; animation-delay: 0s; }
.pulse-ring-2 { width: 80%; height: 80%; animation-delay: 0.6s; border-color: rgba(180, 100, 255, 0.35); }
.pulse-ring-3 { width: 100%; height: 100%; animation-delay: 1.2s; border-color: rgba(0, 255, 200, 0.25); }
@keyframes pulse {
  0% { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}
.socket-array {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 0.8rem;
  opacity: 0.35;
  pointer-events: none;
}
.socket-cell {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7dffa0, #0a2a1a 70%);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.8), 0 0 6px rgba(125, 255, 160, 0.3);
  border: 1px solid rgba(125, 255, 160, 0.5);
}
.socket-cell-1 { background: radial-gradient(circle at 35% 30%, #ff9d00, #5a2a00 70%); }
.socket-cell-2 { background: radial-gradient(circle at 35% 30%, #00e5ff, #002a3a 70%); }
.socket-cell-3 { background: radial-gradient(circle at 35% 30%, #ff4dff, #3a003a 70%); }
.socket-cell-4 { background: radial-gradient(circle at 35% 30%, #a0ff00, #2a4a00 70%); }
.socket-cell-5 { background: radial-gradient(circle at 35% 30%, #ff6b6b, #4a0000 70%); }
.socket-cell-6 { background: radial-gradient(circle at 35% 30%, #6b6bff, #00004a 70%); }
.socket-cell-7 { background: radial-gradient(circle at 35% 30%, #ffb347, #4a2a00 70%); }
.socket-cell-8 { background: radial-gradient(circle at 35% 30%, #4dff88, #004a1a 70%); }
.movie-info-cluster {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
  background: rgba(16, 24, 48, 0.5);
  border: 1px solid rgba(100, 160, 255, 0.15);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.title-tagline-block { display: flex; flex-direction: column; gap: 0.2rem; }
.movie-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(0, 255, 200, 0.3);
}
.tagline {
  color: #9db8e8;
  font-size: 0.95rem;
  font-style: italic;
}
.synopsis-panel { display: flex; flex-direction: column; gap: 0.4rem; }
.section-subheading {
  font-size: 1rem;
  font-weight: 700;
  color: #7dffa0;
  letter-spacing: 0.06em;
  border-left: 3px solid #b04dff;
  padding-left: 0.6rem;
  margin-bottom: 0.2rem;
}
.synopsis-para {
  font-size: 0.9rem;
  color: #c0cdf0;
  line-height: 1.55;
  text-align: justify;
}
.cast-section { display: flex; flex-direction: column; gap: 0.5rem; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}
.cast-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(125, 255, 160, 0.6);
  box-shadow: 0 0 14px rgba(125, 255, 160, 0.25);
}
.av-1 { background: radial-gradient(circle at 30% 30%, #ff9d00, #7a2a00); }
.av-2 { background: radial-gradient(circle at 30% 30%, #00e5ff, #002a4a); }
.av-3 { background: radial-gradient(circle at 30% 30%, #ff4dff, #4a004a); }
.cast-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e0e8ff;
}
.episode-status-block {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.5rem 0.7rem;
  background: rgba(125, 255, 160, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(125, 255, 160, 0.2);
}
.episode-current-label { font-size: 0.8rem; color: #8fa8d8; }
.episode-current-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: #7dffa0;
}
.episode-total-label { font-size: 0.8rem; color: #8fa8d8; }
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 0.8rem;
}
.detail-item {
  display: flex;
  gap: 0.3rem;
  align-items: baseline;
}
.detail-label {
  font-size: 0.8rem;
  color: #7d8fc0;
  white-space: nowrap;
}
.detail-value {
  font-size: 0.85rem;
  color: #e0e8ff;
  font-weight: 500;
}
.player-shell {
  min-width: 0;
  background: #0a1122;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(100, 200, 255, 0.2);
  box-shadow: 0 0 24px rgba(0, 200, 255, 0.1);
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  background: rgba(10, 17, 34, 0.92);
  border-top: 1px solid rgba(125, 255, 160, 0.2);
}
.player-controls button {
  padding: 0.3rem 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #c0d0f0;
  transition: background 0.2s, color 0.2s;
}
.player-controls button:hover { background: rgba(125, 255, 160, 0.2); color: #7dffa0; }
.player-controls input[type="range"] {
  flex: 1 1 80px;
  accent-color: #7dffa0;
  height: 4px;
  cursor: pointer;
}
.player-controls select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 0.2rem 0.3rem;
  font-size: 0.8rem;
  color: #c0d0f0;
  cursor: pointer;
}
.timeline-section {
  padding: 1.8rem 1.5rem 1.2rem;
  background: linear-gradient(180deg, #060b1a, #0d1330);
}
.cable-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.2rem 0.5rem 0.5rem;
}
.cable-timeline::before {
  content: "";
  position: absolute;
  top: 1.8rem;
  left: 4%;
  right: 4%;
  height: 4px;
  background: linear-gradient(90deg, #7dffa0, #b04dff, #00e5ff, #7dffa0);
  border-radius: 4px;
  opacity: 0.7;
  box-shadow: 0 0 10px rgba(125, 255, 160, 0.4);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  padding-top: 0.5rem;
}
.timeline-node::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #7dffa0, #0a2a1a);
  border: 2px solid #7dffa0;
  box-shadow: 0 0 12px rgba(125, 255, 160, 0.6);
  margin-top: 0.2rem;
}
.timecode {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b04dff;
  letter-spacing: 0.04em;
}
.timeline-label {
  font-size: 0.85rem;
  color: #c0cdf0;
  line-height: 1.4;
  max-width: 220px;
}
.episodes-section {
  padding: 1.2rem 1.5rem 1.5rem;
}
.episodes-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding-top: 0.5rem;
}
.episode-card {
  background: linear-gradient(135deg, rgba(20, 30, 60, 0.8), rgba(10, 18, 40, 0.9));
  border: 1px solid rgba(125, 255, 160, 0.2);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
}
.episode-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 30px;
  background: repeating-linear-gradient(45deg, transparent 0 4px, rgba(125, 255, 160, 0.15) 4px 8px);
  border-top-left-radius: 12px;
}
.episode-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #7dffa0;
  line-height: 1;
  text-shadow: 0 0 10px rgba(125, 255, 160, 0.4);
}
.episode-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.episode-summary {
  font-size: 0.82rem;
  color: #a0b0d8;
  line-height: 1.5;
  flex: 1;
}
.episode-duration {
  font-size: 0.8rem;
  color: #7d8fc0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.4rem;
}
.comments-section {
  padding: 1.2rem 1.5rem 1.5rem;
  background: rgba(10, 17, 34, 0.3);
}
.comment-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding-top: 0.5rem;
}
.comment-card {
  background: #0d1528;
  border: 1px solid rgba(125, 255, 160, 0.2);
  border-radius: 10px;
  padding: 0.9rem 1rem 1.4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.comment-card::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  height: 6px;
  background: repeating-linear-gradient(90deg, #7dffa0 0 4px, transparent 4px 8px);
  opacity: 0.3;
  border-radius: 3px;
}
.comment-nickname {
  font-size: 0.9rem;
  font-weight: 700;
  color: #b04dff;
}
.comment-text {
  font-size: 0.85rem;
  color: #c0cdf0;
  line-height: 1.5;
}
.recommendation-region {
  padding: 1.2rem 1.5rem 1.5rem;
}
.recommendation-region + .recommendation-region {
  padding-top: 0.8rem;
}
.recommendation-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.recommendation-title::before {
  content: "⚡";
  color: #7dffa0;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.8rem;
}
.rec-grid a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: #0d1528;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(125, 255, 160, 0.15);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  padding-bottom: 0.6rem;
}
.rec-grid a[data-runtime="recommendation"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(125, 255, 160, 0.2), 0 0 12px rgba(176, 77, 255, 0.15);
  border-color: rgba(125, 255, 160, 0.4);
}
.rec-grid a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #1a2440;
}
.rec-grid a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e0e8ff;
  padding: 0 0.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-grid a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.78rem;
  color: #8fa8d8;
  padding: 0 0.6rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.footer-shell {
  background: #060b1a;
  border-top: 1px solid rgba(125, 255, 160, 0.2);
  padding: 1.2rem 1.5rem;
}
.footer-contents {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
}
.footer-links a[data-contract="footer-home"], .footer-links a[data-contract="footer-sitemap"] {
  color: #a0b0d8;
  transition: color 0.2s;
}
.footer-links a[data-contract="footer-home"]:hover, .footer-links a[data-contract="footer-sitemap"]:hover {
  color: #7dffa0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.friend-links-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  font-size: 0.85rem;
}
.friend-label {
  color: #7d8fc0;
  font-weight: 600;
}
.friend-links-nav a.runtime-friend-link {
  color: #9db8e8;
  transition: color 0.2s;
  white-space: nowrap;
}
.friend-links-nav a.runtime-friend-link:hover {
  color: #b04dff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.disclaimer-text {
  font-size: 0.78rem;
  color: #5a6a90;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.7rem;
}
body.lights-off {
  background: #01030a;
}
body.lights-off .hero-visual, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .recommendation-region, body.lights-off .footer-shell {
  filter: brightness(0.6) contrast(1.1);
}
body.lights-off .player-shell {
  filter: none;
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.4);
}
.player-shell.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 1000;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  background: #000;
}
.player-shell.theater-mode video {
  flex: 1;
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
.player-shell.theater-mode .player-controls {
  border-top: 1px solid rgba(125, 255, 160, 0.3);
}
@media (max-width: 1100px) {.hero-visual {
    grid-template-columns: 1fr 1fr;
  }
.hero-poster-wrapper {
    grid-row: span 2;
  }
.player-shell {
    grid-column: 2 / -1;
  }
.cable-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
.cable-timeline::before {
    display: none;
  }
.timeline-node:nth-child(even) {
    margin-top: 1.5rem;
  }}
@media (max-width: 760px) {html { font-size: 13px; }
.header-shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
  }
.hero-visual {
    grid-template-columns: 1fr;
    padding: 0.8rem 1rem 1rem;
    gap: 0.8rem;
  }
.hero-poster-wrapper {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    grid-row: auto;
  }
.movie-info-cluster {
    padding: 0.9rem;
  }
.player-shell {
    grid-column: auto;
  }
.cast-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
.cast-avatar {
    width: 60px;
    height: 60px;
  }
.details-grid {
    grid-template-columns: 1fr 1fr;
  }
.episodes-scroll {
    grid-template-columns: 1fr;
  }
.comment-slot-grid {
    grid-template-columns: 1fr;
  }
.rec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.cable-timeline {
    grid-template-columns: 1fr;
    padding-left: 1.5rem;
  }
.cable-timeline::before {
    display: block;
    left: 0.5rem;
    right: auto;
    width: 4px;
    height: 90%;
    top: 5%;
    background: linear-gradient(180deg, #7dffa0, #b04dff, #00e5ff);
  }
.timeline-node {
    align-items: flex-start;
    text-align: left;
    padding-left: 1.2rem;
  }
.timeline-node::before {
    position: absolute;
    left: -0.9rem;
    top: 0.6rem;
  }
.timeline-node:nth-child(even) {
    margin-top: 0;
  }
.timecode, .timeline-label {
    text-align: left;
  }
.footer-links {
    flex-wrap: wrap;
  }
.friend-links-nav {
    gap: 0.3rem 0.6rem;
  }}
@media (max-width: 480px) {.rec-grid {
    grid-template-columns: 1fr;
  }
.details-grid {
    grid-template-columns: 1fr;
  }
.cast-avatar {
    width: 52px;
    height: 52px;
  }
.cast-grid {
    gap: 0.3rem;
  }
.player-controls {
    gap: 0.3rem;
    padding: 0.4rem;
  }
.player-controls input[type="range"] {
    flex-basis: 50px;
  }
.player-controls button {
    padding: 0.25rem 0.35rem;
    font-size: 0.9rem;
  }
.player-controls select {
    font-size: 0.75rem;
    padding: 0.15rem 0.2rem;
  }
.timeline-section, .episodes-section, .comments-section, .recommendation-region {
    padding-left: 1rem;
    padding-right: 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}
