:root {
  --cold: #f4f7fa;
  --cold-2: #e8eef4;
  --cold-3: #dbe4ec;
  --ink: #1c2530;
  --ink-2: #46545f;
  --ink-3: #75838f;
  --warm: #e8792b;
  --warm-soft: #fbe6d2;
  --line: #c9d4de;
  --line-soft: #dde6ee;
  --surface: #ffffff;
  --shadow: 0 1px 2px rgba(28, 37, 48, 0.06);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue",
    Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--cold);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 247, 250, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"] {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  border-left: 4px solid var(--warm);
  padding-left: 8px;
}
a[data-contract="site-name"]:hover {
  color: var(--warm);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-2);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--warm);
  border-color: var(--warm);
  background: var(--warm-soft);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.block-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  padding-left: 9px;
  border-left: 3px solid var(--warm);
  color: var(--ink);
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.poster-wrap {
  margin: 0;
  position: relative;
  align-self: start;
}
.main-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--cold-2);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--warm);
  font-weight: 600;
  text-transform: uppercase;
}
.hero-title {
  font-size: 25px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.hero-tagline {
  font-size: 13px;
  color: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}
.hero-seo {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 62ch;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag-chip {
  font-size: 11px;
  line-height: 1.4;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--cold);
  color: var(--ink-2);
  white-space: nowrap;
}
.hero-role-note {
  font-size: 12px;
  color: var(--ink-2);
  padding: 7px 10px;
  background: var(--cold-2);
  border-left: 3px solid var(--warm);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.btn {
  font-size: 12px;
  line-height: 1.4;
  padding: 6px 16px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--warm);
  color: #fff;
  border-color: var(--warm);
  font-weight: 600;
}
.btn-primary:hover {
  background: #cf6520;
  border-color: #cf6520;
}
.btn-ghost {
  background: var(--surface);
  color: var(--ink-2);
  border-color: var(--line);
}
.btn-ghost:hover {
  color: var(--warm);
  border-color: var(--warm);
  background: var(--warm-soft);
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.player-frame {
  width: 100%;
  background: #0c1116;
  border-radius: 2px;
  overflow: hidden;
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0c1116;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 10px;
  background: var(--cold-2);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.ctrl {
  font-size: 12px;
  line-height: 1.4;
  padding: 4px 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ctrl:hover {
  color: var(--warm);
  border-color: var(--warm);
}
.ctrl.is-active, .ctrl.play.is-active, .ctrl.pause.is-active {
  background: var(--warm);
  border-color: var(--warm);
  color: #fff;
}
.ctrl-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
}
.ctrl-label {
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
}
.ctrl-range {
  width: 104px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--cold-3);
  border-radius: 2px;
  cursor: pointer;
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--warm);
  border: none;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--warm);
}
.ctrl-select {
  font-size: 12px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
}
.player-video.is-muted ~ .player-controls .ctrl[data-player-action="mute"], .player-controls .ctrl.is-muted {
  border-color: var(--warm);
  color: var(--warm);
}
.player-shell.is-theater {
  background: #0c1116;
  padding: 12px;
  border-radius: 3px;
}
.player-shell.is-theater .player-controls {
  background: #1a232c;
  border-color: #2a3540;
}
.player-shell.is-theater .ctrl {
  background: #232e39;
  border-color: #38444f;
  color: #d5dee6;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  border-top: 1px solid var(--line-soft);
  padding-top: 11px;
}
.status-line {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.status-sub {
  font-size: 12px;
  color: var(--warm);
  font-weight: 600;
}
.details-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 13px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 22px;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px dotted var(--line);
  font-size: 12px;
}
.detail-key {
  flex: 0 0 62px;
  color: var(--ink-3);
  font-size: 11px;
}
.detail-value {
  color: var(--ink);
  min-width: 0;
}
.synopsis-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 13px;
}
.synopsis-body {
  columns: 2;
  column-gap: 26px;
  column-rule: 1px solid var(--line-soft);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-2);
  margin-bottom: 9px;
  break-inside: avoid;
}
.cast-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 13px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}
.cast-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 92px);
  gap: 10px;
  align-items: start;
  background: var(--cold);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: 9px;
}
.cast-card:nth-child(even) {
  background: var(--surface);
}
.cast-text {
  min-width: 0;
  align-self: start;
}
.cast-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.cast-role {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-3);
}
.cast-photo-wrap {
  margin: 0;
  align-self: start;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
}
.cast-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--cold-2);
  filter: saturate(0.92);
  transition: filter 0.2s;
}
.cast-card:hover .cast-photo {
  filter: saturate(1.08);
}
.timeline-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px 16px 16px;
  box-shadow: var(--shadow);
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.timeline-scroll::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 100%;
  width: max-content;
  position: relative;
  padding: 16px 0 4px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  height: 3px;
  background: var(--cold-3);
  border-radius: 2px;
}
.timeline-node {
  position: relative;
  flex: 0 0 178px;
  padding: 26px 12px 10px;
  margin-right: 6px;
  border-left: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 11px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--cold-3);
  z-index: 1;
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 24px;
  width: 20px;
  height: 7px;
  border-radius: 4px;
  background: var(--cold-3);
}
.node-time {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-top: 6px;
}
.node-label {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-2);
}
.timeline-node.is-current::before {
  border-color: var(--warm);
  background: var(--warm-soft);
}
.timeline-node.is-current::after {
  background: var(--warm);
}
.timeline-node.is-current .node-time {
  color: var(--warm);
}
.timeline-node.is-current .node-label {
  color: var(--ink);
  font-weight: 600;
}
.episodes-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px 16px 16px;
  box-shadow: var(--shadow);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--cold-3);
  border-radius: 2px;
  background: var(--cold);
  transition: background 0.16s, border-color 0.16s;
}
.episode-card:hover {
  background: var(--surface);
  border-color: var(--line);
  border-left-color: var(--ink-3);
}
.ep-number {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.ep-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.ep-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ep-duration {
  font-size: 10.5px;
  color: var(--ink-3);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease, margin-top 0.2s ease;
}
.episode-card:hover .ep-duration, .episode-card:focus-within .ep-duration {
  max-height: 24px;
  opacity: 1;
  margin-top: 2px;
}
.episode-card.is-current {
  background: var(--warm-soft);
  border-color: var(--warm);
  border-left-color: var(--warm);
}
.episode-card.is-current .ep-number, .episode-card.is-current .ep-title {
  color: #a94d10;
}
.episode-card.is-current .ep-summary {
  color: #7a4218;
}
.episode-card.is-current .ep-duration {
  max-height: 24px;
  opacity: 1;
  color: #a94d10;
}
.comments-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px 16px 16px;
  box-shadow: var(--shadow);
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
}
.comment-card {
  padding: 8px 0 9px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.comment-card:nth-child(odd) {
  border-right: 1px dotted var(--line);
  padding-right: 14px;
}
.comment-card:nth-child(even) {
  padding-left: 12px;
}
.comment-nick {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--warm);
  text-align: right;
  letter-spacing: 0.02em;
}
.comment-nick::before {
  content: "— ";
  color: var(--line);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
  text-align: left;
  font-style: italic;
}
.rec-region {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 16px 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rec-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line-soft);
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
  align-items: start;
}
.rec-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: var(--cold);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--warm);
  background: var(--surface);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: var(--cold-2);
}
[data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 92ch;
}
.friend-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.friend-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.friend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--warm);
  border-bottom-color: var(--warm);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  color: var(--ink-3);
  text-decoration: none;
  letter-spacing: 0.04em;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--warm);
  text-decoration: underline;
}
.player-video.is-playing {
  background: #000;
}
.player-video.is-muted {
  opacity: 0.96;
}
.movie-overview.light-on {
  background: #fdfaf6;
  border-color: var(--warm-soft);
}
.movie-overview.light-on .hero-kicker, .movie-overview.light-on .status-sub {
  color: #c25a12;
}
@media (max-width: 900px) {.overview-hero {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 14px;
  }
.hero-title {
    font-size: 21px;
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
.comment-card:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }
.comment-card:nth-child(even) {
    padding-left: 0;
  }}
@media (max-width: 640px) {.page-main {
    padding: 12px;
    gap: 16px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-wrap {
    max-width: 176px;
  }
.hero-title {
    font-size: 19px;
  }
.hero-seo {
    font-size: 12px;
  }
.movie-overview, .timeline-section, .episodes-section, .comments-section, .rec-region {
    padding: 12px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-list {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.ctrl-range {
    width: 84px;
  }
.player-controls {
    gap: 6px 8px;
  }
.timeline-node {
    flex: 0 0 158px;
  }}
@media (max-width: 400px) {.rec-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 78px);
  }}

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}
