.mmr-guard-modal {
	position: fixed;
	inset: 0;
	z-index: 12050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.mmr-guard-modal[hidden] {
	display: none !important;
}
.mmr-guard-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 6, 23, 0.72);
	backdrop-filter: blur(4px);
}
.mmr-guard-modal-dialog {
	position: relative;
	width: min(440px, 100%);
	border-radius: 20px;
	padding: 24px 22px 20px;
	background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(30, 16, 48, 0.96));
	border: 1px solid rgba(119, 225, 194, 0.28);
	box-shadow: 0 0 40px rgba(119, 225, 194, 0.12), 0 20px 50px rgba(0, 0, 0, 0.45);
	color: #e9eef6;
}
.mmr-guard-modal-glow {
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	background: radial-gradient(circle at 85% 10%, rgba(119, 225, 194, 0.18), transparent 55%);
	pointer-events: none;
}
.mmr-guard-modal-close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: none;
	background: transparent;
	color: rgba(226, 232, 240, 0.7);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}
.mmr-guard-modal-head {
	text-align: center;
	margin-bottom: 18px;
}
.mmr-guard-modal-badge {
	display: inline-flex;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: rgba(119, 225, 194, 0.12);
	border: 1px solid rgba(119, 225, 194, 0.35);
	color: #77e1c2;
}
.mmr-guard-modal-title {
	margin: 10px 0 6px;
	font-size: 1.35rem;
	font-weight: 900;
	color: #f8fafc;
}
.mmr-guard-modal-sub {
	margin: 0;
	font-size: 0.92rem;
	color: rgba(226, 232, 240, 0.78);
	line-height: 1.45;
}
.mmr-guard-modal-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 14px;
}
.mmr-guard-stat {
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.mmr-guard-stat-wide {
	grid-column: 1 / -1;
}
.mmr-guard-stat-label {
	display: block;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(226, 232, 240, 0.55);
	margin-bottom: 4px;
}
.mmr-guard-stat-value {
	font-size: 1.05rem;
	font-weight: 900;
	color: #fff;
}
.mmr-guard-modal-warning {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 0.9rem;
	line-height: 1.45;
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.28);
	color: #fecaca;
	text-align: center;
}
.mmr-guard-modal-actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}
.mmr-guard-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	padding: 10px 16px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 0.88rem;
	text-decoration: none;
	cursor: pointer;
	border: none;
}
.mmr-guard-btn-ghost {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #e2e8f0;
}
.mmr-guard-btn-primary {
	background: linear-gradient(135deg, #236b58, #77e1c2);
	color: #041b3a;
}
.mmr-guard-modal-dialog[data-tier="esmeralda"] {
	border-color: rgba(46, 204, 113, 0.32);
	box-shadow: 0 0 40px rgba(46, 204, 113, 0.12), 0 20px 50px rgba(0, 0, 0, 0.45);
}
.mmr-guard-modal-dialog[data-tier="esmeralda"] .mmr-guard-modal-badge {
	color: #2ecc71;
	background: rgba(46, 204, 113, 0.12);
	border-color: rgba(46, 204, 113, 0.35);
}
.mmr-guard-modal-dialog[data-tier="diamante"] {
	border-color: rgba(75, 179, 255, 0.32);
	box-shadow: 0 0 40px rgba(75, 179, 255, 0.12), 0 20px 50px rgba(0, 0, 0, 0.45);
}
.mmr-guard-modal-dialog[data-tier="diamante"] .mmr-guard-modal-badge {
	color: #4bb3ff;
	background: rgba(75, 179, 255, 0.12);
	border-color: rgba(75, 179, 255, 0.35);
}
.mmr-guard-modal-dialog[data-tier="maestro"] {
	border-color: rgba(182, 115, 255, 0.32);
	box-shadow: 0 0 40px rgba(182, 115, 255, 0.12), 0 20px 50px rgba(0, 0, 0, 0.45);
}
.mmr-guard-modal-dialog[data-tier="maestro"] .mmr-guard-modal-badge {
	color: #b673ff;
	background: rgba(182, 115, 255, 0.12);
	border-color: rgba(182, 115, 255, 0.35);
}
.mmr-guard-modal-dialog[data-tier="maestro"] .mmr-guard-btn-primary {
	background: linear-gradient(135deg, #4a2a7a, #b673ff);
	color: #fff;
}

.mmr-guard-progress {
	margin-top: 8px;
	height: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}
.mmr-guard-progress-bar {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, #236b58, #77e1c2);
	transition: width 0.35s ease;
}
.mmr-guard-modal-dialog.is-complete .mmr-guard-progress-bar {
	background: linear-gradient(90deg, #15803d, #4ade80);
}
.mmr-guard-modal-success {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 0.9rem;
	line-height: 1.45;
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(74, 222, 128, 0.35);
	color: #bbf7d0;
	text-align: center;
}
.mmr-guard-modal-dialog.is-complete {
	border-color: rgba(74, 222, 128, 0.4);
	box-shadow: 0 0 40px rgba(74, 222, 128, 0.14), 0 20px 50px rgba(0, 0, 0, 0.45);
}
.mmr-guard-modal-dialog.is-complete .mmr-guard-modal-badge {
	color: #4ade80;
	background: rgba(34, 197, 94, 0.14);
	border-color: rgba(74, 222, 128, 0.4);
}

/* Badge en namebar del perfil */
.sp-mmr-guard-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	border: 1px solid rgba(119, 225, 194, 0.35);
	background: rgba(119, 225, 194, 0.12);
	color: #77e1c2;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.sp-mmr-guard-badge:hover,
.sp-mmr-guard-badge:focus {
	transform: translateY(-1px);
	background: rgba(119, 225, 194, 0.2);
	outline: none;
}
.sp-mmr-guard-badge.is-pending {
	border-color: rgba(251, 191, 36, 0.4);
	background: rgba(251, 191, 36, 0.12);
	color: #fbbf24;
}
.sp-mmr-guard-badge.is-complete {
	border-color: rgba(74, 222, 128, 0.45);
	background: rgba(34, 197, 94, 0.14);
	color: #4ade80;
}
.sp-mmr-guard-badge[data-tier="esmeralda"].is-pending {
	border-color: rgba(46, 204, 113, 0.4);
	background: rgba(46, 204, 113, 0.12);
	color: #2ecc71;
}
.sp-mmr-guard-badge[data-tier="diamante"].is-pending {
	border-color: rgba(75, 179, 255, 0.4);
	background: rgba(75, 179, 255, 0.12);
	color: #4bb3ff;
}
.sp-mmr-guard-badge[data-tier="maestro"].is-pending {
	border-color: rgba(182, 115, 255, 0.4);
	background: rgba(182, 115, 255, 0.12);
	color: #b673ff;
}

/* Actividad reciente — penalización Guardia MMR */
.social-live-mmrguard-event {
	border-left: 3px solid rgba(239, 68, 68, 0.55);
}
.social-live-mmrguard-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 800;
	background: rgba(239, 68, 68, 0.14);
	border: 1px solid rgba(239, 68, 68, 0.28);
	color: #fca5a5;
}
.social-live-mmrguard-event .social-live-text {
	color: #fecaca;
}

/* Feed — aviso de penalización Guardia MMR */
.social-post-mmr-guard-alert {
	border-color: rgba(239, 68, 68, 0.28);
}
.social-mmr-guard-feed-box {
	background:
		radial-gradient(circle at 12% 20%, rgba(239, 68, 68, 0.18), transparent 42%),
		linear-gradient(135deg, rgba(40, 12, 16, 0.92), rgba(18, 10, 14, 0.96));
	border: 1px solid rgba(239, 68, 68, 0.28);
}
.social-mmr-guard-feed-icon {
	filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.35));
}
.social-mmr-guard-feed-title {
	color: #fecaca !important;
	letter-spacing: 0.02em;
}
.social-mmr-guard-feed-body {
	color: #f8fafc !important;
	font-size: 1.02rem;
	line-height: 1.45;
}
.social-mmr-guard-player {
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	border-bottom: 1px solid rgba(252, 165, 165, 0.45);
}
.social-mmr-guard-player:hover {
	color: #fecaca;
}
.social-mmr-guard-feed-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 10px 0 14px;
}
.social-mmr-guard-chip {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #e2e8f0;
}
.social-mmr-guard-chip-penalty {
	background: rgba(239, 68, 68, 0.16);
	border-color: rgba(239, 68, 68, 0.35);
	color: #fca5a5;
}
