:root {
  --ink: #1c2326;
  --ink-soft: #39454a;
  --mist: #e8ebea;
  --paper: #f2f4f3;
  --paper-deep: #e2e7e6;
  --teal: #4f6b6d;
  --teal-deep: #2c4042;
  --teal-dark: #1f2e30;
  --wine: #6e2b31;
  --wine-bright: #8f3a41;
  --wine-deep: #451a1f;
  --line: #c3cccb;
  --line-dark: #8a9899;
  --font-head: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  --gap: 12px;
  --radius: 2px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(31, 46, 48, 0.05) 0 1px,
      transparent 1px 34px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(31, 46, 48, 0.04) 0 1px,
      transparent 1px 58px
    ),
    linear-gradient(168deg, #dde3e2 0%, #cfd8d7 42%, #c4cfce 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol, li {
  list-style: none;
}
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
button {
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 18px;
  background: linear-gradient(180deg, rgba(31, 46, 48, 0.96), rgba(31, 46, 48, 0.88));
  border-bottom: 1px solid var(--wine-deep);
}
a[data-contract="site-name"] {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #e4e9e8;
  text-decoration: none;
  border-left: 3px solid var(--wine-bright);
  padding-left: 9px;
}
a[data-contract="site-name"]:hover {
  color: #f4d8d9;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #b8c6c5;
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid rgba(184, 198, 197, 0.3);
  border-radius: var(--radius);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #f0dcdd;
  border-color: var(--wine-bright);
  background: rgba(110, 43, 49, 0.4);
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 18px 30px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(31, 46, 48, 0.06), rgba(69, 26, 31, 0.05)),
    linear-gradient(160deg, #eef1f0, #dbe2e1 78%);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(31, 46, 48, 0.11) 0 2px,
      transparent 2px 46px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(31, 46, 48, 0.09) 0 2px,
      transparent 2px 40px
    );
  mask-image: linear-gradient(200deg, rgba(0, 0, 0, 0.9), transparent 62%);
  -webkit-mask-image: linear-gradient(200deg, rgba(0, 0, 0, 0.9), transparent 62%);
  opacity: 0.7;
}
.hero-poster-wrap {
  position: relative;
  z-index: 1;
  align-self: start;
  border: 1px solid var(--teal-deep);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-poster-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06);
}
.hero-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.hero-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--wine-deep);
  letter-spacing: 0.06em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.hero-tagline {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.06em;
  padding: 6px 0 6px 12px;
  border-left: 3px solid var(--wine);
  max-width: 34ch;
  margin-bottom: 10px;
}
.hero-seo {
  font-size: 13px;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 62ch;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #101819;
  border: 1px solid var(--teal-deep);
  border-radius: var(--radius);
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  background: #0a1112;
  filter: saturate(0.82) contrast(1.04);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(31, 46, 48, 0.9), rgba(16, 24, 25, 0.96));
  border-top: 1px solid rgba(143, 58, 65, 0.5);
}
.player-controls button {
  white-space: nowrap;
  color: #c2cfce;
  background: rgba(79, 107, 109, 0.22);
  border: 1px solid rgba(194, 207, 206, 0.28);
  border-radius: var(--radius);
  padding: 3px 10px;
  letter-spacing: 0.06em;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.player-controls button:hover {
  color: #f3dcdc;
  border-color: var(--wine-bright);
  background: rgba(110, 43, 49, 0.5);
}
.player-shell.is-theater {
  border-color: var(--wine-bright);
  box-shadow: 0 0 0 1px rgba(143, 58, 65, 0.4);
}
.player-shell.is-lights-off {
  background: #05090a;
}
.player-shell.is-lights-off .player-controls {
  background: #05090a;
}
.player-shell.is-muted .player-controls button[data-player-action="mute"] {
  color: #f3dcdc;
  border-color: var(--wine-bright);
  background: rgba(110, 43, 49, 0.5);
}
.player-shell.is-playing .player-controls button[data-player-action="play"] {
  color: #f3dcdc;
  border-color: var(--wine-bright);
  background: rgba(110, 43, 49, 0.5);
}
.block-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.1em;
  padding: 0 0 5px 0;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line-dark);
  position: relative;
}
.block-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: var(--wine);
}
.detail-block {
  padding-top: 4px;
}
.detail-list {
  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;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 9px;
  background: rgba(242, 244, 243, 0.94);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--teal);
  white-space: nowrap;
}
.detail-value {
  font-size: 12.5px;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.cast-block {
  margin-top: 20px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.cast-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  align-items: center;
  padding: 7px 9px;
  background: rgba(226, 231, 230, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}
.cast-avatar {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #6d8385 0%, #3c5254 58%, #223234 100%);
  border: 1px solid var(--teal-deep);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(143, 58, 65, 0.45), transparent 58%);
}
.cast-name {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--wine-deep);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.synopsis-block {
  margin-top: 20px;
}
.synopsis-body {
  columns: 2;
  column-gap: 24px;
  column-rule: 1px solid var(--line);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.82;
  color: var(--ink-soft);
  margin-bottom: 9px;
  break-inside: avoid;
  text-indent: 2em;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 12px;
  padding: 6px 10px;
  background: rgba(31, 46, 48, 0.08);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius);
}
.status-current {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--wine-deep);
  letter-spacing: 0.05em;
}
.status-total {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--teal-deep);
  padding-left: 10px;
  border-left: 1px solid var(--line-dark);
}
.timeline-section {
  margin-top: 26px;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(31, 46, 48, 0.92), rgba(20, 31, 33, 0.96));
  border: 1px solid var(--wine-deep);
  border-radius: var(--radius);
  margin-bottom: 26px;
}
.timeline-section .block-heading {
  color: #d9e2e1;
  border-bottom-color: rgba(143, 58, 65, 0.7);
}
.timeline-section .block-heading::after {
  background: var(--wine-bright);
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 0;
  overflow-x: auto;
  padding: 16px 0 8px;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--teal) transparent;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(143, 58, 65, 0.85), rgba(143, 58, 65, 0.22));
  pointer-events: none;
}
.timeline-track::-webkit-scrollbar {
  height: 5px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 14px 0 0;
  min-width: 0;
}
.timeline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #26383a;
  border: 2px solid var(--wine-bright);
  margin-bottom: 12px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.timeline-time {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9fb0af;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.55;
  color: #cbd6d5;
  overflow-wrap: anywhere;
}
.timeline-node:hover .timeline-dot, .timeline-node:focus-within .timeline-dot {
  background: var(--wine-bright);
  border-color: #e9c9cb;
  transform: scale(1.25);
}
.timeline-node:hover .timeline-time, .timeline-node:focus-within .timeline-time {
  color: #f0d3d5;
}
.timeline-node:hover .timeline-label, .timeline-node:focus-within .timeline-label {
  color: #f2f5f4;
}
.episodes-section {
  margin-top: 26px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: baseline;
  padding: 9px 11px;
  background: rgba(242, 244, 243, 0.9);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-left-color: var(--wine);
  background: rgba(236, 238, 236, 0.98);
}
.episode-number {
  grid-row: 1 / span 2;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--wine-deep);
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding-top: 1px;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.05em;
  overflow-wrap: anywhere;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 2px;
  overflow-wrap: anywhere;
}
.episode-duration {
  grid-column: 2;
  justify-self: start;
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--teal);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 6px;
  line-height: 1.7;
}
.comments-section {
  margin-top: 26px;
}
.comment-grid {
  columns: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  margin-bottom: 10px;
  padding: 9px 11px;
  background: rgba(242, 244, 243, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.comment-card:nth-child(odd) {
  border-top: 2px solid var(--teal);
}
.comment-card:nth-child(even) {
  border-top: 2px solid var(--wine);
  transform: translateY(4px);
}
.comment-nickname {
  display: block;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--wine-deep);
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.rec-region {
  display: inline-block;
  vertical-align: top;
  width: calc((100% - 20px) / 3);
  margin-top: 26px;
  margin-right: 10px;
  padding: 10px 12px;
  background: rgba(226, 231, 230, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  vertical-align: top;
}
.rec-region:last-of-type {
  margin-right: 0;
}
.rec-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.08em;
  padding-bottom: 5px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-dark);
}
a.rec-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 9px;
  align-items: start;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s;
}
a.rec-item:last-child {
  border-bottom: 0;
}
a.rec-item img {
  grid-row: 1 / span 2;
  width: 46px;
  height: 64px;
  object-fit: cover;
  border: 1px solid var(--teal-deep);
  border-radius: var(--radius);
  filter: saturate(0.72) contrast(1.05);
}
a.rec-item [data-runtime="name"] {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--wine-deep);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.rec-item [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
a.rec-item:hover {
  background: rgba(110, 43, 49, 0.08);
}
a.rec-item:hover [data-runtime="name"] {
  color: var(--wine-bright);
}
.site-footer {
  margin-top: 30px;
  padding: 16px 18px 22px;
  background: linear-gradient(180deg, rgba(31, 46, 48, 0.94), rgba(20, 31, 33, 0.98));
  border-top: 2px solid var(--wine-deep);
  color: #a9b7b6;
}
.footer-disclaimer {
  max-width: 900px;
  margin: 0 auto 12px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #8d9c9b;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-bottom: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #cbd6d5;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f0d3d5;
  border-bottom-color: var(--wine-bright);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 10px;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 12px;
  border-top: 1px solid rgba(143, 58, 65, 0.35);
}
.friend-links-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8d9c9b;
}
a.runtime-friend-link {
  font-size: 12px;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: #b8c6c5;
  padding: 1px 7px;
  border: 1px solid rgba(184, 198, 197, 0.22);
  border-radius: var(--radius);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-friend-link:hover {
  color: #f0d3d5;
  border-color: var(--wine-bright);
  background: rgba(110, 43, 49, 0.35);
}
@media (max-width: 980px) {.page-main {
    padding: 14px 14px 26px;
  }
.hero {
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
    gap: 14px;
  }
.hero-title {
    font-size: 25px;
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.rec-region {
    width: calc((100% - 10px) / 2);
  }
.rec-region:nth-of-type(2n) {
    margin-right: 0;
  }}
@media (max-width: 720px) {.site-header {
    padding: 9px 12px;
  }
a[data-contract="site-name"] {
    font-size: 17px;
  }
.page-main {
    padding: 12px 12px 24px;
  }
.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
.hero-poster-wrap {
    max-width: 210px;
  }
.hero-title {
    font-size: 22px;
  }
.hero-tagline {
    font-size: 14px;
    max-width: none;
    margin-bottom: 6px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.synopsis-body {
    columns: 1;
    column-rule: 0;
  }
.timeline-node {
    padding-right: 10px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-grid {
    columns: 1;
  }
.comment-card:nth-child(even) {
    transform: none;
  }
.rec-region {
    width: 100%;
    margin-right: 0;
    display: block;
  }}
@media (max-width: 420px) {.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-title {
    font-size: 20px;
  }
.player-controls button {
    padding: 3px 8px;
    font-size: 11px;
  }}

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}
