/*
 * Links that went to the live Neurosurgery One site (src/lib/live-site-links.ts): they look
 * as they did, show they don't go anywhere, and say they once led somewhere
 * (live-site-links.js).
 * The theme styles `a` itself, not a:link, so losing the href changes nothing else.
 */
a[data-live-site-link] {
	cursor: not-allowed;
}

.port-live-site-tip {
	--port-tip-caret: 50%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2147483000;
	box-sizing: border-box;
	max-width: min(260px, calc(100vw - 16px));
	padding: 7px 11px;
	border-radius: 4px;
	background: #182e4f;
	color: #fff;
	font-family: 'Montserrat', Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	white-space: normal;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.15s ease, visibility 0s linear 0.15s;
}

.port-live-site-tip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: var(--port-tip-caret);
	margin-left: -5px;
	border: 5px solid transparent;
	border-top-color: #182e4f;
}

.port-live-site-tip--below::after {
	top: auto;
	bottom: 100%;
	border-top-color: transparent;
	border-bottom-color: #182e4f;
}

.port-live-site-tip--visible {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.15s ease, visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
	.port-live-site-tip,
	.port-live-site-tip--visible {
		transition: none;
	}
}
