:root {
  --bg-deep: #0d1017;
  --bg-panel: #141923;
  --bg-raise: #1b2130;
  --bg-tint: #1f2637;
  --line: #2b3346;
  --line-soft: #232b3c;
  --ink: #d7dde8;
  --ink-dim: #8a94a8;
  --ink-faint: #5d6779;
  --orange: #ff7a2f;
  --orange-deep: #d85a12;
  --orange-glow: rgba(255, 122, 47, 0.18);
  --radius: 10px;
  --radius-sm: 6px;
  --gap: 10px;
  --font-stack: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK 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-color: var(--bg-deep);
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.014) 0px,
      rgba(255, 255, 255, 0.014) 1px,
      transparent 1px,
      transparent 3px
    ),
    radial-gradient(120% 80% at 15% 0%, #131a28 0%, #0d1017 55%, #090c12 100%);
  color: var(--ink);
  font-family: var(--font-stack);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3, p, figure, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
::selection {
  background: var(--orange);
  color: #0d1017;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 9px 18px;
  background: rgba(13, 16, 23, 0.9);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
}
.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  min-width: 0;
}
a[data-contract="site-name"] {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--orange);
}
.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
a.nav-link {
  display: inline-block;
  padding: 3px 11px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.nav-link:hover {
  color: var(--orange);
  border-color: var(--line);
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-category:hover {
  color: var(--orange);
  border-color: var(--orange);
}
.page-main {
  display: block;
  width: 100%;
  padding: 14px 18px 26px;
}
.section-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  text-transform: uppercase;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
}
.hero-backdrop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  grid-template-areas:
    "poster marquee"
    "wave marquee";
  align-items: start;
  gap: 10px 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 122, 47, 0.05) 0%, transparent 42%),
    linear-gradient(200deg, #131a28 0%, #0f141d 100%);
  overflow: hidden;
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.6;
}
.poster-frame {
  grid-area: poster;
  position: relative;
  width: clamp(132px, 22vw, 224px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-raise);
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.9);
}
.poster-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 5px 8px 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--orange);
  background: linear-gradient(0deg, rgba(9, 12, 18, 0.94), rgba(9, 12, 18, 0));
  text-align: right;
}
.hero-waveform {
  grid-area: wave;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: clamp(132px, 22vw, 224px);
  padding-top: 2px;
}
.wave-line {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, rgba(255, 122, 47, 0.08) 100%);
  opacity: 0.5;
}
.wave-line:nth-child(1) { width: 92%; }
.wave-line:nth-child(2) { width: 64%; opacity: 0.38; }
.wave-line:nth-child(3) { width: 100%; opacity: 0.58; }
.wave-line:nth-child(4) { width: 47%; opacity: 0.3; }
.wave-line:nth-child(5) { width: 78%; opacity: 0.44; }
.hero-marquee {
  grid-area: marquee;
  position: relative;
  min-width: 0;
  max-height: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(20, 25, 35, 0.72);
  overflow: hidden;
}
.marquee-line {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-dim);
  padding: 5px 0 5px 10px;
  border-left: 2px solid var(--line);
}
.marquee-line:nth-child(odd) {
  color: var(--ink);
  border-left-color: var(--orange);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.movie-title {
  font-size: clamp(21px, 3.4vw, 32px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.18;
  color: var(--ink);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--orange);
  padding-left: 10px;
  border-left: 3px solid var(--orange);
}
.player-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0d13;
}
.player-panel video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: #05070b;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ctrl-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.ctrl-btn.is-active, .ctrl-btn.is-playing {
  color: #0d1017;
  background: var(--orange);
  border-color: var(--orange);
}
.ctrl-btn.play, .ctrl-btn.pause {
  font-weight: 800;
}
.ctrl-range {
  flex: 1 1 96px;
  min-width: 72px;
  height: 4px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--orange);
}
.ctrl-select {
  flex: 0 0 auto;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.ctrl-select:hover {
  border-color: var(--orange);
}
.player-panel.is-theater {
  background: #05070b;
  border-color: var(--orange);
}
.player-panel.is-lights-off {
  background: #000;
}
.player-panel.is-lights-off video {
  filter: brightness(0.55);
}
.movie-desc {
  font-size: 13px;
  line-height: 1.68;
  color: var(--ink-dim);
  padding: 9px 11px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
}
.synopsis-lead {
  font-size: 13px;
  line-height: 1.68;
  color: var(--ink-faint);
  display: none;
}
.overview-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}
.meta-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-raise);
}
.meta-key {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.meta-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}
.timeline-panel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px var(--gap);
}
.timeline-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 4px 10px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--orange);
  border-radius: var(--radius-sm);
  background: rgba(27, 33, 48, 0.55);
}
.timeline-time {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.cast-band {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: var(--gap);
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 9px 6px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-raise);
  transition: border-color 0.15s ease;
}
.cast-card:hover {
  border-color: var(--orange);
}
.cast-avatar {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #3a4considered 0%, transparent 60%),
    linear-gradient(150deg, #2b3346 0%, #1b2130 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 3px rgba(13, 16, 23, 0.6);
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  text-align: center;
}
.episode-status-row {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-chip {
  display: inline-block;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-raise);
  white-space: nowrap;
}
.status-chip:first-child {
  color: #0d1017;
  background: var(--orange);
  border-color: var(--orange);
}
.overview-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.synopsis-panel, .details-panel {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-dim);
  padding-left: 10px;
  border-left: 1px solid var(--line-soft);
}
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.detail-row {
  display: grid;
  grid-template-columns: minmax(64px, auto) minmax(0, 1fr);
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-key {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.detail-val {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}
.episodes-panel {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.episode-item {
  min-width: 0;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-raise);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-item.is-active .episode-card {
  border-color: var(--orange);
  background: linear-gradient(150deg, var(--orange-glow) 0%, rgba(27, 33, 48, 0.9) 62%);
}
.episode-number {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.episode-item.is-active .episode-number {
  color: var(--orange);
}
.episode-title {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.episode-duration {
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.comments-panel {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-raise);
}
.comment-card--tall {
  padding-top: 14px;
  padding-bottom: 14px;
  background: linear-gradient(180deg, rgba(31, 38, 55, 0.95) 0%, rgba(20, 25, 35, 0.95) 100%);
  border-color: var(--line);
}
.comment-card--shift {
  margin-top: 12px;
  border-left: 2px solid var(--orange);
}
.comment-nick {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--orange);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-dim);
}
.rec-region {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.rec-region--2 {
  background: linear-gradient(180deg, rgba(255, 122, 47, 0.05) 0%, var(--bg-panel) 40%);
}
.rec-region--3 {
  border-color: var(--line-soft);
}
.rec-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(158px, 1fr);
  gap: var(--gap);
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.rec-rail::-webkit-scrollbar {
  height: 6px;
}
.rec-rail::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-raise);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.rec-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  background: #10141d;
}
.rec-thumb {
  display: block;
}
.rec-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  margin-top: 20px;
  padding: 16px 18px 22px;
  border-top: 1px solid var(--line);
  background: #0a0d13;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  grid-template-areas:
    "brand nav"
    "friends friends"
    "disclaimer disclaimer";
  gap: 10px 18px;
  align-items: start;
}
.footer-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
}
.footer-sitename {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.footer-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.footer-friends {
  grid-area: friends;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
}
.friends-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-right: 2px;
}
a.runtime-friend-link {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--orange);
  border-color: var(--orange);
}
.footer-disclaimer {
  grid-area: disclaimer;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-faint);
}
@media (max-width: 900px) {.hero-backdrop {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "wave"
      "marquee";
  }
.poster-frame, .hero-waveform {
    width: min(60%, 240px);
  }
.overview-lower {
    grid-template-columns: minmax(0, 1fr);
  }
.footer-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "nav"
      "friends"
      "disclaimer";
  }}
@media (max-width: 620px) {body {
    font-size: 14px;
  }
.site-header {
    padding: 8px 12px;
    gap: 6px 12px;
  }
.categories-shell {
    margin-left: 0;
    width: 100%;
  }
.page-main {
    padding: 12px 12px 22px;
  }
.poster-frame, .hero-waveform {
    width: min(72%, 220px);
  }
.hero-backdrop, .hero-info, .timeline-panel, .cast-band, .episode-status-row, .synopsis-panel, .details-panel, .episodes-panel, .comments-panel, .rec-region {
    padding: 11px;
  }
.timeline-list, .episode-list, .comment-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card--shift {
    margin-top: 0;
  }
.rec-rail {
    grid-auto-columns: minmax(150px, 72%);
  }
.player-controls {
    gap: 5px;
  }
.ctrl-btn {
    padding: 4px 8px;
    font-size: 11.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}
