*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
:root {
  --ink-dark: #10201a;
  --ink-deep: #0a1611;
  --ink-mid: #1b2f26;
  --ink-soft: #234034;
  --moss: #2f4a3c;
  --moss-line: #3d5c4b;
  --brass: #b98b3a;
  --brass-bright: #d6a94e;
  --brass-dim: #7d5f26;
  --parchment: #e8dcc0;
  --parchment-dim: #c9bb98;
  --ash: #a9b3a4;
  --ash-dim: #7b8a7b;
  --faded-red: #8f3b34;
  --faded-red-soft: #a8504a;
  --paper-note: #e6dcbc;
  --paper-note-2: #ddd2ae;
  --rule: rgba(185, 139, 58, 0.28);
  --rule-soft: rgba(185, 139, 58, 0.14);
  --font-narrow: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", "宋体", serif;
  --font-body: "Songti SC", "STSong", "Noto Serif SC", "SimSun", "宋体", serif;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--parchment);
  background-color: var(--ink-deep);
  background-image:
    radial-gradient(circle at 12% 4%, rgba(185, 139, 58, 0.10), transparent 42%),
    radial-gradient(circle at 88% 96%, rgba(47, 74, 60, 0.42), transparent 52%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px);
  letter-spacing: 0.02em;
}
body.is-lights-off { background-color: #050b08; }
body.is-lights-off .page-main { filter: brightness(0.72); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #0c1a13 0%, rgba(12, 26, 19, 0.94) 100%);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 7px 14px;
}
a[data-contract="site-name"] {
  font-family: var(--font-narrow);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brass-bright);
  text-decoration: none;
  text-shadow: 0 1px 0 #000, 0 0 12px rgba(214, 169, 78, 0.24);
  border-bottom: 1px solid transparent;
}
a[data-contract="site-name"]:hover {
  color: var(--parchment);
  border-bottom-color: var(--brass);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  color: var(--ash);
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(47, 74, 60, 0.28);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-category:hover {
  color: var(--brass-bright);
  border-color: var(--brass);
  background: rgba(185, 139, 58, 0.14);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.movie-overview {
  position: relative;
}
.overview-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 2fr);
  gap: 20px;
  align-items: start;
  padding: 16px;
  background:
    linear-gradient(160deg, rgba(35, 64, 52, 0.55), rgba(10, 22, 17, 0.92) 58%),
    repeating-linear-gradient(90deg, rgba(185, 139, 58, 0.05) 0 1px, transparent 1px 4px);
  border: 1px solid var(--rule);
  border-radius: 3px;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.55), 0 10px 26px rgba(0, 0, 0, 0.4);
}
.overview-shell.is-theater {
  grid-template-columns: minmax(0, 1fr);
  background: #060d09;
}
.overview-shell.is-theater .poster-panel { display: none; }
.poster-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}
.poster-frame {
  position: relative;
  width: 100%;
  border: 1px solid var(--brass-dim);
  padding: 5px;
  background: #0b1710;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7), 0 12px 26px rgba(0, 0, 0, 0.55);
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.86) sepia(0.18);
}
.poster-grain {
  position: absolute;
  inset: 5px;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
  mix-blend-mode: multiply;
}
.poster-caption {
  font-family: var(--font-narrow);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-align: center;
  color: var(--brass);
  border-top: 1px solid var(--rule);
  padding-top: 6px;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-family: var(--font-narrow);
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--parchment);
  text-shadow: 0 2px 0 #000, 0 0 22px rgba(143, 59, 52, 0.4);
  background: linear-gradient(180deg, #f0e5c8 0%, #cbb98d 62%, #8f7d50 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border-bottom: 2px solid var(--rule);
  padding-bottom: 8px;
}
.movie-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: var(--faded-red-soft);
  letter-spacing: 0.06em;
  padding-left: 10px;
  border-left: 2px solid var(--faded-red);
}
.overview-player {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--rule);
  background: #060d09;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.7);
}
.overview-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(35, 64, 52, 0.5), rgba(10, 22, 17, 0.9));
  border-top: 1px solid var(--rule-soft);
}
.pc-btn {
  font-family: var(--font-narrow);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  color: var(--parchment-dim);
  background: rgba(16, 32, 26, 0.9);
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.pc-btn:hover {
  color: var(--brass-bright);
  border-color: var(--brass);
  background: rgba(185, 139, 58, 0.16);
}
.pc-btn.is-playing, .pc-btn.is-active {
  color: var(--ink-deep);
  background: var(--brass-bright);
  border-color: var(--brass-bright);
}
.pc-btn.is-muted {
  color: var(--faded-red-soft);
  border-color: var(--faded-red);
}
.pc-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--brass) 0%, var(--moss-line) 100%);
  border-radius: 2px;
  cursor: pointer;
}
.pc-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--parchment);
  border: 1px solid var(--brass);
}
.pc-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--parchment);
  border: 1px solid var(--brass);
}
.pc-volume {
  flex: 0 1 76px;
  min-width: 56px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--moss-line);
  border-radius: 2px;
  cursor: pointer;
}
.pc-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brass);
}
.pc-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brass);
  border: none;
}
.pc-speed {
  font-family: var(--font-narrow);
  font-size: 11px;
  padding: 3px 4px;
  color: var(--parchment-dim);
  background: rgba(16, 32, 26, 0.9);
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
}
.block-heading {
  font-family: var(--font-narrow);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--brass-bright);
  text-transform: none;
  padding: 0 0 5px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.block-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 2px;
  background: var(--faded-red);
}
.episode-status {
  border: 1px solid var(--rule-soft);
  background: rgba(35, 64, 52, 0.22);
  padding: 8px 10px;
}
.status-heading {
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ash);
  margin-bottom: 6px;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 2px 8px;
  border-left: 2px solid var(--brass-dim);
  background: rgba(10, 22, 17, 0.5);
}
.status-key {
  font-size: 11px;
  color: var(--ash-dim);
  letter-spacing: 0.1em;
}
.status-val {
  font-family: var(--font-narrow);
  font-size: 13px;
  color: var(--brass-bright);
  letter-spacing: 0.06em;
}
.cast-block { min-width: 0; }
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 5px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 8px;
  background: rgba(16, 32, 26, 0.62);
  border: 1px solid var(--rule-soft);
  border-left: 2px solid var(--moss-line);
  transition: border-color 0.16s ease, background 0.16s ease;
}
.cast-card:hover {
  border-left-color: var(--brass-bright);
  background: rgba(47, 74, 60, 0.5);
}
.cast-role {
  font-family: var(--font-narrow);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--parchment);
}
.cast-actor {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ash-dim);
}
.synopsis-block { min-width: 0; }
.synopsis-body {
  display: grid;
  gap: 7px;
  padding-left: 10px;
  border-left: 1px solid var(--rule-soft);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ash);
  letter-spacing: 0.02em;
  text-align: justify;
}
.synopsis-para:first-child { color: var(--parchment-dim); }
.details-block { min-width: 0; }
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 3px 14px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(185, 139, 58, 0.2);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ash-dim);
}
.detail-key::after { content: "·"; margin-left: 4px; color: var(--brass-dim); }
.detail-val {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--parchment-dim);
}
.timeline-section { min-width: 0; }
.timeline-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px 24px;
  padding-left: 18px;
  align-items: start;
}
.timeline-rail::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 5px;
  width: 1px;
  background: linear-gradient(180deg, var(--brass) 0%, rgba(185, 139, 58, 0.25) 55%, transparent 100%);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px 9px;
  background: rgba(35, 64, 52, 0.24);
  border: 1px solid var(--rule-soft);
  border-left: 2px solid var(--brass-dim);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass-bright);
  box-shadow: 0 0 0 2px var(--ink-deep), 0 0 8px rgba(214, 169, 78, 0.6);
}
.node-timecode {
  font-family: var(--font-narrow);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brass);
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ash);
}
.episodes-section { min-width: 0; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "no title"
    "no dur"
    "sum sum";
  gap: 1px 10px;
  align-items: baseline;
  padding: 6px 9px;
  background: rgba(16, 32, 26, 0.55);
  border: 1px solid var(--rule-soft);
  border-left: 2px solid var(--moss-line);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card:hover {
  border-left-color: var(--faded-red-soft);
  background: rgba(47, 74, 60, 0.52);
}
.episode-no {
  grid-area: no;
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--brass);
  white-space: nowrap;
  align-self: center;
}
.episode-title {
  grid-area: title;
  font-family: var(--font-narrow);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--parchment);
  min-width: 0;
}
.episode-duration {
  grid-area: dur;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ash-dim);
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ash);
  margin-top: 3px;
  padding-top: 4px;
  border-top: 1px dotted rgba(185, 139, 58, 0.22);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.22s ease, margin-top 0.22s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 160px;
  opacity: 1;
}
.rec-region { min-width: 0; }
.rec-ledger .block-heading { border-bottom-style: double; border-bottom-width: 3px; }
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 6px;
  align-items: start;
}
.rec-item {
  display: block;
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-areas:
    "img name"
    "img blurb";
  gap: 2px 9px;
  align-items: center;
  padding: 5px 8px;
  color: var(--parchment-dim);
  text-decoration: none;
  background: rgba(16, 32, 26, 0.6);
  border: 1px solid var(--rule-soft);
  border-left: 2px solid var(--brass-dim);
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
a[data-runtime="recommendation"]:hover {
  color: var(--parchment);
  border-left-color: var(--brass-bright);
  background: rgba(47, 74, 60, 0.52);
}
[data-runtime="recommendation"] img {
  grid-area: img;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  align-self: center;
  filter: saturate(0.7) brightness(0.88) sepia(0.2);
  border: 1px solid rgba(0, 0, 0, 0.6);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  grid-area: name;
  font-family: var(--font-narrow);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--parchment);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  grid-area: blurb;
  font-size: 11px;
  line-height: 1.4;
  color: var(--ash-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comments-section { min-width: 0; }
.comment-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 8px 10px;
  align-items: start;
  padding: 6px 2px 10px;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px 11px;
  color: #2a2416;
  background: linear-gradient(168deg, var(--paper-note) 0%, var(--paper-note-2) 100%);
  border: 1px solid rgba(120, 96, 44, 0.5);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: rotate(-1.1deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.comment-note:nth-child(2n) { transform: rotate(0.9deg); }
.comment-note:nth-child(3n) { transform: rotate(-1.8deg); }
.comment-note:nth-child(4n) { transform: rotate(1.4deg); }
.comment-note:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.note-nick {
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--faded-red);
  border-bottom: 1px dashed rgba(120, 96, 44, 0.5);
  padding-bottom: 3px;
}
.note-text {
  font-size: 12px;
  line-height: 1.55;
  color: #2f2a1c;
  letter-spacing: 0.01em;
}
.site-footer {
  margin-top: 6px;
  padding: 14px 14px 20px;
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(10, 22, 17, 0.4), rgba(5, 11, 8, 0.9));
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  max-width: 1180px;
  margin: 0 auto 10px;
}
.friend-label {
  font-family: var(--font-narrow);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brass);
  padding-right: 4px;
  border-right: 1px solid var(--rule);
}
a.runtime-friend-link {
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  color: var(--ash-dim);
  text-decoration: none;
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  background: rgba(35, 64, 52, 0.2);
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--brass-bright);
  border-color: var(--brass);
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 10px;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--ash-dim);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--brass);
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--parchment);
  border-bottom-color: var(--faded-red);
}
@media (max-width: 900px) {.overview-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.poster-panel {
    max-width: 300px;
    margin: 0 auto;
  }
.movie-title { font-size: 28px; }
.comment-wall { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }}
@media (max-width: 640px) {body { font-size: 12.5px; }
.page-main { padding: 12px 10px 20px; gap: 18px; }
.overview-shell { padding: 12px; }
.movie-title { font-size: 23px; letter-spacing: 0.08em; }
.movie-tagline { font-size: 12px; }
.block-heading { font-size: 14px; letter-spacing: 0.16em; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-summary {
    max-height: none;
    opacity: 1;
    margin-top: 3px;
  }
.timeline-rail { grid-template-columns: minmax(0, 1fr); }
.rec-list { grid-template-columns: minmax(0, 1fr); }
.comment-wall { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.comment-note, .comment-note:nth-child(2n), .comment-note:nth-child(3n), .comment-note:nth-child(4n) { transform: rotate(-0.5deg); }
.player-controls { gap: 4px; }
.pc-btn { font-size: 10.5px; padding: 3px 6px; }
.pc-progress { flex: 1 1 100%; }
.details-grid { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 400px) {.header-inner { padding: 6px 10px; }
a[data-contract="site-name"] { font-size: 17px; letter-spacing: 0.1em; }
.cast-row { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
a[data-runtime="recommendation"] { grid-template-columns: 46px minmax(0, 1fr); }}

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}
