*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #1b1e21;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(120, 133, 140, 0.16) 0, rgba(120, 133, 140, 0) 34%),
    radial-gradient(circle at 82% 4%, rgba(150, 160, 165, 0.10) 0, rgba(150, 160, 165, 0) 30%),
    linear-gradient(180deg, #24282c 0%, #1b1e21 42%, #17191c 100%);
  color: #c8cdd1;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol, dl, dd, p, h1, h2 {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2 {
  font-weight: 700;
}
::selection {
  background: #8a3b26;
  color: #f2ede2;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 23, 26, 0.94);
  border-bottom: 1px solid #333a3f;
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 16px;
  max-width: 1320px;
  margin: 0 auto;
}
a[data-contract="site-name"], .site-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #e7e2d6;
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid #8a3b26;
  padding-left: 9px;
  line-height: 1.2;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category, .runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #b6bcc0;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid #3d4449;
  border-radius: 3px;
  background: #23282c;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
a.runtime-category:hover, .runtime-category:hover {
  color: #f0e9da;
  border-color: #8a3b26;
  background: #2b2420;
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.block-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #e2ddd1;
  font-stretch: condensed;
  padding-left: 8px;
  border-left: 3px solid #8a3b26;
  margin-bottom: 10px;
  line-height: 1.3;
}
.movie-overview {
  background:
    linear-gradient(160deg, #262b2f 0%, #212528 55%, #1d2124 100%);
  border: 1px solid #363d42;
  border-radius: 4px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.9fr);
  gap: 18px;
  align-items: start;
}
.poster-column {
  min-width: 0;
}
.poster-frame {
  position: relative;
  border: 1px solid #3b4247;
  border-radius: 3px;
  overflow: hidden;
  background: #14171a;
  line-height: 0;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 24, 27, 0) 55%, rgba(20, 24, 27, 0.55) 100%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, rgba(255, 255, 255, 0) 1px 7px);
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.94);
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.movie-title {
  font-size: clamp(38px, 7.4vw, 96px);
  line-height: 0.92;
  letter-spacing: 0.06em;
  font-weight: 800;
  font-stretch: condensed;
  color: #ece7db;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.6);
  margin: 0 0 2px;
}
.movie-tagline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #9fa7ac;
  border-top: 1px solid #3a4146;
  border-bottom: 1px solid #3a4146;
  padding: 6px 0;
  max-width: 46em;
}
.hero-player {
  position: relative;
  margin-top: 6px;
  border: 1px solid #3b4247;
  border-radius: 3px;
  background: #101315;
  overflow: hidden;
}
.hero-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0c0e10;
  filter: saturate(0.8) contrast(1.04);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: #1a1e21;
  border-top: 1px solid #333a3f;
}
.player-btn {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #c4cacd;
  background: #23282c;
  border: 1px solid #3d4449;
  border-radius: 3px;
  padding: 4px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}
.player-btn:hover {
  color: #f0e9da;
  border-color: #8a3b26;
}
.player-btn.is-playing, .player-btn.is-active {
  color: #f2ede2;
  background: #4a2a1e;
  border-color: #8a3b26;
}
.player-btn.is-muted {
  color: #9aa1a5;
  border-style: dashed;
}
.player-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 16px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.player-range::-webkit-slider-runnable-track {
  height: 3px;
  background: #3c4348;
  border-radius: 2px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -4px;
  border-radius: 50%;
  background: #a04a2c;
  border: 1px solid #6f2f1c;
}
.player-range::-moz-range-track {
  height: 3px;
  background: #3c4348;
  border-radius: 2px;
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #a04a2c;
  border: 1px solid #6f2f1c;
}
body.theater-mode .movie-overview {
  background: #14181b;
}
body.lights-off .movie-overview {
  background: #0b0d0e;
}
body.lights-off .hero-player video {
  filter: brightness(0.6) saturate(0.7);
}
.overview-info {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border-top: 1px solid #333a3f;
  padding-top: 12px;
}
.episode-status {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.status-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border: 1px solid #3d4449;
  border-radius: 3px;
  color: #aeb4b8;
  background: #22272b;
  white-space: nowrap;
}
.status-chip-current {
  color: #f0e6d6;
  background: #4a2a1e;
  border-color: #8a3b26;
}
.cast-block, .synopsis-block, .details-block {
  min-width: 0;
}
.cast-block, .synopsis-block {
  align-self: start;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 7px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px;
  background: #23282c;
  border: 1px solid #363d42;
  border-left: 2px solid #8a3b26;
  border-radius: 3px;
  min-width: 0;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e6e0d3;
  line-height: 1.35;
}
.cast-role {
  font-size: 11px;
  color: #8f979c;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.synopsis-text {
  font-size: 12.5px;
  line-height: 1.72;
  color: #aab1b5;
  text-align: justify;
}
.synopsis-text + .synopsis-text {
  margin-top: 6px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0 12px;
  border-top: 1px solid #333a3f;
  padding-top: 4px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid #2a3034;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #7d858a;
  white-space: nowrap;
}
.detail-value {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #cfd4d7;
  min-width: 0;
  overflow-wrap: anywhere;
}
.seo-line {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.7;
  color: #767e83;
  border-left: 2px solid #3a4146;
  padding-left: 8px;
}
.timeline-section, .episodes-section, .comments-section, .recommend-section {
  min-width: 0;
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: #4a5257 #1c2023;
  border-top: 1px solid #333a3f;
  border-bottom: 1px solid #333a3f;
  position: relative;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: #1c2023;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: #4a5257;
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  flex: 1 0 190px;
  min-width: 190px;
  padding: 14px 12px 2px;
  border-right: 1px solid #2c3236;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline-node:last-child {
  border-right: 0;
}
.timeline-dot {
  position: absolute;
  top: 2px;
  left: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8a3b26;
  box-shadow: 0 0 0 3px rgba(138, 59, 38, 0.16);
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #b08a5e;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.55;
  color: #a9b0b4;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: baseline;
  gap: 2px 8px;
  padding: 8px 10px;
  background: #22272b;
  border: 1px solid #343b40;
  border-radius: 3px;
  min-width: 0;
}
.episode-number {
  grid-area: num;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8f979c;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e6e0d3;
  min-width: 0;
}
.episode-duration {
  grid-area: dur;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #7d858a;
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.6;
  color: #9aa1a5;
  margin-top: 2px;
}
.episode-card-current {
  border-color: #8a3b26;
  background: #2b2420;
  box-shadow: inset 3px 0 0 #8a3b26;
}
.episode-card-current .episode-number, .episode-card-current .episode-title {
  color: #f0e6d6;
}
.episode-card-current .episode-summary {
  color: #b3a99a;
}
.comment-columns {
  columns: 2;
  column-gap: 9px;
}
.comment-card {
  break-inside: avoid;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "avatar nick"
    "text text";
  gap: 3px 8px;
  padding: 8px 10px;
  margin-bottom: 9px;
  background: #22272b;
  border: 1px solid #343b40;
  border-radius: 3px;
  min-width: 0;
}
.comment-avatar {
  grid-area: avatar;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #4a5257;
  border: 1px solid #5a6267;
  background-image: linear-gradient(150deg, #5a6267 0%, #3c4348 100%);
  align-self: center;
}
.comment-nickname {
  grid-area: nick;
  align-self: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #c9b98f;
  min-width: 0;
  overflow-wrap: anywhere;
}
.comment-text {
  grid-area: text;
  font-size: 11.5px;
  line-height: 1.65;
  color: #9aa1a5;
  margin-top: 3px;
}
.recommend-section {
  border-top: 1px solid #333a3f;
  padding-top: 10px;
}
.recommend-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #d8d2c6;
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 3px solid #8a3b26;
  line-height: 1.3;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card, .recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: #22272b;
  border: 1px solid #343b40;
  border-radius: 3px;
  color: #c8cdd1;
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
a.recommend-card:hover, .recommend-card:hover {
  border-color: #8a3b26;
  background: #2a2521;
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid #3a4146;
  background: #14171a;
  filter: saturate(0.75) contrast(1.05);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e6e0d3;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: #8f979c;
  overflow-wrap: anywhere;
}
.site-footer {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #333a3f;
  margin-top: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #b08a5e;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e6cfa5;
  border-bottom-color: #8a3b26;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: #6f777c;
  max-width: 62em;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  border-top: 1px solid #2a3034;
  padding-top: 9px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #7d858a;
  white-space: nowrap;
}
a.runtime-friend-link, .runtime-friend-link {
  font-size: 11px;
  font-weight: 500;
  color: #9aa1a5;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted #4a5257;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover, .runtime-friend-link:hover {
  color: #d8d2c6;
  border-bottom-color: #8a3b26;
}
.hero-player.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 90;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-player.is-fullscreen video {
  flex: 1 1 auto;
  min-height: 0;
  object-fit: contain;
}
@media (max-width: 1024px) {.hero-shell {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
    gap: 14px;
  }
.overview-info {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-column {
    max-width: 240px;
  }
.movie-title {
    font-size: clamp(34px, 11vw, 64px);
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-columns {
    columns: 1;
  }}
@media (max-width: 620px) {.page-main {
    padding: 10px 10px 0;
    gap: 16px;
  }
.movie-overview {
    padding: 10px;
    gap: 11px;
  }
.header-bar {
    padding: 7px 10px;
    gap: 10px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    flex: 0 0 170px;
    min-width: 170px;
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.site-footer {
    padding: 14px 10px 22px;
  }}
@media (max-width: 400px) {.recommend-row {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    max-width: 200px;
  }
.player-btn {
    font-size: 10.5px;
    padding: 3px 6px;
  }}

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}
