/* ==========================================================================
   Xiaomi Коледен календар
   ========================================================================== */

.xh {
	--xh-orange: #ff6900;
	--xh-orange-d: #e25d00;
	--xh-ink: #1d1b19;
	--xh-ink-2: #6b625a;
	--xh-cream: #fbf6ee;
	--xh-wall: #f6eee2;
	--xh-line: #e7dac6;
	--xh-snow: #ffffff;
	--xh-snow-s: #e6edf5;
	--xh-red: #c9372c;
	--xh-radius: 20px;
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	overflow: hidden;
	padding: 0 16px 80px;
	box-sizing: border-box;
	color: var(--xh-ink);
	font-family: inherit;
	line-height: 1.5;
	background:
		radial-gradient(circle at 8% 18%, rgba(255, 196, 92, .28) 0, transparent 90px),
		radial-gradient(circle at 92% 12%, rgba(255, 210, 120, .26) 0, transparent 130px),
		radial-gradient(circle at 86% 46%, rgba(255, 196, 92, .2) 0, transparent 70px),
		radial-gradient(circle at 12% 62%, rgba(255, 210, 120, .2) 0, transparent 110px),
		radial-gradient(1200px 600px at 50% 0%, #fff7ea 0%, transparent 70%),
		linear-gradient(180deg, #f4e9d8 0%, #f8f1e6 45%, #fdfaf5 100%);
}
.xh *,
.xh *::before,
.xh *::after {
	box-sizing: border-box;
}
.xh img {
	max-width: 100%;
	height: auto;
}

/* Falling snow (canvas added by JS). */
.xh-snow {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}
.xh-snow canvas {
	width: 100%;
	height: 100%;
	display: block;
}
.xh > *:not(.xh-snow):not(dialog) {
	position: relative;
	z-index: 1;
}

/* Buttons ------------------------------------------------------------------ */

.xh .xh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--xh-orange);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(255, 105, 0, .28);
	transition: background .2s, transform .2s, box-shadow .2s;
}
.xh .xh-btn:focus {
	background: var(--xh-orange);
	color: #fff;
}
.xh .xh-btn:hover {
	background: var(--xh-orange-d);
	transform: translateY(-1px);
}
.xh-btn:focus-visible {
	outline: 3px solid rgba(255, 105, 0, .4);
	outline-offset: 2px;
}
.xh .xh-btn--sm {
	min-height: 38px;
	padding: 0 18px;
	font-size: 14px;
}
.xh .xh-btn--ghost {
	background: transparent;
	color: var(--xh-ink);
	box-shadow: inset 0 0 0 1.5px var(--xh-ink);
}
.xh .xh-btn--ghost:focus {
	background: transparent;
	color: var(--xh-ink);
}
.xh .xh-btn--ghost:hover {
	background: var(--xh-ink);
	color: #fff;
}
.xh-btn--wide {
	width: 100%;
}
.xh-btn[disabled] {
	opacity: .6;
	pointer-events: none;
}

/* Notice ------------------------------------------------------------------- */

.xh-notice {
	max-width: 760px;
	margin: 24px auto 0;
	padding: 16px 20px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 6px 24px rgba(80, 50, 10, .08);
	border-left: 4px solid #2e9d5b;
	font-size: 15px;
}
.xh-notice--error {
	border-left-color: var(--xh-red);
}
.xh-notice--test {
	margin-top: 48px;
	position: relative;
	z-index: 2;
	background: #fff8e1;
	border-left-color: #dba617;
}
.xh-notice--test a {
	color: inherit;
	font-weight: 600;
}

/* Hero --------------------------------------------------------------------- */

.xh-hero {
	max-width: 820px;
	margin: 0 auto;
	padding: 64px 0 32px;
	text-align: center;
}
.xh-hero__eyebrow {
	display: inline-block;
	margin: 0 0 16px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 105, 0, .1);
	color: var(--xh-orange-d);
	font-size: 14px;
	font-weight: 600;
}
.xh-hero__title {
	margin: 0;
	font-size: clamp(30px, 5vw, 52px);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -.01em;
}
.xh-hero__lead {
	max-width: 620px;
	margin: 16px auto 0;
	color: var(--xh-ink-2);
	font-size: 17px;
}

/* House -------------------------------------------------------------------- */

.xh-house-wrap {
	padding: 24px 0 8px;
}
.xh-house {
	position: relative;
	max-width: 920px;
	margin: 0 auto;
	filter: drop-shadow(0 30px 40px rgba(90, 60, 20, .16));
}

/* Roof: snow-covered gable with Mi logo */
.xh-house__roof {
	position: relative;
	isolation: isolate;
	height: clamp(120px, 20vw, 200px);
	margin: 0 -4%;
}
.xh-house__roof::before {
	content: "";
	position: absolute;
	inset: 0;
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
	background:
		linear-gradient(160deg, transparent 48%, rgba(170, 190, 215, .35) 100%),
		linear-gradient(200deg, var(--xh-snow) 40%, var(--xh-snow-s) 100%);
}
.xh-house__roof::after {
	/* scalloped eave */
	content: "";
	position: absolute;
	left: 2%;
	right: 2%;
	bottom: -14px;
	height: 22px;
	background: radial-gradient(circle at 14px 0, var(--xh-snow) 13px, transparent 14px) 0 0 / 28px 22px repeat-x;
	filter: drop-shadow(0 3px 2px rgba(120, 140, 170, .25));
}
.xh-house__chimney {
	position: absolute;
	right: 22%;
	top: 18%;
	width: 7%;
	height: 32%;
	background: linear-gradient(90deg, #b5463a, #9c3a30);
	border-radius: 4px 4px 0 0;
	z-index: -1;
}
.xh-house__chimney::before {
	content: "";
	position: absolute;
	left: -14%;
	right: -14%;
	top: -10px;
	height: 16px;
	border-radius: 10px;
	background: var(--xh-snow);
}
.xh-house__logo {
	position: absolute;
	left: 50%;
	top: 46%;
	transform: translate(-50%, -50%);
	display: block;
	width: clamp(36px, 6vw, 56px);
	filter: drop-shadow(0 4px 10px rgba(255, 105, 0, .35));
}
.xh-house__logo img {
	display: block;
	width: 100%;
}

/* Walls */
.xh-house__body {
	position: relative;
	padding: clamp(28px, 4vw, 44px) clamp(14px, 4vw, 48px) 0;
	background:
		repeating-linear-gradient(90deg, transparent 0 46px, rgba(160, 130, 90, .07) 46px 47px),
		linear-gradient(180deg, var(--xh-cream), var(--xh-wall));
	border-left: 1px solid var(--xh-line);
	border-right: 1px solid var(--xh-line);
}
.xh-house__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(14px, 3vw, 36px) clamp(12px, 3vw, 40px);
}

/* Window */
.xh-win {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
}
.xh .xh-win__frame,
.xh .xh-win__frame:hover,
.xh .xh-win__frame:focus {
	background: none;
}
.xh .xh-win__frame {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1.08;
	padding: 0;
	border: clamp(6px, 1vw, 10px) solid #fff;
	border-radius: 10px 10px 4px 4px;
	background: none;
	cursor: pointer;
	perspective: 900px;
	box-shadow: 0 0 0 1px var(--xh-line), 0 10px 22px rgba(90, 60, 20, .12);
}
.xh-win__frame:focus-visible {
	outline: 3px solid rgba(255, 105, 0, .5);
	outline-offset: 3px;
}
.xh-win__inside {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 4px;
	background: radial-gradient(120% 90% at 50% 70%, #ffe7b8 0%, #f6c27a 45%, #c98a46 100%);
}
.xh-win__inside::after {
	/* window muntins */
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, transparent calc(50% - 2px), rgba(255, 255, 255, .9) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)),
		linear-gradient(180deg, transparent calc(50% - 2px), rgba(255, 255, 255, .9) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px));
	opacity: .55;
	pointer-events: none;
}
.xh-win__inside img {
	width: 86%;
	height: 86%;
	object-fit: contain;
	transform: scale(.9);
	transition: transform 1s cubic-bezier(.2, .8, .2, 1) .25s;
	filter: drop-shadow(0 10px 14px rgba(70, 40, 10, .35));
}

.xh-win__shutter {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50%;
	background: linear-gradient(180deg, #f6ecdc, #ead9bf);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7), inset 0 0 0 3px rgba(160, 120, 70, .18);
	transition: transform 1s cubic-bezier(.6, .05, .25, 1);
	z-index: 2;
}
.xh-win__shutter::before,
.xh-win__shutter::after {
	/* raised panels */
	content: "";
	position: absolute;
	left: 16%;
	right: 16%;
	border-radius: 3px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .05));
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .75), inset 0 0 0 3px rgba(160, 120, 70, .16), 0 1px 0 rgba(160, 120, 70, .12);
}
.xh-win__shutter::before {
	top: 9%;
	height: 34%;
}
.xh-win__shutter::after {
	top: 51%;
	bottom: 9%;
}
.xh-win__shutter--l {
	left: 0;
	transform-origin: left center;
	border-radius: 4px 0 0 4px;
}
.xh-win__shutter--r {
	right: 0;
	transform-origin: right center;
	border-radius: 0 4px 4px 0;
}
.xh-win__num {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: clamp(36px, 5vw, 50px);
	height: clamp(36px, 5vw, 50px);
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: #fff;
	color: var(--xh-orange);
	font-size: clamp(16px, 2.4vw, 22px);
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(90, 60, 20, .2), inset 0 0 0 2px rgba(255, 105, 0, .25);
	transition: opacity .25s, transform .25s;
}
.xh-win.is-open .xh-win__num {
	opacity: 0;
	transform: translate(-50%, -50%) scale(.6);
}
.xh-win:not(.is-open) .xh-win__frame:hover .xh-win__shutter--l {
	transform: rotateY(-12deg);
}
.xh-win:not(.is-open) .xh-win__frame:hover .xh-win__shutter--r {
	transform: rotateY(12deg);
}
.xh-win.is-open .xh-win__shutter--l {
	transform: rotateY(-72deg);
}
.xh-win.is-open .xh-win__shutter--r {
	transform: rotateY(72deg);
}
.xh-win.is-open .xh-win__inside img {
	transform: scale(1);
}

/* Snow on the sill */
.xh-win__sill {
	width: 112%;
	margin-left: -6%;
	height: 14px;
	margin-top: -4px;
	border-radius: 10px;
	background: linear-gradient(180deg, var(--xh-snow), var(--xh-snow-s));
	box-shadow: 0 4px 6px rgba(120, 140, 170, .25);
	position: relative;
	z-index: 3;
}

.xh-win__info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-height: 112px;
	padding-top: 12px;
	text-align: center;
	opacity: 0;
	transform: translateY(-6px);
	visibility: hidden;
	transition: opacity .4s .35s, transform .4s .35s, visibility 0s .35s;
}
.xh-win.is-open .xh-win__info {
	opacity: 1;
	transform: none;
	visibility: visible;
}
.xh-win__cat {
	color: var(--xh-ink-2);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.xh-win__prize {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}
.xh-win__prize b {
	color: var(--xh-orange);
}

/* Door + ground */
.xh-house__door {
	display: flex;
	justify-content: center;
	padding: 8px 0 0;
}
.xh-house__door > * {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: min(320px, 80%);
	min-height: 112px;
	padding: 28px 24px 22px;
	border-radius: 160px 160px 0 0;
	background: linear-gradient(180deg, #fff 0%, #f7efe2 100%);
	box-shadow: 0 0 0 1px var(--xh-line), inset 0 -10px 20px rgba(160, 120, 70, .08);
	color: var(--xh-ink);
}
.xh .xh-house__door .xh-btn {
	border-radius: 160px 160px 0 0;
	background: linear-gradient(180deg, #ff7a1a 0%, var(--xh-orange) 60%, var(--xh-orange-d) 100%);
	color: #fff;
	font-size: 18px;
	box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--xh-line), 0 -8px 30px rgba(255, 140, 40, .35);
}
.xh .xh-house__door .xh-btn:hover {
	transform: none;
	filter: brightness(1.05);
}
.xh-house__soon {
	font-weight: 600;
}
.xh-house__ground {
	height: 46px;
	margin: -2px -6% 0;
	border-radius: 0 0 50% 50% / 0 0 100% 100%;
	background: linear-gradient(180deg, var(--xh-snow) 0%, var(--xh-snow-s) 100%);
	box-shadow: 0 10px 20px rgba(120, 140, 170, .18);
}
.xh-house__hint {
	margin: 18px 0 0;
	text-align: center;
	color: var(--xh-ink-2);
	font-size: 14px;
}

/* Sections ----------------------------------------------------------------- */

.xh-h2 {
	margin: 0 0 20px;
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.2;
	font-weight: 700;
	text-align: center;
}
.xh-steps {
	max-width: 1100px;
	margin: 64px auto 0;
}
.xh-steps__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.xh-steps__list li {
	display: flex;
	gap: 14px;
	padding: 22px;
	border-radius: var(--xh-radius);
	background: rgba(255, 255, 255, .85);
	box-shadow: 0 6px 24px rgba(80, 50, 10, .06);
	font-size: 15px;
	color: var(--xh-ink-2);
}
.xh-steps__list b {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--xh-orange);
	color: #fff;
}
.xh-steps__list strong {
	color: var(--xh-ink);
}

.xh-card {
	max-width: 760px;
	margin: 48px auto 0;
	padding: clamp(22px, 4vw, 40px);
	border-radius: var(--xh-radius);
	background: #fff;
	box-shadow: 0 10px 40px rgba(80, 50, 10, .08);
}
.xh-card > p {
	margin: -8px 0 20px;
	text-align: center;
	color: var(--xh-ink-2);
}
.xh-friend,
.xh-bonus {
	border: 2px solid rgba(255, 105, 0, .25);
	text-align: center;
}
.xh-bonus .xh-form {
	margin-top: 8px;
}
.xh-bonus .xh-btn,
.xh-status__result .xh-btn {
	display: block;
	margin: 0 auto;
}
.xh-status__result h3 {
	margin: 24px 0 8px;
	font-size: 17px;
}
.xh-status__result .xh-muted {
	margin: 0 0 12px;
	color: var(--xh-ink-2);
	font-size: 14px;
}
.xh-bonuses {
	margin: 0;
	padding: 0;
	list-style: none;
}
.xh-bonuses li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 10px 0;
	border-top: 1px solid #ece3d6;
}
.xh-bonuses select {
	flex: 1;
	min-width: 160px;
}
.xh-bonuses .xh-btn {
	margin: 0;
}
.xh-invite {
	display: grid;
	gap: 8px;
}
.xh-ok {
	margin: 12px 0 0;
	color: #1e7a45;
	font-weight: 600;
}
.xh-status .xh-form {
	text-align: center;
}
.xh-status__result {
	margin-top: 24px;
	padding: 20px;
	border-radius: 14px;
	background: #faf6ef;
}
.xh-status__result dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 16px;
	margin: 0;
}
.xh-status__result dt {
	color: var(--xh-ink-2);
}
.xh-status__result dd {
	margin: 0;
	font-weight: 600;
}
.xh-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	background: #eee;
	font-size: 14px;
}
.xh-badge--approved {
	background: #e3f5ea;
	color: #1e7a45;
}
.xh-badge--rejected {
	background: #fde8e6;
	color: var(--xh-red);
}
.xh-badge--pending_review,
.xh-badge--pending_email {
	background: #fff1e0;
	color: #a65300;
}
.xh-share {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}
.xh-share input {
	flex: 1;
	min-width: 0;
}

/* Forms -------------------------------------------------------------------- */

.xh-form {
	text-align: left;
}
.xh-fs {
	margin: 0 0 22px;
	padding: 0;
	border: 0;
}
.xh-fs legend {
	margin-bottom: 12px;
	padding: 0;
	font-size: 17px;
	font-weight: 700;
}
.xh-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 14px;
}
.xh-row[hidden] {
	display: none;
}
.xh-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	text-align: left;
}
.xh-field__label {
	font-size: 14px;
	font-weight: 600;
}
.xh-field__help {
	color: var(--xh-ink-2);
	font-size: 12px;
	line-height: 1.4;
}
.xh input[type="text"],
.xh input[type="email"],
.xh input[type="tel"],
.xh input[type="date"],
.xh select {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1.5px solid #ddd3c5;
	border-radius: 12px;
	background: #fff;
	color: var(--xh-ink);
	font: inherit;
	font-size: 16px;
	transition: border-color .2s, box-shadow .2s;
}
.xh input:focus,
.xh select:focus {
	outline: 0;
	border-color: var(--xh-orange);
	box-shadow: 0 0 0 3px rgba(255, 105, 0, .15);
}
.xh .is-invalid input,
.xh .is-invalid select,
.xh input.is-invalid {
	border-color: var(--xh-red);
}
.xh-form__error {
	display: block;
	min-height: 0;
	color: var(--xh-red);
	font-size: 13px;
	line-height: 1.35;
}
.xh-form__error:empty {
	display: none;
}
p.xh-form__error {
	margin: 0 0 12px;
}
.xh-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Category picker */
.xh-cats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.xh-cat input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.xh-cat__box {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 100%;
	padding: 8px 12px 8px 8px;
	border: 1.5px solid #e6dccd;
	border-radius: 14px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	cursor: pointer;
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.xh-cat__box img {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	object-fit: contain;
	border-radius: 10px;
	background: radial-gradient(circle at 50% 60%, #fff1d6, #f6dcb0);
}
.xh-cat input:checked + .xh-cat__box {
	border-color: var(--xh-orange);
	background: #fff7f0;
	box-shadow: 0 0 0 3px rgba(255, 105, 0, .15);
}
.xh-cat input:focus-visible + .xh-cat__box {
	outline: 3px solid rgba(255, 105, 0, .4);
}

/* Person / company switch */
.xh-seg {
	display: inline-flex;
	margin-bottom: 14px;
	padding: 4px;
	border-radius: 999px;
	background: #f2ebe0;
}
.xh-seg label {
	position: relative;
	cursor: pointer;
}
.xh-seg input {
	position: absolute;
	opacity: 0;
}
.xh-seg span {
	display: block;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--xh-ink-2);
	transition: background .2s, color .2s;
}
.xh-seg input:checked + span {
	background: #fff;
	color: var(--xh-ink);
	box-shadow: 0 2px 8px rgba(80, 50, 10, .1);
}
.xh-seg input:focus-visible + span {
	outline: 2px solid var(--xh-orange);
}

/* File input */
.xh-file input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.xh-file__ui {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 48px;
	padding: 6px 14px;
	border: 1.5px dashed #d2c3ad;
	border-radius: 12px;
	background: #fffaf3;
	cursor: pointer;
	line-height: 1.25;
}
.xh-file__name {
	font-weight: 600;
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.xh-file__ui small {
	color: var(--xh-ink-2);
	font-size: 12px;
}
.xh-file input:focus-visible + .xh-file__ui {
	border-color: var(--xh-orange);
}
.xh-file.has-file .xh-file__ui {
	border-style: solid;
	border-color: #2e9d5b;
}

/* Consents */
.xh-consents {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 6px 0 18px;
}
.xh-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 1.45;
	cursor: pointer;
}
.xh-check input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--xh-orange);
}
.xh-check a {
	color: var(--xh-orange-d);
}
.xh-check small {
	color: var(--xh-ink-2);
}

/* Modal -------------------------------------------------------------------- */

.xh-modal {
	width: min(760px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	padding: 0;
	border: 0;
	border-radius: 24px;
	background: #fff;
	color: var(--xh-ink);
	box-shadow: 0 30px 80px rgba(40, 20, 0, .3);
	overflow: auto;
	overscroll-behavior: contain;
}
.xh-modal::backdrop {
	background: rgba(40, 28, 15, .55);
	backdrop-filter: blur(3px);
}
.xh-modal[open] {
	animation: xh-pop .35s cubic-bezier(.2, .8, .2, 1);
}
@keyframes xh-pop {
	from {
		opacity: 0;
		transform: translateY(16px) scale(.98);
	}
}
.xh-modal__box {
	position: relative;
	padding: 36px clamp(18px, 4vw, 40px) 32px;
}
.xh-modal__title {
	margin: 0 0 24px;
	font-size: 26px;
	font-weight: 700;
}
.xh .xh-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #f2ebe0;
	color: var(--xh-ink);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
.xh .xh-modal__close:focus {
	background: #f2ebe0;
	color: var(--xh-ink);
}
.xh .xh-modal__close:hover {
	background: #e8dece;
}
.xh-done {
	padding: 24px 0 8px;
	text-align: center;
}
.xh-done__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #e3f5ea;
	color: #1e7a45;
	font-size: 36px;
}
.xh-done h3 {
	margin: 0 0 8px;
	font-size: 24px;
}
.xh-done p {
	color: var(--xh-ink-2);
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 1023px) {
	.xh-steps__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.xh {
		padding-bottom: 56px;
	}
	.xh-hero {
		padding: 40px 0 16px;
	}
	.xh-hero__lead {
		font-size: 15px;
	}
	.xh-house__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.xh-house__roof::after {
		background-size: 20px 16px;
		background-image: radial-gradient(circle at 10px 0, var(--xh-snow) 9px, transparent 10px);
		height: 16px;
		bottom: -10px;
	}
	.xh-win__info {
		min-height: 104px;
	}
	.xh-win__prize {
		font-size: 14px;
	}
	.xh-win__cat {
		font-size: 11px;
	}
	.xh .xh-win .xh-btn--sm {
		min-height: 34px;
		padding: 0 12px;
		font-size: 13px;
	}
	.xh-house__door > * {
		min-height: 92px;
		min-width: 74%;
	}
	.xh .xh-house__door .xh-btn {
		font-size: 16px;
	}
	.xh-steps {
		margin-top: 40px;
	}
	.xh-steps__list {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.xh-steps__list li {
		padding: 16px;
	}
	.xh-row {
		grid-template-columns: 1fr;
	}
	.xh-cats {
		grid-template-columns: repeat(2, 1fr);
	}
	.xh-modal {
		width: 100vw;
		max-width: 100vw;
		height: 100%;
		max-height: 100%;
		margin: 0;
		border-radius: 0;
	}
	.xh-modal__box {
		padding-top: 28px;
	}
	.xh-modal__title {
		font-size: 22px;
		padding-right: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.xh-win__shutter,
	.xh-win__inside img,
	.xh-win__info {
		transition: none;
	}
	.xh-modal[open] {
		animation: none;
	}
}

/* Photo key visual with window hot spots ---------------------------------- */

.xh-hero--hidden,
.xh-hero--hidden-pc {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.xh-kv {
	position: relative;
	z-index: 1;
	max-width: 1400px;
	margin: 0 auto;
}
.xh-kv__stage {
	position: relative;
	overflow: hidden;
	border-radius: var(--xh-radius);
	box-shadow: 0 20px 60px rgba(80, 50, 10, .15);
}
.xh-kv picture,
.xh-kv__img {
	display: block;
	width: 100%;
	height: auto;
}
.xh .xh-spot {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: var(--w);
	height: var(--h);
	clip-path: var(--clip, none);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.xh .xh-spot:focus,
.xh .xh-spot:hover,
.xh .xh-spot:active {
	background: transparent !important; /* theme paints button:hover solid */
	box-shadow: none !important;
	outline: none;
}
.xh .xh-spot:focus-visible {
	outline: 3px solid var(--xh-orange);
	outline-offset: 2px;
}
.xh-spot__label {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 6px;
	border-radius: inherit;
	background: rgba(255, 105, 0, .5);
	text-shadow: 0 1px 3px rgba(120, 40, 0, .45);
	color: #fff;
	font-size: clamp(11px, 1.15vw, 16px);
	line-height: 1.25;
	text-align: center;
	opacity: 0;
	transform: scale(.96);
	transition: opacity .25s, transform .25s;
}
.xh-spot__label b {
	font-weight: 700;
}
.xh-spot__label em {
	margin-top: 6px;
	padding: 3px 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--xh-orange);
	font-size: .85em;
	font-style: normal;
	font-weight: 700;
}
.xh-spot:focus-visible .xh-spot__label,
.xh-spot.is-active .xh-spot__label {
	opacity: 1;
	transform: none;
}
.xh-kv .xh-house__door {
	margin-top: 24px;
}
.xh-hint--touch {
	display: none;
}
@media (hover: hover) {
	.xh-spot:hover .xh-spot__label {
		opacity: 1;
		transform: none;
	}
}
@media (hover: none) {
	.xh-hint--hover {
		display: none;
	}
	.xh-hint--touch {
		display: inline;
	}
}
@media (max-width: 767px) {
	.xh-hero--hidden-pc {
		position: static !important;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
		white-space: normal;
	}
	.xh-kv__stage {
		margin: 0 -16px;
		border-radius: 0;
	}
	.xh-kv__stage.has-mobile .xh-spot {
		left: var(--xm, var(--x));
		top: var(--ym, var(--y));
		width: var(--wm, var(--w));
		height: var(--hm, var(--h));
		clip-path: var(--clipm, var(--clip, none));
	}
	.xh-spot__label {
		font-size: 11px;
		padding: 3px;
	}
	.xh-spot__label em {
		margin-top: 3px;
		padding: 2px 8px;
	}
}

/* Photo key visual: the photo's white melts into the page background ------- */

.xh.xh--kv .xh-snow {
	z-index: 5; /* above the KV: under it the multiply blend would swallow the white flakes */
}
.xh.xh--kv .xh-kv {
	max-width: 1600px;
	z-index: auto;
}
.xh--kv .xh-kv__stage {
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}
.xh--kv .xh-kv__img {
	mix-blend-mode: multiply;
}

.xh-spot__label {
	white-space: normal;
	overflow-wrap: anywhere;
}
.xh-spot--poly .xh-spot__label {
	padding-top: 30%;
}
/* Keep our label clear of the prize caption printed in the photo. */
.xh-spot[data-cat="robot"] .xh-spot__label {
	justify-content: flex-end;
	padding-bottom: 14%;
}
.xh-spot[data-cat="stick"] .xh-spot__label {
	justify-content: flex-start;
	padding-top: 14%;
}

.xh-terms {
	margin: 40px 0 0;
	text-align: center;
}
.xh .xh-terms-btn {
	min-height: 0;
	padding: 10px 26px;
	font-size: 15px;
	font-weight: 600;
}
.xh-field-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.xh-field[hidden] {
	display: none;
}

/* KV headline as live text over the photo (sized to the image width) ------- */
.xh-kv__stage {
	container-type: inline-size;
}
.xh-kv__text {
	position: absolute;
	left: 3.5%;
	top: 6.6%;
	z-index: 2;
	max-width: 36.5%;
	margin: 0;
	padding: 0;
	text-align: left;
	pointer-events: none;
}
.xh .xh-kv__title {
	margin: 0;
	color: var(--xh-orange);
	font-family: "MiSans Latin", var(--xm-font, sans-serif);
	font-size: 3.35cqw;
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: -.01em;
}
.xh .xh-kv__sub {
	margin: .45em 0 0;
	font-family: "MiSans Latin", var(--xm-font, sans-serif);
	color: #1d1d1f;
	font-size: 2.05cqw;
	font-weight: 400;
	line-height: 1.2;
}
.xh .xh-kv__dates {
	margin: .25em 0 0;
	color: #1d1d1f;
	font-family: "MiSans Latin", var(--xm-font, sans-serif);
	font-size: 1.6cqw;
	font-weight: 900;
	line-height: 1.2;
}
@media (max-width: 767px) {
	.xh-kv__stage.has-mobile .xh-kv__text {
		left: 8%;
		top: 10.6%;
		max-width: 86%;
	}
	.xh-kv__stage.has-mobile .xh-kv__title { font-size: 6.3cqw; }
	.xh-kv__stage.has-mobile .xh-kv__sub { font-size: 4.1cqw; }
	.xh-kv__stage.has-mobile .xh-kv__dates { font-size: 3.2cqw; }
}

.xh-row[hidden] {
	display: none !important;
}
.xh-check--price {
	align-self: center;
}

/* Searchable product picker ------------------------------------------------ */
.xh-combo {
	position: relative;
}
.xh .xh-combo__select {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}
.xh .xh-combo__input {
	padding-right: 38px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l3.5 3.5'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.xh-combo__list {
	position: absolute;
	top: 76px;
	left: 0;
	right: 0;
	z-index: 20;
	max-height: 280px;
	margin: 0;
	padding: 6px 0;
	overflow-y: auto;
	list-style: none;
	border: 1.5px solid #ddd3c5;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(60, 40, 10, .16);
}
.xh-combo__list[hidden] {
	display: none;
}
.xh-combo__group {
	padding: 8px 14px 4px;
	color: var(--xh-ink-2);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.xh-combo__opt {
	padding: 9px 14px;
	font-size: 15px;
	cursor: pointer;
}
.xh-combo__opt:hover,
.xh-combo__opt.is-active {
	background: rgba(255, 105, 0, .1);
}
.xh-combo__opt.is-selected {
	color: var(--xh-orange);
	font-weight: 600;
}
.xh-combo__none {
	padding: 9px 14px;
	color: var(--xh-ink-2);
	font-size: 14px;
}

/* Optional invite note + participating products --------------------------- */
.xh-steps__bonus {
	margin: 16px 0 0;
	padding: 14px 18px;
	border-radius: var(--xh-radius);
	background: rgba(255, 255, 255, .6);
	color: var(--xh-ink-2);
	font-size: 14px;
	line-height: 1.5;
}
.xh-steps__bonus strong {
	color: var(--xh-ink);
}
.xh-steps a,
.xh-products a {
	color: var(--xh-orange);
}
.xh-products {
	max-width: 1100px;
	margin: 56px auto 0;
}
.xh-products__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 16px;
}
.xh-products__col {
	padding: 22px;
	border-radius: var(--xh-radius);
	background: rgba(255, 255, 255, .85);
	box-shadow: 0 6px 24px rgba(80, 50, 10, .06);
	text-align: left;
}
.xh .xh-products__col h3 {
	margin: 0 0 8px;
	color: var(--xh-ink);
	font-size: 16px;
	font-weight: 700;
}
.xh .xh-products__col p {
	margin: 0;
	color: var(--xh-ink-2);
	font-size: 14px;
	line-height: 1.6;
}
.xh .xh-products__note {
	margin: 14px 0 0;
	color: var(--xh-ink-2);
	font-size: 14px;
	text-align: center;
}
@media (max-width: 860px) {
	.xh-products__grid {
		grid-template-columns: 1fr;
	}
}

/* Round 2: prize model on tiles, bigger CTA, invite emphasis ----------------- */
.xh-cat__txt {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.xh-cat__model {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--xh-ink-2);
}
.xh .xh-kv .xh-house__door .xh-btn,
.xh .xh-house__door .xh-btn {
	min-height: 64px;
	padding: 0 52px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .01em;
}
.xh-invite-cta {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 20px 0 0;
	padding: 18px 22px;
	border: 2px solid var(--xh-orange);
	border-radius: var(--xh-radius);
	background: #fff;
	box-shadow: 0 10px 30px rgba(255, 105, 0, .12);
	text-align: left;
}
.xh-invite-cta__badge {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--xh-orange);
	color: #fff;
	font-size: 22px;
	font-weight: 800;
}
.xh-invite-cta__txt strong {
	display: block;
	margin-bottom: 4px;
	font-size: 18px;
	color: var(--xh-ink);
}
.xh-invite-cta__txt p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--xh-ink-2);
}
.xh-invite-cta .xh-btn {
	flex: 0 0 auto;
}
.xh-invite-fs {
	padding: 16px 18px;
	border: 1.5px dashed var(--xh-orange);
	border-radius: 14px;
	background: #fff7f0;
}
.xh-invite-fs legend {
	padding: 0 6px;
}
.xh-opt {
	font-size: 12px;
	font-weight: 500;
	color: var(--xh-ink-2);
}
.xh-invite-fs__lead {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.5;
}
.xh-invite-fs__lead b {
	color: var(--xh-orange);
}
.xh-invite-fs__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.xh-invite-fs__list input {
	width: 100%;
	min-height: 44px;
	padding: 0 14px;
	border: 1.5px solid #e6dccd;
	border-radius: 12px;
	background: #fff;
	font: inherit;
}
.xh .xh-invite-fs__more {
	margin-top: 8px;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--xh-orange);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.xh .xh-invite-fs__more:hover,
.xh .xh-invite-fs__more:focus {
	background: none;
	color: var(--xh-orange-d);
	text-decoration: underline;
}
.xh-done__invite {
	padding: 10px 14px;
	border-radius: 12px;
	background: #fff7f0;
	color: var(--xh-ink);
	font-weight: 600;
}
@media (max-width: 767px) {
	.xh-invite-cta {
		flex-direction: column;
		align-items: flex-start;
	}
	.xh-invite-fs__list {
		grid-template-columns: 1fr;
	}
	.xh .xh-kv .xh-house__door .xh-btn,
	.xh .xh-house__door .xh-btn {
		min-height: 58px;
		padding: 0 36px;
		font-size: 18px;
	}
}

/* Product disclaimer */
.xh-disclaimer{margin:8px auto 0;max-width:640px;text-align:center;font-size:12px;line-height:1.4;opacity:.7}
.xh-disclaimer--form{margin:8px 0 0;text-align:left}
