*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 14px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #faf6f0;
  color: #3d3a36;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
  line-height: 1.5;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  background: #faf6f0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e8e0d6;
}
header a[data-contract="site-name"] {
  color: #8c3b2e;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
header a[data-contract="site-name"]:hover {
  color: #6e2e24;
  text-decoration: underline;
}
nav[data-contract="categories"] {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  overflow-x: auto;
  scrollbar-width: none;
}
nav[data-contract="categories"]::-webkit-scrollbar {
  display: none;
}
a.runtime-category {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: #efe9e1;
  border-radius: 999px;
  color: #5a534a;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
a.runtime-category:hover, a.runtime-category:focus {
  background: #8c3b2e;
  color: #faf6f0;
}
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem 2.5rem;
}
.movie-hero {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 1.75rem;
  background: #fdfbf8;
  border: 1px solid #e8e0d6;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: start;
}
.hero-poster-wrapper {
  border-radius: 12px;
  overflow: hidden;
  background: #e8e0d6;
}
.hero-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}
.movie-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #2e2a27;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.tagline {
  font-size: 1.1rem;
  color: #8c3b2e;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.03em;
}
.cast-block {
  border-top: 1px solid #eee5dc;
  padding-top: 0.75rem;
}
.section-subhead {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8c3b2e;
  margin-bottom: 0.4rem;
}
.actor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
}
.actor-chip {
  background: #f1ece6;
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-size: 0.85rem;
  color: #4a443f;
}
.actor-chip .actor-name {
  font-weight: 500;
}
.synopsis-block {
  border-top: 1px solid #eee5dc;
  padding-top: 0.75rem;
}
.synopsis-paragraph {
  font-size: 0.9rem;
  color: #5a534a;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.episode-status-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-top: 1px solid #eee5dc;
  padding-top: 0.75rem;
}
.episode-count {
  background: #8c3b2e;
  color: #faf6f0;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.episode-current {
  font-size: 0.85rem;
  color: #5a534a;
  background: #efe9e1;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}
.details-block {
  border-top: 1px solid #eee5dc;
  padding-top: 0.75rem;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1rem;
}
.detail-item {
  display: flex;
  gap: 0.4rem;
  font-size: 0.82rem;
  min-width: 0;
}
.detail-item dt {
  color: #8a827a;
  flex-shrink: 0;
}
.detail-item dt::after {
  content: "：";
}
.detail-item dd {
  color: #3d3a36;
  font-weight: 500;
  overflow-wrap: break-word;
  min-width: 0;
}
.player-shell {
  margin-bottom: 1.5rem;
  background: #1a1815;
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
}
.player-shell video {
  display: block;
  background: #111;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  background: #2a2622;
}
.player-controls button {
  color: #e5ddd4;
  background: #3d3833;
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-size: 0.8rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.player-controls button:hover {
  background: #8c3b2e;
  color: #faf6f0;
}
.player-shell.theater-mode {
  border-radius: 0;
}
body.light-mode .player-shell {
  opacity: 0.2;
  transition: opacity 0.3s ease;
}
body.light-mode .player-shell:hover {
  opacity: 1;
}
.cast-section {
  margin-bottom: 2rem;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #2e2a27;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
  position: relative;
  padding-left: 0.8rem;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  background: #8c3b2e;
  border-radius: 2px;
}
.actor-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.actor-card {
  background: #fdfbf8;
  border: 1px solid #e8e0d6;
  border-radius: 12px;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.actor-card:hover {
  border-color: #cbb9a8;
  box-shadow: 0 2px 8px rgba(60, 45, 30, 0.08);
}
.avatar-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8c4ae 0%, #b09a82 100%);
  border: 3px solid #fdfbf8;
  box-shadow: 0 1px 4px rgba(60, 45, 30, 0.15);
  position: relative;
  overflow: hidden;
}
.avatar-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
}
.actor-card .actor-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #3d3a36;
}
.episodes-section {
  margin-bottom: 2rem;
}
.episode-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #cbb9a8 transparent;
}
.episode-scroll::-webkit-scrollbar {
  height: 6px;
}
.episode-scroll::-webkit-scrollbar-thumb {
  background: #cbb9a8;
  border-radius: 3px;
}
.episode-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.episode-card {
  background: #fdfbf8;
  border: 1px solid #e8e0d6;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  scroll-snap-align: start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.episode-card:hover {
  border-color: #cbb9a8;
  transform: translateY(-2px);
}
.episode-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #e0d5c8;
  line-height: 1;
}
.episode-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2e2a27;
}
.episode-summary {
  font-size: 0.82rem;
  color: #6b635b;
  line-height: 1.5;
  flex-grow: 1;
}
.episode-duration {
  font-size: 0.75rem;
  color: #8a827a;
  background: #f1ece6;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  align-self: flex-start;
}
.timeline-section {
  margin-bottom: 2rem;
}
.timeline-curve {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 1.8rem;
}
.timeline-curve::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #8c3b2e 0%, #cbb9a8 60%, #e8e0d6 100%);
  border-radius: 2px;
}
.timeline-node {
  position: relative;
  background: #fdfbf8;
  border: 1px solid #e8e0d6;
  border-radius: 12px;
  padding: 0.75rem 1rem;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -1.8rem;
  top: 0.9rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #8c3b2e;
  border: 2px solid #faf6f0;
  box-shadow: 0 0 0 2px #8c3b2e;
}
.timecode {
  font-size: 0.8rem;
  font-weight: 700;
  color: #8c3b2e;
  background: #f1ece6;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 0.3rem;
}
.event-label {
  font-size: 0.88rem;
  color: #4a443f;
  line-height: 1.5;
}
.comments-section {
  margin-bottom: 2rem;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.comment-card {
  background: #fdfbf8;
  border: 1px solid #e8e0d6;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.comment-nickname {
  font-size: 0.85rem;
  font-weight: 700;
  color: #8c3b2e;
}
.comment-text {
  font-size: 0.85rem;
  color: #5a534a;
  line-height: 1.55;
}
.recommendation-section {
  margin-bottom: 2rem;
}
.recommendation-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #2e2a27;
  margin-bottom: 0.75rem;
  padding-left: 0.8rem;
  position: relative;
}
.recommendation-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  background: #8c3b2e;
  border-radius: 2px;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
a[data-runtime="recommendation"] {
  background: #fdfbf8;
  border: 1px solid #e8e0d6;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #3d3a36;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
a[data-runtime="recommendation"]:hover, a[data-runtime="recommendation"]:focus {
  border-color: #cbb9a8;
  box-shadow: 0 3px 10px rgba(60, 45, 30, 0.1);
  transform: translateY(-2px);
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e8e0d6;
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.6rem 0.75rem 0.15rem;
  color: #2e2a27;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.8rem;
  color: #6b635b;
  padding: 0 0.75rem 0.75rem;
  line-height: 1.5;
}
footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid #e8e0d6;
  background: #f1ece6;
}
footer div[data-contract="disclaimer"] {
  font-size: 0.8rem;
  color: #8a827a;
  line-height: 1.6;
  margin-bottom: 1rem;
}
nav[data-contract="friend-links"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  margin-bottom: 1rem;
}
.friend-links-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #5a534a;
}
a.runtime-friend-link {
  font-size: 0.82rem;
  color: #7a6a5c;
  text-decoration: none;
  transition: color 0.2s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus {
  color: #8c3b2e;
  text-decoration: underline;
}
.footer-links {
  display: flex;
  gap: 1rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: #5a534a;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover, .footer-links a:focus {
  color: #8c3b2e;
  text-decoration: underline;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #5a534a;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #8c3b2e;
  text-decoration: underline;
}
@media (max-width: 900px) {.movie-hero {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
.hero-poster-wrapper {
    max-width: 320px;
  }
.actor-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {main {
    padding: 0.75rem 1rem 2rem;
  }
header {
    padding: 0.5rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
nav[data-contract="categories"] {
    justify-content: flex-start;
    width: 100%;
  }
.movie-hero {
    padding: 1rem;
    border-radius: 12px;
  }
.movie-title {
    font-size: 1.35rem;
  }
.tagline {
    font-size: 1rem;
  }
.player-controls {
    padding: 0.4rem 0.5rem;
    gap: 0.25rem;
  }
.player-controls button {
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
  }
.section-title {
    font-size: 1.15rem;
  }
.episode-scroll {
    grid-auto-columns: minmax(180px, 240px);
  }
.comments-grid {
    grid-template-columns: 1fr;
  }
.recommendation-grid {
    grid-template-columns: 1fr;
  }
.detail-list {
    grid-template-columns: 1fr;
  }
.timeline-curve {
    padding-left: 1.5rem;
  }
.timeline-node::before {
    left: -1.5rem;
  }}
@media (max-width: 420px) {.actor-cards {
    grid-template-columns: 1fr;
  }
.episode-scroll {
    grid-auto-columns: 200px;
  }
.recommendation-grid {
    grid-template-columns: 1fr;
  }
.player-controls {
    gap: 0.2rem;
  }}
.player-shell.theater-mode video {
  border-radius: 0;
}
body.light-mode {
  background: #f1ece6;
}
body.light-mode main {
  filter: brightness(0.95);
}
.player-shell .play, .player-shell .progress, .player-shell .volume, .player-shell .mute, .player-shell .speed, .player-shell .pip, .player-shell .fullscreen, .player-shell .theater, .player-shell .light, .player-shell .click, .player-shell .player {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.player-shell .play::before {
  content: "▶";
  font-size: 0.7em;
}
.player-shell .progress::before {
  content: "⏱";
  font-size: 0.9em;
}
.player-shell .volume::before {
  content: "🔊";
  font-size: 0.8em;
}
.player-shell .mute::before {
  content: "🔇";
  font-size: 0.8em;
}
.player-shell .speed::before {
  content: "×";
  font-size: 0.9em;
}
.player-shell .pip::before {
  content: "⧉";
  font-size: 0.9em;
}
.player-shell .fullscreen::before {
  content: "⛶";
  font-size: 0.9em;
}
.player-shell .theater::before {
  content: "▭";
  font-size: 0.9em;
}
.player-shell .light::before {
  content: "◐";
  font-size: 0.9em;
}

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}
