/* Account is a scroll/focus target, not an interactive control. */
.viewer #viewer-login:focus,
.viewer #viewer-login:focus-visible{outline:none!important;outline-offset:0}
.off-page-rip{pointer-events:none;position:fixed;inset:0;z-index:2147483600;isolation:isolate;overflow:hidden;display:grid;place-items:center}
.off-rip-fragment{position:absolute;inset:0;background:linear-gradient(146deg,#25142f,#100917 55%,#08050c);opacity:.94}
.off-rip-fragment:nth-child(1){clip-path:polygon(0 0,53% 0,47% 19%,52% 30%,39% 54%,0 48%);--cut-x:-110%;--cut-y:-40%;--cut-z:-13deg}
.off-rip-fragment:nth-child(2){clip-path:polygon(53% 0,100% 0,100% 43%,60% 52%,52% 30%,47% 19%);--cut-x:106%;--cut-y:-41%;--cut-z:16deg}
.off-rip-fragment:nth-child(3){clip-path:polygon(0 48%,39% 54%,52% 30%,60% 52%,53% 65%,59% 74%,49% 100%,0 100%);--cut-x:-93%;--cut-y:58%;--cut-z:12deg}
.off-rip-fragment:nth-child(4){clip-path:polygon(100% 43%,100% 100%,49% 100%,59% 74%,53% 65%,60% 52%);--cut-x:93%;--cut-y:57%;--cut-z:-11deg}
.off-rip-heart,.off-rip-embers{grid-area:1/1;position:relative;z-index:1}
.off-rip-heart svg{display:block;width:clamp(94px,25vw,175px);height:auto;fill:#ef8da8;stroke:#ffd9b4;stroke-width:1.15;filter:drop-shadow(0 0 16px #ff8fbabf)}
.off-rip-embers{display:grid;place-items:center}
.off-rip-embers svg{position:absolute;inset:auto;width:var(--heart-size,12px);fill:#f4bbcb;--x:55px;--y:-68px;--r:30deg}
.off-rip-embers svg:nth-child(2){--x:-72px;--y:-48px;--r:-38deg;--heart-size:18px}
.off-rip-embers svg:nth-child(3){--x:78px;--y:22px;--r:25deg;--heart-size:16px}
.off-rip-embers svg:nth-child(4){--x:-46px;--y:60px;--r:-62deg}
.off-rip-embers svg:nth-child(5){--x:15px;--y:83px;--r:12deg;--heart-size:13px}
.off-rip-embers svg:nth-child(6){--x:2px;--y:-90px;--r:-12deg}
@media(prefers-reduced-motion:no-preference) and (forced-colors:none){
 .off-rip-out{animation:off-rip-black 780ms ease both}
 .off-rip-recover{animation:off-rip-recover 760ms ease both}
 :is(.off-rip-out,.off-rip-recover) .off-rip-fragment{animation:off-shard-fly 560ms cubic-bezier(.24,.61,.22,1) both}
 :is(.off-rip-out,.off-rip-recover) .off-rip-heart{animation:off-heart-swell 700ms cubic-bezier(.22,.73,.22,1) both}
 :is(.off-rip-out,.off-rip-recover) .off-rip-embers svg{animation:off-heart-scatter 600ms ease-out both}
 .off-rip-in{background:#0b060e;animation:off-rip-lift 285ms ease-out both}
 .off-rip-in .off-rip-fragment,.off-rip-in .off-rip-heart,.off-rip-in .off-rip-embers{display:none}
}
@keyframes off-shard-fly{0%{transform:none;opacity:0}18%{opacity:1}100%{transform:translate(var(--cut-x),var(--cut-y)) rotate(var(--cut-z));opacity:.86}}
@keyframes off-heart-swell{0%,14%{transform:scale(.12);opacity:0}42%{transform:scale(1.08);opacity:1}56%{transform:scale(.98);opacity:1}84%{transform:scale(4.8);opacity:.95}100%{transform:scale(16);opacity:0}}
@keyframes off-heart-scatter{0%,15%{opacity:0;transform:scale(.12)}38%{opacity:.95}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(.64)}}
@keyframes off-rip-black{0%,62%{background:transparent}100%{background:#0b060e}}
@keyframes off-rip-recover{0%,55%{background:transparent}83%{background:#0b060e}100%{background:transparent}}
@keyframes off-rip-lift{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce),(forced-colors:active){.off-page-rip{display:none}}
