:root {
  --paper: #e8e3dc;
  --paper-2: #ded7cd;
  --ink: #2a2622;
  --ink-soft: #57504a;
  --ink-faint: #8b837a;
  --wine: #7d2b2b;
  --wine-deep: #5e1f1f;
  --wine-fade: #a15f5f;
  --line: #c5bcb0;
  --line-soft: #d5cdc2;
  --rule: #b8ae a1;
  --serif: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", "Source Han Serif", serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, dt, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
html {
  background: #d9d2c8;
}
body {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
.site-header {
  background: #1f1c19;
  color: #e8e3dc;
  border-bottom: 3px solid var(--wine);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 22px;
}
.site-brand[data-contract="site-name"], a[data-contract="site-name"] {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #f2ece3;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--wine-fade);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  color: #cdc4b7;
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}
a.runtime-category:hover {
  color: #f2ece3;
  border-bottom-color: var(--wine-fade);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 34px;
}
.hero-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 268px) minmax(0, 1fr);
  gap: 26px;
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 268px;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #cfc7ba;
  border: 1px solid var(--line);
  filter: saturate(0.82) contrast(1.02);
}
.hero-panel {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-title {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.15;
  color: #211d1a;
}
.hero-tagline {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 40em;
  padding-bottom: 2px;
}
.hero-player {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #191614;
  border: 1px solid #3a332e;
  padding: 0 0 8px;
}
.hero-player.is-theater {
  background: #0d0b0a;
  box-shadow: 0 0 0 3px var(--wine-deep);
}
.hero-player.is-dimmed {
  background: #050404;
}
.hero-player.is-dimmed .player-frame {
  opacity: 0.42;
}
.player-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 8px 0;
}
.player-btn {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #cfc7ba;
  border: 1px solid #4a4139;
  background: #221e1b;
  padding: 4px 9px;
  line-height: 1.4;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.player-btn:hover {
  background: #332c27;
  color: #f2ece3;
  border-color: var(--wine-fade);
}
.player-btn.is-active, .player-btn.click, .player-btn.play {
  background: var(--wine-deep);
  color: #f5efe6;
  border-color: var(--wine);
}
.player-btn.theater, .player-btn.fullscreen, .player-btn.light, .player-btn.mute, .player-btn.pip, .player-btn.speed, .player-btn.volume, .player-btn.progress, .player-btn.player {
  border-color: #4a4139;
}
.hero-panel .cast-strip, .hero-panel .synopsis-block, .hero-panel .detail-panel, .hero-panel .episode-status {
  min-width: 0;
}
.cast-heading, .synopsis-heading, .detail-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--wine-deep);
  text-transform: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.cast-strip {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.cast-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 8px 14px 8px 0;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}
.cast-card:nth-child(2n) {
  padding-right: 0;
  padding-left: 14px;
  border-right: 0;
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #211d1a;
  line-height: 1;
  padding: 2px 0;
}
.cast-line {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  align-self: start;
}
.synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: justify;
  margin-bottom: 7px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding-top: 4px;
}
.status-item {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--wine-deep);
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 3px 10px;
  line-height: 1.5;
}
.status-item:first-child {
  background: var(--wine);
  color: #f5efe6;
  border-color: var(--wine-deep);
}
.detail-panel {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 0;
}
.detail-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px dotted var(--line);
}
.detail-row:last-child {
  border-bottom: 0;
}
.detail-key {
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.detail-value {
  font-size: 13px;
  color: var(--ink);
  text-align: right;
  min-width: 0;
}
.timeline-section {
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--line);
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--line);
}
.timeline-track::-webkit-scrollbar-track {
  background: transparent;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 176px;
  padding: 0 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.timeline-dot {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--wine);
  position: relative;
  z-index: 1;
  margin-bottom: 2px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 11px;
  right: 0;
  height: 1px;
  background: var(--line);
}
.timeline-node:last-child::before {
  right: 0;
  background: linear-gradient(to right, var(--line), transparent);
}
.timeline-node:nth-child(1) .timeline-dot { background: #6d2626; }
.timeline-node:nth-child(2) .timeline-dot { background: #8a3a3a; }
.timeline-node:nth-child(3) .timeline-dot { background: #9b5a5a; }
.timeline-node:nth-child(4) .timeline-dot { background: #a97676; }
.timeline-node:nth-child(5) .timeline-dot { background: #b09292; }
.timeline-node:nth-child(6) .timeline-dot { background: #b9ada5; }
.timeline-node:nth-child(7) .timeline-dot { background: #c6bdb4; }
.timeline-time {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--wine-deep);
  font-weight: 600;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.episodes-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
}
.episode-card {
  border-bottom: 1px solid var(--line-soft);
  padding: 9px 0 8px;
  min-width: 0;
}
.episode-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #211d1a;
  line-height: 1.5;
  margin-bottom: 2px;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}
.episode-meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--wine-deep);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.22s ease, margin-top 0.22s ease;
  margin-top: 0;
}
.episode-card:hover .episode-summary {
  -webkit-line-clamp: unset;
  display: block;
  color: var(--ink);
}
.episode-card:hover .episode-meta {
  max-height: 40px;
  opacity: 1;
  margin-top: 5px;
}
.comments-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  align-items: start;
}
.comment-card {
  border-left: 3px solid var(--line);
  padding: 8px 12px;
  background: var(--paper-2);
  min-width: 0;
}
.comment-odd {
  border-left-color: var(--wine);
  background: #e4ded5;
}
.comment-even {
  border-left-color: #a98f7d;
  background: #ded7cd;
}
.comment-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  text-align: justify;
}
.comment-nick {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-align: right;
}
.comment-nick::before {
  content: "—— ";
}
.recommend-region {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.recommend-heading {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--wine-deep);
  border-bottom: 0;
  border-left: 1px solid var(--line);
  padding: 4px 0 4px 8px;
  margin-bottom: 0;
  line-height: 1;
  align-self: stretch;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.recommend-card[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  background: #e4ded5;
  padding: 6px;
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.recommend-card[data-runtime="recommendation"]:hover {
  border-color: var(--wine);
  background: #ece6dd;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #cfc7ba;
  filter: saturate(0.8);
}
.recommend-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #211d1a;
  line-height: 1.5;
}
.recommend-blurb {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region-1 .recommend-heading { color: #6d2626; }
.recommend-region-2 .recommend-heading { color: #8a3a3a; }
.recommend-region-3 .recommend-heading { color: #9b5a5a; }
.site-footer {
  background: #1f1c19;
  color: #b7aea2;
  border-top: 3px solid var(--wine);
  padding: 20px 18px 26px;
}
.site-footer > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.5;
  color: #8f867b;
  text-align: justify;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #37312c;
  margin-bottom: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #d8d0c4;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--wine-fade);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 14px;
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #7d7468;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #9c9386;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #e0d8cc;
  text-decoration: underline;
}
@media (max-width: 980px) {.hero-banner {
    grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
    gap: 20px;
  }
.hero-media {
    max-width: 210px;
  }
.recommend-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.hero-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px 0 24px;
  }
.hero-media {
    max-width: 220px;
  }
.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-card, .cast-card:nth-child(2n) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.comments-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-even {
    margin-left: 0;
  }
.recommend-region {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 480px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 0 12px 26px;
  }
.header-inner {
    padding: 9px 12px;
  }
.hero-media {
    max-width: 180px;
  }
.timeline-node {
    width: 156px;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.site-footer {
    padding: 18px 12px 22px;
  }}
@media (prefers-reduced-motion: reduce) {.episode-summary, .episode-meta, .recommend-card[data-runtime="recommendation"] {
    transition: 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}
