*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: #0a0812;
  color: #f5f3f7;
  line-height: 1.6;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  background: rgba(10, 8, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
a[data-contract="site-name"] {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ff6ec7;
  text-shadow: 0 0 8px rgba(255, 110, 199, 0.6), 0 0 20px rgba(255, 110, 199, 0.3);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
nav[data-contract="categories"] {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
nav[data-contract="categories"]::-webkit-scrollbar {
  display: none;
}
.runtime-category {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #cfc8de;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.runtime-category:hover, .runtime-category.active {
  color: #ff6ec7;
  background: rgba(255, 110, 199, 0.12);
  box-shadow: 0 0 12px rgba(255, 110, 199, 0.25);
}
.hero-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0812 0%, #120b1e 100%);
}
.hero-media-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.9;
}
.hero-title-overlay {
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}
.hero-title-text {
  display: inline-block;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  font-style: italic;
  color: #ffe600;
  text-shadow:
    0 0 6px rgba(255, 230, 0, 0.9),
    0 0 20px rgba(255, 230, 0, 0.6),
    0 0 40px rgba(255, 230, 0, 0.3),
    0 0 80px rgba(255, 230, 0, 0.2);
  letter-spacing: 0.08em;
  transform: rotate(-3deg);
}
.hero-tagline {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: #f0e6ff;
  background: rgba(10, 8, 18, 0.65);
  padding: 0.4rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 110, 199, 0.4);
  box-shadow: 0 0 20px rgba(255, 110, 199, 0.2);
  white-space: nowrap;
  z-index: 2;
  letter-spacing: 0.12em;
}
.section-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  padding: 0.4rem 0 0.6rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-heading::before {
  content: "";
  width: 4px;
  height: 1.2em;
  background: linear-gradient(180deg, #ff6ec7, #6ec7ff);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 110, 199, 0.5);
}
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 110, 199, 0.5), rgba(110, 199, 255, 0.1), transparent);
  margin-left: 0.75rem;
}
.timeline-section {
  padding: 1.5rem 1.5rem 1rem;
}
.timeline-scroll-wrapper {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #ff6ec7 rgba(255, 255, 255, 0.1);
}
.timeline-scroll-wrapper::-webkit-scrollbar {
  height: 4px;
}
.timeline-scroll-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
}
.timeline-scroll-wrapper::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff6ec7, #6ec7ff);
  border-radius: 2px;
}
.timeline-track {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  min-width: max-content;
}
.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 170px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.timeline-item:hover {
  border-color: rgba(255, 110, 199, 0.5);
  box-shadow: 0 0 16px rgba(255, 110, 199, 0.15);
}
.timeline-timecode {
  font-family: "SF Mono", "Fira Code", "Roboto Mono", monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6ec7ff;
  letter-spacing: 0.06em;
}
.timeline-label {
  font-size: 0.82rem;
  color: #d5d0de;
  line-height: 1.4;
}
.episodes-section {
  padding: 1rem 1.5rem;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}
.episode-card {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  transition: background 0.2s, border-color 0.2s;
}
.episode-card:hover {
  background: rgba(255, 110, 199, 0.06);
  border-color: rgba(255, 110, 199, 0.3);
}
.episode-number {
  font-family: "SF Mono", "Fira Code", "Roboto Mono", monospace;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ff6ec7;
  line-height: 1.2;
  min-width: 1.5em;
  text-shadow: 0 0 8px rgba(255, 110, 199, 0.4);
}
.episode-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.episode-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
}
.episode-summary {
  font-size: 0.82rem;
  color: #b5aec4;
  line-height: 1.5;
}
.episode-duration {
  font-family: "SF Mono", "Fira Code", "Roboto Mono", monospace;
  font-size: 0.75rem;
  color: #6ec7ff;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}
.comments-section {
  padding: 1rem 1.5rem;
}
.comments-waterfall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  position: relative;
}
.comment-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1rem;
  right: 60%;
  height: 2px;
  background: linear-gradient(90deg, #ff6ec7, transparent);
  border-radius: 2px;
}
.comment-avatar {
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a0812;
  background: linear-gradient(135deg, #ff6ec7, #6ec7ff);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 110, 199, 0.3);
}
.comment-nickname {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e8e2f0;
}
.comment-text {
  font-size: 0.82rem;
  color: #b5aec4;
  line-height: 1.5;
}
.recommendation-region {
  padding: 1rem 1.5rem;
}
.recommendation-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 110, 199, 0.5) rgba(255, 255, 255, 0.06);
  padding-bottom: 0.5rem;
}
.recommendation-scroll::-webkit-scrollbar {
  height: 4px;
}
.recommendation-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
}
.recommendation-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff6ec7, #6ec7ff);
  border-radius: 2px;
}
a.recommendation-card {
  flex: 0 0 auto;
  width: 150px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
a.recommendation-card:hover {
  border-color: rgba(255, 110, 199, 0.5);
  box-shadow: 0 4px 20px rgba(255, 110, 199, 0.2);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  background: #1a1424;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.72rem;
  color: #8f88a0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.movie-overview-section {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  position: relative;
}
.movie-overview-section::before {
  content: "";
  position: absolute;
  inset: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  pointer-events: none;
}
.movie-poster-wrapper {
  position: relative;
  align-self: start;
}
.movie-poster-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.movie-poster-wrapper img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.movie-info-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}
.movie-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
  line-height: 1.3;
}
.movie-tagline {
  font-size: 0.95rem;
  font-style: italic;
  color: #ff6ec7;
  text-shadow: 0 0 8px rgba(255, 110, 199, 0.3);
  letter-spacing: 0.06em;
}
.movie-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.4rem 1rem;
}
.detail-item {
  display: flex;
  gap: 0.35rem;
  align-items: baseline;
}
.detail-label {
  font-size: 0.75rem;
  color: #8f88a0;
  white-space: nowrap;
}
.detail-value {
  font-size: 0.85rem;
  color: #e8e2f0;
  font-weight: 500;
}
.episode-status {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 110, 199, 0.08);
  border-left: 3px solid #ff6ec7;
  border-radius: 0 8px 8px 0;
  flex-wrap: wrap;
}
.episode-status-label {
  font-size: 0.8rem;
  color: #cfc8de;
}
.episode-status-value {
  font-family: "SF Mono", "Fira Code", "Roboto Mono", monospace;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ff6ec7;
}
.episode-status-current {
  font-size: 0.8rem;
  color: #6ec7ff;
  margin-left: 0.5rem;
}
.synopsis-section {
  padding-top: 0.5rem;
}
.synopsis-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem;
}
.synopsis-card {
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.synopsis-card p {
  font-size: 0.85rem;
  color: #c5bed0;
  line-height: 1.6;
}
.cast-section {
  padding-top: 0.5rem;
}
.cast-cards-scroll {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 199, 255, 0.5) rgba(255, 255, 255, 0.06);
  padding-bottom: 0.4rem;
}
.cast-cards-scroll::-webkit-scrollbar {
  height: 3px;
}
.cast-cards-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}
.cast-cards-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff6ec7, #6ec7ff);
  border-radius: 2px;
}
.cast-card {
  flex: 0 0 auto;
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.7rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  text-align: center;
}
.cast-avatar {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0a0812;
  background: linear-gradient(135deg, #6ec7ff, #ff6ec7);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(110, 199, 255, 0.3);
}
.cast-role {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}
.cast-trait {
  font-size: 0.72rem;
  color: #8f88a0;
  line-height: 1.3;
}
.player-wrapper {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-top: 0.5rem;
}
.player-wrapper video {
  width: 100%;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.5rem 0;
}
.player-controls button {
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  color: #b5aec4;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.player-controls button:hover, .player-controls button.active {
  color: #ff6ec7;
  background: rgba(255, 110, 199, 0.1);
  border-color: rgba(255, 110, 199, 0.4);
}
.player-wrapper.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}
.player-wrapper.theater-mode video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}
footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  display: inline-block;
  font-size: 0.85rem;
  color: #8f88a0;
  transition: color 0.2s;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ff6ec7;
}
nav[data-contract="friend-links"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  margin-top: 0.5rem;
}
.friend-links-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #cfc8de;
  margin-right: 0.5rem;
}
a.runtime-friend-link {
  font-size: 0.75rem;
  color: #6ec7ff;
  text-decoration: underline;
  text-decoration-color: rgba(110, 199, 255, 0.3);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
a.runtime-friend-link:hover {
  color: #ff6ec7;
  text-decoration-color: rgba(255, 110, 199, 0.6);
}
footer p {
  font-size: 0.75rem;
  color: #5f5870;
  line-height: 1.5;
  margin-top: 0.5rem;
}
body.light-off {
  background: #050308;
}
body.light-off .hero-section, body.light-off .timeline-section, body.light-off .episodes-section, body.light-off .comments-section, body.light-off .recommendation-region, body.light-off .movie-overview-section {
  opacity: 0.92;
}
@media (max-width: 768px) {header {
    padding: 0.6rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
nav[data-contract="categories"] {
    width: 100%;
    justify-content: flex-start;
  }
.hero-media-wrapper {
    aspect-ratio: 4 / 5;
  }
.hero-title-text {
    font-size: 2.2rem;
  }
.hero-tagline {
    font-size: 0.8rem;
    padding: 0.3rem 1rem;
    white-space: normal;
    text-align: center;
    width: 90%;
  }
.timeline-section, .episodes-section, .comments-section, .recommendation-region {
    padding: 1rem 0.75rem;
  }
.episodes-grid {
    grid-template-columns: 1fr;
  }
.comments-waterfall {
    grid-template-columns: 1fr;
  }
.movie-overview-section {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0.75rem;
  }
.movie-poster-wrapper {
    max-width: 200px;
    margin: 0 auto;
  }
.movie-title {
    font-size: 1.2rem;
  }
.movie-details {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
.synopsis-cards {
    grid-template-columns: 1fr;
  }
.cast-cards-scroll {
    padding-bottom: 0.5rem;
  }
.player-wrapper {
    min-width: 0;
  }
.player-controls {
    justify-content: center;
  }}
@media (max-width: 480px) {html {
    font-size: 14px;
  }
.hero-media-wrapper {
    aspect-ratio: 3 / 4;
  }
.hero-title-text {
    font-size: 1.8rem;
  }
.timeline-item {
    min-width: 140px;
  }
.episode-card {
    flex-direction: column;
    gap: 0.4rem;
  }
.episode-number {
    font-size: 1.1rem;
  }
.recommendation-card {
    width: 130px;
  }
.movie-overview-section {
    padding: 0.75rem 0.5rem;
  }
.movie-poster-wrapper {
    max-width: 160px;
  }
.detail-item {
    flex-direction: column;
    gap: 0.1rem;
  }
.episode-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
.episode-status-current {
    margin-left: 0;
  }
footer {
    padding: 1rem 0.75rem;
  }
.player-wrapper.theater-mode {
    padding: 1rem;
  }}
.DOMContentLoaded .hero-section {
  animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.mute .player-controls button[data-player-action="mute"], .play .player-controls button[data-player-action="play"], .pip .player-controls button[data-player-action="pip"], .fullscreen .player-controls button[data-player-action="fullscreen"], .speed .player-controls button[data-player-action="speed"], .progress .player-controls button[data-player-action="progress"], .volume .player-controls button[data-player-action="volume"], .theater .player-controls button[data-player-action="theater"], .light .player-controls button[data-player-action="light"] {
  color: #ff6ec7;
  background: rgba(255, 110, 199, 0.1);
  border-color: rgba(255, 110, 199, 0.4);
  box-shadow: 0 0 8px rgba(255, 110, 199, 0.2);
}
.click {
  cursor: pointer;
}
.active {
  color: #ff6ec7 !important;
  border-color: rgba(255, 110, 199, 0.5) !important;
}

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}
