*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #e8e0cf;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(120, 96, 66, 0.06) 0, rgba(120, 96, 66, 0) 34%),
    radial-gradient(circle at 82% 78%, rgba(90, 74, 54, 0.07) 0, rgba(90, 74, 54, 0) 42%);
  color: #2f2a24;
  font-family: "Heiti SC", "Hiragino Sans GB", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
h1, h2, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid #8c2f1e;
  outline-offset: 2px;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 8px 14px;
  background: #211c18;
  border-bottom: 1px solid #3a3029;
}
.site-branding {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.site-logo {
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #f0e6d2;
  border-left: 3px solid #9c3120;
  padding-left: 8px;
  transition: color 0.2s ease;
}
a[data-contract="site-name"] {
  color: #f0e6d2;
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #d9b48a;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 2px 8px;
  font-size: 12px;
  color: #cbb99c;
  text-decoration: none;
  border: 1px solid #4a3d33;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
a.runtime-category:hover {
  color: #f4e9d6;
  background: #8c2f1e;
  border-color: #8c2f1e;
  text-decoration: none;
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px 24px;
}
.movie-overview {
  background: #f4ecdc;
  border: 1px solid #c9b99c;
  padding: 8px;
  margin-bottom: 8px;
  position: relative;
}
.movie-overview::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(140, 47, 30, 0.12);
  pointer-events: none;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}
.hero-portrait {
  position: relative;
  border: 1px solid #b7a488;
  background: #ded2ba;
  overflow: hidden;
}
.main-poster {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: sepia(0.28) contrast(1.04) saturate(0.86);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(35, 26, 18, 0) 52%, rgba(35, 26, 18, 0.42) 100%);
  pointer-events: none;
}
.hero-slogan {
  align-self: stretch;
  background: #241d18;
  border: 1px solid #3d322a;
  padding: 16px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100%;
}
.hero-slogan-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.34em;
  color: #e5d4b6;
  max-height: 100%;
  text-shadow: 0 0 12px rgba(140, 47, 30, 0.5);
}
.overview-title-block {
  margin-top: 8px;
  padding: 6px 0 8px;
  border-bottom: 1px solid #c9b99c;
}
.movie-title {
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #241d18;
  line-height: 1.25;
}
.movie-tagline {
  margin-top: 2px;
  font-size: 12px;
  color: #7b6a54;
  letter-spacing: 0.06em;
}
.overview-player {
  margin-top: 8px;
  border: 1px solid #b7a488;
  background: #16110d;
  padding: 4px;
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid #3d322a;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #3d322a;
}
.player-btn {
  appearance: none;
  border: 1px solid #6b5a48;
  background: #2c241d;
  color: #e0d0b4;
  font-size: 12px;
  padding: 3px 9px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.player-btn:hover {
  background: #8c2f1e;
  border-color: #b5452c;
  color: #f7ecda;
}
.player-btn.is-active, .player-btn.is-playing {
  background: #8c2f1e;
  border-color: #c85a3c;
  color: #fbf3e5;
}
.player-btn.is-muted {
  background: #3b332a;
  border-color: #7d6a55;
  color: #a99madjust;
  color: #a99781;
  text-decoration: line-through;
}
.player-progress {
  flex: 1 1 160px;
  min-width: 0;
  height: 6px;
  accent-color: #8c2f1e;
  background: transparent;
  cursor: pointer;
}
.player-volume {
  flex: 0 0 84px;
  width: 84px;
  height: 6px;
  accent-color: #8c2f1e;
  cursor: pointer;
}
.player-speed {
  border: 1px solid #6b5a48;
  background: #2c241d;
  color: #e0d0b4;
  font-size: 12px;
  padding: 3px 4px;
  cursor: pointer;
}
.player-speed option {
  background: #2c241d;
  color: #e0d0b4;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: 8px;
  padding: 6px 10px;
  background: #ede2cd;
  border-left: 3px solid #8c2f1e;
  border-top: 1px solid #d5c5a8;
  border-bottom: 1px solid #d5c5a8;
}
.episode-status-label {
  font-size: 12px;
  color: #7b6a54;
  letter-spacing: 0.1em;
}
.episode-status-value {
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 17px;
  font-weight: 700;
  color: #8c2f1e;
}
.episode-status-sep {
  color: #a3907a;
}
.episode-status-total {
  font-size: 12px;
  color: #7b6a54;
}
.cast-block {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #d5c5a8;
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommendations-heading {
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #241d18;
  padding-left: 10px;
  border-left: 3px solid #8c2f1e;
  line-height: 1.2;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 2px;
  border: 1px solid #d5c5a8;
  background: #f0e7d5;
  text-align: center;
}
.cast-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #b7a488;
  background: #ded2ba;
  color: #4a3a2a;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  filter: sepia(0.2);
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: #2f2a24;
  white-space: nowrap;
}
.cast-role {
  font-size: 11px;
  color: #8b7a63;
  line-height: 1.3;
}
.synopsis-block {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #d5c5a8;
}
.synopsis-paragraph {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.85;
  color: #3d352b;
  text-align: justify;
  text-indent: 2em;
}
.details-block {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #d5c5a8;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin-top: 6px;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed #d9cbb0;
  min-width: 0;
}
.details-key {
  flex: 0 0 68px;
  font-size: 12px;
  color: #8b7a63;
  letter-spacing: 0.14em;
}
.details-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: #2f2a24;
  word-break: break-word;
}
.timeline-section {
  background: #f4ecdc;
  border: 1px solid #c9b99c;
  padding: 8px;
  margin-bottom: 8px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
  position: relative;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 1px;
  background: #cbb99c;
  z-index: 0;
}
.timeline-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 6px 8px;
  background: #ede2cd;
  border: 1px solid #d5c5a8;
  border-top: 2px solid #a3907a;
  text-align: left;
}
.timeline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 30px;
  height: 22px;
  padding: 0 5px;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #4a3a2a;
  background: #f7f0e0;
  border: 1px solid #b7a488;
}
.timeline-timecode {
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 12px;
  font-weight: 700;
  color: #5d4c39;
  letter-spacing: 0.04em;
}
.timeline-label {
  font-size: 11px;
  line-height: 1.55;
  color: #6d5c48;
}
.timeline-item--brush {
  border-top-color: #8c2f1e;
}
.timeline-item--bamboo {
  border-top-color: #6f7a4e;
}
.timeline-item--paper {
  border-top-color: #9a8a6a;
}
.timeline-item--bamboo .timeline-icon {
  border-color: #8a9464;
  color: #4d5533;
}
.timeline-item--paper .timeline-icon {
  border-color: #c0ac8a;
  color: #6d5c48;
}
.timeline-item--brush .timeline-icon {
  border-color: #b5452c;
  color: #8c2f1e;
}
.timeline-item--active {
  background: #221b16;
  border-color: #8c2f1e;
  border-top-color: #c85a3c;
  box-shadow: 0 0 0 1px rgba(140, 47, 30, 0.5);
}
.timeline-item--active .timeline-icon {
  background: #8c2f1e;
  border-color: #d06a48;
  color: #fbf3e5;
}
.timeline-item--active .timeline-timecode {
  color: #e8cfa2;
}
.timeline-item--active .timeline-label {
  color: #d6c3a4;
}
.episodes-section {
  background: #f4ecdc;
  border: 1px solid #c9b99c;
  padding: 8px;
  margin-bottom: 8px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
  align-items: start;
}
.episode-card {
  background: #f0e7d5;
  border: 1px solid #d5c5a8;
  padding: 6px 8px;
  min-width: 0;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card:hover {
  border-color: #a3907a;
  background: #ece0c9;
}
.episode-card[open] {
  background: #e9dcc2;
  border-color: #8c2f1e;
}
.episode-card--current {
  background: #241d18;
  border-color: #8c2f1e;
}
.episode-card--current .episode-number {
  color: #e8cfa2;
}
.episode-card--current .episode-title {
  color: #f4e9d6;
}
.episode-card--current .episode-duration {
  color: #a99781;
}
.episode-card--current .episode-text {
  color: #d6c3a4;
}
.episode-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  cursor: pointer;
  list-style: none;
  outline: none;
}
.episode-summary::-webkit-details-marker {
  display: none;
}
.episode-summary::marker {
  content: "";
}
.episode-number {
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 12px;
  font-weight: 700;
  color: #8c2f1e;
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}
.episode-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: #2f2a24;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-duration {
  flex: 0 0 auto;
  font-size: 11px;
  color: #8b7a63;
}
.episode-text {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dashed #d9cbb0;
  font-size: 12px;
  line-height: 1.65;
  color: #4a4136;
}
.comments-section {
  background: #f4ecdc;
  border: 1px solid #c9b99c;
  padding: 8px;
  margin-bottom: 8px;
}
.comments-columns {
  column-count: 2;
  column-gap: 8px;
  margin-top: 8px;
}
.comment-card {
  break-inside: avoid;
  display: flex;
  gap: 7px;
  align-items: flex-start;
  background: #f0e7d5;
  border: 1px solid #d5c5a8;
  padding: 6px 8px;
  margin-bottom: 6px;
}
.comment-avatar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #b7a488;
  border-radius: 50%;
  background: #ded2ba;
  color: #4a3a2a;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.comment-body {
  flex: 1 1 auto;
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #8c2f1e;
  letter-spacing: 0.04em;
}
.comment-text {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.62;
  color: #3d352b;
  word-break: break-word;
}
.recommendations {
  background: #f4ecdc;
  border: 1px solid #c9b99c;
  padding: 8px;
  margin-bottom: 8px;
}
.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
  align-items: start;
}
.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  background: #f0e7d5;
  border: 1px solid #d5c5a8;
  padding: 5px;
  color: #2f2a24;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommendation-card {
  color: #2f2a24;
  text-decoration: none;
}
a.recommendation-card:hover {
  border-color: #8c2f1e;
  background: #e9dcc2;
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border: 1px solid #c0ac8a;
  filter: sepia(0.24) saturate(0.88);
}
.recommendation-name {
  font-size: 12px;
  font-weight: 700;
  color: #2f2a24;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommendation-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: #7b6a54;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: #211c18;
  border-top: 2px solid #8c2f1e;
  padding: 10px 14px 16px;
  color: #b3a189;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 8px;
}
.footer-link {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #cbb99c;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #cbb99c;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f4e9d6;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: #8a7a66;
  max-width: 780px;
  border-left: 2px solid #4a3d33;
  padding-left: 8px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 10px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #3a3029;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #8a7a66;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #a3907a;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}
a.runtime-friend-link:hover {
  color: #d9b48a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.main-player:fullscreen {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.overview-player.is-theater {
  background: #0b0907;
  border-color: #8c2f1e;
  box-shadow: 0 0 0 1px rgba(140, 47, 30, 0.4);
}
body.lights-off {
  background-image: none;
  background-color: #14100c;
}
body.lights-off .movie-overview {
  background: #1c1713;
  border-color: #3a3029;
}
body.lights-off .overview-title-block, body.lights-off .cast-block, body.lights-off .synopsis-block, body.lights-off .details-block {
  border-color: #3a3029;
}
body.lights-off .movie-title {
  color: #e5d4b6;
}
body.lights-off .movie-tagline, body.lights-off .details-key, body.lights-off .details-value, body.lights-off .synopsis-paragraph {
  color: #b3a189;
}
@media (max-width: 1024px) {.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.timeline-list::before {
    display: none;
  }
.episodes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommendations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-slogan {
    justify-content: flex-start;
    padding: 12px 10px;
    min-height: 0;
  }
.hero-slogan-text {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.16em;
    max-height: none;
  }
.movie-title {
    font-size: 21px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-columns {
    column-count: 1;
  }
.recommendations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.page-main {
    padding: 6px 10px 18px;
  }}
@media (max-width: 460px) {.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommendations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 4px;
  }
.player-volume {
    flex: 1 1 60px;
    width: auto;
  }}
@media (max-width: 340px) {.recommendations-grid {
    grid-template-columns: minmax(0, 1fr);
  }}

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}
