
/* System24 (and Matrix, Amber, Glacier) use one colour family, the accent: the fixed greens, blues and yellows that were left
   (Voice Connected, speaking rings, streaming button, call timer, notice dots, toasts, the in-voice badge, Edit Profile,
   Add Friend, the owner tag) follow the accent. Red stays only for leaving, deleting and LIVE. */
:root[data-theme="system24"] { --green: var(--accent); --yellow: var(--accent); }
:root[data-theme="system24"] .voice-connected-dock .voice-status-title, :root[data-theme="system24"] #voice-connected-dock .voice-status-title { color: var(--accent) !important; }
:root[data-theme="system24"] :is(.msub-vc, .msub-vc.scr svg, #tab-friends-add, .channel-item .vc-time) { color: var(--accent) !important; }
:root[data-theme="system24"] :is(.user-avatar.speaking, .tile.speaking .user-avatar, .voice-member-subitem.speaking .user-avatar) { box-shadow: 0 0 0 2px var(--bg-1), 0 0 0 4px var(--accent) !important; }
:root[data-theme="system24"] :is(.tile.speaking, #voice-call-screen .tile.speaking) { border-color: transparent !important; box-shadow: inset 0 0 0 2px var(--accent), 0 0 18px color-mix(in srgb, var(--accent) 30%, transparent) !important; }
:root[data-theme="system24"] :is(.tile.speaking .tile-av.hd .user-avatar, #voice-call-screen .tile.speaking .tile-av.hd .user-avatar) { box-shadow: 0 0 0 calc(3px / var(--avs, .32)) var(--bg-0), 0 0 0 calc(7px / var(--avs, .32)) var(--accent) !important; }
:root[data-theme="system24"] :is(#call-btn-screen.active, #call-btn-screen.stream-stop, #tile-screen.active, #voice-call-screen .vc-group #call-btn-screen.active) { background: var(--accent) !important; color: var(--on-accent, #fff) !important; }
:root[data-theme="system24"] :is(#call-btn-screen.active, #tile-screen.active):hover { background: var(--accent) !important; filter: brightness(.9); }
:root[data-theme="system24"] .rail-voice { background: var(--accent) !important; color: var(--on-accent, #fff) !important; }
:root[data-theme="system24"] #toast-container .toast-ic { background: color-mix(in srgb, var(--accent) 16%, transparent) !important; color: var(--accent) !important; }
:root[data-theme="system24"] #toast-container .toast-bar { background: var(--accent) !important; }
:root[data-theme="system24"] :is(#mail-bar, #reconnect-bar)::before { background: var(--accent) !important; }
:root[data-theme="system24"] .btn-success { background: color-mix(in srgb, var(--accent) 14%, transparent) !important; border-color: var(--accent) !important; color: var(--accent) !important; }
:root[data-theme="system24"] .btn-success:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 24%, transparent) !important; }
:root[data-theme="system24"] :is(.vc-in-voice, .in-voice) { color: var(--accent) !important; }
:root[data-theme="system24"] .owner-tag { color: var(--accent) !important; background: color-mix(in srgb, var(--accent) 14%, transparent) !important; border-color: color-mix(in srgb, var(--accent) 40%, transparent) !important; }
