/* Upload progress: shown on every screen size inside the builder's saving overlay. */
.gqspf-progress {
	position: absolute;
	left: 50%;
	bottom: 18%;
	transform: translateX(-50%);
	width: min(320px, 80vw);
	font: 600 15px/1.4 sans-serif;
	color: #fff;
}
.gqspf-progress-track {
	height: 10px;
	overflow: hidden;
	border-radius: 5px;
	background: rgba(255, 255, 255, .25);
}
.gqspf-progress-fill {
	width: 0;
	height: 100%;
	border-radius: 5px;
	background: #fff;
	transition: width .25s linear;
}
.gqspf-progress-text {
	margin-top: 8px;
}

/* Phone layout only: this is the builder's own drawer breakpoint. */
@media (max-width: 860px) {
	/* Keep the drawer's close button reachable wherever the drawer is scrolled. */
	.gqsm-modal-box > .gqsm-modal-x {
		position: sticky;
		top: -30px;
		float: right;
		z-index: 6;
		width: 40px;
		height: 40px;
		margin: -30px -4px 0 0;
		padding: 0;
		border-radius: 50%;
		background: #fff;
		box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
	}

	/* Next step after an error, pinned to the bottom of the drawer. */
	.gqspf-next {
		position: sticky;
		bottom: -14px;
		z-index: 5;
		margin: 12px -12px -14px;
		padding: 12px;
		background: #fff;
		border-top: 1px solid #cad8e8;
		box-shadow: 0 -4px 12px rgba(0, 0, 0, .08);
	}
	.gqspf-next-message {
		margin: 0 0 10px;
		color: #b42318;
		font-size: 14px;
		line-height: 1.35;
	}
	.gqspf-next-button {
		display: block;
		width: 100%;
		min-height: 48px;
		border: 0;
		border-radius: 8px;
		background: #0754ad;
		color: #fff;
		font-size: 16px;
		font-weight: 700;
		cursor: pointer;
	}

	/* The artwork-help message sits above the buy bar and clear of the chat button. */
	body #gms-ah-nudge {
		right: auto;
		left: 10px;
		bottom: calc(var(--gqsm-buybar-height, 150px) + 10px);
		max-width: calc(100vw - 96px);
		padding: 10px 12px;
		border-radius: 12px;
		font-size: 13px;
		line-height: 1.3;
	}
}
