*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background-color: #171d26;
  background-image:
    radial-gradient(140% 90% at 12% -10%, rgba(120, 136, 156, 0.20), transparent 55%),
    radial-gradient(120% 80% at 100% 0%, rgba(255, 199, 0, 0.06), transparent 50%),
    linear-gradient(180deg, #1b2230 0%, #151a22 60%, #12161d 100%);
  color: #ece7db;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 4px);
}
img { max-width: 100%; display: block; border: 0; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid #ffc700;
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 20, 27, 0.94);
  border-bottom: 1px solid rgba(236, 231, 219, 0.10);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}
.site-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffc700;
  text-decoration: none;
  padding-left: 12px;
  border-left: 3px solid #ffc700;
  white-space: nowrap;
}
.site-name:hover { color: #fff1b0; text-decoration: none; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #b9c3d1;
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid rgba(236, 231, 219, 0.16);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #171d26;
  background: #ffc700;
  border-color: #ffc700;
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 40px;
}
.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffc700;
  padding-bottom: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 199, 0, 0.28);
}
.panel-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffc700;
  margin-bottom: 8px;
}
.hero-section {
  padding-top: 18px;
}
.hero-visual {
  position: relative;
  margin-bottom: 0;
  background: #0d1116;
  overflow: hidden;
  border-radius: 3px 3px 0 0;
}
.hero-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  max-height: 74vh;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.72) contrast(1.12) brightness(0.78);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 17, 22, 0.55) 0%, rgba(13, 17, 22, 0.05) 26%, rgba(13, 17, 22, 0.35) 58%, rgba(13, 17, 22, 0.96) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
}
.hero-slogan {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.movie-title {
  font-size: clamp(24px, 5.4vw, 46px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f7f3e8;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}
.movie-tagline {
  font-size: clamp(12.5px, 2vw, 15px);
  letter-spacing: 0.06em;
  color: #ffd84a;
  padding-left: 10px;
  border-left: 3px solid #ffc700;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}
.player-shell {
  background: #10151c;
  border: 1px solid rgba(236, 231, 219, 0.10);
  border-top: 0;
  border-radius: 0 0 3px 3px;
  padding: 12px 12px 10px;
  margin-bottom: 22px;
}
.player-frame {
  width: 100%;
  background: #000;
  border: 1px solid rgba(255, 199, 0, 0.22);
  border-radius: 2px;
  overflow: hidden;
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(236, 231, 219, 0.10);
}
.control-button {
  appearance: none;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #e6e1d4;
  background: rgba(236, 231, 219, 0.06);
  border: 1px solid rgba(236, 231, 219, 0.20);
  border-radius: 2px;
  padding: 4px 10px;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.control-button:hover {
  color: #171d26;
  background: #ffc700;
  border-color: #ffc700;
}
.control-slider, .control-select {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: #a9b4c3;
  letter-spacing: 0.06em;
}
.control-label {
  white-space: nowrap;
}
.control-range {
  appearance: none;
  -webkit-appearance: none;
  width: 108px;
  height: 3px;
  background: rgba(236, 231, 219, 0.22);
  border-radius: 2px;
  cursor: pointer;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffc700;
  border: 0;
}
.control-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #ffc700;
}
.control-dropdown {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-size: 12px;
  color: #e6e1d4;
  background: rgba(236, 231, 219, 0.06);
  border: 1px solid rgba(236, 231, 219, 0.20);
  border-radius: 2px;
  padding: 3px 8px;
}
.player-shell.is-theater {
  border-color: rgba(255, 199, 0, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 199, 0, 0.18), 0 18px 44px rgba(0, 0, 0, 0.6);
}
.player-shell.is-lights-off {
  background: #05070a;
  border-color: rgba(255, 199, 0, 0.30);
}
.player-shell.is-lights-off .player-controls {
  opacity: 0.55;
}
.player-shell .play, .player-shell .mute, .player-shell .fullscreen, .player-shell .pip, .player-shell .theater, .player-shell .light {
  transition: color 0.15s ease, background-color 0.15s ease;
}
.overview-info {
  background: linear-gradient(180deg, rgba(30, 38, 50, 0.92), rgba(23, 29, 38, 0.92));
  border: 1px solid rgba(236, 231, 219, 0.11);
  border-radius: 3px;
  padding: 16px 18px 18px;
}
.overview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(236, 231, 219, 0.10);
}
.overview-head .section-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.overview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.meta-item {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #b9c3d1;
  padding: 2px 8px;
  border: 1px solid rgba(236, 231, 219, 0.14);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1.1fr) minmax(0, 0.85fr);
  gap: 16px 22px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(236, 231, 219, 0.10);
}
.synopsis-panel, .details-panel, .episode-status-panel {
  min-width: 0;
}
.synopsis-text {
  font-size: 13.5px;
  line-height: 1.68;
  color: #d3cec1;
  margin-bottom: 7px;
}
.synopsis-text:last-child { margin-bottom: 0; }
.synopsis-text::first-letter {
  color: #ffc700;
  font-weight: 700;
}
.details-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.detail-row {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: baseline;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(236, 231, 219, 0.10);
  font-size: 12.5px;
}
.detail-row:last-child { border-bottom: 0; }
.detail-key {
  color: #8e9aab;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.detail-value {
  color: #ece7db;
  text-align: right;
  margin: 0;
}
.status-line {
  font-size: 12.5px;
  color: #b9c3d1;
  margin-bottom: 8px;
}
.status-bar {
  position: relative;
  height: 22px;
  background: rgba(236, 231, 219, 0.08);
  border: 1px solid rgba(236, 231, 219, 0.14);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.status-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 33.3333%;
  background: linear-gradient(90deg, rgba(255, 199, 0, 0.92), rgba(255, 216, 74, 0.72));
}
.status-bar .status-fill {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #171d26;
  white-space: nowrap;
  padding: 0 8px;
  background: #ffc700;
  clip-path: inset(0 0 0 0);
}
.status-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 33.3333%, rgba(236, 231, 219, 0.10) 33.3333%);
}
.cast-panel {
  padding-top: 14px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(236, 231, 219, 0.13);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(120, 136, 156, 0.16), rgba(13, 17, 22, 0.9)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 6px, transparent 6px 12px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.cast-card:hover { border-color: rgba(255, 199, 0, 0.6); }
.cast-name {
  width: 100%;
  padding: 16px 6px 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  color: #f2eee2;
  background: linear-gradient(180deg, transparent, rgba(9, 12, 16, 0.94) 62%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-section {
  margin-top: 26px;
  padding: 16px 18px 18px;
  background: rgba(20, 26, 34, 0.66);
  border: 1px solid rgba(236, 231, 219, 0.09);
  border-radius: 3px;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 0 2px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 92px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 199, 0, 0.15), rgba(255, 199, 0, 0.7) 12%, rgba(255, 199, 0, 0.7) 88%, rgba(255, 199, 0, 0.15));
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 76px 24px minmax(0, 1fr);
  align-items: center;
  gap: 0 8px;
  padding: 9px 0;
}
.timeline-timecode {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: #ffc700;
  text-align: right;
  white-space: nowrap;
}
.timeline-dot {
  position: relative;
  width: 11px;
  height: 11px;
  margin: 0 auto;
  border-radius: 50%;
  background: #ffc700;
  box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.16), 0 0 12px rgba(255, 199, 0, 0.5);
}
.timeline-label {
  font-size: 13px;
  line-height: 1.6;
  color: #d8d3c6;
}
.timeline-item:last-child .timeline-label {
  color: #f7f3e8;
  font-weight: 600;
}
.timeline-item:last-child .timeline-dot {
  box-shadow: 0 0 0 4px rgba(255, 199, 0, 0.22), 0 0 18px rgba(255, 199, 0, 0.75);
}
.episodes-section {
  margin-top: 24px;
}
.episode-scroller {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.episode-scroller::-webkit-scrollbar {
  height: 6px;
}
.episode-scroller::-webkit-scrollbar-track {
  background: rgba(236, 231, 219, 0.07);
}
.episode-scroller::-webkit-scrollbar-thumb {
  background: rgba(255, 199, 0, 0.55);
  border-radius: 3px;
}
.episode-card {
  flex: 0 0 168px;
  scroll-snap-align: start;
  background: linear-gradient(180deg, rgba(32, 40, 53, 0.95), rgba(21, 27, 35, 0.95));
  border: 1px solid rgba(236, 231, 219, 0.12);
  border-left: 3px solid rgba(255, 199, 0, 0.55);
  border-radius: 2px;
  padding: 10px 12px 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 0;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.episode-card:hover {
  border-color: rgba(255, 199, 0, 0.75);
  border-left-color: #ffc700;
  transform: translateY(-2px);
}
.episode-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ffc700;
}
.episode-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #f2eee2;
}
.episode-duration {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #8e9aab;
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px dashed rgba(236, 231, 219, 0.14);
}
.comments-section {
  margin-top: 24px;
}
.comments-masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-card {
  background: rgba(30, 38, 50, 0.72);
  border: 1px solid rgba(236, 231, 219, 0.10);
  border-left: 2px solid rgba(142, 154, 171, 0.5);
  border-radius: 2px;
  padding: 8px 11px 9px;
}
.comment-nickname {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffc700;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 13px;
  line-height: 1.62;
  color: #d3cec1;
}
.comment-short {
  border-left-color: rgba(255, 199, 0, 0.65);
}
.comment-long {
  margin-left: 18px;
  background: rgba(24, 31, 41, 0.66);
  border-left-color: rgba(142, 154, 171, 0.7);
}
.comment-long .comment-text {
  color: #c3bdb0;
}
.recommend-region {
  margin-top: 24px;
}
.recommend-row {
  display: grid;
  gap: 10px;
  align-items: start;
}
.recommend-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(28, 35, 46, 0.85);
  border: 1px solid rgba(236, 231, 219, 0.10);
  border-radius: 2px;
  padding: 8px 9px 10px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
a.recommend-card {
  color: #ece7db;
  text-decoration: none;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  color: #f7f3e8;
  text-decoration: none;
  border-color: rgba(255, 199, 0, 0.6);
  background: rgba(36, 44, 57, 0.9);
}
.recommend-pic {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1px;
  filter: saturate(0.7) brightness(0.88);
}
.recommend-card:hover .recommend-pic {
  filter: saturate(0.95) brightness(1);
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #f2eee2;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: #9aa5b4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 34px;
  border-top: 1px solid rgba(236, 231, 219, 0.10);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #7d8895;
  max-width: 760px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.footer-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #b9c3d1;
  text-decoration: none;
  border-bottom: 1px solid rgba(185, 195, 209, 0.3);
}
.footer-link:hover {
  color: #ffc700;
  text-decoration: none;
  border-bottom-color: #ffc700;
}
a[data-contract="footer-home"] {
  color: #ffc700;
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  color: #b9c3d1;
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff1b0;
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(236, 231, 219, 0.10);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #6f7a89;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #8e9aab;
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid rgba(142, 154, 171, 0.22);
  border-radius: 2px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #171d26;
  background: #ffc700;
  border-color: #ffc700;
  text-decoration: none;
}
@media (max-width: 1024px) {.overview-body {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
.episode-status-panel {
    grid-column: 1 / -1;
  }
.cast-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.recommend-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.overview-body {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-status-panel {
    grid-column: auto;
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-row-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-masonry {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-long {
    margin-left: 12px;
  }
.timeline-list::before {
    left: 76px;
  }
.timeline-item {
    grid-template-columns: 62px 22px minmax(0, 1fr);
  }}
@media (max-width: 600px) {body {
    font-size: 14.5px;
  }
.page-main {
    padding: 0 12px 30px;
  }
.header-inner {
    padding: 9px 12px;
    gap: 8px 14px;
  }
.category-nav {
    max-height: 58px;
    overflow: hidden;
  }
.hero-slogan {
    padding: 0 14px 16px;
  }
.player-shell {
    padding: 9px 9px 8px;
  }
.player-controls {
    gap: 7px 10px;
  }
.control-range {
    width: 84px;
  }
.overview-info {
    padding: 13px 13px 15px;
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
.timeline-section {
    padding: 13px 13px 15px;
  }
.timeline-list::before {
    left: 66px;
  }
.timeline-item {
    grid-template-columns: 54px 18px minmax(0, 1fr);
    gap: 0 6px;
    padding: 8px 0;
  }
.timeline-timecode {
    font-size: 10.5px;
  }
.timeline-dot {
    width: 9px;
    height: 9px;
  }
.timeline-label {
    font-size: 12.5px;
  }
.episode-card {
    flex: 0 0 148px;
  }
.recommend-row-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
.footer-links, .friend-links {
    gap: 5px 8px;
  }
.comment-long {
    margin-left: 0;
  }}
@media (max-width: 400px) {.recommend-row-3 {
    grid-template-columns: minmax(0, 1fr);
  }
.movie-title {
    font-size: 22px;
  }}
@media (prefers-reduced-motion: reduce) {html { scroll-behavior: auto; }
* { transition: none !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}
