/**
 * QWX Kiosk Mode — hint overlay styles.
 * Loaded only on kiosk pages, only when "show hints" is enabled.
 */

.qwx-kiosk-hint-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(17, 17, 17, 0.72);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.qwx-kiosk-hint-overlay[hidden] {
	display: none;
}

.qwx-kiosk-hint-card {
	position: relative;
	max-width: 420px;
	width: 100%;
	background: #fff;
	color: #1d1d1f;
	border-radius: 18px;
	padding: 28px 24px 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	text-align: left;
}

.qwx-kiosk-hint-card h2 {
	margin: 0 0 12px;
	font-size: 19px;
	font-weight: 600;
}

.qwx-kiosk-hint-card p {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.45;
}

.qwx-kiosk-hint-card ol {
	margin: 0;
	padding-left: 20px;
	font-size: 15px;
	line-height: 1.6;
}

.qwx-kiosk-hint-card li {
	margin-bottom: 6px;
}

.qwx-kiosk-hint-dismiss {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 32px;
	height: 32px;
	border: none;
	background: #f2f2f4;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	color: #6e6e73;
	cursor: pointer;
}

.qwx-kiosk-hint-dismiss:active {
	background: #e4e4e7;
}

/*
 * Optional visual pointer toward Safari's share icon. Positioned with a
 * best-effort guess at the toolbar location (top-right on iPadOS Safari
 * in landscape). Kept purely decorative/non-blocking — if the OS/browser
 * UI ever changes position, the numbered instructions are still correct
 * on their own, so this never needs to be pixel-perfect.
 */
.qwx-kiosk-hint-share-pointer {
	display: none;
}

@media (min-width: 768px) {
	.qwx-kiosk-hint-share-pointer {
		display: block;
		position: fixed;
		top: 14px;
		right: 70px;
		width: 28px;
		height: 28px;
		border: 2px solid #0a84ff;
		border-radius: 50%;
		animation: qwx-kiosk-pulse 1.6s ease-out infinite;
	}
}

@keyframes qwx-kiosk-pulse {
	0% { transform: scale(0.8); opacity: 0.9; }
	70% { transform: scale(1.6); opacity: 0; }
	100% { transform: scale(1.6); opacity: 0; }
}
