/**
 * @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: #8fc13e;
	--dnd-indicator: #dd464c;
	--idle-indicator: #fdcc59;
	--streaming-indicator: #c85e7c;

	/* Accent colors - using base0D (Blue) for a clean feel */
	--accent-1: #1290bf;
	--accent-2: #1290bf;
	--accent-3: #1290bf;
	--accent-4: #149b93;
	--accent-5: #8fc13e;
	--mention:  rgba(253, 204, 89, 0.1); 
	--mention-hover: rgba(253, 204, 89, 0.15);

	/* Text colors - bumping importance to base06/05 */
	--text-0: #322931;
	--text-1: #d5d3d5;
	--text-2: #d5d3d5;
	--text-3: #b9b5b8;
	--text-4: #989498;
	--text-5: #797379;

	/* --- THE BACKGROUND OVERHAUL --- */
	/* We use base00 as the "Deep" master background and base01/02 for floating panels */
	--bg-4: #322931;                 /* Master background (Deepest) */
	--bg-3: #433b42;                 /* Secondary background */
	--bg-2: #5c545b;                 /* Buttons and UI elements */
	--bg-1: #797379;                 /* Active/Clicked states */
	
	--hover: rgba(185, 181, 184, 0.05);
	--active: rgba(185, 181, 184, 0.1);
	--message-hover: rgba(185, 181, 184, 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: #322931 !important;
  background: #1290bf !important;
}
