*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, figure, figcaption, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:root {
  --ink: #2b2520;
  --ink-soft: #4b423a;
  --warm-grey: #8d8278;
  --cool-grey: #a9a49f;
  --amber: #c8873c;
  --amber-deep: #a96b28;
  --dark-brown: #241c16;
  --dark-brown-2: #322619;
  --cream: #f4eee4;
  --cream-2: #ece4d7;
  --paper: #faf6ef;
  --line: rgba(43, 37, 32, 0.16);
  --line-strong: rgba(43, 37, 32, 0.3);
  --gap: 10px;
  --radius: 12px;
  --radius-sm: 8px;
}
body {
  background: var(--cream);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-header {
  background: var(--dark-brown);
  color: var(--cream);
  border-bottom: 2px solid var(--amber);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 700;
  color: var(--amber);
  text-decoration: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: #e2a153; text-decoration: underline; }
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid rgba(200, 135, 60, 0.45);
  border-radius: 999px;
  color: var(--cream-2);
  text-decoration: none;
  font-size: 12.5px;
  white-space: nowrap;
  background: rgba(200, 135, 60, 0.1);
}
a.runtime-category:hover {
  color: var(--dark-brown);
  background: var(--amber);
  border-color: var(--amber);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-diary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
  align-items: start;
  gap: 0;
}
.hero-divider {
  align-self: stretch;
  justify-self: center;
  width: 2px;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(200, 135, 60, 0.15), var(--amber) 20%, var(--amber) 80%, rgba(200, 135, 60, 0.15));
  border-radius: 2px;
}
.hero-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-photo-left { padding-right: 10px; }
.hero-photo-right { padding-left: 10px; }
.hero-photo-frame {
  position: relative;
  padding: 5px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(36, 28, 22, 0.22), inset 0 0 0 1px rgba(43, 37, 32, 0.1);
  overflow: hidden;
}
.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(115deg, rgba(250, 246, 239, 0.9) 0 6px, transparent 6px) top left / 100% 100% no-repeat,
    linear-gradient(295deg, rgba(250, 246, 239, 0.9) 0 6px, transparent 6px) bottom right / 100% 100% no-repeat;
  mix-blend-mode: normal;
  opacity: 0.55;
}
.hero-photo-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
  filter: saturate(0.72) contrast(1.05);
}
.hero-photo-img-left { filter: saturate(0.6) contrast(1.08) brightness(0.94) sepia(0.12); }
.hero-photo-img-right { filter: saturate(0.85) contrast(1.06) hue-rotate(-12deg) brightness(0.9); }
.hero-photo-caption {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--warm-grey);
  text-align: center;
}
.overview-unit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 3px 12px rgba(36, 28, 22, 0.08);
}
.overview-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.movie-title {
  font-size: 21px;
  color: var(--dark-brown);
  letter-spacing: 0.03em;
}
.movie-tagline {
  font-size: 13px;
  color: var(--amber-deep);
  letter-spacing: 0.04em;
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.poster-column {
  align-self: start;
}
.poster-wrap {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(36, 28, 22, 0.24);
}
.main-poster {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.panel-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--amber-deep);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.panel-heading-cast { color: var(--amber-deep); }
.cast-panel { min-width: 0; }
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-card {
  position: relative;
  flex: 1 1 96px;
  min-width: 96px;
  min-height: 84px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, var(--cream-2), var(--cream));
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 7px 7px 7px 34px;
}
.cast-prop {
  position: absolute;
  left: 9px;
  bottom: 9px;
  width: 22px;
  height: 30px;
  opacity: 0.55;
  background: var(--warm-grey);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.cast-card-architect .cast-prop {
  background: var(--amber-deep);
  clip-path: polygon(0 100%, 0 0, 100% 0, 100% 100%, 72% 100%, 72% 30%, 28% 30%, 28% 100%);
}
.cast-card-photographer .cast-prop {
  background: var(--dark-brown-2);
  clip-path: polygon(0 100%, 0 40%, 28% 40%, 28% 0, 72% 0, 72% 40%, 100% 40%, 100% 100%);
}
.cast-card-suwantang .cast-prop {
  background: var(--warm-grey);
  clip-path: polygon(20% 100%, 20% 20%, 50% 0, 80% 20%, 80% 100%, 62% 100%, 62% 62%, 38% 62%, 38% 100%);
}
.cast-card-chengyizhou .cast-prop {
  background: var(--amber);
  clip-path: polygon(0 100%, 0 30%, 100% 30%, 100% 100%, 78% 100%, 78% 52%, 22% 52%, 22% 100%);
}
.cast-card-linzhixia .cast-prop {
  background: var(--cool-grey);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.22em;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.episode-status-panel { min-width: 0; }
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: var(--cream);
}
.status-chip-current {
  background: var(--amber);
  border-color: var(--amber-deep);
  color: #2b1a08;
  font-weight: 700;
}
.status-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--warm-grey);
  letter-spacing: 0.03em;
}
.synopsis-panel { min-width: 0; }
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: justify;
}
.details-panel { min-width: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
  min-width: 0;
}
.detail-key {
  color: var(--warm-grey);
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}
.detail-value {
  color: var(--ink);
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: var(--dark-brown);
  border-radius: var(--radius);
  border: 1px solid var(--dark-brown-2);
  box-shadow: 0 4px 16px rgba(36, 28, 22, 0.3);
}
.main-player {
  width: 100%;
  border-radius: var(--radius-sm);
  background: #000;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-btn {
  background: rgba(244, 238, 228, 0.08);
  border: 1px solid rgba(200, 135, 60, 0.4);
  color: var(--cream-2);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: #2b1a08;
}
.player-btn.is-muted {
  background: var(--amber-deep);
  border-color: var(--amber);
  color: var(--cream);
}
.player-progress, .player-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: rgba(244, 238, 228, 0.22);
  cursor: pointer;
  flex: 1 1 120px;
  min-width: 90px;
}
.player-volume { flex: 0 1 90px; }
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--dark-brown);
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid var(--dark-brown);
  border-radius: 50%;
  background: var(--amber);
}
.player-shell.is-theater {
  background: #14100c;
}
.player-shell.is-lights-off {
  background: #050403;
  box-shadow: none;
}
.section-heading {
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--dark-brown);
  padding-left: 10px;
  border-left: 3px solid var(--amber);
  margin-bottom: 10px;
}
.section-heading-timeline { color: var(--amber-deep); }
.timeline-section {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.timeline-track {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--amber) transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--amber);
  border-radius: 6px;
}
.timeline-track::-webkit-scrollbar-track { background: rgba(43, 37, 32, 0.08); border-radius: 6px; }
.timeline-list {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: max-content;
  padding: 6px 2px 2px;
}
.timeline-node {
  position: relative;
  flex: 0 0 168px;
  width: 168px;
  background: var(--cool-grey);
  color: #f2ede5;
  border-radius: var(--radius-sm);
  padding: 14px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(43, 37, 32, 0.14);
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 2px 0 rgba(36, 28, 22, 0.35), inset 0 -1px 2px rgba(0, 0, 0, 0.25);
}
.timeline-node:nth-child(4) {
  background: var(--warm-grey);
  color: #fdfbf7;
}
.timeline-timecode {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fdfbf7;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.5;
}
.episodes-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: minmax(0, 74px) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 7px 9px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-width: 0;
}
.episode-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid var(--line);
  padding-right: 8px;
}
.episode-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-deep);
  letter-spacing: 0.04em;
}
.episode-duration {
  font-size: 11px;
  color: var(--cool-grey);
  letter-spacing: 0.02em;
}
.episode-text { min-width: 0; }
.episode-title {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 2px;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--warm-grey);
  overflow-wrap: anywhere;
}
.comments-section {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.comment-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.comment-nickname {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  font-style: italic;
  font-size: 13px;
  color: var(--amber-deep);
  letter-spacing: 0.04em;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.rec-region {
  background: var(--dark-brown);
  color: var(--cream-2);
  border-radius: var(--radius);
  padding: 10px 12px 12px;
  border: 1px solid var(--dark-brown-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rec-title {
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--amber);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(200, 135, 60, 0.3);
}
.rec-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 10px;
  border-right: 1px solid rgba(244, 238, 228, 0.16);
  min-width: 0;
  color: var(--cream-2);
  text-decoration: none;
  transition: background 0.15s;
  border-radius: 6px;
}
.rec-card:first-child { padding-left: 0; }
.rec-card:last-child { border-right: none; padding-right: 0; }
.rec-card:hover {
  background: rgba(200, 135, 60, 0.12);
}
.rec-card:hover .rec-name { color: var(--amber); }
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.78) brightness(0.94);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(244, 238, 228, 0.62);
}
.site-footer {
  background: var(--dark-brown);
  color: rgba(244, 238, 228, 0.72);
  border-top: 2px solid var(--amber);
  margin-top: 6px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(244, 238, 228, 0.55);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(244, 238, 228, 0.14);
}
.footer-link {
  font-size: 12.5px;
  text-decoration: none;
}
a[data-contract="footer-home"] {
  color: var(--amber);
}
a[data-contract="footer-home"]:hover { color: #e2a153; text-decoration: underline; }
a[data-contract="footer-sitemap"] {
  color: var(--cream-2);
}
a[data-contract="footer-sitemap"]:hover { color: var(--amber); text-decoration: underline; }
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.footer-friends-label {
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: rgba(244, 238, 228, 0.6);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover { color: var(--amber); text-decoration: underline; }
@media (max-width: 900px) {.episodes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-card:nth-child(3n) { border-right: none; padding-right: 0; }
.rec-card:nth-child(3n + 1) { padding-left: 0; }
.rec-card { border-bottom: 1px solid rgba(244, 238, 228, 0.16); padding-bottom: 8px; }}
@media (max-width: 720px) {.overview-body {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    max-width: 220px;
  }
.details-list { grid-template-columns: minmax(0, 1fr); }
.hero-spread {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.hero-divider {
    width: 100%;
    height: 2px;
    min-height: 2px;
    background: linear-gradient(90deg, rgba(200, 135, 60, 0.15), var(--amber) 20%, var(--amber) 80%, rgba(200, 135, 60, 0.15));
  }
.hero-photo-left, .hero-photo-right { padding: 0; }}
@media (max-width: 600px) {.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.comment-list { grid-template-columns: minmax(0, 1fr); }
.rec-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-card { padding: 0 8px 8px; }
.rec-card:nth-child(2n) { border-right: none; padding-right: 0; }
.rec-card:nth-child(2n + 1) { padding-left: 0; }
.rec-card:nth-child(3n) { border-right: 1px solid rgba(244, 238, 228, 0.16); padding-right: 8px; }
.rec-card:nth-child(2n) { border-right: none; }
.cast-card { flex: 1 1 46%; }
.player-volume { flex: 1 1 90px; }}
@media (max-width: 420px) {.page-main { padding: 10px 10px 14px; }
.movie-title { font-size: 18px; }
.episode-card { grid-template-columns: minmax(0, 1fr); }
.episode-meta {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 0 0 4px;
  }
.rec-rail { grid-template-columns: minmax(0, 1fr); }
.rec-card, .rec-card:first-child, .rec-card:last-child, .rec-card:nth-child(2n), .rec-card:nth-child(3n) {
    padding: 0 0 8px;
    border-right: none;
  }}

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}
