.dfx {
    --dfx-ink: var(--text);
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.dfx img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: grayscale(1);
    transition: opacity 0.4s ease;
}

.dfx img {
    opacity: 0;
}

.dfx-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

html:not([data-theme="dark"]) .dfx {
    --dfx-ink: #ffffff;
    border-radius: var(--radius-lg);
    background: #000000;
}