*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --night: #080c16;
  --night-2: #0d1420;
  --night-3: #121b2b;
  --line: #1e2a3d;
  --line-soft: #182236;
  --cool: #8ba0bd;
  --cool-dim: #5d708c;
  --ink: #e8edf5;
  --ink-dim: #a9b6c9;
  --amber: #ff9b3d;
  --amber-deep: #e07a1f;
  --amber-glow: rgba(255, 155, 61, 0.14);
  --gap: 8px;
  --gap-xs: 5px;
  --pad: 10px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--night);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ol, ul { list-style: none; }
.page-shell {
  display: block;
  width: 100%;
  max-width: 100%;
  background: var(--night);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 12, 22, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 7px 14px;
  min-height: 44px;
  flex-wrap: wrap;
}
.site-logo {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: uppercase;
  border-left: 3px solid var(--amber);
  padding-left: 8px;
  line-height: 1.2;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: var(--cool);
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: var(--night-2);
  line-height: 1.4;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.runtime-category:hover, .runtime-category:focus-visible {
  color: var(--night);
  background: var(--amber);
  border-color: var(--amber);
}
.main-content {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding: var(--gap) 10px 14px;
}
.hero-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--night-2);
  overflow: hidden;
}
.hero-media {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.82) contrast(1.08) brightness(0.82);
}
.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 12px;
  background: linear-gradient(to top, rgba(6, 9, 17, 0.94) 0%, rgba(6, 9, 17, 0.72) 46%, rgba(6, 9, 17, 0) 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}
.hero-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--amber);
  text-transform: uppercase;
}
.hero-line {
  font-size: clamp(17px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1.2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}
.hero-side-note {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 10px;
  background: var(--night-3);
  border-left: 1px solid var(--line);
  align-self: stretch;
  justify-content: flex-start;
  min-width: 0;
}
.hero-side-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  border: 1px solid var(--amber-deep);
  background: var(--amber-glow);
  padding: 2px 7px;
  white-space: nowrap;
  line-height: 1.5;
}
.section-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--ink);
  padding-left: 9px;
  border-left: 3px solid var(--amber);
  line-height: 1.2;
  margin-bottom: var(--gap);
}
.timeline-section {
  padding: var(--pad);
  background: var(--night-2);
  border: 1px solid var(--line);
}
.timeline-track {
  display: flex;
  flex-direction: row;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--amber-deep) var(--night-3);
  -webkit-overflow-scrolling: touch;
}
.timeline-track::-webkit-scrollbar { height: 5px; }
.timeline-track::-webkit-scrollbar-track { background: var(--night-3); }
.timeline-track::-webkit-scrollbar-thumb { background: var(--amber-deep); }
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 178px;
  padding: 12px 12px 0 0;
  border-top: 1px solid var(--line);
  min-height: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
}
.timeline-timecode {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin-bottom: 4px;
}
.timeline-label {
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.55;
}
.episodes-section {
  padding: var(--pad);
  background: var(--night-2);
  border: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.episode-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 9px 10px 10px;
  background: var(--night-2);
  border-left: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.episode-card:hover {
  background: var(--night-3);
  border-left-color: var(--amber);
}
.episode-number {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--amber);
  line-height: 1.2;
}
.episode-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.03em;
  line-height: 1.35;
}
.episode-summary {
  font-size: 11.5px;
  color: var(--cool);
  line-height: 1.55;
  flex: 1 1 auto;
}
.episode-duration {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cool-dim);
  border-top: 1px solid var(--line);
  padding-top: 4px;
  margin-top: 2px;
  width: 100%;
}
.overview-section {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  align-items: start;
  gap: var(--gap);
  padding: var(--pad);
  background: var(--night-2);
  border: 1px solid var(--line);
}
.poster-column {
  align-self: start;
  min-width: 0;
}
.poster-wrapper {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--night-3);
  overflow: hidden;
  line-height: 0;
}
.poster-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}
.movie-title {
  font-size: clamp(20px, 3.4vw, 34px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: var(--ink);
}
.movie-tagline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--amber);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}
.cast-block, .synopsis-block, .episode-status-block, .details-block {
  display: block;
  padding-top: 6px;
  border-top: 1px solid var(--line-soft);
}
.block-title {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--amber);
  line-height: 1.2;
  margin-bottom: 6px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-xs);
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 6px;
  background: var(--night-3);
  border: 1px solid var(--line-soft);
  padding: 5px;
  min-width: 0;
}
.cast-photo {
  flex: 0 0 40px;
  width: 40px;
  height: 53px;
  overflow: hidden;
  background: var(--night);
  line-height: 0;
}
.cast-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05) brightness(0.9);
}
.cast-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}
.cast-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1.25;
}
.cast-role {
  font-size: 10.5px;
  color: var(--cool-dim);
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.synopsis-para {
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.72;
  letter-spacing: 0.015em;
}
.synopsis-para + .synopsis-para { margin-top: 5px; }
.status-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line-soft);
}
.status-row:last-child { border-bottom: 0; }
.status-key {
  font-size: 11.5px;
  color: var(--cool-dim);
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}
.status-value {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.05em;
  text-align: right;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.detail-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  background: var(--night-2);
  min-width: 0;
}
.detail-key {
  font-size: 11px;
  color: var(--cool-dim);
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}
.detail-value {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
  letter-spacing: 0.02em;
  min-width: 0;
  overflow-wrap: anywhere;
}
.player-section {
  padding: var(--pad);
  background: var(--night-2);
  border: 1px solid var(--line);
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
  background: #000;
  border: 1px solid var(--line);
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: var(--night-3);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  background: var(--night-2);
  border: 1px solid var(--line);
  padding: 4px 10px;
  cursor: pointer;
  line-height: 1.4;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: var(--night);
  background: var(--amber);
  border-color: var(--amber);
}
.ctrl-btn.active, .ctrl-btn.play {
  color: var(--amber);
  border-color: var(--amber-deep);
  background: var(--amber-glow);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 100px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  cursor: pointer;
  align-self: center;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--amber);
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border: 0;
  background: var(--amber);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 52px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  cursor: pointer;
  align-self: center;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 13px;
  background: var(--cool);
  cursor: pointer;
}
.ctrl-volume::-moz-range-thumb {
  width: 9px;
  height: 13px;
  border: 0;
  background: var(--cool);
  cursor: pointer;
}
.ctrl-select {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-dim);
  background: var(--night-2);
  border: 1px solid var(--line);
  padding: 4px 6px;
  cursor: pointer;
  line-height: 1.4;
}
.ctrl-select:focus-visible { border-color: var(--amber); }
.player-shell.theater-mode {
  border-color: var(--amber-deep);
  box-shadow: 0 0 0 1px var(--amber-deep), 0 0 34px rgba(255, 155, 61, 0.16);
}
.player-shell.lights-off {
  background: #000;
  border-color: #000;
}
.player-shell.lights-off .player-controls {
  background: #05070d;
  border-top-color: #05070d;
}
.comments-section {
  padding: var(--pad);
  background: var(--night-2);
  border: 1px solid var(--line);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-xs);
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 9px 9px;
  background: var(--night-3);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--line);
  min-width: 0;
  transition: border-left-color 0.15s, background 0.15s;
}
.comment-card:nth-child(odd) { background: var(--night-2); }
.comment-card:hover {
  border-left-color: var(--amber);
  background: var(--night-3);
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-soft);
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--amber);
  line-height: 1.3;
}
.comment-text {
  font-size: 11.5px;
  color: var(--ink-dim);
  line-height: 1.65;
  letter-spacing: 0.015em;
}
.rec-region {
  padding: var(--pad);
  background: var(--night-2);
  border: 1px solid var(--line);
}
.rec-title {
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--ink);
  padding-left: 9px;
  border-left: 3px solid var(--amber);
  line-height: 1.2;
  margin-bottom: var(--gap);
}
.rec-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-xs);
  align-items: start;
}
.rec-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 2px;
  align-items: center;
  padding: 6px;
  background: var(--night-3);
  border: 1px solid var(--line-soft);
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.rec-card:hover {
  border-color: var(--amber-deep);
  background: var(--night-2);
}
.rec-card img {
  grid-row: 1 / span 2;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: var(--night);
  filter: saturate(0.8) contrast(1.05) brightness(0.88);
}
.rec-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.03em;
  line-height: 1.35;
  align-self: end;
  min-width: 0;
}
.rec-blurb {
  font-size: 10.5px;
  color: var(--cool);
  line-height: 1.5;
  align-self: start;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 14px 20px;
  background: var(--night-2);
  border-top: 1px solid var(--line);
}
.disclaimer {
  font-size: 10.5px;
  color: var(--cool-dim);
  line-height: 1.7;
  letter-spacing: 0.02em;
  max-width: 900px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.footer-nav a {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-top: 7px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--cool-dim);
  flex: 0 0 auto;
}
.runtime-friend-link {
  font-size: 11px;
  color: var(--cool);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.15s;
}
.runtime-friend-link:hover, .runtime-friend-link:focus-visible {
  color: var(--amber);
  text-decoration: underline;
}
@media (max-width: 1024px) {.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.overview-section { grid-template-columns: minmax(0, 176px) minmax(0, 1fr); }}
@media (max-width: 820px) {.main-content { padding: 8px 8px 14px; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.overview-section { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); }
.rec-columns { grid-template-columns: minmax(0, 1fr); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 640px) {body { font-size: 12.5px; }
.header-inner { padding: 6px 10px; }
.site-logo { font-size: 15px; letter-spacing: 0.1em; }
.main-content { padding: 6px 7px 12px; gap: 6px; }
.hero-banner { grid-template-columns: minmax(0, 1fr); }
.hero-side-note {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 7px 9px;
    align-self: auto;
  }
.hero-overlay { padding: 20px 11px 10px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.overview-section { grid-template-columns: minmax(0, 1fr); }
.poster-column { max-width: 220px; }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.rec-columns { grid-template-columns: minmax(0, 1fr); }
.rec-card { grid-template-columns: 68px minmax(0, 1fr); }
.timeline-node { width: 156px; }
.player-controls { gap: 4px; padding: 6px; }
.ctrl-btn { padding: 4px 8px; font-size: 11px; }
.ctrl-progress { flex: 1 1 100%; }}
@media (max-width: 400px) {.cast-list { grid-template-columns: minmax(0, 1fr); }
.section-title, .rec-title { letter-spacing: 0.14em; }
.hero-side-note { gap: 4px; }
.rec-card { grid-template-columns: 60px minmax(0, 1fr); column-gap: 6px; }}
@media (prefers-reduced-motion: reduce) {* { transition: none !important; }}

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}
