/*
   The thrower's checkout route, in its own toast: what to throw now, which of
   how many, and what's been thrown of it.
   Loaded in order with the others (see index.html): a later rule wins. */

/* The thrower's checkout, in its toast (see toast.css): green, what to throw now. */
.checkout {
	display: flex;
	align-items: baseline;
	white-space: nowrap;
	color: var(--checkout-now);
	cursor: pointer;
}

.checkout-steps {
	margin-left: 0.25em;
}

/* Which of how many: slides out beside the target for a moment after a tap. */
.checkout-count {
	flex: none;
	max-width: 0;
	margin-left: 0;
	overflow: hidden;
	opacity: 0;
	font-size: 0.68em;
	/* On the finish's baseline, then up so the digits' middle meets the finish's. */
	position: relative;
	bottom: 0.167em;
	font-style: normal;
	color: var(--text-soft);
	transition: max-width var(--medium) var(--ease-out), margin-left var(--medium) var(--ease-out), opacity var(--medium) var(--ease-out);
}

.checkout.counting .checkout-count {
	max-width: 3.2em;
	margin-left: 0.35em;
	opacity: 1;
}

/* What's been thrown of the finish being followed. */
.checkout-steps span {
	transition: opacity var(--medium) var(--ease-out);
}

.checkout-steps span.done {
	opacity: 0.35;
}

.checkout.hint {
	cursor: default;
}

.checkout.hint.muted {
	color: var(--history-muted);
}


.scrollable {
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
}

.scrollable::-webkit-scrollbar {
	display: none;
}
