*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #0a0e1a;
  color: #e8e8f0;
  line-height: 1.5;
  font-weight: 300;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
body > header, body > main, body > footer {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: clamp(12px, 2vw, 28px);
  padding-right: clamp(12px, 2vw, 28px);
}
header {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 170, 200, 0.12);
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 20;
}
a[data-contract="site-name"] {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffb6c1;
  text-shadow: 0 0 12px rgba(255, 120, 160, 0.5);
  white-space: nowrap;
}
nav[data-contract="categories"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
nav[data-contract="categories"]::-webkit-scrollbar { display: none; }
.runtime-category {
  font-size: 0.8rem;
  font-weight: 500;
  color: #b8b8c8;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.runtime-category:hover {
  color: #ffb6c1;
  border-color: rgba(255, 170, 200, 0.4);
  background: rgba(255, 170, 200, 0.06);
}
.movie-unit {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(16px, 2.5vw, 40px);
  padding: clamp(16px, 2.5vw, 32px) 0;
  align-items: start;
  border-bottom: 1px solid rgba(255, 170, 200, 0.1);
}
.poster-frame {
  position: relative;
  border-radius: 16px 16px 16px 6px;
  overflow: hidden;
  background: linear-gradient(145deg, #1a1f35, #0e1424);
  box-shadow: 0 0 0 1px rgba(255, 170, 200, 0.15), 0 8px 30px rgba(0, 0, 0, 0.6);
  width: 100%;
}
.main-poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}
.movie-info-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.movie-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 6px;
}
.tagline {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 300;
  color: #ffd0dd;
  font-style: italic;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 170, 200, 0.15);
}
.section-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ffb6c1;
  margin: 18px 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-subtitle::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 170, 200, 0.4), transparent);
}
.cast-block {
  margin-bottom: 4px;
}
.actor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 0;
}
.actor-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #d0d0dc;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255, 170, 200, 0.12);
}
.actor-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff8fb0, #ff4d7a);
  box-shadow: 0 0 6px rgba(255, 120, 160, 0.6);
  flex-shrink: 0;
}
.actor-name {
  font-weight: 500;
  color: #e8e8f0;
}
.synopsis-block {
  margin-bottom: 4px;
}
.synopsis-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 170, 200, 0.3) transparent;
}
.synopsis-scroll::-webkit-scrollbar { height: 4px; }
.synopsis-scroll::-webkit-scrollbar-thumb { background: rgba(255, 170, 200, 0.3); border-radius: 4px; }
.synopsis-card {
  flex: 0 0 auto;
  width: clamp(200px, 42vw, 320px);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #b0b0c0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 170, 200, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s;
}
.synopsis-card:hover {
  border-color: rgba(255, 170, 200, 0.35);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 14px 0 8px 0;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 170, 200, 0.1);
  border-bottom: 1px solid rgba(255, 170, 200, 0.1);
}
.current-episode {
  font-weight: 700;
  color: #ffb6c1;
  background: rgba(255, 120, 160, 0.1);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 170, 200, 0.25);
}
.total-episodes {
  font-weight: 500;
  color: #c8c8d8;
  font-size: 0.85rem;
}
.ep-meta {
  font-size: 0.8rem;
  color: #8888a0;
  font-weight: 300;
}
.detail-list { margin-top: 6px; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 2px 16px;
}
.detail-item {
  display: flex;
  gap: 6px;
  font-size: 0.78rem;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(255, 170, 200, 0.08);
}
.detail-item dt {
  color: #8888a0;
  font-weight: 400;
  flex-shrink: 0;
}
.detail-item dd {
  color: #d8d8e8;
  font-weight: 400;
  margin: 0;
}
.player-shell {
  position: relative;
  margin: 0 0 clamp(24px, 4vw, 48px) 0;
  background: #05070d;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 170, 200, 0.1), 0 10px 40px rgba(0, 0, 0, 0.7);
  width: 100%;
  max-width: 100%;
}
.player-shell video {
  width: 100%;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(5, 7, 13, 0.9);
  border-top: 1px solid rgba(255, 170, 200, 0.12);
  align-items: center;
}
.player-controls button {
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  color: #b0b0c0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.15s;
  white-space: nowrap;
}
.player-controls button:hover {
  background: rgba(255, 170, 200, 0.12);
  color: #ffb6c1;
  border-color: rgba(255, 170, 200, 0.25);
}
.player-shell.theater-mode {
  max-width: none;
  border-radius: 0;
  margin-left: calc(-1 * clamp(12px, 2vw, 28px));
  margin-right: calc(-1 * clamp(12px, 2vw, 28px));
}
.lights-off {
  background: #000;
}
.lights-off main, .lights-off header, .lights-off footer {
  opacity: 0.15;
  transition: opacity 0.4s;
}
.player-shell.light-dim {
  box-shadow: 0 0 0 1px rgba(255, 170, 200, 0.2), 0 0 80px rgba(255, 120, 160, 0.1);
}
.timeline-section {
  padding: clamp(20px, 3vw, 40px) 0;
  border-bottom: 1px solid rgba(255, 170, 200, 0.1);
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px 20px;
  padding-left: 20px;
  margin-top: 16px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 170, 200, 0.8), rgba(255, 170, 200, 0.05));
  box-shadow: 0 0 8px rgba(255, 120, 160, 0.3);
}
.timeline-item {
  position: relative;
  padding: 8px 0 8px 12px;
  border-left: none;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  background: radial-gradient(circle at 30% 30%, #ffb0c4, #ff4d7a);
  box-shadow: 0 0 10px rgba(255, 120, 160, 0.7);
}
.timecode {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffb6c1;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 4px;
}
.timeline-label {
  font-size: 0.8rem;
  color: #b8b8c8;
  line-height: 1.5;
}
.episodes-section {
  padding: clamp(20px, 3vw, 40px) 0;
  border-bottom: 1px solid rgba(255, 170, 200, 0.1);
}
.episode-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-top: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 170, 200, 0.3) transparent;
}
.episode-scroll::-webkit-scrollbar { height: 5px; }
.episode-scroll::-webkit-scrollbar-thumb { background: rgba(255, 170, 200, 0.3); border-radius: 5px; }
.episode-card {
  flex: 0 0 auto;
  width: clamp(180px, 24vw, 240px);
  background: linear-gradient(145deg, rgba(30, 35, 55, 0.7), rgba(15, 20, 35, 0.9));
  border: 1px solid rgba(255, 170, 200, 0.12);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.episode-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle at top right, rgba(255, 170, 200, 0.2), transparent 70%);
}
.episode-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 170, 200, 0.35);
}
.ep-number {
  font-size: 0.7rem;
  font-weight: 800;
  color: #ffb6c1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ep-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.ep-summary {
  font-size: 0.75rem;
  color: #a0a0b4;
  line-height: 1.5;
  flex: 1;
  font-weight: 300;
}
.ep-duration {
  font-size: 0.7rem;
  color: #8888a0;
  border-top: 1px solid rgba(255, 170, 200, 0.1);
  padding-top: 6px;
  margin-top: auto;
}
.comments-section {
  padding: clamp(20px, 3vw, 40px) 0;
  border-bottom: 1px solid rgba(255, 170, 200, 0.1);
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.comment-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 170, 200, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.comment-nick {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffb6c1;
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 0.8rem;
  color: #c0c0d0;
  line-height: 1.5;
  font-weight: 300;
}
.recommend-region {
  padding: clamp(20px, 3vw, 36px) 0;
  border-bottom: 1px solid rgba(255, 170, 200, 0.1);
}
.recommend-region:last-of-type {
  border-bottom: none;
}
.recommend-title {
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.recommend-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  background: radial-gradient(circle at 30% 30%, #ffb0c4, #ff4d7a);
  box-shadow: 0 0 8px rgba(255, 120, 160, 0.5);
  flex-shrink: 0;
}
.rec-card-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 170, 200, 0.3) transparent;
}
.rec-card-list::-webkit-scrollbar { height: 4px; }
.rec-card-list::-webkit-scrollbar-thumb { background: rgba(255, 170, 200, 0.3); border-radius: 4px; }
a.rec-card {
  flex: 0 0 auto;
  width: clamp(150px, 20vw, 200px);
  background: linear-gradient(145deg, rgba(30, 35, 55, 0.8), rgba(15, 20, 35, 0.95));
  border: 1px solid rgba(255, 170, 200, 0.1);
  border-radius: 14px;
  padding: 8px 8px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
a.rec-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 170, 200, 0.35);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #1a1f35;
}
[data-runtime="name"] {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  display: block;
}
[data-runtime="blurb"] {
  font-size: 0.72rem;
  color: #a0a0b4;
  line-height: 1.4;
  display: block;
  font-weight: 300;
}
footer {
  padding: clamp(20px, 3vw, 36px) 0 40px 0;
  border-top: 1px solid rgba(255, 170, 200, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-disclaimer {
  font-size: 0.72rem;
  color: #8888a0;
  line-height: 1.6;
  max-width: 80ch;
  font-weight: 300;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  font-size: 0.78rem;
}
.friend-label {
  color: #ffb6c1;
  font-weight: 500;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: #9090b0;
  transition: color 0.15s;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #ffb6c1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #b0b0c0;
  transition: color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffb6c1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {.movie-unit {
    grid-template-columns: 180px 1fr;
  }
.detail-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }}
@media (max-width: 640px) {header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
nav[data-contract="categories"] {
    width: 100%;
  }
.movie-unit {
    grid-template-columns: 1fr;
    gap: 20px;
  }
.poster-frame {
    max-width: 240px;
  }
.detail-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.timeline-list {
    grid-template-columns: 1fr;
    padding-left: 20px;
  }
.comment-grid {
    grid-template-columns: 1fr;
  }
.episode-card {
    width: 210px;
  }
a.rec-card {
    width: 160px;
  }}
@media (max-width: 380px) {.movie-title {
    font-size: 1.3rem;
  }
.detail-grid {
    grid-template-columns: 1fr;
  }
.episode-status {
    gap: 6px 10px;
  }
.player-controls button {
    font-size: 0.65rem;
    padding: 4px 8px;
  }}

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}
