*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg: #1b1f26;
  --bg-2: #232830;
  --surface: #272d36;
  --surface-2: #2e353f;
  --line: #3a424e;
  --ink: #d6dbe1;
  --ink-dim: #8f99a6;
  --ink-faint: #6b7480;
  --orange: #e8853c;
  --orange-soft: rgba(232, 133, 60, 0.16);
  --orange-line: rgba(232, 133, 60, 0.42);
  --radius: 4px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
}
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}
ol, ul {
  list-style: none;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  background: linear-gradient(180deg, #1d222a 0%, #1b1f26 100%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 9px 14px;
  max-width: 1400px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #f4a15e;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.015);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--orange);
  border-color: var(--orange-line);
  background: var(--orange-soft);
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section-heading {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 8px;
  padding-left: 9px;
  border-left: 3px solid var(--orange);
}
.overview-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.5fr) minmax(0, 1.4fr);
  gap: 16px;
  align-items: start;
}
.poster-media {
  align-self: start;
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.main-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  min-height: 240px;
  background:
    radial-gradient(120% 90% at 28% 34%, rgba(232, 133, 60, 0.22) 0%, rgba(232, 133, 60, 0) 46%),
    linear-gradient(150deg, #2b323d 0%, #1d222a 62%, #171b21 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 14px;
}
.hero-face {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-face::before {
  content: "";
  position: absolute;
  left: 12%;
  top: 6%;
  width: 46%;
  height: 88%;
  border-radius: 48% 52% 46% 54% / 40% 40% 60% 60%;
  background: linear-gradient(170deg, #4a525e 0%, #333b46 55%, #262c35 100%);
  box-shadow: inset -14px 8px 34px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
}
.face-glow {
  position: absolute;
  left: 8%;
  top: 14%;
  width: 40%;
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 44%, rgba(232, 133, 60, 0.55) 0%, rgba(232, 133, 60, 0.14) 42%, rgba(232, 133, 60, 0) 72%);
  filter: blur(2px);
}
.hero-title-block {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  max-width: 100%;
  padding-left: 8px;
  border-left: 2px solid var(--orange-line);
}
.movie-title {
  font-size: clamp(22px, 3.4vw, 40px);
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  height: clamp(150px, 20vw, 250px);
  color: #f0e6db;
  text-shadow: 0 2px 18px rgba(232, 133, 60, 0.35);
  margin-bottom: 10px;
}
.movie-tagline {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  height: clamp(120px, 16vw, 190px);
  color: #c9a882;
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.seo-description {
  font-size: 12px;
  line-height: 1.62;
  color: var(--ink-dim);
  text-align: justify;
  border-left: 2px solid var(--line);
  padding-left: 9px;
}
.player-wrapper {
  position: relative;
  width: 100%;
  background: #12151a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.player-wrapper.is-theater {
  border-color: var(--orange-line);
  box-shadow: 0 0 0 1px rgba(232, 133, 60, 0.2), 0 8px 30px rgba(0, 0, 0, 0.55);
}
.player-wrapper.is-lights-off::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 11, 0.78);
  pointer-events: none;
  z-index: 3;
}
.main-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0d1014;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: #1a1f27;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 4;
}
.control-btn {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink-dim);
  font-size: 11px;
  padding: 3px 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.control-btn:hover {
  color: var(--ink);
  border-color: #4c5563;
}
.control-btn.is-playing, .control-btn.is-active {
  color: var(--orange);
  border-color: var(--orange-line);
  background: var(--orange-soft);
}
.control-btn.is-muted {
  color: #d96b57;
  border-color: rgba(217, 107, 87, 0.5);
}
.control-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex: 1 1 70px;
  min-width: 60px;
  background: #3a424e;
  border-radius: 2px;
  cursor: pointer;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
}
.control-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--orange);
}
.synopsis-block {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.synopsis-paragraphs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 18px;
  align-items: start;
}
.synopsis-text {
  font-size: 12px;
  line-height: 1.68;
  color: var(--ink-dim);
  text-align: justify;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 6px;
}
.cast-block {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.cast-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  position: relative;
  background: linear-gradient(160deg, #333a45 0%, #262c35 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 92px;
  padding: 10px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.cast-card::before {
  content: "";
  position: absolute;
  right: -14px;
  top: -18px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 133, 60, 0.14) 0%, rgba(232, 133, 60, 0) 70%);
}
.cast-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange-line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.42);
  z-index: 2;
}
.cast-card-lead {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 192px;
  background: linear-gradient(150deg, #3c434f 0%, #232931 100%);
  border-color: #4a5361;
}
.cast-card-lead::before {
  width: 130px;
  height: 130px;
  right: -24px;
  top: -30px;
  background: radial-gradient(circle, rgba(232, 133, 60, 0.3) 0%, rgba(232, 133, 60, 0) 70%);
}
.cast-name {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  border-left: 2px solid var(--orange);
  padding-left: 7px;
}
.cast-card-lead .cast-name {
  font-size: 18px;
  letter-spacing: 0.12em;
}
.episode-status-block {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  font-size: 12px;
  color: var(--ink-dim);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 10px;
  white-space: nowrap;
}
.status-item:first-child {
  color: var(--orange);
  border-color: var(--orange-line);
  background: var(--orange-soft);
}
.details-block {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.details-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  min-height: 0;
}
.detail-label {
  flex: 0 0 68px;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12px;
  color: var(--ink);
  min-width: 0;
  word-break: break-word;
}
.timeline-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px 14px;
}
.filmstrip-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: #4a5361 transparent;
}
.filmstrip-scroll::-webkit-scrollbar {
  height: 6px;
}
.filmstrip-scroll::-webkit-scrollbar-thumb {
  background: #4a5361;
  border-radius: 3px;
}
.filmstrip-track {
  display: flex;
  gap: 8px;
  align-items: stretch;
  min-width: max-content;
  padding: 8px 0 4px;
  position: relative;
}
.filmstrip-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background-image: repeating-linear-gradient(90deg, #3a424e 0 6px, transparent 6px 14px);
  opacity: 0.85;
}
.filmstrip-track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background-image: repeating-linear-gradient(90deg, #3a424e 0 6px, transparent 6px 14px);
  opacity: 0.85;
}
.filmstrip-cell {
  flex: 0 0 200px;
  width: 200px;
  background: #1f252d;
  border: 1px solid var(--line);
  border-top: 1px solid #454e5b;
  border-bottom: 1px solid #454e5b;
  border-radius: 3px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.18s, background 0.18s;
}
.filmstrip-cell:hover {
  border-color: #4c5563;
  background: #232a33;
}
.cell-timecode {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
}
.cell-label {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
}
.filmstrip-cell-active {
  background: linear-gradient(160deg, rgba(232, 133, 60, 0.2) 0%, rgba(232, 133, 60, 0.05) 100%);
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(232, 133, 60, 0.22), 0 4px 16px rgba(232, 133, 60, 0.12);
}
.filmstrip-cell-active .cell-timecode {
  color: var(--orange);
}
.filmstrip-cell-active .cell-label {
  color: #e2d2c0;
}
.episodes-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 2px solid #414a57;
  border-radius: 3px;
  padding: 7px 9px 7px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
  transition: border-color 0.16s, background 0.16s;
}
.episode-card:hover {
  border-color: #4c5563;
  border-left-color: var(--orange);
  background: #262d36;
}
.episode-number {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  font-weight: 700;
}
.episode-title {
  font-size: 12.5px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 11px;
  line-height: 1.48;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.06em;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease, margin-top 0.2s ease;
  margin-top: 0;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
  max-height: 20px;
  opacity: 1;
  margin-top: 3px;
}
.episode-card-current {
  border-color: var(--orange-line);
  border-left-color: var(--orange);
  background: linear-gradient(150deg, rgba(232, 133, 60, 0.14) 0%, rgba(232, 133, 60, 0.03) 100%);
}
.episode-card-current .episode-number {
  color: var(--orange);
}
.episode-card-current .episode-title {
  color: #f0ddc9;
}
.episode-card-current .episode-duration {
  max-height: 20px;
  opacity: 1;
  margin-top: 3px;
}
.comments-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px 14px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comment-card {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 9px;
  transition: border-color 0.16s, background 0.16s;
}
.comment-card:hover {
  border-color: #4c5563;
  background: #262d36;
}
.comment-avatar {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #5a6472 0%, #333b46 68%, #262c35 100%);
  border: 1px solid #4a5361;
  box-shadow: 0 0 0 2px rgba(232, 133, 60, 0.08);
}
.comment-body {
  flex: 1 1 auto;
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--ink-dim);
  text-align: justify;
}
.recommend-region {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 12px;
}
.recommend-heading {
  font-size: 13px;
  letter-spacing: 0.07em;
  color: var(--ink);
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 2px solid var(--orange);
}
.recommend-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 5px;
  scrollbar-width: thin;
  scrollbar-color: #4a5361 transparent;
}
.recommend-strip::-webkit-scrollbar {
  height: 6px;
}
.recommend-strip::-webkit-scrollbar-thumb {
  background: #4a5361;
  border-radius: 3px;
}
a.recommend-item {
  flex: 1 1 0;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 6px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
}
a.recommend-item:hover {
  border-color: var(--orange-line);
  background: #262d36;
  transform: translateY(-2px);
  color: var(--orange);
}
.recommend-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: #12151a;
  filter: saturate(0.78) contrast(1.04);
  transition: filter 0.2s;
}
a.recommend-item:hover .recommend-thumb {
  filter: saturate(1) contrast(1.06);
}
.recommend-name {
  font-size: 12px;
  font-weight: 700;
  color: inherit;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1400px;
  margin: 12px auto 0;
  padding: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"] {
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  letter-spacing: 0.04em;
}
a[data-contract="footer-home"]:hover {
  color: var(--orange);
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  letter-spacing: 0.04em;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--orange);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #7d8794;
  text-decoration: none;
  border-bottom: 1px dotted #454e5b;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange-line);
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  text-align: justify;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
}
@media (max-width: 1080px) {.overview-hero {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    grid-template-areas:
      "poster visual"
      "side side";
  }
.poster-media { grid-area: poster; }
.hero-visual { grid-area: visual; }
.hero-side { grid-area: side; }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 860px) {.details-table {
    grid-template-columns: 1fr;
    gap: 0;
  }
.comments-columns {
    grid-template-columns: 1fr;
  }
.cast-stack {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }
.cast-card-lead {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 120px;
  }}
@media (max-width: 720px) {body { font-size: 12.5px; }
.page-main { padding: 10px 10px 0; gap: 10px; }
.overview-panel { padding: 10px; gap: 12px; }
.overview-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "poster"
      "side";
    gap: 12px;
  }
.poster-media { max-width: 240px; }
.hero-visual { min-height: 200px; }
.movie-title {
    writing-mode: horizontal-tb;
    height: auto;
    font-size: 26px;
    margin-bottom: 6px;
    letter-spacing: 0.08em;
  }
.movie-tagline {
    writing-mode: horizontal-tb;
    height: auto;
    font-size: 12px;
  }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.filmstrip-cell { flex-basis: 172px; width: 172px; }
.details-table { grid-template-columns: 1fr; }
.detail-label { flex-basis: 62px; }}
@media (max-width: 480px) {.header-inner { padding: 8px 10px; gap: 10px; }
.episode-grid { grid-template-columns: 1fr; }
.cast-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-card-lead {
    grid-column: span 2;
    min-height: 104px;
  }
.filmstrip-cell { flex-basis: 152px; width: 152px; }
a.recommend-item { min-width: 132px; }
.control-btn { font-size: 10px; padding: 3px 6px; }
.synopsis-paragraphs { grid-template-columns: 1fr; }}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !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}
