*, *::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: #05070d;
  color: #c8ccd4;
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 16px 32px;
  background: rgba(5, 7, 13, 0.98);
  border-bottom: 1px solid #1a2230;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #f0f2f5;
  text-decoration: none;
  padding: 4px 0;
  border-left: 4px solid #8a1c1c;
  padding-left: 12px;
  line-height: 1.2;
  white-space: nowrap;
}
.site-brand:hover {
  color: #ffffff;
}
.categories-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.categories-shell .runtime-category {
  color: #7d8590;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 0;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  letter-spacing: 0.03em;
}
.categories-shell .runtime-category:hover {
  color: #e8eaed;
  border-color: #2a3444;
  background: rgba(20, 28, 40, 0.5);
}
main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
.movie-overview-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-areas:
    "poster player"
    "poster title"
    "poster details"
    "poster cast"
    "poster synopsis"
    "poster status";
  gap: 0 28px;
  padding: 32px 0 28px;
  align-items: start;
  position: relative;
}
.movie-overview-shell::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8a1c1c 30%, #2a3444 70%, transparent);
  opacity: 0.6;
}
.poster-frame {
  grid-area: poster;
  width: 220px;
  background: #0b0e14;
  border: 1px solid #1a2230;
  position: relative;
  align-self: start;
}
.poster-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.main-poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}
.player-stage {
  grid-area: player;
  background: #070a10;
  border: 1px solid #1a2230;
  position: relative;
  min-width: 0;
}
.main-player {
  display: block;
  background: #000;
}
.player-controls {
  grid-area: player;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(5, 7, 13, 0.88);
  border: 1px solid #1a2230;
  border-top: none;
  flex-wrap: wrap;
  margin-top: -44px;
  position: relative;
  z-index: 5;
  backdrop-filter: blur(4px);
}
.player-controls button {
  font-size: 0.78rem;
  padding: 4px 8px;
  border: 1px solid #2a3444;
  color: #aab2bd;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.player-controls button:hover {
  color: #e8eaed;
  border-color: #4a5a70;
  background: rgba(30, 40, 55, 0.6);
}
.player-controls input[type="range"] {
  width: 90px;
  height: 4px;
  background: #2a3444;
  border-radius: 0;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: #8a1c1c;
  border: 1px solid #aab2bd;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: #8a1c1c;
  border: 1px solid #aab2bd;
}
.title-tagline-block {
  grid-area: title;
  padding: 20px 0 12px;
  border-bottom: 1px solid #1a2230;
}
.movie-title {
  font-size: 2rem;
  font-weight: 800;
  color: #f0f2f5;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.movie-tagline {
  font-size: 0.95rem;
  color: #7d8590;
  letter-spacing: 0.04em;
}
.detail-panel {
  grid-area: details;
  padding: 16px 0;
  border-bottom: 1px solid #1a2230;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 16px;
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detail-item dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5d6570;
  font-weight: 500;
}
.detail-item dd {
  font-size: 0.9rem;
  color: #c8ccd4;
  font-weight: 500;
}
.cast-grid {
  grid-area: cast;
  padding: 18px 0;
  border-bottom: 1px solid #1a2230;
}
.cast-grid .section-heading {
  margin-bottom: 12px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.cast-grid .section-heading {
  grid-column: 1 / -1;
}
.cast-card {
  background: rgba(15, 20, 30, 0.6);
  border-left: 2px solid #8a1c1c;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: start;
}
.actor-name {
  font-size: 1rem;
  font-weight: 700;
  color: #e0e4ea;
  line-height: 1.3;
}
.actor-role {
  font-size: 0.82rem;
  color: #7d8590;
  line-height: 1.3;
}
.synopsis-block {
  grid-area: synopsis;
  padding: 18px 0;
  border-bottom: 1px solid #1a2230;
}
.synopsis-block .section-heading {
  margin-bottom: 10px;
}
.synopsis-paragraph {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 10px;
  color: #aab2bd;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.episode-status-panel {
  grid-area: status;
  padding: 14px 0 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.total-badge, .current-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 10px;
  letter-spacing: 0.03em;
}
.total-badge {
  background: #1a2230;
  color: #aab2bd;
  border: 1px solid #2a3444;
}
.current-badge {
  background: rgba(138, 28, 28, 0.2);
  color: #e0a0a0;
  border: 1px solid rgba(138, 28, 28, 0.5);
}
.section-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: #e0e4ea;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-heading::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 22px;
  background: #8a1c1c;
  flex-shrink: 0;
}
.timeline-section {
  padding: 32px 0;
  border-top: 1px solid #1a2230;
}
.timeline-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  position: relative;
}
.timeline-entry {
  padding: 14px 18px;
  border-left: 1px solid #2a3444;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
}
.timeline-entry::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 18px;
  width: 9px;
  height: 9px;
  background: #1a2230;
  border: 1px solid #8a1c1c;
  transform: rotate(45deg);
}
.timecode {
  font-size: 0.82rem;
  font-weight: 600;
  color: #8a1c1c;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.event-label {
  font-size: 0.9rem;
  color: #c8ccd4;
  line-height: 1.5;
}
.episodes-section {
  padding: 32px 0;
  border-top: 1px solid #1a2230;
}
.episode-card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.episode-card {
  background: rgba(11, 15, 22, 0.8);
  border: 1px solid #1a2230;
  border-top: 2px solid #2a3444;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
  transition: border-color 0.2s, transform 0.2s;
}
.episode-card:hover {
  border-top-color: #8a1c1c;
  transform: translateY(-2px);
}
.ep-number {
  font-size: 0.8rem;
  font-weight: 800;
  color: #8a1c1c;
  letter-spacing: 0.08em;
}
.ep-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e0e4ea;
  line-height: 1.3;
}
.ep-duration {
  font-size: 0.78rem;
  color: #5d6570;
  font-variant-numeric: tabular-nums;
}
.ep-summary {
  font-size: 0.82rem;
  color: #7d8590;
  line-height: 1.5;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #1a2230;
}
.comments-section {
  padding: 32px 0;
  border-top: 1px solid #1a2230;
}
.comment-scroll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.comment-bubble {
  background: rgba(15, 20, 30, 0.7);
  border: 1px solid #1a2230;
  border-bottom: 3px solid #2a3444;
  padding: 14px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
}
.comment-bubble::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 18px;
  width: 12px;
  height: 12px;
  background: rgba(15, 20, 30, 0.7);
  border-right: 1px solid #1a2230;
  border-bottom: 1px solid #1a2230;
  transform: rotate(45deg);
}
.comment-nick {
  font-size: 0.85rem;
  font-weight: 700;
  color: #aab2bd;
  letter-spacing: 0.02em;
}
.comment-text {
  font-size: 0.9rem;
  color: #c8ccd4;
  line-height: 1.6;
}
.recommendation-region {
  padding: 32px 0;
  border-top: 1px solid #1a2230;
}
.rec-card-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.recommendation-region[data-recommendation-region="1"] .rec-card-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommendation-region[data-recommendation-region="2"] .rec-card-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(11, 15, 22, 0.8);
  border: 1px solid #1a2230;
  padding: 0 0 12px;
  transition: border-color 0.2s, transform 0.2s;
  color: inherit;
  text-decoration: none;
  align-self: start;
}
.rec-card:hover {
  border-color: #3a4a60;
  transform: translateY(-2px);
}
.rec-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0b0e14;
}
.rec-card[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0b0e14;
}
.rec-card span[data-runtime="name"] {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e0e4ea;
  padding: 0 12px;
  line-height: 1.3;
}
.rec-card span[data-runtime="blurb"] {
  font-size: 0.82rem;
  color: #7d8590;
  padding: 0 12px;
  line-height: 1.5;
}
footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  border-top: 1px solid #1a2230;
  background: rgba(5, 7, 13, 0.9);
}
.footer-disclaimer {
  font-size: 0.8rem;
  color: #5d6570;
  line-height: 1.6;
  padding: 14px 0;
  border-bottom: 1px solid #1a2230;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
}
.footer-nav a {
  font-size: 0.9rem;
  color: #7d8590;
  text-decoration: none;
  transition: color 0.2s;
  padding: 4px 0;
}
.footer-nav a:hover {
  color: #e0e4ea;
}
.friend-links {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  padding-top: 10px;
}
.friend-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #aab2bd;
  white-space: nowrap;
}
.runtime-friend-link {
  font-size: 0.85rem;
  color: #7d8590;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.2s, border-color 0.2s;
  padding: 2px 0;
}
.runtime-friend-link:hover {
  color: #e0e4ea;
  border-bottom-color: #8a1c1c;
}
.theater-mode {
  background: #000;
}
.theater-mode main {
  max-width: 100%;
  padding: 0 8px;
}
.theater-mode .movie-overview-shell {
  grid-template-columns: 1fr;
  grid-template-areas:
    "player"
    "title"
    "details"
    "cast"
    "synopsis"
    "status";
  gap: 0;
}
.theater-mode .poster-frame {
  display: none;
}
.theater-mode .player-stage {
  border: none;
}
.lights-off {
  background: #020304;
}
.lights-off .movie-overview-shell, .lights-off .timeline-section, .lights-off .episodes-section, .lights-off .comments-section, .lights-off .recommendation-region {
  border-color: #0a0f16;
}
@media (max-width: 1200px) {.detail-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-card-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommendation-region[data-recommendation-region="1"] .rec-card-row, .recommendation-region[data-recommendation-region="3"] .rec-card-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.comment-scroll {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 992px) {.movie-overview-shell {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 0 20px;
  }
.poster-frame {
    width: 180px;
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommendation-region[data-recommendation-region="1"] .rec-card-row, .recommendation-region[data-recommendation-region="3"] .rec-card-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-scroll {
    grid-template-columns: 1fr;
  }}
@media (max-width: 768px) {header {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
.categories-shell {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
main {
    padding: 0 16px;
  }
.movie-overview-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "player"
      "title"
      "details"
      "cast"
      "synopsis"
      "status";
    gap: 0;
  }
.poster-frame {
    display: none;
  }
.player-controls {
    margin-top: 0;
    border-top: 1px solid #1a2230;
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-container {
    grid-template-columns: 1fr;
  }
.episode-card-row {
    grid-template-columns: 1fr;
  }
.recommendation-region[data-recommendation-region="1"] .rec-card-row, .recommendation-region[data-recommendation-region="2"] .rec-card-row, .recommendation-region[data-recommendation-region="3"] .rec-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-scroll {
    grid-template-columns: 1fr;
  }
.rec-card img {
    aspect-ratio: 16 / 10;
  }
.player-controls {
    flex-wrap: wrap;
  }
.player-controls input[type="range"] {
    width: 70px;
  }}
@media (max-width: 480px) {main {
    padding: 0 12px;
  }
.movie-title {
    font-size: 1.6rem;
  }
.detail-list {
    grid-template-columns: 1fr;
  }
.cast-grid {
    grid-template-columns: 1fr;
  }
.recommendation-region[data-recommendation-region="1"] .rec-card-row, .recommendation-region[data-recommendation-region="2"] .rec-card-row, .recommendation-region[data-recommendation-region="3"] .rec-card-row {
    grid-template-columns: 1fr;
  }
.player-controls {
    gap: 6px;
  }
.player-controls button {
    font-size: 0.72rem;
    padding: 3px 6px;
  }
.player-controls input[type="range"] {
    width: 60px;
  }
.episode-card-row {
    grid-template-columns: 1fr;
  }
.timeline-entry {
    padding-left: 14px;
  }}
.main-player.is-muted {
  opacity: 0.9;
}
.player-controls .play {
  color: #e0e4ea;
}
.player-controls .mute {
  color: #e0e4ea;
}
.player-controls .fullscreen {
  color: #e0e4ea;
}
.player-controls .theater {
  color: #e0e4ea;
}
.player-controls .light {
  color: #e0e4ea;
}
.player-controls .pip {
  color: #e0e4ea;
}
.player-controls .speed {
  color: #e0e4ea;
}
.player-controls .volume {
  color: #e0e4ea;
}
.player-controls .progress {
  color: #e0e4ea;
}
.player-controls .is-muted {
  color: #8a1c1c;
  border-color: #8a1c1c;
}
.player-stage.click .main-player {
  cursor: none;
}
.player-stage.player .main-player {
  outline: 1px solid rgba(138, 28, 28, 0.3);
}
.player-stage.theater .main-player {
  width: 100%;
}
.player-stage.fullscreen .main-player {
  width: 100%;
  height: 100%;
}
.player-stage.pip .main-player {
  width: 100%;
}
.player-stage.light .main-player {
  filter: brightness(1.05);
}
.player-stage.input .main-player {
  cursor: pointer;
}
.timeline-entry:nth-child(odd) {
  background: rgba(8, 12, 18, 0.4);
}
.episode-card:nth-child(3n) {
  border-top-color: #8a1c1c;
}
.cast-card::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #2a3444;
  margin-bottom: 6px;
}
.timeline-entry:first-child {
  border-left-color: #8a1c1c;
}
.timeline-entry:first-child::before {
  background: #8a1c1c;
}
.comment-bubble:nth-child(even) {
  border-bottom-color: #8a1c1c;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection {
  background: rgba(138, 28, 28, 0.7);
  color: #ffffff;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #05070d;
}
::-webkit-scrollbar-thumb {
  background: #1a2230;
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: #2a3444;
}

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}
