:root {
  --ink: #1d2530;
  --ink-soft: #3a4553;
  --slate: #55637a;
  --slate-light: #7d8ba1;
  --mist: #aeb8c7;
  --line: #c3ccd8;
  --paper: #eef1f5;
  --paper-2: #e4e8ee;
  --panel: #f6f8fa;
  --ochre: #b8863b;
  --ochre-deep: #8f6526;
  --ochre-pale: #d8b678;
  --night: #141b24;
  --night-2: #1e2833;
  --radius: 3px;
  --gap: 10px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, dl, dd, dt, ul, li {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 8px 16px;
  background: var(--night);
  border-bottom: 2px solid var(--ochre);
}
.header-brand {
  display: flex;
  align-items: baseline;
  min-width: 0;
}
a[data-contract="site-name"] {
  color: #f2f5f8;
  text-decoration: none;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--ochre-pale);
}
.header-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  color: #cdd6e2;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  white-space: nowrap;
  border: 1px solid rgba(184, 134, 59, 0.45);
  border-radius: var(--radius);
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
a.runtime-category:hover {
  color: var(--night);
  background: var(--ochre);
  border-color: var(--ochre);
}
.page-main {
  display: block;
  padding: 0 16px 22px;
}
.hero-banner {
  position: relative;
  margin: 0 -16px 14px;
  min-height: 320px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 70% 10%, #33414f 0%, #1b232d 55%, #10161d 100%);
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-silhouette {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(760px, 92%);
  height: 78%;
  transform: translateX(-50%);
  background:
    radial-gradient(58% 62% at 28% 46%, rgba(20, 27, 36, 0.96) 0%, rgba(20, 27, 36, 0) 72%),
    radial-gradient(42% 74% at 62% 40%, rgba(12, 17, 24, 0.98) 0%, rgba(12, 17, 24, 0) 70%),
    linear-gradient(to top, rgba(8, 12, 17, 0.98) 0%, rgba(8, 12, 17, 0.2) 58%, rgba(8, 12, 17, 0) 100%);
  clip-path: polygon(0% 100%, 0% 62%, 12% 55%, 24% 40%, 34% 30%, 42% 12%, 50% 4%, 58% 14%, 66% 26%, 76% 38%, 88% 50%, 100% 60%, 100% 100%);
}
.hero-fence {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(45deg, rgba(174, 184, 199, 0.34) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(-45deg, rgba(174, 184, 199, 0.26) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(90deg, rgba(184, 134, 59, 0.22) 0 1.5px, transparent 1.5px 96px);
  background-position: 0 0, 0 0, 0 0;
  mix-blend-mode: screen;
}
.hero-fence::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 20, 0.94) 0%, rgba(10, 14, 20, 0.4) 42%, rgba(10, 14, 20, 0.05) 100%);
}
.hero-caption {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 90px 18px 20px;
  max-width: 780px;
}
.hero-title {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Arial Narrow", system-ui, sans-serif;
  font-size: clamp(30px, 7vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #f4f6f9;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.hero-tagline {
  margin-top: 8px;
  max-width: 46em;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ochre-pale);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  padding: 12px;
  margin-bottom: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ochre);
  border-radius: var(--radius);
}
.overview-poster-wrap {
  align-self: start;
  justify-self: start;
  width: 100%;
  max-width: 190px;
}
.overview-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--slate-light);
  background: var(--paper-2);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.overview-title {
  font-size: clamp(20px, 3.6vw, 28px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.overview-tagline {
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.status-chip {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--ochre-deep);
  background: rgba(184, 134, 59, 0.1);
  border: 1px solid rgba(184, 134, 59, 0.45);
  border-radius: var(--radius);
  white-space: nowrap;
}
.cast-panel {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cast-heading, .synopsis-heading, .details-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--slate);
  text-transform: uppercase;
  margin-bottom: 7px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 6px 10px;
  align-items: start;
}
.cast-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 7px;
  align-items: center;
  padding: 4px 6px;
  background: rgba(85, 99, 122, 0.06);
  border-left: 2px solid var(--ochre);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.cast-avatar {
  grid-row: 1 / span 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, var(--mist) 0 22%, transparent 23%),
    radial-gradient(circle at 50% 92%, var(--slate-light) 0 46%, transparent 47%),
    linear-gradient(160deg, var(--slate) 0%, var(--night-2) 100%);
  border: 1px solid var(--line);
}
.cast-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 11px;
  line-height: 1.3;
  color: var(--slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-panel {
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-soft);
  text-align: justify;
}
.synopsis-para + .synopsis-para {
  margin-top: 6px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 3px 12px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 2px 0;
  border-bottom: 1px dotted var(--line);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--ink);
  text-align: right;
}
.player-shell {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  padding: 8px;
  background: var(--night);
  border: 1px solid var(--night-2);
  border-top: 2px solid var(--ochre);
  border-radius: var(--radius);
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 2px;
}
.player-shell.is-theater {
  border-color: var(--ochre);
  box-shadow: 0 0 0 2px rgba(184, 134, 59, 0.35);
}
.player-shell.is-light {
  background: #dfe5ec;
}
.player-shell.is-light .player-btn, .player-shell.is-light .player-speed {
  color: var(--night);
  background: #c8d1dc;
  border-color: #a9b5c4;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.player-btn {
  flex: 0 0 auto;
  padding: 3px 9px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #d9e0e9;
  background: #2a3644;
  border: 1px solid #3d4b5c;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.player-btn:hover {
  color: var(--night);
  background: var(--ochre);
  border-color: var(--ochre);
}
.player-shell.is-playing .player-btn[data-player-action="play"] {
  color: var(--night);
  background: var(--ochre-pale);
  border-color: var(--ochre-pale);
}
.player-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #3d4b5c;
  border-radius: 2px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ochre);
}
.player-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--ochre);
}
.player-volume {
  flex: 0 1 92px;
  min-width: 64px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #3d4b5c;
  border-radius: 2px;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mist);
}
.player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
}
.player-speed {
  flex: 0 0 auto;
  padding: 3px 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #d9e0e9;
  background: #2a3644;
  border: 1px solid #3d4b5c;
  border-radius: var(--radius);
  white-space: nowrap;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.section-heading::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 15px;
  background: var(--ochre);
}
.section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}
.timeline-section {
  margin-bottom: 16px;
}
.timeline-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  background:
    repeating-linear-gradient(90deg, rgba(184, 134, 59, 0.35) 0 1px, transparent 1px 14px) top left / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, rgba(184, 134, 59, 0.35) 0 1px, transparent 1px 14px) bottom left / 100% 6px no-repeat;
}
.timeline-frame {
  flex: 1 0 176px;
  min-width: 176px;
  max-width: 220px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px 8px 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ochre);
  border-radius: var(--radius);
}
.timeline-timecode {
  display: inline-block;
  align-self: flex-start;
  padding: 1px 6px;
  font-family: "SFMono-Regular", "Menlo", "Consolas", "PingFang SC", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f4f6f9;
  background: var(--slate);
  border-radius: 2px;
  white-space: nowrap;
}
.timeline-event {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
  word-break: break-word;
}
.episodes-section {
  margin-bottom: 16px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 7px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 7px;
  row-gap: 2px;
  align-content: start;
  padding: 7px 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.episode-card:hover, .episode-card:focus-within {
  background: #fff;
  border-color: var(--ochre);
}
.episode-number {
  grid-row: 1;
  align-self: center;
  font-family: "Arial Narrow", "PingFang SC", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ochre);
  font-variant-numeric: tabular-nums;
}
.episode-title {
  grid-row: 1;
  align-self: center;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-duration {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}
.episode-summary {
  grid-column: 1 / -1;
  grid-row: 3;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-soft);
  transition: max-height 0.22s ease, opacity 0.22s ease, margin-top 0.22s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 12em;
  opacity: 1;
  margin-top: 4px;
}
.comments-section {
  margin-bottom: 16px;
}
.comments-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.comments-col-right {
  margin-top: 0;
}
.comment-card {
  padding: 7px 9px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--mist);
  border-radius: var(--radius);
}
.comments-col-right .comment-card {
  border-left-color: var(--ochre);
}
.comment-nickname {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.recommendations-section {
  margin-bottom: 16px;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  color: var(--ink);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
a.recommendation-card:hover {
  border-color: var(--ochre);
  box-shadow: 0 2px 10px rgba(20, 27, 36, 0.14);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--paper-2);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: var(--slate);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  padding: 14px 16px 20px;
  background: var(--night);
  border-top: 2px solid var(--ochre);
  color: #aeb8c7;
}
.footer-disclaimer {
  max-width: 62em;
  margin-bottom: 9px;
  font-size: 11px;
  line-height: 1.6;
  color: #8b98a9;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
}
a[data-contract="footer-home"] {
  color: var(--ochre-pale);
}
a[data-contract="footer-home"]:hover {
  color: #f2f5f8;
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  color: #9fb0c4;
}
a[data-contract="footer-sitemap"]:hover {
  color: #f2f5f8;
  text-decoration: underline;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-top: 10px;
  border-top: 1px solid #2b3644;
}
.footer-friends-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #78879b;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  line-height: 1.5;
  color: #8fa0b4;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--ochre-pale);
  text-decoration: underline;
}
@media (min-width: 520px) {.comments-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-col-right {
    margin-top: 18px;
  }
[data-runtime="recommendation"] img {
    height: 104px;
  }}
@media (min-width: 720px) {.page-main {
    padding: 0 22px 26px;
  }
.hero-banner {
    margin: 0 -22px 18px;
    min-height: 380px;
  }
.hero-caption {
    min-height: 380px;
    padding: 120px 24px 28px;
  }
.movie-overview {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    align-items: start;
  }
.overview-poster-wrap {
    max-width: none;
  }
.episodes-grid {
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  }
.timeline-frame {
    flex: 0 0 172px;
  }
[data-runtime="recommendation"] img {
    height: 118px;
  }}
@media (min-width: 1024px) {.site-header {
    padding: 9px 26px;
  }
.page-main {
    padding: 0 26px 30px;
  }
.hero-banner {
    margin: 0 -26px 20px;
    min-height: 440px;
  }
.hero-caption {
    min-height: 440px;
    padding: 150px 32px 34px;
    max-width: 860px;
  }
.movie-overview {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
    padding: 16px;
  }
.episodes-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 8px;
  }
.timeline-frame {
    flex: 1 1 0;
    min-width: 150px;
    max-width: none;
  }
.comments-col-right {
    margin-top: 26px;
  }
.recommendation-grid {
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 10px;
  }
[data-runtime="recommendation"] img {
    height: 128px;
  }}
@media (min-width: 1280px) {.page-main {
    padding: 0 34px 34px;
    max-width: 1440px;
    margin: 0 auto;
  }
.hero-banner {
    margin: 0 -34px 22px;
  }
.episodes-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommendation-grid {
    grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  }}
@media (max-width: 400px) {.site-header {
    padding: 7px 10px;
  }
.page-main {
    padding: 0 10px 18px;
  }
.hero-banner {
    margin: 0 -10px 12px;
    min-height: 260px;
  }
.hero-caption {
    min-height: 260px;
    padding: 70px 12px 16px;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-progress {
    flex: 1 1 100%;
  }
[data-runtime="recommendation"] img {
    height: 84px;
  }}

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}
