/**
 * Add to Home Screen — 下部バナー
 */
.psupport-pwa-a2hs {
	box-sizing: border-box;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999991;
	display: none;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0));
	background: rgba(255, 255, 255, 0.97);
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: #111;
}

.psupport-pwa-a2hs.is-visible {
	display: flex;
}

.psupport-pwa-a2hs__text {
	flex: 1 1 200px;
	margin: 0;
}

.psupport-pwa-a2hs__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.psupport-pwa-a2hs__btn {
	appearance: none;
	border: none;
	border-radius: 6px;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.psupport-pwa-a2hs__btn--primary {
	color: #fff;
	background: var(--psupport-pwa-a2hs-accent, #1a1a1a);
}

.psupport-pwa-a2hs__btn--primary:hover,
.psupport-pwa-a2hs__btn--primary:focus {
	filter: brightness(1.08);
}

.psupport-pwa-a2hs__btn--ghost {
	color: #555;
	background: transparent;
	text-decoration: underline;
	padding: 8px 10px;
}

.psupport-pwa-a2hs__btn--ghost:hover,
.psupport-pwa-a2hs__btn--ghost:focus {
	color: #111;
}

@media (min-width: 600px) {
	.psupport-pwa-a2hs {
		left: auto;
		right: 24px;
		bottom: 24px;
		max-width: 420px;
		border-radius: 10px;
		border: 1px solid rgba(0, 0, 0, 0.1);
		box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
	}
}
