body[data-node="PN-CHARACTER"] .topic-hero.has-media { background: var(--c-night); color: var(--on-dark); }
body[data-node="PN-CHARACTER"] section.topic-hero:not(.has-media) { display: flex; align-items: flex-end; min-height: min(72svh, 900px);
  background: linear-gradient(160deg, var(--c-night) 0%, var(--c-bronze) 100%); color: var(--on-dark); }
body[data-node="PN-CHARACTER"] .topic-hero:not(.has-media) :is(.lead, h1 + p) { color: var(--on-dark); }
body[data-node="PN-CHARACTER"] .topic-hero:not(.has-media) :is(.kicker, .status) { color: var(--gold-light); }
body[data-node="PN-CHARACTER"] .topic-hero:not(.has-media) :is(.crumb, .status-time) { color: var(--on-dark-mut); }
body[data-node="PN-CHARACTER"] .topic-hero.has-media { margin: 0; padding: 0 0 0 var(--page-margin); align-items: end;
  min-height: calc(100svh - var(--top-h) - var(--sub-h)); }
body[data-node="PN-CHARACTER"] .topic-hero.has-media > .shell { grid-column: 1 / 7; grid-row: 1; align-self: end; padding: var(--section-y-s) 0 var(--section-y-s); position: relative; z-index: 2; }
body[data-node="PN-CHARACTER"] .topic-hero.has-media > .hero-media > :is(img, video) { width: 100%; height: 100%; object-fit: cover; }
body[data-node="PN-CHARACTER"] .topic-hero.has-media > :is(.topic-media, .hero-media, video, img, .art) { grid-column: 6 / -1; grid-row: 1; align-self: stretch; height: 100%; min-height: 0; max-height: calc(100svh - var(--top-h) - var(--sub-h));
  object-fit: cover; object-position: 50% 40%; background: var(--c-night);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
body[data-node="PN-CHARACTER"] .topic-hero h1 { font-size: var(--fs-display); font-weight: 300; line-height: var(--lh-display); letter-spacing: var(--ls-display); max-width: 9em; }
body[data-node="PN-CHARACTER"] .topic-hero h1:lang(ja) { max-width: 11em; }
body[data-node="PN-CHARACTER"] .topic-hero :is(.lead, h1 + p) { max-width: 26em; }
body[data-node="PN-CHARACTER"] .topic-hero.has-media :is(.lead, h1 + p) { color: var(--on-dark); }
body[data-node="PN-CHARACTER"] .topic-hero.has-media .kicker { color: var(--gold-light); }
body[data-node="PN-CHARACTER"] .topic-hero.has-media .crumb { color: var(--on-dark-mut); }
body[data-node="PN-CHARACTER"] .topic-hero.has-media .crumb a:hover { color: var(--c-white); }
body[data-node="PN-CHARACTER"] .topic-hero.has-media .status { color: var(--gold-light); }
body[data-node="PN-CHARACTER"] .topic-hero.has-media .status .status-time { color: var(--on-dark-mut); }
body[data-node="PN-CHARACTER"] .topic-overview { background: var(--c-champagne); --board: var(--c-white); --cell: var(--c-paper); }
body[data-node="PN-CHARACTER"] .topic-overview .bk-cap > b,
body[data-node="PN-CHARACTER"] .topic-overview .fg > figcaption b { font-weight: 300; }
body[data-node="PN-CHARACTER"] .mod-chapter .claim,
body[data-node="PN-CHARACTER"] .mod-chapter .ch-text h2 { font-weight: 300; }
body[data-node="PN-CHARACTER"] .mod-chapter:nth-child(odd of .mod-chapter) { background: var(--c-paper); }
body[data-node="PN-CHARACTER"] .mod-chapter:nth-child(even of .mod-chapter) { background: var(--c-champagne); }
body[data-node="PN-CHARACTER"] .mod-chapter .ch-figure :is(img, video) { border-radius: 0; }
body[data-node="PN-CHARACTER"] .mod-chapter:has(.ch-figure :is(img, video)) .ch-text { grid-column: 1 / 5; }
body[data-node="PN-CHARACTER"] .mod-chapter:has(.ch-figure :is(img, video)) .ch-figure { grid-column: 5 / -1; }
body[data-node="PN-CHARACTER"] .mod-chapter:nth-child(even of .mod-chapter):has(.ch-figure :is(img, video)) .ch-text { grid-column: 9 / -1; }
body[data-node="PN-CHARACTER"] .mod-chapter:nth-child(even of .mod-chapter):has(.ch-figure :is(img, video)) .ch-figure { grid-column: 1 / 9; }
body[data-node="PN-CHARACTER"] .mod-transition { background: var(--c-bronze); color: var(--on-dark); text-align: center; }
body[data-node="PN-CHARACTER"] .mod-transition .transition-line { font-size: var(--fs-h2); font-weight: 300; line-height: var(--lh-h); max-width: 20em; margin: 0 auto; }
body[data-node="PN-CHARACTER"] .mod-explore:not(.related) { background: var(--c-bronze); color: var(--on-dark); --idiom-rule: var(--line-dark-strong); --idiom-mut: var(--on-dark-mut);
  --idiom-accent: var(--gold-light); }
body[data-node="PN-CHARACTER"] .mod-explore:not(.related) .mod-head .kicker { color: var(--gold-light); }
body[data-node="PN-CHARACTER"] .mod-explore:not(.related) .mod-head h2 { font-size: var(--fs-h2); font-weight: 300; max-width: 18em; }
body[data-node="PN-CHARACTER"] .mod-explore .explore-list { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: auto; }
body[data-node="PN-CHARACTER"] .mod-explore .explore-item:not([href*="character"], [href*="origami"]) { min-height: clamp(220px, 19vw, 520px); }
body[data-node="PN-CHARACTER"] .mod-explore .explore-item { grid-column: span 4; grid-row: auto; }
body[data-node="PN-CHARACTER"] .mod-explore .explore-item:is([href*="character"], [href*="origami"]) { min-height: clamp(380px, 62vh, 900px); padding: var(--space-5); }
body[data-node="PN-CHARACTER"] .mod-explore .explore-item[href*="character"] { grid-column: 1 / 8; order: -2; }
body[data-node="PN-CHARACTER"] .mod-explore .explore-item[href*="origami"] { grid-column: 8 / -1; order: -1; }
body[data-node="PN-CHARACTER"] .mod-explore .explore-item:is([href*="character"], [href*="origami"]) b { font-size: var(--fs-h2); font-weight: 300; color: var(--c-white); }
body[data-node="PN-CHARACTER"] .mod-explore .explore-item:is([href*="character"], [href*="origami"]) span { max-width: 26em; color: var(--on-dark); }
body[data-node="PN-CHARACTER"] .mod-explore .explore-list:not(:has(img, video)) .explore-item:is([href*="character"], [href*="origami"]) { min-height: clamp(220px, 26vh, 360px);
  padding: var(--space-5); border: 1px solid var(--line-dark-strong); }
@media (max-width: 1023px) {
  body[data-node="PN-CHARACTER"] .topic-hero.has-media { padding-right: var(--page-margin); }
  body[data-node="PN-CHARACTER"] .topic-hero.has-media > :is(.topic-media, .hero-media, video, img, .art) { order: -1; grid-column: 1 / -1; grid-row: 1; aspect-ratio: 1; height: auto; max-height: none;
    margin: 0 calc(var(--page-margin) * -1); width: calc(100% + 2 * var(--page-margin)); max-width: none;
    -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
  body[data-node="PN-CHARACTER"] .topic-hero.has-media > .shell { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
  body[data-node="PN-CHARACTER"] .mod-chapter:has(.ch-figure :is(img, video)) :is(.ch-text, .ch-figure),
  body[data-node="PN-CHARACTER"] .mod-chapter:nth-child(even of .mod-chapter):has(.ch-figure :is(img, video)) :is(.ch-text, .ch-figure) { grid-column: 1 / -1; }
  body[data-node="PN-CHARACTER"] .mod-explore .explore-item:is([href*="character"], [href*="origami"]) { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  body[data-node="PN-CHARACTER"] .topic-hero.has-media { min-height: 0; }
  body[data-node="PN-CHARACTER"] .topic-hero h1 { font-size: clamp(32px, 9vw, 44px); }
  body[data-node="PN-CHARACTER"] .topic-hero.has-media > .shell { padding-top: 0; }
  body[data-node="PN-CHARACTER"] .mod-explore .explore-list { grid-template-columns: minmax(0, 1fr); }
  body[data-node="PN-CHARACTER"] .mod-explore .explore-item, body[data-node="PN-CHARACTER"] .mod-explore .explore-item:is([href*="character"], [href*="origami"]) { grid-column: 1 / -1; }
  body[data-node="PN-CHARACTER"] .mod-explore .explore-item:is([href*="character"], [href*="origami"]) { min-height: 110vw; }
  body[data-node="PN-CHARACTER"] .mod-explore .explore-item:is([href*="character"], [href*="origami"]) b { font-size: 28px; }
}
