:root {
  --ink: #05070b;
  --ink-2: #0a0e16;
  --panel: #0d121c;
  --panel-2: #111825;
  --line: #1c2636;
  --line-2: #26344a;
  --text: #dfe6f0;
  --text-dim: #8d9cb2;
  --text-mute: #55637a;
  --cold: #4a6b93;
  --cold-2: #6f9bc7;
  --accent: #ff7a1a;
  --accent-2: #ffb066;
  --glow: rgba(255, 122, 26, 0.55);
  --cut: 10px;
  --cut-sm: 7px;
  --gap: 12px;
  --pad: 12px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.01em;
  background-image:
    linear-gradient(160deg, rgba(74, 107, 147, 0.10) 0%, rgba(5, 7, 11, 0) 42%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 9px);
  background-attachment: fixed;
}
h1, h2, h3, p, ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  border: 0;
}
a {
  color: var(--cold-2);
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
video {
  display: block;
  background: #000;
}
.site-brand, .runtime-category, .player-btn, .status-chip, .detail-panel, .episode-card, .comment-card, .rec-item, .rec-thumb, .score-block {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 9px 14px;
  background: rgba(5, 7, 11, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-brand {
  display: inline-block;
  padding: 6px 14px 6px 12px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #f3f7fc;
  background: linear-gradient(135deg, #16233a 0%, #0b111c 100%);
  border-left: 3px solid var(--accent);
}
.site-brand:hover, .site-brand:focus-visible {
  color: var(--accent-2);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-dim);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: color 0.16s, background 0.16s, border-color 0.16s;
}
.runtime-category:hover, .runtime-category:focus-visible {
  color: #fff;
  background: #182335;
  border-color: var(--cold);
}
.page-main {
  display: block;
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 14px 20px;
}
.movie-overview {
  display: grid;
  gap: var(--gap);
  padding: 14px;
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-top: 2px solid var(--cold);
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 8% 0%, rgba(74, 107, 147, 0.28) 0%, rgba(5, 7, 11, 0) 60%),
    linear-gradient(155deg, #0b1220 0%, #070a11 60%, #05070b 100%);
  border: 1px solid var(--line-2);
  padding: 14px;
}
.hero-shell::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -14%;
  width: 58%;
  height: 190%;
  background: linear-gradient(180deg, rgba(111, 155, 199, 0.16), rgba(111, 155, 199, 0));
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
  z-index: 0;
}
.hero-media {
  position: relative;
  z-index: 1;
  align-self: start;
  width: 100%;
  line-height: 0;
}
.poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #0a0e16;
  border: 1px solid var(--line-2);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  filter: saturate(0.85) contrast(1.05) brightness(0.94);
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(24px, 4.4vw, 46px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #f4f8fd;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
  padding-left: 12px;
  border-left: 6px solid transparent;
  border-image: linear-gradient(180deg, var(--accent), rgba(255, 122, 26, 0)) 1;
}
.movie-tagline {
  max-width: 46ch;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-dim);
  padding-left: 2px;
}
.score-block {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  background: linear-gradient(120deg, rgba(255, 122, 26, 0.16) 0%, rgba(13, 18, 28, 0.9) 70%);
  border: 1px solid rgba(255, 122, 26, 0.4);
  box-shadow: 0 0 20px rgba(255, 122, 26, 0.12);
}
.score-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--accent-2);
}
.score-value {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 0 22px rgba(255, 122, 26, 0.45);
  font-variant-numeric: tabular-nums;
}
.player-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: #06090f;
  border: 1px solid var(--line-2);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--line);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.player-btn {
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  background: #111825;
  border: 1px solid var(--line);
  transition: color 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.player-btn:hover, .player-btn:focus-visible {
  color: #fff;
  background: #18263a;
  border-color: var(--cold);
}
.player-btn.is-active, .player-shell.theater-mode .player-btn[data-player-action="theater"], .player-shell.lights-off .player-btn[data-player-action="light"] {
  color: #0a0e16;
  background: var(--accent);
  border-color: var(--accent-2);
  box-shadow: 0 0 14px var(--glow);
}
.player-shell.theater-mode {
  background: #020407;
  box-shadow: inset 0 0 0 1px rgba(255, 122, 26, 0.28);
}
.player-shell.lights-off {
  background: #000;
}
.player-shell.lights-off .player-controls {
  opacity: 0.4;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #eef4fb;
  margin-bottom: 10px;
}
.section-heading::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--accent);
  flex: 0 0 auto;
}
.section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), rgba(38, 52, 74, 0));
}
.cast-strip {
  margin-top: 14px;
}
.cast-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.cast-scroll::-webkit-scrollbar {
  height: 6px;
}
.cast-scroll::-webkit-scrollbar-track {
  background: #0a0e16;
}
.cast-scroll::-webkit-scrollbar-thumb {
  background: var(--line-2);
}
.cast-card {
  flex: 0 0 auto;
  width: 132px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-sm));
  transition: border-color 0.16s, background 0.16s;
}
.cast-card:hover {
  border-color: var(--cold);
  background: var(--panel-2);
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(80% 80% at 50% 18%, rgba(111, 155, 199, 0.35) 0%, rgba(5, 7, 11, 0) 70%),
    linear-gradient(150deg, #182335 0%, #0b1018 100%);
  border: 1px solid var(--line-2);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: #f0f5fb;
  letter-spacing: 0.02em;
}
.cast-line {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--text-mute);
}
.synopsis-block {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cold);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.synopsis-desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: #e7eef7;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.synopsis-para {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}
.status-chip {
  display: inline-block;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: var(--panel);
  border: 1px solid var(--line);
}
.status-chip--current {
  color: #0a0e16;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  border-color: var(--accent-2);
  box-shadow: 0 0 14px var(--glow);
}
.detail-panel {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0 18px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}
.detail-key::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 0;
  margin-right: 5px;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent var(--cold);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 300;
  color: #dbe4f0;
  text-align: right;
}
.episodes-panel {
  margin-top: 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}
.episode-card:hover {
  border-color: var(--cold);
  background: var(--panel-2);
}
.episode-number {
  display: inline-block;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cold-2);
  background: #0a1018;
  border: 1px solid var(--line-2);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
}
.episode-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #f0f5fb;
}
.episode-summary {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-dim);
}
.episode-duration {
  margin-top: auto;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}
.episode-card--active {
  background: linear-gradient(160deg, #182335 0%, #0d1420 100%);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.35), 0 0 22px rgba(255, 122, 26, 0.16);
}
.episode-card--active .episode-number {
  color: #0a0e16;
  font-weight: 900;
  background: var(--accent);
  border-color: var(--accent-2);
}
.episode-card--active .episode-title {
  color: var(--accent-2);
}
.timeline-panel {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-2);
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 4px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 9px;
  width: 1px;
  background: linear-gradient(180deg, rgba(74, 107, 147, 0.1), var(--cold), rgba(74, 107, 147, 0.1));
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px 0;
}
.timeline-node + .timeline-node {
  border-top: 1px solid rgba(28, 38, 54, 0.7);
}
.timeline-marker {
  position: relative;
  z-index: 1;
  justify-self: center;
  margin-top: 3px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--accent);
  filter: drop-shadow(0 0 6px var(--glow));
}
.timeline-marker::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -9px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent rgba(255, 122, 26, 0.35);
}
.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 4px 10px 4px 0;
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cold-2);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.55;
  color: #cfd9e7;
}
.comments-panel {
  margin-top: 16px;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px 10px 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.comment-card::after {
  content: "";
  display: block;
  height: 0;
}
.comment-card:last-child {
  border-bottom: 0;
}
.comment-nickname {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-2);
}
.comment-nickname::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--accent);
}
.comment-text {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-dim);
  padding-left: 14px;
  border-left: 1px solid rgba(28, 38, 54, 0.9);
}
.rec-region {
  margin-top: 16px;
}
.rec-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #eef4fb;
  margin-bottom: 9px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}
.rec-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--cold-2);
  flex: 0 0 auto;
}
.rec-tag-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 9px;
  align-items: start;
}
.rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}
.rec-item:hover, .rec-item:focus-visible {
  border-color: var(--cold);
  background: var(--panel-2);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0a0e16;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.rec-thumb {
  display: block;
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #eef4fb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-blurb {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 20px;
  padding: 16px 14px 22px;
  background: #05070b;
  border-top: 2px solid var(--line-2);
  display: grid;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-link {
  display: inline-block;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(7px 0, 100% 0, 100% 100%, 0 100%, 0 7px);
  transition: color 0.15s, border-color 0.15s;
}
.footer-link:hover, .footer-link:focus-visible {
  color: var(--accent-2);
  border-color: var(--accent);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  padding-right: 6px;
  border-right: 1px solid var(--line-2);
}
.runtime-friend-link {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--cold);
  text-decoration: none;
  border-bottom: 1px dotted rgba(74, 107, 147, 0.5);
  white-space: nowrap;
}
.runtime-friend-link:hover, .runtime-friend-link:focus-visible {
  color: var(--accent-2);
  border-bottom-color: var(--accent);
}
.footer-disclaimer {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-mute);
  max-width: 92ch;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 1100px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
  }
.rec-tag-wall {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }}
@media (max-width: 760px) {body {
    font-size: 12.5px;
  }
.page-main {
    padding: 10px 10px 16px;
  }
.movie-overview {
    padding: 10px;
  }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
  }
.hero-media {
    max-width: 190px;
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-tag-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 480px) {.site-header {
    padding: 8px 10px;
    gap: 8px;
  }
.runtime-category {
    padding: 5px 9px;
    font-size: 11.5px;
  }
.movie-title {
    font-size: 26px;
  }
.score-value {
    font-size: 28px;
  }
.cast-card {
    width: 118px;
  }
.rec-tag-wall {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
  }
.timeline-list::before {
    left: 7px;
  }
.friend-links-label {
    border-right: 0;
    padding-right: 0;
    flex-basis: 100%;
  }}

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}
