*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ol, ul, li, dl, dt, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:root {
  --sand: #c9a878;
  --sand-deep: #a8865a;
  --sand-pale: #e6d6bd;
  --iron: #33383d;
  --iron-deep: #22262a;
  --iron-mid: #4a5157;
  --glitch: #6fb8b0;
  --glitch-dim: #4a8b85;
  --paper: #eceae5;
  --paper-alt: #e0ded8;
  --ink: #16181a;
  --ink-soft: #3a3f43;
  --line: #b9b5ad;
  --line-dark: #5c6166;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
body.lights-off { background: var(--iron-deep); }
body.theater-mode .site-header { display: none; }
body.theater-mode { background: #0c0e10; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--iron-deep);
  border-bottom: 1px solid var(--iron-mid);
  box-shadow: 0 1px 0 rgba(111, 184, 176, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 7px 14px;
}
a[data-contract="site-name"] {
  color: var(--sand);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  border-left: 3px solid var(--glitch);
  padding-left: 8px;
  line-height: 1.1;
}
a[data-contract="site-name"]:hover { color: var(--glitch); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--sand-pale);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--iron-mid);
  background: rgba(111, 184, 176, 0.06);
}
a.runtime-category:hover {
  color: var(--iron-deep);
  background: var(--glitch);
  border-color: var(--glitch);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 14px 4px;
}
.hero-band {
  position: relative;
  background: linear-gradient(180deg, #1b1f23 0%, #262b30 46%, #33383d 78%, #3c3a33 100%);
  border-bottom: 1px solid var(--iron-deep);
  color: var(--sand-pale);
  padding: 0;
  overflow: hidden;
}
.hero-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--glitch) 0 6px, transparent 6px 14px);
  opacity: 0.55;
  pointer-events: none;
}
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas:
    "kicker poster"
    "title poster"
    "tagline poster"
    "scan poster"
    "player poster";
  column-gap: 18px;
  row-gap: 4px;
  align-items: start;
  padding: 16px 14px 18px;
  border-bottom: 1px solid rgba(111, 184, 176, 0.28);
}
.hero-kicker {
  grid-area: kicker;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--glitch);
  align-self: end;
  padding-bottom: 1px;
}
.hero-title {
  grid-area: title;
  font-size: clamp(30px, 5.4vw, 58px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: #f2e7d5;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}
.hero-tagline {
  grid-area: tagline;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--sand);
  max-width: 34em;
  padding-top: 4px;
}
.hero-scan-note {
  grid-area: scan;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--glitch-dim);
  border-top: 1px solid rgba(111, 184, 176, 0.3);
  border-bottom: 1px solid rgba(111, 184, 176, 0.14);
  padding: 2px 0;
  align-self: start;
}
.hero-poster-wrap {
  grid-area: poster;
  justify-self: end;
  align-self: start;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line-dark);
  outline: 1px solid rgba(111, 184, 176, 0.35);
  outline-offset: 3px;
  background: #000;
}
.hero-poster-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.hero-player-wrap {
  grid-area: player;
  align-self: start;
  width: 100%;
  min-width: 0;
  margin-top: 10px;
  border: 1px solid var(--line-dark);
  background: #0d0f11;
}
.hero-player-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px 7px;
  background: #14171a;
  border-top: 1px solid var(--iron-mid);
}
.player-btn {
  flex: 0 0 auto;
  appearance: none;
  background: #1f2429;
  border: 1px solid var(--iron-mid);
  color: var(--sand-pale);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  cursor: pointer;
  min-height: 22px;
}
.player-btn:hover { border-color: var(--glitch); color: var(--glitch); }
.player-btn:focus-visible { outline: 2px solid var(--glitch); outline-offset: 1px; }
.player-btn.is-active, .player-btn.play, .player-btn.pause {
  background: var(--glitch);
  border-color: var(--glitch);
  color: #0d0f11;
}
.player-progress, .player-volume {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  background: #2c3238;
  border: none;
  cursor: pointer;
  margin: 0;
}
.player-progress { flex: 1 1 120px; min-width: 90px; }
.player-volume { flex: 0 1 74px; min-width: 60px; }
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 9px;
  height: 14px;
  background: var(--sand);
  border: 1px solid #0d0f11;
  cursor: pointer;
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 8px;
  height: 13px;
  border-radius: 0;
  background: var(--sand);
  border: 1px solid #0d0f11;
  cursor: pointer;
}
.player-progress.progress, .player-volume.volume { background: #2c3238; }
.player-volume.mute { opacity: 0.45; }
.hero-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, #2b3035 0%, #33383d 100%);
  color: var(--sand-pale);
}
.hero-seo {
  grid-column: 1 / -1;
  font-size: 12.5px;
  line-height: 1.62;
  color: #d8cbb4;
  border-left: 3px solid var(--glitch);
  padding: 1px 0 1px 10px;
  margin-bottom: 12px;
}
.info-block {
  min-width: 0;
  padding: 0 14px 12px 0;
  border-top: 1px solid rgba(111, 184, 176, 0.16);
  padding-top: 9px;
}
.info-block[data-fragment="cast"] { grid-column: 1 / 2; }
.info-block[data-fragment="synopsis"] { grid-column: 2 / 3; grid-row: span 2; }
.info-block[data-fragment="episode-status"] { grid-column: 1 / 2; }
.info-block[data-fragment="details"] { grid-column: 1 / -1; }
.block-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--glitch);
  margin-bottom: 7px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(111, 184, 176, 0.3);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 52px;
}
.cast-avatar {
  display: block;
  width: 44px;
  height: 56px;
  background:
    linear-gradient(160deg, var(--sand-deep) 0%, #6c5a3e 55%, var(--iron-mid) 100%);
  border: 1px solid var(--line-dark);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 4px);
}
.cast-item:nth-child(2n) .cast-avatar { background: linear-gradient(160deg, var(--iron-mid) 0%, #3f4a4c 60%, var(--sand-deep) 100%); }
.cast-item:nth-child(3n) .cast-avatar { background: linear-gradient(160deg, var(--glitch-dim) 0%, #3c4b4a 60%, var(--iron-mid) 100%); }
.cast-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  color: #dfd2ba;
  line-height: 1.2;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.58;
  color: #cdc1ab;
  margin-bottom: 7px;
}
.synopsis-para:last-child { margin-bottom: 0; }
.status-line {
  font-size: 12px;
  line-height: 1.6;
  color: #d5c8b0;
  border-left: 2px solid var(--glitch-dim);
  padding-left: 8px;
  margin-bottom: 3px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 3px 12px 3px 0;
  border-bottom: 1px solid rgba(111, 184, 176, 0.12);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--glitch-dim);
  min-width: 44px;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: #ded1b8;
  text-align: right;
}
.band-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}
.band-title {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border-left: 4px solid var(--sand-deep);
  padding-left: 8px;
  line-height: 1.15;
}
.band-note {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.timeline-band {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 14px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--sand-deep) var(--paper-alt);
  position: relative;
  background:
    linear-gradient(90deg, var(--line) 0 100%) 0 22px / 100% 1px no-repeat;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: var(--paper-alt); }
.timeline-track::-webkit-scrollbar-thumb { background: var(--sand-deep); border-radius: 0; }
.timeline-node {
  flex: 0 0 190px;
  min-width: 190px;
  padding: 0 14px 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.timeline-node::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--paper);
  border: 2px solid var(--iron-mid);
  transform: rotate(45deg);
  margin-bottom: 9px;
  margin-top: 2px;
  flex: 0 0 auto;
}
.timeline-node.is-current::before {
  background: var(--glitch);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(111, 184, 176, 0.25);
}
.node-timecode {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  margin-bottom: 4px;
}
.timeline-node.is-current .node-timecode { color: var(--glitch-dim); border-color: var(--glitch); }
.node-label {
  font-size: 11.5px;
  line-height: 1.52;
  color: var(--ink-soft);
}
.timeline-node.is-current .node-label { color: var(--ink); font-weight: 600; }
.episodes-band {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.episode-card {
  padding: 7px 0 8px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  padding-left: 9px;
  min-width: 0;
}
.episode-card.is-current {
  border-left-color: var(--glitch);
  background: linear-gradient(90deg, rgba(111, 184, 176, 0.13), transparent 70%);
}
.episode-number {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--sand-deep);
  text-transform: uppercase;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 1px 0 3px;
  line-height: 1.2;
}
.episode-card.is-current .episode-title { color: var(--glitch-dim); }
.episode-summary {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-left: 1.6em;
  text-indent: -1.6em;
  padding-left: 1.6em;
}
.episode-duration {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--iron-mid);
  margin-top: 4px;
  margin-left: 1.6em;
  font-variant-numeric: tabular-nums;
}
.episode-duration::before {
  content: "▸ ";
  color: var(--sand-deep);
}
.comments-band {
  padding: 16px 0 14px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 20px;
  align-items: start;
}
.comment-item {
  border-left: 2px solid var(--line);
  padding: 0 0 8px 9px;
  margin-bottom: 8px;
  min-width: 0;
}
.comment-item:nth-child(3n/**/+1) { border-left-color: var(--sand-deep); }
.comment-item:nth-child(3n/**/+2) { border-left-color: var(--iron-mid); }
.comment-item:nth-child(3n) { border-left-color: var(--glitch-dim); }
.comment-head {
  font-size: 0;
  line-height: 1.2;
  margin-bottom: 2px;
}
.comment-nick {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--sand-pale);
  border: 1px solid var(--line);
  padding: 1px 6px;
}
.comment-body {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-left: 0;
}
.hard-divider {
  display: block;
  width: 100%;
  height: 0;
  border: 0;
  border-top: 3px solid var(--ink);
  margin: 2px 0 0;
  padding: 0;
}
.rec-region {
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--line);
}
.rec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}
.rec-title {
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-align: left;
  line-height: 1.2;
}
.rec-title::before {
  content: "// ";
  color: var(--glitch-dim);
  font-weight: 700;
}
.rec-count {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sand-deep);
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.rec-grid {
  display: grid;
  gap: 10px 12px;
  align-items: start;
}
.rec-region-1 .rec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rec-region-2 .rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-region-3 .rec-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
  min-width: 0;
  padding: 5px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.14s linear, background 0.14s linear;
}
a.rec-card:hover {
  border-color: var(--glitch-dim);
  background: #dbe3e1;
}
a.rec-card:focus-visible {
  outline: 2px solid var(--glitch-dim);
  outline-offset: 1px;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #b9b5ad;
  filter: saturate(0.85) contrast(1.02);
}
[data-runtime="recommendation"]:hover img { filter: saturate(1) contrast(1.06); }
.rec-name {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
}
.rec-blurb {
  display: block;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.site-footer {
  background: var(--iron-deep);
  color: var(--sand-pale);
  border-top: 3px solid var(--glitch-dim);
  padding: 12px 14px 16px;
}
.footer-disclaimer {
  max-width: 1280px;
  margin: 0 auto 9px;
  font-size: 10.5px;
  line-height: 1.55;
  color: #9d9587;
  letter-spacing: 0.01em;
}
.footer-nav {
  max-width: 1280px;
  margin: 0 auto 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--iron-mid);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--sand);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--glitch);
  text-decoration: underline;
  border-bottom-color: var(--glitch);
}
.friend-links {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.friend-links-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--glitch-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  text-decoration: none;
  color: #b3a892;
  border-bottom: 1px dotted var(--iron-mid);
  line-height: 1.5;
}
a.runtime-friend-link:hover {
  color: var(--glitch);
  border-bottom-color: var(--glitch);
  text-decoration: underline;
}
body.is-playing .hero-player-wrap { border-color: var(--glitch); }
body.is-playing .player-controls { border-top-color: var(--glitch-dim); }
body.lights-off .hero-band { background: #101214; }
body.lights-off .hero-info { background: linear-gradient(180deg, #16191c 0%, #1a1e21 100%); }
.player-btn.theater, .player-btn.light { border-style: dashed; }
.player-btn.theater.is-active, .player-btn.light.is-active {
  background: var(--sand-deep);
  border-color: var(--sand-deep);
  color: #12140f;
}
@media (max-width: 1024px) {.rec-region-3 .rec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rec-region-1 .rec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }}
@media (max-width: 900px) {.hero-visual {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  }
.hero-info {
    grid-template-columns: minmax(0, 1fr);
  }
.info-block[data-fragment="cast"], .info-block[data-fragment="synopsis"], .info-block[data-fragment="episode-status"], .info-block[data-fragment="details"] {
    grid-column: 1 / -1;
  }
.info-block { padding-right: 0; }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-region-1 .rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-region-2 .rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-region-3 .rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 720px) {body { font-size: 12.5px; }
.hero-visual {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "kicker"
      "title"
      "tagline"
      "scan"
      "poster"
      "player";
    row-gap: 6px;
  }
.hero-poster-wrap {
    justify-self: start;
    width: min(58%, 240px);
    margin-top: 4px;
  }
.hero-title { font-size: clamp(30px, 9vw, 44px); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.rec-region-1 .rec-grid, .rec-region-2 .rec-grid, .rec-region-3 .rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.band-head { flex-wrap: wrap; }
.band-note { white-space: normal; }}
@media (max-width: 520px) {.header-inner { flex-wrap: wrap; gap: 6px; }
.category-nav { justify-content: flex-start; }
.hero-poster-wrap { width: min(72%, 230px); }
.player-controls { gap: 3px; padding: 5px; }
.player-btn { font-size: 10.5px; padding: 3px 6px; }
.player-progress { flex: 1 1 100%; }
.rec-region-1 .rec-grid, .rec-region-2 .rec-grid, .rec-region-3 .rec-grid { grid-template-columns: minmax(0, 1fr); }
.cast-item { width: 46px; }
.cast-avatar { width: 40px; height: 51px; }
.comment-item { padding-left: 8px; }}
@media (prefers-reduced-motion: reduce) {* { transition: none !important; animation: none !important; }}

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}
