/* Цвета — только карточка профиля */

.accent-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.edit-colors-hint {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--lumina-text-muted);
}

.accent-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border: 2px solid var(--lumina-border);
    border-radius: 12px;
    background: var(--lumina-bg-input);
    cursor: pointer;
    transition: border-color 0.15s, transform 0.1s;
}

.accent-swatch:hover {
    border-color: var(--lumina-border-strong);
}

.accent-swatch.selected {
    border-color: var(--lumina-accent);
    box-shadow: 0 0 0 1px var(--lumina-accent-border);
}

.accent-swatch-blob {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--swatch-b), var(--swatch-a) 70%);
    filter: blur(0.5px);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--swatch-a) 45%, transparent);
}

.accent-swatch-label {
    font-size: 11px;
    color: var(--lumina-text-muted);
}

.accent-swatch.selected .accent-swatch-label {
    color: var(--lumina-accent);
    font-weight: 600;
}

.lumina-modal--profile {
    position: relative;
    overflow: hidden;
}

.lumina-modal--profile::before {
    content: '';
    position: absolute;
    inset: -30% -15% auto;
    height: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(32px);
    opacity: 0;
    display: none;
}

.lumina-modal--profile[data-profile-accent="blue"]::before,
.lumina-modal--profile:not([data-profile-accent])::before {
    display: none;
}

.lumina-modal--profile[data-profile-accent="green"]::before {
    display: block;
    opacity: 0.85;
    background: radial-gradient(ellipse 90% 80% at 50% 0%, rgba(22, 163, 74, 0.42), transparent 70%);
}

.lumina-modal--profile[data-profile-accent="purple"]::before {
    display: block;
    opacity: 0.85;
    background: radial-gradient(ellipse 90% 80% at 50% 0%, rgba(124, 58, 237, 0.42), transparent 70%);
}

.lumina-modal--profile[data-profile-accent="red"]::before {
    display: block;
    opacity: 0.85;
    background: radial-gradient(ellipse 90% 80% at 50% 0%, rgba(220, 38, 38, 0.4), transparent 70%);
}

.lumina-modal--profile[data-profile-accent="orange"]::before {
    display: block;
    opacity: 0.85;
    background: radial-gradient(ellipse 90% 80% at 50% 0%, rgba(234, 88, 12, 0.42), transparent 70%);
}

.lumina-modal--profile .lumina-modal-header,
.lumina-modal--profile .lumina-modal-body {
    position: relative;
    z-index: 1;
}

.profile-modal-avatar {
    background: linear-gradient(135deg, #0072ff, #6366f1) !important;
    box-shadow: 0 8px 24px rgba(0, 114, 255, 0.25);
}
