#kiska-parents-shortcut-popup[hidden] {
	display: none !important;
}

.kpsp {
	position: fixed;
	inset: 0;
	z-index: 99999;
	font-family: inherit;
}

.kpsp__backdrop,
.kpsp__dialog,
.kpsp__preview-icon-shell {
	transition:
		opacity 0.22s ease,
		transform 0.22s ease;
}

.kpsp__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
}

.kpsp__dialog {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%) translateY(18px);
	width: calc(100% - 24px);
	max-width: 420px;
	background: #ffffff;
	color: #212529;
	border-radius: 18px;
	padding: 18px 18px 18px;
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.24);
	opacity: 0;
}

.kpsp.kpsp--visible .kpsp__backdrop {
	opacity: 1;
}

.kpsp.kpsp--visible .kpsp__dialog {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.kpsp__close {
	position: absolute;
	top: 8px;
	right: 10px;
	border: 0;
	background: transparent;
	color: #6c757d;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.kpsp__preview {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 4px 0 14px;
}

.kpsp__preview-icon-shell {
	width: 72px;
	height: 72px;
	border-radius: 18px;
	overflow: hidden;
	box-shadow:
		0 6px 14px rgba(0, 0, 0, 0.18),
		0 2px 4px rgba(0, 0, 0, 0.12);
	transform: scale(0.96);
}

.kpsp.kpsp--icon-pop .kpsp__preview-icon-shell {
	transform: scale(1);
}

.kpsp__preview-image,
.kpsp__preview-fallback {
	width: 100%;
	height: 100%;
	border-radius: 18px;
	object-fit: cover;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	line-height: 1;
}

.kpsp__preview-label {
	margin-top: 8px;
	font-size: 0.82rem;
	line-height: 1.2;
	font-weight: 500;
	color: #495057;
	text-align: center;
	max-width: 120px;
	word-break: break-word;
}

.kpsp__title {
	margin: 0 0 10px;
	font-size: 1.35rem;
	line-height: 1.2;
	text-align: center;
}

.kpsp__desc {
	margin: 0 0 14px;
	text-align: center;
	font-size: 0.98rem;
	line-height: 1.45;
}

.kpsp__instructions {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 16px;
}

.kpsp__step {
	margin: 0 0 8px;
	display: flex;
	align-items: center;
	gap: 10px;
	line-height: 1.4;
}

.kpsp__step:last-child {
	margin-bottom: 0;
}

.kpsp__step-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
}

.kpsp__step-icon--share {
	color: #007aff;
}

.kpsp__step-icon--menu {
	flex-direction: column;
	gap: 2px;
}

.kpsp__step-icon--menu span {
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #212529;
}

.kpsp__actions {
	display: flex;
	gap: 10px;
}

.kpsp__btn {
	flex: 1 1 auto;
	border: 0;
	border-radius: 10px;
	padding: 12px 14px;
	font: inherit;
	font-size: 1rem;
	line-height: 1.2;
	cursor: pointer;
}

.kpsp__btn--primary {
	background: #0073aa;
	color: #ffffff;
}

.kpsp__btn--primary:hover,
.kpsp__btn--primary:focus {
	background: #005f8c;
	color: #ffffff;
}

.kpsp__btn--secondary {
	background: #e9ecef;
	color: #212529;
}

.kpsp__btn--secondary:hover,
.kpsp__btn--secondary:focus {
	background: #dde2e6;
	color: #212529;
}

@media (min-width: 768px) {
	.kpsp__dialog {
		bottom: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kpsp__backdrop,
	.kpsp__dialog,
	.kpsp__preview-icon-shell {
		transition: none;
	}

	.kpsp__preview-icon-shell {
		transform: none;
	}
}
