@font-face {
	font-family: 'Fontin';
	src: url('../fonts/Fontin-SmallCaps.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

button {
	outline: none;
	user-select: none;
}

div.loading-cover {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.25);
	z-index: 1;
}
div.loading-cover::before {
	content: '';
	position: absolute;
	top: calc(50% - 20px);
	left: calc(50% - 20px);
	width: 40px;
	height: 40px;
	border-radius: 20px;
	background-color: rgba(0, 0, 0, 0.6);
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6), 0px 0px 10px rgba(0, 0, 0, 0.6), 0px 0px 20px rgba(0, 0, 0, 0.6), 0px 0px 40px rgba(0, 0, 0, 0.6);
}

div.loading-cover::after {
	content: '';
	position: absolute;
	top: calc(50% - 10px);
	left: calc(50% - 10px);
	width: 20px;
	height: 20px;
	background-image: url('/images/loading.gif');
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 3;
}

div#constructor-place {
	position: relative;
	display: flex;
	justify-content: center;
}

div.actions {
	position: relative;
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 15px 0 120px 0;
}

div.constructor,
div.constructor-placeholder {
	width: 100%;
	margin: 0;
	background-color: #222222;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	box-shadow: 0px 0px 5px #000000, 0px 0px 20px #000000;
}

div.constructor div.sections {
	padding: 5px;
	background-color: #222222;
	overflow: hidden;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}
div.constructor div.sections.active {
	border-radius: 6px 6px 0px 0px;
	-moz-border-radius: 6px 6px 0px 0px;
	-webkit-border-radius: 6px 6px 0px 0px;
}

div.constructor div.sections > div {
	position: relative;
	float: left;
	width: 97px;
	height: 80px;
	margin: 5px;
	background-color: #161616;
	box-shadow: inset 0px 1px 5px #090909;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	overflow: hidden;
	user-select: none;
	cursor: pointer;
}
div.constructor div.sections > div:hover {
	background-color: #141414;
}
div.constructor div.sections > div:hover div.title {
	color: #e0e0e0;
}
div.constructor div.sections > div:active {
	background-color: #121212;
}

div.constructor div.sections > div.active {
	background-color: #120d0d;
	box-shadow: inset 0px 1px 5px #000000;
}
div.constructor div.sections > div.active:hover {
	background-color: #0f0b0b;
}
div.constructor div.sections > div.active:active {
	background-color: #0d0909;
}

div.constructor div.sections > div div.logo {
	position: relative;
	width: 97px;
	/*height: 97px;*/
	height: 56px;
}

div.constructor div.sections > div div.logo img {
	position: absolute;
	width: 36px;
	height: 36px;
	object-fit: contain;
	/*transition: 120ms;*/
	opacity: 0;
	filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.5));
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	user-drag: none;
	user-select: none;
	-webkit-user-select: none;
	pointer-events: none;
}
div.constructor div.sections > div div.logo img.loaded {
	opacity: 1;
	transition: opacity 80ms;
}

div.constructor div.sections > div div.logo img:nth-of-type(1) {
	top: 10px;
	left: 10px;
}

div.constructor div.sections > div div.logo img:nth-of-type(2) {
	top: 10px;
	right: 10px;
}

div.constructor div.sections > div div.title {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	bottom: 0;
	width: 100%;
	height: 35px;
	padding: 0 5px 3px 5px;
	font-size: 13px;
	text-align: center;
	color: #cccccc;
	line-height: 1;
}

div.constructor div.tiers {
	/*display: none;*/
	position: relative;
	/*padding: 0;*/
	padding: 0 0 50px 0;
	background-color: #0e0e0e;
	border-radius: 0px 0px 6px 6px;
	-moz-border-radius: 0px 0px 6px 6px;
	-webkit-border-radius: 0px 0px 6px 6px;
}
div.constructor div.tiers.active {
	/*padding: 0 0 50px 0;*/
}

div.constructor div.tiers > div.section {
	padding: 10px 10px 0 10px;
	display: none;
}

div.constructor div.tiers > div.section > div:not(.divider, .notification) {
	position: relative;
	margin: 0 0 10px 0;
	box-shadow: 0px 1px 5px #060606;
/*	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;*/
}

div.themes {
	padding: 5px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

div.themes > div {
	position: relative;
	float: left;
	padding: 0;
	margin: 10px 10px 5px 10px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	overflow: hidden;
	user-select: none;
}

div.themes div.tier {
	position: relative;
	display: flex;
	height: 40px;
	padding: 0;
	margin: 0 0 5px 0;
	color: #cccccc;
	background-color: #161616;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	user-select: none;
	overflow: hidden;
}

div.themes div.tier div.visualization {
	width: 220px;
	padding: 5px 10px 5px 10px;
}

div.themes > div div.switch-button div.value {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex: 1 1 auto;
	justify-content: flex-end;
	min-width: 0;
	padding: 0 5px 0 0;
	width: 160px;
	height: 30px;
}

div.themes > div div.switch-button div.value div.color {
	width: 14px;
	height: 14px;
	margin: 8px 3px 8px 8px;
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	box-shadow: inset 0px 0px 3px #ededed;
	/*filter: brightness(0.7);*/
}

div.themes > div div.switch-button div.value div.color.plus {
	background-image: url(/images/plus-dark.png?v=2);
	background-size: 12px;
	background-position: 1px 1px;
	background-repeat: no-repeat;
	box-shadow: none;
	filter: brightness(3);
}





div.constructor div.tiers > div.section > div > div.header > div.items > div.plus {

}






div.changes-count {
	position: absolute;
	bottom: 10px;
	right: 120px;
	display: flex;
	align-items: center;
	gap: 6px;
	height: 30px;
	padding: 1px 8px 0px 8px;
	line-height: 29px;
	font-size: 13px;
	color: #b3783e;
	background-color: #26221d;
	border: 1px solid #2e2823;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	user-select: none;
}

div.constructor div.tiers > div.section > div.disabled {
	/*filter: brightness(0.8);*/
}

div.constructor div.tiers > div.section > div > div.header {
	position: relative;
	display: flex;
	height: 40px;
	padding: 0;
	color: #cccccc;
	background-color: #1b1b1b;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	cursor: pointer;
	user-select: none;
	overflow: hidden;
}
div.constructor div.tiers > div.section > div > div.header:hover {
	color: #e0e0e0;
}

div.constructor div.tiers > div.section > div > div.header.active {
	border-radius: 4px 4px 0px 0px;
	-moz-border-radius: 4px 4px 0px 0px;
	-webkit-border-radius: 4px 4px 0px 0px;
}

div.constructor div.tiers > div.section > div > div.header.changed::before,
div.options > div.changed::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 8px;
	height: 8px;
	background: #b3783e;
	clip-path: polygon(0 0, 100% 0, 0 100%);
	pointer-events: none;
}
/*div.constructor div.tiers > div.section > div.disabled > div.header div.items,*/
div.constructor div.tiers > div.section > div.disabled > div.header div.visualization,
div.constructor div.tiers > div.section > div.disabled > div.header div.options {
	filter: brightness(0.5);
}

div.constructor div.tiers > div.section > div > div.header > div.switch-place {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 67px;
	/*padding: 12px 10px 12px 10px;*/
}

div.constructor div.tiers > div.section > div > div.header > div.title {
	display: flex;
	width: 278px;
	padding: 5px 5px 5px 0;
	font-family: arial;
	font-size: 13px;
	line-height: 13px;
}

div.constructor div.tiers > div.section > div > div.header > div.title > div {
	display: flex;
	align-items: center;
	width: calc(100% - 20px);
	min-width: 60px;
	height: 30px;
	padding: 0 5px;
	white-space: nowrap;
	overflow: hidden;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
div.constructor div.tiers > div.section > div.custom > div.header > div.title > div:hover {
	background-color: #141414;
}

div.rename-tier {
	cursor: text;
}

input.rename-tier[type=text] {
	width: calc(100% - 20px);
	height: 30px;
	padding: 0 5px;
	font-size: 13px;
	color: #cccccc;
	background-color: #141414;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: none;
	outline: none;
}
input.rename-tier.error[type=text] {
	padding: 0 4px;
	border: 1px solid #8c2a2a;
}

div.constructor div.tiers > div.section > div.custom div.grab {
	position: absolute;
	top: 0;
	left: 0;
	width: 15px;
	height: 40px;
	background-image: url('/images/custom.png');
	background-size: 5px 30px;
	background-position: 5px 5px;
	background-repeat: no-repeat;
	z-index: 1;
	cursor: grab;
}
div.constructor div.tiers > div.section > div.custom div.grab:hover {
	filter: brightness(1.20);
}

div.constructor div.tiers > div.section > div > div.header > div.items,
div.constructor div.tiers > div.section > div > div.header > div.visualization {
	display: flex;
	opacity: 1;
	visibility: visible;
	transition: opacity 100ms ease, visibility 100ms ease;
}

div.constructor div.tiers > div.section > div > div.header.active > div.items,
div.constructor div.tiers > div.section > div > div.header.active > div.visualization,
div.constructor div.tiers > div.section > div > div.header.active > div.options {
	opacity: 0;
	visibility: hidden;
}

div.constructor div.tiers > div.section > div > div.header > div.items {
	justify-content: center;
	width: 290px;
	padding: 5px 10px 5px 10px;
}

div.constructor div.tiers > div.section > div > div.header > div.items > div {
	width: 30px;
	height: 30px;
}
div.constructor div.tiers > div.section > div > div.header > div.items > div:not(.plus):nth-child(n+9) {
	display: none;
}

div.constructor div.tiers > div.section > div > div.header > div.items > div.plus {
	background-image: url('/images/plus-dark.png?v=2');
	background-size: 12px;
	background-position: 9px 9px;
	background-repeat: no-repeat;
	filter: brightness(2);
}
div.constructor div.tiers > div.section > div > div.header > div.items:not(:has(> :not(.plus):nth-child(9))) div.plus {
	display: none;
}

div.constructor div.tiers > div.section > div > div.header > div.items > div > img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

div.constructor div.tiers > div.section > div > div.header > div.visualization {
	width: 280px;
	padding: 5px 10px 5px 10px;
}

div.constructor div.tiers > div.section > div > div.header > div.options,
div.themes div.options {
	display: flex;
	justify-content: right;
	align-items: center;
	width: 145px;
	height: 40px;
	padding: 0px 5px;
}

div.constructor div.tiers > div.section > div > div.header > div.options > div.sound,
div.themes div.options > div.sound {
	width: 46px;
	height: 40px;
	padding: 6px;
}

div.constructor div.tiers > div.section > div > div.header > div.options > div.sound div:first-child,
div.themes div.options > div.sound div:first-child {
	display: flex;
}

div.constructor div.tiers > div.section > div > div.header > div.options > div.sound div.icon,
div.themes div.options > div.sound div.icon {
	width: 18px;
	height: 18px;
	background-image: url('/images/track.png');
	background-size: 12px;
	background-position: 3px 3px;
	background-repeat: no-repeat;
}
div.constructor div.tiers > div.section > div > div.header > div.options > div.sound div.track,
div.themes div.options > div.sound div.track {
	width: 16px;
	height: 18px;
	padding: 4px 0 0 0;
	line-height: 12px;
	font-size: 12px;
	text-align: center;
	color: #a3a3a3;
}
div.constructor div.tiers > div.section > div > div.header > div.options > div.sound div.volume,
div.themes div.options > div.sound div.volume {
	height: 12px;
	padding: 4px 0 0 0;
	line-height: 8px;
	font-size: 8px;
	text-align: center;
	color: #a3a3a3;
}

div.constructor div.tiers > div.section > div > div.header > div.options > div.mini-map-icon,
div.themes div.options > div.mini-map-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
}

div.constructor div.tiers > div.section > div > div.header > div.options > div.mini-map-icon img.small,
div.themes div.options > div.mini-map-icon img.small {
	width: 18px;
	height: 18px;
}
div.constructor div.tiers > div.section > div > div.header > div.options > div.mini-map-icon img.medium,
div.themes div.options > div.mini-map-icon img.medium {
	width: 24px;
	height: 24px;
}
div.constructor div.tiers > div.section > div > div.header > div.options > div.mini-map-icon img.large,
div.themes div.options > div.mini-map-icon img.large {
	width: 30px;
	height: 30px;
}

div.constructor div.tiers > div.section > div > div.header > div.hidden,
div.constructor div.tiers > div.section > div > div.header > div.disabled {
	display: flex;
	align-items: center;
	position: absolute;
	top: 10px;
	right: 10px;
	height: 20px;
	padding: 1px 4px 0px 4px;
	line-height: 19px;
	font-size: 12px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
div.constructor div.tiers > div.section > div > div.header:not(.active) > div.hidden,
div.constructor div.tiers > div.section > div > div.header:not(.active) > div.disabled {
	display: none;
}

div.constructor div.tiers > div.section > div > div.header > div.hidden {
	color: #b34747;
	background-color: #261d1d;
	border: 1px #2e2323 solid;
}

div.constructor div.tiers > div.section > div > div.header > div.disabled {
	color: #808080;
	background-color: #262626;
	border: 1px #2e2e2e solid;
}

div.constructor div.tiers > div.section > div > div.header:hover,
div.constructor div.tiers > div.section > div > div.header.active:hover {
	background-color: #232323;
}

div.constructor div.global-options {
	display: none;
	position: relative;
	padding: 0 0 50px 0;
	background-color: #0e0e0e;
	border-radius: 0px 0px 6px 6px;
	-moz-border-radius: 0px 0px 6px 6px;
	-webkit-border-radius: 0px 0px 6px 6px;
}

div.constructor div.global-options > div.block {
	min-height: 300px;
}

div.constructor div.global-options > div.block > div.header {
	padding: 12px 10px 2px 20px;
	color: #666659;
	font-size: 14px;
	line-height: 16px;
}

div.constructor div.tiers > div.section > div > div.data {
	display: none;
	background-color: #1b1b1b;
	border-radius: 0px 0px 4px 4px;
	-moz-border-radius: 0px 0px 4px 4px;
	-webkit-border-radius: 0px 0px 4px 4px;
}

div.constructor div.tiers > div.section > div.divider {
	padding: 0 0 8px 0;
	/*height: 2px;*/
}

div.constructor div.tiers > div.section > div.divider > span {
	padding: 0px 0 3px 10px;
	font-size: 14px;
	color: #666659;
}

div.constructor div.tiers > div.section > div.notification {
	min-height: 40px;
	padding: 12px 10px 12px 10px;
	margin: 20px 0 10px 0;
	font-size: 14px;
	line-height: 16px;
	color: #59594d;
	border: 1px #404037 dashed;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

div.constructor div.tiers > div#close-section,
div.constructor div.global-options > div#close-global-options {
	position: absolute;
	bottom: 10px;
	margin: 0 auto;
	left: 50%;
	transform: translateX(-50%);
	width: 160px;
	height: 40px;
	background-image: url('/images/remove.png?v=2');
	background-size: 14px;
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	cursor: pointer;
}
div.constructor div.tiers > div#close-section:hover,
div.constructor div.global-options > div#close-global-options:hover {
	background-color: #1b1b1b;
	background-image: url('/images/remove-hover.png?v=2');
	box-shadow: 0px 1px 5px #060606;
}
div.constructor div.tiers > div#close-section:active,
div.constructor div.global-options > div#close-global-options:active {
	background-color: #212121;
	background-image: url('/images/remove-hover-white.png?v=2');
}

div.constructor div.tiers > div#prices,
div.constructor div.tiers > div#glow,
div.constructor div.tiers > div#add-tier,
div.constructor div.tiers > div#section-reset-button {
	position: absolute;
	bottom: 10px;
	height: 30px;
	padding: 1px 8px 0px 30px;
	font-size: 13px;
	line-height: 29px;
	text-align: center;
	text-decoration: none;
	color: #777777;
	background-size: 12px;
	background-position: 10px center;
	background-repeat: no-repeat;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	cursor: pointer;
	user-select: none;
}
div.constructor div.tiers > div#prices:hover,
div.constructor div.tiers > div#glow:hover,
div.constructor div.tiers > div#add-tier:hover,
div.constructor div.tiers > div#section-reset-button:hover {
	color: #b4b4b4;
	background-color: #1b1b1b;
	box-shadow: 0px 1px 5px #060606;
}
div.constructor div.tiers > div#prices:active,
div.constructor div.tiers > div#glow:active,
div.constructor div.tiers > div#add-tier:active,
div.constructor div.tiers > div#section-reset-button:active {
	background-color: #212121;
}

div.constructor div.tiers > div#prices {
	left: 10px;
	width: 80px;
	background-image: url('/images/price.png');
}
div.constructor div.tiers > div#prices:hover {
	background-image: url('/images/price-hover.png');
}

div.constructor div.tiers > div#glow {
	left: 100px;
	width: 80px;
	background-image: url('/images/glow.png');
}
div.constructor div.tiers > div#glow:hover {
	background-image: url('/images/glow-hover.png');
}

div.constructor div.tiers > div#prices.active,
div.constructor div.tiers > div#glow.active {
	color: #cccccc;
	background-color: #221e16;
	box-shadow: 0px 1px 5px #060606;
}
div.constructor div.tiers > div#prices.active:hover,
div.constructor div.tiers > div#glow.active:hover {
	background-color: #28241b;
}
div.constructor div.tiers > div#prices.active:active,
div.constructor div.tiers > div#glow.active:active {
	background-color: #2e291f;
}

div.constructor div.tiers > div#prices.active {
	background-image: url('/images/price-active.png');
}

div.constructor div.tiers > div#glow.active {
	background-image: url('/images/glow-active.png');
}

div.constructor div.tiers > div#add-tier {
	left: 190px;
	width: 94px;
	background-image: url('/images/plus.png?v=2');
}
div.constructor div.tiers > div#add-tier:hover {
	background-image: url('/images/plus-hover.png?v=2');
}

div.constructor div.tiers > div#section-reset-button {
	right: 10px;
	width: 88px;
	background-image: url('/images/reset.png?v=2');
}
div.constructor div.tiers > div#section-reset-button:hover {
	background-image: url('/images/reset-hover.png?v=2');
}

div.field {
	display: flex;
	position: relative;
}

div.field > div.options,
div.constructor div.global-options div.options {
	width: 360px;
	vertical-align: top;
	padding: 10px 10px 5px 10px;
}

div.field > div.options > div,
div.constructor div.global-options div.options > div {
	display: flex;
	position: relative;
	width: 340px;
	height: 30px;
	margin: 0 10px 5px 0;
	color: #cccccc;
	background-color: #2d2d2d;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	box-shadow: 0px 1px 3px #101010;
	overflow: hidden;
	cursor: pointer;
	user-select: none;
}
div.field > div.options > div:hover {
	background-color: #313131;
}

div.field div.options > div.disabled {
	filter: brightness(0.8);
	box-shadow: 0px 1px 3px #191919;
}

div.constructor div.global-options div.options > div {
	background-color: #1b1b1b;
	box-shadow: 0px 1px 5px #060606;
}
div.constructor div.global-options div.options > div:hover {
	background-color: #232323;
	color: #e0e0e0;
}

div.options > div > div.switch-place,
div.options > div > div.title,
div.options > div > div.value {
	height: 30px;
	vertical-align: middle;
}

div.options > div > div.switch-place {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 52px;
	/*padding: 0 0 0 10px;*/
}

div.options > div > div.title {
	flex: 1 1 auto;
	min-width: 0;
	/*width: 138px;*/
	padding: 0 0 0 10px;
	line-height: 30px;
	font-size: 13px;
}

div.options > div > div.value {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	justify-content: flex-end;
	padding: 0 5px 0 0;
	/*width: 160px;*/
}

/*div.options > div > div.value.pad {
	padding: 0 7px 0 0;
}*/
/*div.options > div > div.value div.color {
	width: 30px;
	height: 30px;
	cursor: pointer;
}*/

div.options > div > div.value div.color {
	width: 14px;
	height: 14px;
	margin: 8px 3px 8px 8px;
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	box-shadow: inset 0px 0px 3px #ededed;
}

div.options > div > div.value div.numeric {
	display: flex;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 1px 1px 0 0;
	margin: 5px 0 5px 5px;
	text-align: center;
	line-height: 19px;
	font-size: 13px;
	font-weight: bold;
	cursor: pointer;
}
div.options > div > div.value div.numeric.large {
	justify-content: flex-end;
	width: auto;
	padding: 0 3px 0 3px;
}

div.options > div > div.value > div.font-size,
div.options > div > div.value > div.mini-map-icon {
	display: flex;
	height: 30px;
	cursor: pointer;
}

div.options > div > div.value span {
	height: 16px;
	padding: 2px 3px;
	margin: 7px 2px 7px 5px;
	line-height: 12px;
	font-size: 12px;
	color: #111111;
	background-color: #666666;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

div.options > div > div.value img.mini-map-icon {
	width: 20px;
	height: 20px;
	margin: 5px 0 5px 5px;
}

div.beam {
	width: 40px;
	height: 40px;
	position: relative;
	background: transparent;
}

div.beam::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 50%;
	width: 8px;
	height: 22px;
	transform: translateX(-50%);
	background: radial-gradient(
		ellipse at bottom,
		rgba(var(--beam-color-option), 1) 0%,
		rgba(var(--beam-color-option), 0) 100%
	);
	clip-path: polygon(45% 0%, 55% 0%, 100% 100%, 0% 100%);
	filter: blur(0.5px);
}

div.beam::after {
	content: "";
	position: absolute;
	bottom: 9px;
	left: 50%;
	width: 22px;
	height: 8px;
	background: radial-gradient(
		ellipse at center,
		rgba(var(--beam-color-option), 1) 50%,
		rgba(var(--beam-color-option), 0) 100%
	);
	border-radius: 50%;
	filter: blur(3px);
	transform: translateX(-50%);
	opacity: 1;
}

div.beam.red 	{	--beam-color-option: 255, 102, 102;}
div.beam.yellow {	--beam-color-option: 255, 217, 102;}
div.beam.green 	{	--beam-color-option: 140, 255, 102;}
div.beam.blue 	{	--beam-color-option: 102, 153, 255;}
div.beam.brown 	{	--beam-color-option: 153, 68, 15;}
div.beam.white 	{	--beam-color-option: 204, 204, 204;}
div.beam.grey 	{	--beam-color-option: 62, 80, 89;}
div.beam.cyan 	{	--beam-color-option: 102, 255, 255;}
div.beam.orange {	--beam-color-option: 255, 140, 25;}
div.beam.pink 	{	--beam-color-option: 255, 77, 196;}
div.beam.purple {	--beam-color-option: 166, 77, 255;}

div.color.red 		{	background-color: rgb(255, 102, 102);}
div.color.yellow 	{	background-color: rgb(255, 217, 102);}
div.color.green 	{	background-color: rgb(140, 255, 102);}
div.color.blue 		{	background-color: rgb(102, 153, 255);}
div.color.brown 	{	background-color: rgb(153, 68, 15);}
div.color.white 	{	background-color: rgb(204, 204, 204);}
div.color.grey 		{	background-color: rgb(62, 80, 89);}
div.color.cyan 		{	background-color: rgb(102, 255, 255);}
div.color.orange 	{	background-color: rgb(255, 140, 25);}
div.color.pink 		{	background-color: rgb(255, 77, 196);}
div.color.purple 	{	background-color: rgb(166, 77, 255);}

div.field div.items-place {
	position: relative;
	width: 320px;
	/*max-height: 500px;*/
	padding: 0 0 10px 0;
	margin: 0 10px 0 10px;
	/*overflow-y: auto;*/
}

div.field div.items {
	position: relative;
	width: 320px;
	padding: 10px 10px 0 10px;
	/*max-height: 500px;*/
	/*padding: 0 0 5px 0;*/
	/*margin: 0 10px 0 10px;*/
	/*overflow-y: auto;*/
}
div.field div.items.dragging {
	/*padding: 10px 10px 40px 10px;*/
}

div.field div.items > div {
	position: relative;
	width: 300px;
	height: 30px;
	margin: 0 0 5px 0;
	line-height: 30px;
	font-size: 13px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	user-select: none;
}

div.field div.items:not(.not-edit) > div {
	cursor: grab;
}

div.field div.items > div > div.bar {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	width: 100%;
	background-color: #2d2d2d;
	box-shadow: 0px 1px 3px #101010;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	z-index: 2;
}

div.field div.items > div > div.bar.locked {
	background-image: url(/images/lock.png);
	background-size: 12px;
	background-position: right 9px top 9px;
	background-repeat: no-repeat;
}

div.field div.items > div > div.bar > div.image {
	width: 30px;
	height: 30px;
}

div.field div.items > div > div.bar > div.image img {
	width: calc(100% - 6px);
	height: calc(100% - 6px);
	margin: 3px;
	object-fit: contain;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

div.field div.items > div > div.bar > div.title {
	width: calc(100% - 60px);
	padding: 0 0 0 2px;
	line-height: 30px;
	color: #cccccc;
	white-space: nowrap;
	overflow: hidden;
}

div.field div.items > div > div.bar > div.remove {
	position: absolute;
	top: 0;
	right: 0;
	width: 30px;
	height: 30px;
	background-image: url('/images/remove.png?v=2');
	background-size: 12px;
	background-position: 9px 9px;
	background-repeat: no-repeat;
	cursor: pointer;
}
div.field div.items > div > div.bar > div.remove:hover {
	background-image: url('/images/remove-hover.png?v=2');
}

div.field div.items > div > div.price {
	position: absolute;
	top: 0;
	right: 0px;
	display: flex;
	justify-content: right;
	align-items: center;
	width: 100px;
	height: 30px;
	padding: 0 5px 0 5px;
	line-height: 30px;
	/*text-align: right;*/
	color: #aba9a4;
	background-color: #26231d;
	border: 1px solid #2e2a23;
	white-space: nowrap;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	/*box-shadow: 0px 1px 3px #101010;*/
	overflow: hidden;
	z-index: 1;
}

div.items-buttons {
	padding: 0 10px;
}

div.items-buttons div.add-item,
div.items-buttons div.reset-items {
	display: block;
	position: relative;
	float: left;
	width: 300px;
	height: 30px;
	padding: 0 0 0 32px;
	border: 1px #333333 dashed;
	color: #444444;
	line-height: 30px;
	font-size: 13px;
	background-size: 12px;
	background-position: 10px center;
	background-repeat: no-repeat;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	cursor: pointer;
	user-select: none;
	filter: brightness(1.75);
}
div.items-buttons div.add-item {
	background-image: url('/images/plus-dark.png?v=2');
}
div.items-buttons div.reset-items {
	display: none;
	width: 147px;
	background-image: url('/images/reset-dark.png?v=2');
}

div.items-buttons div.add-item:hover,
div.items-buttons div.reset-items:hover {
	border: 1px #333333 solid;
	box-shadow: inset 0px 0px 10px #222222;
	filter: brightness(2.2);
}
div.items-buttons div.add-item:active,
div.items-buttons div.reset-items:active {
	filter: brightness(2.4);
}
div.items-buttons div.add-item.mini {
	width: 147px;
	margin: 0 6px 0 0;
}
div.items-buttons div.reset-items.active {
	display: block;
}

/*switch button*/
div.switch {
	display: inline-block;
	position: relative;
	width: 100%;
	height: 100%;
}

div.switch.for-button {
	display: block;
	position: absolute;
	z-index: 4;
}

div.switch label.switch {
	display: block;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

div.switch label.switch input {
	width: 0;
	height: 0;
}

div.switch label.switch .slider {
	position: absolute;
	width: 32px;
	height: 16px;
	margin: 12px 10px 12px 20px;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: #111111;
	border-radius: 8px;
	transition: 0.1s;
}

div.switch.option label.switch .slider {
	margin: 7px 10px;
}

div.switch.mini label.switch .slider {
	top: 10px;
	left: 10px;
	width: 20px;
	height: 10px;
	margin: 0;
}

div.switch.show-hide label.switch .slider {
	background-color: #8c2a2a;
}

div.switch.show-disable label.switch .slider,
div.switch.hide-disable label.switch .slider {
	background-color: #000000;
}

div.switch label.switch .slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	background-color: #cccccc;
	border-radius: 8px;
	transition: 0.1s;
}

div.switch.mini label.switch .slider:before {
	height: 10px;
	width: 10px;
}

div.switch label.switch input:checked + .slider {
	background-color: #2c735b;
}

div.switch.hide-disable label.switch input:checked + .slider {
	background-color: #8c2a2a;
}

div.switch label.switch input:checked + .slider:before {
	transform: translateX(16px);
}

div.switch.mini label.switch input:checked + .slider:before {
	transform: translateX(10px);
}

div.switch:hover label.switch .slider:before {
	background-color: #ebebeb;
}
/*switch button*/

/*visualization*/
div.visualization {
	display: flex;
	justify-content: center;
	align-items: center;
}

div.visualization.preview,
div.visualization.tier {
	position: relative;
	width: 340px;
	background-repeat: no-repeat;
	background-position: center;
}

div.visualization.preview {
	width: 100%;
	height: 120px;
	margin: 0;
	background-image: url('/images/surroundings-1.png');
	box-shadow: inset 115px 15px 30px #000000, inset -115px -15px 30px #000000;
}

div.visualization.tier {
	height: 200px;
	margin: 10px;
	background-color: #111111;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	box-shadow: inset 0 1px 5px #000000;
	user-select: none;
	overflow: hidden;
}

div.visualization.texture-1 {
	background-image: url('/images/surroundings-1.png');
}

div.visualization.texture-2 {
	background-image: url('/images/surroundings-2.png');
}

div.visualization.texture-3 {
	background-image: url('/images/surroundings-3.png');
}

div.visualization.texture-4 {
	background-image: url('/images/surroundings-4.png');
}

div.visualization.texture-5 {
	background-image: url('/images/surroundings-5.png');
}

div.visualization.texture-6 {
	background-image: url('/images/surroundings-6.png');
}

div.visualization.texture-7 {
	background-image: url('/images/surroundings-7.png');
}

div.visualization div.prev-texture,
div.visualization div.next-texture {
	display: none;
	position: absolute;
	top: calc(50% - 30px);
	width: 40px;
	height: 60px;
	background-color: rgba(17, 17, 17, 0.7);
	background-image: url('/images/arrow.png');
	background-size: 20px;
	background-position: 11px center;
	background-repeat: no-repeat;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	transition: 80ms;
}

div.visualization div.prev-texture:hover,
div.visualization div.next-texture:hover {
	background-color: rgba(34, 34, 34, 0.8);
	cursor: pointer;
}

div.visualization div.prev-texture:active,
div.visualization div.next-texture:active {
	background-color: rgba(51, 51, 51, 0.8);
	background-position: 13px center;
}

div.visualization div.prev-texture {
	left: 10px;
	transform: rotate(180deg);
}

div.visualization div.next-texture {
	right: 10px;
}

div.visualization:hover div.prev-texture,
div.visualization:hover div.next-texture,
div.visualization:hover div.step-indicator {
	display: block;
}

div.step-indicator {
	display: none;
	position: absolute;
	height: 22px;
	bottom: 5px;
	padding: 4px 5px;
	background-color: rgba(17, 17, 17, 0.7);
	border-radius: 12px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
}

div.step-indicator div {
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 4px;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background-color: #777777;
}

div.step-indicator div.active {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin: 3px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	background-color: #bbbbbb;
}

div.visualization div.item {
	display: inline-block;
	position: relative;
	padding: 5px;
	font-family: 'Fontin';
	font-size: var(--font-size);
	color: rgba(var(--text-color));
	background-color: rgba(var(--background-color));
	outline: 1px rgba(var(--border-color)) solid;
	outline-offset: -1px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	z-index: 1;
}
.item.glow::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(to right, transparent, rgba(var(--text-color)), transparent) top,
		linear-gradient(to right, transparent, rgba(var(--text-color)), transparent) bottom;
	background-repeat: no-repeat;
	background-size: 100% 1px;
	pointer-events: none;

	filter: url('/images/noise.svg#noise');
	mask-image:
		linear-gradient(
			to bottom,
			black 0,
			black 1px,
			transparent 1px,
			transparent calc(100% - 1px),
			black calc(100% - 1px),
			black 100%
		);

	-webkit-mask-image:
		linear-gradient(
			to bottom,
			black 0,
			black 1px,
			transparent 1px,
			transparent calc(100% - 1px),
			black calc(100% - 1px),
			black 100%
		);
}

.item.glow::after {
	content: "";
	position: absolute;
	inset: 2px;
	box-shadow: inset 0 0 20px rgba(var(--glow-text-color));
	mask-image: linear-gradient(to right, transparent 0%, black 50%, transparent 100%);
	-webkit-mask-image: linear-gradient(to right, transparent 0%, black 50%, transparent 100%);
	pointer-events: none;
}

/*visualization*/
button#tier-reset-button,
button#tier-duplicate-button,
button#tier-remove-button,
button#option-reset-button,
button#option-remove-button,
button#theme-reset-button,
button#global-font-size-reset-button {
	position: absolute;
	bottom: 10px;
	width: 100px;
	padding: 1px 10px 0px 32px;
	height: 30px;
	margin: 0px;
	font-size: 13px;
	line-height: 29px;
	text-align: center;
	text-decoration: none;
	color: #cccccc;
	background-color: #333333;
	background-size: 12px;
	background-repeat: no-repeat;
	background-position: 10px center;
	box-shadow: 0px 1px 3px #101010;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: none;
	outline: none;
	user-select: none;
	cursor: pointer;
}
button#tier-reset-button:hover,
button#tier-duplicate-button:hover,
button#tier-remove-button:hover,
button#option-reset-button:hover,
button#option-remove-button:hover,
button#theme-reset-button:hover,
button#global-font-size-reset-button:hover {
	background-color: #383838;
}
button#tier-reset-button:active,
button#tier-duplicate-button:active,
button#tier-remove-button:active,
button#option-reset-button:active,
button#option-remove-button:active,
button#theme-reset-button:active,
button#global-font-size-reset-button:active {
	background-color: #3d3d3d;
}

button#tier-reset-button,
button#option-reset-button,
button#theme-reset-button,
button#global-font-size-reset-button {
	right: 10px;
	background-image: url('/images/reset-light.png?v=2');
}
button#tier-reset-button:hover,
button#option-reset-button:hover,
button#theme-reset-button:hover,
button#global-font-size-reset-button:hover {
	background-image: url('/images/reset-light-hover.png?v=2');
}

button#tier-duplicate-button {
	background-image: url('/images/copy-light.png');
}
button#tier-duplicate-button:hover {
	background-image: url('/images/copy-light-hover.png');
}

button#tier-remove-button,
button#option-remove-button {
	background-image: url('/images/remove-light.png?v=2');
}
button#tier-remove-button:hover,
button#option-remove-button:hover {
	background-image: url('/images/remove-light-hover.png?v=2');
}

button#tier-duplicate-button {
	right: 120px;
}

button#tier-remove-button {
	right: 10px;
}

button#option-remove-button {
	left: 10px;
}

/*title*/
div.filter-title {
	position: absolute;
	top: 70px;
	left: 50%;
	transform: translate(-50%, 0);
	min-width: 200px;
	max-width: 380px;
	text-align: center;
	padding: 7px 40px;
	font-size: 13px;
	color: #e6e2cf;
	text-shadow: 0px 0px 1px #000000, 0px 0px 2px #000000, 0px 0px 3px #000000;
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.7) 30%,
		rgba(0, 0, 0, 0.7) 70%,
		rgba(0, 0, 0, 0) 100%
	);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
div.filter-title::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, transparent, rgba(230, 226, 207, 0.8), transparent) top, linear-gradient(to right, transparent, rgba(230, 226, 207, 0.8), transparent) bottom;
	background-repeat: no-repeat;
	background-size: 100% 1px;
	pointer-events: none;
}

/*beam*/
div.beam-visualization {
	position: absolute;
}

div.beam-visualization::before {
	content: '';
	position: absolute;

	left: 50%;
	bottom: 0;
	transform: translateX(-50%);

	border-left: 3px solid transparent;
	border-right: 3px solid transparent;
	border-bottom: 500px solid rgb(var(--beam-color));

	filter:
		drop-shadow(0px 0px 5px rgba(var(--beam-color), 1))
		drop-shadow(0px 0px 10px rgba(var(--beam-color), 0.6))
		blur(0.7px);
}

div.beam-visualization.brown::before,
div.beam-visualization.grey::before {
	filter:
		drop-shadow(0px 0px 5px rgba(0, 0, 0, 1))
		drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.6))
		blur(0.7px);
}

div.beam-visualization::after {
	content: '';
	position: absolute;

	bottom: -40px;
	left: 50%;
	transform: translateX(-50%);

	width: 80px;
	height: 40px;

	border-radius: 50%;

	background: radial-gradient(ellipse at center,
		rgba(var(--beam-color), 1) 30%,
		rgba(var(--beam-color), 0.6) 60%,
		rgba(var(--beam-color), 0) 100%
	);

	filter: blur(15px);
	pointer-events: none;
}

div.beam-visualization.red {
	--beam-color: 255, 102, 102;
}

div.beam-visualization.yellow {
	--beam-color: 255, 217, 102;
}

div.beam-visualization.green {
	--beam-color: 140, 255, 102;
}

div.beam-visualization.blue {
	--beam-color: 102, 153, 255;
}

div.beam-visualization.brown {
	--beam-color: 153, 68, 15;
}

div.beam-visualization.white {
	--beam-color: 204, 204, 204;
}

div.beam-visualization.grey {
	--beam-color: 62, 80, 89;
}

div.beam-visualization.cyan {
	--beam-color: 102, 255, 255;
}

div.beam-visualization.orange {
	--beam-color: 255, 140, 25;
}

div.beam-visualization.pink {
	--beam-color: 255, 77, 196;
}

div.beam-visualization.purple {
	--beam-color: 166, 77, 255;
}


/*color picker*/
div.color-picker {
	padding: 5px;
	text-align: center;
}

div.preview-block {
	display: flex;
	justify-content: center;
	margin: 0 0 10px 0;
	background-color: #000000;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	overflow: hidden;
}

div.color-picker div.palette-block {
	position: relative;
	display: flex;
}
div.color-picker div.hue-block,
div.color-picker div.alpha-block {
	padding: 20px 10px 0 10px;
}

div.color-picker div.palette,
div.color-picker div.hue,
div.color-picker div.alpha {
	position: relative;
}

div.color-picker div.color-values {
	display: flex;
	padding: 20px 0 5px 0;
	gap: 10px;
}

div.color-picker div.color-values > div {
	display: flex;
}

div.color-picker div.color-values > div > div.title {
	width: 50px;
	height: 30px;
	padding: 1px 0 0 0;
	line-height: 29px;
	font-size: 13px;
	color: #cccccc;
	text-align: center;
	background-color: #333333;
	border-radius: 4px 0px 0px 4px;
	-moz-border-radius: 4px 0px 0px 4px;
	-webkit-border-radius: 4px 0px 0px 4px;
}

div.color-picker div.color-values > div > div.value input {
	width: 100px;
	height: 30px;
	padding: 1px 0 0 0;
	line-height: 29px;
	font-size: 13px;
	color: #cccccc;
	text-align: center;
	background-color: #181818;
	border-radius: 0px 4px 4px 0px;
	-moz-border-radius: 0px 4px 4px 0px;
	-webkit-border-radius: 0px 4px 4px 0px;
	border: none;
	outline: none;
}

#rgbValue {
	width: 140px;
}

#colorPreview {
	display: inline-block;
	width: 180px;
	height: 180px;
	border-radius: 4px 0px 0px 4px;
	-moz-border-radius: 4px 0px 0px 4px;
	-webkit-border-radius: 4px 0px 0px 4px;
}

#paletteCanvas {
	display: block;
	width: 330px;
	height: 180px;
	border-radius: 0px 4px 4px 0px;
	-moz-border-radius: 0px 4px 4px 0px;
	-webkit-border-radius: 0px 4px 4px 0px;
	cursor: pointer;
}

#hueCanvas,
#alphaCanvas {
	display: block;
	height: 8px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	cursor: pointer;
}

#hueCanvas,
#alphaCanvas {
	width: 490px;
}

#alphaCanvas {
	background-image: repeating-conic-gradient(#ccc 0 90deg, #eee 90deg 180deg);
	background-size: 16px 16px;
	background-position: 0 -4px;
}

#palettePointer,
#huePointer,
#alphaPointer {
	position: absolute;
	width: 20px;
	height: 20px;
	border: 2px solid white;
	border-radius: 50%;
	box-shadow: 0 0 0 1px black;
	transform: translate(-50%, -50%);
	pointer-events: auto;
	cursor: pointer;
	z-index: 10;
}

#huePointer,
#alphaPointer {
	top: 50%;
}

#alphaPointer {
	background-image: repeating-conic-gradient(#ccc 0 90deg, #eee 90deg 180deg);
}
#alphaPointer::after {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	border-radius: 50%;
	background-color: var(--alpha-color, rgba(0, 0, 0, 0));
}
/*color picker*/
