/**
 * [M45T3R5W4G3R] Anonymous / Masked Writer System Stylesheet
 * Dark Academia Venetian Silhouette & GM Audit Badges
 */

/* ==========================================================================
   1. Masked Avatar Silhouette
   ========================================================================== */
.m4_anon_avatar_wrap {
	display: inline-block;
	width: 100px;
	height: 100px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), inset 0 0 12px rgba(99, 102, 241, 0.25);
	border: 1.5px solid rgba(148, 163, 184, 0.35);
	background: radial-gradient(circle at center, #1e1b4b 0%, #090d16 100%);
	position: relative;
	transition: all 0.3s ease;
}

.m4_anon_avatar_wrap:hover {
	border-color: rgba(167, 139, 250, 0.6);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 14px rgba(129, 140, 248, 0.35);
}

.m4_anon_avatar_silhouette {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.m4_anon_mask_icon {
	font-size: 42px;
	color: #cbd5e1;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
	animation: m4_mask_pulse 4s ease-in-out infinite;
}

@keyframes m4_mask_pulse {
	0%, 100% {
		transform: scale(1);
		opacity: 0.9;
	}
	50% {
		transform: scale(1.06);
		opacity: 1;
		color: #e2e8f0;
	}
}

/* ==========================================================================
   2. Masked Badges & GM Supervisor Pills
   ========================================================================== */
.m4_anon_badge_container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin: 6px 0;
}

.m4_anon_badge {
	display: inline-block;
	padding: 3px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #e0e7ff;
	background: linear-gradient(135deg, rgba(67, 56, 202, 0.25) 0%, rgba(30, 27, 75, 0.4) 100%);
	border: 1px solid rgba(129, 140, 248, 0.35);
	border-radius: 12px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.m4_anon_supervisor_pill {
	display: inline-block;
	padding: 2px 8px;
	font-size: 10.5px;
	font-weight: 600;
	color: #fef08a;
	background: rgba(161, 98, 7, 0.2);
	border: 1px dashed rgba(234, 179, 8, 0.5);
	border-radius: 8px;
	margin-top: 2px;
}

.m4_anon_real_link {
	color: #fde047 !important;
	text-decoration: underline;
	font-weight: 700;
}

.m4_anon_real_link:hover {
	color: #ffffff !important;
}

/* ==========================================================================
   3. Editor Masked Post Options Box
   ========================================================================== */
#post_additional_options::after,
#post_settings::after,
ul.post_options::after {
	content: "";
	display: table;
	clear: both;
}

.m4_anon_editor_box {
	clear: both !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	float: none !important;
	margin: 16px 0 10px 0 !important;
	padding: 14px 18px !important;
	background: linear-gradient(135deg, rgba(30, 27, 75, 0.45) 0%, rgba(15, 23, 42, 0.7) 100%) !important;
	border: 1px solid rgba(129, 140, 248, 0.35) !important;
	border-radius: 8px !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
	position: relative !important;
	z-index: 5 !important;
}

.m4_anon_editor_toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.m4_anon_checkbox {
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: #6366f1;
}

.m4_anon_label_text {
	font-weight: 600;
	font-size: 13.5px;
	color: #e2e8f0;
}

.m4_anon_help_text {
	margin: 4px 0 10px 26px;
	font-size: 12px;
	color: #94a3b8;
}

.m4_anon_alias_input_row {
	margin-left: 26px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.m4_anon_alias_label {
	font-size: 12.5px;
	color: #cbd5e1;
}

.m4_anon_alias_input {
	padding: 6px 12px;
	background: rgba(15, 23, 42, 0.7);
	border: 1px solid rgba(148, 163, 184, 0.35);
	border-radius: 6px;
	color: #f8fafc;
	font-size: 13px;
	width: 250px;
	transition: border-color 0.2s ease;
}

.m4_anon_alias_input:focus {
	outline: none;
	border-color: #818cf8;
	box-shadow: 0 0 8px rgba(129, 140, 248, 0.3);
}
