:root {
  --bg: #171c22;
  --bg-2: #1d232b;
  --bg-3: #232a33;
  --bg-4: #2a323d;
  --panel: #1e242c;
  --ink: #c8d2dd;
  --ink-dim: #7c8996;
  --ink-bright: #f2f6fa;
  --white: #eef2f6;
  --red: #c8342c;
  --red-dim: #8f2620;
  --line: #313b46;
  --line-soft: #262e37;
  --radius: 3px;
  --gap: 8px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ink);
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
dl, dd, dt {
  margin: 0;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #14191f;
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 14px;
  border-bottom: 1px solid var(--line-soft);
}
.site-brand, a[data-contract="site-name"] {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--red);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: auto;
}
a.nav-link {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}
a.nav-link:hover {
  color: var(--white);
  border-color: var(--line);
  background: var(--bg-3);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px 12px;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  color: var(--ink-dim);
  text-decoration: none;
  border-left: 2px solid var(--red-dim);
  background: var(--bg-2);
  white-space: nowrap;
  transition: color 0.12s, background 0.12s, border-color 0.12s;
}
a.runtime-category:hover {
  color: var(--white);
  background: var(--red-dim);
  border-left-color: var(--red);
}
.page-main {
  display: block;
  padding: 10px 12px 0;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-areas:
    "media side"
    "synopsis synopsis"
    "status cast"
    "details details";
  gap: 10px var(--gap);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  align-items: start;
}
.hero-media {
  grid-area: media;
  align-self: start;
  background: #0f1318;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  position: relative;
}
.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.hero-side {
  grid-area: side;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.hero-title {
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.04em;
  border-left: 3px solid var(--red);
  padding-left: 8px;
}
.hero-tagline {
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.08em;
  padding-left: 11px;
}
.hero-player {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #0f1318;
  border: 1px solid var(--line-soft);
  padding: 6px;
  border-radius: var(--radius);
}
.hero-player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.player-btn {
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 11px;
  padding: 3px 7px;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.player-btn:hover, .player-btn.play:hover, .player-btn.pause:hover {
  background: var(--red-dim);
  border-color: var(--red);
  color: var(--white);
}
.player-btn:focus-visible, .player-range:focus-visible, .player-select:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 1px;
}
.player-btn.play, .player-btn.pause {
  background: var(--red-dim);
  border-color: var(--red-dim);
  color: var(--white);
}
.player-btn.mute, .player-btn.volume {
  background: var(--bg-4);
}
.player-btn.theater, .player-btn.light, .player-btn.fullscreen, .player-btn.pip {
  background: var(--bg-2);
  color: var(--ink-dim);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex: 1 1 70px;
  min-width: 54px;
  background: var(--bg-4);
  border-radius: 2px;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  border: none;
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  border: none;
}
.player-range.progress {
  flex: 2 1 120px;
}
.player-select {
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 11px;
  padding: 3px 4px;
  border-radius: var(--radius);
  cursor: pointer;
}
.player-select.speed {
  color: var(--ink-bright);
}
.is-playing .player-btn.play {
  background: var(--red);
  color: var(--white);
}
.is-muted .player-btn.mute {
  color: var(--red);
  border-color: var(--red-dim);
}
.is-speed-changed .player-select.speed {
  border-color: var(--red);
  color: var(--white);
}
.is-pip .player-btn.pip {
  background: var(--red-dim);
  color: var(--white);
}
.is-fullscreen .player-btn.fullscreen {
  background: var(--red-dim);
  color: var(--white);
}
.hero-panel.is-theater {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "side"
    "media"
    "synopsis"
    "status"
    "cast"
    "details";
}
.hero-panel.is-theater .hero-player {
  border-color: var(--red-dim);
}
.hero-panel.is-lights-off {
  background: #101418;
}
.hero-panel.is-lights-off .hero-media img, .hero-panel.is-lights-off .hero-player video {
  filter: brightness(0.45);
}
.hero-desc {
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.55;
  border-top: 1px solid var(--line-soft);
  padding-top: 7px;
}
.block-title {
  font-size: 13px;
  color: var(--white);
  letter-spacing: 0.08em;
  padding-left: 7px;
  border-left: 3px solid var(--red);
  margin-bottom: 7px;
}
.overview-synopsis {
  grid-area: synopsis;
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
}
.synopsis-para {
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.6;
  margin-bottom: 5px;
  text-indent: 2em;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.overview-status {
  grid-area: status;
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--red);
  padding: 4px 9px;
  border-radius: var(--radius);
}
.status-key {
  font-size: 11px;
  color: var(--ink-dim);
  white-space: nowrap;
}
.status-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.overview-cast {
  grid-area: cast;
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 76px;
  padding: 5px 8px;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.cast-role {
  font-size: 10px;
  color: var(--ink-dim);
  white-space: nowrap;
}
.overview-details {
  grid-area: details;
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px 10px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  border-bottom: 1px solid var(--line-soft);
  padding: 2px 0;
}
.detail-key {
  font-size: 11px;
  color: var(--ink-dim);
  flex: 0 0 auto;
  white-space: nowrap;
}
.detail-key::after {
  content: "·";
  margin-left: 3px;
  color: var(--line);
}
.detail-value {
  font-size: 12px;
  color: var(--ink-bright);
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
}
.timeline-panel {
  margin-top: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 6px;
  border-top: 2px solid var(--line);
  padding-top: 8px;
}
.timeline-node {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 8px;
  background: var(--bg-2);
  border-left: 2px solid var(--red-dim);
  border-radius: var(--radius);
  min-width: 0;
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.45;
}
.episodes-panel {
  margin-top: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 8px;
  transition: border-color 0.12s, background 0.12s;
}
.episode-card:hover {
  border-left-color: var(--red);
  background: var(--bg-3);
}
.episode-title {
  font-size: 12px;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  font-size: 11px;
  color: var(--ink-dim);
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comments-panel {
  margin-top: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  overflow: hidden;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  padding: 2px 0;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #e8e3d6;
  color: #2b2f35;
  border: 1px solid #cfc8b6;
  border-radius: 1px;
  padding: 7px 9px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  transform: rotate(-1.4deg);
  transition: transform 0.14s, box-shadow 0.14s;
}
.comment-note:nth-child(2n) {
  transform: rotate(1.6deg);
  background: #e2ddd0;
}
.comment-note:nth-child(3n) {
  transform: rotate(-2.2deg);
  background: #eee9dd;
}
.comment-note:nth-child(5n) {
  transform: rotate(1deg);
  background: #dcd7ca;
}
.comment-note:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.comment-nick {
  font-size: 11px;
  font-weight: 700;
  color: var(--red-dim);
  letter-spacing: 0.04em;
  border-bottom: 1px dashed #b9b2a1;
  padding-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: #33383f;
}
.rec-region {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 10px;
}
.rec-region-1 {
  background: #1b2128;
}
.rec-region-2 {
  background: #1f262e;
}
.rec-region-3 {
  background: #232a33;
}
.rec-region-4 {
  background: #272f39;
}
.rec-title {
  font-size: 13px;
  color: var(--white);
  letter-spacing: 0.08em;
  padding-left: 7px;
  border-left: 3px solid var(--red);
  margin-bottom: 7px;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 6px;
}
.rec-item {
  display: flex;
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 5px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.12s, background 0.12s;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--red);
  background: var(--bg-3);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #0f1318;
  border-radius: 2px;
  display: block;
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  color: var(--ink-dim);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 12px;
  background: #14191f;
  border-top: 1px solid var(--line);
  padding: 10px 12px 16px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.friend-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.08em;
  white-space: nowrap;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.12s;
}
a.runtime-friend-link:hover {
  color: var(--white);
  text-decoration: underline;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 0;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--ink-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.12s, border-color 0.12s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--red);
  border-color: var(--red);
}
.footer-disclaimer {
  font-size: 11px;
  color: #5d6771;
  line-height: 1.5;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}
@media (max-width: 900px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "side"
      "synopsis"
      "status"
      "cast"
      "details";
  }
.hero-title {
    font-size: 18px;
  }
.hero-media img {
    max-height: 60vh;
    object-fit: cover;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 640px) {body {
    font-size: 12.5px;
  }
.header-bar {
    padding: 6px 10px;
    gap: 8px;
  }
.header-nav {
    gap: 2px;
  }
a.nav-link {
    padding: 3px 6px;
    font-size: 11px;
  }
.category-strip {
    padding: 4px 8px;
  }
.page-main {
    padding: 8px 8px 0;
  }
.hero-panel, .timeline-panel, .episodes-panel, .comments-panel, .rec-region {
    padding: 8px;
  }
.hero-title {
    font-size: 16px;
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-value {
    text-align: left;
  }
.player-controls {
    gap: 3px;
  }
.player-btn {
    font-size: 10px;
    padding: 3px 5px;
  }
.site-footer {
    padding: 8px 8px 14px;
  }}
@media (max-width: 400px) {.rec-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-item {
    min-width: 64px;
  }}

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}
