:root {
  --paper: #cfc3ad;
  --paper-deep: #b8a98f;
  --ink: #1a1714;
  --ink-soft: #3b342c;
  --stain: #a8925f;
  --blue: #1c3a6e;
  --blue-bright: #2a52a0;
  --rule: rgba(28, 58, 110, 0.35);
  --serif: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", serif;
  --mono: "Courier New", "Nimbus Mono PS", "Consolas", "Menlo", monospace;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #14110d;
  background-image:
    radial-gradient(ellipse at 18% 8%, rgba(168, 146, 95, 0.14), transparent 55%),
    radial-gradient(ellipse at 82% 74%, rgba(168, 146, 95, 0.1), transparent 60%),
    linear-gradient(160deg, #1b1712 0%, #100d0a 60%, #191510 100%);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 13, 10, 0.94);
  border-bottom: 1px solid rgba(28, 58, 110, 0.5);
  backdrop-filter: blur(2px);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding: 8px 14px;
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="site-name"].brand-name {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.16em;
  color: #e6dcc6;
  text-decoration: none;
  text-shadow: 0 0 1px rgba(28, 58, 110, 0.8);
  white-space: nowrap;
}
a[data-contract="site-name"].brand-name:hover {
  color: var(--blue-bright);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  color: #b9ac93;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  padding: 2px 6px;
  border-left: 1px solid rgba(28, 58, 110, 0.55);
  transition: color 0.15s ease, background-color 0.15s ease;
}
a.runtime-category:hover {
  color: #f0e8d4;
  background: rgba(28, 58, 110, 0.35);
  text-decoration: underline;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 14px 40px;
}
.block-heading {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #d8cbae;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
.hero-note {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.25fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}
.hero-paper {
  position: relative;
  grid-column: 1;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 12% 18%, rgba(168, 146, 95, 0.55), transparent 42%),
    radial-gradient(ellipse at 88% 82%, rgba(120, 96, 52, 0.5), transparent 48%),
    radial-gradient(circle at 62% 44%, rgba(90, 72, 40, 0.35), transparent 26%),
    linear-gradient(105deg, #c9bda5 0%, #bcb096 48%, #a99c81 100%);
  border: 1px solid #6f6450;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.62),
    inset 0 0 60px rgba(84, 68, 40, 0.45);
  padding: 18px 16px 20px 42px;
  overflow: hidden;
  min-width: 0;
}
.hero-spine {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 26px;
  background:
    linear-gradient(90deg, #3a2d1f 0%, #57432c 42%, #6d5537 68%, #3f3122 100%);
  box-shadow: inset -3px 0 6px rgba(0, 0, 0, 0.6);
}
.hero-spine::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 9px;
  width: 1px;
  background: repeating-linear-gradient(
    180deg,
    rgba(220, 200, 160, 0.5) 0 5px,
    transparent 5px 11px
  );
}
.hero-knife-scar {
  position: absolute;
  left: 38%;
  top: 56%;
  width: 46%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #4a3d28 12%, #2e2418 50%, #4a3d28 88%, transparent);
  transform: rotate(-4deg);
  box-shadow: 0 1px 0 rgba(255, 250, 235, 0.35), 0 -1px 0 rgba(70, 55, 32, 0.6);
  opacity: 0.85;
}
.hero-knife-scar::after {
  content: "";
  position: absolute;
  left: 8%;
  top: 5px;
  width: 82%;
  height: 1px;
  background: rgba(60, 46, 26, 0.5);
  transform: rotate(1.5deg);
}
.hero-stain {
  position: absolute;
  left: -6px;
  bottom: 8px;
  width: 44%;
  height: 34%;
  border-radius: 50% 40% 60% 50% / 60% 50% 45% 55%;
  background: radial-gradient(ellipse at 40% 50%, rgba(150, 122, 60, 0.55), rgba(150, 122, 60, 0) 72%);
  pointer-events: none;
}
.hero-poster-wrap {
  position: relative;
  width: 46%;
  min-width: 120px;
  max-width: 200px;
  aspect-ratio: 2 / 3;
  margin-bottom: 12px;
  border: 1px solid #5d5140;
  box-shadow: 3px 4px 0 rgba(50, 40, 24, 0.55);
  transform: rotate(-1.4deg);
  background: #8d8270;
  overflow: hidden;
}
.hero-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.28) contrast(1.06) brightness(0.94);
}
.movie-title {
  position: relative;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: 0.05em;
  color: #241d14;
  text-shadow: 0 1px 0 rgba(255, 250, 235, 0.4);
  margin-bottom: 8px;
  max-width: 88%;
}
.movie-tagline {
  position: relative;
  font-size: 12px;
  line-height: 1.7;
  color: #3a2f1f;
  letter-spacing: 0.08em;
  max-width: 82%;
  padding-left: 10px;
  border-left: 2px solid rgba(28, 58, 110, 0.75);
  text-shadow: 0 1px 0 rgba(255, 252, 240, 0.35);
}
.player-shell {
  grid-column: 2;
  position: relative;
  min-width: 0;
  width: 100%;
  background: #0d0b08;
  border: 1px solid #4a4030;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  padding: 0;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #1d1913, #12100c);
  border-top: 1px solid rgba(28, 58, 110, 0.4);
}
.ctrl-btn {
  background: #241f18;
  border: 1px solid #57492f;
  color: #d3c7ad;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ctrl-btn:hover {
  background: var(--blue);
  border-color: var(--blue-bright);
  color: #f2ecda;
}
.ctrl-btn.is-playing, .ctrl-btn.is-active {
  background: var(--blue);
  color: #f4eede;
  border-color: var(--blue-bright);
}
.ctrl-btn.is-muted {
  color: #8d8270;
  border-color: #4a4030;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: #4a4030;
  border: none;
  cursor: pointer;
  flex: 1 1 90px;
  min-width: 70px;
  max-width: 220px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 15px;
  background: var(--blue-bright);
  border: 1px solid #0c1830;
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 9px;
  height: 15px;
  background: var(--blue-bright);
  border: 1px solid #0c1830;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-select {
  background: #241f18;
  border: 1px solid #57492f;
  color: #d3c7ad;
  font-size: 11px;
  padding: 3px 4px;
  cursor: pointer;
}
.details-strip {
  background: rgba(30, 25, 19, 0.85);
  border: 1px solid rgba(28, 58, 110, 0.4);
  border-left: 3px solid var(--blue);
  padding: 10px 12px;
  margin-bottom: 14px;
}
.strip-heading {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #a99c81;
  margin-bottom: 6px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 3px 18px;
}
.detail-pair {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px dotted rgba(169, 156, 129, 0.22);
  padding: 2px 0;
}
.detail-pair dt {
  flex: 0 0 auto;
  color: #8d8270;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.detail-pair dd {
  color: #d8cbae;
  font-size: 12px;
}
.synopsis-block {
  margin-bottom: 14px;
}
.synopsis-body {
  columns: 2;
  column-gap: 26px;
  column-rule: 1px solid rgba(28, 58, 110, 0.28);
}
.synopsis-body p {
  break-inside: avoid;
  font-size: 12px;
  line-height: 1.72;
  color: #bfb298;
  margin-bottom: 8px;
  text-indent: 2em;
}
.episode-status {
  margin-bottom: 14px;
}
.status-line {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #d8cbae;
  padding: 6px 10px;
  background: rgba(28, 58, 110, 0.22);
  border-left: 3px solid var(--blue-bright);
  display: inline-block;
}
.cast-block {
  margin-bottom: 14px;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}
.cast-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #4d4436;
  background-image:
    radial-gradient(circle at 50% 32%, rgba(207, 195, 173, 0.35) 0 18%, transparent 20%),
    radial-gradient(ellipse at 50% 96%, rgba(207, 195, 173, 0.22) 0 34%, transparent 36%),
    linear-gradient(160deg, #5d5342, #322b21);
  border: 1px solid #6b5e47;
  filter: grayscale(0.35) sepia(0.2);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.55);
}
.cast-name {
  display: block;
  margin-top: -14px;
  padding: 2px 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  color: #efe7d3;
  background: linear-gradient(180deg, rgba(16, 13, 10, 0.15), rgba(16, 13, 10, 0.92));
  border-top: 1px solid rgba(28, 58, 110, 0.7);
  text-shadow: 0 1px 2px #000;
}
.timeline-block {
  margin: 26px 0 34px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 26px;
  border-top: 1px solid rgba(28, 58, 110, 0.4);
}
.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 0 9px;
  border-bottom: 1px solid rgba(169, 156, 129, 0.3);
  min-width: 0;
}
.timeline-tc {
  order: 2;
  align-self: flex-end;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--blue-bright);
  transform: translateX(6px);
}
.timeline-label {
  order: 1;
  font-size: 12px;
  line-height: 1.55;
  color: #c6b99e;
  max-width: 94%;
}
.episodes-block {
  margin-bottom: 34px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 4px;
  align-items: start;
  padding: 10px 12px 10px 6px;
  background: rgba(30, 25, 19, 0.72);
  border: 1px solid rgba(110, 96, 70, 0.5);
  border-left: 2px solid rgba(169, 156, 129, 0.45);
  min-width: 0;
}
.episode-card.is-current {
  background: var(--blue);
  border-color: var(--blue-bright);
  border-left-color: #f2ecda;
}
.episode-number {
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 0.86;
  font-weight: 700;
  color: rgba(207, 195, 173, 0.85);
  letter-spacing: -0.03em;
  text-align: center;
  transform: translateY(2px);
}
.episode-card.is-current .episode-number {
  color: #f4eede;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}
.episode-title {
  grid-column: 2;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #e2d8c0;
  margin-top: 2px;
}
.episode-card.is-current .episode-title {
  color: #ffffff;
}
.episode-summary {
  grid-column: 2;
  font-size: 11px;
  line-height: 1.62;
  color: #a99c81;
}
.episode-card.is-current .episode-summary {
  color: rgba(244, 238, 222, 0.9);
}
.episode-duration {
  grid-column: 2;
  justify-self: start;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #8d8270;
  border-top: 1px solid rgba(169, 156, 129, 0.3);
  padding-top: 3px;
  margin-top: 2px;
}
.episode-card.is-current .episode-duration {
  color: rgba(244, 238, 222, 0.75);
  border-top-color: rgba(244, 238, 222, 0.4);
}
.comments-block {
  margin-bottom: 34px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 16px;
  align-items: start;
  padding: 4px 2px;
}
.comment-card {
  position: relative;
  background-color: #cdc0a6;
  background-image:
    radial-gradient(ellipse at 8% 12%, rgba(168, 146, 95, 0.4), transparent 45%),
    linear-gradient(150deg, #d3c7ae, #b3a68b);
  border: 1px solid #7a6d54;
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.45), 0 8px 16px rgba(0, 0, 0, 0.4);
  padding: 10px 12px 12px;
  color: #2b2318;
  min-width: 0;
}
.comment-card:nth-child(3n + 1) {
  transform: rotate(-1.3deg);
}
.comment-card:nth-child(3n + 2) {
  transform: rotate(1.1deg);
}
.comment-card:nth-child(3n) {
  transform: rotate(-0.5deg);
}
.comment-card:nth-child(even) {
  margin-top: 10px;
}
.comment-nickname {
  display: inline-block;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--blue);
  border-bottom: 1px solid rgba(28, 58, 110, 0.55);
  padding-bottom: 1px;
  margin-bottom: 5px;
}
.comment-text {
  font-size: 11px;
  line-height: 1.68;
  color: #33291c;
}
.rec-region {
  margin-bottom: 22px;
  border: 1px solid rgba(28, 58, 110, 0.55);
  padding: 10px 12px 12px;
  background: rgba(22, 18, 14, 0.6);
}
.rec-region-1 {
  border-top-width: 2px;
}
.rec-region-2 {
  border-top-width: 2px;
}
.rec-region-3 {
  border-top-width: 2px;
  margin-bottom: 10px;
}
.rec-title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #d8cbae;
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--blue-bright);
  margin-bottom: 9px;
}
.rec-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px 14px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(110, 96, 70, 0.4);
  background: rgba(30, 25, 19, 0.8);
  color: #c6b99e;
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
a.rec-item:hover {
  border-color: var(--blue-bright);
  background: rgba(28, 58, 110, 0.28);
  text-decoration: underline;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #241f18;
  border: 1px solid #4a4030;
  filter: sepia(0.25) contrast(1.05) brightness(0.95);
}
a.rec-item [data-runtime="name"] {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #e2d8c0;
  line-height: 1.4;
}
a.rec-item [data-runtime="blurb"] {
  font-size: 10.5px;
  line-height: 1.6;
  color: #8d8270;
}
.site-footer {
  border-top: 1px solid rgba(28, 58, 110, 0.5);
  background: #100d0a;
  padding: 14px 14px 22px;
  max-width: 1180px;
  margin: 0 auto;
  font-size: 11px;
  color: #8d8270;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #a99c81;
  text-decoration: none;
  letter-spacing: 0.1em;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--blue-bright);
  border-bottom-color: var(--blue-bright);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.7;
  color: #6f6450;
  margin-bottom: 12px;
  max-width: 78ch;
}
.friend-links {
  border-top: 1px solid rgba(28, 58, 110, 0.35);
  padding-top: 9px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.friend-heading {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #a99c81;
  margin-right: 6px;
}
a.runtime-friend-link {
  color: #b9ac93;
  text-decoration: none;
  white-space: nowrap;
  border-left: 1px solid rgba(28, 58, 110, 0.5);
  padding-left: 8px;
}
a.runtime-friend-link:hover {
  color: var(--blue-bright);
  text-decoration: underline;
}
.player-shell.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: auto;
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000;
}
.player-shell.theater-mode video {
  max-height: 82vh;
  object-fit: contain;
}
body.lights-off {
  background-image: none;
  background-color: #050403;
}
body.lights-off .site-header, body.lights-off .site-footer {
  opacity: 0.4;
}
body.lights-off .page-main {
  filter: brightness(0.82);
}
@media (max-width: 960px) {.hero-note {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-paper, .player-shell {
    grid-column: 1;
  }
.player-shell {
    width: 100%;
    min-width: 0;
  }
.episode-grid {
    gap: 8px;
  }}
@media (max-width: 760px) {.page-main {
    padding: 12px 10px 30px;
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.hero-paper {
    padding: 14px 12px 16px 34px;
  }
.movie-title {
    font-size: 22px;
    max-width: 100%;
  }
.movie-tagline {
    max-width: 100%;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-block {
    margin: 20px 0 24px;
  }
.episodes-block, .comments-block {
    margin-bottom: 24px;
  }
.comment-card:nth-child(even) {
    margin-top: 0;
  }}
@media (max-width: 460px) {.header-inner {
    padding: 7px 10px;
    gap: 4px 12px;
  }
a[data-contract="site-name"].brand-name {
    font-size: 15px;
  }
.hero-poster-wrap {
    width: 58%;
    max-width: 170px;
  }
.episode-card {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 9px 9px 9px 5px;
  }
.episode-number {
    font-size: 32px;
  }
.ctrl-range {
    flex: 1 1 60px;
  }}

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}
