*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background-color: #1c1420;
  background-image:
    radial-gradient(circle at 18% 8%, rgba(120, 74, 52, 0.34), transparent 42%),
    radial-gradient(circle at 82% 0%, rgba(84, 48, 96, 0.42), transparent 46%),
    linear-gradient(180deg, #241a2b 0%, #1c1420 46%, #191220 100%);
  color: #e8dcc8;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3, p, figure, dl, dd, dt, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
::selection {
  background: #6f8f74;
  color: #f3ead2;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(28, 20, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 162, 104, 0.22);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.55rem clamp(0.75rem, 3vw, 1.6rem);
}
a[data-contract="site-name"] {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f0e2c2;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(240, 200, 120, 0.32);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #f6d98e;
}
.header-divider {
  width: 1px;
  height: 1.05rem;
  background: linear-gradient(180deg, transparent, rgba(228, 186, 112, 0.6), transparent);
  flex: 0 0 auto;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 0.2rem 0.66rem;
  border: 1px solid rgba(206, 170, 108, 0.38);
  border-radius: 999px;
  background: rgba(94, 60, 46, 0.42);
  color: #dcc79c;
  font-size: 0.82rem;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
a.runtime-category:hover {
  background: rgba(124, 92, 58, 0.6);
  border-color: rgba(238, 206, 140, 0.7);
  color: #f7e6bd;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(0.6rem, 3vw, 1.6rem) 2.4rem;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f2dcae;
  margin-bottom: 0.55rem;
}
.section-title::before {
  content: "";
  width: 0.34rem;
  height: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #e7bd6f, #7d5a86);
  flex: 0 0 auto;
}
section + section, section + .recommendations-section {
  border-top: 1px solid rgba(196, 162, 104, 0.18);
  padding-top: 1rem;
  margin-top: 1rem;
}
.synopsis-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  margin-top: 1rem;
  padding: clamp(0.7rem, 2vw, 1.05rem);
  border: 1px solid rgba(196, 162, 104, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(72, 44, 62, 0.5), rgba(38, 26, 40, 0.72) 60%),
    radial-gradient(circle at 88% 4%, rgba(214, 166, 96, 0.16), transparent 55%);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.9);
}
.media-column {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
}
.poster-wrapper {
  align-self: flex-start;
  width: min(42%, 190px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(226, 192, 128, 0.28);
  box-shadow: 0 12px 26px -16px rgba(0, 0, 0, 0.95);
}
.poster-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 13px;
}
.main-player {
  display: block;
  width: 100%;
  border-radius: 12px;
  background: #100b16;
  border: 1px solid rgba(196, 162, 104, 0.26);
  box-shadow: 0 16px 34px -22px rgba(0, 0, 0, 0.95);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.4rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(196, 162, 104, 0.2);
  border-radius: 12px;
  background: rgba(30, 20, 34, 0.72);
}
.ctrl-btn {
  padding: 0.22rem 0.6rem;
  border: 1px solid rgba(206, 170, 108, 0.34);
  border-radius: 999px;
  background: rgba(88, 58, 48, 0.55);
  color: #e5d3ab;
  font-size: 0.76rem;
  line-height: 1.5;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.ctrl-btn:hover {
  background: rgba(124, 88, 60, 0.7);
  border-color: rgba(240, 208, 142, 0.62);
  color: #f8e8c0;
}
.ctrl-btn:active {
  transform: translateY(1px);
}
.ctrl-btn.is-active {
  background: linear-gradient(180deg, #8fae8b, #5d7f68);
  border-color: rgba(196, 232, 188, 0.6);
  color: #17210f;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  min-width: 0;
  flex: 1 1 90px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a05c, #6d4f78);
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f3e0b0;
  border: 1px solid #6b4b2f;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #6b4b2f;
  border-radius: 50%;
  background: #f3e0b0;
}
.ctrl-select {
  padding: 0.22rem 0.5rem;
  border: 1px solid rgba(206, 170, 108, 0.34);
  border-radius: 999px;
  background: rgba(88, 58, 48, 0.55);
  color: #e5d3ab;
  font-size: 0.76rem;
  cursor: pointer;
}
.movie-heading {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed rgba(196, 162, 104, 0.26);
}
.movie-title {
  font-family: "Yuanti SC", "YouYuan", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: clamp(1.35rem, 4.4vw, 1.95rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.24;
  color: #f7edd4;
  text-shadow: 0 0 22px rgba(240, 196, 116, 0.3);
}
.movie-tagline {
  font-size: 0.86rem;
  color: #c9a978;
  letter-spacing: 0.08em;
}
.synopsis-text {
  min-width: 0;
}
.synopsis-text .section-title {
  margin-bottom: 0.45rem;
}
.synopsis-para {
  font-size: 0.86rem;
  line-height: 1.72;
  color: #d4c7b2;
}
.synopsis-para + .synopsis-para {
  margin-top: 0.42rem;
}
.cast-block {
  min-width: 0;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.5rem;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  padding: 0.5rem 0.35rem;
  border: 1px solid rgba(196, 162, 104, 0.18);
  border-radius: 12px;
  background: rgba(46, 32, 48, 0.56);
  text-align: center;
}
.cast-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(226, 190, 122, 0.5);
}
.cast-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f0e2c2;
  line-height: 1.35;
}
.cast-role {
  font-size: 0.72rem;
  color: #9fbf9c;
  letter-spacing: 0.05em;
  padding: 0.05rem 0.45rem;
  border: 1px solid rgba(159, 191, 156, 0.34);
  border-radius: 999px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.status-chip {
  padding: 0.14rem 0.62rem;
  border: 1px solid rgba(206, 170, 108, 0.34);
  border-radius: 999px;
  background: rgba(94, 62, 48, 0.42);
  color: #e2d0a6;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.status-chip:nth-child(3) {
  border-color: rgba(159, 191, 156, 0.42);
  background: rgba(70, 96, 74, 0.32);
  color: #cfe3c6;
}
.details-panel {
  min-width: 0;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.28rem 0.7rem;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(196, 162, 104, 0.14);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 0.74rem;
  color: #a8916f;
  letter-spacing: 0.06em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.8rem;
  color: #e6dac2;
  text-align: right;
}
.timeline-section {
  min-width: 0;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.3rem 1.1rem;
  padding-left: 0.9rem;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  bottom: 0.3rem;
  left: 0.19rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(231, 189, 111, 0.65), rgba(125, 90, 134, 0.45), rgba(231, 189, 111, 0.12));
}
.timeline-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.5rem;
  padding: 0.32rem 0 0.32rem 0.2rem;
  min-width: 0;
}
.timeline-node {
  position: absolute;
  left: -0.85rem;
  top: 0.72rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0cf8c;
  box-shadow: 0 0 0 3px rgba(240, 207, 140, 0.16), 0 0 10px rgba(240, 190, 110, 0.55);
}
.timeline-timecode {
  flex: 0 0 auto;
  padding: 0.05rem 0.5rem;
  border: 1px solid rgba(206, 170, 108, 0.36);
  border-radius: 999px;
  background: rgba(94, 62, 48, 0.42);
  color: #e9d4a4;
  font-size: 0.72rem;
  white-space: nowrap;
}
.timeline-label {
  flex: 1 1 130px;
  min-width: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #d2c5b0;
}
.episodes-section {
  min-width: 0;
}
.episode-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.45rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.episode-scroller::-webkit-scrollbar {
  height: 6px;
}
.episode-scroller::-webkit-scrollbar-track {
  background: rgba(94, 62, 48, 0.25);
  border-radius: 999px;
}
.episode-scroller::-webkit-scrollbar-thumb {
  background: rgba(206, 170, 108, 0.45);
  border-radius: 999px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  align-self: start;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(196, 162, 104, 0.2);
  border-radius: 12px;
  background: linear-gradient(170deg, rgba(62, 42, 58, 0.66), rgba(36, 25, 40, 0.78));
  scroll-snap-align: start;
}
.episode-number {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #9fbf9c;
}
.episode-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f2e4c6;
  line-height: 1.4;
}
.episode-summary {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #c6b8a4;
}
.episode-duration {
  margin-top: auto;
  padding-top: 0.3rem;
  font-size: 0.7rem;
  color: #c9a978;
  letter-spacing: 0.06em;
}
.comments-section {
  min-width: 0;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.3rem 1.1rem;
  align-items: start;
}
.comment-item {
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(196, 162, 104, 0.16);
  min-width: 0;
}
.comment-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.18rem;
}
.comment-nickname {
  font-size: 0.78rem;
  font-weight: 700;
  color: #dcd0b4;
  letter-spacing: 0.04em;
}
.comment-nickname::before {
  content: "◍";
  margin-right: 0.32rem;
  color: #9fbf9c;
  font-size: 0.7rem;
}
.comment-text {
  font-size: 0.8rem;
  line-height: 1.66;
  color: #c9bca8;
}
.recommendations-section {
  min-width: 0;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
  align-items: start;
}
a.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  padding: 0.42rem;
  border: 1px solid rgba(196, 162, 104, 0.2);
  border-radius: 12px;
  background: rgba(48, 33, 50, 0.6);
  color: #e6dac2;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommendation-card:hover {
  border-color: rgba(240, 208, 142, 0.6);
  background: rgba(70, 48, 66, 0.72);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 9px;
  background: #17101c;
}
.rec-name {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.42;
  color: #f0e2c2;
}
.rec-blurb {
  font-size: 0.72rem;
  line-height: 1.55;
  color: #b3a48f;
}
.site-footer {
  border-top: 1px solid rgba(196, 162, 104, 0.22);
  background: linear-gradient(180deg, rgba(30, 21, 34, 0.6), rgba(20, 14, 26, 0.92));
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem clamp(0.6rem, 3vw, 1.6rem) 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.8rem;
  color: #d9c69c;
  text-decoration: none;
  border-bottom: 1px dotted rgba(217, 198, 156, 0.5);
  padding-bottom: 1px;
}
a[data-contract="footer-home"] {
  color: #e9d6a6;
}
a[data-contract="footer-home"]:hover {
  color: #f7e6bd;
  border-bottom-color: rgba(247, 230, 189, 0.9);
}
a[data-contract="footer-sitemap"] {
  color: #a9c4a4;
}
a[data-contract="footer-sitemap"]:hover {
  color: #cfe6c8;
  border-bottom-color: rgba(207, 230, 200, 0.9);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.45rem;
}
.friend-links-label {
  font-size: 0.74rem;
  color: #9c8a6c;
  letter-spacing: 0.08em;
  margin-right: 0.1rem;
}
a.runtime-friend-link {
  padding: 0.1rem 0.52rem;
  border: 1px solid rgba(196, 162, 104, 0.26);
  border-radius: 999px;
  background: rgba(60, 42, 54, 0.5);
  color: #bfb096;
  font-size: 0.72rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-friend-link:hover {
  color: #f0e2c2;
  border-color: rgba(226, 190, 122, 0.6);
  background: rgba(88, 60, 62, 0.66);
}
.footer-disclaimer {
  font-size: 0.72rem;
  line-height: 1.66;
  color: #8a7d68;
  max-width: 62ch;
}
body.lights-off {
  background-image:
    radial-gradient(circle at 50% 12%, rgba(120, 74, 52, 0.18), transparent 55%),
    linear-gradient(180deg, #120c16 0%, #0d0812 100%);
}
body.lights-off .site-header {
  background: rgba(14, 9, 18, 0.94);
}
.media-column.is-theater {
  order: -1;
}
.media-column.is-theater .main-player {
  box-shadow: 0 0 0 1px rgba(240, 208, 142, 0.5), 0 22px 46px -20px rgba(0, 0, 0, 0.95);
}
.media-column.is-lit .poster-wrapper {
  border-color: rgba(240, 208, 142, 0.6);
  box-shadow: 0 0 26px -6px rgba(240, 196, 116, 0.5);
}
.player {
  position: relative;
}
.player .progress {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9a05c, #6d4f78);
}
.player .volume, .player .speed, .player .timeupdate {
  font-size: 0.74rem;
  color: #c9a978;
}
.player .play, .player .mute, .player .fullscreen, .player .pip, .player .theater, .player .light, .player .input, .player .click, .player .change {
  cursor: pointer;
}
@media (min-width: 720px) {.synopsis-block {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: 1.1rem;
    align-items: start;
  }
.media-column {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
.movie-heading {
    grid-column: 2;
    grid-row: 1;
  }
.synopsis-text {
    grid-column: 2;
    grid-row: 2;
  }
.cast-block, .episode-status, .details-panel {
    grid-column: 1 / -1;
  }
.synopsis-block > * + * {
    margin-top: 0;
  }
.cast-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommendation-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }}
@media (min-width: 1024px) {.synopsis-block {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  }
.poster-wrapper {
    width: min(46%, 200px);
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.6rem;
  }
.comment-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 719px) {.synopsis-block {
    padding: 0.7rem;
    border-radius: 14px;
  }
.poster-wrapper {
    width: min(52%, 170px);
  }
.movie-title {
    font-size: 1.3rem;
  }
.episode-scroller {
    grid-auto-columns: minmax(78%, 1fr);
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.header-inner {
    gap: 0.4rem 0.55rem;
  }}
@media (max-width: 420px) {body {
    font-size: 14px;
  }
.recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }
.cast-avatar {
    width: 48px;
    height: 48px;
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }}

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}
