:root {
  --bus-orange: #c2622a;
  --bus-orange-dim: #8e4420;
  --sand: #c9a878;
  --sand-dark: #8a6d4a;
  --gobi: #a8845a;
  --night: #0f1a2e;
  --night-deep: #070d18;
  --night-soft: #1a2740;
  --ember: #e8863c;
  --paper: #f0e6d6;
  --ink: #1a1410;
  --ink-soft: #4a3d2e;
  --rule: rgba(201, 168, 120, 0.24);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --mono: "SF Mono", "Cascadia Code", "JetBrains Mono", Consolas, "Courier New", monospace;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper);
  background: var(--night-deep);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(194, 98, 42, 0.08), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(15, 26, 46, 0.6), transparent 60%);
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 800;
  font-stretch: condensed;
  letter-spacing: -0.01em;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 13, 24, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1400px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--sand);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--bus-orange);
  padding-left: 8px;
}
a[data-contract="site-name"]:hover {
  color: var(--ember);
}
.category-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--sand-dark);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--paper);
  border-color: var(--bus-orange);
  background: rgba(194, 98, 42, 0.14);
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}
section[data-fragment] {
  padding: 22px 0;
}
.section-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-heading::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--bus-orange);
  flex: none;
}
.hero-starfield {
  position: relative;
  margin: 0 -16px;
  padding: 0;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(240, 230, 214, 0.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 32% 9%, rgba(240, 230, 214, 0.7), transparent 60%),
    radial-gradient(1px 1px at 48% 24%, rgba(240, 230, 214, 0.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 67% 12%, rgba(240, 230, 214, 0.75), transparent 60%),
    radial-gradient(1px 1px at 82% 28%, rgba(240, 230, 214, 0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 91% 8%, rgba(240, 230, 214, 0.85), transparent 60%),
    radial-gradient(1px 1px at 22% 34%, rgba(240, 230, 214, 0.5), transparent 60%),
    radial-gradient(1px 1px at 58% 38%, rgba(240, 230, 214, 0.55), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-soft) 42%, #3a2a1e 78%, var(--night-deep) 100%);
  border-bottom: 3px solid var(--bus-orange-dim);
  overflow: hidden;
}
.hero-silhouette {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 46px 24px 62px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}
.hero-silhouette::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(7, 13, 24, 0.85) 60%, var(--night-deep));
  pointer-events: none;
}
.hero-title-block {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-title {
  font-size: clamp(28px, 5.4vw, 58px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
  background-image:
    repeating-linear-gradient(94deg, rgba(201, 168, 120, 0.16) 0 1px, transparent 1px 4px);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-tagline {
  margin-top: 8px;
  font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 0.16em;
  color: var(--sand);
  border-left: 2px solid var(--bus-orange);
  padding-left: 10px;
}
.hero-blurb {
  position: relative;
  z-index: 2;
  max-width: 620px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(240, 230, 214, 0.72);
}
.hero-meta-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.hero-meta-chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  color: var(--sand);
  border: 1px solid var(--rule);
  background: rgba(15, 26, 46, 0.55);
  border-radius: 2px;
}
.hero-campfire {
  position: absolute;
  right: 8%;
  bottom: 18%;
  width: 120px;
  height: 120px;
  z-index: 1;
  pointer-events: none;
}
.ember {
  position: absolute;
  left: 50%;
  bottom: 0;
  border-radius: 50% 50% 46% 46%;
  background: radial-gradient(circle at 50% 70%, var(--ember), var(--bus-orange) 55%, transparent 72%);
  filter: blur(1px);
  animation: emberRise 3.6s ease-in-out infinite;
  opacity: 0.85;
}
.ember-one {
  width: 26px;
  height: 48px;
  margin-left: -13px;
  animation-delay: 0s;
}
.ember-two {
  width: 18px;
  height: 34px;
  margin-left: -30px;
  animation-delay: 0.9s;
  opacity: 0.6;
}
.ember-three {
  width: 20px;
  height: 40px;
  margin-left: 10px;
  animation-delay: 1.7s;
  opacity: 0.7;
}
@keyframes emberRise {
  0% { transform: translateY(8px) scaleY(0.85); opacity: 0.35; }
  50% { transform: translateY(-6px) scaleY(1.12); opacity: 0.9; }
  100% { transform: translateY(-26px) scaleY(0.7); opacity: 0; }
}
.movie-overview {
  padding-top: 26px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  background: linear-gradient(180deg, rgba(26, 39, 64, 0.55), rgba(15, 26, 46, 0.35));
  border: 1px solid var(--rule);
  border-top: 3px solid var(--bus-orange);
  padding: 18px;
}
.poster-shell {
  margin: 0;
  width: 100%;
  border: 1px solid var(--rule);
  background: var(--night-deep);
  align-self: start;
}
.poster-shell img[data-contract="main-poster"] {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.overview-head {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
}
.overview-title {
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.1;
  color: var(--paper);
}
.overview-tagline {
  margin-top: 4px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--bus-orange);
}
.player-shell {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid var(--rule);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--bus-orange), 0 18px 40px rgba(0, 0, 0, 0.6);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: rgba(7, 13, 24, 0.92);
  border-top: 1px solid var(--rule);
}
.player-btn {
  cursor: pointer;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  color: var(--sand);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-btn:hover {
  color: var(--paper);
  border-color: var(--bus-orange);
  background: rgba(194, 98, 42, 0.16);
}
.player-btn.is-active {
  color: var(--night-deep);
  background: var(--bus-orange);
  border-color: var(--bus-orange);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  background: rgba(201, 168, 120, 0.28);
  border-radius: 2px;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bus-orange);
  border: none;
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--bus-orange);
}
.player-select {
  font-size: 11.5px;
  padding: 4px 6px;
  color: var(--sand);
  background: var(--night-deep);
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.status-current, .status-total, .status-mode {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 2px;
  border: 1px solid var(--rule);
}
.status-current {
  color: var(--night-deep);
  background: var(--ember);
  border-color: var(--ember);
  font-weight: 700;
}
.status-total {
  color: var(--sand);
}
.status-mode {
  color: var(--sand-dark);
}
.cast {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.cast-heading {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--sand);
  margin-bottom: 12px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 10px 6px;
  background: rgba(7, 13, 24, 0.4);
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.cast-avatar {
  margin: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--bus-orange-dim);
  flex: none;
}
.cast-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
}
.cast-role {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(240, 230, 214, 0.6);
}
.synopsis {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.synopsis-heading {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--sand);
  margin-bottom: 10px;
}
.synopsis-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 18px;
  counter-reset: syn;
}
.synopsis-item {
  position: relative;
  font-size: 12.5px;
  line-height: 1.68;
  color: rgba(240, 230, 214, 0.74);
  padding-left: 26px;
  counter-increment: syn;
}
.synopsis-item::before {
  content: counter(syn, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--bus-orange);
}
.details {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.details-heading {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--sand);
  margin-bottom: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0 18px;
}
.details-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(201, 168, 120, 0.16);
}
.details-key {
  font-size: 11.5px;
  color: var(--sand-dark);
  letter-spacing: 0.04em;
  flex: none;
}
.details-value {
  font-size: 12px;
  color: var(--paper);
  text-align: right;
  min-width: 0;
}
.timeline-filmstrip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  background-image:
    repeating-linear-gradient(90deg, rgba(201, 168, 120, 0.14) 0 2px, transparent 2px 12px);
  background-repeat: repeat-x;
  background-position: top center;
  background-size: 12px 6px;
}
.timeline-filmstrip::-webkit-scrollbar {
  height: 8px;
}
.timeline-filmstrip::-webkit-scrollbar-track {
  background: rgba(201, 168, 120, 0.1);
}
.timeline-filmstrip::-webkit-scrollbar-thumb {
  background: var(--bus-orange-dim);
  border-radius: 4px;
}
.timeline-frame {
  flex: 0 0 auto;
  width: 172px;
  scroll-snap-align: start;
  background: rgba(7, 13, 24, 0.6);
  border: 1px solid var(--rule);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.frame-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(201, 168, 120, 0.18);
}
.frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.34) contrast(1.06) brightness(0.9);
}
.frame-timecode {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ember);
}
.frame-label {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(240, 230, 214, 0.72);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 12px;
  align-items: start;
}
.episode-card {
  position: relative;
  padding: 12px 14px;
  background: rgba(26, 39, 64, 0.34);
  border: 1px solid var(--rule);
  border-left: 3px solid rgba(201, 168, 120, 0.4);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.episode-card:hover {
  background: rgba(26, 39, 64, 0.6);
  border-left-color: var(--bus-orange);
}
.episode-card-current {
  border: 1px solid var(--ember);
  border-left: 3px solid var(--ember);
  background: rgba(194, 98, 42, 0.14);
  box-shadow: inset 0 0 0 1px rgba(232, 134, 60, 0.25);
}
.episode-number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--bus-orange);
}
.episode-card-current .episode-number {
  color: var(--ember);
  font-weight: 700;
}
.episode-title {
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--paper);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.62;
  color: rgba(240, 230, 214, 0.66);
}
.episode-duration {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--sand-dark);
  margin-top: 2px;
}
.comments {
  padding-top: 26px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  align-items: start;
}
.comment-note {
  padding: 12px 13px;
  background: linear-gradient(160deg, #f3ead9, #e6d8c0);
  color: var(--ink);
  border-radius: 2px;
  box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.35);
  transform: rotate(-0.5deg);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comment-note:nth-child(2n) {
  transform: rotate(0.7deg);
}
.comment-note:nth-child(3n) {
  transform: rotate(-0.9deg);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--bus-orange-dim);
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(138, 109, 74, 0.4);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-soft);
}
.recommend-region {
  padding: 20px 0;
}
.recommend-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  align-items: start;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 4px;
}
.recommend-column::-webkit-scrollbar {
  width: 6px;
}
.recommend-column::-webkit-scrollbar-track {
  background: rgba(201, 168, 120, 0.1);
}
.recommend-column::-webkit-scrollbar-thumb {
  background: var(--bus-orange-dim);
  border-radius: 3px;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  color: inherit;
  text-decoration: none;
  background: rgba(7, 13, 24, 0.55);
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.recommend-card:hover {
  border-color: var(--bus-orange);
  background: rgba(26, 39, 64, 0.7);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  background: #000;
  border: 1px solid rgba(201, 168, 120, 0.16);
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--paper);
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(240, 230, 214, 0.6);
}
.region-one a.recommend-card {
  border-top: 2px solid var(--bus-orange);
}
.region-two a.recommend-card {
  border-top: 2px solid var(--sand);
}
.region-three a.recommend-card {
  border-top: 2px solid var(--night-soft);
}
.site-footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 16px 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--sand-dark);
  padding-right: 8px;
  border-right: 1px solid var(--rule);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: rgba(240, 230, 214, 0.55);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--ember);
  text-decoration: underline;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--sand);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--paper);
  border-color: var(--bus-orange);
  background: rgba(194, 98, 42, 0.16);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(240, 230, 214, 0.4);
  max-width: 820px;
}
body.lights-off {
  background: #000;
}
body.lights-off .hero-starfield {
  filter: brightness(0.5);
}
body.lights-off .player-shell {
  box-shadow: 0 0 0 2px var(--bus-orange), 0 0 60px rgba(232, 134, 60, 0.25);
}
body.lights-off .episode-card, body.lights-off .comment-note, body.lights-off a.recommend-card {
  opacity: 0.55;
}
@media (max-width: 900px) {.overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-shell {
    max-width: 260px;
  }
.recommend-column {
    max-height: 300px;
  }}
@media (max-width: 640px) {body {
    font-size: 13px;
  }
.page-main {
    padding: 0 12px;
  }
.hero-starfield {
    margin: 0 -12px;
  }
.hero-silhouette {
    padding: 32px 16px 46px;
    min-height: 280px;
  }
.hero-campfire {
    right: 4%;
    bottom: 12%;
    width: 84px;
    height: 84px;
  }
.overview-grid {
    padding: 12px;
    gap: 14px;
  }
.poster-shell {
    max-width: 200px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 8px;
  }
.cast-avatar {
    width: 54px;
    height: 54px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-note {
    transform: none;
  }
.comment-note:nth-child(2n), .comment-note:nth-child(3n) {
    transform: none;
  }
.recommend-column {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    max-height: 280px;
  }
.timeline-frame {
    width: 148px;
  }
.player-controls {
    gap: 5px;
    padding: 6px;
  }
.player-btn {
    padding: 4px 7px;
    font-size: 11px;
  }}
@media (max-width: 400px) {.recommend-column {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-title {
    font-size: 26px;
  }}

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}
