:root {
  --night: #101a33;
  --night-2: #16223f;
  --night-3: #1d2b4d;
  --night-deep: #0a1020;
  --paper: #e9dcb4;
  --paper-dim: #cdbd8e;
  --paper-soft: #f3e9c9;
  --ink: #1a2138;
  --ink-soft: #2b3554;
  --rust: #a4553f;
  --yokai: #6d7fa8;
  --line: rgba(233, 220, 180, 0.28);
  --line-ink: rgba(26, 33, 56, 0.35);
  --serif: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Helvetica, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--night-deep);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  max-width: 100%;
  display: block;
}
h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--paper);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 16, 32, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper-soft);
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}
a[data-contract="site-name"] {
  color: var(--paper-soft);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #fff;
  border-bottom-color: var(--rust);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
  align-items: center;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.78rem;
  line-height: 1;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 14px 12px 15px 11px;
  background: rgba(29, 43, 77, 0.55);
  color: var(--paper-dim);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--paper-soft);
  border-color: var(--rust);
  background: rgba(164, 85, 63, 0.22);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 40px;
}
.section-heading {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--paper-soft);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.hero-section {
  position: relative;
  padding-top: 18px;
}
.hero-backdrop {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-silhouette {
  position: absolute;
  right: -6%;
  top: -4%;
  width: 58%;
  height: 62%;
  background:
    radial-gradient(60% 55% at 62% 30%, rgba(233, 220, 180, 0.18), transparent 70%),
    linear-gradient(200deg, rgba(109, 127, 168, 0.32), rgba(16, 26, 51, 0) 72%);
  border-radius: 48% 52% 40% 60% / 60% 44% 56% 40%;
  filter: blur(1px);
}
.hero-yokai-sketches {
  position: absolute;
  left: -4%;
  bottom: -6%;
  width: 62%;
  height: 70%;
  background:
    repeating-linear-gradient(78deg, rgba(233, 220, 180, 0.09) 0 1px, transparent 1px 17px),
    repeating-linear-gradient(-64deg, rgba(233, 220, 180, 0.07) 0 1px, transparent 1px 23px),
    radial-gradient(40% 30% at 30% 70%, rgba(109, 127, 168, 0.22), transparent 72%);
  border-radius: 40% 60% 55% 45% / 52% 46% 54% 48%;
  opacity: 0.9;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.6fr);
  gap: 20px;
  align-items: start;
  padding: 6px 0 14px;
}
.hero-poster-column {
  align-self: start;
}
.poster-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px 10px 16px 9px;
  padding: 6px;
  background: linear-gradient(160deg, rgba(233, 220, 180, 0.14), rgba(29, 43, 77, 0.5));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}
.poster-frame img {
  width: 100%;
  height: auto;
  border-radius: 9px;
  object-fit: cover;
}
.poster-apron-label {
  position: absolute;
  right: 10px;
  bottom: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: var(--paper);
  padding: 3px 8px 4px;
  border-radius: 3px 8px 4px 9px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  transform: rotate(-4deg);
  white-space: nowrap;
}
.hero-info-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.hero-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  color: var(--paper-dim);
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--serif);
  font-size: 2.05rem;
  line-height: 1.14;
  font-weight: 700;
  color: var(--paper-soft);
  letter-spacing: 0.02em;
}
.hero-tagline {
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--yokai);
  letter-spacing: 0.06em;
  font-style: italic;
}
.hero-tagline::before {
  content: "“";
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--rust);
  margin-right: 2px;
  line-height: 0;
}
.hero-seo-lead {
  font-size: 0.86rem;
  line-height: 1.72;
  color: var(--paper-dim);
  max-width: 62ch;
  padding-left: 10px;
  border-left: 2px dotted var(--line);
}
.hero-player-shell {
  position: relative;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px 9px 14px 8px;
  padding: 7px;
  background: linear-gradient(180deg, rgba(29, 43, 77, 0.6), rgba(10, 16, 32, 0.85));
}
.hero-player-shell video {
  width: 100%;
  border-radius: 8px;
  background: #05090f;
}
.player-control-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  padding: 4px 2px 2px;
}
.player-btn {
  font-size: 0.72rem;
  line-height: 1;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 11px 9px 12px 8px;
  background: rgba(233, 220, 180, 0.06);
  color: var(--paper-dim);
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.player-btn:hover {
  color: var(--paper-soft);
  border-color: var(--rust);
  background: rgba(164, 85, 63, 0.24);
}
.player-btn.is-active {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper-soft);
}
.player-range-label, .player-select-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: var(--paper-dim);
}
.player-range-text, .player-select-text {
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.player-range {
  width: 88px;
  accent-color: var(--rust);
  cursor: pointer;
}
.player-select {
  background: rgba(233, 220, 180, 0.08);
  border: 1px solid var(--line);
  border-radius: 9px 7px 10px 6px;
  color: var(--paper);
  font-size: 0.72rem;
  padding: 3px 5px;
  cursor: pointer;
}
.hero-player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--rust) inset;
}
.hero-player-shell.is-lights-off {
  background: #04070d;
}
.hero-player-shell.is-lights-off .player-control-bar {
  opacity: 0.55;
}
.cast-section {
  position: relative;
  z-index: 1;
  margin-top: 4px;
}
.cast-fan {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-card {
  flex: 1 1 120px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 6px 9px;
  border: 1px solid var(--line);
  border-radius: 14px 10px 15px 9px;
  background: linear-gradient(165deg, rgba(233, 220, 180, 0.1), rgba(29, 43, 77, 0.42));
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cast-card:nth-child(1) { transform: translateY(6px) rotate(-1.4deg); }
.cast-card:nth-child(2) { transform: translateY(2px) rotate(-0.6deg); }
.cast-card:nth-child(3) { transform: translateY(-1px); }
.cast-card:nth-child(4) { transform: translateY(2px) rotate(0.6deg); }
.cast-card:nth-child(5) { transform: translateY(6px) rotate(1.4deg); }
.cast-card:hover {
  border-color: var(--rust);
  transform: translateY(0) rotate(0deg);
}
.cast-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50% 46% 52% 48% / 48% 52% 46% 54%;
  overflow: hidden;
  display: block;
  font-size: 0;
  color: transparent;
  background: linear-gradient(150deg, var(--yokai), var(--night-3));
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.cast-actor {
  font-family: var(--serif);
  font-size: 0.84rem;
  color: var(--paper-soft);
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 0.7rem;
  color: var(--paper-dim);
  letter-spacing: 0.06em;
}
.episode-status-section {
  margin-top: 16px;
}
.episode-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.episode-status-row {
  flex: 1 1 140px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 11px;
  border: 1px dashed var(--line);
  border-radius: 10px 8px 11px 7px;
  background: rgba(233, 220, 180, 0.05);
}
.episode-status-key {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--paper-dim);
}
.episode-status-value {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--paper-soft);
}
.synopsis-section {
  margin-top: 18px;
}
.synopsis-columns {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px dotted var(--line);
}
.synopsis-paragraph {
  font-size: 0.84rem;
  line-height: 1.78;
  color: var(--paper-dim);
  margin-bottom: 9px;
  break-inside: avoid;
}
.synopsis-paragraph:first-child::first-letter {
  font-family: var(--serif);
  font-size: 2.4rem;
  float: left;
  line-height: 0.82;
  padding: 3px 6px 0 0;
  color: var(--rust);
}
.details-section {
  margin-top: 20px;
  padding: 14px 16px 16px;
  border-radius: 14px 11px 15px 10px;
  background: linear-gradient(180deg, var(--night-2), var(--night-deep));
  border: 1px solid rgba(233, 220, 180, 0.14);
}
.details-heading {
  color: var(--paper-soft);
  border-bottom-color: rgba(233, 220, 180, 0.16);
}
.details-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.details-row {
  border-bottom: 1px dotted rgba(233, 220, 180, 0.16);
}
.details-row:last-child {
  border-bottom: none;
}
.details-key, .details-value {
  padding: 5px 8px 5px 0;
  vertical-align: top;
  text-align: left;
}
.details-key {
  width: 30%;
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--yokai);
  white-space: nowrap;
}
.details-value {
  font-size: 0.82rem;
  color: var(--paper);
  word-break: break-word;
}
.timeline-section {
  margin-top: 26px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 0;
  position: relative;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 7px 0 7px 12px;
  border-bottom: 1px solid var(--line-ink);
  border-image: repeating-linear-gradient(90deg, rgba(233, 220, 180, 0.35) 0 8px, transparent 8px 14px) 1;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 2px rgba(164, 85, 63, 0.25);
}
.timeline-timecode {
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--paper-soft);
  white-space: nowrap;
}
.timeline-label {
  font-size: 0.82rem;
  color: var(--paper-dim);
  line-height: 1.5;
}
.episodes-section {
  margin-top: 26px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px 11px;
  border: 1px solid var(--line);
  border-radius: 13px 9px 14px 8px;
  background: linear-gradient(170deg, rgba(233, 220, 180, 0.09), rgba(16, 26, 51, 0.72));
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.episode-card:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
}
.episode-number {
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--rust);
}
.episode-title {
  font-family: var(--serif);
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--paper-soft);
  font-weight: 700;
}
.episode-summary {
  font-size: 0.78rem;
  line-height: 1.62;
  color: var(--paper-dim);
  max-height: 2.6em;
  overflow: hidden;
  transition: max-height 0.32s ease, color 0.2s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 14em;
  color: var(--paper);
}
.episode-duration {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--yokai);
  padding-top: 4px;
  border-top: 1px dotted var(--line);
  margin-top: auto;
}
.comments-section {
  margin-top: 26px;
  padding: 12px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 14px 10px 15px 9px;
  background: linear-gradient(180deg, rgba(29, 43, 77, 0.55), rgba(10, 16, 32, 0.7));
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-item {
  padding: 8px 10px 9px;
  border-left: 2px solid var(--rust);
  border-radius: 0 9px 10px 0;
  background: rgba(233, 220, 180, 0.05);
}
.comment-nickname {
  display: block;
  font-family: var(--serif);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--paper-soft);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 0.78rem;
  line-height: 1.66;
  color: var(--paper-dim);
}
.comment-text::before {
  content: "“";
  font-family: var(--serif);
  color: var(--rust);
  font-size: 1.1rem;
  line-height: 0;
}
.recommendation-section {
  margin-top: 24px;
}
.recommendation-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommendation-track::-webkit-scrollbar {
  height: 6px;
}
.recommendation-track::-webkit-scrollbar-thumb {
  background: rgba(164, 85, 63, 0.55);
  border-radius: 4px;
}
.recommendation-track::-webkit-scrollbar-track {
  background: rgba(233, 220, 180, 0.08);
}
.recommendation-card {
  flex: 0 0 168px;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 7px 9px;
  border: 1px solid var(--line);
  border-radius: 12px 9px 13px 8px;
  background: linear-gradient(170deg, rgba(233, 220, 180, 0.08), rgba(16, 26, 51, 0.75));
  color: var(--paper);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.recommendation-card:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 8px 6px 8px 6px;
  background: var(--night-3);
}
.recommendation-name {
  font-family: var(--serif);
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--paper-soft);
}
.recommendation-blurb {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--paper-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 30px;
  background: var(--night-deep);
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 18px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 12px 22px;
  align-items: start;
}
.footer-disclaimer {
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--yokai);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
.footer-link {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
  padding-bottom: 1px;
}
a[data-contract="footer-home"] {
  color: var(--paper-soft);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--rust);
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  color: var(--paper-dim);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--paper-soft);
  text-decoration: underline;
}
.footer-friend-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--yokai);
  white-space: nowrap;
}
.runtime-friend-link {
  font-size: 0.72rem;
  color: var(--paper-dim);
  text-decoration: none;
  padding: 2px 7px;
  border-radius: 9px 7px 10px 6px;
  background: rgba(233, 220, 180, 0.06);
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--paper-soft);
  background: rgba(164, 85, 63, 0.28);
  text-decoration: underline;
}
@media (max-width: 900px) {.hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster-column {
    max-width: 260px;
  }
.hero-title {
    font-size: 1.7rem;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 640px) {body {
    font-size: 14px;
  }
.site-header-inner {
    padding: 7px 12px;
    gap: 8px;
  }
.page-main {
    padding: 0 12px 32px;
  }
.hero-poster-column {
    max-width: 210px;
  }
.hero-title {
    font-size: 1.45rem;
  }
.hero-seo-lead {
    padding-left: 8px;
  }
.player-range {
    width: 66px;
  }
.cast-card {
    flex: 1 1 96px;
  }
.cast-avatar {
    width: 44px;
    height: 44px;
  }
.synopsis-columns {
    columns: 1;
    column-rule: none;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    max-height: 3.9em;
  }
.recommendation-card {
    flex: 0 0 150px;
    width: 150px;
  }
.details-key {
    width: 34%;
  }}
@media (max-width: 420px) {.hero-title {
    font-size: 1.28rem;
  }
.cast-card {
    flex: 1 1 84px;
    padding: 6px 4px 7px;
  }
.cast-actor {
    font-size: 0.76rem;
  }
.cast-role {
    font-size: 0.66rem;
  }
.recommendation-card {
    flex: 0 0 138px;
    width: 138px;
  }}

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}
