/**
 * Host-only task strip (P136 #0l): slim, mobile-first bar rendered by inc/wi-host-task-bar.php.
 * Fixed to the bottom edge so it never covers the page headline, form, or player - a thin strip,
 * not a second surface. Own namespace (wi-host-task-bar*) so it never collides with
 * registration/grid/room CSS.
 */
.wi-host-task-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: var( --wi-z-host-bar, 9000 );
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 100%;
	padding: 8px 10px;
	background: #1d2327;
	color: #f0f0f1;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 13px;
	line-height: 1.3;
	box-shadow: 0 -2px 10px rgba( 0, 0, 0, 0.2 );
	box-sizing: border-box;
}

.wi-host-task-bar[hidden] {
	display: none;
}

.wi-host-task-bar__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.wi-host-task-bar__item {
	flex: 0 0 auto;
}

.wi-host-task-bar__link {
	display: inline-block;
	white-space: nowrap;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba( 255, 255, 255, 0.14 );
	color: #f0f0f1;
	text-decoration: none;
}

.wi-host-task-bar__link:hover,
.wi-host-task-bar__link:focus {
	background: rgba( 255, 255, 255, 0.24 );
	color: #ffffff;
}

.wi-host-task-bar__dismiss {
	flex: 0 0 auto;
	border: 0;
	background: transparent;
	color: #f0f0f1;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 6px;
}

.wi-host-task-bar__dismiss:hover,
.wi-host-task-bar__dismiss:focus {
	color: #ffffff;
}

@media ( max-width: 480px ) {
	.wi-host-task-bar {
		font-size: 12px;
		padding: 6px 8px;
	}
}
