:root {
	--blue-background: #13337;
	--blue-text: #D1D9F1;
	--blue-text-dark: #A4B4E3;

	--orange-main: #b99032;
	--orange-inverse: #181818;

	--error-color: #D33C3C;
}

@font-face {
	font-family: "Courier New";
}

/* General */

html {
	font-size: 16px;
	font-family: "Courier New";
}

body {
	font-family: "Courier New";
	overflow: hidden;
}

* {
	font-family: "Courier New";
}

hr {
	height: 1px;
	border: none;
	border-radius: 16px;
}

table {
	border: 1px solid;
	border-spacing: 0;
	border-radius: 4px;
}

table,
th,
td {
	font-size: 2em;
	font-weight: normal;
}

td {
	padding: 0.25em 0.5em;
	border: 1px solid;
}

.planet-overlay {
	position: fixed;

	border-radius: 100%;
	opacity: 1;
}

img {
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

.fullscreen {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.flex-wrapper {
	display: flex;
}

.flex-wrapper.ttb {
	flex-direction: column;
}

.flex-wrapper.ltr {
	flex-direction: row;
	padding: 0 0.5em;
}

.scroll-container {
	overflow: hidden;
}

.navblock {
	overflow-y: auto;
}

.navblock.hidden {
	display: none;
}

input:not(.slider) {
	border-bottom: 2px solid;
	font-size: 2em;
	font-family: "Courier New";
}

.input-wrapper.top input:not(.slider) {
	border-bottom: none;
	border-top: 2px solid;
}

.biginput {
	width: 100%;
	position: relative;
	text-align: center;
}

::placeholder {
	opacity: 1;
}

.input-wrapper {
	border-left: 2px solid;
	border-right: 2px solid;
}

.search-result-wrapper {
	height: calc(100% - 3em - 1px);
	max-width: calc(24em - 2em);

	overflow-y: auto;
	overflow-x: hidden;
	overflow-wrap: break-word;
}

.search-results {
	margin: 1em 0.5em 0 1em;
}

.result-block .result-inner {
	margin-top: 0.5em;
}

.result-block {
	cursor: pointer;
	padding: 2px;

	transition: 0.6s background-color, 0.6s text-shadow;
}

.link {
	position: relative;
	z-index: 1;

	cursor: pointer;

	transition: 0.3s text-shadow;
}

.link::before {
	position: absolute;
	content: "";
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;

	border-radius: 4px;
	z-index: -1;
	opacity: 0;

	transition: 0.3s opacity;
}

.link::after {
	content: "➤";
	opacity: 0.5;
	font-size: 0.8em;
	padding: 0 0.1em 0 0.4em;

	transition: 0.3s opacity;
}

.link:hover::before,
.link:hover::after {
	opacity: 1;
}

.cp {
	position: relative;
	font-size: 0.75em;
	opacity: 0.6;
	cursor: pointer;
	line-height: 1.1;

	transition: 0.3s opacity, 0.3s color;
}

.cp::after {
	position: absolute;
	content: "⧉";
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;

	opacity: 0;
}

.cp:hover {
	opacity: 1;
}

.cp.anim::after {
	animation: 1.25s flyout;
}

.notified {
	animation: 2s notify;
}

.block {
	border: 2px solid;
	position: relative;
}

.block.animate {
	animation: 0.4s blockspawn;
}

.block.hidden {
	animation: 0.6s blockdestroy;
}

#sidebar-block-ltr .block.side {
	transform-origin: right;
}

#sidebar-block-ltr .block.animate {
	animation: 0.6s zoomout !important;
}

#sidebar-block-ltr .block.hidden {
	animation: 0.6s zoomin !important;
}

[data-order="left"] {
	order: 0;
}

[data-order="right"] {
	order: 1;
}

.switch-block.anim-out {
	animation: 0.15s zoomin;
}

.switch-block.anim-in {
	animation: 0.15s zoomout;
}

.block.animate .block-container {
	overflow: hidden;
}

.block.inactive {
	opacity: 0.6;

	transition: 3s opacity;
}

.block.inactive:hover {
	opacity: 1;

	transition: 0.5s opacity;
}

.block-container {
	position: relative;
}

.block.center {
	width: 40em;
	margin-top: 35vh;
	margin-left: calc(50% - 20em);
}

.block.side {
	width: 24em;
}

.block-header {
	font-family: "Courier New";
	border-bottom: 2px solid;
	height: 21px;
	line-height: 21px;
}

.block-buttons {
	position: absolute;
	top: 0;
	right: 0;

	padding: 4px;
	border-left: 1px solid;
	border-bottom: 1px solid;
	opacity: 0.6;
	z-index: 3;

	transition: 0.3s opacity, 0.6s background-color, 0.5s border-color;
}

.block-buttons:hover {
	opacity: 1;

	transition: 0.3s opacity, 0.3s background-color, 0.5s border-color;
}

.block-buttons-wrapper {
	display: inline-block;
}

.block-buttons-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	pointer-events: none;
	z-index: 2;

	transition: 0.5s background-color;
}

.block-buttons-bg.active {
	background-color: rgba(0, 0, 0, 0.5);
}

.block-buttons-desc {
	position: relative;
	overflow: hidden;
	max-width: 0;
	margin: 0;
	pointer-events: none;

	float: left;
	top: 0;

	transition: 0.5s max-width;
}

.block-buttons:hover .block-buttons-desc {
	max-width: 20em;
}

.block-button {
	display: block;

	cursor: pointer;
}

.block-button-desc {
	font-family: "Courier New";

	line-height: 16px;
	text-align: right;
	margin-right: 8px;

	filter: brightness(80%);

	transition: 0.3s filter;
}

.block-button-desc.hover {
	filter: brightness(100%);
}

.block-button:not(:last-child),
.block-button-desc:not(:last-child) {
	margin-bottom: 4px;
}

.block-button.disabled {
	cursor: not-allowed;
	filter: brightness(50%);
}

.button {
	position: relative;
	display: inline-block;
	text-align: center;

	border-left: 2px solid;
	border-right: 2px solid;

	font-size: 1.5em;
	cursor: pointer;
	padding: 0 1em;

	transition: 0.2s box-shadow;
}

.button.big {
	padding: 0 2.125em;
}

.button-wrap {
	position: relative;
	display: inline-block;

	border-top: 2px solid;
	border-bottom: 2px solid;
}

.buttons.center {
	text-align: center;
}

.buttons.left {
	text-align: left;
}

.buttons.right {
	text-align: right;
}

.error-img {
	display: inline-block;
}

.error-inner {
	display: inline-block;
	width: calc(100% - 100px - 0.5em);
	vertical-align: 50%;
}

.c-img {
	max-height: 50vh;
	border-radius: 4px;
	border: 1px solid;

	cursor: pointer;
}

.home-bar-wrapper {
	height: 80px;
	z-index: 1;

	transition: 0.3s opacity;
}

.fullscr-button {
	position: absolute;
	bottom: 0.75em;
	left: 0.75em;

	opacity: 0.4;

	cursor: pointer;

	transition: 0.3s opacity;
}

.fullscr-button:hover {
	opacity: 1;
}

.fullscr .fullscr-button,
.fullscr .exp-container-wrapper,
.fullscr .home-bar-wrapper {
	pointer-events: none;

	opacity: 0 !important;
}

.home-bar {
	display: flex;
	position: relative;
	height: 50px;

	padding: 0.5em;
	border-bottom: 2px solid;
}

.home-bar-button-container {
	display: flex;
	flex-basis: 100%;

	padding-left: 4px;
}

.home-bar::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;

	filter: brightness(40%);
}

.home-bar-button {
	display: inline-block;
	margin: 8px;

	cursor: pointer;
	font-family: "Courier New";
	font-size: 2em;

	transition: 0.3s text-shadow;
}

.home-bar-switch-container {
	display: flex;

	margin: -8px;
}

.home-bar-switch {
	font-family: "Courier New";
	text-align: center;
	cursor: pointer;

	padding: 8px 1px;

	border-left: 2px solid;

	transition: 0.3s background-color, 0.3s color;
}

.home-bar-switch-inner {
	transition: 0.3s filter;
}

.home-bar-switch.disabled {
	cursor: not-allowed;
}

.home-bar-switch.disabled .home-bar-switch-inner {
	filter: brightness(60%);
}

.home-bar-switch img {
	opacity: 0.8;

	transition: 0.3s opacity;
}

.home-bar-switch:hover img {
	opacity: 1;
}

.home-bar-expand-button {
	display: inline-block;

	font-family: "Courier New";

	cursor: pointer;
	padding: 4px 0.25em 2px 0.25em;
	border-right: 2px solid;
	border-bottom: 2px solid;

	transition: 0.3s transform, 0.3s opacity;
}

.home-bar-expand-button.collapsed {
	transform: translateY(-70px);
	opacity: 0.4;
}

.home-bar-expand-button:hover {
	opacity: 1;
}

.imgpop {
	max-height: 80vh;
}

.fullscreen-error {
	display: flex;
	justify-content: center;
	align-items: center;

	height: 100%;
	text-align: center;
	font-size: 2em;
}

/* Color-specific */

/* -- Orange -- */

[data-color="orange"] .block {
	border-image: linear-gradient(145deg, #b99032 0%, #FA9A00 60%, #b99032 100%) 1;
}

[data-color="orange"] .block-header {
	border-image: linear-gradient(to right, #b99032 0%, #FA9A00 60%, #b99032 100%) 1;
	background: linear-gradient(to right, rgba(255, 170, 34, 1) 20%, rgba(255, 170, 34, 0) 100%);
	color: var(--orange-inverse);
}

[data-color="orange"] .block-container {
	background-color: rgba(20, 7, 0, 0);
}

[data-color="orange"] .block-buttons {
	background-color: var(--orange-inverse);
	border-color: rgba(255, 170, 34, 0.4);
}

[data-color="orange"] .block-buttons:hover {
	border-color: rgba(255, 170, 34, 0.8);
}

[data-color="orange"] input:not(.slider) {
	background-color: transparent;
	color: var(--orange-main);
	-moz-box-shadow: inset 0 -32px 32px -32px rgba(255, 170, 50, 0.6);
	-webkit-box-shadow: inset 0 -32px 32px -32px rgba(255, 170, 50, 0.6);
	box-shadow: inset 0 -32px 32px -32px rgba(255, 170, 50, 0.6);
	border-color: var(--orange-main) !important;
}

[data-color="orange"] .input-wrapper.top input:not(.slider) {
	-moz-box-shadow: inset 0 32px 32px -32px rgba(255, 170, 34, 0.6);
	-webkit-box-shadow: inset 0 32px 32px -32px rgba(255, 170, 34, 0.6);
	box-shadow: inset 0 32px 32px -32px rgba(255, 170, 34, 0.6);
}

[data-color="orange"] ::placeholder {
	color: rgba(255, 170, 34, 0.6);
}

[data-color="orange"] .input-wrapper {
	border-image: linear-gradient(to bottom, transparent 40%, #FFAA22 100%) 1;
}

[data-color="orange"] .input-wrapper.top {
	border-image: linear-gradient(to top, transparent 40%, #FFAA22 100%) 1;
}

[data-color="orange"] .button {
	color: var(--orange-main);
	box-shadow: inset 0 16px 16px -16px rgba(255, 170, 34, 0.6), inset 0 -16px 16px -16px rgba(255, 170, 34, 0.6);
	border-image: linear-gradient(to bottom, rgba(255, 170, 34, 1) 0%, rgba(255, 170, 34, 0) 50%, rgba(255, 170, 34, 1) 100%) 1;
}

[data-color="orange"] .button-wrap:hover .button {
	box-shadow: inset 0 17px 17px -17px rgba(255, 170, 34, 0.7), inset 0 -17px 17px -17px rgba(255, 170, 34, 0.7);
}

[data-color="orange"] .button-wrap:active .button {
	background-color: var(--orange-main);
	color: var(--orange-inverse);
	border-image: linear-gradient(to bottom, rgba(255, 170, 34, 1) 0%, rgba(255, 170, 34, 1) 50%, rgba(255, 170, 34, 1) 100%) 1;
}

[data-color="orange"] .button-wrap {
	border-color: var(--orange-main);
}

[data-color="orange"] .link {
	color: #FF8A22;
}

[data-color="orange"] .link:hover {
	text-shadow: 0px 0px 3px #492100;
}

[data-color="orange"] .link::before {
	background: linear-gradient(to right, rgba(250, 112, 0, 0) 0%, rgba(250, 112, 0, 0.3) 100%);
}

[data-color="orange"] .link::after {
	color: #FFC15D;

	opacity: 0.7;
}

[data-color="orange"] .link:hover::after {
	opacity: 1;
}

[data-color="orange"] .home-bar {
	color: var(--orange-main);
	border-color: rgba(255, 170, 34, 0.4);
}

[data-color="orange"] .home-bar::before {
	background: var(--orange-inverse);
	filter: none;
}

[data-color="orange"] .home-bar-button {
	color: var(--orange-main);
}

[data-color="orange"] .home-bar-button:hover {
	text-shadow: 0px 0px 6px rgba(255, 170, 34, 0.6);
}

[data-color="orange"] .home-bar-switch {
	background-color: rgba(14, 9, 0, 0.4);
	color: rgba(255, 170, 34, 0.8);
	border-color: rgba(255, 170, 34, 0.4);
}

[data-color="orange"] .home-bar-switch:hover {
	background-color: rgba(14, 9, 0, 1);
	color: var(--orange-main);
}

[data-color="orange"] .home-bar-expand-button {
	border-color: rgba(255, 170, 34, 0.4);
	background-color: var(--orange-inverse);
}

[data-color="orange"] ::selection {
	background-color: var(--orange-main);
	color: var(--orange-inverse);
}

[data-color="orange"] .block-header::selection {
	background-color: var(--orange-inverse);
	color: var(--orange-main);
}

[data-color="orange"] .block-header ::selection {
	background-color: var(--orange-inverse);
	color: var(--orange-main);
}

[data-color="orange"] ::-moz-selection {
	background-color: var(--orange-main);
	color: var(--orange-inverse);
}

[data-color="orange"] .block-header::-moz-selection {
	background-color: var(--orange-inverse);
	color: var(--orange-main);
}

[data-color="orange"] .block-header ::-moz-selection {
	background-color: var(--orange-inverse);
	color: var(--orange-main);
}

/* Scrollbars */

::-webkit-scrollbar,
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover {
	border-radius: 0;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar {
	background: 0 0;
}

::-webkit-scrollbar,
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
	border-radius: 0;
	width: 4px;
	height: 4px;
}

::-webkit-scrollbar-thumb:hover {
	border-radius: 0;
}

::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.1);
}

* {
	scrollbar-width: thin;
}

/* -- Blue -- */

[data-color="blue"] ::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.8);
}

[data-color="blue"] * {
	scrollbar-color: rgba(164, 179, 227, 0.6) rgba(0, 0, 22, 0.6);
}

/* -- Orange -- */

[data-color="orange"] ::-webkit-scrollbar-thumb:hover,
.settings-wrap ::-webkit-scrollbar-thumb:hover,
#dialogs ::-webkit-scrollbar-thumb:hover {
	background: #b99032 !important;
}

[data-color="orange"] *,
.settings-wrap *,
#dialogs * {
	scrollbar-color: rgba(255, 170, 34, 0.6) rgba(14, 9, 0, 0.6) !important;
}


.button-video-wrapper {
    display: flex;
    align-items: center; /* Align items vertically */
    justify-content: flex-start;
    gap: 1em; /* Space between the button and video */
    margin-top: 1.5em;
}

.youtube-box {
    text-align: left;
    color: #b99032;
    font-family: "Courier New";
}

.youtube-box iframe {
    border: 2px solid #b99032;
    border-radius: 4px;
    box-shadow: 0px 0px 8px rgba(255, 170, 100, 0.75);
}

.bruteforce-message {
    margin-top: 0.5em;
    font-size: 0.8em;
    max-width: 200px; /* Limit text width to keep it contained */
    line-height: 1.2em;
}

.buttons-container {
    display: flex;
    justify-content: space-between;
    padding: 1em;
}

.buttons.left, .buttons.right {
    text-align: left; /* Aligns text within each button section */
}

.buttons.left {
    flex-direction: column;
}

.buttons.right {
    flex-direction: column;
}

.features-content {
    display: none; /* Hidden by default */
    margin-top: 1em;
    background-color: rgba(20, 7, 0, 0.9);
    padding: 1em;
    border: 2px solid #b99032;
    border-radius: 4px;
    box-shadow: 0px 0px 8px rgba(255, 170, 100, 0.75);
    font-family: "Courier New";
}