#t.courier-mode.default {
	text-align: center;
}

.game {
	margin: 0 0 10px 0;
	overflow: hidden;
	direction: ltr !important;
	text-align: left;
	border-radius: 28px;
}

.game__inner {
	position: relative;
	max-width: 700px;
	height: 195px;
	margin: 15px auto 0 auto;
	background: 0;
	border: 2px solid #3a424e;
	border-radius: 30px;
}

#main-frame-error .courier-wrapper {
	position: relative;
}

.icon-courier-mode {
	user-select: none;
}

.game__help {
	display: none;
	position: absolute;
	left: 0;
	top: 15px;
	bottom: 0;
	width: 100%;
	align-items: center;
	justify-content: center;
	user-select: none;
	z-index: 100;
	opacity: 1;
	visibility: visible;
	transition: opacity .3s ease, visibility .3s ease;
}

.game__help--hidden {
	opacity: 0;
	visibility: hidden;
}

.game__click-area {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	background: transparent;
	cursor: pointer;
}

.game__help_show {
	display: flex;
}

.game__start {
	cursor: pointer;
	margin: 0 auto;
	padding: 4px 10px;
	background: #535353;
	border-radius: 4px;
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	text-transform: uppercase;
}

#courier-mode-resources {
	display: none;
}

.help__outer {
	text-align: center;
}

.help {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.help__space {
	display: flex;
	align-items: center;
	margin: 0 8px;
	margin-right: 4px;
}

.help__keys {
	order: 2;
}

.help__space:first-of-type {
	order: 1;
}

.help__space:last-of-type,
.help__key_big {
	order: 3;
}

.help__keys-line {
	display: flex;
	justify-content: center;
}

.help__key_small {
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 4px;
	width: 22px;
	height: 22px;
	background-color: #535353;
	opacity: .4;
	color: #fff;
	font-size: 12px;
	line-height: 1;
	margin: 2px;
}

.help,
.game__mobile-controls {
	opacity: 0;
	visibility: hidden;
	transition: opacity .4s ease, visibility .4s ease;
}

.help--visible {
	opacity: 1;
	visibility: visible;
}

.game__mobile-controls--visible {
	opacity: 1;
	visibility: visible;
	display: flex;
	gap: 10px;
	padding: 0;
	margin: 0;
}

.help__key_active {
	opacity: 1;
}

.help__key_big {
	margin: 1px;
	background: #535353;
	font-size: 12px;
	color: #fff;
	border-radius: 4px;
	padding: 2px 6px;
}

.help__tap {
	background-color: #e5e5e5;
	border-radius: 4px;
	color: #535353;
	text-align: center;
	display: none;
	user-select: none;
	padding: 12px 19px;
	font-size: 20px;
	cursor: pointer;
	border: 1px solid #d1d1d1;
}

.game__btn {
	flex: 1;
	padding: 14px 0;
	font-size: 18px;
	background-color: #535353;
	color: #fff;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	text-transform: uppercase;
}

@media (max-width: 480px) {
	.game__help {
		top: 35px;
	}
}

.courier-mode {
	-webkit-text-size-adjust: 100%;
	font-size: 125%;
	transition: -webkit-filter 1.5s cubic-bezier(0.65, 0.05, 0.36, 1),
		background-color 1.5s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.courier-mode.inverted {
	-webkit-filter: invert(100%);
	background-color: #000;
}

.courier-mode .courier-wrapper {
	color: #2b2b2b;
	font-size: 1em;
	line-height: 1.55;
	max-width: 700px;
	padding-top: 165px;
	border-radius: 28px;
}

.game .icon {
	background-repeat: no-repeat;
	background-size: 100%;
	height: 72px;
	margin: 0 0 40px;
	width: 72px;
	display: inline-block;
	-webkit-user-select: none;
}

.game .icon-courier-mode {
	position: relative;
}

.courier-mode .courier-container {
	direction: ltr;
	height: 175px;
	max-width: 700px;
	overflow: hidden;
	position: absolute;
	top: 35px;
	width: 44px;
}

.courier-mode .courier-canvas {
	height: 175px;
	max-width: 700px;
	opacity: 1;
	overflow: hidden;
	position: absolute;
	top: 0;
	z-index: 10;
}

@media (max-width: 360px) and (max-height: 480px) {
	.courier-mode .courier-wrapper {
		padding-top: 60px;
	}

	.courier-mode .courier-container {
		top: 8px;
	}
}

@media (max-height: 320px) and (orientation: landscape) {
	.courier-mode .courier-container {
		top: 10px;
	}
}

.courier-wrapper {
	background-color: rgba(0, 0, 0, 0);
	transition: background-color 2.6s ease;
}

.courier-wrapper.inverted {
	background-color: rgba(0, 0, 0, 0.8);
	position: relative;
	min-height: 195px;
	padding: 0;
	margin: 0;
}

@media (max-width: 480px) {
	.courier-wrapper.inverted {
		min-height: 195px;
	}
}

.courier-mode,
.courier-mode .courier-canvas,
.courier-mode .courier-container {
	overflow-x: hidden;
	max-width: 100vw;
	box-sizing: border-box;
}