:root {
  --ink: #1b1714;
  --ink-soft: #241f1b;
  --smoke: #2c2724;
  --smoke-2: #35302b;
  --ochre: #4a3526;
  --ochre-deep: #3a2a1e;
  --ochre-line: #5b4531;
  --rouge: #9c3b34;
  --rouge-fade: #8a4a42;
  --rouge-bright: #b8483c;
  --gold: #b39a63;
  --gold-dim: #8c7a4f;
  --paper: #ddd3c2;
  --paper-dim: #b9ad99;
  --paper-faint: #8e8371;
  --serif: "Songti SC", "SimSun", "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(140% 90% at 78% 6%, rgba(155, 78, 62, 0.16), transparent 58%),
    linear-gradient(180deg, #211c18 0%, #1b1714 42%, #171310 100%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
}
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; }
p { margin: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
li { list-style: none; }
a { color: var(--gold); text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(27, 23, 20, 0.97), rgba(27, 23, 20, 0.82));
  border-bottom: 1px solid var(--ochre-line);
  backdrop-filter: blur(3px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--rouge-bright);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7), 0 0 12px rgba(184, 72, 60, 0.35);
  white-space: nowrap;
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--gold-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--ochre-line);
  border-radius: 2px;
  background: rgba(74, 53, 38, 0.28);
}
a.runtime-category:hover, a.runtime-category:focus {
  color: var(--paper);
  border-color: var(--gold-dim);
  background: rgba(74, 53, 38, 0.5);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.player-shell {
  position: relative;
  margin: 10px 0 0;
  background: #0d0b09;
  border: 1px solid var(--ochre-line);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 10px 26px rgba(0, 0, 0, 0.5);
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--rouge-fade), 0 0 34px rgba(156, 59, 52, 0.35);
}
.player-shell.is-lights-off {
  background: #050403;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-top: 1px solid var(--ochre-line);
  background: linear-gradient(180deg, #262019, #1d1814);
}
.ctrl-btn {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  color: var(--paper-dim);
  background: rgba(74, 53, 38, 0.35);
  border: 1px solid var(--ochre-line);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-btn:hover, .ctrl-btn:focus {
  color: var(--paper);
  border-color: var(--gold-dim);
  background: rgba(90, 62, 44, 0.55);
}
.ctrl-play { color: var(--rouge-bright); border-color: var(--rouge-fade); }
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  accent-color: var(--rouge);
  background: transparent;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 56px;
  height: 4px;
  accent-color: var(--gold-dim);
  cursor: pointer;
}
.ctrl-speed {
  font-size: 12px;
  padding: 3px 4px;
  background: rgba(74, 53, 38, 0.35);
  color: var(--paper-dim);
  border: 1px solid var(--ochre-line);
  border-radius: 2px;
}
.ctrl-light { color: var(--gold); }
.player.is-playing ~ .player-controls .ctrl-play, .ctrl-play.is-playing { color: var(--gold); }
.player.is-muted ~ .player-controls .ctrl-mute, .ctrl-mute.is-muted { color: var(--rouge-bright); border-color: var(--rouge-fade); }
.player.is-theater, .player.is-lights-off { filter: brightness(0.94); }
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(58, 42, 30, 0.55), rgba(32, 26, 21, 0.72));
  border: 1px solid var(--ochre-line);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 0;
  min-height: 0;
  background:
    radial-gradient(120% 80% at 20% 40%, rgba(196, 132, 96, 0.22), transparent 62%),
    linear-gradient(90deg, #2b221b 0%, #1d1814 68%, #14100d 100%);
  border: 1px solid var(--ochre-line);
  overflow: hidden;
}
.hero-portrait {
  position: relative;
  overflow: hidden;
  align-self: start;
  border-right: 1px solid rgba(91, 69, 49, 0.55);
}
.hero-portrait img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.08) brightness(0.82) sepia(0.18);
}
.hero-title-block {
  position: relative;
  z-index: 2;
  padding: 20px 20px 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.hero-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: clamp(26px, 4.6vw, 46px);
  letter-spacing: 0.16em;
  line-height: 1.05;
  color: var(--rouge-bright);
  text-shadow:
    0 0 1px rgba(255, 210, 180, 0.5),
    0 0 16px rgba(156, 59, 52, 0.5),
    1px 1px 0 rgba(0, 0, 0, 0.8);
  -webkit-text-stroke: 0.4px rgba(230, 196, 150, 0.28);
  max-height: 62%;
}
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(12.5px, 1.7vw, 15px);
  letter-spacing: 0.16em;
  color: var(--paper-dim);
  border-left: 2px solid var(--rouge-fade);
  padding-left: 10px;
  max-width: 26em;
}
.hero-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 26%, rgba(245, 220, 180, 0.13) 40%, transparent 58%),
    radial-gradient(60% 90% at 4% 50%, rgba(0, 0, 0, 0.62), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 34%, rgba(0, 0, 0, 0.55));
  mix-blend-mode: screen;
}
.synopsis-panel {
  border-top: 1px solid var(--ochre-line);
  padding-top: 10px;
}
.section-heading {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 7px;
  padding-left: 9px;
  position: relative;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75);
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.24em;
  bottom: 0.24em;
  width: 3px;
  background: var(--rouge);
  box-shadow: 0 0 8px rgba(156, 59, 52, 0.6);
}
.seo-lead {
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--paper);
  padding: 8px 10px;
  border-left: 2px solid var(--gold-dim);
  background: rgba(74, 53, 38, 0.22);
  margin-bottom: 8px;
}
.synopsis-body {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid rgba(91, 69, 49, 0.6);
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--paper-dim);
}
.synopsis-body p { margin-bottom: 6px; break-inside: avoid; }
.details-card {
  border-top: 1px solid var(--ochre-line);
  padding-top: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 20px;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(91, 69, 49, 0.65);
  font-size: 13px;
}
.details-row dt {
  flex: 0 0 5.2em;
  color: var(--paper-faint);
  letter-spacing: 0.1em;
}
.details-row dd {
  margin: 0;
  color: var(--paper);
  min-width: 0;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.status-chip {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border: 1px solid var(--ochre-line);
  border-radius: 2px;
  background: rgba(74, 53, 38, 0.3);
  color: var(--paper-dim);
}
.status-total { color: var(--paper); }
.status-current {
  color: var(--rouge-bright);
  border-color: var(--rouge-fade);
  background: rgba(156, 59, 52, 0.16);
}
.cast-panel {
  border-top: 1px solid var(--ochre-line);
  padding-top: 10px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-member {
  min-width: 0;
  border: 1px solid rgba(91, 69, 49, 0.7);
  background: rgba(30, 25, 20, 0.5);
  padding: 5px;
}
.cast-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(91, 69, 49, 0.6);
}
.cast-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.88);
}
.cast-name {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--paper);
  margin-top: 5px;
}
.cast-note {
  font-size: 11.5px;
  color: var(--paper-faint);
  letter-spacing: 0.08em;
  border-top: 1px dotted rgba(91, 69, 49, 0.7);
  padding-top: 3px;
  margin-top: 3px;
}
.timeline-section {
  border: 1px solid var(--ochre-line);
  background: linear-gradient(180deg, rgba(58, 42, 30, 0.4), rgba(30, 25, 20, 0.55));
  padding: 10px;
}
.timeline-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--rouge-fade) rgba(0, 0, 0, 0.3);
}
.timeline-scroll::-webkit-scrollbar { height: 6px; }
.timeline-scroll::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.35); }
.timeline-scroll::-webkit-scrollbar-thumb { background: var(--rouge-fade); }
.timeline-node {
  flex: 0 0 190px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 9px;
  background: linear-gradient(180deg, rgba(74, 53, 38, 0.5), rgba(36, 29, 23, 0.7));
  border: 1px solid var(--ochre-line);
  border-top: 3px solid var(--ochre-line);
  border-radius: 2px;
  position: relative;
  min-width: 0;
}
.timeline-node::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--ochre-line);
}
.timeline-node:last-child::after { display: none; }
.node-timecode {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
}
.node-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--paper-dim);
}
.timeline-node:first-child {
  border-top-color: var(--rouge-bright);
  box-shadow: 0 0 0 1px rgba(184, 72, 60, 0.4), 0 0 18px rgba(156, 59, 52, 0.28);
}
.timeline-node:first-child .node-timecode { color: var(--rouge-bright); }
.timeline-node:first-child .node-label { color: var(--paper); }
.episodes-section {
  border: 1px solid var(--ochre-line);
  background: rgba(28, 23, 19, 0.5);
  padding: 10px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-item {
  position: relative;
  padding: 7px 9px 7px 11px;
  background: rgba(38, 31, 25, 0.6);
  border: 1px solid rgba(91, 69, 49, 0.62);
  border-left: 3px solid var(--ochre-line);
  min-width: 0;
}
.episode-item:hover {
  border-left-color: var(--rouge);
  background: rgba(52, 40, 31, 0.72);
}
.ep-number {
  display: inline-block;
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
  margin-right: 8px;
}
.ep-title {
  display: inline;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--paper);
}
.ep-summary {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--paper-faint);
  margin-top: 3px;
}
.ep-duration {
  position: absolute;
  right: 8px;
  bottom: 5px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--gold-dim);
  padding: 1px 6px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.episode-item:hover .ep-duration, .episode-item:focus-within .ep-duration {
  opacity: 1;
  transform: translateY(0);
}
.comments-section {
  border: 1px solid var(--ochre-line);
  background: linear-gradient(180deg, rgba(58, 42, 30, 0.42), rgba(28, 23, 19, 0.6));
  padding: 14px 10px 22px;
  margin-top: 6px;
}
.comment-tickets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}
.ticket {
  flex: 1 1 260px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px 10px 16px;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #d9cdb6, #c8bba1);
  color: #3a2f24;
  border: 1px solid #a3906c;
  border-radius: 3px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  position: relative;
}
.ticket::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-left: 1px dashed rgba(58, 47, 36, 0.45);
}
.ticket:nth-child(1) { transform: rotate(-1.8deg); }
.ticket:nth-child(2) { transform: rotate(1.6deg); }
.ticket:nth-child(3) { transform: rotate(-2.2deg); }
.ticket:nth-child(4) { transform: rotate(2.4deg); }
.ticket:nth-child(5) { transform: rotate(-1.4deg); }
.ticket:nth-child(6) { transform: rotate(1.9deg); }
.ticket-nickname {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: #8a322a;
  border-bottom: 1px solid rgba(58, 47, 36, 0.28);
  padding-bottom: 3px;
  margin-bottom: 5px;
}
.ticket-text {
  font-size: 12.5px;
  line-height: 1.66;
  color: #3a2f24;
}
.rec-region {
  border: 1px solid var(--ochre-line);
  background: rgba(28, 23, 19, 0.5);
  padding: 10px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.rec-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gold);
  border-right: 1px solid var(--ochre-line);
  padding-right: 8px;
  align-self: stretch;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
  align-items: start;
  min-width: 0;
}
a.rec-card {
  display: block;
  min-width: 0;
  color: var(--paper-dim);
  text-decoration: none;
  padding: 5px;
  border: 1px solid rgba(91, 69, 49, 0.62);
  background: rgba(38, 31, 25, 0.55);
}
a.rec-card:hover, a.rec-card:focus {
  border-color: var(--rouge-fade);
  background: rgba(52, 40, 31, 0.72);
  color: var(--paper);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.85) sepia(0.12);
}
.rec-name {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--paper);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--paper-faint);
  margin-top: 2px;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 22px;
  border-top: 1px solid var(--ochre-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--paper-faint);
  letter-spacing: 0.03em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-decoration: none;
}
a[data-contract="footer-home"] { color: var(--rouge-bright); }
a[data-contract="footer-sitemap"] { color: var(--gold-dim); }
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover { text-decoration: underline; }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-top: 6px;
  border-top: 1px dotted rgba(91, 69, 49, 0.65);
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--paper-faint);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--gold-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus {
  color: var(--rouge-bright);
  text-decoration: underline;
}
.player-shell.is-theater .player-controls { border-top-color: var(--rouge-fade); }
.ctrl-btn.is-playing { color: var(--gold); }
@media (max-width: 860px) {.hero-stage { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); }
.hero-title-block { padding: 16px 14px; }
.episodes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-region { grid-template-columns: auto minmax(0, 1fr); }}
@media (max-width: 640px) {body { font-size: 14.5px; }
.header-inner { padding: 6px 10px; }
.page-main { padding: 0 10px 10px; gap: 8px; }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-portrait { border-right: none; border-bottom: 1px solid rgba(91, 69, 49, 0.55); }
.hero-portrait img { max-height: 52vh; object-fit: cover; object-position: 30% 22%; }
.hero-title-block {
    justify-content: flex-start;
    align-items: flex-start;
    padding: 14px 12px 18px;
    gap: 10px;
  }
.hero-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    max-height: none;
    font-size: clamp(24px, 9vw, 34px);
    letter-spacing: 0.1em;
  }
.hero-tagline { border-left-width: 2px; font-size: 12.5px; }
.synopsis-body { columns: 1; column-rule: none; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.ep-duration {
    position: static;
    display: inline-block;
    margin-top: 4px;
    opacity: 1;
    transform: none;
    background: transparent;
    color: var(--gold-dim);
    padding: 0;
  }
.rec-region { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.rec-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    border-right: none;
    border-bottom: 1px solid var(--ochre-line);
    padding: 0 0 5px;
  }
.rec-list { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.ticket { flex: 1 1 100%; }
.ticket:nth-child(n) { transform: rotate(-0.9deg); }
.ticket:nth-child(even) { transform: rotate(1.1deg); }}
@media (max-width: 420px) {.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.header-inner { flex-wrap: wrap; }
.categories-shell { justify-content: flex-start; }}

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}
