/* Lokrin maskot – robot L. Všetko je čisto CSS cez pseudo-elementy, obrázky sa načítajú len tam, kde sa zobrazia. */
@keyframes lkr-mascot-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes lkr-mascot-pop { 0% { transform: translateY(14px) scale(.92); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* 1) Sprievodca: žltá bublina s tipom, robot vykúka spoza jej hornej hrany (hero hubov a homepage) */
@keyframes lkr-guide-pop { 0% { transform: translateY(8px) scale(.9); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes lkr-guide-bounce { 0% { transform: translateY(0); } 35% { transform: translateY(-14px); } 70% { transform: translateY(0); } 85% { transform: translateY(-5px); } 100% { transform: translateY(0); } }
body.lkr-mascot-on .lkr-hub__hero-inner { position: relative; }
body.lkr-mascot-on div.lkr-guide, body.lkr-mascot-on div.lkr-guide .lkr-guide__card { background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.lkr-mascot-on div.lkr-guide { opacity: 0; transition: opacity .4s ease; z-index: 3; pointer-events: none; }
body.lkr-mascot-on div.lkr-guide.is-on { opacity: 1; pointer-events: auto; }
body.lkr-mascot-on .lkr-guide--hero { position: absolute; right: 24px; bottom: 20px; }
body.lkr-mascot-on .lkr-guide-row { display: flex; align-items: flex-end; gap: 36px; margin: 0 0 var(--wp--preset--spacing--5, 32px); }
body.lkr-mascot-on .lkr-guide-row > .lkr-lede { flex: 1 1 auto; margin-bottom: 0 !important; }
body.lkr-mascot-on .lkr-guide--home { flex: none; display: flex; justify-content: flex-end; }
@media (max-width: 900px) { body.lkr-mascot-on .lkr-guide-row { flex-direction: column; align-items: stretch; gap: 10px; } body.lkr-mascot-on .lkr-guide--home { margin-top: 48px; } }
body.lkr-mascot-on div.lkr-guide .lkr-guide__card { position: relative; padding-top: 58px; }
body.lkr-mascot-on div.lkr-guide .lkr-guide__bot { position: absolute; right: 18px; bottom: calc(100% - 66px); z-index: 1; width: 112px; height: 68px; margin: 0; padding: 0; border: 0; background: var(--lkr-mascot-peek) no-repeat center bottom / contain; background-color: transparent !important; box-shadow: none !important; cursor: pointer; transition: transform .25s; }
body.lkr-mascot-on div.lkr-guide .lkr-guide__bot:hover, body.lkr-mascot-on div.lkr-guide .lkr-guide__bot:focus-visible { background-image: var(--lkr-mascot-peek-wave); outline: none; }
body.lkr-mascot-on div.lkr-guide .lkr-guide__bot.is-bounce { animation: lkr-guide-bounce .55s ease; }
body.lkr-mascot-on div.lkr-guide .lkr-guide__bubble { position: relative; z-index: 2; max-width: 240px; min-width: 200px; margin: 0; padding: 12px 16px; border: 0; border-radius: 16px; background: #FFD100; color: #0B1426; font-family: var(--lkr-font-body, inherit); font-size: .9rem; font-weight: 600; line-height: 1.4; text-align: left; box-shadow: 0 12px 28px -14px rgba(0,0,0,.5); cursor: pointer; transform-origin: top right; }
body.lkr-mascot-on div.lkr-guide .lkr-guide__bubble.is-in { animation: lkr-guide-pop .35s cubic-bezier(.2,.8,.2,1) both; }
body.lkr-mascot-on div.lkr-guide .lkr-guide__bubble.is-link { text-decoration: underline; text-underline-offset: .18em; }
body.lkr-mascot-on div.lkr-guide .lkr-guide__bubble.is-link:hover { background: #FFE066; }
body.lkr-mascot-on div.lkr-guide .lkr-guide__bubble.is-static { cursor: default; }
body.lkr-mascot-guide .lkr-hub__hero-inner { padding-bottom: 176px !important; }
body.lkr-mascot-on .lkr-guide--hero { bottom: 16px; }
@media (max-width: 760px) {
	body.lkr-mascot-guide .lkr-hub__hero-inner { padding-right: 16px !important; padding-bottom: 200px !important; }
	body.lkr-mascot-on .lkr-guide--hero { right: 12px; bottom: 16px; left: 12px; display: flex; justify-content: flex-end; }
	body.lkr-mascot-on div.lkr-guide .lkr-guide__card { padding-top: 48px; }
	body.lkr-mascot-on div.lkr-guide .lkr-guide__bot { width: 92px; height: 56px; right: 14px; bottom: calc(100% - 54px); }
	body.lkr-mascot-on div.lkr-guide .lkr-guide__bubble { max-width: 100%; min-width: 0; font-size: .84rem; padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) { body.lkr-mascot-on div.lkr-guide .lkr-guide__bot, body.lkr-mascot-on div.lkr-guide .lkr-guide__bubble { animation: none !important; } }

/* 3) Robot vykúka spoza horného okraja tlačidla: homepage karta #1 (desktop) a lepivá lišta na mobile. V konverznom bloku nie – kolidoval so štítkom ponuky. */
body.lkr-mascot-on .lkr-tc-row:first-of-type .lkr-tc-row__cta,
body.lkr-mascot-on .lkr-sticky-cta__btn { position: relative; overflow: visible !important; }
body.lkr-mascot-on .lkr-sticky-cta__btn::before {
	content: ""; display: block !important; position: absolute; right: 10px; top: -30px; width: 56px; height: 33px; pointer-events: none;
	background: var(--lkr-mascot-peek-wave) no-repeat center bottom / contain;
}
@media (min-width: 761px) {
	body.lkr-mascot-on .lkr-tc-row:first-of-type .lkr-tc-row__cta::before {
		content: ""; display: block !important; position: absolute; right: 16px; top: -37px; width: 70px; height: 40px; pointer-events: none;
		background: var(--lkr-mascot-peek) no-repeat center bottom / contain;
		transition: transform .25s cubic-bezier(.2,.8,.2,1);
	}
	body.lkr-mascot-on .lkr-tc-row:first-of-type .lkr-tc-row__cta:hover::before { transform: translateY(-5px); }
}

/* 3b) Konverzný blok: hlava robota pred titulkom */
body.lkr-mascot-on .lkr-nd__title::before {
	content: ""; display: inline-block; vertical-align: middle; width: 36px; height: 40px; margin: -6px 8px -4px 0;
	background: var(--lkr-mascot-head) no-repeat center / contain;
}

/* 4) Most k vkladu (tmavý blok): robot s kartou */
body.lkr-mascot-on .lkr-bridge__head { position: relative; padding-right: 120px; min-height: 124px; }
body.lkr-mascot-on .lkr-bridge__head::after {
	content: ""; position: absolute; right: 0; bottom: 0; width: 80px; height: 124px; pointer-events: none;
	background: var(--lkr-mascot-pay) no-repeat right bottom / contain;
	animation: lkr-mascot-float 5s ease-in-out infinite;
}
@media (max-width: 760px) { body.lkr-mascot-on .lkr-bridge__head { padding-right: 92px; } body.lkr-mascot-on .lkr-bridge__head::after { width: 64px; height: 110px; } }

/* 5) Lišta 18+ nad footerom: robot s tabuľkou 18+ */
body.lkr-mascot-on .lkr-rg-banner__mascot { display: block; background: var(--lkr-mascot-rg) no-repeat center bottom / contain; }

/* 6) FAQ: robot s otáznikom pod poslednou otázkou vpravo */
body.lkr-mascot-on .lkr-faq-wrap::after {
	content: ""; display: block; width: 64px; height: 100px; margin: -6px 0 0 auto;
	background: var(--lkr-mascot-faq) no-repeat right bottom / contain;
}

/* 7) Partnerský disclaimer v recenzii: hlava robota */
body.lkr-mascot-on .lkr-review__disclaimer { display: flex !important; align-items: flex-start; gap: 12px; }
body.lkr-mascot-on .lkr-review__disclaimer::before {
	content: ""; flex: none; width: 40px; height: 44px; margin-top: -2px;
	background: var(--lkr-mascot-head) no-repeat center / contain;
}

/* 8) Stránka 404: robot vedľa textu (desktop), nad textom (mobil) */
body.lkr-mascot-on .lkr-404-inner { max-width: 820px !important; display: grid; grid-template-columns: 170px minmax(0, 1fr); column-gap: 36px; align-items: center; }
body.lkr-mascot-on .lkr-404-inner > * { grid-column: 2; }
body.lkr-mascot-on .lkr-404-inner::before {
	content: ""; grid-column: 1; grid-row: 1 / span 4; align-self: end; width: 170px; height: 260px;
	background: var(--lkr-mascot-404) no-repeat center bottom / contain;
	animation: lkr-mascot-float 4.5s ease-in-out infinite;
}
@media (max-width: 760px) {
	body.lkr-mascot-on .lkr-404-inner { display: block; }
	body.lkr-mascot-on .lkr-404-inner::before { display: block; width: 130px; height: 200px; margin: 0 auto 12px; }
}


/* Prístupnosť: bez pohybu */
@media (prefers-reduced-motion: reduce) {
	body.lkr-mascot-on .lkr-bridge__head::after,
	body.lkr-mascot-on .lkr-404-inner::before { animation: none !important; }
}
