:root {
  --limestone: #8d8a83;
  --limestone-dark: #4a4845;
  --limestone-deep: #2b2a28;
  --rust: #a8432a;
  --rust-bright: #c9502f;
  --rust-deep: #6e2a1a;
  --vein-cyan: #3fd9c0;
  --vein-cyan-bright: #b8fff2;
  --ink: #161514;
  --ink-2: #1e1d1b;
  --ink-3: #262523;
  --text: #c9c6be;
  --text-dim: #8b8880;
  --text-faint: #5f5d58;
  --rule: #3a3835;
  --focus: #f0b429;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse 120% 80% at 70% -10%, rgba(63, 217, 192, 0.06), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #1a1917 0%, #161514 40%, #131211 100%);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.01em;
  font-stretch: condensed;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.55;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(rgba(0, 0, 0, 0.25) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: overlay;
}
body.lights-dim {
  filter: brightness(0.62) contrast(1.08);
}
body.theater-mode .hero-slice {
  padding-left: 0;
  padding-right: 0;
}
body.theater-mode .overview-grid {
  grid-template-columns: 1fr;
}
body.theater-mode .poster-shell {
  display: none;
}
img, video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
ul, ol, dl, dd, figure {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
h1, h2, h3, p {
  margin: 0;
}
a {
  color: var(--vein-cyan);
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.page-main {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 14px 28px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(22, 21, 20, 0.97), rgba(22, 21, 20, 0.86));
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding-left: 12px;
  white-space: nowrap;
}
a[data-contract="site-name"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: var(--rust-bright);
  box-shadow: 0 0 8px rgba(201, 80, 47, 0.7);
}
a[data-contract="site-name"]::after {
  content: attr(data-contract);
  content: "";
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--vein-cyan-bright);
  border-color: var(--vein-cyan);
  background: rgba(63, 217, 192, 0.08);
}
.hero-slice {
  position: relative;
  padding: 18px 0 10px;
  border-bottom: 1px solid var(--rule);
}
.hero-slice::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 38%, rgba(63, 217, 192, 0.05) 39%, transparent 41%),
    linear-gradient(160deg, transparent 62%, rgba(201, 80, 47, 0.06) 63%, transparent 66%);
  z-index: 0;
}
.overview-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.poster-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.poster-media {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: grayscale(0.24) contrast(1.12) brightness(0.92);
  border: 1px solid var(--rule);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 10px 30px rgba(0, 0, 0, 0.55);
}
.poster-vein-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-faint);
  text-transform: uppercase;
  border-top: 1px dashed var(--rule);
  padding-top: 4px;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(26px, 5vw, 46px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #e6e2d9;
  text-shadow:
    2px 0 0 rgba(201, 80, 47, 0.55),
    -2px 1px 0 rgba(63, 217, 192, 0.28);
  position: relative;
}
.movie-tagline {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  border-left: 2px solid var(--rust);
  padding-left: 8px;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #0d0c0b;
  border: 1px solid var(--rule);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(30, 29, 27, 0.9), rgba(19, 18, 17, 0.95));
  border-top: 1px solid var(--rule);
}
.ctrl-btn {
  flex: 0 1 auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 3px 8px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.015);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.ctrl-btn:hover {
  color: var(--vein-cyan-bright);
  border-color: var(--vein-cyan);
  background: rgba(63, 217, 192, 0.1);
}
.ctrl-btn.is-active, .ctrl-btn.is-playing {
  color: var(--ink);
  background: var(--vein-cyan);
  border-color: var(--vein-cyan-bright);
  box-shadow: 0 0 10px rgba(63, 217, 192, 0.55);
}
.ctrl-btn.is-muted {
  color: var(--rust-bright);
  border-color: var(--rust);
  background: rgba(201, 80, 47, 0.14);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.status-chip {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 2px;
  white-space: nowrap;
}
.status-chip-current {
  color: #fff;
  background: var(--rust);
  border: 1px solid var(--rust-bright);
  box-shadow: 0 0 12px rgba(201, 80, 47, 0.4);
}
.status-chip-total {
  color: var(--text-dim);
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.02);
}
.cast-strip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .rec-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--vein-cyan);
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(63, 217, 192, 0.3);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-card {
  flex: 1 1 84px;
  min-width: 0;
  overflow: hidden;
}
.cast-face {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text);
  padding: 16px 8px 14px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(141, 138, 131, 0.16), rgba(30, 29, 27, 0.4)),
    var(--ink-3);
  border: 1px solid var(--rule);
  border-bottom: 2px solid var(--rust-deep);
  clip-path: inset(0 0 0 0);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-card:hover .cast-face {
  transform: translateY(-3px);
  border-bottom-color: var(--vein-cyan);
  color: var(--vein-cyan-bright);
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.62;
  color: var(--text);
  letter-spacing: 0.012em;
  text-align: justify;
}
.details-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(141, 138, 131, 0.22);
  font-size: 12px;
}
.detail-key {
  color: var(--text-faint);
  letter-spacing: 0.14em;
  flex: 0 0 auto;
}
.detail-value {
  color: var(--text);
  text-align: right;
  min-width: 0;
}
.timeline-section {
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--rule);
}
.timeline-heading {
  margin-bottom: 12px;
}
.timeline-rail {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--rust-deep) transparent;
}
.timeline-rail::-webkit-scrollbar {
  height: 6px;
}
.timeline-rail::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
.timeline-rail::-webkit-scrollbar-thumb {
  background: var(--rust-deep);
}
.timeline-scale {
  position: relative;
  display: flex;
  gap: 0;
  min-width: 100%;
  width: max-content;
  padding-top: 26px;
}
.timeline-scale::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--limestone) 4%, var(--limestone) 96%, transparent);
}
.timeline-tick {
  position: relative;
  flex: 0 0 158px;
  width: 158px;
  padding: 14px 10px 8px 10px;
  border-left: 1px solid rgba(141, 138, 131, 0.35);
}
.timeline-tick::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -1px;
  width: 1px;
  height: 8px;
  background: var(--limestone);
}
.timeline-tick::after {
  content: "";
  position: absolute;
  top: -11px;
  left: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--vein-cyan);
  box-shadow: 0 0 8px rgba(63, 217, 192, 0.8);
}
.tick-timecode {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--rust-bright);
  margin-top: -24px;
  margin-bottom: 6px;
}
.tick-label {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
}
.episodes-section {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--rule);
}
.episodes-heading {
  margin-bottom: 12px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.016);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--limestone-dark);
  min-width: 0;
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-top: 2px;
}
.episode-cell-current {
  background: linear-gradient(180deg, rgba(201, 80, 47, 0.16), rgba(110, 42, 26, 0.1));
  border-color: var(--rust);
  border-left-color: var(--rust-bright);
  box-shadow: 0 0 0 1px rgba(201, 80, 47, 0.25), 0 0 18px rgba(201, 80, 47, 0.18);
}
.episode-cell-current .episode-number {
  color: var(--rust-bright);
}
.episode-cell-current .episode-title {
  color: #f2e4de;
  text-shadow: 2px 0 0 rgba(201, 80, 47, 0.5);
}
.episode-cell-current .episode-summary {
  color: #cbb9b2;
}
.episode-cell-current .episode-duration {
  color: var(--rust-bright);
}
.episode-cell:not(.episode-cell-current) {
  opacity: 0.68;
}
.episode-cell:not(.episode-cell-current):hover {
  opacity: 1;
  border-left-color: var(--limestone);
}
.comments-section {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--rule);
}
.comments-heading {
  margin-bottom: 12px;
}
.comment-log {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.comment-entry {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px 8px 12px;
  background: rgba(255, 255, 255, 0.014);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--vein-cyan);
  min-width: 0;
}
.comment-lamp {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--vein-cyan);
  text-transform: uppercase;
}
.comment-nick {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}
.comment-nick::before {
  content: "▮ ";
  color: var(--rust);
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
}
.rec-region {
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--rule);
}
.rec-region-primary {
  opacity: 1;
}
.rec-region-secondary {
  opacity: 0.78;
}
.rec-region-tertiary {
  opacity: 0.58;
}
.rec-region-primary .rec-heading {
  color: var(--vein-cyan);
}
.rec-region-secondary .rec-heading {
  color: var(--rust-bright);
  text-shadow: none;
}
.rec-region-tertiary .rec-heading {
  color: var(--text-dim);
  text-shadow: none;
}
.rec-heading {
  margin-bottom: 10px;
}
.rec-grid {
  display: grid;
  gap: 8px;
}
.rec-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.rec-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rec-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.016);
  border: 1px solid var(--rule);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
a.rec-card:hover, a.rec-card:focus-visible {
  border-color: var(--vein-cyan);
  background: rgba(63, 217, 192, 0.06);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #0d0c0b;
  filter: grayscale(0.2) brightness(0.94);
}
.rec-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 14px 30px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 900px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
a.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.footer-link:hover {
  color: var(--vein-cyan-bright);
  border-bottom-color: var(--vein-cyan);
}
a[data-contract="footer-home"] {
  color: var(--rust-bright);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: #f2a488;
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--vein-cyan-bright);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  text-transform: uppercase;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--text-faint);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(141, 138, 131, 0.3);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--vein-cyan);
  border-bottom-color: var(--vein-cyan);
}
@media (max-width: 1024px) {.rec-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.overview-grid {
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
    gap: 14px;
  }
.rec-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.overview-grid {
    grid-template-columns: 1fr;
  }
.poster-shell {
    max-width: 300px;
  }
.episodes-grid {
    grid-template-columns: 1fr;
  }
.rec-grid-4, .rec-grid-3, .rec-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-tick {
    flex-basis: 140px;
    width: 140px;
  }
.movie-title {
    text-shadow:
      1.5px 0 0 rgba(201, 80, 47, 0.5),
      -1.5px 1px 0 rgba(63, 217, 192, 0.24);
  }}
@media (max-width: 480px) {.page-main {
    padding: 0 10px 20px;
  }
.header-inner {
    padding: 7px 10px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
  }
.comment-log {
    grid-template-columns: 1fr;
  }
.rec-grid-4, .rec-grid-3, .rec-grid-5 {
    grid-template-columns: 1fr;
  }
.details-list {
    grid-template-columns: 1fr;
  }
.ctrl-btn {
    font-size: 10px;
    padding: 3px 6px;
  }
.timeline-tick {
    flex-basis: 128px;
    width: 128px;
  }}

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}
