*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: #f8f5f2;
  color: #3a3a3a;
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-weight: 600; }
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 24px;
  background: #fff;
  border-bottom: 1px solid #e8e2dc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
a[data-contract="site-name"] {
  font-size: 20px;
  font-weight: 700;
  color: #d4739a;
  letter-spacing: 1px;
}
a[data-contract="site-name"]:hover { color: #c05e85; text-decoration: underline; }
nav[data-contract="categories"] {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.runtime-category {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  background: #f0e9e4;
  color: #8a6a5a;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.runtime-category:hover {
  background: #e5d5cd;
  color: #5d4638;
  text-decoration: none;
}
[data-fragment="movie-overview"] {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 28px;
  margin-top: 24px;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #ece5df;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.poster-shell {
  width: 100%;
  max-width: 300px;
  align-self: start;
}
.poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: #e8e0da;
  border: 1px solid #e0d6cf;
}
.movie-info-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.movie-title {
  font-size: 28px;
  font-weight: 800;
  color: #2d2d2d;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.tagline {
  font-size: 15px;
  color: #b0857a;
  font-style: italic;
  border-left: 3px solid #f0c8b0;
  padding-left: 12px;
  margin-top: -8px;
}
.section-heading {
  font-size: 18px;
  font-weight: 700;
  color: #5d4638;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.section-heading::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: #f0b8a0;
  margin-top: 4px;
}
.cast-section { margin-top: 2px; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #faf6f3;
  border-radius: 30px;
  padding: 8px 12px;
  border: 1px solid #f0e7e0;
}
.cast-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f5d6c8;
  color: #9c6a58;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.cast-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cast-name {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 12px;
  color: #a08070;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block { margin-top: 2px; }
.synopsis-para {
  font-size: 14px;
  color: #5a4a42;
  margin-bottom: 8px;
  line-height: 1.7;
  text-align: justify;
}
.synopsis-para:last-child { margin-bottom: 0; }
.episode-status-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  background: #fdf7f4;
  border: 1px solid #f0e0d8;
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 15px;
}
.status-label {
  color: #a08070;
  font-weight: 500;
}
.status-current {
  font-weight: 700;
  color: #d4739a;
  font-size: 18px;
}
.status-divider { color: #c0b0a8; }
.status-total {
  color: #6a5a52;
  font-weight: 500;
}
.status-extra {
  color: #a09088;
  font-size: 13px;
}
.details-block { margin-top: 2px; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px 16px;
  background: #faf6f3;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid #f0e7e0;
}
.detail-item {
  display: flex;
  gap: 8px;
  font-size: 14px;
  padding: 3px 0;
  border-bottom: 1px dashed #eadfd8;
}
.detail-item:last-child { border-bottom: none; }
.detail-item dt {
  color: #a08070;
  font-weight: 500;
  flex-shrink: 0;
}
.detail-item dd {
  color: #4a3a32;
  font-weight: 500;
  margin-left: 0;
}
.timeline-section {
  margin-top: 36px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #ece5df;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.timeline-section .section-heading { margin-bottom: 18px; }
.timeline-vertical {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  position: relative;
  padding-top: 8px;
}
.timeline-item {
  background: #faf6f3;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid #f0e7e0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.timeline-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.timeline-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f0b8a0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #f0b8a0;
  margin-bottom: 4px;
}
.timecode {
  font-size: 15px;
  font-weight: 700;
  color: #d4739a;
}
.label {
  font-size: 13px;
  color: #5a4a42;
  line-height: 1.5;
}
.episodes-section {
  margin-top: 36px;
  padding: 24px 0;
}
.episodes-section .section-heading {
  padding-left: 8px;
  margin-bottom: 14px;
}
.episodes-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  padding: 4px 4px 12px;
}
.episode-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #ece5df;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.episode-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}
.ep-number {
  font-size: 14px;
  font-weight: 700;
  color: #d4739a;
  background: #fdeef4;
  padding: 2px 10px;
  border-radius: 12px;
  align-self: flex-start;
}
.ep-title {
  font-size: 16px;
  font-weight: 700;
  color: #3d3d3d;
}
.ep-summary {
  font-size: 13px;
  color: #6a5a52;
  line-height: 1.5;
  margin-top: 2px;
  flex: 1;
}
.ep-duration {
  font-size: 12px;
  color: #a09088;
  align-self: flex-end;
}
.comments-section {
  margin-top: 36px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #ece5df;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.comment-bubble {
  background: #fdf7f4;
  border-radius: 20px;
  padding: 14px 16px;
  border: 1px solid #f0e0d8;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comment-bubble::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: #fdf7f4;
  border-left: 1px solid #f0e0d8;
  border-top: 1px solid #f0e0d8;
  transform: rotate(45deg);
}
.comment-nick {
  font-size: 14px;
  font-weight: 600;
  color: #d4739a;
}
.comment-text {
  font-size: 14px;
  color: #5a4a42;
  line-height: 1.6;
}
.recommendation-block {
  margin-top: 36px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #ece5df;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.recommendation-title {
  font-size: 18px;
  font-weight: 700;
  color: #5d4638;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 6px;
}
.recommendation-title::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: #f0b8a0;
  margin-top: 4px;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #faf6f3;
  border-radius: 14px;
  padding: 10px;
  border: 1px solid #f0e7e0;
  transition: transform 0.2s, box-shadow 0.2s;
  color: #3a3a3a;
}
.rec-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.07);
  color: #d4739a;
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: #e8e0da;
}
[data-runtime="name"] {
  font-size: 14px;
  font-weight: 600;
  color: #4a3a32;
  line-height: 1.3;
}
[data-runtime="blurb"] {
  font-size: 12px;
  color: #a09088;
  line-height: 1.4;
}
.player-wrapper {
  margin-top: 36px;
  max-width: 100%;
  width: 100%;
  background: #2a2a2a;
  border-radius: 20px;
  padding: 14px;
  border: 1px solid #ddd;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.player-wrapper video {
  border-radius: 12px;
  background: #111;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 4px 4px;
  justify-content: center;
}
.player-controls button {
  padding: 6px 14px;
  border-radius: 20px;
  border: none;
  background: #f0e9e4;
  color: #5d4638;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.player-controls button:hover {
  background: #e0d0c8;
}
.player-wrapper.theater-mode {
  max-width: 100%;
  padding: 8px;
}
.player-wrapper.lights-off {
  background: #111;
  border-color: #333;
}
.player-wrapper.lights-off video {
  opacity: 0.9;
}
.player-wrapper.lights-off .player-controls button {
  background: #333;
  color: #ccc;
}
.player-wrapper.lights-off .player-controls button:hover {
  background: #444;
}
.player-wrapper .player { position: relative; }
.player-wrapper .progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #d4739a;
  width: 0;
  z-index: 1;
}
.player-wrapper .volume, .player-wrapper .mute, .player-wrapper .play, .player-wrapper .speed, .player-wrapper .pip, .player-wrapper .fullscreen, .player-wrapper .theater, .player-wrapper .light {
  display: inline-flex;
}
.player-wrapper .click { cursor: pointer; }
.player-wrapper .data-player-action { outline: none; }
.player-wrapper.fullscreen video { border-radius: 0; }
.player-wrapper .theater-mode video { border-radius: 0; }
footer {
  background: #fff;
  border-top: 1px solid #ece5df;
  padding: 24px 24px 32px;
  margin-top: 40px;
}
footer p[data-contract="disclaimer"] {
  font-size: 13px;
  color: #a09088;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 16px;
}
nav[data-contract="footer-links"] {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 14px;
  color: #8a6a5a;
  padding: 4px 8px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #d4739a;
  text-decoration: underline;
}
nav[data-contract="friend-links"] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f5efe9;
}
.friend-links-label {
  font-size: 13px;
  color: #a08070;
  font-weight: 500;
  margin-right: 4px;
}
.runtime-friend-link {
  font-size: 13px;
  color: #7a6a5a;
  padding: 3px 10px;
  border-radius: 12px;
  background: #faf6f3;
}
.runtime-friend-link:hover {
  color: #d4739a;
  text-decoration: underline;
  background: #f0e7e0;
}
@media (max-width: 900px) {[data-fragment="movie-overview"] {
    grid-template-columns: 1fr;
    padding: 18px;
  }
.poster-shell {
    max-width: 260px;
    margin: 0 auto;
  }
.movie-title { font-size: 24px; }
.timeline-vertical {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
  }
.comment-grid { grid-template-columns: 1fr 1fr; }
.recommendation-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
.episodes-scroll {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
  }}
@media (max-width: 600px) {body { font-size: 14px; }
main { padding: 0 12px 24px; }
header { padding: 10px 14px; flex-direction: column; align-items: flex-start; }
a[data-contract="site-name"] { font-size: 18px; }
.runtime-category { font-size: 13px; padding: 4px 10px; }
[data-fragment="movie-overview"] { padding: 14px; border-radius: 16px; gap: 16px; }
.poster-shell { max-width: 200px; }
.movie-title { font-size: 20px; }
.tagline { font-size: 13px; }
.cast-list { grid-template-columns: 1fr 1fr; gap: 8px; }
.cast-item { padding: 6px 10px; }
.cast-avatar { width: 32px; height: 32px; font-size: 15px; }
.cast-name { font-size: 13px; }
.cast-role { font-size: 11px; }
.details-list { grid-template-columns: 1fr 1fr; padding: 10px 12px; }
.detail-item { font-size: 13px; }
.timeline-section { padding: 16px; border-radius: 16px; }
.timeline-vertical { grid-template-columns: 1fr; }
.episodes-section { padding: 16px 0; }
.episodes-scroll {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 2px 10px;
  }
.episode-card { padding: 12px; }
.ep-title { font-size: 14px; }
.ep-summary { font-size: 12px; }
.comments-section { padding: 16px; border-radius: 16px; }
.comment-grid { grid-template-columns: 1fr; gap: 10px; }
.comment-bubble { padding: 12px; }
.recommendation-block { padding: 16px; border-radius: 16px; }
.recommendation-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
.rec-card { padding: 8px; }
[data-runtime="name"] { font-size: 13px; }
[data-runtime="blurb"] { font-size: 11px; }
.player-wrapper { padding: 8px; border-radius: 14px; }
.player-controls { gap: 6px; }
.player-controls button { font-size: 12px; padding: 5px 10px; }
footer { padding: 18px 14px 24px; }
nav[data-contract="friend-links"] { gap: 6px 10px; }
.runtime-friend-link { font-size: 12px; padding: 2px 8px; }}

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}
