.nt-hosting-performance-wrap {
	display: contents;
}

@property --nt-hosting-performance-score {
	syntax: "<percentage>";
	inherits: false;
	initial-value: 0%;
}

.nt-hosting-performance {
	--nt-hp-accent: #0b62c4;
	--nt-hp-accent-dark: #0a4f9c;
	--nt-hp-accent-bright: #2563eb;
	--nt-hp-ink: #1e293b;
	--nt-hp-muted: #8da0ba;
	--nt-hp-soft: #f4f9ff;
	box-sizing: border-box;
	float: left;
	width: min(44%, 400px);
	min-width: 320px;
	margin: 0.50rem 1.8rem 1.35rem 0;
	padding: 30px 28px 10px;
	border: 1px solid rgba(171, 203, 238, 0.42);
	border-radius: 28px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.96) 58%, rgba(235, 245, 255, 0.88) 100%);
	box-shadow: 0 15px 50px rgba(30, 80, 160, 0.08), 0 2px 8px rgba(30, 80, 160, 0.04);
	color: var(--nt-hp-ink);
	direction: rtl;
	text-align: center;
}

.nt-hosting-performance,
.nt-hosting-performance * {
	box-sizing: border-box;
}

.nt-hosting-performance--align-left {
	float: left;
	margin: 0.50rem 1.8rem 1.35rem 0;
}

.nt-hosting-performance--align-right {
	float: right;
	margin: 0.50rem 0 1.35rem 1.8rem;
}

.nt-hosting-performance--align-center {
	float: none;
	clear: both;
	width: min(100%, 400px);
	margin: 1.35rem auto;
}

.nt-hosting-performance__title {
	margin: 0 0 8px;
	color: var(--nt-hp-ink);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.35;
}

.nt-hosting-performance__subtitle {
	margin: 0 0 32px;
	color: var(--nt-hp-muted);
	font-size: 14px;
	line-height: 1.65;
}

.nt-hosting-performance__rating {
	display: flex;
	justify-content: center;
	margin-bottom: 34px;
}

.nt-hosting-performance__ring {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: center;
	width: 185px;
	height: 185px;
	border-radius: 50%;
	background: conic-gradient(var(--nt-hp-accent-bright) 0 var(--nt-hosting-performance-score, 98%), #e8f0fb var(--nt-hosting-performance-score, 98%) 100%);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55), 0 12px 26px rgba(37, 99, 235, 0.10);
	transition: --nt-hosting-performance-score 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.nt-hosting-performance__ring.is-ready .nt-hosting-performance__ring-inner {
	transform: scale(0.96);
	transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.nt-hosting-performance__ring-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 158px;
	height: 158px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
}

.nt-hosting-performance__ring.is-visible .nt-hosting-performance__ring-inner {
	transform: scale(1);
}

.nt-hosting-performance__label {
	color: var(--nt-hp-muted);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
}

.nt-hosting-performance__score {
	margin: 4px 0;
	color: var(--nt-hp-ink);
	font-size: 52px;
	font-weight: 900;
	line-height: 1;
}

.nt-hosting-performance__ring.is-visible .nt-hosting-performance__score,
.nt-hosting-performance.is-visible .nt-hosting-performance__stat-value {
	animation: nt-hosting-performance-number-pop 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nt-hosting-performance__status {
	color: var(--nt-hp-accent-bright);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
}

.nt-hosting-performance__stars {
	display: inline-flex;
	gap: 2px;
	margin-top: 4px;
	color: #f5a524;
	font-size: 13px;
	line-height: 1;
}

.nt-hosting-performance__stars span {
	display: inline-block;
	opacity: 1;
	transform: none;
}

.nt-hosting-performance__ring.is-ready .nt-hosting-performance__stars span {
	opacity: 0;
	transform: translateY(6px) scale(0.76);
}

.nt-hosting-performance__ring.is-visible .nt-hosting-performance__stars span {
	animation: nt-hosting-performance-star-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.nt-hosting-performance__ring.is-visible .nt-hosting-performance__stars span:nth-child(2) {
	animation-delay: 0.08s;
}

.nt-hosting-performance__ring.is-visible .nt-hosting-performance__stars span:nth-child(3) {
	animation-delay: 0.16s;
}

.nt-hosting-performance__ring.is-visible .nt-hosting-performance__stars span:nth-child(4) {
	animation-delay: 0.24s;
}

.nt-hosting-performance__ring.is-visible .nt-hosting-performance__stars span:nth-child(5) {
	animation-delay: 0.32s;
}

.nt-hosting-performance__stars .is-empty {
	color: #d7e2f0;
}

.nt-hosting-performance__numbers {
	display: flex;
	margin-bottom: 34px;
}

.nt-hosting-performance__stat {
	display: flex;
	justify-content: center;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.nt-hosting-performance__stat--speed {
	border-left: 1px solid rgba(171, 203, 238, 0.34);
}

.nt-hosting-performance__stat-label {
	margin-bottom: 4px;
	color: #475569;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.nt-hosting-performance__stat-value {
	color: var(--nt-hp-accent-bright);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.nt-hosting-performance.is-visible .nt-hosting-performance__stat:nth-child(2) .nt-hosting-performance__stat-value {
	animation-delay: 0.12s;
}

.nt-hosting-performance__stat-sub {
	margin-top: 2px;
	color: var(--nt-hp-muted);
	font-size: 11px;
	line-height: 1.4;
}

.nt-hosting-performance__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.38rem;
	width: 100%;
	min-height: 52px;
	padding: 0.8rem 1.4rem;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--nt-hp-accent), var(--nt-hp-accent-dark));
	box-shadow: 0 5px 12px rgba(11, 98, 196, 0.12);
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none !important;
	transition: box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.nt-hosting-performance__button:hover,
.nt-hosting-performance__button:focus {
	background: linear-gradient(160deg, #1565c0 0%, #1e88e5 100%);
	box-shadow: 0 7px 14px rgba(11, 98, 196, 0.16);
	color: #ffffff !important;
	filter: saturate(1.05);
}

.nt-hosting-performance__footer-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin-top: 20px;
	color: var(--nt-hp-accent-bright);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.nt-hosting-performance__footer-link:hover,
.nt-hosting-performance__footer-link:focus {
	color: var(--nt-hp-accent-dark);
}

@keyframes nt-hosting-performance-number-pop {
	0% {
		opacity: 0.45;
		transform: translateY(8px) scale(0.94);
	}

	60% {
		opacity: 1;
		transform: translateY(-2px) scale(1.035);
	}

	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes nt-hosting-performance-star-in {
	0% {
		opacity: 0;
		transform: translateY(6px) scale(0.76) rotate(-10deg);
	}

	70% {
		opacity: 1;
		transform: translateY(-2px) scale(1.16) rotate(4deg);
	}

	100% {
		opacity: 1;
		transform: translateY(0) scale(1) rotate(0deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.nt-hosting-performance__ring,
	.nt-hosting-performance__ring-inner,
	.nt-hosting-performance__ring.is-visible .nt-hosting-performance__score,
	.nt-hosting-performance.is-visible .nt-hosting-performance__stat-value,
	.nt-hosting-performance__ring.is-visible .nt-hosting-performance__stars span {
		animation: none;
		transition: none;
		transform: none;
	}

	.nt-hosting-performance__stars span {
		opacity: 1;
	}
}

@media (max-width: 900px) {
	.nt-hosting-performance,
	.nt-hosting-performance--align-left,
	.nt-hosting-performance--align-right,
	.nt-hosting-performance--align-center {
		float: none;
		width: 100%;
		min-width: 0;
		margin: 1.35rem 0 1.75rem;
		clear: none;
	}
}

@media (max-width: 480px) {
	.nt-hosting-performance {
		padding: 30px 20px;
		border-radius: 24px;
	}

	.nt-hosting-performance__score {
		font-size: 45px;
	}

	.nt-hosting-performance__numbers {
		gap: 0;
	}
}
