*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
:root {
  --blue-950: #060b16;
  --blue-900: #0a1220;
  --blue-850: #0d1728;
  --blue-800: #111d33;
  --blue-700: #17263f;
  --blue-600: #1e3352;
  --blue-500: #2a4a72;
  --blue-400: #4d76a8;
  --blue-300: #7fa3cc;
  --blue-100: #cfe0f2;
  --ink-100: #eef3f9;
  --ink-300: #b9c8db;
  --ink-500: #7d8ea6;
  --orange-500: #ff7a2f;
  --orange-400: #ff9450;
  --orange-300: #ffb27a;
  --line: rgba(127, 163, 204, 0.22);
  --line-soft: rgba(127, 163, 204, 0.12);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(42, 74, 114, 0.55), transparent 62%),
    radial-gradient(760px 420px at 6% 14%, rgba(255, 122, 47, 0.07), transparent 60%),
    var(--blue-950);
  color: var(--ink-300);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video { display: block; max-width: 100%; }
ol, ul { list-style: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a[data-contract="site-name"] { color: var(--ink-100); text-decoration: none; }
a.runtime-category { color: var(--blue-100); text-decoration: none; }
a.rec-card { color: var(--ink-300); text-decoration: none; }
a[data-contract="footer-home"] { color: var(--blue-300); text-decoration: none; }
a[data-contract="footer-sitemap"] { color: var(--blue-300); text-decoration: none; }
a.runtime-friend-link { color: var(--ink-500); text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px clamp(12px, 3vw, 30px);
  background: rgba(6, 11, 22, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-brand { display: flex; align-items: center; min-width: 0; }
.site-logo {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.site-logo:hover { color: var(--orange-400); }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(23, 38, 63, 0.6);
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.runtime-category:hover {
  color: var(--orange-400);
  border-color: rgba(255, 122, 47, 0.55);
  background: rgba(255, 122, 47, 0.08);
}
.page-main {
  display: block;
  padding: 0 clamp(12px, 3vw, 30px);
  max-width: 1440px;
  margin: 0 auto;
}
.page-main > section {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.page-main > section:last-child { border-bottom: 0; }
.section-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--blue-100);
  text-transform: uppercase;
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  grid-template-areas:
    "visual copy"
    "synopsis synopsis"
    "cast cast"
    "status details";
  gap: 14px 22px;
  padding-top: 22px;
  position: relative;
}
.hero-visual {
  grid-area: visual;
  position: relative;
  align-self: start;
  width: 100%;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
  filter: saturate(0.92) contrast(1.06);
  display: block;
}
.hero-loop-timeline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 4px;
  overflow: hidden;
}
.hero-loop-timeline::before {
  content: "";
  position: absolute;
  inset: -12% -18%;
  border: 1px solid rgba(255, 122, 47, 0.34);
  border-radius: 50%;
  transform: rotate(-24deg) scaleY(0.42);
}
.hero-loop-timeline::after {
  content: "";
  position: absolute;
  inset: 18% -30%;
  border: 1px solid rgba(127, 163, 204, 0.3);
  border-radius: 50%;
  transform: rotate(32deg) scaleY(0.28);
}
.loop-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 8px rgba(255, 122, 47, 0.9);
}
.loop-node:nth-child(1) { top: 12%; left: 68%; }
.loop-node:nth-child(2) { top: 30%; left: 22%; background: var(--blue-300); box-shadow: 0 0 8px rgba(127, 163, 204, 0.8); }
.loop-node:nth-child(3) { top: 48%; left: 78%; }
.loop-node:nth-child(4) { top: 66%; left: 30%; background: var(--blue-300); box-shadow: 0 0 8px rgba(127, 163, 204, 0.8); }
.loop-node:nth-child(5) { top: 84%; left: 62%; }
.hero-copy {
  grid-area: copy;
  align-self: start;
  position: relative;
  padding: 4px 0 0;
  min-width: 0;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--orange-400);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.movie-title {
  font-size: clamp(38px, 7vw, 82px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--ink-100);
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.6);
  margin-bottom: 6px;
}
.movie-tagline {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 500;
  color: var(--orange-300);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.movie-seo-desc {
  font-size: 13px;
  line-height: 1.78;
  color: var(--ink-300);
  max-width: 62ch;
  border-left: 2px solid var(--orange-500);
  padding-left: 12px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  align-items: center;
}
.btn-primary {
  padding: 9px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-950);
  background: var(--orange-500);
  border-radius: 3px;
  border: 1px solid var(--orange-500);
  transition: background 0.16s, transform 0.16s, box-shadow 0.16s;
}
.btn-primary:hover {
  background: var(--orange-400);
  box-shadow: 0 6px 22px rgba(255, 122, 47, 0.34);
  transform: translateY(-1px);
}
.btn-ghost {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--blue-100);
  background: rgba(23, 38, 63, 0.55);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.btn-ghost:hover {
  color: var(--orange-400);
  border-color: rgba(255, 122, 47, 0.5);
  background: rgba(255, 122, 47, 0.07);
}
.synopsis-block {
  grid-area: synopsis;
  min-width: 0;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-300);
  max-width: 96ch;
}
.synopsis-para + .synopsis-para { margin-top: 6px; }
.synopsis-para::first-letter { color: var(--blue-100); }
.cast-block { grid-area: cast; min-width: 0; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  padding: 9px 11px;
  background: var(--blue-850);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--blue-500);
  border-radius: 3px;
  transition: border-left-color 0.16s, background 0.16s;
}
.cast-card:hover {
  border-left-color: var(--orange-500);
  background: var(--blue-800);
}
.cast-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-100);
  letter-spacing: 0.04em;
}
.cast-quote {
  font-size: 12px;
  line-height: 1.6;
  color: var(--blue-300);
  margin-top: 4px;
}
.episode-status-block { grid-area: status; min-width: 0; }
.details-block { grid-area: details; min-width: 0; }
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  flex: 1 1 120px;
  padding: 8px 11px;
  background: var(--blue-850);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
}
.status-key {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-500);
}
.status-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--orange-400);
  margin-top: 1px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
}
.detail-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: var(--blue-850);
}
.detail-key {
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.detail-value {
  font-size: 12px;
  color: var(--ink-100);
  font-weight: 500;
  text-align: right;
}
.player-shell {
  display: block;
  padding: 18px 0;
}
.player-wrapper {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.player-wrapper video {
  display: block;
  width: 100%;
  height: auto;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--blue-850);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
}
.ctrl-btn {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--blue-100);
  background: var(--blue-700);
  border: 1px solid var(--line);
  border-radius: 3px;
  white-space: nowrap;
  transition: color 0.14s, border-color 0.14s, background 0.14s;
}
.ctrl-btn:hover {
  color: var(--orange-400);
  border-color: rgba(255, 122, 47, 0.5);
}
.ctrl-btn.is-active {
  color: var(--blue-950);
  background: var(--orange-500);
  border-color: var(--orange-500);
}
.ctrl-btn.is-playing { border-color: rgba(255, 122, 47, 0.6); color: var(--orange-400); }
.ctrl-btn.is-muted { color: var(--orange-400); border-color: rgba(255, 122, 47, 0.5); }
.ctrl-play {
  font-weight: 700;
  color: var(--blue-950);
  background: var(--orange-500);
  border-color: var(--orange-500);
}
.ctrl-play:hover { color: var(--blue-950); background: var(--orange-400); }
.ctrl-progress {
  flex: 1 1 190px;
  min-width: 120px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--blue-600);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange-500);
  border: 0;
}
.ctrl-progress::-moz-range-thumb {
  width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--orange-500);
}
.ctrl-volume {
  flex: 0 1 92px;
  min-width: 64px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--blue-600);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px; height: 11px; border-radius: 50%; background: var(--blue-300); border: 0;
}
.ctrl-volume::-moz-range-thumb {
  width: 11px; height: 11px; border: 0; border-radius: 50%; background: var(--blue-300);
}
.player-shell.theater-mode .player-wrapper {
  border-color: rgba(255, 122, 47, 0.5);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 122, 47, 0.25);
}
body.theater-mode .site-header { background: rgba(4, 7, 14, 0.94); }
body.lights-dim {
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(42, 74, 114, 0.35), transparent 64%),
    #03060d;
}
body.lights-dim .page-main > section:not(.player-shell) { opacity: 0.55; transition: opacity 0.3s; }
body.lights-dim .player-wrapper { box-shadow: 0 24px 80px rgba(255, 122, 47, 0.14); }
.timeline-section { position: relative; }
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  align-items: start;
  padding-left: 20px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, var(--orange-500), rgba(127, 163, 204, 0.4) 40%, rgba(127, 163, 204, 0.05));
}
.timeline-node {
  position: relative;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-900);
  border: 1px solid var(--blue-400);
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: -16px;
  top: 17px;
  width: 14px;
  height: 1px;
  background: var(--line);
}
.memory-card {
  padding: 10px 12px;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, var(--blue-800), var(--blue-850));
  transition: filter 0.3s, opacity 0.3s, transform 0.3s, border-color 0.3s;
}
.memory-timecode {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--orange-400);
  border: 1px solid rgba(255, 122, 47, 0.4);
  border-radius: 2px;
  padding: 1px 6px;
  margin-bottom: 6px;
}
.memory-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-100);
  font-weight: 400;
}
.memory-card-1 { filter: blur(0); opacity: 1; border-color: rgba(255, 122, 47, 0.42); }
.memory-card-2 { filter: blur(0.3px); opacity: 0.95; }
.memory-card-3 { filter: blur(0.7px); opacity: 0.9; }
.memory-card-4 { filter: blur(1.1px); opacity: 0.84; }
.memory-card-5 { filter: blur(1.5px); opacity: 0.78; }
.memory-card-6 { filter: blur(2px); opacity: 0.72; }
.memory-card:hover {
  filter: blur(0) !important;
  opacity: 1;
  border-color: rgba(255, 122, 47, 0.55);
  transform: translateY(-2px);
}
.episode-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-500) transparent;
  padding-bottom: 6px;
}
.episode-scroller::-webkit-scrollbar { height: 6px; }
.episode-scroller::-webkit-scrollbar-track { background: var(--blue-900); border-radius: 999px; }
.episode-scroller::-webkit-scrollbar-thumb { background: var(--blue-500); border-radius: 999px; }
.episode-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: stretch;
  min-width: max-content;
}
.episode-card {
  flex: 0 0 190px;
  width: 190px;
  padding: 10px 11px;
  background: var(--blue-850);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--blue-600);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-top-color 0.16s, background 0.16s, transform 0.16s;
}
.episode-card:hover {
  background: var(--blue-800);
  border-top-color: var(--blue-400);
  transform: translateY(-2px);
}
.episode-card-active {
  background: linear-gradient(160deg, rgba(255, 122, 47, 0.14), var(--blue-800));
  border-top-color: var(--orange-500);
  border-color: rgba(255, 122, 47, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 122, 47, 0.3);
}
.episode-number {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue-300);
}
.episode-card-active .episode-number { color: var(--orange-400); }
.episode-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-100);
  letter-spacing: 0.03em;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-500);
  flex: 1;
}
.episode-duration {
  font-size: 11px;
  color: var(--blue-400);
  letter-spacing: 0.08em;
  border-top: 1px solid var(--line-soft);
  padding-top: 5px;
}
.comments-masonry {
  columns: 2;
  column-gap: 10px;
}
.comments-masonry > .comment-card {
  break-inside: avoid;
  margin-bottom: 10px;
}
.comment-card {
  display: block;
  padding: 10px 12px;
  background: var(--blue-850);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--blue-600);
  border-radius: 3px;
  transition: border-left-color 0.16s, background 0.16s;
}
.comment-card:hover {
  border-left-color: var(--orange-500);
  background: var(--blue-800);
}
.comment-text {
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-300);
}
.comment-nickname {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--orange-400);
}
.comment-nickname::before { content: "— "; color: var(--ink-500); }
.rec-region { min-width: 0; }
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: var(--blue-850);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}
.rec-card:hover {
  border-color: rgba(255, 122, 47, 0.55);
  background: var(--blue-800);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: var(--blue-900);
  display: block;
}
.rec-card [data-runtime="name"] {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-100);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-card [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--blue-900);
  margin-top: 8px;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px clamp(12px, 3vw, 30px) 22px;
  display: grid;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink-500);
  max-width: 100ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}
.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: color 0.16s;
}
.footer-nav a:hover { color: var(--orange-400); }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-500);
  text-transform: uppercase;
}
.runtime-friend-link {
  font-size: 12px;
  white-space: nowrap;
  transition: color 0.16s;
}
.runtime-friend-link:hover { color: var(--orange-400); }
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "visual"
      "copy"
      "synopsis"
      "status"
      "details"
      "cast";
    gap: 14px;
  }
.hero-visual {
    max-width: 260px;
    width: 100%;
  }
.movie-seo-desc { max-width: none; }}
@media (max-width: 640px) {body { font-size: 13px; }
.page-main > section { padding: 14px 0; }
.comments-masonry { columns: 1; }
.rec-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.cast-grid { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
.details-list { grid-template-columns: repeat(auto-fit, minmax(124px, 1fr)); }
.timeline-list { grid-template-columns: minmax(0, 1fr); padding-left: 18px; }
.episode-card { flex-basis: 168px; width: 168px; }
.movie-title { font-size: clamp(32px, 12vw, 52px); }
.hero-actions { gap: 7px; }
.btn-primary, .btn-ghost { padding: 8px 15px; }
.player-controls { gap: 6px; }
.ctrl-btn { padding: 5px 9px; font-size: 11px; }
.ctrl-progress { flex: 1 1 100%; }
.ctrl-volume { flex: 1 1 80px; }}
@media (max-width: 420px) {.site-header { flex-wrap: wrap; }
.category-bar { justify-content: flex-start; }
.rec-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.rec-card [data-runtime="blurb"] { -webkit-line-clamp: 2; }}

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}
