.sc-skeleton-overlay {
	position: fixed;
	inset: 0;
	z-index: 999990;
	background: #f4f5f7;
	padding: calc(env(safe-area-inset-top, 0) + 16px) 16px calc(env(safe-area-inset-bottom, 0) + 16px);
	overflow: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.sc-skeleton-overlay.is-hidden {
	opacity: 0;
	visibility: hidden;
}

.sc-skeleton-header {
	height: 52px;
	border-radius: 12px;
	margin-bottom: 16px;
}

.sc-skeleton-card {
	height: 88px;
	border-radius: 14px;
	margin-bottom: 12px;
}

.sc-skeleton-line {
	height: 14px;
	border-radius: 8px;
	margin-bottom: 10px;
}

.sc-skeleton-line--short {
	width: 62%;
}

.sc-skeleton-shimmer {
	background: linear-gradient(90deg, #eceff3 0%, #f8f9fb 45%, #eceff3 90%);
	background-size: 200% 100%;
	animation: scSkeletonShimmer 1.2s ease-in-out infinite;
}

@keyframes scSkeletonShimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.sc-offline-banner {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(72px + env(safe-area-inset-bottom, 0));
	z-index: 999991;
	background: #1f2937;
	color: #fff;
	padding: 10px 14px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	transform: translateY(120%);
	transition: transform 0.25s ease;
}

.sc-offline-banner.is-visible {
	transform: translateY(0);
}

.sc-offline-banner--sync {
	left: 50%;
	right: auto;
	width: auto;
	max-width: min(260px, calc(100% - 32px));
	padding: 5px 12px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.35;
	text-align: center;
	background: rgba(17, 24, 39, 0.52);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	border-radius: 999px;
	transform: translate(-50%, 6px);
	opacity: 0;
	transition: opacity 0.28s ease, transform 0.28s ease;
}

.sc-offline-banner--sync.is-visible {
	transform: translate(-50%, 0);
	opacity: 1;
}

.sc-biometric-prompt {
	position: fixed;
	inset: 0;
	z-index: 999992;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: rgba(17, 24, 39, 0.45);
	padding: 16px;
}

.sc-biometric-prompt__card {
	width: min(420px, 100%);
	background: #fff;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.sc-biometric-prompt__actions {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.sc-biometric-prompt__btn {
	flex: 1;
	border: none;
	border-radius: 10px;
	padding: 12px;
	font-weight: 700;
	cursor: pointer;
}

.sc-biometric-prompt__btn--primary {
	background: #942428;
	color: #fff;
}

.sc-biometric-prompt__btn--ghost {
	background: #f3f4f6;
	color: #374151;
}
