/* PWA install banner: top of the page, phones only. */

.zib {
	display: none;
}

@media (max-width: 767px) {
	.zib {
		position: relative;
		z-index: 99990;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		box-sizing: border-box;
		width: 100%;
		padding: 10px 14px;
		color: #fff;
		background: #0b0b0c;
	}

	.zib[hidden] {
		display: none;
	}

	.zib__main {
		display: flex;
		align-items: center;
		gap: 10px;
		min-width: 0;
	}

	.zib button.zib__close {
		flex: 0 0 auto;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 24px;
		height: 24px;
		min-height: 0;
		margin: 0 0 0 -4px;
		padding: 0;
		color: #9ca3af;
		background: transparent;
		border: 0;
		border-radius: 50%;
		box-shadow: none;
		cursor: pointer;
		transition: color 0.15s ease;
	}

	.zib button.zib__close:hover,
	.zib button.zib__close:focus-visible {
		color: #fff;
		background: transparent;
	}

	.zib__icon {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		overflow: hidden;
		color: #fff;
		background: #000;
		border: 1px solid rgba(255, 255, 255, 0.14);
		border-radius: 12px !important;
		box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	}

	.zib__icon img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.zib__letter {
		font-size: 18px;
		font-weight: 700;
	}

	.zib__text {
		display: flex;
		flex-direction: column;
		gap: 2px;
		min-width: 0;
	}

	.zib .zib__name {
		overflow: hidden;
		color: #fff;
		font-size: 12px;
		font-weight: 700;
		line-height: 1.2;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.zib .zib__sub {
		overflow: hidden;
		color: #cfd3da;
		font-size: 11px;
		line-height: 1.2;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.zib button.zib__install {
		flex: 0 0 auto;
		min-height: 0;
		padding: 7px 16px;
		color: #0b0b0c;
		background: linear-gradient(90deg, #fbbf24, #f59e0b);
		border: 0;
		border-radius: 999px !important;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.04em;
		line-height: 1.2;
		text-transform: uppercase;
		cursor: pointer;
		user-select: none;
		transition: transform 0.1s ease, filter 0.15s ease;
	}

	.zib button.zib__install:hover {
		color: #0b0b0c;
		filter: brightness(1.08);
	}

	.zib button.zib__install:active {
		transform: scale(0.95);
	}

	.zib button:focus-visible {
		outline: 2px solid #fbbf24;
		outline-offset: 2px;
	}
}
