:root {
  --dust-red: #8c3b2a;
  --dust-red-deep: #5c2318;
  --tungsten: #d98f3f;
  --tungsten-soft: #e8b06a;
  --sand: #c9a86a;
  --sand-dim: #8f7748;
  --brown-dark: #1e1410;
  --brown-mid: #2a1c15;
  --brown-panel: #241811;
  --brown-comment: #1a110c;
  --page-bg: #17100c;
  --text-main: #e3d3bd;
  --text-dim: #a8917a;
  --text-faint: #7a6455;
  --rule: #3a271c;
  --gap-section: 2.2rem;
  --font-stack: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans SC", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background: var(--page-bg);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-stack);
  font-size: 15px;
  line-height: 1.42;
  color: var(--text-main);
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(140, 59, 42, 0.32), rgba(23, 16, 12, 0) 58%),
    linear-gradient(180deg, #1b120d 0%, var(--page-bg) 42%, #120c09 100%);
  background-attachment: fixed;
  letter-spacing: 0.01em;
  padding: 0 0 2.4rem;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.1rem;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 11, 8, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.55rem 1.1rem;
}
a[data-contract="site-name"].site-logo {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--tungsten-soft);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  border-left: 3px solid var(--dust-red);
  padding-left: 0.6rem;
}
a[data-contract="site-name"].site-logo:hover {
  color: var(--sand);
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.22rem 0.55rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(60, 38, 26, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover {
  color: var(--brown-dark);
  background: var(--tungsten);
  border-color: var(--tungsten);
}
.section-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--tungsten-soft);
  padding-left: 0.7rem;
  border-left: 3px solid var(--dust-red);
  margin-bottom: 0.85rem;
}
.sub-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--sand);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.hero-banner {
  position: relative;
  margin: 1.1rem 0 var(--gap-section);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: #0d0806;
  isolation: isolate;
}
.hero-media {
  position: relative;
  width: 100%;
}
.hero-player {
  display: block;
  width: 100%;
  background: #000;
  filter: saturate(0.82) contrast(1.06) brightness(0.86);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1.1rem;
  background:
    linear-gradient(90deg, rgba(15, 8, 5, 0.94) 0%, rgba(15, 8, 5, 0.55) 42%, rgba(15, 8, 5, 0.08) 72%, rgba(15, 8, 5, 0.4) 100%),
    linear-gradient(0deg, rgba(20, 10, 6, 0.95) 0%, rgba(20, 10, 6, 0.15) 46%, rgba(80, 30, 18, 0.22) 100%);
  pointer-events: none;
}
.hero-overlay > * {
  pointer-events: auto;
}
.hero-tagline {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--tungsten-soft);
  border-left: 2px solid var(--dust-red);
  padding-left: 0.55rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}
.hero-title {
  font-size: clamp(1.5rem, 5.4vw, 3rem);
  letter-spacing: 0.12em;
  color: #f5e6cf;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.95), 0 0 40px rgba(140, 59, 42, 0.5);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.4rem;
  padding: 0.45rem 0.55rem;
  background: rgba(12, 7, 5, 0.82);
  border: 1px solid rgba(201, 168, 106, 0.24);
  border-radius: 3px;
  backdrop-filter: blur(3px);
  max-width: 100%;
}
.player-btn {
  flex: 0 0 auto;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-main);
  background: rgba(60, 38, 26, 0.6);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.player-btn:hover {
  background: var(--dust-red);
  border-color: var(--dust-red);
  color: #f7e9d3;
}
.player-btn.is-active {
  background: var(--tungsten);
  border-color: var(--tungsten);
  color: var(--brown-dark);
}
.player-btn:focus-visible, .player-range:focus-visible, .player-select:focus-visible {
  outline: 2px solid var(--tungsten-soft);
  outline-offset: 1px;
}
.player-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 16px;
  background: transparent;
  cursor: pointer;
  accent-color: var(--tungsten);
  -webkit-appearance: none;
  appearance: none;
}
.player-range::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(90deg, var(--dust-red), var(--sand-dim));
  border-radius: 2px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--tungsten-soft);
  border: 1px solid var(--brown-dark);
}
.player-range::-moz-range-track {
  height: 4px;
  background: linear-gradient(90deg, var(--dust-red), var(--sand-dim));
  border-radius: 2px;
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid var(--brown-dark);
  border-radius: 50%;
  background: var(--tungsten-soft);
}
.player-select {
  flex: 0 0 auto;
  font-size: 0.7rem;
  padding: 0.2rem 0.3rem;
  color: var(--text-main);
  background: rgba(60, 38, 26, 0.6);
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
}
.cast-strip {
  margin-bottom: var(--gap-section);
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}
.cast-item {
  position: relative;
  min-height: 4.6rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.35rem;
  overflow: hidden;
  border: 1px solid var(--rule);
  background:
    linear-gradient(180deg, rgba(140, 59, 42, 0.28), rgba(20, 12, 9, 0.9) 78%),
    linear-gradient(120deg, #2c1a12, #170e0a);
}
.cast-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(75% 60% at 50% 22%, rgba(232, 176, 106, 0.32), rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}
.cast-name {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #f0dcc0;
  background: linear-gradient(0deg, rgba(10, 6, 4, 0.92), rgba(10, 6, 4, 0.25));
  padding: 0.18rem 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-section {
  margin-bottom: var(--gap-section);
}
.timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 4.1rem;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  left: 3.5rem;
  width: 0;
  border-left: 1px dashed var(--sand-dim);
  opacity: 0.75;
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: flex-start;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: -0.72rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tungsten);
  border: 2px solid var(--dust-red-deep);
  box-shadow: 0 0 0 3px rgba(217, 143, 63, 0.12);
}
.timeline-timecode {
  position: absolute;
  left: -4.1rem;
  top: 0.28rem;
  width: 3.1rem;
  text-align: right;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--sand);
  white-space: nowrap;
}
.timeline-card {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.42rem 0.7rem;
  background: linear-gradient(90deg, rgba(60, 34, 22, 0.72), rgba(36, 24, 17, 0.5));
  border-left: 2px solid var(--dust-red);
  border-top: 1px solid rgba(201, 168, 106, 0.14);
  border-bottom: 1px solid rgba(201, 168, 106, 0.08);
}
.timeline-label {
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.38;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
  margin-bottom: var(--gap-section);
  padding: 1.1rem;
  background:
    linear-gradient(180deg, rgba(48, 28, 19, 0.85), rgba(24, 15, 11, 0.95)),
    var(--brown-panel);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--dust-red);
  border-radius: 3px;
}
.overview-poster-wrap {
  width: 100%;
  align-self: start;
  border: 1px solid rgba(201, 168, 106, 0.28);
  background: #0d0806;
  overflow: hidden;
}
.overview-poster {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.94);
}
.overview-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.overview-title {
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: #f6e7d0;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.4rem;
}
.overview-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--tungsten-soft);
}
.overview-seo {
  font-size: 0.84rem;
  line-height: 1.44;
  color: var(--text-dim);
}
.overview-cast, .overview-synopsis, .overview-details {
  border-top: 1px dashed rgba(143, 119, 72, 0.35);
  padding-top: 0.55rem;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.4rem;
}
.cast-list-item {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--text-main);
  padding: 0.14rem 0.5rem;
  background: rgba(140, 59, 42, 0.22);
  border: 1px solid rgba(201, 168, 106, 0.22);
  border-radius: 2px;
  white-space: nowrap;
}
.synopsis-para {
  font-size: 0.83rem;
  line-height: 1.44;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.overview-episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.5rem 0.65rem;
  background: rgba(140, 59, 42, 0.2);
  border: 1px solid rgba(217, 143, 63, 0.3);
  border-radius: 2px;
}
.status-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--sand);
}
.status-value {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tungsten-soft);
}
.status-sep {
  color: var(--text-faint);
  font-size: 0.8rem;
}
.status-total {
  font-size: 0.78rem;
  color: var(--text-dim);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem 1rem;
}
.detail-key {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--sand-dim);
  border-bottom: 1px solid rgba(58, 39, 28, 0.7);
  padding: 0.22rem 0 0.1rem;
}
.detail-value {
  font-size: 0.78rem;
  color: var(--text-main);
  border-bottom: 1px solid rgba(58, 39, 28, 0.7);
  padding: 0.1rem 0 0.22rem;
  margin-bottom: 0.15rem;
}
.episodes-section {
  margin-bottom: var(--gap-section);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  gap: 0.12rem 0.6rem;
  padding: 0.5rem 0.65rem;
  background: rgba(36, 24, 17, 0.72);
  border: 1px solid var(--rule);
  border-left: 2px solid rgba(140, 59, 42, 0.7);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.episode-card:hover, .episode-card.is-active {
  border-color: var(--sand);
  box-shadow: inset 0 0 0 1px rgba(201, 168, 106, 0.55);
  background: rgba(54, 33, 22, 0.85);
}
.episode-number {
  grid-area: num;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--tungsten);
  white-space: nowrap;
  padding-top: 0.15rem;
}
.episode-title {
  grid-area: title;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: #f1dfc6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 0.76rem;
  line-height: 1.38;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  grid-area: dur;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  justify-self: end;
}
.comments-section {
  margin-bottom: var(--gap-section);
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: start;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--brown-comment);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.55rem;
}
.comment-item {
  padding: 0.42rem 0.55rem;
  background: rgba(12, 7, 5, 0.55);
  border-left: 2px solid var(--dust-red-deep);
  border-radius: 1px;
}
.comment-nickname {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--tungsten-soft);
  margin-bottom: 0.16rem;
}
.comment-text {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-dim);
}
.rec-section {
  margin-bottom: var(--gap-section);
}
.rec-section:last-of-type {
  margin-bottom: 1.6rem;
}
.rec-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.55rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--rule);
}
.rec-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: rgba(36, 24, 17, 0.7);
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  color: var(--text-main);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
a.rec-item:hover {
  border-color: var(--sand);
  background: rgba(54, 33, 22, 0.9);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img.rec-pic {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #0d0806;
  filter: saturate(0.88) brightness(0.9);
}
.rec-name {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #f0dcc0;
  padding: 0.4rem 0.5rem 0.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  font-size: 0.72rem;
  line-height: 1.36;
  color: var(--text-faint);
  padding: 0 0.5rem 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.1rem 1.1rem 0.6rem;
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(18, 11, 8, 0.4), rgba(12, 7, 5, 0.9));
}
.footer-disclaimer {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-faint);
  margin-bottom: 0.7rem;
  max-width: 72ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-bottom: 0.8rem;
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--sand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"].footer-link:hover, a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--tungsten-soft);
  border-bottom-color: var(--tungsten-soft);
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(143, 119, 72, 0.3);
}
.footer-friends-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--sand-dim);
  text-transform: uppercase;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 119, 72, 0.4);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--tungsten-soft);
  border-bottom-color: var(--tungsten-soft);
}
.hero-banner.is-theater {
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
html.is-light-off body {
  background: #000;
}
html.is-light-off .page-main, html.is-light-off .site-footer {
  opacity: 0.4;
  transition: opacity 0.2s ease;
}
html.is-light-off .hero-banner {
  opacity: 1;
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
    gap: 0.9rem;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 0 0.75rem;
  }
.header-bar {
    padding: 0.5rem 0.75rem;
  }
.hero-overlay {
    padding: 0.8rem;
  }
.hero-tagline {
    font-size: 0.7rem;
  }
.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    padding: 0.85rem;
  }
.overview-poster-wrap {
    max-width: 62%;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    padding-left: 3.5rem;
  }
.timeline-track::before {
    left: 2.95rem;
  }
.timeline-timecode {
    left: -3.5rem;
    width: 2.6rem;
  }}
@media (max-width: 480px) {.site-logo {
    font-size: 0.9rem;
    letter-spacing: 0.14em;
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.overview-poster-wrap {
    max-width: 78%;
  }
.rec-row {
    grid-template-columns: minmax(0, 1fr);
  }
.player-btn {
    font-size: 0.66rem;
    padding: 0.18rem 0.4rem;
  }
.player-range {
    flex: 1 1 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}
