*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --paper: #d9cba3;
  --paper-deep: #c8b78c;
  --ink: #2a2620;
  --ink-soft: #4a4238;
  --moss: #6b7a4a;
  --moss-deep: #3f4a2c;
  --rust: #8b3a2a;
  --rust-deep: #5e2419;
  --dark: #16130f;
  --dark-2: #221d16;
  --line: rgba(42, 38, 32, 0.28);
  --line-soft: rgba(42, 38, 32, 0.14);
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(107, 122, 74, 0.16), transparent 62%),
    radial-gradient(90% 70% at 92% 6%, rgba(139, 58, 42, 0.14), transparent 58%),
    linear-gradient(180deg, #1c1813 0%, #211c15 42%, #17130e 100%);
  background-attachment: fixed;
  color: var(--paper);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol, dl { list-style: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(22, 19, 15, 0.97), rgba(22, 19, 15, 0.88));
  border-bottom: 1px solid rgba(217, 203, 163, 0.16);
  backdrop-filter: blur(3px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: #e6d9b4;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: 0.22em;
  font-weight: 700;
  border-left: 3px solid var(--rust);
  padding-left: 9px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
a[data-contract="site-name"]:hover { color: #f3e9cb; }
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  padding: 2px 9px;
  color: #b9c39a;
  text-decoration: none;
  border: 1px solid rgba(185, 195, 154, 0.34);
  background: rgba(63, 74, 44, 0.28);
  letter-spacing: 0.12em;
}
a.runtime-category:hover {
  color: #f0e6c6;
  border-color: var(--rust);
  background: rgba(139, 58, 42, 0.34);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 14px 30px;
  display: block;
}
.page-main > section { margin-bottom: 22px; }
.page-main > section:last-child { margin-bottom: 0; }
.section-heading, .block-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #d8c9a0;
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid rgba(217, 203, 163, 0.22);
  position: relative;
}
.section-heading::before, .block-heading::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  vertical-align: 1px;
  background: var(--rust);
  transform: rotate(45deg);
}
.block-heading { font-size: 12.5px; letter-spacing: 0.24em; }
.ledger-head {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 16px 20px;
  align-items: start;
  background:
    linear-gradient(90deg, rgba(200, 183, 140, 0.06), transparent 40%),
    linear-gradient(180deg, rgba(22, 19, 15, 0.72), rgba(22, 19, 15, 0.55));
  border: 1px solid rgba(217, 203, 163, 0.16);
  border-left: 3px solid var(--rust-deep);
  padding: 14px;
  position: relative;
}
.ledger-head::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(217, 203, 163, 0.035) 0 1px, transparent 1px 26px);
}
.ledger-poster-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.poster-frame {
  position: relative;
  padding: 5px;
  background: linear-gradient(150deg, #c8b78c, #8e7c53);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(42, 38, 32, 0.4);
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.82) contrast(1.06) sepia(0.16);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(139, 58, 42, 0.18), transparent 45%),
    radial-gradient(80% 60% at 70% 90%, rgba(22, 19, 15, 0.42), transparent 70%);
}
.episode-status {
  border: 1px dashed rgba(217, 203, 163, 0.3);
  padding: 6px 8px;
  background: rgba(63, 74, 44, 0.18);
}
.status-line {
  font-size: 12px;
  color: #e2d6ae;
  letter-spacing: 0.1em;
}
.status-note {
  font-size: 11px;
  color: #9aa87c;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.ledger-lede {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.movie-title {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: #f0e5c4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  font-weight: 700;
}
.movie-tagline {
  font-size: 12.5px;
  color: #c7a97f;
  letter-spacing: 0.16em;
  padding-left: 8px;
  border-left: 2px solid var(--rust);
}
.movie-seo {
  font-size: 12px;
  line-height: 1.62;
  color: #b7ab8c;
  text-align: justify;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #0c0a07;
  border: 1px solid rgba(217, 203, 163, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 6px 7px;
  background: linear-gradient(180deg, rgba(34, 29, 22, 0.96), rgba(22, 19, 15, 0.98));
  border-top: 1px solid rgba(217, 203, 163, 0.14);
}
.ctrl {
  font-family: inherit;
  font-size: 11px;
  color: #cdbf98;
  background: rgba(63, 74, 44, 0.32);
  border: 1px solid rgba(217, 203, 163, 0.22);
  padding: 3px 8px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  appearance: none;
  border-radius: 0;
}
.ctrl:hover { background: rgba(139, 58, 42, 0.4); color: #f1e6c6; border-color: var(--rust); }
.ctrl-progress { flex: 1 1 140px; min-width: 90px; height: 14px; padding: 0; background: none; border: none; }
.ctrl-volume { flex: 0 1 80px; min-width: 60px; height: 14px; padding: 0; background: none; border: none; }
input[type="range"].ctrl { accent-color: var(--rust); cursor: pointer; }
.ctrl-speed { padding-right: 4px; }
.ctrl-speed option { background: #221d16; color: #cdbf98; }
.player-shell.is-playing .ctrl-play { background: rgba(139, 58, 42, 0.55); color: #f5ead0; }
.player-shell.is-muted .ctrl-mute { background: rgba(139, 58, 42, 0.55); color: #f5ead0; }
.player-shell.is-pip .ctrl-pip { background: rgba(107, 122, 74, 0.55); color: #f5ead0; }
.player-shell.is-theater .ctrl-theater { background: rgba(107, 122, 74, 0.55); color: #f5ead0; }
.player-shell.is-dark .ctrl-light { background: rgba(139, 58, 42, 0.55); color: #f5ead0; }
.player-shell.is-fullscreen .ctrl-fullscreen { background: rgba(139, 58, 42, 0.55); color: #f5ead0; }
.player-shell.is-dark video { filter: brightness(0.62) contrast(1.1); }
.player-shell.is-theater { box-shadow: 0 0 0 1px rgba(139, 58, 42, 0.5), 0 6px 22px rgba(0, 0, 0, 0.7); }
.cast-block { min-width: 0; }
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 5px 3px;
  border-top: 1px solid var(--line-soft);
  min-width: 0;
}
.cast-portrait {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.08) sepia(0.2);
  border: 1px solid rgba(217, 203, 163, 0.4);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}
.cast-name {
  font-size: 12px;
  color: #e5d9b4;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.05;
  max-height: 74px;
}
.cast-role {
  font-size: 10.5px;
  color: #8d9a70;
  letter-spacing: 0.06em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.05;
  max-height: 96px;
}
.synopsis-block { min-width: 0; }
.synopsis-para {
  font-size: 12px;
  line-height: 1.62;
  color: #b9ad8e;
  text-align: justify;
  margin-bottom: 6px;
  text-indent: 2em;
  border-left: 1px solid var(--line-soft);
  padding-left: 8px;
}
.synopsis-para:last-child { margin-bottom: 0; }
.details-block { min-width: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 14px;
  border-top: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(217, 203, 163, 0.18);
  min-width: 0;
}
.detail-key {
  font-size: 11px;
  color: #8d9a70;
  letter-spacing: 0.14em;
  flex: 0 0 auto;
  min-width: 4.6em;
}
.detail-value {
  font-size: 12px;
  color: #ddd0a8;
  letter-spacing: 0.04em;
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
}
.timeline-section { min-width: 0; }
.timeline-split {
  display: grid;
  grid-template-columns: minmax(0, 92px) minmax(0, 1fr);
  gap: 0 14px;
  align-items: start;
}
.timeline-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-right: 1px solid rgba(139, 58, 42, 0.5);
  padding-right: 8px;
  position: relative;
}
.timeline-mark {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 26px;
  position: relative;
}
.timeline-mark::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  width: 7px;
  height: 1px;
  background: rgba(139, 58, 42, 0.7);
}
.timeline-mark::before {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 4px;
  height: 4px;
  background: var(--rust);
}
.mark-timecode {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #c8a97c;
  white-space: nowrap;
}
.timeline-entries {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.timeline-entry {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(217, 203, 163, 0.16);
  min-height: 26px;
}
.entry-timecode {
  flex: 0 0 auto;
  font-size: 10.5px;
  color: #7f8c63;
  letter-spacing: 0.1em;
  white-space: nowrap;
  min-width: 3.6em;
}
.entry-label {
  font-size: 12px;
  line-height: 1.5;
  color: #bdb195;
  letter-spacing: 0.02em;
}
.episodes-section { min-width: 0; }
.episode-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  grid-template-rows: auto;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(139, 58, 42, 0.7) rgba(22, 19, 15, 0.5);
  scrollbar-width: thin;
}
.episode-track::-webkit-scrollbar { height: 7px; }
.episode-track::-webkit-scrollbar-track { background: rgba(22, 19, 15, 0.6); }
.episode-track::-webkit-scrollbar-thumb { background: rgba(139, 58, 42, 0.75); }
.episode-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px;
  background: linear-gradient(170deg, rgba(217, 203, 163, 0.1), rgba(22, 19, 15, 0.5));
  border: 1px solid rgba(217, 203, 163, 0.16);
  border-top: 2px solid var(--moss);
  min-width: 0;
}
.episode-number {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: #9aab78;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ecdfb8;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: #a89d80;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  font-size: 10.5px;
  color: #8b7f63;
  letter-spacing: 0.12em;
  margin-top: 1px;
  border-top: 1px dotted rgba(217, 203, 163, 0.18);
  padding-top: 3px;
}
.comments-section { min-width: 0; }
.comment-notes {
  columns: 2;
  column-gap: 14px;
}
.comment-note {
  break-inside: avoid;
  margin-bottom: 9px;
  padding: 7px 9px 8px;
  background: linear-gradient(160deg, rgba(217, 203, 163, 0.13), rgba(200, 183, 140, 0.05));
  border: 1px solid rgba(217, 203, 163, 0.18);
  border-left: 3px solid var(--rust-deep);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.42);
  transform: rotate(-0.35deg);
}
.comment-note:nth-child(even) { transform: rotate(0.5deg); border-left-color: var(--moss); }
.comment-nick {
  display: block;
  font-size: 11px;
  color: #c9a97c;
  letter-spacing: 0.14em;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.58;
  color: #b5a98b;
  text-align: justify;
}
.rec-region { min-width: 0; }
.rec-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.rec-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(165deg, rgba(217, 203, 163, 0.1), rgba(22, 19, 15, 0.5));
  border: 1px solid rgba(217, 203, 163, 0.16);
  min-width: 0;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.rec-card:hover {
  border-color: var(--rust);
  background: linear-gradient(165deg, rgba(139, 58, 42, 0.24), rgba(22, 19, 15, 0.55));
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.78) contrast(1.05) sepia(0.14);
  border: 1px solid rgba(217, 203, 163, 0.14);
}
.rec-name {
  font-size: 12px;
  color: #e3d7b1;
  letter-spacing: 0.06em;
  line-height: 1.35;
}
.rec-blurb {
  font-size: 10.5px;
  line-height: 1.45;
  color: #948a6e;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-region-1 .section-heading::before { background: var(--rust); }
.rec-region-2 .section-heading::before { background: var(--moss); }
.rec-region-3 .section-heading::before { background: var(--paper-deep); }
.site-footer {
  border-top: 1px solid rgba(217, 203, 163, 0.18);
  background: linear-gradient(180deg, rgba(22, 19, 15, 0.9), rgba(12, 10, 7, 0.98));
  margin-top: 10px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: #7f7660;
  letter-spacing: 0.02em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  border-top: 1px solid var(--line-soft);
  padding-top: 7px;
}
a.footer-link {
  font-size: 11.5px;
  color: #b3a888;
  text-decoration: none;
  letter-spacing: 0.14em;
  border-bottom: 1px solid transparent;
}
a.footer-link:hover { color: #f0e5c4; border-bottom-color: var(--rust); }
a[data-contract="footer-home"] { color: #c8a97c; }
a[data-contract="footer-sitemap"] { color: #9aab78; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  border-top: 1px solid var(--line-soft);
  padding-top: 7px;
}
.friend-label {
  font-size: 11px;
  color: #8d9a70;
  letter-spacing: 0.16em;
  flex: 0 0 auto;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #918869;
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 5px;
  border: 1px solid rgba(217, 203, 163, 0.14);
  background: rgba(63, 74, 44, 0.14);
}
a.runtime-friend-link:hover {
  color: #efe3c1;
  border-color: var(--rust);
  background: rgba(139, 58, 42, 0.3);
}
@media (max-width: 860px) {.ledger-head {
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
    gap: 12px 16px;
    padding: 12px;
  }
.movie-title { font-size: 21px; }
.rec-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-track { grid-auto-columns: minmax(168px, 1fr); }}
@media (max-width: 640px) {body { font-size: 13px; }
.header-inner { padding: 7px 10px; gap: 6px 12px; }
a[data-contract="site-name"] { font-size: 15px; letter-spacing: 0.16em; }
.page-main { padding: 10px 10px 22px; }
.page-main > section { margin-bottom: 16px; }
.ledger-head {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
  }
.ledger-poster-column {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
  }
.poster-frame { flex: 0 0 auto; width: 132px; }
.episode-status { flex: 1 1 130px; align-self: flex-start; }
.movie-title { font-size: 19px; }
.movie-tagline { font-size: 11.5px; }
.player-controls { gap: 3px 4px; padding: 5px; }
.ctrl { font-size: 10.5px; padding: 3px 6px; }
.ctrl-progress { flex: 1 1 100%; order: -1; }
.ctrl-volume { flex: 0 1 60px; }
.cast-row { grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 6px; }
.cast-portrait { width: 44px; height: 44px; }
.details-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.timeline-split { grid-template-columns: minmax(0, 66px) minmax(0, 1fr); gap: 0 10px; }
.entry-label { font-size: 11.5px; }
.entry-timecode { min-width: 3.2em; font-size: 10px; }
.episode-track { grid-auto-columns: minmax(160px, 78%); }
.comment-notes { columns: 1; }
.comment-note { transform: none; }
.rec-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 420px) {.rec-grid-3 { grid-template-columns: minmax(0, 1fr); }
.cast-name, .cast-role { writing-mode: horizontal-tb; }
.cast-item { align-items: flex-start; }
.episode-track { grid-auto-columns: minmax(150px, 86%); }
.poster-frame { width: 116px; }}

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}
