:root {
  --wood: #3a2118;
  --wood-deep: #24120c;
  --wood-mid: #4d2c1e;
  --dai: #1c2630;
  --dai-deep: #121a22;
  --dai-soft: #2b3947;
  --rouge: #9e2b3a;
  --rouge-bright: #c14052;
  --rouge-deep: #6d1c28;
  --gold: #d8a85c;
  --gold-soft: #e8c98c;
  --ink: #e6dccd;
  --ink-dim: #a89a86;
  --ink-faint: #7d7263;
  --panel: #2c1a13;
  --panel-2: #35201a;
  --line: rgba(216, 168, 92, 0.18);
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--dai-deep);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(216, 168, 92, 0.09), transparent 62%),
    radial-gradient(ellipse 60% 40% at 82% 24%, rgba(158, 43, 58, 0.11), transparent 70%),
    linear-gradient(180deg, #1a1210 0%, #121a22 42%, #0e151c 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: 0.01em;
}
body.lights-off {
  background-image: none;
  background-color: #060809;
}
body.lights-off .page-main {
  filter: brightness(0.62) saturate(0.9);
}
a {
  color: var(--gold-soft);
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
button, input {
  font-family: inherit;
  font-size: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(20, 13, 10, 0.97), rgba(20, 13, 10, 0.86));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
  border-left: 3px solid var(--rouge);
  padding-left: 10px;
}
a[data-contract="site-name"]:hover {
  color: #fff;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  padding: 3px 10px;
  border: 1px solid rgba(216, 168, 92, 0.22);
  border-radius: 2px;
  background: rgba(216, 168, 92, 0.05);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
a.runtime-category:hover {
  color: var(--gold-soft);
  border-color: var(--rouge);
  background: rgba(158, 43, 58, 0.22);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading {
  font-size: 16px;
  color: var(--gold-soft);
  margin-bottom: 10px;
  padding-left: 11px;
  border-left: 3px solid var(--rouge);
  letter-spacing: 0.09em;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background:
    radial-gradient(ellipse 120% 90% at 88% 6%, rgba(216, 168, 92, 0.1), transparent 58%),
    linear-gradient(150deg, var(--panel-2) 0%, var(--panel) 46%, #1e110c 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(216, 168, 92, 0.09);
  position: relative;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(216, 168, 92, 0.05) 0 1px, transparent 1px 46px),
    radial-gradient(circle at 76% 78%, rgba(158, 43, 58, 0.13), transparent 46%);
  opacity: 0.7;
}
.overview-poster-wrap {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(216, 168, 92, 0.3);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.62);
  background: var(--wood-deep);
}
.overview-poster {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.overview-info {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-size: 27px;
  color: #f3e7d2;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}
.movie-tagline {
  font-size: 13.5px;
  color: var(--rouge-bright);
  font-weight: 400;
  letter-spacing: 0.05em;
  border-left: 2px solid rgba(158, 43, 58, 0.6);
  padding-left: 9px;
}
.movie-seo {
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.78;
  text-align: justify;
  border-top: 1px solid var(--line);
  padding-top: 11px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  font-size: 12.5px;
  color: var(--gold);
  background: rgba(216, 168, 92, 0.08);
  border: 1px solid rgba(216, 168, 92, 0.22);
  padding: 3px 10px;
  border-radius: 2px;
  white-space: nowrap;
}
.cast-section .section-heading, .synopsis-section .section-heading, .details-section .section-heading {
  font-size: 14px;
  margin-bottom: 9px;
  color: var(--gold);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px 10px;
}
.cast-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 4px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
  min-width: 0;
  text-align: center;
}
.cast-member:hover {
  border-color: rgba(216, 168, 92, 0.24);
  background: rgba(216, 168, 92, 0.05);
}
.cast-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(216, 168, 92, 0.5), transparent 58%),
    linear-gradient(160deg, #59341f, #2a1610 70%);
  border: 1px solid rgba(216, 168, 92, 0.4);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.65), 0 0 0 3px rgba(158, 43, 58, 0.12);
  flex-shrink: 0;
}
.cast-name {
  font-size: 12.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.cast-role {
  font-size: 11px;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.synopsis-para {
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 7px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0 16px;
}
.detail-item {
  display: flex;
  gap: 7px;
  align-items: baseline;
  font-size: 12.5px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(216, 168, 92, 0.12);
  min-width: 0;
}
.detail-item dt {
  color: var(--ink-faint);
  flex-shrink: 0;
  letter-spacing: 0.06em;
}
.detail-item dt::after {
  content: "／";
  margin-left: 2px;
  color: rgba(216, 168, 92, 0.35);
}
.detail-item dd {
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.overview-player-wrap {
  grid-column: 1 / -1;
  grid-row: 3;
  position: relative;
  z-index: 1;
  margin-top: 4px;
  padding: 10px;
  border: 1px solid rgba(216, 168, 92, 0.24);
  border-radius: 3px;
  background: linear-gradient(180deg, #180e0a, #0d1419);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.overview-player-wrap.is-theater {
  border-color: var(--rouge);
  box-shadow: 0 0 0 1px rgba(158, 43, 58, 0.5), inset 0 0 46px rgba(0, 0, 0, 0.8);
}
.main-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05080a;
  border-radius: 2px;
  border: 1px solid rgba(216, 168, 92, 0.16);
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.player-btn {
  background: linear-gradient(180deg, rgba(216, 168, 92, 0.13), rgba(216, 168, 92, 0.05));
  color: var(--gold-soft);
  border: 1px solid rgba(216, 168, 92, 0.28);
  border-radius: 2px;
  padding: 4px 11px;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.06em;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.player-btn:hover {
  color: #fff;
  border-color: var(--rouge);
  background: rgba(158, 43, 58, 0.3);
}
.player-btn.is-playing {
  color: #ffe9c9;
  border-color: var(--gold);
  background: rgba(216, 168, 92, 0.22);
}
.player-btn.is-muted {
  color: var(--rouge-bright);
  border-color: var(--rouge);
}
.player-btn.is-active {
  color: #fff;
  border-color: var(--rouge-bright);
  background: rgba(158, 43, 58, 0.42);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex: 1 1 120px;
  min-width: 90px;
  background: linear-gradient(90deg, var(--rouge) 0%, var(--rouge) 32%, rgba(216, 168, 92, 0.18) 32%, rgba(216, 168, 92, 0.18) 100%);
  border-radius: 3px;
  cursor: pointer;
  outline: none;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--rouge-deep);
  box-shadow: 0 0 6px rgba(216, 168, 92, 0.7);
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--rouge-deep);
}
.player-range:nth-of-type(2) {
  flex: 0 1 110px;
  min-width: 70px;
}
.episodes-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 11px 12px;
  border: 1px solid rgba(216, 168, 92, 0.15);
  border-left: 2px solid var(--rouge-deep);
  border-radius: 2px;
  background: linear-gradient(120deg, rgba(58, 33, 24, 0.72), rgba(28, 38, 48, 0.55));
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.episode-card:hover {
  border-color: rgba(216, 168, 92, 0.36);
  border-left-color: var(--rouge-bright);
  background: linear-gradient(120deg, rgba(77, 44, 30, 0.85), rgba(28, 38, 48, 0.7));
}
.episode-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--rouge-bright);
  letter-spacing: 0.06em;
  padding-top: 2px;
  border-right: 1px solid rgba(216, 168, 92, 0.16);
  padding-right: 8px;
  white-space: nowrap;
}
.episode-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.episode-title {
  font-size: 14.5px;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
}
.episode-summary {
  font-size: 12.5px;
  color: var(--ink-dim);
  line-height: 1.72;
  text-align: justify;
}
.episode-duration {
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.episode-duration::before {
  content: "◷ ";
  color: var(--rouge);
}
.timeline-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(206px, 1fr));
  gap: 9px 14px;
  align-items: start;
  position: relative;
}
.timeline-node {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 1px 8px;
  align-items: center;
  padding: 7px 9px 7px 4px;
  border-bottom: 1px dashed rgba(216, 168, 92, 0.13);
  min-width: 0;
}
.timeline-dot {
  grid-row: 1 / span 2;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rouge-bright);
  box-shadow: 0 0 0 3px rgba(158, 43, 58, 0.2), 0 0 10px rgba(193, 64, 82, 0.75);
  position: relative;
  align-self: center;
}
.timeline-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(193, 64, 82, 0.55), transparent);
  transform: translateX(-50%);
}
.timeline-time {
  grid-column: 2;
  font-size: 11.5px;
  color: var(--gold);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.timeline-label {
  grid-column: 2;
  font-size: 12.5px;
  color: var(--ink-dim);
  line-height: 1.6;
}
.comments-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 9px;
  align-items: start;
}
.comment-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px 11px;
  border: 1px solid rgba(216, 168, 92, 0.13);
  border-radius: 2px;
  background: rgba(28, 38, 48, 0.42);
}
.comment-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(216, 168, 92, 0.42), transparent 60%),
    linear-gradient(150deg, #4d2c1e, #1c2630 75%);
  border: 1px solid rgba(216, 168, 92, 0.32);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}
.comment-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.comment-nickname {
  font-size: 12.5px;
  color: var(--gold-soft);
  letter-spacing: 0.05em;
}
.comment-text {
  font-size: 12.5px;
  color: var(--ink-dim);
  line-height: 1.7;
  text-align: justify;
}
.rec-region {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.rec-region .section-heading {
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 9px;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
  gap: 9px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(216, 168, 92, 0.14);
  border-radius: 2px;
  background: linear-gradient(170deg, rgba(53, 32, 26, 0.78), rgba(18, 26, 34, 0.72));
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
a.rec-card:hover {
  border-color: var(--rouge-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
  color: #fff;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: var(--wood-deep);
  border: 1px solid rgba(216, 168, 92, 0.16);
  display: block;
}
.rec-name {
  font-size: 12.5px;
  color: var(--gold-soft);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-blurb {
  font-size: 11px;
  color: var(--ink-faint);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 12, 9, 0.9), #0a1015);
  padding: 18px 16px 26px;
  margin-top: 8px;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 12px;
  font-size: 11.5px;
  color: var(--ink-faint);
  line-height: 1.75;
  text-align: justify;
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  display: inline-block;
  font-size: 12.5px;
  padding: 3px 11px;
  border: 1px solid rgba(216, 168, 92, 0.24);
  border-radius: 2px;
  color: var(--gold-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  border-color: var(--rouge);
  background: rgba(158, 43, 58, 0.28);
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 1px;
  border-bottom: 1px dotted rgba(216, 168, 92, 0.3);
  transition: color 0.2s, border-color 0.2s;
}
a.runtime-friend-link:hover {
  color: var(--rouge-bright);
  border-bottom-color: var(--rouge-bright);
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }
.overview-poster-wrap {
    grid-column: 1;
    grid-row: 1;
    max-width: 200px;
  }
.overview-info {
    grid-column: 1;
    grid-row: 2;
  }
.overview-player-wrap {
    grid-row: 3;
  }
.movie-title {
    font-size: 23px;
  }}
@media (max-width: 620px) {body {
    font-size: 14.5px;
  }
.header-inner {
    gap: 10px;
    padding: 7px 12px;
  }
a[data-contract="site-name"] {
    font-size: 17px;
    letter-spacing: 0.08em;
  }
.page-main {
    padding: 14px 12px 26px;
    gap: 20px;
  }
.movie-overview {
    padding: 13px;
    gap: 14px;
  }
.overview-poster-wrap {
    max-width: 168px;
  }
.movie-title {
    font-size: 20px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    gap: 6px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list, .comment-grid, .timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-grid {
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: 7px;
  }
.player-controls {
    gap: 5px;
  }
.player-btn {
    padding: 4px 8px;
    font-size: 12px;
  }
.player-range {
    flex: 1 1 100%;
    min-width: 0;
  }
.player-range:nth-of-type(2) {
    flex: 1 1 100%;
  }
.timeline-dot::after {
    height: 28px;
  }}
@media (max-width: 400px) {.episode-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
.episode-number {
    border-right: none;
    border-bottom: 1px solid rgba(216, 168, 92, 0.16);
    padding-right: 0;
    padding-bottom: 3px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  }
.rec-grid {
    grid-template-columns: repeat(auto-fit, minmax(94px, 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}
