:root {
  --paper: #e9e3d6;
  --paper-2: #ded7c7;
  --concrete: #a8b0a2;
  --concrete-deep: #7d8a7c;
  --orange: #e07a3c;
  --orange-soft: #f0a86a;
  --night: #1b2740;
  --night-2: #24334f;
  --ink: #23211d;
  --ink-soft: #565147;
  --line: #b8b1a0;
  --radius: 14px;
  --radius-s: 9px;
  --gap: 10px;
  --pad: 12px;
}
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 14px;
  max-width: 1320px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--orange);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-strip::-webkit-scrollbar {
  display: none;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--concrete);
  color: #f6f3ea;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
a.runtime-category:hover {
  background: var(--orange);
  color: #fff;
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 14px 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-heading {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.6px;
  color: var(--ink);
  padding-left: 12px;
  position: relative;
  margin-bottom: 8px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  bottom: 0.32em;
  width: 5px;
  border-radius: 3px;
  background: var(--orange);
}
.panel-heading {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.4px;
  color: var(--ink);
  margin-bottom: 6px;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr);
  gap: var(--gap);
  align-items: start;
  background: linear-gradient(160deg, var(--concrete) 0%, var(--paper-2) 62%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  position: relative;
  overflow: hidden;
}
.hero-stage::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 122, 60, 0.35), transparent 68%);
  pointer-events: none;
}
.hero-media {
  position: relative;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--night);
  align-self: start;
}
img.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  top: auto;
  width: 100%;
  padding: 30px 12px 12px;
  background: linear-gradient(to top, rgba(27, 39, 64, 0.94) 8%, rgba(27, 39, 64, 0.55) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.hero-title {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: 0.5px;
  color: #fdf7ec;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.hero-tagline {
  margin-top: 4px;
  font-size: 13px;
  color: var(--orange-soft);
  letter-spacing: 0.4px;
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}
.player-shell {
  position: relative;
  background: var(--night);
  border-radius: var(--radius-s);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.player-shell.is-theater {
  background: var(--night-2);
  box-shadow: 0 0 0 2px var(--orange) inset;
}
.player-shell.is-lights-off {
  background: #0a0f1a;
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #000;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 2px 2px 0;
}
.ctrl-btn {
  border: 1px solid rgba(253, 247, 236, 0.28);
  background: rgba(253, 247, 236, 0.08);
  color: #f2ead9;
  font-size: 12px;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ctrl-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.ctrl-btn.is-playing, .ctrl-btn.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.ctrl-btn.is-muted {
  color: var(--orange-soft);
  border-color: var(--orange-soft);
}
.ctrl-btn.is-fullscreen {
  background: var(--concrete-deep);
  border-color: var(--concrete-deep);
  color: #fff;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex: 1 1 80px;
  min-width: 70px;
  border-radius: 999px;
  background: rgba(253, 247, 236, 0.22);
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid #fdf7ec;
}
.ctrl-range::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 2px solid #fdf7ec;
  border-radius: 50%;
  background: var(--orange);
}
.ctrl-select {
  border: 1px solid rgba(253, 247, 236, 0.28);
  background: rgba(253, 247, 236, 0.08);
  color: #f2ead9;
  font-size: 12px;
  padding: 5px 6px;
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-select option {
  color: var(--ink);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--concrete);
  color: #f6f3ea;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.status-chip--score {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
}
.details-panel {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 10px 12px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 2px 0;
  border-bottom: 1px dashed rgba(184, 177, 160, 0.7);
  min-width: 0;
}
.detail-row dt {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 12.5px;
}
.detail-row dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  margin-left: auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cast-panel {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 10px 12px;
}
.cast-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cast-item {
  display: grid;
  grid-template-columns: 34px minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  border-radius: var(--radius-s);
  background: var(--paper-2);
}
.cast-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, var(--orange-soft), var(--orange) 58%, var(--concrete-deep) 100%);
  border: 2px solid #fdf7ec;
  box-shadow: 0 1px 4px rgba(35, 33, 29, 0.22);
  flex: 0 0 auto;
}
.cast-name {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
}
.cast-line {
  font-size: 12.5px;
  color: var(--ink-soft);
  min-width: 0;
  overflow-wrap: anywhere;
}
.synopsis-panel {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 10px 12px;
}
.synopsis-para {
  font-size: 13.5px;
  color: #3b382f;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.synopsis-para:last-of-type {
  margin-bottom: 0;
}
.synopsis-note {
  margin-top: 8px;
  padding: 8px 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #4a453a;
  background: rgba(224, 122, 60, 0.12);
  border-left: 3px solid var(--orange);
  border-radius: 0 8px 8px 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  min-width: 0;
}
.film-strip {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 4px 14px;
  background: var(--night);
  border-radius: var(--radius);
  border: 1px solid #121b2c;
  scrollbar-width: thin;
}
.film-strip::-webkit-scrollbar {
  height: 7px;
}
.film-strip::-webkit-scrollbar-thumb {
  background: var(--concrete);
  border-radius: 999px;
}
.film-track {
  display: flex;
  gap: 10px;
  padding: 0 10px;
  width: max-content;
}
.film-frame {
  position: relative;
  flex: 0 0 auto;
  width: 208px;
  min-height: 120px;
  border-radius: var(--radius-s);
  padding: 26px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-end;
  overflow: hidden;
}
.film-frame::before, .film-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  background-image: radial-gradient(circle at 8px 6px, rgba(233, 227, 214, 0.9) 3px, transparent 3.5px);
  background-size: 18px 12px;
  background-repeat: repeat-x;
  opacity: 0.75;
}
.film-frame::before {
  top: 2px;
}
.film-frame::after {
  bottom: 2px;
}
.film-frame--cool {
  background: linear-gradient(155deg, #b9c6bf, #8fa198 70%);
  color: #1f2a26;
}
.film-frame--warm {
  background: linear-gradient(155deg, #f4c08a, #e07a3c 78%);
  color: #3a2110;
}
.film-frame--night {
  background: linear-gradient(155deg, #2c3d61, #1b2740 82%);
  color: #e8ecf5;
}
.frame-timecode {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.6px;
}
.frame-label {
  font-size: 12.5px;
  line-height: 1.5;
  opacity: 0.92;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.episode-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.episode-number {
  align-self: flex-start;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--concrete);
  color: #f6f3ea;
}
.episode-title {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.episode-duration {
  margin-top: auto;
  padding-top: 4px;
  font-size: 11.5px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.4px;
}
.comments-masonry {
  column-count: 2;
  column-gap: 18px;
}
.comment-card {
  break-inside: avoid;
  padding: 6px 0 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.comment-nickname {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--orange);
  margin-bottom: 2px;
  overflow-wrap: anywhere;
}
.comment-text {
  font-size: 13.5px;
  line-height: 1.62;
  color: #3b382f;
  overflow-wrap: anywhere;
}
.recommend-section {
  min-width: 0;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.recommend-section--1 .recommend-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-section--2 .recommend-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.recommend-section--3 .recommend-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
a.recommend-item:hover {
  border-color: var(--orange);
  background: rgba(224, 122, 60, 0.1);
  transform: translateY(-2px);
  color: var(--ink);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  background: var(--concrete);
  display: block;
}
.recommend-name {
  font-family: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.site-footer {
  max-width: 1320px;
  margin: 16px auto 0;
  padding: 14px 14px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 76ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"] {
  font-size: 13px;
  color: var(--concrete-deep);
  text-decoration: none;
  border-bottom: 1px dashed var(--concrete-deep);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover {
  color: var(--orange);
  border-color: var(--orange);
}
a[data-contract="footer-sitemap"] {
  font-size: 13px;
  color: var(--night-2);
  text-decoration: none;
  border-bottom: 1px dashed var(--night-2);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--orange);
  border-color: var(--orange);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--concrete-deep);
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 2px;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--orange);
  text-decoration: underline;
}
@media (max-width: 1080px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-section--1 .recommend-row, .recommend-section--3 .recommend-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-media {
    max-width: 320px;
  }
.hero-overlay {
    padding: 26px 10px 10px;
  }
.hero-title {
    font-size: 22px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-section--1 .recommend-row, .recommend-section--2 .recommend-row, .recommend-section--3 .recommend-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-masonry {
    column-count: 2;
  }}
@media (max-width: 620px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 10px 10px 2px;
    gap: 14px;
  }
.header-bar {
    padding: 7px 10px;
  }
.hero-media {
    max-width: 100%;
  }
img.hero-poster {
    max-height: 62vh;
    width: auto;
    margin: 0 auto;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-item {
    grid-template-columns: 30px minmax(0, 1fr);
    grid-template-areas:
      "avatar name"
      "avatar line";
    row-gap: 0;
  }
.cast-avatar {
    grid-area: avatar;
    width: 30px;
    height: 30px;
  }
.cast-name {
    grid-area: name;
  }
.cast-line {
    grid-area: line;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.recommend-section--1 .recommend-row, .recommend-section--2 .recommend-row, .recommend-section--3 .recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-masonry {
    column-count: 1;
  }
.film-frame {
    width: 176px;
  }
.section-heading {
    font-size: 18px;
  }}
@media (max-width: 400px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-section--1 .recommend-row, .recommend-section--2 .recommend-row, .recommend-section--3 .recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}

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}
