:root {
  --brick: #6f7b82;
  --brick-dark: #3c454b;
  --brick-deep: #262e33;
  --brick-light: #9aa6ad;
  --wood: #4a3f38;
  --wood-dark: #2f2825;
  --wood-light: #6b5a4e;
  --ochre: #8a3b30;
  --ochre-dark: #5f271f;
  --ochre-light: #b05545;
  --lamp: #e8b34a;
  --lamp-soft: #f0c96a;
  --paper: #d9d2c4;
  --paper-dim: #b8b0a0;
  --ink: #1c2124;
  --ink-soft: #2a3135;
  --text: #cfd4d6;
  --text-dim: #8f999e;
  --text-bright: #ece8df;
  --line: rgba(154, 166, 173, 0.22);
  --line-strong: rgba(154, 166, 173, 0.38);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  --shadow-deep: 0 6px 22px rgba(0, 0, 0, 0.6);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-serif: "Songti SC", "SimSun", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--brick-deep);
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.14) 0px,
      rgba(0, 0, 0, 0.14) 1px,
      transparent 1px,
      transparent 4px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(154, 166, 173, 0.03) 0px,
      rgba(154, 166, 173, 0.03) 1px,
      transparent 1px,
      transparent 30px
    ),
    linear-gradient(180deg, #2b3338 0%, #232a2e 45%, #1e2427 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
ol, ul {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 400;
  line-height: 1.3;
}
figure {
  margin: 0;
}
::selection {
  background: var(--lamp);
  color: var(--ink);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(28, 33, 36, 0.97) 0%, rgba(32, 38, 42, 0.94) 100%);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5), 0 4px 14px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}
.brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  min-width: 0;
}
.site-brand {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--text-bright);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
a[data-contract="site-name"] {
  color: var(--text-bright);
  text-decoration: none;
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible {
  color: var(--lamp);
  border-bottom-color: var(--lamp);
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text-dim);
  white-space: nowrap;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 11px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brick-light);
  white-space: nowrap;
  background: rgba(154, 166, 173, 0.07);
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--ink);
  background: var(--lamp);
  border-color: var(--lamp);
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 18px 0;
}
.panel-heading {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--text-bright);
  padding: 0 0 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.panel-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 2px;
  background: var(--lamp);
}
.band-heading {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--text-bright);
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
}
.band-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 0 8px rgba(232, 179, 74, 0.75);
}
.hero-panel {
  margin-bottom: 16px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 18px 26px;
  align-items: start;
}
.hero-figure {
  position: sticky;
  top: 62px;
  align-self: start;
  min-width: 0;
}
.poster-plate {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--wood-dark);
  border: 1px solid var(--line-strong);
  padding: 7px 7px 0;
  box-shadow: var(--shadow-deep);
}
.poster-plate::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(232, 179, 74, 0.14);
  pointer-events: none;
}
.poster-plate img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06) brightness(0.94);
  border: 1px solid rgba(0, 0, 0, 0.5);
}
.poster-caption {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--paper-dim);
  text-align: center;
  padding: 6px 2px 8px;
  background: linear-gradient(180deg, rgba(232, 179, 74, 0.06), transparent);
}
.hero-dossier {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 42px);
  letter-spacing: 0.08em;
  color: var(--text-bright);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  line-height: 1.15;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--lamp);
  padding-left: 12px;
  border-left: 2px solid var(--ochre);
}
.hero-seo {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-dim);
  max-width: 74ch;
  text-align: justify;
}
.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.chip {
  display: inline-block;
  padding: 2px 9px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--brick-light);
  background: rgba(154, 166, 173, 0.08);
  border: 1px solid var(--line);
  border-radius: 1px;
  white-space: nowrap;
}
.chip-score {
  color: var(--ink);
  background: var(--lamp);
  border-color: var(--lamp-soft);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(232, 179, 74, 0.35);
}
.chip-year {
  color: var(--lamp-soft);
  border-color: rgba(232, 179, 74, 0.45);
  background: rgba(232, 179, 74, 0.08);
}
.chip-region {
  color: var(--brick-light);
}
.chip-genre {
  color: var(--paper-dim);
  border-color: var(--line-strong);
}
.chip-length {
  color: var(--ochre-light);
  border-color: rgba(176, 85, 69, 0.45);
  background: rgba(138, 59, 48, 0.14);
}
.hero-player {
  position: relative;
  min-width: 0;
  background: #14181a;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.hero-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  background: linear-gradient(180deg, #232a2e, #1a2023);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  padding: 3px 9px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--brick-light);
  background: rgba(154, 166, 173, 0.08);
  border: 1px solid var(--line);
  border-radius: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: var(--ink);
  background: var(--lamp);
  border-color: var(--lamp-soft);
}
.ctrl-btn.is-playing, .ctrl-btn.is-active {
  color: var(--ink);
  background: var(--lamp);
  border-color: var(--lamp-soft);
}
.ctrl-btn.is-muted {
  color: var(--paper);
  background: rgba(138, 59, 48, 0.5);
  border-color: var(--ochre-light);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex: 1 1 84px;
  min-width: 60px;
  background: rgba(154, 166, 173, 0.22);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lamp);
  border: 1px solid var(--lamp-soft);
  box-shadow: 0 0 6px rgba(232, 179, 74, 0.6);
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lamp);
  border: 1px solid var(--lamp-soft);
  box-shadow: 0 0 6px rgba(232, 179, 74, 0.6);
}
.hero-player.is-theater {
  box-shadow: 0 0 0 1px var(--lamp), 0 8px 30px rgba(0, 0, 0, 0.7);
}
.hero-player.is-lights-off {
  background: #000;
}
.hero-player.is-lights-off .player-controls {
  opacity: 0.32;
}
.hero-player.is-muted .ctrl-range[aria-label="音量"] {
  opacity: 0.45;
}
.cast-panel {
  min-width: 0;
}
.cast-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.cast-rail::-webkit-scrollbar {
  height: 6px;
}
.cast-rail::-webkit-scrollbar-track {
  background: rgba(154, 166, 173, 0.08);
}
.cast-rail::-webkit-scrollbar-thumb {
  background: var(--wood-light);
}
.cast-card {
  flex: 0 0 148px;
  display: flex;
  gap: 8px;
  align-items: stretch;
  padding: 7px;
  background: rgba(74, 63, 56, 0.34);
  border: 1px solid var(--line);
  scroll-snap-align: start;
  transition: border-color 0.2s, background 0.2s;
}
.cast-card:hover {
  background: rgba(74, 63, 56, 0.55);
  border-color: rgba(232, 179, 74, 0.4);
}
.cast-portrait {
  flex: 0 0 54px;
  width: 54px;
  height: 72px;
  overflow: hidden;
  background: var(--brick-deep);
  border: 1px solid rgba(0, 0, 0, 0.5);
}
.cast-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.92);
}
.cast-role {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: flex-start;
}
.cast-name {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-bright);
}
.cast-relation {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--text-dim);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.05em;
  max-height: 76px;
  overflow: hidden;
}
.synopsis-panel {
  min-width: 0;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0 22px;
  padding: 10px 12px;
  background: rgba(28, 33, 36, 0.5);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ochre);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-dim);
  text-align: justify;
  padding: 5px 0;
  text-indent: 2em;
}
.episode-status-panel {
  min-width: 0;
}
.status-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 7px;
}
.status-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  background: rgba(154, 166, 173, 0.06);
  border: 1px solid var(--line);
  border-top: 2px solid var(--wood-light);
}
.status-key {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}
.status-value {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--lamp-soft);
}
.details-panel {
  min-width: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 18px;
  padding: 4px 0;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dotted rgba(154, 166, 173, 0.2);
  min-width: 0;
}
.detail-key {
  flex: 0 0 62px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--text);
  overflow-wrap: break-word;
}
.timeline-band {
  margin-bottom: 16px;
  padding: 12px 14px 14px;
  background:
    linear-gradient(180deg, rgba(74, 63, 56, 0.32), rgba(38, 46, 51, 0.32)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 42px);
  border: 1px solid var(--line);
  border-top: 3px double var(--wood-light);
  box-shadow: inset 0 1px 0 rgba(232, 179, 74, 0.08);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0;
  padding-top: 18px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--wood-light) 6%, var(--wood-light) 94%, transparent);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 10px 0 0;
  min-width: 0;
}
.node-lamp {
  position: absolute;
  top: -13px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 0 9px 2px rgba(232, 179, 74, 0.55), 0 0 0 2px rgba(28, 33, 36, 0.85);
}
.timeline-node:nth-child(even) .node-lamp {
  background: var(--ochre-light);
  box-shadow: 0 0 8px 2px rgba(176, 85, 69, 0.45), 0 0 0 2px rgba(28, 33, 36, 0.85);
}
.node-timecode {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--lamp-soft);
}
.node-label {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-dim);
}
.episodes-panel {
  margin-bottom: 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  min-width: 0;
  padding: 9px 10px;
  background: rgba(28, 33, 36, 0.55);
  border: 1px solid var(--line);
  border-left: 2px solid var(--wood-light);
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.episode-card:hover, .episode-card:focus-within {
  background: rgba(44, 52, 57, 0.9);
  border-color: rgba(232, 179, 74, 0.4);
  border-left-color: var(--lamp);
  transform: translateY(-1px);
}
.episode-number {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ochre-light);
}
.episode-title {
  font-family: var(--font-serif);
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: var(--text-bright);
  margin: 2px 0 4px;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--text-dim);
}
.episode-extra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.24s ease, margin-top 0.24s ease, padding-top 0.24s ease;
}
.episode-card:hover .episode-extra, .episode-card:focus-within .episode-extra {
  max-height: 140px;
  opacity: 1;
  margin-top: 7px;
  padding-top: 6px;
  border-top-color: var(--line);
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--lamp-soft);
  padding: 1px 6px;
  border: 1px solid rgba(232, 179, 74, 0.4);
}
.episode-note {
  font-size: 10.5px;
  color: var(--paper-dim);
  letter-spacing: 0.04em;
}
.comments-panel {
  margin-bottom: 18px;
}
.letter-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px 16px;
  padding: 6px 4px 12px;
}
.letter-card {
  position: relative;
  padding: 12px 14px 14px;
  background:
    linear-gradient(180deg, rgba(217, 210, 196, 0.96), rgba(200, 192, 176, 0.94));
  color: #2a2621;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(120, 110, 96, 0.55);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.letter-card::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(-1.5deg);
  width: 42px;
  height: 10px;
  background: rgba(184, 176, 160, 0.6);
  border-left: 1px solid rgba(120, 110, 96, 0.3);
  border-right: 1px solid rgba(120, 110, 96, 0.3);
}
.letter-card:nth-child(3n + 1) {
  transform: rotate(-1.1deg);
}
.letter-card:nth-child(3n + 2) {
  transform: rotate(0.9deg);
}
.letter-card:nth-child(3n) {
  transform: rotate(-0.5deg) translateY(4px);
}
.letter-card:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.62);
  z-index: 2;
}
.letter-nickname {
  font-family: var(--font-serif);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: #7a2f26;
  margin-bottom: 5px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(122, 47, 38, 0.35);
}
.letter-text {
  font-size: 12px;
  line-height: 1.8;
  color: #33302a;
  text-align: justify;
}
.rec-region {
  margin-bottom: 16px;
}
.rec-heading {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--text-bright);
  margin-bottom: 8px;
  padding-left: 12px;
  position: relative;
}
.rec-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  background: var(--ochre-light);
  transform: rotate(45deg);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 7px;
  background: rgba(28, 33, 36, 0.6);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
a.rec-card {
  color: var(--text);
  text-decoration: none;
}
a.rec-card:hover, a.rec-card:focus-visible {
  background: rgba(48, 56, 61, 0.95);
  border-color: rgba(232, 179, 74, 0.45);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #14181a;
  border: 1px solid rgba(0, 0, 0, 0.5);
  filter: saturate(0.85) brightness(0.92);
}
.rec-pic {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.rec-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  min-width: 20px;
  padding: 1px 6px;
  font-size: 11px;
  font-family: var(--font-serif);
  line-height: 1.5;
  text-align: center;
  color: var(--ink);
  background: var(--lamp);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}
.rec-name {
  font-family: var(--font-serif);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-bright);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-region-2 .rec-badge, .rec-region-3 .rec-badge {
  background: var(--ochre-light);
  color: var(--paper);
}
.site-footer {
  margin-top: 8px;
  background: linear-gradient(180deg, #1c2225, #161b1e);
  border-top: 1px solid var(--line-strong);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 26px;
}
.footer-disclaimer {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 62ch;
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-dim);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brick-light);
  text-decoration: none;
  border-bottom: 1px dotted rgba(154, 166, 173, 0.4);
  transition: color 0.18s, border-color 0.18s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--lamp);
  border-bottom-color: var(--lamp);
}
.friend-links {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.friend-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  padding-right: 6px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--brick-light);
  text-decoration: none;
  padding: 1px 6px;
  background: rgba(154, 166, 173, 0.06);
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--ink);
  background: var(--lamp);
  border-color: var(--lamp-soft);
}
.player.is-playing, .player.pause, .player.play {
  color: var(--lamp);
}
.fullscreen {
  background: #000;
}
.theater {
  box-shadow: 0 0 0 1px var(--lamp);
}
.mute, .volume {
  opacity: 0.9;
}
.speed, .pip, .progress, .timeupdate, .input, .light, .click, .x {
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}
@media (max-width: 1080px) {.hero-grid {
    grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
    gap: 16px 20px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.page-main {
    padding: 12px 14px 0;
  }
.header-inner {
    padding: 8px 14px;
  }
.hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.hero-figure {
    position: static;
    top: auto;
    max-width: 240px;
  }
.poster-plate img {
    max-width: 100%;
  }
.cast-rail {
    gap: 8px;
  }
.cast-card {
    flex: 0 0 158px;
  }
.cast-relation {
    writing-mode: horizontal-tb;
    max-height: none;
  }
.timeline-track {
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 14px 0;
  }
.timeline-track::before {
    display: none;
  }
.timeline-node {
    padding-left: 14px;
    border-left: 2px solid var(--wood-light);
  }
.node-lamp {
    top: 2px;
    left: -6px;
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.footer-inner {
    padding: 14px 14px 20px;
    flex-direction: column;
    align-items: flex-start;
  }}
@media (max-width: 560px) {body {
    font-size: 13.5px;
  }
.header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
.brand-row {
    gap: 2px 10px;
  }
.site-brand {
    font-size: 17px;
  }
.brand-sub {
    letter-spacing: 0.16em;
  }
.hero-title {
    font-size: 26px;
  }
.hero-seo {
    font-size: 12.5px;
    line-height: 1.8;
  }
.player-controls {
    gap: 4px;
    padding: 5px;
  }
.ctrl-btn {
    padding: 3px 7px;
    font-size: 11px;
  }
.ctrl-range {
    flex: 1 1 100%;
    min-width: 100%;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-extra {
    max-height: none;
    opacity: 1;
    margin-top: 7px;
    padding-top: 6px;
    border-top-color: var(--line);
  }
.letter-stack {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.rec-blurb {
    -webkit-line-clamp: 3;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
    padding: 8px 10px;
  }
.status-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.friend-links {
    gap: 4px 8px;
  }}
@media (max-width: 380px) {.rec-grid {
    grid-template-columns: minmax(0, 1fr);
  }}

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}
