* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}
body {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: #c9cfd6;
  background-image:
    linear-gradient(180deg, #c3cad2 0%, #d2d6d3 40%, #c8c4b4 100%);
  color: #2b2f36;
  line-height: 1.45;
  font-size: 14px;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 700;
  line-height: 1.25;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(238, 236, 226, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #b7b3a4;
  box-shadow: 0 2px 0 rgba(178, 58, 45, 0.14);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: #1f2733;
  text-decoration: none;
  padding-right: 12px;
  border-right: 2px solid #b23a2d;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 3px 9px;
  color: #3c4654;
  text-decoration: none;
  background: #e3e0d4;
  border: 1px solid #c3bfae;
  border-radius: 2px;
  letter-spacing: 0.04em;
}
a.runtime-category:hover {
  background: #b23a2d;
  border-color: #b23a2d;
  color: #f6f1e4;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 16px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  grid-template-areas:
    "hero hero"
    "rail episodes"
    "rec1 episodes"
    "comments rec2"
    "rec3 rec3";
  gap: 14px 16px;
  align-items: start;
}
.hero {
  grid-area: hero;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 14px 18px;
  align-items: start;
}
.hero-paper {
  position: relative;
  grid-column: 1 / 2;
  grid-row: 1 / span 2;
  background: #efe9d8;
  border: 1px solid #c9c2a9;
  box-shadow: 4px 5px 0 rgba(43, 47, 54, 0.16);
  padding: 14px 14px 18px;
  transform: rotate(-1.1deg);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  background-image:
    repeating-linear-gradient(180deg, rgba(120, 130, 145, 0.16) 0 1px, transparent 1px 26px),
    linear-gradient(180deg, #f2ecdc, #e8e1cd);
}
.hero-paper::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(178, 58, 45, 0.28);
  pointer-events: none;
}
.hero-poster-wrap {
  grid-column: 1 / 2;
  width: 150px;
  max-width: 100%;
  flex: 0 0 auto;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid #b8ae91;
  box-shadow: 2px 3px 0 rgba(43, 47, 54, 0.18);
  background: #d8d2c0;
}
.hero-sheet {
  grid-column: 2 / 3;
  min-width: 0;
}
.hero-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: #8a6a4e;
  border-bottom: 1px dashed #c0b393;
  padding-bottom: 4px;
  margin-bottom: 6px;
}
.hero-title {
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  color: #1f2733;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.hero-tagline {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 0.95rem;
  color: #4b5460;
  margin-bottom: 22px;
  padding-left: 8px;
  border-left: 3px solid #b23a2d;
}
.hero-seo {
  font-size: 0.83rem;
  line-height: 1.6;
  color: #3d434c;
  text-align: justify;
}
.hero-annotation {
  position: absolute;
  right: 10px;
  top: 4px;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-weight: 700;
  font-size: 1rem;
  color: #b23a2d;
  letter-spacing: 0.08em;
  transform: rotate(6deg);
  padding: 2px 6px;
  border: 1px solid rgba(178, 58, 45, 0.55);
  border-radius: 2px;
  background: rgba(246, 241, 228, 0.75);
  pointer-events: none;
}
.hero-player-wrap {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  background: #23262d;
  border: 1px solid #161a20;
  padding: 6px;
  min-width: 0;
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 0;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 6px 2px 2px;
}
.ctrl-btn {
  font-size: 0.72rem;
  padding: 3px 8px;
  background: #3a4048;
  color: #e6e2d6;
  border: 1px solid #565e69;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.ctrl-btn:hover {
  background: #4b5460;
}
.ctrl-btn.is-playing, .ctrl-btn.is-active, .ctrl-btn.is-muted {
  background: #b23a2d;
  border-color: #b23a2d;
  color: #f6f1e4;
}
.ctrl-range {
  flex: 1 1 70px;
  min-width: 60px;
  height: 16px;
  accent-color: #b23a2d;
  background: transparent;
  cursor: pointer;
}
.ctrl-range[data-player-action="volume"] {
  flex: 0 1 84px;
}
.cast-strip {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  background: #e6e2d4;
  border: 1px solid #c6c0ab;
  padding: 8px 10px 10px;
  min-width: 0;
}
.cast-heading, .status-heading, .details-heading, .synopsis-heading, .timeline-heading, .episodes-heading, .comments-heading, .rec-title {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: #b23a2d;
  border-bottom: 1px solid rgba(178, 58, 45, 0.35);
  padding-bottom: 3px;
  margin-bottom: 8px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-card {
  flex: 1 1 84px;
  min-width: 84px;
  background: #f3efe2;
  border: 1px solid #ccc5ae;
  border-left: 3px solid #7d8a99;
  padding: 5px 7px;
  text-align: center;
}
.cast-name {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2b2f36;
  letter-spacing: 0.05em;
}
.episode-status, .details-block, .synopsis-block {
  grid-column: 1 / 2;
  background: #ece7d9;
  border: 1px solid #c9c2a9;
  padding: 8px 10px 10px;
  min-width: 0;
}
.episode-status {
  border-left: 3px solid #b23a2d;
}
.status-line {
  font-size: 0.82rem;
  color: #2b2f36;
  margin-bottom: 3px;
}
.status-note {
  font-size: 0.75rem;
  color: #6b6152;
}
.details-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.details-row {
  display: flex;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed #cfc8b2;
  font-size: 0.78rem;
  align-items: baseline;
}
.details-row:last-child {
  border-bottom: 0;
}
.details-key {
  flex: 0 0 62px;
  color: #7a7161;
  letter-spacing: 0.04em;
}
.details-value {
  flex: 1 1 auto;
  color: #2b2f36;
  min-width: 0;
}
.synopsis-block {
  background: #f1ecdd;
}
.synopsis-para {
  font-size: 0.8rem;
  line-height: 1.55;
  color: #3d434c;
  text-align: justify;
  margin-bottom: 6px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.timeline-rail {
  grid-area: rail;
  align-self: start;
  background: #2f3540;
  color: #dfdacb;
  border: 1px solid #1c2027;
  padding: 10px 10px 12px;
  position: sticky;
  top: 52px;
  min-width: 0;
}
.timeline-heading {
  color: #e3b7a8;
  border-bottom-color: rgba(227, 183, 168, 0.4);
}
.timeline-list {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 14px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: repeating-linear-gradient(180deg, #b23a2d 0 6px, transparent 6px 12px);
}
.timeline-node {
  position: relative;
  padding: 5px 0 5px 6px;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(223, 218, 203, 0.14);
}
.timeline-node:last-child {
  border-bottom: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 10px;
  width: 7px;
  height: 7px;
  background: #efe9d8;
  border: 2px solid #b23a2d;
  border-radius: 50%;
}
.timeline-timecode {
  display: inline-block;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-weight: 700;
  color: #e3b7a8;
  margin-right: 6px;
  letter-spacing: 0.05em;
}
.timeline-label {
  color: #cdc7b8;
}
.episodes-block {
  grid-area: episodes;
  background: #e9e4d6;
  border: 1px solid #c6c0ab;
  padding: 10px 12px 12px;
  min-width: 0;
}
.episodes-total {
  font-size: 0.74rem;
  color: #6b6152;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  background: #f5f1e4;
  border: 1px solid #ccc5ae;
  border-top: 2px solid #7d8a99;
  padding: 7px 9px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  position: relative;
}
.episode-card-active {
  background: #fbf3e7;
  border-top-color: #b23a2d;
  box-shadow: 2px 2px 0 rgba(178, 58, 45, 0.22);
}
.episode-card-active::after {
  content: "在追";
  position: absolute;
  right: 7px;
  top: 6px;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 0.66rem;
  color: #b23a2d;
  border: 1px solid rgba(178, 58, 45, 0.5);
  padding: 0 4px;
  border-radius: 2px;
  transform: rotate(4deg);
}
.episode-number {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #b23a2d;
  letter-spacing: 0.06em;
}
.episode-title {
  font-size: 0.88rem;
  color: #1f2733;
  letter-spacing: 0.03em;
}
.episode-summary {
  font-size: 0.74rem;
  line-height: 1.5;
  color: #4b5460;
  text-align: justify;
}
.episode-duration {
  font-size: 0.68rem;
  color: #8a8172;
  letter-spacing: 0.05em;
  margin-top: 1px;
}
.rec-region {
  background: #dfdacb;
  border: 1px solid #c2bba4;
  padding: 8px 10px 10px;
  min-width: 0;
}
.rec-region-1 {
  grid-area: rec1;
  border-left: 4px solid #7d8a99;
}
.rec-region-2 {
  grid-area: rec2;
  border-left: 4px solid #b23a2d;
}
.rec-region-3 {
  grid-area: rec3;
  border-left: 4px solid #8a7a4e;
}
.rec-title {
  margin-bottom: 7px;
}
.rec-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 7px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #f2eee1;
  border: 1px solid #c9c2a9;
  padding: 5px;
  color: #2b2f36;
  text-decoration: none;
  min-width: 0;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
a.rec-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 0 rgba(43, 47, 54, 0.2);
  border-color: #b23a2d;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #cec8b6;
  border: 1px solid #c1baa4;
}
.rec-name {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1f2733;
  line-height: 1.3;
}
.rec-blurb {
  font-size: 0.68rem;
  line-height: 1.45;
  color: #6b6152;
}
.comments-block {
  grid-area: comments;
  background: #e4dfd0;
  border: 1px solid #c6c0ab;
  padding: 8px 10px 12px;
  min-width: 0;
}
.comment-notes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 9px;
  align-items: start;
  padding-top: 4px;
}
.comment-note {
  background: #fdf6dd;
  border: 1px solid #ddd2a8;
  padding: 7px 8px 6px;
  box-shadow: 2px 3px 0 rgba(43, 47, 54, 0.14);
  min-width: 0;
}
.comment-note:nth-child(3n + 1) {
  transform: rotate(-1.4deg);
  background: #fdf6dd;
}
.comment-note:nth-child(3n + 2) {
  transform: rotate(1.1deg);
  background: #f7f0e2;
}
.comment-note:nth-child(3n + 3) {
  transform: rotate(-0.6deg);
  background: #fbf4dc;
}
.comment-text {
  font-size: 0.74rem;
  line-height: 1.55;
  color: #3d434c;
  text-align: justify;
  margin-bottom: 5px;
}
.comment-nickname {
  display: block;
  text-align: right;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 0.7rem;
  color: #b23a2d;
  letter-spacing: 0.06em;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  border-top: 2px solid #b23a2d;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
}
.footer-nav {
  display: flex;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.78rem;
  color: #2b2f36;
  text-decoration: underline;
  text-decoration-color: rgba(178, 58, 45, 0.5);
  text-underline-offset: 3px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #b23a2d;
  text-decoration-color: #b23a2d;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  flex: 1 1 320px;
}
.friend-links-label {
  font-size: 0.72rem;
  color: #7a7161;
  letter-spacing: 0.08em;
}
a.runtime-friend-link {
  font-size: 0.74rem;
  color: #4b5460;
  text-decoration: underline;
  text-decoration-color: rgba(125, 138, 153, 0.6);
  text-underline-offset: 3px;
}
a.runtime-friend-link:hover {
  color: #b23a2d;
  text-decoration-color: #b23a2d;
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-size: 0.68rem;
  line-height: 1.6;
  color: #7a7161;
}
.player.is-theater, .hero-player-wrap.is-theater {
  background: #0e1013;
  box-shadow: 0 0 0 2px #b23a2d inset;
}
.hero-player-wrap.lights-off {
  background: #000;
}
.lights-off .player-video {
  filter: brightness(0.82);
}
.player .progress, .player .volume, .ctrl-range.input {
  accent-color: #b23a2d;
}
.ctrl-btn.play, .ctrl-btn.pause, .ctrl-btn.mute, .ctrl-btn.speed, .ctrl-btn.pip, .ctrl-btn.fullscreen, .ctrl-btn.theater, .ctrl-btn.light, .ctrl-btn.click, .ctrl-btn.x, .ctrl-btn.timeupdate {
  transition: background 0.12s ease, color 0.12s ease;
}
.ctrl-btn.x {
  background: #6b3a34;
}
.ctrl-btn.click {
  box-shadow: 0 0 0 2px rgba(178, 58, 45, 0.6);
}
.is-active.ctrl-btn, .ctrl-btn.is-active {
  background: #b23a2d;
  color: #f6f1e4;
}
@media (max-width: 1024px) {.page-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    grid-template-areas:
      "hero hero"
      "rail episodes"
      "rec1 episodes"
      "comments comments"
      "rec2 rec2"
      "rec3 rec3";
  }}
@media (max-width: 860px) {.page-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "hero"
      "rail"
      "episodes"
      "rec1"
      "rec2"
      "comments"
      "rec3";
    gap: 12px;
  }
.hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }
.hero-paper {
    grid-column: 1 / -1;
    grid-row: auto;
    transform: rotate(-0.6deg);
  }
.hero-player-wrap {
    grid-column: 1 / -1;
    grid-row: auto;
  }
.cast-strip, .episode-status, .details-block, .synopsis-block {
    grid-column: 1 / -1;
  }
.timeline-rail {
    position: static;
    top: auto;
  }
.timeline-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0 14px;
    padding-left: 0;
  }
.timeline-list::before {
    display: none;
  }
.timeline-node {
    padding-left: 12px;
    border-bottom: 1px solid rgba(223, 218, 203, 0.2);
  }
.timeline-node::before {
    left: 0;
    top: 9px;
  }}
@media (max-width: 560px) {body {
    font-size: 13px;
  }
.header-inner {
    padding: 7px 12px;
  }
.page-main {
    padding: 10px 12px 24px;
  }
.hero-paper {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 12px 14px;
    transform: rotate(-0.5deg);
  }
.hero-paper::before {
    display: none;
  }
.hero-poster-wrap {
    width: 132px;
    margin: 0 auto;
  }
.hero-annotation {
    position: static;
    display: inline-block;
    transform: rotate(-3deg);
    margin-top: 6px;
  }
.hero-tagline {
    margin-bottom: 12px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-strip {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  }
.comment-notes {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-note:nth-child(3n + 1), .comment-note:nth-child(3n + 2), .comment-note:nth-child(3n + 3) {
    transform: rotate(0deg);
  }
.ctrl-range {
    flex: 1 1 100%;
  }
.ctrl-range[data-player-action="volume"] {
    flex: 1 1 100%;
  }
.footer-nav, .friend-links {
    flex: 1 1 100%;
  }}

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}
