:root {
  --paper: #d6d2c6;
  --paper-deep: #c8c3b5;
  --ink: #2b2f2e;
  --ink-soft: #4a4f4c;
  --ink-faint: #6d726c;
  --ochre: #9c5a2e;
  --ochre-deep: #7d4520;
  --ochre-pale: #b98a5e;
  --line: rgba(43, 47, 46, 0.22);
  --line-soft: rgba(43, 47, 46, 0.12);
  --card: #dedacd;
  --card-odd: #e2ddcf;
  --card-even: #d4cfc0;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(43, 47, 46, 0.045) 1px, transparent 1px),
    radial-gradient(rgba(43, 47, 46, 0.03) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 2px 3px;
  color: var(--ink);
  font-family: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", "STSong", "宋体", serif;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
body.lights-off {
  background-color: #1b1d1c;
  background-image: none;
  color: #cfc9bb;
}
h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
}
ul, ol {
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ochre-deep);
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
input[type="range"] {
  margin: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(214, 210, 198, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 7px 16px;
  max-width: 1240px;
  margin: 0 auto;
}
a[data-contract="site-name"].site-brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-decoration: none;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}
a[data-contract="site-name"].site-brand:hover {
  color: var(--ochre-deep);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  white-space: nowrap;
  font-size: 12.5px;
  line-height: 1.2;
  padding: 3px 9px;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.18);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--ochre-deep);
  border-color: var(--ochre-pale);
  background: rgba(156, 90, 46, 0.08);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 34px;
}
.section-heading {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--ink);
  padding-left: 10px;
  margin-bottom: 10px;
  border-left: 3px solid var(--ochre);
  line-height: 1.3;
}
.hero-section {
  position: relative;
  padding-bottom: 6px;
}
.hero-silhouette {
  position: absolute;
  top: -12px;
  right: 6%;
  width: 320px;
  height: 300px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 42px 46px at 50% 15%, rgba(43, 47, 46, 0.5) 0%, rgba(43, 47, 46, 0.5) 62%, transparent 64%),
    radial-gradient(ellipse 96px 130px at 50% 78%, rgba(43, 47, 46, 0.46) 0%, rgba(43, 47, 46, 0.46) 70%, transparent 72%),
    linear-gradient(180deg, transparent 62%, rgba(154, 90, 46, 0.1) 100%);
  filter: blur(0.4px);
  opacity: 0.9;
}
.hero-title-vertical {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 0 18px;
  width: max-content;
  max-width: 100%;
}
.hero-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}
.hero-tagline {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.34em;
  color: var(--ochre-deep);
  padding-top: 4px;
}
.hero-water-gauge {
  position: absolute;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}
.water-gauge-track {
  width: 7px;
  height: 96px;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 7px,
    rgba(43, 47, 46, 0.28) 7px,
    rgba(43, 47, 46, 0.28) 8px
  );
  position: relative;
}
.water-gauge-track::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(156, 90, 46, 0.42), rgba(125, 69, 32, 0.72));
}
.water-gauge-label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ochre-deep);
}
.overview-panel {
  position: relative;
  z-index: 4;
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ochre);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 6px 18px -14px rgba(43, 47, 46, 0.6);
}
.poster-column {
  min-width: 0;
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  filter: saturate(0.82) contrast(1.02);
}
.info-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: var(--ink);
}
.info-tagline {
  font-size: 12.5px;
  color: var(--ochre-deep);
  letter-spacing: 0.16em;
}
.info-seo {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
  text-align: justify;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1px 16px;
  padding: 2px 0 6px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding: 2px 0;
  border-bottom: 1px dotted var(--line-soft);
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.14em;
}
.detail-key::after {
  content: "";
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.player-wrapper {
  position: relative;
  width: 100%;
  margin-top: 4px;
  background: #141716;
  border: 1px solid var(--line);
  overflow: hidden;
}
.player-wrapper.player-theater {
  box-shadow: 0 0 0 3px rgba(156, 90, 46, 0.5);
}
.player-video {
  display: block;
  width: 100%;
  background: #141716;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  padding: 7px 8px;
  background: rgba(27, 29, 28, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ctrl-btn {
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #d9d3c5;
  background: transparent;
  border: 1px solid rgba(217, 211, 197, 0.28);
  border-radius: 1px;
  padding: 3px 8px;
  line-height: 1.25;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.ctrl-btn:hover {
  color: #f0e9da;
  border-color: var(--ochre-pale);
  background: rgba(156, 90, 46, 0.22);
}
.ctrl-btn.click {
  background: rgba(156, 90, 46, 0.5);
  color: #fff6e6;
  border-color: var(--ochre-pale);
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(217, 211, 197, 0.24);
  border-radius: 0;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 12px;
  background: var(--ochre-pale);
  border: none;
  border-radius: 0;
}
.ctrl-progress::-moz-range-thumb {
  width: 10px;
  height: 12px;
  background: var(--ochre-pale);
  border: none;
  border-radius: 0;
}
.ctrl-progress.progress {
  background: rgba(217, 211, 197, 0.32);
}
.ctrl-volume {
  flex: 0 1 74px;
  min-width: 54px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(217, 211, 197, 0.24);
  border-radius: 0;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 12px;
  background: #cfc9bb;
  border: none;
  border-radius: 0;
}
.ctrl-volume::-moz-range-thumb {
  width: 8px;
  height: 12px;
  background: #cfc9bb;
  border: none;
  border-radius: 0;
}
.ctrl-volume.volume {
  background: rgba(217, 211, 197, 0.34);
}
.ctrl-volume.mute {
  opacity: 0.5;
}
.synopsis-panel {
  margin-top: 22px;
  padding: 12px 14px 14px;
  background: rgba(222, 218, 205, 0.6);
  border-left: 2px solid var(--ochre-pale);
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-soft);
  text-align: justify;
  text-indent: 2em;
}
.synopsis-para + .synopsis-para {
  margin-top: 6px;
}
.cast-panel {
  margin-top: 20px;
}
.cast-strip {
  display: flex;
  gap: 10px;
  padding: 2px 2px 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.cast-strip::-webkit-scrollbar {
  height: 5px;
}
.cast-strip::-webkit-scrollbar-thumb {
  background: rgba(43, 47, 46, 0.28);
}
.cast-item {
  flex: 0 0 auto;
  width: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  scroll-snap-align: start;
}
.cast-avatar {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--paper);
  background: linear-gradient(160deg, var(--ink-soft), var(--ink));
  border: 1px solid var(--line);
  border-radius: 50%;
  letter-spacing: 0;
}
.cast-item:nth-child(even) .cast-avatar {
  background: linear-gradient(160deg, var(--ochre), var(--ochre-deep));
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.episode-status {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--ochre-deep);
  padding: 5px 10px;
  display: inline-block;
  border: 1px solid var(--ochre-pale);
  background: rgba(156, 90, 46, 0.08);
}
.timeline-section {
  margin-top: 26px;
  padding: 14px 14px 20px;
  background: var(--card);
  border: 1px solid var(--line);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding-top: 16px;
  align-items: start;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: var(--line);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding: 0 2px;
}
.node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-soft);
  box-shadow: 0 0 0 3px var(--card);
  margin-top: 8px;
  transition: transform 0.18s ease;
}
.node-time {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.node-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.06em;
}
.timeline-node-active .node-dot {
  width: 13px;
  height: 13px;
  margin-top: 6px;
  background: var(--ochre);
  box-shadow: 0 0 0 3px var(--card), 0 0 0 5px rgba(156, 90, 46, 0.24);
}
.timeline-node-active .node-time {
  color: var(--ochre-deep);
  font-weight: 600;
}
.timeline-node-active .node-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ochre-deep);
}
.episodes-section {
  margin-top: 24px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  border-top: 1px solid var(--line);
}
.episode-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.episode-number {
  flex: 0 0 auto;
  width: 26px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ochre);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.episode-body {
  min-width: 0;
  flex: 1 1 auto;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1.35;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-faint);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  display: inline-block;
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ochre-deep);
  padding: 1px 6px;
  border: 1px solid var(--line-soft);
}
.comments-section {
  margin-top: 26px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px 18px;
}
.comment-card {
  padding: 9px 11px 10px;
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--ochre-pale);
  background: var(--card-odd);
  box-shadow: 0 4px 12px -10px rgba(43, 47, 46, 0.7);
  min-width: 0;
}
.comment-card-odd {
  background: var(--card-odd);
}
.comment-card-even {
  background: var(--card-even);
}
.comment-stack .comment-card:nth-child(1) { margin-top: 0; }
.comment-stack .comment-card:nth-child(2) { margin-top: 16px; }
.comment-stack .comment-card:nth-child(3) { margin-top: -4px; }
.comment-stack .comment-card:nth-child(4) { margin-top: 10px; }
.comment-stack .comment-card:nth-child(5) { margin-top: -10px; }
.comment-stack .comment-card:nth-child(6) { margin-top: 4px; }
.comment-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--paper);
  background: var(--ink-soft);
  border-radius: 50%;
}
.comment-card-even .comment-avatar {
  background: var(--ochre);
}
.comment-nickname {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink);
  font-weight: 500;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-soft);
  text-align: justify;
}
.recommend-region {
  margin-top: 26px;
}
.recommend-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-align: left;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
}
a.recommend-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommend-link:hover {
  border-color: var(--ochre-pale);
  background: var(--card-odd);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  background: var(--paper-deep);
  filter: saturate(0.8);
}
[data-runtime="recommendation"] {
  text-decoration: none;
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(1);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.35;
  color: var(--ink);
  display: block;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 30px;
  padding: 16px 16px 26px;
  background: var(--paper-deep);
  border-top: 2px solid var(--ochre);
  color: var(--ink-soft);
}
.footer-disclaimer {
  max-width: 1240px;
  margin: 0 auto 10px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-faint);
  text-align: justify;
}
.friend-links {
  max-width: 1240px;
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--ink);
  font-weight: 600;
  padding-right: 6px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-faint);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--ochre-deep);
  text-decoration: underline;
}
.footer-nav {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  text-decoration: none;
}
a[data-contract="footer-home"].footer-link:hover, a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--ochre-deep);
  text-decoration: underline;
}
.player-wrapper.player-theater .player-video {
  filter: brightness(0.92);
}
body.lights-off .site-header, body.lights-off .site-footer {
  background: #1b1d1c;
  border-color: rgba(207, 201, 187, 0.2);
}
body.lights-off .overview-panel, body.lights-off .timeline-section, body.lights-off .recommend-link, body.lights-off .comment-card {
  background: #232624;
  border-color: rgba(207, 201, 187, 0.18);
}
@media (max-width: 900px) {.overview-panel {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 16px;
  }
.hero-silhouette {
    right: 2%;
    width: 240px;
    height: 230px;
  }
.comment-stack .comment-card:nth-child(n) {
    margin-top: 0;
  }}
@media (max-width: 720px) {body {
    font-size: 14px;
  }
.header-bar {
    padding: 6px 12px;
    gap: 6px 12px;
  }
.page-main {
    padding: 0 12px 28px;
  }
.hero-title-vertical {
    padding: 20px 0 12px;
    gap: 10px;
  }
.hero-silhouette {
    top: 0;
    right: -6%;
    width: 190px;
    height: 200px;
    opacity: 0.7;
  }
.hero-water-gauge {
    bottom: 8px;
  }
.water-gauge-track {
    height: 74px;
  }
.overview-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
.poster-column {
    max-width: 190px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 6px;
    padding-top: 0;
  }
.timeline-track::before {
    display: none;
  }
.timeline-node {
    padding-top: 6px;
    border-top: 1px solid var(--line-soft);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.comment-stack .comment-card:nth-child(n) {
    margin-top: 0;
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
  }}
@media (max-width: 480px) {.hero-title {
    font-size: 30px;
    letter-spacing: 0.16em;
  }
.hero-tagline {
    font-size: 11.5px;
    letter-spacing: 0.24em;
  }
.hero-silhouette {
    width: 150px;
    height: 165px;
    opacity: 0.55;
  }
.info-title {
    font-size: 18px;
  }
.cast-item {
    width: 56px;
  }
.cast-avatar {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.ctrl-btn {
    font-size: 11px;
    padding: 3px 6px;
  }}

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}
