/* Účty: prihlásenie, Môj Ľudo, box Ľudovho listu, zámok funkcie, správa po presmerovaní.
   Farba sa berie zo sekcie (--l-accent z l-theme-*), inak modrá. */

.lu-auth { padding: 3rem 0 4rem; }

.lu-card {
  background: #fff;
  border-radius: .6rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
  padding: 2rem;
  margin-bottom: 1.25rem;
}
.lu-card--narrow { max-width: 32rem; margin-left: auto; margin-right: auto; }
.lu-card h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); margin: 0 0 .6rem; }
.lu-card h2 { font-size: 1.35rem; margin: 0 0 1rem; }
.lu-card h3 { font-size: 1.1rem; margin: 1.5rem 0 .3rem; }
.lu-card--danger { border-top: 4px solid #b3261e; }

.lu-lead { color: #4a4550; line-height: 1.5; margin-bottom: 1.25rem; }
.lu-muted { color: #6c757d; font-size: .95rem; }
.lu-fine { font-size: .9rem; color: #6c757d; line-height: 1.5; margin: 1.25rem 0 0; }
.lu-fine a, .lu-lead a { color: var(--l-accent, #24499b); }

.lu-field { margin-bottom: 1rem; }
.lu-field label {
  display: block;
  font-family: 'Qanelas-Soft Semibold', sans-serif;
  font-size: 1rem;
  margin-bottom: .35rem;
}
.lu-input {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1.125rem;
  line-height: 1.3;
  padding: .7rem .9rem;
  border: 2px solid #ddd6df;
  border-radius: .35rem;
  background: #fff;
  color: #2b2330;
}
.lu-input:focus {
  outline: none;
  border-color: var(--l-accent, #24499b);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--l-accent, #24499b) 22%, transparent);
}
.lu-code-input {
  font-family: 'Qanelas-Soft Semibold', sans-serif;
  font-size: 2rem;
  letter-spacing: .35em;
  text-align: center;
}

.lu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 2px solid transparent;
  border-radius: .35rem;
  padding: .75rem 1.3rem;
  font-family: 'Qanelas-Soft Semibold', sans-serif;
  font-size: 1.1rem;
  line-height: 1.2;
  cursor: pointer;
  background: var(--l-accent, #24499b);
  color: #fff;
  text-decoration: none;
}
.lu-btn:hover, .lu-btn:focus { filter: brightness(.9); color: #fff; text-decoration: none; }
.lu-btn:disabled { opacity: .6; cursor: wait; }
.lu-btn--block { width: 100%; }
.lu-btn--big { font-size: 1.25rem; padding: 1rem 1.5rem; }
.lu-btn--ghost { background: transparent; color: var(--l-accent, #24499b); border-color: currentColor; }
.lu-btn--ghost:hover, .lu-btn--ghost:focus { color: var(--l-accent, #24499b); filter: none; background: color-mix(in srgb, var(--l-accent, #24499b) 8%, #fff); }
.lu-btn--danger { background: #b3261e; }

.lu-check {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.45;
  margin: 1rem 0 1.25rem;
  cursor: pointer;
}
.lu-check input { margin-top: .2rem; width: 1.15rem; height: 1.15rem; flex: none; accent-color: var(--l-accent, #24499b); }
.lu-check--big { font-size: 1.05rem; }

.lu-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.lu-chip { margin: 0; cursor: pointer; }
.lu-chip input { position: absolute; opacity: 0; pointer-events: none; }
.lu-chip span {
  display: inline-block;
  padding: .4rem .9rem;
  border-radius: 2rem;
  border: 2px solid #ddd6df;
  font-family: 'Qanelas-Soft Semibold', sans-serif;
  font-size: .95rem;
}
.lu-chip input:checked + span { background: var(--l-accent, #24499b); border-color: var(--l-accent, #24499b); color: #fff; }
.lu-chip input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--l-accent, #24499b) 30%, transparent); }

.lu-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.lu-actions form { margin: 0; }

.lu-error {
  background: #fdecea;
  color: #8a1c14;
  border-radius: .35rem;
  padding: .7rem .9rem;
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.45;
}
.lu-dev {
  margin-top: 1.5rem;
  padding: .7rem .9rem;
  border: 2px dashed #f5ab32;
  border-radius: .35rem;
  font-size: .95rem;
  background: #fff8ec;
}

.lu-badge {
  display: inline-block;
  margin-left: .4rem;
  padding: .1rem .6rem;
  border-radius: 1rem;
  background: var(--l-accent, #24499b);
  color: #fff;
  font-family: 'Qanelas-Soft Semibold', sans-serif;
  font-size: .85rem;
}

.lu-account .container { max-width: 46rem; }
.lu-account__head { margin-bottom: 1.5rem; }
.lu-account__head h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin-bottom: .3rem; }
.lu-account form > .lu-btn { margin-bottom: 2rem; }

/* Plávajúce tlačidlo „Odoberať newsletter“ vpravo dole (partials/newsletter-float.php) */
.lu-float {
  position: fixed;
  right: 1.25rem;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 1040;
  display: flex;
  flex-direction: column-reverse; /* panel nad tlačidlom */
  align-items: flex-end;
  gap: .75rem;
}
.lu-float__btn {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.25rem;
  border-radius: 2rem;
  background: var(--l-accent, #24499b);
  color: #fff;
  font-family: 'Qanelas-Soft Semibold', sans-serif;
  font-size: 1.05rem;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(20, 15, 25, .28);
  user-select: none;
}
.lu-float__btn::-webkit-details-marker { display: none; }
.lu-float__btn::marker { content: ''; }
.lu-float__btn:hover { filter: brightness(.92); }
.lu-float__btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--l-accent, #24499b) 40%, #fff); outline-offset: 2px; }
.lu-float[open] .lu-float__btn { box-shadow: 0 2px 10px rgba(20, 15, 25, .2); }
.lu-float--subscribed .lu-float__btn {
  background: #fff;
  color: var(--l-accent, #24499b);
  box-shadow: 0 0 0 2px var(--l-accent, #24499b), 0 6px 22px rgba(20, 15, 25, .18);
}
.lu-float--subscribed .lu-float__btn:hover { filter: none; background: color-mix(in srgb, var(--l-accent, #24499b) 8%, #fff); }
.lu-float .lu-nl__text a { color: var(--l-accent, #24499b); }

/* Obsah <details> nededí box-sizing z Bootstrapu – bez toho by odsadenie pretieklo cez okraj */
.lu-float, .lu-float *, .lu-float *::before, .lu-float *::after { box-sizing: border-box; }
.lu-float__panel {
  position: relative;
  width: min(23rem, calc(100vw - 2.5rem));
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: .8rem;
  background: #fff;
  border-top: 5px solid var(--l-accent, #24499b);
  box-shadow: 0 12px 40px rgba(20, 15, 25, .25);
  color: #2b2330;
}
.lu-float__close {
  position: absolute;
  top: .4rem;
  right: .6rem;
  background: none;
  border: 0;
  font-size: 1.7rem;
  line-height: 1;
  color: #8a7f8e;
  cursor: pointer;
  padding: .2rem .35rem;
}
.lu-float__close:hover { color: #2b2330; }

.lu-nl__title { margin: 0 1.5rem .4rem 0; font-size: 1.3rem; color: #2b2330; }
.lu-nl__text { margin: 0 0 1rem; font-size: 1rem; line-height: 1.5; }
.lu-nl__form { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.lu-nl__form .lu-input { flex: 1 1 12rem; width: auto; font-size: 1rem; }
.lu-nl__form .lu-btn { flex: 0 0 auto; font-size: 1rem; }
.lu-nl__fine { font-size: .82rem; color: #6c757d; line-height: 1.45; margin: .75rem 0 0; }
.lu-nl__fine a { color: inherit; text-decoration: underline; }
.lu-nl__done p { margin: 0; line-height: 1.5; }
.lu-float .lu-error { margin: .75rem 0 0; font-size: .95rem; }

@media (max-width: 575px) {
  .lu-float { right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); }
  .lu-float__btn { padding: .7rem 1.05rem; font-size: 1rem; }
  .lu-float__panel { width: calc(100vw - 2rem); padding: 1.25rem 1.25rem 1rem; }
  .lu-nl__form .lu-btn { flex: 1 1 100%; }
}
@media print { .lu-float { display: none; } }

/* Zámok funkcie (partials/gate.php) */
.lu-gate {
  padding: 1.25rem 1.5rem;
  border-radius: .5rem;
  border: 2px dashed color-mix(in srgb, var(--l-accent, #24499b) 40%, #fff);
  text-align: center;
}
.lu-gate p { margin-bottom: .75rem; }

/* Správa po presmerovaní (partials/flash.php) */
.lu-flash { background: var(--l-accent, #24499b); color: #fff; font-family: 'Qanelas-Soft Semibold', sans-serif; }
.lu-flash .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .8rem; padding-bottom: .8rem; }
.lu-flash__close { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 .25rem; }

/* Účet v hlavičke ako tlačidlo: neprihlásený = plné „Prihlásiť sa“, prihlásený = obrysové „Môj Ľudo“ */
.l-navbar .l-navbar__user a.lu-nav-btn {
  display: inline-block;
  vertical-align: middle;
  margin-left: .9rem;
  padding: .3rem .85rem;
  border: 2px solid var(--l-accent, #24499b);
  border-radius: .35rem;
  background: var(--l-accent, #24499b);
  color: #fff;
  font-size: 1rem;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
}
.l-navbar .l-navbar__user a.lu-nav-btn:hover { filter: brightness(.9); color: #fff; text-decoration: none; }
.l-navbar .l-navbar__user a.lu-nav-btn--account { background: #fff; color: var(--l-accent, #24499b); }
.l-navbar .l-navbar__user a.lu-nav-btn--account:hover {
  filter: none;
  color: var(--l-accent, #24499b);
  background: color-mix(in srgb, var(--l-accent, #24499b) 9%, #fff);
}
@media (max-width: 400px) {
  .l-navbar .l-navbar__user { font-size: 1rem; }
  .l-navbar .l-navbar__user a.lu-nav-btn { margin-left: .5rem; padding: .25rem .6rem; font-size: .95rem; }
}

/* Minimálny layout (stránka z odkazu v maile) */
.lu-minimal { background: #f4f1ec; min-height: 100vh; }
.lu-minimal__header { text-align: center; padding: 1.5rem 0 0; }

/* Ochrana osobných údajov */
.lu-table { width: 100%; border-collapse: collapse; font-size: 1rem; margin-bottom: 1.5rem; }
.lu-table th, .lu-table td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid #eee7e9; }
.lu-table th { font-family: 'Qanelas-Soft Semibold', sans-serif; }
@media (max-width: 767px) {
  .lu-table thead { display: none; }
  .lu-table tr { display: block; padding: .6rem 0; border-bottom: 1px solid #eee7e9; }
  .lu-table td { display: block; border: 0; padding: .15rem 0; }
  .lu-table td:first-child { font-weight: 600; }
}

/* Popup prihlásenia (partials/login-modal.php) */
.lu-modal {
  width: calc(100% - 2rem);
  max-width: 29rem;
  border: 0;
  border-radius: .8rem;
  padding: 2rem 2rem 1.75rem;
  color: #2b2330;
  background: #fff;
  box-shadow: 0 20px 60px rgba(20, 15, 25, .35);
}
.lu-modal::backdrop { background: rgba(20, 15, 25, .55); }
.lu-modal h2 { font-size: 1.7rem; margin: 0 2rem .6rem 0; }
.lu-modal .lu-lead { font-size: 1.05rem; }
.lu-modal__close {
  position: absolute;
  top: .6rem;
  right: .8rem;
  background: none;
  border: 0;
  font-size: 2rem;
  line-height: 1;
  color: #8a7f8e;
  cursor: pointer;
  padding: .2rem .4rem;
}
.lu-modal__close:hover { color: #2b2330; }
@media (max-width: 575px) {
  .lu-modal { padding: 1.5rem 1.25rem 1.25rem; }
  .lu-modal h2 { font-size: 1.45rem; }
}

.lu-linkbtn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--l-accent, #24499b);
  text-decoration: underline;
  cursor: pointer;
}

/* Skryté políčko proti robotom (lu_hp) */
.lu-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Atribút hidden musí vyhrať aj nad display:flex tried vyššie (nespoliehať sa len na Bootstrap) */
.lu-modal [hidden], .lu-float [hidden], .lu-check[hidden], .lu-modal--promo [hidden] { display: none !important; }

.lu-nowrap { white-space: nowrap; }

/* Prečo sa treba prihlásiť (popup otvorený zo zamknutej funkcie) */
.lu-reason {
  margin: 0 0 .9rem;
  padding: .6rem .8rem;
  border-radius: .35rem;
  background: color-mix(in srgb, var(--l-accent, #24499b) 9%, #fff);
  color: #2b2330;
  font-size: .98rem;
  line-height: 1.45;
}
.lu-locked-note { margin-left: .35rem; color: #6c757d; white-space: nowrap; }
.lu-gate p .fa-lock { color: var(--l-accent, #24499b); }

/* Veľké okno s ponukou newslettera (partials/newsletter-promo.php) */
.lu-modal--promo { max-width: 34rem; padding: 2.5rem 2.25rem 1.75rem; text-align: center; }
.lu-modal--promo h2 { margin: 0 0 .7rem; font-size: clamp(1.7rem, 5vw, 2.2rem); line-height: 1.15; }
.lu-modal--promo .lu-lead { font-size: 1.15rem; }
.lu-modal--promo .lu-input--big { font-size: 1.25rem; padding: 1rem 1.1rem; margin-bottom: .75rem; text-align: center; }
.lu-modal--promo .lu-fine { margin-top: 1rem; }
.lu-promo__icon {
  width: 4.5rem; height: 4.5rem; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 2.2rem;
  color: var(--l-accent, #24499b);
  background: color-mix(in srgb, var(--l-accent, #24499b) 12%, #fff);
}
.lu-promo__no { display: inline-block; margin-top: .75rem; font-size: .95rem; color: #6c757d; }
.lu-promo__done { padding: 1rem 0; font-size: 1.2rem; line-height: 1.5; }
.lu-promo__done .lu-promo__icon { color: #1e7a3c; background: #e5f4ea; }
.lu-modal--promo .lu-error { text-align: left; }
@media (max-width: 575px) { .lu-modal--promo { padding: 2rem 1.25rem 1.25rem; } }

/* Môj Ľudo je aktívna „sekcia“ – tlačidlo v hornom paneli je vyplnené ako aktívna záložka sekcie */
.l-navbar .l-navbar__user a.lu-nav-btn--account.active,
.l-navbar .l-navbar__user a.lu-nav-btn--account.active:hover {
  background: var(--l-accent, #24499b);
  color: #fff;
  filter: none;
}

/* Srdiečko Obľúbené (partials/favorite.php) */
.lu-fav {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .9rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--l-accent, #24499b);
  background: #fff;
  border: 2px solid currentColor;
  border-radius: 2rem;
  cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.lu-fav:hover { background: color-mix(in srgb, var(--l-accent, #24499b) 9%, #fff); }
.lu-fav:active { transform: scale(.96); }
.lu-fav.is-on { background: var(--l-accent, #24499b); color: #fff; border-color: var(--l-accent, #24499b); }
.lu-fav.is-on:hover { filter: brightness(.92); background: var(--l-accent, #24499b); }
.lu-fav:disabled { opacity: .7; cursor: wait; }
.lu-fav:focus-visible { outline: 3px solid color-mix(in srgb, var(--l-accent, #24499b) 40%, #fff); outline-offset: 2px; }

/* Záložky v Môj Ľudo */
.lu-tabs { display: flex; gap: .5rem; margin: 0 0 1.5rem; border-bottom: 2px solid #eee7e9; }
.lu-tabs a {
  padding: .6rem 1.1rem;
  margin-bottom: -2px;
  font-family: 'Qanelas-Soft Semibold', sans-serif;
  color: #6c757d;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.lu-tabs a:hover { color: var(--l-accent, #24499b); text-decoration: none; }
.lu-tabs a.active { color: var(--l-accent, #24499b); border-bottom-color: var(--l-accent, #24499b); }

.lu-favsum { display: block; color: inherit; text-decoration: none; }
.lu-favsum:hover { color: inherit; text-decoration: none; box-shadow: 0 4px 18px rgba(0, 0, 0, .1); }
.lu-favsum h2 .fa { color: #d6232e; }
.lu-favsum p { margin: 0 0 .6rem; color: #4a4550; }
.lu-favsum__go { color: var(--l-accent, #24499b); font-family: 'Qanelas-Soft Semibold', sans-serif; }

/* Zoznamy obľúbených */
.lu-favtypes { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.lu-favtype {
  --c: #24499b;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1rem;
  border: 2px solid var(--c);
  border-radius: 2rem;
  color: var(--c);
  background: #fff;
  font-family: 'Qanelas-Soft Semibold', sans-serif;
  text-decoration: none;
}
.lu-favtype:hover { color: var(--c); text-decoration: none; background: color-mix(in srgb, var(--c) 9%, #fff); }
.lu-favtype.active { background: var(--c); color: #fff; }
.lu-favtype--green  { --c: #49a983; }
.lu-favtype--violet { --c: #9C57A2; }
.lu-favtype--red    { --c: #d6232e; }
.lu-favtype--blue   { --c: #24499b; }
.lu-favtype__n {
  min-width: 1.5rem; padding: 0 .4rem; text-align: center; font-size: .9rem; line-height: 1.5rem;
  border-radius: 1rem; background: color-mix(in srgb, currentColor 14%, transparent);
}
.lu-favtype.active .lu-favtype__n { background: rgba(255, 255, 255, .25); }

.lu-favbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .75rem; flex-wrap: wrap; }
.lu-favbar__sort { color: #6c757d; }
.lu-favbar__sort a { color: var(--l-accent, #24499b); }
.lu-favbar__sort a.active { font-family: 'Qanelas-Soft Semibold', sans-serif; text-decoration: none; color: #2b2330; }
.lu-btn--small { font-size: .95rem; padding: .35rem .85rem; }
.lu-favactions {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  padding: .75rem 1rem; margin-bottom: .75rem;
  background: color-mix(in srgb, var(--l-accent, #24499b) 8%, #fff); border-radius: .5rem;
}
.lu-favactions .lu-check { margin: 0 auto 0 0; }
.lu-favactions[hidden], .lu-favbar [hidden], .lu-favitem [hidden] { display: none !important; }

.lu-favlist { list-style: none; margin: 0 0 2rem; padding: 0; background: #fff; border-radius: .6rem; box-shadow: 0 2px 14px rgba(0, 0, 0, .06); }
.lu-favitem { display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem; border-bottom: 1px solid #eee7e9; }
.lu-favitem:last-child { border-bottom: 0; }
.lu-favitem.is-removing { opacity: .4; }
.lu-favitem__pick input { width: 1.3rem; height: 1.3rem; }
.lu-favitem__main { flex: 1; min-width: 0; color: #2b2330; text-decoration: none; }
.lu-favitem__main:hover { text-decoration: none; color: var(--l-accent, #24499b); }
.lu-favitem__title { display: block; font-family: 'Qanelas-Soft Semibold', sans-serif; font-size: 1.1rem; }
.lu-favitem__sub { display: block; margin-top: .15rem; color: #6c757d; font-size: .95rem; }
.lu-favitem__x { background: none; border: 0; padding: .4rem; font-size: 1.3rem; color: #d6232e; cursor: pointer; }
.lu-favitem__x:hover { transform: scale(1.15); }
.lu-is-editing .lu-favitem__x, .is-editing .lu-favitem__x { display: none; }
.lu-favempty { text-align: center; padding: 2.5rem 1.5rem; }
.lu-favempty h2 .fa { color: #d6232e; }
@media print { .lu-fav { display: none !important; } }

/* Srdiečko ako ikona: v nadpise detailu (--icon) a v zoznamoch a kartách (--mini) */
.lu-fav--icon, .lu-fav--mini {
  gap: 0; padding: 0; justify-content: center;
  border-width: 2px; border-radius: 50%;
  vertical-align: middle; font-size: 1rem; line-height: 1; flex: 0 0 auto;
  font-family: inherit; font-weight: normal; text-indent: 0; letter-spacing: 0; text-transform: none;
}
.lu-fav--icon { width: 2.1rem; height: 2.1rem; margin-left: .5rem; position: relative; top: -.1rem; }
.lu-fav--icon .fa { font-size: 1.05rem; }
.lu-fav--mini { width: 1.75rem; height: 1.75rem; border-color: transparent; background: transparent; color: color-mix(in srgb, var(--l-accent, #24499b) 70%, #fff); }
.lu-fav--mini .fa { font-size: .95rem; }
.lu-fav--mini:hover { background: color-mix(in srgb, var(--l-accent, #24499b) 12%, #fff); color: var(--l-accent, #24499b); }
.lu-fav--mini.is-on { background: transparent; color: #d6232e; border-color: transparent; }
.lu-fav--mini.is-on:hover { background: color-mix(in srgb, #d6232e 10%, #fff); filter: none; }
.lu-fav--inline { margin-left: .35rem; }
.lu-fav--corner {
  position: absolute; top: .45rem; right: .45rem; z-index: 2;
  background: rgba(255, 255, 255, .92); border-color: transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.lu-fav--corner.is-on { background: #fff; }
/* Karta so srdiečkom v rohu: nadpis sa mu nesmie podsunúť */
.lu-has-fav > :first-child:not(.lu-fav) { padding-right: 2.1rem; }
.lu-has-fav-text { padding-right: 2.9rem !important; }
/* Srdiečko pri tlačidlách dnešnej položky (na tmavom pozadí) */
.lu-fav--onbtn { margin-left: 0; width: 2.5rem; height: 2.5rem; align-self: center; color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .12); }
.lu-fav--onbtn:hover { background: rgba(255, 255, 255, .25); color: #fff; }
.lu-fav--onbtn.is-on, .lu-fav--onbtn.is-on:hover { background: #fff; color: #d6232e; border-color: #fff; }

/* Hlavička Môj Ľudo: odhlásenie vpravo hore */
.lu-account__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.lu-account__head .lu-lead { margin-bottom: 1rem; }

/* Okamžitá vysvetlivka (title má oneskorenie) */
.lu-fav:not(.lu-fav--corner) { position: relative; }
.lu-has-fav, .lu-has-fav-text { position: relative; }
.lu-fav[data-tip]::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  padding: .3rem .6rem; border-radius: .3rem;
  background: #2b2330; color: #fff;
  font: normal 400 .85rem/1.3 'Qanelas-Soft Semibold', sans-serif; letter-spacing: 0; text-transform: none; text-align: center;
  white-space: nowrap; pointer-events: none;
  opacity: 0; visibility: hidden; z-index: 20;
}
.lu-fav[data-tip]:hover::after, .lu-fav[data-tip]:focus-visible::after { opacity: 1; visibility: visible; }
/* Srdiečko v rohu karty: vysvetlivka pod ním a doľava, aby ju neorezal okraj karty */
.lu-fav--corner[data-tip]::after { bottom: auto; top: calc(100% + 6px); left: auto; right: 0; transform: none; }

/* Slovník nadávok: srdiečko v okne a pri nadávke dňa */
.lu-fav--action { margin: 0 .25rem 0 0; width: 2.6rem; height: 2.6rem; top: 0; align-self: center; }
span.lu-fav { display: inline-flex; }
/* V okne nadávky je srdiečko pri ľavom okraji – vysvetlivka sa zarovná doľava, aby ju okno neorezalo */
.lu-fav--action[data-tip]::after { left: 0; transform: none; }
