*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --abyss: #05070d;
  --abyss-2: #080c16;
  --deep: #0b1120;
  --panel: #0e1524;
  --panel-2: #131c2f;
  --line: #1c2740;
  --line-2: #26334f;
  --crimson: #b3121f;
  --crimson-glow: #e01f2d;
  --cold: #cfe4f5;
  --cold-dim: #8ea6c0;
  --text: #c6d3e2;
  --text-dim: #7f90a6;
  --gap: 14px;
  --radius: 3px;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(1200px 700px at 12% -8%, rgba(179, 18, 31, 0.14), transparent 60%),
    radial-gradient(900px 600px at 88% 4%, rgba(90, 150, 200, 0.10), transparent 62%),
    linear-gradient(180deg, #04060b 0%, #070b14 42%, #0b1220 78%, #0f1726 100%);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 7, 13, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cold);
  text-decoration: none;
  padding-left: 12px;
  position: relative;
  white-space: nowrap;
}
a[data-contract="site-name"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--crimson-glow), #4a0a10);
  box-shadow: 0 0 10px rgba(224, 31, 45, 0.7);
}
a[data-contract="site-name"]:hover { color: #fff; }
.category-nav {
  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;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cold-dim);
  text-decoration: none;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: rgba(19, 28, 47, 0.5);
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: #fff;
  border-color: var(--crimson);
  background: rgba(179, 18, 31, 0.18);
  outline: none;
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 16px 40px;
}
.hero {
  position: relative;
  background:
    radial-gradient(760px 420px at 18% 12%, rgba(179, 18, 31, 0.16), transparent 66%),
    radial-gradient(620px 380px at 82% 0%, rgba(80, 140, 190, 0.10), transparent 68%),
    linear-gradient(168deg, #05070d 0%, #070b15 60%, #0a0f1c 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(207, 228, 245, 0.045) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(207, 228, 245, 0.035) 0 1px, transparent 1px 54px);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--crimson-glow) 22%, #7fb6dc 78%, transparent);
  opacity: .8;
  z-index: 1;
}
.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  border: 1px solid var(--line-2);
  background: #04060b;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 18px 46px -22px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(224, 31, 45, 0.12) inset;
}
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(207, 228, 245, 0.10), transparent 42%, rgba(5, 7, 13, 0.55));
  pointer-events: none;
}
.hero-poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.06);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}
.hero-title {
  font-size: clamp(26px, 4.4vw, 46px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #f1f6fb;
  text-shadow: 0 0 26px rgba(120, 180, 220, 0.22), 0 2px 0 #000;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
}
.hero-tagline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--crimson-glow);
  text-transform: none;
  padding: 9px 12px;
  background: linear-gradient(90deg, rgba(179, 18, 31, 0.22), rgba(179, 18, 31, 0.02));
  border-left: 3px solid var(--crimson-glow);
  text-shadow: 0 0 14px rgba(224, 31, 45, 0.5);
}
.hero-seo {
  font-size: 13px;
  line-height: 1.62;
  color: var(--text-dim);
  max-width: 68ch;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  background: rgba(19, 28, 47, 0.62);
  border: 1px solid var(--line);
  border-left: 3px solid #4a6a8c;
  border-radius: 2px;
}
.status-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.status-value {
  font-size: 12px;
  font-weight: 800;
  color: #eef4fa;
  padding: 3px 9px;
  background: rgba(179, 18, 31, 0.28);
  border: 1px solid rgba(224, 31, 45, 0.5);
  border-radius: 2px;
  letter-spacing: 0.06em;
}
.status-current {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #7fb6dc;
  margin-left: auto;
}
.block-title {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #a9bed4;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}
.block-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}
.cast-block { min-width: 0; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 7px;
  background: linear-gradient(160deg, rgba(19, 28, 47, 0.9), rgba(10, 15, 26, 0.9));
  border: 1px solid var(--line);
  border-radius: 2px;
  min-width: 0;
  transition: border-color .16s ease, transform .16s ease;
}
.cast-card:hover {
  border-color: rgba(224, 31, 45, 0.6);
  transform: translateY(-2px);
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  background:
    radial-gradient(60% 60% at 34% 26%, rgba(207, 228, 245, 0.24), transparent 62%),
    linear-gradient(140deg, #24344f 0%, #131c2f 48%, #3d0d14 100%);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 6px);
}
.cast-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #cfe0ef;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1px solid var(--line);
  padding-top: 5px;
}
.synopsis-block { min-width: 0; }
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--text-dim);
  margin-bottom: 7px;
  padding-left: 10px;
  border-left: 2px solid var(--line-2);
}
.synopsis-para:last-child { margin-bottom: 0; }
.details-block { min-width: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(28, 39, 64, 0.7);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 62px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6c7f97;
  text-transform: uppercase;
}
.detail-value {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: #cfdcea;
  letter-spacing: 0.02em;
  word-break: break-word;
}
.hero-player-zone {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.hero-player-zone video {
  display: block;
  width: 100%;
  background: #000;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  box-shadow: 0 20px 50px -26px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(120, 180, 220, 0.08) inset;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  background: linear-gradient(180deg, rgba(19, 28, 47, 0.94), rgba(9, 13, 23, 0.94));
  border: 1px solid var(--line);
  border-radius: 2px;
}
.ctrl-btn {
  cursor: pointer;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #1b2740, #101828);
  color: #b9cbdd;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 11px;
  border-radius: 2px;
  white-space: nowrap;
  transition: color .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: #fff;
  border-color: var(--crimson);
  background: linear-gradient(180deg, #3a1018, #200910);
  box-shadow: 0 0 14px rgba(224, 31, 45, 0.32);
  outline: none;
}
.ctrl-btn.play, .ctrl-btn.pause, .ctrl-btn.is-playing { color: #fff; border-color: #7fb6dc; }
.ctrl-btn.mute, .ctrl-btn.is-muted { color: #ffd0d4; border-color: rgba(224, 31, 45, 0.65); }
.ctrl-btn.light, .ctrl-btn.theater { color: #cfe4f5; }
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  height: 6px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--crimson) 0%, #35506f 0%, #1a2438 100%);
  border: 1px solid var(--line-2);
  flex: 1 1 160px;
  min-width: 120px;
  max-width: 100%;
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, #eaf3fb, #7fb6dc);
  border: 1px solid #0b1120;
  box-shadow: 0 0 10px rgba(127, 182, 220, 0.7);
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, #eaf3fb, #7fb6dc);
  border: 1px solid #0b1120;
  box-shadow: 0 0 10px rgba(127, 182, 220, 0.7);
}
.ctrl-range[data-player-action="volume"] { flex: 0 1 110px; }
.is-playing .ctrl-btn.play { color: #fff; border-color: var(--cold); box-shadow: 0 0 14px rgba(127, 182, 220, 0.4); }
.is-lights-off .hero { background: #020306; }
.is-lights-off .hero-player-zone video { box-shadow: 0 0 0 1px rgba(224, 31, 45, 0.4), 0 0 60px -10px rgba(224, 31, 45, 0.35); }
.is-theater .hero-shell { grid-template-columns: minmax(0, 1fr); }
.is-theater .hero-poster-wrap { max-width: 340px; }
.is-fullscreen { padding: 0; }
.section-heading {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #b6cadf;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--crimson-glow);
  box-shadow: 0 0 12px rgba(224, 31, 45, 0.85);
  flex: 0 0 auto;
  transform: rotate(45deg);
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 84px;
  height: 1px;
  background: linear-gradient(90deg, var(--crimson-glow), transparent);
}
.timeline-section {
  margin-top: 26px;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.85), rgba(7, 11, 20, 0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.timeline-rail {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  -webkit-overflow-scrolling: touch;
}
.timeline-rail::-webkit-scrollbar { height: 6px; }
.timeline-rail::-webkit-scrollbar-track { background: rgba(28, 39, 64, 0.4); }
.timeline-rail::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 0; }
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-width: max-content;
  padding: 4px 2px 6px;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 6%, var(--line-2) 94%, transparent);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 158px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 11px 11px;
  background: linear-gradient(165deg, rgba(19, 28, 47, 0.92), rgba(9, 13, 23, 0.92));
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 11px;
  width: 10px;
  height: 10px;
  background: #04060b;
  border: 1px solid var(--crimson-glow);
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 10px rgba(224, 31, 45, 0.6);
}
.timeline-node:hover {
  border-color: rgba(127, 182, 220, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -18px rgba(0, 0, 0, 0.95);
}
.node-timecode {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #7fb6dc;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px rgba(127, 182, 220, 0.45);
}
.node-label {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
  color: #b3c4d6;
}
.episodes-section {
  margin-top: 26px;
}
.episode-card {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 0;
  background: linear-gradient(120deg, rgba(19, 28, 47, 0.92) 0%, rgba(9, 13, 23, 0.92) 62%, rgba(24, 8, 12, 0.9) 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--crimson);
  border-radius: var(--radius);
  overflow: hidden;
}
.episode-index {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(179, 18, 31, 0.16), rgba(5, 7, 13, 0.2));
  min-width: 0;
}
.episode-number {
  font-size: 48px;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: #f2f7fc;
  text-shadow: 0 0 22px rgba(127, 182, 220, 0.35), 0 0 42px rgba(224, 31, 45, 0.25);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}
.episode-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #cfdcea;
  writing-mode: vertical-rl;
  text-orientation: upright;
  align-self: center;
  max-height: 100%;
}
.episode-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  padding: 14px 16px;
  min-width: 0;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.6;
  color: #a7b8ca;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #7fb6dc;
  padding: 4px 10px;
  border: 1px solid rgba(127, 182, 220, 0.4);
  background: rgba(127, 182, 220, 0.08);
  border-radius: 2px;
  white-space: nowrap;
}
.comments-section {
  margin-top: 26px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: linear-gradient(160deg, rgba(24, 34, 55, 0.95), rgba(15, 21, 36, 0.95));
  border: 1px solid var(--line-2);
  border-left: 2px solid #3a5b7d;
  border-radius: 2px;
  min-width: 0;
  transition: border-left-color .16s ease, background .16s ease;
}
.comment-item:hover {
  border-left-color: var(--crimson-glow);
  background: linear-gradient(160deg, rgba(32, 44, 70, 0.95), rgba(19, 26, 44, 0.95));
}
.comment-nickname {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #7fb6dc;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 7px;
}
.comment-nickname::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--crimson-glow);
  box-shadow: 0 0 8px rgba(224, 31, 45, 0.8);
  flex: 0 0 auto;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: #b6c5d6;
}
.rec-region {
  margin-top: 26px;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(15, 23, 40, 0.9), rgba(11, 17, 30, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.rec-region[data-recommendation-region="2"] {
  background: linear-gradient(180deg, rgba(18, 27, 46, 0.9), rgba(13, 20, 34, 0.9));
}
.rec-region[data-recommendation-region="3"] {
  background: linear-gradient(180deg, rgba(22, 32, 53, 0.92), rgba(16, 24, 40, 0.92));
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: linear-gradient(165deg, rgba(27, 38, 60, 0.95), rgba(13, 19, 33, 0.95));
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease, background .16s ease;
}
a.rec-card:hover, a.rec-card:focus-visible {
  border-color: rgba(224, 31, 45, 0.65);
  background: linear-gradient(165deg, rgba(44, 24, 32, 0.95), rgba(16, 20, 34, 0.95));
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(224, 31, 45, 0.18) inset;
  outline: none;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #04060b;
  filter: saturate(0.9) contrast(1.05);
}
.rec-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #dbe7f2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: #8296ab;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 30px;
  padding: 18px 16px 26px;
  background: linear-gradient(180deg, rgba(9, 13, 23, 0.95), rgba(5, 7, 13, 0.98));
  border-top: 1px solid var(--line);
}
.footer-disclaimer {
  max-width: 1320px;
  margin: 0 auto 12px;
  font-size: 11px;
  line-height: 1.6;
  color: #66788c;
  letter-spacing: 0.02em;
}
.footer-nav {
  max-width: 1320px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: rgba(19, 28, 47, 0.5);
  text-decoration: none;
}
a[data-contract="footer-home"] { color: #cfe4f5; }
a[data-contract="footer-sitemap"] { color: #8ea6c0; }
a[data-contract="footer-home"]:hover { color: #fff; border-color: var(--crimson); }
a[data-contract="footer-sitemap"]:hover { color: #fff; border-color: #7fb6dc; }
.friend-links {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.friend-links-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5c6e83;
  margin-right: 4px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #7f90a6;
  text-decoration: none;
  padding: 3px 8px;
  border: 1px solid rgba(38, 51, 79, 0.8);
  border-radius: 2px;
  background: rgba(19, 28, 47, 0.34);
  white-space: nowrap;
  transition: color .14s ease, border-color .14s ease, background .14s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: #dbe7f2;
  border-color: rgba(127, 182, 220, 0.55);
  background: rgba(127, 182, 220, 0.1);
  outline: none;
}
@media (max-width: 1080px) {.hero-shell { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 860px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster-wrap { max-width: 320px; }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episode-card { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); }
.episode-number { font-size: 40px; }
.comments-columns { grid-template-columns: minmax(0, 1fr); }
.rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 620px) {.page-main { padding: 12px 12px 32px; }
.hero { padding: 12px; }
.hero-poster-wrap { max-width: 240px; }
.hero-title { font-size: 24px; }
.hero-tagline { font-size: 12px; letter-spacing: 0.1em; }
.cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.detail-key { min-width: 56px; }
.episode-card { grid-template-columns: minmax(0, 1fr); }
.episode-index {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 12px 13px;
  }
.episode-title { writing-mode: horizontal-tb; text-orientation: mixed; }
.episode-number { font-size: 38px; }
.episode-body { padding: 12px 13px; }
.timeline-node { width: 140px; }
.rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.player-controls { gap: 6px; padding: 8px; }
.ctrl-btn { font-size: 11px; padding: 5px 9px; }
.ctrl-range { flex: 1 1 100%; min-width: 0; }
.ctrl-range[data-player-action="volume"] { flex: 1 1 100%; }}
@media (max-width: 420px) {.header-inner { padding: 9px 12px; }
a[data-contract="site-name"] { font-size: 15px; letter-spacing: 0.1em; }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid { grid-template-columns: minmax(0, 1fr); }
.hero-poster-wrap { max-width: 100%; }
.timeline-node { width: 132px; }}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !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}
