.divfo {
	--divfo-accent: #e63946;
	--divfo-banner: #ffffff;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	pointer-events: none;
	will-change: transform;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.divfo * { box-sizing: border-box; }

.divfo__link {
	display: flex;
	align-items: center;
	text-decoration: none !important;
	pointer-events: auto;
	cursor: pointer;
}

.divfo__banner {
	position: relative;
	background: var(--divfo-banner);
	color: var(--divfo-accent);
	font-weight: 800;
	font-size: 17px;
	line-height: 1.2;
	padding: 12px 22px;
	border-radius: 10px;
	white-space: nowrap;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
	border: 3px solid var(--divfo-accent);
	animation: divfo-wave 0.9s ease-in-out infinite;
	transform-origin: right center;
}
.divfo__rope {
	width: 46px;
	height: 2px;
	background: repeating-linear-gradient(90deg, #6b4a2f 0 6px, transparent 6px 10px);
	margin-top: 22px;
}
.divfo__char {
	width: 200px;
	height: auto;
	display: block;
	filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .22));
}
.divfo__char img { width: 100%; height: auto; display: block; }

.divfo__cape { transform-origin: 118px 60px; animation: divfo-cape .35s ease-in-out infinite alternate; }
.divfo__legs { transform-origin: 80px 85px; animation: divfo-kick .5s ease-in-out infinite alternate; }

.divfo__close {
	pointer-events: auto;
	position: absolute;
	top: -6px;
	right: 8px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 0;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	font-size: 16px;
	line-height: 26px;
	text-align: center;
	cursor: pointer;
	padding: 0;
}
.divfo__close:hover { background: rgba(0, 0, 0, .8); }

/* sparkle trail */
.divfo-spark {
	position: fixed;
	z-index: 2147482999;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	pointer-events: none;
	background: radial-gradient(circle, #fff 0 30%, #ffd166 60%, transparent 70%);
	animation: divfo-spark .9s ease-out forwards;
}

@keyframes divfo-wave { 0%,100% { transform: skewY(0deg); } 50% { transform: skewY(-2.5deg); } }
@keyframes divfo-cape { from { transform: skewY(-4deg) scaleY(1); } to { transform: skewY(5deg) scaleY(.92); } }
@keyframes divfo-kick { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@keyframes divfo-spark { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.2) translateY(14px); } }

@media (max-width: 600px) {
	.divfo__char { width: 130px; }
	.divfo__banner { font-size: 13px; padding: 8px 14px; }
	.divfo__rope { width: 24px; margin-top: 14px; }
}
