:root {
  --moss: #3f4a35;
  --moss-deep: #2a3122;
  --moss-dark: #1a1f15;
  --mud: #4a3a2c;
  --mud-deep: #2e241b;
  --lamp: #e8952f;
  --lamp-bright: #ffb347;
  --lamp-dim: #8a5518;
  --rice: #ede4d3;
  --bone: #cfc5b2;
  --ash: #8a8472;
  --ink: #0e110b;
  --night: #12160e;
  --night-2: #171c12;
  --line: rgba(232, 149, 47, 0.22);
  --line-soft: rgba(207, 197, 178, 0.12);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--night);
  color: var(--bone);
  line-height: 1.55;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(63, 74, 53, 0.35), transparent 55%),
    radial-gradient(ellipse at 85% 8%, rgba(74, 58, 44, 0.28), transparent 50%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 45%, var(--ink) 100%);
  background-attachment: fixed;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 17, 11, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.5rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--lamp);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 0 12px rgba(232, 149, 47, 0.35);
}
a[data-contract="site-name"]:hover {
  color: var(--lamp-bright);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.header-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.45rem;
  justify-content: flex-end;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--bone);
  text-decoration: none;
  padding: 0.18rem 0.52rem;
  border: 1px solid var(--line);
  background: rgba(63, 74, 53, 0.28);
  transition: background 0.18s ease, color 0.18s ease;
}
a.runtime-category:hover {
  background: var(--mud);
  color: var(--lamp-bright);
  text-decoration: none;
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.section-heading {
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  color: var(--lamp);
  padding: 0 0 0.35rem 0.15rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.6rem;
  text-transform: none;
}
.hero {
  padding-top: 0.9rem;
}
.movie-unit {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  background: linear-gradient(160deg, rgba(42, 49, 34, 0.55), rgba(23, 28, 18, 0.85));
  border: 1px solid var(--line);
  border-top: 2px solid var(--lamp-dim);
  padding: 0.85rem;
  position: relative;
}
.movie-unit::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.16) 0px,
    rgba(0, 0, 0, 0.16) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.5;
}
.poster-shell {
  position: relative;
  z-index: 1;
  align-self: start;
  border: 1px solid var(--line-soft);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
}
.poster-img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.06) brightness(0.92);
}
.movie-info {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.movie-title {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--rice);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.hero-tagline {
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: var(--lamp);
  padding: 0.25rem 0 0.3rem;
  border-bottom: 1px solid var(--line-soft);
  text-shadow: 0 1px 8px rgba(232, 149, 47, 0.25);
}
.movie-seo {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ash);
  max-width: 68ch;
}
.player-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: #050703;
  position: relative;
  transition: max-width 0.25s ease, box-shadow 0.25s ease;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--lamp-dim), 0 10px 40px rgba(0, 0, 0, 0.7);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off .player-controls {
  opacity: 0.55;
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.45rem;
  background: linear-gradient(180deg, rgba(26, 31, 21, 0.9), rgba(14, 17, 11, 0.95));
  border-top: 1px solid var(--line);
  transition: opacity 0.2s ease;
}
.ctl {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--bone);
  background: rgba(63, 74, 53, 0.5);
  border: 1px solid var(--line-soft);
  padding: 0.22rem 0.5rem;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ctl:hover {
  background: var(--mud);
  color: var(--lamp-bright);
  border-color: var(--lamp-dim);
}
.ctl-play {
  background: var(--lamp-dim);
  color: var(--rice);
  font-weight: 700;
  border-color: var(--lamp);
}
.ctl-play:hover {
  background: var(--lamp);
  color: var(--ink);
}
.ctl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(207, 197, 178, 0.25);
  border: none;
  cursor: pointer;
}
.ctl-progress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 0;
  background: var(--lamp);
  cursor: pointer;
}
.ctl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 0;
  background: var(--lamp);
}
.ctl-volume {
  flex: 0 1 80px;
  min-width: 56px;
  height: 3px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(207, 197, 178, 0.22);
  border: none;
  cursor: pointer;
}
.ctl-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 0;
  background: var(--bone);
}
.ctl-volume::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 0;
  background: var(--bone);
}
.ctl-play.play {
  background: var(--lamp);
  color: var(--ink);
}
.ctl-mute.mute {
  color: var(--lamp);
}
.ctl-progress.progress, .ctl-volume.volume {
  outline: none;
}
.player-shell.is-theater .player-video, .player-shell.theater .player-video {
  max-height: 68vh;
}
.player-shell.is-lights-off .player-video, .player-shell.light .player-video {
  filter: brightness(0.85);
}
.ctl-fullscreen.fullscreen, .ctl-pip.pip, .ctl-speed.speed {
  border-color: var(--lamp-dim);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
}
.status-current, .status-total, .status-progress {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.55rem;
  border: 1px solid var(--line-soft);
  background: rgba(63, 74, 53, 0.3);
  color: var(--bone);
}
.status-current {
  border-color: var(--lamp-dim);
  color: var(--lamp-bright);
}
.status-progress {
  color: var(--ash);
  background: transparent;
}
.cast-block, .synopsis-block, .details-block {
  border-top: 1px dashed var(--line-soft);
  padding-top: 0.55rem;
}
.cast-heading, .synopsis-heading, .details-heading {
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  color: var(--lamp);
  margin-bottom: 0.45rem;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}
.cast-item {
  display: flex;
  align-items: stretch;
  min-height: 74px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(74, 58, 44, 0.5), rgba(42, 49, 34, 0.42));
  position: relative;
  overflow: hidden;
}
.cast-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  background: linear-gradient(180deg, rgba(63, 74, 53, 0.85), rgba(26, 31, 21, 0.95));
  border-right: 1px solid var(--line-soft);
}
.cast-name {
  position: relative;
  z-index: 1;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--rice);
  padding: 0.4rem 0.28rem;
  align-self: center;
  margin-left: 0.15rem;
}
.synopsis-para {
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--ash);
  margin-bottom: 0.45rem;
  padding-left: 0.7rem;
  border-left: 2px solid rgba(232, 149, 47, 0.2);
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem 0.6rem;
}
.detail-key {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--lamp-dim);
  padding-top: 0.12rem;
}
.detail-val {
  font-size: 0.78rem;
  color: var(--bone);
  border-bottom: 1px dotted var(--line-soft);
  padding-bottom: 0.16rem;
  margin-bottom: 0.1rem;
}
.timeline-section {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.2rem;
  position: relative;
  padding-left: 0.3rem;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--lamp-dim) 12%, var(--lamp-dim) 88%, transparent);
}
.timeline-item {
  display: grid;
  grid-template-columns: 5.6rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: baseline;
  padding: 0.32rem 0.3rem 0.32rem 0.6rem;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.34rem;
  top: 0.72rem;
  width: 6px;
  height: 6px;
  background: var(--lamp-dim);
  border: 1px solid var(--lamp);
  transform: rotate(45deg);
}
.timeline-time {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--lamp);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.timeline-label {
  font-size: 0.79rem;
  color: var(--bone);
  line-height: 1.5;
}
.episodes-section {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}
.episodes-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 0.5rem;
  scrollbar-color: var(--lamp-dim) transparent;
  scrollbar-width: thin;
}
.episodes-rail::-webkit-scrollbar {
  height: 6px;
}
.episodes-rail::-webkit-scrollbar-track {
  background: rgba(207, 197, 178, 0.08);
}
.episodes-rail::-webkit-scrollbar-thumb {
  background: var(--lamp-dim);
}
.episode-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.55rem 0.6rem 0.6rem;
  background: linear-gradient(180deg, rgba(42, 49, 34, 0.6), rgba(23, 28, 18, 0.85));
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--mud);
  position: relative;
  min-height: 100%;
}
.episode-card--active {
  border-top-color: var(--lamp);
  background: linear-gradient(180deg, rgba(74, 58, 44, 0.72), rgba(42, 49, 34, 0.85));
  box-shadow: inset 0 0 0 1px rgba(232, 149, 47, 0.35);
}
.episode-rice {
  position: absolute;
  top: 0.4rem;
  right: 0.45rem;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--rice);
  padding: 0.06rem 0.32rem;
  border: 1px solid var(--bone);
}
.episode-card--active .episode-rice {
  background: var(--lamp-bright);
  color: var(--ink);
}
.episode-num {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--lamp);
}
.episode-title {
  font-size: 0.92rem;
  color: var(--rice);
  letter-spacing: 0.06em;
}
.episode-summary {
  font-size: 0.74rem;
  line-height: 1.65;
  color: var(--ash);
  flex: 1 1 auto;
}
.episode-duration {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--mud);
  border-top: 1px dotted var(--line-soft);
  padding-top: 0.24rem;
  align-self: flex-start;
}
.episode-card--active .episode-duration {
  color: var(--lamp-dim);
}
.comments-section {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: start;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}
.comments-col--left {
  margin-top: 0;
}
.comments-col--right {
  margin-top: 1.1rem;
}
.comment-card {
  background: rgba(42, 49, 34, 0.5);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--mud);
  padding: 0.45rem 0.6rem 0.5rem;
}
.comments-col--right .comment-card:nth-child(odd) {
  border-left-color: var(--moss);
  margin-left: 0.8rem;
}
.comments-col--left .comment-card:nth-child(even) {
  border-left-color: var(--lamp-dim);
  margin-right: 0.8rem;
}
.comment-nick {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--lamp);
  margin-bottom: 0.22rem;
}
.comment-text {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--bone);
}
.rec-section {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}
.rec-section--1 {
  background: linear-gradient(180deg, transparent, rgba(42, 49, 34, 0.28));
  padding-bottom: 0.5rem;
}
.rec-section--2 {
  background: linear-gradient(180deg, rgba(42, 49, 34, 0.28), rgba(23, 28, 18, 0.5));
  padding-bottom: 0.5rem;
}
.rec-section--3 {
  background: linear-gradient(180deg, rgba(23, 28, 18, 0.5), rgba(63, 74, 53, 0.4));
  padding-bottom: 0.6rem;
}
.rec-heading {
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  color: var(--lamp);
  margin-bottom: 0.5rem;
  padding-left: 0.15rem;
}
.rec-section--3 .rec-heading {
  color: var(--lamp-bright);
  text-shadow: 0 0 14px rgba(255, 179, 71, 0.3);
}
.rec-grid {
  display: grid;
  gap: 0.5rem;
  align-items: start;
}
.rec-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.rec-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.4rem;
  background: rgba(14, 17, 11, 0.72);
  border: 1px solid var(--line-soft);
  color: var(--bone);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.rec-card:hover {
  border-color: var(--lamp-dim);
  background: rgba(42, 49, 34, 0.8);
  transform: translateY(-2px);
  text-decoration: none;
}
a.rec-card[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) brightness(0.88);
  border: 1px solid var(--line-soft);
}
.rec-name {
  font-size: 0.8rem;
  color: var(--rice);
  letter-spacing: 0.04em;
  display: block;
}
.rec-blurb {
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--ash);
  display: block;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink), #0a0c07);
  margin-top: 1.2rem;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.9rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--lamp);
  border-bottom-color: var(--lamp-dim);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.7rem;
  padding-top: 0.35rem;
  border-top: 1px dotted var(--line-soft);
}
.friend-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--lamp-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 0.74rem;
  color: var(--ash);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(207, 197, 178, 0.25);
}
a.runtime-friend-link:hover {
  color: var(--lamp);
  text-decoration: none;
  border-bottom-color: var(--lamp-dim);
}
.footer-disclaimer {
  font-size: 0.68rem;
  line-height: 1.7;
  color: rgba(138, 132, 114, 0.75);
  max-width: 90ch;
}
@media (max-width: 1080px) {.movie-unit {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-grid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.movie-unit {
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    gap: 0.8rem;
  }
.movie-title {
    font-size: 1.35rem;
  }
.cast-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid--4, .rec-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 700px) {.movie-unit {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-shell {
    max-width: 190px;
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
  }
.comments-col--right {
    margin-top: 0;
  }
.comments-col--right .comment-card:nth-child(odd) {
    margin-left: 0.6rem;
  }
.comments-col--left .comment-card:nth-child(even) {
    margin-right: 0.6rem;
  }
.rec-grid--4, .rec-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episodes-rail {
    grid-auto-columns: minmax(190px, 1fr);
  }}
@media (max-width: 520px) {.page-main {
    padding: 0 0.7rem 0.4rem;
    gap: 0.9rem;
  }
.header-inner {
    padding: 0.45rem 0.7rem;
  }
.movie-unit {
    padding: 0.6rem;
  }
.movie-title {
    font-size: 1.15rem;
  }
.hero-tagline {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-item {
    min-height: 66px;
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-item {
    grid-template-columns: 4.9rem minmax(0, 1fr);
    gap: 0.4rem;
  }
.rec-grid--4, .rec-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls {
    gap: 0.25rem;
    padding: 0.35rem;
  }
.ctl {
    font-size: 0.68rem;
    padding: 0.2rem 0.42rem;
  }}
@media (max-width: 380px) {.rec-grid--4, .rec-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
.click, .input, .x {
  transition: opacity 0.15s ease, background 0.15s ease;
}
.click:active, .x:active {
  opacity: 0.7;
}
.input:focus, .x:focus, .click:focus {
  outline: 1px solid var(--lamp-dim);
  outline-offset: 2px;
}

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}
