*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
:root {
  --wall: #3c443f;
  --wall-deep: #2c332f;
  --wall-light: #4a544c;
  --paper: #d8d2c2;
  --paper-dim: #b9b3a2;
  --ink: #232723;
  --ink-soft: #4e544b;
  --tungsten: #e6b168;
  --tungsten-hot: #f2c67e;
  --rule: rgba(216, 210, 194, 0.16);
  --rule-strong: rgba(216, 210, 194, 0.3);
  --title-font: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --body-font: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  --mono-font: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
  --heavy-font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", sans-serif;
}
body {
  background-color: var(--wall);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(230, 177, 104, 0.07), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(20, 26, 22, 0.5), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 4px);
  color: var(--paper);
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(28, 33, 29, 0.97), rgba(34, 40, 35, 0.92));
  border-bottom: 1px solid var(--rule-strong);
  backdrop-filter: blur(3px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 7px 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--heavy-font);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--tungsten-hot);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(230, 177, 104, 0.28);
}
a[data-contract="site-name"]:hover {
  color: #fff0d2;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  border-left: 1px solid var(--rule);
  padding-left: 14px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--paper-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 7px;
  border: 1px solid transparent;
  border-radius: 1px;
}
a.runtime-category:hover {
  color: var(--tungsten);
  border-color: var(--rule-strong);
  background: rgba(230, 177, 104, 0.06);
  text-decoration: none;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 26px;
}
.hero-attic {
  position: relative;
  margin: 0 -16px;
  height: clamp(220px, 34vw, 380px);
  overflow: hidden;
  border-bottom: 1px solid var(--rule-strong);
  background:
    linear-gradient(180deg, #141814 0%, #232a24 48%, #171c18 100%);
}
.hero-collage {
  position: absolute;
  inset: 0;
}
.hero-window-glow {
  position: absolute;
  top: -8%;
  left: 16%;
  width: 34%;
  height: 118%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(242, 198, 126, 0.5), rgba(230, 177, 104, 0.16) 46%, transparent 72%);
  filter: blur(2px);
}
.hero-window-glow::before, .hero-window-glow::after {
  content: "";
  position: absolute;
  background: rgba(20, 24, 20, 0.72);
}
.hero-window-glow::before {
  top: 0;
  bottom: 0;
  left: 47%;
  width: 3px;
}
.hero-window-glow::after {
  left: 0;
  right: 0;
  top: 44%;
  height: 3px;
}
.hero-scattered-pages {
  position: absolute;
  inset: 0;
}
.paper-scrap {
  position: absolute;
  display: block;
  background:
    linear-gradient(148deg, #ddd7c6 0%, #cbc4b1 58%, #b3ac99 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
}
.paper-scrap::after {
  content: "";
  position: absolute;
  inset: 12% 14%;
  background: repeating-linear-gradient(180deg, rgba(60, 62, 56, 0.3) 0 1px, transparent 1px 8px);
  opacity: 0.6;
}
.paper-scrap-a {
  top: 16%;
  right: 30%;
  width: 15%;
  height: 52%;
  transform: rotate(-7deg);
  clip-path: polygon(0 0, 100% 4%, 94% 100%, 3% 96%);
}
.paper-scrap-b {
  bottom: 8%;
  right: 14%;
  width: 20%;
  height: 44%;
  transform: rotate(5deg);
  clip-path: polygon(4% 2%, 100% 0, 97% 92%, 0 100%);
}
.paper-scrap-c {
  top: 34%;
  right: 46%;
  width: 11%;
  height: 34%;
  transform: rotate(13deg);
  clip-path: polygon(0 6%, 96% 0, 100% 94%, 6% 100%);
}
.movie-tagline {
  position: absolute;
  right: 20px;
  bottom: 14px;
  z-index: 5;
  max-width: min(58%, 460px);
  font-family: var(--heavy-font);
  font-weight: 700;
  font-size: clamp(13px, 1.5vw, 19px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--tungsten-hot);
  text-align: right;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 22px rgba(230, 177, 104, 0.22);
}
.dossier-strip {
  margin-top: 14px;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 16px 20px;
  align-items: start;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(38, 45, 39, 0.92), rgba(31, 37, 32, 0.92));
  border: 1px solid var(--rule-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 26px rgba(0, 0, 0, 0.35);
}
.overview-poster-wrap {
  align-self: start;
  width: 100%;
  border: 1px solid var(--rule-strong);
  background: #1b201c;
  overflow: hidden;
}
.overview-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}
.overview-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.movie-title {
  font-family: var(--heavy-font);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: var(--paper);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
.overview-body .movie-tagline {
  position: static;
  max-width: none;
  text-align: left;
  color: var(--tungsten);
  font-size: 13px;
  text-shadow: none;
  border-left: 2px solid rgba(230, 177, 104, 0.5);
  padding-left: 9px;
}
.overview-player-wrap {
  position: relative;
  width: 100%;
  border: 1px solid var(--rule-strong);
  background: #0e120f;
  padding-bottom: 0;
}
.main-player {
  display: block;
  width: 100%;
  height: auto;
  background: #050706;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  padding: 6px 7px;
  background: linear-gradient(180deg, rgba(22, 27, 23, 0.96), rgba(15, 19, 16, 0.96));
  border-top: 1px solid var(--rule);
}
.ctrl-btn {
  font-family: var(--heavy-font);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  background: rgba(216, 210, 194, 0.06);
  border: 1px solid var(--rule-strong);
  border-radius: 1px;
  padding: 3px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.ctrl-btn:hover {
  color: var(--tungsten-hot);
  border-color: rgba(230, 177, 104, 0.55);
  background: rgba(230, 177, 104, 0.1);
}
.ctrl-btn.is-active, .ctrl-btn.is-playing, .ctrl-btn.is-muted, .ctrl-btn.is-off {
  color: var(--tungsten-hot);
  border-color: rgba(230, 177, 104, 0.7);
  background: rgba(230, 177, 104, 0.16);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 14px;
  accent-color: var(--tungsten);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 14px;
  accent-color: var(--tungsten);
  cursor: pointer;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.status-item {
  font-family: var(--mono-font);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--paper-dim);
  border: 1px solid var(--rule);
  background: rgba(216, 210, 194, 0.045);
  padding: 2px 7px;
}
.details-table {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 4px 10px 4px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 4.4em;
  color: var(--ink-soft);
  color: #8b9284;
  font-family: var(--heavy-font);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--paper);
}
.cast-strip {
  border-top: 1px solid var(--rule);
  padding-top: 9px;
}
.cast-heading {
  font-family: var(--heavy-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #8b9284;
  margin-bottom: 7px;
}
.cast-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
  scrollbar-width: thin;
  scrollbar-color: rgba(230, 177, 104, 0.4) transparent;
}
.cast-list::-webkit-scrollbar {
  height: 5px;
}
.cast-list::-webkit-scrollbar-thumb {
  background: rgba(230, 177, 104, 0.35);
}
.cast-card {
  flex: 0 0 auto;
  width: 84px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cast-portrait {
  display: block;
}
.cast-portrait-square {
  width: 84px;
  height: 84px;
  border-radius: 0;
  background:
    linear-gradient(135deg, #575f55 0%, #3a423b 55%, #262d27 100%);
  border: 1px solid var(--rule-strong);
  position: relative;
  overflow: hidden;
}
.cast-portrait-square::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(230, 177, 104, 0.28), transparent 62%),
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.16) 0 2px, transparent 2px 6px);
}
.cast-name {
  font-family: var(--heavy-font);
  font-size: 12px;
  color: var(--paper);
  line-height: 1.25;
}
.cast-role {
  font-size: 11px;
  color: #8b9284;
  line-height: 1.25;
}
.section-heading {
  font-family: var(--heavy-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--tungsten);
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--rule-strong);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 1px;
  background: var(--tungsten);
}
.synopsis-block {
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.62;
  color: #c6c0b0;
  margin-bottom: 8px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.timeline-block {
  margin-top: 22px;
}
.timeline-list {
  border-left: 1px solid var(--rule-strong);
  margin-left: 4px;
  padding-left: 0;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 4.6em 1fr;
  gap: 2px 14px;
  align-items: baseline;
  padding: 5px 0 5px 16px;
  border-bottom: 1px solid var(--rule);
}
.timeline-timecode {
  font-family: var(--mono-font);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--tungsten);
  grid-column: 1;
}
.timeline-dot {
  position: absolute;
  left: -3px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6b7266;
  box-shadow: 0 0 0 2px rgba(60, 68, 63, 0.9);
}
.timeline-label {
  grid-column: 2;
  font-size: 12.5px;
  line-height: 1.5;
  color: #c6c0b0;
}
.episodes-block {
  margin-top: 22px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.episode-card {
  background: rgba(34, 40, 35, 0.75);
  padding: 8px 10px 7px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: background 0.16s ease;
}
.episode-card:hover {
  background: rgba(48, 56, 48, 0.85);
}
.episode-title {
  font-family: var(--heavy-font);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--paper);
}
.episode-number {
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 400;
  color: var(--tungsten);
  margin-right: 6px;
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: #9ea494;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-family: var(--mono-font);
  font-size: 10.5px;
  color: #7b8274;
  letter-spacing: 0.04em;
}
.comments-block {
  margin-top: 22px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 20px;
  align-items: start;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.comment-list-right {
  padding-top: 20px;
}
.comment-card {
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
}
.comment-nickname {
  display: block;
  font-family: var(--mono-font);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--tungsten);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: #c0baaa;
}
.recommendations-region {
  margin-top: 22px;
}
.recommendation-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  align-items: start;
}
a.recommendation-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: rgba(34, 40, 35, 0.72);
  border: 1px solid var(--rule);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
a.recommendation-item:hover {
  border-color: rgba(230, 177, 104, 0.55);
  background: rgba(48, 56, 48, 0.9);
  text-decoration: none;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
  background: #171c18;
}
.recommendation-name {
  font-family: var(--heavy-font);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--paper);
}
.recommendation-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: #9ea494;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--rule-strong);
  background: linear-gradient(180deg, rgba(28, 33, 29, 0.95), rgba(22, 26, 23, 0.98));
  padding: 16px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: #8b9284;
  max-width: 720px;
  margin-bottom: 10px;
}
.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--heavy-font);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--tungsten-hot);
  border-bottom-color: rgba(230, 177, 104, 0.6);
  text-decoration: none;
}
.footer-friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}
.friend-links-label {
  font-family: var(--heavy-font);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #7b8274;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #9ea494;
  text-decoration: none;
  border-bottom: 1px dotted rgba(158, 164, 148, 0.4);
}
a.runtime-friend-link:hover {
  color: var(--tungsten);
  border-bottom-color: rgba(230, 177, 104, 0.7);
  text-decoration: none;
}
body.theater-mode .page-main {
  max-width: 100%;
}
body.theater-mode .overview-player-wrap {
  border-color: rgba(230, 177, 104, 0.5);
  box-shadow: 0 0 0 1px rgba(230, 177, 104, 0.2), 0 12px 34px rgba(0, 0, 0, 0.55);
}
body.lights-off {
  background-image:
    radial-gradient(circle at 50% 40%, rgba(230, 177, 104, 0.05), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.008) 0 1px, transparent 1px 3px);
}
body.lights-off .hero-window-glow, body.lights-off .paper-scrap {
  opacity: 0.32;
}
body.lights-off .overview-player-wrap {
  box-shadow: 0 0 0 1px rgba(230, 177, 104, 0.35), 0 0 40px rgba(230, 177, 104, 0.14);
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 12px 16px;
  }
.recommendation-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }}
@media (max-width: 720px) {.header-inner {
    gap: 10px;
    padding: 6px 12px;
  }
.category-bar {
    padding-left: 10px;
  }
.page-main {
    padding: 0 12px 20px;
  }
.hero-attic {
    margin: 0 -12px;
    height: clamp(180px, 42vw, 260px);
  }
.movie-tagline {
    right: 12px;
    bottom: 10px;
    max-width: 72%;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
.overview-poster-wrap {
    width: min(46%, 180px);
  }
.timeline-item {
    grid-template-columns: 4.2em 1fr;
    gap: 2px 10px;
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.comment-list-right {
    padding-top: 0;
  }
.recommendation-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 9px;
  }
.site-footer {
    padding: 13px 12px;
  }}
@media (max-width: 560px) {body {
    font-size: 13px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-table {
    grid-template-columns: minmax(0, 1fr);
  }
.recommendation-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-card, .cast-portrait-square {
    width: 72px;
  }
.cast-portrait-square {
    height: 72px;
  }
.overview-poster-wrap {
    width: min(58%, 170px);
  }
.ctrl-btn {
    font-size: 10.5px;
    padding: 3px 6px;
  }
.ctrl-progress {
    flex: 1 1 100%;
  }}
@media (max-width: 380px) {.recommendation-list {
    grid-template-columns: minmax(0, 1fr);
  }
.movie-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}
