/**
 * @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: #79740e;
	--dnd-indicator: #9d0006;
	--idle-indicator: #b57614;
	--streaming-indicator: #8f3f71;

	/* Accent colors - using base0D (Blue) for a clean feel */
	--accent-1: #076678;
	--accent-2: #076678;
	--accent-3: #076678;
	--accent-4: #427b58;
	--accent-5: #79740e;
	--mention:  rgba(181, 118, 20, 0.1); 
	--mention-hover: rgba(181, 118, 20, 0.15);

	/* Text colors - bumping importance to base06/05 */
	--text-0: #f9f5d7;
	--text-1: #3c3836;
	--text-2: #3c3836;
	--text-3: #504945;
	--text-4: #665c54;
	--text-5: #bdae93;

	/* --- THE BACKGROUND OVERHAUL --- */
	/* We use base00 as the "Deep" master background and base01/02 for floating panels */
	--bg-4: #f9f5d7;                 /* Master background (Deepest) */
	--bg-3: #ebdbb2;                 /* Secondary background */
	--bg-2: #d5c4a1;                 /* Buttons and UI elements */
	--bg-1: #bdae93;                 /* Active/Clicked states */
	
	--hover: rgba(80, 73, 69, 0.05);
	--active: rgba(80, 73, 69, 0.1);
	--message-hover: rgba(80, 73, 69, 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: #f9f5d7 !important;
  background: #076678 !important;
}
