*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: #10161b;
  background-image:
    radial-gradient(ellipse 90% 60% at 18% 0%, rgba(58, 74, 84, 0.55), transparent 62%),
    radial-gradient(ellipse 70% 50% at 92% 12%, rgba(96, 66, 42, 0.34), transparent 66%),
    linear-gradient(180deg, #121a20 0%, #0d1216 46%, #0a0e12 100%);
  background-attachment: fixed;
  color: #c3cdd4;
  font-family: "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  font-weight: 400;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, dl, dd, dt, ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
a {
  color: #9fb4c0;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 18, 23, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(120, 148, 162, 0.14);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  color: #e3d6c2;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
a[data-contract="site-name"]:hover {
  color: #f0c98a;
}
.category-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: #8fa3af;
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 1px solid rgba(122, 150, 164, 0.26);
  border-radius: 2px;
  background: rgba(30, 42, 50, 0.5);
}
a.runtime-category:hover {
  color: #f0c98a;
  border-color: rgba(240, 201, 138, 0.5);
  background: rgba(58, 50, 34, 0.5);
  text-decoration: none;
}
.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: #d8c6a8;
  padding-left: 10px;
  border-left: 3px solid #b98d4e;
  line-height: 1.2;
  margin-bottom: 12px;
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.overview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  align-items: end;
  gap: 20px;
  padding: 18px 0 6px;
}
.poster-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  border: 1px solid rgba(130, 156, 168, 0.2);
  background: #0c1116;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.4) inset;
}
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 20, 0) 42%, rgba(10, 16, 20, 0.62) 100%);
  pointer-events: none;
}
.poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 9 / 16;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}
.hero-figure {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(126, 152, 164, 0.18);
}
.hero-tagline {
  position: relative;
  max-width: 30ch;
  margin-left: 12%;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.05em;
  color: #e8dcc7;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
  padding-left: 14px;
  border-left: 1px solid rgba(185, 141, 78, 0.55);
}
.overview-heading {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 10px;
  border-left: 1px solid rgba(126, 152, 164, 0.18);
}
.movie-title {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #eef2f4;
  line-height: 1.1;
}
.movie-tagline {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #c9a strongly;
  color: #c9a06a;
}
.movie-seo {
  max-width: 74ch;
  font-size: 13.5px;
  line-height: 1.62;
  color: #8d9ea9;
}
.player-shell {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #080c0f;
  border: 1px solid rgba(126, 152, 164, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}
.player-shell.is-lights-off {
  background: #000;
  box-shadow: 0 0 0 1px rgba(240, 201, 138, 0.16), 0 18px 46px rgba(0, 0, 0, 0.8);
}
.player-shell.is-theater {
  border-color: rgba(240, 201, 138, 0.34);
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #04070a;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: linear-gradient(180deg, rgba(20, 28, 34, 0.94), rgba(13, 19, 24, 0.98));
  border-top: 1px solid rgba(126, 152, 164, 0.16);
}
.control-btn {
  flex: 0 0 auto;
  padding: 5px 11px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #c2ced6;
  background: rgba(38, 52, 60, 0.72);
  border: 1px solid rgba(126, 152, 164, 0.24);
  border-radius: 2px;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.control-btn:hover {
  color: #f0c98a;
  border-color: rgba(240, 201, 138, 0.42);
  background: rgba(60, 52, 36, 0.7);
}
.control-btn.play, .control-btn.change, .control-btn.click {
  color: #e6d7bd;
}
.control-btn.mute, .control-btn.volume, .control-btn.light, .control-btn.theater, .control-btn.fullscreen, .control-btn.pip, .control-btn.speed, .control-btn.progress, .control-btn.timeupdate, .control-btn.input, .control-btn.player {
  color: #bfcbd3;
}
.player-shell.is-muted .control-btn.mute {
  color: #d98b6a;
  border-color: rgba(217, 139, 106, 0.5);
}
.player-shell.is-lights-off .control-btn.light {
  color: #f0c98a;
  border-color: rgba(240, 201, 138, 0.55);
  background: rgba(66, 54, 34, 0.72);
}
.player-shell.is-theater .control-btn.theater {
  color: #f0c98a;
  border-color: rgba(240, 201, 138, 0.55);
  background: rgba(66, 54, 34, 0.72);
}
.control-range {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, rgba(185, 141, 78, 0.6), rgba(126, 152, 164, 0.28));
  border-radius: 2px;
  outline: none;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e8d2a6;
  border: 1px solid #7a5c30;
  cursor: pointer;
}
.control-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e8d2a6;
  border: 1px solid #7a5c30;
  cursor: pointer;
}
.control-select {
  flex: 0 0 auto;
  padding: 5px 8px;
  font-size: 12.5px;
  color: #c2ced6;
  background: rgba(38, 52, 60, 0.8);
  border: 1px solid rgba(126, 152, 164, 0.24);
  border-radius: 2px;
}
.control-select:hover {
  border-color: rgba(240, 201, 138, 0.42);
}
.cast-strip {
  display: flex;
  flex-direction: column;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 11px;
  background: rgba(26, 36, 43, 0.62);
  border: 1px solid rgba(126, 152, 164, 0.14);
  border-left: 2px solid rgba(185, 141, 78, 0.42);
  transition: border-color 0.16s ease, background 0.16s ease;
}
.cast-card:hover {
  background: rgba(38, 50, 58, 0.72);
  border-left-color: #c9a06a;
}
.cast-name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #e6e2d9;
  line-height: 1.2;
}
.cast-role {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #8b9ca8;
  line-height: 1.25;
}
.synopsis-panel {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  background: rgba(20, 28, 34, 0.55);
  border: 1px solid rgba(126, 152, 164, 0.12);
  border-top: 1px solid rgba(185, 141, 78, 0.3);
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.68;
  color: #94a5b0;
  text-indent: 2em;
  margin-bottom: 6px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.status-item {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: #93a5b0;
  padding: 4px 11px;
  border: 1px solid rgba(126, 152, 164, 0.2);
  border-radius: 2px;
  background: rgba(26, 36, 43, 0.5);
  white-space: nowrap;
}
.status-current {
  color: #f0c98a;
  border-color: rgba(240, 201, 138, 0.5);
  background: rgba(58, 48, 30, 0.55);
  font-weight: 600;
}
.details-panel {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  background: rgba(20, 28, 34, 0.55);
  border: 1px solid rgba(126, 152, 164, 0.12);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 22px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(126, 152, 164, 0.13);
}
.detail-key {
  flex: 0 0 auto;
  min-width: 4.6em;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: #7d8f9b;
}
.detail-value {
  flex: 1 1 auto;
  font-size: 13px;
  color: #c8d3da;
  letter-spacing: 0.02em;
}
.timeline-section {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 141, 78, 0.55) rgba(20, 28, 34, 0.6);
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(20, 28, 34, 0.7);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: rgba(185, 141, 78, 0.55);
  border-radius: 3px;
}
.timeline-item {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 10px 12px;
  border-left: 1px solid rgba(126, 152, 164, 0.3);
  background: linear-gradient(180deg, rgba(24, 33, 40, 0.72), rgba(16, 23, 28, 0.72));
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 1px;
  height: 14px;
  background: rgba(185, 141, 78, 0.75);
}
.timeline-item:last-child {
  border-right: 1px solid rgba(126, 152, 164, 0.3);
}
.timeline-timecode {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #7f939f;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  line-height: 1.48;
  color: #aebbc4;
}
.timeline-item-active {
  background: linear-gradient(180deg, rgba(62, 50, 28, 0.85), rgba(38, 32, 20, 0.85));
  border-left-color: rgba(240, 201, 138, 0.6);
}
.timeline-item-active::before {
  background: #f0c98a;
  height: 22px;
}
.timeline-item-active .timeline-timecode {
  color: #f0c98a;
}
.timeline-item-active .timeline-label {
  color: #ecdfc7;
}
.episodes-section {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  align-items: start;
}
.episode-cell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: baseline;
  column-gap: 9px;
  row-gap: 2px;
  padding: 8px 11px;
  background: rgba(22, 31, 38, 0.62);
  border: 1px solid rgba(126, 152, 164, 0.12);
  border-left: 2px solid rgba(126, 152, 164, 0.2);
  transition: background 0.16s ease, border-color 0.16s ease;
}
.episode-cell:hover, .episode-cell:focus-within {
  background: rgba(36, 48, 56, 0.8);
  border-left-color: #c9a06a;
}
.episode-number {
  grid-column: 1;
  grid-row: 1;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #8598a4;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.episode-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #d9e0e4;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-summary {
  grid-column: 1 / -1;
  grid-row: 3;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.55;
  color: #93a5b0;
  transition: max-height 0.22s ease, opacity 0.22s ease, margin-top 0.22s ease;
}
.episode-cell:hover .episode-summary, .episode-cell:focus-within .episode-summary, .episode-cell-active .episode-summary {
  max-height: 8em;
  opacity: 1;
  margin-top: 3px;
}
.episode-duration {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #74868f;
  font-variant-numeric: tabular-nums;
}
.episode-cell-active {
  background: linear-gradient(180deg, rgba(60, 49, 28, 0.82), rgba(32, 27, 17, 0.82));
  border-left-color: #f0c98a;
}
.episode-cell-active .episode-number {
  color: #f0c98a;
}
.episode-cell-active .episode-title {
  color: #f4e6cb;
}
.comments-section {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.comment-stream {
  columns: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 8px;
  align-items: start;
  margin: 0 0 10px;
  padding: 10px 12px;
  background: rgba(22, 31, 38, 0.6);
  border: 1px solid rgba(126, 152, 164, 0.11);
  border-top: 1px solid rgba(185, 141, 78, 0.22);
}
.comment-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(226, 213, 190, 0.55), rgba(70, 88, 98, 0.9) 62%),
    #3b4a54;
  border: 1px solid rgba(126, 152, 164, 0.3);
  flex: 0 0 auto;
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.comment-nickname {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #c9a06a;
  font-weight: 600;
}
.comment-text {
  font-size: 13px;
  line-height: 1.6;
  color: #aebbc4;
}
.recommend-bar {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 14px;
  background: rgba(19, 27, 33, 0.6);
  border: 1px solid rgba(126, 152, 164, 0.12);
  border-left: 2px solid rgba(185, 141, 78, 0.4);
}
.recommend-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.3em;
  font-size: 13px;
  font-weight: 600;
  color: #d8c6a8;
  line-height: 1;
  padding: 2px 0;
}
.recommend-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 9px;
  align-items: start;
  min-width: 0;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  color: #b6c3cb;
  background: rgba(26, 36, 43, 0.6);
  border: 1px solid rgba(126, 152, 164, 0.12);
  padding: 7px;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
a.recommend-item:hover {
  border-color: rgba(240, 201, 138, 0.45);
  background: rgba(36, 47, 55, 0.8);
  text-decoration: none;
  color: #e6dcc7;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: #0a0f13;
  filter: saturate(0.82) contrast(1.04) brightness(0.94);
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(0.95) contrast(1.06) brightness(1.02);
}
.recommend-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #dde4e8;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: #8698a3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid rgba(126, 152, 164, 0.16);
  background: rgba(9, 13, 17, 0.9);
  padding: 20px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-home-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a[data-contract="footer-home"] {
  color: #cbb894;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover {
  color: #f0c98a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a[data-contract="footer-sitemap"] {
  color: #8fa3af;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
a[data-contract="footer-sitemap"]:hover {
  color: #d8c6a8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  max-width: 88ch;
  font-size: 11.5px;
  line-height: 1.62;
  color: #5f7079;
  letter-spacing: 0.02em;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(126, 152, 164, 0.14);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: #6b7c86;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: #8095a1;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #c9a06a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {.overview-hero {
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
    gap: 16px;
  }
.hero-tagline {
    font-size: 18px;
    margin-left: 6%;
  }
.movie-title {
    font-size: 23px;
  }
.recommend-bar {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 11px;
  }}
@media (max-width: 680px) {.page-main {
    padding: 16px 12px 32px;
    gap: 20px;
  }
.header-inner {
    padding: 7px 12px;
    gap: 10px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding-top: 12px;
  }
.poster-wrap {
    max-width: 200px;
  }
.hero-figure {
    min-height: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
.hero-tagline {
    margin-left: 0;
    max-width: 34ch;
    font-size: 17px;
    padding-left: 11px;
  }
.overview-heading {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(126, 152, 164, 0.18);
    padding-top: 10px;
  }
.movie-title {
    font-size: 21px;
    letter-spacing: 0.1em;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
.episode-summary {
    max-height: 8em;
    opacity: 1;
    margin-top: 3px;
  }
.comment-stream {
    columns: 1;
  }
.recommend-bar {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.recommend-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 0.24em;
    border-left: 3px solid #b98d4e;
    padding-left: 9px;
  }
.recommend-items {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }
.timeline-item {
    width: 152px;
  }
.player-controls {
    gap: 6px;
    padding: 8px;
  }
.control-btn {
    padding: 5px 9px;
    font-size: 12px;
  }
.site-footer {
    padding: 18px 12px 26px;
  }}
@media (max-width: 420px) {.recommend-items {
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 7px;
  }
.movie-seo {
    font-size: 13px;
  }
.details-list {
    grid-template-columns: minmax(0, 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}
