:root {
  --salt-blue: #1c2b36;
  --salt-blue-deep: #131e26;
  --salt-blue-soft: #24373f;
  --caramel: #c07a3e;
  --caramel-bright: #e09a52;
  --caramel-deep: #8a5124;
  --cream: #f2e3cf;
  --cream-dim: #cdbca6;
  --muted: #8fa0a8;
  --glow: #ffd9a0;
  --edge: rgba(192, 122, 62, 0.34);
  --paper: rgba(242, 227, 207, 0.06);
  --font-title: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--salt-blue-deep);
}
body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--cream-dim);
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(224, 154, 82, 0.16), transparent 62%),
    radial-gradient(900px 520px at 8% 12%, rgba(36, 90, 96, 0.28), transparent 60%),
    linear-gradient(180deg, #16232c 0%, #131e26 40%, #0f1820 100%);
  background-attachment: fixed;
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
}
ol, ul {
  list-style: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 10px clamp(12px, 3vw, 34px) 0;
  background: linear-gradient(180deg, rgba(19, 30, 38, 0.96), rgba(19, 30, 38, 0.72));
  backdrop-filter: blur(12px);
  border-bottom: 1px dashed var(--edge);
}
.brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px clamp(14px, 3vw, 40px);
  padding-bottom: 8px;
}
.site-brand {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--glow);
  letter-spacing: 0.1em;
  text-shadow: 0 0 16px rgba(255, 217, 160, 0.42);
}
a[data-contract="site-name"] {
  color: var(--glow);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  text-decoration: underline dashed var(--caramel);
  text-underline-offset: 5px;
}
.primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-left: auto;
}
a.nav-link {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--cream-dim);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 7px;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.nav-link:hover, a.nav-link:focus-visible {
  color: var(--caramel-bright);
  border-color: var(--edge);
  border-style: dashed;
  background: rgba(192, 122, 62, 0.1);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 0 10px;
  border-top: 1px dashed rgba(192, 122, 62, 0.16);
  padding-top: 8px;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 11px;
  font-size: 12px;
  color: var(--salt-blue);
  background: linear-gradient(180deg, var(--caramel-bright), var(--caramel));
  border-radius: 20px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(192, 122, 62, 0.28);
  transition: transform 0.16s, box-shadow 0.16s;
}
a.runtime-category:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(224, 154, 82, 0.45);
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 30px);
  padding: clamp(14px, 2.4vw, 30px) clamp(12px, 3vw, 34px) clamp(24px, 4vw, 48px);
  max-width: 1560px;
  margin: 0 auto;
}
.section-heading {
  position: relative;
  font-size: 19px;
  padding-left: 16px;
  margin-bottom: 12px;
  line-height: 1.4;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.16em;
  bottom: 0.16em;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--glow), var(--caramel-deep));
}
.subsection-heading {
  font-size: 15px;
  color: var(--caramel-bright);
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px dashed var(--edge);
}
.player-section {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(10px, 1.6vw, 18px);
  border: 1px solid var(--edge);
  border-radius: 14px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(224, 154, 82, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(36, 55, 63, 0.72), rgba(19, 30, 38, 0.86));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}
.player-stage {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #0a1116;
  box-shadow: 0 0 0 1px rgba(255, 217, 160, 0.16), 0 0 42px rgba(224, 154, 82, 0.22);
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  background: #0a1116;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px dashed var(--edge);
  border-radius: 10px;
  background: rgba(10, 17, 22, 0.62);
}
.ctrl-btn {
  padding: 5px 13px;
  font-size: 12.5px;
  color: var(--cream-dim);
  background: rgba(36, 55, 63, 0.8);
  border: 1px solid rgba(192, 122, 62, 0.3);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s, background 0.16s, border-color 0.16s, transform 0.16s;
}
.ctrl-btn:hover {
  color: var(--salt-blue);
  background: var(--caramel-bright);
  border-color: var(--caramel-bright);
}
.ctrl-btn:active {
  transform: scale(0.96);
}
.ctrl-btn.is-active, .ctrl-btn.is-lit {
  color: var(--salt-blue);
  background: var(--glow);
  border-color: var(--glow);
  box-shadow: 0 0 12px rgba(255, 217, 160, 0.5);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 6px;
  accent-color: var(--caramel-bright);
  background: transparent;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 96px;
  min-width: 72px;
  height: 6px;
  accent-color: var(--caramel);
  cursor: pointer;
}
.player-section.is-theater {
  border-color: var(--glow);
  box-shadow: 0 0 60px rgba(224, 154, 82, 0.34);
}
body.is-theater .site-header {
  opacity: 0.28;
}
body.is-lit .player-section {
  background: linear-gradient(180deg, rgba(60, 88, 96, 0.8), rgba(26, 40, 48, 0.9));
}
body.is-lit .overview-poster, body.is-lit .cast-avatar {
  filter: brightness(1.14) saturate(1.06);
}
.player-section .click, .player-section .fullscreen, .player-section .input, .player-section .mute, .player-section .pip, .player-section .play, .player-section .player, .player-section .progress, .player-section .speed, .player-section .theater, .player-section .light, .player-section .timeupdate, .player-section .volume, .player-section .x {
  transition: opacity 0.2s, transform 0.2s;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: clamp(14px, 2.2vw, 30px);
  align-items: start;
  padding: clamp(14px, 2vw, 26px);
  border: 1px solid var(--edge);
  border-radius: 16px;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(224, 154, 82, 0.12), transparent 66%),
    linear-gradient(180deg, rgba(28, 43, 54, 0.94), rgba(19, 30, 38, 0.96));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
}
.overview-poster-col {
  align-self: start;
  width: 100%;
  border-radius: 12px;
  padding: 6px;
  background: linear-gradient(160deg, rgba(224, 154, 82, 0.28), rgba(36, 90, 96, 0.22));
  box-shadow: 0 0 34px rgba(224, 154, 82, 0.24);
}
.overview-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.overview-title {
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.24;
  color: var(--cream);
  text-shadow: 0 0 22px rgba(255, 217, 160, 0.26);
}
.overview-tagline {
  font-family: var(--font-title);
  font-size: 14.5px;
  color: var(--caramel-bright);
  padding-left: 12px;
  border-left: 3px solid var(--caramel);
  line-height: 1.6;
}
.overview-seo {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.72;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--edge);
}
.cast-section {
  min-width: 0;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  border: 1px dashed rgba(192, 122, 62, 0.24);
  border-radius: 10px;
  background: rgba(242, 227, 207, 0.04);
  text-align: center;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.cast-card:hover {
  border-color: var(--caramel-bright);
  background: rgba(224, 154, 82, 0.1);
  transform: translateY(-2px);
}
.cast-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(224, 154, 82, 0.5);
  box-shadow: 0 0 14px rgba(224, 154, 82, 0.24);
}
.cast-name {
  display: block;
  font-size: 13px;
  color: var(--cream);
  font-weight: 600;
  line-height: 1.35;
}
.cast-role {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}
.synopsis-section {
  min-width: 0;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.78;
  color: var(--cream-dim);
  margin-bottom: 8px;
  text-indent: 2em;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  display: inline-block;
  padding: 5px 13px;
  font-size: 12.5px;
  color: var(--cream);
  border: 1px dashed var(--edge);
  border-radius: 8px;
  background: rgba(224, 154, 82, 0.09);
  white-space: nowrap;
}
.details-section {
  min-width: 0;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 22px;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 12px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(143, 160, 168, 0.22);
  min-width: 0;
}
.detail-row dt {
  flex: 0 0 auto;
  color: var(--muted);
  white-space: nowrap;
}
.detail-row dd {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--cream-dim);
  text-align: right;
}
.episodes-section {
  border-top: 1px dashed var(--edge);
  padding-top: 16px;
}
.episode-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  grid-template-rows: 1fr;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--caramel-deep) rgba(19, 30, 38, 0.6);
}
.episode-track::-webkit-scrollbar {
  height: 8px;
}
.episode-track::-webkit-scrollbar-track {
  background: rgba(19, 30, 38, 0.7);
  border-radius: 4px;
}
.episode-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--caramel-deep), var(--caramel));
  border-radius: 4px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 13px;
  border: 1px solid rgba(192, 122, 62, 0.24);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(36, 55, 63, 0.7), rgba(19, 30, 38, 0.82));
  scroll-snap-align: start;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.episode-card:hover {
  border-color: var(--caramel);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}
.episode-number {
  font-size: 11.5px;
  color: var(--caramel-bright);
  letter-spacing: 0.08em;
}
.episode-title {
  font-size: 15px;
  line-height: 1.35;
  color: var(--cream);
}
.episode-summary {
  flex: 1 1 auto;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}
.episode-duration {
  align-self: flex-start;
  font-size: 11px;
  color: var(--cream-dim);
  padding: 2px 9px;
  border: 1px dashed rgba(192, 122, 62, 0.32);
  border-radius: 20px;
}
.episode-card.is-current {
  border-color: var(--caramel-bright);
  background: linear-gradient(180deg, rgba(192, 122, 62, 0.34), rgba(138, 81, 36, 0.24));
  box-shadow: 0 0 0 1px rgba(255, 217, 160, 0.34), 0 0 28px rgba(224, 154, 82, 0.34);
}
.episode-card.is-current .episode-number, .episode-card.is-current .episode-title {
  color: var(--glow);
}
.episode-card.is-current .episode-duration {
  color: var(--glow);
  border-color: var(--glow);
}
.timeline-section {
  border-top: 1px dashed var(--edge);
  padding-top: 16px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 18px;
  position: relative;
  padding-left: 4px;
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  grid-template-areas:
    "crumb timecode"
    "crumb label";
  column-gap: 8px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px dotted rgba(143, 160, 168, 0.2);
}
.timeline-crumb {
  grid-area: crumb;
  margin-top: 6px;
  width: 10px;
  height: 10px;
  background: var(--caramel-bright);
  border-radius: 62% 38% 55% 45% / 50% 58% 42% 50%;
  box-shadow: 0 0 10px rgba(224, 154, 82, 0.6);
  transform: rotate(-18deg);
}
.timeline-timecode {
  grid-area: timecode;
  font-family: var(--font-title);
  font-size: 12.5px;
  color: var(--glow);
  letter-spacing: 0.06em;
}
.timeline-label {
  grid-area: label;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--muted);
}
.comments-section {
  border-top: 1px dashed var(--edge);
  padding-top: 16px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: start;
  padding: 6px 2px 4px;
}
.comment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px 15px 14px;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(242, 227, 207, 0.14), rgba(242, 227, 207, 0.06));
  border: 1px solid rgba(242, 227, 207, 0.14);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
  transition: transform 0.22s, box-shadow 0.22s;
}
.comment-card:nth-child(3n + 1) {
  transform: rotate(-1.1deg);
}
.comment-card:nth-child(3n + 2) {
  transform: rotate(0.9deg);
}
.comment-card:nth-child(3n) {
  transform: rotate(-0.4deg);
}
.comment-card:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.46);
}
.comment-nickname {
  font-family: var(--font-title);
  font-size: 13.5px;
  color: var(--caramel-bright);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--cream-dim);
}
.recommend-region {
  border-top: 1px dashed var(--edge);
  padding-top: 16px;
}
.recommend-list {
  display: grid;
  gap: 12px;
}
.recommend-list-compact {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}
.recommend-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 8px;
  border: 1px solid rgba(192, 122, 62, 0.22);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(36, 55, 63, 0.66), rgba(19, 30, 38, 0.82));
  color: var(--cream-dim);
  text-decoration: none;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--caramel-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 7px;
  background: #0a1116;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--font-title);
  font-size: 13.5px;
  color: var(--cream);
  line-height: 1.4;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px clamp(12px, 3vw, 34px) 26px;
  border-top: 1px dashed var(--edge);
  background: linear-gradient(180deg, rgba(19, 30, 38, 0.5), rgba(15, 24, 32, 0.94));
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 900px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12.5px;
  color: var(--cream-dim);
  text-decoration: none;
  border: 1px dashed rgba(192, 122, 62, 0.3);
  border-radius: 7px;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--caramel-bright);
  border-color: var(--caramel-bright);
  background: rgba(192, 122, 62, 0.12);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px dotted rgba(143, 160, 168, 0.2);
}
.friend-links-label {
  font-family: var(--font-title);
  font-size: 12.5px;
  color: var(--caramel-bright);
  padding-right: 8px;
  border-right: 1px dashed var(--edge);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s;
}
a.runtime-friend-link:hover {
  color: var(--glow);
  text-decoration: underline dashed var(--caramel);
  text-underline-offset: 4px;
}
@media (max-width: 1080px) {.movie-overview {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-poster-col {
    max-width: 220px;
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
  }
.episode-track {
    grid-auto-columns: minmax(200px, 1fr);
  }}
@media (max-width: 620px) {body {
    font-size: 13.5px;
  }
.site-header {
    position: static;
    padding-bottom: 0;
  }
.primary-nav {
    margin-left: 0;
    width: 100%;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(3n + 1), .comment-card:nth-child(3n + 2), .comment-card:nth-child(3n) {
    transform: rotate(-0.6deg);
  }
.overview-poster-col {
    max-width: 180px;
  }
.player-controls {
    gap: 6px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: -1;
  }
.recommend-list-compact {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }}
@media (max-width: 400px) {.cast-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-track {
    grid-auto-columns: minmax(184px, 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}
