*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #0a0e17;
  color: #d8dee9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #00d2ff;
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover {
  color: #7bff00;
}
h1, h2, h3, p {
  margin: 0;
}
button {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}
img, video {
  display: block;
  max-width: 100%;
}
header {
  background: rgba(10, 14, 23, 0.98);
  border-bottom: 1px solid #1a2333;
  padding: 12px 24px;
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.site-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: #00d2ff;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.site-logo:hover {
  color: #7bff00;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  flex: 1;
  min-width: 0;
}
.category-nav .runtime-category {
  display: inline-block;
  color: #7b8ba3;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.category-nav .runtime-category:hover {
  color: #7bff00;
  border-color: rgba(123, 255, 0, 0.4);
  background: rgba(123, 255, 0, 0.08);
}
main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 24px 40px;
}
.movie-overview {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) minmax(320px, 480px);
  gap: 20px;
  align-items: start;
  background: linear-gradient(145deg, #0d1520 0%, #0a0e17 100%);
  border: 1px solid #1a2333;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0, 210, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(123, 255, 0, 0.06) 0%, transparent 40%);
  pointer-events: none;
}
.poster-shell {
  grid-column: 1;
  grid-row: 1;
  max-width: 260px;
}
.main-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #1a2333;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.movie-info-panel {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.player-shell {
  grid-column: 3;
  grid-row: 1;
  min-width: 320px;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.player-shell video {
  border-radius: 8px;
  background: #000;
  border: 1px solid #1a2333;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 2px;
}
.ctrl-btn {
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid #1a2333;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: #7b8ba3;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.ctrl-btn:hover {
  color: #00d2ff;
  border-color: #00d2ff;
  background: rgba(0, 210, 255, 0.05);
}
.theater-mode .player-shell video {
  border-radius: 0;
}
.theater-mode .ctrl-btn {
  background: #0a0e17;
}
.lights-off .movie-info-panel, .lights-off .poster-shell {
  opacity: 0.15;
  transition: opacity 0.4s ease;
}
.lights-off .player-shell {
  box-shadow: 0 0 60px rgba(0, 210, 255, 0.2);
  border-radius: 8px;
}
.heading-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid #1a2333;
  padding-bottom: 14px;
}
.movie-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #e8f4ff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: #00d2ff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-left: 18px;
}
.tagline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 2px;
  background: #7bff00;
}
.fragment-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #00d2ff;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.fragment-heading::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00d2ff, transparent);
  margin-top: 4px;
  border-radius: 2px;
}
.synopsis-fragment {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.synopsis-para {
  color: #a8b6c7;
  font-size: 0.95rem;
  line-height: 1.6;
  border-left: 2px solid rgba(123, 255, 0, 0.3);
  padding-left: 12px;
  margin-bottom: 8px;
}
.synopsis-para:first-of-type {
  border-left-color: #7bff00;
}
.details-fragment {
  border-top: 1px solid #1a2333;
  padding-top: 14px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 20px;
}
.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(26, 35, 51, 0.6);
}
.detail-item dt {
  color: #7b8ba3;
  font-size: 0.85rem;
}
.detail-item dd {
  color: #e8f4ff;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
  font-size: 0.85rem;
}
.cast-fragment {
  border-top: 1px solid #1a2333;
  padding-top: 14px;
}
.actor-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.actor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(26, 35, 51, 0.4);
  border-radius: 10px;
  transition: all 0.25s ease;
  min-width: 72px;
}
.actor-card:hover {
  background: rgba(0, 210, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.3);
}
.actor-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2ff 0%, #7bff00 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.actor-avatar::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: rgba(10, 14, 23, 0.7);
  border-radius: 50%;
}
.actor-avatar::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: rgba(10, 14, 23, 0.7);
  border-radius: 50%;
}
.actor-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #d8dee9;
  white-space: nowrap;
}
.episode-status-fragment {
  display: flex;
  gap: 16px;
  align-items: center;
  border-top: 1px solid #1a2333;
  padding-top: 14px;
  flex-wrap: wrap;
}
.episode-progress {
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: #00d2ff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
}
.episode-current {
  color: #7bff00;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
}
.episodes-fragment {
  margin-bottom: 28px;
}
.episodes-fragment > .fragment-heading {
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.episode-timeline {
  position: relative;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.episode-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, #00d2ff 0%, #7bff00 100%);
  opacity: 0.4;
  border-radius: 2px;
}
.episode-item {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 12px;
}
.episode-item::after {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0a0e17;
  border: 2px solid #00d2ff;
  box-shadow: 0 0 6px rgba(0, 210, 255, 0.4);
}
.episode-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 30px;
  bottom: 0;
  width: 16px;
  border-left: 2px dashed rgba(0, 210, 255, 0.2);
}
.episode-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: #00d2ff;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
  line-height: 1;
  text-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
}
.episode-info {
  border-bottom: 1px dashed rgba(26, 35, 51, 0.8);
  padding-bottom: 10px;
}
.episode-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8f4ff;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}
.episode-summary {
  font-size: 0.85rem;
  color: #7b8ba3;
  line-height: 1.4;
  margin-bottom: 6px;
}
.episode-duration {
  font-size: 0.75rem;
  color: #5a6b82;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
  background: rgba(26, 35, 51, 0.5);
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-block;
}
.timeline-fragment {
  margin-bottom: 28px;
}
.timeline-fragment > .fragment-heading {
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.timeline-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: #1a2333 transparent;
}
.timeline-scroll::-webkit-scrollbar {
  height: 4px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: #1a2333;
  border-radius: 4px;
}
.timeline-node {
  flex: 0 0 auto;
  width: 180px;
  background: rgba(26, 35, 51, 0.4);
  border: 1px solid #1a2333;
  border-radius: 8px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: all 0.25s ease;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 14px;
  background: #00d2ff;
  opacity: 0.5;
}
.timeline-node:hover {
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.node-timecode {
  font-size: 0.85rem;
  font-weight: 700;
  color: #00d2ff;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
}
.node-label {
  font-size: 0.85rem;
  color: #d8dee9;
  line-height: 1.4;
}
.comments-fragment {
  margin-bottom: 28px;
}
.comments-fragment > .fragment-heading {
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.comment-card {
  background: rgba(26, 35, 51, 0.3);
  border: 1px solid #1a2333;
  border-radius: 10px;
  padding: 18px 20px 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s ease;
}
.comment-card:hover {
  border-color: rgba(0, 210, 255, 0.3);
  background: rgba(26, 35, 51, 0.5);
}
.quote-mark {
  font-size: 2.2rem;
  line-height: 0.8;
  color: #00d2ff;
  font-family: Georgia, serif;
  position: absolute;
  top: 10px;
  left: 14px;
  opacity: 0.5;
}
.comment-text {
  color: #d8dee9;
  font-size: 0.95rem;
  line-height: 1.5;
  padding-left: 18px;
  min-height: 40px;
}
.comment-author {
  color: #7bff00;
  font-size: 0.8rem;
  font-weight: 600;
  align-self: flex-end;
  padding-left: 18px;
}
.recommend-region {
  margin-bottom: 24px;
  position: relative;
}
.rec-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #e8f4ff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1a2333;
  letter-spacing: 0.02em;
}
.rec-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #00d2ff, #7bff00);
  margin-top: 8px;
  border-radius: 2px;
}
.rec-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #1a2333 transparent;
}
.rec-scroll::-webkit-scrollbar {
  height: 4px;
}
.rec-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.rec-scroll::-webkit-scrollbar-thumb {
  background: #1a2333;
  border-radius: 4px;
}
.rec-card {
  flex: 0 0 auto;
  width: 180px;
  background: rgba(26, 35, 51, 0.4);
  border: 1px solid #1a2333;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all 0.25s ease;
  padding: 0;
}
.rec-card:hover {
  border-color: rgba(0, 210, 255, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.rec-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid #1a2333;
}
.rec-card [data-runtime="name"] {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e8f4ff;
  padding: 10px 12px 4px;
  line-height: 1.3;
}
.rec-card [data-runtime="blurb"] {
  font-size: 0.75rem;
  color: #7b8ba3;
  padding: 0 12px 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.scroll-arrow {
  position: absolute;
  right: 12px;
  top: 12px;
  color: #00d2ff;
  font-size: 1.4rem;
  font-weight: 800;
  opacity: 0.6;
  pointer-events: none;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}
footer {
  background: #0d1520;
  border-top: 1px solid #1a2333;
  padding: 32px 24px 24px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.disclaimer-text {
  color: #5a6b82;
  font-size: 0.75rem;
  line-height: 1.5;
  max-width: 800px;
  border-left: 2px solid #1a2333;
  padding-left: 16px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #7b8ba3;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: #00d2ff;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}
.friend-label {
  color: #5a6b82;
  font-size: 0.8rem;
  white-space: nowrap;
}
.runtime-friend-link {
  color: #7b8ba3;
  font-size: 0.8rem;
  border-bottom: 1px dotted rgba(123, 139, 163, 0.3);
  padding-bottom: 1px;
  transition: all 0.2s ease;
}
.runtime-friend-link:hover {
  color: #7bff00;
  border-bottom-color: #7bff00;
}
@media (max-width: 1200px) {.movie-overview {
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
.player-shell {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 100%;
    margin-top: 0;
  }
.player-shell video {
    width: 100%;
  }}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: 1fr;
    gap: 16px;
  }
.poster-shell {
    grid-column: 1;
    grid-row: 1;
    max-width: 200px;
    margin: 0 auto;
  }
.movie-info-panel {
    grid-column: 1;
    grid-row: 2;
  }
.player-shell {
    grid-column: 1;
    grid-row: 3;
  }
.details-grid {
    grid-template-columns: 1fr;
  }
.comments-grid {
    grid-template-columns: 1fr;
  }
.episode-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }}
@media (max-width: 600px) {header {
    padding: 10px 16px;
    gap: 12px;
  }
main {
    padding: 16px 12px 30px;
  }
.movie-overview {
    padding: 16px;
  }
.poster-shell {
    max-width: 160px;
  }
.movie-title {
    font-size: 1.3rem;
  }
.actor-strip {
    gap: 8px;
  }
.actor-card {
    min-width: 60px;
    padding: 6px 8px;
  }
.actor-avatar {
    width: 40px;
    height: 40px;
  }
.timeline-node {
    width: 150px;
  }
.rec-card {
    width: 150px;
  }
.episode-timeline {
    padding-left: 24px;
  }
.episode-item::after {
    left: -24px;
  }
.episode-item::before {
    left: -24px;
  }
.episode-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
  }
.episode-number {
    font-size: 1.1rem;
  }
.category-nav {
    gap: 4px 6px;
  }
.category-nav .runtime-category {
    font-size: 0.7rem;
    padding: 2px 8px;
  }
.comment-card {
    padding: 14px 16px 10px;
  }
.quote-mark {
    font-size: 1.8rem;
    top: 8px;
    left: 10px;
  }
.comment-text {
    font-size: 0.9rem;
    padding-left: 14px;
  }
.scroll-arrow {
    display: none;
  }}
@media (max-width: 400px) {.player-controls {
    gap: 4px;
  }
.ctrl-btn {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
.episode-status-fragment {
    gap: 8px;
  }
.episode-progress {
    font-size: 0.7rem;
  }}
@media print {body {
    background: #fff;
    color: #000;
  }
.player-shell, .scroll-arrow, header, footer {
    display: none;
  }}

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}
