/* ===================== AstroWink — doplnky k design2 =====================
   Štýly pre stránky, ktoré predloha design2 neobsahuje:
   hlavička podstránok, obsah článku, A–Z index, stránkovanie, alerty.
======================================================================== */

/* ---------- hlavička podstránky ---------- */
.pagehead {
  background: radial-gradient(120% 70% at 50% 0%, var(--blue-tint) 0%, var(--bg) 60%);
  border-bottom: 1px solid var(--border);
}
.pagehead__inner { padding-block: clamp(36px, 5vw, 60px); text-align: center; }
.pagehead h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; }
.pagehead p { margin: 14px auto 0; max-width: 620px; font-size: 17px; line-height: 1.6; color: var(--sub); }

/* ---------- drobčeková navigácia ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; font-weight: 600; }
.crumbs a { color: var(--blue); }
.crumbs span { color: var(--sub); }
.crumbs .sep { color: #B4BECD; }

/* ---------- obsah článku ---------- */
.article { background: #fff; border: 1px solid var(--border); border-radius: 22px;
  padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow-sm); }
.article__thumb { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin-bottom: 26px; }
.article__lead { font-size: 18px; line-height: 1.65; color: var(--ink); font-weight: 500;
  padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.article__body { font-size: 16px; line-height: 1.7; color: var(--ink); }
.article__body p { margin: 0 0 1.1em; }
.article__body h2 { font-size: 26px; font-weight: 700; margin: 1.6em 0 .6em; }
.article__body h3 { font-size: 21px; font-weight: 700; margin: 1.4em 0 .5em; }
.article__body ul, .article__body ol { margin: 0 0 1.1em; padding-left: 1.6em; }
.article__body li { margin-bottom: .4em; }
.article__body li::marker { color: var(--orange); }
.article__body a { font-weight: 600; }
.article__body img { border-radius: 12px; margin: 1.2em 0; }
.article__body blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--orange);
  background: var(--orange-tint); border-radius: 0 12px 12px 0; font-style: italic; }
.article__body table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.article__body th, .article__body td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.article__body th { background: var(--blue-tint); font-weight: 700; }
.article__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-top: 28px; }
.article__gallery img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- rozloženie s bočným panelom ---------- */
.with-side { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 940px) {
  .with-side { grid-template-columns: 1fr 300px; }
  .with-side__aside { position: sticky; top: 88px; }
}
.side-box { background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 20px; box-shadow: var(--shadow-sm); }
.side-box + .side-box { margin-top: 20px; }
.side-box h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.side-list { display: flex; flex-direction: column; gap: 2px; }
.side-list a { display: block; padding: 9px 12px; border-radius: 10px; font-weight: 600;
  font-size: 14px; color: var(--ink); }
.side-list a:hover { background: var(--blue-tint); }
.side-list a.active { background: var(--blue); color: #fff; }

/* ---------- A–Z index ---------- */
.azbar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.azbar a { display: flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
  padding: 0 10px; border-radius: 12px; background: #fff; border: 1.5px solid var(--border);
  font-weight: 700; font-size: 15px; color: var(--ink); transition: all .15s; }
.azbar a:hover { border-color: var(--blue); background: var(--blue-tint); color: var(--blue); }
.azbar a.active { border-color: var(--blue); background: var(--blue); color: #fff;
  box-shadow: 0 8px 18px rgba(44,94,232,.28); }
.azbar--compact { justify-content: flex-start; margin-bottom: 0; }
.azbar--compact a { min-width: 36px; height: 36px; font-size: 14px; border-radius: 10px; }

/* ---------- vyhľadávanie s našepkávačom ---------- */
.searchbox { position: relative; max-width: 560px; margin: 0 auto 30px; }
.searchbox__field { display: flex; gap: 10px; }
.searchbox__field .input { flex: 1; padding: 15px 18px; font-size: 16px; }
.suggest { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-md); overflow: hidden; max-height: 320px; overflow-y: auto; }
.suggest a { display: block; padding: 12px 16px; font-size: 15px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--border); }
.suggest a:last-child { border-bottom: none; }
.suggest a:hover, .suggest a.active { background: var(--blue-tint); color: var(--blue); }

/* ---------- zoznam hesiel (lexikón / snár) ---------- */
.entry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,260px), 1fr)); gap: 16px; }
.entry-card { display: block; padding: 20px; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.entry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.entry-card__name { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-weight: 700;
  font-size: 17px; color: var(--ink); line-height: 1.25; }
.entry-card__desc { margin-top: 7px; font-size: 14px; line-height: 1.5; color: var(--sub); }

/* ---------- stránkovanie ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 46px; }
.pager a, .pager span { display: flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px;
  background: #fff; border: 1.5px solid var(--border); font-weight: 700; font-size: 15px; color: var(--ink); }
.pager a:hover { border-color: var(--blue); background: var(--blue-tint); color: var(--blue); }
.pager .current { border-color: var(--blue); background: var(--blue); color: #fff;
  box-shadow: 0 8px 18px rgba(44,94,232,.28); }
.pager .gap { border: none; background: none; color: var(--sub); min-width: 24px; }

/* ---------- navigácia predchádzajúci/ďalší ---------- */
.prevnext { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border); }
.prevnext a { display: flex; align-items: center; gap: 8px; max-width: 48%;
  font-weight: 700; font-size: 14px; color: var(--blue); }
.prevnext a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- oznamy ---------- */
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 15px 18px;
  border-radius: 14px; font-size: 15px; font-weight: 600; margin-bottom: 22px; }
.notice--success { background: #E4F7EC; color: #177A46; }
.notice--danger  { background: #FDECEC; color: #B22E2E; }
.notice--info    { background: var(--blue-tint); color: var(--blue-dark); }
.notice--warning { background: var(--orange-tint); color: var(--orange-dark); }
.notice__close { margin-left: auto; border: none; background: none; cursor: pointer;
  font-size: 18px; line-height: 1; color: inherit; opacity: .6; padding: 0 2px; }
.notice__close:hover { opacity: 1; }

/* ---------- prázdny stav ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--sub); }
.empty__ic { font-size: 42px; margin-bottom: 14px; opacity: .5; }

/* ---------- výber jazyka (dropdown) ---------- */
.lang-drop { position: relative; }
.lang-drop__menu { display: none; position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 190px; background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 8px; box-shadow: var(--shadow-md); z-index: 60; }
.lang-drop.open .lang-drop__menu { display: block; }
.lang-drop__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink); }
.lang-drop__menu a:hover { background: var(--blue-tint); }
.lang-drop__menu a.active { background: var(--blue-tint); color: var(--blue); }
.lang-pill { background: #fff; }

/* ---------- prihlásenie — užší formulár ---------- */
.auth__wrap--narrow { max-width: 480px; }
.auth-links { margin-top: 20px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 14px; font-weight: 600; }

/* ---------- modály ---------- */
.modal { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(15,27,61,.55);
  backdrop-filter: blur(3px); padding: 20px; overflow-y: auto; }
.modal.open { display: flex; align-items: flex-start; justify-content: center; }
.modal__box { background: #fff; border-radius: 22px; max-width: 720px; width: 100%;
  margin: auto; box-shadow: var(--shadow-lg); overflow: hidden; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 26px; border-bottom: 1px solid var(--border); }
.modal__head h3 { font-size: 20px; font-weight: 700; color: var(--ink); }
.modal__close { border: none; background: none; font-size: 28px; line-height: 1; cursor: pointer;
  color: var(--sub); padding: 0 4px; }
.modal__close:hover { color: var(--ink); }
.modal__body { padding: 26px; max-height: 65vh; overflow-y: auto; }

/* ---------- Môj účet: náhľad údajov (datalist) ---------- */
.datalist { display: flex; flex-direction: column; gap: 2px; }
.datalist__row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 560px) { .datalist__row { grid-template-columns: 220px 1fr; gap: 16px; align-items: baseline; } }
.datalist__row:last-child { border-bottom: none; }
.datalist dt { font-size: 14px; font-weight: 700; color: var(--sub); margin: 0; }
.datalist dd { font-size: 15px; color: var(--ink); margin: 0; line-height: 1.5; }
.datalist__empty { color: #B4BECD; }

/* ---------- Autocomplete (mestá, vyhľadávanie používateľov) ---------- */
/* Kontajner musí byť position:relative, aby sa našepkávač (.suggest,
   position:absolute) umiestnil pod vstup a nie na spodok stránky. */
.autocomplete-wrap { position: relative; }

/* ---------- Môj účet: nová konverzácia ---------- */
.msg-newbar { margin-bottom: 16px; }
.msg-newbar .autocomplete-wrap { max-width: 420px; }
.msg-newbar .suggest a { display: flex; align-items: center; }

/* thread avatar so obrázkom */
.msg-item__av img { border-radius: 50%; }
.msg-thread__empty { flex: 1; display: flex; align-items: center; justify-content: center; }

/* profilová fotka – kruhový avatar s obrázkom */
.pcard__avatar img { border-radius: 50%; }

/* btn-sm blokové tlačidlo v karte člena */
.member-card .btn-sm.btn-block { padding: 10px; font-size: 14px; }

/* cropper – obmedz výšku v modáli */
#cropperModal .modal__box { max-width: 520px; }
#cropperImage { max-width: 100%; }

/* ---------- body používateľa v profile ---------- */
.pcard__points { margin-top: 12px; text-align: center; }
.pcard__points span { display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--orange-tint); color: var(--orange-dark); font-weight: 700; font-size: 13px; }

/* ---------- horoskop – formulár ---------- */
.horo-date { display: flex; gap: 10px; }
.horo-date .input { text-align: center; }
.horo-date--time { max-width: 220px; }

/* ---------- horoskop – výsledok ---------- */
.horo-result .panel + .panel { margin-top: 20px; }
.horo-head h2 { font-size: clamp(24px,3.5vw,32px); font-weight: 800; }
.horo-head__meta { margin-top: 8px; color: var(--sub); font-weight: 600; }
.horo-table { width: 100%; border-collapse: collapse; }
.horo-table th, .horo-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; }
.horo-table th { font-size: 13px; font-weight: 700; color: var(--sub); text-transform: uppercase; letter-spacing: .04em; }
.horo-table tr.horo-axis td { background: var(--blue-tint); }
.horo-retro { color: var(--orange-dark); font-weight: 700; }
.horo-block { padding: 18px 0; border-bottom: 1px solid var(--border); }
.horo-block:last-child { border-bottom: none; }
.horo-block__title { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.horo-block__sub { display: block; font-size: 13px; font-weight: 600; color: var(--sub); margin-top: 3px; }
.horo-house-title { font-style: italic; color: var(--sub); }
.horo-asp { font-family: 'Bricolage Grotesque', sans-serif; }
.horo-asp--conj { color: var(--ink); }
.horo-asp--pos  { color: #1E9E5A; }
.horo-asp--neg  { color: #C23A3A; }
.horo-exact { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px;
  background: var(--orange-tint); color: var(--orange-dark); font-size: 11px; font-weight: 700; }

/* intro – rozbaľovanie popisu sekcie */
.horo-intro__toggle { margin-top: 12px; }

/* denný horoskop – kľúčové slová */
.horo-keywords { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px;
  background: var(--blue-tint); color: var(--blue-dark); font-size: 13px; font-weight: 700; }

/* partnerský horoskop */
.partner-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
@media (min-width: 780px) { .partner-grid { grid-template-columns: 1fr 1fr; } }
.partner-total { margin-top: 12px; font-size: 16px; color: var(--sub); font-weight: 600; }
.partner-total b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; margin-left: 6px; }
.partner-total.is-pos b { color: #1E9E5A; }
.partner-total.is-neg b { color: #C23A3A; }
.partner-badge { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 50%; font-weight: 800; font-size: 15px; margin-right: 8px; vertical-align: middle; }
.partner-badge--p  { background: #E4F7EC; color: #1E9E5A; }
.partner-badge--m  { background: #FDECEC; color: #C23A3A; }
.partner-badge--pm { background: var(--blue-tint); color: var(--blue-dark); }

/* per-planéta bloky */
.horo-planet .panel__head p { color: var(--sub); font-weight: 600; margin-top: 4px; }
.horo-aspgroup { margin-bottom: 16px; }
.horo-aspgroup:last-child { margin-bottom: 0; }
.horo-aspgroup__title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 5px 12px; border-radius: 999px; display: inline-block; margin-bottom: 10px; }
.horo-aspgroup--pos  .horo-aspgroup__title { background: #E4F7EC; color: #177A46; }
.horo-aspgroup--neg  .horo-aspgroup__title { background: #FDECEC; color: #B22E2E; }
.horo-aspgroup--conj .horo-aspgroup__title { background: var(--blue-tint); color: var(--blue-dark); }
.horo-asp-item { padding: 12px 0; border-bottom: 1px dashed var(--border); }
.horo-asp-item:last-child { border-bottom: none; }
.horo-asp-item--exact { background: #FBFCFE; border-left: 3px solid var(--orange); padding-left: 14px; border-radius: 0 8px 8px 0; }
.horo-asp-item__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.horo-asp-item__head strong { font-size: 15px; color: var(--ink); }
.horo-asp-item__meta { font-size: 12px; color: var(--sub); font-weight: 600; }

/* ---------- filter členov ---------- */
.filterbar { background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 18px 20px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.filterbar__grid { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: end; }
@media (min-width: 720px) { .filterbar__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .filterbar__grid { grid-template-columns: 1fr 1.2fr 1.1fr 1.4fr 1fr auto; }
}
.filterbar__field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.filterbar__field .input { padding: 11px 13px; }
.filterbar__age { display: flex; align-items: center; gap: 8px; }
.filterbar__age .input { text-align: center; }
.filterbar__age span { color: var(--sub); font-weight: 700; }
.filterbar__actions { display: flex; flex-direction: column; gap: 6px; }
.filterbar__actions .btn { white-space: nowrap; }
.filterbar__reset { text-align: center; font-size: 12px; font-weight: 600; color: var(--sub); }
.filterbar__reset:hover { color: var(--orange-dark); }
.filterbar .autocomplete-wrap { position: relative; }

/* vzdialenosť na karte člena */
.member-card__dist { position: absolute; top: 12px; right: 12px; padding: 4px 10px;
  border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(15,27,61,.72);
  color: #fff; backdrop-filter: blur(4px); }

/* ---------- indikátor nových správ (obálka) ---------- */
.msg-bell { position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border);
  background: #fff; color: var(--ink); font-size: 19px; text-decoration: none; flex: none; }
.msg-bell:hover { background: var(--blue-tint); color: var(--blue); }
.msg-bell__icon { line-height: 1; }
.msg-bell__badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px;
  padding: 0 5px; border-radius: 999px; background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(236,106,21,.4); }
.msg-bell.has-unread { border-color: var(--orange); color: var(--orange-dark);
  animation: bell-blink 1.4s ease-in-out infinite; }
@keyframes bell-blink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,132,43,.45); }
  50% { box-shadow: 0 0 0 6px rgba(245,132,43,0); }
}
@media (prefers-reduced-motion: reduce) {
  .msg-bell.has-unread { animation: none; }
}

/* ---------- mobilné menu – nadpis sekcie ---------- */
.drawer__label { font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--orange); padding: 12px 12px 4px; }

/* ---------- Fórum ---------- */
.forum-list { display: flex; flex-direction: column; gap: 12px; }
.forum-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  transition: transform .15s, box-shadow .15s, border-color .15s; }
.forum-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.forum-row__av { flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  background: var(--blue-tint); color: var(--blue); display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-family: 'Bricolage Grotesque', sans-serif; }
.forum-row__av img { width: 100%; height: 100%; object-fit: cover; }
.forum-row__main { flex: 1; min-width: 0; }
.forum-row__title { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700;
  font-size: 17px; color: var(--ink); line-height: 1.3; }
.forum-row__meta { display: block; margin-top: 3px; font-size: 13px; color: var(--sub); font-weight: 600; }
.forum-row__stats { flex: none; display: flex; gap: 20px; text-align: center; }
.forum-row__stats span { font-size: 12px; color: var(--sub); font-weight: 600; }
.forum-row__stats b { display: block; font-size: 18px; color: var(--ink);
  font-family: 'Bricolage Grotesque', sans-serif; }
@media (max-width: 620px) { .forum-row__stats { display: none; } }

.forum-thread { display: flex; flex-direction: column; gap: 16px; }
.forum-post { display: grid; grid-template-columns: 1fr; gap: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
@media (min-width: 640px) { .forum-post { grid-template-columns: 180px 1fr; } }
.forum-post__author { padding: 20px; background: var(--blue-tint); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px; }
.forum-post__av { width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 24px; font-family: 'Bricolage Grotesque', sans-serif; }
.forum-post__av img { width: 100%; height: 100%; object-fit: cover; }
.forum-post__name { font-weight: 700; color: var(--ink); font-size: 15px; }
.forum-post__sign { font-size: 13px; color: var(--blue); font-weight: 700; }
.forum-post__points { font-size: 12px; color: var(--sub); font-weight: 600;
  background: #fff; padding: 3px 10px; border-radius: 999px; }
.forum-post__body { padding: 20px; }
.forum-post__date { font-size: 12px; color: var(--sub); font-weight: 600; margin-bottom: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.forum-post__edited { color: var(--orange-dark); font-style: italic; }

/* citovaný príspevok */
.forum-quote { display: block; margin: 0 0 12px; padding: 10px 14px;
  background: var(--blue-tint); border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; }
.forum-quote__author { display: block; font-size: 12px; font-weight: 700; color: var(--blue); }
.forum-quote__text { display: block; font-size: 13px; color: var(--sub); margin-top: 2px; }

/* akcie príspevku */
.forum-post__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--border); }
.forum-act { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px;
  border: 1px solid var(--border); background: #fff; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--sub); transition: all .15s; }
.forum-act:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-tint); }
.forum-act--danger:hover { border-color: #C23A3A; color: #C23A3A; background: #FDECEC; }

.forum-editform { margin-top: 12px; }

/* indikátor odpovede v reply formulári */
.forum-reply-indicator { display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  padding: 8px 14px; background: var(--blue-tint); border-radius: 10px;
  font-size: 14px; color: var(--blue-dark); }
.forum-reply-indicator button { margin-left: auto; border: none; background: none; cursor: pointer;
  font-size: 18px; line-height: 1; color: var(--sub); }
.forum-reply-indicator button:hover { color: var(--ink); }

/* ---------- doplnkové ---------- */
.znamenie-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.znamenie-hero__ic { flex: none; width: 74px; height: 74px; border-radius: 20px;
  background: var(--blue-tint); color: var(--blue); display: flex; align-items: center;
  justify-content: center; font-size: 40px; }
.znamenie-hero__dates { font-size: 14px; font-weight: 600; color: var(--sub); margin-top: 4px; }
.horo-placeholder { text-align: center; padding: 44px 24px; border: 2px dashed var(--border);
  border-radius: 18px; color: var(--sub); }
.horo-placeholder__ic { font-size: 38px; margin-bottom: 12px; color: var(--orange); }

/* ---------- lunárny kalendár ---------- */
.lunar-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.lunar-nav__date { font-size: 16px; text-align: center; flex: 1; }
.lunar-nav__btn { flex: none; white-space: nowrap; }
.lunar-hero { display: flex; align-items: center; gap: 22px; }
.lunar-hero__ic { flex: none; width: 84px; height: 84px; border-radius: 24px;
  background: var(--blue-tint); display: flex; align-items: center; justify-content: center;
  font-size: 48px; line-height: 1; }
.lunar-hero__body { flex: 1; }
.lunar-hero__phase { font-size: 22px; font-weight: 700; color: var(--ink); }
.lunar-hero__time { font-size: 14px; font-weight: 600; color: var(--orange); margin-left: 8px; }
.lunar-hero__sign { font-size: 15px; color: var(--sub); margin-top: 4px; }
.lunar-hero__sign strong { color: var(--ink); }
.lunar-hero__change { color: var(--blue); font-weight: 600; }
.lunar-hero__meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: 14px;
  color: var(--sub); }
.lunar-hero__meta b { color: var(--ink); }
.lunar-sec { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.lunar-sec__title { font-size: 18px; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.lunar-pick label { display: block; font-size: 13px; font-weight: 600; color: var(--sub); margin-bottom: 6px; }

/* mesačná tabuľka */
.lunar-month__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.lunar-month__head h2 { margin: 0; font-size: 20px; flex: 1; text-align: center; }
.lunar-table-wrap { overflow-x: auto; }
.lunar-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lunar-table th { text-align: left; padding: 9px 10px; background: var(--blue-tint); color: var(--blue-dark);
  font-weight: 700; white-space: nowrap; position: sticky; top: 0; }
.lunar-table td { padding: 8px 10px; border-top: 1px solid var(--border); vertical-align: top; }
.lunar-table tr.is-weekend td { background: rgba(0,0,0,.02); }
.lunar-table tr.is-current td { background: var(--blue-tint); box-shadow: inset 3px 0 0 var(--blue); }
.lunar-table tr:hover td { background: rgba(0,0,0,.03); }
.lc-date a { display: flex; align-items: baseline; gap: 6px; font-weight: 600; color: var(--ink); }
.lc-date a:hover { color: var(--blue); }
.lc-wday { font-size: 11px; color: var(--sub); text-transform: uppercase; }
.lc-phase { white-space: nowrap; }
.lc-ic { margin-right: 4px; }
.lc-ptext { color: var(--sub); }
.lc-ptext.lc-event { color: var(--orange); font-weight: 700; }
.lc-sign strong { display: inline; }
.lc-from { display: block; font-size: 11.5px; color: var(--blue); }
.lc-medical { text-align: center; font-weight: 600; white-space: nowrap; }
.lc-medical.lc-yes { color: #1a9d5a; }
.lc-medical.lc-no { color: #dc3545; }
.lc-organs, .lc-garden { color: var(--sub); min-width: 160px; }

@media (max-width: 560px) {
  .lunar-hero { flex-direction: column; text-align: center; }
  .lunar-hero__meta { justify-content: center; }
  .lunar-nav { flex-direction: column; }
}

/* ---------- push notifikácie (opt-in) ---------- */
.push-banner { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 1200; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 14px 40px rgba(23,33,59,.18); max-width: min(560px, calc(100vw - 24px)); }
.push-banner__txt { font-size: 14px; color: var(--ink); }
.push-banner__actions { display: flex; gap: 8px; }
.push-toast { position: fixed; right: 18px; bottom: 18px; z-index: 1300;
  background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 12px 30px rgba(23,33,59,.3); max-width: 320px; font-size: 14px;
  opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; }
.push-toast.is-show { opacity: 1; transform: translateY(0); }
.push-toast strong { display: block; margin-bottom: 2px; }
.push-toast div { color: rgba(255,255,255,.85); font-size: 13px; }
@media (max-width: 480px) { .push-banner { flex-direction: column; } }

/* ---------- účet: prepínače upozornení ---------- */
.push-prefs { display: flex; flex-direction: column; gap: 8px; }
.aw-switch { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border);
  border-radius: 14px; cursor: pointer; }
.aw-switch:hover { border-color: var(--blue); }
.aw-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.aw-switch__slider { flex: none; width: 46px; height: 26px; border-radius: 999px; background: #cbd3e1;
  position: relative; transition: background .18s; }
.aw-switch__slider::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; transition: transform .18s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.aw-switch input:checked + .aw-switch__slider { background: var(--blue); }
.aw-switch input:checked + .aw-switch__slider::after { transform: translateX(20px); }
.aw-switch input:focus-visible + .aw-switch__slider { outline: 2px solid var(--blue); outline-offset: 2px; }
.aw-switch__label { display: flex; flex-direction: column; }
.aw-switch__label strong { font-size: 15px; color: var(--ink); }
.aw-switch__label small { font-size: 13px; color: var(--sub); }
.push-prefs__status { font-size: 13px; color: #1a9d5a; font-weight: 600; min-height: 18px; padding-left: 4px; }
.push-device { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between;
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.push-device__text { font-size: 14px; color: var(--sub); }
.push-banner__txt small { display: block; margin-top: 3px; font-size: 12px; color: var(--sub); }

/* ---------- oprava: zabránenie horizontálnemu pretečeniu stránky ---------- */
.with-side > * { min-width: 0; }

/* ---------- horná lišta: tlačidlo Profil + ikonky draweru ---------- */
.btn-profile { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; font-size: 14px; line-height: 1.1; }
.btn-profile__ic { font-size: 15px; line-height: 1; }
.drawer__list a .ic { display: inline-block; width: 22px; text-align: center; margin-right: 8px; }
@media (max-width: 640px) {
  .btn-profile { padding: 7px 10px; }
  .btn-profile__txt { display: none; }   /* na mobile len ikona – šetrí miesto/výšku */
}

/* ---------- ročný horoskop: aktívne obdobie konštelácie ---------- */
.horo-annual-active { font-size: 13.5px; color: var(--sub); margin: 2px 0 10px; }
.horo-annual-active strong { color: var(--blue-dark); }

/* ---------- zvýraznenie chybného poľa vo formulári ---------- */
.input--error { border-color: #dc3545 !important; box-shadow: 0 0 0 3px rgba(220,53,69,.14) !important; }

/* ---------- partnerský horoskop: skóre jednotlivej konštelácie ---------- */
.horo-block__title--score { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.partner-score { margin-left: auto; flex: none; min-width: 40px; text-align: center; padding: 3px 11px;
  border-radius: 999px; font-weight: 800; font-size: 14px; font-family: 'Bricolage Grotesque', sans-serif; }
.partner-score--pos { background: #E4F7EC; color: #177A46; }
.partner-score--neg { background: #FDECEC; color: #B22E2E; }
.partner-score--neu { background: var(--blue-tint); color: var(--blue-dark); }

/* oprava: v partnerskom gride nesmie druhý panel dostať margin-top (od .panel + .panel) */
.partner-grid > .panel + .panel { margin-top: 0; }

/* ===================== ZOZNAMKA ===================== */
/* ---------- spodná lišta ---------- */
.bottombar { position: fixed; z-index: 900; left: 0; right: 0; bottom: 0; display: flex;
  background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(23,33,59,.06);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.bottombar__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 2px; color: var(--sub); font-size: 11px; font-weight: 600; border-radius: 12px; text-align: center; }
.bottombar__ic { font-size: 20px; line-height: 1; }
.bottombar__item.is-active { color: var(--blue); background: var(--blue-tint); }
.has-bottombar { padding-bottom: 66px; }
@media (min-width: 941px) {
  .bottombar { left: 50%; right: auto; transform: translateX(-50%); bottom: 18px; width: auto;
    border: 1px solid var(--border); border-radius: 999px; padding: 6px 8px; gap: 4px;
    box-shadow: 0 10px 30px rgba(23,33,59,.14); }
  .bottombar__item { flex: none; min-width: 76px; }
  .has-bottombar { padding-bottom: 92px; }
}

/* ---------- swipe návrhy ---------- */
.swipe-wrap { max-width: 420px; margin: 0 auto; }
.swipe-deck { position: relative; height: min(560px, 68vh); margin-bottom: 20px; }
.swipe-card { position: absolute; inset: 0; background: #fff; border: 1px solid var(--border);
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); cursor: grab;
  transition: transform .3s ease, opacity .3s ease; touch-action: pan-y; user-select: none; }
.swipe-card__photo { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--blue-tint); }
.swipe-card__photo--ph { display: flex; align-items: center; justify-content: center; }
.swipe-card__photo--ph span { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 90px; color: var(--blue); }
.swipe-card__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 20px 22px; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.35) 55%, transparent); }
.swipe-card__name { font-size: 24px; font-weight: 800; }
.swipe-card__meta { font-size: 14px; opacity: .92; margin-top: 2px; }
.swipe-card__about { font-size: 13.5px; opacity: .9; margin-top: 8px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.swipe-card__view { display: inline-block; margin-top: 10px; color: #fff; font-weight: 700; font-size: 13px; }
.swipe-card__stamp { position: absolute; top: 26px; padding: 5px 14px; border: 3px solid; border-radius: 10px;
  font-weight: 800; font-size: 22px; letter-spacing: 1px; opacity: 0; transition: opacity .12s; }
.swipe-card__stamp--like { left: 20px; color: #1E9E5A; border-color: #1E9E5A; transform: rotate(-14deg); }
.swipe-card__stamp--nope { right: 20px; color: #E0463E; border-color: #E0463E; transform: rotate(14deg); }
.swipe-card.show-like .swipe-card__stamp--like { opacity: 1; }
.swipe-card.show-nope .swipe-card__stamp--nope { opacity: 1; }
.swipe-actions { display: flex; justify-content: center; gap: 30px; }
.swipe-btn { width: 64px; height: 64px; border-radius: 50%; border: none; cursor: pointer; font-size: 26px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; transition: transform .12s; }
.swipe-btn:active { transform: scale(.92); }
.swipe-btn--pass { background: #fff; color: #E0463E; border: 1px solid var(--border); }
.swipe-btn--like { background: var(--orange); color: #fff; }
.swipe-empty { text-align: center; padding: 40px 20px; color: var(--sub); }
.swipe-empty__ic { font-size: 44px; color: var(--orange); margin-bottom: 10px; }

/* ---------- match overlay ---------- */
.match-overlay { position: fixed; inset: 0; z-index: 1400; background: rgba(23,33,59,.62);
  display: none; align-items: center; justify-content: center; padding: 24px; }
.match-overlay.is-open { display: flex; }
.match-box { background: #fff; border-radius: 22px; padding: 32px 28px; text-align: center; max-width: 360px; width: 100%; }
.match-box__ic { font-size: 56px; }
.match-box h2 { font-size: 26px; margin: 8px 0; }
.match-box p { color: var(--sub); margin-bottom: 20px; }
.match-box__actions { display: flex; flex-direction: column; gap: 10px; }

/* ---------- odznaky na karte člena (zhoda / horoskop) ---------- */
.member-card__badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--orange); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.member-card__badge--horo { background: var(--blue); }

/* ---------- porovnanie horoskopov (kompatibilita) ---------- */
.compare-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.compare-head__people { display: flex; align-items: center; gap: 14px; }
.compare-head__me { font-weight: 700; font-size: 17px; }
.compare-head__heart { color: var(--orange); font-size: 22px; }
.compare-head__them { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.compare-head__ph { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-tint); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; overflow: hidden; flex: none; }
.compare-head__them strong { display: block; }
.compare-head__them small { color: var(--sub); font-size: 13px; }
.compare-head__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.compare-note { font-size: 13px; color: var(--sub); margin-top: 14px; text-align: center; }

/* ---------- odznaky spodnej lišty ---------- */
.bottombar__ic { position: relative; }
.bottombar__badge { position: absolute; top: -6px; left: 11px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--orange); color: #fff; font-size: 10px; font-weight: 800;
  line-height: 16px; text-align: center; box-shadow: 0 0 0 2px #fff; }

/* ---------- filtre na swipe návrhoch ---------- */
.swipe-filters { max-width: 420px; margin: 0 auto 16px; }
.swipe-filters > summary { cursor: pointer; font-weight: 700; color: var(--blue); list-style: none; padding: 8px 4px; }
.swipe-filters > summary::-webkit-details-marker { display: none; }
.swipe-filters__form { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; background: #fff;
  border: 1px solid var(--border); border-radius: 14px; margin-top: 4px; }
.swipe-filters__form .input { flex: 1 1 110px; min-width: 0; }
.swipe-filters__form .btn { flex: none; }

/* ---------- oprava: mobilné menu vs. spodná lišta ---------- */
body.nav-open .bottombar { display: none; }            /* pri otvorenom menu skry spodnú lištu */
.drawer.open { max-height: calc(100dvh - 56px); overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* ---------- aktuálne postavenie planét + kolo horoskopu ---------- */
.wheel-wrap { max-width: 480px; margin: 0 auto; }
.chartwheel { display: block; width: 100%; height: auto; }
.pos-glyph { color: var(--blue); font-size: 15px; }
.pos-note { font-size: 13px; color: var(--sub); margin-top: 12px; }
.horo-wheel-toggle { margin-bottom: 16px; }
.wheel-panel { text-align: center; }
.wheel-panel .btn-block { font-weight: 600; }
.horo-section-head { margin: 26px 4px 10px; }
.horo-section-head h2 { margin: 0 0 2px; font-size: 20px; }
.horo-section-head p { margin: 0; color: var(--sub); font-size: 14px; }
.value-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.value-chip { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600;
    background: var(--blue-tint); color: var(--ink); border: 1px solid var(--border); }
.horo-wheel--zoomable { cursor: zoom-in; }
.wheel-zoom-ov { position: fixed; inset: 0; z-index: 3000; background: rgba(15,20,35,.72);
    display: flex; align-items: center; justify-content: center; padding: 16px; }
.wheel-zoom-card { position: relative; background: #fff; border-radius: 16px; padding: 20px;
    width: min(92vmin, 640px); max-height: 94vh; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.wheel-zoom-holder { width: 100%; }
.wheel-zoom-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 999px;
    border: 1px solid var(--border); background: #fff; color: var(--ink); font-size: 16px; cursor: pointer; line-height: 1; }
.wheel-zoom-close:hover { background: var(--blue-tint); }
.vip-teaser { display: flex; gap: 16px; align-items: flex-start;
    background: linear-gradient(135deg, var(--blue-tint), #fff); border: 1px dashed var(--blue); }
.vip-teaser__lock { font-size: 30px; line-height: 1; flex: 0 0 auto; }
.vip-teaser__body h2 { margin: 0 0 6px; font-size: 19px; }
.vip-teaser__body p { margin: 0 0 12px; color: var(--sub); }
.vip-badge { display: inline-block; vertical-align: middle; padding: 2px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 800; letter-spacing: .5px; background: var(--orange); color: #fff; }
.pos-table-wrap { overflow-x: auto; margin: 4px 0 14px; }
.pos-table { width: 100%; border-collapse: collapse; }
.pos-table th, .pos-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.pos-table th { color: var(--sub); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.pos-table tbody tr:last-child td { border-bottom: 0; }
/* Rozšírené vyhľadávanie (Premium) */
.adv-search { margin-top: 12px; }
.adv-search__toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0;
    color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; padding: 6px 0; font-family: inherit; }
.adv-search__body { margin-top: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--blue-tint); }
.adv-search__lock { text-align: center; }
.adv-search__lock p { color: var(--sub); margin: 0 0 12px; }
.adv-search__hint { color: var(--sub); margin: 0 0 14px; font-size: 14px; }
.adv-group { border-bottom: 1px solid var(--border); }
.adv-group__head { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0;
    padding: 11px 0; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; font-family: inherit; text-align: left; }
.adv-group__chev { transition: transform .15s; color: var(--sub); }
.adv-group.is-open .adv-group__chev { transform: rotate(90deg); }
.adv-group__count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
    background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.adv-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 14px; }
.adv-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
    background: #fff; border: 1px solid var(--border); font-size: 13px; cursor: pointer; }
.adv-tag input { margin: 0; }
.adv-tag:has(input:checked) { background: var(--blue); color: #fff; border-color: var(--blue); }
.adv-search__sort { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; font-size: 14px; cursor: pointer; }
.member-card__kompat { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.kompat-bar { flex: 1; height: 7px; border-radius: 999px; background: var(--border); overflow: hidden; }
.kompat-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--blue)); }
.kompat-val { font-size: 12px; font-weight: 800; color: var(--orange-dark); white-space: nowrap; }
/* Členský panel v profile */
.mem-card { margin-top: 16px; padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: #fff; }
.mem-card--lvl1 { background: linear-gradient(135deg, #fff, var(--blue-tint)); border-color: var(--blue); }
.mem-card--lvl2 { background: linear-gradient(135deg, #fff, #fff3e0); border-color: var(--orange); }
.mem-card__head { display: flex; gap: 12px; align-items: center; }
.mem-card__ic { font-size: 26px; }
.mem-card__label { font-weight: 800; font-size: 16px; }
.mem-card__sub { font-size: 13px; color: var(--sub); }
.mem-req { list-style: none; margin: 14px 0 10px; padding: 0; }
.mem-req li { font-size: 14px; padding: 5px 0; color: var(--sub); }
.mem-req li.ok { color: var(--ink); font-weight: 600; }
.mem-req li small { color: var(--sub); font-weight: 400; }
.mem-card__note { font-size: 13px; color: var(--sub); margin: 6px 0 0; }
/* Rod v partnerskom horoskope */
.person-gender { font-size: .7em; font-weight: 700; color: var(--sub); vertical-align: middle; }
.pg-male { color: #2C5EE8; font-weight: 700; }
.pg-female { color: #D6336C; font-weight: 700; }
