*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, ul, ol, li, figure, figcaption, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:root {
  --ink: #211a1c;
  --ink-soft: #4a3f42;
  --muted: #8b7d80;
  --faint: #b3a6a8;
  --line: #d9cfcd;
  --paper: #f4f0ee;
  --paper-2: #ece6e4;
  --paper-3: #e2d9d7;
  --wine: #7c1f28;
  --wine-deep: #551218;
  --wine-bright: #9c2a33;
  --warm-gray: #b9aeab;
  --pad: 14px;
  --gap: 10px;
  --radius: 3px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(33, 26, 28, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--wine-deep);
}
.header-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px var(--pad);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: #f2e9e6;
  text-decoration: none;
  padding-right: 14px;
  border-right: 1px solid var(--wine);
}
a[data-contract="site-name"]:hover { color: var(--wine-bright); text-decoration: none; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 500;
  color: #cfc3c1;
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid rgba(156, 42, 51, 0.45);
  border-radius: var(--radius);
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
a.runtime-category:hover {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine-bright);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px var(--pad) 6px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-heading {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--ink);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 2px;
  background: var(--wine);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 20px;
  align-items: start;
  background:
    radial-gradient(circle at 12% 6%, rgba(124, 31, 40, 0.16), transparent 46%),
    linear-gradient(160deg, #2a2123 0%, #3a2f31 38%, #efe9e6 38.2%, #f4f0ee 100%);
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.hero-figure {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}
.poster-shell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(33, 20, 22, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.poster-shell img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}
.poster-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 46% 26%, rgba(255, 214, 190, 0.22), transparent 26%),
    linear-gradient(180deg, rgba(85, 18, 24, 0.28), rgba(33, 26, 28, 0.52));
  pointer-events: none;
}
.hero-figure-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.media-chip {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #e8dcd9;
  background: rgba(85, 18, 24, 0.86);
  border: 1px solid rgba(156, 42, 51, 0.6);
  padding: 2px 8px;
  border-radius: 999px;
}
.hero-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.hero-eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--wine);
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 200;
  letter-spacing: 0.04em;
  line-height: 1.18;
  color: var(--ink);
}
.hero-tagline {
  font-size: 15px;
  font-weight: 500;
  color: var(--wine-deep);
  padding-left: 11px;
  border-left: 3px solid var(--wine);
  max-width: 46ch;
}
.hero-lead {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.72;
}
.player-shell {
  position: relative;
  background: #17121/**/.4;
  background: #171214;
  border: 1px solid #2c2225;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(33, 20, 22, 0.3);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #241b1e, #171214);
  border-top: 1px solid #33272a;
}
.control-button {
  font-size: 11.5px;
  font-weight: 500;
  color: #e5d9d6;
  background: #2e2326;
  border: 1px solid #453539;
  border-radius: var(--radius);
  padding: 4px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.control-button:hover { background: var(--wine); border-color: var(--wine-bright); color: #fff; }
.control-button.is-playing { background: var(--wine-deep); border-color: var(--wine-bright); color: #fff; }
.control-button.is-muted { color: var(--faint); border-style: dashed; }
.control-button.is-active { background: var(--wine); border-color: var(--wine-bright); color: #fff; }
.control-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex: 1 1 90px;
  min-width: 80px;
  background: #453539;
  border-radius: 999px;
  cursor: pointer;
}
.control-range[data-player-action="volume"] { flex: 0 1 84px; min-width: 64px; }
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--wine-bright);
  border: 2px solid #efe3e0;
}
.control-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 2px solid #efe3e0;
  border-radius: 50%;
  background: var(--wine-bright);
}
.control-range.has-progress { background: linear-gradient(90deg, var(--wine) 0%, var(--wine) 50%, #453539 50%); }
.control-select {
  font-size: 11.5px;
  font-weight: 500;
  color: #e5d9d6;
  background: #2e2326;
  border: 1px solid #453539;
  border-radius: var(--radius);
  padding: 4px 6px;
  cursor: pointer;
}
body.is-lights-off { background: #120e0f; }
body.is-lights-off .page-main { filter: brightness(0.86); }
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--wine-bright), 0 14px 40px rgba(85, 18, 24, 0.5);
}
.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.status-item {
  background: var(--paper-2);
  padding: 7px 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.status-key {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.status-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--wine-deep);
  letter-spacing: 0.02em;
}
.cast-strip {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.cast-heading {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 8px;
}
.cast-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.cast-list::-webkit-scrollbar { height: 5px; }
.cast-list::-webkit-scrollbar-thumb { background: var(--paper-3); border-radius: 99px; }
.cast-item { flex: 0 0 auto; }
.cast-figure {
  width: 74px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  text-align: center;
}
.cast-avatar {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(0.5) contrast(1.05) brightness(0.95);
  border: 1px solid var(--paper-3);
  transition: filter 0.2s, border-color 0.2s;
}
.cast-item:hover .cast-avatar {
  filter: grayscale(0) contrast(1.06);
  border-color: var(--wine);
}
.cast-caption {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.3;
}
.cast-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.cast-role {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
}
.synopsis-block {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.synopsis-heading, .details-heading {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 8px;
}
.synopsis-body {
  column-count: 2;
  column-gap: 18px;
  column-rule: 1px solid var(--paper-3);
}
.synopsis-paragraph {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.74;
  margin-bottom: 8px;
  break-inside: avoid;
}
.synopsis-paragraph:first-child::first-letter {
  font-size: 26px;
  font-weight: 200;
  color: var(--wine);
  float: left;
  line-height: 0.92;
  padding-right: 5px;
  padding-top: 2px;
}
.details-block {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.details-row {
  background: var(--paper-2);
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 9px;
  min-width: 0;
}
.details-key {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.details-value {
  flex: 1 1 auto;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
  min-width: 0;
}
.timeline-section { padding-top: 2px; }
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scrollbar-width: thin;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-thumb { background: var(--wine); border-radius: 99px; }
.timeline-card {
  position: relative;
  flex: 0 0 auto;
  width: 208px;
  padding: 0 14px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: flex-start;
}
.timeline-rule {
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 0;
  width: 2px;
  background: var(--wine);
}
.timeline-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--wine);
  z-index: 1;
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--wine-deep);
  padding-top: 1px;
}
.timeline-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.62;
}
.timeline-card-end {
  padding-right: 40px;
}
.timeline-card-end .timeline-rule {
  background: linear-gradient(180deg, var(--wine) 0%, var(--wine) 62%, transparent 100%);
}
.timeline-card-end .timeline-label { color: var(--wine-deep); font-weight: 500; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.episode-card {
  background: var(--paper);
  min-width: 0;
}
a.episode-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num summary"
    "num dur";
  column-gap: 9px;
  row-gap: 2px;
  padding: 7px 10px;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.14s, color 0.14s;
}
.episode-number {
  grid-area: num;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--wine);
  min-width: 3.6em;
  padding-top: 1px;
}
.episode-title {
  grid-area: title;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-summary {
  grid-area: summary;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  grid-area: dur;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--faint);
}
a.episode-link:hover {
  background: var(--wine-deep);
  color: #f6efec;
  text-decoration: none;
}
a.episode-link:hover .episode-number, a.episode-link:hover .episode-title, a.episode-link:hover .episode-summary, a.episode-link:hover .episode-duration { color: #f6efec; }
a.episode-link:hover .episode-summary { color: #d9c8c5; }
a.episode-link:hover .episode-duration { color: #c2a9a6; }
.comments-section { padding-top: 2px; }
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.comment-item {
  display: flex;
  gap: 9px;
  padding: 8px 10px 8px 0;
  background: var(--paper-2);
  border-radius: var(--radius);
  align-items: stretch;
  min-width: 0;
}
.comment-band {
  flex: 0 0 3px;
  border-radius: 0 99px 99px 0;
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.comment-text {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}
.comment-tone-1 .comment-band { background: #7c1f28; }
.comment-tone-2 .comment-band { background: #9c2a33; }
.comment-tone-3 .comment-band { background: #b0434b; }
.comment-tone-4 .comment-band { background: #8a5a4a; }
.comment-tone-5 .comment-band { background: #a1725f; }
.comment-tone-6 .comment-band { background: #6d4a52; }
.comment-tone-7 .comment-band { background: #551218; }
.comment-tone-8 .comment-band { background: #c08579; }
.recommend-region {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding-top: 2px;
}
.region-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.region-heading {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.region-count {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--wine);
  white-space: nowrap;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px;
  color: var(--ink);
  text-decoration: none;
  align-self: start;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.recommend-card:hover {
  background: #fff;
  border-color: var(--wine);
  transform: translateY(-1px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.85) brightness(0.96);
}
[data-runtime="recommendation"]:hover img { filter: saturate(1) brightness(1); }
.recommend-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--wine-deep);
  background: rgba(124, 31, 40, 0.09);
  border: 1px solid rgba(124, 31, 40, 0.28);
  border-radius: 999px;
  padding: 1px 7px;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px var(--pad) 26px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11px;
  font-weight: 400;
  color: var(--faint);
  line-height: 1.65;
  max-width: 82ch;
}
.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--wine);
  border-bottom-color: var(--wine);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--paper-3);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}
a.runtime-friend-link {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--wine);
  border-bottom-color: var(--wine);
  text-decoration: none;
}
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    background: linear-gradient(160deg, #2a2123 0%, #3a2f31 22%, #efe9e6 22.2%, #f4f0ee 100%);
  }
.hero-figure {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }
.poster-shell { flex: 0 0 132px; width: 132px; }
.hero-figure-meta { flex-direction: column; align-items: flex-start; }
.synopsis-body { column-count: 1; }
.region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 640px) {:root { --pad: 11px; }
.page-main { gap: 14px; padding: 10px var(--pad) 4px; }
.hero { padding: 12px; gap: 14px; }
.hero-title { font-size: 22px; }
.hero-lead { font-size: 12.5px; }
.hero-figure { flex-direction: column; }
.poster-shell { flex: 0 0 auto; width: 148px; }
.hero-figure-meta { flex-direction: row; }
.status-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.status-value { font-size: 13.5px; }
.synopsis-body { column-count: 1; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-list { grid-template-columns: minmax(0, 1fr); }
.region-grid { grid-template-columns: minmax(0, 1fr); }
.timeline-card { width: 178px; }
.timeline-card-end { padding-right: 26px; }
.cast-figure { width: 66px; }
.cast-avatar { width: 66px; height: 66px; }
.control-button { font-size: 11px; padding: 4px 7px; }
.control-select { font-size: 11px; }}
@media (max-width: 380px) {.poster-shell { width: 128px; }
.hero-title { font-size: 20px; }
.status-item { padding: 6px 7px; }
.status-value { font-size: 12.5px; }}

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}
