:root {
  --ink: #1d1f23;
  --ink-soft: #4b4f57;
  --ink-faint: #7c8189;
  --paper: #f4f2ee;
  --paper-2: #eae7e1;
  --panel: #ffffff;
  --panel-warm: #fdf6ec;
  --panel-cool: #eef1f3;
  --line: #d7d3cb;
  --line-strong: #b9b4aa;
  --warm: #c9702a;
  --warm-deep: #9c5218;
  --warm-soft: #f3d9bd;
  --cool: #4a6675;
  --cool-deep: #2f4753;
  --cool-soft: #d3dee4;
  --radius: 8px;
  --radius-sm: 5px;
  --gap: 12px;
  --maxw: 1180px;
  --zh-title: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", "SimHei", sans-serif;
  --zh-body: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--zh-body);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
ol {
  list-style: none;
}
h2, h3, h4 {
  font-family: var(--zh-title);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 2px solid var(--warm);
}
.header-bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"].site-name {
  font-family: var(--zh-title);
  font-size: 18px;
  font-weight: 800;
  color: #fbf6ee;
  text-decoration: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border-left: 3px solid var(--warm);
  padding-left: 8px;
}
a[data-contract="site-name"].site-name:hover {
  color: var(--warm-soft);
}
.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--zh-title);
  font-size: 12px;
  font-weight: 600;
  color: #e8e3da;
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid #4a4d52;
  border-radius: var(--radius-sm);
  background: #2a2d31;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  background: var(--warm);
  border-color: var(--warm);
  color: #fff;
  text-decoration: none;
}
.page-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-title {
  font-size: 15px;
  color: var(--ink);
  border-left: 4px solid var(--warm);
  padding-left: 9px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.panel-title {
  font-size: 13px;
  color: var(--cool-deep);
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.player-shell {
  background: #15171a;
  border: 1px solid #2c2f34;
  border-radius: var(--radius);
  padding: 8px;
}
.player-frame {
  width: 100%;
  min-width: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
}
.player-frame video {
  display: block;
  width: 100%;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 2px 2px;
}
.control-btn {
  font-family: var(--zh-title);
  font-size: 12px;
  font-weight: 600;
  color: #e6e2db;
  background: #2c3036;
  border: 1px solid #43474e;
  border-radius: var(--radius-sm);
  padding: 4px 9px;
  cursor: pointer;
  white-space: nowrap;
}
.control-btn:hover {
  background: var(--warm);
  border-color: var(--warm);
  color: #fff;
}
.control-btn.is-active {
  background: var(--warm-deep);
  border-color: var(--warm);
  color: #fff;
}
.control-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #43474e;
  border-radius: 2px;
  cursor: pointer;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--warm);
  border: none;
}
.control-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--warm);
}
.control-select {
  font-family: var(--zh-title);
  font-size: 12px;
  color: #e6e2db;
  background: #2c3036;
  border: 1px solid #43474e;
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  cursor: pointer;
}
.player-shell.is-lights-off {
  background: #000;
  border-color: #000;
}
.player-shell.is-lights-off .player-controls {
  opacity: 0.55;
}
.player-shell.is-theater {
  background: #0b0c0e;
}
.player-shell.is-theater .player-frame {
  border-radius: 0;
}
video.is-muted {
  opacity: 0.92;
}
.overview-unit {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-areas:
    "poster head"
    "poster body";
  column-gap: 18px;
  row-gap: 0;
  align-items: start;
}
.overview-poster {
  grid-area: poster;
  width: 220px;
  max-width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--panel-cool);
  border: 1px solid var(--line);
}
.hero-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  display: block;
}
.overview-head {
  grid-area: head;
  margin-bottom: 12px;
}
.overview-title {
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.overview-tagline {
  font-family: var(--zh-title);
  font-size: 13px;
  font-weight: 600;
  color: var(--warm-deep);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.overview-seo {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
  line-height: 1.55;
  border-left: 2px solid var(--cool-soft);
  padding-left: 8px;
}
.overview-body {
  grid-area: body;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  grid-template-areas:
    "cast synopsis"
    "cast status"
    "cast details";
  column-gap: 16px;
  row-gap: 14px;
  align-items: start;
}
.cast-panel {
  grid-area: cast;
  min-width: 0;
}
.cast-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
}
.cast-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  align-items: stretch;
}
.cast-col-primary {
  border-left: 3px solid var(--warm);
  padding-left: 9px;
}
.cast-col-secondary {
  border-left: 3px solid var(--cool);
  padding-left: 9px;
}
.cast-card {
  background: transparent;
  border: none;
  border-bottom: 1px dotted var(--line);
  padding: 0 0 5px;
  min-width: 0;
}
.cast-name {
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.05em;
}
.cast-role {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-top: 2px;
}
.synopsis-panel {
  grid-area: synopsis;
  min-width: 0;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.synopsis-paragraph {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  text-align: justify;
}
.synopsis-paragraph:first-child {
  color: var(--ink);
  border-left: 2px solid var(--warm-soft);
  padding-left: 8px;
}
.episode-status-panel {
  grid-area: status;
  min-width: 0;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.status-chip {
  font-family: var(--zh-title);
  font-size: 12px;
  font-weight: 600;
  color: var(--cool-deep);
  background: var(--panel-cool);
  border: 1px solid var(--cool-soft);
  border-radius: var(--radius-sm);
  padding: 3px 9px;
  white-space: nowrap;
}
.status-progress {
  display: flex;
  gap: 10px;
}
.status-progress-item {
  flex: 1 1 0;
  min-width: 0;
  background: var(--panel-warm);
  border: 1px solid var(--warm-soft);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.status-progress-label {
  font-family: var(--zh-title);
  font-size: 12px;
  color: var(--ink-soft);
}
.status-progress-value {
  font-family: var(--zh-title);
  font-size: 18px;
  font-weight: 800;
  color: var(--warm-deep);
  line-height: 1;
}
.details-panel {
  grid-area: details;
  min-width: 0;
}
.details-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 14px;
  border-top: 1px solid var(--line);
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
  min-width: 0;
}
.details-key {
  font-family: var(--zh-title);
  font-size: 12px;
  color: var(--ink-faint);
  flex: 0 0 62px;
  white-space: nowrap;
}
.details-value {
  font-size: 12.5px;
  color: var(--ink);
  min-width: 0;
}
.timeline-section {
  background: var(--panel-warm);
  border: 1px solid var(--warm-soft);
  border-radius: var(--radius);
  padding: 12px;
}
.timeline-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.timeline-cell {
  position: relative;
  background: #fffdf9;
  border: 1px solid var(--warm-soft);
  border-top: 3px solid var(--warm);
  border-radius: var(--radius-sm);
  padding: 7px 8px 9px;
  min-width: 0;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}
.timeline-cell::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  width: 9px;
  height: 1px;
  background: var(--warm-soft);
}
.timeline-cell:last-child::after {
  display: none;
}
.timeline-date {
  font-family: var(--zh-title);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--warm-deep);
  letter-spacing: 0.03em;
  border-bottom: 1px dashed var(--warm-soft);
  padding-bottom: 3px;
  width: 100%;
}
.timeline-label {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.42;
}
.episodes-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.episode-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.episode-number {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fbf6ee;
  font-family: var(--zh-title);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.episode-text {
  flex: 1 1 auto;
  min-width: 0;
}
.episode-title {
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  flex: 0 0 auto;
  font-family: var(--zh-title);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--cool-deep);
  background: var(--panel-cool);
  border: 1px solid var(--cool-soft);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  white-space: nowrap;
  margin-top: 2px;
}
.comments-section {
  background: var(--panel-cool);
  border: 1px solid var(--cool-soft);
  border-radius: var(--radius);
  padding: 12px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: var(--panel);
  min-width: 0;
}
.comment-card:nth-child(odd) {
  background: var(--panel);
  border-color: var(--line);
  transform: translateY(0);
}
.comment-card:nth-child(even) {
  background: var(--cool-deep);
  border-color: var(--cool-deep);
  color: #eef2f4;
}
.comment-card:nth-child(even) .comment-nickname {
  color: var(--warm-soft);
}
.comment-card:nth-child(even) .comment-text {
  color: #dfe6ea;
}
.comment-card:nth-child(3n) {
  margin-top: 8px;
}
.comment-nickname {
  font-family: var(--zh-title);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--warm-deep);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.recommend-region {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.recommend-region-2 {
  background: var(--panel-cool);
  border-color: var(--cool-soft);
}
.recommend-region-4 {
  background: var(--panel-warm);
  border-color: var(--warm-soft);
}
.recommend-title {
  font-size: 14px;
  color: var(--ink);
  border-left: 4px solid var(--cool);
  padding-left: 9px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.recommend-region-1 .recommend-title {
  border-left-color: var(--warm);
}
.recommend-region-4 .recommend-title {
  border-left-color: var(--warm-deep);
}
.recommend-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.recommend-grid-1 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-grid-2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.recommend-grid-3 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.recommend-grid-4 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
a.recommend-card:hover {
  border-color: var(--warm);
  text-decoration: none;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img.recommend-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px;
  background: var(--panel-cool);
}
.recommend-name {
  font-family: var(--zh-title);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11.5px;
  color: var(--ink-faint);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: var(--ink);
  color: #cfcabf;
  margin-top: 18px;
  padding: 16px;
  border-top: 2px solid var(--warm);
}
.friend-links {
  max-width: var(--maxw);
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-family: var(--zh-title);
  font-size: 12px;
  font-weight: 700;
  color: var(--warm-soft);
  letter-spacing: 0.06em;
  padding-right: 8px;
  border-right: 1px solid #45484d;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #b8b3a8;
  text-decoration: none;
  padding: 1px 2px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-disclaimer {
  max-width: var(--maxw);
  margin: 0 auto 10px;
  font-size: 11.5px;
  color: #8d8880;
  line-height: 1.5;
}
.footer-links {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #33363b;
}
a[data-contract="footer-home"].footer-link {
  font-family: var(--zh-title);
  font-size: 12px;
  color: var(--warm-soft);
  text-decoration: none;
  border: 1px solid #4a4d52;
  border-radius: var(--radius-sm);
  padding: 3px 12px;
}
a[data-contract="footer-home"].footer-link:hover {
  background: var(--warm);
  color: #fff;
  border-color: var(--warm);
  text-decoration: none;
}
a[data-contract="footer-sitemap"].footer-link {
  font-family: var(--zh-title);
  font-size: 12px;
  color: #b8b3a8;
  text-decoration: none;
  border: 1px solid #4a4d52;
  border-radius: var(--radius-sm);
  padding: 3px 12px;
}
a[data-contract="footer-sitemap"].footer-link:hover {
  background: var(--cool);
  color: #fff;
  border-color: var(--cool);
  text-decoration: none;
}
@media (max-width: 1000px) {.overview-unit {
    grid-template-columns: 180px minmax(0, 1fr);
    column-gap: 14px;
  }
.overview-poster {
    width: 180px;
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "cast"
      "synopsis"
      "status"
      "details";
  }
.recommend-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.timeline-cell:nth-child(4)::after {
    display: none;
  }}
@media (max-width: 760px) {.header-bar {
    gap: 10px;
    padding: 7px 12px;
  }
.page-main {
    padding: 12px 12px 16px;
    gap: 13px;
  }
.overview-unit {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "head"
      "body";
    padding: 12px;
    row-gap: 12px;
  }
.overview-poster {
    width: 160px;
    max-width: 60%;
  }
.overview-head {
    margin-bottom: 0;
  }
.overview-title {
    font-size: 20px;
  }
.cast-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-title {
    white-space: normal;
  }
.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid-1, .recommend-grid-2, .recommend-grid-3, .recommend-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-cell::after {
    display: none;
  }
.timeline-cell {
    min-height: 0;
  }
.status-progress {
    flex-wrap: wrap;
  }}
@media (max-width: 480px) {.overview-poster {
    width: 140px;
    max-width: 70%;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(3n) {
    margin-top: 0;
  }
.recommend-grid-1, .recommend-grid-2, .recommend-grid-3, .recommend-grid-4, .timeline-strip {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-item {
    flex-wrap: wrap;
  }
.overview-title {
    font-size: 18px;
  }
.player-controls {
    gap: 5px;
  }
.control-btn {
    font-size: 11.5px;
    padding: 4px 8px;
  }}

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}
