*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
a { color: inherit; text-decoration: none; }
:root {
  --bg: #171d24;
  --bg-deep: #10151b;
  --panel: #232b34;
  --panel-soft: #2b343e;
  --card: #d7dbdf;
  --card-line: #a9b1b8;
  --rust: #a63a26;
  --rust-bright: #c8482c;
  --ink: #0e1114;
  --matte: #1d2126;
  --yellow: #f5c518;
  --yellow-deep: #d9a800;
  --text: #d5dae0;
  --text-dim: #8b959f;
  --text-mute: #6b747d;
  --radius: 3px;
  --gap: 8px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --mono: "SFMono-Regular", "Roboto Mono", "DejaVu Sans Mono", Consolas, monospace;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(16,21,27,0.9) 0%, rgba(23,29,36,0.4) 22%, rgba(23,29,36,0) 40%);
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 14px;
  background: var(--bg-deep);
  border-bottom: 1px solid #2c353e;
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--yellow);
  text-transform: uppercase;
  white-space: nowrap;
  border-left: 3px solid var(--rust-bright);
  padding-left: 8px;
}
a[data-contract="site-name"] {
  color: var(--yellow);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #fff;
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  color: var(--text-dim);
  background: #1b222a;
  border: 1px solid #313b45;
  border-radius: 2px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--yellow);
  border-color: var(--yellow-deep);
  background: #202a33;
  text-decoration: none;
}
.page-main {
  display: block;
  width: 100%;
  max-width: 100%;
}
.page-main > section {
  padding: 0 14px;
  margin-top: 16px;
}
.section-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--yellow);
  text-transform: uppercase;
  padding: 6px 0 6px 10px;
  border-left: 3px solid var(--rust-bright);
  border-bottom: 1px solid #2c353e;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movie-overview {
  margin-top: 0 !important;
  padding: 0 !important;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(166,58,38,0.28) 0%, rgba(166,58,38,0) 55%),
    linear-gradient(180deg, #1b222a 0%, #141a20 100%);
  border-bottom: 1px solid #2c353e;
}
.poster-shell {
  position: relative;
  width: 100%;
  max-width: 260px;
  background: var(--matte);
  border: 1px solid #3a444f;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}
.poster-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08) brightness(0.88);
}
.hero-copy {
  position: relative;
  min-width: 0;
  padding-right: 12px;
}
.movie-title {
  font-size: clamp(20px, 3.6vw, 34px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f2f4f6;
  text-shadow: 0 2px 0 rgba(0,0,0,0.5);
}
.movie-tagline {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.42em;
  color: var(--yellow);
  border-top: 1px solid #3a444f;
  border-bottom: 1px solid #3a444f;
  padding: 4px 0 4px 2px;
  display: inline-block;
}
.movie-seo {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--text-dim);
  max-width: 62ch;
}
.player-shell {
  grid-column: 1 / -1;
  position: relative;
  width: 100%;
  min-width: 0;
  background: #000;
  border: 1px solid #3a444f;
  border-radius: var(--radius);
  overflow: hidden;
}
.main-player {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  background: linear-gradient(180deg, #1d242c 0%, #161c22 100%);
  border-top: 1px solid #333d47;
}
.ctrl {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  color: var(--text-dim);
  background: #232b34;
  border: 1px solid #333d47;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl:hover { color: var(--yellow); border-color: var(--yellow-deep); }
.ctrl-play {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow-deep);
  font-weight: 700;
}
.ctrl-play:hover { background: #ffd633; color: var(--ink); }
.ctrl-progress { color: var(--text); }
.ctrl-theater { margin-left: auto; }
.player-shell.is-playing .ctrl-play { background: var(--rust-bright); color: #fff; border-color: var(--rust); }
.player-shell.is-muted .ctrl-mute, .player-shell.is-volume-low .ctrl-volume { color: var(--yellow); border-color: var(--yellow-deep); }
.player-shell.is-seeking .ctrl-progress { color: var(--yellow); border-color: var(--yellow-deep); }
.player-shell.is-speed-changed .ctrl-speed { color: var(--yellow); border-color: var(--yellow-deep); }
.player-shell.is-pip .ctrl-pip { color: var(--yellow); border-color: var(--yellow-deep); }
.player-shell.is-fullscreen { position: fixed; inset: 0; z-index: 90; border: 0; border-radius: 0; }
.player-shell.is-theater { box-shadow: 0 0 0 2px var(--rust); }
.player-shell.is-lights-off { background: #000; }
.player-shell.is-lights-off .player-controls { background: #0a0d10; }
body.lights-off { background: #080b0e; }
body.lights-off .overview-hero { filter: brightness(0.7); }
body.theater-mode .site-header { opacity: 0.4; }
.episode-status, .movie-details {
  display: inline-block;
  vertical-align: top;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 10px;
  background: var(--panel);
  border: 1px solid #333d47;
  border-radius: 2px;
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-mute);
}
.status-value {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: #e6eaee;
}
.status-item.status-current {
  background: var(--rust);
  border-color: var(--rust-bright);
}
.status-item.status-current .status-label { color: #f2c9bf; }
.status-item.status-current .status-value { color: var(--yellow); }
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  background: #333d47;
  border: 1px solid #333d47;
  border-radius: 2px;
  overflow: hidden;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 10px;
  background: var(--panel);
  min-width: 0;
}
.detail-key {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  white-space: nowrap;
}
.detail-value {
  font-family: var(--mono);
  font-size: 12.5px;
  color: #e2e7ec;
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.detail-score {
  color: var(--yellow);
  font-weight: 700;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 18px;
  align-items: start;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-dim);
  padding-left: 10px;
  border-left: 2px solid #333d47;
}
.synopsis-para:first-child { color: var(--text); border-left-color: var(--rust-bright); }
.cast-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 4px;
  background: var(--panel);
  border: 1px solid #333d47;
  border-radius: 2px;
  text-align: center;
  min-width: 0;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 88px;
  border-radius: 50%;
  background:
    radial-gradient(60% 60% at 50% 38%, #3d4854 0%, #262e37 70%),
    linear-gradient(160deg, #2b343e 0%, #1d242c 100%);
  border: 1px solid #3f4a56;
  box-shadow: inset 0 0 0 3px #1b222a;
}
.cast-name {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #dfe4e9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--rust) #1b222a;
  scrollbar-width: thin;
}
.timeline-scroll::-webkit-scrollbar { height: 7px; }
.timeline-scroll::-webkit-scrollbar-track { background: #1b222a; }
.timeline-scroll::-webkit-scrollbar-thumb { background: var(--rust); border-radius: 4px; }
.timeline-track {
  display: flex;
  gap: 10px;
  align-items: stretch;
  min-width: min-content;
  padding: 2px 2px 6px;
}
.timeline-node {
  flex: 0 0 auto;
  width: 168px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid #333d47;
  border-top: 3px solid #3f4a56;
  border-radius: 2px;
}
.timeline-node-active {
  background: #2a1c19;
  border-color: var(--rust);
  border-top-color: var(--rust-bright);
  box-shadow: 0 0 0 1px rgba(200,72,44,0.35);
}
.node-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--yellow);
  background: #1b222a;
  border: 2px solid var(--yellow-deep);
  box-shadow: inset 0 0 0 3px #1b222a, inset 0 0 0 4px #4a5560;
}
.node-ring-solid {
  color: #fff;
  background: var(--rust);
  border-color: var(--rust-bright);
  box-shadow: inset 0 0 0 3px #7d2a1a, inset 0 0 0 4px #e0705a;
}
.node-timecode {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}
.timeline-node-active .node-timecode { color: var(--yellow); }
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
}
.timeline-node-active .node-label { color: #f0e6e2; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 10px;
  background: var(--panel);
  border: 1px solid #333d47;
  border-left: 3px solid #3f4a56;
  border-radius: 2px;
  min-width: 0;
  transition: background 0.15s, border-color 0.15s;
}
.episode-card:hover {
  background: var(--panel-soft);
  border-left-color: var(--rust-bright);
}
.episode-number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--yellow);
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #eef1f4;
  line-height: 1.35;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  margin-top: auto;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.62;
  color: var(--text-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin 0.2s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 12em;
  opacity: 1;
  margin-bottom: 4px;
}
.episode-card-current {
  background: #2a1c19;
  border-color: var(--rust);
  border-left-color: var(--rust-bright);
  box-shadow: 0 0 0 1px rgba(200,72,44,0.3);
}
.episode-card-current .episode-number { color: #ff8a6b; }
.episode-card-current .episode-title { color: #fff; }
.comment-masonry {
  column-count: 3;
  column-gap: 8px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 8px;
  padding: 8px 10px;
  background: var(--panel);
  border: 1px solid #333d47;
  border-radius: 2px;
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 4px;
  padding-bottom: 3px;
  border-bottom: 1px solid #333d47;
}
.comment-text {
  font-size: 12px;
  line-height: 1.66;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}
.recommend-region {
  display: inline-block;
  vertical-align: top;
  width: 100%;
}
.region-title {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--yellow);
  padding: 4px 14px 4px 10px;
  margin-bottom: 10px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 8px;
  background: var(--panel);
  border: 1px solid #333d47;
  border-radius: 2px;
  overflow: hidden;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
a.rec-card {
  color: var(--text);
  text-decoration: none;
}
a.rec-card:hover {
  color: var(--text);
  text-decoration: none;
  border-color: var(--rust-bright);
  background: var(--panel-soft);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #1b222a;
  filter: saturate(0.9) contrast(1.05);
}
[data-runtime="recommendation"]:hover img { filter: saturate(1.05) contrast(1.1); }
.rec-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #eef1f4;
  padding: 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-blurb {
  display: block;
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-mute);
  padding: 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 20px;
  padding: 14px;
  background: var(--bg-deep);
  border-top: 1px solid #2c353e;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-mute);
  max-width: 90ch;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.friends-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-mute);
  white-space: nowrap;
  padding-right: 4px;
  border-right: 1px solid #333d47;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  padding: 2px 8px;
  color: var(--text-dim);
  background: #1b222a;
  border: 1px solid #2f3943;
  border-radius: 2px;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--yellow);
  border-color: var(--yellow-deep);
  text-decoration: none;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid #2c353e;
}
.footer-link { font-size: 12px; letter-spacing: 0.06em; text-decoration: none; }
a[data-contract="footer-home"] {
  color: var(--yellow);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover { color: #fff; text-decoration: underline; }
a[data-contract="footer-sitemap"] {
  color: var(--rust-bright);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover { color: #ff8a6b; text-decoration: underline; }
@media (min-width: 900px) {.page-main {
    display: block;
  }
.episode-status {
    width: calc(28% - 8px);
    margin-right: 16px;
  }
.movie-details {
    width: calc(72% - 8px);
  }
.recommend-region {
    width: calc(33.333% - 6px);
  }
.recommend-region.region-2 {
    margin: 0 9px;
  }
.region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (min-width: 1100px) {.comment-masonry { column-count: 3; }
.episode-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }}
@media (max-width: 899px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }
.poster-shell { max-width: 100%; }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.comment-masonry { column-count: 2; }
.cast-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-region { width: 100%; margin-bottom: 14px; }
.recommend-region.region-2 { margin: 0 0 14px; }
.episode-status, .movie-details { display: block; width: 100%; }
.movie-details { margin-top: 14px; }}
@media (max-width: 640px) {body { font-size: 13px; }
.site-header { padding: 7px 10px; gap: 8px; }
.page-main > section { padding: 0 10px; }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
    gap: 10px;
  }
.poster-shell { max-width: 220px; }
.hero-copy { padding-right: 0; }
.movie-tagline {
    letter-spacing: 0.24em;
    font-size: 11.5px;
  }
.player-shell { grid-column: 1 / -1; }
.player-controls { gap: 3px; padding: 5px; }
.ctrl { font-size: 11px; padding: 4px 7px; }
.ctrl-theater { margin-left: 0; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-summary { max-height: none; opacity: 1; margin-bottom: 4px; }
.comment-masonry { column-count: 1; }
.cast-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.timeline-node { width: 152px; }}
@media (max-width: 380px) {.episode-grid { grid-template-columns: minmax(0, 1fr); }
.cast-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.region-grid { grid-template-columns: minmax(0, 1fr); }}
@media (prefers-reduced-motion: reduce) {* { transition: none !important; animation: 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}
