/** @format */

@font-face {
	font-family: 'Futura PT';
	src: url('./fonts/FuturaCyrillicBook.ttf?v=v0.58') format('truetype');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'Futura PT';
	src: url('./fonts/FuturaCyrillicMedium.ttf?v=v0.58') format('truetype');
	font-style: normal;
	font-weight: 450;
	font-display: swap;
}

@font-face {
	font-family: 'Futura PT';
	src: url('./fonts/FuturaCyrillicDemi.ttf?v=v0.58') format('truetype');
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: 'Futura PT';
	src: url('./fonts/FuturaCyrillicBold.ttf?v=v0.58') format('truetype');
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

:root {
	--SHADOW-BOX: 0px 0px 0px 0px rgba(34, 60, 80, 0.2);
	--HEIGHT-LOADBAR: 27px;
	--FONT-FAMILY: 'Futura PT', Arial, Helvetica, sans-serif;
	--SCREEN-BACKGROUND-COLOR: #00824c;
	--SCREEN-BACKGROUND: url('./img/background.png?v=v0.58');
}
canvas:focus {
	outline: none;
}

html,
body {
	padding: 0;
	margin: 0;
	overflow: hidden;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	height: 100%;
	background-color: var(--SCREEN-BACKGROUND-COLOR);
	background-image: var(--SCREEN-BACKGROUND);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	font-family: var(--FONT-FAMILY);
	font-synthesis: none;
}

#unity-container {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: var(--SCREEN-BACKGROUND-COLOR);
	background-image: var(--SCREEN-BACKGROUND);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#unity-canvas {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	-webkit-box-shadow: var(--SHADOW-BOX);
	-moz-box-shadow: var(--SHADOW-BOX);
	box-shadow: var(--SHADOW-BOX);
}
/* Экран загрузки */
#unity-loading-bar {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	min-height: 100svh;
	background-color: var(--SCREEN-BACKGROUND-COLOR);
	background-image: var(--SCREEN-BACKGROUND);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

#unity-logo {
	position: absolute;
	top: 20%;
	left: 54%;
	transform: translateX(-50%);
	width: min(324px, calc(100vw - 79px));
	aspect-ratio: 324 / 404.76;
	pointer-events: none;
	z-index: 2;
}

.loader-logo-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: none;
}

#unity-loader-footer {
	position: absolute;
	left: 50%;
	bottom: calc(clamp(72px, 13.5vh, 106px) + env(safe-area-inset-bottom));
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(275px, calc(100vw - 64px));
	box-sizing: border-box;
	z-index: 3;
}

#unity-loader-text {
	width: 100%;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-bottom: 12px;
}

#unity-loader-text p {
	width: 100%;
	margin: 0;
	font-family: var(--FONT-FAMILY);
	font-size: 16px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0;
	max-height: 32px;
	color: #ffffff;
	opacity: 0;
	overflow: hidden;
	transition: opacity 0.5s ease;
}

/* Контейнер полосы загрузки */
.loading-container {
	position: relative;
	width: 100%;
	height: 27.33px;
	background-color: #0fc177;
	border-radius: 13.25px;
	overflow: hidden;
	display: block;
	box-sizing: border-box;
	box-shadow:
		0 7px 16px rgba(0, 112, 64, 0.28),
		inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.loading-container::before {
	content: '';
	position: absolute;
	top: 5.8px;
	left: 6.63px;
	width: calc(100% - 13.26px);
	height: 15.74px;
	background-color: #ff8707;
	border-radius: 13.25px;
}

/* Полоса прогресса */
.loading-bar {
	position: absolute;
	top: 5.8px;
	left: 6.63px;
	height: 15.74px;
	width: 0%;
	max-width: calc(100% - 13.26px);
	background: linear-gradient(90deg, #ffd530 0%, #ffc319 100%);
	border-radius: 13.25px;
	transition: width 0.3s ease;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	z-index: 1;
}

.loading-bar::before {
	content: '';
	position: absolute;
	top: -2px;
	left: 2.5px;
	width: 12px;
	height: 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	filter: blur(1px);
}

.overlay {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	background-color: var(--SCREEN-BACKGROUND-COLOR);
	background-image: var(--SCREEN-BACKGROUND);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 9999;
	display: none;
	overflow: hidden;
}

.error {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	background-color: var(--SCREEN-BACKGROUND-COLOR);
	background-image: var(--SCREEN-BACKGROUND);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 10000;
	display: none;
	overflow: hidden;
}

.error-dialog {
	position: absolute;
	top: calc(50% - 8px);
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(82.7vw, 310px);
	text-align: center;
	box-sizing: border-box;
}

.error-header {
	position: relative;
	z-index: 2;
	width: 100%;
	height: auto;
	pointer-events: none;
}

.error-header-image {
	display: block;
	width: 100%;
	height: auto;
}

.error-header h1 {
	position: absolute;
	top: 10px;
	left: 0;
	right: 0;
	transform: none;
	margin: 0;
	padding: 0 70px;
	box-sizing: border-box;
	color: #ffffff;
	font-family: var(--FONT-FAMILY);
	font-size: 24px;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 0;
	text-align: center;
	text-shadow:
		0 3px 0 rgba(158, 24, 82, 0.72),
		0 5px 8px rgba(102, 0, 48, 0.22);
	white-space: nowrap;
}

.error-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 1;
	margin-top: -62px;
	padding: 56px 12px 12px;
	min-height: 246px;
	gap: 8px;
	background: #ffe1af;
	border-radius: 36px;
	box-sizing: border-box;
	box-shadow:
		0 7px 0 #d4a84d,
		0 15px 26px rgba(0, 88, 49, 0.16);
	overflow: hidden;
}

.error-card::before {
	content: '';
	position: absolute;
	top: 12px;
	right: 12px;
	bottom: 12px;
	left: 12px;
	z-index: 0;
	border-radius: 30px;
	background: rgba(255, 243, 212, 0.86);
	pointer-events: none;
}

.error-copy,
.error-button {
	position: relative;
	z-index: 1;
}

.error-copy {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0 0 6px;
	color: #645555;
	font-family: var(--FONT-FAMILY);
	font-size: 16px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 0;
	text-align: center;
}

.error-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(234px, calc(100% - 24px));
	height: 43px;
	margin: 0 auto;
	padding: 0 16px 8px;
	border: 0;
	box-sizing: border-box;
	appearance: none;
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	color: #ffffff;
	cursor: pointer;
	font-family: var(--FONT-FAMILY);
	font-size: 16px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0;
	text-align: center;
	text-shadow: 0 2px 0 rgba(0, 106, 64, 0.22);
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.error-button + .error-button {
	margin-top: 0;
}

.error-button:active {
	transform: translateY(2px);
}

.error-button:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.82);
	outline-offset: 2px;
}

.error-button-reload {
	background-image: url('./img/greebButton.png?v=v0.58');
}

.error-button-exit {
	background-image: url('./img/pinkButton.png?v=v0.58');
	text-shadow: 0 2px 0 rgba(155, 0, 70, 0.25);
}

.qr-flow {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	min-height: 100svh;
	background-color: var(--SCREEN-BACKGROUND-COLOR);
	background-image: var(--SCREEN-BACKGROUND);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 10001;
	display: none;
	overflow-x: hidden;
	overflow-y: auto;
}

.qr-flow.is-open {
	display: block;
}

.qr-shell {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: 430px;
	width: min(100vw, 430px);
	height: 100%;
	min-height: 520px;
	margin: 0 auto;
	background-color: var(--SCREEN-BACKGROUND-COLOR);
	background-image: var(--SCREEN-BACKGROUND);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow-x: hidden;
	overflow-y: auto;
}

.qr-title-pill {
	position: absolute;
	top: max(52px, calc(env(safe-area-inset-top) + 16px));
	left: 50%;
	z-index: 3;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 149px;
	height: 42px;
	padding: 8px 32px 12px;
	box-sizing: border-box;
	border-radius: 12px;
	background: linear-gradient(180deg, #96f0ff 0%, #41b6e6 100%);
	box-shadow:
		inset 0 3px 0 rgba(255, 255, 255, 0.45),
		0 5px 0 #0874b1,
		0 10px 14px rgba(0, 78, 80, 0.24);
	color: #ffffff;
	font-family: var(--FONT-FAMILY);
	font-size: 28px;
	font-weight: 700;
	line-height: 26px;
	text-shadow: 0 2px 0 rgba(0, 105, 159, 0.35);
	white-space: nowrap;
}

.qr-close-button {
	position: absolute;
	top: max(55px, calc(env(safe-area-inset-top) + 19px));
	left: calc(50% + 108px);
	right: auto;
	z-index: 5;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background-color: transparent;
	background-image: url('./img/popupCloseButton.png?v=v0.58');
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
	appearance: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.qr-close-button::before,
.qr-close-button::after {
	content: '';
	position: absolute;
	top: 17px;
	left: 10px;
	width: 20px;
	height: 6px;
	border-radius: 999px;
	background: #ffffff;
}

.qr-close-button::before {
	transform: rotate(45deg);
}

.qr-close-button::after {
	transform: rotate(-45deg);
}

.qr-close-button:active,
.qr-button:active {
	transform: translateY(2px);
}

.qr-flow.is-result .qr-close-button {
	z-index: 3;
	pointer-events: none;
}

.qr-scanner-content {
	position: absolute;
	top: 118px;
	top: clamp(118px, 20vh, 187px);
	top: clamp(118px, 20svh, 187px);
	left: 50%;
	z-index: 2;
	transform: translateX(-50%);
	width: 310px;
	max-width: calc(100vw - 40px);
	width: min(310px, calc(100vw - 40px));
	transition:
		opacity 160ms ease,
		filter 160ms ease;
}

.qr-flow.is-result .qr-scanner-content {
	opacity: 0.4;
	filter: brightness(0.5);
}

.qr-scan-card {
	height: 381px;
	min-height: 381px;
	max-height: none;
	padding: 12px;
	border-radius: 36px;
	background: linear-gradient(180deg, #96f0ff 0%, #41b6e6 100%);
	box-shadow:
		0 7px 0 #0874b1,
		0 16px 24px rgba(0, 64, 54, 0.26);
	box-sizing: border-box;
}

@media screen and (max-height: 520px) {
	.qr-shell {
		min-height: 520px;
	}

	.qr-title-pill {
		top: max(42px, calc(env(safe-area-inset-top) + 12px));
	}

	.qr-close-button {
		top: max(45px, calc(env(safe-area-inset-top) + 17px));
	}

	.qr-scanner-content {
		top: 104px;
	}

	.qr-scan-card {
		height: 381px;
		min-height: 381px;
	}
}

.qr-scan-card-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 20px 16px 16px;
	border-radius: 30px;
	background: #f9e8c5;
	box-sizing: border-box;
	text-align: center;
}

.qr-scan-title {
	margin: 0 0 14px;
	color: #645555;
	font-family: var(--FONT-FAMILY);
	font-size: 24px;
	font-weight: 700;
	line-height: 25px;
	letter-spacing: 0;
	text-align: center;
}

.qr-camera-frame {
	position: relative;
	width: 262px;
	max-width: 100%;
	width: min(100%, 262px);
	height: 262px;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	border-radius: 20px;
	background: #f7f7f7;
	overflow: hidden;
}

.qr-video,
.qr-canvas,
.qr-camera-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.qr-video {
	display: block;
	visibility: visible;
	object-fit: cover;
	background: #000000;
	z-index: 1;
	opacity: 0;
	transform: translateZ(0);
	transition: opacity 160ms ease;
}

.qr-flow.is-camera-ready .qr-video {
	opacity: 1;
}

.qr-canvas {
	display: none;
}

.qr-camera-placeholder {
	z-index: 0;
	display: block;
	background: #f7f7f7;
}

.qr-flow.is-camera-ready .qr-camera-placeholder {
	display: none;
}

.qr-scan-line {
	position: absolute;
	left: 8%;
	right: 8%;
	top: 50%;
	z-index: 2;
	height: 4px;
	border-radius: 999px;
	background: #ff3b4c;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.qr-scan-message {
	display: none;
}

.qr-flow.is-file-fallback .qr-camera-frame {
	display: none;
}

.qr-flow.is-file-fallback .qr-scan-card-inner {
	justify-content: center;
}

.qr-file-fallback {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 12px;
	margin-top: 4px;
}

.qr-flow.is-file-fallback .qr-file-fallback {
	display: flex;
}

.qr-file-copy {
	margin: 0;
	color: #645555;
	font-family: var(--FONT-FAMILY);
	font-size: 16px;
	font-weight: 500;
	line-height: 17px;
	text-align: center;
}

.qr-file-button {
	position: relative;
	overflow: hidden;
}

.qr-file-button-text {
	position: relative;
	z-index: 1;
	pointer-events: none;
}

.qr-file-input {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	pointer-events: auto;
}

.qr-result-layer {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 46px 24px 30px;
	box-sizing: border-box;
	background: rgba(0, 25, 14, 0.54);
}

.qr-result-layer.is-visible {
	display: block;
}

.qr-result-card {
	position: absolute;
	top: 173.5px;
	left: 50%;
	transform: translateX(-50%);
	width: 310px;
	max-width: calc(100vw - 50px);
	height: 270px;
	text-align: center;
}

.qr-result-header {
	position: relative;
	z-index: 2;
	width: 100%;
	pointer-events: none;
}

.qr-result-header-image {
	display: block;
	width: 100%;
	height: auto;
}

.qr-result-header h2 {
	position: absolute;
	top: 30px;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0 76px;
	box-sizing: border-box;
	color: #ffffff;
	font-family: var(--FONT-FAMILY);
	font-size: 24px;
	font-weight: 700;
	line-height: 24px;
	text-align: center;
	text-shadow:
		0 3px 0 rgba(158, 24, 82, 0.72),
		0 5px 8px rgba(102, 0, 48, 0.22);
	white-space: nowrap;
}

.qr-result-card:not(.is-success) .qr-result-header h2 {
	top: 24px;
}

.qr-result-card.is-success .qr-result-header h2 {
	top: 20px;
	left: 0;
	right: 0;
	width: 100%;
	padding-right: 0;
	padding-left: 0;
	text-align: center;
	text-shadow:
		0 3px 0 rgba(0, 129, 182, 0.62),
		0 5px 8px rgba(0, 61, 92, 0.22);
}

.qr-result-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: -62px;
	padding: 70px 12px 16px;
	min-height: 224px;
	gap: 8px;
	border-radius: 32px;
	background: #ffe1af;
	box-sizing: border-box;
	box-shadow:
		0 7px 0 #d4a84d,
		0 15px 26px rgba(0, 88, 49, 0.16);
	overflow: hidden;
}

.qr-result-body::before {
	content: '';
	position: absolute;
	inset: 12px;
	z-index: 0;
	border-radius: 25px;
	background: rgba(255, 243, 212, 0.86);
	pointer-events: none;
}

.qr-result-copy,
.qr-rewards,
.qr-button {
	position: relative;
	z-index: 1;
}

.qr-result-copy {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	margin: 0 0 2px;
	color: #645555;
	font-family: var(--FONT-FAMILY);
	font-size: 14px;
	font-weight: 500;
	line-height: 15px;
	text-align: center;
}

.qr-rewards {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 2px;
}

.qr-result-card.is-success .qr-rewards {
	display: flex;
}

.qr-reward-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 75px;
	min-width: 75px;
	height: 33px;
	padding: 4px 6px;
	border: 3px solid transparent;
	border-radius: 30px;
	background:
		linear-gradient(#ffffff, #ffffff) padding-box,
		linear-gradient(180deg, #96f0ff 0%, #41b6e6 100%) border-box;
	box-sizing: border-box;
	color: #0083b7;
	font-family: var(--FONT-FAMILY);
	font-size: 15px;
	font-weight: 700;
	line-height: 15px;
	box-shadow:
		0 3px 0 #0083b7,
		0 5px 10px rgba(0, 131, 183, 0.22);
}

.qr-reward-pill img {
	display: block;
	width: 19px;
	height: 19px;
	object-fit: contain;
}

.qr-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 234px;
	max-width: calc(100% - 24px);
	height: 43px;
	margin: 0 auto;
	padding: 0 16px 8px;
	border: 0;
	box-sizing: border-box;
	appearance: none;
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	color: #ffffff;
	cursor: pointer;
	font-family: var(--FONT-FAMILY);
	font-size: 15px;
	font-weight: 700;
	line-height: 15px;
	text-align: center;
	text-shadow: 0 2px 0 rgba(0, 106, 64, 0.22);
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.qr-button-retry {
	background-image: url('./img/greebButton.png?v=v0.58');
}

.qr-file-button {
	background-image: url('./img/greebButton.png?v=v0.58');
}

.qr-result-card.is-success .qr-button-retry {
	display: none;
}

.qr-button-home {
	padding-bottom: 8px;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	background-image: url('./img/greebButton.png?v=v0.58');
	color: #ffffff;
	text-shadow: 0 2px 0 rgba(0, 106, 64, 0.22);
	box-shadow: none;
}

.rotation-dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(50vw, 435px);
	min-width: 330px;
	padding: 36px 24px 37px;
	background: #ffe7b5;
	border-radius: 49px;
	text-align: center;
	box-sizing: border-box;
	box-shadow:
		0 7px 0 #d4a84d,
		0 15px 26px rgba(0, 88, 49, 0.16);
}

.rotation-dialog::before {
	content: '';
	position: absolute;
	inset: 17px 17px 22px;
	border-radius: 43px;
	background: rgba(255, 243, 212, 0.86);
	pointer-events: none;
}

.rotation-title,
.rotation-icon {
	position: relative;
	z-index: 1;
}

.rotation-title {
	margin: 0 0 18px;
	color: #645555;
	font-family: var(--FONT-FAMILY);
	font-size: 16px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 0;
}

.rotation-icon {
	display: block;
	width: 48px;
	height: 48px;
	margin: 0 auto;
}

p {
	color: white;
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
	.overlay {
		display: block;
	}
}

@media screen and (max-width: 700px) and (orientation: landscape) {
	.rotation-dialog {
		width: min(64vw, 435px);
		min-width: 300px;
		padding: 30px 20px 31px;
		border-radius: 42px;
	}

	.rotation-dialog::before {
		inset: 15px 15px 19px;
		border-radius: 36px;
	}

	.rotation-title {
		margin-bottom: 14px;
	}

	.rotation-icon {
		width: 42px;
		height: 42px;
	}
}

@media screen and (max-width: 380px) {
	.error-button {
		width: min(234px, calc(100% - 24px));
	}

	.qr-title-pill {
		top: max(42px, calc(env(safe-area-inset-top) + 14px));
		width: 128px;
		height: 38px;
		padding: 7px 24px 10px;
		font-size: 24px;
		line-height: 23px;
	}

	.qr-close-button {
		top: max(45px, calc(env(safe-area-inset-top) + 17px));
		left: calc(100% - 72px);
		right: auto;
		width: 40px;
		height: 40px;
	}

	.qr-close-button::before,
	.qr-close-button::after {
		top: 17px;
		left: 10px;
		width: 20px;
		height: 6px;
	}

	.qr-scanner-content {
		top: 104px;
		top: clamp(104px, 20vh, 142px);
		top: clamp(104px, 20svh, 142px);
		width: 310px;
		max-width: calc(100vw - 30px);
		width: min(310px, calc(100vw - 30px));
	}

	.qr-scan-card {
		height: 381px;
		min-height: 381px;
		border-radius: 32px;
	}

	.qr-scan-card-inner {
		padding: 16px 12px 12px;
		border-radius: 26px;
	}

	.qr-scan-title {
		margin-bottom: 12px;
		font-size: 20px;
		line-height: 21px;
	}

	.qr-camera-frame {
		width: 230px;
		max-width: 100%;
		width: min(100%, 230px);
		height: 230px;
		border-radius: 18px;
	}

	.qr-result-card {
		width: 310px;
		max-width: calc(100vw - 30px);
	}

	.qr-result-header h2 {
		top: 30px;
		font-size: 24px;
		line-height: 24px;
	}

	.qr-result-body {
		margin-top: -62px;
		padding-top: 70px;
		min-height: 224px;
	}

	.qr-button {
		width: 234px;
		max-width: calc(100% - 24px);
	}
}

.qr-flow:not(.is-result) .qr-title-pill {
	top: max(52px, calc(env(safe-area-inset-top) + 16px));
	width: 149px;
	height: 46px;
	padding: 8px 32px 12px;
	font-size: 28px;
	line-height: 26px;
}

.qr-flow:not(.is-result) .qr-close-button {
	top: max(55px, calc(env(safe-area-inset-top) + 19px));
	left: calc(100% - 72px);
	right: auto;
	width: 40px;
	height: 40px;
}

.qr-flow:not(.is-result) .qr-close-button::before,
.qr-flow:not(.is-result) .qr-close-button::after {
	top: 17px;
	left: 10px;
	width: 20px;
	height: 6px;
}

.qr-flow:not(.is-result) .qr-scanner-content {
	top: 127px;
	width: 313px;
	max-width: calc(100vw - 46px);
}

.qr-flow:not(.is-result) .qr-scan-card {
	height: 386px;
	min-height: 386px;
}

.qr-flow:not(.is-result) .qr-scan-card-inner {
	padding: 12px 13px 13px;
}

.qr-flow:not(.is-result) .qr-scan-title {
	width: 100%;
	min-height: 40px;
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 600;
	line-height: 20px;
}

.qr-flow:not(.is-result) .qr-camera-frame {
	width: 250px;
	height: 280px;
	aspect-ratio: auto;
	border-radius: 12px;
}

input,
textarea {
	caret-color: transparent;
	-webkit-user-select: none;
}
