.elementor-widget-shortcode:has(.stiqima-footystats-heatmap),
.elementor-widget-container:has(.stiqima-footystats-heatmap) {
	width: 100% !important;
	max-width: none !important;
}

.stiqima-footystats-heatmap {
	box-sizing: border-box;
	width: 100%;
	max-width: 520px;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 0;
	color: #111;
	font-family: inherit;
	line-height: 1.15;
	overflow: hidden;
}

.stiqima-footystats-heatmap *,
.stiqima-footystats-heatmap *::before,
.stiqima-footystats-heatmap *::after {
	box-sizing: border-box;
}

.stiqima-footystats-heatmap h3.stiqima-footystats-heatmap__title {
	margin: 0;
	padding: 7px 12px;
	background: #000;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.stiqima-footystats-heatmap__summary {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-bottom: 1px solid #e5e7eb;
}

.stiqima-footystats-heatmap__average,
.stiqima-footystats-heatmap__half {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 8px 8px 7px;
	text-align: center;
}

.stiqima-footystats-heatmap__average strong,
.stiqima-footystats-heatmap__half strong {
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.05;
}

.stiqima-footystats-heatmap__average span,
.stiqima-footystats-heatmap__half span {
	margin-top: 1px;
	font-size: 0.85rem;
	font-weight: 700;
}

.stiqima-footystats-heatmap__sides {
	display: flex;
	flex-direction: column;
	border-left: 1px solid #e5e7eb;
}

.stiqima-footystats-heatmap__side {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 6px 8px;
	font-size: 0.85rem;
	font-weight: 700;
	text-align: center;
}

.stiqima-footystats-heatmap__side + .stiqima-footystats-heatmap__side {
	border-top: 1px solid #e5e7eb;
}

.stiqima-footystats-heatmap__track {
	padding: 8px 10px 0;
}

.stiqima-footystats-heatmap__bar {
	display: flex;
	height: 26px;
	border-radius: 0;
	overflow: hidden;
}

.stiqima-footystats-heatmap__cell {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	color: #fff;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.stiqima-footystats-heatmap__cell--mark {
	flex-grow: 1.7;
}

.stiqima-footystats-heatmap__ticks {
	position: relative;
	height: 1.05rem;
	margin-top: 3px;
	color: #6b7280;
	font-size: 0.75rem;
}

.stiqima-footystats-heatmap__tick {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
}

.stiqima-footystats-heatmap__halves {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 2px 8px 8px;
}

.stiqima-footystats-heatmap__note {
	margin: 0;
	color: #b91c1c;
}

@media (max-width: 640px) {
	.stiqima-footystats-heatmap__average strong,
	.stiqima-footystats-heatmap__half strong {
		font-size: 1.1rem;
	}

	.stiqima-footystats-heatmap__average span,
	.stiqima-footystats-heatmap__half span,
	.stiqima-footystats-heatmap__side {
		font-size: 0.78rem;
	}

	.stiqima-footystats-heatmap__bar {
		height: 22px;
	}
}
