:root {
  --ink: #171b22;
  --ink-soft: #3a4250;
  --steel: #5d6b7e;
  --steel-2: #8b98a8;
  --steel-3: #b7c0cb;
  --mist: #dfe4ea;
  --mist-2: #eef1f5;
  --paper: #f5f7f9;
  --wine: #7b1f2b;
  --wine-2: #9c2b39;
  --wine-deep: #571620;
  --serif: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  --line: #c9d1da;
  --radius: 3px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 14px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.site-header {
  position: relative;
  background: var(--ink);
  border-bottom: 2px solid var(--wine);
}
.header-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"].brand {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  text-decoration: none;
  border-left: 4px solid var(--wine);
  padding-left: 10px;
  white-space: nowrap;
}
a[data-contract="site-name"].brand:hover {
  color: #e7c9cd;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  color: var(--steel-3);
  text-decoration: none;
  border: 1px solid #39414e;
  border-radius: var(--radius);
  padding: 3px 10px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #fff;
  background: var(--wine);
  border-color: var(--wine);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 32px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  grid-template-areas:
    "figure player"
    "info   player";
  gap: 14px 18px;
  align-items: start;
  padding: 20px 0 26px;
  border-bottom: 1px solid var(--line);
}
.hero-figure {
  grid-area: figure;
  position: relative;
  isolation: isolate;
  background: var(--ink);
  overflow: hidden;
  border-radius: var(--radius);
  align-self: start;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.92);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 19, 26, 0.55) 0%, rgba(15, 19, 26, 0) 34%),
    linear-gradient(0deg, rgba(15, 19, 26, 0.82) 0%, rgba(15, 19, 26, 0) 46%);
}
.hero-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 30px;
  color: #f3f5f8;
  letter-spacing: 0.22em;
  padding: 18px 0 0 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}
.hero-tagline {
  align-self: flex-end;
  max-width: 82%;
  margin: 0 14px 14px 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #f0d9dc;
  text-align: right;
  border-top: 1px solid rgba(200, 120, 130, 0.55);
  padding-top: 6px;
  letter-spacing: 0.04em;
}
.hero-player {
  grid-area: player;
  align-self: start;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #2b3340;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  background: #10141b;
  border-top: 1px solid #262e3a;
}
.player-btn {
  border: 1px solid #38414f;
  background: #1b212b;
  color: var(--steel-3);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.player-btn:hover {
  background: #262f3c;
  color: #fff;
}
.player-btn.is-playing, .player-btn.is-active {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}
.player-btn.is-muted {
  color: #e08a95;
  border-color: var(--wine-deep);
}
.player-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: #2c3542;
  border-radius: 2px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--wine-2);
  border: 2px solid #f2dfe2;
  cursor: pointer;
}
.player-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #f2dfe2;
  border-radius: 50%;
  background: var(--wine-2);
  cursor: pointer;
}
.player-volume {
  flex: 0 1 74px;
  min-width: 54px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: #2c3542;
  border-radius: 2px;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--steel-2);
  cursor: pointer;
}
.player-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--steel-2);
  cursor: pointer;
}
.player-speed {
  background: #1b212b;
  border: 1px solid #38414f;
  color: var(--steel-3);
  font-size: 12px;
  padding: 3px 6px;
  border-radius: var(--radius);
  cursor: pointer;
}
.hero-info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: start;
}
.info-block {
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.info-block:first-child {
  border-top: none;
  padding-top: 0;
}
.block-title {
  font-size: 15px;
  color: var(--wine-deep);
  letter-spacing: 0.1em;
  margin-bottom: 7px;
  padding-left: 9px;
  border-left: 3px solid var(--wine);
}
.synopsis-text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.72;
  margin-bottom: 7px;
  text-align: justify;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 62px;
  text-align: center;
}
.cast-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #8b98a8 0%, #5d6b7e 55%, #39424f 100%);
  border: 2px solid var(--mist);
  box-shadow: inset 0 0 0 1px var(--wine);
  margin-bottom: 4px;
}
.cast-item:nth-child(2n) .cast-avatar {
  background: radial-gradient(circle at 32% 28%, #a35a66 0%, #7b1f2b 58%, #4a111a 100%);
}
.cast-item:nth-child(3n) .cast-avatar {
  background: radial-gradient(circle at 32% 28%, #7d8a99 0%, #4b5563 55%, #232a33 100%);
}
.cast-name {
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
}
.cast-role {
  font-size: 10.5px;
  color: var(--steel);
  line-height: 1.25;
}
.status-line {
  font-size: 13px;
  color: var(--ink-soft);
}
.status-total, .status-current {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--wine);
  font-weight: 700;
  padding: 0 2px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 4px 10px 4px 0;
  border-bottom: 1px dashed var(--mist);
  font-size: 12.5px;
}
.detail-key {
  color: var(--steel);
  flex: 0 0 auto;
  min-width: 4.4em;
}
.detail-value {
  color: var(--ink);
  flex: 1 1 auto;
  text-align: right;
}
.section-heading {
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--ink);
  display: inline-block;
}
.timeline-section, .episodes-section, .comments-section {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line);
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.timeline-cell {
  flex: 0 0 auto;
  width: 148px;
  scroll-snap-align: start;
  background: var(--mist-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--steel-2);
  border-radius: var(--radius);
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}
.timeline-cell::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -11px;
  width: 11px;
  height: 1px;
  background: var(--line);
}
.timeline-cell:last-child::after {
  display: none;
}
.timeline-timecode {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
}
.timeline-label {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.timeline-cell-current {
  background: #f6e9eb;
  border-color: var(--wine);
  border-top-color: var(--wine);
}
.timeline-cell-current .timeline-timecode {
  color: var(--wine);
  font-weight: 700;
}
.timeline-cell-current .timeline-label {
  color: var(--wine-deep);
  font-weight: 600;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel-3);
  border-radius: var(--radius);
  padding: 9px 11px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.episode-card:hover {
  border-left-color: var(--wine);
  box-shadow: 0 2px 10px rgba(23, 27, 34, 0.09);
}
.episode-number {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--wine);
}
.episode-title {
  font-size: 14.5px;
  color: var(--ink);
}
.episode-quote {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-summary {
  font-size: 12px;
  color: var(--steel);
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease, margin-top 0.25s ease;
}
.episode-card:hover .episode-summary {
  max-height: 220px;
  opacity: 1;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px dashed var(--mist);
}
.episode-duration {
  font-size: 10.5px;
  color: var(--steel-2);
  letter-spacing: 0.06em;
  margin-top: auto;
}
.episode-card-current {
  border-left-color: var(--wine);
  background: #fbf3f4;
}
.episode-card-current .episode-number {
  color: var(--wine-2);
  font-weight: 700;
}
.comment-stream {
  columns: 2;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 11px 10px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 26px 1fr;
  grid-template-areas:
    "avatar nick"
    "text   text";
  gap: 3px 8px;
  align-items: center;
}
.comment-avatar {
  grid-area: avatar;
  width: 26px;
  height: 26px;
  border-radius: 2px;
  background: var(--steel);
}
.comment-card:nth-child(2n) .comment-avatar {
  background: var(--wine);
}
.comment-card:nth-child(3n) .comment-avatar {
  background: #46505f;
}
.comment-card:nth-child(5n) .comment-avatar {
  background: var(--wine-deep);
}
.comment-nickname {
  grid-area: nick;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
}
.comment-text {
  grid-area: text;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-region {
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
}
.rec-heading {
  font-size: 13px;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.14em;
  background: var(--mist-2);
  border-left: 4px solid var(--wine);
  padding: 5px 10px;
  margin-bottom: 10px;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  align-items: start;
}
.rec-item {
  min-width: 0;
}
a.rec-link {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-areas:
    "thumb name"
    "thumb blurb";
  gap: 2px 10px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px;
  height: 100%;
  text-decoration: none;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
a.rec-link:hover {
  border-color: var(--wine);
  box-shadow: 0 3px 12px rgba(23, 27, 34, 0.1);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: var(--mist);
  filter: saturate(0.8);
}
a.rec-link .rec-thumb {
  grid-area: thumb;
  align-self: start;
}
.rec-name {
  grid-area: name;
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.rec-blurb {
  grid-area: blurb;
  font-size: 11.5px;
  color: var(--steel);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: var(--ink);
  color: var(--steel-3);
  padding: 18px 16px 22px;
  font-size: 12px;
  border-top: 3px solid var(--wine);
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 12px;
  line-height: 1.7;
  color: #93a0b0;
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2a323e;
}
a[data-contract="footer-home"] {
  color: #dfe4ea;
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.06em;
}
a[data-contract="footer-home"]:hover {
  color: #e7a3ac;
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  color: var(--steel-2);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.06em;
}
a[data-contract="footer-sitemap"]:hover {
  color: #e7a3ac;
  text-decoration: underline;
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-family: var(--serif);
  color: var(--wine-2);
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  padding-right: 6px;
  border-right: 1px solid #2a323e;
}
a.runtime-friend-link {
  color: #7f8b9b;
  text-decoration: none;
  font-size: 11.5px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #dfe4ea;
  text-decoration: underline;
}
.theater-mode .page-main {
  max-width: 100%;
}
.theater-mode .hero {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "player"
    "figure"
    "info";
}
.lights-off {
  background: #0b0e13;
}
.lights-off .hero, .lights-off .timeline-section, .lights-off .episodes-section, .lights-off .comments-section, .lights-off .rec-region {
  background: #10141b;
  border-color: #232b36;
}
.lights-off .section-heading {
  color: #e6eaef;
  border-bottom-color: var(--wine);
}
.lights-off .block-title {
  color: #e2b6bd;
}
@media (max-width: 1024px) {.hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 780px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "figure"
      "player"
      "info";
  }
.hero-title {
    font-size: 24px;
  }
.comment-stream {
    columns: 1;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    max-height: none;
    opacity: 1;
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px dashed var(--mist);
  }
.rec-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 520px) {.header-bar {
    padding: 8px 12px;
    gap: 10px;
  }
.page-main {
    padding: 0 12px 24px;
  }
.hero-title {
    font-size: 20px;
    padding: 12px 0 0 10px;
  }
.hero-tagline {
    font-size: 11.5px;
    margin: 0 10px 10px 0;
  }
a.rec-link {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 2px 8px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-cell {
    width: 132px;
  }}

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}
