/* Preserve the character grid and section spacing; video belongs only to the heading. */
.character-heading{position:relative;isolation:isolate;padding:24px 0}
.character-film{position:absolute;inset:-24px -3%;z-index:-1;overflow:hidden;pointer-events:none;background:#080e17}
.character-film video{display:block;width:100%;height:100%;object-fit:cover;object-position:center 40%;opacity:.65}
.character-film:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#080e17e6, #080e1766 75%),linear-gradient(0deg,#080e17,transparent 30%,transparent 70%,#080e17)}
.character-heading .section-title{max-width:780px;text-shadow:0 3px 24px #000}
.character-heading .character-intro{color:#d5dbe4;text-shadow:0 2px 8px #000}
#character-motion-toggle{background:#080e17cc;border:1px solid #627488;color:#cfdce8;font-size:11px;min-height:44px;padding:10px 14px;cursor:pointer}
#character-motion-toggle:hover{border-color:var(--cyan);color:var(--cyan)}
#personajes .character-panel>*{min-width:0}
@media(max-width:850px){.character-heading{padding:16px 0}.character-film{inset:-16px -3%}.character-film video{object-position:65% center}}
.character-art-credit{max-width:760px;color:#acbdcb;font-size:14px;line-height:1.8;margin:24px 0 0}
.character-art-credit strong{color:#dbeaf2;font-weight:600}

/* Display the original frontal views at the same scale as the existing cast. */
.character-panel figure a:has(.character-front){background:radial-gradient(ellipse at 50% 43%,#263441 0%,#0c131c 43%,#080e17 72%);overflow:hidden}
.character-front{display:block;width:100%;height:580px;overflow:hidden}
@media(min-width:851px){.character-front{height:clamp(460px,65svh,700px)}}
@media(max-width:850px){.character-front{height:480px}}
@media(max-width:560px){.character-front{height:420px}}
