:root {
  --bg: #101620;
  --bg-2: #141c28;
  --panel: #182130;
  --panel-2: #1c2738;
  --line: #253145;
  --text: #d8d3c6;
  --text-soft: #9aa2ae;
  --text-dim: #6f7885;
  --amber: #f0a63c;
  --amber-soft: #c9872f;
  --red: #d8503f;
  --blue: #6f9fd8;
  --mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --narrow: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Arial Narrow", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  background-image:
    radial-gradient(120% 70% at 82% -10%, rgba(240, 166, 60, 0.14), transparent 60%),
    radial-gradient(120% 80% at 0% 0%, rgba(111, 159, 216, 0.16), transparent 55%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-family: var(--narrow);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 10px 18px;
  background: linear-gradient(180deg, #0d131c, #121a26);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
a[data-contract="site-name"] {
  font-family: var(--narrow);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber);
  text-decoration: none;
  white-space: nowrap;
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
a[data-contract="site-name"]:hover {
  color: #ffc46b;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--text-soft);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(111, 159, 216, 0.05);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--amber);
  border-color: var(--amber-soft);
  background: rgba(240, 166, 60, 0.08);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-heading {
  font-size: 14px;
  color: var(--text);
  text-transform: none;
  padding-left: 9px;
  border-left: 3px solid var(--amber);
  margin-bottom: 8px;
}
.movie-overview {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr) minmax(0, 1.35fr);
  grid-template-areas:
    "poster head player"
    "poster status player"
    "poster cast player"
    "poster synopsis player"
    "poster details player";
  column-gap: 16px;
  row-gap: 12px;
  align-items: start;
  background: linear-gradient(160deg, #17202e 0%, #121a26 70%);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
}
.poster-wrap {
  grid-area: poster;
  align-self: start;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: #0c1119;
  box-shadow: 0 0 0 1px rgba(240, 166, 60, 0.08), 0 8px 22px rgba(0, 0, 0, 0.45);
}
.poster-wrap img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.overview-head {
  grid-area: head;
  min-width: 0;
}
.movie-title {
  font-size: 21px;
  color: #f1ecdf;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.movie-tagline {
  font-size: 13px;
  color: var(--amber);
  line-height: 1.45;
  padding-left: 8px;
  border-left: 2px solid rgba(240, 166, 60, 0.5);
  margin-bottom: 8px;
}
.movie-seo {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.65;
  text-align: justify;
}
.player-shell {
  grid-area: player;
  position: relative;
  align-self: start;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #080c12;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05080c;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  background: linear-gradient(180deg, #131b27, #0d131c);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  font-size: 11.5px;
  line-height: 1.2;
  color: var(--text-soft);
  background: #1a2434;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 8px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: var(--text);
  border-color: var(--amber-soft);
}
.ctrl-btn.is-active, .ctrl-btn.click, .ctrl-btn.play {
  color: #0d131c;
  background: var(--amber);
  border-color: var(--amber);
}
.ctrl-btn.is-muted, .ctrl-btn.mute {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.player-shell.lights-off video {
  filter: brightness(1.35) contrast(1.05);
}
.player-shell.lights-off {
  border-color: #000;
  box-shadow: 0 0 0 1px rgba(240, 166, 60, 0.35), 0 0 40px rgba(240, 166, 60, 0.12);
}
.player-shell.theater-mode {
  grid-column: 1 / -1;
}
.episode-status {
  grid-area: status;
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.episode-status .section-heading {
  font-size: 12px;
  color: var(--text-soft);
  border-left-color: var(--amber-soft);
  margin-bottom: 5px;
}
.status-line {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}
.status-current {
  color: var(--amber);
  font-weight: 700;
}
.status-total {
  color: var(--text);
}
.cast-block {
  grid-area: cast;
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.cast-block .section-heading {
  font-size: 12px;
  color: var(--text-soft);
  border-left-color: var(--amber-soft);
  margin-bottom: 6px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 14px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 3px 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(111, 159, 216, 0.35), rgba(240, 166, 60, 0.22)),
    #223046;
  border: 1px solid var(--line);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 6px 7px 7px 7px;
  border-radius: 50%;
  background: rgba(216, 211, 198, 0.28);
}
.cast-name {
  font-size: 12.5px;
  color: #e6e1d4;
  white-space: nowrap;
}
.cast-tag {
  font-size: 11.5px;
  color: var(--text-dim);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
}
.synopsis-block {
  grid-area: synopsis;
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.synopsis-block .section-heading {
  font-size: 12px;
  color: var(--text-soft);
  border-left-color: var(--amber-soft);
  margin-bottom: 5px;
}
.synopsis-para {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.62;
  text-align: justify;
  margin-bottom: 6px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-block {
  grid-area: details;
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.details-block .section-heading {
  font-size: 12px;
  color: var(--text-soft);
  border-left-color: var(--amber-soft);
  margin-bottom: 6px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 2px 0;
  border-bottom: 1px dashed rgba(37, 49, 69, 0.7);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--text-dim);
  min-width: 52px;
}
.detail-value {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
}
.episodes-block {
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid #2c3a52;
  border-radius: 2px;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  background: var(--panel-2);
  border-left-color: var(--blue);
}
.episode-card.is-current {
  border-color: var(--amber);
  border-left-color: var(--amber);
  background: linear-gradient(180deg, rgba(240, 166, 60, 0.1), rgba(240, 166, 60, 0.02));
  box-shadow: 0 0 0 1px rgba(240, 166, 60, 0.25);
}
.episode-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.04em;
}
.episode-card.is-current .episode-num {
  color: var(--amber);
}
.episode-title {
  font-size: 13.5px;
  color: #eee9dc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-summary {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-soft);
  margin-top: auto;
  padding-top: 3px;
  border-top: 1px solid rgba(37, 49, 69, 0.8);
}
.timeline-block {
  min-width: 0;
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 4px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--amber-soft) transparent;
  background: linear-gradient(180deg, rgba(20, 28, 40, 0.6), rgba(16, 22, 32, 0.2));
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
}
.timeline-track::-webkit-scrollbar {
  height: 7px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--amber-soft);
  border-radius: 4px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}
.timeline-node {
  flex: 0 0 176px;
  min-width: 176px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 8px 2px;
  position: relative;
  border-left: 1px solid rgba(37, 49, 69, 0.9);
}
.timeline-node:first-child {
  border-left-color: transparent;
}
.timeline-light {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(240, 166, 60, 0.8), 0 0 0 3px rgba(240, 166, 60, 0.12);
  margin-bottom: 2px;
}
.timeline-node:last-child .timeline-light {
  background: var(--red);
  box-shadow: 0 0 8px rgba(216, 80, 63, 0.8), 0 0 0 3px rgba(216, 80, 63, 0.14);
}
.timeline-time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.05em;
}
.timeline-label {
  font-size: 11.5px;
  color: var(--text-soft);
  line-height: 1.5;
}
.comments-block {
  min-width: 0;
}
.comments-columns {
  columns: 2;
  column-gap: 12px;
}
.comment-item {
  break-inside: avoid;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 7px 10px;
  margin: 0 0 8px;
}
.comment-nickname {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.5;
}
.recommend-region {
  min-width: 0;
  background: linear-gradient(180deg, #151e2b, #121a26);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 10px 12px 12px;
}
.recommend-title {
  font-size: 13.5px;
  color: var(--amber);
  letter-spacing: 0.05em;
  padding-bottom: 6px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.recommend-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 1px;
  background: var(--amber);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  background: #182230;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 6px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.recommend-item:hover {
  border-color: var(--amber-soft);
  background: #1d2939;
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
  background: #0b1017;
  display: block;
}
a.recommend-item .recommend-name, .recommend-name {
  font-size: 12.5px;
  color: #e9e4d7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
a.recommend-item:hover .recommend-name {
  color: var(--amber);
}
.recommend-blurb {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0f1620, #0b1119);
  padding: 14px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 78ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(37, 49, 69, 0.7);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  border-bottom-color: var(--amber-soft);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 14px;
}
.friend-links-label {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  padding-right: 10px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--blue);
  text-decoration: underline;
}
@media (max-width: 1024px) {.movie-overview {
    grid-template-columns: 150px minmax(0, 1fr);
    grid-template-areas:
      "poster head"
      "poster status"
      "poster cast"
      "poster synopsis"
      "poster details"
      "player player";
  }
.player-shell {
    margin-top: 4px;
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.page-main {
    padding: 12px 12px 24px;
    gap: 14px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "poster"
      "player"
      "status"
      "cast"
      "synopsis"
      "details";
    padding: 12px;
    row-gap: 14px;
  }
.poster-wrap {
    max-width: 190px;
  }
.movie-title {
    font-size: 18px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-columns {
    columns: 1;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    flex: 0 0 158px;
    min-width: 158px;
  }}
@media (max-width: 480px) {body {
    font-size: 13.5px;
  }
.site-header {
    padding: 9px 12px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
    border-right: 0;
    padding-right: 0;
  }
.category-bar {
    width: 100%;
  }
.movie-overview {
    row-gap: 12px;
  }
.poster-wrap {
    max-width: 150px;
  }
.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.ctrl-btn {
    padding: 5px 9px;
    font-size: 12px;
  }
.site-footer {
    padding: 12px 12px 20px;
  }}

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}
