*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #17191c;
  color: #c9cdd2;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #14161a;
  border-bottom: 1px solid #262b31;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1240px;
  margin: 0 auto;
}
.site-brand {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e6e2d8;
  white-space: nowrap;
  border-left: 3px solid #7d2a2a;
  padding-left: 8px;
}
.site-brand:hover {
  color: #f0e6cf;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1;
  padding: 5px 9px;
  border: 1px solid #333a42;
  border-radius: 2px;
  color: #93a0ab;
  background-color: #1b1f24;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.runtime-category:hover {
  color: #f0e6cf;
  border-color: #7d2a2a;
  background-color: #24191a;
}
.page-main {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.movie-overview {
  display: block;
  padding-top: 16px;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  align-items: start;
  gap: 0;
  background:
    linear-gradient(180deg, #1d2226 0%, #191d21 60%, #15181c 100%);
  border: 1px solid #262c33;
  border-bottom: 2px solid #3a2a26;
  overflow: hidden;
}
.hero-figure {
  position: relative;
  align-self: start;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background-color: #101315;
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 14, 16, 0.85) 0%, rgba(12, 14, 16, 0.2) 45%, rgba(12, 14, 16, 0.9) 100%),
    linear-gradient(180deg, rgba(20, 26, 30, 0.55) 0%, rgba(20, 26, 30, 0.1) 40%, rgba(12, 14, 16, 0.92) 100%);
  pointer-events: none;
}
.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.55) brightness(0.78) contrast(1.05);
}
.hero-caption {
  position: relative;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px 20px;
  min-width: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(21, 25, 29, 0) 0%, rgba(18, 21, 24, 0.72) 55%, rgba(16, 19, 22, 0.95) 100%);
}
.movie-title {
  font-size: 30px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ece7dc;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}
.movie-tagline {
  font-size: 14px;
  line-height: 1.5;
  color: #b08a5e;
  letter-spacing: 0.05em;
  border-left: 2px solid #7d2a2a;
  padding-left: 10px;
}
.movie-seo {
  max-width: 62ch;
  font-size: 12.5px;
  line-height: 1.65;
  color: #8b949c;
}
.player-shell {
  position: relative;
  width: 100%;
  margin-top: 10px;
  background-color: #0b0d0f;
  border: 1px solid #262c33;
  border-top: 1px solid #2d343c;
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background-color: #14181c;
  border-top: 1px solid #22282e;
}
.player-controls button {
  border: 1px solid #333a42;
  background-color: #1c2126;
  color: #a9b3bc;
  font-size: 12px;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.player-controls button:hover {
  color: #f0e6cf;
  border-color: #7d2a2a;
  background-color: #241a1a;
}
.player-controls button.is-active {
  color: #f2e4c8;
  border-color: #8d3a2a;
  background-color: #33201c;
}
.player-shell.is-playing .player-controls {
  border-top-color: #5a2a26;
}
.player-shell.is-paused .player-controls {
  border-top-color: #22282e;
}
.player-controls input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background-color: #2c333a;
  border-radius: 2px;
  outline: none;
}
.player-controls input[type="range"][data-player-action="progress"] {
  flex: 1 1 160px;
  min-width: 90px;
}
.player-controls input[type="range"][data-player-action="volume"] {
  flex: 0 1 90px;
  min-width: 60px;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #a83b2c;
  border: 1px solid #e0c9a6;
  cursor: pointer;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #a83b2c;
  border: 1px solid #e0c9a6;
  cursor: pointer;
}
.player-controls select {
  border: 1px solid #333a42;
  background-color: #1c2126;
  color: #a9b3bc;
  font-size: 12px;
  padding: 5px 6px;
  border-radius: 2px;
}
body.lights-off {
  background-color: #08090b;
}
body.lights-off .site-header, body.lights-off .site-footer {
  opacity: 0.35;
}
body.theater-mode .player-shell {
  border-color: #5a2a26;
  box-shadow: 0 0 0 1px #3a1f1c inset;
}
.detail-bar {
  margin-top: 12px;
  padding: 10px 12px 12px;
  background-color: #191d21;
  border: 1px solid #262c33;
  border-left: 3px solid #6f2b26;
}
.detail-heading, .synopsis-heading, .status-heading, .cast-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #b08a5e;
  text-transform: none;
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid #2a3037;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1px;
  background-color: #232a31;
  border: 1px solid #232a31;
}
.detail-cell {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 8px;
  background-color: #1b2025;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: #6f7b85;
  letter-spacing: 0.06em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: #d6d2c8;
  overflow-wrap: break-word;
}
.synopsis-block {
  margin-top: 14px;
  padding: 12px 14px;
  background-color: #1a1e22;
  border: 1px solid #262c33;
}
.synopsis-body {
  display: block;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.72;
  color: #a5adb5;
  margin-bottom: 9px;
  text-indent: 2em;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.episode-status {
  margin-top: 14px;
  padding: 10px 12px;
  background-color: #1a1e22;
  border: 1px solid #262c33;
  border-left: 3px solid #3d4a52;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  font-size: 12px;
  line-height: 1;
  padding: 5px 10px;
  color: #c3bcae;
  background-color: #232a31;
  border: 1px solid #2e363e;
  border-radius: 2px;
  white-space: nowrap;
}
.status-item:nth-child(3) {
  color: #e0b98a;
  border-color: #6f3a2a;
  background-color: #2a1f1a;
}
.cast-block {
  margin-top: 14px;
  padding: 12px 14px;
  background-color: #1a1e22;
  border: 1px solid #262c33;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 6px;
  background-color: #1e2328;
  border: 1px solid #2a3138;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #262d34;
  background-image: linear-gradient(150deg, #333c45 0%, #1f262c 60%, #171b1f 100%);
  border: 1px solid #343c44;
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 30%, rgba(176, 138, 94, 0.22), rgba(0, 0, 0, 0) 70%);
}
.cast-name {
  font-size: 12.5px;
  color: #d8d2c6;
  letter-spacing: 0.02em;
}
.cast-role {
  font-size: 11px;
  color: #7d8790;
}
.timeline-block {
  margin-top: 20px;
  padding: 12px 14px;
  background-color: #181c20;
  border: 1px solid #262c33;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0 22px;
  padding-left: 14px;
  border-left: 1px solid #333b43;
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0 7px 8px;
  border-bottom: 1px dashed #262d34;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 13px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #8e3128;
  box-shadow: 0 0 0 2px #181c20, 0 0 0 3px #3d211e;
}
.timeline-code {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: #c07a52;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.timeline-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #a9b1b9;
}
.episodes-block {
  margin-top: 20px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 9px 10px;
  background-color: #1b2025;
  border: 1px solid #272e35;
  border-top: 2px solid #2f373f;
  transition: background-color 0.16s ease, border-color 0.16s ease;
  min-width: 0;
}
.episode-card:hover {
  background-color: #21272d;
  border-top-color: #8e3128;
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #c07a52;
  font-variant-numeric: tabular-nums;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #dcd6ca;
  line-height: 1.3;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: #8d969e;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.2s ease, opacity 0.2s ease, margin-top 0.2s ease;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
}
.episode-card:hover .episode-detail, .episode-card:focus-within .episode-detail {
  max-height: 60px;
  opacity: 1;
  margin-top: 5px;
}
.episode-duration {
  font-size: 11px;
  line-height: 1;
  padding: 4px 7px;
  color: #b08a5e;
  background-color: #241f1a;
  border: 1px solid #4a3626;
  border-radius: 2px;
  white-space: nowrap;
}
.comments-block {
  margin-top: 20px;
  padding: 12px 14px;
  background-color: #181c20;
  border: 1px solid #262c33;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-card {
  padding: 8px 10px;
  background-color: #1d2227;
  border: 1px solid #282f36;
  border-left: 2px solid #3a4249;
}
.comment-col:nth-child(2) .comment-card {
  background-color: #1b2025;
}
.comment-card:nth-child(odd) {
  border-left-color: #6f2b26;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: #adb5bd;
  margin-bottom: 5px;
}
.comment-nickname {
  display: block;
  font-size: 11px;
  color: #6f7b85;
  letter-spacing: 0.04em;
}
.comment-nickname::before {
  content: "— ";
  color: #4d565e;
}
.recommend-region {
  margin-top: 18px;
}
.recommend-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #b08a5e;
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid #2a3037;
}
.recommend-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-track::-webkit-scrollbar {
  height: 6px;
}
.recommend-track::-webkit-scrollbar-track {
  background-color: #1a1f24;
}
.recommend-track::-webkit-scrollbar-thumb {
  background-color: #3a4249;
  border-radius: 3px;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background-color: #1b2025;
  border: 1px solid #272e35;
  scroll-snap-align: start;
  transition: background-color 0.16s ease, border-color 0.16s ease;
  min-width: 0;
}
.recommend-card:hover {
  background-color: #222a30;
  border-color: #6f2b26;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background-color: #262d34;
  filter: saturate(0.6) brightness(0.86);
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(0.85) brightness(0.98);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #d8d2c6;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: #838c95;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 28px;
  background-color: #12151a;
  border-top: 1px solid #262c33;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-nav a {
  font-size: 12.5px;
  color: #9aa4ad;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-nav a:hover {
  color: #e0b98a;
  border-bottom-color: #6f2b26;
}
a[data-contract="footer-home"] {
  color: #b08a5e;
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  color: #7d8790;
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px dashed #262d34;
}
.friend-links-label {
  font-size: 12px;
  color: #6f7b85;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #8b949c;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 0;
}
a.runtime-friend-link:hover {
  color: #c07a52;
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #5d666e;
  max-width: 90ch;
}
@media (max-width: 1024px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.movie-title {
    font-size: 26px;
  }}
@media (max-width: 860px) {.hero-shell {
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }}
@media (max-width: 640px) {.page-main {
    padding: 0 10px 32px;
  }
.header-bar {
    padding: 8px 10px;
  }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-figure {
    max-height: 56vh;
  }
.hero-figure img {
    max-height: 56vh;
    object-fit: cover;
  }
.hero-caption {
    padding: 16px 14px;
    background: linear-gradient(180deg, rgba(18, 21, 24, 0.6) 0%, rgba(16, 19, 22, 0.96) 60%);
  }
.movie-title {
    font-size: 22px;
  }
.movie-seo {
    font-size: 12px;
  }
.detail-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 12px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-track {
    grid-auto-columns: minmax(128px, 62%);
  }
.player-controls {
    gap: 5px;
    padding: 6px;
  }
.player-controls button {
    padding: 6px 8px;
    font-size: 11.5px;
  }}
@media (max-width: 420px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-grid {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  }
.recommend-track {
    grid-auto-columns: minmax(118px, 74%);
  }}

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}
