/* Cercle de cartes rôle — arrière-plan pages déconnectées */
.guest-role-circle-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.guest-role-circle-bg img {
    position: absolute;
    left: calc(50% + var(--dx, 0vmin));
    top: calc(50% + var(--dy, 0vmin));
    width: var(--size, 56px);
    height: var(--size, 56px);
    object-fit: cover;
    border-radius: 10px;
    opacity: var(--opacity, 0.2);
    filter: blur(0.4px) saturate(0.9);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
    transition: opacity 0.4s ease;
}

body.has-guest-layout #main-content,
body.has-guest-layout .container,
body.guest-disconnected-bg #main-content,
body.guest-disconnected-bg .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .guest-role-circle-bg img {
        opacity: calc(var(--opacity, 0.2) * 0.75);
    }
}
