*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px; line-height: 1.5; color: #cfd8e3;
  background: #0b0f17;
  min-height: 100vh;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
dl, dd { margin: 0; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 145, 0, 0.25);
}
.header-shell {
  max-width: 1400px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.site-logo {
  font-size: 18px; font-weight: 700; letter-spacing: 1px;
  color: #ff9f1c; text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 159, 28, 0.35);
  white-space: nowrap;
}
.categories-nav {
  display: flex; gap: 8px; flex-wrap: wrap; flex: 1; justify-content: flex-end;
}
.categories-nav .runtime-category {
  display: inline-block; padding: 4px 12px; font-size: 13px; font-weight: 500;
  color: #b8c4d0; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px;
  white-space: nowrap; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.categories-nav .runtime-category:hover {
  color: #ffb347; border-color: rgba(255, 159, 28, 0.6);
  background: rgba(255, 159, 28, 0.08);
}
.main-content {
  max-width: 1400px; margin: 0 auto; padding: 24px 20px 40px;
}
.movie-overview-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) minmax(480px, 700px);
  gap: 24px; align-items: start;
  background: linear-gradient(145deg, #0d1520, #0a0e16);
  border: 1px solid rgba(255, 159, 28, 0.12);
  border-radius: 12px; padding: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.overview-poster-panel { min-width: 0; }
.poster-wrapper { width: 100%; border-radius: 8px; overflow: hidden; background: #000; }
.main-poster-img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.overview-info-panel {
  display: flex; flex-direction: column; gap: 18px; min-width: 0;
}
.overview-heading { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px; }
.movie-title {
  font-size: 26px; font-weight: 700; color: #fff;
  letter-spacing: 1px; margin-bottom: 6px;
}
.movie-tagline {
  font-size: 14px; color: #ffb347; font-weight: 400; letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(255, 179, 71, 0.3);
}
.section-heading {
  font-size: 16px; font-weight: 600; color: #ffd166;
  margin-bottom: 10px; letter-spacing: 1px;
  border-left: 3px solid #ff9f1c; padding-left: 8px;
}
.synopsis-block { display: flex; flex-direction: column; gap: 6px; }
.synopsis-paragraph {
  font-size: 13px; color: #a8b6c4; line-height: 1.7; padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,0.06);
}
.synopsis-paragraph p { margin: 0; }
.episode-status-block {
  background: rgba(255, 159, 28, 0.06); border-radius: 8px; padding: 12px 16px;
  border: 1px solid rgba(255, 159, 28, 0.15);
}
.episode-status-heading {
  display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px;
}
.episode-status-label { font-size: 13px; color: #8fa0b0; }
.episode-status-value { font-size: 18px; font-weight: 700; color: #ff9f1c; font-family: "SF Mono", Consolas, monospace; }
.episode-status-current { font-size: 12px; color: #7fb3ff; margin-left: auto; }
.episode-status-progress {
  height: 6px; background: rgba(0,0,0,0.4); border-radius: 3px; overflow: hidden;
}
.progress-fill {
  display: block; height: 100%; background: linear-gradient(90deg, #ff9f1c, #ffb347);
  border-radius: 3px; box-shadow: 0 0 8px rgba(255, 159, 28, 0.6);
}
.cast-block { margin-top: 4px; }
.cast-scroller {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: #ff9f1c rgba(255,255,255,0.1);
}
.cast-card {
  flex: 0 0 120px; background: #0e1622; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08); transition: border-color 0.2s;
}
.cast-card:hover { border-color: rgba(255, 159, 28, 0.5); }
.cast-photo {
  height: 140px; background: linear-gradient(160deg, #1a2433, #0d1520);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.cast-name {
  font-size: 16px; font-weight: 600; color: #ffd166; text-shadow: 0 0 10px rgba(255, 209, 102, 0.4);
}
.cast-info { padding: 8px 10px; }
.actor-name { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.actor-role { font-size: 12px; color: #8fa0b0; }
.details-block { margin-top: 4px; }
.details-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 20px;
}
.details-item { display: flex; gap: 8px; align-items: baseline; }
.details-label { font-size: 13px; color: #6b7a89; min-width: 60px; }
.details-value { font-size: 13px; color: #d0dae4; font-weight: 500; }
.player-panel {
  min-width: 0;
  background: #000; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255, 159, 28, 0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.main-player { width: 100%; display: block; }
.player-controls {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 8px;
  background: #0a0e14; border-top: 1px solid rgba(255,255,255,0.06);
}
.ctrl-btn {
  padding: 4px 10px; font-size: 12px; color: #b0becb;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 4px;
  transition: all 0.2s; white-space: nowrap;
}
.ctrl-btn:hover { color: #ffb347; border-color: rgba(255, 159, 28, 0.5); }
.ctrl-btn.active { color: #ff9f1c; border-color: #ff9f1c; background: rgba(255,159,28,0.1); }
.player-panel.theater-mode {
  position: fixed; inset: 0; z-index: 200; border-radius: 0;
  display: flex; flex-direction: column; justify-content: center;
  background: #000;
}
.player-panel.theater-mode .main-player { width: 100%; max-height: 90vh; }
.player-panel.lights-low .main-player { opacity: 0.4; filter: brightness(0.6); }
.timeline-section { margin: 40px 0; }
.timeline-container { overflow-x: auto; padding: 8px 0 12px; }
.timeline-track {
  display: flex; gap: 0; min-width: 900px;
  position: relative; padding-top: 16px;
}
.timeline-track::before {
  content: ""; position: absolute; top: 8px; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, #ff9f1c, #7fb3ff, #ff9f1c);
  opacity: 0.3;
}
.timeline-item {
  flex: 1; position: relative; padding: 0 12px; text-align: center;
}
.timeline-item::before {
  content: ""; position: absolute; top: 2px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: #0b0f17; border: 2px solid #ff9f1c;
  box-shadow: 0 0 8px rgba(255, 159, 28, 0.6);
}
.timeline-timecode {
  display: block; font-family: "SF Mono", Consolas, monospace;
  font-size: 13px; color: #ff9f1c; font-weight: 600; margin-bottom: 4px;
}
.timeline-label {
  font-size: 12px; color: #a8b6c4; line-height: 1.4; display: block;
}
.episodes-section { margin: 40px 0; }
.episodes-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.episode-card {
  display: flex; gap: 10px; padding: 10px 12px;
  background: #0e1622; border-radius: 6px; border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.2s, background 0.2s;
}
.episode-card:hover {
  border-color: rgba(255, 159, 28, 0.4); background: #111a28;
}
.episode-number {
  font-family: "SF Mono", Consolas, monospace; font-size: 18px; font-weight: 700;
  color: #ff9f1c; min-width: 24px; text-align: center; opacity: 0.8;
}
.episode-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.episode-title { font-size: 14px; font-weight: 600; color: #e8eef4; }
.episode-summary {
  font-size: 12px; color: #7d8b99; line-height: 1.4;
  display: none; 
}
.episode-card:hover .episode-summary { display: block; }
.episode-duration {
  font-family: "SF Mono", Consolas, monospace; font-size: 11px; color: #5a6a7a;
}
.comments-section { margin: 40px 0; }
.comments-masonry {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  align-items: start;
}
.comment-card {
  background: #0e1622; border-radius: 8px; padding: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}
.comment-card:nth-child(2) { margin-top: 24px; }
.comment-card:nth-child(3) { margin-top: 8px; }
.comment-card:nth-child(4) { margin-top: 32px; }
.comment-nickname {
  display: block; font-size: 13px; font-weight: 600; color: #ffd166;
  margin-bottom: 6px;
}
.comment-text { font-size: 13px; color: #b0becb; line-height: 1.5; }
.rec-region { margin: 32px 0; }
.rec-scroller {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px 0 12px;
  scrollbar-width: thin; scrollbar-color: #ff9f1c rgba(255,255,255,0.1);
}
.rec-item {
  flex: 0 0 160px; background: #0e1622; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.rec-item:hover { border-color: rgba(255, 159, 28, 0.5); transform: translateY(-2px); }
.rec-item img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  background: #1a2433;
}
.rec-name {
  font-size: 13px; font-weight: 600; color: #e8eef4;
  padding: 8px 10px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rec-blurb {
  font-size: 12px; color: #7d8b99; padding: 0 10px 10px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.site-footer {
  background: #080c12; border-top: 1px solid rgba(255, 159, 28, 0.15);
  margin-top: 48px;
}
.footer-shell {
  max-width: 1400px; margin: 0 auto; padding: 24px 20px 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.disclaimer-text { font-size: 12px; color: #5a6a7a; line-height: 1.6; }
.footer-links { display: flex; gap: 16px; }
.footer-link {
  font-size: 13px; color: #8fa0b0; transition: color 0.2s;
}
.footer-link:hover { color: #ffb347; }
.friend-links {
  display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 16px;
}
.friend-links-label { font-size: 12px; color: #6b7a89; margin-right: 4px; }
.runtime-friend-link {
  font-size: 12px; color: #7d8b99; transition: color 0.2s;
}
.runtime-friend-link:hover { color: #ffd166; }
@media (max-width: 1200px) {.movie-overview-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }
.player-panel { grid-column: 1 / -1; }
.episodes-grid { grid-template-columns: repeat(3, 1fr); }
.comments-masonry { grid-template-columns: repeat(3, 1fr); }
.comment-card:nth-child(2), .comment-card:nth-child(3), .comment-card:nth-child(4) { margin-top: 0; }
.comment-card:nth-child(2) { margin-top: 16px; }
.comment-card:nth-child(4) { margin-top: 16px; }}
@media (max-width: 900px) {.movie-overview-shell { grid-template-columns: 1fr; padding: 16px; }
.overview-poster-panel { max-width: 220px; }
.player-panel { width: 100%; }
.episodes-grid { grid-template-columns: repeat(2, 1fr); }
.comments-masonry { grid-template-columns: repeat(2, 1fr); }
.details-list { grid-template-columns: 1fr; }
.timeline-track { min-width: 700px; }}
@media (max-width: 600px) {.main-content { padding: 16px 12px 32px; }
.header-shell { padding: 8px 12px; gap: 12px; }
.categories-nav { justify-content: flex-start; }
.episodes-grid { grid-template-columns: 1fr; }
.comments-masonry { grid-template-columns: 1fr; }
.comment-card:nth-child(2), .comment-card:nth-child(3), .comment-card:nth-child(4) { margin-top: 0; }
.rec-item { flex-basis: 130px; }
.movie-title { font-size: 22px; }
.timeline-track { min-width: 600px; }
.player-controls { gap: 2px; }
.ctrl-btn { padding: 4px 8px; font-size: 11px; }}
.ctrl-btn.play.active { color: #2ecc71; border-color: #2ecc71; }
.ctrl-btn.mute.active { color: #e74c3c; border-color: #e74c3c; }
.ctrl-btn.theater.active { color: #ff9f1c; background: rgba(255,159,28,0.15); }
.ctrl-btn.light.active { color: #f1c40f; border-color: #f1c40f; }
.ctrl-btn.speed { font-family: "SF Mono", Consolas, monospace; }
.ctrl-btn.progress { font-family: "SF Mono", Consolas, monospace; }
.player-panel.lights-low { background: #000; }
.player-panel.theater-mode .player-controls { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; }
.player-panel { min-width: 0; }
.player-panel .main-player { min-width: 0; }
.player-panel { width: 100%; }

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}
