/** Page Transitions 1.4.1 | GPL-2.0-or-later */
.pt-overlay, .pt-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    background: var(--pt-color, #151525);
    pointer-events: none;
    background-image: var(--pt-image, none);
    background-size: var(--pt-image-size, 180px auto);
    background-position: var(--pt-image-position, center);
    background-repeat: no-repeat;
}
.pt-backdrop { z-index: -1; }
html.pt-active:not(.pt-content), html.pt-preparing:not(.pt-content) {
    background-color: var(--pt-color, #151525);
    background-image: none;
}
html.pt-preparing body { visibility: hidden; }
html.pt-active body { transform-origin: 50% 40%; }
.pt-stage {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    pointer-events: none;
    overflow: hidden;
    backface-visibility: hidden;
}
.pt-stage iframe {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    pointer-events: none;
    background: transparent;
}
/* Both layers contain exactly one visible viewport; the real long body stays in place. */
.pt-incoming {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    overflow: hidden;
    pointer-events: none;
    background: transparent;
    backface-visibility: hidden;
}
.pt-incoming iframe {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    pointer-events: none;
    background: transparent;
}
html.pt-viewport { overflow: hidden; }
html.pt-viewport body { visibility: hidden !important; }
html.pt-viewport .pt-stage { z-index: 2147483645; }
html.pt-viewport[data-pt-exit-effect="peel"] .pt-stage { z-index: 2147483647; }
.pt-layer-blend {
    position: absolute;
    inset: 0;
    background-color: var(--pt-color, #151525);
    background-image: var(--pt-image, none);
    background-size: var(--pt-image-size, 180px auto);
    background-position: var(--pt-image-position, center);
    background-repeat: no-repeat;
}
html.pt-paint-wait body { animation-play-state: paused !important; }
/* Custom CSS API: --pt-duration always contains the duration of the current phase. */
html.pt-exit[data-pt-effect="soft-blur"] body { animation: pt-blur-out var(--pt-duration, 180ms) ease both; }
html.pt-enter[data-pt-effect="soft-blur"] body { animation: pt-blur-in var(--pt-duration, 320ms) ease both; }
@keyframes pt-blur-out { from { opacity: 1; filter: blur(0); } to { opacity: 0; filter: blur(12px); } }
@keyframes pt-blur-in { from { opacity: 0; filter: blur(12px); } to { opacity: 1; filter: blur(0); } }
@media (prefers-reduced-motion: reduce) {
    .pt-overlay, .pt-stage, .pt-backdrop, .pt-incoming { display: none !important; }
    html.pt-preparing body, html.pt-viewport body { visibility: visible !important; }
    html.pt-active body { animation: none !important; transform: none !important; filter: none !important; opacity: 1 !important; }
}
