:root {
  --night: #0d1430;
  --night-deep: #080d20;
  --night-mid: #141d3d;
  --pine: #3d5a4e;
  --pine-light: #55705f;
  --pine-dim: #2a3f36;
  --warm: #e8b96a;
  --warm-bright: #f5d089;
  --warm-soft: #c99a4e;
  --ice: #7a93b8;
  --ice-dim: #4a5f80;
  --ice-line: rgba(122, 147, 184, 0.16);
  --text: #c8d2e0;
  --text-dim: #8a97ab;
  --text-faint: #5d6a82;
  --wood: #a08055;
  --font-title: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: "SF Mono", "Cascadia Code", "JetBrains Mono", "Fira Code", "Consolas", "PingFang SC", "Microsoft YaHei", monospace;
  --radius-burrow: 18px 18px 22px 22px;
  --radius-ice: 4px 14px 6px 16px;
  --gap-tight: 0.5rem;
  --gap-mid: 0.75rem;
  --gap-wide: 1.1rem;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--night-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 185, 106, 0.06), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 15%, rgba(61, 90, 78, 0.12), transparent 65%),
    radial-gradient(ellipse 50% 35% at 10% 40%, rgba(61, 90, 78, 0.08), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-deep) 40%, #0a1025 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ice);
  text-decoration: none;
}
button {
  cursor: pointer;
  font-family: inherit;
}
input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, p, dl, dd, dt {
  margin: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 13, 32, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ice-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--gap-mid);
  max-width: 68rem;
  margin: 0 auto;
  padding: 0.55rem 1rem;
}
a[data-contract="site-name"] {
  color: var(--warm);
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(232, 185, 106, 0.35);
  transition: text-shadow 0.25s ease;
}
a[data-contract="site-name"]:hover {
  text-shadow: 0 0 22px rgba(232, 185, 106, 0.6);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  justify-content: flex-end;
}
a.runtime-category {
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.72rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--ice-line);
  background: rgba(20, 29, 61, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
a.runtime-category:hover {
  color: var(--warm);
  border-color: rgba(232, 185, 106, 0.35);
  background: rgba(232, 185, 106, 0.08);
}
.page-main {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1rem 1.5rem;
}
.movie-overview {
  padding-top: 1.2rem;
}
.overview-shell {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-wide);
  align-items: flex-start;
  background: linear-gradient(160deg, rgba(20, 29, 61, 0.7) 0%, rgba(13, 20, 48, 0.85) 100%);
  border: 1px solid var(--ice-line);
  border-radius: var(--radius-burrow);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}
.overview-shell::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 55%;
  height: 80%;
  background: radial-gradient(circle, rgba(232, 185, 106, 0.07), transparent 70%);
  pointer-events: none;
}
.poster-column {
  flex: 0 1 12.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--gap-mid);
  align-items: flex-start;
  min-width: 0;
}
.poster-frame {
  position: relative;
  width: 100%;
  max-width: 12.5rem;
  border-radius: 14px 14px 18px 18px;
  overflow: hidden;
  border: 1px solid rgba(122, 147, 184, 0.2);
  box-shadow:
    0 0 0 3px rgba(8, 13, 32, 0.6),
    0 0 28px rgba(232, 185, 106, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.5);
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.episode-status {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  background: rgba(42, 63, 54, 0.35);
  border: 1px solid rgba(61, 90, 78, 0.4);
  border-radius: var(--radius-ice);
}
.status-line {
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.4;
}
.status-warm {
  font-size: 0.72rem;
  color: var(--warm);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 0.15rem;
  text-shadow: 0 0 10px rgba(232, 185, 106, 0.4);
}
.overview-body {
  flex: 1 1 18rem;
  display: flex;
  flex-direction: column;
  gap: var(--gap-wide);
  min-width: 0;
}
.title-block {
  border-left: 3px solid var(--warm-soft);
  padding-left: 0.75rem;
}
.movie-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: #e8e2d4;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.movie-tagline {
  margin-top: 0.3rem;
  font-size: 0.76rem;
  color: var(--text-dim);
  font-style: italic;
  letter-spacing: 0.01em;
}
.player-shell {
  width: 100%;
  border-radius: 12px 12px 16px 16px;
  overflow: hidden;
  background: #050810;
  border: 1px solid var(--ice-line);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.55rem;
  background: rgba(13, 20, 48, 0.9);
  border-top: 1px solid var(--ice-line);
}
.control-btn {
  background: rgba(61, 90, 78, 0.35);
  color: var(--text);
  border: 1px solid rgba(122, 147, 184, 0.2);
  border-radius: 6px 8px 6px 10px;
  padding: 0.22rem 0.5rem;
  font-size: 0.66rem;
  line-height: 1.3;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.control-btn:hover {
  background: rgba(61, 90, 78, 0.6);
  color: var(--warm-bright);
  border-color: rgba(232, 185, 106, 0.3);
}
.control-btn.is-active {
  background: rgba(232, 185, 106, 0.18);
  color: var(--warm-bright);
  border-color: rgba(232, 185, 106, 0.45);
}
.control-btn.is-playing {
  background: rgba(232, 185, 106, 0.2);
  color: var(--warm-bright);
}
.control-range {
  flex: 1 1 4rem;
  min-width: 3rem;
  height: 3px;
  border-radius: 2px;
  background: rgba(122, 147, 184, 0.25);
  outline: none;
  cursor: pointer;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--warm);
  border: 1px solid var(--warm-bright);
  box-shadow: 0 0 6px rgba(232, 185, 106, 0.5);
}
.control-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--warm);
  border: 1px solid var(--warm-bright);
  box-shadow: 0 0 6px rgba(232, 185, 106, 0.5);
}
.control-range::-moz-range-track {
  height: 3px;
  border-radius: 2px;
  background: rgba(122, 147, 184, 0.25);
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.section-heading {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--warm-soft);
  letter-spacing: 0.06em;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(232, 185, 106, 0.15);
  margin-bottom: 0.15rem;
}
.synopsis-text {
  font-size: 0.76rem;
  color: var(--text-dim);
  line-height: 1.55;
  text-indent: 2em;
}
.details-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.detail-list {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 0.25rem 0.6rem;
  align-items: baseline;
}
.detail-key {
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.detail-value {
  font-size: 0.72rem;
  color: var(--text);
  line-height: 1.45;
}
.cast-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.5rem;
  background: rgba(42, 63, 54, 0.3);
  border: 1px solid rgba(61, 90, 78, 0.35);
  border-radius: var(--radius-ice);
}
.cast-avatar {
  display: block;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(232, 185, 106, 0.25), rgba(61, 90, 78, 0.6));
  border: 1px solid rgba(122, 147, 184, 0.25);
  flex-shrink: 0;
}
.cast-name {
  font-size: 0.7rem;
  color: var(--text);
  writing-mode: vertical-rl;
  letter-spacing: 0.08em;
  line-height: 1.2;
  max-height: 2rem;
}
.ice-divider {
  border: none;
  height: 1px;
  margin: 0.9rem 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(122, 147, 184, 0.2) 15%,
    rgba(122, 147, 184, 0.4) 30%,
    rgba(122, 147, 184, 0.15) 45%,
    rgba(122, 147, 184, 0.35) 60%,
    rgba(122, 147, 184, 0.18) 80%,
    transparent 100%
  );
  position: relative;
}
.ice-divider::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 5px;
  background:
    linear-gradient(135deg, transparent 48%, rgba(122, 147, 184, 0.12) 50%, transparent 52%),
    linear-gradient(45deg, transparent 48%, rgba(122, 147, 184, 0.08) 50%, transparent 52%);
  background-size: 24px 5px;
}
.timeline-section {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.timeline-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  position: relative;
  padding: 0.5rem 0;
  align-items: flex-start;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 0.5rem;
  right: 0.5rem;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(122, 147, 184, 0.25) 0px,
    rgba(122, 147, 184, 0.25) 4px,
    transparent 4px,
    transparent 8px
  );
}
.timeline-node {
  flex: 1 1 0;
  min-width: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  position: relative;
  text-align: center;
}
.node-lamp {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: rgba(122, 147, 184, 0.3);
  border: 1.5px solid rgba(122, 147, 184, 0.4);
  position: relative;
  z-index: 1;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.timeline-node:nth-child(1) .node-lamp {
  background: var(--warm);
  border-color: var(--warm-bright);
  box-shadow: 0 0 10px rgba(232, 185, 106, 0.6);
}
.timeline-node:nth-child(2) .node-lamp {
  background: var(--warm-soft);
  border-color: var(--warm);
  box-shadow: 0 0 8px rgba(232, 185, 106, 0.45);
}
.timeline-node:nth-child(3) .node-lamp {
  background: var(--warm-soft);
  border-color: rgba(232, 185, 106, 0.7);
  box-shadow: 0 0 7px rgba(232, 185, 106, 0.35);
}
.timeline-node:nth-child(4) .node-lamp {
  background: rgba(201, 154, 78, 0.6);
  border-color: rgba(232, 185, 106, 0.5);
  box-shadow: 0 0 5px rgba(232, 185, 106, 0.25);
}
.timeline-node:nth-child(5) .node-lamp {
  background: rgba(122, 147, 184, 0.4);
  border-color: rgba(122, 147, 184, 0.5);
  box-shadow: none;
}
.node-timecode {
  font-size: 0.66rem;
  color: var(--warm-soft);
  letter-spacing: 0.04em;
  font-weight: 600;
}
.node-label {
  font-size: 0.64rem;
  color: var(--text-dim);
  line-height: 1.3;
}
.episodes-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.episode-flow {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ice-dim) transparent;
}
.episode-flow::-webkit-scrollbar {
  height: 4px;
}
.episode-flow::-webkit-scrollbar-track {
  background: transparent;
}
.episode-flow::-webkit-scrollbar-thumb {
  background: var(--ice-dim);
  border-radius: 2px;
}
.episode-card {
  flex: 0 0 9.5rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.55rem 0.65rem;
  background: rgba(20, 29, 61, 0.6);
  border: 1px solid var(--ice-line);
  border-radius: var(--radius-ice);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.episode-card:hover {
  border-color: rgba(122, 147, 184, 0.3);
}
.episode-card-current {
  border-color: rgba(232, 185, 106, 0.5);
  background: rgba(30, 40, 72, 0.75);
  box-shadow: 0 0 16px rgba(232, 185, 106, 0.12), inset 0 0 20px rgba(232, 185, 106, 0.04);
}
.episode-number {
  font-size: 0.62rem;
  color: var(--warm-soft);
  letter-spacing: 0.08em;
  font-weight: 600;
}
.episode-card-current .episode-number {
  color: var(--warm-bright);
}
.episode-title {
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 700;
  color: #d8dfe8;
  line-height: 1.3;
}
.episode-card-current .episode-title {
  color: var(--warm-bright);
}
.episode-summary {
  font-size: 0.66rem;
  color: var(--text-faint);
  line-height: 1.45;
  flex: 1;
}
.episode-duration {
  font-size: 0.6rem;
  color: var(--ice-dim);
  letter-spacing: 0.04em;
}
.comments-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.comment-masonry {
  columns: 2;
  column-gap: 0.6rem;
}
.comment-card {
  break-inside: avoid;
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  padding: 0.5rem 0.6rem;
  background: rgba(20, 29, 61, 0.5);
  border: 1px solid var(--ice-line);
  border-radius: var(--radius-ice);
  transition: border-color 0.2s ease;
}
.comment-card:hover {
  border-color: rgba(122, 147, 184, 0.28);
}
.comment-thermo {
  display: block;
  flex: 0 0 2px;
  border-radius: 1px;
  background: linear-gradient(
    180deg,
    var(--warm) 0%,
    var(--warm-soft) 35%,
    var(--pine-light) 65%,
    var(--ice-dim) 100%
  );
  align-self: stretch;
  min-height: 1.5rem;
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.comment-nickname {
  font-size: 0.68rem;
  color: var(--warm-soft);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.recommend-region {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}
.recommend-heading {
  font-family: var(--font-title);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--wood);
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.4rem;
  background: rgba(20, 29, 61, 0.55);
  border: 1px solid var(--ice-line);
  border-radius: var(--radius-ice);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
a.recommend-card:hover {
  border-color: rgba(232, 185, 106, 0.35);
  box-shadow: 0 0 14px rgba(232, 185, 106, 0.1);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img, .recommend-pic {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px 8px 4px 10px;
  background: rgba(13, 20, 48, 0.8);
}
.recommend-name {
  font-size: 0.72rem;
  color: #d0d8e4;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 0.64rem;
  color: var(--text-faint);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1rem 1rem 1.5rem;
  border-top: 1px solid var(--ice-line);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-disclaimer {
  font-size: 0.62rem;
  color: var(--text-faint);
  line-height: 1.5;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}
.friend-links-label {
  font-size: 0.62rem;
  color: var(--wood);
  letter-spacing: 0.06em;
  opacity: 0.8;
}
a.runtime-friend-link {
  font-size: 0.62rem;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.2s ease;
}
a.runtime-friend-link:hover {
  color: var(--ice);
}
.footer-links {
  display: flex;
  gap: 0.8rem;
}
a[data-contract="footer-home"] {
  font-size: 0.66rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
a[data-contract="footer-home"]:hover {
  color: var(--warm);
}
a[data-contract="footer-sitemap"] {
  font-size: 0.66rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--warm);
}
.player-shell.is-theater {
  box-shadow: 0 0 40px rgba(232, 185, 106, 0.15), 0 0 80px rgba(0, 0, 0, 0.6);
  border-color: rgba(232, 185, 106, 0.25);
}
.player-shell.is-lights-out {
  box-shadow: 0 0 0 3px rgba(232, 185, 106, 0.15), 0 0 60px rgba(0, 0, 0, 0.8);
}
@media (max-width: 52rem) {.detail-list {
    grid-template-columns: auto 1fr;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-masonry {
    columns: 2;
  }}
@media (max-width: 40rem) {.header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
.category-strip {
    justify-content: flex-start;
  }
.overview-shell {
    flex-direction: column;
  }
.poster-column {
    flex: none;
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
  }
.poster-frame {
    max-width: 9rem;
    flex-shrink: 0;
  }
.episode-status {
    flex: 1;
  }
.movie-title {
    font-size: 1.1rem;
  }
.detail-list {
    grid-template-columns: auto 1fr;
  }
.timeline-track::before {
    display: none;
  }
.timeline-node {
    flex: 0 0 auto;
    min-width: 5rem;
  }
.timeline-track {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
  }
.comment-masonry {
    columns: 1;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 0.25rem;
  }
.control-btn {
    font-size: 0.6rem;
    padding: 0.18rem 0.4rem;
  }
.cast-name {
    writing-mode: horizontal-tb;
    max-height: none;
  }}
@media (max-width: 26rem) {.recommend-grid {
    grid-template-columns: 1fr;
  }
.movie-title {
    font-size: 0.95rem;
  }
.cast-strip {
    gap: 0.35rem;
  }
.cast-avatar {
    width: 1.6rem;
    height: 1.6rem;
  }}

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}
