/* Shared exposure for the complete admin surface, including its controls. */
html { --panel-brightness: .90; filter:brightness(var(--panel-brightness)); }
/* Native modal dialogs paint above the root's filtering layer. */
dialog:modal { filter:brightness(var(--panel-brightness)); }
/* Shared login/panel artwork. Undistorted cover anchors the gold-lit right
   side on narrow screens; masks remain in source image coordinates. */
body.login-page::before, body.panel-redesign::before {
    content: none;
}
.branded-backdrop {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
    background: #0a1428;
}
.branded-backdrop svg {
    display: block;
    width: 100%;
    height: 100%;
}
.branded-backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #07132955, #07132935 35%, #07132940 72%, #07132975);
    pointer-events: none;
}
.art-glow {
    opacity: .2;
    filter: brightness(2.4) saturate(1.2);
}
@keyframes art-gold-breathe {
    0%, 100% { opacity: .05; }
    50% { opacity: .85; }
}
@keyframes art-cyan-breathe {
    0%, 100% { opacity: .08; }
    50% { opacity: .65; }
}
@media (prefers-reduced-motion: no-preference) {
    .art-glow-gold {
        animation: art-gold-breathe 8s ease-in-out infinite;
    }
    .art-glow-cyan {
        animation: art-cyan-breathe 10s ease-in-out -3s infinite;
    }
}
@media (prefers-reduced-motion: reduce) {
    .art-glow {
        animation: none;
        opacity: .2;
    }
}

.art-ray {opacity:.24;}
@media (prefers-reduced-motion:no-preference) {
    .art-ray-gold {animation:art-ray-drift 11s ease-in-out infinite alternate;}
    .art-ray-blue {animation:art-ray-drift 14s ease-in-out infinite alternate-reverse;}
}
@keyframes art-ray-drift {
    0% {transform:translateX(-30px);opacity:.14;}
    55% {opacity:.72;}
    100% {transform:translateX(32px);opacity:.38;}
}
