*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #e8e2d6;
  background-image:
    linear-gradient(180deg, #efe9dc 0%, #e6dfd0 40%, #e8e2d6 100%);
  color: #332f28;
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, dl, dd, p, h1, h2, h3 {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
h1, h2, h3, .site-brand, .btn-primary, .btn-ghost, .timeline-ticket, .episode-number, .recommend-heading, .friend-links-label, .runtime-category {
  font-family: "Heiti SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(38, 35, 29, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(200, 190, 168, 0.28);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"] {
  color: #f2ecdd;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
a[data-contract="site-name"]:hover {
  color: #f0b445;
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(122, 146, 92, 0.28);
  border: 1px solid rgba(160, 182, 122, 0.45);
  color: #dfe6cd;
  font-size: 12.5px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
a.runtime-category:hover {
  background: rgba(160, 182, 122, 0.55);
  color: #23281c;
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-band {
  position: relative;
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% 12%, rgba(240, 180, 69, 0.22) 0%, rgba(240, 180, 69, 0) 55%),
    radial-gradient(90% 80% at 6% 96%, rgba(122, 146, 92, 0.34) 0%, rgba(122, 146, 92, 0) 58%),
    linear-gradient(160deg, #2c2a24 0%, #38352c 46%, #2a2a22 100%);
  border: 1px solid rgba(200, 190, 168, 0.22);
}
.hero-band.theater-mode {
  background:
    radial-gradient(120% 90% at 88% 12%, rgba(240, 180, 69, 0.30) 0%, rgba(240, 180, 69, 0) 55%),
    linear-gradient(160deg, #1b1a16 0%, #23211b 60%, #17170f 100%);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.75);
}
.hero-backdrop {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 22px;
}
.hero-figure {
  flex: 0 0 168px;
  width: 168px;
  max-width: 42%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(220, 208, 182, 0.25);
}
.hero-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-copy {
  flex: 1 1 320px;
  min-width: 0;
  align-self: flex-start;
  padding-top: 4px;
}
.hero-title {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: #f6efdd;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}
.hero-tagline {
  margin-top: 7px;
  font-size: 14px;
  color: #f0b445;
  letter-spacing: 0.08em;
  border-left: 3px solid #7a925c;
  padding-left: 9px;
}
.hero-seo {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.72;
  color: #ccc3ad;
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.btn-primary, .btn-ghost {
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease;
}
.btn-primary {
  background: #c8452f;
  color: #fdf3e6;
  box-shadow: 0 4px 0 #8e2c1c;
}
.btn-primary:hover {
  background: #d9553e;
}
.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #8e2c1c;
}
.btn-ghost {
  background: transparent;
  color: #e3dbc6;
  border: 1px solid rgba(200, 190, 168, 0.5);
}
.btn-ghost:hover {
  background: rgba(240, 180, 69, 0.16);
  border-color: #f0b445;
  color: #f7dfa4;
}
.btn-ghost.active {
  background: rgba(240, 180, 69, 0.85);
  border-color: #f0b445;
  color: #2a2519;
}
.section-heading {
  font-size: 16px;
  letter-spacing: 0.14em;
  color: #332f28;
  padding-left: 11px;
  margin-bottom: 10px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, #7a925c, #f0b445 70%, #c8452f);
}
.synopsis-section, .cast-section, .status-section, .details-section, .timeline-section, .episodes-section, .comments-section {
  border-radius: 12px;
  padding: 14px 15px 15px;
  background: #f3eee1;
  border: 1px solid #ddd4c0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.synopsis-body {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px dashed #d4c9b0;
}
.synopsis-para {
  font-size: 14px;
  line-height: 1.85;
  color: #423c33;
  text-align: justify;
  break-inside: avoid;
  margin-bottom: 9px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.synopsis-para::first-letter {
  font-size: 1.05em;
  color: #8e2c1c;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
  min-width: 0;
}
.cast-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 3px, rgba(0, 0, 0, 0.05) 3px 6px),
    linear-gradient(150deg, #8d8676 0%, #6f7560 45%, #4f5744 100%);
  border: 1px solid #c8bda5;
  box-shadow: 0 3px 8px rgba(60, 52, 38, 0.22) inset;
  position: relative;
  overflow: hidden;
}
.cast-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 55% at 50% 32%, rgba(240, 180, 69, 0.28), rgba(240, 180, 69, 0) 70%);
  mix-blend-mode: screen;
}
.cast-name {
  font-size: 12.5px;
  text-align: center;
  color: #3a352c;
  letter-spacing: 0.05em;
  padding: 2px 4px 3px;
  border-bottom: 2px solid rgba(122, 146, 92, 0.5);
  align-self: center;
  white-space: nowrap;
}
.status-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: #3a352c;
  background: #e9e2d0;
  border: 1px solid #d6cbb2;
  border-left: 3px solid #7a925c;
}
.status-item:nth-child(2) {
  border-left-color: #c8452f;
}
.status-item:nth-child(4) {
  border-left-color: #f0b445;
  font-weight: 700;
  color: #8e2c1c;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 2px;
  border-bottom: 1px dashed #d8ceb8;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12.5px;
  color: #7c7361;
  letter-spacing: 0.08em;
}
.detail-key::after {
  content: "·";
  margin-left: 6px;
  color: #b9ae95;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  color: #332f28;
  text-align: right;
  word-break: break-word;
}
.player-shell {
  width: 100%;
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(180deg, #33302a, #26241f);
  border: 1px solid rgba(200, 190, 168, 0.24);
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow 0.25s ease;
}
.player-shell video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #000;
  display: block;
}
.player-shell.lights-dimmed {
  box-shadow: 0 0 0 9999px rgba(12, 11, 9, 0.82);
  z-index: 60;
  position: relative;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.player-controls button {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #ded6c1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 190, 168, 0.3);
  transition: background 0.16s ease, color 0.16s ease;
}
.player-controls button:hover {
  background: rgba(240, 180, 69, 0.2);
  color: #f7dfa4;
}
.player-controls button.active {
  background: #7a925c;
  border-color: #96ad73;
  color: #f6f2e5;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #b3a88d transparent;
  -webkit-overflow-scrolling: touch;
}
.timeline-scroll::-webkit-scrollbar {
  height: 7px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: #b3a88d;
  border-radius: 4px;
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  padding: 4px 2px 2px;
  min-width: max-content;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 30px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #c0b498 0 9px, transparent 9px 16px);
  z-index: 0;
}
.timeline-node {
  position: relative;
  z-index: 1;
  flex: 0 0 176px;
  width: 176px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
}
.timeline-ticket {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  color: #fdf3e6;
  background: #c8452f;
  border-radius: 3px;
  letter-spacing: 0.06em;
  box-shadow: 0 3px 0 rgba(120, 38, 24, 0.55);
  transform: rotate(-1.5deg);
}
.timeline-node:nth-child(even) .timeline-ticket {
  background: #7a925c;
  box-shadow: 0 3px 0 rgba(72, 88, 52, 0.55);
  transform: rotate(1.5deg);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.62;
  color: #4a4438;
  background: #fbf7ec;
  border: 1px solid #ddd4c0;
  border-radius: 4px;
  padding: 7px 9px;
  width: 100%;
  min-height: 62px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 10px;
  border-radius: 8px;
  background: #fbf7ec;
  border: 1px solid #ddd4c0;
  border-top: 3px solid #7a925c;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.episode-card:hover, .episode-card:focus-within {
  border-color: #c8452f;
  box-shadow: 0 5px 14px rgba(64, 54, 36, 0.18);
}
.episode-number {
  font-size: 12.5px;
  color: #8e2c1c;
  letter-spacing: 0.08em;
}
.episode-title {
  font-size: 14px;
  line-height: 1.35;
  color: #2f2b23;
  letter-spacing: 0.03em;
}
.episode-duration {
  font-size: 11.5px;
  color: #8a8069;
  letter-spacing: 0.05em;
  margin-top: auto;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.6;
  color: #4a4438;
  background: rgba(122, 146, 92, 0.12);
  border-left: 2px solid #7a925c;
  border-radius: 0 5px 5px 0;
  padding: 6px 8px;
  margin-top: 4px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.28s ease;
  padding-top: 0;
  padding-bottom: 0;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 240px;
  opacity: 1;
  padding-top: 6px;
  padding-bottom: 6px;
}
.comment-board {
  columns: 2;
  column-gap: 14px;
}
.comment-note {
  break-inside: avoid;
  display: block;
  margin-bottom: 11px;
  padding: 9px 11px 10px;
  border-radius: 7px;
  background: #fbf6e7;
  border: 1px solid #ded3ba;
  box-shadow: 2px 3px 0 rgba(160, 148, 120, 0.22);
  transition: transform 0.18s ease;
}
.comment-note:nth-child(3n + 1) {
  background: #f7f2e2;
  transform: rotate(-0.4deg);
}
.comment-note:nth-child(3n + 2) {
  background: #f1f4e6;
  border-color: #cfd8b8;
  transform: rotate(0.5deg);
}
.comment-note:nth-child(3n) {
  background: #faf0e0;
  border-color: #e6d2b4;
  transform: rotate(-0.3deg);
}
.comment-note:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 2px 6px 12px rgba(120, 106, 78, 0.24);
}
.comment-nickname {
  display: inline-block;
  font-family: "Heiti SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #4d5c33;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  padding-bottom: 1px;
  border-bottom: 1px dashed #b6c096;
}
.comment-text {
  font-size: 13px;
  line-height: 1.74;
  color: #403a30;
  text-align: justify;
}
.recommend-strip {
  border-radius: 12px;
  padding: 13px 14px 14px;
  background: #efe9da;
  border: 1px solid #ddd4c0;
}
.recommend-heading {
  font-size: 14.5px;
  letter-spacing: 0.1em;
  color: #332f28;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.recommend-heading::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #c8452f;
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.recommend-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: repeating-linear-gradient(90deg, #c8bda5 0 7px, transparent 7px 13px);
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 7px;
  border-radius: 8px;
  background: #fbf7ec;
  border: 1px solid #ddd4c0;
  color: #332f28;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.recommend-card:hover {
  transform: translateY(-3px);
  border-color: #c8452f;
  box-shadow: 0 7px 16px rgba(64, 54, 36, 0.2);
  text-decoration: none;
  color: #332f28;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 5px;
  background: #4f5744;
  border: 1px solid #d3c8ae;
}
.recommend-name {
  font-family: "Heiti SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #2f2b23;
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 12px;
  line-height: 1.58;
  color: #6d6454;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 30px;
  padding: 20px 16px 30px;
  background: linear-gradient(180deg, #2b2822, #201e19);
  color: #b6ad97;
  font-size: 12.5px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: center;
  text-align: center;
}
.footer-disclaimer {
  max-width: 74ch;
  line-height: 1.75;
  color: #9d947f;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: "Heiti SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #e8dfc8;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(240, 180, 69, 0.45);
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f0b445;
  border-bottom-color: #f0b445;
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  justify-content: center;
  align-items: center;
  max-width: 900px;
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #7a925c;
  padding-right: 6px;
  border-right: 1px solid rgba(122, 146, 92, 0.5);
}
a.runtime-friend-link {
  font-size: 12px;
  color: #a8a08b;
  text-decoration: none;
  padding: 1px 6px;
  border-radius: 4px;
  transition: color 0.16s ease, background 0.16s ease;
}
a.runtime-friend-link:hover {
  color: #f0b445;
  background: rgba(240, 180, 69, 0.1);
  text-decoration: underline;
}
@media (max-width: 1040px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.cast-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.hero-title {
    font-size: 26px;
  }
.recommend-row {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }}
@media (max-width: 720px) {.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.comment-board {
    columns: 1;
  }
.hero-backdrop {
    flex-direction: column;
    gap: 15px;
    padding: 16px;
  }
.hero-figure {
    flex: 0 0 auto;
    width: 150px;
    max-width: 46%;
    align-self: flex-start;
  }
.hero-copy {
    flex: 1 1 auto;
  }
.hero-seo {
    max-width: none;
  }
.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 560px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 0 11px 20px;
    gap: 16px;
  }
.header-bar {
    padding: 8px 11px;
  }
.hero-title {
    font-size: 22px;
  }
.hero-figure {
    width: 128px;
    max-width: 52%;
  }
.hero-tagline {
    font-size: 13px;
  }
.hero-seo {
    font-size: 13px;
  }
.btn-primary, .btn-ghost {
    padding: 6px 13px;
    font-size: 12.5px;
  }
.status-item {
    font-size: 12px;
    padding: 3px 9px;
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
.episode-card {
    padding: 8px;
  }
.episode-summary {
    max-height: 260px;
    opacity: 1;
    padding-top: 6px;
    padding-bottom: 6px;
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: 1fr;
  }
.player-shell {
    padding: 7px;
  }
.player-controls button {
    padding: 4px 10px;
    font-size: 12px;
  }
.site-footer {
    font-size: 12px;
    padding: 16px 12px 24px;
  }}
@media (max-width: 380px) {.episode-grid {
    grid-template-columns: 1fr;
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-row {
    grid-template-columns: 1fr;
  }}

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}
