/* =========================================================================
   Melissa Kampers Since Your Visit — the "New" badge.
   A quiet teal signal in the suite's console language: small, mono,
   never animated. The badge text carries the meaning; color only
   reinforces it.
   ========================================================================= */

.mksv-badge {
	--mksv-accent: #0b7b86;

	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	vertical-align: 0.18em;
	margin-right: 0.5rem;
	padding: 0.1rem 0.5rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.55rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--mksv-accent);
	white-space: nowrap;
}

[data-theme="dark"] .mksv-badge {
	--mksv-accent: #34d8c5;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .mksv-badge {
		--mksv-accent: #34d8c5;
	}
}

.mksv-badge__dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	flex-shrink: 0;
}

/* Inside links the badge keeps its own color, not the link styling. */
a .mksv-badge {
	text-decoration: none;
}

/* Screen-reader-only context. */
.mksv-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* The badge is informational, not decorative — but it has no place
   on paper, where "new" is meaningless. */
@media print {
	.mksv-badge {
		display: none;
	}
}
