/**
 * @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: #489963;
	--dnd-indicator: #b16139;
	--idle-indicator: #a07e3b;
	--streaming-indicator: #55859b;

	/* Accent colors - using base0D (Blue) for a clean feel */
	--accent-1: #478c90;
	--accent-2: #478c90;
	--accent-3: #478c90;
	--accent-4: #1c9aa0;
	--accent-5: #489963;
	--mention:  rgba(160, 126, 59, 0.1); 
	--mention-hover: rgba(160, 126, 59, 0.15);

	/* Text colors - bumping importance to base06/05 */
	--text-0: #ecf4ee;
	--text-1: #232a25;
	--text-2: #232a25;
	--text-3: #526057;
	--text-4: #5f6d64;
	--text-5: #78877d;

	/* --- THE BACKGROUND OVERHAUL --- */
	/* We use base00 as the "Deep" master background and base01/02 for floating panels */
	--bg-4: #ecf4ee;                 /* Master background (Deepest) */
	--bg-3: #dfe7e2;                 /* Secondary background */
	--bg-2: #87928a;                 /* Buttons and UI elements */
	--bg-1: #78877d;                 /* Active/Clicked states */
	
	--hover: rgba(82, 96, 87, 0.05);
	--active: rgba(82, 96, 87, 0.1);
	--message-hover: rgba(82, 96, 87, 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: #ecf4ee !important;
  background: #478c90 !important;
}
