body.has-wildscape-progress {
	overflow-x: clip;
	max-width: 100%;
}

.wsrp {
	--wsrp-green: #3b9775;
	--wsrp-green-deep: #056c46;
	--wsrp-track: rgba(255, 255, 255, 0.16);
	--wsrp-tick: rgba(255, 255, 255, 0.38);
	--wsrp-text: #fefefe;
	--wsrp-muted: rgba(254, 254, 254, 0.62);
	--wsrp-bg: rgba(1, 1, 1, 0.72);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100%;
	height: 0;
	overflow: visible;
	box-sizing: border-box;
	z-index: 100000;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.wsrp.is-visible {
	opacity: 1;
}

.wsrp__track {
	position: relative;
	top: 0;
	margin: 0;
	height: 4px;
	background: var(--wsrp-track);
	pointer-events: auto;
}

.wsrp__fill {
	display: block;
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, var(--wsrp-green) 0%, var(--wsrp-green-deep) 100%);
	transform-origin: left center;
	will-change: width;
	box-shadow: 0 0 12px rgba(59, 151, 117, 0.45);
}

.wsrp__ticks {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	pointer-events: none;
}

.wsrp__tick {
	position: absolute;
	top: 0;
	width: 10px;
	height: 4px;
	margin-left: -5px;
	padding: 0;
	border: 0;
	background: transparent;
	pointer-events: auto;
	cursor: pointer;
}

.wsrp__tick::after {
	content: "";
	position: absolute;
	left: 50%;
	top: -2px;
	width: 2px;
	height: 8px;
	margin-left: -1px;
	background: var(--wsrp-tick);
	border-radius: 1px;
}

.wsrp__tick:hover::after,
.wsrp__tick:focus-visible::after {
	background: #fff;
	height: 10px;
	top: -3px;
}

.wsrp__tick:focus-visible {
	outline: none;
}

.wsrp__hud {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	margin: 0;
	max-width: calc(100% - 24px);
	padding: 8px 12px 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	background: var(--wsrp-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
	color: var(--wsrp-text);
	pointer-events: auto;
}

.wsrp__copy {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	text-align: right;
}

.wsrp__kicker {
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wsrp-muted);
	line-height: 1.2;
}

.wsrp__section {
	font-family: Georgia, Times, serif;
	font-size: 13px;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: min(52%, 280px);
}

.wsrp__meter {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
}

.wsrp__ring {
	width: 42px;
	height: 42px;
	transform: rotate(-90deg);
}

.wsrp__ring-track {
	fill: none;
	stroke: rgba(255, 255, 255, 0.16);
	stroke-width: 3;
}

.wsrp__ring-fill {
	fill: none;
	stroke: url(#wsrp-ring-gradient);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 113.097;
	stroke-dashoffset: 113.097;
}

.wsrp__pct {
	position: absolute;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--wsrp-text);
}

.wsrp__meter {
	position: relative;
}

@media (max-width: 781px) {
	.wsrp__hud {
		top: 10px;
		right: 8px;
		padding: 7px 10px 7px 12px;
		gap: 10px;
		max-width: calc(100% - 16px);
	}

	.wsrp__section {
		max-width: min(42%, 160px);
		font-size: 12px;
	}

	.wsrp__kicker {
		font-size: 9px;
	}

	.wsrp__meter,
	.wsrp__ring {
		width: 36px;
		height: 36px;
		flex-basis: 36px;
	}

	.wsrp__ticks {
		display: none;
	}
}

@media (max-width: 600px) {
	.has-wildscape-progress .wp-block-media-text.is-stacked-on-mobile {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.has-wildscape-progress .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__media,
	.has-wildscape-progress .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content {
		grid-column: 1 !important;
		min-width: 0;
		width: 100%;
		max-width: 100%;
	}

	.has-wildscape-progress .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content {
		grid-row: 2 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wsrp,
	.wsrp__fill,
	.wsrp__ring-fill {
		transition: none;
	}
}
