/*
 * host-resources (.hd-hrs): design htr1 «چرخه‌ی یک بازدید» of the page «منابع»
 * of the canvas «هاست سی پنل پربازدید · طرح‌ها», which the owner picked on
 * 2026-11-14 («طرح 1 خوب است»). Under the theme's title and its lead: a ring
 * round the visitor's site with the four stations of a visit (the gate of the
 * entry processes, the processor's chip, the RAM stick, the NVMe drive), a
 * light that runs round it and lights each station as it passes, while the
 * station's own picture works. Beside the ring, centred on it, the four items
 * two by two, all of one height; under both a row of two notes. Below 992px
 * one column: the ring, the items, the notes. The owner had the navy band
 * «کدام عدد…» removed on 2026-11-14 and the layout tidied; this file is edited
 * by hand since.
 *
 * The ring is a square stage of 520 units: the ring's radius 178 round the
 * centre (260, 260), the stations' boxes 112 at the top, the right, the bottom
 * and the left, the light's keyframes 33 points on the ring. Its pieces are
 * placed by the template in % of the stage and sized here in cqw of it.
 * Motion: transform and opacity only, paused off screen ([data-hd].is-off,
 * base.css), none with less motion, which leaves the still pose: every
 * station lit, the site ready.
 */

.hd-hrs {
	padding-block: 4.29rem 5rem;
}

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

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

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

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

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

.hd-hrs .hd-hrs-no {
	flex: none;
	display: grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	background: #0247AE;
	color: #FFFFFF;
	font-size: .93rem;
	font-weight: 900;
}

.hd-hrs .hd-hrs-it {
	font-size: 1.29rem;
	line-height: 1.45;
	font-weight: 900;
	color: #103F63;
}

.hd-hrs .hd-hrs-isub {
	font-size: .93rem;
	line-height: 1.5;
	font-weight: 700;
	color: #0247AE;
}

.hd-hrs .hd-hrs-rg {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	min-height: 1.9rem;
	padding: 0 .75rem;
	border-radius: 99px;
	background: #FFF3C4;
	color: #103F63;
	font-size: .86rem;
	line-height: 1.4;
	font-weight: 900;
	white-space: nowrap;
}

.hd-hrs .hd-hrs-tx {
	font-size: .98rem;
	line-height: 1.95;
	font-weight: 500;
	color: #2F5677;
	text-wrap: pretty;
}

.hd-hrs .hd-hrs-grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	grid-template-areas: "art list" "tips tips";
	gap: 2.4rem 3rem;
	align-items: center;
}

.hd-hrs .hd-hrs-fig {
	grid-area: art;
}

.hd-hrs .hd-hrs-tips {
	grid-area: tips;
}

.hd-hrs .hd-hrs-list {
	grid-area: list;
}

.hd-hrs .hd-hrs-fig {
	position: relative;
	width: min(100%, 37rem);
	margin: 0 auto;
}

.hd-hrs .hd-hrs-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	container-type: inline-size;
	direction: ltr;
}

.hd-hrs .hd-hrs-ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.hd-hrs .hd-hrs-chev {
	position: absolute;
	display: block;
	transform: rotate(var(--a));
}

.hd-hrs .hd-hrs-chev::before {
	content: "";
	position: absolute;
	inset: 22%;
	border-top: .75cqw solid #8DB5E4;
	border-right: .75cqw solid #8DB5E4;
	transform: rotate(45deg);
	border-radius: .3cqw;
}

.hd-hrs .hd-hrs-run {
	position: absolute;
	display: block;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, #FFFBE0 0, #FFE16A 30%, rgba(255, 204, 0, .45) 55%, rgba(255, 204, 0, 0) 100%);
	transform: translate(-34.231cqw, 0cqw);
}

.hd-hrs .hd-hrs-run {
	animation: hd-hrs-run 8s linear infinite;
}

@keyframes hd-hrs-run {
	.00% {
		transform: translate(0cqw, -34.231cqw);
	}
	3.12% {
		transform: translate(6.678cqw, -33.573cqw);
	}
	6.25% {
		transform: translate(13.100cqw, -31.625cqw);
	}
	9.38% {
		transform: translate(19.018cqw, -28.462cqw);
	}
	12.50% {
		transform: translate(24.205cqw, -24.205cqw);
	}
	15.62% {
		transform: translate(28.462cqw, -19.018cqw);
	}
	18.75% {
		transform: translate(31.625cqw, -13.100cqw);
	}
	21.88% {
		transform: translate(33.573cqw, -6.678cqw);
	}
	25.00% {
		transform: translate(34.231cqw, 0cqw);
	}
	28.12% {
		transform: translate(33.573cqw, 6.678cqw);
	}
	31.25% {
		transform: translate(31.625cqw, 13.100cqw);
	}
	34.38% {
		transform: translate(28.462cqw, 19.018cqw);
	}
	37.50% {
		transform: translate(24.205cqw, 24.205cqw);
	}
	40.62% {
		transform: translate(19.018cqw, 28.462cqw);
	}
	43.75% {
		transform: translate(13.100cqw, 31.625cqw);
	}
	46.88% {
		transform: translate(6.678cqw, 33.573cqw);
	}
	50.00% {
		transform: translate(0cqw, 34.231cqw);
	}
	53.12% {
		transform: translate(-6.678cqw, 33.573cqw);
	}
	56.25% {
		transform: translate(-13.100cqw, 31.625cqw);
	}
	59.38% {
		transform: translate(-19.018cqw, 28.462cqw);
	}
	62.50% {
		transform: translate(-24.205cqw, 24.205cqw);
	}
	65.62% {
		transform: translate(-28.462cqw, 19.018cqw);
	}
	68.75% {
		transform: translate(-31.625cqw, 13.100cqw);
	}
	71.88% {
		transform: translate(-33.573cqw, 6.678cqw);
	}
	75.00% {
		transform: translate(-34.231cqw, 0cqw);
	}
	78.12% {
		transform: translate(-33.573cqw, -6.678cqw);
	}
	81.25% {
		transform: translate(-31.625cqw, -13.100cqw);
	}
	84.38% {
		transform: translate(-28.462cqw, -19.018cqw);
	}
	87.50% {
		transform: translate(-24.205cqw, -24.205cqw);
	}
	90.62% {
		transform: translate(-19.018cqw, -28.462cqw);
	}
	93.75% {
		transform: translate(-13.100cqw, -31.625cqw);
	}
	96.88% {
		transform: translate(-6.678cqw, -33.573cqw);
	}
	100.00% {
		transform: translate(0cqw, -34.231cqw);
	}
}

.hd-hrs .hd-hrs-in0,
.hd-hrs .hd-hrs-in1,
.hd-hrs .hd-hrs-in2 {
	position: absolute;
	display: block;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #3D8BFF;
	opacity: .0;
}

.hd-hrs .hd-hrs-in0 {
	animation: hd-hrs-inflow 2.4s ease-in infinite;
}

.hd-hrs .hd-hrs-in1 {
	animation: hd-hrs-inflow 2.4s ease-in .8s infinite;
}

.hd-hrs .hd-hrs-in2 {
	animation: hd-hrs-inflow 2.4s ease-in 1.6s infinite;
}

@keyframes hd-hrs-inflow {
	0% {
		opacity: 0;
		transform: translateY(-1cqw);
	}
	20% {
		opacity: .9;
	}
	75% {
		opacity: .9;
	}
	100% {
		opacity: 0;
		transform: translateY(18.827cqw);
	}
}

.hd-hrs .hd-hrs-st {
	position: absolute;
	z-index: 2;
	display: grid;
	place-items: center;
	border-radius: 4.2cqw;
	background: #FFFFFF;
	box-shadow: 0 2.6cqw 4.4cqw -2.6cqw rgba(16, 63, 99, .45), inset 0 0 0 1px #D3E2F1;
}

.hd-hrs .hd-hrs-glow {
	position: absolute;
	inset: -1.2cqw;
	border-radius: 5cqw;
	box-shadow: 0 0 0 .7cqw #FFCC00, 0 0 3.2cqw .6cqw rgba(255, 204, 0, .45);
	opacity: 1;
}

.hd-hrs .hd-hrs-sn {
	position: absolute;
	top: -1.4cqw;
	right: -1.4cqw;
	display: grid;
	place-items: center;
	width: 5cqw;
	height: 5cqw;
	border-radius: 50%;
	background: #0247AE;
	color: #FFFFFF;
	font-size: 2.4cqw;
	font-weight: 900;
	box-shadow: 0 0 0 .6cqw #EDF6FD;
}

.hd-hrs .hd-hrs-sl {
	position: absolute;
	left: 50%;
	bottom: -4.6cqw;
	transform: translateX(-50%);
	padding: .35cqw 1.6cqw;
	border-radius: 99px;
	background: #103F63;
	color: #FFFFFF;
	font-size: max(8px, 2.25cqw);
	line-height: 1.5;
	font-weight: 800;
	white-space: nowrap;
	direction: rtl;
}

.hd-hrs .hd-hrs-lanes {
	display: flex;
	gap: 1cqw;
	height: 11cqw;
	align-items: stretch;
}

.hd-hrs .hd-hrs-lanes i {
	position: relative;
	width: 2.6cqw;
	border-radius: 99px;
	background: #E1EEFA;
	overflow: hidden;
}

.hd-hrs .hd-hrs-lanes i::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 2.6cqw;
	border-radius: 50%;
	background: #0247AE;
	transform: translateY(8.4cqw);
}

.hd-hrs .hd-hrs-lanes i::after {
	animation: hd-hrs-lane 1.1s ease-in-out var(--d) infinite;
}

@keyframes hd-hrs-lane {
	0% {
		transform: translateY(-2.6cqw);
	}
	100% {
		transform: translateY(11cqw);
	}
}

.hd-hrs .hd-hrs-chip {
	display: grid;
	place-items: center;
	width: 13cqw;
	height: 13cqw;
	border-radius: 2cqw;
	background: #103F63;
	box-shadow: 0 0 0 .9cqw #E1EEFA;
}

.hd-hrs .hd-hrs-cores {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1cqw;
}

.hd-hrs .hd-hrs-cores i {
	position: relative;
	overflow: hidden;
	width: 3.6cqw;
	height: 3.6cqw;
	border-radius: .7cqw;
	background: #2B5F8E;
}

.hd-hrs .hd-hrs-cores i::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #FFCC00;
	transform-origin: 50% 100%;
}

.hd-hrs .hd-hrs-cores i::before {
	animation: hd-hrs-core 1.4s ease-in-out var(--d) infinite;
}

@keyframes hd-hrs-core {
	0%,100% {
		transform: scaleY(1);
	}
	50% {
		transform: scaleY(.3);
	}
}

.hd-hrs .hd-hrs-ram {
	display: flex;
	gap: .8cqw;
	padding: 1.6cqw 1.8cqw 2.4cqw;
	border-radius: 1cqw;
	background: #FFCC00;
	box-shadow: inset 0 -1.2cqw 0 #E2AE00;
}

.hd-hrs .hd-hrs-ram i {
	position: relative;
	overflow: hidden;
	width: 2.2cqw;
	height: 5.6cqw;
	border-radius: .5cqw;
	background: #FFF0B3;
}

.hd-hrs .hd-hrs-ram i::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #103F63;
	transform-origin: 50% 100%;
}

.hd-hrs .hd-hrs-ram i::before {
	animation: hd-hrs-cell 2s ease-in-out var(--d) infinite;
}

@keyframes hd-hrs-cell {
	0%,100% {
		transform: scaleY(.2);
	}
	35%,70% {
		transform: scaleY(1);
	}
}

.hd-hrs .hd-hrs-disk {
	position: relative;
	display: grid;
	place-items: center;
	width: 15cqw;
	height: 6.6cqw;
	border-radius: 1.2cqw;
	background: #1B2B3B;
	color: #FFFFFF;
}

.hd-hrs .hd-hrs-disk b {
	font-size: 2cqw;
	font-weight: 900;
	letter-spacing: .04em;
	direction: ltr;
}

.hd-hrs .hd-hrs-up,
.hd-hrs .hd-hrs-dn {
	position: absolute;
	width: 0;
	height: 0;
	border-left: 1.3cqw solid transparent;
	border-right: 1.3cqw solid transparent;
}

.hd-hrs .hd-hrs-up {
	left: 2cqw;
	top: -3.6cqw;
	border-bottom: 1.8cqw solid #3D8BFF;
}

.hd-hrs .hd-hrs-dn {
	right: 2cqw;
	bottom: -3.6cqw;
	border-top: 1.8cqw solid #FFCC00;
}

.hd-hrs .hd-hrs-up {
	animation: hd-hrs-up 1.2s ease-in infinite;
}

.hd-hrs .hd-hrs-dn {
	animation: hd-hrs-dn 1.2s ease-in .6s infinite;
}

@keyframes hd-hrs-up {
	0% {
		opacity: 0;
		transform: translateY(3.4cqw);
	}
	30% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translateY(-1cqw);
	}
}

@keyframes hd-hrs-dn {
	0% {
		opacity: 0;
		transform: translateY(-3.4cqw);
	}
	30% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translateY(1cqw);
	}
}

.hd-hrs .hd-hrs-site {
	position: absolute;
	z-index: 3;
	direction: rtl;
	font-size: max(7.5px, 2.3cqw);
	background: #FFFFFF;
	border-radius: .9em;
	padding: .55em .7em .75em;
	box-shadow: 0 1.6em 2.6em -1.4em rgba(16, 63, 99, .55), inset 0 0 0 1px #DCE7F2;
}

.hd-hrs .hd-hrs-bar {
	display: flex;
	align-items: center;
	gap: .32em;
	padding-bottom: .45em;
	border-bottom: 1px solid #E6EEF6;
}

.hd-hrs .hd-hrs-bar i {
	width: .5em;
	height: .5em;
	border-radius: 50%;
	background: #DCE7F2;
}

.hd-hrs .hd-hrs-bar i:first-child {
	background: #FF8A7A;
}

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

.hd-hrs .hd-hrs-bar span {
	margin-inline-start: auto;
	padding: .1em .6em;
	border-radius: 99px;
	background: #EDF6FD;
	color: #2F5677;
	font-size: .82em;
	font-weight: 700;
	direction: ltr;
}

.hd-hrs .hd-hrs-sb {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: .5em;
}

.hd-hrs .hd-hrs-sb b {
	font-size: 1.05em;
	font-weight: 900;
	color: #103F63;
}

.hd-hrs .hd-hrs-ok {
	display: grid;
	place-items: center;
	width: 1.45em;
	height: 1.45em;
	border-radius: 50%;
	background: #239E40;
}

.hd-hrs .hd-hrs-ok svg {
	width: 72%;
	height: 72%;
}

.hd-hrs .hd-hrs-pg {
	display: flex;
	gap: .5em;
	margin-top: .45em;
}

.hd-hrs .hd-hrs-pg em {
	flex: none;
	width: 34%;
	aspect-ratio: 4/3;
	border-radius: .45em;
	background: linear-gradient(135deg, #FFE58A, #FFCC00);
}

.hd-hrs .hd-hrs-pg span {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: .38em;
	padding-top: .15em;
}

.hd-hrs .hd-hrs-pg s {
	display: block;
	height: .42em;
	border-radius: 99px;
	background: #DCE7F2;
}

.hd-hrs .hd-hrs-pg s:nth-child(2) {
	width: 80%;
}

.hd-hrs .hd-hrs-pg s:nth-child(3) {
	width: 55%;
	background: #0247AE;
}

.hd-hrs .hd-hrs-ld {
	height: .32em;
	margin-top: .6em;
	border-radius: 99px;
	background: #E6EEF6;
	overflow: hidden;
}

.hd-hrs .hd-hrs-ld i {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: #0247AE;
	transform-origin: 100% 50%;
}

.hd-hrs .hd-hrs-ld i {
	animation: hd-hrs-ld 8s linear infinite;
}

@keyframes hd-hrs-ld {
	0% {
		transform: scaleX(.04);
	}
	96% {
		transform: scaleX(1);
	}
	100% {
		transform: scaleX(.04);
	}
}

@keyframes hd-hrs-g-ep {
	0%,14% {
		opacity: 1;
	}
	22%,92% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.hd-hrs .hd-hrs-g-ep {
	animation: hd-hrs-g-ep 8s ease-in-out infinite;
}

@keyframes hd-hrs-g-cpu {
	0%,23.0% {
		opacity: 0;
	}
	27.0%,41.0% {
		opacity: 1;
	}
	49.0%,100% {
		opacity: 0;
	}
}

.hd-hrs .hd-hrs-g-cpu {
	animation: hd-hrs-g-cpu 8s ease-in-out infinite;
}

@keyframes hd-hrs-g-ram {
	0%,48.0% {
		opacity: 0;
	}
	52.0%,66.0% {
		opacity: 1;
	}
	74.0%,100% {
		opacity: 0;
	}
}

.hd-hrs .hd-hrs-g-ram {
	animation: hd-hrs-g-ram 8s ease-in-out infinite;
}

@keyframes hd-hrs-g-io {
	0%,73.0% {
		opacity: 0;
	}
	77.0%,91.0% {
		opacity: 1;
	}
	99.0%,100% {
		opacity: 0;
	}
}

.hd-hrs .hd-hrs-g-io {
	animation: hd-hrs-g-io 8s ease-in-out infinite;
}

.hd-hrs .hd-hrs-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 1.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hd-hrs .hd-hrs-li {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	padding: 1.2rem 1.3rem;
	border-radius: 1.43rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #DCE9F5, 0 1.2rem 2.2rem -1.7rem rgba(16, 63, 99, .3);
}

/* The head of an item: its number beside its title and its range, and its
   plain name on a line of its own under both, so it does not wrap beside the
   range. */
.hd-hrs .hd-hrs-lh {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: "no it rg" "no sub sub";
	align-items: center;
	column-gap: .7rem;
	row-gap: .1rem;
}

.hd-hrs .hd-hrs-lh .hd-hrs-no {
	grid-area: no;
}

.hd-hrs .hd-hrs-lh .hd-hrs-it {
	grid-area: it;
	margin: 0;
}

.hd-hrs .hd-hrs-lh .hd-hrs-rg {
	grid-area: rg;
	justify-self: end;
}

.hd-hrs .hd-hrs-lh .hd-hrs-isub {
	grid-area: sub;
	margin: 0;
}

@media (max-width: 1139.98px) {
	.hd-hrs .hd-hrs-grid {
		gap: 2rem;
	}
}

@media (max-width: 991.98px) {
	.hd-hrs .hd-hrs-grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		grid-template-areas: "art" "list" "tips";
	}
	.hd-hrs .hd-hrs-fig {
		width: min(100%, 32rem);
	}
}

@media (max-width: 575.98px) {
	.hd-hrs .hd-hrs-list {
		grid-template-columns: minmax(0, 1fr);
		grid-auto-rows: auto;
		gap: .8rem;
	}
	.hd-hrs .hd-hrs-li {
		padding: 1rem;
	}
	.hd-hrs .hd-hrs-it {
		font-size: 1.14rem;
	}
}

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

.hd-hrs .hd-hrs-tips {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 767.98px) {
	.hd-hrs .hd-hrs-tips {
		grid-template-columns: minmax(0, 1fr);
		gap: .8rem;
	}
}

.hd-hrs .hd-hrs-tip {
	display: flex;
	align-items: flex-start;
	gap: .8rem;
	padding: 1rem 1.2rem;
	border-radius: 1.2rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #DCE9F5;
}

.hd-hrs .hd-hrs-tic {
	flex: none;
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: .7rem;
	background: #FFF3C4;
	color: #103F63;
}

.hd-hrs .hd-hrs-tic svg {
	width: 1.3rem;
	height: 1.3rem;
}

.hd-hrs .hd-hrs-tip b {
	display: block;
	font-size: 1rem;
	line-height: 1.6;
	font-weight: 900;
	color: #103F63;
}

.hd-hrs .hd-hrs-tip p {
	margin: .15rem 0 0;
	font-size: .93rem;
	line-height: 1.85;
	font-weight: 500;
	color: #2F5677;
	text-wrap: pretty;
}
