*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #1a1d21;
  color: #cfd2d6;
  line-height: 1.6;
  min-height: 100vh;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 1px solid #2a2e33;
  background: #14171a;
  position: sticky;
  top: 0;
  z-index: 100;
}
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
footer {
  border-top: 1px solid #2a2e33;
  padding: 24px 20px 32px;
  background: #14171a;
  margin-top: 40px;
}
.site-logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #c9a86a;
  color: #d4af6a;
  text-decoration: none;
  white-space: nowrap;
}
.site-logo:hover { color: #e8c88a; }
.categories-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.85rem;
  color: #aab0b6;
  border: 1px solid #3a3f45;
  border-radius: 3px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
}
a.runtime-category:hover {
  color: #d4af6a;
  border-color: #d4af6a;
  background: rgba(212, 175, 106, 0.08);
}
.movie-overview-panel {
  background: #1e2226;
  border: 1px solid #2a2e33;
  border-radius: 6px;
  margin: 24px 0 32px;
  padding: 0;
  overflow: hidden;
}
.hero-poster-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #14171a;
}
.main-poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 20%;
  max-height: 70vh;
}
.tagline-block {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 32px 28px;
  background: linear-gradient(to top, rgba(10, 12, 14, 0.95) 0%, rgba(10, 12, 14, 0.6) 60%, transparent 100%);
  color: #e8e6e3;
}
.movie-title {
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: #f0ede8;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.tagline-text {
  font-size: 1.05rem;
  color: #d4af6a;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.movie-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 0;
  padding: 20px 24px;
  background: #1e2226;
}
.movie-info-grid > * {
  padding: 8px 16px;
}
.movie-info-grid > * + * {
  border-left: 1px solid #2a2e33;
}
.cast-panel .section-subtitle {
  font-size: 0.9rem;
  color: #d4af6a;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.actor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.actor-item {
  display: inline-flex;
  align-items: center;
}
.actor-name {
  font-size: 0.95rem;
  color: #cfd2d6;
  padding: 3px 10px;
  border: 1px solid #3a3f45;
  border-radius: 20px;
  transition: all 0.2s;
}
.actor-item:hover .actor-name {
  border-color: #d4af6a;
  color: #d4af6a;
}
.synopsis-panel {
  align-self: start;
}
.synopsis-panel .section-subtitle {
  font-size: 0.9rem;
  color: #d4af6a;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.vertical-layout .synopsis-paragraph {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #b8bdc4;
  margin-bottom: 10px;
  writing-mode: horizontal-tb;
  text-align: justify;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.episode-status-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
}
.total-episodes {
  font-size: 1.1rem;
  font-weight: 700;
  color: #d4af6a;
  border-bottom: 2px solid #d4af6a;
  padding-bottom: 2px;
}
.current-episode {
  font-size: 0.85rem;
  color: #9aa0a6;
  background: #2a2e33;
  padding: 2px 10px;
  border-radius: 3px;
}
.details-panel {
  grid-column: 1 / -1;
  border-top: 1px solid #2a2e33;
  margin-top: 16px;
  padding-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px 16px;
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detail-label {
  font-size: 0.75rem;
  color: #7a8087;
  letter-spacing: 0.06em;
}
.detail-value {
  font-size: 0.9rem;
  color: #d4d6d8;
}
.player-wrapper {
  width: 100%;
  background: #14171a;
  border-top: 1px solid #2a2e33;
  padding: 0;
}
.player-wrapper video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 16px;
  background: #1a1d21;
  border-top: 1px solid #2a2e33;
}
.player-controls button {
  font-size: 0.8rem;
  padding: 4px 12px;
  color: #aab0b6;
  border: 1px solid #3a3f45;
  border-radius: 3px;
  transition: all 0.2s;
}
.player-controls button:hover {
  color: #d4af6a;
  border-color: #d4af6a;
}
.player-controls button:active { background: rgba(212,175,106,0.15); }
.player-wrapper.theater-mode {
  max-width: 100%;
}
.player-wrapper.theater-mode video {
  aspect-ratio: 16 / 9;
}
body.light-off main {
  opacity: 0.85;
}
body.light-off .player-wrapper {
  box-shadow: 0 0 80px rgba(212, 175, 106, 0.15);
}
.section-title {
  font-family: "Noto Serif SC", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #e0dcd6;
  letter-spacing: 0.1em;
  margin: 40px 0 20px;
  padding-left: 14px;
  border-left: 4px solid #d4af6a;
  position: relative;
}
.section-subtitle {
  font-family: "Noto Serif SC", serif;
}
.timeline-section {
  margin-bottom: 32px;
}
.timeline-track {
  display: flex;
  gap: 0;
  margin-top: 20px;
  position: relative;
  padding: 20px 0 8px;
  overflow-x: auto;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  height: 2px;
  background: linear-gradient(to right, #3a3f45, #d4af6a, #3a3f45);
  opacity: 0.6;
}
.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 140px;
  position: relative;
  text-align: center;
  padding: 0 8px;
}
.timeline-node::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d4af6a;
  border: 2px solid #1a1d21;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  box-shadow: 0 0 0 2px #1a1d21, 0 0 12px rgba(212,175,106,0.3);
}
.timecode {
  font-size: 0.85rem;
  font-weight: 700;
  color: #d4af6a;
  margin-bottom: 4px;
}
.timeline-label {
  font-size: 0.8rem;
  color: #aab0b6;
  line-height: 1.4;
}
.episodes-section { margin-bottom: 32px; }
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.episode-card {
  background: #1e2226;
  border: 1px solid #2a2e33;
  border-radius: 4px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s;
}
.episode-card:hover {
  border-color: #d4af6a;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.episode-number {
  font-size: 0.85rem;
  color: #d4af6a;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.episode-title {
  font-size: 1rem;
  color: #e0dcd6;
  font-family: "Noto Serif SC", serif;
  font-weight: 600;
}
.episode-summary {
  font-size: 0.82rem;
  color: #9aa0a6;
  line-height: 1.5;
}
.episode-duration {
  font-size: 0.75rem;
  color: #7a8087;
  margin-top: 4px;
  border-top: 1px solid #2a2e33;
  padding-top: 6px;
}
.comments-section { margin-bottom: 32px; }
.comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.comment-card {
  background: #1e2226;
  border: 1px solid #2a2e33;
  border-radius: 4px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s;
}
.comment-card:hover { border-color: #3a3f45; }
.comment-nickname {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d4af6a;
}
.comment-text {
  font-size: 0.85rem;
  color: #b8bdc4;
  line-height: 1.5;
}
.recommendation-region {
  margin-bottom: 36px;
}
.data-recommendation-title {
  font-family: "Noto Serif SC", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #e0dcd6;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 4px solid #d4af6a;
}
.recommendation-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
a.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 200px;
  min-width: 160px;
  max-width: 260px;
  background: #1e2226;
  border: 1px solid #2a2e33;
  border-radius: 4px;
  padding: 10px;
  color: #cfd2d6;
  text-decoration: none;
  transition: all 0.2s;
}
a.recommendation-card:hover {
  border-color: #d4af6a;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  background: #14171a;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e0dcd6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.78rem;
  color: #9aa0a6;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.footer-disclaimer {
  font-size: 0.8rem;
  color: #7a8087;
  line-height: 1.6;
  margin-bottom: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #2a2e33;
}
.footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}
a[data-contract="footer-home"] {
  font-size: 0.85rem;
  color: #aab0b6;
  text-decoration: none;
  transition: color 0.2s;
}
a[data-contract="footer-home"]:hover { color: #d4af6a; }
a[data-contract="footer-sitemap"] {
  font-size: 0.85rem;
  color: #aab0b6;
  text-decoration: none;
  transition: color 0.2s;
}
a[data-contract="footer-sitemap"]:hover { color: #d4af6a; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.friend-links-title {
  font-size: 0.85rem;
  color: #7a8087;
  margin-right: 8px;
}
a.runtime-friend-link {
  font-size: 0.8rem;
  color: #9aa0a6;
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
a.runtime-friend-link:hover {
  color: #d4af6a;
  border-bottom-color: #d4af6a;
}
@media (max-width: 1100px) {.movie-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 0;
  }
.movie-info-grid > * + * { border-left: none; }
.movie-info-grid > * { padding: 8px 8px; }
.details-panel {
    grid-column: 1 / -1;
    border-top: 1px solid #2a2e33;
    margin-top: 12px;
    padding-top: 12px;
  }
.episode-status-panel {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }}
@media (max-width: 768px) {header {
    padding: 10px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
.categories-container {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
.movie-info-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }
.movie-info-grid > * + * {
    border-left: none;
    border-top: 1px solid #2a2e33;
    padding-top: 16px;
    margin-top: 4px;
  }
.details-panel {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
  }
.hero-poster-wrapper .tagline-block {
    padding: 24px 16px 16px;
  }
.movie-title {
    font-size: 1.4rem;
  }
.tagline-text {
    font-size: 0.9rem;
  }
.main-poster-img {
    max-height: 55vh;
  }
.timeline-track {
    padding-bottom: 4px;
  }
.timeline-node {
    min-width: 120px;
  }
.episode-list {
    grid-template-columns: 1fr;
  }
.comments-grid {
    grid-template-columns: 1fr;
  }
.recommendation-row {
    gap: 12px;
  }
a.recommendation-card {
    flex: 1 1 40%;
    min-width: 140px;
  }
.player-controls {
    padding: 6px 8px;
    gap: 2px;
  }
.player-controls button {
    padding: 4px 8px;
    font-size: 0.72rem;
  }}
@media (max-width: 480px) {main {
    padding: 0 12px;
  }
.movie-overview-panel {
    margin: 12px 0 20px;
  }
.section-title {
    font-size: 1.2rem;
    margin: 28px 0 16px;
  }
.data-recommendation-title {
    font-size: 1.1rem;
  }
.actor-list {
    gap: 6px 10px;
  }
.episode-card {
    padding: 12px;
  }
a.recommendation-card {
    flex: 1 1 100%;
    max-width: none;
  }
.footer-links {
    flex-wrap: wrap;
    gap: 12px;
  }
.friend-links {
    gap: 6px 12px;
  }
.player-wrapper {
    min-width: 0;
  }
.player-wrapper video {
    min-width: 0;
  }}

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}
