/**
 * @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: #28a745;
	--dnd-indicator: #d73a49;
	--idle-indicator: #ffd33d;
	--streaming-indicator: #ea4aaa;

	/* Accent colors - using base0D (Blue) for a clean feel */
	--accent-1: #0366d6;
	--accent-2: #0366d6;
	--accent-3: #0366d6;
	--accent-4: #79b8ff;
	--accent-5: #28a745;
	--mention:  rgba(255, 211, 61, 0.1); 
	--mention-hover: rgba(255, 211, 61, 0.15);

	/* Text colors - bumping importance to base06/05 */
	--text-0: #fafbfc;
	--text-1: #24292e;
	--text-2: #24292e;
	--text-3: #2f363d;
	--text-4: #444d56;
	--text-5: #959da5;

	/* --- THE BACKGROUND OVERHAUL --- */
	/* We use base00 as the "Deep" master background and base01/02 for floating panels */
	--bg-4: #fafbfc;                 /* Master background (Deepest) */
	--bg-3: #e1e4e8;                 /* Secondary background */
	--bg-2: #d1d5da;                 /* Buttons and UI elements */
	--bg-1: #959da5;                 /* Active/Clicked states */
	
	--hover: rgba(47, 54, 61, 0.05);
	--active: rgba(47, 54, 61, 0.1);
	--message-hover: rgba(47, 54, 61, 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: #fafbfc !important;
  background: #0366d6 !important;
}
