/**
 * @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: #00c918;
	--dnd-indicator: #ff0086;
	--idle-indicator: #aba800;
	--streaming-indicator: #ad00a1;

	/* Accent colors - using base0D (Blue) for a clean feel */
	--accent-1: #3777e6;
	--accent-2: #3777e6;
	--accent-3: #3777e6;
	--accent-4: #1faaaa;
	--accent-5: #00c918;
	--mention:  rgba(171, 168, 0, 0.1); 
	--mention-hover: rgba(171, 168, 0, 0.15);

	/* Text colors - bumping importance to base06/05 */
	--text-0: #151515;
	--text-1: #e0e0e0;
	--text-2: #e0e0e0;
	--text-3: #d0d0d0;
	--text-4: #b0b0b0;
	--text-5: #505050;

	/* --- THE BACKGROUND OVERHAUL --- */
	/* We use base00 as the "Deep" master background and base01/02 for floating panels */
	--bg-4: #151515;                 /* Master background (Deepest) */
	--bg-3: #202020;                 /* Secondary background */
	--bg-2: #303030;                 /* Buttons and UI elements */
	--bg-1: #505050;                 /* Active/Clicked states */
	
	--hover: rgba(208, 208, 208, 0.05);
	--active: rgba(208, 208, 208, 0.1);
	--message-hover: rgba(208, 208, 208, 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: #151515 !important;
  background: #3777e6 !important;
}
