/* QTW News Audio — podcast player and read-aloud mini player. */

.qtw-pod {
	margin: 0 0 24px;
	padding: 16px;
	background: #1d2a2f;
	border: 1px solid #3c5a63;
	border-radius: 12px;
}

.qtw-pod__audio {
	display: block;
	width: 100%;
	min-height: 44px;
}

.qtw-pod__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.qtw-pod__row button,
.qtw-na-bar button {
	min-width: 44px;
	min-height: 44px;
	padding: 8px 14px;
	font: 600 16px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
	color: #fff;
	background: #2c4f5a;
	border: 1px solid #8fb9c4;
	border-radius: 22px;
	cursor: pointer;
}

.qtw-pod__row button:focus-visible,
.qtw-na-bar button:focus-visible {
	outline: 3px solid #f0cc55;
	outline-offset: 2px;
}

.qtw-pod__note {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: #d6e4e8;
}

.qtw-na-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
	color: #fff;
	background: #12333c;
	border-top: 2px solid #8fb9c4;
	box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.35);
}

.qtw-na-bar[hidden] {
	display: none;
}

.qtw-na-bar audio {
	display: none;
}

.qtw-na-bar__title {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	font: 600 15px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.qtw-na-bar__part {
	flex: 0 0 auto;
	font-size: 13px;
	color: #d6e4e8;
}

/* Room for the bar: page bottom and the "Ask the guide" bubble move up. */
body.qtw-na-bar-on {
	padding-bottom: 72px;
}

body.qtw-na-bar-on .qtw-aih-bubble {
	bottom: 80px !important;
}

.qtw-yt-app {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 10px 0 16px;
}

.qtw-yt-app a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 16px;
	font-weight: 600;
	color: #fff;
	background: #8a1c1c;
	border-radius: 22px;
	text-decoration: none;
}

.qtw-yt-app span {
	font-size: 14px;
	color: #d6e4e8;
}

@media (max-width: 480px) {
	.qtw-na-bar__part {
		display: none;
	}
}
