/* ─────────────────────────────────────────────
   TeamSite — Teamliste Styles (scoped)
   Nur Roster + Member-Modal. Kein Full-Page-Reset —
   Layout/Tokens kommen von logs.css (bzw. Host-Seite).
   ───────────────────────────────────────────── */

/* ── Toolbar (Suche + Stats) ── */
.teamliste-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.teamliste-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 220px;
}

.teamliste-search-wrap > i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 1;
}

.teamliste-search-wrap .input-dark,
#teamlisteSearch {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.teamliste-search-wrap .input-dark:focus,
#teamlisteSearch:focus {
    border-color: rgba(157, 0, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(157, 0, 255, 0.12);
    outline: none;
}

.teamliste-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.teamliste-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 500;
}

.teamliste-stat-pill b {
    color: var(--text-main);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.teamliste-stat-pill i.text-purple {
    color: var(--accent-purple);
}

.teamliste-stat-pill i.text-cyan {
    color: var(--accent-cyan);
}

/* ── Dichte-Umschalter (Kompakt / Normal / Groß) ── */
.teamliste-density {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.teamliste-density-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    color: var(--text-muted);
    font-size: 0.78rem;
    opacity: 0.75;
}

.teamliste-density-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.teamliste-density-btn i {
    font-size: 0.72rem;
    opacity: 0.9;
}

.teamliste-density-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.teamliste-density-btn[aria-pressed="true"] {
    color: #fff;
    background: rgba(157, 0, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(157, 0, 255, 0.35);
}

.teamliste-density-btn:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 1px;
}

@media (max-width: 640px) {
    .teamliste-density-btn span {
        display: none;
    }

    .teamliste-density-btn {
        padding: 7px 9px;
    }
}

/* ── Rolle-Section ──
   Basis = „Groß“ (aktuelles Premium-Layout).
   data-density auf #teamlisteWrap steuert Normal/Kompakt. ── */
.team-role-section {
    margin-bottom: 28px;
    animation: teamlisteFadeIn 0.35s ease both;
}

.team-role-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    padding: 12px 18px;
    background: linear-gradient(
        105deg,
        color-mix(in srgb, var(--role-color, var(--accent-purple)) 12%, transparent),
        rgba(20, 20, 25, 0.55) 55%
    );
    border: 1px solid var(--border-color);
    border-radius: 12px;
    border-left: 4px solid var(--role-color, var(--accent-purple));
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.team-role-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--role-color, var(--accent-purple));
    flex-shrink: 0;
    box-shadow: 0 0 14px color-mix(in srgb, var(--role-color, var(--accent-purple)) 70%, transparent);
}

.team-role-name {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-main);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.team-role-count {
    background: color-mix(in srgb, var(--role-color, var(--accent-purple)) 16%, transparent);
    color: var(--role-color, var(--accent-purple));
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid color-mix(in srgb, var(--role-color, var(--accent-purple)) 28%, transparent);
    font-variant-numeric: tabular-nums;
}

.team-role-count.is-empty {
    opacity: 0.55;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-color);
}

.team-role-name.is-fallback {
    color: var(--text-muted);
    font-weight: 600;
    font-style: italic;
}

.teamliste-toolbar.glass-card:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#teamlisteContainer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .team-role-section,
    .team-member-card,
    .member-modal,
    .member-modal-overlay.visible,
    .timeline-entry {
        animation: none !important;
    }

    .team-member-card:hover {
        transform: none;
    }
}

/* ── Member Grid ── */
.team-member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.team-member-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-surface-glass, rgba(20, 20, 25, 0.7));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    animation: teamlisteFadeIn 0.4s ease both;
    overflow: hidden;
}

.team-member-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--role-color, var(--accent-purple));
    opacity: 0.55;
    transition: opacity 0.2s ease, width 0.2s ease;
}

.team-member-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--role-color, var(--accent-purple)) 45%, transparent);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    background: rgba(28, 28, 36, 0.85);
}

.team-member-card:hover::before {
    opacity: 1;
    width: 4px;
}

.team-member-card:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* Avatar-Wrapper: Status-Dot sitzt relativ zum Avatar */
.team-member-avatar-wrap {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.team-member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--role-color, var(--accent-purple)) 55%, rgba(255, 255, 255, 0.12));
    object-fit: cover;
    background: rgba(157, 0, 255, 0.08);
    display: block;
}

.team-member-status {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid var(--bg-surface, #141419);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.team-member-status.online {
    background: var(--accent-green, #2ecc71);
}

.team-member-status.idle {
    background: #f0c040;
}

.team-member-status.dnd {
    background: var(--accent-red, #eb455f);
}

.team-member-status.offline {
    background: #747f8d;
}

.team-member-info {
    min-width: 0;
    flex: 1;
}

.team-member-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.25;
}

.team-member-username {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-member-roblox {
    font-size: 0.72rem;
    color: var(--accent-cyan);
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.team-member-duty {
    font-size: 0.72rem;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #39ff14;
}
#teamlisteWrap[data-density="normal"] .team-member-duty {
    font-size: 0.66rem;
    margin-top: 2px;
}

/* ════════════════════════════════════════════════════════════
   DICHTE: NORMAL — etwas kompakter als Groß
   ════════════════════════════════════════════════════════════ */
#teamlisteWrap[data-density="normal"] .team-role-section {
    margin-bottom: 16px;
}

#teamlisteWrap[data-density="normal"] .team-role-header {
    gap: 10px;
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border-left-width: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

#teamlisteWrap[data-density="normal"] .team-role-dot {
    width: 9px;
    height: 9px;
    box-shadow: 0 0 8px color-mix(in srgb, var(--role-color, var(--accent-purple)) 60%, transparent);
}

#teamlisteWrap[data-density="normal"] .team-role-name {
    font-size: 0.95rem;
}

#teamlisteWrap[data-density="normal"] .team-role-count {
    padding: 3px 9px;
    font-size: 0.7rem;
}

#teamlisteWrap[data-density="normal"] .team-member-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 8px;
}

#teamlisteWrap[data-density="normal"] .team-member-card {
    gap: 10px;
    padding: 9px 11px;
    border-radius: 10px;
}

#teamlisteWrap[data-density="normal"] .team-member-card::before {
    width: 2px;
}

#teamlisteWrap[data-density="normal"] .team-member-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

#teamlisteWrap[data-density="normal"] .team-member-avatar-wrap {
    width: 36px;
    height: 36px;
}

#teamlisteWrap[data-density="normal"] .team-member-avatar {
    width: 36px;
    height: 36px;
    border-width: 1.5px;
}

#teamlisteWrap[data-density="normal"] .team-member-status {
    width: 10px;
    height: 10px;
    border-width: 1.5px;
}

#teamlisteWrap[data-density="normal"] .team-member-name {
    font-size: 0.86rem;
}

#teamlisteWrap[data-density="normal"] .team-member-username {
    font-size: 0.7rem;
    margin-top: 1px;
}

#teamlisteWrap[data-density="normal"] .team-member-roblox {
    font-size: 0.66rem;
    margin-top: 2px;
}

#teamlisteWrap[data-density="normal"] .team-role-empty {
    padding: 16px 12px;
    font-size: 0.8rem;
}

/* ════════════════════════════════════════════════════════════
   DICHTE: KOMPAKT — maximaler Überblick, wenig Scrollen
   ════════════════════════════════════════════════════════════ */
#teamlisteWrap[data-density="compact"] .team-role-section {
    margin-bottom: 10px;
}

#teamlisteWrap[data-density="compact"] .team-role-header {
    gap: 8px;
    margin-bottom: 5px;
    padding: 5px 10px;
    border-radius: 8px;
    border-left-width: 3px;
    box-shadow: none;
    background: color-mix(in srgb, var(--role-color, var(--accent-purple)) 8%, rgba(20, 20, 25, 0.65));
}

#teamlisteWrap[data-density="compact"] .team-role-dot {
    width: 7px;
    height: 7px;
    box-shadow: none;
}

#teamlisteWrap[data-density="compact"] .team-role-name {
    font-size: 0.84rem;
    font-weight: 700;
}

#teamlisteWrap[data-density="compact"] .team-role-count {
    padding: 2px 7px;
    font-size: 0.66rem;
}

#teamlisteWrap[data-density="compact"] .team-member-grid {
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 5px;
}

#teamlisteWrap[data-density="compact"] .team-member-card {
    gap: 8px;
    padding: 5px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#teamlisteWrap[data-density="compact"] .team-member-card::before {
    width: 2px;
    opacity: 0.7;
}

#teamlisteWrap[data-density="compact"] .team-member-card:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
}

#teamlisteWrap[data-density="compact"] .team-member-avatar-wrap {
    width: 26px;
    height: 26px;
}

#teamlisteWrap[data-density="compact"] .team-member-avatar {
    width: 26px;
    height: 26px;
    border-width: 1px;
}

#teamlisteWrap[data-density="compact"] .team-member-status {
    width: 8px;
    height: 8px;
    border-width: 1.5px;
    right: -1px;
    bottom: -1px;
}

#teamlisteWrap[data-density="compact"] .team-member-name {
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.2;
}

/* Username + Roblox in Kompakt ausblenden → nur Name auf einen Blick */
#teamlisteWrap[data-density="compact"] .team-member-username,
#teamlisteWrap[data-density="compact"] .team-member-roblox {
    display: none;
}

#teamlisteWrap[data-density="compact"] .team-role-empty {
    padding: 10px 8px;
    font-size: 0.75rem;
    border-radius: 8px;
}

#teamlisteWrap[data-density="compact"] .teamliste-toolbar {
    padding: 10px 14px;
    margin-bottom: 12px;
    gap: 10px;
}

/* Toolbar-Stats etwas kleiner in Kompakt */
#teamlisteWrap[data-density="compact"] .teamliste-stat-pill {
    padding: 5px 10px;
    font-size: 0.78rem;
}

@supports not (background: color-mix(in srgb, red 50%, blue)) {
    #teamlisteWrap[data-density="compact"] .team-role-header {
        background: rgba(20, 20, 25, 0.65);
    }
}

.team-member-roblox i {
    opacity: 0.85;
    font-size: 0.7rem;
}

.team-role-empty {
    grid-column: 1 / -1;
    padding: 28px 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
}

.teamliste-empty,
.teamliste-loading,
.teamliste-error {
    text-align: center;
    padding: 56px 24px;
    color: var(--text-muted);
}

.teamliste-empty i,
.teamliste-loading i,
.teamliste-error i {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
    opacity: 0.55;
}

.teamliste-error {
    color: var(--accent-red);
}

.teamliste-empty code {
    font-size: 0.85em;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}

@keyframes teamlisteFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════════════════════════════════════════════════════════════
   VORKURS-PANEL / ROLLEN-HISTORIE MODAL
   ════════════════════════════════════════════════════════════ */
.member-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
}

.member-modal-overlay.visible {
    display: flex;
    animation: teamlisteModalFade 0.2s ease;
}

@keyframes teamlisteModalFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.member-modal {
    position: relative;
    width: min(640px, 100%);
    max-height: 86vh;
    background: var(--bg-surface, #141419);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: teamlisteModalIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes teamlisteModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.member-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.25s;
}

.member-modal-close:hover {
    background: rgba(235, 69, 95, 0.25);
    color: #fff;
    transform: rotate(90deg) scale(1.05);
}

.member-modal-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.member-focus-header {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    padding-right: 36px;
}

.member-focus-header img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    object-fit: cover;
    flex-shrink: 0;
}

.member-focus-header .name-block {
    flex: 1;
    min-width: 0;
}

.member-focus-header h2 {
    margin: 0;
    font-size: 1.45rem;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-focus-header p {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-focus-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ── Timeline ── */
.history-timeline-title {
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.history-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 28px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-purple), var(--accent-cyan));
    opacity: 0.4;
}

.timeline-entry {
    position: relative;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    animation: teamlisteFadeIn 0.35s ease both;
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 18px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-purple);
    border: 3px solid var(--bg-surface, #141419);
    box-shadow: 0 0 10px rgba(157, 0, 255, 0.4);
}

.timeline-entry.uprank::before {
    background: var(--accent-green, #2ecc71);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.45);
}

.timeline-entry.downrank::before {
    background: var(--accent-red, #eb455f);
    box-shadow: 0 0 10px rgba(235, 69, 95, 0.45);
}

.timeline-entry.teamjoin::before {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.45);
}

.timeline-entry.teamleave::before,
.timeline-entry.teamkick::before {
    background: #747f8d;
}

.timeline-entry-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.timeline-action-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 0.74rem;
    font-weight: 700;
    background: rgba(157, 0, 255, 0.15);
    color: var(--accent-purple);
}

.timeline-entry.uprank .timeline-action-badge {
    background: rgba(46, 204, 113, 0.15);
    color: var(--accent-green, #2ecc71);
}

.timeline-entry.downrank .timeline-action-badge {
    background: rgba(235, 69, 95, 0.15);
    color: var(--accent-red, #eb455f);
}

.timeline-entry.teamjoin .timeline-action-badge {
    background: rgba(0, 229, 255, 0.15);
    color: var(--accent-cyan);
}

.timeline-time {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-left: auto;
}

.timeline-roles {
    font-size: 0.88rem;
    color: var(--text-main);
    margin: 4px 0;
    line-height: 1.45;
}

.timeline-role-removed {
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(235, 69, 95, 0.5);
}

.timeline-role-added {
    color: var(--accent-green, #2ecc71);
    font-weight: 600;
}

.timeline-arrow {
    color: var(--text-muted);
    margin: 0 6px;
}

.timeline-executor {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.timeline-executor b {
    color: var(--accent-cyan);
    font-weight: 600;
}

.timeline-reason {
    margin-top: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid var(--accent-purple);
    border-radius: 6px;
    font-size: 0.84rem;
    color: var(--text-main);
    line-height: 1.4;
}

.timeline-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 30px 16px;
}

/* ── Responsive ── */
@media (max-width: 750px) {
    .team-member-grid {
        grid-template-columns: 1fr;
    }

    .teamliste-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .teamliste-stats {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .member-modal {
        width: 95%;
        margin: 10px auto;
        max-height: 90vh;
    }

    .member-modal-content {
        padding: 22px 18px;
    }

    .member-focus-header {
        gap: 14px;
    }

    .member-focus-header img {
        width: 64px;
        height: 64px;
    }

    .member-focus-header h2 {
        font-size: 1.2rem;
    }
}

/* Fallback wenn color-mix nicht unterstützt wird */
@supports not (background: color-mix(in srgb, red 50%, blue)) {
    .team-role-header {
        background: var(--bg-surface-glass, rgba(20, 20, 25, 0.7));
    }

    .team-member-card:hover {
        border-color: rgba(157, 0, 255, 0.45);
    }

    .team-member-avatar {
        border-color: rgba(157, 0, 255, 0.35);
    }

    .team-role-dot {
        box-shadow: 0 0 12px var(--role-color, var(--accent-purple));
    }
}
