*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #1a1f26;
  color: #dfe4ea;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 300;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: #c9d2dc; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 1px solid #8c2f34;
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #151a20;
  border-bottom: 1px solid #2b323c;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 14px;
  flex-wrap: wrap;
}
.brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f2eee6;
  text-decoration: none;
  white-space: nowrap;
  padding-right: 12px;
  border-right: 1px solid #2b323c;
}
.brand:hover { color: #c04a50; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-link {
  display: inline-block;
  padding: 3px 10px;
  color: #9fabb8;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.nav-link:hover {
  color: #f2eee6;
  border-color: #3a434f;
  background: #1e242c;
}
.categories-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  padding: 5px 14px 8px;
  border-top: 1px solid #232a33;
}
.runtime-category {
  display: inline-block;
  padding: 2px 9px;
  font-size: 12px;
  line-height: 1.5;
  color: #a7b3c0;
  text-decoration: none;
  white-space: nowrap;
  background: #1e242c;
  border: 1px solid #2b323c;
  border-radius: 2px;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.runtime-category:hover {
  color: #f2eee6;
  background: #6e2429;
  border-color: #8c2f34;
}
.page-main {
  display: block;
  padding: 0 14px 26px;
  max-width: 1180px;
  margin: 0 auto;
}
.movie-overview {
  padding-top: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid #262d36;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.poster-wrap {
  align-self: start;
  background: #11151a;
  border: 1px solid #2b323c;
  border-radius: 2px;
  overflow: hidden;
  line-height: 0;
}
.poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.overview-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.overview-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #f2eee6;
  letter-spacing: 0.02em;
}
.overview-tagline {
  font-size: 13px;
  font-weight: 300;
  color: #b09a9c;
  border-left: 2px solid #8c2f34;
  padding-left: 9px;
  line-height: 1.5;
}
.player-wrap {
  position: relative;
  width: 100%;
  background: #0d1014;
  border: 1px solid #2b323c;
  border-radius: 2px;
  overflow: hidden;
}
.player-wrap video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 6px;
  background: #171c23;
  border-top: 1px solid #2b323c;
}
.player-btn {
  flex: 0 1 auto;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  color: #a7b3c0;
  background: #1e242c;
  border: 1px solid #2b323c;
  border-radius: 2px;
  white-space: nowrap;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.player-btn:hover {
  color: #f2eee6;
  border-color: #3f4a57;
}
.player-btn.is-active, .player-btn.click, .player-btn.play, .player-btn.pause {
  color: #f4ece1;
  background: #6e2429;
  border-color: #8c2f34;
}
.player-btn.is-progressing { color: #f4ece1; }
.cast { min-width: 0; }
.cast-heading, .synopsis-heading, .details-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e7e2d8;
  margin-bottom: 7px;
  padding-bottom: 4px;
  border-bottom: 1px solid #2b323c;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}
.cast-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #11151a;
  border: 1px solid #2b323c;
  border-radius: 2px;
}
.cast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.35) contrast(1.05);
  transition: filter .2s ease;
}
.cast-item:hover .cast-avatar img { filter: none; }
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: #e7e2d8;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cast-note {
  font-size: 11px;
  font-weight: 300;
  color: #8b97a4;
  line-height: 1.35;
  display: block;
}
.synopsis-para {
  font-size: 13px;
  font-weight: 300;
  color: #b6bfc9;
  line-height: 1.65;
}
.synopsis-para + .synopsis-para { margin-top: 5px; }
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.status-chip {
  display: inline-block;
  padding: 2px 9px;
  font-size: 12px;
  line-height: 1.5;
  color: #d9d2c8;
  background: #22282f;
  border: 1px solid #333c47;
  border-radius: 2px;
  white-space: nowrap;
}
.status-chip:nth-child(1) {
  color: #f4ece1;
  background: #6e2429;
  border-color: #8c2f34;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 2px 0;
  border-bottom: 1px dotted #2b323c;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 300;
  color: #7f8b98;
  letter-spacing: 0.04em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  color: #d3dae1;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.section-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f2eee6;
  padding: 14px 0 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-heading::before {
  content: "";
  flex: 0 0 auto;
  width: 3px;
  height: 13px;
  background: #8c2f34;
  border-radius: 1px;
}
.section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #2b323c;
}
.timeline-section {
  padding-bottom: 16px;
  border-bottom: 1px solid #262d36;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  background: #333c47;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 96px) minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 5px 0 5px 14px;
  border-bottom: 1px solid #22282f;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8c2f34;
  box-shadow: 0 0 0 2px #1a1f26;
}
.timeline-item:hover::before { background: #c04a50; }
.timeline-timecode {
  font-size: 12px;
  font-weight: 700;
  color: #c98a8e;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  font-weight: 300;
  color: #b6bfc9;
  line-height: 1.5;
}
.episodes-section {
  padding-bottom: 16px;
  border-bottom: 1px solid #262d36;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  background: #1e242c;
  border: 1px solid #2b323c;
  border-radius: 2px;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.episode-card:hover {
  background: #6e2429;
  border-color: #8c2f34;
}
.episode-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #c98a8e;
}
.episode-card:hover .episode-number { color: #f0d9d4; }
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: #ece7dd;
  line-height: 1.3;
}
.episode-card:hover .episode-title { color: #fff8ee; }
.episode-summary {
  font-size: 12px;
  font-weight: 300;
  color: #9ba7b4;
  line-height: 1.5;
}
.episode-card:hover .episode-summary { color: #f0e2dd; }
.episode-duration {
  margin-top: 1px;
  font-size: 11px;
  font-weight: 300;
  color: #7f8b98;
  letter-spacing: 0.04em;
}
.episode-card:hover .episode-duration { color: #e6cfc9; }
.comments-section {
  padding-bottom: 16px;
  border-bottom: 1px solid #262d36;
}
.comment-columns {
  columns: 2;
  column-gap: 6px;
}
.comment-card {
  break-inside: avoid;
  display: grid;
  grid-template-columns: minmax(0, 116px) minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 7px 9px;
  margin: 0 0 5px;
  background: #1e242c;
  border: 1px solid #2b323c;
  border-left: 2px solid #6e2429;
  border-radius: 2px;
  transition: background-color .16s ease, border-color .16s ease;
}
.comment-card:hover {
  background: #232a33;
  border-left-color: #c04a50;
}
.comment-author {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  overflow: hidden;
  border-radius: 50%;
  background: #11151a;
  border: 1px solid #3a434f;
}
.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.4);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  color: #d8dfe6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.comment-body {
  font-size: 12.5px;
  font-weight: 300;
  color: #aeb8c3;
  line-height: 1.6;
}
.rec-region {
  padding-top: 6px;
  padding-bottom: 12px;
}
.rec-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e7e2d8;
  padding: 10px 0 7px;
  border-bottom: 1px solid #2b323c;
  margin-bottom: 7px;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 7px;
}
.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: #1e242c;
  border: 1px solid #2b323c;
  border-radius: 2px;
  color: #c9d2dc;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease;
}
.rec-item:hover {
  background: #232a33;
  border-color: #6e2429;
}
.rec-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  background: #11151a;
  border-radius: 1px;
}
.rec-name {
  font-size: 12px;
  font-weight: 700;
  color: #e7e2d8;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  font-size: 11.5px;
  font-weight: 300;
  color: #8b97a4;
  line-height: 1.45;
}
.site-footer {
  background: #151a20;
  border-top: 1px solid #2b323c;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
}
.footer-nav a {
  font-size: 12.5px;
  font-weight: 400;
  color: #b6bfc9;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease;
}
.footer-nav a[data-contract="footer-home"] { color: #f2eee6; }
.footer-nav a[data-contract="footer-home"]:hover { color: #c04a50; }
.footer-nav a[data-contract="footer-sitemap"] { color: #9fabb8; }
.footer-nav a[data-contract="footer-sitemap"]:hover {
  color: #f2eee6;
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding-top: 8px;
  border-top: 1px solid #232a33;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7f8b98;
  white-space: nowrap;
}
.runtime-friend-link {
  font-size: 11.5px;
  font-weight: 300;
  color: #8b97a4;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease;
}
.runtime-friend-link:hover { color: #c98a8e; }
.footer-disclaimer {
  font-size: 11.5px;
  font-weight: 300;
  color: #6f7a86;
  line-height: 1.6;
  max-width: 90ch;
}
.theater-mode .player-wrap {
  position: fixed;
  inset: 0;
  z-index: 90;
  border: 0;
  border-radius: 0;
  background: #05070a;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.theater-mode .player-wrap video {
  max-height: 82vh;
  object-fit: contain;
}
.lights-dim { background: #0d1014; }
.lights-dim .page-main { opacity: .88; }
@media (max-width: 900px) {.cast-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.timeline-list::before { display: none; }
.rec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 720px) {.overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-wrap {
    max-width: 170px;
  }
.overview-title { font-size: 19px; }
.comment-columns { columns: 1; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 560px) {.page-main { padding: 0 10px 20px; }
.header-bar { gap: 8px; padding: 7px 10px; }
.brand {
    padding-right: 8px;
    font-size: 14px;
  }
.categories-strip { padding: 5px 10px 7px; }
.cast-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-note { display: none; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.comment-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
.comment-author { gap: 6px; }
.rec-list { grid-template-columns: minmax(0, 1fr); }
.rec-item img { aspect-ratio: 2 / 1; }
.timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
.timeline-timecode { font-size: 11.5px; }}

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}
