/**
 * @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: #428b00;
	--dnd-indicator: #cc1729;
	--idle-indicator: #a78300;
	--streaming-indicator: #825dc0;

	/* Accent colors - using base0D (Blue) for a clean feel */
	--accent-1: #006dce;
	--accent-2: #006dce;
	--accent-3: #006dce;
	--accent-4: #00978a;
	--accent-5: #428b00;
	--mention:  rgba(167, 131, 0, 0.1); 
	--mention-hover: rgba(167, 131, 0, 0.15);

	/* Text colors - bumping importance to base06/05 */
	--text-0: #fbf3db;
	--text-1: #3a4d53;
	--text-2: #3a4d53;
	--text-3: #53676d;
	--text-4: #909995;
	--text-5: #909995;

	/* --- THE BACKGROUND OVERHAUL --- */
	/* We use base00 as the "Deep" master background and base01/02 for floating panels */
	--bg-4: #fbf3db;                 /* Master background (Deepest) */
	--bg-3: #ece3cc;                 /* Secondary background */
	--bg-2: #d5cdb6;                 /* Buttons and UI elements */
	--bg-1: #909995;                 /* Active/Clicked states */
	
	--hover: rgba(83, 103, 109, 0.05);
	--active: rgba(83, 103, 109, 0.1);
	--message-hover: rgba(83, 103, 109, 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: #fbf3db !important;
  background: #006dce !important;
}
