*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ul, ol, li, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
:root {
  --bg: #171b22;
  --bg-2: #1c222b;
  --bg-3: #212832;
  --surface: #232b36;
  --surface-2: #2a333f;
  --line: #333d4a;
  --line-soft: #2c3541;
  --ink: #e6ebf2;
  --ink-2: #aeb8c6;
  --ink-3: #7e8a99;
  --cool: #5d7796;
  --cool-2: #3f5group;
  --accent: #f08a3c;
  --accent-soft: #e07a2e;
  --accent-dim: rgba(240, 138, 60, 0.16);
  --radius: 6px;
  --gap: 10px;
  --pad: 12px;
}
html {
  background: var(--bg);
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(23, 27, 34, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--accent);
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 0 14px 10px;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1.4;
  white-space: nowrap;
}
a.runtime-category:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding: 10px 14px 22px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
.panel {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--pad);
}
.panel-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
  padding-left: 9px;
  border-left: 3px solid var(--accent);
  line-height: 1.3;
}
.block-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cool);
  text-transform: none;
  margin-bottom: 6px;
}
.player-shell {
  position: relative;
  background: #0e1116;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--accent-soft);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg-3);
  border-top: 1px solid var(--line-soft);
}
.ctrl-btn {
  padding: 4px 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
}
.ctrl-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  outline: none;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 60px;
}
.ctrl-select {
  padding: 4px 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.4;
  cursor: pointer;
}
.player-shell.is-playing .player-controls {
  border-top-color: var(--accent-soft);
}
.player-shell.is-muted .ctrl-volume {
  opacity: 0.5;
}
.panel-overview {
  display: grid;
  grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
  gap: 14px 16px;
  align-items: start;
}
.overview-media {
  grid-row: 1 / span 3;
  width: 100%;
  align-self: start;
}
.hero-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #2b3a4d 0%, #1a2028 60%, #2a2118 100%);
}
.overview-head {
  grid-column: 2;
  min-width: 0;
}
.overview-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}
.overview-tagline {
  margin-top: 4px;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.01em;
}
.status-row {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 6px;
}
.status-item {
  padding: 3px 8px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
}
.status-item:last-child {
  color: var(--accent);
  border-color: rgba(240, 138, 60, 0.35);
  background: var(--accent-dim);
}
.synopsis-block {
  grid-column: 2;
  min-width: 0;
}
.synopsis-text {
  font-size: 13px;
  line-height: 1.48;
  color: var(--ink-2);
  margin-bottom: 5px;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.cast-block {
  grid-column: 1 / -1;
  min-width: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px 10px;
}
.cast-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 8px;
  min-width: 0;
}
.cast-avatar {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3d5069 0%, #232c38 70%);
  border: 1px solid var(--line);
  flex: none;
}
.cast-card:nth-child(1) .cast-avatar, .cast-card:nth-child(2) .cast-avatar {
  border-color: rgba(240, 138, 60, 0.55);
  background: radial-gradient(circle at 35% 30%, #6a4a2c 0%, #2a2119 72%);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cast-role {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.details-block {
  grid-column: 1 / -1;
  min-width: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2px 16px;
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed var(--line-soft);
  min-width: 0;
}
.details-key {
  flex: none;
  width: 62px;
  font-size: 12px;
  color: var(--ink-3);
}
.details-value {
  font-size: 12.5px;
  color: var(--ink);
  min-width: 0;
  word-break: break-word;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 20px;
  padding-left: 20px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline-list::after {
  content: "";
  display: none;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 8px;
  align-items: baseline;
  padding: 5px 0;
  min-width: 0;
}
.timeline-dot {
  grid-row: 1 / span 2;
  align-self: center;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
  margin-left: -19px;
  box-shadow: 0 0 0 3px var(--bg-2);
}
.timeline-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--cool);
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.4;
}
.timeline-label {
  grid-column: 2;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.timeline-item.is-current .timeline-dot {
  width: 13px;
  height: 13px;
  background: var(--accent);
  margin-left: -22px;
  box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 6px var(--accent-dim);
}
.timeline-item.is-current .timeline-time {
  color: var(--accent);
}
.timeline-item.is-current .timeline-label {
  color: var(--ink);
  font-weight: 600;
}
.episode-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 132px);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.episode-strip::-webkit-scrollbar {
  height: 6px;
}
.episode-strip::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  min-width: 0;
}
.episode-number {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.03em;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-card.is-current {
  background: var(--accent-dim);
  border-color: var(--accent);
}
.episode-card.is-current .episode-number {
  color: var(--accent);
}
.episode-card.is-current .episode-title {
  color: var(--accent);
}
.comments-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 14px;
  align-items: start;
}
.comment-feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent);
  border-radius: 5px;
  align-self: start;
}
.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.comment-nickname {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.comment-badge {
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--accent-dim);
  border: 1px solid rgba(240, 138, 60, 0.4);
  color: var(--accent);
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
}
.comment-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}
.comment-feature .comment-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  min-width: 0;
}
.comment-card .comment-text {
  font-size: 12.5px;
  line-height: 1.45;
}
.panel-recommend {
  min-width: 0;
}
.recommend-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a.recommend-item:hover {
  border-color: var(--accent);
  background: var(--surface);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 4px;
  background: linear-gradient(140deg, #2b3a4d, #1a2028);
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.recommend-item:hover .recommend-name {
  color: var(--accent);
}
.recommend-blurb {
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 14px 26px;
  border-top: 1px solid var(--line-soft);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--ink-2);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--accent);
  text-decoration: underline;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}
.friends-label {
  font-size: 11.5px;
  color: var(--ink-3);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-3);
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  background: var(--bg-2);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 760px) {.page-main {
    padding: 8px 10px 18px;
    gap: 8px;
  }
.panel {
    padding: 10px;
  }
.panel-overview {
    grid-template-columns: minmax(0, 118px) minmax(0, 1fr);
    gap: 10px 12px;
  }
.overview-title {
    font-size: 17px;
  }
.overview-tagline {
    font-size: 12px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.comments-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-column {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
[data-runtime="recommendation"] img {
    height: 74px;
  }}
@media (max-width: 480px) {body {
    font-size: 14px;
  }
.panel-overview {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-media {
    grid-row: auto;
    max-width: 150px;
  }
.overview-head, .status-row, .synopsis-block {
    grid-column: 1;
  }
.cast-grid {
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-strip {
    grid-auto-columns: minmax(0, 118px);
  }
.recommend-column {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  }}
@media (prefers-reduced-motion: reduce) {a.recommend-item {
    transition: none;
  }}

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}
