*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #efeae1;
  color: #3f3a33;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button, input {
  font: inherit;
  color: inherit;
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(239, 234, 225, 0.94);
  border-bottom: 1px solid #ddd4c4;
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #3f3a33;
  text-decoration: none;
  padding: 2px 8px 2px 0;
  border-right: 2px solid #f0c93c;
  margin-right: 4px;
}
a[data-contract="site-name"]:hover {
  color: #c8453f;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  color: #6b6357;
  text-decoration: none;
  padding: 3px 9px;
  background: #f7f3ea;
  border: 1px solid #e0d7c6;
  border-radius: 2px;
  transition: background 0.15s ease, color 0.15s ease;
}
a.runtime-category:hover {
  background: #f0c93c;
  border-color: #e0b820;
  color: #4a3f14;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  color: #3f3a33;
  letter-spacing: 0.08em;
  padding: 0 0 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid #d8cfbe;
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: #c8453f;
}
.desk-hero {
  margin: 20px 0 26px;
}
.desk-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  background: #fbf7ef;
  border: 1px solid #e5dccb;
  border-radius: 3px;
  padding: 18px;
  box-shadow: 0 1px 0 #fff inset, 0 6px 18px -14px rgba(70, 58, 40, 0.55);
  position: relative;
  overflow: hidden;
}
.desk-hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(240, 201, 60, 0.07), transparent 30%),
    repeating-linear-gradient(90deg, rgba(120, 105, 80, 0.045) 0 1px, transparent 1px 34px);
  pointer-events: none;
}
.poster-column {
  position: relative;
  z-index: 1;
}
.poster-frame {
  display: block;
  width: 100%;
  padding: 6px;
  background: #fff;
  border: 1px solid #e2d8c6;
  border-radius: 2px;
  box-shadow: 0 8px 16px -12px rgba(60, 48, 30, 0.7);
  transform: rotate(-1.4deg);
  position: relative;
}
.poster-frame::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 46px;
  height: 14px;
  transform: translateX(-50%) rotate(1.5deg);
  background: rgba(240, 201, 60, 0.55);
  border: 1px solid rgba(220, 180, 40, 0.5);
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1px;
}
.desk-objects {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.title-block {
  border-left: 3px solid #f0c93c;
  padding-left: 10px;
}
.movie-title {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #332e27;
}
.movie-tagline {
  margin-top: 5px;
  font-size: 12.5px;
  color: #8a7f6c;
  line-height: 1.5;
}
.movie-seo-note {
  font-size: 12px;
  line-height: 1.6;
  color: #6b6357;
  background: #fffdf7;
  border: 1px dashed #e0d3ba;
  border-radius: 2px;
  padding: 8px 10px;
}
.card-stack {
  position: relative;
  padding-top: 4px;
  min-height: 150px;
}
.stack-heading {
  margin-bottom: 26px;
}
.cast-file {
  position: absolute;
  left: 0;
  width: 62%;
  min-width: 150px;
  background: #fffdf8;
  border: 1px solid #e4dac7;
  border-radius: 2px;
  padding: 7px 10px 8px;
  box-shadow: 0 5px 12px -10px rgba(60, 48, 30, 0.8);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cast-file::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  background: linear-gradient(225deg, #efeae1 46%, #ddd2bc 50%, #f6f1e6 54%);
  border-bottom-left-radius: 2px;
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: #332e27;
}
.cast-actor {
  font-size: 11px;
  color: #8a7f6c;
  margin-top: 1px;
}
.cast-file-linwan {
  top: 30px;
  left: 0;
  z-index: 1;
  transform: rotate(-2deg);
  background: #fdf8ee;
}
.cast-file-sutong {
  top: 62px;
  left: 42px;
  z-index: 2;
  transform: rotate(1.6deg);
  background: #fbf6ea;
}
.cast-file-xiaolu {
  top: 94px;
  left: 96px;
  z-index: 3;
  width: 46%;
  min-width: 118px;
  transform: rotate(-1deg);
  background: #fffbe6;
  border-color: #efd97a;
  box-shadow: 0 8px 14px -9px rgba(150, 120, 20, 0.8);
}
.cast-file-xiaolu .cast-name {
  font-size: 14px;
  color: #a83a35;
}
.cast-file:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 10px 18px -12px rgba(60, 48, 30, 0.9);
}
.cast-support-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 156px;
  padding-top: 8px;
  border-top: 1px dotted #ddd2bc;
}
.cast-support-item {
  font-size: 11.5px;
  color: #6b6357;
}
.cast-support-item::before {
  content: "·";
  margin-right: 3px;
  color: #c8453f;
}
.synopsis-block {
  background: #fffdf7;
  border: 1px solid #e8dfcd;
  border-left: 3px solid #e3d7be;
  border-radius: 2px;
  padding: 10px 12px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.66;
  color: #55503f;
}
.synopsis-para + .synopsis-para {
  margin-top: 6px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-start;
}
.status-chip {
  display: inline-block;
  font-size: 11.5px;
  line-height: 1.4;
  padding: 3px 9px;
  border-radius: 2px;
  border: 1px solid #ddd2bc;
  background: #f7f3ea;
  color: #5c5548;
  white-space: nowrap;
}
.status-chip-current {
  background: #f0c93c;
  border-color: #e0b820;
  color: #4a3f14;
  font-weight: 700;
}
.status-chip-score {
  background: #fbe3e1;
  border-color: #f0c0bc;
  color: #a83a35;
  font-weight: 700;
}
.player-wrapper {
  width: 100%;
  min-width: 0;
  background: #2c2821;
  border: 1px solid #cbbfa8;
  border-radius: 3px;
  padding: 6px;
}
.player-wrapper video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border-radius: 2px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.ctrl-btn {
  font-size: 11px;
  line-height: 1.3;
  padding: 3px 8px;
  background: #f7f3ea;
  border: 1px solid #cbbfa8;
  border-radius: 2px;
  color: #4a4438;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.ctrl-btn:hover {
  background: #f0c93c;
  border-color: #e0b820;
}
.ctrl-btn.is-active, .ctrl-btn.play.is-active {
  background: #c8453f;
  border-color: #a83a35;
  color: #fff;
}
.ctrl-range {
  height: 4px;
  min-width: 70px;
  flex: 1 1 90px;
  max-width: 220px;
  accent-color: #c8453f;
  cursor: pointer;
}
.details-table {
  background: #fffdf7;
  border: 1px solid #e8dfcd;
  border-radius: 2px;
  padding: 10px 12px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  padding: 2px 0;
  border-bottom: 1px dotted #ece3d1;
}
.detail-key {
  flex: 0 0 auto;
  color: #8a7f6c;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  color: #46413a;
  font-weight: 600;
}
.timeline-section {
  margin-bottom: 26px;
}
.timeline-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.timeline-note {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px 10px;
  border: 1px solid #e2d8c6;
  border-radius: 2px;
  font-size: 12px;
  box-shadow: 0 4px 9px -8px rgba(60, 48, 30, 0.9);
}
.timeline-note::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 26px;
  height: 10px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(190, 175, 145, 0.5);
}
.timeline-timecode {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a7f6c;
}
.timeline-label {
  line-height: 1.45;
  color: #4a4438;
}
.note-white {
  background: #fffdf8;
  transform: rotate(-0.6deg);
}
.note-yellow {
  background: #fdf3c8;
  border-color: #ecd88a;
  transform: rotate(0.7deg);
}
.note-pink {
  background: #fbe0dd;
  border-color: #f0bcb6;
  transform: rotate(-0.4deg);
}
.episodes-section {
  margin-bottom: 26px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.episodes-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.episode-card {
  position: relative;
  background: #fffdf7;
  border: 1px solid #e5dccb;
  border-radius: 2px;
  padding: 10px 12px 22px;
  overflow: hidden;
}
.episode-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background: linear-gradient(135deg, #efeae1 47%, #d9cfba 50%, #f7f2e7 55%);
  border-bottom-right-radius: 2px;
}
.episodes-even .episode-card {
  background: #fdfaf2;
}
.episode-title {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #332e27;
  margin-bottom: 4px;
}
.episodes-even .episode-title {
  color: #8a4a3f;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.6;
  color: #6b6357;
}
.episode-duration {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-size: 10.5px;
  color: #a83a35;
  font-weight: 700;
}
.comments-section {
  margin-bottom: 26px;
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-block {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 9px 11px;
  border: 1px solid #e2d8c6;
  border-radius: 2px;
  box-shadow: 0 4px 9px -8px rgba(60, 48, 30, 0.85);
}
.comment-light {
  background: #fffdf8;
  transform: rotate(-0.5deg);
}
.comment-dark {
  background: #f4ecdb;
  border-color: #ddd0b6;
  transform: rotate(0.6deg);
}
.comment-icon {
  flex: 0 0 auto;
  font-size: 10px;
  line-height: 1.3;
  padding: 2px 5px;
  border: 1px dashed #cbbfa8;
  border-radius: 2px;
  color: #8a7f6c;
  background: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}
.comment-body {
  min-width: 0;
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 700;
  color: #4a4438;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.6;
  color: #6b6357;
}
.recommend-region {
  margin-bottom: 24px;
}
.recommend-heading {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #3f3a33;
  margin-bottom: 8px;
  padding-left: 9px;
  border-left: 3px solid #c8453f;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  background: #fffdf7;
  border: 1px solid #e5dccb;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
a.recommend-card:hover {
  transform: translateY(-2px);
  border-color: #e0b820;
  box-shadow: 0 8px 14px -11px rgba(60, 48, 30, 0.95);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
  background: #e8dfcd;
}
.recommend-name {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #332e27;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: #8a7f6c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-duel .recommend-heading {
  border-left-color: #f0c93c;
}
.recommend-duel a.recommend-card {
  background: #fdf9ee;
}
.recommend-reconcile .recommend-heading {
  border-left-color: #d98a84;
}
.recommend-reconcile a.recommend-card {
  background: #fdf4f2;
  border-color: #eed6d1;
}
.baking-form-section {
  margin-bottom: 30px;
}
.baking-form {
  position: relative;
  background: #fdfaf1;
  border: 1px solid #e0d5bf;
  border-radius: 2px;
  padding: 16px 18px 18px;
  box-shadow: 0 10px 22px -18px rgba(60, 48, 30, 0.9);
  max-width: 560px;
  transform: rotate(-0.5deg);
}
.baking-form::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 60px;
  height: 13px;
  transform: translateX(-50%) rotate(1deg);
  background: rgba(240, 201, 60, 0.5);
  border: 1px solid rgba(220, 180, 40, 0.45);
}
.baking-form-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #3f3a33;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e5dccb;
}
.baking-note {
  font-size: 12px;
  line-height: 1.7;
  color: #6b6357;
  border-bottom: 1px dotted #ece3d1;
  padding: 3px 0;
}
.baking-handwriting {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #a83a35;
  font-style: italic;
  letter-spacing: 0.03em;
  transform: rotate(-1deg);
  padding-left: 4px;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 28px;
  border-top: 1px solid #ddd4c4;
  font-size: 11.5px;
  color: #8a7f6c;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  color: #55503f;
  text-decoration: none;
  border-bottom: 1px solid #d8cfbe;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #c8453f;
  border-bottom-color: #c8453f;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 10px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  color: #6b6357;
}
a.runtime-friend-link {
  font-size: 11px;
  color: #8a7f6c;
  text-decoration: none;
  padding: 1px 5px;
  background: #f7f3ea;
  border: 1px solid #e5dccb;
  border-radius: 2px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #a83a35;
  border-color: #e8c3bf;
  background: #fdf4f2;
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.6;
  color: #9c9384;
  max-width: 720px;
}
body.theater-mode .desk-hero-inner {
  grid-template-columns: minmax(0, 1fr);
}
body.theater-mode .player-wrapper {
  background: #17140f;
}
body.theater-mode .poster-column {
  max-width: 240px;
}
body.lights-off .page-main {
  background: #14120e;
  color: #e5dccb;
}
body.lights-off .site-header, body.lights-off .site-footer {
  background: #1c1913;
  border-color: #332e27;
  color: #b8ad99;
}
body.lights-off .section-heading {
  color: #e5dccb;
  border-bottom-color: #3a342a;
}
@media (max-width: 900px) {.desk-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.poster-column {
    max-width: 220px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {body {
    font-size: 13.5px;
  }
.page-main {
    padding: 0 12px 32px;
  }
.movie-title {
    font-size: 19px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.comments-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-strip {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }
.cast-file {
    width: 66%;
  }
.cast-file-xiaolu {
    left: 84px;
    width: 50%;
  }
.baking-form {
    max-width: 100%;
  }}
@media (max-width: 520px) {.header-inner {
    gap: 8px;
  }
.poster-column {
    max-width: 180px;
  }
.recommend-row {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-file {
    width: 72%;
  }
.cast-file-xiaolu {
    left: 56px;
    width: 54%;
  }
.cast-support-list {
    margin-top: 168px;
  }
.ctrl-btn {
    padding: 3px 6px;
  }
.ctrl-range {
    flex: 1 1 100%;
    max-width: 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}
