/**
 * @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: #0c680c;
	--dnd-indicator: #ac1f35;
	--idle-indicator: #645a00;
	--streaming-indicator: #6645c2;

	/* Accent colors - using base0D (Blue) for a clean feel */
	--accent-1: #0158ad;
	--accent-2: #0158ad;
	--accent-3: #0158ad;
	--accent-4: #01716f;
	--accent-5: #0c680c;
	--mention:  rgba(100, 90, 0, 0.1); 
	--mention-hover: rgba(100, 90, 0, 0.15);

	/* Text colors - bumping importance to base06/05 */
	--text-0: #fdf9f5;
	--text-1: #181818;
	--text-2: #181818;
	--text-3: #292929;
	--text-4: #404040;
	--text-5: #5a5a5a;

	/* --- THE BACKGROUND OVERHAUL --- */
	/* We use base00 as the "Deep" master background and base01/02 for floating panels */
	--bg-4: #fdf9f5;                 /* Master background (Deepest) */
	--bg-3: #f9f5f1;                 /* Secondary background */
	--bg-2: #ffeada;                 /* Buttons and UI elements */
	--bg-1: #5a5a5a;                 /* Active/Clicked states */
	
	--hover: rgba(41, 41, 41, 0.05);
	--active: rgba(41, 41, 41, 0.1);
	--message-hover: rgba(41, 41, 41, 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: #fdf9f5 !important;
  background: #0158ad !important;
}
