/**
 * @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: #7c9f4b;
	--dnd-indicator: #db7070;
	--idle-indicator: #ebcc1a;
	--streaming-indicator: #b870ce;

	/* Accent colors - using base0D (Blue) for a clean feel */
	--accent-1: #6587bf;
	--accent-2: #6587bf;
	--accent-3: #6587bf;
	--accent-4: #509c93;
	--accent-5: #7c9f4b;
	--mention:  rgba(235, 204, 26, 0.1); 
	--mention-hover: rgba(235, 204, 26, 0.15);

	/* Text colors - bumping importance to base06/05 */
	--text-0: #fafafa;
	--text-1: #3a3a46;
	--text-2: #3a3a46;
	--text-3: #474752;
	--text-4: #5e646f;
	--text-5: #9197a1;

	/* --- THE BACKGROUND OVERHAUL --- */
	/* We use base00 as the "Deep" master background and base01/02 for floating panels */
	--bg-4: #fafafa;                 /* Master background (Deepest) */
	--bg-3: #e3e5e8;                 /* Secondary background */
	--bg-2: #acb1b9;                 /* Buttons and UI elements */
	--bg-1: #9197a1;                 /* Active/Clicked states */
	
	--hover: rgba(71, 71, 82, 0.05);
	--active: rgba(71, 71, 82, 0.1);
	--message-hover: rgba(71, 71, 82, 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: #fafafa !important;
  background: #6587bf !important;
}
