.wp-block-tab-list {
	/* Inset shadow, not border: the active-tab indicator (::before at bottom: 0) can only reach the content box, and overflow-x clips anything below it. */
	box-shadow: inset 0 -1px 0 var(--wp--preset--color--theme-3);
	overflow-x: auto;
	scrollbar-width: none;
}
.wp-block-tab-list::-webkit-scrollbar {
	display: none;
}
.wp-block-tab-list button {
	white-space: nowrap;
}
.wp-block-tab-list button:hover,
.wp-block-tab-list button:focus,
.wp-block-tab-list button[aria-selected=true] {
	color: var(--wp--preset--color--theme-6);
}
/* The scrolling tab list clips anything outside it, offsetting the outline so it's visible. */
.wp-block-tab-list button:focus-visible {
	outline-offset: -1px;
}
.wp-block-tab-list button[aria-selected=true]:before {
	border-bottom-color: var(--wp--preset--color--theme-7);
	border-bottom-width: 3px;
}
@media (max-width: 480px) {
	.wp-block-tabs .wp-block-tab-list button {
		padding-left: var(--wp--preset--spacing--10);
		padding-right: var(--wp--preset--spacing--10);
	}
}
