:root {
  --night: #12161d;
  --night-deep: #0b0e13;
  --night-soft: #1a212c;
  --wood: #7a4a2b;
  --wood-dark: #4e2f1b;
  --wood-light: #a86b3d;
  --tungsten: #f2b34c;
  --tungsten-soft: #ffd98a;
  --tungsten-dim: #b8802f;
  --spray: #b8e3e0;
  --spray-dim: #6fa3a2;
  --paper: #f4ead6;
  --paper-dim: #d8cbb0;
  --ink: #171a20;
  --ink-soft: #2a2f38;
  --text: #e6dfd1;
  --text-dim: #9aa2ae;
  --line: rgba(242, 179, 76, 0.22);
  --line-soft: rgba(184, 227, 224, 0.16);
  --font-head: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-body: "Yuanti SC", "YouYuan", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, dl, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, p {
  margin: 0;
}
a {
  color: var(--tungsten);
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 12% -8%, rgba(242, 179, 76, 0.10), transparent 60%),
    radial-gradient(900px 620px at 96% 4%, rgba(184, 227, 224, 0.07), transparent 62%),
    linear-gradient(180deg, #141922 0%, #10141b 42%, #0b0e13 100%);
  background-attachment: fixed, fixed, fixed;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 14, 19, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--tungsten-soft);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-left: 3px solid var(--tungsten);
  background: linear-gradient(90deg, rgba(242, 179, 76, 0.14), transparent 78%);
}
a[data-contract="site-name"]:hover {
  color: #fff;
  border-left-color: var(--spray);
}
a[data-contract="site-name"]:focus-visible {
  outline: 2px solid var(--spray);
  outline-offset: 2px;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--spray);
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1.2;
  padding: 4px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(184, 227, 224, 0.06);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--spray);
  border-color: var(--spray);
}
a.runtime-category:focus-visible {
  outline: 2px solid var(--tungsten);
  outline-offset: 2px;
}
.main-flow {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.hero-stage {
  display: block;
  padding: 26px 0 20px;
}
.hero-backdrop {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(160deg, rgba(122, 74, 43, 0.30) 0%, rgba(18, 22, 29, 0.9) 46%, rgba(11, 14, 19, 0.96) 100%);
  box-shadow: 0 22px 48px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(242, 179, 76, 0.12);
  position: relative;
  overflow: hidden;
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: auto -10% -46% 40%;
  height: 62%;
  background: radial-gradient(closest-side, rgba(242, 179, 76, 0.16), transparent 72%);
  pointer-events: none;
}
.hero-media {
  position: relative;
  align-self: start;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(242, 179, 76, 0.28);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.95);
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.hero-copy {
  min-width: 0;
  align-self: start;
  padding-top: 4px;
  position: relative;
  z-index: 2;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(26px, 4.6vw, 46px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--tungsten-soft);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 12px 30px rgba(242, 179, 76, 0.14);
  transform: translateX(-2px);
}
.hero-tagline {
  margin-top: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 0.05em;
  color: var(--spray);
  border-left: 3px solid var(--wood-light);
  padding-left: 9px;
}
.hero-seo {
  margin-top: 12px;
  max-width: 62ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
}
.player-frame {
  position: relative;
  width: 100%;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #05070a;
  overflow: hidden;
  box-shadow: 0 26px 54px -30px rgba(0, 0, 0, 0.95);
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(11, 14, 19, 0.92), rgba(5, 7, 10, 0.98));
  border-top: 1px solid var(--line);
}
.pc-btn {
  font-size: 11.5px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 3px;
  color: var(--text-dim);
  border: 1px solid rgba(154, 162, 174, 0.28);
  background: rgba(26, 33, 44, 0.7);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.pc-btn:hover {
  color: var(--tungsten-soft);
  border-color: var(--tungsten-dim);
  background: rgba(122, 74, 43, 0.35);
}
.pc-btn:focus-visible {
  outline: 2px solid var(--spray);
  outline-offset: 1px;
}
.pc-btn.is-active {
  color: var(--ink);
  background: var(--tungsten);
  border-color: var(--tungsten);
  font-weight: 700;
}
.player-frame.show-progress .pc-progress, .player-frame.vol-low .pc-volume {
  color: var(--spray);
  border-color: var(--spray-dim);
}
.player-frame .pc-play.is-active {
  color: var(--ink);
  background: var(--spray);
  border-color: var(--spray);
}
body.theater-mode .player-frame {
  box-shadow: 0 0 0 1px var(--tungsten-dim), 0 30px 70px -26px rgba(242, 179, 76, 0.34);
}
body.lights-down {
  background: #05070a;
}
body.lights-down .hero-backdrop, body.lights-down .site-header {
  filter: brightness(0.62) saturate(0.85);
}
.overview-detail {
  margin-top: 16px;
  padding: 14px 16px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(26, 33, 44, 0.82), rgba(18, 22, 29, 0.9));
}
.detail-heading, .synopsis-heading, .cast-heading, .section-heading {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--tungsten-soft);
  padding-left: 9px;
  border-left: 3px solid var(--wood-light);
  margin-bottom: 10px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px 18px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(154, 162, 174, 0.16);
  min-width: 0;
}
.detail-key {
  font-family: var(--font-head);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--spray-dim);
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-value {
  font-size: 13.5px;
  color: var(--text);
  text-align: right;
  min-width: 0;
}
.overview-synopsis {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--wood);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(78, 47, 27, 0.24), rgba(18, 22, 29, 0.86));
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--text-dim);
}
.synopsis-para + .synopsis-para {
  margin-top: 8px;
}
.overview-status {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.status-current, .status-total {
  font-family: var(--font-head);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-current {
  color: var(--ink);
  font-weight: 800;
  background: var(--tungsten);
  box-shadow: 0 0 0 1px rgba(255, 217, 138, 0.5), 0 0 18px -4px rgba(242, 179, 76, 0.6);
}
.status-total {
  color: var(--spray);
  border: 1px solid var(--spray-dim);
  background: rgba(184, 227, 224, 0.06);
}
.overview-cast {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(18, 22, 29, 0.72);
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-item {
  position: relative;
  display: block;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(242, 179, 76, 0.22);
  background: linear-gradient(180deg, rgba(122, 74, 43, 0.42), rgba(11, 14, 19, 0.92));
  min-width: 0;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 217, 138, 0.5), transparent 58%),
    linear-gradient(150deg, var(--wood-light), var(--wood-dark) 60%, #17202b);
}
.cast-name {
  display: block;
  padding: 4px 6px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  text-align: center;
  background: rgba(5, 7, 10, 0.9);
  border-top: 1px solid rgba(242, 179, 76, 0.22);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-grid-section {
  margin-top: 22px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(154, 162, 174, 0.2);
  border-left: 3px solid var(--wood);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(26, 33, 44, 0.86), rgba(18, 22, 29, 0.94));
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.episode-card:hover {
  border-left-color: var(--tungsten);
  border-color: rgba(242, 179, 76, 0.42);
  background: linear-gradient(180deg, rgba(78, 47, 27, 0.5), rgba(18, 22, 29, 0.96));
  transform: translateY(-2px);
}
.ep-number {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--tungsten);
}
.ep-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.ep-duration {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--spray-dim);
}
.ep-summary {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.24s ease, margin-top 0.24s ease;
}
.episode-card:hover .ep-summary, .episode-card:focus-within .ep-summary {
  max-height: 9em;
  opacity: 1;
  margin-top: 4px;
}
.timeline-section {
  margin-top: 26px;
  padding: 16px 16px 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 14, 19, 0.2), rgba(122, 74, 43, 0.12));
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px 8px;
  align-items: start;
  position: relative;
  padding-top: 10px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--spray-dim) 12%, var(--tungsten-dim) 50%, var(--spray-dim) 88%, transparent);
  opacity: 0.6;
  pointer-events: none;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 4px 4px 12px;
  min-width: 0;
}
.timeline-node:nth-child(even) {
  transform: translateY(22px);
}
.node-sign {
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding: 5px 11px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--tungsten-soft), var(--tungsten-dim));
  box-shadow: 0 0 0 1px rgba(255, 217, 138, 0.55), 0 0 20px -4px rgba(242, 179, 76, 0.75), 0 6px 14px -8px #000;
  white-space: nowrap;
}
.node-label {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-dim);
  max-width: 20ch;
}
.comments-section {
  margin-top: 24px;
  padding-top: 4px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  align-items: start;
}
.comment-note {
  position: relative;
  padding: 12px 13px 13px;
  border-radius: 3px;
  background: linear-gradient(160deg, var(--paper), var(--paper-dim));
  color: var(--ink);
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.95), inset 0 -2px 0 rgba(122, 74, 43, 0.18);
  transform: rotate(-1.4deg);
  min-width: 0;
}
.comment-note:nth-child(2n) {
  transform: rotate(1.1deg);
}
.comment-note:nth-child(3n) {
  transform: rotate(-0.6deg);
}
.comment-note::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 10px;
  background: rgba(242, 179, 76, 0.55);
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}
.note-nick {
  display: block;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--wood-dark);
  margin-bottom: 5px;
}
.note-text {
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-soft);
}
.rec-region {
  margin-top: 22px;
  padding: 14px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(26, 33, 44, 0.78), rgba(11, 14, 19, 0.94));
  position: relative;
}
.rec-one {
  border-color: rgba(242, 179, 76, 0.36);
  background: linear-gradient(150deg, rgba(122, 74, 43, 0.34), rgba(11, 14, 19, 0.94));
}
.rec-two {
  border-color: rgba(184, 227, 224, 0.28);
}
.rec-three {
  border-color: rgba(154, 162, 174, 0.24);
}
.rec-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--tungsten-soft);
  padding-left: 9px;
  border-left: 3px solid var(--spray-dim);
  margin-bottom: 11px;
}
.rec-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(154, 162, 174, 0.2);
  border-radius: 4px;
  background: rgba(18, 22, 29, 0.86);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  min-width: 0;
}
a.rec-item:hover {
  border-color: var(--tungsten);
  background: rgba(78, 47, 27, 0.55);
  transform: translateY(-2px);
}
a.rec-item:focus-visible {
  outline: 2px solid var(--spray);
  outline-offset: 1px;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  background: #05070a;
}
.rec-thumb {
  display: block;
}
.rec-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 14, 19, 0.4), #05070a);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 78ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-head);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--tungsten);
  text-decoration: underline;
  text-decoration-color: rgba(242, 179, 76, 0.4);
  text-underline-offset: 3px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--spray);
  text-decoration-color: var(--spray);
}
a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:focus-visible {
  outline: 2px solid var(--spray);
  outline-offset: 2px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 8px;
  border-top: 1px dashed rgba(154, 162, 174, 0.2);
}
.friend-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--spray-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: dotted underline rgba(184, 227, 224, 0.4);
  text-underline-offset: 3px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--spray);
  text-decoration-color: var(--spray);
}
a.runtime-friend-link:focus-visible {
  outline: 2px solid var(--tungsten);
  outline-offset: 2px;
}
@media (max-width: 860px) {.hero-backdrop {
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
.hero-title {
    font-size: clamp(22px, 5.4vw, 32px);
  }}
@media (max-width: 640px) {body {
    font-size: 14px;
  }
.header-inner {
    padding: 7px 12px;
  }
.main-flow {
    padding: 0 12px 32px;
  }
.hero-stage {
    padding: 18px 0 14px;
  }
.hero-backdrop {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
.hero-media {
    width: min(62%, 190px);
  }
.hero-seo {
    font-size: 13px;
  }
.detail-list {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2px 12px;
  }
.detail-value {
    text-align: left;
  }
.detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
  }
.cast-strip {
    grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
    gap: 6px;
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px 6px;
  }
.timeline-track::before {
    display: none;
  }
.timeline-node:nth-child(even) {
    transform: none;
  }
.node-label {
    max-width: 100%;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.comment-note {
    transform: rotate(-0.8deg);
  }
.comment-note:nth-child(2n) {
    transform: rotate(0.8deg);
  }
.rec-board {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }}
@media (max-width: 400px) {.category-bar {
    justify-content: flex-start;
  }
.player-controls {
    gap: 4px;
    padding: 6px;
  }
.pc-btn {
    font-size: 11px;
    padding: 3px 7px;
  }
.rec-board {
    grid-template-columns: 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}
