:where(.stc) {
    --stc-top: 2rem;
    --stc-offset: 12px;
    --stc-gap: 1.5rem;
    --stc-min: 20rem;
    --stc-bg: #fff;
    --stc-px: 0px;
    --stc-py: 0px;
    --stc-scale: 0;
    --stc-rot: 0deg;
    --stc-shrink: 0%;
    display: flex;
    flex-direction: column;
    gap: var(--stc-gap);
    width: 100%;
    min-width: 0;
}
.stc > * {
    --stc-i: 0;
    --stc-r: 0;
    --stc-s: 1;
    position: sticky;
    top: calc(var(--stc-top) + var(--stc-i) * var(--stc-offset));
    box-sizing: border-box;
    min-height: var(--stc-min);
}
:where(.stc) > * {
    background: var(--stc-bg);
    border: 1px solid #e4e4e2;
    border-radius: 0;
}
.stc > :nth-child(1) { --stc-i: 0; }
.stc > :nth-child(2) { --stc-i: 1; }
.stc > :nth-child(3) { --stc-i: 2; }
.stc > :nth-child(4) { --stc-i: 3; }
.stc > :nth-child(5) { --stc-i: 4; }
.stc > :nth-child(6) { --stc-i: 5; }
.stc > :nth-child(7) { --stc-i: 6; }
.stc > :nth-child(8) { --stc-i: 7; }
.stc > :nth-child(9) { --stc-i: 8; }
.stc > :nth-child(10) { --stc-i: 9; }
.stc > :nth-child(11) { --stc-i: 10; }
.stc > :nth-child(12) { --stc-i: 11; }

.stc[data-stc-pile] > * {
    transform-origin: 50% 0;
    margin-inline: auto;
    width: calc(100% - var(--stc-i) * var(--stc-shrink));
    transform: translate(
            calc(var(--stc-i) * var(--stc-px) * var(--stc-s)),
            calc(var(--stc-i) * var(--stc-py))
        )
        rotate(calc(var(--stc-i) * var(--stc-rot) * var(--stc-s)))
        scale(calc(1 - var(--stc-r) * var(--stc-scale)));
}
.stc[data-stc-alt] > :nth-child(even) {
    --stc-s: -1;
}
@media (max-width: 991px) {
    .stc[data-stc-desktop] > * {
        position: relative;
        top: auto;
        transform: none;
        width: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .stc > * {
        position: relative;
        top: auto;
    }
}
