*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --ink: #1a1210;
  --deep-brown: #241713;
  --brown: #3a241c;
  --brown-soft: #4a2f24;
  --dark-red: #6e1f1c;
  --red: #8f2a22;
  --old-gold: #c69a4c;
  --gold: #d8b46a;
  --gold-dim: #9c7b3e;
  --paper: #e8dcc8;
  --paper-dim: #b9a98c;
  --line: rgba(198, 154, 76, 0.32);
  --line-soft: rgba(198, 154, 76, 0.16);
  --serif: Georgia, "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 80% at 88% 4%, rgba(198, 154, 76, 0.14), rgba(198, 154, 76, 0) 46%),
    radial-gradient(90% 60% at 8% 100%, rgba(110, 31, 28, 0.18), rgba(110, 31, 28, 0) 55%),
    linear-gradient(180deg, #201512 0%, #17100e 40%, #120c0b 100%);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol, dl {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(20, 13, 11, 0.97), rgba(20, 13, 11, 0.86));
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(4px);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  padding-right: 12px;
  border-right: 1px solid var(--line-soft);
}
a[data-contract="site-name"]:hover {
  color: var(--paper);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 8px;
}
.section-heading, .panel-heading, .rec-heading {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.section-heading {
  font-size: 16px;
  margin: 26px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 34px;
  height: 5px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
}
.panel-heading {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold-dim);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line-soft);
}
.movie-overview {
  margin-top: 18px;
  padding: 16px 16px 18px;
  background:
    linear-gradient(180deg, rgba(58, 36, 28, 0.55), rgba(26, 18, 16, 0.72));
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--line);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(198, 154, 76, 0.08);
  position: relative;
}
.movie-overview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(215deg, rgba(216, 180, 106, 0.1) 0%, rgba(216, 180, 106, 0) 34%);
  pointer-events: none;
}
.overview-lead {
  display: grid;
  grid-template-columns: minmax(0, 176px) minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
}
.poster-frame {
  position: relative;
  padding: 4px;
  background: linear-gradient(160deg, var(--gold-dim), rgba(58, 36, 28, 0.4) 40%, var(--dark-red));
  border: 1px solid var(--line);
  align-self: start;
}
.overview-poster {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.86) contrast(1.05) brightness(0.94);
}
.overview-keyinfo {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.overview-title {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--paper);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}
.overview-tagline {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--old-gold);
  border-left: 2px solid var(--dark-red);
  padding-left: 9px;
}
.overview-seo {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--paper-dim);
  max-width: 62ch;
}
.cast-panel, .synopsis-panel, .episode-status, .details-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 6px;
}
.cast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(74, 47, 36, 0.6), rgba(26, 18, 16, 0.9));
}
.cast-avatar-frame {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 50% 32%, rgba(216, 180, 106, 0.22), rgba(216, 180, 106, 0) 62%),
    linear-gradient(200deg, rgba(143, 42, 34, 0.34), rgba(26, 18, 16, 0.1));
}
.cast-avatar-frame::after {
  content: "";
  position: absolute;
  inset: 14% 22% auto 22%;
  height: 46%;
  border-radius: 50% 50% 42% 42%;
  background: linear-gradient(180deg, rgba(216, 180, 106, 0.2), rgba(26, 18, 16, 0.05));
  box-shadow: 0 0 0 1px rgba(198, 154, 76, 0.14);
}
.cast-name {
  position: relative;
  z-index: 1;
  display: block;
  padding: 3px 4px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-align: center;
  background: linear-gradient(180deg, rgba(18, 12, 11, 0.2), rgba(18, 12, 11, 0.94));
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--paper-dim);
  padding-left: 9px;
  border-left: 1px solid var(--line-soft);
}
.status-line {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--old-gold);
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 3px 12px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 2px 0;
  border-bottom: 1px dotted var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold-dim);
}
.detail-val {
  font-size: 12px;
  color: var(--paper);
  min-width: 0;
  overflow-wrap: anywhere;
}
.player-shell {
  margin-top: 16px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(20, 13, 11, 0.9), rgba(12, 8, 7, 0.96));
  border: 1px solid var(--line-soft);
  position: relative;
  transition: background-color 0.25s ease;
}
.player-shell.is-theater {
  background: #070504;
  border-color: var(--line);
}
.player-shell.is-lights-off::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 5;
  pointer-events: none;
}
.player-shell.is-lights-off .player-controls {
  position: relative;
  z-index: 6;
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(198, 154, 76, 0.18);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  margin-top: 6px;
  padding: 2px 2px 0;
}
.ctrl-btn {
  background: linear-gradient(180deg, rgba(74, 47, 36, 0.9), rgba(26, 18, 16, 0.95));
  border: 1px solid var(--line-soft);
  color: var(--paper-dim);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.ctrl-btn:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}
.ctrl-btn.is-playing, .ctrl-btn.is-active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.ctrl-btn.is-muted {
  color: var(--dark-red);
  border-color: var(--dark-red);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-dim), rgba(198, 154, 76, 0.18));
  cursor: pointer;
}
.progress-range {
  flex: 1 1 140px;
  min-width: 90px;
}
.volume-range {
  flex: 0 1 76px;
  min-width: 56px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid var(--ink);
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid var(--ink);
}
.ctrl-speed {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--paper-dim);
}
.speed-label {
  letter-spacing: 0.06em;
}
.speed-select {
  background: rgba(26, 18, 16, 0.95);
  border: 1px solid var(--line-soft);
  color: var(--paper);
  font-size: 11px;
  padding: 3px 4px;
  border-radius: 2px;
  cursor: pointer;
}
.timeline-section {
  margin-top: 4px;
}
.timeline-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) rgba(26, 18, 16, 0.6);
}
.timeline-strip::-webkit-scrollbar {
  height: 6px;
}
.timeline-strip::-webkit-scrollbar-track {
  background: rgba(26, 18, 16, 0.6);
}
.timeline-strip::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
}
.film-cell {
  flex: 0 0 auto;
  width: 158px;
  padding: 8px 9px 9px;
  background: linear-gradient(180deg, rgba(58, 36, 28, 0.72), rgba(20, 13, 11, 0.92));
  border: 1px solid var(--line-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.film-cell::before, .film-cell::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 5px;
  background-image: linear-gradient(180deg, var(--gold-dim) 0 3px, transparent 3px 8px);
  background-size: 5px 8px;
  opacity: 0.5;
}
.film-cell::before {
  left: 3px;
}
.film-cell::after {
  right: 3px;
}
.film-cell:nth-child(3) {
  border-color: var(--gold-dim);
  background: linear-gradient(180deg, rgba(110, 31, 28, 0.5), rgba(20, 13, 11, 0.94));
}
.film-cell:nth-child(3) .film-timecode {
  color: var(--gold);
}
.film-timecode {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold-dim);
}
.film-label {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--paper);
}
.episodes-section {
  margin-top: 4px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}
.episode-cell {
  background: linear-gradient(180deg, rgba(48, 30, 24, 0.6), rgba(20, 13, 11, 0.86));
  border: 1px solid var(--line-soft);
  min-width: 0;
  transition: border-color 0.18s ease;
}
.episode-cell[open] {
  border-color: var(--gold-dim);
  background: linear-gradient(180deg, rgba(74, 47, 36, 0.66), rgba(20, 13, 11, 0.9));
}
.episode-summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  min-width: 0;
}
.episode-summary::-webkit-details-marker {
  display: none;
}
.episode-summary::after {
  content: "";
  position: absolute;
}
.episode-number {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
}
.episode-title {
  font-size: 12px;
  color: var(--paper);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  font-size: 10.5px;
  color: var(--paper-dim);
  white-space: nowrap;
}
.episode-text {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--paper-dim);
  padding: 0 8px 8px;
  border-top: 1px dotted var(--line-soft);
  margin-top: 1px;
  padding-top: 6px;
}
.comments-section {
  margin-top: 4px;
}
.comment-masonry {
  columns: 2;
  column-gap: 6px;
}
.comment-card {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(48, 30, 24, 0.5), rgba(20, 13, 11, 0.8));
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--dark-red);
}
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, rgba(216, 180, 106, 0.32), rgba(26, 18, 16, 0.1) 68%),
    linear-gradient(180deg, rgba(143, 42, 34, 0.5), rgba(26, 18, 16, 0.9));
  border: 1px solid var(--line-soft);
}
.comment-body {
  min-width: 0;
}
.comment-nick {
  display: block;
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--gold-dim);
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.62;
  color: var(--paper-dim);
  overflow-wrap: anywhere;
}
.rec-region {
  margin-top: 12px;
  padding: 9px 10px 10px;
  background: linear-gradient(180deg, rgba(40, 25, 20, 0.55), rgba(18, 12, 11, 0.85));
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--line);
}
.rec-heading {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--old-gold);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rec-heading::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold-dim);
  transform: rotate(45deg);
}
.rec-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line-soft);
}
.rec-bars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  background: rgba(20, 13, 11, 0.6);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  color: var(--paper-dim);
  min-width: 0;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
a.rec-item:hover {
  border-color: var(--gold-dim);
  background: rgba(58, 36, 28, 0.72);
}
[data-runtime="recommendation"] img, .rec-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) brightness(0.92);
}
a.rec-item:hover .rec-thumb {
  filter: saturate(1) brightness(1);
}
.rec-name {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--paper);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  display: block;
  font-size: 11px;
  line-height: 1.55;
  color: var(--paper-dim);
  position: relative;
  padding-left: 10px;
}
.rec-blurb::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--gold-dim);
  transform: rotate(45deg);
}
.site-footer {
  max-width: 1180px;
  margin: 22px auto 0;
  padding: 14px 16px 22px;
  border-top: 1px solid var(--line-soft);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 9px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}
.friend-label {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--paper-dim);
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
}
a.footer-link {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--old-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.footer-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-dim);
}
a[data-contract="footer-home"] {
  color: var(--old-gold);
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  color: var(--paper-dim);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--gold);
}
.footer-disclaimer {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(185, 169, 140, 0.72);
  max-width: 78ch;
}
@media (max-width: 900px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.overview-title {
    font-size: 22px;
  }}
@media (max-width: 720px) {.overview-lead {
    grid-template-columns: minmax(0, 132px) minmax(0, 1fr);
    gap: 12px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-row {
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  }}
@media (max-width: 560px) {body {
    font-size: 13px;
  }
.page-main {
    padding: 0 10px 6px;
  }
.header-inner {
    padding: 7px 10px;
  }
.overview-lead {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-frame {
    max-width: 210px;
  }
.overview-title {
    font-size: 20px;
  }
.comment-masonry {
    columns: 1;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-bars {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }
.film-cell {
    width: 138px;
  }
.details-grid {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 400px) {.cast-row {
    grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  }
.overview-title {
    font-size: 18px;
  }}

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}
