*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, p, figure, figcaption, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
body {
  --wall: #3a4238;
  --wall-deep: #2b322c;
  --wall-mist: #4a534a;
  --rust: #7a4331;
  --rust-bright: #9c5a3c;
  --paper: #cfc9b8;
  --paper-dim: #a49e8d;
  --ink: #e6e1d2;
  --ink-dim: #9d9a8b;
  --label-warm: #c98a4b;
  --lamp-warm: #d9a55e;
  --line: rgba(207, 201, 184, 0.14);
  --line-soft: rgba(207, 201, 184, 0.08);
  --bubble: rgba(58, 66, 56, 0.62);

  margin: 0;
  background-color: #22271f;
  background-image:
    linear-gradient(180deg, rgba(34, 39, 31, 0.94) 0%, rgba(43, 50, 44, 0.97) 40%, #22271f 100%),
    repeating-linear-gradient(104deg, rgba(207, 201, 184, 0.03) 0 2px, transparent 2px 7px);
  color: var(--ink);
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  font-weight: 400;
}
body.lights-off {
  background-color: #14170f;
}
body.theater-mode .player-panel {
  position: relative;
  z-index: 40;
  box-shadow: 0 0 0 9999px rgba(10, 12, 9, 0.82);
}
body.is-playing .player-panel {
  border-color: var(--rust);
}
h1, h2, .section-heading, .movie-title, .site-brand, .cast-name, .episode-title, .detail-key, .film-timecode, .player-btn, .status-line {
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-weight: 700;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(34, 39, 31, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  color: var(--paper);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-decoration: none;
  border-left: 3px solid var(--rust-bright);
  padding-left: 8px;
}
a[data-contract="site-name"]:hover {
  color: var(--label-warm);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: rgba(122, 67, 49, 0.16);
  color: var(--paper-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
a.runtime-category:hover {
  color: var(--ink);
  border-color: var(--rust-bright);
  background: rgba(156, 90, 60, 0.3);
  text-decoration: none;
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  grid-template-areas:
    "backdrop title"
    "backdrop player"
    "status status"
    "cast cast"
    "synopsis details";
  align-items: start;
  column-gap: 22px;
  row-gap: 18px;
  padding: 26px 0 30px;
}
.hero-backdrop {
  grid-area: backdrop;
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 18px 12px 24px;
  background-color: var(--wall-deep);
  background-image:
    linear-gradient(165deg, rgba(74, 83, 74, 0.9) 0%, rgba(43, 50, 44, 0.95) 55%, #1d221b 100%),
    repeating-linear-gradient(96deg, rgba(207, 201, 184, 0.05) 0 1px, transparent 1px 9px);
  border: 1px solid var(--line);
}
.hero-rainline-group {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.rainline {
  position: absolute;
  top: -20%;
  display: block;
  width: 1px;
  height: 130%;
  background: linear-gradient(180deg, transparent 0%, rgba(207, 201, 184, 0.28) 35%, rgba(207, 201, 184, 0.06) 100%);
  transform: rotate(11deg);
  transform-origin: top center;
}
.rainline:nth-child(1) {
  left: 16%;
  opacity: 0.7;
}
.rainline:nth-child(2) {
  left: 38%;
  opacity: 0.45;
}
.rainline:nth-child(3) {
  left: 64%;
  opacity: 0.6;
}
.rainline:nth-child(4) {
  left: 84%;
  opacity: 0.35;
}
.hero-figure-silhouette {
  position: absolute;
  left: 4%;
  bottom: -2%;
  width: 46%;
  height: 62%;
  max-height: 340px;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 8%, rgba(20, 24, 18, 0.92) 0%, rgba(20, 24, 18, 0) 70%),
    linear-gradient(180deg, rgba(18, 22, 16, 0.9) 0%, rgba(18, 22, 16, 0.72) 60%, rgba(18, 22, 16, 0) 100%);
  border-radius: 44% 44% 6% 6% / 30% 30% 4% 4%;
  filter: blur(0.4px);
}
.poster-frame {
  position: relative;
  z-index: 2;
  width: min(62%, 220px);
  margin: 0 auto;
  background: #191d17;
  border: 1px solid rgba(207, 201, 184, 0.2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.02) brightness(0.94);
}
.poster-caption {
  padding: 6px 8px;
  background: rgba(25, 29, 23, 0.92);
  border-top: 1px solid var(--line);
  color: var(--paper-dim);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-align: center;
}
.hero-title-block {
  grid-area: title;
  position: relative;
  z-index: 3;
  padding: 4px 0 0;
  border-left: 2px solid var(--rust);
  padding-left: 14px;
}
.movie-title {
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.12;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 0 22px rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  margin-top: 6px;
  color: var(--label-warm);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.movie-seo {
  margin-top: 10px;
  max-width: 62ch;
  color: var(--ink-dim);
  font-size: 12.5px;
  line-height: 1.72;
  text-align: justify;
}
.player-panel {
  grid-area: player;
  align-self: start;
  width: 100%;
  padding: 8px;
  background: rgba(25, 29, 23, 0.78);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.player-panel video {
  width: 100%;
  background: #0e110c;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.player-btn {
  padding: 4px 9px;
  background: rgba(74, 83, 74, 0.5);
  border: 1px solid var(--line);
  color: var(--paper-dim);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background-color 0.18s;
}
.player-btn:hover, .player-btn.is-active {
  color: var(--ink);
  border-color: var(--rust-bright);
  background: rgba(156, 90, 60, 0.34);
}
.player-progress, .player-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(207, 201, 184, 0.18);
  border: 0;
  cursor: pointer;
}
.player-progress {
  flex: 1 1 160px;
  min-width: 120px;
}
.player-volume {
  flex: 0 1 90px;
  min-width: 70px;
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--rust-bright);
  border: 1px solid rgba(0, 0, 0, 0.5);
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--rust-bright);
}
.episode-status-panel {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 8px 12px;
  background: rgba(74, 83, 74, 0.28);
  border-left: 3px solid var(--label-warm);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.status-line {
  color: var(--paper-dim);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.status-line:last-child {
  color: var(--lamp-warm);
}
.section-heading {
  margin-bottom: 10px;
  padding-left: 9px;
  border-left: 3px solid var(--rust);
  color: var(--paper);
  font-size: 14px;
  letter-spacing: 0.18em;
}
.cast-panel {
  grid-area: cast;
  padding-top: 4px;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 92px;
  padding: 10px 8px;
  background: linear-gradient(180deg, rgba(74, 83, 74, 0.5) 0%, rgba(43, 50, 44, 0.72) 100%);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(156, 90, 60, 0.55);
}
.cast-card:nth-child(even) {
  transform: translateY(10px);
}
.cast-name {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.1;
}
.cast-role {
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.35;
}
.synopsis-panel {
  grid-area: synopsis;
  align-self: start;
}
.synopsis-para {
  margin-bottom: 9px;
  padding-left: 9px;
  border-left: 1px solid var(--line-soft);
  color: var(--ink-dim);
  font-size: 12.5px;
  line-height: 1.78;
  text-align: justify;
}
.synopsis-para:last-child {
  margin-bottom: 0;
  border-left-color: rgba(201, 138, 75, 0.5);
  color: var(--paper-dim);
}
.details-panel {
  grid-area: details;
  align-self: start;
  padding: 12px 14px;
  background: rgba(43, 50, 44, 0.6);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(207, 201, 184, 0.06);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--line-soft);
}
.detail-key {
  flex: 0 0 auto;
  color: var(--paper-dim);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
}
.detail-value {
  flex: 0 1 auto;
  color: var(--ink);
  font-size: 12.5px;
  text-align: right;
}
.timeline-section {
  margin-top: 12px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filmstrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--rust) rgba(43, 50, 44, 0.6);
  background-image:
    repeating-linear-gradient(90deg, rgba(207, 201, 184, 0.16) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(90deg, rgba(207, 201, 184, 0.16) 0 2px, transparent 2px 22px);
  background-size: 100% 6px, 100% 6px;
  background-position: 0 0, 0 100%;
  background-repeat: no-repeat;
}
.filmstrip::-webkit-scrollbar {
  height: 6px;
}
.filmstrip::-webkit-scrollbar-track {
  background: rgba(43, 50, 44, 0.6);
}
.filmstrip::-webkit-scrollbar-thumb {
  background: var(--rust);
}
.film-cell {
  flex: 0 0 auto;
  width: 152px;
  padding: 9px 10px;
  background: linear-gradient(180deg, rgba(58, 66, 56, 0.85) 0%, rgba(30, 35, 28, 0.92) 100%);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(201, 138, 75, 0.6);
}
.film-cell:nth-child(odd) {
  background: linear-gradient(180deg, rgba(48, 56, 47, 0.9) 0%, rgba(26, 31, 24, 0.94) 100%);
}
.film-timecode {
  display: block;
  margin-bottom: 5px;
  color: var(--lamp-warm);
  font-size: 11.5px;
  letter-spacing: 0.16em;
}
.film-label {
  display: block;
  color: var(--paper-dim);
  font-size: 12px;
  line-height: 1.55;
}
.episodes-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 6px 14px;
  align-items: start;
}
.episode-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: baseline;
  gap: 2px 8px;
  padding: 7px 9px;
  background: rgba(43, 50, 44, 0.42);
  border-left: 2px solid rgba(122, 67, 49, 0.55);
}
.episode-number {
  grid-area: num;
  color: var(--label-warm);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  color: var(--ink);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}
.episode-duration {
  grid-area: dur;
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  margin-top: 3px;
  color: var(--ink-dim);
  font-size: 11.5px;
  line-height: 1.65;
}
.comments-section {
  position: relative;
  margin-top: 12px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--line);
  background-image: repeating-linear-gradient(102deg, rgba(207, 201, 184, 0.045) 0 1px, transparent 1px 13px);
}
.comment-stream {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-bubble {
  position: relative;
  width: fit-content;
  max-width: 78%;
  padding: 8px 12px;
  background: var(--bubble);
  border: 1px solid var(--line);
  backdrop-filter: blur(2px);
}
.comment-bubble-left {
  align-self: flex-start;
  border-left: 3px solid rgba(201, 138, 75, 0.55);
  border-radius: 2px 10px 10px 10px;
}
.comment-bubble-right {
  align-self: flex-end;
  border-right: 3px solid rgba(122, 67, 49, 0.7);
  border-radius: 10px 2px 10px 10px;
  background: rgba(58, 66, 56, 0.5);
}
.comment-nickname {
  display: block;
  margin-bottom: 3px;
  color: var(--label-warm);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.comment-bubble-right .comment-nickname {
  color: var(--paper-dim);
  text-align: right;
}
.comment-text {
  color: var(--paper-dim);
  font-size: 12.5px;
  line-height: 1.7;
}
.recommend-region {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(43, 50, 44, 0.5);
  border: 1px solid var(--line);
  color: var(--paper-dim);
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}
a.recommend-cell:hover {
  border-color: var(--rust-bright);
  background: rgba(58, 66, 56, 0.72);
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #191d17;
  filter: saturate(0.68) brightness(0.9);
}
a.recommend-cell [data-runtime="name"] {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
a.recommend-cell [data-runtime="blurb"] {
  color: var(--ink-dim);
  font-size: 11px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 26px;
  padding: 16px 16px 26px;
  background: rgba(20, 24, 18, 0.9);
  border-top: 1px solid var(--line);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  max-width: 1180px;
  margin: 0 auto 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--paper-dim);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: underline;
  text-decoration-color: rgba(156, 90, 60, 0.5);
  text-underline-offset: 4px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--label-warm);
  text-decoration-color: var(--label-warm);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  max-width: 1180px;
  margin: 0 auto 12px;
}
.friend-links-label {
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: 0.16em;
  border-left: 2px solid var(--rust);
  padding-left: 6px;
}
a.runtime-friend-link {
  color: var(--ink-dim);
  font-size: 11.5px;
  text-decoration: none;
  border-bottom: 1px dashed rgba(207, 201, 184, 0.2);
  transition: color 0.18s, border-color 0.18s;
}
a.runtime-friend-link:hover {
  color: var(--label-warm);
  border-bottom-color: var(--label-warm);
  text-decoration: none;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto;
  color: #7d7a6c;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "backdrop"
      "title"
      "player"
      "status"
      "cast"
      "synopsis"
      "details";
    row-gap: 14px;
  }
.hero-backdrop {
    min-height: 320px;
  }
.hero-figure-silhouette {
    width: 52%;
    height: 58%;
  }
.poster-frame {
    width: min(46%, 200px);
  }
.synopsis-panel {
    order: 0;
  }}
@media (max-width: 620px) {body {
    font-size: 13.5px;
  }
.page-main {
    padding: 0 12px 32px;
  }
.hero-shell {
    padding: 16px 0 22px;
  }
.hero-backdrop {
    padding: 12px 8px 16px;
    min-height: 280px;
  }
.poster-frame {
    width: min(58%, 180px);
  }
.hero-figure-silhouette {
    width: 62%;
    height: 50%;
  }
.cast-card {
    width: calc(50% - 4px);
  }
.cast-card:nth-child(even) {
    transform: none;
  }
.cast-name {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-bubble {
    max-width: 90%;
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.player-btn {
    padding: 4px 7px;
    font-size: 11px;
  }}
@media (max-width: 400px) {.cast-card {
    width: 100%;
  }
.film-cell {
    width: 138px;
  }
.comment-bubble {
    max-width: 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}
