*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
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: #0a1128;
  color: #d4d8e8;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
.site-header {
  background: rgba(8, 12, 24, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a3350;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.site-name-link {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffb347;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-name-link:hover { color: #ffd78a; }
.categories-container {
  display: flex;
  overflow-x: auto;
  gap: 0.25rem;
  padding: 0.25rem 0;
  scrollbar-width: thin;
  scrollbar-color: #3a4a6a transparent;
  flex: 1;
  min-width: 0;
}
.categories-container::-webkit-scrollbar { height: 3px; }
.categories-container::-webkit-scrollbar-thumb { background: #3a4a6a; }
.runtime-category {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  color: #9aa7c7;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
}
.runtime-category:hover {
  background: rgba(255, 179, 71, 0.12);
  color: #ffb347;
}
.main-content {
  flex: 1;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.movie-overview-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(145deg, #0e1830 0%, #0a1128 100%);
  border: 1px solid #1f2c4a;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}
.movie-overview-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(255, 179, 71, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.dashcam-perspective {
  width: 100%;
  padding: 0.5rem 0 0;
}
.dashcam-frame {
  position: relative;
  border: 3px solid #0a1128;
  outline: 1px solid #2a3350;
  border-radius: 8px;
  background: #05070e;
  overflow: hidden;
  aspect-ratio: 16 / 6;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.8), 0 2px 12px rgba(0,0,0,0.6);
}
.dashcam-visual-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,17,40,0.3) 0%, rgba(10,17,40,0.7) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 3px),
    radial-gradient(circle at 80% 70%, rgba(255, 179, 71, 0.25) 0%, transparent 40%);
  filter: blur(1px);
}
.dashcam-visual-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 60%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
  mix-blend-mode: overlay;
}
.dashcam-visual-placeholder::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 25%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6));
}
.protagonist-silhouette {
  position: absolute;
  right: 12%;
  bottom: 0;
  width: 18%;
  height: 70%;
  background: linear-gradient(180deg, rgba(20,25,45,0.9) 0%, rgba(10,15,30,0.95) 100%);
  clip-path: polygon(25% 0%, 75% 0%, 85% 100%, 15% 100%);
  filter: drop-shadow(0 0 12px rgba(0,0,0,0.8));
  opacity: 0.85;
}
.dashcam-frame::after {
  content: "REC ●";
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 0.7rem;
  color: rgba(255, 80, 80, 0.8);
  letter-spacing: 0.08em;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(255,0,0,0.4);
}
.dashcam-frame::before {
  content: "2024-11-02 02:37:45";
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 0.6rem;
  color: rgba(180, 200, 230, 0.5);
  font-family: "Courier New", monospace;
  letter-spacing: 0.05em;
}
.movie-title-tagline-group {
  padding: 0.5rem 0 0.25rem;
  border-bottom: 1px solid rgba(255, 179, 71, 0.15);
}
.movie-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.3;
  color: #ffb347;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(255, 179, 71, 0.15);
}
.movie-tagline {
  font-size: 0.85rem;
  color: #8a97b5;
  margin-top: 0.4rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.overview-poster-details-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding-top: 0.75rem;
}
.poster-wrapper {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  border: 1px solid #1f2c4a;
}
.movie-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}
.overview-info-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.cast-fragment, .synopsis-fragment, .episode-status-fragment, .details-fragment {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cast-fragment:last-child, .synopsis-fragment:last-child, .episode-status-fragment:last-child, .details-fragment:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.section-subheading {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffb347;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}
.actor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.actor-item {
  font-size: 0.85rem;
  color: #c0c9dd;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 179, 71, 0.08);
  border: 1px solid rgba(255, 179, 71, 0.15);
  border-radius: 3px;
}
.synopsis-paragraph {
  font-size: 0.78rem;
  color: #a7b1c8;
  line-height: 1.8;
  margin-bottom: 0.6rem;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.episode-status-text {
  font-size: 0.85rem;
  color: #ffb347;
  font-weight: 600;
}
.episode-current-label {
  font-size: 0.75rem;
  color: #8a97b5;
  margin-top: 0.2rem;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.4rem 1rem;
}
.details-item {
  font-size: 0.75rem;
  color: #a7b1c8;
  line-height: 1.5;
}
.detail-label {
  color: #6b7894;
  font-weight: 600;
}
.rating-highlight {
  color: #ffb347;
  font-weight: 800;
  font-size: 1.1em;
  text-shadow: 0 0 8px rgba(255, 179, 71, 0.3);
}
.player-region {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 179, 71, 0.12);
}
.main-player {
  border-radius: 6px;
  background: #000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.player-control-panel {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}
.player-btn {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: background 0.15s, border-color 0.15s;
}
.player-btn:hover {
  background: rgba(255, 179, 71, 0.15);
  border-color: rgba(255, 179, 71, 0.3);
}
.player-region.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  margin: 0;
  border: none;
}
.player-region.theater-mode .main-player {
  max-height: 85vh;
  width: 100%;
  margin: 0 auto;
}
body.light-off::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 250;
  pointer-events: none;
}
body.light-off .site-header, body.light-off .main-content, body.light-off .site-footer {
  filter: brightness(0.7);
}
.episodes-fragment {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.section-heading {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffb347;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  padding-left: 0.5rem;
  border-left: 3px solid #ffb347;
}
.episode-scroll-container {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #3a4a6a transparent;
}
.episode-scroll-container::-webkit-scrollbar { height: 4px; }
.episode-scroll-container::-webkit-scrollbar-thumb { background: #3a4a6a; border-radius: 2px; }
.episode-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.03);
  border: 1px solid #1f2c4a;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.episode-card:hover {
  border-color: rgba(255, 179, 71, 0.4);
  transform: translateY(-2px);
}
.episode-number {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e0e6f2;
}
.episode-summary {
  font-size: 0.72rem;
  color: #8a97b5;
  line-height: 1.7;
  flex: 1;
}
.episode-duration {
  font-size: 0.65rem;
  color: #6b7894;
  font-family: "Courier New", monospace;
}
.episode-progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.25rem;
}
.progress-value {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ffb347, #ffd78a);
  border-radius: 2px;
}
.timeline-fragment {
  padding: 0.5rem 0;
}
.timeline-list {
  position: relative;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  border-left: 2px dashed #3a4a6a;
}
.timeline-item {
  position: relative;
  padding-left: 0.75rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  background: #ffb347;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 179, 71, 0.5);
}
.timeline-timecode {
  display: block;
  font-size: 0.7rem;
  font-family: "Courier New", monospace;
  color: #ffb347;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.timeline-desc {
  font-size: 0.78rem;
  color: #a7b1c8;
  line-height: 1.7;
  margin-top: 0.2rem;
}
.comments-fragment {
  padding: 0.5rem 0;
}
.comments-bubble-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  padding: 0.5rem;
}
.comment-bubble {
  background: rgba(255,255,255,0.04);
  border: 1px solid #1f2c4a;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.comment-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #1f2c4a;
}
.comment-bubble::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid rgba(255,255,255,0.04);
  z-index: 1;
}
.comment-nickname {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffb347;
  letter-spacing: 0.05em;
}
.comment-text {
  font-size: 0.75rem;
  color: #a7b1c8;
  line-height: 1.7;
}
.recommendation-region {
  padding: 0.5rem 0;
}
.recommendation-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffb347;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
  border-left: 3px solid #ffb347;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid #1f2c4a;
  border-radius: 8px;
  padding: 0.6rem;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.recommendation-card:hover {
  border-color: rgba(255, 179, 71, 0.4);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  background: #1a2235;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e0e6f2;
  line-height: 1.4;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.65rem;
  color: #8a97b5;
  line-height: 1.5;
}
.site-footer {
  background: #070b16;
  border-top: 1px solid #1f2c4a;
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  align-items: baseline;
  font-size: 0.75rem;
}
.friend-links-label {
  color: #6b7894;
  font-weight: 600;
}
.runtime-friend-link {
  color: #8a97b5;
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.runtime-friend-link:hover {
  color: #ffb347;
}
.disclaimer {
  font-size: 0.65rem;
  color: #5a6780;
  line-height: 1.6;
  max-width: 80ch;
}
.footer-home, .footer-sitemap {
  font-size: 0.75rem;
  color: #a7b1c8;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-home:hover, .footer-sitemap:hover {
  color: #ffb347;
}
@media (max-width: 900px) {.site-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
.categories-container {
    order: 3;
    width: 100%;
  }
.overview-poster-details-row {
    grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
    gap: 1rem;
  }
.movie-title {
    font-size: 1.3rem;
  }}
@media (max-width: 640px) {.main-content {
    padding: 0.75rem 0.75rem 1.5rem;
    gap: 1.5rem;
  }
.movie-overview-shell {
    padding: 0.75rem;
  }
.dashcam-frame {
    aspect-ratio: 16 / 9;
  }
.overview-poster-details-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
.poster-wrapper {
    max-width: 180px;
    margin: 0 auto;
  }
.overview-info-group {
    gap: 0.75rem;
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
.episode-card {
    flex-basis: 180px;
  }
.comments-bubble-wall {
    grid-template-columns: 1fr;
  }
.recommendation-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.player-control-panel {
    justify-content: center;
  }}
@media (max-width: 400px) {.site-header {
    padding: 0.5rem 0.75rem;
  }
.site-name-link {
    font-size: 1.1rem;
  }
.movie-title {
    font-size: 1.1rem;
  }
.movie-tagline {
    font-size: 0.75rem;
  }
.episode-card {
    flex-basis: 160px;
    padding: 0.75rem;
  }
.recommendation-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }}

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}
