*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --deep-blue: #0a192f;
  --dark-blue: #112240;
  --navy: #1d2d50;
  --dark-red: #8b0000;
  --crimson: #dc143c;
  --red-glow: rgba(220, 20, 60, 0.6);
  --blue-glow: rgba(100, 149, 237, 0.6);
  --text-light: #e6e6e6;
  --text-dim: #8892b0;
  --text-faint: #5a6a85;
  --line: #233554;
  --line-bright: #3a4a6b;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--deep-blue);
  background-image: 
    radial-gradient(ellipse at 20% 20%, rgba(100, 149, 237, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(220, 20, 60, 0.06) 0%, transparent 50%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: var(--text-light);
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(10, 25, 47, 0.95);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.brand-link, a[data-contract="site-name"] {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--crimson);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 12px var(--red-glow);
}
.brand-link:hover, a[data-contract="site-name"]:hover {
  color: #ff4d6d;
}
.category-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}
.category-nav::-webkit-scrollbar {
  height: 3px;
}
.category-nav::-webkit-scrollbar-thumb {
  background: var(--line-bright);
}
a.runtime-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  background: rgba(29, 45, 80, 0.5);
  transition: all 0.2s ease;
}
a.runtime-category:hover {
  color: var(--text-light);
  border-color: var(--crimson);
  box-shadow: 0 0 8px var(--red-glow);
}
.main-content {
  flex: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.hero-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 0.5rem;
}
.hero-media {
  position: relative;
  width: 100%;
  max-width: 960px;
}
.player-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  min-width: 480px;
}
.hero-player {
  display: block;
  width: 100%;
  background: #000;
  border-radius: 0.25rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}
.code-rain-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  border-radius: 0.25rem;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 8px,
      rgba(100, 149, 237, 0.15) 8px,
      rgba(100, 149, 237, 0.15) 9px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 16px,
      rgba(220, 20, 60, 0.1) 16px,
      rgba(220, 20, 60, 0.1) 17px
    );
  background-size: 9px 17px;
  mix-blend-mode: screen;
  opacity: 0.4;
}
.code-rain-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(100, 149, 237, 0.2) 50%, transparent 50%),
    linear-gradient(90deg, rgba(220, 20, 60, 0.15) 50%, transparent 50%);
  background-size: 18px 18px;
  animation: rain 3s linear infinite;
}
@keyframes rain {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.player-control-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 2rem;
  background: linear-gradient(135deg, var(--crimson), var(--dark-red));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px var(--red-glow);
  transition: all 0.2s ease;
}
.player-control-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--red-glow);
}
.hero-tagline {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
}
.movie-overview {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  background: var(--dark-blue);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.poster-col {
  padding: 1rem;
  background: var(--navy);
  border-right: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.main-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 0.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  align-self: start;
}
.info-col {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.movie-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.tagline {
  font-size: 0.85rem;
  color: var(--crimson);
  font-style: italic;
  margin-top: -0.5rem;
}
.cast-panel {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}
.section-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--crimson);
}
.cast-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 0.75rem;
  scrollbar-width: thin;
}
.cast-scroll::-webkit-scrollbar {
  height: 3px;
}
.cast-scroll::-webkit-scrollbar-thumb {
  background: var(--line-bright);
}
.cast-card {
  flex: 0 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  padding: 0.5rem 0.25rem;
  background: rgba(29, 45, 80, 0.4);
  border-radius: 0.375rem;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.cast-card:hover {
  border-color: var(--line-bright);
}
.cast-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line-bright);
  transition: border-color 0.2s ease;
}
.cast-card:hover .cast-photo {
  border-color: var(--crimson);
}
.cast-name {
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.synopsis-panel {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}
.synopsis-line {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--line);
}
.synopsis-line:last-child {
  margin-bottom: 0;
}
.episode-status-panel {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}
.status-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.status-item {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 0.35rem 0.75rem;
  background: var(--navy);
  border-radius: 0.25rem;
  border: 1px solid var(--line);
}
.status-item strong {
  color: var(--crimson);
  font-family: "Consolas", "Courier New", monospace;
  font-size: 1rem;
  margin-right: 0.25rem;
}
.details-panel {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}
.detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.detail-list li {
  display: flex;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: "Consolas", "Courier New", monospace;
}
.detail-label {
  flex: 0 0 70px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
}
.timeline-section {
  padding: 0.5rem 0;
}
.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-bright), transparent);
}
.timeline-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0.5rem 0;
}
.timeline-node {
  position: relative;
  flex: 1 1 140px;
  max-width: 180px;
  padding: 0.75rem 0.75rem 0.75rem 1.5rem;
  background: var(--dark-blue);
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  border-left: 3px solid var(--crimson);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: box-shadow 0.2s ease;
}
.timeline-node:hover {
  box-shadow: 0 0 12px var(--red-glow);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 8px var(--red-glow);
}
.timecode {
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.85rem;
  color: var(--crimson);
  font-weight: 600;
}
.node-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.4;
}
.episodes-section {
  padding: 0.5rem 0;
}
.episode-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.episode-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.75rem;
  background: var(--dark-blue);
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  transition: all 0.2s ease;
}
.episode-item:hover {
  border-color: var(--line-bright);
  background: var(--navy);
}
.ep-number {
  flex: 0 0 32px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--crimson);
  text-align: right;
}
.ep-info {
  flex: 1;
  min-width: 0;
}
.ep-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}
.ep-summary {
  font-size: 0.78rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-duration {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-family: "Consolas", "Courier New", monospace;
  color: var(--text-faint);
  padding: 0.2rem 0.5rem;
  background: var(--navy);
  border-radius: 0.25rem;
  border: 1px solid var(--line);
}
.comments-section {
  padding: 0.5rem 0;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.comment-card {
  padding: 0.9rem 1rem;
  background: var(--dark-blue);
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.2s ease;
}
.comment-card:hover {
  border-color: var(--line-bright);
}
.comment-nick {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--crimson);
  letter-spacing: 0.05em;
}
.comment-text {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.recommend-region {
  padding: 0.5rem 0;
}
.recommend-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--crimson);
}
.recommend-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 0.75rem;
  scrollbar-width: thin;
}
.recommend-row::-webkit-scrollbar {
  height: 4px;
}
.recommend-row::-webkit-scrollbar-thumb {
  background: var(--line-bright);
}
a.recommend-item {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.6rem;
  background: var(--dark-blue);
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.2s ease;
  align-self: flex-start;
}
a.recommend-item:hover {
  border-color: var(--crimson);
  box-shadow: 0 0 12px var(--red-glow);
  transform: translateY(-2px);
}
.recommend-item img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 0.25rem;
  background: var(--navy);
}
.recommend-item span[data-runtime="name"] {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-item span[data-runtime="blurb"] {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.player-controls-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--dark-blue);
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  justify-content: center;
}
.player-controls-bar button {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}
.player-controls-bar button:hover {
  color: var(--text-light);
  border-color: var(--crimson);
  box-shadow: 0 0 6px var(--red-glow);
}
.site-footer {
  padding: 1.5rem 1.25rem;
  background: var(--dark-blue);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-links {
  display: flex;
  gap: 1rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--crimson);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}
.friend-label {
  color: var(--text-faint);
  font-size: 0.8rem;
}
a.runtime-friend-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--crimson);
  text-decoration: underline;
}
.site-footer p {
  font-size: 0.75rem;
  color: var(--text-faint);
  line-height: 1.5;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}
.player.is-muted {
  opacity: 0.85;
}
.player.rate-fast {
  box-shadow: 0 0 20px var(--blue-glow);
}
.player.light-dim {
  filter: brightness(0.7);
}
body.lights-off {
  background-color: #050a12;
}
body.lights-off .site-header, body.lights-off .movie-overview, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .recommend-region, body.lights-off .site-footer {
  background: rgba(10, 25, 47, 0.6);
}
body.theater-mode .player-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #000;
  padding: 0;
}
body.theater-mode .hero-media {
  max-width: 100%;
}
body.theater-mode .hero-cta {
  margin-top: 50vh;
}
body.theater-mode .code-rain-layer {
  display: none;
}
.player.theater {
  border-radius: 0;
}
@media (max-width: 768px) {.site-header {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
  }
.category-nav {
    width: 100%;
    padding-bottom: 0.25rem;
  }
.main-content {
    padding: 0.75rem;
    gap: 1.5rem;
  }
.player-wrapper {
    min-width: 100%;
  }
.movie-overview {
    grid-template-columns: 1fr;
  }
.poster-col {
    padding: 0.75rem;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
.main-poster {
    max-width: 200px;
    margin: 0 auto;
  }
.info-col {
    padding: 1rem;
  }
.movie-title {
    font-size: 1.15rem;
  }
.cast-scroll {
    gap: 0.5rem;
  }
.cast-card {
    flex: 0 0 70px;
  }
.cast-photo {
    width: 50px;
    height: 50px;
  }
.status-grid {
    flex-direction: column;
    gap: 0.4rem;
  }
.detail-list li {
    flex-direction: column;
    gap: 0.1rem;
  }
.detail-label {
    flex: none;
  }
.timeline-track {
    flex-direction: column;
    gap: 0.5rem;
  }
.timeline-node {
    max-width: 100%;
    flex: 1 1 auto;
  }
.episode-item {
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
  }
.ep-number {
    flex: 0 0 26px;
    font-size: 0.95rem;
  }
.ep-summary {
    white-space: normal;
  }
.comments-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
.recommend-row {
    gap: 0.5rem;
  }
a.recommend-item {
    flex: 0 0 130px;
  }
.player-controls-bar {
    gap: 0.3rem;
    padding: 0.5rem;
  }
.player-controls-bar button {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
.footer-links {
    flex-wrap: wrap;
  }}
@media (max-width: 480px) {.hero-cta {
    padding: 0 0.5rem;
  }
.player-control-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }
.hero-tagline {
    font-size: 0.75rem;
  }
.movie-title {
    font-size: 1rem;
  }
.tagline {
    font-size: 0.75rem;
  }
.cast-scroll {
    flex-wrap: nowrap;
  }
.cast-card {
    flex: 0 0 60px;
  }
.cast-photo {
    width: 44px;
    height: 44px;
  }
.cast-name {
    font-size: 0.65rem;
  }
.episode-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
.ep-number {
    font-size: 0.85rem;
  }
.ep-duration {
    align-self: flex-end;
  }
.comment-card {
    padding: 0.6rem;
  }
a.recommend-item {
    flex: 0 0 110px;
    padding: 0.4rem;
  }
.recommend-item img {
    aspect-ratio: 2 / 3;
  }
.recommend-item span[data-runtime="name"] {
    font-size: 0.75rem;
  }
.recommend-item span[data-runtime="blurb"] {
    font-size: 0.65rem;
  }
.site-footer {
    padding: 1rem 0.75rem;
  }
.friend-links {
    gap: 0.3rem 0.75rem;
  }}

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}
