/*
 * the home page (pages/index.php), on top of site.css and its --s-* tokens
 */

.hx-page {
	background: var(--s-bg);
}

.hx-page .site-header {
	background: rgba(255, 255, 255, 0.86);
}

/* ---------- reveal ---------- */

.hx-rv .rv {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.7s var(--s-ease) calc(var(--d, 0) * 90ms),
		transform 0.8s var(--s-ease) calc(var(--d, 0) * 90ms);
}

.hx-rv .rv.in {
	opacity: 1;
	transform: none;
}

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

.hx-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: 72px 16px 88px;
	background: #061a33;
	color: #ffffff;
}

.hx-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}

.hx-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	height: 120px;
	background: linear-gradient(180deg, transparent, rgba(6, 26, 51, 0.6));
}

.hx-aurora {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
}

.hx-aurora i {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.75;
	animation: hx-drift 18s ease-in-out infinite alternate;
}

.hx-aurora i:nth-child(1) {
	top: -180px;
	right: -80px;
	width: 620px;
	height: 520px;
	background: #6a3cf6;
	opacity: 0.55;
}

.hx-aurora i:nth-child(2) {
	bottom: -260px;
	left: -160px;
	width: 680px;
	height: 560px;
	background: #076dba;
	animation-duration: 22s;
	animation-delay: -6s;
}

.hx-aurora i:nth-child(3) {
	top: 30%;
	right: 22%;
	width: 360px;
	height: 300px;
	background: #22b8e6;
	opacity: 0.35;
	animation-duration: 26s;
	animation-delay: -12s;
}

@keyframes hx-drift {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(40px, 30px, 0) scale(1.08); }
	100% { transform: translate3d(-30px, 10px, 0) scale(0.96); }
}

.hx-hero-in {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: 56px;
	max-width: var(--s-max);
	margin: 0 auto;
}

.hx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 14px 7px 12px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: rgba(255, 255, 255, 0.86);
	font-size: 13px;
	font-weight: 600;
}

.hx-live {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #35d08a;
}

.hx-live::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid #35d08a;
	animation: hx-ping 2s var(--s-ease) infinite;
}

@keyframes hx-ping {
	0% { opacity: 0.8; transform: scale(0.6); }
	100% { opacity: 0; transform: scale(1.8); }
}

.hx-hero h1 {
	margin: 22px 0 16px;
	color: #ffffff;
	font-size: clamp(32px, 3.7vw, 46px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.01em;
}

.hx-grad {
	display: block;
	background: linear-gradient(90deg, #7cc4ff 0%, #b69cff 55%, #7cc4ff 100%);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: hx-shine 8s linear infinite;
}

@keyframes hx-shine {
	to { background-position: -200% 0; }
}

.hx-lead {
	max-width: 500px;
	margin: 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 17.5px;
	line-height: 1.6;
}

/* search */

.hx-search {
	max-width: 540px;
	margin-top: 30px;
}

.hx-search-field {
	display: flex;
	align-items: center;
	height: 66px;
	padding: 0 8px 0 22px;
	border-radius: 20px;
	background: #ffffff;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.4),
		0 24px 50px -18px rgba(0, 0, 0, 0.55),
		0 0 0 0 rgba(124, 196, 255, 0);
	transition: box-shadow 0.25s var(--s-ease), transform 0.25s var(--s-ease);
}

.hx-search-field:focus-within {
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.6),
		0 28px 60px -18px rgba(0, 0, 0, 0.6),
		0 0 0 6px rgba(124, 196, 255, 0.28);
}

.hx-search-field > .ic {
	width: 22px;
	height: 22px;
	margin-right: 12px;
	color: var(--s-muted);
}

.hx-search-field input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--s-text);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.hx-search-field input::placeholder {
	color: var(--s-placeholder);
	font-weight: 400;
	letter-spacing: 0;
}

.hx-search-field button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	height: 50px;
	padding: 0 22px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, #0a7fd6 0%, #076dba 50%, #5a45ee 130%);
	box-shadow: 0 10px 22px -10px rgba(7, 109, 186, 0.9);
	color: #ffffff;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s var(--s-ease), filter 0.2s;
}

.hx-search-field button:hover {
	filter: brightness(1.08);
}

.hx-search-field button:active {
	transform: scale(0.97);
}

.hx-search-field button .ic {
	width: 18px;
	height: 18px;
	transition: transform 0.25s var(--s-ease);
}

.hx-search-field button:hover .ic {
	transform: translateX(3px);
}

.hx-hero .search-result {
	margin-top: 12px;
	padding: 12px;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.55);
	color: var(--s-text);
}

.hx-hero .search-result:empty {
	display: none;
}

.hx-hint {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 13.5px;
}

.hx-hint .ic {
	width: 15px;
	height: 15px;
	color: #ffd166;
}

.hx-hint a {
	color: #c9b8ff;
	font-weight: 700;
}

.hx-hint a:hover {
	color: #ffffff;
}

/* store buttons */

.hx-stores {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
}

.hx-store {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 18px 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #ffffff !important;
	line-height: 1.1;
	transition: background-color 0.2s, transform 0.2s var(--s-ease), border-color 0.2s;
}

.hx-store:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 255, 255, 0.32);
	background: rgba(255, 255, 255, 0.14);
}

.hx-store .ic {
	width: 24px;
	height: 24px;
}

.hx-store span {
	display: flex;
	flex-direction: column;
}

.hx-store small {
	opacity: 0.7;
	font-size: 10.5px;
	letter-spacing: 0.02em;
}

.hx-store b {
	font-size: 16px;
	font-weight: 700;
}

/* phone */

.hx-stage {
	position: relative;
	display: flex;
	justify-content: center;
	padding: 10px 0;
}

.hx-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 380px;
	height: 380px;
	margin: -190px 0 0 -190px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(124, 196, 255, 0.35), transparent 65%);
	filter: blur(10px);
}

.hx-phone {
	position: relative;
	box-sizing: border-box;
	width: 290px;
	height: 590px;
	padding: 11px;
	border-radius: 50px;
	background: linear-gradient(145deg, #2a3446, #0c1119 40%, #1b2330);
	box-shadow:
		inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
		0 0 0 1px rgba(0, 0, 0, 0.6),
		0 50px 90px -30px rgba(0, 0, 0, 0.8),
		0 20px 40px -20px rgba(47, 128, 255, 0.4);
	animation: hx-float 7s ease-in-out infinite;
}

@keyframes hx-float {
	0%, 100% { transform: translateY(0) rotate(-1.2deg); }
	50% { transform: translateY(-12px) rotate(0.6deg); }
}

.hx-phone-screen {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 40px;
	background:
		radial-gradient(320px 260px at 50% 8%, rgba(106, 60, 246, 0.55), transparent 70%),
		radial-gradient(300px 260px at 50% 100%, rgba(7, 109, 186, 0.55), transparent 70%),
		linear-gradient(180deg, #142a4d 0%, #0a1527 100%);
}

.hx-phone-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 22px 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.hx-phone-island {
	width: 88px;
	height: 26px;
	border-radius: 999px;
	background: #05080d;
}

.hx-call {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 34px 18px 0;
	text-align: center;
}

.hx-call-label {
	color: rgba(255, 255, 255, 0.6);
	font-size: 12.5px;
}

.hx-call-number {
	margin-top: 6px;
	font-size: 25px;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.hx-call-avatar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 86px;
	height: 86px;
	margin-top: 26px;
}

.hx-call-avatar span {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hx-call-avatar span .ic {
	width: 40px;
	height: 40px;
	color: rgba(255, 255, 255, 0.75);
}

.hx-call-avatar i {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1.5px solid rgba(124, 196, 255, 0.6);
	animation: hx-ring 2.4s var(--s-ease) infinite;
}

.hx-call-avatar i + i {
	animation-delay: 1.2s;
}

@keyframes hx-ring {
	0% { opacity: 0.9; transform: scale(1); }
	100% { opacity: 0; transform: scale(1.9); }
}

/* the caller id card comes in a moment after the call starts, stays, and goes, on a loop */
.hx-cid {
	display: flex;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	width: 100%;
	margin-top: 30px;
	padding: 11px 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.14);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.6);
	text-align: left;
	animation: hx-cid 8s var(--s-ease) infinite;
}

@keyframes hx-cid {
	0%, 12% { opacity: 0; transform: translateY(14px) scale(0.96); }
	20%, 86% { opacity: 1; transform: none; }
	94%, 100% { opacity: 0; transform: translateY(-6px) scale(0.98); }
}

.hx-cid-logo img {
	display: block;
	width: 38px;
	height: 38px;
	border-radius: 11px;
}

.hx-cid-text {
	flex: 1;
	min-width: 0;
	line-height: 1.3;
}

.hx-cid-text small {
	display: block;
	color: rgba(255, 255, 255, 0.65);
	font-size: 11px;
}

.hx-cid-text b {
	display: block;
	overflow: hidden;
	color: #ffffff;
	font-size: 16px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.hx-cid-check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #35d08a;
	color: #06321d;
}

.hx-cid-check .ic {
	width: 14px;
	height: 14px;
	stroke-width: 3;
}

.hx-call-actions {
	display: flex;
	justify-content: space-between;
	width: 190px;
	margin: auto auto 40px;
}

.hx-call-actions i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: #e5484d;
	color: #ffffff;
}

.hx-call-actions i.is-no .ic {
	transform: rotate(135deg);
}

.hx-call-actions i.is-yes {
	background: #22c55e;
	animation: hx-nudge 1.6s ease-in-out infinite;
}

@keyframes hx-nudge {
	0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
	50% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
}

.hx-call-actions .ic {
	width: 26px;
	height: 26px;
}

/* the glass notes beside the phone */

.hx-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px 10px 10px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.45);
	color: var(--s-text);
	line-height: 1.3;
	white-space: nowrap;
	animation: hx-float-note 6s ease-in-out infinite;
}

.hx-float b {
	display: block;
	font-size: 13.5px;
}

.hx-float small {
	display: block;
	color: var(--s-muted);
	font-size: 11.5px;
}

.hx-float.is-a {
	bottom: 27%;
	left: -78px;
}

.hx-float.is-b {
	top: 33%;
	right: -56px;
	animation-delay: -3s;
}

@keyframes hx-float-note {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

.hx-float-ic {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--s-brand-soft);
	color: var(--s-brand);
}

.hx-float-ic .ic {
	width: 20px;
	height: 20px;
}

.hx-float-ic.is-green {
	background: #e3f8ee;
	color: #0b8a50;
}

.hx-float-ic.is-violet {
	background: #efeaff;
	color: #5b35d8;
}

/* ---------- sections ---------- */

.hx-section {
	box-sizing: border-box;
	max-width: var(--s-max);
	margin: 0 auto;
	padding: 88px 16px 8px;
}

.hx-section.is-tight {
	padding-top: 72px;
}

.hx-head {
	max-width: 640px;
	margin: 0 auto 36px;
	text-align: center;
}

.hx-head.is-left {
	margin: 0;
	text-align: left;
}

.hx-kicker {
	display: inline-block;
	margin-bottom: 12px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--s-brand-soft);
	color: var(--s-brand);
	font-size: 12.5px;
	font-weight: 700;
}

.hx-head h2 {
	margin: 0;
	color: var(--s-text);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800 !important;
	line-height: 1.25;
}

.hx-head p {
	margin: 12px 0 0;
	color: var(--s-muted);
	font-size: 16px;
	line-height: 1.6;
}

/* steps */

.hx-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.hx-steps::before {
	content: "";
	position: absolute;
	top: 52px;
	left: 16%;
	right: 16%;
	height: 2px;
	background: repeating-linear-gradient(90deg, #c9d8ea 0 8px, transparent 8px 16px);
}

.hx-steps li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 26px 22px 28px;
	border: 1px solid var(--s-border);
	border-radius: 24px;
	background: var(--s-surface);
	box-shadow: var(--s-shadow-1);
	text-align: center;
	transition: box-shadow 0.3s var(--s-ease), translate 0.3s var(--s-ease);
}

.hx-steps li:hover {
	translate: 0 -4px;
	box-shadow: var(--s-shadow-2);
}

.hx-step-n {
	position: absolute;
	top: 16px;
	left: 18px;
	color: #c3cfdc;
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
}

.hx-step-ic {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 18px;
	border-radius: 18px;
	background: linear-gradient(135deg, #0a7fd6, #5a45ee);
	box-shadow: 0 12px 24px -12px rgba(7, 109, 186, 0.9), 0 0 0 8px var(--s-surface);
	color: #ffffff;
}

.hx-step-ic .ic {
	width: 26px;
	height: 26px;
}

.hx-steps b {
	font-size: 17px;
}

.hx-steps p {
	margin: 8px 0 0;
	color: var(--s-muted);
	font-size: 14.5px;
	line-height: 1.55;
}

/* services and jobs (the listings module) */

.hx-kicker.is-warm {
	background: #e8f2fc;
	color: #055d9f;
}

.hx-lst-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.hx-lst-head h2 {
	margin: 0;
	color: var(--s-text);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800 !important;
	line-height: 1.25;
}

.hx-lst-head p {
	max-width: 520px;
	margin: 10px 0 0;
	color: var(--s-muted);
	font-size: 16px;
	line-height: 1.6;
}

.hx-lst-post {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 20px 0 16px;
	border-radius: 14px;
	background: var(--s-brand);
	box-shadow: 0 12px 24px -12px rgba(7, 109, 186, 0.75);
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 700;
	transition: transform 0.2s var(--s-ease), filter 0.2s;
}

.hx-lst-post:hover {
	transform: translateY(-2px);
	background: var(--s-brand-strong);
}

.hx-lst-post .ic {
	width: 18px;
	height: 18px;
	stroke-width: 2.4;
}

.hx-lst-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 16px;
}

.hx-lst-card {
	--tone: #076dba;
	--tone-soft: #eaf3fc;
	--tone-fill: linear-gradient(140deg, #2f8fe6, #0a63ad);
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	isolation: isolate;
	padding: 22px;
	border: 1px solid var(--s-border);
	border-radius: 26px;
	background: var(--s-surface);
	box-shadow: var(--s-shadow-1);
	transition: box-shadow 0.3s var(--s-ease), border-color 0.3s;
}

.hx-lst-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--tone-fill);
	opacity: 0.85;
}

.hx-lst-card:hover {
	border-color: #d5e1ee;
	box-shadow: 0 24px 48px -24px rgba(16, 24, 40, 0.3);
}

.hx-lst-card:hover::before {
	opacity: 1;
}

.hx-lst-card.is-cool,
.hx-lst-card.is-violet {
	--tone: #5b35d8;
	--tone-soft: #f0ebff;
	--tone-fill: linear-gradient(140deg, #8a5cff, #5b35d8);
}

.hx-lst-top {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--s-text) !important;
}

.hx-lst-ic {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 17px;
	background: var(--tone-fill);
	box-shadow: 0 10px 20px -12px var(--tone);
	color: #ffffff;
	transition: transform 0.35s var(--s-ease);
}

.hx-lst-card:hover .hx-lst-ic {
	transform: rotate(-6deg) scale(1.05);
}

.hx-lst-ic .ic {
	width: 26px;
	height: 26px;
}

.hx-lst-name {
	flex: 1;
	min-width: 0;
}

.hx-lst-name b {
	display: block;
	font-size: 20px;
	line-height: 1.3;
}

.hx-lst-name small {
	display: block;
	margin-top: 3px;
	color: var(--s-muted);
	font-size: 14px;
}

.hx-lst-go {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--s-field);
	color: var(--s-text-2);
	transition: background-color 0.2s, color 0.2s, transform 0.25s var(--s-ease);
}

.hx-lst-top:hover .hx-lst-go {
	transform: translateX(3px);
	background: var(--tone);
	color: #ffffff;
}

.hx-lst-go .ic {
	width: 18px;
	height: 18px;
}

.hx-lst-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.hx-lst-cats a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 13px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--s-field);
	color: var(--s-text) !important;
	font-size: 13.5px;
	font-weight: 600;
	transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.hx-lst-cats a:hover {
	border-color: var(--tone);
	background: var(--tone-soft);
	color: var(--tone) !important;
}

.hx-lst-cats em {
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--tone-soft);
	color: var(--tone);
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
}

.hx-lst-cats a.is-more {
	border: 1px dashed #c9d3df;
	background: transparent;
	color: var(--s-text-2) !important;
}

.hx-lst-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 20px;
	color: var(--s-muted);
	font-size: 13.5px;
}

.hx-lst-foot a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--tone) !important;
	font-weight: 700;
}

.hx-lst-foot a .ic {
	width: 16px;
	height: 16px;
	transition: transform 0.25s var(--s-ease);
}

.hx-lst-foot a:hover .ic {
	transform: translateX(3px);
}

/* the newest listings */

.hx-lst-latest {
	margin-top: 22px;
}

.hx-lst-latest-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	font-size: 16px;
}

.hx-lst-latest-head a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--s-brand);
	font-size: 14px;
	font-weight: 700;
}

.hx-lst-latest-head .ic {
	width: 16px;
	height: 16px;
}

.hx-lst-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.hx-lst-item {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 10px 10px 14px;
	border: 1px solid var(--s-border);
	border-radius: 20px;
	background: var(--s-surface);
	box-shadow: var(--s-shadow-1);
	color: var(--s-text) !important;
	transition: box-shadow 0.3s var(--s-ease), translate 0.3s var(--s-ease);
}

.hx-lst-item:hover {
	translate: 0 -3px;
	box-shadow: var(--s-shadow-2);
}

.hx-lst-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	margin-bottom: 10px;
	border-radius: 14px;
	background: center / cover no-repeat, linear-gradient(135deg, #eef3f9, #e3ebf4);
	color: #9aabbd;
}

.hx-lst-thumb .ic {
	width: 30px;
	height: 30px;
}

.hx-lst-item b {
	display: -webkit-box;
	overflow: hidden;
	padding: 0 4px;
	font-size: 14.5px;
	line-height: 1.4;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.hx-lst-price {
	padding: 4px 4px 0;
	color: var(--s-text);
	font-size: 15px;
	font-weight: 800;
}

.hx-lst-item small {
	overflow: hidden;
	padding: 4px 4px 0;
	color: var(--s-muted);
	font-size: 12.5px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* no listings yet: an invitation to be the first */

.hx-lst-empty {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 16px;
	padding: 18px 22px;
	border: 1.5px dashed #b7d3ee;
	border-radius: 22px;
	background: linear-gradient(90deg, #f1f7fd, #ffffff);
	color: var(--s-text) !important;
	transition: border-color 0.2s, background-color 0.2s;
}

.hx-lst-empty:hover {
	border-color: var(--s-brand);
}

.hx-lst-empty-ic {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: #dcebfa;
	color: var(--s-brand);
}

.hx-lst-empty-ic .ic {
	width: 22px;
	height: 22px;
}

.hx-lst-empty b {
	display: block;
	font-size: 16px;
}

.hx-lst-empty small {
	display: block;
	margin-top: 2px;
	color: var(--s-muted);
	font-size: 14px;
}

.hx-lst-empty-go {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	color: var(--s-brand);
	font-size: 14.5px;
	font-weight: 700;
	white-space: nowrap;
}

.hx-lst-empty-go .ic {
	width: 16px;
	height: 16px;
}

/* bento */

.hx-bento {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-flow: dense;
	gap: 16px;
}

.hx-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 210px;
	overflow: hidden;
	isolation: isolate;
	padding: 24px;
	border: 1px solid var(--s-border);
	border-radius: 26px;
	background: var(--s-surface);
	box-shadow: var(--s-shadow-1);
	color: var(--s-text) !important;
	transition: box-shadow 0.3s var(--s-ease), translate 0.3s var(--s-ease), border-color 0.3s;
}

.hx-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0;
	background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(7, 109, 186, 0.09), transparent 70%);
	transition: opacity 0.3s;
}

.hx-tile:hover {
	translate: 0 -4px;
	border-color: #d5e1ee;
	box-shadow: 0 24px 48px -24px rgba(16, 24, 40, 0.3);
}

.hx-tile:hover::before {
	opacity: 1;
}

.hx-tile.is-wide {
	grid-column: span 2;
}

.hx-tile.is-tall {
	grid-row: span 2;
}

.hx-tile-ic {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	margin-bottom: 18px;
	border-radius: 16px;
	background: var(--s-brand-soft);
	color: var(--s-brand);
	transition: transform 0.35s var(--s-ease);
}

.hx-tile:hover .hx-tile-ic {
	transform: scale(1.06) rotate(-4deg);
}

.hx-tile-ic .ic {
	width: 24px;
	height: 24px;
}

.hx-tile-ic.is-red { background: #fdeeee; color: #d4383d; }
.hx-tile-ic.is-amber { background: #fff4d6; color: #b7791f; }
.hx-tile-ic.is-orange { background: #fff1e5; color: #d9640b; }

.hx-tile > b {
	position: relative;
	font-size: 19px;
	line-height: 1.3;
}

.hx-tile-sub {
	position: relative;
	max-width: 360px;
	margin-top: 6px;
	color: var(--s-muted);
	font-size: 14.5px;
	line-height: 1.55;
}

.hx-tile-go {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 18px;
	color: var(--s-brand);
	font-size: 14px;
	font-weight: 700;
}

.hx-tile-go .ic {
	width: 16px;
	height: 16px;
	transition: transform 0.25s var(--s-ease);
}

.hx-tile:hover .hx-tile-go .ic {
	transform: translateX(4px);
}

.hx-tile-add {
	position: absolute;
	right: 20px;
	bottom: 20px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid var(--s-border);
	border-radius: 999px;
	background: var(--s-surface);
	color: var(--s-text-2);
	font-size: 13px;
	font-weight: 600;
	transition: border-color 0.2s, color 0.2s;
}

.hx-tile-add:hover {
	border-color: var(--s-brand);
	color: var(--s-brand);
}

.hx-tile-add .ic {
	width: 15px;
	height: 15px;
}

.hx-chips {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 18px;
}

.hx-chips span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px 8px 11px;
	border-radius: 999px;
	background: #fff1e5;
	color: #b4530a;
	font-size: 13.5px;
	font-weight: 700;
	transition: background-color 0.2s, color 0.2s, transform 0.2s var(--s-ease);
}

.hx-chips span:hover {
	background: #d9640b;
	color: #ffffff;
	transform: translateY(-1px);
}

.hx-chips .ic {
	width: 15px;
	height: 15px;
}

/* the premium tile */

.hx-tile.is-premium {
	border: 0;
	background:
		radial-gradient(400px 300px at 100% 0%, rgba(255, 255, 255, 0.2), transparent 60%),
		var(--s-premium);
	box-shadow: var(--s-premium-shadow);
	color: #ffffff !important;
}

.hx-tile.is-premium::before {
	background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.18), transparent 70%);
}

.hx-tile.is-premium::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	z-index: -1;
	width: 40%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
	transform: skewX(-12deg);
	animation: hx-sweep 6s ease-in-out infinite;
}

@keyframes hx-sweep {
	0%, 60% { left: -60%; }
	100% { left: 130%; }
}

.hx-tile.is-premium .hx-tile-ic {
	background: rgba(255, 255, 255, 0.18);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
	color: #ffffff;
}

.hx-tile.is-premium .hx-tile-ic .ic {
	color: #ffe27a;
	filter: drop-shadow(0 0 8px rgba(255, 226, 122, 0.7));
}

.hx-tile.is-premium .hx-tile-sub {
	color: rgba(255, 255, 255, 0.82);
}

.hx-premium-list {
	display: grid;
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.hx-premium-list li {
	display: flex;
	align-items: center;
	gap: 9px;
}

.hx-premium-list .ic {
	width: 18px;
	height: 18px;
	padding: 3px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	stroke-width: 3;
}

.hx-tile-go.is-btn {
	align-self: flex-start;
	margin-top: auto;
	padding: 12px 18px;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.4);
	color: #4b2fbf;
}

.hx-tile.is-premium .hx-tile-go.is-btn {
	margin-top: auto;
}

.hx-tile.is-premium .hx-premium-list + .hx-tile-go {
	margin-top: auto;
}

.hx-tile.is-premium .hx-premium-list {
	margin-bottom: 24px;
}

/* decorations: a small directory, an app grid, two cards */

.hx-dir {
	position: absolute;
	top: 24px;
	right: 24px;
	z-index: -1;
	display: grid;
	gap: 8px;
	width: 240px;
	transition: transform 0.4s var(--s-ease);
}

.hx-tile:hover .hx-dir {
	transform: translateY(-4px);
}

.hx-dir i {
	display: grid;
	grid-template-columns: 30px 1fr;
	grid-template-rows: auto auto;
	column-gap: 10px;
	row-gap: 6px;
	align-items: center;
	padding: 10px 12px;
	border: 1px solid var(--s-border);
	border-radius: 14px;
	background: #f8fafd;
}

.hx-dir i:nth-child(2) { margin-left: 18px; opacity: 0.8; }
.hx-dir i:nth-child(3) { margin-left: 36px; opacity: 0.55; }

.hx-dir .ic {
	grid-row: span 2;
	width: 30px;
	height: 30px;
	padding: 7px;
	box-sizing: border-box;
	border-radius: 9px;
	background: #e3f8ee;
	color: #0b8a50;
}

.hx-dir em {
	display: block;
	height: 7px;
	border-radius: 4px;
	background: #dbe4ee;
}

.hx-dir em + em {
	width: 55%;
	background: #e9eef4;
}

.hx-tile.is-companies:not(.is-wide) .hx-dir {
	display: none;
}

.hx-dots {
	position: absolute;
	top: 22px;
	right: 22px;
	z-index: -1;
	display: grid;
	grid-template-columns: repeat(3, 16px);
	gap: 6px;
	transform: rotate(8deg);
	opacity: 0.9;
	transition: transform 0.4s var(--s-ease);
}

.hx-tile:hover .hx-dots {
	transform: rotate(0deg) scale(1.05);
}

.hx-dots i {
	width: 16px;
	height: 16px;
	border-radius: 5px;
	background: #fde2e3;
}

.hx-dots i:nth-child(3n+2) { background: #dcebfb; }
.hx-dots i:nth-child(4n) { background: #fff0c9; }
.hx-dots i:nth-child(5) { background: #d4383d; }

.hx-cards {
	position: absolute;
	top: 18px;
	right: 22px;
	z-index: -1;
	width: 70px;
	height: 80px;
}

.hx-cards i {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 64px;
	border: 1px solid var(--s-border);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 8px 16px -8px rgba(16, 24, 40, 0.3);
	color: #1d2733;
	font-size: 22px;
	font-style: normal;
	transform: rotate(-12deg) translateX(-18px);
	transform-origin: bottom center;
	transition: transform 0.4s var(--s-ease);
}

.hx-cards i + i {
	color: #d4383d;
	transform: rotate(8deg);
}

.hx-tile:hover .hx-cards i {
	transform: rotate(-20deg) translateX(-24px);
}

.hx-tile:hover .hx-cards i + i {
	transform: rotate(14deg) translateX(2px);
}

/* ---------- app band ---------- */

.hx-band {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: 40px;
	overflow: hidden;
	isolation: isolate;
	padding: 52px 52px;
	border-radius: 32px;
	background:
		radial-gradient(600px 360px at 100% 100%, rgba(106, 60, 246, 0.55), transparent 65%),
		radial-gradient(520px 340px at 0% 0%, rgba(34, 184, 230, 0.3), transparent 65%),
		linear-gradient(140deg, #072a52 0%, #0a4f8f 55%, #2f3fbf 100%);
	box-shadow: 0 40px 80px -40px rgba(7, 42, 82, 0.7);
	color: #ffffff;
}

.hx-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
	mask-image: linear-gradient(90deg, transparent, #000 70%);
}

.hx-band-logo {
	display: block;
	width: 60px;
	height: 60px;
	margin-bottom: 20px;
	border-radius: 18px;
	box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
}

.hx-band h2 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800 !important;
	line-height: 1.25;
}

.hx-band p {
	max-width: 440px;
	margin: 12px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 16px;
	line-height: 1.6;
}

.hx-band .hx-stores {
	margin-top: 26px;
}

.hx-band-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hx-band-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.09);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transition: background-color 0.25s, transform 0.3s var(--s-ease);
}

.hx-band-list li:hover {
	background: rgba(255, 255, 255, 0.14);
}

.hx-band-list li:nth-child(2) { margin-left: 24px; }
.hx-band-list li:nth-child(3) { margin-left: 48px; }

.hx-band-list b {
	display: block;
	font-size: 15.5px;
}

.hx-band-list small {
	display: block;
	margin-top: 2px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
}

.hx-band-list .hx-float-ic {
	width: 44px;
	height: 44px;
	border-radius: 14px;
}

/* ---------- faq ---------- */

.hx-faq {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	align-items: start;
	gap: 48px;
	padding-bottom: 88px;
}

.hx-faq .hx-head {
	position: sticky;
	top: 96px;
}

.hx-faq-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.hx-faq-list {
	display: grid;
	gap: 10px;
}

/* ---------- download (pages/download-app.php) ---------- */

.hx-float-ic.is-orange {
	background: #fff1e5;
	color: #d9640b;
}

.hx-store.is-mine {
	border-color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.18);
	box-shadow: 0 0 0 4px rgba(124, 196, 255, 0.18);
}

.dl-mine {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13.5px;
}

.dl-mine .ic {
	width: 16px;
	height: 16px;
	color: #35d08a;
	stroke-width: 2.6;
}

.dl-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dl-features li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px;
	border: 1px solid var(--s-border);
	border-radius: 24px;
	background: var(--s-surface);
	box-shadow: var(--s-shadow-1);
	transition: box-shadow 0.3s var(--s-ease), translate 0.3s var(--s-ease);
}

.dl-features li:hover {
	translate: 0 -3px;
	box-shadow: var(--s-shadow-2);
}

.dl-features .hx-float-ic {
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
	border-radius: 15px;
}

.dl-features .hx-float-ic .ic {
	width: 23px;
	height: 23px;
}

.dl-features b {
	color: var(--s-text);
	font-size: 17px;
	line-height: 1.35;
}

.dl-features p {
	margin: 6px 0 16px;
	color: var(--s-muted);
	font-size: 14.5px;
	line-height: 1.55;
}

.dl-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: auto;
	padding: 4px 10px;
	border-radius: 999px;
	background: #e3f8ee;
	color: #0b7a47;
	font-size: 12px;
	font-weight: 700;
}

.dl-tag .ic {
	width: 12px;
	height: 12px;
}

.dl-tag.is-all {
	background: var(--s-brand-soft);
	color: var(--s-brand);
}

.hx-band-text p a {
	color: #ffffff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dl-last {
	padding-bottom: 88px;
}

@media (max-width: 960px) {
	.dl-features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.dl-features {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.dl-features li {
		display: grid;
		grid-template-columns: 48px 1fr;
		column-gap: 14px;
		padding: 16px;
	}

	.dl-features .hx-float-ic {
		grid-row: span 3;
		margin: 0;
	}

	.dl-tag {
		justify-self: start;
		margin-top: 10px;
	}

	.dl-features p {
		margin-bottom: 0;
	}

	.dl-last {
		padding-bottom: 56px;
	}
}

/* ---------- games (pages/joker.php) ---------- */

.jk-page {
	background: var(--s-bg);
}

.jk-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: 64px 16px 72px;
	background: #072b1f;
	color: #ffffff;
}

.jk-felt {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(700px 420px at 75% 40%, rgba(46, 204, 113, 0.32), transparent 65%),
		radial-gradient(600px 400px at 0% 100%, rgba(255, 196, 0, 0.14), transparent 60%),
		linear-gradient(160deg, #04201a 0%, #0b3d2c 55%, #0f4a35 100%);
}

.jk-felt::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 18px 18px;
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 20%, transparent 75%);
}

.jk-hero-in {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: 40px;
	max-width: var(--s-max);
	margin: 0 auto;
}

.jk-logo {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 22px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 18px 36px -14px rgba(0, 0, 0, 0.7);
}

.jk-hero h1 {
	margin: 22px 0 14px;
	color: #ffffff;
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 800;
	line-height: 1.15;
}

.jk-hero h1 span {
	display: block;
	background: linear-gradient(90deg, #ffd36b, #ffb347 60%, #ffd36b);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.jk-hero p {
	max-width: 480px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 16.5px;
	line-height: 1.6;
}

.jk-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
}

.jk-play {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	height: 52px;
	padding: 0 22px 0 18px;
	border-radius: 14px;
	background: linear-gradient(135deg, #ffd36b, #f5a524);
	box-shadow: 0 14px 28px -12px rgba(245, 165, 36, 0.8);
	color: #3a2500 !important;
	font-size: 16px;
	font-weight: 800;
	transition: transform 0.2s var(--s-ease), filter 0.2s;
}

.jk-play:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
}

.jk-play .ic {
	width: 22px;
	height: 22px;
}

/* the fan of cards */

.jk-fan {
	position: relative;
	height: 300px;
}

.jk-fan i {
	position: absolute;
	bottom: 30px;
	left: 50%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
	width: 128px;
	height: 182px;
	margin-left: -64px;
	padding: 12px 14px;
	border-radius: 14px;
	background: linear-gradient(180deg, #ffffff, #f3f5f8);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 24px 40px -18px rgba(0, 0, 0, 0.7);
	color: #1d2733;
	font-style: normal;
	transform-origin: 50% 120%;
	transform: rotate(var(--r)) translateY(0);
	transition: transform 0.5s var(--s-ease);
	animation: jk-deal 0.9s var(--s-ease) backwards;
	animation-delay: calc(var(--n) * 90ms);
}

.jk-fan i:nth-child(1) { --r: -28deg; --n: 0; }
.jk-fan i:nth-child(2) { --r: -14deg; --n: 1; }
.jk-fan i:nth-child(3) { --r: 0deg; --n: 2; z-index: 2; }
.jk-fan i:nth-child(4) { --r: 14deg; --n: 3; }
.jk-fan i:nth-child(5) { --r: 28deg; --n: 4; }

.jk-fan:hover i:nth-child(1) { transform: rotate(-36deg) translateY(-6px); }
.jk-fan:hover i:nth-child(2) { transform: rotate(-18deg) translateY(-10px); }
.jk-fan:hover i:nth-child(3) { transform: rotate(0deg) translateY(-18px); }
.jk-fan:hover i:nth-child(4) { transform: rotate(18deg) translateY(-10px); }
.jk-fan:hover i:nth-child(5) { transform: rotate(36deg) translateY(-6px); }

@keyframes jk-deal {
	from { opacity: 0; transform: rotate(0deg) translateY(60px); }
	to { opacity: 1; transform: rotate(var(--r)) translateY(0); }
}

.jk-fan b {
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
}

.jk-fan em {
	align-self: center;
	margin-bottom: 26px;
	font-size: 56px;
	font-style: normal;
	line-height: 1;
}

.jk-fan i.is-red {
	color: #d4383d;
}

.jk-fan i.is-joker {
	background: linear-gradient(160deg, #6a3cf6, #2f80ff);
	color: #ffffff;
}

.jk-fan i.is-joker em {
	color: #ffd36b;
	filter: drop-shadow(0 0 12px rgba(255, 211, 107, 0.7));
}

/* the games */

.jk-wrap {
	box-sizing: border-box;
	max-width: var(--s-max);
	margin: 0 auto;
	padding: 56px 16px 72px;
}

.jk-head {
	margin-bottom: 22px;
	text-align: center;
}

.jk-head h2 {
	margin: 0;
	color: var(--s-text);
	font-size: clamp(24px, 3vw, 30px);
	font-weight: 800 !important;
}

.jk-head p {
	margin: 8px 0 0;
	color: var(--s-muted);
	font-size: 15.5px;
}

.jk-games {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jk-game {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 100%;
	box-sizing: border-box;
	padding: 16px;
	border: 1px solid var(--s-border);
	border-radius: 22px;
	background: var(--s-surface);
	box-shadow: var(--s-shadow-1);
	color: var(--s-text) !important;
	transition: box-shadow 0.3s var(--s-ease), translate 0.3s var(--s-ease), border-color 0.3s;
}

.jk-game:hover {
	translate: 0 -3px;
	border-color: #cfe6d9;
	box-shadow: 0 20px 40px -22px rgba(7, 43, 31, 0.45);
}

.jk-face {
	position: relative;
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 68px;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 0 0 1px var(--s-border), 0 8px 16px -10px rgba(16, 24, 40, 0.5);
	color: #1d2733;
	font-size: 28px;
	transform: rotate(-6deg);
	transition: transform 0.35s var(--s-ease);
}

.jk-game:hover .jk-face {
	transform: rotate(0deg) scale(1.05);
}

.jk-face.is-red { color: #d4383d; }

.jk-face.is-violet {
	background: linear-gradient(160deg, #6a3cf6, #2f80ff);
	box-shadow: 0 8px 16px -8px rgba(76, 70, 245, 0.7);
	color: #ffd36b;
}

.jk-face.is-board {
	width: 60px;
	height: 60px;
	border-radius: 12px;
	background: repeating-conic-gradient(#3b2a1a 0 25%, #e9d6b4 0 50%) 0 0 / 20px 20px;
}

.jk-face.is-board i {
	position: absolute;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #d4383d;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}

.jk-face.is-board i:first-child { top: 22px; left: 2px; }

.jk-face.is-board i + i {
	top: 2px;
	left: 22px;
	background: #ffffff;
}

.jk-face.is-dice,
.jk-face.is-domino,
.jk-face.is-quick {
	width: 60px;
	height: 60px;
	border-radius: 16px;
	color: #ffffff;
}

.jk-face.is-dice {
	background: linear-gradient(160deg, #a3263a, #6b1424);
	font-size: 38px;
	line-height: 1;
}

.jk-face.is-domino {
	gap: 4px;
	background: linear-gradient(160deg, #2a4a78, #15294a);
}

.jk-face.is-domino i {
	width: 18px;
	height: 36px;
	border-radius: 4px;
	background:
		radial-gradient(circle, #1d2733 2px, transparent 2.5px) 0 0 / 9px 9px,
		linear-gradient(transparent 17px, #c9a24a 17px, #c9a24a 19px, transparent 19px),
		#fbf7ee;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.jk-face.is-domino i + i {
	transform: rotate(14deg);
}

.jk-face.is-quick {
	background: linear-gradient(160deg, #7b3cf0, #4b1fb3);
	color: #ffd36b;
	font-size: 30px;
}

.jk-group {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 30px 0 12px;
	color: var(--s-muted);
	font-size: 14px;
	font-weight: 700 !important;
	letter-spacing: 0.02em;
}

.jk-group::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--s-border);
}

.jk-head + .jk-group {
	margin-top: 0;
}

.jk-game-text {
	flex: 1;
	min-width: 0;
}

.jk-game-text b {
	display: block;
	font-size: 16.5px;
}

.jk-game-text small {
	display: block;
	margin-top: 3px;
	color: var(--s-muted);
	font-size: 13.5px;
	line-height: 1.45;
}

.jk-game-go {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--s-field);
	color: var(--s-text-2);
	transition: background-color 0.2s, color 0.2s, transform 0.25s var(--s-ease);
}

.jk-game:hover .jk-game-go {
	transform: translateX(3px);
	background: #0f8f5a;
	color: #ffffff;
}

.jk-game-go .ic {
	width: 17px;
	height: 17px;
}

.jk-points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.jk-points li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 18px;
	background: var(--s-surface);
	box-shadow: var(--s-shadow-1);
}

.jk-points b {
	display: block;
	font-size: 15px;
}

.jk-points small {
	display: block;
	color: var(--s-muted);
	font-size: 13px;
}

.jk-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 28px;
	padding: 26px 28px;
	border-radius: 26px;
	background:
		radial-gradient(400px 200px at 100% 0%, rgba(46, 204, 113, 0.3), transparent 70%),
		linear-gradient(140deg, #04201a, #0f4a35);
	color: #ffffff;
}

.jk-cta b {
	display: block;
	font-size: 20px;
}

.jk-cta span {
	display: block;
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 14.5px;
}

@media (max-width: 860px) {
	.jk-hero {
		padding: 40px 16px 0;
	}

	.jk-hero-in {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
		text-align: center;
	}

	.jk-logo {
		margin: 0 auto;
	}

	.jk-hero p {
		margin: 0 auto;
	}

	.jk-actions {
		justify-content: center;
	}

	.jk-play {
		flex: 1 1 100%;
		justify-content: center;
	}

	.jk-actions .hx-store {
		flex: 1;
		justify-content: center;
	}

	.jk-fan {
		height: 200px;
		overflow: hidden;
	}

	.jk-fan i {
		bottom: -40px;
		width: 104px;
		height: 148px;
		margin-left: -52px;
	}

	.jk-fan em {
		font-size: 44px;
	}

	.jk-wrap {
		padding: 40px 16px 56px;
	}

	.jk-games,
	.jk-points {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.jk-cta {
		flex-direction: column;
		align-items: stretch;
		padding: 22px 20px;
		text-align: center;
	}

	.jk-cta .jk-play {
		justify-content: center;
	}
}

@media (min-width: 861px) and (max-width: 1000px) {
	.jk-games {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- inner page title band (inc/page-hero.php) ---------- */

.ph {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: 52px 16px 92px;
	background: #061a33;
	color: #ffffff;
	text-align: center;
}

.ph::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 30%, #000 10%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 80% at 50% 30%, #000 10%, transparent 75%);
}

.ph .hx-aurora i:nth-child(1) {
	top: -260px;
	right: -120px;
	width: 560px;
	height: 440px;
}

.ph .hx-aurora i:nth-child(2) {
	bottom: -360px;
	left: -160px;
	width: 620px;
	height: 480px;
}

.ph .hx-aurora i:nth-child(3) {
	top: -40px;
	right: 30%;
	width: 300px;
	height: 220px;
}

.ph-in {
	max-width: 720px;
	margin: 0 auto;
}

.ph-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 11px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: rgba(255, 255, 255, 0.86);
	font-size: 13px;
	font-weight: 600;
}

.ph-eyebrow .ic {
	width: 15px;
	height: 15px;
	color: #9fd4ff;
}

.ph-title {
	margin: 18px 0 0;
	color: #ffffff;
	font-size: clamp(28px, 3.6vw, 40px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.ph-sub {
	max-width: 560px;
	margin: 12px auto 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 16px;
	line-height: 1.55;
}

.ph-sub a {
	color: #9fd4ff !important;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ph-search {
	position: relative;
	display: block;
	max-width: 520px;
	margin: 26px auto 0;
}

.ph-search .ic {
	position: absolute;
	top: 50%;
	left: 18px;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	color: var(--s-placeholder);
	pointer-events: none;
}

.ph-search input {
	box-sizing: border-box;
	width: 100%;
	height: 56px;
	padding: 0 18px 0 50px;
	border: 0;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
	color: var(--s-text);
	font-family: var(--s-font);
	font-size: 16px;
	outline: none;
}

.ph-search input:focus {
	box-shadow: 0 0 0 4px rgba(159, 212, 255, 0.45), 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}

.ph-body {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 800px;
	margin: -56px auto 0;
	padding: 0 16px 64px;
}

.ph-body.is-wide {
	max-width: var(--s-max);
}

.ph-empty {
	padding: 28px 20px;
	border: 1px dashed #cfd8e3;
	border-radius: 18px;
	background: var(--s-surface);
	color: var(--s-muted);
	font-size: 15px;
	text-align: center;
}

/* the closing "still need help" block of the inner pages */
.ph-help {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 28px;
	padding: 22px 24px;
	border: 1px solid var(--s-border);
	border-radius: 22px;
	background: linear-gradient(135deg, #f3f8fe, #f5f1ff);
}

.ph-help-ic {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 15px;
	background: #ffffff;
	box-shadow: var(--s-shadow-1);
	color: var(--s-brand);
}

.ph-help-ic .ic {
	width: 22px;
	height: 22px;
}

.ph-help-text {
	flex: 1;
	min-width: 0;
	line-height: 1.45;
}

.ph-help-text b {
	display: block;
	color: var(--s-text);
	font-size: 16.5px;
}

.ph-help-text span {
	color: var(--s-muted);
	font-size: 14.5px;
}

/* about us: the products */
.ab-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.ab-card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding: 24px;
	border: 1px solid var(--s-border);
	border-radius: 22px;
	background: var(--s-surface);
	box-shadow: var(--s-shadow-1);
	transition: box-shadow 0.3s var(--s-ease), translate 0.3s var(--s-ease), border-color 0.3s;
}

.ab-card:hover {
	translate: 0 -3px;
	border-color: #d6e2ef;
	box-shadow: 0 20px 40px -24px rgba(6, 26, 51, 0.4);
}

.ab-card.is-main {
	grid-column: 1 / -1;
	flex-direction: row;
	align-items: center;
	gap: 22px;
	background: linear-gradient(135deg, #ffffff 40%, #f1f7fe);
}

.ab-card-ic {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--s-brand-soft);
	color: var(--s-brand);
}

.ab-card-ic .ic {
	width: 26px;
	height: 26px;
}

.ab-card-ic.is-warm {
	background: #fff3e8;
	color: #e07a1f;
}

.ab-card-ic.is-pink {
	background: #fdeef6;
}

.ab-card-ic.is-red {
	background: #fdeeee;
}

/* app logos sit in the tile at the size of the icons next to them */
.ab-card-ic img {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	object-fit: cover;
}

.ab-card.is-main .ab-card-ic {
	background: none;
}

.ab-card.is-main .ab-card-ic,
.ab-card.is-main .ab-card-ic img {
	width: 72px;
	height: 72px;
	border-radius: 20px;
}

.ab-card.is-main .ab-card-ic img {
	box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.06), var(--s-shadow-1);
}

.ab-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.ab-card h3 {
	margin: 16px 0 0;
	color: var(--s-text);
	font-size: 17.5px;
	font-weight: 700 !important;
	line-height: 1.35;
}

.ab-card.is-main h3 {
	margin-top: 0;
	font-size: 20px;
}

.ab-card p {
	flex: 1;
	margin: 6px 0 0;
	color: var(--s-text-2);
	font-size: 14.5px;
	line-height: 1.6;
}

.ab-card .link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 5px;
	margin-top: 14px;
	font-size: 14.5px;
}

.ab-card .link .ic {
	width: 16px;
	height: 16px;
	transition: translate 0.2s var(--s-ease);
}

.ab-card:hover .link .ic {
	translate: 3px 0;
}

@media (max-width: 760px) {
	.ph {
		padding: 36px 16px 80px;
	}

	.ph-sub {
		font-size: 15px;
	}

	.ph-body {
		margin-top: -48px;
		padding: 0 10px 48px;
	}

	.ph-help {
		flex-wrap: wrap;
		padding: 20px;
	}

	.ph-help .btn {
		flex: 1 1 100%;
	}

	.ab-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.ab-card,
	.ab-card.is-main {
		padding: 20px;
	}

	.ab-card.is-main {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.ab-card.is-main h3 {
		margin-top: 16px;
		font-size: 18px;
	}
}

/* ---------- profile (pages/profile.php) ---------- */

.pf-hero {
	padding-bottom: 84px;
	text-align: left;
}

.pf-hero-in {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: var(--s-max);
}

.pf-avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: center / cover no-repeat;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14), 0 18px 40px -16px rgba(0, 0, 0, 0.7);
}

.pf-avatar.is-empty {
	background: linear-gradient(140deg, #2f8fe6, #6a3cf6);
	color: #ffffff;
}

.pf-avatar .ic {
	width: 40px;
	height: 40px;
}

.pf-hero-text {
	min-width: 0;
}

.pf-hero .ph-title {
	margin-top: 12px;
	overflow-wrap: anywhere;
}

.pf-hero-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 10px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.pf-hero-meta > span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.pf-hero-meta .ic {
	width: 16px;
	height: 16px;
}

.pf-badge {
	padding: 4px 11px 4px 9px;
	border-radius: 999px;
	background: var(--s-premium);
	color: #ffffff;
	font-size: 13px;
	letter-spacing: 0;
}

.ph-body.content {
	background: transparent;
}

.pf-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	align-items: start;
	gap: 20px;
}

.pf .site-profile-card {
	padding: 24px;
	box-shadow: 0 24px 48px -30px rgba(6, 26, 51, 0.35);
}

.pf-card-head {
	margin-bottom: 20px;
}

.pf-card-head h2 {
	margin: 0;
	font-size: 18px;
}

.pf-card-head p {
	margin: 3px 0 0;
	color: var(--s-muted);
	font-size: 14px;
}

/* photo beside the name */
.pf-ident {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.pf .profile-photo {
	margin: 0;
	padding: 2px 0 0;
	border: 0;
}

.pf-ident-fields {
	flex: 1;
	min-width: 0;
}

.pf-photo-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--s-brand);
	font: inherit;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
}

.pf-photo-link:hover {
	text-decoration: underline;
}

.pf-photo-link .ic {
	width: 16px;
	height: 16px;
}

/* the call widget as it shows over the dialer, updates while typing */
.preview-outer.pf-call {
	margin: 18px 0 0;
	padding: 0;
	border: 0;
	text-align: left;
}

.pf-call-label {
	margin-bottom: 8px;
	color: var(--s-text-2);
	font-size: 13.5px;
	font-weight: 600;
}

.pf-call-label::first-letter {
	text-transform: uppercase;
}

.pf-call-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 12px 12px;
	border-radius: 18px;
	background:
		radial-gradient(240px 120px at 0% 0%, rgba(106, 60, 246, 0.4), transparent 70%),
		linear-gradient(135deg, #13294a 0%, #0b1a30 100%);
	color: #ffffff;
}

.pf-call-bar .widget-preview-img {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff' fill-opacity='.7'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 2c-3.3 0-7 1.7-7 4v1h14v-1c0-2.3-3.7-4-7-4z'/%3E%3C/svg%3E") center / 26px no-repeat;
}

.pf-call-bar .widget-preview-img[style*="url("] {
	background-size: cover;
}

.pf-call-who {
	flex: 1;
	min-width: 0;
	line-height: 1.3;
}

.pf-call-who small,
.pf-call-num small {
	display: block;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.62);
	font-size: 11.5px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.pf-call-who small img {
	width: 14px;
	height: 14px;
	margin-right: 3px;
	border-radius: 4px;
	vertical-align: -3px;
}

.pf-call-who .widget-preview-txt {
	display: block;
	overflow: hidden;
	font-size: 15.5px;
	font-weight: 700;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.pf-call-num {
	flex: none;
	line-height: 1.3;
	text-align: right;
}

.pf-call-num b {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* the rest of the details, two per row */
.pf-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px 14px;
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--s-border);
}

.pf-fields .field {
	margin: 0;
}

.pf-fields .field.is-full {
	grid-column: 1 / -1;
}

.pf .gender-item {
	height: 50px;
}

.pf-foot {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 24px;
}

.pf .saveBtn {
	min-width: 200px;
}

.pf-side {
	position: sticky;
	top: 88px;
	display: grid;
	gap: 14px;
}

.pf-side .site-premium-card {
	flex-wrap: wrap;
	margin: 0;
}

.pf-side .site-premium-card .site-btn {
	box-sizing: border-box;
	width: 100%;
}

.pf .field.is-full .select-v2 {
	padding: 0 32px 0 12px;
	background-position: right 10px center;
}

.pf-links {
	display: grid;
	padding: 6px;
	box-shadow: var(--s-shadow-1);
}

.pf-links a {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 8px;
	border-radius: 12px;
	color: var(--s-text) !important;
	font-size: 14.5px;
	font-weight: 600;
	transition: background-color 0.15s;
}

.pf-links a:hover {
	background: var(--s-field);
}

.pf-links a > .ic {
	width: 18px;
	height: 18px;
	margin-left: auto;
	color: #a3afbd;
}

.pf-links-ic {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--s-brand-soft);
	color: var(--s-brand);
}

.pf-links-ic .ic {
	width: 18px;
	height: 18px;
}

.pf-links a.is-logout {
	margin-top: 4px;
	border-top: 1px solid var(--s-border);
	border-radius: 0 0 14px 14px;
	color: var(--s-text-2) !important;
}

.pf-links a.is-logout .pf-links-ic {
	background: var(--s-field);
	color: var(--s-muted);
}

.pf .delBtn {
	height: 42px;
	margin-right: auto;
	padding: 0 12px 0 10px;
	border-color: transparent;
	background: transparent;
	font-size: 14px;
}

.pf .delBtn .ic {
	width: 16px;
	height: 16px;
}

.pf .delBtn:hover {
	background: rgba(229, 72, 77, 0.07);
}

@media (max-width: 900px) {
	.pf-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.pf-side {
		position: static;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
	}

	.pf-side .site-premium-card {
		align-self: stretch;
	}
}

@media (max-width: 640px) {
	.pf-side {
		grid-template-columns: minmax(0, 1fr);
	}

	.pf-fields {
		grid-template-columns: minmax(0, 1fr);
	}

	.pf-foot {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.pf .saveBtn {
		width: 100%;
	}

	.pf .delBtn {
		margin: 0 auto;
	}

	.pf-ident {
		gap: 16px;
	}

	.pf .profile-photo .choose_photo {
		width: 72px;
		height: 72px;
	}

	.pf-ident .f-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}
}

@media (max-width: 420px) {
	.pf-call-num {
		display: none;
	}
}

@media (max-width: 760px) {
	.pf-hero {
		padding-bottom: 76px;
	}

	.pf-hero-in {
		gap: 16px;
	}

	.pf-avatar {
		width: 68px;
		height: 68px;
	}

	.pf-avatar .ic {
		width: 30px;
		height: 30px;
	}

	.pf-hero .ph-title {
		margin-top: 10px;
		font-size: 23px;
	}

	.pf .site-profile-card {
		padding: 20px 16px 18px;
	}
}

/* ---------- sign in (pages/login.php) ---------- */

.lg {
	padding: 48px 16px 72px;
}

.lg-in {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	max-width: 940px;
	margin: 0 auto;
	border: 1px solid var(--s-border);
	border-radius: 28px;
	background: var(--s-surface);
	box-shadow: 0 30px 70px -36px rgba(6, 26, 51, 0.45);
	overflow: hidden;
	animation: site-rise 0.45s var(--s-ease);
}

.lg-side {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 40px 36px;
	background: #061a33;
	color: #ffffff;
}

.lg-side .hx-aurora i:nth-child(1) {
	top: -220px;
	right: -220px;
	width: 460px;
	height: 420px;
}

.lg-side .hx-aurora i:nth-child(2) {
	bottom: -260px;
	left: -220px;
	width: 520px;
	height: 460px;
}

.lg-side .hx-aurora i:nth-child(3) {
	top: 40%;
	right: -60px;
	width: 240px;
	height: 220px;
}

.lg-eyebrow {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	padding: 7px 13px 7px 11px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.86);
	font-size: 13px;
	font-weight: 600;
}

.lg-eyebrow .ic {
	width: 15px;
	height: 15px;
	color: #35d08a;
}

.lg-side-title {
	margin: 22px 0 28px;
	color: #ffffff;
	font-size: 25px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.lg-perks {
	display: grid;
	gap: 18px;
	margin: auto 0 0;
	padding: 0;
	list-style: none;
}

.lg-perks li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	line-height: 1.4;
}

.lg-perks b {
	display: block;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
}

.lg-perks small {
	display: block;
	margin-top: 2px;
	color: rgba(255, 255, 255, 0.66);
	font-size: 13.5px;
}

.lg-perk-ic {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.08);
	color: #9fd4ff;
}

.lg-perk-ic .ic {
	width: 19px;
	height: 19px;
}

.lg-card {
	padding: 40px 40px 36px;
}

.lg-dots {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 30px;
	color: var(--s-muted);
	font-size: 13px;
	font-weight: 600;
}

.lg-dots span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.lg-dots span::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d3dbe5;
	transition: background-color 0.3s, box-shadow 0.3s;
}

.lg-dots i {
	flex: 1;
	max-width: 56px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--s-brand) var(--lg-fill, 0%), #e3e9f0 var(--lg-fill, 0%));
}

.lg-dots[data-step="0"] span:first-child,
.lg-dots[data-step="1"] span {
	color: var(--s-text);
}

.lg-dots[data-step="0"] span:first-child::before,
.lg-dots[data-step="1"] span::before {
	background: var(--s-brand);
	box-shadow: 0 0 0 4px var(--s-brand-ring);
}

.lg-dots[data-step="1"] i {
	--lg-fill: 100%;
}

.lg-ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: linear-gradient(135deg, #e8f2fc, #efe9ff);
	color: var(--s-brand);
}

.lg-ic .ic {
	width: 24px;
	height: 24px;
}

.lg-title {
	margin: 18px 0 8px;
	color: var(--s-text);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.lg-lead {
	margin: 0 0 24px;
	color: var(--s-muted);
	font-size: 15px;
	line-height: 1.55;
}

.lg-lead b {
	color: var(--s-text);
	white-space: nowrap;
}

.lg-field {
	position: relative;
	display: block;
}

.lg-field > .ic {
	position: absolute;
	top: 50%;
	left: 16px;
	width: 19px;
	height: 19px;
	margin-top: -9.5px;
	color: var(--s-placeholder);
	pointer-events: none;
	transition: color 0.15s;
}

.lg-field:focus-within > .ic {
	color: var(--s-brand);
}

.lg-card .normal-input {
	max-width: none;
	height: 54px;
	padding-left: 46px;
	border-radius: 14px;
	background: var(--s-field);
	font-size: 17px;
	letter-spacing: 0.02em;
}

.lg-card .normal-input:focus {
	background: var(--s-surface);
}

.lg-card .normal-input::placeholder {
	letter-spacing: 0;
	font-size: 15.5px;
}

.lg-card .site-agree {
	position: relative;
	align-items: center;
	gap: 12px;
	max-width: none;
	margin: 14px 0 20px;
	padding: 12px 14px;
	border: 1px solid var(--s-border);
	border-radius: 14px;
	background: var(--s-surface);
	color: var(--s-text-2);
	font-size: 13.5px;
	transition: border-color 0.2s, background-color 0.2s;
}

.lg-card .site-agree:has(input:checked) {
	border-color: #cfe0f2;
	background: #f6faff;
}

.lg-card .site-agree input {
	-webkit-appearance: none;
	appearance: none;
	display: grid;
	flex: none;
	place-content: center;
	width: 22px;
	height: 22px;
	margin: 0;
	border: 1.5px solid #c3cdd8;
	border-radius: 7px;
	background: #ffffff;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.lg-card .site-agree input::before {
	content: "";
	width: 12px;
	height: 12px;
	background: #ffffff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	transform: scale(0);
	transition: transform 0.2s var(--s-ease);
}

.lg-card .site-agree input:hover {
	border-color: var(--s-brand);
}

.lg-card .site-agree input:checked {
	border-color: var(--s-brand);
	background: var(--s-brand);
}

.lg-card .site-agree input:checked::before {
	transform: scale(1);
}

.lg-card .site-agree input:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px var(--s-brand-ring);
}

.lg-card .site-agree label {
	cursor: pointer;
}

.lg-card .site-agree a {
	color: var(--s-brand);
	font-weight: 600;
	text-decoration: none;
}

.lg-card .site-agree a:hover {
	text-decoration: underline;
}

.lg-note {
	margin: 12px 0 0;
	color: var(--s-muted);
	font-size: 13.5px;
	line-height: 1.5;
}

.lg-note a {
	color: var(--s-brand) !important;
	font-weight: 600;
}

@media (max-width: 760px) {
	.lg {
		padding: 14px 10px 40px;
	}

	.lg-in {
		grid-template-columns: 1fr;
		border-radius: 24px;
	}

	.lg-card {
		order: -1;
		padding: 28px 22px 26px;
	}

	.lg-title {
		font-size: 23px;
	}

	.lg-side {
		padding: 26px 22px 28px;
	}

	.lg-side-title {
		margin: 16px 0 20px;
		font-size: 19px;
	}
}

/* ---------- smaller screens ---------- */

@media (max-width: 960px) {
	.hx-hero-in {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.hx-hero-text {
		text-align: center;
	}

	.hx-lead,
	.hx-search {
		margin-left: auto;
		margin-right: auto;
	}

	.hx-hint,
	.hx-stores {
		justify-content: center;
	}

	.hx-hero .search-result {
		text-align: left;
	}

	.hx-band {
		grid-template-columns: minmax(0, 1fr);
		padding: 40px 28px;
	}

	.hx-band-list li:nth-child(n) {
		margin-left: 0;
	}

	.hx-faq {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.hx-faq .hx-head {
		position: static;
	}
}

@media (max-width: 760px) {
	.hx-hero {
		padding: 40px 16px 0;
	}

	.hx-eyebrow {
		font-size: 12px;
	}

	.hx-hero h1 {
		margin-top: 18px;
		font-size: 32px;
	}

	.hx-lead {
		font-size: 16px;
	}

	.hx-search {
		margin-top: 24px;
	}

	.hx-search-field {
		height: 60px;
		padding-left: 16px;
		border-radius: 18px;
	}

	.hx-search-field > .ic {
		display: none;
	}

	.hx-search-field input {
		font-size: 17px;
	}

	.hx-search-field button {
		height: 46px;
		padding: 0 16px;
	}

	.hx-search-field button .ic {
		display: none;
	}

	.hx-stores {
		margin-top: 22px;
	}

	.hx-store {
		flex: 1;
		justify-content: center;
		max-width: 200px;
	}

	/* the phone peeks out from the bottom of the hero */
	.hx-stage {
		height: 330px;
		overflow: hidden;
		align-items: flex-start;
		padding: 0;
		-webkit-mask-image: linear-gradient(180deg, #000 80%, transparent);
		mask-image: linear-gradient(180deg, #000 80%, transparent);
	}

	.hx-phone {
		width: 270px;
		height: 550px;
		animation: none;
	}

	.hx-float {
		display: none;
	}

	.hx-section {
		padding-top: 64px;
	}

	.hx-section.is-tight {
		padding-top: 56px;
	}

	.hx-head {
		margin-bottom: 24px;
	}

	.hx-steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.hx-steps::before {
		top: 40px;
		bottom: 40px;
		left: 50px;
		right: auto;
		width: 2px;
		height: auto;
		background: repeating-linear-gradient(180deg, #c9d8ea 0 8px, transparent 8px 16px);
	}

	.hx-steps li {
		display: grid;
		grid-template-columns: 56px 1fr;
		column-gap: 16px;
		align-items: center;
		padding: 18px;
		text-align: left;
	}

	.hx-step-ic {
		grid-row: span 2;
		margin: 0;
	}

	.hx-step-n {
		display: none;
	}

	.hx-steps p {
		margin-top: 3px;
	}

	.hx-lst-head {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		margin-bottom: 20px;
	}

	.hx-lst-post {
		justify-content: center;
	}

	.hx-lst-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.hx-lst-card {
		padding: 18px;
		border-radius: 22px;
	}

	.hx-lst-name b {
		font-size: 18px;
	}

	.hx-lst-cats {
		margin-top: 16px;
	}

	.hx-lst-row {
		display: flex;
		gap: 10px;
		margin: 0 -16px;
		padding: 0 16px 4px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.hx-lst-row::-webkit-scrollbar {
		display: none;
	}

	.hx-lst-item {
		flex: 0 0 62%;
		scroll-snap-align: start;
	}

	.hx-lst-empty {
		flex-wrap: wrap;
		padding: 16px;
	}

	.hx-lst-empty-go {
		margin-left: 62px;
	}

	.hx-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.hx-tile {
		min-height: 0;
		padding: 18px;
		border-radius: 22px;
	}

	.hx-tile.is-tall {
		grid-row: auto;
	}

	.hx-tile.is-premium,
	.hx-tile.is-companies,
	.hx-tile.is-wide {
		grid-column: 1 / -1;
	}

	.hx-tile-ic {
		width: 44px;
		height: 44px;
		margin-bottom: 14px;
		border-radius: 14px;
	}

	.hx-tile > b {
		font-size: 16px;
	}

	.hx-tile-sub {
		font-size: 13.5px;
	}

	.hx-tile-go {
		padding-top: 14px;
		font-size: 13.5px;
	}

	.hx-tile-add {
		position: relative;
		right: auto;
		bottom: auto;
		align-self: flex-start;
		margin-top: 12px;
	}

	.hx-dir,
	.hx-dots,
	.hx-cards {
		display: none;
	}

	.hx-premium-list {
		margin-top: 16px;
	}

	.hx-tile.is-premium .hx-premium-list {
		margin-bottom: 18px;
	}

	.hx-band {
		padding: 32px 20px;
		border-radius: 26px;
	}

	.hx-faq {
		padding-bottom: 56px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.hx-aurora i,
	.hx-phone,
	.hx-float,
	.hx-grad,
	.hx-tile.is-premium::after {
		animation: none !important;
	}

	.hx-cid {
		animation: none !important;
		opacity: 1;
	}
}
