*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 14px; scroll-behavior: smooth; }
body {
  background: #0b0e11;
  color: #c9d1d9;
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }
input[type="range"] { width: 100%; }
main { max-width: 1600px; margin: 0 auto; padding: 0 1rem; }
header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.5rem;
  background: rgba(11,14,17,0.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid #1c2128;
}
footer { max-width: 1600px; margin: 2rem auto 0; padding: 1.5rem 1.5rem 2.5rem; }
.section-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e6edf3;
  border-left: 4px solid #ff6b35;
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}
.section-subheading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff6b35;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}
.brand-link {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ff6b35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.brand-link:hover { color: #ff8c5a; text-decoration: none; }
.category-nav {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 70%;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  color: #8b949e;
  border: 1px solid #21262d;
  border-radius: 2rem;
  transition: all 0.2s;
  background: #161b22;
}
.runtime-category:hover {
  color: #ff6b35;
  border-color: #ff6b35;
  background: rgba(255,107,53,0.1);
  text-decoration: none;
}
.hero-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding: 1.5rem 0;
  align-items: start;
}
.movie-overview {
  background: #0f1419;
  border: 1px solid #1c2128;
  border-radius: 8px;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 1.2rem;
  row-gap: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.poster-wrapper {
  grid-row: 1 / span 3;
  align-self: start;
  max-width: 180px;
}
.main-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 0 0 1px #30363d, 0 8px 24px rgba(0,0,0,0.6);
}
.title-tagline-group { grid-column: 2; }
.movie-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #f0f6fc;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}
.tagline {
  color: #ff6b35;
  font-size: 0.95rem;
  font-style: italic;
  font-family: Georgia, serif;
}
.details-panel {
  grid-column: 2;
  border-top: 1px solid #21262d;
  border-bottom: 1px solid #21262d;
  padding: 0.6rem 0;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem 1rem;
}
.detail-list li {
  display: flex;
  gap: 0.4rem;
  font-size: 0.85rem;
  align-items: baseline;
}
.detail-label {
  color: #8b949e;
  min-width: 3.5em;
  white-space: nowrap;
}
.detail-value {
  color: #e6edf3;
  font-weight: 600;
}
.cast-grid {
  grid-column: 2;
  padding-top: 0.4rem;
}
.cast-grid .section-subheading { font-size: 0.95rem; margin-bottom: 0.4rem; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.4rem;
}
.actor-card {
  background: #161b22;
  border: 1px solid #21262d;
  border-radius: 4px;
  padding: 0.4rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  transition: border-color 0.2s;
}
.actor-card:hover { border-color: #ff6b35; }
.actor-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e6edf3;
  font-family: Georgia, serif;
}
.actor-role {
  font-size: 0.75rem;
  color: #8b949e;
}
.synopsis-block {
  grid-column: 1 / -1;
  border-top: 1px solid #21262d;
  padding-top: 0.8rem;
}
.synopsis-block p {
  font-size: 0.9rem;
  color: #b1bac4;
  margin-bottom: 0.4rem;
  max-width: 65ch;
}
.synopsis-block p:last-child { margin-bottom: 0; }
.episode-status-panel {
  grid-column: 1 / -1;
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  padding-top: 0.8rem;
  border-top: 1px solid #21262d;
  font-size: 0.85rem;
}
.episode-number-label { color: #ff6b35; font-weight: 700; }
.current-episode-label { color: #e6edf3; font-weight: 600; }
.episode-progress { color: #8b949e; }
.player-shell {
  position: relative;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #1c2128;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}
.player-shell video {
  width: 100%;
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  background: rgba(0,0,0,0.85);
  border-top: 1px solid #21262d;
  flex-wrap: wrap;
}
.player-controls button {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  background: #21262d;
  color: #c9d1d9;
  transition: background 0.2s;
}
.player-controls button:hover { background: #ff6b35; color: #000; }
.player-controls input[type="range"] {
  flex: 1;
  min-width: 80px;
  accent-color: #ff6b35;
  height: 4px;
}
body.light-off main, body.light-off header, body.light-off footer {
  filter: brightness(0.25) saturate(0.8);
  transition: filter 0.4s;
}
body.light-off .player-shell { filter: brightness(1.2); }
.timeline-section {
  padding: 1.5rem 0 0.5rem;
}
.timeline-horizontal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
  position: relative;
  padding-top: 1rem;
}
.timeline-horizontal::before {
  content: "";
  position: absolute;
  top: 0.2rem; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, #ff6b35, #4a5568);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding: 0.2rem 0.6rem 0 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: -0.75rem; left: 0;
  width: 10px; height: 10px;
  background: #ff6b35;
  border-radius: 50%;
  border: 2px solid #0b0e11;
}
.timecode {
  display: block;
  font-family: Georgia, serif;
  font-weight: 700;
  color: #ff6b35;
  font-size: 0.95rem;
}
.timeline-label {
  font-size: 0.8rem;
  color: #b1bac4;
  display: block;
  margin-top: 0.2rem;
}
.episodes-section {
  padding: 1rem 0;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.5rem;
}
.episode-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  background: #0f1419;
  border: 1px solid #1c2128;
  border-radius: 4px;
  align-items: baseline;
}
.episode-number {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ff6b35;
  grid-row: 1 / span 2;
  align-self: center;
}
.episode-title {
  font-weight: 700;
  color: #e6edf3;
  font-size: 0.95rem;
}
.episode-duration {
  color: #8b949e;
  font-size: 0.75rem;
  justify-self: end;
}
.episode-summary {
  grid-column: 2 / -1;
  font-size: 0.8rem;
  color: #8b949e;
  margin-top: 0.1rem;
}
.comments-section {
  padding: 1rem 0;
}
.comments-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.6rem;
  align-items: start;
}
.comment-card {
  background: #0f1419;
  border: 1px solid #1c2128;
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: border-color 0.2s;
}
.comment-card:hover { border-color: #ff6b35; }
.comment-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ff6b35;
  font-family: Georgia, serif;
}
.comment-text {
  font-size: 0.85rem;
  color: #b1bac4;
  line-height: 1.4;
}
.recommendation-region {
  padding: 1rem 0 0.5rem;
}
.recommendation-region .section-heading {
  margin-bottom: 0.8rem;
}
.recommendation-row {
  display: flex;
  overflow-x: auto;
  gap: 0.8rem;
  padding-bottom: 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: #30363d #0f1419;
}
.recommendation-row::-webkit-scrollbar { height: 6px; }
.recommendation-row::-webkit-scrollbar-track { background: #0f1419; }
.recommendation-row::-webkit-scrollbar-thumb { background: #30363d; border-radius: 3px; }
a[data-runtime="recommendation"] {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem;
  background: #0f1419;
  border: 1px solid #1c2128;
  border-radius: 6px;
  transition: transform 0.2s, border-color 0.2s;
  text-decoration: none;
}
a[data-runtime="recommendation"]:hover {
  transform: translateY(-3px);
  border-color: #ff6b35;
  text-decoration: none;
}
a[data-runtime="recommendation"] img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  background: #161b22;
}
a[data-runtime="recommendation"] span[data-runtime="name"] {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e6edf3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a[data-runtime="recommendation"] span[data-runtime="blurb"] {
  font-size: 0.7rem;
  color: #8b949e;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: #0f1419;
  border-top: 1px solid #1c2128;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}
.disclaimer {
  font-size: 0.75rem;
  color: #8b949e;
  line-height: 1.6;
  max-width: 60ch;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: flex-end;
}
.friend-links-label {
  font-size: 0.75rem;
  color: #8b949e;
  white-space: nowrap;
}
.runtime-friend-link {
  font-size: 0.8rem;
  color: #c9d1d9;
  text-decoration: none;
  border-bottom: 1px dotted #30363d;
  padding-bottom: 1px;
  transition: color 0.2s;
}
.runtime-friend-link:hover {
  color: #ff6b35;
  border-bottom-color: #ff6b35;
  text-decoration: none;
}
.footer-links {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding-top: 0.8rem;
  border-top: 1px solid #1c2128;
}
.footer-links a {
  font-size: 0.8rem;
  color: #8b949e;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #ff6b35;
  text-decoration: underline;
}
.player-controls.theater-mode {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(0,0,0,0.95);
}
body.light-off { background: #000; }
@media (max-width: 1100px) {.hero-screen {
    grid-template-columns: 1fr;
  }
.movie-overview {
    grid-template-columns: 140px minmax(0, 1fr);
  }
.poster-wrapper { max-width: 140px; }
.player-shell { grid-row: 2; }}
@media (max-width: 768px) {html { font-size: 13px; }
header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
  }
.category-nav { max-width: 100%; }
.movie-overview {
    grid-template-columns: 1fr;
    padding: 0.8rem;
  }
.poster-wrapper {
    grid-row: auto;
    max-width: 200px;
    margin: 0 auto;
  }
.title-tagline-group, .details-panel, .cast-grid, .synopsis-block, .episode-status-panel {
    grid-column: 1;
  }
.detail-list { grid-template-columns: 1fr; }
.episode-status-panel { flex-wrap: wrap; }
.timeline-horizontal {
    grid-template-columns: 1fr;
    padding-left: 1.2rem;
  }
.timeline-horizontal::before {
    left: 0.3rem; top: 0;
    width: 3px; height: 100%;
  }
.timeline-item::before {
    left: -1.1rem; top: 0.4rem;
  }
.episode-list { grid-template-columns: 1fr; }
.comments-masonry { grid-template-columns: 1fr; }
.recommendation-row { overflow-x: scroll; }
a[data-runtime="recommendation"] { flex-basis: 140px; }
.site-footer {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
.friend-links { justify-content: flex-start; }
.footer-links { flex-direction: column; align-items: center; }}
@media (max-width: 480px) {.movie-title { font-size: 1.2rem; }
.tagline { font-size: 0.8rem; }
.detail-list { font-size: 0.8rem; }
.player-controls button { font-size: 0.65rem; padding: 0.15rem 0.4rem; }
a[data-runtime="recommendation"] { flex-basis: 120px; }
a[data-runtime="recommendation"] img { height: 80px; }}
.player-shell { min-width: 480px; }
@media (max-width: 520px) {.player-shell { min-width: 0; width: 100%; }}
a[data-contract="site-name"], a.runtime-category, a[data-runtime="recommendation"], a.runtime-friend-link, a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  text-decoration: none;
}
a[data-contract="site-name"] { color: #ff6b35; }
a[data-contract="site-name"]:hover { color: #ff8c5a; }
a.runtime-category { color: #8b949e; }
a.runtime-category:hover { color: #ff6b35; text-decoration: none; }
a[data-runtime="recommendation"] { color: inherit; }
a[data-runtime="recommendation"]:hover { text-decoration: none; }
a.runtime-friend-link { color: #c9d1d9; }
a.runtime-friend-link:hover { color: #ff6b35; text-decoration: none; }
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] { color: #8b949e; }
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover { color: #ff6b35; text-decoration: underline; }
.player .click, .player .progress, .player .timeupdate {
  
}
.player .click:active { opacity: 0.8; }
.player .progress { accent-color: #ff6b35; }
.player .timeupdate { color: #ff6b35; }
.theater-mode .player-controls { background: #000; }
.light-off { background: #000 !important; }

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}
