:root {
  --salt-white: #f4f2ec;
  --salt-bright: #fbfaf6;
  --deep-blue: #12354f;
  --deep-blue-ink: #0b2338;
  --sea-blue: #2c6a8e;
  --sea-blue-soft: #7ba7bd;
  --gray-brown: #6f665c;
  --gray-brown-soft: #9c948a;
  --warehouse: #e6e1d7;
  --warehouse-dark: #d3cdc0;
  --line: rgba(18, 53, 79, 0.18);
  --line-soft: rgba(18, 53, 79, 0.1);
  --shadow-soft: 0 1px 3px rgba(11, 35, 56, 0.08);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--warehouse);
  color: var(--deep-blue-ink);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--deep-blue-ink);
  color: var(--salt-white);
  border-bottom: 1px solid rgba(244, 242, 236, 0.12);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 7px 16px;
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--salt-bright);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--sea-blue-soft);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}
a.runtime-category {
  display: inline-block;
  color: var(--salt-white);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 9px;
  border: 1px solid rgba(244, 242, 236, 0.28);
  border-radius: 999px;
  background: rgba(244, 242, 236, 0.04);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
a.runtime-category:hover {
  background: var(--salt-white);
  color: var(--deep-blue-ink);
  border-color: var(--salt-white);
}
.movie-page {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 28px;
}
.section-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--deep-blue);
  margin: 0 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  grid-template-areas:
    "poster body"
    "poster cast"
    "synopsis synopsis"
    "status details";
  gap: 12px 18px;
  align-items: start;
  background: var(--salt-white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 14px;
}
.hero-poster-wrap {
  grid-area: poster;
  align-self: start;
  position: relative;
  width: 100%;
  border-radius: 3px;
  overflow: hidden;
  background: var(--deep-blue-ink);
  box-shadow: 0 2px 10px rgba(11, 35, 56, 0.22);
}
.hero-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 3px;
}
.hero-body {
  grid-area: body;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.hero-title {
  font-size: 26px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--deep-blue-ink);
}
.hero-tagline {
  font-size: 13px;
  line-height: 1.4;
  color: var(--sea-blue);
  font-weight: 600;
  letter-spacing: 0.03em;
  padding-left: 10px;
  border-left: 2px solid var(--sea-blue);
}
.hero-seo {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--gray-brown);
  text-align: justify;
}
.hero-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 1px;
}
.meta-chip {
  font-size: 11px;
  line-height: 1.3;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--warehouse);
  color: var(--deep-blue);
  border: 1px solid var(--line-soft);
  white-space: nowrap;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 3px;
}
a.btn-primary {
  display: inline-block;
  background: var(--deep-blue);
  color: var(--salt-bright);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 2px;
  border: 1px solid var(--deep-blue);
  letter-spacing: 0.05em;
  transition: background 0.15s ease, color 0.15s ease;
}
a.btn-primary:hover {
  background: var(--sea-blue);
  border-color: var(--sea-blue);
}
a.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--deep-blue);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 2px;
  border: 1px solid var(--deep-blue);
  letter-spacing: 0.05em;
  transition: background 0.15s ease, color 0.15s ease;
}
a.btn-ghost:hover {
  background: var(--deep-blue);
  color: var(--salt-bright);
}
.cast-section {
  grid-area: cast;
  align-self: start;
  min-width: 0;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.cast-avatar-wrap {
  width: 100%;
  max-width: 62px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--warehouse-dark);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.cast-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(0.62);
}
.cast-name {
  font-size: 11px;
  line-height: 1.25;
  color: var(--gray-brown);
  text-align: center;
  letter-spacing: 0.02em;
}
.synopsis-section {
  grid-area: synopsis;
  min-width: 0;
}
.synopsis-body {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid var(--line-soft);
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--deep-blue-ink);
  text-align: justify;
  margin-bottom: 8px;
  break-inside: avoid;
}
.episode-status-section {
  grid-area: status;
  min-width: 0;
}
.episode-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 12.5px;
}
.status-current {
  color: var(--deep-blue);
  font-weight: 700;
  background: var(--salt-bright);
  border: 1px solid var(--sea-blue);
  border-radius: 2px;
  padding: 3px 9px;
}
.status-total {
  color: var(--gray-brown);
  font-size: 12px;
}
.details-section {
  grid-area: details;
  min-width: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 58px;
  font-size: 11.5px;
  color: var(--gray-brown-soft);
  letter-spacing: 0.03em;
}
.detail-value {
  margin: 0;
  flex: 1 1 auto;
  font-size: 12px;
  color: var(--deep-blue-ink);
  min-width: 0;
  overflow-wrap: break-word;
}
.player-panel {
  position: relative;
  width: 100%;
  margin-bottom: 14px;
  background: var(--deep-blue-ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px;
  transition: background 0.2s ease;
}
.player-panel.lights-off {
  background: #04101b;
}
.player-panel.theater-mode {
  background: #061420;
  box-shadow: 0 0 0 2px var(--sea-blue-soft) inset;
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 2px;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 9px;
}
.player-btn {
  font-size: 11.5px;
  line-height: 1.2;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid rgba(244, 242, 236, 0.3);
  background: rgba(244, 242, 236, 0.06);
  color: var(--salt-white);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.player-btn:hover {
  background: var(--salt-white);
  color: var(--deep-blue-ink);
  border-color: var(--salt-white);
}
.player-btn.is-playing {
  background: var(--sea-blue);
  border-color: var(--sea-blue-soft);
  color: var(--salt-bright);
}
.player-btn.is-muted {
  border-color: var(--sea-blue-soft);
  color: var(--sea-blue-soft);
}
.player-panel.lights-off .player-btn {
  border-color: rgba(123, 167, 189, 0.4);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(244, 242, 236, 0.24);
  cursor: pointer;
  flex: 1 1 120px;
  min-width: 80px;
}
.player-range:first-of-type {
  flex: 2 1 180px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--salt-bright);
  border: 1px solid var(--sea-blue);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--salt-bright);
  border: 1px solid var(--sea-blue);
}
.player-select {
  font-size: 11.5px;
  padding: 4px 6px;
  border-radius: 2px;
  border: 1px solid rgba(244, 242, 236, 0.3);
  background: rgba(244, 242, 236, 0.06);
  color: var(--salt-white);
  cursor: pointer;
}
.player-select option {
  color: var(--deep-blue-ink);
  background: var(--salt-white);
}
.timeline-section {
  margin-bottom: 14px;
  min-width: 0;
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding: 10px 4px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.timeline-node {
  position: relative;
  flex: 0 0 210px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 18px 0 0;
  scroll-snap-align: start;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 12px;
  right: 0;
  height: 1px;
  background: var(--line);
}
.timeline-node:last-child::before {
  display: none;
}
.node-crystal {
  position: relative;
  z-index: 1;
  display: block;
  width: 14px;
  height: 14px;
  margin-left: 6px;
  background: var(--salt-bright);
  border: 1px solid var(--sea-blue-soft);
  transform: rotate(45deg);
  border-radius: 2px;
}
.node-timecode {
  font-size: 12px;
  font-weight: 700;
  color: var(--deep-blue);
  letter-spacing: 0.04em;
}
.node-label {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--gray-brown);
}
.timeline-node-active .node-crystal {
  background: var(--deep-blue);
  border-color: var(--deep-blue);
  box-shadow: 0 0 0 3px rgba(44, 106, 142, 0.18);
}
.timeline-node-active .node-timecode {
  color: var(--sea-blue);
}
.timeline-node-active .node-label {
  color: var(--deep-blue-ink);
}
.episodes-section {
  margin-bottom: 14px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  background: var(--salt-white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--warehouse-dark);
  border-radius: 3px;
  padding: 8px 10px;
  min-width: 0;
}
.episode-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.episode-number {
  font-size: 11px;
  font-weight: 700;
  color: var(--sea-blue);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--deep-blue-ink);
  letter-spacing: 0.02em;
  flex: 1 1 auto;
  min-width: 0;
}
.episode-duration {
  font-size: 11px;
  color: var(--gray-brown-soft);
  white-space: nowrap;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-brown);
  margin-top: 5px;
  text-align: justify;
}
.episode-card-current {
  grid-column: span 2;
  background: var(--salt-bright);
  border-color: var(--sea-blue-soft);
  border-left-color: var(--deep-blue);
  box-shadow: 0 1px 4px rgba(11, 35, 56, 0.07);
}
.episode-card-current .episode-title {
  font-size: 15px;
}
.episode-card-current .episode-summary {
  font-size: 12.5px;
  color: var(--deep-blue-ink);
  max-width: 78ch;
}
.comments-section {
  margin-bottom: 14px;
}
.comments-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2px 0;
}
.comment-card {
  position: relative;
  background: var(--salt-bright);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 12px 9px;
  margin-top: -6px;
  box-shadow: var(--shadow-soft);
}
.comment-card:first-child {
  margin-top: 0;
}
.comment-card:nth-child(odd) {
  margin-left: 0;
  margin-right: 12%;
  z-index: 1;
}
.comment-card:nth-child(even) {
  margin-left: 12%;
  margin-right: 0;
  z-index: 2;
  background: var(--salt-white);
}
.comment-card:nth-child(3n) {
  margin-left: 5%;
  margin-right: 5%;
  z-index: 3;
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}
.comment-avatar-wrap {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--warehouse-dark);
  border: 1px solid var(--line-soft);
}
.comment-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(0.5) contrast(0.96);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 600;
  color: var(--deep-blue);
  letter-spacing: 0.02em;
}
.comment-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-brown);
  text-align: justify;
}
.rec-region {
  margin-bottom: 14px;
}
.rec-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--deep-blue);
  margin: 0 0 7px;
  padding-left: 9px;
  border-left: 3px solid var(--sea-blue);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 6px;
  color: var(--deep-blue-ink);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a.rec-card:hover {
  border-color: var(--sea-blue);
  background: var(--salt-white);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: var(--warehouse-dark);
  filter: saturate(0.85);
}
.rec-poster {
  display: block;
}
.rec-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--deep-blue-ink);
  line-height: 1.35;
  overflow-wrap: break-word;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: var(--gray-brown-soft);
  overflow-wrap: break-word;
}
.site-footer {
  background: var(--deep-blue-ink);
  color: rgba(244, 242, 236, 0.78);
  padding: 14px 16px 18px;
  margin-top: 6px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  max-width: 1180px;
  margin: 0 auto 9px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(244, 242, 236, 0.14);
}
.friend-links-label {
  font-size: 11.5px;
  color: var(--sea-blue-soft);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: rgba(244, 242, 236, 0.72);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--salt-bright);
  text-decoration: underline;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 9px;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(244, 242, 236, 0.5);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  color: var(--sea-blue-soft);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="footer-home"] {
  color: var(--salt-bright);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  text-decoration: underline;
}
.player .play, .player .pause, .player .mute, .player .volume, .player .progress, .player .speed, .player .pip, .player .fullscreen, .player .theater, .player .light, .player .input, .player .change, .player .click, .player .timeupdate {
  transition: opacity 0.15s ease;
}
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    grid-template-areas:
      "poster body"
      "poster cast"
      "synopsis synopsis"
      "status status"
      "details details";
    gap: 10px 14px;
    padding: 13px;
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.cast-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 6px;
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 680px) {body {
    font-size: 12.5px;
  }
.movie-page {
    padding: 10px 10px 20px;
  }
.site-header-inner {
    padding: 6px 10px;
    gap: 8px;
  }
.hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "body"
      "cast"
      "synopsis"
      "status"
      "details";
    gap: 12px;
    padding: 12px;
  }
.hero-poster-wrap {
    max-width: 200px;
  }
.hero-title {
    font-size: 21px;
  }
.cast-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.cast-avatar-wrap {
    max-width: 54px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card-current {
    grid-column: span 1;
  }
.comment-card:nth-child(odd), .comment-card:nth-child(even), .comment-card:nth-child(3n) {
    margin-left: 0;
    margin-right: 0;
  }
.comment-card {
    margin-top: 6px;
  }
.comment-card:first-child {
    margin-top: 0;
  }
.rec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    flex: 0 0 180px;
  }
.player-controls {
    gap: 5px 6px;
  }
.player-range {
    flex: 1 1 100%;
    min-width: 0;
  }
.player-range:first-of-type {
    flex: 1 1 100%;
  }}
@media (max-width: 420px) {.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.hero-meta-chips {
    gap: 4px;
  }
.meta-chip {
    font-size: 10.5px;
  }}

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}
