[data-shatter-title] {
    position: relative;
    width: fit-content;
    max-width: 100%;
}

.shatter-copy { display: block; }

.shatter-viewport {
    position: absolute;
    inset: -1.2em calc(-1 * var(--gutter));
    overflow: clip;
    pointer-events: none;
    user-select: none;
}

.shatter-fragments {
    position: absolute;
    inset: 1.2em var(--gutter);
}

.shatter-piece, .shatter-print {
    position: absolute;
    display: block;
}

.shatter-print { max-width: none; }
.shatter-piece[hidden] { display: none; }

@media (prefers-reduced-motion: reduce), (forced-colors: active) {
    .shatter-copy { clip-path: none !important; }
    .shatter-viewport { display: none; }
}
