*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #f3ecd8;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 244, 199, 0.85), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(198, 226, 220, 0.55), transparent 38%),
    linear-gradient(180deg, #f6efdc 0%, #f1e9d3 55%, #eae4d0 100%);
  color: #4a4436;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100%;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 239, 220, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(120, 108, 78, 0.16);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  font-family: "Kaiti SC", "STKaiti", "Kaiti", "PingFang SC", serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7a5a34;
  text-decoration: none;
  border-bottom: 2px solid rgba(214, 178, 92, 0.55);
  padding-bottom: 1px;
}
a[data-contract="site-name"]:hover {
  color: #a3642c;
  border-bottom-color: rgba(163, 100, 44, 0.7);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 12px;
  border-radius: 999px;
  background: #fdf6df;
  border: 1px solid rgba(180, 156, 96, 0.45);
  color: #6d5c3a;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
a.runtime-category:hover {
  background: #f7e3ab;
  color: #7a4f1f;
  transform: translateY(-1px) rotate(-1deg);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-heading, .block-heading {
  font-family: "Kaiti SC", "STKaiti", "Kaiti", "PingFang SC", serif;
  font-weight: 700;
  color: #6b5330;
  letter-spacing: 0.1em;
}
.section-heading {
  font-size: 1.05rem;
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 4px solid #e2b64f;
  line-height: 1.25;
}
.block-heading {
  font-size: 0.96rem;
  margin-bottom: 7px;
  color: #7c6238;
}
.hero-diary {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.5fr);
  gap: 18px;
  align-items: start;
  background: rgba(252, 247, 229, 0.72);
  border: 1px solid rgba(160, 142, 96, 0.28);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 6px 18px -12px rgba(90, 74, 40, 0.5);
}
.hero-notes {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}
.sticky-note {
  position: relative;
  padding: 9px 12px 10px;
  border-radius: 3px 10px 4px 8px;
  box-shadow: 0 4px 9px -5px rgba(90, 74, 40, 0.55);
  font-family: "Kaiti SC", "STKaiti", "Kaiti", "PingFang SC", serif;
}
.note-line {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #5b4a2c;
  letter-spacing: 0.02em;
}
.note-rose {
  background: #f8d9d5;
  border: 1px solid rgba(196, 122, 116, 0.35);
  transform: rotate(-1.6deg);
}
.note-sky {
  background: #d6e7ea;
  border: 1px solid rgba(110, 152, 160, 0.35);
  transform: rotate(1.3deg);
}
.note-amber {
  background: #fbeaa8;
  border: 1px solid rgba(190, 160, 68, 0.35);
  transform: rotate(-0.8deg);
}
.sticky-note:nth-child(2) {
  margin-left: 12px;
}
.sticky-note:nth-child(3) {
  margin-left: 4px;
  transform: rotate(1.1deg);
}
.sticky-note:nth-child(4) {
  margin-left: 16px;
  transform: rotate(-1.2deg);
}
.diary-caption {
  margin-top: 4px;
  padding: 8px 4px 2px;
  border-top: 1px dashed rgba(140, 122, 82, 0.4);
}
.caption-line {
  font-family: "Kaiti SC", "STKaiti", "Kaiti", "PingFang SC", serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #7a5c31;
  letter-spacing: 0.04em;
}
.caption-sub {
  font-size: 0.8rem;
  color: #8b7a58;
  margin-top: 2px;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.poster-frame {
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
  padding: 7px;
  background: #fdfaf0;
  border: 1px solid rgba(160, 142, 96, 0.35);
  box-shadow: 0 8px 16px -12px rgba(80, 66, 36, 0.7);
  transform: rotate(-0.9deg);
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 6px;
}
.poster-tape {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 74px;
  height: 18px;
  background: rgba(232, 209, 140, 0.72);
  border-left: 1px dashed rgba(255, 255, 255, 0.65);
  border-right: 1px dashed rgba(255, 255, 255, 0.65);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(120, 100, 60, 0.25);
  pointer-events: none;
}
.title-block {
  min-width: 0;
}
.movie-title {
  font-family: "Kaiti SC", "STKaiti", "Kaiti", "PingFang SC", serif;
  font-size: 1.62rem;
  line-height: 1.25;
  font-weight: 700;
  color: #6a4d26;
  letter-spacing: 0.05em;
}
.movie-tagline {
  margin-top: 3px;
  font-size: 0.88rem;
  color: #9a6f38;
  font-weight: 600;
}
.movie-seo {
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #6f6549;
}
.player-shell {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #2f2b22;
  border: 1px solid rgba(120, 104, 66, 0.4);
  box-shadow: 0 10px 20px -14px rgba(70, 58, 30, 0.85);
}
.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #211e18;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(58, 52, 40, 0.96), rgba(42, 38, 30, 0.96));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.control-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f2e9d2;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.control-btn:hover {
  background: rgba(244, 214, 128, 0.22);
  border-color: rgba(244, 214, 128, 0.5);
}
.control-btn.is-playing, .control-btn.is-active {
  background: #e8c463;
  border-color: #e8c463;
  color: #40331a;
}
.control-btn.is-muted {
  background: #d99a92;
  border-color: #d99a92;
  color: #3d2320;
}
.control-progress, .control-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
}
.control-progress {
  flex: 1 1 120px;
  min-width: 90px;
}
.control-volume {
  flex: 0 1 74px;
  min-width: 60px;
}
.control-progress.is-active, .control-volume.is-active {
  background: rgba(232, 196, 99, 0.45);
}
.control-progress::-webkit-slider-thumb, .control-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f0d488;
  border: 1px solid rgba(90, 74, 36, 0.6);
}
.control-progress::-moz-range-thumb, .control-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(90, 74, 36, 0.6);
  border-radius: 50%;
  background: #f0d488;
}
.control-speed {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f2e9d2;
  font-size: 0.72rem;
  padding: 3px 6px;
  border-radius: 8px;
  cursor: pointer;
}
.control-speed.is-active {
  border-color: #e8c463;
  color: #f6e7b6;
}
.control-speed option {
  color: #3a3222;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 3px rgba(232, 196, 99, 0.45);
}
.player-shell.is-lights-off {
  background: #0d0c0a;
}
.player-shell.is-lights-off video {
  filter: brightness(0.62);
}
.player-shell:fullscreen {
  border-radius: 0;
  border: none;
}
.player-shell:fullscreen video {
  height: 100%;
  object-fit: contain;
}
.episode-status {
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(214, 231, 234, 0.6);
  border: 1px dashed rgba(120, 152, 158, 0.5);
}
.status-line {
  font-size: 0.83rem;
  color: #4f5d5e;
  line-height: 1.55;
}
.status-line:first-child {
  font-weight: 700;
  color: #3f5759;
}
.detail-block, .synopsis-block, .cast-block {
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(253, 250, 240, 0.72);
  border: 1px solid rgba(160, 142, 96, 0.24);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 6px 10px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding: 3px 6px;
  border-radius: 7px;
  background: rgba(244, 238, 219, 0.75);
}
.detail-item dt {
  flex: 0 0 auto;
  font-size: 0.72rem;
  color: #9b8a66;
  letter-spacing: 0.06em;
}
.detail-item dd {
  font-size: 0.8rem;
  color: #5c5340;
  font-weight: 600;
  min-width: 0;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 8px 9px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fdf7e3, #f6eed8);
  border: 1px solid rgba(178, 156, 100, 0.35);
  box-shadow: 0 5px 12px -10px rgba(96, 78, 40, 0.75);
  transform: rotate(-0.5deg);
}
.cast-card:nth-child(even) {
  transform: rotate(0.7deg);
}
.cast-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, #fdf3d0 0%, #f0cf7d 46%, #d8ab4c 100%);
  border: 2px solid #fbf4e2;
  box-shadow: 0 2px 6px -3px rgba(120, 96, 40, 0.75);
}
.cast-name {
  font-family: "Kaiti SC", "STKaiti", "Kaiti", "PingFang SC", serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #6d5128;
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 0.74rem;
  line-height: 1.5;
  color: #877a5c;
}
.synopsis-para {
  font-size: 0.83rem;
  line-height: 1.72;
  color: #655d48;
  text-indent: 1.4em;
}
.synopsis-para + .synopsis-para {
  margin-top: 5px;
}
.timeline-section {
  padding: 12px 13px 13px;
  border-radius: 14px;
  background: rgba(250, 244, 226, 0.7);
  border: 1px solid rgba(160, 142, 96, 0.26);
}
.timeline-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 6px 14px;
  align-items: start;
  border-left: 2px dashed rgba(200, 170, 100, 0.6);
  padding-left: 12px;
}
.timeline-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255, 251, 238, 0.82);
  border: 1px solid rgba(190, 168, 112, 0.25);
  min-width: 0;
}
.timeline-code {
  flex: 0 0 auto;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: #a8762f;
  letter-spacing: 0.06em;
}
.timeline-label {
  font-size: 0.79rem;
  line-height: 1.5;
  color: #645b43;
  min-width: 0;
}
.episodes-section {
  padding: 12px 13px 13px;
  border-radius: 14px;
  background: rgba(252, 248, 234, 0.7);
  border: 1px solid rgba(160, 142, 96, 0.26);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 11px 10px;
  border-radius: 11px;
  background: linear-gradient(180deg, #fefaf0, #f7f0dc);
  border: 1px solid rgba(184, 162, 106, 0.34);
  box-shadow: 0 4px 10px -9px rgba(96, 78, 40, 0.8);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
}
.episode-card:hover {
  transform: translateY(-2px) rotate(-0.4deg);
  border-color: rgba(216, 172, 78, 0.75);
  box-shadow: 0 8px 16px -10px rgba(120, 92, 34, 0.85);
}
.episode-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #b3842f;
}
.episode-title {
  font-family: "Kaiti SC", "STKaiti", "Kaiti", "PingFang SC", serif;
  font-size: 0.94rem;
  font-weight: 700;
  color: #6a5027;
  letter-spacing: 0.03em;
}
.episode-summary {
  font-size: 0.76rem;
  line-height: 1.62;
  color: #7a7059;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.24s ease, margin-top 0.24s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 12em;
  opacity: 1;
  margin-top: 3px;
}
.episode-duration {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 0.7rem;
  color: #8d7f5d;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(219, 234, 232, 0.75);
  border: 1px solid rgba(150, 178, 176, 0.4);
}
.recommend-section {
  padding: 12px 13px 13px;
  border-radius: 14px;
  background: rgba(249, 244, 228, 0.7);
  border: 1px solid rgba(160, 142, 96, 0.26);
}
.recommend-region-1 {
  background: rgba(252, 244, 219, 0.72);
}
.recommend-region-2 {
  background: rgba(231, 241, 240, 0.72);
}
.recommend-region-3 {
  background: rgba(250, 236, 233, 0.68);
}
.recommend-title {
  font-family: "Kaiti SC", "STKaiti", "Kaiti", "PingFang SC", serif;
  font-size: 1rem;
  font-weight: 700;
  color: #6d5329;
  letter-spacing: 0.08em;
  margin-bottom: 9px;
  padding-left: 10px;
  border-left: 4px solid #d9b45c;
}
.recommend-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 9px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  border-radius: 11px;
  background: #fffdf6;
  border: 1px solid rgba(180, 158, 104, 0.36);
  box-shadow: 0 4px 10px -9px rgba(96, 78, 40, 0.8);
  color: #5c5340;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.recommend-item:hover {
  transform: translateY(-2px) rotate(0.5deg);
  border-color: rgba(214, 170, 74, 0.8);
  box-shadow: 0 9px 18px -11px rgba(120, 92, 34, 0.9);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  background: #efe7d2;
}
.recommend-name {
  font-family: "Kaiti SC", "STKaiti", "Kaiti", "PingFang SC", serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: #63492a;
  line-height: 1.4;
  letter-spacing: 0.03em;
}
.recommend-blurb {
  font-size: 0.73rem;
  line-height: 1.55;
  color: #867a5f;
}
.comments-section {
  padding: 12px 13px 13px;
  border-radius: 14px;
  background: rgba(249, 244, 228, 0.7);
  border: 1px solid rgba(160, 142, 96, 0.26);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 9px;
  align-items: start;
}
.comment-note {
  position: relative;
  padding: 9px 11px 10px;
  border-radius: 3px 11px 4px 9px;
  box-shadow: 0 5px 12px -9px rgba(90, 74, 40, 0.85);
  transform: rotate(-0.7deg);
}
.comment-note:nth-child(2n) {
  transform: rotate(0.9deg);
}
.comment-note:nth-child(3n) {
  transform: rotate(-1.2deg);
}
.comment-note:nth-child(4n) {
  transform: rotate(1.4deg);
}
.comment-text {
  font-size: 0.79rem;
  line-height: 1.66;
  color: #5b4a2c;
}
.comment-meta {
  margin-top: 5px;
  font-size: 0.71rem;
  color: #8d7a52;
  text-align: right;
  letter-spacing: 0.05em;
}
.comment-meta::before {
  content: "— ";
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  border-top: 1px dashed rgba(150, 132, 92, 0.4);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-disclaimer {
  font-size: 0.73rem;
  line-height: 1.65;
  color: #8d8268;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.79rem;
  color: #7a5c31;
  text-decoration: none;
  border-bottom: 1px solid rgba(190, 156, 80, 0.55);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #a3642c;
  border-bottom-color: #a3642c;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.footer-friends-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #7c6a44;
  letter-spacing: 0.08em;
}
a.runtime-friend-link {
  font-size: 0.74rem;
  color: #7d8a7c;
  text-decoration: none;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(224, 234, 226, 0.7);
  border: 1px solid rgba(150, 172, 152, 0.4);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #4f6b53;
  border-color: rgba(110, 148, 116, 0.7);
  background: rgba(210, 228, 212, 0.9);
}
@media (max-width: 900px) {.hero-diary {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.poster-frame {
    max-width: 210px;
  }
.timeline-strip {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 12px 12px 18px;
    gap: 13px;
  }
.hero-diary {
    padding: 13px;
    border-radius: 15px;
  }
.poster-frame {
    max-width: 176px;
    margin: 0 auto;
  }
.movie-title {
    font-size: 1.38rem;
  }
.episode-grid, .comment-stack, .cast-list, .recommend-column {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  }
.timeline-strip {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 9px;
  }
.control-progress {
    flex: 1 1 100%;
    order: 1;
  }
.player-controls {
    gap: 5px;
    padding: 6px 7px;
  }
.control-btn, .control-speed {
    font-size: 0.68rem;
    padding: 3px 7px;
  }}
@media (max-width: 400px) {.episode-grid, .comment-stack, .cast-list, .recommend-column, .detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.sticky-note:nth-child(2), .sticky-note:nth-child(3), .sticky-note:nth-child(4) {
    margin-left: 0;
  }
.poster-frame {
    max-width: 150px;
  }}

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}
