/*
 * The components of the category «دامنه» (core/components/categories/domain.php),
 * the sections of /domain/ that the canvas «ثبت دامنه · طرح‌ها»
 * (https://claude.ai/artifact/T2Q8t7NSDF9tMNUdmWSUzk) drew and the owner picked
 * on 2026-11-24 («هیرو 3 و تعرفه 1»):
 *
 * - .hd-dk, domain-keys (template/domain/keys.php): the hero, its text and the
 *   store's domain search beside an isometric pad of extension keys and a
 *   screen whose two prices count (hero 3 «صفحه‌کلید پسوندها»). The pad and
 *   its loop are drawn by dev/tools/scenes/domain-keys.py, whose block ends
 *   this file.
 * - .hd-dp, domain-prices (template/domain/prices.php): the popular
 *   extensions as three cards, then the list of every extension of the store
 *   with its registration, renewal and transfer prices, a search of the
 *   extension and «نمایش همه‌ی پسوندها» (prices 1 «کارت‌های رایج و جدول کامل»,
 *   with the search the owner asked for in place of a row of letters).
 *
 * Sizes are in rem, the root MojoCSS sets per width (README «CSS Mojo»): the
 * canvas's px at 1440 divided by 14. The pictures scale in units of their own
 * box (--hd-dk-u, 1/548 of it); each section names its container, so the
 * picture's box never catches the section's queries. Light surfaces only (the
 * owner, 2026-11-22: no dark boxes). Motion is transform and opacity, and the
 * two prices of the hero's screen count through registered integers shown by
 * CSS counters (the owner, 2026-11-24: numbers count, they never fade out).
 */

/* ------------------------------------------------------------------ the hero */

@property --hd-dk-n {
	syntax: '<integer>';
	initial-value: 0;
	inherits: true;
}

@property --hd-dk-M {
	syntax: '<integer>';
	initial-value: 0;
	inherits: true;
}

@property --hd-dk-T {
	syntax: '<integer>';
	initial-value: 0;
	inherits: true;
}

@property --hd-dk-U {
	syntax: '<integer>';
	initial-value: 0;
	inherits: true;
}

@property --hd-dk-h1 {
	syntax: '<integer>';
	initial-value: 0;
	inherits: true;
}

@property --hd-dk-h2 {
	syntax: '<integer>';
	initial-value: 0;
	inherits: true;
}

.hd-dk {
	container: hd-dk / inline-size;
	position: relative;
	overflow: hidden;
	overflow: clip;
	padding-block: 3.14rem 4.29rem;
	color: #103F63;
}

.hd-dk-in {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 4.57rem;
	align-items: center;
}

.hd-dk-text {
	position: relative;
	z-index: 2;
	min-width: 0;
}

.hd-dk-title {
	margin: 0;
	font-size: 3.57rem;
	line-height: 1.4;
	font-weight: 900;
	letter-spacing: -.02rem;
	color: #103F63;
	text-wrap: balance;
}

/* The marked word on a soft yellow band (instead of the thin line of .hd-hl, base.css), as in the host heroes. */
.hd-dk .hd-dk-title .hd-hl {
	position: relative;
	z-index: 0;
	padding: 0;
	background: none;
	font-style: normal;
	color: #0247AE;
	white-space: nowrap;
}

.hd-dk-title .hd-hl::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset-inline: -.29rem;
	bottom: .5rem;
	height: 1.07rem;
	border-radius: .43rem;
	background: #FFE58A;
}

.hd-dk-accent {
	margin: 1rem 0 0;
	font-size: 1.43rem;
	line-height: 1.7;
	font-weight: 800;
	color: #0247AE;
	text-wrap: pretty;
}

.hd-dk-lead {
	max-width: 40rem;
	margin: .9rem 0 0;
	font-size: 1.14rem;
	line-height: 2;
	font-weight: 500;
	color: #2F5677;
	text-wrap: pretty;
}

.hd-dk-lead p {
	margin: 0;
}

.hd-dk-lead p + p {
	margin-top: .6rem;
}

.hd-dk-lead bdi {
	font-weight: 700;
}

/* The store's domain search: a white pill with the field and the button, the extensions under it. */
.hd-dk-form {
	max-width: 40rem;
	margin-top: 2rem;
}

.hd-dk-bar {
	position: relative;
	display: flex;
	align-items: center;
	gap: .6rem;
	height: max(4.4rem, 52px);
	padding-inline: 1.2rem .45rem;
	border-radius: 99px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px #D5E3F0, 0 1.2rem 2.6rem -1.2rem rgba(16, 63, 99, .35);
	transition: box-shadow .25s;
}

/* Focus: the field's is the pill's ring, never a square outline inside the
   pill (base.css rings every :focus-visible of a section; owner, 2026-11-24:
   «هر 2 فیلد سرچ، مشکل بوردر focus توی مرورگر دارند», as on /terms/); the
   button keeps its own ring, so the pill rings only while the field has the
   focus. */
.hd-dk-bar:focus-within {
	box-shadow: 0 0 0 2px #0247AE, 0 1.2rem 2.6rem -1.2rem rgba(2, 71, 174, .45);
}

@supports selector(:has(*)) {
	.hd-dk-bar:focus-within {
		box-shadow: 0 0 0 1px #D5E3F0, 0 1.2rem 2.6rem -1.2rem rgba(16, 63, 99, .35);
	}

	.hd-dk-bar:has(.hd-dk-field:focus) {
		box-shadow: 0 0 0 2px #0247AE, 0 1.2rem 2.6rem -1.2rem rgba(2, 71, 174, .45);
	}
}

.hd-dk .hd-dk-field:focus-visible {
	outline: none;
}

.hd-dk-ic {
	flex: none;
	display: grid;
	place-items: center;
	width: 1.5rem;
	color: #5C7C99;
}

.hd-dk-ic svg {
	width: 100%;
	height: auto;
}

.hd-dk-field {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: 0;
	background: none;
	font: inherit;
	font-size: 1.14rem;
	font-weight: 800;
	color: #103F63;
}

.hd-dk-field::placeholder {
	color: #4D6A87;
	font-weight: 600;
	opacity: 1;
}

.hd-dk-go {
	position: relative;
	overflow: hidden;
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	height: calc(100% - .9rem);
	padding: 0 1.6rem;
	border: 0;
	border-radius: 99px;
	background: #0247AE;
	color: #FFFFFF;
	font: inherit;
	font-size: 1.07rem;
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 .8rem 1.6rem -.8rem rgba(2, 71, 174, .7);
}

.hd-dk-go svg {
	width: 1.2rem;
	height: 1.2rem;
}

/* The arrows of the buttons point the way the page reads. */
:where(html[dir=rtl]) :is(.hd-dk-go, .hd-dp-btn) svg {
	transform: scaleX(-1);
}

.hd-dk-go:focus-visible {
	outline: 3px solid #0247AE;
	outline-offset: 3px;
}

.hd-dk-tlds {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.hd-dk-tld {
	display: inline-flex;
	align-items: center;
	min-height: max(2.3rem, 32px);
	padding: 0 .95rem;
	border-radius: 99px;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1px #D5E3F0;
	color: #103F63;
	font-size: .98rem;
	font-weight: 800;
	line-height: 1;
	transition: box-shadow .2s, color .2s;
}

.hd-dk-tld:hover {
	box-shadow: inset 0 0 0 1.5px #0247AE;
	color: #0247AE;
}

.hd-dk-more {
	display: inline-flex;
	align-items: center;
	min-height: max(2.3rem, 32px);
	padding: 0 .3rem;
	color: #0247AE;
	font-size: .95rem;
	font-weight: 800;
}

.hd-dk-tld:focus-visible,
.hd-dk-more:focus-visible {
	outline: 3px solid #0247AE;
	outline-offset: 3px;
}

/* The picture: the pad (an inline <svg> of the 548 × 420 box), the screen over it, the pointer. */
.hd-dk-fig {
	position: relative;
	width: min(100%, 39.14rem);
	margin: 0 auto;
}

.hd-dk-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 548 / 420;
	container-type: inline-size;
}

.hd-dk-art {
	--hd-dk-u: calc(100cqw / 548);
	position: absolute;
	inset: 0;
}

.hd-dk-svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	direction: ltr;
}

.hd-dk-kl {
	font-size: 21px;
	font-weight: 900;
	fill: #103F63;
}

.hd-dk-lit {
	opacity: 0;
}

.hd-dk-scr {
	position: absolute;
	left: calc(118 * var(--hd-dk-u));
	top: calc(8 * var(--hd-dk-u));
	width: calc(312 * var(--hd-dk-u));
	display: grid;
	grid-template-columns: auto auto;
	justify-content: space-between;
	align-items: center;
	row-gap: calc(8 * var(--hd-dk-u));
	padding: calc(12 * var(--hd-dk-u)) calc(18 * var(--hd-dk-u)) calc(14 * var(--hd-dk-u));
	border-radius: calc(18 * var(--hd-dk-u));
	background: #FFFFFF;
	box-shadow: inset 0 0 0 calc(1.5 * var(--hd-dk-u)) #DCE7F2, 0 calc(22 * var(--hd-dk-u)) calc(36 * var(--hd-dk-u)) calc(-20 * var(--hd-dk-u)) rgba(16, 63, 99, .5);
}

.hd-dk-scr::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: calc(-9 * var(--hd-dk-u));
	width: calc(18 * var(--hd-dk-u));
	height: calc(18 * var(--hd-dk-u));
	background: #FFFFFF;
	transform: translateX(-50%) rotate(45deg);
	box-shadow: calc(1.5 * var(--hd-dk-u)) calc(1.5 * var(--hd-dk-u)) 0 0 #DCE7F2;
}

.hd-dk-dom {
	grid-column: 1 / -1;
	width: 100%;
	padding-bottom: calc(9 * var(--hd-dk-u));
	border-bottom: calc(1.5 * var(--hd-dk-u)) dashed #D5E3F0;
	text-align: center;
	font-size: calc(27 * var(--hd-dk-u));
	line-height: 1.3;
	font-weight: 900;
	color: #103F63;
	white-space: nowrap;
}

.hd-dk-xs {
	position: relative;
	display: inline-grid;
	min-width: 3.1em;
	color: #0247AE;
}

.hd-dk-x {
	grid-area: 1 / 1;
	font-style: normal;
	text-align: left;
	opacity: 0;
}

.hd-dk-sh {
	display: flex;
	align-items: center;
	gap: calc(6 * var(--hd-dk-u));
	font-size: max(9px, calc(12.5 * var(--hd-dk-u)));
	font-weight: 800;
	color: #4D6A87;
	white-space: nowrap;
}

.hd-dk-led {
	width: calc(8 * var(--hd-dk-u));
	height: calc(8 * var(--hd-dk-u));
	border-radius: 50%;
	background: #FFCC00;
}

.hd-dk-sh2 .hd-dk-led {
	background: #DE561B;
}

.hd-dk-pv {
	display: flex;
	align-items: baseline;
	gap: calc(5 * var(--hd-dk-u));
	white-space: nowrap;
}

.hd-dk-pv1 {
	--hd-dk-n: var(--hd-dk-v0);
}

.hd-dk-pv2 {
	--hd-dk-n: var(--hd-dk-w0);
}

.hd-dk-pv1 .hd-dk-cnt {
	font-size: calc(21 * var(--hd-dk-u));
	font-weight: 900;
	color: #103F63;
}

.hd-dk-pv2 .hd-dk-cnt {
	font-size: calc(17 * var(--hd-dk-u));
	font-weight: 900;
	color: #2F5677;
}

.hd-dk-un {
	font-size: max(9px, calc(12 * var(--hd-dk-u)));
	font-weight: 700;
	color: #4D6A87;
}

/* A price as it counts: thousands groups and their leading zeros, by counters
   whose pieces shrink to nothing when they are not needed. */
.hd-dk-cnt {
	--hd-dk-M: calc(var(--hd-dk-n) / 1000000 - .5);
	--hd-dk-T: calc((var(--hd-dk-n) - var(--hd-dk-M) * 1000000) / 1000 - .5);
	--hd-dk-U: calc(var(--hd-dk-n) - var(--hd-dk-M) * 1000000 - var(--hd-dk-T) * 1000);
	--hd-dk-h1: min(1, var(--hd-dk-M));
	--hd-dk-h2: min(1, var(--hd-dk-M) + var(--hd-dk-T));
	display: inline-block;
	direction: ltr;
	unicode-bidi: isolate;
	white-space: nowrap;
}

.hd-dk-cnt i {
	display: inline-block;
	font-style: normal;
}

.hd-dk-cM::before {
	counter-reset: hd-dk-cM var(--hd-dk-M);
	content: counter(hd-dk-cM, persian);
}

.hd-dk-cT::before {
	counter-reset: hd-dk-cT var(--hd-dk-T);
	content: counter(hd-dk-cT, persian);
}

.hd-dk-cU::before {
	counter-reset: hd-dk-cU var(--hd-dk-U);
	content: counter(hd-dk-cU, persian);
}

.hd-dk-z::before {
	content: "\06F0";
}

.hd-dk-cm::before {
	content: ",";
}

[dir="ltr"] .hd-dk-cM::before {
	content: counter(hd-dk-cM);
}

[dir="ltr"] .hd-dk-cT::before {
	content: counter(hd-dk-cT);
}

[dir="ltr"] .hd-dk-cU::before {
	content: counter(hd-dk-cU);
}

[dir="ltr"] .hd-dk-z::before {
	content: "0";
}

.hd-dk-cM,
.hd-dk-c1 {
	font-size: clamp(0px, calc(var(--hd-dk-M) * 100px), 1em);
}

.hd-dk-zT1 {
	font-size: clamp(0px, calc(min(var(--hd-dk-h1), 100 - var(--hd-dk-T)) * 100px), 1em);
}

.hd-dk-zT2 {
	font-size: clamp(0px, calc(min(var(--hd-dk-h1), 10 - var(--hd-dk-T)) * 100px), 1em);
}

.hd-dk-cT,
.hd-dk-c2 {
	font-size: clamp(0px, calc(var(--hd-dk-h2) * 100px), 1em);
}

.hd-dk-zU1 {
	font-size: clamp(0px, calc(min(var(--hd-dk-h2), 100 - var(--hd-dk-U)) * 100px), 1em);
}

.hd-dk-zU2 {
	font-size: clamp(0px, calc(min(var(--hd-dk-h2), 10 - var(--hd-dk-U)) * 100px), 1em);
}

/* Prices that are not whole tomans (dollars) do not count: each key's price takes its turn with its extension. */
.hd-dk-ps {
	display: inline-grid;
	direction: ltr;
	unicode-bidi: isolate;
}

.hd-dk-ps .hd-dk-x {
	text-align: start;
}

.hd-dk-pv1 .hd-dk-ps {
	font-size: calc(21 * var(--hd-dk-u));
	font-weight: 900;
	color: #103F63;
}

.hd-dk-pv2 .hd-dk-ps {
	font-size: calc(17 * var(--hd-dk-u));
	font-weight: 900;
	color: #2F5677;
}

.hd-dk-ptr {
	position: absolute;
	z-index: 3;
	left: 0;
	top: 0;
	width: calc(30 * var(--hd-dk-u));
	filter: drop-shadow(0 calc(4 * var(--hd-dk-u)) calc(4 * var(--hd-dk-u)) rgba(16, 63, 99, .35));
}

.hd-dk-ptr svg {
	display: block;
	width: 100%;
	height: auto;
}

@container hd-dk (min-width: 1600px) {
	.hd-dk-title {
		font-size: 3.57rem;
	}
}

@container hd-dk (max-width: 1139.98px) {
	.hd-dk-in {
		gap: 3rem;
	}

	.hd-dk-title {
		font-size: 3.3rem;
	}

	.hd-dk-accent {
		font-size: 1.42rem;
	}

	.hd-dk-lead {
		font-size: 1.25rem;
	}
}

@container hd-dk (max-width: 991.98px) {
	.hd-dk-in {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.6rem;
	}

	.hd-dk-title {
		font-size: 3.23rem;
	}

	.hd-dk-accent {
		font-size: 1.38rem;
	}

	.hd-dk-lead {
		max-width: none;
		font-size: 1.23rem;
	}

	.hd-dk-form {
		max-width: none;
	}

	.hd-dk-fig {
		width: min(100%, 42.15rem);
	}
}

@container hd-dk (max-width: 575.98px) {
	.hd-dk {
		padding-block: 2.83rem 4.33rem;
	}

	.hd-dk-title {
		font-size: min(2.58rem, calc((100cqw - 3rem) / 10.3));
		line-height: 1.55;
	}

	.hd-dk-title .hd-hl::after {
		bottom: .42rem;
		height: .83rem;
	}

	.hd-dk-accent {
		margin-top: .7rem;
		font-size: 1.3rem;
		line-height: 1.8;
	}

	.hd-dk-lead {
		font-size: 1.2rem;
		line-height: 1.95;
	}

	.hd-dk-form {
		margin-top: 1.7rem;
	}

	.hd-dk-bar {
		flex-wrap: wrap;
		gap: 0;
		height: auto;
		padding: .45rem;
		border-radius: 1.6rem;
	}

	.hd-dk-ic {
		width: 1.4rem;
		margin-inline: .8rem .5rem;
	}

	.hd-dk-field {
		flex: 1 1 0;
		height: max(3.6rem, 46px);
	}

	.hd-dk-go {
		width: 100%;
		height: max(3.6rem, 46px);
		justify-content: center;
		border-radius: 1.2rem;
		font-size: 1.2rem;
	}

	.hd-dk-tld,
	.hd-dk-more {
		min-height: 36px;
		font-size: 1rem;
	}
}

@media (forced-colors: active) {
	.hd-dk-art {
		forced-color-adjust: none;
	}

	.hd-dk-bar,
	.hd-dk-tld {
		border: 1px solid CanvasText;
	}

	/* Forced colours drop the ring (a shadow): the pill takes an outline. */
	.hd-dk-bar:focus-within {
		outline: 2px solid Highlight;
		outline-offset: 2px;
	}

	@supports selector(:has(*)) {
		.hd-dk-bar:focus-within {
			outline: none;
		}

		.hd-dk-bar:has(.hd-dk-field:focus) {
			outline: 2px solid Highlight;
		}
	}
}

/* ------------------------------------------------------------------ the prices */

.hd-dp {
	container: hd-dp / inline-size;
	position: relative;
	padding-block: 4.29rem 5rem;
	color: #103F63;
}

.hd-dp-hd {
	display: flex;
	align-items: stretch;
	margin-bottom: 2.6rem;
}

.hd-dp-title {
	flex: none;
	display: flex;
	align-items: center;
	margin: 0;
	padding: .4rem 0 0 .6rem;
	border-top: 1.5px solid #C3D9EE;
	font-size: 2.14rem;
	line-height: 1.5;
	font-weight: 900;
	color: #103F63;
	white-space: nowrap;
}

.hd-dp-sw {
	flex: none;
	width: 6.5rem;
	height: auto;
	overflow: visible;
}

.hd-dp-line {
	flex: 1 1 auto;
	min-width: 1rem;
	border-bottom: 1.5px solid #C3D9EE;
}

.hd-dp-lead {
	max-width: 62rem;
	margin: -1.2rem 0 2rem;
	font-size: 1.07rem;
	line-height: 1.9;
	font-weight: 600;
	color: #2F5677;
	text-wrap: pretty;
}

.hd-dp-ext {
	direction: ltr;
	unicode-bidi: isolate;
	font-weight: 900;
	letter-spacing: -.01em;
}

.hd-dp-btn {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: max(2.9rem, 40px);
	padding: 0 1.4rem;
	border-radius: 99px;
	background: #0247AE;
	color: #FFFFFF;
	font-size: .98rem;
	line-height: 1.3;
	font-weight: 900;
	white-space: nowrap;
	box-shadow: 0 .7rem 1.4rem -.7rem rgba(2, 71, 174, .7);
}

.hd-dp-btn:hover {
	color: #FFFFFF;
}

.hd-dp-btn svg {
	width: 1.1rem;
	height: 1.1rem;
}

.hd-dp-btn.is-soft {
	background: #FFFFFF;
	color: #0247AE;
	box-shadow: inset 0 0 0 1.5px #C9DCEF;
}

.hd-dp-btn.is-soft:hover {
	color: #0247AE;
}

/* main.css's ripple is a white tint, unseen on a white button. */
.hd-dp-btn.is-soft .ripple {
	background: rgba(2, 71, 174, .08);
}

.hd-dp-btn:focus-visible,
.hd-dp-more:focus-within {
	outline: 3px solid #0247AE;
	outline-offset: 2px;
}

/* The popular extensions: three cards, the extension as a big mark, the registration price and the renewal under it. */
.hd-dp-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
}

.hd-dp-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	padding: 1.7rem 1.8rem 1.8rem;
	border-radius: 1.6rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1.5px #DCE7F2, 0 1.6rem 3rem -2rem rgba(16, 63, 99, .35);
	overflow: hidden;
}

.hd-dp-card.is-ir {
	box-shadow: inset 0 0 0 2px #FFCC00, 0 1.6rem 3rem -2rem rgba(16, 63, 99, .35);
}

.hd-dp-ch {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.hd-dp-ct {
	margin: 0;
	font-size: 1.36rem;
	line-height: 1.5;
	font-weight: 900;
	color: #103F63;
}

.hd-dp-cl {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: .3rem 0 0;
	font-size: .95rem;
	font-weight: 700;
	color: #4D6A87;
}

.hd-dp-flag {
	width: 1.6rem;
	height: auto;
	max-width: none;
	border-radius: 3px;
	box-shadow: 0 0 0 1px #DCE7F2;
}

.hd-dp-gl {
	display: grid;
	color: #7D97AE;
}

.hd-dp-gl svg {
	width: 1.2rem;
	height: 1.2rem;
}

.hd-dp-big {
	font-size: 3.6rem;
	line-height: .95;
	color: #103F63;
}

.hd-dp-card.is-ir .hd-dp-big {
	color: #0247AE;
}

.hd-dp-pp {
	display: grid;
	gap: .55rem;
	margin: 0;
	padding-top: 1rem;
	border-top: 1.5px dashed #DCE7F2;
}

.hd-dp-pp div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: .6rem;
}

.hd-dp-pp dt {
	font-size: .95rem;
	font-weight: 700;
	color: #4D6A87;
}

.hd-dp-pp dd {
	margin: 0;
}

.hd-dp-v {
	display: inline-flex;
	align-items: baseline;
	gap: .35rem;
	white-space: nowrap;
}

.hd-dp-v b {
	font-size: 1.21rem;
	font-weight: 900;
	color: #103F63;
}

.hd-dp-p1 .hd-dp-v b {
	font-size: 1.6rem;
}

.hd-dp-p2 .hd-dp-v b {
	font-size: 1.07rem;
	font-weight: 800;
	color: #2F5677;
}

.hd-dp-u {
	font-size: .86rem;
	font-weight: 700;
	color: #4D6A87;
}

.hd-dp-card .hd-dp-btn {
	margin-top: auto;
}

/* The list: one white table, its title and the search over it, the first rows and the rest behind «نمایش همه». */
.hd-dp-box {
	position: relative;
	margin-top: 2.4rem;
	padding: 1.6rem 1.8rem 1.4rem;
	border-radius: 1.6rem;
	background: #FFFFFF;
	box-shadow: inset 0 0 0 1.5px #DCE7F2, 0 1.6rem 3rem -2rem rgba(16, 63, 99, .3);
}

.hd-dp-cards + .hd-dp-box {
	margin-top: 2.4rem;
}

.hd-dp-box:first-child {
	margin-top: 0;
}

.hd-dp-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	padding-bottom: 1.2rem;
}

.hd-dp-lt {
	flex: none;
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.5;
	font-weight: 900;
	color: #103F63;
}

/* Without the script the field could not search: it shows with it. */
.hd-dp-q {
	position: relative;
	display: none;
	align-items: center;
	gap: .6rem;
	width: min(100%, 24rem);
	height: max(3.2rem, 44px);
	padding: 0 1.1rem;
	border-radius: 99px;
	background: #F6FAFE;
	box-shadow: inset 0 0 0 1.5px #D5E3F0;
	color: #4D6A87;
	transition: box-shadow .25s, background-color .25s;
}

.hd-dp.is-js .hd-dp-q {
	display: flex;
}

/* The field's focus is the pill's ring, as the hero's (.hd-dk-bar). */
.hd-dp-q:focus-within {
	background: #FFFFFF;
	box-shadow: inset 0 0 0 2px #0247AE;
}

.hd-dp .hd-dp-qi:focus-visible {
	outline: none;
}

.hd-dp-q svg {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
}

.hd-dp-qi {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: 0;
	background: none;
	font: inherit;
	font-size: 1rem;
	font-weight: 800;
	color: #103F63;
}

.hd-dp-qi::placeholder {
	color: #4D6A87;
	font-weight: 600;
	opacity: 1;
}

.hd-dp-qi::-webkit-search-cancel-button {
	cursor: pointer;
}

.hd-dp-tab {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.hd-dp-tab thead th,
.hd-dp-tab thead td {
	padding: .7rem 1rem;
	border-bottom: 1.5px solid #E3EDF7;
	text-align: start;
	font-size: .93rem;
	font-weight: 800;
	color: #4D6A87;
}

.hd-dp-tab tbody th,
.hd-dp-tab tbody td {
	padding: .75rem 1rem;
	border-bottom: 1px solid #EDF3F9;
	text-align: start;
}

.hd-dp-tab tbody th {
	font-size: 1.3rem;
	color: #103F63;
}

.hd-dp-row:hover th,
.hd-dp-row:hover td {
	background: #F6FAFE;
}

.hd-dp-oc {
	width: 1%;
	text-align: end !important;
}

.hd-dp-oc .hd-dp-btn {
	min-height: max(2.4rem, 36px);
	padding: 0 1.2rem;
	font-size: .9rem;
}

.hd-dp-none td {
	padding: 2rem 1rem;
	text-align: center !important;
	font-size: 1rem;
	font-weight: 700;
	color: #4D6A87;
}

.hd-dp-none[hidden] {
	display: none;
}

/* Without the script: the first rows, the rest with «نمایش همه» (a checkbox).
   With it (.is-js) the list is in pages, and a row of another page or one the
   search leaves out is .is-out, whatever else would show it. */
.hd-dp-row.is-later {
	display: none;
}

.hd-dp-all:checked ~ .hd-dp-tab .hd-dp-row.is-later {
	display: table-row;
}

.hd-dp-row.is-out {
	display: none !important;
}

.hd-dp-row {
	animation: hd-dp-in .45s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes hd-dp-in {
	from {
		transform: translateY(-.6rem);
	}

	to {
		transform: none;
	}
}

.hd-dp-all {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.hd-dp-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	width: max-content;
	min-height: 44px;
	margin: 1rem auto 0;
	padding: 0 1.4rem;
	border-radius: 99px;
	color: #0247AE;
	font-size: .98rem;
	font-weight: 900;
	cursor: pointer;
}

.hd-dp-more svg {
	width: 1.1rem;
	height: 1.1rem;
}

.hd-dp-more:hover {
	background: #F3F8FD;
}

.hd-dp-all:checked ~ .hd-dp-more,
.hd-dp.is-js .hd-dp-more {
	display: none;
}

.hd-dp-all:focus-visible ~ .hd-dp-more {
	outline: 3px solid #0247AE;
	outline-offset: 2px;
}

/* The pages (with the script): how many rows show of how many, and the page
   buttons: back, the first and the last page, the current one with a page
   each side, gaps for the pages between, on. Where nine buttons do not fit
   (phones) the current page has no neighbours: assets/js/components.js
   measures it. */
.hd-dp-foot {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: .9rem 1.6rem;
	margin-top: 1.1rem;
}

.hd-dp.is-js .hd-dp-foot {
	display: flex;
}

.hd-dp.is-js .hd-dp-foot[hidden] {
	display: none;
}

.hd-dp-range {
	margin: 0;
	font-size: .95rem;
	font-weight: 700;
	color: #4D6A87;
}

.hd-dp-pages {
	display: flex;
	align-items: center;
	gap: .3rem;
}

.hd-dp-pg {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: max(2.86rem, 36px);
	height: max(2.86rem, 36px);
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: none;
	color: #103F63;
	font: inherit;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition: background-color .25s, color .25s, box-shadow .25s;
}

.hd-dp-pg .ripple {
	background: rgba(2, 71, 174, .1);
}

.hd-dp-pg[aria-current] {
	background: #0247AE;
	color: #FFFFFF;
	box-shadow: 0 .6rem 1.2rem -.6rem rgba(2, 71, 174, .7);
	cursor: default;
}

.hd-dp-pg[aria-current] .ripple {
	background: rgba(255, 255, 255, .14);
}

.hd-dp-pg.is-arrow {
	color: #0247AE;
	box-shadow: inset 0 0 0 1.5px #C9DCEF;
}

.hd-dp-pg.is-arrow svg {
	width: 1.2rem;
	height: 1.2rem;
}

/* The chevron points back; on points the way the line reads. */
.hd-dp-pg.is-next svg {
	transform: scaleX(-1);
}

:where(html[dir=rtl]) .hd-dp-pg.is-prev svg {
	transform: scaleX(-1);
}

:where(html[dir=rtl]) .hd-dp-pg.is-next svg {
	transform: none;
}

.hd-dp-pg[aria-disabled="true"] {
	color: #A3B8CB;
	box-shadow: inset 0 0 0 1.5px #E3EDF7;
	cursor: default;
}

.hd-dp-pg[aria-disabled="true"] .ripple {
	display: none;
}

/* As wide as a number, so the row keeps its width from page to page and the
   arrows stay under the pointer. */
.hd-dp-gap {
	flex: none;
	width: max(2.86rem, 36px);
	text-align: center;
	font-weight: 800;
	color: #7D97AE;
}

.hd-dp-pg[hidden],
.hd-dp-gap[hidden] {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.hd-dp-row {
		animation: none;
	}
}

@container hd-dp (max-width: 1139.98px) {
	.hd-dp-card {
		padding: 1.5rem;
	}

	.hd-dp-big {
		font-size: 3.1rem;
	}
}

@container hd-dp (max-width: 991.98px) {
	.hd-dp-hd {
		flex-direction: column;
		align-items: center;
		gap: 1.2rem;
	}

	.hd-dp-title {
		padding: 0;
		border-top: 0;
		white-space: normal;
		text-align: center;
		font-size: 2rem;
	}

	.hd-dp-sw,
	.hd-dp-line {
		display: none;
	}

	.hd-dp-lead {
		margin: -.6rem auto 1.8rem;
		text-align: center;
	}

	.hd-dp-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.hd-dp-card {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		column-gap: 1.6rem;
	}

	.hd-dp-ch {
		grid-column: 1 / -1;
	}

	.hd-dp-pp {
		grid-column: 1 / 2;
	}

	.hd-dp-card .hd-dp-btn {
		grid-column: 2 / 3;
		align-self: end;
	}

	.hd-dp-bar {
		flex-direction: column;
		align-items: stretch;
	}

	.hd-dp-q {
		width: 100%;
	}
}

/* Narrow tables: each row a small card, the extension and its button on top, the three prices under them. */
@container hd-dp (max-width: 767.98px) {
	.hd-dp-tab thead {
		display: none;
	}

	.hd-dp-tab,
	.hd-dp-tab tbody {
		display: block;
	}

	.hd-dp-row {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
		row-gap: .6rem;
		column-gap: .8rem;
		padding: .9rem 0;
		border-bottom: 1px solid #EDF3F9;
	}

	.hd-dp-all:checked ~ .hd-dp-tab .hd-dp-row.is-later {
		display: grid;
	}

	.hd-dp-foot {
		flex-direction: column-reverse;
		margin-top: 1.2rem;
	}

	.hd-dp-none:not([hidden]) {
		display: block;
	}

	.hd-dp-tab tbody th,
	.hd-dp-tab tbody td {
		padding: 0;
		border: 0;
		background: none !important;
	}

	.hd-dp-row th {
		grid-row: 1;
		grid-column: 1 / 4;
		align-self: center;
	}

	.hd-dp-oc {
		grid-row: 1;
		grid-column: 4;
		width: auto;
	}

	.hd-dp-row td[data-k] {
		display: block;
		grid-row: 2;
		text-align: start;
	}

	.hd-dp-row td[data-k]::before {
		content: attr(data-k);
		display: block;
		margin-bottom: .15rem;
		font-size: .8rem;
		font-weight: 700;
		color: #4D6A87;
	}

	.hd-dp-row td[data-k] .hd-dp-v {
		gap: .25rem;
	}

	.hd-dp-row td[data-k] .hd-dp-v b {
		font-size: .98rem;
	}

	.hd-dp-row td[data-k] .hd-dp-u {
		font-size: .68rem;
	}
}

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

	.hd-dp-title {
		font-size: 1.79rem;
	}

	.hd-dp-card {
		row-gap: 1rem;
		column-gap: 1rem;
	}

	.hd-dp-card .hd-dp-btn {
		padding: 0 1rem;
	}

	.hd-dp-card .hd-dp-btn svg {
		display: none;
	}

	.hd-dp-box {
		padding: 1.3rem 1.2rem 1.1rem;
	}

	.hd-dp-big {
		font-size: 2.9rem;
	}
}

@container hd-dp (max-width: 330.98px) {
	.hd-dp-pages {
		gap: .2rem;
	}

	.hd-dp-pg {
		width: 30px;
		height: 30px;
	}

	.hd-dp-gap {
		width: 30px;
	}

	.hd-dp-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.hd-dp-card .hd-dp-btn {
		grid-column: 1 / -1;
		width: 100%;
	}

	.hd-dp-row {
		grid-template-columns: minmax(0, 1fr) auto;
		row-gap: .35rem;
	}

	.hd-dp-row th {
		grid-column: 1;
	}

	.hd-dp-oc {
		grid-column: 2;
	}

	.hd-dp-row td[data-k] {
		grid-row: auto;
		grid-column: 1 / -1;
		display: flex;
		align-items: baseline;
		justify-content: space-between;
	}

	.hd-dp-row td[data-k]::before {
		display: inline;
		margin: 0;
	}
}

@media (forced-colors: active) {
	.hd-dp-card,
	.hd-dp-box,
	.hd-dp-q,
	.hd-dp-pg.is-arrow {
		border: 1px solid CanvasText;
	}

	.hd-dp-q:focus-within {
		outline: 2px solid Highlight;
		outline-offset: 2px;
	}

	.hd-dp-pg[aria-current] {
		border: 2px solid Highlight;
	}

	.hd-dp-pg[aria-disabled="true"] {
		color: GrayText;
		border-color: GrayText;
	}
}

/* domain-keys scene: generated by dev/tools/scenes/domain-keys.py, do not edit */
/* The still pose (less motion, or before the loop): the first key pressed, its extension and prices on the screen. */
.hd-dk-ptr {
	transform: translate(calc(278.00 * var(--hd-dk-u)), calc(174.16 * var(--hd-dk-u)));
}
.hd-dk-k0 {
	transform: translateY(5px);
}
.hd-dk-k0 .hd-dk-lit,
.hd-dk-x0 {
	opacity: 1;
}

@keyframes hd-dk-ptr {
	0% { transform: translate(calc(214.26 * var(--hd-dk-u)), calc(210.96 * var(--hd-dk-u))); }
	4.5% { transform: translate(calc(278.00 * var(--hd-dk-u)), calc(174.16 * var(--hd-dk-u))); }
	5.5% { transform: translate(calc(278.00 * var(--hd-dk-u)), calc(174.16 * var(--hd-dk-u))) scale(.86); }
	7%, 25% { transform: translate(calc(278.00 * var(--hd-dk-u)), calc(174.16 * var(--hd-dk-u))); }
	29.5% { transform: translate(calc(341.74 * var(--hd-dk-u)), calc(210.96 * var(--hd-dk-u))); }
	30.5% { transform: translate(calc(341.74 * var(--hd-dk-u)), calc(210.96 * var(--hd-dk-u))) scale(.86); }
	32%, 50% { transform: translate(calc(341.74 * var(--hd-dk-u)), calc(210.96 * var(--hd-dk-u))); }
	54.5% { transform: translate(calc(405.48 * var(--hd-dk-u)), calc(247.76 * var(--hd-dk-u))); }
	55.5% { transform: translate(calc(405.48 * var(--hd-dk-u)), calc(247.76 * var(--hd-dk-u))) scale(.86); }
	57%, 75% { transform: translate(calc(405.48 * var(--hd-dk-u)), calc(247.76 * var(--hd-dk-u))); }
	79.5% { transform: translate(calc(214.26 * var(--hd-dk-u)), calc(210.96 * var(--hd-dk-u))); }
	80.5% { transform: translate(calc(214.26 * var(--hd-dk-u)), calc(210.96 * var(--hd-dk-u))) scale(.86); }
	82%, 100% { transform: translate(calc(214.26 * var(--hd-dk-u)), calc(210.96 * var(--hd-dk-u))); }
}
@keyframes hd-dk-p0 {
	0%, 4.5% { transform: none; }
	6%, 21% { transform: translateY(5px); }
	24%, 100% { transform: none; }
}
@keyframes hd-dk-l0 {
	0%, 4.5% { opacity: 0; }
	6%, 21% { opacity: 1; }
	24%, 100% { opacity: 0; }
}
@keyframes hd-dk-p1 {
	0%, 29.5% { transform: none; }
	31%, 46% { transform: translateY(5px); }
	49%, 100% { transform: none; }
}
@keyframes hd-dk-l1 {
	0%, 29.5% { opacity: 0; }
	31%, 46% { opacity: 1; }
	49%, 100% { opacity: 0; }
}
@keyframes hd-dk-p2 {
	0%, 54.5% { transform: none; }
	56%, 71% { transform: translateY(5px); }
	74%, 100% { transform: none; }
}
@keyframes hd-dk-l2 {
	0%, 54.5% { opacity: 0; }
	56%, 71% { opacity: 1; }
	74%, 100% { opacity: 0; }
}
@keyframes hd-dk-p3 {
	0%, 79.5% { transform: none; }
	81%, 96% { transform: translateY(5px); }
	99%, 100% { transform: none; }
}
@keyframes hd-dk-l3 {
	0%, 79.5% { opacity: 0; }
	81%, 96% { opacity: 1; }
	99%, 100% { opacity: 0; }
}
@keyframes hd-dk-x0 {
	0% { opacity: 0; }
	5.5% { opacity: 1; }
	30.5%, 100% { opacity: 0; }
}
@keyframes hd-dk-x1 {
	0% { opacity: 0; }
	30.5% { opacity: 1; }
	55.5%, 100% { opacity: 0; }
}
@keyframes hd-dk-x2 {
	0% { opacity: 0; }
	55.5% { opacity: 1; }
	80.5%, 100% { opacity: 0; }
}
@keyframes hd-dk-x3 {
	0% { opacity: 1; }
	5.5% { opacity: 0; }
	80.5%, 100% { opacity: 1; }
}
@keyframes hd-dk-val {
	0%, 6.5% { --hd-dk-n: var(--hd-dk-v3); }
	13%, 31.5% { --hd-dk-n: var(--hd-dk-v0); }
	38%, 56.5% { --hd-dk-n: var(--hd-dk-v1); }
	63%, 81.5% { --hd-dk-n: var(--hd-dk-v2); }
	88%, 100% { --hd-dk-n: var(--hd-dk-v3); }
}
@keyframes hd-dk-val2 {
	0%, 6.5% { --hd-dk-n: var(--hd-dk-w3); }
	13%, 31.5% { --hd-dk-n: var(--hd-dk-w0); }
	38%, 56.5% { --hd-dk-n: var(--hd-dk-w1); }
	63%, 81.5% { --hd-dk-n: var(--hd-dk-w2); }
	88%, 100% { --hd-dk-n: var(--hd-dk-w3); }
}

@media (prefers-reduced-motion: no-preference) {
	.hd-dk-ptr { animation: hd-dk-ptr 12s -1.56s cubic-bezier(.5, 0, .25, 1) infinite; }
	.hd-dk-k0 { animation: hd-dk-p0 12s -1.56s infinite; }
	.hd-dk-k0 .hd-dk-lit { animation: hd-dk-l0 12s -1.56s infinite; }
	.hd-dk-x0 { animation: hd-dk-x0 12s -1.56s steps(1, end) infinite; }
	.hd-dk-k1 { animation: hd-dk-p1 12s -1.56s infinite; }
	.hd-dk-k1 .hd-dk-lit { animation: hd-dk-l1 12s -1.56s infinite; }
	.hd-dk-x1 { animation: hd-dk-x1 12s -1.56s steps(1, end) infinite; }
	.hd-dk-k2 { animation: hd-dk-p2 12s -1.56s infinite; }
	.hd-dk-k2 .hd-dk-lit { animation: hd-dk-l2 12s -1.56s infinite; }
	.hd-dk-x2 { animation: hd-dk-x2 12s -1.56s steps(1, end) infinite; }
	.hd-dk-k3 { animation: hd-dk-p3 12s -1.56s infinite; }
	.hd-dk-k3 .hd-dk-lit { animation: hd-dk-l3 12s -1.56s infinite; }
	.hd-dk-x3 { animation: hd-dk-x3 12s -1.56s steps(1, end) infinite; }
	.hd-dk-pv1 { animation: hd-dk-val 12s -1.56s infinite; }
	.hd-dk-pv2 { animation: hd-dk-val2 12s -1.56s infinite; }
}

/* Off screen the loop waits (.is-off from assets/js/components.js). */
.hd-dk.is-off .hd-dk-fig *,
.hd-dk.is-off .hd-dk-fig {
	animation-play-state: paused;
}
/* end of domain-keys scene */
