:root {
	--bg-gradient: -webkit-linear-gradient(0deg, #1d9d9c, #1ed760);
	--placeholder-color: #6c7b9b;

	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	text-size-adjust: 100%;
	font-size: 100%;
	background: #13171f;
	color: #7b8495;
	font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

* {
	-webkit-tap-highlight-color: transparent;
}

body {
	padding: 0.5rem 1rem;
	margin: 0;
}

a, a:visited, .a {
	text-decoration: underline solid #1ed760;
	color: #1ed760;
	text-underline-offset: 0.15em;
	transition: color 0.3s, text-decoration 0.3s;
	cursor: pointer;
}

a:hover, .a:hover {
	color: #42ff86;
	text-decoration-color: #42ff86;
}

small {
	font-size: 0.875em;
}

header {
	padding: 0.5rem;
}

.container {
	max-width: 1000px;
	margin: auto;
	padding: 1.5rem 0;
}

.site-header {
	display: flex;
	grid-gap: 0.5rem;
	justify-content: center;
	align-items: center;
	text-decoration: none;
}

.site-logo {
	width: 2rem;
	height: 2rem;
}

.site-title {
	background: var(--bg-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: bolder;
}

.app {
	text-align: center;
	padding-bottom: 2.5rem;
}

.input-container {
	background: #1c212c;
	padding: 0.7rem;
	border-radius: 0.375rem;
	border: 0.0625rem solid #2a3140;
	display: flex;
	transition: border-color 0.3s;
	grid-gap: 0.5rem;
}

.input-container:has(input:focus) {
	border-color: #1ed760;
}

.input-container input {
	background: transparent;
	border: 0;
	outline: 0;
	width: 100%;
	padding: 0;
	margin: 0;
	color: #fff;
	font-family: inherit;
	font-size: inherit;
	margin-left: 0.4rem;
}

::placeholder {
	color: var(--placeholder-color);
	opacity: 1;
}

::-ms-input-placeholder {
	color: var(--placeholder-color);
}

button {
	border: 0;
	outline: 0;
	border-radius: 0.375rem;
	padding: 0.5rem 1rem;
	color: #fff;
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
	font-weight: bolder;
	background: var(--bg-gradient);
	display: flex;
	grid-gap: 0.5rem;
	align-items: center;
	justify-content: center;
}

button.disabled {
	filter: grayscale(1);
	pointer-events: none;
}

button.hollow {
	box-shadow: inset 0 0 0 0.12rem #1ed661;
	background: transparent !important;
	color: hsla(0, 0%, 100%, 0.9);
}

h1, h2 {
	margin-top: 2rem;
	margin-bottom: 0.5rem;
	color: #c2c7d0;
}

h4 {
	margin-bottom: -0.4rem;
	padding-bottom: 0;
}

.app p {
	margin-top: 0;
	margin-bottom: 2.5rem;
}

.loader {
	margin: 2rem auto;
	display: flex;
	justify-content: center;
	flex-direction: row;
	align-items: center;
	grid-gap: 0.6rem;
}

.loader.box {
	display: inline-flex;
	padding: 1rem;
	border: 0.15rem solid #363a43;
	border-radius: 0.75rem;
	margin: 0;
}

.spinner {
	box-sizing: border-box;
	font-size: 1.5rem;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	border: 0.2em solid transparent;
	border-top-color: #c2c7d0;
	animation: spin 0.7s linear infinite;
}

@keyframes spin {
	from {
		transform: rotate(0);
	}

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

button .spinner {
	border-top-color: #fff;
	font-size: 1rem;
}

.cross {
	--color: #c2c7d0;
	width: 1.5em;
	height: 1.5em;
	position: relative;
}

.cross:before, .cross:after {
	content: ' ';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100%;
	height: 25%;
	background: var(--color);
	transform: translate(-50%, -50%) rotate(45deg);
}

.cross:after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

@media (min-width: 576px) {
	:root {
		font-size: 106.25%;
	}
}

@media (min-width: 768px) {
	:root {
		font-size: 112.5%;
	}
}

@media (min-width: 1024px) {
	:root {
		font-size: 118.75%;
	}
}

@media (min-width: 1280px) {
	:root {
		font-size: 125%;
	}
}

@media (min-width: 1536px) {
	:root {
		font-size: 131.25%;
	}
}

::-moz-selection {
	background-color: rgb(30 215 96 / 25%);
}

::selection {
	background-color: rgb(30 215 96 / 25%);
}

.hidden {
	display: none !important;
}

.shake {
	animation: shake 0.2s;
}

@keyframes shake {
	0% { 
		transform: translateX(0); 
		border-color: red; 
	}
	
	25% { 
		transform: translateX(-0.5em); 
	}
	
	75% { 
		transform: translateX(0.5em);
	}
	
	100% { 
		transform: translateX(0); 
	}
}

.result {
	margin: 2em 0;
}

img {
	max-width: 100%;
	height: auto;
}

.link-btn {
	display: block;
	font-size: 1.25rem;
	width: 1em;
	height: 1em;
	background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPHBhdGggZD0iTTE3IDJIMjJWNyIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KCTxwYXRoIGQ9Ik0yMSAxM1YxOUMyMSAyMC4xMDQ2IDIwLjEwNDYgMjEgMTkgMjFINUMzLjg5NTQzIDIxIDMgMjAuMTA0NiAzIDE5VjVDMyAzLjg5NTQzIDMuODk1NDMgMyA1IDNIMTEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cgk8cGF0aCBkPSJNMTMgMTFMMjEuNSAyLjUiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cgk8L3N2Zz4=");
	background-size: 100% 100%;
	opacity: 0.5;
	transition: 0.3s opacity;
	cursor: pointer;
}

.link-btn:hover {
	opacity: 1;
}

.panels {
	width: 100%;
	overflow-x: auto;
	word-break: break-all;
	margin-top: 2rem;
	display: grid;
	grid-gap: 0.5rem;
	grid-auto-flow: column;
	justify-content: start;
}

.panel {
	width: 15rem;
	height: 17rem;
	background: #1c212c;
	text-align: left;
	padding: 1rem;
	border-radius: 0.25rem;
	position: relative;
	overflow: hidden;
}

.panel-title {
	font-size: 1.5rem;
	margin-bottom: 0.3rem;
	font-weight: bold;
	color: #c2c7d0;
}

.panel-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 0.6rem;
	box-sizing: border-box;
	background: #222834;
	display: grid;
	grid-gap: 0.6rem;
}

.panel-footer button {
	width: 100%;
	padding: 0.75rem 1rem;
}

.panels.full {
	grid-template-columns: 1fr;
}

.panels.full .panel {
	width: auto;
}

.progress {
	width: 100%;
	height: 0.55rem;
	border-radius: 5px;
	position: relative;
	overflow: hidden;
	background: #313948;
}

.bar {
	position: absolute;
	width: 0%;
	height: 100%;
	background: #1ed760;
}

.panel:not(.active) .status, .panel:not(.active) .progress {
	display: none;
}

.panel.red button {
	background: -webkit-linear-gradient(0deg, #9d611d, #d71e1e)
}

.panel.red button.hollow {
	box-shadow: inset 0 0 0 0.12rem #9d611d;
}

.panel.red .bar {
	background: #f9952d;
}

::-webkit-scrollbar {
	width: 0.5rem;
	height: 0.5rem;
}

::-webkit-scrollbar-track {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background: #999;
}

form {
	display: flex;
	flex-direction: column;
	grid-gap: 1rem;
	padding-top: 1rem;
}

.textbox {
	border: 0;
	outline: 0;
	color: #fff;
	font-size: inherit;
	font-family: inherit;
	background: rgb(28, 33, 44);
	padding: 0.8rem;
	border-radius: 0.375rem;
	border-width: 0.0625rem;
	border-style: solid;
	border-color: rgb(42, 49, 64);
	border-image: initial;
	transition: border-color 0.3s;
	gap: 0.5rem;
}

.textbox:focus {
	border-color: #1ed760;
}

textarea {
	min-height: 8rem;
	resize: vertical;
}