*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
:root {
  --ice-0: #eef3f6;
  --ice-1: #dbe4ea;
  --ice-2: #c3d0d8;
  --ice-3: #9fb2bd;
  --ice-4: #6d818d;
  --ink: #16232b;
  --ink-soft: #33454f;
  --rust: #8f3a2a;
  --rust-bright: #b04530;
  --rust-dim: #6f2c20;
  --line: rgba(22, 35, 43, 0.16);
  --frost: rgba(238, 243, 246, 0.55);
  --surface: #f6f9fb;
  --surface-2: #e7eef2;
  --shadow: 0 1px 0 rgba(22, 35, 43, 0.06), 0 6px 18px rgba(22, 35, 43, 0.08);
  --crack: repeating-linear-gradient(
      118deg,
      rgba(255, 255, 255, 0) 0 14px,
      rgba(255, 255, 255, 0.42) 14px 15px,
      rgba(255, 255, 255, 0) 15px 41px
    ),
    repeating-linear-gradient(
      62deg,
      rgba(255, 255, 255, 0) 0 22px,
      rgba(255, 255, 255, 0.28) 22px 23px,
      rgba(255, 255, 255, 0) 23px 57px
    ),
    repeating-linear-gradient(
      168deg,
      rgba(255, 255, 255, 0) 0 34px,
      rgba(255, 255, 255, 0.2) 34px 35px,
      rgba(255, 255, 255, 0) 35px 79px
    );
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    linear-gradient(180deg, var(--ice-0) 0%, var(--ice-1) 46%, var(--ice-2) 100%);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 14px;
  line-height: 1.42;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(238, 243, 246, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  max-width: 1440px;
  margin: 0 auto;
}
.site-brand, a[data-contract="site-name"] {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  padding-right: 14px;
  border-right: 2px solid var(--rust);
  line-height: 1.1;
}
a[data-contract="site-name"]:hover { color: var(--rust-dim); }
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ice-4);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-2) 100%);
}
a.runtime-category:hover {
  color: var(--rust);
  border-color: var(--rust);
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ink);
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.section-heading::before {
  content: "";
  width: 4px;
  height: 13px;
  margin-right: 8px;
  background: var(--rust);
  flex: none;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  background:
    var(--crack),
    linear-gradient(160deg, #ffffff 0%, var(--surface) 40%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-top: 3px solid var(--rust);
  border-radius: 3px;
  box-shadow: var(--shadow);
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.movie-overview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 55%);
  mix-blend-mode: screen;
}
.poster-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.poster-wrapper {
  position: relative;
  border: 1px solid var(--ice-3);
  background: var(--ice-2);
  overflow: hidden;
  align-self: start;
  width: 100%;
}
.poster-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.98);
}
.poster-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--crack);
  opacity: 0.85;
  mix-blend-mode: screen;
}
.poster-tagline {
  border-left: 3px solid var(--rust);
  padding-left: 9px;
}
.movie-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.tagline {
  margin-top: 3px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--rust-dim);
}
.overview-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #0d1418;
  border: 1px solid var(--ice-4);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(13, 20, 24, 0.24);
}
.main-player {
  display: block;
  width: 100%;
  background: #0d1418;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 6px 8px;
  background: linear-gradient(180deg, #1b262d 0%, #0d1418 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.player-btn {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ice-0);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
}
.player-btn:hover {
  background: var(--rust);
  border-color: var(--rust-bright);
  color: #fff;
}
.player-progress {
  flex: 1 1 120px;
  min-width: 80px;
  height: 4px;
  accent-color: var(--rust-bright);
  background: transparent;
  cursor: pointer;
}
.player-volume {
  flex: 0 1 86px;
  width: 86px;
  height: 4px;
  accent-color: var(--ice-2);
  cursor: pointer;
}
.player-speed {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ice-0);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  padding: 2px 4px;
  font-size: 12px;
  cursor: pointer;
}
.player-speed option { color: #16232b; }
.player-shell.is-playing .player-btn[data-player-action="play"] {
  background: var(--rust);
  border-color: var(--rust-bright);
  color: #fff;
}
.player-shell.is-muted .player-btn[data-player-action="mute"] {
  background: var(--rust-dim);
  border-color: var(--rust-bright);
  color: #fff;
}
.player-shell.is-lights-off {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 12px 30px rgba(0, 0, 0, 0.55);
}
.player-shell.is-lights-off .player-controls {
  background: linear-gradient(180deg, #0a0f12 0%, #05090b 100%);
}
.player-shell.is-theater {
  border-color: var(--rust-bright);
  box-shadow: 0 10px 34px rgba(143, 58, 42, 0.36);
}
.player-shell.is-fullscreen {
  border-radius: 0;
  border: none;
}
.player-shell.is-fullscreen .main-player {
  height: 100%;
  object-fit: contain;
}
.player-shell.is-fullscreen .player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(13, 20, 24, 0) 0%, rgba(13, 20, 24, 0.94) 60%);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 6px 10px;
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface) 100%);
  border-left: 3px solid var(--rust);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.status-current {
  font-weight: 800;
  color: var(--rust);
}
.status-total { font-weight: 700; color: var(--ink); }
.status-duration { color: var(--ice-4); }
.status-current::after, .status-total::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin-left: 14px;
  background: var(--line);
  vertical-align: -1px;
}
.synopsis-block { min-width: 0; }
.synopsis-paragraphs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 4px 16px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: justify;
  padding-left: 9px;
  border-left: 1px solid var(--line);
}
.cast-block { min-width: 0; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 7px 4px 6px;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
  text-align: center;
  min-width: 0;
}
.cast-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #eef3f6 0%, var(--ice-2) 46%, var(--ice-4) 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px var(--ice-3), inset 0 -8px 14px rgba(22, 35, 43, 0.16);
  filter: saturate(0.35) contrast(1.02);
  flex: none;
}
.cast-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.2;
}
.cast-role {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ice-4);
  line-height: 1.2;
}
.details-block { min-width: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(0, 1fr));
  gap: 3px 14px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 3px 0;
  border-bottom: 1px dashed var(--line);
}
.detail-key {
  flex: none;
  width: 62px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ice-4);
}
.detail-value {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section { min-width: 0; }
.timeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  border-top: 1px solid var(--ice-3);
  padding-top: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
}
.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 0 6px 8px;
  min-width: 0;
  border-right: 1px solid var(--line);
}
.timeline-node:last-child { border-right: none; }
.timeline-tick {
  width: 1px;
  height: 16px;
  background: linear-gradient(180deg, var(--rust) 0%, var(--ice-3) 100%);
  flex: none;
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--rust);
  padding: 1px 6px;
  border: 1px solid rgba(143, 58, 42, 0.36);
  background: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
.timeline-label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12px;
  line-height: 1.28;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  max-height: 210px;
  overflow: hidden;
}
.episodes-section { min-width: 0; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 2px 8px;
  padding: 7px 9px 8px;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ice-3);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.episode-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--crack);
  opacity: 0;
  mix-blend-mode: multiply;
  transition: opacity 0.2s ease;
}
.episode-card:hover {
  border-left-color: var(--rust);
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-2) 100%);
}
.episode-card:hover::after { opacity: 0.5; }
.episode-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--rust);
  white-space: nowrap;
}
.episode-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ice-4);
  white-space: nowrap;
}
.episode-summary {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.42;
  color: var(--ink-soft);
  position: relative;
  z-index: 1;
}
.comments-section { min-width: 0; }
.comments-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: start;
  padding: 4px 2px 6px;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px 10px;
  background: linear-gradient(178deg, #fdfefe 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: 1px;
  box-shadow: 0 3px 10px rgba(22, 35, 43, 0.1);
  min-width: 0;
}
.comment-note:nth-child(3n + 1) { transform: rotate(-0.9deg); }
.comment-note:nth-child(3n + 2) { transform: rotate(0.7deg); }
.comment-note:nth-child(3n + 3) { transform: rotate(-0.4deg); }
.comment-note:nth-child(even) {
  background: linear-gradient(178deg, #ffffff 0%, #e9f0f4 100%);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--rust);
}
.comment-nickname::before {
  content: "❄ ";
  color: var(--ice-3);
  font-weight: 400;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.46;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.recommend-region {
  min-width: 0;
  padding-top: 2px;
}
.recommend-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--rust);
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--rust);
  position: relative;
}
.recommend-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 54px;
  height: 2px;
  background: var(--rust-bright);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 10px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
a.recommend-item:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(143, 58, 42, 0.16);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: 150px;
  object-fit: cover;
  display: block;
  background: var(--ice-2);
  filter: saturate(0.7) contrast(1.05);
  border: 1px solid var(--ice-2);
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(0.95) contrast(1.06) brightness(1.04);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.38;
  color: var(--ice-4);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 18px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background:
    linear-gradient(180deg, rgba(238, 243, 246, 0) 0%, rgba(219, 228, 234, 0.7) 100%);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ice-4);
  max-width: 900px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  font-size: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--rust);
  border-bottom-color: var(--rust);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  font-size: 11.5px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}
.friend-links-label {
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--rust);
  padding-right: 8px;
  border-right: 1px solid var(--rust);
}
a.runtime-friend-link {
  color: var(--ice-4);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--rust);
  text-decoration: underline;
}
@media (max-width: 1080px) {.movie-overview {
    grid-template-columns: minmax(0, 176px) minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }
.poster-wrapper {
    flex: 0 1 168px;
    max-width: 168px;
  }
.poster-tagline {
    flex: 1 1 auto;
    min-width: 0;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-label {
    max-height: 180px;
  }}
@media (max-width: 680px) {.page-main {
    padding: 12px 12px 22px;
    gap: 15px;
  }
.header-inner {
    padding: 7px 12px;
    gap: 10px;
  }
.movie-overview {
    padding: 12px;
    gap: 13px;
  }
.poster-column {
    flex-direction: column;
    align-items: stretch;
  }
.poster-wrapper {
    flex: none;
    max-width: none;
    width: 100%;
    max-width: 210px;
  }
.synopsis-paragraphs {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-note:nth-child(3n + 1), .comment-note:nth-child(3n + 2), .comment-note:nth-child(3n + 3) {
    transform: rotate(-0.5deg);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 8px;
  }
.timeline-node {
    border-right: none;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 10px;
  }
.timeline-node:nth-child(2n) { border-right: none; }
.timeline-node:last-child { border-bottom: none; }
.timeline-label {
    max-height: none;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }
.site-footer {
    padding: 14px 12px 22px;
  }}
@media (max-width: 420px) {.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.poster-wrapper {
    max-width: none;
  }
.player-volume { width: 64px; flex-basis: 64px; }}

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}
