/**
 * @name midnight-refined
 * @description A cleaner, higher-contrast version for Gruvbox/Tinty.
*/

@import url('https://refact0r.github.io/midnight-discord/build/midnight.css');

:root {
	--font: 'figtree';
	--corner-text: 'Midnight';

	/* Status indicators using standard Base16 accents */
	--online-indicator: #17ad98;
	--dnd-indicator: #d8137f;
	--idle-indicator: #dc8a0e;
	--streaming-indicator: #bb60ea;

	/* Accent colors - using base0D (Blue) for a clean feel */
	--accent-1: #796af5;
	--accent-2: #796af5;
	--accent-3: #796af5;
	--accent-4: #149bda;
	--accent-5: #17ad98;
	--mention:  rgba(220, 138, 14, 0.1); 
	--mention-hover: rgba(220, 138, 14, 0.15);

	/* Text colors - bumping importance to base06/05 */
	--text-0: #2e2a31;
	--text-1: #d8d7da;
	--text-2: #d8d7da;
	--text-3: #bcbabe;
	--text-4: #9f9da2;
	--text-5: #838085;

	/* --- THE BACKGROUND OVERHAUL --- */
	/* We use base00 as the "Deep" master background and base01/02 for floating panels */
	--bg-4: #2e2a31;                 /* Master background (Deepest) */
	--bg-3: #4a464d;                 /* Secondary background */
	--bg-2: #666369;                 /* Buttons and UI elements */
	--bg-1: #838085;                 /* Active/Clicked states */
	
	--hover: rgba(188, 186, 190, 0.05);
	--active: rgba(188, 186, 190, 0.1);
	--message-hover: rgba(188, 186, 190, 0.03);

	/* Spacing & Roundness */
	--spacing: 12px;
	--roundness-xl: 22px;
	--roundness-l: 20px;
	--roundness-m: 16px;
	--roundness-s: 12px;
	--roundness-xs: 10px;
	--roundness-xxs: 8px;

	--discord-icon: none;
	--moon-icon: block;
	--moon-icon-url: url('https://upload.wikimedia.org/wikipedia/commons/c/c4/Font_Awesome_5_solid_moon.svg');
	--moon-icon-size: auto;
}

/* Fix for selected text contrast */
.selected_f5eb4b,
.selected_f6f816 .link_d8bfb3 {
  color: #2e2a31 !important;
  background: #796af5 !important;
}
