/*
 * host-signs (.hd-hsg): section hts1 «نشانه‌های هاست کوچک» of the whole page
 * of /host/high-traffic/ on the page «کل صفحه» of the canvas «هاست سی پنل
 * پربازدید · طرح‌ها», which the owner approved on 2026-11-14 («بله، بساز»).
 * Under the theme's title and its lead: four cards of the signs a site has
 * outgrown its host, each a small picture over its number, its title and its
 * text; under them a white box of the move with a yellow edge, its icon, its
 * title, its text and the theme's two buttons. Below 1140px the buttons go
 * under the text, below 992px the cards two by two, below 576px one under the
 * other with the picture beside the text and the buttons full width.
 *
 * Each picture is a box of 16:10 (its own size container): its pieces are
 * sized in cqw of it, so they scale with the card. Motion: transform and
 * opacity only, paused off screen ([data-hd].is-off, base.css), none with less
 * motion, which leaves the still pose: the first request at the 508 page, the
 * bar a third of the way, the clock's hand on its hour, the memory bar full,
 * the first order over the cart.
 */

.hd-hsg {
	padding-block: 4.29rem;
}

/* A title on two lines (phones) leaves no word alone on the second. */
.hd-hsg .step-title h2,
.hd-hsg .step-title h1 {
	font-size: 2.14rem;
	font-weight: 900;
	text-wrap: balance;
}

.hd-hsg .hd-lead {
	max-width: 64rem;
	margin-bottom: 2.6rem;
}

@media (max-width: 575.98px) {
	.hd-hsg {
		padding-block: 3.43rem;
	}

	.hd-hsg .step-title h2,
	.hd-hsg .step-title h1 {
		font-size: 1.71rem;
	}

	.hd-hsg .hd-lead {
		text-align: start;
	}
}

.hd-hsg .hd-hsg-signs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.2rem;
}

.hd-hsg .hd-hsg-sg {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 1.57rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #DCE9F5, 0 1.2rem 2.4rem -1.8rem rgba(16, 63, 99, .3);
}

.hd-hsg .hd-hsg-pic {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16/10;
	container-type: inline-size;
	background: linear-gradient(180deg, #F5F9FE, #E7F0FA);
	border-bottom: 1px solid #DCE9F5;
	direction: ltr;
}

.hd-hsg .hd-hsg-sb {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas: "no st" "sp sp";
	align-items: center;
	column-gap: .6rem;
	row-gap: .5rem;
	padding: 1.1rem 1.2rem 1.3rem;
}

.hd-hsg .hd-hsg-no {
	grid-area: no;
	display: grid;
	place-items: center;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	background: #FFF3C4;
	color: #103F63;
	font-size: .86rem;
	font-weight: 900;
}

.hd-hsg .hd-hsg-st {
	grid-area: st;
	margin: 0;
	font-size: 1.07rem;
	line-height: 1.5;
	font-weight: 900;
	color: #103F63;
}

.hd-hsg .hd-hsg-sp {
	grid-area: sp;
	margin: 0;
	font-size: .93rem;
	line-height: 1.9;
	font-weight: 500;
	color: #2F5677;
	text-wrap: pretty;
}

.hd-hsg .hd-hsg-win {
	position: absolute;
	left: 12cqw;
	right: 12cqw;
	top: 12cqw;
	bottom: -4cqw;
	border-radius: 3cqw 3cqw 0 0;
	background: #FFFFFF;
	box-shadow: 0 2cqw 5cqw -2cqw rgba(16, 63, 99, .35), inset 0 0 0 1px #D3E2F1;
	overflow: hidden;
}

.hd-hsg .hd-hsg-wb {
	display: flex;
	align-items: center;
	gap: 1.4cqw;
	height: 8cqw;
	padding: 0 3cqw;
	border-bottom: 1px solid #E6EEF6;
}

.hd-hsg .hd-hsg-wb i {
	width: 2cqw;
	height: 2cqw;
	border-radius: 50%;
	background: #DCE7F2;
}

.hd-hsg .hd-hsg-wb i:first-child {
	background: #FF8A7A;
}

.hd-hsg .hd-hsg-wb i:nth-child(2) {
	background: #FFCC00;
}

.hd-hsg .hd-hsg-wb span {
	margin-left: auto;
	padding: .4cqw 2cqw;
	border-radius: 99px;
	background: #EDF6FD;
	color: #2F5677;
	font-size: 3.2cqw;
	font-weight: 700;
}

.hd-hsg .hd-hsg-wp {
	position: relative;
	height: calc(100% - 8cqw);
}

.hd-hsg .hd-hsg-code {
	position: absolute;
	left: 0;
	right: 0;
	top: 4cqw;
	text-align: center;
	font-size: 13cqw;
	line-height: 1;
	font-weight: 900;
	color: #E32636;
	letter-spacing: .04em;
}

.hd-hsg .hd-hsg-msg {
	position: absolute;
	left: 0;
	right: 0;
	top: 19.5cqw;
	text-align: center;
	font-size: 3.6cqw;
	font-weight: 800;
	color: #5B7690;
}

.hd-hsg .hd-hsg-rq {
	position: absolute;
	right: 3cqw;
	top: 50%;
	width: 3.4cqw;
	height: 3.4cqw;
	border-radius: 50%;
	background: #3D8BFF;
	transform: translate(0, var(--y));
	opacity: 0;
}

.hd-hsg .hd-hsg-rq:first-of-type {
	opacity: 1;
	transform: translate(-4cqw, var(--y));
}

.hd-hsg .hd-hsg-rq {
	animation: hd-hsg-rq 1.8s ease-in-out var(--d) infinite;
}

@keyframes hd-hsg-rq {
	0% {
		opacity: 0;
		transform: translate(4cqw, var(--y));
	}
	20% {
		opacity: 1;
	}
	45% {
		transform: translate(-6cqw, var(--y));
	}
	70% {
		opacity: 1;
		transform: translate(1cqw, var(--y));
	}
	100% {
		opacity: 0;
		transform: translate(6cqw, var(--y));
	}
}

.hd-hsg .hd-hsg-code {
	animation: hd-hsg-code 1.8s ease-in-out infinite;
}

@keyframes hd-hsg-code {
	0%,100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.06);
	}
}

.hd-hsg .hd-hsg-load {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1.4cqw;
	background: #E6EEF6;
	overflow: hidden;
}

.hd-hsg .hd-hsg-load i {
	position: absolute;
	inset: 0;
	background: #0247AE;
	transform-origin: 0 50%;
	transform: scaleX(.35);
}

.hd-hsg .hd-hsg-load i {
	animation: hd-hsg-load 4s cubic-bezier(.2, .8, .3, 1) infinite;
}

@keyframes hd-hsg-load {
	0% {
		transform: scaleX(.04);
		opacity: 0;
	}
	6% {
		opacity: 1;
	}
	55% {
		transform: scaleX(.32);
	}
	85% {
		transform: scaleX(.38);
		opacity: 1;
	}
	100% {
		transform: scaleX(.38);
		opacity: 0;
	}
}

.hd-hsg .hd-hsg-spin {
	position: absolute;
	left: 50%;
	top: 7cqw;
	width: 9cqw;
	height: 9cqw;
	margin-left: -4.5cqw;
	border-radius: 50%;
	border: 1.4cqw solid #DCE7F2;
	border-top-color: #0247AE;
}

.hd-hsg .hd-hsg-spin {
	animation: hd-hsg-spin 1.1s linear infinite;
}

@keyframes hd-hsg-spin {
	to {
		transform: rotate(360deg);
	}
}

.hd-hsg .hd-hsg-sk {
	position: absolute;
	left: 10cqw;
	height: 2.4cqw;
	border-radius: 99px;
	background: #E6EEF6;
}

.hd-hsg .hd-hsg-sk1 {
	top: 20cqw;
	right: 10cqw;
}

.hd-hsg .hd-hsg-sk2 {
	top: 25cqw;
	right: 24cqw;
}

.hd-hsg .hd-hsg-sk3 {
	top: 30cqw;
	right: 38cqw;
}

.hd-hsg .hd-hsg-clock {
	position: absolute;
	right: 4cqw;
	top: 4cqw;
	width: 13cqw;
	height: 13cqw;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1.2cqw #FFCC00, 0 1.4cqw 3cqw -1.4cqw rgba(16, 63, 99, .45);
}

.hd-hsg .hd-hsg-clock::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 50%;
	width: 1cqw;
	height: 3.6cqw;
	margin-left: -.5cqw;
	border-radius: 99px;
	background: #103F63;
}

.hd-hsg .hd-hsg-clock::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 2cqw;
	height: 2cqw;
	margin: -1cqw 0 0 -1cqw;
	border-radius: 50%;
	background: #103F63;
}

.hd-hsg .hd-hsg-clock i {
	position: absolute;
	left: 50%;
	top: 50%;
	width: .8cqw;
	height: 4.4cqw;
	margin-left: -.4cqw;
	border-radius: 99px;
	background: #E32636;
	transform-origin: 50% 0;
	transform: rotate(-120deg);
}

.hd-hsg .hd-hsg-clock i {
	animation: hd-hsg-hand 4s linear infinite;
}

@keyframes hd-hsg-hand {
	from {
		transform: rotate(-120deg);
	}
	to {
		transform: rotate(240deg);
	}
}

.hd-hsg .hd-hsg-srv {
	position: absolute;
	left: 12cqw;
	right: 12cqw;
	top: 9cqw;
	bottom: 9cqw;
	display: flex;
	flex-direction: column;
	gap: 2.6cqw;
	padding: 3.4cqw 4cqw;
	border-radius: 3cqw;
	background: linear-gradient(160deg, #164B74, #0B2F4D);
	box-shadow: 0 2.4cqw 5cqw -2.4cqw rgba(16, 63, 99, .6);
}

.hd-hsg .hd-hsg-srow {
	display: flex;
	align-items: center;
	gap: 2cqw;
}

.hd-hsg .hd-hsg-led {
	width: 2.6cqw;
	height: 2.6cqw;
	border-radius: 50%;
	background: #3DDC84;
}

.hd-hsg .hd-hsg-red {
	background: #FF5A5F;
}

.hd-hsg .hd-hsg-srow b {
	margin-left: auto;
	padding: .6cqw 2.4cqw;
	border-radius: 1.4cqw;
	background: #FFFFFF;
	color: #E32636;
	font-size: 5cqw;
	line-height: 1.2;
	font-weight: 900;
	letter-spacing: .04em;
}

.hd-hsg .hd-hsg-red {
	animation: hd-hsg-led 1s steps(2, jump-none) infinite;
}

@keyframes hd-hsg-led {
	0%,100% {
		transform: scale(1);
	}
	50% {
		transform: scale(.55);
	}
}

.hd-hsg .hd-hsg-mem {
	display: flex;
	align-items: center;
	gap: 2cqw;
}

.hd-hsg .hd-hsg-mem span {
	font-size: 3.4cqw;
	font-weight: 900;
	letter-spacing: .06em;
	color: #9FC3E8;
}

.hd-hsg .hd-hsg-bar {
	flex: 1;
	height: 3.6cqw;
	border-radius: 99px;
	background: #2B5F8E;
	overflow: hidden;
}

.hd-hsg .hd-hsg-bar i {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: #FF5A5F;
	transform-origin: 0 50%;
	transform: scaleX(1);
}

.hd-hsg .hd-hsg-bar i {
	animation: hd-hsg-bar 1.6s ease-in-out infinite;
}

@keyframes hd-hsg-bar {
	0%,100% {
		transform: scaleX(.94);
	}
	50% {
		transform: scaleX(1);
	}
}

.hd-hsg .hd-hsg-cells {
	display: flex;
	gap: 1.2cqw;
	margin-top: auto;
}

.hd-hsg .hd-hsg-cells i {
	flex: 1;
	height: 5cqw;
	border-radius: .8cqw;
	background: #FFCC00;
}

.hd-hsg .hd-hsg-cart {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 34cqw;
	height: 24cqw;
	transform: translate(-50%, -38%);
}

.hd-hsg .hd-hsg-ch {
	position: absolute;
	left: 0;
	top: 0;
	width: 8cqw;
	height: 1.8cqw;
	border-radius: 99px;
	background: #103F63;
}

.hd-hsg .hd-hsg-cb {
	position: absolute;
	left: 6cqw;
	right: 0;
	top: 3cqw;
	bottom: 6cqw;
	border-radius: 1.4cqw 1.4cqw 3cqw 3cqw;
	background: #0247AE;
	box-shadow: inset 0 -2cqw 0 #02388A;
}

.hd-hsg .hd-hsg-w1,
.hd-hsg .hd-hsg-w2 {
	position: absolute;
	bottom: 0;
	width: 5.4cqw;
	height: 5.4cqw;
	border-radius: 50%;
	background: #103F63;
	box-shadow: inset 0 0 0 1.4cqw #FFCC00;
}

.hd-hsg .hd-hsg-w1 {
	left: 10cqw;
}

.hd-hsg .hd-hsg-w2 {
	right: 4cqw;
}

.hd-hsg .hd-hsg-cnt {
	position: absolute;
	right: -3cqw;
	top: -2cqw;
	display: grid;
	place-items: center;
	min-width: 8cqw;
	height: 8cqw;
	padding: 0 1.4cqw;
	border-radius: 99px;
	background: #E32636;
	color: #FFFFFF;
	font-size: 4cqw;
	font-weight: 900;
	box-shadow: 0 0 0 1.2cqw #F5F9FE;
}

.hd-hsg .hd-hsg-cnt {
	animation: hd-hsg-cnt 1.8s ease-in-out infinite;
}

@keyframes hd-hsg-cnt {
	0%,100% {
		transform: scale(1);
	}
	15% {
		transform: scale(1.18);
	}
	30% {
		transform: scale(1);
	}
}

.hd-hsg .hd-hsg-pop {
	position: absolute;
	left: 50%;
	top: 10cqw;
	padding: .6cqw 2cqw;
	border-radius: 99px;
	background: #FFCC00;
	color: #103F63;
	font-size: 3.6cqw;
	font-weight: 900;
	transform: translate(calc(-50% + var(--x)), 0);
	opacity: 0;
	direction: ltr;
}

.hd-hsg .hd-hsg-pop:first-of-type {
	opacity: 1;
}

.hd-hsg .hd-hsg-pop {
	animation: hd-hsg-pop 1.8s ease-out var(--d) infinite;
}

@keyframes hd-hsg-pop {
	0% {
		opacity: 0;
		transform: translate(calc(-50% + var(--x)), 5cqw);
	}
	25% {
		opacity: 1;
	}
	75% {
		opacity: 1;
		transform: translate(calc(-50% + var(--x)), -3cqw);
	}
	100% {
		opacity: 0;
		transform: translate(calc(-50% + var(--x)), -5cqw);
	}
}

.hd-hsg .hd-hsg-tag {
	position: absolute;
	left: 5cqw;
	bottom: 5cqw;
	padding: .6cqw 2.2cqw;
	border-radius: 99px;
	background: #FFFFFF;
	color: #0247AE;
	font-size: 3.4cqw;
	font-weight: 900;
	box-shadow: inset 0 0 0 1px #C9DAEA;
}

.hd-hsg .hd-hsg-cta {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	margin-top: 1.6rem;
	padding: 1.3rem 1.6rem;
	border-radius: 1.57rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #DCE9F5, inset -.4rem 0 0 #FFCC00;
}

.hd-hsg .hd-hsg-cic {
	flex: none;
	display: grid;
	place-items: center;
	width: 3.4rem;
	height: 3.4rem;
	border-radius: 1rem;
	background: #FFCC00;
	color: #103F63;
}

.hd-hsg .hd-hsg-cic svg {
	width: 1.7rem;
	height: 1.7rem;
}

.hd-hsg .hd-hsg-ctx {
	flex: 1;
	min-width: 0;
}

.hd-hsg .hd-hsg-ctx b {
	display: block;
	font-size: 1.21rem;
	line-height: 1.5;
	font-weight: 900;
	color: #103F63;
}

.hd-hsg .hd-hsg-ctx p {
	margin: .2rem 0 0;
	font-size: .98rem;
	line-height: 1.9;
	font-weight: 500;
	color: #2F5677;
	text-wrap: pretty;
}

.hd-hsg .hd-hsg-acts {
	flex: none;
	flex-wrap: nowrap;
	margin: 0;
	gap: .7rem;
}

@media (max-width: 1139.98px) {
	.hd-hsg .hd-hsg-cta {
		flex-wrap: wrap;
	}
	.hd-hsg .hd-hsg-acts {
		width: 100%;
		justify-content: flex-start;
		padding-inline-start: 4.8rem;
	}
}

@media (max-width: 991.98px) {
	.hd-hsg .hd-hsg-signs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.hd-hsg .hd-hsg-signs {
		grid-template-columns: minmax(0, 1fr);
		gap: .8rem;
	}
	.hd-hsg .hd-hsg-sg {
		display: grid;
		grid-template-columns: 38% minmax(0, 1fr);
		align-items: center;
		background: linear-gradient(to left, #EEF4FB 38%, #FFFFFF 38%);
	}
	.hd-hsg .hd-hsg-pic {
		background: transparent;
		border-bottom: 0;
	}
	.hd-hsg .hd-hsg-sb {
		padding: .9rem 1rem;
	}
	.hd-hsg .hd-hsg-st {
		font-size: 1rem;
	}
	.hd-hsg .hd-hsg-sp {
		font-size: .88rem;
		line-height: 1.8;
	}
	.hd-hsg .hd-hsg-cta {
		flex-direction: column;
		align-items: stretch;
		text-align: start;
		padding: 1.2rem;
	}
	.hd-hsg .hd-hsg-acts {
		flex-direction: column;
		padding: 0;
	}
	.hd-hsg .hd-hsg-acts .button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hd-hsg *,
	.hd-hsg *::before,
	.hd-hsg *::after {
		animation: none !important;
	}
}
