/**
 * Smart-style app announcement banner (top of site).
 */

.hlp-app-banner {
	position: relative;
	z-index: 100050;
	width: 100%;
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	box-sizing: border-box;
}

.hlp-app-banner[hidden] {
	display: none !important;
}

.hlp-app-banner__track {
	position: relative;
	overflow: hidden;
}

.hlp-app-banner__slide {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.55rem 0.75rem;
	min-height: 52px;
	box-sizing: border-box;
}

.hlp-app-banner__slide[hidden] {
	display: none !important;
}

.hlp-app-banner__close {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #6b7280;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.hlp-app-banner__close:hover,
.hlp-app-banner__close:focus-visible {
	color: #111827;
	background: rgba(0, 0, 0, 0.05);
	outline: none;
}

.hlp-app-banner__icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 9px;
	object-fit: cover;
	background: #111;
}

.hlp-app-banner__icon--placeholder {
	display: inline-block;
	background: linear-gradient(135deg, #111 0%, #333 100%);
}

.hlp-app-banner__text {
	flex: 1 1 auto;
	min-width: 0;
}

.hlp-app-banner__title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	color: #111827;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hlp-app-banner__subtitle {
	margin: 0.1rem 0 0;
	font-size: 0.78rem;
	line-height: 1.2;
	color: #6b7280;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hlp-app-banner__cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3.5rem;
	padding: 0.42rem 0.9rem;
	border-radius: 999px;
	background: #f5c518;
	color: #111 !important;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	text-transform: uppercase;
	line-height: 1;
}

.hlp-app-banner__cta:hover,
.hlp-app-banner__cta:focus-visible {
	background: #e6b800;
	outline: none;
}

.hlp-app-banner__dots {
	display: flex;
	justify-content: center;
	gap: 0.35rem;
	padding: 0 0.75rem 0.4rem;
}

.hlp-app-banner__dot {
	width: 5px;
	height: 5px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.2);
}

.hlp-app-banner__dot.is-active {
	background: rgba(0, 0, 0, 0.55);
}

/* Dark site (Flock theme): keep banner light like App Store style */
body.flock-theme .hlp-app-banner {
	background: #fff;
}
