:root {
  --ink: #10151c;
  --ink-soft: #2a3341;
  --cool-1: #1b2430;
  --cool-2: #26313f;
  --cool-3: #3a4757;
  --cool-4: #5a6a7d;
  --paper: #e8ecf1;
  --paper-2: #d5dce4;
  --warm: #b98a5f;
  --warm-2: #8c6540;
  --warm-3: #d8b98f;
  --line: #4a5766;
  --radius: 2px;
  --gap: 10px;
  --pad: 12px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--cool-1);
  color: var(--paper);
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, li, dl, dt, dd {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
h1, h2, h3 {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 8px 16px;
  background: rgba(16, 21, 28, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}
a[data-contract="site-name"].brand {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--warm-3);
  text-decoration: none;
  text-transform: uppercase;
}
a[data-contract="site-name"].brand:hover {
  color: #f0d6b4;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  color: var(--paper-2);
  text-decoration: none;
  background: var(--cool-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  letter-spacing: 0.06em;
}
a.runtime-category:hover {
  color: var(--cool-1);
  background: var(--warm-3);
  border-color: var(--warm);
}
.page-main {
  display: grid;
  gap: 14px;
  padding: 14px 16px 22px;
  max-width: 1280px;
  margin: 0 auto;
}
.section-heading {
  font-size: 15px;
  color: var(--paper);
  padding-left: 9px;
  margin-bottom: 8px;
  border-left: 3px solid var(--warm);
  letter-spacing: 0.1em;
}
.movie-overview {
  background: var(--cool-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
}
.overview-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
}
.torn-face-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  aspect-ratio: 2 / 3;
  min-height: 200px;
  background: var(--cool-1);
  border: 1px solid var(--cool-4);
  border-radius: var(--radius);
  overflow: hidden;
}
.torn-face-half {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
  overflow: hidden;
}
.torn-face-left {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 6px, rgba(0, 0, 0, 0) 6px 12px),
    linear-gradient(200deg, #4a5568 0%, #26313f 55%, #10151c 100%);
  clip-path: polygon(0 0, 100% 0, 96% 12%, 100% 26%, 94% 40%, 100% 55%, 95% 70%, 100% 84%, 97% 100%, 0 100%);
}
.torn-face-right {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.035) 0 7px, rgba(0, 0, 0, 0) 7px 14px),
    linear-gradient(160deg, #8c6540 0%, #5a4433 45%, #241c16 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 4% 100%, 0 86%, 5% 71%, 0 56%, 6% 41%, 1% 26%, 5% 12%);
}
.torn-face-half::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(232, 236, 241, 0.16), rgba(0, 0, 0, 0) 62%);
  pointer-events: none;
}
.torn-face-label {
  position: relative;
  z-index: 2;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--paper-2);
  padding: 2px 6px;
  background: rgba(16, 21, 28, 0.6);
  border: 1px solid rgba(232, 236, 241, 0.22);
  border-radius: var(--radius);
}
.overview-tagline {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  padding: 7px 10px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0.1em;
  color: #f7e9d6;
  background: rgba(16, 21, 28, 0.78);
  border-top: 1px solid var(--warm);
  border-bottom: 1px solid var(--warm);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.overview-lead {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.poster-wrap {
  width: min(100%, 420px);
  border: 1px solid var(--cool-4);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cool-1);
}
.poster-wrap img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.overview-body {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.movie-title {
  font-size: 24px;
  color: var(--paper);
  letter-spacing: 0.04em;
}
.movie-tagline {
  font-size: 12px;
  color: var(--warm-3);
  letter-spacing: 0.16em;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  display: inline-block;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cool-1);
  color: var(--paper-2);
}
.status-current {
  color: var(--cool-1);
  background: var(--warm-3);
  border-color: var(--warm);
  font-weight: 700;
}
.status-total {
  color: var(--paper);
}
.status-score {
  color: #f0d6b4;
  border-color: var(--warm-2);
}
.player-shell {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 8px;
  background: var(--cool-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.player-shell video {
  display: block;
  background: #000;
  border: 1px solid var(--cool-4);
  border-radius: var(--radius);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.control-btn {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  color: var(--paper-2);
  background: var(--cool-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 0.15s ease, color 0.15s ease;
}
.control-btn:hover {
  color: var(--cool-1);
  background: var(--warm-3);
  border-color: var(--warm);
}
.player-controls .click, .control-btn.click {
  background: var(--warm-2);
  color: #f7e9d6;
}
.player.is-playing, video.is-playing {
  outline: 1px solid var(--warm);
}
.player .progress, video.is-fast {
  filter: saturate(1.15);
}
.player .volume .mute, video.is-muted {
  opacity: 0.82;
}
.player .speed, video.is-theater {
  box-shadow: 0 0 0 2px rgba(185, 138, 95, 0.5);
}
.player .fullscreen, .player .pip, .player .theater, .player .light {
  border-color: var(--warm-2);
}
body.is-theater .player-shell {
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}
body.is-lights-off .page-main {
  filter: brightness(0.72);
}
body.is-lights-off .player-shell {
  filter: brightness(1.25);
}
.cast-block {
  display: block;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: var(--cool-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cast-face {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--cool-4);
  border-radius: var(--radius);
  background-color: var(--cool-3);
  background-size: cover;
  background-position: center top;
}
.cast-face-a {
  background-image: linear-gradient(180deg, #6b7889 0%, #2a3341 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 100%, 0 78%, 5% 52%, 0 26%);
}
.cast-face-b {
  background-image: linear-gradient(200deg, #c69c6d 0%, #6b4a2f 100%);
  clip-path: polygon(0 0, 100% 0, 96% 24%, 100% 48%, 94% 74%, 100% 100%, 0 100%);
}
.cast-face-c {
  background-image: linear-gradient(160deg, #55606f 0%, #1b2430 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%, 0 70%, 6% 40%, 0 14%);
}
.cast-face-d {
  background-image: linear-gradient(190deg, #8c6540 0%, #3a2a1c 100%);
  clip-path: polygon(0 0, 100% 0, 94% 30%, 100% 60%, 96% 100%, 0 100%);
}
.cast-face-e {
  background-image: linear-gradient(150deg, #4a5568 0%, #10151c 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 100%, 0 62%, 6% 32%);
}
.cast-face-f {
  background-image: linear-gradient(175deg, #a8845c 0%, #4a3524 100%);
  clip-path: polygon(0 0, 100% 0, 97% 36%, 100% 68%, 95% 100%, 0 100%);
}
.cast-name {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--paper);
}
.synopsis-block {
  display: block;
}
.synopsis-lead {
  font-size: 13px;
  color: var(--paper-2);
  line-height: 1.7;
  text-indent: 2em;
  margin-bottom: 8px;
}
.synopsis-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px var(--gap);
}
.synopsis-item {
  font-size: 12px;
  line-height: 1.65;
  color: var(--cool-4);
  padding-left: 10px;
  border-left: 2px solid var(--cool-3);
}
.synopsis-item:nth-child(-n + 2) {
  color: var(--paper-2);
  border-left-color: var(--warm-2);
}
.details-block {
  display: block;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 9px;
  background: var(--cool-2);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.details-row dt {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  color: var(--cool-4);
  white-space: nowrap;
}
.details-row dd {
  font-size: 12px;
  color: var(--paper);
  font-weight: 600;
}
.timeline-strip {
  background: var(--cool-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
}
.film-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  position: relative;
  background: #0c1118;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 8px 12px;
}
.film-track::before, .film-track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  background-image: radial-gradient(circle, rgba(232, 236, 241, 0.35) 1.6px, rgba(0, 0, 0, 0) 2px);
  background-size: 13px 9px;
  background-repeat: repeat-x;
  pointer-events: none;
}
.film-track::before {
  top: 2px;
}
.film-track::after {
  bottom: 2px;
}
.film-node {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 6px 8px;
  border-left: 1px dashed var(--cool-4);
}
.film-node:first-child {
  border-left: none;
}
.node-sprocket {
  display: block;
  width: 100%;
  height: 5px;
  background-image: repeating-linear-gradient(90deg, var(--warm-2) 0 5px, rgba(0, 0, 0, 0) 5px 11px);
  opacity: 0.7;
}
.node-timecode {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--warm-3);
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--paper-2);
}
.film-node-final {
  border-left: 1px solid var(--warm);
  padding-left: 16px;
  margin-left: 6px;
}
.film-node-final .node-timecode {
  color: #f7e9d6;
}
.film-node-final .node-label {
  color: var(--paper);
  font-weight: 700;
}
.episodes-block {
  display: block;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.episode-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 9px 10px;
  background: var(--cool-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cool-4);
  border-radius: var(--radius);
}
.episode-number {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--warm-3);
}
.episode-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: 0.03em;
}
.episode-summary {
  font-size: 11px;
  line-height: 1.55;
  color: var(--cool-4);
  margin-top: 1px;
}
.episode-duration {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 3px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--cool-4);
}
.comments-block {
  display: block;
}
.sticky-note-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.sticky-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px 12px;
  background: #e6d9bd;
  color: #2a231a;
  border: 1px solid #c9b58c;
  border-radius: var(--radius);
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.35);
}
.sticky-note:nth-child(3n + 1) {
  transform: rotate(-1.1deg);
  background: #e6d9bd;
}
.sticky-note:nth-child(3n + 2) {
  transform: rotate(0.9deg) translateY(5px);
  background: #dfd3c0;
}
.sticky-note:nth-child(3n) {
  transform: rotate(-0.5deg) translateY(-3px);
  background: #ece0c6;
}
.note-nickname {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--warm-2);
  border-bottom: 1px dashed rgba(140, 101, 64, 0.45);
  padding-bottom: 3px;
}
.note-text {
  font-size: 12px;
  line-height: 1.6;
  color: #33291d;
}
.recommend-region {
  display: block;
  background: var(--cool-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
}
.recommend-region .section-heading {
  font-size: 13px;
  margin-bottom: 7px;
}
.recommend-scroller {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-scroller::-webkit-scrollbar {
  height: 6px;
}
.recommend-scroller::-webkit-scrollbar-thumb {
  background: var(--cool-4);
  border-radius: var(--radius);
}
a[data-runtime="recommendation"] {
  flex: 0 0 auto;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: var(--cool-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper-2);
  text-decoration: none;
  scroll-snap-align: start;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--warm);
  color: var(--paper);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--cool-4);
  border-radius: var(--radius);
  background: var(--cool-3);
}
a[data-runtime="recommendation"] span[data-runtime="name"] {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--paper);
  letter-spacing: 0.03em;
}
a[data-runtime="recommendation"] span[data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.5;
  color: var(--cool-4);
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--cool-4);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--warm-3);
  text-decoration: none;
  letter-spacing: 0.06em;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f7e9d6;
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
}
.friend-links-label {
  color: var(--cool-4);
  letter-spacing: 0.12em;
  white-space: nowrap;
}
a.runtime-friend-link {
  color: var(--cool-4);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 1px;
  border-bottom: 1px dotted transparent;
}
a.runtime-friend-link:hover {
  color: var(--warm-3);
  border-bottom-color: var(--warm-2);
}
@media (max-width: 900px) {.overview-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.film-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 10px;
  }
.cast-grid, .episode-grid, .sticky-note-stack, .synopsis-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {.page-main {
    padding: 10px 10px 18px;
    gap: 10px;
  }
.site-header {
    padding: 7px 10px;
  }
.overview-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.overview-lead {
    justify-content: center;
  }
.poster-wrap {
    width: min(100%, 320px);
  }
.movie-title {
    font-size: 20px;
  }
.cast-grid, .episode-grid, .sticky-note-stack, .synopsis-list, .details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.film-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.film-node-final {
    padding-left: 12px;
    margin-left: 0;
  }
a[data-runtime="recommendation"] {
    width: 150px;
  }}
@media (max-width: 400px) {.film-track {
    grid-template-columns: minmax(0, 1fr);
  }
.film-node {
    border-left: none;
    border-top: 1px dashed var(--cool-4);
    padding-top: 8px;
  }
.film-node:first-child {
    border-top: none;
  }
.film-node-final {
    border-top: 1px solid var(--warm);
  }}

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}
