/* Panerax Media: portal entrance transition */
.pm-portal-cover,html.pm-portal-arrival::before{position:fixed;inset:0;z-index:2147483600;box-sizing:border-box;width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;margin:0;border:0;padding:0;pointer-events:none;overflow:hidden;background-color:#17181b;background-image:url('/assets/images/panerax-media-logo.png'),radial-gradient(ellipse at 50% 45%,#282b35 0%,#17181b 48%,#101114 100%);background-repeat:no-repeat;background-position:center,center;background-size:clamp(154px,15vw,208px) auto,cover;}
.pm-portal-cover{clip-path:circle(0 at var(--pm-x,50%) var(--pm-y,50%));animation:pm-portal-expand 460ms cubic-bezier(.22,.85,.24,1) forwards;}
.pm-portal-cover::after,html.pm-portal-arrival::after{content:'';position:fixed;top:calc(50% + clamp(43px,6vw,55px));left:50%;width:62px;height:2px;transform:translateX(-50%);border-radius:4px;background:linear-gradient(90deg,transparent,#d8dbed 52%,transparent);opacity:.68;pointer-events:none;}
.pm-portal-cover::after{animation:pm-portal-trace 350ms 120ms cubic-bezier(.2,.8,.2,1) both;}
html.pm-portal-arrival::before{content:'';clip-path:inset(0);}
html.pm-portal-arrival::after{z-index:2147483601;}
html.pm-portal-arrival.pm-portal-reveal::before{animation:pm-portal-unveil 470ms cubic-bezier(.68,.01,.22,1) forwards;}
html.pm-portal-arrival.pm-portal-reveal::after{animation:pm-portal-line-out 240ms ease-out forwards;}
@keyframes pm-portal-expand{0%{clip-path:circle(0 at var(--pm-x,50%) var(--pm-y,50%));}100%{clip-path:circle(155vmax at var(--pm-x,50%) var(--pm-y,50%));}}
@keyframes pm-portal-trace{from{opacity:0;transform:translateX(-50%) scaleX(.2);}to{opacity:.68;transform:translateX(-50%) scaleX(1);}}
@keyframes pm-portal-unveil{from{clip-path:inset(0);opacity:1;}to{clip-path:inset(0 0 100% 0);opacity:1;}}
@keyframes pm-portal-line-out{to{opacity:0;transform:translateX(-50%) scaleX(.3);}}
@supports not (clip-path:circle(0 at 50% 50%)){.pm-portal-cover{clip-path:none;animation:pm-portal-fade-in 340ms ease both;}html.pm-portal-arrival.pm-portal-reveal::before{clip-path:none;animation:pm-portal-fade-out 380ms ease both;}@keyframes pm-portal-fade-in{from{opacity:0;}to{opacity:1;}}@keyframes pm-portal-fade-out{to{opacity:0;}}}
@media(prefers-reduced-motion:reduce){.pm-portal-cover,html.pm-portal-arrival::before,html.pm-portal-arrival::after{display:none!important;animation:none!important;}}
/* Reverse reveal: contract the branded cover back into Client portal. */
html.pm-portal-arrival.pm-portal-return.pm-portal-reveal::before{animation:pm-portal-contract 520ms cubic-bezier(.62,.01,.2,1) forwards;}
@keyframes pm-portal-contract{from{clip-path:circle(155vmax at var(--pm-return-x,85%) var(--pm-return-y,50px));}to{clip-path:circle(0 at var(--pm-return-x,85%) var(--pm-return-y,50px));}}
@supports not (clip-path:circle(0 at 50% 50%)){html.pm-portal-arrival.pm-portal-return.pm-portal-reveal::before{clip-path:none;animation:pm-portal-fade-out 380ms ease both;}}
@media(prefers-reduced-motion:reduce){html.pm-portal-arrival.pm-portal-return.pm-portal-reveal::before{display:none!important;animation:none!important;}}
