.character-intro{display:block!important;padding:110px 6vw 0!important;min-height:0!important;overflow:hidden;background:#fff}.character-intro-copy{max-width:830px;margin:auto;text-align:center;position:relative;z-index:2}.character-intro h1{font-size:clamp(2.5rem,6vw,5.8rem)!important;letter-spacing:.045em}.character-intro-copy p{max-width:730px;margin:25px auto 0;line-height:1.85}.character-ensemble{height:690px;position:relative;isolation:isolate;margin:0 -6vw;background:linear-gradient(#fff 2%,#ffffff40 30%,#ffffff00 70%,#fff 100%),url(assets/endings/personagens.jpg) center/cover}.ensemble-figure{position:absolute;bottom:0;width:19%;height:480px;mix-blend-mode:multiply;transition:transform .7s,filter .7s;filter:drop-shadow(0 8px 14px #2f322029);mask-image:linear-gradient(#000 88%,transparent)}.portrait-crop{display:block;width:100%;height:100%;overflow:hidden}.ensemble-figure:hover,.ensemble-figure:focus-visible{transform:translateY(-13px) scale(1.035);filter:drop-shadow(0 0 12px #ac904466)}.ensemble-tahar{left:3%;height:530px;bottom:90px}.ensemble-kazyr{left:27%;height:550px;bottom:80px}.ensemble-nahi{left:64%;height:545px;bottom:85px}.ensemble-tuga{left:81%;height:430px;bottom:90px}.ensemble-bakri{left:2%;height:280px;z-index:3}.ensemble-glen{left:14%;height:400px;z-index:4}.ensemble-kilian{left:30%;height:410px;z-index:4}.ensemble-aurel{left:43%;height:480px;z-index:4}.ensemble-delian{left:58%;height:470px;z-index:4}.ensemble-mirelah{left:72%;height:480px;z-index:4}.ensemble-oryon{left:84%;height:480px;z-index:4}
.character-chapter{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:820px!important;gap:6vw;padding:90px 7vw!important;background:#fff!important}.character-chapter.reverse{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.character-art{height:720px!important;min-width:0;background:none!important}.character-backdrop{background:radial-gradient(ellipse at 48% 58%,#eae6d84d,transparent 65%)!important;opacity:1}.character-chapter .figure-window{inset:0!important;width:100%!important;height:100%!important;mask-image:linear-gradient(#000 0%,#000 91%,transparent 100%)!important;mix-blend-mode:multiply;transform:translateY(var(--scroll-shift,0px));transition:filter .7s}.character-art:hover .figure-window{filter:drop-shadow(0 0 14px #aa95422b)}.figure-window .portrait-crop{width:100%;height:100%}.character-copy{max-width:620px;align-self:center}.character-copy h2{font-size:clamp(2rem,3.5vw,3.65rem)!important;line-height:1.16;overflow-wrap:normal}.character-copy p{line-height:1.85;font-size:1.02rem}.character-detail{margin:20px 0}.character-detail .detail-face{width:245px;height:245px;background:none!important;mask-image:radial-gradient(ellipse,#000 48%,transparent 74%);mix-blend-mode:multiply}.character-detail .portrait-crop{width:100%;height:100%}.detail-toggle{margin:15px 0 20px}.character-index{overflow-x:auto;justify-content:flex-start!important;scrollbar-width:thin;padding-left:6vw!important;padding-right:6vw!important}.character-index a{white-space:nowrap;flex-shrink:0}
@media(max-width:700px){.character-intro{padding-top:85px!important}.character-ensemble{height:500px;margin-top:25px}.ensemble-figure{width:25%;height:300px}.ensemble-tahar{left:-4%;height:380px;bottom:70px}.ensemble-kazyr{left:22%;height:370px;bottom:90px}.ensemble-nahi{left:57%;height:360px;bottom:75px}.ensemble-tuga{left:78%;height:280px;bottom:80px}.ensemble-bakri{left:-2%;height:160px}.ensemble-glen{left:11%;height:215px}.ensemble-kilian{left:25%;height:230px}.ensemble-aurel{left:37%;height:295px}.ensemble-delian{left:53%;height:280px}.ensemble-mirelah{left:68%;height:290px}.ensemble-oryon{left:80%;height:285px}.character-chapter,.character-chapter.reverse{display:flex!important;flex-direction:column;gap:20px;padding:65px 6vw!important;min-height:0!important}.character-copy{order:0}.character-art{order:1;height:600px!important;width:100%}.character-copy h2{font-size:2.35rem!important}.character-detail .detail-face{width:200px;height:200px}}
@media(prefers-reduced-motion:reduce){.ensemble-figure,.figure-window{transition:none!important;transform:none!important}}
.ensemble-figure{mix-blend-mode:normal;filter:none;mask-image:radial-gradient(ellipse at 50% 50%,#000 45%,#000b 63%,transparent 74%)}.character-ensemble{height:730px}.character-chapter .figure-window{mask-image:radial-gradient(ellipse at 50% 47%,#000 56%,#000d 65%,transparent 74%)!important}.character-backdrop{border:0!important}.character-art:after{display:none!important}@media(max-width:700px){.character-ensemble{height:520px}}

.ensemble-tuga{bottom:180px}.ensemble-nahi{bottom:130px}.ensemble-tahar{bottom:130px}.ensemble-kazyr{bottom:125px}@media(max-width:700px){.ensemble-tuga{bottom:150px}.ensemble-tahar,.ensemble-nahi,.ensemble-kazyr{bottom:130px}}

/* Each close-up shows one portrait from the original sheet, at its natural ratio. */
.characters-scroll .character-detail .detail-face{width:245px;max-width:100%;height:auto;aspect-ratio:var(--face-ratio);overflow:hidden;mask-image:none;-webkit-mask-image:none;mix-blend-mode:normal}
.characters-scroll .character-detail .detail-face .portrait-crop{width:100%;height:100%;mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent)}
@media(max-width:700px){.characters-scroll .character-detail .detail-face{width:220px}}

.characters-scroll .character-detail .detail-face .portrait-crop{mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent),linear-gradient(to bottom,transparent,#000 4%,#000 94%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent),linear-gradient(to bottom,transparent,#000 4%,#000 94%,transparent);-webkit-mask-composite:source-in}
