* {
	margin: 0;
	padding: 0;
	font-family: "Roboto", sans-serif;
	outline: 0;
}

body {
	color: #fff;
	background: #222;
	overflow: hidden;
	user-select: none;
	-webkit-user-select: none;
	cursor: default;
	display: none;
}

body.dom-loaded {
	display: block;
}

input[type=number].hide-number-input-arrows {
	appearance: textfield;
	-moz-appearance: textfield;
}

input[type=number].hide-number-input-arrows::-webkit-outer-spin-button,
input[type=number].hide-number-input-arrows::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

#betaflag {
	position: absolute;
	transform: rotate(-30deg);
	background: linear-gradient(45deg, #fff4, #0004);
	color: #aaa;
	padding: 6px;
	width: 120px;
	text-align: center;
	left: -40px;
	top: 4px;
	user-select: none;
	-webkit-user-select: none;
	cursor: default;
}



#loading {
	width: 100vw;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	line-height: 24px;
}

#pages,
#menu,
.data-loaded #loading {
	display: none;
}
#loading-progressbar {
	height: 6px;
	width: 200px;
	background: #444;
	border-radius: 3px;
	margin-top: 18px;
	overflow: hidden;
}

#loading-progress {
	display: block;
	background: #ff4444;
	height: 100%;
	width: 0;
	box-shadow: 0 0 8px #880000;
}

.data-loaded #pages,
.data-loaded #menu {
	display: block;
}

/* Positioning */

.center {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.center-v {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

.flex {
	display: flex;
	width: 100%;
}

.hide {
	display: none;
}

.title {
	margin-top: 17px;
}

/* Button */

.button {
	padding: 8px 12px;
	box-sizing: border-box;
	margin: 0 8px;
	background: #333;
	border: 2px solid #555;
	cursor: pointer;
	text-align: center;
	font-weight: bold;
	font-size: 12.5px;
	color: #fff;
	position: relative;
	border-radius: 3px;
}

.button img {
	height: 16px;
	position: absolute;
	margin: -8px;
}

.hidden {
	display: none;
}

.graphics-level-1 .button {
	transition: 0.2s;
}

.button.n {
	margin: 0;
}

.button.red {
	background: #500;
	border-color: #800;
}

.button:hover {
	border: 2px solid #fff;
}

.button:disabled {
	opacity: 0.5;
	pointer-events: none;
}

.button.button-active {
	border-color: #ff450b;
}

.btn-small-text {
	font-size: 9px;
	color: #aaa;
	margin-left: 6px;
}

/* Combo */
.select-combo {
	display: flex;
	overflow: hidden;
}

.select-combo button,
.select-combo input {
	margin: 0 -2px 0 0;
}

.select-combo button.selected,
.select-combo input.selected {
	border-color: #fc0;
	background: #333;
	z-index: 5;
	position: relative;
}

.select-combo button:hover,
.select-combo input:hover {
	z-index: 10;
	position: relative;
}

/* Input */

.input {
	height: 31px;
	line-height: 31px;
	font-size: 12.5px;
	padding: 0 12px;
	background: #222;
	border: 2px solid #555;
	color: #fff;
	margin: 0 8px;
	position: relative;
	border-radius: 3px;
}

.graphics-level-1 .input {
	transition: 0.2s;
}

.input:hover:not(:disabled) {
	z-index: 10;
	border-color: #fff;
}

.input:disabled {
	opacity: 0.5;
}

/* Select */
select {
	background: #333;
	border: 1px solid #777;
	color: #fff;
	padding: 2px 4px;
	margin: 0 4px;
}

/* Button input relevant */

p.label {
	font-size: 14px;
	margin: 4px 0;
}

.column-margin {
	margin: 8px 0;
}

/* num-input */

.num-input {
	padding: 7px;
	border: 0;
	border-top: 2px solid transparent;
	border-bottom: 2px solid #555;
	background: transparent;
	color: #fff;
	text-align: center;
	width: 54px;
	font-weight: bold;
	font-size: 12.5px;
	transition: 0.2s;
}

.num-input:hover {
	border-bottom-color: #fff;
}

.num-input:focus {
	border-bottom-color: #fff;
}

/* Pages */

.page {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(#272727, #1a1a1a);
	overflow-y: overlay;
	overflow-x: hidden;
	z-index: 0;
}

#pages {
	position: absolute;
	top: 29px;
	left: 250px;
	right: 0;
	bottom: 0;
}

.chat-open .page {
	right: 300px;
}

/* Menu */

#menu {
	position: absolute;
	top: 29px;
	left: 0;
	right: 0;
	bottom: 0;
	width: 250px;
	background: #2f2f2f;
	padding-bottom: 30px;
}

#menu::before {
	box-shadow: 0 0 10px inset #0004;
	content: "";
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	z-index: 1;
	pointer-events: none;
}

/* Navigation */

#menu #nav {
	display: flex;
	flex-direction: column;
	margin-top: 12px;
	overflow-y: overlay;
	height: calc(100% - 222px - 12px);
}

#menu #nav.menu-disabled {
	opacity: 0.5;
	pointer-events: none;
}

#menu #nav button {
	background: #2f2f2f;
	color: #999;
	border: none;
	padding: 20px 60px;
	margin-bottom: 0;
	font-weight: bold;
	font-size: 15px;
	text-align: left;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.graphics-level-1 #menu #nav button,
.graphics-level-1 #menu #nav button img {
	transition: 0.2s;
}

#menu #nav button:hover {
	background: #393939;
}

#menu #nav button.active,
#menu #nav button:hover {
	color: #fff;
}

#menu #nav button img {
	position: absolute;
	top: 17px;
	left: 20px;
	width: 24px;
	opacity: 0.5;
}

#menu #nav button.active img,
#menu #nav button:hover img {
	opacity: 1;
}

.combo-nav {
	display: flex;
	border-top: 1px solid #444;
}

.combo-nav button {
	padding: 0 !important;
	height: 58px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.combo-nav button img {
	position: initial !important;
}

/* Currency section */

#money {
	height: 92px;
	text-align: center;
	line-height: 92px;
	font-size: 24px;
}


.scale2x {
  animation: scale2x 200ms 2 ease-in-out alternate;
  }
@keyframes scale2x {
	to {
		scale:2
	}
}


	

#currency-other,
#level-bar-text {
	display: flex;
	justify-content: space-between;
	margin: 8px 16px;
}

#tickets,
#tokens {
	padding-left: 24px;
	background-position: center left;
	background-size: 16px;
	background-repeat: no-repeat;
	line-height: 20px;
}

#tickets {
	background-image: url(images/icons/tickets-16.png);
}

#tokens {
	background-image: url(images/icons/tokens-16.png);
}

/* Level section */

#level-bar {
	width: 100%;
	height: 3px;
	background: #444;
}

#level-bar-p {
	height: 100%;
	max-width: 100%;
	background: linear-gradient(45deg, red, yellow);
	transition: 0.3s;
}
.level-bar-highlight {
	animation: level-bar-highlight 0.2s ease-in-out forwards;
}

@keyframes level-bar-highlight {
	from {box-shadow: 0 3px #ffff inset;}
	to {box-shadow: 0 3px #fff0 inset;}
}

#level-title {
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	color: #999;
}

#level-image {
	height: 48px;
	background-size: 32px;
	background-position: center;
	background-repeat: no-repeat;
}

/* Click */

[page="click"] {
	overflow: hidden;
}

.clickbtn {
	font-size: 200px;
	text-align: center;
	line-height: 100%;
	user-select: none;
	-webkit-user-select: none;
	cursor: default;
}

.click-how2-text {
	text-align: center;
	color: #999;
	margin-top: 10px;
}

.floating-text {
	position: absolute;
	color: #fff;
	transition: 0.5s;
	user-select: none;
	-webkit-user-select: none;
	cursor: default;
	pointer-events: none;
}


.ce-activator {
	position: absolute;
	width: 80px;
	height: 80px;
	background-size: 60px;
	background-color: #888;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 40px;
	animation: idle 0.7s ease-in-out alternate infinite;
}

@keyframes idle {
	0% {
		transform: scale(1) rotate(22deg);
		opacity: 1;
	}

	50% {
		transform: scale(1.3) rotate(0deg);
		opacity: 0.8;
	}

	100% {
		transform: scale(1) rotate(-22deg);
		opacity: 1;
	}
}

.ce-activator-container {
	position: absolute;
	width: 80px;
	height: 80px;
}

@keyframes decay {
	70% {
		transform: scale(1);
		opacity: 1;
	}

	100% {
		transform: scale(0);
		opacity: 0;
	}
}

.ce-activator-container.ce-activated {
	animation: explode 0.2s linear forwards !important;
	pointer-events: none;
}

@keyframes explode {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(2);
		opacity: 0;
	}
}

.click-ce-list {
	position: absolute;
	top: 20px;
	left: 20px;
}

.click-ce-list-item {
	background: #333;
	border: 2px solid #9d8421;
	padding: 10px;
	border-radius: 4px;
	box-shadow: 0 2px 4px #0008;
	margin-bottom: 10px;
}

/* Inventory */

/* Compact Mode Switch (class-based clone of vertical-switch custom element) */
.v-switch {
	padding-right: 12px;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	font-size: 12px;
	color: #aaa;
	cursor: pointer;
	margin: 0 6px;
	height: 35px;
	user-select: none;
}
.v-switch::before {
	content: "";
	position: absolute;
	right: 0px;
	top: 5px;
	height: 25px;
	width: 6px;
	background: #333;
	border: 1px solid #555;
	border-radius: 3px;
	box-sizing: border-box;
}
.v-switch::after {
	content: "";
	position: absolute;
	right: 1px;
	top: 6px;
	height: 10px;
	width: 4px;
	background: #999;
	border-radius: 2px;
	transition: 0.2s;
	box-shadow: none;
}
.v-switch.v-switch-on::after {
	top: 19px;
	background: #c9a41e;
	box-shadow: 0 -1px 2px #fc0;
}
.v-switch:focus-visible {
	outline: 1px solid #fff;
	outline-offset: 2px;
}

.inventory-container {
	display: flex;
	flex-wrap: wrap;
	padding-bottom: 50px;
	justify-content: center;
}

.inventory-management-controls {
	margin-top: 10px;
	display: flex;
	justify-content: center;
}

.inventory-management-controls .imc-text {
	display: flex;
	align-items: center;
	font-size: 14px;
	margin: 0 12px;
	color: #aaa;
}

.inventory-note {
	margin: 80px auto;
	color: #888;
}

.item-container {
	margin: 12px;
	position: relative;
	perspective: 250px;
}

.compact .item-container:not(.no-optional-compact),
.natural-compact .item-container {
	margin: 8px;
}

.item-container.locked {
	pointer-events: none;
}

.item-container.locked .item,
.item-container.locked .button {
	opacity: 0.4;
}

.item-locked {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	text-shadow: 0 1px #000;
}

.item-locked-title {
	font-family: "Teko", sans-serif;
	font-size: 24px;
}

.item-locked-description {
	width: 85%;
	font-size: 14px;
}

#inventory-container .item-container {
	margin-right: 0;
	margin-bottom: 0;
}

.item {
	width: 150px;
	height: 200px;
	display: flex;
	flex-direction: column;
	border-left: 3px solid #fff;
	background: #333;
	position: relative;
	overflow: hidden;
	user-select: none;
	-webkit-user-select: none;
	cursor: default;
}

.item:active {
	transform: scale(0.95) !important;
	opacity: 0.8;
	transition: 0.1s !important;
}

.graphics-level-1 .item {
	transition:
		0.2s,
		transform 0s;
}

.graphics-level-1 .item.transform-ended {
	transition:
		0.2s,
		transform 0.4s ease;
}

.graphics-level-2 .item {
	box-shadow: 0 4px 8px #0003;
	border-radius: 3px;
}

.compact.graphics-level-2 .item-container:not(.no-optional-compact) .item,
.natural-compact.graphics-level-2 .item {
	border-radius: 2px;
}

.item-3d-shine-effect {
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(#9992 0%, #0002 70%, #0004 100%);
	opacity: 0;
	transition: 0.2s opacity;
	pointer-events: none;
}

.item-image {
	width: 150px;
	height: 150px;
	background-size: 130px;
	background-position: center;
	background-repeat: no-repeat;
	transition: 0.2s;
}

.graphics-level-3 .item-image {
	filter: drop-shadow(0 8px 8px #0004);
}

.graphics-level-1 .item-image:hover {
	background-size: 160px;
}

.graphics-level-2 .item-image:hover {
	background-size: 130px;
}

.item-stattrak {
	position: absolute;
	right: 6px;
	bottom: 36px;
	width: 38px;
	height: 38px;
	background-image: url(/images/stattrak.png);
	background-size: 100%;
	pointer-events: none;
}

.item-souvenir {
	position: absolute;
	top: 6px;
	right: 8px;
	font-size: 14px;
	color: #fc0;
	text-shadow: 0 1px #000;
}

.compact .item-container:not(.no-optional-compact) .item-souvenir,
.natural-compact .item-souvenir {
	top: initial;
	right: initial;
	bottom: 40px;
	left: 10px;
	font-size: 11px;
}

.item-price {
	padding: 10px;
	margin-top: -39px;
	color: #ddd;
	text-shadow: 0 1px #000;
}

.item-text {
	height: 50px;
	background: #2c2c2c;
	padding: 8px 15px;
	box-sizing: border-box;
	line-height: initial;
}

.item-type {
	font-weight: 500;
	color: #aaa;
	font-size: 12px;
}

.item-name {
	margin-top: 1px;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.item-quality {
	padding: 6px 9px;
	color: #ddd;
	text-shadow: 0 1px #000;
	font-size: 16px;
	font-weight: 500;
}

.compact .item-container:not(.no-optional-compact) .item-quality,
.natural-compact .item-quality {
	font-size: 14px;
}

.item-amount-text {
	margin: 8px;
	font-weight: 500;
	font-size: 15px;
	color: #ddd;
}

.item-info-btn::after {
	content: "";
	position: absolute;
	width: 48px;
	height: 48px;
	right: 0;
	background-image: url(images/icons/more-24.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 24px;
	opacity: 0;
	transition: 0.2s;
}

.item-info-btn:hover::after {
	opacity: 1 !important;
}

.item-sell,
.item-buy {
	width: 136px;
	margin-top: 16px;
}

.compact .item-container:not(.no-optional-compact) .item,
.natural-compact .item {
	width: 100px;
	height: 130px;
	border-left-width: 2px;
}

.compact .item-container:not(.no-optional-compact) .item-price,
.natural-compact .item-price {
	font-size: 12px;
}

.compact .item-container:not(.no-optional-compact) .item-text,
.natural-compact .item-text {
	line-height: 35px;
	height: 35px;
	padding: 0 8px;
}

.compact .item-container:not(.no-optional-compact) .item-type,
.natural-compact .item-type {
	display: none;
}

.compact .item-container:not(.no-optional-compact) .item-name,
.natural-compact .item-name {
	font-size: 12px;
}

.compact .item-container:not(.no-optional-compact) .item-image,
.natural-compact .item-image {
	background-size: 80px;
	width: 100px;
	height: 100px;
}

.compact .item-container:not(.no-optional-compact) .item-image:hover,
.natural-compact .item-image:hover {
	background-size: 110px;
}

.graphics-level-2.compact .item-container:not(.no-optional-compact) .item-image:hover,
.graphics-level-2.natural-compact .item-image:hover {
	background-size: 80px !important;
}

.compact .item-container:not(.no-optional-compact) .item-sell,
.compact .item-container:not(.no-optional-compact) .item-buy,
.natural-compact .item-sell,
.natural-compact .item-buy {
	font-size: 11px;
	width: 86px;
}

.compact .item-container:not(.no-optional-compact) .item-stattrak,
.natural-compact .item-stattrak {
	bottom: 24px;
}

.natural-compact .compact-hide {
	display: none;
}

.item-set-fav {
	position: absolute;
	top: 0;
	right: 0;
	background-image: url(/images/star.png);
	width: 24px;
	height: 24px;
	background-position: center;
	background-size: 16px;
	background-repeat: no-repeat;
	cursor: pointer;
	opacity: 0;
	transition: 0.1s;
}

.item-container:hover .item-set-fav {
	opacity: 0.8;
}

.item-set-fav.fav {
	background-image: url(/images/starred.png);
	opacity: 1;
}

/* Dropdown */
.css-dropdown-contents {
	display: none;
	flex-direction: column;
	position: absolute;
	background: #333;
	width: 170px;
	margin-left: 8px;
	box-shadow: 0 4px 8px #555;
	border: 2px solid #555;
	margin-top: 2px;
	z-index: 10;
}

.css-dropdown-contents::after {
	content: "";
	height: 2px;
	width: 100%;
	background: #222;
	position: absolute;
	margin-top: -4px;
}

.css-dropdown > button:focus ~ .css-dropdown-contents,
.css-dropdown > button:hover ~ .css-dropdown-contents,
.css-dropdown-contents:hover {
	display: flex;
}

.css-dropdown-contents button {
	color: #fff;
	background: transparent;
	border: none;
	text-align: left;
	padding: 10px 15px;
	cursor: pointer;
}

.css-dropdown-contents button:hover {
	background: #222;
}

/* Shop */
#shop-container {
	margin-top: 74px;
	box-shadow: 0 -40px 80px -40px #0008;
	border-top: 1px solid #0008;
}

#shop-title {
	position: absolute;
	margin: 12px 32px;
	font-weight: 800;
	font-size: 40px;
	font-family: "Teko", sans-serif;
	color: #fffa;
}

.shop-discount {
	background: radial-gradient(#009700, #006c00);
	border: 1px solid #fff2;
	padding: 9px;
	font-size: 24px;
	margin-left: 20px;
	border-radius: 5px;
	transform: rotate(-4deg) translateY(-4px);
	box-shadow: 0 2px 6px #0806;
}

.category-title {
	margin: 24px 32px 10px;
	font-weight: 800;
	display: flex;
	align-items: center;
}

.category-title > span:first-child {
	font-size: 50px;
	font-family: "Teko", sans-serif;
}

.category-description {
	margin: -10px 32px 16px;
	color: #999;
}

.category-title-time {
	font-size: 18px;
	margin-left: 24px;
	font-weight: 400;
	color: #aaa;
}

.category-items {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

/* Inspect */

.back-btn {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 100;
}

.inspect-title {
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	text-align: center;
	font-size: 35px;
	font-weight: bold;
	font-family: "Teko", sans-serif;
}

.inspect-image {
	width: 384px;
	height: 384px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	z-index: -1;
	margin-bottom: 60px;
	position: relative;
}

.inspect-image:not(.mini)::before {
	content: "";
	background: radial-gradient(closest-side, #444, transparent);
	height: 100px;
	position: absolute;
	bottom: -40px;
	left: 0;
	right: 0;
}

.graphics-level-1 .inspect-image {
	filter: drop-shadow(0 20px 20px #0008);
}

.graphics-level-1 .inspect-image {
	animation: hovering 2s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
}

@keyframes hovering {
	from {
		background-position: 0 10px;
	}

	to {
		background-position: 0 -10px;
	}
}

.inspect-image.mini {
	width: 64px;
	height: 64px;
	margin-top: -16px;
	margin-bottom: 16px;
}

.graphics-level-1 .inspect-image.mini {
	filter: drop-shadow(0 10px 10px #0004);
}

.inspect-item-stats th {
	text-align: right;
	padding: 2px 8px;
}

.inspect-item-stats td {
	padding: 2px;
}

.inspect-top {
	height: 100px;
}

.inspect-case {
	display: none;
}

.inspect-case.show {
	display: block;
}

.inspect-case-wheel {
	height: 200px;
	background: #191919;
	display: flex;
	justify-content: center;
	margin-bottom: 40px;
	padding: 25px;
}

.inspect-case-wheel .item-container {
	margin: 0 12.5px;
}

.inspect-case-options {
	display: flex;
	justify-content: center;
}

.inspect-case-content {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
	margin-top: 24px;
}

/* Opencase */

.opencase-wheels {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.opencase-wheel {
	background: #292929;
	overflow-x: hidden;
	margin-top: 20px;
	box-shadow:
		0 0 2px #777,
		0 0 8px #fc01;
	flex-shrink: 0;
	height: 224px;
}

.opencase-wheel:first-child {
	margin-top: auto;
}

.opencase-wheel:last-child {
	margin-bottom: auto;
}

.opencase-wheel-scroller {
	transform: translateX(0px);
	transition: 10s cubic-bezier(0, 0, 0, 1);
	display: flex;
}

.opencase-wheel::after {
	content: "";
	width: 2px;
	height: 224px;
	background: #fc0;
	position: absolute;
	/* margin-top: -224px; */
	margin-left: calc(50% - 1px);
	box-shadow: 0 0 8px #fe6;
}

.compact .opencase-wheel {
	height: 146px;
}
.compact .opencase-wheel::after {
	height: 146px;
	/* margin-top: -146px; */
}

.opencase-wheel::before {
	content: "";
	width: 100%;
	height: 224px;
	background: radial-gradient(circle, transparent, transparent, #111);
	position: absolute;
	z-index: 1;
	pointer-events: none;
}

.compact .opencase-wheel::before {
	height: 146px;
}

.opening-finished .item-container:not(.case-item-won) {
	opacity: 0.5;
	transform: scale(0.9);
	transition: 1s;
	pointer-events: none;
}

/* Item Selector */

.select-cat {
	width: 100%;
	font-weight: bold;
	padding: 4px;
	text-align: center;
}

#select-owned-items,
#select-selected-items {
	width: 50%;
	min-width: 50%;
	display: flex;
	overflow-y: overlay;
	overflow-x: hidden;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
	height: calc(100vh - 246px);
	margin-bottom: 20px;
}

#select-owned-items {
	border-right: 1px solid #555;
}

#select-selected-items {
	border-left: 1px solid #555;
}

#select-items-page {
	text-align: center;
}

.select-items-controls {
	display: flex;
	justify-content: space-around;
	width: 100%;
	margin-bottom: 10px;
	white-space: nowrap;
}

.select-items-controls-left,
.select-items-controls-right {
	width: 200px;
	display: flex;
	justify-content: center;
}

.select-items-header {
	font-size: 40px;
	padding: 0;
	margin-top: 20px;
}

.select-items-info {
	margin-top: -8px;
	margin-bottom: 10px;
	font-size: 14px;
	color: #888;
}

/* Betting */

.betting-cols {
	display: flex;
}

.betting-game {
	display: flex;
	background: #333;
	box-shadow: 0 2px 4px #0003;
	margin: 20px 10px;
	height: 88px;
}

.betting-game img {
	height: 64px;
	margin: 10px;
}

.betting-game button {
	font-weight: bold;
	color: #fff;
	background: transparent;
	border: none;
	border-left: 2px solid #222;
	min-width: 200px;
}

.betting-game button:hover {
	background: #444;
	cursor: pointer;
}

/* Withdraw Menu */
.withdraw-conversion {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.withdraw-c-left {
	height: 48px;
}

.withdraw-c-center {
	height: 40px;
	margin-left: 16px;
	margin-right: 12px;
}

.withdraw-c-right {
	font-size: 48px;
	width: 48px;
	text-align: center;
}

.withdraw-description {
	margin-bottom: 20px;
	color: #aaa;
}

/* Coinflip */

#coinflip-ct {
	position: absolute;
	left: calc(50% - 275px);
	top: calc(50% - 125px);
	width: 250px;
	height: 250px;
	background-size: 100%;
	background-image: url(images/coin_ct.png);
}

#coinflip-t {
	position: absolute;
	left: calc(50% + 25px);
	top: calc(50% - 125px);
	width: 250px;
	height: 250px;
	background-size: 100%;
	background-image: url(images/coin_t.png);
}

.coinflip-perspective {
	position: absolute;
	top: calc(50% - 125px);
	left: calc(50% - 125px);
	width: 250px;
	height: 250px;
	perspective-origin: center;
	perspective: 500px;
	pointer-events: none;
}

#coinflip-coin {
	position: absolute;
	transform: rotateY(0deg);
	transform-style: preserve-3d;
	transform-origin: center;
	width: 250px;
	height: 250px;
}

.coinflip-face-ct {
	position: absolute;
	width: 250px;
	height: 250px;
	background-size: 100%;
	background-image: url(images/coin_ct.png);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.coinflip-face-t {
	position: absolute;
	width: 250px;
	height: 250px;
	background-size: 100%;
	background-image: url(images/coin_t.png);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transform: rotateY(180deg);
}

#coinflip-status {
	position: absolute;
	top: calc(50% - 200px);
	left: 25%;
	width: 50%;
	text-align: center;
	font-size: 32px;
}

#coinflip-status:not(.hide) {
	animation: show-txt 0.4s ease-out;
}

@keyframes show-txt {
	from {
		margin-top: 20px;
		opacity: 0;
	}
}

/* Winnings */

.winnings-list {
	display: flex;
	flex-wrap: wrap;
	overflow-y: overlay;
	overflow-x: hidden;
	justify-content: center;
}

.winnings-controls {
	display: flex;
	justify-content: center;
}

.winnings-value {
	color: #bbb;
	margin-bottom: 16px;
	margin-top: -16px;
	font-size: 15px;
}

/* Cookies */
#cookies {
	position: fixed;
	bottom: 0;
	height: 100px;
	line-height: 120px;
	left: 0;
	right: 0;
	text-align: center;
	background: linear-gradient(to top, #222, transparent);
	pointer-events: none;
	z-index: 100;
}

#cookies span > span {
	margin: 0 8px;
}

#cookies a {
	color: #fff;
	text-shadow: 0 1px #000;
	pointer-events: auto;
}

/* Settings */

#about-settings {
	margin-left: 40px;
	line-height: 28px;
}

#about-settings > .button,
#about-settings > .input {
	margin-right: 8px;
}

.floating-item-example {
	position: absolute;
	right: 50px;
}

.floating-item-example i {
	color: #888;
}

#floating-item-example {
	display: flex;
	justify-content: center;
}

/* About */

#about-beta {
	background: #311;
	color: #fee;
	padding: 40px;
	margin-bottom: 20px;
	box-shadow:
		0 -20px 10px -10px #222 inset,
		0 20px 10px -10px #222 inset;
}

#about-changelog {
	margin: 60px 40px;
}

#about-credits {
	margin: 60px 40px;
	line-height: 28px;
	color: #bbb;
}

#version-version {
	position: absolute;
	bottom: 10px;
	left: 10px;
	opacity: 0.4;
	font-size: 14px;
}

/* Dropdowns */

.dropdown {
	position: absolute;
	z-index: 10000;
	background: #191919;
	box-shadow: 0 2px 6px #0006;
	border-radius: 4px;
	opacity: 0;
	pointer-events: none;
}

.dropdown.show {
	opacity: 1;
	pointer-events: auto;
}

.dropdown-text {
	margin: 8px;
	text-align: center;
}

/* Achievements */

h1 {
	padding: 50px 30px 10px;
	font-family: "Teko", sans-serif;
	font-size: 50px;
}

.achievement {
	padding: 12px 30px;
	border-bottom: 1px solid #444;
	opacity: 0.5;
	overflow: hidden;
	position: relative;
}

.achievement.completed {
	opacity: 1;
}

.achievement-title {
	font-weight: 500;
}

.achievement-desc {
	font-size: 14px;
	color: #888;
	margin-top: 3px;
}

.achievement button {
	position: absolute;
	right: 30px;
	top: 14px;
}

[page="achievements"] p {
	padding: 32px 30px 12px;
	border-bottom: 1px solid #444;
	font-weight: bold;
}

#achievements_not_collected,
#achievements_not_collected_b {
	display: inline-block;
	color: #f35b54;
	margin-left: 4px;
}

.subtitle {
	margin: 0 30px 10px;
	color: #888;
}

.achievement-noti-name {
	font-size: 20px;
	color: #fc0;
	text-shadow:
		0 1px #000,
		0 2px 20px #fc0a;
	font-weight: 500;
	margin: 4px 0;
}

.achievement-noti-title {
	color: #aaa;
	font-size: 12px;
}

/* Upgrades */

/* 
.upgrade {
	position: absolute;
	width: 80px;
	height: 80px;
	box-sizing: border-box;
	border-radius: 50px;
	margin: 35px;
	background: transparent no-repeat center;
	background-size: 60px;
	filter: grayscale(1);
	transition: 0.2s;
}

.upgrade:hover {
	transform: scale(1.1);
}

.upgrade.upgrade-bought {
	width: 90px;
	height: 90px;
	margin: 30px;
	background: #393939 no-repeat center;
	background-size: 70px;
	box-shadow: 0 0 8px #0008;
	filter: grayscale(0);
}

.upgrade-name {
	position: absolute;
	margin-top: 90px;
	text-align: center;
	width: 100%;
	color: #777;
	pointer-events: none;
	text-shadow:
		0 1px 2px #000,
		0 1px #000;
}

.upgrade.upgrade-bought .upgrade-name {
	margin-top: 100px;
	color: #aaa;
}

.upgrade.upgrade-can-buy {
	width: 80px;
	height: 80px;
	margin: 35px;
	background: #8888 no-repeat center;
	background-size: 70px;
	box-shadow: 0 0 0 4px #fff;
	filter: grayscale(0);
	cursor: pointer;
}

.upgrade-info {
	position: absolute;
	background: #222;
	pointer-events: none;
	width: 300px;
	border: 1px solid #444;
	margin-left: -150px;
	margin-top: 120px;
	box-shadow:
		0 2px 4px #0006,
		0 4px 16px #0003;
	border-radius: 4px;
	overflow: hidden;
	animation: fade-up 0.2s;
}

@keyframes fade-up {
	from {
		opacity: 0;
		margin-top: 128px;
	}
}

.upgrade-info-name {
	text-align: center;
	border-bottom: 2px solid #333;
	padding: 4px;
	margin-bottom: 2px;
	font-weight: 500;
	background: #262626;
}

.upgrade-info-description {
	text-align: center;
	border-bottom: 2px solid #333;
	padding: 4px;
	margin-bottom: 2px;
}

.upgrade-info-description:last-child {
	border-bottom: none;
}

.upgrade-info-requirement {
	padding: 4px;
	color: #e54;
}

.upgrade-info-requirement.upgrade-info-requirement-fulfilled {
	color: #aaa;
}

.upgrades-header {
	position: absolute;
	z-index: 1;
	display: flex;
	align-items: center;
}

.upgrades-header h1 {
	padding: 0;
	margin-left: 30px;
	margin-top: 30px;
	text-shadow:
		0 4px 16px #000,
		0 2px 2px #000;
	color: #fffa;
}

.upgrades-header button {
	padding: 8px;
	margin-left: 20px;
	margin-top: 20px;
}

#upgrades_available {
	display: inline-block;
	color: #fc0;
	margin-left: 4px;
} */

/* Online Betting */
#online-betting {
	display: flex;
	align-items: center;
	font-size: 12px;
	color: #888;
}

#online-betting-status {
	width: 6px;
	height: 6px;
	border-radius: 3px;
	background: #ce5151;
	margin-right: 6px;
}

/* Jackpot */
#jackpot-wheel {
	width: 80%;
	background: #191919;
	box-shadow: 0 4px 8px #191919;
	margin-top: 20px;
	margin-bottom: 20px;
	overflow: hidden;
	position: relative;
	height: 72px;
}

#jackpot-wheel::before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 1;
	box-shadow: 0 0 16px #000 inset;
}

#jackpot-wheel::after {
	content: "";
	width: 1px;
	height: 72px;
	background: #fc0;
	position: absolute;
	left: 50%;
	top: 0;
}

#jackpot-wheel-inner {
	display: flex;
}

.jackpot-tile {
	width: 72px;
	min-width: 72px;
	height: 72px;
	border: 1px solid #333;
	box-sizing: border-box;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background-size: 100%;
	box-shadow: 0 -32px 16px -16px #111 inset;
}

.jackpot-tile-name {
	font-size: 12px;
	margin: 2px;
}

.jackpot-tile-you .jackpot-tile-name {
	color: #fc0;
}

.jackpot-winner {
	box-shadow:
		0 0 16px 0 #fc0 inset,
		0 -32px 16px -16px #111 inset,
		0 0 8px #fc08;
	transition: 0.3s;
	border-color: #fc0;
	z-index: 1;
}

#jackpot-roll-countdown {
	margin-bottom: 20px;
}

.jackpot-header {
	width: 500px;
	margin-bottom: 8px;
	padding: 0 12px;
	box-sizing: border-box;
	font-size: 14px;
	color: #aaa;
}

.jackpot-header.m {
	margin-top: 20px;
}

.jackpot-highlighted {
	color: #fff;
}

#jackpot-players {
	margin-top: 5px;
	width: 500px;
	margin-bottom: 50px;
}

.jackpot-player {
	padding: 6px 12px;
	border-top: 1px solid #444;
	display: flex;
}

.jackpot-player:last-of-type {
	border-bottom: 1px solid #444;
}

.jackpot-player-avatar {
	width: 48px;
	height: 48px;
	background-size: 48px;
}

.jackpot-player-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-left: 10px;
}

.jackpot-player-name {
	font-weight: 500;
}

.jackpot-player-you .jackpot-player-name {
	font-weight: 800;
	color: #fc0;
}

.jackpot-player-bet {
	margin-top: 4px;
	font-size: 14px;
	color: #aaa;
	white-space: pre;
}

.jackpot-items-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0 60px;
	margin-bottom: 60px;
}

.jackpot-section-title-centered {
	display: flex;
	justify-content: center;
	margin-bottom: 30px;
	color: #aaa;
}

/* Online Jackpot */
.jo-wheel {
	width: 75%;
	background: #111;
	height: 80px;
	margin: 10px 0;
}

.jo-status {
	text-align: center;
}

.jo-header {
	text-align: center;
	margin-top: 50px;
	margin-bottom: 18px;
	font-size: 20px;
	font-weight: 500;
}

.jo-players {
	display: grid;
	grid-template-columns: repeat(auto-fit, 250px);
	margin: 10px;
}

.jo-player {
	display: grid;
	grid-template-columns: 56px auto;
	grid-template-areas:
		"avatar name"
		"avatar bet";
	margin: 10px;
}

.jo-player-avatar {
	grid-area: avatar;
	width: 56px;
	height: 56px;
	background-size: cover;
	background-color: #000;
}

.jo-player-name {
	grid-area: name;
	margin-left: 10px;
}

.jo-player-bet {
	grid-area: bet;
	margin-left: 10px;
}

.jo-player-items {
	margin-bottom: 32px;
}

.jo-player-items-name {
	text-align: center;
	color: #aaa;
	margin-bottom: 10px;
}

.jo-items-pool {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.jo-player-items-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.is-winner .jo-player-name {
	font-weight: bold;
	color: #fc0;
}

.is-winner .jo-player-items-name {
	font-weight: bold;
	color: #fc0;
}

.jo-info-text {
	text-align: center;
	color: #888;
	margin: 24px;
	line-height: 24px;
}

/* Crash */
.crash-game {
	border: 1px solid #999;
}

.crash-body {
	margin-top: 20px;
	display: flex;
	margin-bottom: 100px;
}

.crash-game-controls {
	display: flex;
	flex-direction: column;
}

.crash-history {
	margin-top: 8px;
	display: flex;
	justify-content: flex-end;
	width: 786px;
	overflow: hidden;
	flex-direction: row-reverse;
}

.coins {
	margin-bottom: 20px;
	font-size: 16px;
}

.crash-at {
	width: 52px;
	height: 24px;
	text-align: center;
	line-height: 24px;
	border-radius: 12px;
	font-size: 12px;
	flex-shrink: 0;
	margin-left: 6px;
	margin-bottom: 6px;
	font-weight: 500;
	color: #ff8c8c;
}

.crash-at-2 {
	color: #90ff8c;
}

.crash-at:last-child {
	background: #444;
	box-shadow: 0 2px 4px #0004;
	animation: new-crash-at 0.3s ease-out;
}

.crash-history-label {
	color: #aaa;
	width: 786px;
	font-size: 14px;
	margin-top: 8px;
	padding-left: 6px;
	box-sizing: border-box;
}

@keyframes new-crash-at {
	0% {
		position: relative;
		top: 30px;
	}

	100% {
		position: relative;
		top: 0px;
	}
}

.crash-game-controls p {
	font-size: 12px;
	margin: 8px;
	width: 168px;
}

.crash-game-controls .crash-description {
	font-size: 14px;
	color: #aaa;
}

.crash-controls-section {
	display: flex;
	flex-direction: column;
	margin-bottom: 16px;
}

.checkbox-label {
	font-size: 12px;
	margin: 8px;

	input {
		margin-right: 8px;
	}
}

/* Nav */

.standard-nav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	z-index: 1000;
	background: #222;
	box-shadow: 0 -4px 4px 4px #888;
}

.standard-nav .nav-separator {
	height: 28px;
	border-left: 1px dashed #666;
	margin: 0 4px;
}

.standard-nav a {
	text-decoration: none;
}

.standard-nav .nav-button {
	padding: 6px 12px;
	font-family: "Roboto", sans-serif;
	font-size: 14px;
	color: #fff;
	cursor: pointer;
	line-height: 1.2;
	display: flex;
}

.standard-nav .nav-button:hover {
	text-decoration: underline;
}

.standard-nav .nav-button.disabled {
	color: #888;
}

.standard-nav .nav-count {
	padding: 0 6px;
	height: 16px;
	background: #ff444488;
	font-size: 9px;
	display: inline-block;
	margin-left: 6px;
	border-radius: 8px;
	line-height: 16px;
	font-weight: bold;
	text-align: center;
	text-shadow: 0 1px #0004;
	box-shadow: 0 4px 8px #222 inset;
	color: #bbb;
	white-space: nowrap;
	animation: nav-count-fade 10s;
	opacity: 0;
}

@keyframes nav-count-fade {
	from {
		opacity: 1;
	}

	80% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.standard-nav .nav-count::after {
	content: " Online";
}

.standard-nav .nav-text {
	color: #888;
	line-height: 1.2;
	padding: 7px 6px 7px 0;
	font-family: "Roboto", sans-serif;
	font-size: 12px;
}

.standard-nav .right {
	margin-left: auto;
}

/* Welcome Message */
.overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #0008;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Other */
.beta-flag {
	background: #fc0;
	color: #000;
	padding: 3px;
	padding-bottom: 2px;
	border-radius: 3px;
	margin-left: 10px;
}

.dev-flag {
	background: #f00;
	color: #fff;
	padding: 3px;
	padding-bottom: 2px;
	border-radius: 3px;
	margin-left: 10px;
}

.dev-feature {
	display: none;
}

.dev .dev-feature {
	display: block;
}

a {
	color: #fff;
}

.button-left-label {
	line-height: 35px;
	margin-right: 12px;
	font-size: 14px;
	color: #aaa;
}

/* Combo Button */
div#shop-controls {
	position: absolute;
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 20px;
}

.combo-button {
	border: 2px solid #555;
	background: #333;
	padding: 8px 12px;
	color: #fff;
	font-size: 12.5px;
	font-weight: bold;
	cursor: pointer;
}

.graphics-level-1 .combo-button {
	transition: 0.2s;
}

.combo-button:not(:first-child) {
	margin-left: -2px;
}

.combo-button:hover {
	z-index: 10;
	border-color: #fff;
}

.combo-right {
	margin-right: 0px;
}

/* Local User */
#nav-profile {
	display: flex;
	align-items: center;
}

.nav-profile-picture {
	width: 28px;
	height: 28px;
	background: #000;
}

.nav-profile-name {
	height: 100%;
	display: flex;
	align-items: center;
	font-size: 14px;
	padding: 0 12px;
	background: #191919;
}

.nav-profile-expand {
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #aaa;
	margin-left: 10px;
	margin-right: -2px;
	transition: 0.1s;
}

#nav-profile:hover {
	cursor: pointer;
	text-decoration: underline;
}

#nav-profile:hover .nav-profile-expand {
	margin-top: 5px;
	border-top-color: #fff;
}

#local-profile-popup {
	position: absolute;
	top: 34px;
	right: 22px;
	background: #222;
	border: 1px solid #555;
	border-radius: 4px;
	width: 320px;
	min-height: 106px;
	box-shadow: 0 10px 20px #0008;
	transform: translateY(-12px);
	opacity: 0;
	pointer-events: none;
	transition: 0.3s;
}

#local-profile-popup.show {
	transform: translateY(0px);
	opacity: 1;
	pointer-events: auto;
}

.local-pop-notice {
	color: #888;
	font-size: 12px;
	padding: 6px;
}

.local-pop-profile {
	display: flex;
}

.local-pop-picture {
	width: 64px;
	height: 64px;
	background: #000;
	margin: 4px 12px;
	border-radius: 4px;
}

.local-pop-name {
	font-size: 20px;
	font-weight: 500;
	margin-top: 6px;
	background: transparent;
	border: none;
	color: #fff;
	height: 28px;
	border-bottom: 2px solid #fff0;
}

.local-pop-name:hover {
	border-bottom: 2px solid #fff4;
}

.local-pop-name:focus {
	border-bottom: 2px solid #fc0a;
}

/* Dropdown */
.js-dropdown {
	opacity: 1;
	width: 150px;
	pointer-events: auto;
}

.dropdown-small-button {
	font-size: 14px;
	padding: 6px 10px;
	text-align: right;
	cursor: pointer;
}

.dropdown-small-button:hover {
	text-decoration: underline;
}

/* Account */
.account-settings {
	padding: 20px 40px;
}

.account-settings input {
	padding: 4px;
	margin: 5px 0;
	background: #444;
	color: #fff;
}

.account-settings input:focus {
	border-color: #fff;
}

.account-settings .error {
	color: #f44;
	font-size: 14px;
}

.save-account-settings {
	margin: 0 40px;
}

/**
 * Notifications
 */
.notifications {
	position: absolute;
	right: 10px;
	top: 30px;
	max-height: calc(100% - 40px);
	z-index: 1000;
	overflow-y: overlay;
	padding: 10px 20px;
}

.notification {
	background: #333;
	z-index: 1000;
	padding: 14px 20px;
	min-width: 400px;
	font-size: 14px;
	box-shadow:
		0 2px 20px #0008,
		0 2px 4px #0008,
		0 0 0 1px #555 inset;
	border-radius: 3px;
	display: flex;
	align-items: center;
	margin-top: 8px;
}

.notification-close {
	margin-left: auto;
	cursor: pointer;
	background-image: url(/images/remove.png);
	background-size: 20px;
	width: 20px;
	height: 20px;
}

.notification-message {
	margin-right: 16px;
}

.notification .notification-message a {
	text-decoration: underline;
	cursor: pointer;
}

.notifications-clear-all {
	position: fixed;
	right: 200px;
	width: 100px;
	background: #333;
	border: 1px solid #666;
	padding: 2px;
	text-align: center;
	box-sizing: border-box;
	font-size: 10px;
	border-radius: 3px;
	box-shadow: 0 4px 8px #0004;
	transition: 0.1s;
}

.notifications-clear-all:hover {
	background: #444;
	border-color: #777;
	cursor: pointer;
}

.notifications.hide,
.notifications-clear-all.hide {
	display: none;
}

/* Overlays & Dialogs */
.dialog-overlay {
	position: fixed;
	top: 28px;
	left: 0;
	right: 0;
	bottom: 0;
	background: #0008;
	display: flex;
	justify-content: center;
	align-items: center;
}

.floating-dialog {
	background: #222;
	padding: 24px;
	box-shadow: 0 2px 4px #0008;
	border-radius: 4px;
}

.floating-dialog-header {
	display: flex;
}

.floating-dialog-close {
	margin-left: auto;
	width: 32px;
	height: 32px;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAAiklEQVRIie2UQQ6AIAwE0T9I9InwXDn4nPEgicQYbEGMB/ZEQrtDacGYrl8KcIBVxFvASYM9h4IEEs1DzPESwASsMWEDFkXsLK3iEVJsLoFUm+cgr5knkLSJ4bIWT5qmEtXJxwruUJF7qukV3TVU807U5pk9HUQyisUQzZwXQWj92cWkdt911+faAXLtv/VgbT+kAAAAAElFTkSuQmCC);
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
}

.floating-dialog-title {
	font-size: 24px;
	margin-bottom: 14px;
}

.floating-dialog-body {
	line-height: 28px;
}

#lucky-wheel-nav {
	display: none;
	flex-direction: column;
	border-bottom: 1px solid #444;
	border-top: 1px solid #444;
	min-height: 58px;
}

#lucky-wheel-nav.show {
	display: flex;
}

#lucky-wheel-nav button {
	color: #988029 !important;
}

#lucky-wheel-nav button:hover,
#lucky-wheel-nav button.active {
	color: #fc0 !important;
}

.lw-history {
	border: 1px solid #555;
	width: 250px;
	border-radius: 4px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 2px 4px #0006;
}

.lw-history-title {
	padding: 6px 25px 4px;
	border-bottom: 1px solid #555;
	font-family: "Teko", sans-serif;
	font-size: 22px;
	background: linear-gradient(to bottom, #292929, #1d1d1d);
	box-shadow: 0 -6px 4px 8px #0004;
	z-index: 1;
	position: relative;
}

.lw-history-item {
	width: 200px;
	padding: 15px 25px;
	border-bottom: 1px solid #555;
}

.lw-history-item.lw-history-just-won {
	color: #fc0;
	font-weight: 500;
}

.lw-history::after {
	content: "";
	height: 40px;
	background: linear-gradient(to top, #191919, transparent);
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

/* Donate Button */
.nbtn-donate {
	color: #fc0 !important;
}

/* Mines */
.mines-body {
	margin-top: 30px;
	display: flex;
	margin-bottom: 100px;
}

.mines-left-column {
	width: 232px;
	margin-right: 18px;
}

.mines-description {
	font-size: 14px;
	margin-bottom: 16px;
	color: #999;
}

.mines-tiles-container {
	position: relative;
	overflow: hidden;
	width: 500px;
	height: 500px;
}

.mines-tile {
	position: absolute;
	margin: 5px;
	width: 90px;
	height: 90px;
	background-size: cover;
	box-sizing: border-box;
	transition: 0.2s;
	cursor: pointer;
}

.mines-tile:hover {
	transform: scale(1.1);
}

.mines-multiplier {
	position: absolute;
	width: 100px;
	height: 100px;
	z-index: 10;
	font-size: 0;
	line-height: 100px;
	text-align: center;
	pointer-events: none;
	color: #fff;
	font-weight: bold;
	transition: 0.1s font-size;
}

.mines-bomb {
	background-image: url(/images/bomb.png) !important;
}

.mines-bomb::after {
	content: "";
	position: absolute;
	background: red;
	border-radius: 50px;
	width: 100px;
	height: 100px;
	opacity: 0;
	animation: bomb-hit 0.5s;
	z-index: 1000;
}

@keyframes bomb-hit {
	from {
		background: red;
		opacity: 1;
		transform: scale(0);
	}

	to {
		background: black;
		opacity: 0;
		transform: scale(3);
	}
}

.mines-cleared {
	background: transparent !important;
}

.mines-game-ended .mines-tile:not(.mines-bomb) {
	opacity: 0.4;
	pointer-events: none;
}

/* VSwitch */
vertical-switch {
	padding-right: 12px;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	font-size: 12px;
	color: #aaa;
	cursor: pointer;
	margin: 0 6px;
	height: 35px;
}

vertical-switch::before {
	content: "";
	position: absolute;
	right: 0px;
	top: 5px;
	height: 25px;
	width: 6px;
	background: #333;
	border: 1px solid #555;
	border-radius: 3px;
	box-sizing: border-box;
}

vertical-switch::after {
	content: "";
	position: absolute;
	right: 1px;
	top: 6px;
	height: 10px;
	width: 4px;
	background: #999;
	border-radius: 2px;
	transition: 0.2s;
}

vertical-switch.vertical-switch-on::after {
	top: 19px;
	background: #c9a41e;
	box-shadow: 0 -1px 2px #fc0;
}

/* Tip */

.tip {
	position: absolute;
	background: #222;
	border: 1px solid #444;
	box-shadow: 0 2px 8px #0008;
	color: #fff;
	padding: 6px;
	font-size: 14px;
	opacity: 0;
	user-select: none;
	pointer-events: none;
	border-radius: 4px;
	z-index: 1001;
	text-shadow: 0 1px #000;
	transition: 0.2s opacity;
	margin: 2px;
	white-space: pre-wrap;
}

.tip.show {
	opacity: 1;
}

/* Welcome */
.welcome-page-title {
	margin: 61px 110px 20px;
	font-size: 80px;
	font-family: "Teko", sans-serif;
	position: relative;
	overflow: hidden;
	color: transparent;
	background-image: linear-gradient(to right, #fff, #fff8 33%, #fff8 67%, #fff);
	background-size: 200%;
	background-clip: text;
	-webkit-background-clip: text;
	animation: wptitle 3s linear infinite;
	padding: 10px;
}

.welcome-page-title::before {
	content: "Case Clicker 2";
	position: absolute;
	color: transparent;
	left: 10px;
	text-shadow: 0 2px 8px #fff8;
	z-index: -1;
}

@keyframes wptitle {
	0% {
		background-position: 0 0;
	}

	100% {
		background-position: 200% 0;
	}
}

.welcome-page-information-row {
	margin: 0 20px 40px 90px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	max-width: 900px;
}

.welcome-page-information-box {
	background: #fff2;
	border: 1px solid #fff4;
	border-radius: 4px;
	width: 400px;
	margin-left: 30px;
	margin-bottom: 30px;
	box-shadow: 0 2px 4px #0004;
}

.welcome-page-information-box-title {
	padding: 8px;
	font-size: 20px;
	border-bottom: 1px solid #fff4;
	font-family: "Teko", sans-serif;
	padding-bottom: 4px;
	line-height: 1;
	text-shadow: 0 1px #000;
	font-weight: 400;
}

.welcome-page-information-box-content {
	padding: 8px;
	line-height: 1.25;
	font-size: 14px;
}

.welcome-page-information-box-content p:not(:last-child),
.welcome-page-information-box-content ul:not(:last-child),
.welcome-page-information-box-content li:not(:last-child) {
	margin-bottom: 0.5em;
}

.welcome-page-information-box-content ul {
	margin-left: 20px;
}

.welcome-page-information-box-content li > ul > li {
	margin: 0 !important;
}

/* Popup */
.popup-container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #0008;
	transition: 0.2s;
	animation: fade-in 0.2s;
}

.popup-content {
	display: flex;
	align-items: center;
	flex-direction: column;
	background: #222;
	position: absolute;
	padding: 40px;
	border-radius: 5px;
	box-shadow: 0 4px 8px #0008;
	border: 1px solid #393939;
	overflow: hidden;
	transition: 0.2s;
	animation: move-up 0.2s;
}

.popup-content h1 {
	padding: 0;
}

.popup-content .button {
	margin: 8px;
}

.popup-exit-button {
	position: absolute;
	top: 6px;
	left: 6px;
	width: 32px;
	height: 32px;
	background-image: url(images/remove.png);
	background-position: center;
	background-repeat: no-repeat;
	background-color: transparent;
	background-size: 24px;
	border: 0;
	cursor: pointer;
}

.popup-exit-button {
	left: unset;
	right: 6px;
}

.popup-container.popup-closed {
	opacity: 0;
}

.popup-container.popup-closed .popup-content {
	margin-top: 20px;
}

@keyframes fade-in {
	from {
		opacity: 0;
	}
}

@keyframes move-up {
	from {
		margin-top: 20px;
	}
}

/* Stats */
.stats-stat {
	padding: 8px 30px;
	border-top: 1px solid #555;
	position: relative;
	overflow: hidden;
}

.stats-stat:last-child {
	margin-bottom: 100px;
	border-bottom: 1px solid #555;
}

.stats-stat-title {
	font-weight: 500;
}

.stats-stat-description {
	font-size: 14px;
	color: #aaa;
	margin-top: 4px;
}

.stats-stat-value {
	position: absolute;
	top: 0;
	right: 30px;
	line-height: 55px;
}

.stats-stat:hover {
	background: #191919;
}

.blue-link {
	color: lightblue !important;
}

/*
    Missions
*/

.missions-columns {
	display: flex;
	height: 100%;
}

.missions-column {
	min-width: 300px;
	width: 300px;
	border-right: 1px solid #666;
	border-top: 1px solid #666;
}

.missions-mission {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 60px;
	padding: 0 32px 0 72px;
	border-bottom: 1px solid #666;
	color: #999;
	position: relative;
	overflow: hidden;
}

.missions-mission.missions-mission-available::before {
	content: "";
	background-image: url(/images/available_mission.png);
	background-size: 32px;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	top: 14px;
	left: 20px;
	width: 32px;
	height: 32px;
}

.missions-mission.missions-mission-active::before {
	background-image: url(/images/active_mission.png) !important;
}

.missions-mission-progress {
	position: absolute;
	background: #fc0;
	left: 0;
	bottom: 0;
	height: 2px;
}

.missions-mission.mission-mission-completed {
	background: linear-gradient(65deg, #fc01, #fc01, #fc04, #fc01, #fc01);
	background-size: 50% 100%;
	animation: mission-completed 2s infinite linear;
}

@keyframes mission-completed {
	0% {
		background-position: 0 0;
	}

	100% {
		background-position: 100% 100%;
	}
}

.missions-mission-waiting-time {
	color: #777;
	font-size: 14px;
	margin-top: 2px;
	display: block;
}

.missions-mission:hover {
	color: #fff;
	background-color: #292929;
	cursor: pointer;
}

.missions-details-column {
	border-top: 1px solid #666;
	flex-grow: 1;
}

.md-progress-bar {
	width: 100%;
	height: 3px;
	background: #111;
}

.md-progress-bar-progress {
	background: #fc0;
	height: 100%;
}

.md-description {
	margin: 0 30px 24px;
}

.md-progress {
	margin: 0 30px 30px;
}

.md-progress-text {
	font-size: 14px;
	color: #aaa;
	margin-bottom: 8px;
}

.md-discard {
	margin-left: 30px;
}

.md-columns {
	display: flex;
	width: 85%;
	height: 100%;
}

@media (max-width: 1440px) {
	.md-columns {
		width: 100%;
	}
}

.md-column {
	flex-basis: 0;
	flex-grow: 1;
}

.md-rewards-box {
	margin: 30px;
	background: #333;
	padding: 30px;
	height: calc(100% - 60px);
	max-height: 450px;
	box-sizing: border-box;
	box-shadow: 0 4px 8px #0003;
	border: 1px solid #555;
	border-radius: 4px;
	display: flex;
	flex-direction: column;
}

.md-rewards-title {
	font-size: 40px;
	font-family: "Teko", sans-serif;
}

.md-accept {
	margin-top: auto;
	height: 60px;
	width: 100%;
	background: radial-gradient(circle, #0b0, #080);
	text-align: center;
	line-height: 60px;
	border: 1px solid #fff4;
	border-top-color: #fff6;
	box-shadow:
		0 2px 4px #0008,
		0 8px 8px #0001,
		0 2px 16px inset #0004;
	border-radius: 4px;
	cursor: pointer;
	font-size: 18px;
	font-weight: 500;
	text-shadow: 0 1px #0008;
}

.md-accept:active {
	transform: scale(0.95);
	opacity: 0.8;
	transition: 0.1s;
}

.md-accept.md-disabled {
	background: radial-gradient(circle, #555, #444);
	color: #aaa;
	cursor: default;
}

#missions_not_collected {
	display: inline-block;
	color: #fc0;
	margin-left: 4px;
}

#missions-progressbar {
	content: "";
	position: absolute;
	bottom: 3px;
	left: 18px;
	right: 18px;
	height: 2px;
	background: #555;
	opacity: 0;
}

#missions-progress {
	height: 2px;
	background: #fc0;
}

.daily-mission {
	min-height: 100px;
}

/**
  Leaderboard
 */
.leaderboard-table {
	margin: 30px;
	border-spacing: 0;
	width: calc(100% - 60px);
}

.leaderboard-table td,
.leaderboard-table th {
	padding: 10px 20px;
	border-bottom: 1px solid #fff4;
	text-align: left;
	white-space: nowrap;
}

.leaderboard-table td {
	width: 25%;
}

.leaderboard-table td:last-child {
	width: 50%;
}

.leaderboard-table td.place,
.leaderboard-table td.lb-t-sc {
	width: 0;
}

.leaderboard-upload {
	position: absolute;
	top: 50px;
	right: 30px;
	display: flex;
	font-weight: bold;
	align-items: center;
}

.leaderboard-upload input {
	margin-right: 10px;
}

.leaderboard-player-entry {
	background: #fc01;
	color: #fc0;
}

.leaderboard-table tr:hover td {
	background: #ffffff0a;
}

/* Coinflip 2 */
.page[page="coinflip-online"] {
	display: flex;
	align-items: center;
	flex-direction: column;
}

.cf-game {
	margin: 20px 0;
	width: 360px;
}

.cf-game-info {
	display: flex;
}

.cf-g-player {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cf-g-vs {
	font-size: 24px;
	font-weight: 300;
	padding: 4px;
	align-items: center;
	display: flex;
}

.cf-g-player-p {
	text-align: center;
}

.cf-g-coin {
	width: 72px;
	height: 72px;
	background-image: url(/images/coin_ctt.png);
	background-size: 100%;
	margin-top: 20px;
}

.cf-g-coin-ct {
	background-image: url(/images/coin_ct.png);
}

.cf-g-coin-t {
	background-image: url(/images/coin_t.png);
}

.cf-game-btns {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}

.cf-g-player.cf-g-h-loser {
	opacity: 0.5;
}

.cf-g-player.cf-g-h-winner {
	color: #fc0;
}

.cf-g-h-winner .cf-g-coin-c {
	transform: scale(1.2);
}

.cf-g-player-p-a {
	margin-top: 18px;
	font-weight: 500;
}

.cf-g-col.cf-g-player.cf-g-joinable {
	opacity: 0.5;
	transform: scale(0.8);
}

.cf-g-joinable-text {
	position: absolute;
	margin-top: -130px;
	width: 160px;
	text-align: center;
	margin-left: 200px;
	font-weight: 500;
	color: #fffd;
	text-shadow: 0 2px 2px #000;
}

.cf-gi-title {
	text-align: center;
	font-size: 50px;
	font-family: "Teko", sans-serif;
	font-weight: bold;
	margin-top: 24px;
}

.cf-gi-players {
	display: flex;
}

.cf-gi-player {
	width: 50%;
}

.cf-gi-player:first-child {
	margin-left: 32px;
	margin-right: 16px;
}

.cf-gi-player:last-child {
	margin-left: 16px;
	margin-right: 32px;
}

.cf-gi-player-inventory {
	display: flex;
	justify-content: center;
	margin: 12px 0;
	border: 1px solid #666;
	padding: 8px;
	box-shadow: 0 2px 4px #0008 inset;
	border-radius: 4px;
	
	background:
		linear-gradient(115deg, transparent 75%, #ffffff05 75%) 0 0,
		linear-gradient(245deg, transparent 75%, #ffffff05 75%) 0 0,
		linear-gradient(115deg, transparent 75%, #ffffff05 75%) 7px -15px,
		linear-gradient(245deg, transparent 75%, #ffffff05 75%) 7px -15px,
		#191919;
	background-size: 15px 30px;
	flex-wrap: wrap;
}

.cf-gi-player-inventory button {
	margin: 20px;
	box-shadow: 0 2px 4px #0004;
}

.cf-gi-player-bet {
	text-align: center;
	font-weight: bold;
	margin-top: 8px;
}

.page[page="coinflip-online-select"] {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.cf-pick-coins {
	display: flex;
	margin-top: 30px;
	margin-bottom: 60px;
}

.cf-coin-s {
	width: 220px;
	height: 220px;
	background-position: center;
	background-size: contain;
	margin: 20px;
}

.cf-coin-s.cf-coin-s-ct {
	background-image: url(images/coin_ct.png);
}

.cf-coin-s.cf-coin-s-t {
	background-image: url(images/coin_t.png);
}

.cf-g-h-you {
	background: radial-gradient(closest-side, #fff4, transparent);
}

.cf-game-section-header {
	text-align: center;
	font-size: 38px;
	font-family: "Teko", sans-serif;
	margin-top: 30px;
}

.cf-coin-area {
	height: 300px;
	position: relative;
}

.cf-gi-ws {
	text-align: center;
	margin-bottom: 10px;
}

.cf-about {
	text-align: center;
	font-size: 14px;
	color: #aaa;
	margin-bottom: 20px;
	line-height: 1.25;
}

.cf-games-total {
	margin-bottom: 100px;
	margin-top: 50px;
	font-weight: bold;
	color: #aaa;
}

/* Misc */
.h1-beta-flag {
	font-size: 14px;
	display: inline-block;
	margin-left: 16px;
	padding: 5px 8px;
	background: #f103;
	border: 1px solid #fff2;
	text-shadow: 0 1px #0008;
	position: relative;
	top: -8px;
	border-radius: 4px;
}

.hover-secret {
	background: #000;
	color: #000;
	display: inline;
	user-select: text;
	-webkit-user-select: text;
}

.hover-secret:hover {
	color: #fff;
}

kbd {
	background: #444;
	border: 1px solid #888;
	padding: 1px 3px;
	border-radius: 4px;
	box-shadow: 0 2px #888;
	position: relative;
	top: -1px;
}

kbd.animate {
	animation: kbd-animate 0.3s infinite alternate;
}

@keyframes kbd-animate {
	from {
		top: -2px;
		box-shadow: 0 2px #888;
	}

	to {
		top: 0px;
		box-shadow: 0 0px #888;
	}
}

/* Click V2 */
.button.auto-fire-button {
	border: 0 !important;
	margin: 2px 10px;
	border-radius: 2px;
	box-shadow: 0 0 0 2px #555;
}

.button.auto-fire-enabled {
	color: transparent;
	box-shadow: 0 1px 2px #0004 inset;
}

.button.auto-fire-button:not(.auto-fire-enabled):hover {
	box-shadow: 0 0 0 2px #fff;
}

.button.auto-fire-enabled::before {
	content: "";
	z-index: -1;
	position: absolute;
	left: -2px;
	top: -2px;
	display: inline-block;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	background-image: linear-gradient(to right, #fc0, #f44, #fc0);
	background-size: 100px 1px;
	animation: slidebg 0.3s infinite linear;
	border-radius: 3px;
}

.button.auto-fire-enabled::after {
	content: "Auto Firing";
	z-index: 1;
	position: absolute;
	left: -2px;
	top: -2px;
	display: inline-block;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	line-height: 35px;
	background-image: linear-gradient(to right, #fc0, #f44, #fc0);
	background-size: 100px 1px;
	background-clip: text;
	-webkit-background-clip: text;
	animation: slidebg 0.3s infinite linear;
}

@keyframes slidebg {
	from {
		background-position: 0 0;
	}

	to {
		background-position: 100px 0;
	}
}

/* Dialog */

.dialog {
	position: absolute;
	background: #292929;
	border: 1px solid #585858;
	border-top-color: #6b6b6b;
	border-bottom-color: #555;
	box-shadow:
		0 2px 4px #0008,
		0 4px 24px #000a,
		0 20px 80px 40px #0006;
	border-radius: 4px;
	padding: 16px;
	opacity: 0;
	pointer-events: none;
}

.dialog.dialog-open {
	opacity: 1;
	pointer-events: auto;
}

.dialog-header {
	font-size: 22px;
	font-weight: 500;
	margin: 4px 0 8px;
}

.dialog-close.button {
	position: absolute;
	top: 0;
	right: 0;
	margin: 16px;
}

.full-dialog {
	position: absolute;
	background: #292929;
	border: 1px solid #585858;
	border-top-color: #6b6b6b;
	border-bottom-color: #555;
	box-shadow:
		0 2px 4px #0008,
		0 4px 24px #000a,
		0 20px 80px 40px #0006;
	border-radius: 4px;
	padding: 16px;
	padding-right: 48px;
}

.dialog-p {
	font-size: 14px;
	margin: 10px 0;
}

.captcha {
	margin-top: 20px;
}

/* MSO */

.mso-dialog {
	width: 500px;
	left: calc(50% + 125px - 250px);
	top: 85px;
	display: flex;
	flex-direction: column;
}

.mso-radio {
	margin-right: 4px;
}

.mso-row {
	display: flex;
	align-items: center;
	margin: 4px 0;
	font-size: 12px;
	height: 23px;
}

input.mso-inline-input {
	width: 100px;
	background: #333;
	border: 1px solid #777;
	padding: 3px 4px;
	color: #fff;
	margin: 0 4px;
}

.mso-dialog button {
	margin: 8px 0 0;
}

/* Collection */
.collection-page-controls {
	display: flex;
	justify-content: center;
	align-items: center;
}

.collection-page-controls p {
	color: #aaa;
	margin-left: 4px;
	font-size: 14px;
}

.collection-page-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	height: calc(100vh - 72px);
	align-content: flex-start;
}

.collection-item {
	margin: 20px;
	width: 200px;
}

.collection-item-image {
	width: 200px;
	height: 200px;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	filter: brightness(0) invert(1) blur(1px);
	opacity: 0.08;
	transition: 0.2s;
}

.collection-item-discovered .collection-item-image {
	opacity: 1;
	filter: drop-shadow(0 8px 6px #0004);
}

.citem-weapon {
	font-weight: 500;
	font-size: 14px;
	text-shadow: 0 1px 2px #000;
	color: #aaa;
}

.citem-skin {
	margin: 8px 0;
	font-size: 20px;
	font-weight: 300;
	text-shadow: 0 1px 2px #000;
}

.citem-price {
	font-size: 14px;
	text-shadow: 0 1px 2px #000;
	color: #aaa;
}

.collection-item.collection-item-compact {
	width: 100px;
	margin: 10px 10px 0;
}

.collection-item-compact .collection-item-image {
	width: 100px;
	height: 100px;
}

.collection-item-compact .citem-weapon {
	display: none;
}

.collection-item-compact .citem-price {
	display: none;
}

.collection-item-compact .citem-skin {
	font-size: 12px;
	text-align: center;
}

.collection-item.collection-item-discovered:hover .collection-item-image {
	transform: scale(1.15);
}

/* Trade up */
.tu-contract {
	display: flex;
	align-items: center;
	flex-direction: column;
}

.tu-contract-slots {
	display: flex;
	flex-wrap: wrap;
	height: 400px;
	border-right: 1px solid #555;
	border-bottom: 1px solid #555;
	margin: 40px;
	max-width: 800px;
	width: 100%;
	overflow: hidden;
	position: relative;
}

.tu-contract-slot {
	height: 50%;
	width: 20%;
	border: 1px solid #555;
	box-sizing: border-box;
	border-right: 0;
	border-bottom: 0;
	justify-content: center;
	align-items: center;
	display: flex;
	background: radial-gradient(#0000, #0002);
}

.tu-contract-slot .item-container {
	transform: scale(0.8);
	margin: 0;
	pointer-events: none;
}

.compact .tu-contract-slot .item-container {
	transform: scale(1);
}

.tu-contract-add-items-hero {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #0006;
	display: flex;
	justify-content: center;
	align-items: center;
}

.tu-contract-confirm-button {
	margin: auto 20px;
	height: 60px;
	width: 200px;
	background: radial-gradient(circle, #0042bb, #001d88);
	text-align: center;
	line-height: 60px;
	border: 1px solid #fff4;
	border-top-color: #fff6;
	box-shadow:
		0 2px 4px #0008,
		0 8px 8px #0001,
		0 2px 16px inset #0004;
	border-radius: 4px;
	cursor: pointer;
	font-size: 18px;
	font-weight: 500;
	text-shadow: 0 1px #0008;
	color: #fff;
	
}

.tu-contract-cancel-button {
	margin: auto 20px;
	height: 60px;
	width: 200px;
	background: radial-gradient(circle, #555, #444);
	text-align: center;
	line-height: 60px;
	border: 1px solid #0004;
	border-top-color: #0006;
	box-shadow:
		0 2px 4px #0008,
		0 8px 8px #0001,
		0 2px 16px inset #0004;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	text-shadow: 0 1px #0008;
	color: #fff;
	
}

button.tu-contract-confirm-button:active,
button.tu-contract-cancel-button:active {
	transform: scale(0.9);
	transition: 0.1s;
}

/* Roulette */
.roulette-wheel {
	position: absolute;
	top: 100px;
	left: 0;
	right: 0;
	height: 50vh;
	width: 100%;
	z-index: -1;
}

.roulette-bet-picker {
	position: absolute;
	top: 500px;
	left: calc(50% - 350px);
	width: 580px;
	overflow: hidden;
	height: 300px;
}

.roulette-bet-picker-slot {
	position: absolute;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
	transform-origin: center;
	transition: 0.12s;
	border: 1px solid #fff;
	margin-top: 4px;
	margin-left: 4px;
	cursor: pointer;
}

.roulette-bet-picker-slot.roulette-bet-picker-slot-green {
	background: limegreen;
}

.roulette-bet-picker-slot.roulette-bet-picker-slot-red {
	background: radial-gradient(closest-side, red 90%, transparent 90%);
}

.roulette-bet-picker-slot.roulette-bet-picker-slot-black {
	background: radial-gradient(closest-side, black 90%, transparent 90%);
}

.roulette-bet-picker-slot.roulette-bet-picker-reds {
	background: red;
}

.roulette-bet-picker-slot.roulette-bet-picker-blacks {
	background: black;
}

.roulette-bet-picker-slot:hover {
	outline: 3px solid #fff;
	z-index: 1;
	box-shadow: 0 0 4px 4px #fff8 inset;
}

.roulette-history {
	position: absolute;
	top: 500px;
	left: calc(50% + 250px);
	height: 250px;
	overflow-y: scroll;
}

.roulette-history-item {
	width: 100px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.roulette-history-item.roulette-history-item-color-green {
	background: limegreen;
}

.roulette-history-item.roulette-history-item-color-red {
	background: red;
}

.roulette-history-item.roulette-history-item-color-black {
	background: black;
}

.roulette-bet-info {
	position: absolute;
	top: 480px;
	color: #ddd;
	left: calc(50% - 306px);
	font-size: 14px;
}

.roulette-bet-amount-changer {
	position: absolute;
	top: 420px;
}

.roulette-bet-picker-slot.roulette-bet-picker-v12ths {
	font-size: 14px;
}

.roulette-bet-highlighted {
	background-color: #fc0a !important;
}

.roulette-bet-picker-slot-0.roulette-bet-highlighted {
	outline: 2px solid #fc0a;
}

.roulette-bet-picker-slot.disabled {
	opacity: 0.5;
	pointer-events: none;
}

.button.btn-arrow-highlight::after {
	content: "";
	width: 50px;
	height: 50px;
	background-image: url(images/highlight-arrow.png);
	position: absolute;
	background-position: center;
	background-size: contain;
	top: 40px;
	left: calc(50% - 25px);
	filter: drop-shadow(-4px 0 8px #0008);
	pointer-events: none;
	animation: move-up-down 1s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
}



/* Slots */
.slots-columns {
	display: flex;
	background: #ddd;
	overflow: hidden;
	margin: 20px;
	border: 1px solid #fff;
	box-shadow: 0 20px 40px #0004;
	border-radius: 5px;
	min-width: 485px;
	min-height: 288px;
}

.slots-column {
	border-right: 1px solid #fff;
}

.slots-slot {
	width: 96px;
	height: 96px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0;
}

.slots-slot-KNIFE {
	background-image: url(/images/special-item.png);
}

.slots-slot-SEVEN {
	background-image: url(/images/sevens.png);
}

.slots-slot-DICE,
.slots-slot-DICE-1 {
	background-image: url(/images/dice_1.png);
}

.slots-slot-DICE-2 {
	background-image: url(/images/dice_2.png);
}

.slots-slot-DICE-3 {
	background-image: url(/images/dice_3.png);
}

.slots-slot-DICE-4 {
	background-image: url(/images/dice_4.png);
}

.slots-slot-DICE-5 {
	background-image: url(/images/dice_5.png);
}

.slots-slot-HEART {
	background-image: url(/images/hearts.png);
}

.slots-slot-DIAMOND {
	background-image: url(/images/diamonds.png);
}

.slots-slot-SPADES {
	background-image: url(/images/spades.png);
}

.slots-slot-CLUBS {
	background-image: url(/images/clubs.png);
}

.slots-slot-UNLUCKY {
	background-image: url(/images/unlucky.png);
}

.slots-animate-in-now {
	animation: slot-fall 0.4s cubic-bezier(0.25, 0.1, 0.2, 1);
	opacity: 1;
}

.slots-fade-out {
	opacity: 0.3;
	transition: 0.8s;
}

.slots-win-jumping {
	animation: win-jumping 1s ease-in-out infinite;
}

@keyframes slot-fall {
	from {
		transform: translateY(-288px);
	}

	to {
		transform: translateY(0%);
	}
}

@keyframes win-jumping {
	from {
		transform: scale(1);
	}

	50% {
		transform: scale(1.2);
	}

	to {
		transform: scale(1);
	}
}

.slots-win-cell > img {
	height: 24px;
}

.slots-win-cell {
	display: flex;
	align-items: center;
	margin: 1px;
	padding: 10px;
	background: #eee;
	color: #333;
}

.slots-win-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.slots-win-table {
	background: #eee;
	padding: 12px;
	border-radius: 12px;
	margin: 30px 0;
}

.slots-win-cell-text {
	margin: 0 2px;
	font-size: 12px;
	font-weight: 500;
}

.slots-win-cell-multiplier {
	margin-left: 3px;
	font-size: 14px;
	font-weight: 500;
}

.slots-win-table-title {
	text-align: center;
	color: #333;
	font-weight: 500;
	font-size: 16px;
	margin: 10px 0;
}

.dice-throw-popup {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000a;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.dice-throw-popup-title {
	font-size: 40px;
	font-weight: bold;
}

.dice-throw-dice-container {
	width: 64px;
	height: 64px;
	perspective: 1000px;
	perspective-origin: 50% 100%;
	margin: 40px;
}

.dice-throw-popup-description {
	font-weight: 400;
	font-size: 20px;
	margin-top: 10px;
}

.dice-throw-dice {
	transform-style: preserve-3d;
	width: 64px;
	height: 64px;
	transition: 3s;
}

.dice-throw-result {
	margin-bottom: 30px;
}

.dice-face {
	width: 64px;
	height: 64px;
	background: #00bb00dd;
	overflow: hidden;
	position: absolute;
	backdrop-filter: blur(1px);
}

.dice-front {
	transform: translateZ(32px);
}

.dice-back {
	transform: rotateX(-180deg) translateZ(32px);
}

.dice-right {
	transform: rotateY(90deg) translateZ(32px);
}

.dice-left {
	transform: rotateY(-90deg) translateZ(32px);
}

.dice-top {
	transform: rotateX(90deg) translateZ(32px);
}

.dice-bottom {
	transform: rotateX(-90deg) translateZ(32px);
}

.dice-dot {
	position: absolute;
	width: 10px;
	height: 10px;
	background: #fff;
	border-radius: 5px;
}

.dice-dot-1 {
	top: 27px;
	left: 27px;
}

.dice-dot.dice-dot-2 {
	top: 11px;
	left: 11px;
}

.dice-dot.dice-dot-3 {
	top: 43px;
	left: 43px;
}

.dice-dot.dice-dot-4 {
	top: 11px;
	left: 43px;
}

.dice-dot.dice-dot-5 {
	top: 43px;
	left: 11px;
}

.dice-dot.dice-dot-6 {
	top: 27px;
	left: 11px;
}

.dice-dot.dice-dot-7 {
	top: 27px;
	left: 43px;
}

.casino-bet-amount-selector-simple {
	display: flex;
}

.casino-bet-amount-selector-simple > button {
	width: 50px;
	border-radius: 0;
	margin: 0 -1px;
}

.casino-bet-amount-selector-simple > input {
	margin: 0 -1px;
	width: 50px;
	text-align: center;
}

.casino-bet-amount-selector-simple > button:hover {
	z-index: 1;
}

.casino-bet-amount-selector-simple > button:first-child {
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}

.casino-bet-amount-selector-simple > button:last-child {
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
}

/* Misc */
@keyframes slow-rotate {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

/* Mobile Overwrite */

@media (min-width: 500px) {
	.show-on-mobile {
		display: none !important;
	}
}

@media (max-width: 500px) {
	.hide-on-mobile,
	#floating-item-example,
	#shop-controls > .button-left-label,
	.shop-discount,
	.category-title-time {
		display: none !important;
	}

	#menu #nav button {
		min-height: 58px;
		width: 100%;
	}

	.standard-nav {
		display: none !important;
	}

	#menu,
	#pages {
		top: 0;
		left: 0;
	}

	#menu {
		left: -250px;
		z-index: 20;
		transition: transform 0.3s;
	}

	#menu.mobile-open {
		transform: translateX(250px);
		box-shadow: -8px 0 32px 16px #0008;
	}

	#mobile-nav-button {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 10;
		padding: 16px;
		background: #292929;
		color: #fff;
		font-weight: bold;
		font-size: 16px;
		border: none;
	}

	#shop-controls {
		width: calc(100% - 124px) !important;
		left: 124px;
	}

	.betting-cols {
		flex-direction: column;
	}

	.betting-cols > div > p {
		margin-top: 0 !important;
	}

	[page="betting"] > .center-v {
		height: inherit !important;
		padding: 30px 0;
		overflow-y: scroll;
	}
}

/* Prestige */
#prestige-button {
	color: #fc0 !important;
}

.prestige-rewards-title {
	font-size: 20px;
	margin: 20px;
	font-weight: bold;
	color: #8f0;
}

.prestige-reset-title {
	font-size: 20px;
	margin: 20px;
	font-weight: bold;
	color: #ff2856;
}

.prestige-button {
	height: 60px;
	width: 250px;
	background: radial-gradient(circle, #ffcc00, #cc8c1b);
	text-align: center;
	line-height: 60px;
	border: 1px solid #fff4;
	border-top-color: #fff6;
	box-shadow:
		0 2px 4px #0008,
		0 8px 8px #0001,
		0 2px 16px inset #0004;
	border-radius: 4px;
	cursor: pointer;
	font-size: 18px;
	font-weight: 500;
	text-shadow: 0 1px #0008;
	margin: 40px;
	color: #fff;
}

.prestige-button:active {
	transform: scale(0.95);
	opacity: 0.8;
	transition: 0.1s;
}
