:root {
  --ink: #0e1013;
  --ink-2: #14171c;
  --ink-3: #1b1f26;
  --panel: #171b21;
  --panel-2: #1e232b;
  --line: #2b313b;
  --line-soft: #232933;
  --text: #c9ced6;
  --text-dim: #8b929d;
  --text-mute: #6a717c;
  --cold: #9aa3ae;
  --accent: #e07a3c;
  --accent-soft: #c96a34;
  --accent-deep: #7d3f1c;
  --radius: 6px;
  --radius-sm: 4px;
  --gap: 10px;
  --tight: 8px;
  --font: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", 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(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  font-stretch: condensed;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  border: 0;
}
a {
  color: var(--cold);
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 16, 19, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 12px;
}
a[data-contract="site-name"].brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #eef1f5;
  text-decoration: none;
  text-transform: uppercase;
  padding-right: 10px;
  border-right: 2px solid var(--accent);
  line-height: 1.1;
}
a[data-contract="site-name"].brand:hover {
  color: var(--accent);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-2);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #1a1206;
  background: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.block-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #eef1f5;
  text-transform: none;
  padding-left: 9px;
  border-left: 3px solid var(--accent);
  line-height: 1.15;
  margin-bottom: 8px;
}
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-overlay {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  background:
    linear-gradient(115deg, rgba(224, 122, 60, 0.14) 0%, rgba(224, 122, 60, 0) 42%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  overflow: hidden;
}
.hero-figure {
  position: relative;
  align-self: start;
  isolation: isolate;
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(200deg, rgba(224, 122, 60, 0.42) 0%, rgba(224, 122, 60, 0) 55%),
    linear-gradient(0deg, rgba(14, 16, 19, 0.72) 0%, rgba(14, 16, 19, 0) 60%);
  mix-blend-mode: screen;
  pointer-events: none;
  border-radius: var(--radius-sm);
}
img.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-sm);
  filter: grayscale(0.55) contrast(1.06) brightness(0.92);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 4px 4px 2px 0;
}
h1.hero-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #f2f4f7;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.hero-tagline {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  line-height: 1.35;
}
.hero-seo {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 62ch;
}
.player-shell {
  position: relative;
  background: #05070a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: padding 0.2s, background 0.2s;
}
video.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ctrl-button {
  flex: 0 0 auto;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ctrl-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #17100a;
}
.ctrl-button:active {
  transform: translateY(1px);
}
.ctrl-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
  accent-color: var(--accent);
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  border: 0;
  margin-top: -3.5px;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
}
.player-shell.lights-off {
  background: #000;
  border-color: var(--accent-deep);
}
.player-shell.lights-off .player-controls {
  opacity: 0.55;
}
.player-shell.lights-on {
  background: #0b0e13;
}
.player-shell.theater-on {
  padding: 4px;
  border-color: var(--accent);
}
.player-shell.theater-off {
  padding: 8px;
}
.player-shell .click .ctrl-button, .ctrl-button.click {
  background: var(--accent-deep);
  color: #f3e6dd;
}
.player-shell .input .ctrl-range, .ctrl-range.input {
  background: var(--accent-deep);
}
.player-shell .play .ctrl-button, .ctrl-button.play {
  background: var(--accent);
  border-color: var(--accent);
  color: #17100a;
}
.player-shell .mute .ctrl-button, .ctrl-button.mute, .player-shell .fullscreen .ctrl-button, .ctrl-button.fullscreen, .player-shell .pip .ctrl-button, .ctrl-button.pip, .player-shell .speed .ctrl-button, .ctrl-button.speed, .player-shell .theater .ctrl-button, .ctrl-button.theater, .player-shell .light .ctrl-button, .ctrl-button.light {
  border-color: var(--accent-soft);
  color: #f0dfd3;
}
.player-shell .progress .ctrl-range, .ctrl-range.progress {
  background: var(--accent-deep);
}
.player-shell .volume .ctrl-range, .ctrl-range.volume {
  background: var(--line);
}
.player-shell .timeupdate .ctrl-range, .ctrl-range.timeupdate {
  background: var(--accent-soft);
}
.player-shell .player, .player {
  display: block;
}
.cast-block {
  margin-top: 2px;
}
.cast-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--tight);
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.cast-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 74px;
  padding: 7px 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, background 0.15s;
}
.cast-card:hover {
  border-color: var(--accent-soft);
  background: var(--panel-2);
}
.cast-avatar {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(224, 122, 60, 0.85) 0%, rgba(224, 122, 60, 0) 58%),
    linear-gradient(160deg, #454d58 0%, #20252d 100%);
  border: 1px solid var(--line);
  filter: grayscale(0.7);
}
.cast-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-dim);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tight);
}
.status-current {
  font-size: 12.5px;
  font-weight: 800;
  color: #17100a;
  background: var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}
.status-total {
  font-size: 12px;
  color: var(--text-dim);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  background: var(--panel);
  padding: 7px 10px;
  min-width: 0;
}
.detail-row dt {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-row dd {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 6px 14px;
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--accent-deep);
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--accent-deep);
  transform: translateY(-50%);
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cold);
  border: 2px solid var(--ink);
  transform: translate(-2px, -50%);
}
.timeline-node:hover::after {
  background: var(--accent);
}
.timeline-time {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12px;
  color: var(--text);
  line-height: 1.45;
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-color: var(--accent-soft);
  background: var(--panel-2);
}
.episode-num {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.episode-title {
  font-size: 13px;
  font-weight: 800;
  color: #eef1f5;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-dim);
}
.episode-duration {
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}
.episode-card.episode-current {
  border-color: var(--accent);
  background: linear-gradient(150deg, rgba(224, 122, 60, 0.16) 0%, rgba(224, 122, 60, 0.03) 70%), var(--panel-2);
}
.episode-card.episode-current .episode-num, .episode-card.episode-current .episode-duration {
  color: var(--accent);
}
.episode-card.episode-current .episode-title {
  color: #fff;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  width: auto;
}
.comment-nick {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.comment-text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
  min-width: 0;
}
.comment-item.comment-left {
  margin-right: 14%;
  border-left-color: var(--accent-soft);
}
.comment-item.comment-right {
  margin-left: 14%;
  border-left-color: var(--line);
  flex-direction: row-reverse;
  text-align: right;
}
.comment-item.comment-right .comment-nick {
  color: var(--cold);
}
.recommend-region {
  display: flex;
  flex-direction: column;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 6px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
a.recommend-card:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--panel-2);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 108px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  filter: grayscale(0.4) brightness(0.94);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12px;
  font-weight: 800;
  color: #eef1f5;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-mute);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.site-footer {
  max-width: 1180px;
  margin: 16px auto 0;
  padding: 14px 12px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-mute);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"] {
  font-size: 12px;
  font-weight: 700;
  color: var(--cold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 700;
  color: var(--cold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px dotted var(--line);
}
a.runtime-friend-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
@media (max-width: 900px) {.hero-overlay {
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr);
    gap: 10px;
  }
h1.hero-title {
    font-size: 24px;
  }
.synopsis-body {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    padding: 10px;
    gap: 14px;
  }
.hero-overlay {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-figure {
    max-width: 190px;
  }
h1.hero-title {
    font-size: 22px;
  }
.hero-seo {
    font-size: 11.5px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-item.comment-left {
    margin-right: 6%;
  }
.comment-item.comment-right {
    margin-left: 6%;
  }
.timeline-track {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }}
@media (max-width: 520px) {body {
    font-size: 12.5px;
  }
.header-bar {
    gap: 10px;
    padding: 7px 10px;
  }
a[data-contract="site-name"].brand {
    font-size: 14px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.details-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.timeline-track {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 14px;
  }
.timeline-node::before, .timeline-node::after {
    left: -20px;
  }
.comment-item.comment-left {
    margin-right: 0;
  }
.comment-item.comment-right {
    margin-left: 0;
    flex-direction: row;
    text-align: left;
  }
.comment-item.comment-right .comment-nick {
    color: var(--accent);
  }
.player-controls {
    gap: 5px;
  }
.ctrl-button {
    font-size: 11px;
    padding: 4px 8px;
  }
.cast-card {
    width: 66px;
  }
.cast-avatar {
    width: 40px;
    height: 40px;
  }
h1.hero-title {
    font-size: 20px;
  }
.hero-tagline {
    font-size: 13px;
  }}
@media (max-width: 400px) {.ctrl-range {
    flex: 1 1 100%;
  }}

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}
