
/* V27 · fichas de personajes, variante B cinematográfica. */
:root{--gold-v27:#dcc188}
.profile-page{background:radial-gradient(ellipse at 83% 2%,#193043 0,transparent 42%),#050a14;color:#f2f5fa}
.profile-main{width:min(1220px,calc(100% - 48px));margin:0 auto;padding:44px 0 70px;min-height:80vh}
.profile-back{display:inline-flex;align-items:center;gap:10px;color:#9ddbea;letter-spacing:.13em;font-size:11px;text-transform:uppercase;padding:10px 0;margin-bottom:25px}
.profile-back:hover{color:white}
.profile-hero{position:relative;isolation:isolate;min-height:665px;display:flex;align-items:center;justify-content:flex-end;overflow:hidden;border:1px solid #2a3d50;border-radius:12px;background:linear-gradient(90deg,#132535,#091522 65%);box-shadow:0 25px 65px #0006}
.profile-media{position:absolute;inset:0 35% 0 0;z-index:-2;overflow:hidden}
.profile-media img{width:100%;height:100%;object-fit:cover;object-position:var(--portrait-position,center 32%);display:block}
.profile-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(4,10,16,.04) 0%,rgba(4,10,16,.03) 35%,rgba(7,15,24,.72) 52%,#0a1522 71%,#0a1522 100%);pointer-events:none}
.profile-copy{width:53%;padding:45px clamp(30px,4.5vw,65px) 45px 32px;position:relative;z-index:1}
.profile-copy:before{content:"";display:block;width:85px;height:1px;background:var(--gold-v27);margin-bottom:25px}
.profile-name{font-family:Georgia,'Times New Roman',serif;font-size:clamp(55px,6.2vw,100px);font-weight:400;letter-spacing:.035em;line-height:1.1;margin:0 0 28px;color:#fff;overflow-wrap:anywhere}
.profile-name.long{font-size:clamp(44px,4.6vw,76px)}
.profile-description{color:#dde5eb;font-size:15px;line-height:1.8;max-width:535px}
.profile-description p{margin:0 0 15px}
.profile-first{border-top:1px solid rgba(172,199,217,.23);padding-top:20px;margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.profile-first span{color:#92acbf;font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.profile-first strong{color:#e8edf3;font-size:13px;font-weight:600;letter-spacing:.08em}
.profile-next{display:flex;justify-content:space-between;gap:25px;margin-top:28px;align-items:center}
.profile-next a{font-size:12px;color:#abd5e5;padding:12px 0;line-height:1.6}
.profile-next a:hover{color:#fff}
.profile-prev{text-align:left}.profile-follow{text-align:right}
.profile-page .top{background:#070d18ee}
@media(max-width:980px) and (min-width:701px){.profile-hero{min-height:780px}.profile-copy{width:57%;padding:32px}.profile-description{font-size:14px;line-height:1.66}.profile-name{font-size:65px}.profile-name.long{font-size:48px}.profile-media{inset:0 30% 0 0}}
@media(max-width:700px){.profile-main{width:min(100% - 26px,560px);padding:26px 0 60px}.profile-back{margin-bottom:15px}.profile-hero{display:block;min-height:0}.profile-media{position:relative;inset:auto;z-index:auto;height:405px;width:100%}.profile-media img{object-position:var(--portrait-position,center 30%)}.profile-hero::before{display:none}.profile-copy{width:100%;margin-top:-116px;padding:24px 22px 28px;background:linear-gradient(180deg,rgba(9,20,32,0),#0a1522 108px,#0a1522 100%)}.profile-copy:before{display:none}.profile-name{font-size:clamp(54px,11vw,75px);margin:0 0 37px;text-shadow:0 3px 15px #000b}.profile-name.long{font-size:clamp(38px,8vw,57px)}.profile-description{font-size:14px;line-height:1.78}.profile-first{margin-top:21px}.profile-next a{font-size:11px}}
@media(max-width:380px){.profile-media{height:345px}.profile-copy{margin-top:-93px}.profile-name{font-size:52px}.profile-name.long{font-size:37px}}
@media(prefers-reduced-motion:reduce){.profile-page *, .profile-page *:before{animation:none!important;transition:none!important}}
html[data-theme="light"] body.profile-page{background:radial-gradient(ellipse at 83% 2%,#d8e6f0,transparent 55%),#e8edf3;color:#1b3143}
html[data-theme="light"] .profile-page .top{background:#eff5fa}
html[data-theme="light"] .profile-page .profile-back,html[data-theme="light"] .profile-page .profile-next a{color:#165a76}
html[data-theme="light"] .profile-page .profile-next a:hover{color:#0a2d43}

nav.profile-next{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;padding:0;gap:18px}
nav.profile-next a{padding:12px 0}
