.tile-deep-red {
	background: #8b0000;
}

.tile-red {
	background: #c0392b;
}

.tile-light-red {
	background: #7d2424;
}

.tile-neutral {
	background: #1e2530;
	outline: 1px solid #252b38;
}

.tile-light-green {
	background: #1a4d2b;
}

.tile-green {
	background: #1e7a3e;
}

.tile-deep-green {
	background: #0a6b2d;
}

.legend-chip {
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
}

.flash::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.13);
	border-radius: 6px;
	animation: flash-anim 0.5s ease-out forwards;
	pointer-events: none;
}

@keyframes flash-anim {
	to {
		opacity: 0;
	}
}

.spinner {
	width: 40px;
	height: 40px;
	border: 3px solid #252b38;
	border-top-color: #3d8ef8;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

.spinning {
	animation: spin 0.6s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.sector-btn {
	padding: 3px 10px;
	border: 1px solid #252b38;
	border-radius: 12px;
	background: transparent;
	color: #7a8499;
	font-size: 11px;
	cursor: pointer;
	transition:
		border-color 0.15s,
		color 0.15s,
		background 0.15s;
	white-space: nowrap;
}

.sector-btn:hover {
	border-color: #3d8ef8;
	color: #3d8ef8;
}

.sector-btn.active {
	border-color: #3d8ef8;
	background: #3d8ef8;
	color: #fff;
}

.index-btn {
	padding: 6px 18px;
	border: 1px solid #252b38;
	border-radius: 6px;
	background: #161a23;
	color: #9aa3b5;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition:
		border-color 0.15s,
		color 0.15s,
		background 0.15s;
	white-space: nowrap;
	letter-spacing: 0.01em;
}

.index-btn:hover {
	border-color: #3d8ef8;
	color: #e4e8f0;
	background: #1e2530;
}

.index-btn.active {
	border-color: #3d8ef8;
	background: #1a3560;
	color: #fff;
	font-weight: 600;
	box-shadow: 0 0 0 1px #3d8ef830;
}

::-webkit-scrollbar {
	width: 6px;
}

::-webkit-scrollbar-track {
	background: #0d0f14;
}

::-webkit-scrollbar-thumb {
	background: #252b38;
	border-radius: 3px;
}
