:root {
  --clay: #8a3324;
  --clay-deep: #5c1f14;
  --robe: #f2b90c;
  --robe-bright: #ffd23f;
  --robe-dim: #b98a08;
  --coffin: #241410;
  --coffin-2: #2e1a12;
  --coffin-3: #3a2118;
  --dust: #c9a97a;
  --dust-dim: #8a7554;
  --ink: #f0e2cc;
  --ink-dim: #b9a486;
  --line: #4a2c1f;
  --gap: 16px;
  --pad: 12px;
  --radius: 6px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--coffin);
  background-image:
    radial-gradient(circle at 82% -8%, rgba(242, 185, 12, 0.13), transparent 46%),
    radial-gradient(circle at 12% 4%, rgba(138, 51, 36, 0.22), transparent 52%),
    linear-gradient(180deg, #1c0f0b 0%, #241410 34%, #1a0d09 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, dl {
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
h2, h3 {
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(26, 13, 9, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px var(--pad);
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--robe);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(242, 185, 12, 0.35);
}
a[data-contract="site-name"]:hover {
  color: var(--robe-bright);
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(58, 33, 24, 0.5);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--coffin);
  background: var(--robe);
  border-color: var(--robe);
  text-decoration: none;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad) var(--gap);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.movie-overview {
  position: relative;
  margin-top: var(--gap);
  padding: var(--pad);
  background:
    linear-gradient(180deg, rgba(58, 33, 24, 0.72) 0%, rgba(36, 20, 16, 0.95) 68%),
    var(--coffin-2);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 6%, rgba(242, 185, 12, 0.2), transparent 40%),
    linear-gradient(180deg, rgba(138, 51, 36, 0.35) 0%, transparent 55%);
  pointer-events: none;
}
.overview-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}
.overview-poster-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(242, 185, 12, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, var(--clay-deep), #150b08);
}
.overview-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: var(--pad);
  min-width: 0;
}
.overview-title {
  font-size: clamp(26px, 4.6vw, 46px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 0 26px rgba(242, 185, 12, 0.22);
  align-self: flex-start;
  margin-left: 34%;
}
.overview-tagline {
  align-self: flex-start;
  margin-left: 34%;
  max-width: 46ch;
  font-size: 14px;
  font-weight: 300;
  font-style: normal;
  color: var(--robe);
  letter-spacing: 0.05em;
  padding-left: var(--pad);
  border-left: 2px solid var(--clay);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 2px;
}
.status-item {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--dust);
  background: rgba(20, 10, 7, 0.6);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.cast-block {
  padding-top: var(--pad);
  border-top: 1px solid var(--line);
}
.cast-heading, .synopsis-heading, .details-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--robe-dim);
  margin-bottom: 10px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 0;
  margin-right: 12px;
  min-width: 0;
  border-right: 1px solid var(--line);
}
.cast-card:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, var(--robe-dim) 0%, transparent 46%),
    linear-gradient(160deg, var(--clay) 0%, var(--clay-deep) 60%, #1a0d09 100%);
  border: 1px solid rgba(242, 185, 12, 0.4);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6);
}
.cast-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.cast-role {
  font-size: 11px;
  font-weight: 300;
  color: var(--ink-dim);
  white-space: nowrap;
}
.synopsis-block {
  padding-top: var(--pad);
  border-top: 1px solid var(--line);
}
.synopsis-para {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-dim);
  margin-bottom: 8px;
  text-align: justify;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.synopsis-para::first-letter {
  color: var(--robe);
  font-weight: 700;
}
.details-block {
  padding-top: var(--pad);
  border-top: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px 14px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 3px 0;
  font-size: 12.5px;
  border-bottom: 1px dashed rgba(74, 44, 31, 0.7);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  color: var(--dust-dim);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.detail-key::after {
  content: "·";
  margin-left: 4px;
  color: var(--line);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink);
  font-weight: 300;
  word-break: break-word;
}
.player-section {
  width: 100%;
}
.player-shell {
  position: relative;
  width: 100%;
  padding: var(--pad);
  background: linear-gradient(180deg, #150b08 0%, #241410 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  transition: background 0.25s ease;
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0d0605;
  border-radius: 4px;
  border: 1px solid rgba(242, 185, 12, 0.18);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--pad);
}
.player-btn {
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  background: rgba(58, 33, 24, 0.6);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.player-btn:hover, .player-btn.click {
  color: var(--coffin);
  background: var(--robe);
  border-color: var(--robe);
}
.player-shell.is-lights-off {
  background: #060302;
}
.player-shell.is-lights-off .player-video {
  box-shadow: 0 0 0 1px rgba(242, 185, 12, 0.5), 0 0 44px rgba(242, 185, 12, 0.2);
}
.player-shell.is-theater {
  padding: var(--gap) 0;
  border-color: var(--robe-dim);
}
.section-heading {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: var(--pad);
  padding-left: 12px;
  border-left: 3px solid var(--robe);
  line-height: 1.2;
}
.timeline-section {
  padding: var(--pad) 0 0;
}
.filmstrip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: var(--pad) 4px 14px;
  background:
    repeating-linear-gradient(90deg, rgba(242, 185, 12, 0.1) 0 6px, transparent 6px 16px) top left / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, rgba(242, 185, 12, 0.1) 0 6px, transparent 6px 16px) bottom left / 100% 8px no-repeat,
    linear-gradient(180deg, rgba(20, 10, 7, 0.7), rgba(36, 20, 16, 0.7));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--robe-dim) transparent;
}
.filmstrip::-webkit-scrollbar {
  height: 8px;
}
.filmstrip::-webkit-scrollbar-track {
  background: rgba(20, 10, 7, 0.7);
}
.filmstrip::-webkit-scrollbar-thumb {
  background: var(--robe-dim);
  border-radius: 4px;
}
.film-frame {
  position: relative;
  flex: 0 0 auto;
  width: 172px;
  padding: 14px 8px 8px;
  background: rgba(26, 13, 9, 0.92);
  border: 1px solid var(--line);
  border-radius: 4px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.film-frame:hover {
  border-color: var(--robe-dim);
  background: rgba(46, 26, 18, 0.95);
}
.frame-node {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--robe-dim);
  box-shadow: 0 0 0 2px rgba(26, 13, 9, 0.9);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.film-frame.is-current {
  border-color: var(--robe);
  background: rgba(58, 33, 24, 0.95);
  transform: translateY(-3px);
}
.film-frame.is-current .frame-node {
  background: var(--robe-bright);
  transform: scale(1.7);
  box-shadow: 0 0 0 2px rgba(26, 13, 9, 0.9), 0 0 14px rgba(242, 185, 12, 0.8);
}
.frame-still {
  width: 100%;
  height: 92px;
  border-radius: 3px;
  background:
    radial-gradient(circle at 62% 22%, rgba(255, 210, 63, 0.55), transparent 42%),
    linear-gradient(180deg, var(--clay) 0%, var(--clay-deep) 58%, #150b08 100%);
  border: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 -14px 22px rgba(0, 0, 0, 0.55);
}
.frame-time {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--robe);
}
.frame-label {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-dim);
}
.episodes-section {
  padding-top: var(--pad);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--pad);
  background: rgba(26, 13, 9, 0.72);
  border: 1px solid transparent;
  border-left: 2px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.episode-card:hover {
  background: rgba(74, 44, 31, 0.55);
  border-color: var(--robe-dim);
  border-left-color: var(--robe);
  transform: translateY(-2px);
}
.episode-card.is-active {
  background: rgba(138, 51, 36, 0.4);
  border-color: var(--robe);
  border-left-color: var(--robe-bright);
}
.episode-num {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--robe);
}
.episode-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.episode-summary {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-dim);
}
.episode-duration {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--dust-dim);
}
.comments-section {
  padding-top: var(--pad);
}
.comment-columns {
  column-count: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 10px;
  padding: 10px var(--pad);
  background: rgba(26, 13, 9, 0.7);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.comment-card.rating-high {
  border-left: 4px solid var(--robe);
}
.comment-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
}
.comment-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed rgba(74, 44, 31, 0.8);
}
.comment-nick {
  font-size: 12px;
  font-weight: 400;
  color: var(--dust);
  letter-spacing: 0.03em;
}
.comment-score {
  font-size: 13px;
  font-weight: 700;
  color: var(--robe);
  font-variant-numeric: tabular-nums;
}
.recommend-region {
  padding-top: var(--pad);
}
.recommend-heading {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 2px solid var(--clay);
}
.recommend-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--robe-dim) transparent;
}
.recommend-strip::-webkit-scrollbar {
  height: 7px;
}
.recommend-strip::-webkit-scrollbar-track {
  background: rgba(20, 10, 7, 0.7);
}
.recommend-strip::-webkit-scrollbar-thumb {
  background: var(--robe-dim);
  border-radius: 4px;
}
a.rec-card {
  flex: 0 0 auto;
  width: 152px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: rgba(26, 13, 9, 0.8);
  border: 1px solid var(--line);
  border-radius: 5px;
  scroll-snap-align: start;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.rec-card:hover {
  border-color: var(--robe);
  background: rgba(58, 33, 24, 0.9);
  transform: translateY(-3px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 118px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, var(--clay), var(--coffin));
}
.rec-poster {
  width: 100%;
  object-fit: cover;
}
.rec-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-blurb {
  font-size: 11.5px;
  font-weight: 300;
  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: 1240px;
  margin: var(--gap) auto 24px;
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.footer-disclaimer {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dust-dim);
  max-width: 80ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--robe);
  border-bottom-color: var(--robe);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-top: 8px;
  border-top: 1px dashed rgba(74, 44, 31, 0.8);
}
.friend-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--robe-dim);
}
a.runtime-friend-link {
  font-size: 12px;
  font-weight: 300;
  color: var(--dust-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--robe);
  text-decoration: underline;
}
@media (max-width: 900px) {.overview-main {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
  }
.overview-title, .overview-tagline {
    margin-left: 0;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 680px) {body {
    font-size: 14.5px;
  }
.header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }
.category-bar {
    justify-content: flex-start;
  }
.overview-main {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-poster-wrap {
    max-width: 220px;
  }
.overview-title {
    font-size: clamp(24px, 8vw, 34px);
  }
.comment-columns {
    column-count: 1;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.film-frame {
    width: 150px;
  }
.frame-still {
    height: 80px;
  }
a.rec-card {
    width: 132px;
  }
[data-runtime="recommendation"] img {
    height: 100px;
  }}
@media (max-width: 420px) {.cast-card {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
    width: 100%;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-btn {
    padding: 5px 9px;
    font-size: 12px;
  }}

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}
