*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #e9e8e0;
  color: #33383a;
  font-family: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, dt, ul, ol, li { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 10px clamp(12px, 3vw, 34px);
  background: #2f3b38;
  border-bottom: 2px solid #4a5a55;
}
a[data-contract="site-name"] {
  color: #f2f1e6;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
a[data-contract="site-name"]:hover { color: #e8d98a; }
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  min-width: 0;
}
a.runtime-category {
  color: #cdd6cf;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  padding: 3px 9px;
  border: 1px solid #5b6b66;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
}
a.runtime-category:hover {
  color: #2f3b38;
  background: #e8d98a;
  border-color: #e8d98a;
  text-decoration: none;
}
.page-main {
  padding: 14px clamp(12px, 3vw, 34px) 26px;
  max-width: 1360px;
  margin: 0 auto;
}
.chalk-divider {
  border: 0;
  border-top: 1px dashed rgba(90, 108, 100, 0.55);
  margin: 16px 0 14px;
}
.section-heading {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #2f3b38;
  margin-bottom: 9px;
  padding-left: 8px;
  border-left: 4px solid #9aa89c;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-areas:
    "title board"
    "title player"
    "meta  player"
    "meta  cast"
    "syn   syn";
  gap: 12px 18px;
  align-items: start;
  background: linear-gradient(180deg, #eceae0 0%, #e4e3d7 60%, #dfe2d8 100%);
  border-radius: 3px;
  padding: 14px;
}
.hero-vertical-title {
  grid-area: title;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.movie-title {
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #2c3835;
  writing-mode: vertical-rl;
  text-orientation: upright;
  max-height: 100%;
  padding: 6px 4px;
  border-right: 3px solid #b0bcae;
}
.movie-tagline {
  font-size: 13px;
  color: #55645f;
  border-left: 2px solid #c9a6a2;
  padding-left: 8px;
  line-height: 1.5;
}
.seo-description {
  font-size: 12px;
  line-height: 1.55;
  color: #5d6b64;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(140, 152, 142, 0.35);
  padding: 7px 9px;
  border-radius: 2px;
}
.hero-blackboard-shell {
  grid-area: board;
  position: relative;
  display: flex;
  flex-direction: column;
}
.blackboard-surface {
  position: relative;
  min-height: 190px;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  padding: 14px 16px 20px;
  background:
    radial-gradient(circle at 22% 30%, rgba(255, 255, 255, 0.07) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 62%, rgba(255, 255, 255, 0.05) 0 2px, transparent 3px),
    repeating-linear-gradient(94deg, rgba(255, 255, 255, 0.022) 0 3px, transparent 3px 9px),
    linear-gradient(160deg, #3d4b45 0%, #2b3733 55%, #232d2a 100%);
  border: 9px solid #8a7a5f;
  border-bottom-width: 3px;
  border-radius: 3px;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.55), 0 3px 10px rgba(40, 50, 46, 0.3);
}
.blackboard-chalk-note {
  font-size: 15px;
  letter-spacing: 0.16em;
  color: #eef0e2;
  text-shadow: 0 0 6px rgba(240, 242, 226, 0.45), 0 1px 0 rgba(0, 0, 0, 0.3);
  transform: rotate(-1.1deg);
  border-bottom: 1px dashed rgba(236, 238, 220, 0.45);
  padding-bottom: 3px;
}
.blackboard-tray {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 5px 10px;
  background: linear-gradient(180deg, #8a7a5f, #6f6250);
  border-radius: 0 0 3px 3px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
}
.tray-correction-tape {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #4a4a44;
  background: #f4f2e6;
  padding: 2px 10px 2px 6px;
  border-radius: 1px;
  transform: rotate(-2deg);
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
}
.tray-crumpled-note {
  font-size: 11px;
  color: #5b5344;
  background: #e6dcbb;
  padding: 3px 9px;
  transform: rotate(2.4deg) skewX(-4deg);
  clip-path: polygon(2% 6%, 98% 0, 100% 88%, 6% 100%, 0 52%);
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.28);
}
.poster-wrapper {
  grid-area: meta;
  align-self: start;
  justify-self: start;
  width: min(150px, 42%);
  padding: 6px;
  background: #f6f4ec;
  border: 1px solid #cdd2c6;
  box-shadow: 3px 4px 0 rgba(120, 132, 122, 0.28);
  transform: rotate(-0.8deg);
}
.poster-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.player-wrapper {
  grid-area: player;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 7px;
  background: #26302c;
  border: 1px solid #45544e;
  border-radius: 3px;
  box-shadow: 0 3px 10px rgba(30, 40, 36, 0.28);
}
.player-wrapper video {
  width: 100%;
  background: #111;
  border-radius: 2px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
}
.ctrl-btn {
  font: inherit;
  font-size: 11.5px;
  color: #e7eadd;
  background: #3b4a44;
  border: 1px solid #5c6d66;
  border-radius: 2px;
  padding: 3px 8px;
  cursor: pointer;
  white-space: nowrap;
}
.ctrl-btn:hover { background: #4d605a; color: #f2f3e6; }
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #5c6d66;
  border-radius: 2px;
  cursor: pointer;
  flex: 1 1 90px;
  min-width: 0;
  max-width: 240px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e8d98a;
  border: 1px solid #9a8c48;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #9a8c48;
  border-radius: 50%;
  background: #e8d98a;
}
.ctrl-select {
  font: inherit;
  font-size: 11.5px;
  color: #e7eadd;
  background: #3b4a44;
  border: 1px solid #5c6d66;
  border-radius: 2px;
  padding: 3px 5px;
  cursor: pointer;
}
.player-wrapper.is-playing .ctrl-btn[data-player-action="play"] { background: #556b62; }
.player-wrapper.is-muted .ctrl-btn[data-player-action="mute"] { background: #7a4a45; border-color: #9c6158; }
.player-wrapper.is-theater {
  width: 100%;
  background: #1b2320;
}
.player-wrapper.is-lights-off { background: #0d1210; }
.player-wrapper.is-lights-off video { filter: brightness(0.55); }
.episode-status {
  grid-area: syn;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding: 6px 10px;
  background: #f3f1e7;
  border-left: 4px solid #9aa89c;
  border-radius: 0 2px 2px 0;
}
.status-label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #6b7a72;
}
.status-value {
  font-size: 13.5px;
  font-weight: 700;
  color: #8c3a34;
}
.detail-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 2px 10px;
  font-size: 12px;
  padding: 8px 10px;
  background: #f3f1e7;
  border: 1px solid #d6d9cd;
  border-radius: 2px;
  align-self: start;
}
.detail-list dt {
  color: #7c8a82;
  white-space: nowrap;
}
.detail-list dd {
  color: #33383a;
  min-width: 0;
}
.cast-grid {
  grid-area: cast;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 9px;
  background: #eaeee3;
  border: 1px solid #c3cdbe;
  clip-path: polygon(11% 0, 89% 0, 100% 50%, 89% 100%, 11% 100%, 0 50%);
  min-height: 74px;
  justify-content: center;
  text-align: center;
}
.cast-cell:nth-child(even) {
  background: #e3e8da;
  border-color: #b8c4b2;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #2f3b38;
}
.cast-line {
  font-size: 11px;
  line-height: 1.4;
  color: #6a5a55;
}
.synopsis-block {
  grid-area: syn;
  columns: 2;
  column-gap: 20px;
  column-rule: 1px dashed rgba(150, 162, 152, 0.5);
  background: #f5f3ea;
  border: 1px solid #d6d9cd;
  border-radius: 2px;
  padding: 10px 14px;
}
.synopsis-block .section-heading {
  column-span: all;
  margin-bottom: 8px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: #4b5651;
  margin-bottom: 8px;
  text-indent: 2em;
  break-inside: avoid;
}
.episodes-strip { margin-top: 4px; }
.episodes-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
}
.episode-card {
  position: relative;
  flex: 0 0 218px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 11px 10px;
  background: #f4f2e8;
  border: 1px solid #d3d7c8;
  border-radius: 2px;
  box-shadow: 2px 3px 0 rgba(126, 138, 128, 0.18);
  overflow: hidden;
}
.episode-card:nth-child(3n) { transform: rotate(-0.4deg); }
.episode-card:nth-child(3n/**/+2) { transform: rotate(0.5deg); }
.episode-number {
  position: absolute;
  top: 6px;
  left: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8c3a34;
  transform: rotate(-4deg);
}
.episode-title {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #2c3835;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: #5c6a63;
  flex: 1 1 auto;
}
.episode-duration {
  align-self: flex-start;
  font-size: 11px;
  color: #6b7a72;
  border: 1px solid #c8cfc2;
  border-radius: 2px;
  padding: 1px 7px;
}
.next-episode-hint {
  align-self: flex-end;
  font-size: 11px;
  color: #9a9d90;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
}
.next-char {
  font-size: 11px;
  font-weight: 700;
  color: #8c3a34;
}
.episode-card-active {
  background: #eef0e0;
  border-color: #9aa89c;
  box-shadow: 3px 4px 0 rgba(120, 138, 126, 0.34);
}
.episode-card-active .episode-title { color: #7d332e; }
.timeline-section { margin-top: 4px; }
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 24px;
  padding: 10px 6px 10px 30px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 13px;
  width: 2px;
  background: repeating-linear-gradient(
    180deg,
    rgba(122, 140, 130, 0.85) 0 7px,
    rgba(122, 140, 130, 0) 7px 12px
  );
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px 7px 11px;
  background: #f6f3e3;
  border: 1px solid #d9d6bf;
  border-radius: 1px;
  box-shadow: 2px 2px 0 rgba(128, 132, 112, 0.2);
  transform: rotate(-0.6deg);
  align-self: start;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e9e8e0;
  border: 2px solid #8c3a34;
  box-shadow: 0 0 0 2px #e9e8e0;
}
.timeline-node-b { transform: rotate(0.7deg); margin-top: 14px; }
.timeline-node-c { transform: rotate(-1deg); margin-top: 4px; }
.timeline-node-d { transform: rotate(0.9deg); margin-top: 18px; }
.timeline-node-e { transform: rotate(-0.5deg); margin-top: 6px; }
.timeline-node-f { transform: rotate(1deg); margin-top: 16px; }
.timeline-timecode {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #8c3a34;
  font-weight: 700;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.4;
  color: #414d48;
}
.comments-section { margin-top: 4px; }
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  padding: 4px 2px;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px;
  background: #f2ecce;
  border: 1px solid #dcd2a6;
  border-radius: 1px;
  box-shadow: 2px 3px 5px rgba(120, 116, 88, 0.24);
  transform: rotate(-1.4deg);
  align-self: start;
}
.comment-note:nth-child(2n) { background: #e4ece0; border-color: #c3d0bd; transform: rotate(1.3deg); }
.comment-note:nth-child(3n) { background: #f4e7e1; border-color: #ddc9c1; transform: rotate(-2deg); }
.comment-note:nth-child(4n) { background: #edeadd; border-color: #d2cfbc; transform: rotate(0.8deg); }
.comment-note:nth-child(5n) { background: #e9ecef; border-color: #c9cfd3; transform: rotate(-1deg); }
.comment-note-3 { margin-top: 8px; }
.comment-note-4 { margin-top: 14px; }
.comment-note-5 { margin-top: 4px; }
.comment-note-6 { margin-top: 10px; }
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6d5a3c;
  border-bottom: 1px dashed rgba(150, 130, 90, 0.5);
  padding-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.52;
  color: #4c5450;
}
.recommend-region {
  margin-top: 14px;
}
.recommend-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #3d4a45;
  margin-bottom: 7px;
  transform: rotate(-0.6deg);
  display: inline-block;
  border-bottom: 2px solid #b0bcae;
  padding-bottom: 2px;
}
.recommend-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: #f5f3ea;
  border: 1px solid #d6d9cd;
  border-radius: 2px;
  text-decoration: none;
  color: #3d4a45;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.recommend-item:hover {
  transform: translateY(-2px);
  box-shadow: 2px 4px 8px rgba(110, 122, 112, 0.28);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1px;
  background: #dfe2d8;
}
.recommend-item [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  color: #2f3b38;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-item [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.45;
  color: #6a7871;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 22px;
  padding: 16px clamp(12px, 3vw, 34px) 26px;
  background: #2f3b38;
  color: #b9c4bd;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #e8d98a;
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.06em;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f2f3e6;
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(180, 196, 186, 0.3);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #8fa096;
  margin-right: 2px;
}
a.runtime-friend-link {
  color: #a9b8b0;
  text-decoration: none;
  font-size: 11.5px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #e8d98a;
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: #7d8d85;
  max-width: 720px;
}
@media (max-width: 900px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "board"
      "player"
      "meta"
      "syn"
      "cast";
    gap: 12px;
  }
.movie-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    border-right: 0;
    border-left: 3px solid #b0bcae;
    padding: 2px 0 2px 12px;
  }
.poster-wrapper {
    width: min(180px, 46%);
  }
.synopsis-block { columns: 1; }
.detail-list { grid-template-columns: auto minmax(0, 1fr); }
.timeline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 620px) {body { font-size: 13.5px; }
.site-header { gap: 8px 12px; }
.hero-stage { padding: 10px; }
.blackboard-surface { min-height: 150px; padding: 10px 12px 16px; }
.movie-title { font-size: 26px; }
.poster-wrapper { width: min(160px, 52%); }
.detail-list { grid-template-columns: minmax(0, 1fr); gap: 1px 0; }
.detail-list dt { margin-top: 5px; }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 26px;
  }
.timeline-node, .timeline-node-b, .timeline-node-c, .timeline-node-d, .timeline-node-e, .timeline-node-f {
    margin-top: 0;
    transform: none;
  }
.timeline-node + .timeline-node { margin-top: 8px; }
.episode-card { flex-basis: 190px; }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.comment-note, .comment-note:nth-child(2n), .comment-note:nth-child(3n), .comment-note:nth-child(4n), .comment-note:nth-child(5n) { transform: rotate(-0.8deg); }
.comment-note-3, .comment-note-4, .comment-note-5, .comment-note-6 { margin-top: 0; }
.recommend-column { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }}
@media (max-width: 400px) {.cast-grid { grid-template-columns: minmax(0, 1fr); }
.recommend-column { grid-template-columns: minmax(0, 1fr); }
.poster-wrapper { width: min(140px, 60%); }}

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}
