@charset "UTF-8";
:root {
  --ground:#EEEBE4;
  --ground-2:#E4E0D7;
  --card:#FFFFFF;
  --ink:#1D2126;
  --ink-soft:#565D66;
  --ink-faint:#949AA1;
  --line:#DED9CF;
  --line-soft:#EAE6DD;
  --glass:rgba(255,255,255,.74);
  --glass-line:rgba(255,255,255,.55);
  --teal:#12706A;
  --teal-deep:#0C524D;
  --teal-wash:#E3EEEC;
  --brass:#A9772F;
  --brass-deep:#8A5F22;
  --brass-wash:#F1E8D7;
  --slate:#5B6B78;
  --slate-deep:#38434C;
  --slate-wash:#E4E8EB;
  --v-pleasing:#2E9E6B;
  --v-acceptable:#6FB2A0;
  --v-displeasing:#CC8A2E;
  --v-unacceptable:#C0463A;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --shadow:0 1px 2px rgba(34,38,43,.05),0 8px 22px rgba(34,38,43,.06);
  --shadow-lg:0 2px 6px rgba(34,38,43,.07),0 22px 46px rgba(34,38,43,.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(120% 55% at 50% -8%, #E7EEEC 0%, rgba(231, 238, 236, 0) 58%), var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 16px 80px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
}

.app {
  width: 100%;
  max-width: 466px;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #FFFFFF 0, #FFFFFF 50vh, var(--glass) 85vh);
  border: 1px solid var(--glass-line);
  border-radius: 1.25rem;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.125rem;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .app {
    background: linear-gradient(180deg, #FFFFFF 0, #FFFFFF 50vh, rgba(255, 255, 255, 0.92) 85vh);
  }
}
@media (max-width: 479px) {
  body {
    padding-left: 0;
    padding-right: 0;
  }
  .app {
    max-width: 100%;
    border: 0;
    border-radius: 0;
  }
}
.panehead {
  display: none;
}

@media (min-width: 1280px) {
  .app {
    max-width: 82.5rem;
    padding: 1.75rem 2rem;
  }
  .app nav {
    display: none;
  }
  .panes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
  }
  .panehead {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0 0 0.125rem;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
  }
  .panehead .n {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink-faint);
    font-variant-numeric: tabular-nums;
  }
}
.statsstrip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.statsstrip[hidden] {
  display: none;
}

.statsstrip .stat {
  position: relative;
  flex: 1 1 auto;
  min-width: 6.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.5rem 0.7rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.stat-i {
  position: absolute;
  top: 0.3rem;
  right: 0.35rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: 0.15s;
}

.stat-i:hover, .stat-i[aria-expanded=true] {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.stat-pop {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.4rem);
  left: 0;
  width: min(18rem, 84vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  box-shadow: var(--shadow);
  padding: 0.7rem 0.8rem;
  text-align: left;
  white-space: normal;
  cursor: auto;
}

.stat-pop[hidden] {
  display: none;
}

.stat-pop > b {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin: 0 0 0.35rem;
}

.stat-pop p {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 0.4rem;
}

.stat-pop p:last-child {
  margin-bottom: 0;
}

.stat-pop ul {
  margin: 0.1rem 0 0.4rem;
  padding-left: 1rem;
}

.stat-pop li {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0 0 0.2rem;
}

.stat-pop b {
  color: var(--ink);
}

.statsstrip .stat b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.statsstrip .stat .lbl {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.statsstrip .stat .hlp {
  font-size: 0.66rem;
  color: var(--ink-faint);
  line-height: 1.25;
}

.statsstrip .stat.eval {
  flex: 2 1 12rem;
}

.statsstrip .stat.eval b {
  font-size: 0.95rem;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--teal-deep);
}

.livenote {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.45;
  background: var(--teal-wash);
  border: 1px solid var(--line-soft);
  border-radius: 0.6rem;
  padding: 0.55rem 0.7rem;
  margin-top: 0.5rem;
}

.livenote[hidden] {
  display: none;
}

.livenote b {
  color: var(--teal-deep);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mark {
  width: auto;
  flex: none;
  display: block;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink);
}

/* obrázkové logo (onaona.sk lockup) — nahrádza inline mark+wordmark; veľkosť per kontext nižšie */
.logoimg {
  height: 2rem;
  width: auto;
  display: block;
  flex: none;
}

.gate .logoimg {
  height: 2.75rem;
}

.w-hero .logoimg {
  height: 2rem;
}

.apphead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.25rem;
}

.headside {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.usermenu {
  position: relative;
}

.user {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  background: 0;
  border: 1px solid transparent;
  border-radius: 99px;
  padding: 0.2rem 0.55rem;
  cursor: pointer;
  transition: 0.14s;
}

.user:hover, .usermenu.open .user {
  border-color: var(--line);
  background: var(--card);
}

.user .uava {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  background: var(--card);
}

.user .uava[hidden] {
  display: none;
}

.user .uava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.user .ucaret {
  font-size: 0.7rem;
  color: var(--ink-faint);
  transition: transform 0.16s;
}

.usermenu.open .user .ucaret {
  transform: rotate(180deg);
}

.user:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.usermenu-pop {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 20;
  min-width: 12rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  padding: 0.3rem;
}

.usermenu-pop[hidden] {
  display: none;
}

.umItem {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 0.82rem;
  color: var(--ink);
  text-decoration: none;
  background: 0;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.55rem 0.6rem;
  cursor: pointer;
  transition: 0.12s;
}

.umItem:hover {
  background: var(--teal-wash);
  color: var(--teal-deep);
}

.umItem .umIco {
  font-size: 0.95rem;
  line-height: 1;
  width: 1.1rem;
  text-align: center;
}

.bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 0;
  background: 0;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--ink-soft);
}

.bell:hover {
  color: var(--teal-deep);
}

.bell .wbadge {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  margin-left: 0;
}

.brand {
  display: flex;
  align-items: center;
  margin: 0;
}

.brand .mark {
  height: 22px;
}

.brand .wordmark {
  font-size: 26px;
  margin: 0;
}

.brand .logoimg {
  height: 1.85rem;
}

nav {
  display: flex;
  gap: 4px;
  background: var(--ground-2);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 13px;
  margin-bottom: 18px;
}

nav button {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 9px 6px;
  border-radius: 9px;
  cursor: pointer;
  transition: 0.18s;
}

nav button .n {
  font-variant-numeric: tabular-nums;
  opacity: 0.55;
  font-weight: 700;
  margin-left: 5px;
  font-size: 12px;
}

nav button[aria-selected=true] {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}

nav button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.card.flush {
  padding: 0;
  overflow: hidden;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Formulár novej otázky: viac vzduchu medzi blokmi (legenda/dôležitosť pôsobili natlačene). */
#ask .card.stack {
  gap: 20px;
}

section[hidden] {
  display: none;
}

.mt10 {
  margin-top: 10px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 6px 0 0;
  text-wrap: balance;
}

.lede {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 8px 0 0;
  max-width: 52ch;
}

label.fld {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}

.fld .sub {
  font-weight: 500;
  color: var(--ink-soft);
}

.hint {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.center {
  text-align: center;
}

.progress {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.track {
  height: 7px;
  border-radius: 99px;
  background: var(--ground-2);
  overflow: hidden;
}

.track > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--teal), #2E9187);
  transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

.ticks b {
  color: var(--ink-soft);
  font-weight: 600;
}

.pnext {
  color: var(--ink-faint);
  text-align: right;
}

/* Zmena hesla — formulár vo wpanel bottom-sheete. */
.pwdform {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pwdinput {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--ground);
  border: 1.5px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.8rem 2.9rem 0.8rem 0.85rem;
  transition: 0.15s;
}

.pwdinput:focus {
  outline: 0;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 0.25rem var(--teal-wash);
}

/* Očko — zobraz/skry heslo (povinné pri každom poli hesla). */
.pwdwrap {
  position: relative;
}

.pwdeye {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: 0;
  padding: 0;
  cursor: pointer;
  color: var(--ink-faint);
}

.pwdeye:hover {
  color: var(--ink-soft);
}

.pwdeye.is-on {
  color: var(--teal);
}

.pwdeye:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 0.4rem;
}

.pwdeye::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  background: currentColor;
  -webkit-mask: var(--eye-ico) center/contain no-repeat;
  mask: var(--eye-ico) center/contain no-repeat;
}

.pwdeye {
  --eye-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.pwdeye.is-on {
  --eye-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
}

.pwderr {
  font-size: 0.8rem;
  color: #B42318;
  background: #FEF3F2;
  border: 1px solid #FECDCA;
  border-radius: 0.6rem;
  padding: 0.5rem 0.65rem;
}

.pwderr[hidden] {
  display: none;
}

/* Štatistiky mojich otázok — agregáty + denný graf (žiadne konkrétne odpovede). */
.stiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.stile {
  background: var(--ground);
  border: 1px solid var(--line-soft);
  border-radius: 0.75rem;
  padding: 0.7rem 0.55rem;
  text-align: center;
}

.snum {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--teal-deep);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stlabel {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.22rem;
  letter-spacing: 0.01em;
}

.ssub {
  font-size: 0.66rem;
  color: var(--ink-faint);
  margin-top: 0.15rem;
  line-height: 1.25;
}

.scard {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 0.85rem;
  padding: 0.85rem 0.85rem 0.5rem;
  margin-bottom: 1rem;
}

.seyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}

.seyebrow-list {
  margin: 0 0 0.55rem;
}

.schart {
  display: block;
  width: 100%;
  height: auto;
}

.schart .sbar {
  fill: var(--teal);
}

.schart .saxis {
  stroke: var(--line);
  stroke-width: 1;
}

.schart .slabel {
  fill: var(--ink-faint);
  font-size: 8px;
  font-family: inherit;
}

.shint {
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink-faint);
}

.slist {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.srow {
  background: var(--ground);
  border: 1px solid var(--line-soft);
  border-radius: 0.6rem;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  transition: 0.12s;
}

.srow:hover {
  border-color: var(--line);
}

.srow.is-open {
  background: var(--card);
  border-color: var(--line);
}

.srow:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.srow-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: space-between;
}

.sq {
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.3;
}

.smeta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.schip {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.srow.is-open .schip {
  background: var(--ground);
}

.scaret {
  color: var(--ink-faint);
  font-size: 0.7rem;
  transition: transform 0.16s;
  margin-left: 0.1rem;
}

.srow.is-open .scaret {
  transform: rotate(180deg);
  color: var(--teal);
}

.sdetail {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line-soft);
}

.sdetail[hidden] {
  display: none;
}

.sdstats {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.sdstat {
  font-size: 0.74rem;
  color: var(--ink-soft);
}

.sdstat b {
  color: var(--teal-deep);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.qbox {
  position: relative;
}

input[type=text], .qinput {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--ground);
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 13px 14px;
  transition: 0.15s;
}

/* Znenie otázky = auto-rozťahovacia textarea: rastie s textom, dlhá otázka ostáva celá viditeľná. */
.qinput {
  display: block;
  resize: none;
  overflow: hidden;
  line-height: 1.4;
}

input[type=text]::placeholder, .qinput::placeholder {
  color: var(--ink-faint);
}

input[type=text]:focus, .qinput:focus {
  outline: 0;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px var(--teal-wash);
}

.suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.suggest button {
  display: flex;
  width: 100%;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 0;
  background: 0;
  font: inherit;
  padding: 11px 13px;
  cursor: pointer;
  border-bottom: 1px solid var(--line-soft);
}

.suggest button:last-child {
  border-bottom: 0;
}

.suggest button:hover {
  background: var(--teal-wash);
}

.suggest .qt {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.suggest .use {
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 1px;
  display: block;
}

.suggest .pill {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-wash);
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.optlist {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 8px 8px 8px 13px;
}

.opt .lab {
  flex: 1;
  min-width: 0;
  border: 0;
  background: 0;
  font: inherit;
  font-size: 15px;
  padding: 5px 0;
  resize: none;
  overflow: hidden;
  line-height: 1.4;
  display: block;
}

.opt .lab:focus {
  outline: 0;
}

.vals {
  display: flex;
  gap: 5px;
  flex: none;
}

.val {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.14s;
  padding: 0;
}

.val i {
  width: 13px;
  height: 13px;
  border-radius: 99px;
  background: var(--vc);
  opacity: 0.32;
  transition: 0.14s;
}

.val[aria-pressed=true] {
  border-color: var(--vc);
  background: color-mix(in srgb, var(--vc) 12%, #fff);
}

.val[aria-pressed=true] i {
  opacity: 1;
  transform: scale(1.08);
}

.val:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.addopt {
  align-self: flex-start;
  border: 1px dashed var(--line);
  background: 0;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 9px;
  cursor: pointer;
}

.addopt:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.delopt {
  flex: none;
  width: 1.625rem;
  height: 1.625rem;
  border: 0;
  background: 0;
  color: var(--ink-faint);
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  padding: 0;
}

.delopt:hover {
  color: #C0463A;
  background: rgba(192, 70, 58, 0.08);
}

.opt-grip {
  flex: none;
  width: 1.375rem;
  height: 1.5rem;
  border: 0;
  background: 0;
  color: var(--ink-faint);
  font-size: 1.05rem;
  line-height: 1;
  cursor: grab;
  touch-action: none;
  display: grid;
  place-items: center;
  padding: 0;
}

.opt-grip:active {
  cursor: grabbing;
  color: var(--ink-soft);
}

.opt.dragging {
  opacity: 0.9;
  box-shadow: 0 0.25rem 0.9rem rgba(0, 0, 0, 0.14);
  position: relative;
  z-index: 3;
}

.edit-banner {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: space-between;
  background: color-mix(in srgb, var(--brass) 12%, #fff);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.edit-banner[hidden] {
  display: none;
}

.edit-banner-x {
  flex: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  border-radius: 0.5rem;
  padding: 0.3rem 0.6rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.edit-banner-x:hover {
  border-color: #C0463A;
  color: #C0463A;
}

.myq-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.myq-edit {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  border-radius: 0.5rem;
  padding: 0.35rem 0.8rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.myq-edit:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.myq-del {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  border-radius: 0.5rem;
  padding: 0.35rem 0.8rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.myq-del:hover {
  border-color: #C0463A;
  color: #C0463A;
}

.myq-del:disabled {
  opacity: 0.55;
  cursor: default;
}

.myq-pending {
  font-size: 0.78rem;
  color: var(--brass);
  font-weight: 600;
  margin-right: auto;
}

.myq.is-pending {
  opacity: 0.72;
}

.vhint {
  display: flex;
  gap: 10px 15px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 2px;
}

.vhint span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vhint b {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  display: inline-block;
}

.vhint b.vp {
  background: var(--v-pleasing);
}

.vhint b.va {
  background: var(--v-acceptable);
}

.vhint b.vd {
  background: var(--v-displeasing);
}

.vhint b.vu {
  background: var(--v-unacceptable);
}

.imp {
  display: flex;
  gap: 8px;
}

.imp button {
  flex: 1;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 11px;
  padding: 11px 8px;
  cursor: pointer;
  font: inherit;
  transition: 0.15s;
  text-align: center;
}

.imp button .t {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.imp button .s {
  display: block;
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 2px;
}

.imp button[aria-pressed=true] {
  border-color: var(--teal);
  background: var(--teal-wash);
}

.imp button[aria-pressed=true] .t {
  color: var(--teal-deep);
}

.imp button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.nudge {
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--brass-wash);
  border-radius: 9px;
  padding: 9px 12px;
}

.nudge b {
  color: var(--brass-deep);
}

/* Moje otázky — prehľad položených otázok + nastavené hodnoty (dôležitosť + valencie možností). */
#myQList {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.myq {
  border: 1px solid var(--line-soft);
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: var(--ground);
}

.myq-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.myq-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.myq-imp {
  flex: none;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 6.25rem;
  white-space: nowrap;
  background: var(--ground-2);
  color: var(--ink-soft);
}

.myq-imp.imp-deal_breaker {
  background: color-mix(in srgb, var(--v-unacceptable) 14%, #fff);
  color: var(--v-unacceptable);
}

.myq-imp.imp-important {
  background: var(--teal-wash);
  color: var(--teal-deep);
}

.myq-imp.imp-curiosity {
  background: var(--brass-wash);
  color: var(--brass-deep);
}

.myq-opts {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.myq-opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.myq-opt b {
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 99px;
  display: inline-block;
}

.myq-opt b.vp {
  background: var(--v-pleasing);
}

.myq-opt b.va {
  background: var(--v-acceptable);
}

.myq-opt b.vd {
  background: var(--v-displeasing);
}

.myq-opt b.vu {
  background: var(--v-unacceptable);
}

.myq-olabel {
  color: var(--ink);
  flex: 1;
  min-width: 0;
}

.myq-vlabel {
  flex: none;
  font-size: 0.72rem;
  color: var(--ink-faint);
}

.btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
  transition: 0.16s;
  display: inline-flex;
  justify-content: center;
  gap: 8px;
}

.btn.primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 16px rgba(18, 112, 106, 0.26);
}

.btn.primary:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
}

.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Loading stav tlačidiel — text skryjeme, v strede točiaci sa spinner.
   .btn.is-loading po .btn:disabled = rovnaká špecificita, prepíše opacity, aby bol spinner plne viditeľný. */
.btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
  opacity: 1;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: onaona-spin 0.6s linear infinite;
}

/* svetlé (line) tlačidlá a gate tlačidlá majú tmavý text na bielom → teal spinner */
.btn.line.is-loading::after, .gate .who button.is-loading::after {
  border-color: var(--teal-wash);
  border-top-color: var(--teal);
}

.gate .who button.is-loading {
  position: relative;
  pointer-events: none;
}

.gate .who button.is-loading > * {
  opacity: 0;
}

.gate .who button.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 2.5px solid var(--teal-wash);
  border-top-color: var(--teal);
  animation: onaona-spin 0.6s linear infinite;
}

/* Navigačné / textové odkazy (odhlásiť, prepnutie login↔register) — malý spinner za textom */
.logout.is-loading, .authlink a.is-loading {
  pointer-events: none;
  opacity: 0.65;
}

.logout.is-loading::after, .authlink a.is-loading::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 6px;
  vertical-align: -1px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  opacity: 0.7;
  animation: onaona-spin 0.6s linear infinite;
}

/* Loading placeholder pri prepnutí záložky (Otázky/Odpovedať/Zhody) na pomalom pripojení */
.pane-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 2.4rem 1rem;
  color: var(--ink-faint);
  font-size: 0.9rem;
  text-align: center;
}

.pane-loading::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid var(--line);
  border-top-color: var(--teal);
  animation: onaona-spin 0.7s linear infinite;
}

.anon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--ground-2);
  padding: 5px 11px;
  border-radius: 99px;
  align-self: flex-start;
}

.anon i {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--teal);
}

.qhead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.qadopt {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: #fff;
  color: var(--teal-deep);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.14s;
}

.qadopt:hover {
  border-color: var(--teal);
  background: var(--teal-wash);
}

.qtext {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  margin: 4px 0 2px;
  text-wrap: balance;
}

.choices {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.choice {
  position: relative;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 15px 44px 15px 16px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: 0.14s;
}

.choice:hover {
  border-color: var(--teal);
  background: var(--teal-wash);
  transform: translateY(-1px);
}

.choice:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.choice.pending {
  border-color: var(--teal);
  background: var(--teal-wash);
  color: var(--teal-deep);
  transform: none;
}

.choice.pending::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  border: 2px solid var(--teal-wash);
  border-top-color: var(--teal);
  animation: onaona-spin 0.6s linear infinite;
}

.choices.busy .choice:not(.pending) {
  opacity: 0.55;
}

.choices.busy {
  pointer-events: none;
}

.subacts button.pending {
  color: var(--teal-deep);
}

.subacts button.pending::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 7px;
  vertical-align: -1px;
  border-radius: 50%;
  border: 2px solid var(--teal-wash);
  border-top-color: var(--teal);
  animation: onaona-spin 0.6s linear infinite;
}

@keyframes onaona-spin {
  to {
    transform: rotate(360deg);
  }
}
.subacts {
  display: flex;
  gap: 9px;
  margin-top: 2px;
}

.subacts button {
  flex: 1;
  border: 0;
  background: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 9px;
  border-radius: 9px;
  cursor: pointer;
}

.subacts button:hover {
  background: var(--ground-2);
  color: var(--ink);
}

.subacts button.refuse:hover {
  color: var(--v-unacceptable);
}

.feedmeta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-faint);
}

/* Filter zhôd podľa zdieľaných widgetov (meno/foto/voices…). Multi-select, OR. */
.mfilter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.6rem;
}

.mfilter-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-right: 0.15rem;
}

.mfilter-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.32rem 0.7rem;
  border-radius: 6.25rem;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  cursor: pointer;
  transition: 0.14s;
}

.mfilter-chip b {
  color: var(--ink-faint);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mfilter-chip:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.mfilter-chip.is-on {
  background: var(--teal-wash);
  border-color: var(--teal);
  color: var(--teal-deep);
}

.mfilter-chip.is-on b {
  color: var(--teal);
}

.mfilter-clear {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.32rem 0.6rem;
  border: 0;
  background: 0;
  color: var(--ink-faint);
  cursor: pointer;
  text-decoration: underline;
}

.mfilter-clear:hover {
  color: var(--v-unacceptable);
}

.match {
  padding: 15px 16px;
}

.match + .match {
  border-top: 1px solid var(--line-soft);
}

.mtop {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ava {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
}

.ava.anon {
  background: var(--ground-2);
  color: var(--ink-faint);
}

.ava.anon svg {
  width: 26px;
  height: 26px;
}

.ava.real {
  background: linear-gradient(150deg, var(--teal), #2A8C84);
}

.ava {
  position: relative;
}

.ava .ava-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mbody {
  flex: 1;
  min-width: 0;
}

.mname {
  font-size: 15.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mname .lock {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-faint);
  background: var(--ground-2);
  padding: 2px 8px;
  border-radius: 99px;
}

.mrelation {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.score {
  text-align: right;
  flex: none;
}

.score .pct {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.score.hi .pct {
  color: var(--teal);
}

.score .qn {
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}

.wicons {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.wicons:empty {
  display: none;
}

.wicon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--ground-2);
  color: var(--ink-faint);
  border: none;
  padding: 0;
  font: inherit;
}

.wicon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.wicon.is-on {
  background: var(--teal-wash);
  color: var(--teal-deep);
}

.wicon.is-ask {
  background: var(--brass-wash);
  color: var(--brass-deep);
}

.wicon.is-done {
  background: var(--slate-wash);
  color: var(--slate-deep);
}

.wicon.is-wait {
  background: var(--ground-2);
  color: var(--brass-deep);
  opacity: 0.7;
}

.wicon.is-off {
  opacity: 0.55;
}

button.wicon {
  cursor: pointer;
  transition: transform 0.1s ease, filter 0.1s ease;
}

button.wicon:hover {
  filter: brightness(0.93);
}

button.wicon:active {
  transform: scale(0.93);
}

button.wicon[disabled] {
  opacity: 0.5;
  cursor: default;
  transform: none;
}

.wicon-badge {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 0.625rem;
  background: var(--teal-deep);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.wicon-cluster {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--brass-wash);
  border-radius: 6.25rem;
  padding: 0.25rem;
  padding-right: 0.4rem;
}

.wicon-cluster .wicon {
  width: 2.25rem;
  height: 2.25rem;
  background: transparent;
  color: var(--brass-deep);
}

.wicon-cluster .wicon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.wicon-mini {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.wicon-mini.yes {
  background: var(--teal);
  color: #fff;
}

.wicon-mini.yes:hover {
  background: var(--teal-deep);
}

.wicon-mini.no {
  background: #fff;
  color: #a23a3a;
  border: 1px solid #e2b8b8;
}

.wicon-mini.no:hover {
  background: #fbeaea;
  border-color: #d99;
}

.wicon-mini[disabled] {
  opacity: 0.5;
  cursor: default;
}

.wbtn {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6.25rem;
  border: 1px solid var(--line-soft);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.wbtn:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: var(--teal-wash);
}

.wbtn.ok {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.wbtn.ok:hover {
  background: var(--teal-deep);
}

.wbtn.no:hover {
  border-color: #d99;
  color: #a23a3a;
  background: #fbeaea;
}

.wbtn[disabled] {
  opacity: 0.5;
  cursor: default;
}

body.wpanel-open {
  overflow: hidden;
}

.wpanel {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(20, 24, 28, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.wpanel[hidden] {
  display: none;
}

.wpanel-box {
  background: var(--card);
  width: 100%;
  max-width: 34rem;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  border-radius: 1.1rem 1.1rem 0 0;
  box-shadow: 0 -0.5rem 2rem rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translateZ(0);
}

.wpanel-box.is-recording-video {
  height: 88vh;
}

.wpanel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
}

.wpanel-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.wpanel-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: var(--ground-2);
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}

.wpanel-close:hover {
  background: var(--line);
  color: var(--ink);
}

.wpanel-box.is-loading .wpanel-head {
  position: relative;
  z-index: 3;
}

.wpanel-box.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card);
  opacity: 0.72;
  z-index: 2;
  border-radius: inherit;
}

.wpanel-box.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2rem;
  margin: -1rem 0 0 -1rem;
  border-radius: 50%;
  border: 0.22rem solid var(--line);
  border-top-color: var(--teal);
  animation: pfspin 0.8s linear infinite;
  z-index: 3;
}

.wpanel-body {
  padding: 1rem 1.1rem calc(1.4rem + env(safe-area-inset-bottom, 0px) + 2.75rem);
  overflow-y: auto;
}

.wp-loading, .wp-empty {
  color: var(--ink-faint);
  font-size: 0.85rem;
  padding: 0.6rem 0;
}

.wp-section {
  margin-bottom: 1.3rem;
}

.wp-section h4 {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.wp-album {
  border: 1px solid var(--line-soft);
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.7rem;
}

.wp-albumhead {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}

.wp-albummeta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-faint);
}

.wp-sharetoggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-left: auto;
  cursor: pointer;
}

.wp-sharetoggle input {
  accent-color: var(--teal);
}

.wp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: 0.4rem;
}

/* Prázdny stav ("Zatiaľ žiadne fotky.") je grid-item — nech zaberie celý riadok, inak sa láme po slove. */
.wp-grid .wp-empty {
  grid-column: 1/-1;
}

.wp-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--ground-2);
}

.wp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* Lightbox — fullscreen prezeranie fotiek z albumu, posun ‹ › (nad wpanel z-index:9000). */
.lb {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(12, 14, 16, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lb[hidden] {
  display: none;
}

.lb-img {
  max-width: 96vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 0.4rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5);
}

.lb-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lb-close:hover, .lb-nav:hover {
  background: rgba(255, 255, 255, 0.26);
}

.lb-prev {
  left: 1rem;
}

.lb-next {
  right: 1rem;
}

.lb-count {
  position: fixed;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

body.lb-open {
  overflow: hidden;
}

.wp-x {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  width: 1.4rem;
  height: 1.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 24, 28, 0.66);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.wp-x:hover {
  background: #a23a3a;
}

.wp-delalbum {
  position: static;
  margin-left: 0.2rem;
  background: var(--ground-2);
  color: var(--ink-soft);
}

.wp-delalbum:hover {
  background: #fbeaea;
  color: #a23a3a;
}

.wp-upload {
  display: inline-block;
  margin-top: 0.6rem;
  cursor: pointer;
}

.wp-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.wp-newalbum {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.wp-newalbum input {
  flex: 1;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font-size: 0.85rem;
}

.wp-newalbum input:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 0.25rem var(--teal-wash);
}

.wp-vmlist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wp-vm {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.3rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.7rem;
  background: var(--ground-2);
}

.wp-vm.mine {
  background: var(--teal-wash);
}

/* Decentný hlavičkový riadok: kto poslal (vľavo) + kedy (vpravo). */
.wp-vmhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  line-height: 1.2;
}

.wp-vmfrom {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.wp-vmwhen {
  font-size: 0.68rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wp-vmrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mazacie × hlasovky patrí do riadku (inak ho .wp-x position:absolute vystrelí do rohu panela). */
.wp-vmrow .wp-x {
  position: static;
  flex: none;
}

.wp-vm audio {
  flex: 1;
  height: 2.2rem;
}

.wp-vmeta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-faint);
}

.wp-recbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.wp-rec {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.wp-rec.is-arming {
  opacity: 0.7;
}

.wp-rec.is-uploading {
  opacity: 0.85;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.wp-spin {
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: wp-spin 0.7s linear infinite;
}

@keyframes wp-spin {
  to {
    transform: rotate(360deg);
  }
}
.wp-rec.is-rec {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}

.wp-rectime {
  font-size: 0.8rem;
  font-weight: 700;
  color: #c0392b;
  font-variant-numeric: tabular-nums;
}

.wp-rectime::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #c0392b;
  vertical-align: baseline;
  animation: wp-pulse 1s ease-in-out infinite;
}

@keyframes wp-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}
@media (max-width: 767px) {
  .wp-recbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin-top: 0.6rem;
  }
  .wp-rec {
    order: 2;
    width: 100%;
    min-height: 3.5rem;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    justify-content: center;
  }
  .wp-rectime {
    order: 1;
    align-self: center;
    font-size: 1.05rem;
    padding: 0.35rem 0.85rem;
    border-radius: 6.25rem;
    background: #fbeaea;
    border: 1px solid #e6b8b3;
  }
  .wp-rectime::before {
    width: 0.7rem;
    height: 0.7rem;
  }
  .wp-rectime[hidden] {
    display: inline-flex;
    visibility: hidden;
  }
}
.wp-vidlist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wp-vid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.3rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.7rem;
  background: var(--ground-2);
}

.wp-vid.mine {
  background: var(--teal-wash);
}

.wp-vidhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  line-height: 1.2;
}

.wp-vidfrom {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.wp-vidwhen {
  font-size: 0.68rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wp-vidrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.wp-vidrow .wp-x {
  position: static;
  flex: none;
}

.wp-vid video {
  flex: 1 1 100%;
  max-width: 100%;
  max-height: 16rem;
  border-radius: 0.5rem;
  display: block;
  background: #000;
}

.wp-vidpreview {
  width: 100%;
  aspect-ratio: 3/4;
  max-height: min(70vh, 34rem);
  border-radius: 0.75rem;
  background: #000;
  object-fit: cover;
  margin-bottom: 0.5rem;
  transform: scaleX(-1);
}

.wp-vidpreview:not([hidden]) {
  position: fixed;
  left: 0;
  right: 0;
  top: 3.5rem;
  bottom: auto;
  width: auto;
  height: auto;
  aspect-ratio: 3/4;
  max-height: none;
  border-radius: 0;
  margin: 0;
  z-index: 2;
}

.wp-vidpreview:not([hidden]) + .wp-vidrecbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  z-index: 3;
  padding: 0.8rem 1.1rem;
  justify-content: center;
  background: var(--card);
  border-top: 1px solid var(--line-soft);
}

.wp-vidrecbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.wp-vidrec {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.wp-vidrec.is-arming {
  opacity: 0.7;
}

.wp-vidrec.is-uploading {
  opacity: 0.85;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.wp-vidrec.is-rec {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}

.wp-vidrectime {
  font-size: 0.8rem;
  font-weight: 700;
  color: #c0392b;
  font-variant-numeric: tabular-nums;
}

.wp-vidrectime::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #c0392b;
  vertical-align: baseline;
  animation: wp-pulse 1s ease-in-out infinite;
}

@media (max-width: 767px) {
  .wp-vidrecbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin-top: 0.6rem;
  }
  .wp-vidrec {
    order: 2;
    width: 100%;
    min-height: 3.5rem;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    justify-content: center;
  }
  .wp-vidrectime {
    order: 1;
    align-self: center;
    font-size: 1.05rem;
    padding: 0.35rem 0.85rem;
    border-radius: 6.25rem;
    background: #fbeaea;
    border: 1px solid #e6b8b3;
  }
  .wp-vidrectime::before {
    width: 0.7rem;
    height: 0.7rem;
  }
  .wp-vidrectime[hidden] {
    display: inline-flex;
    visibility: hidden;
  }
}
.wp-tmlist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wp-tm {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.7rem;
  background: var(--ground-2);
}

.wp-tm.mine {
  background: var(--teal-wash);
}

.wp-tmhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  line-height: 1.2;
}

.wp-tmfrom {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.wp-tmwhen {
  font-size: 0.68rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wp-tmtext {
  font-size: 0.88rem;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}

.wp-tmphoto {
  border-radius: 0.5rem;
  overflow: hidden;
  max-width: 14rem;
}

.wp-tmphoto img {
  width: 100%;
  max-height: 16rem;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.wp-tm .wp-x {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
}

.wp-tmbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.wp-tmattach {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}

.wp-tmattach:hover {
  border-color: var(--teal);
}

.wp-tminput {
  flex: 1;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font: inherit;
}

.wp-tminput:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 0.25rem var(--teal-wash);
}

.wp-tmsend {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
}

.wp-tmsend:disabled {
  opacity: 0.7;
  cursor: default;
}

.wp-tmpreview {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  position: relative;
}

.wp-tmpreview img {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: cover;
  border-radius: 0.4rem;
}

.wp-tmpreview .wp-x {
  position: static;
}

.wbadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.3rem;
  border-radius: 99px;
  background: #c0392b;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  margin-left: 0.2rem;
  font-variant-numeric: tabular-nums;
}

/* display na .wbadge prebíja UA [hidden]{display:none} — bez tohto sa červený kruh ukáže aj pri 0. */
.wbadge[hidden] {
  display: none;
}

.notif-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line-soft);
}

.notif-row:first-child {
  border-top: 0;
}

.notif-row.is-clickable {
  cursor: pointer;
}

.notif-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.notif-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.notif-meta {
  font-size: 0.74rem;
  color: var(--ink-faint);
}

.notif-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.notif-x {
  position: relative;
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: #fff;
  color: var(--ink-faint);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.notif-x:hover {
  border-color: #d99;
  color: #a23a3a;
  background: #fbeaea;
}

.notif-x-ico {
  display: block;
  font-size: 1.05rem;
}

.notif-x .notif-x-spin {
  display: none;
  width: 0.8rem;
  height: 0.8rem;
}

.notif-x.is-busy {
  cursor: default;
  pointer-events: none;
  color: var(--teal-deep);
}

.notif-x.is-busy .notif-x-ico {
  display: none;
}

.notif-x.is-busy .notif-x-spin {
  display: inline-block;
}

.notif-row.is-read .notif-main {
  opacity: 0.5;
}

.notif-done {
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.notif-done.ok {
  color: var(--teal-deep);
}

.notif-done.no {
  color: #a23a3a;
}

.notif-row.is-repeat {
  border-left: 2px solid var(--brass);
  padding-left: 0.5rem;
  margin-left: -0.5rem;
}

.notif-tag {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brass-deep);
  background: var(--brass-wash);
  padding: 0.1rem 0.4rem;
  border-radius: 99px;
}

.mirror h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 3px;
}

.mirror .lede {
  margin-bottom: 12px;
}

.mrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
}

.mrow:first-child {
  border-top: 0;
}

.mrow .qq {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}

.mrow .db {
  font-size: 10px;
  font-weight: 700;
  color: var(--brass-deep);
  background: var(--brass-wash);
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

.mrow .rr {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.mrow .rr s {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-faint);
  text-decoration: none;
}

.empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 26px 10px;
}

.empty .big {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 4px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 11px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 9600;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.gate {
  position: fixed;
  inset: 0;
  background: radial-gradient(130% 60% at 50% -5%, #E6EEEC 0%, rgba(230, 238, 236, 0) 62%), var(--ground);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 20;
  transition: 0.4s;
}

.gate.hide {
  opacity: 0;
  pointer-events: none;
}

.gate .inner {
  max-width: 430px;
  text-align: center;
  width: 100%;
}

.gate .logo {
  justify-content: center;
  margin: 0 0 18px;
}

.gate .mark {
  height: 32px;
}

.gate .wordmark {
  font-size: 36px;
}

.gate .hero {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 10px;
  text-wrap: balance;
}

.gate .hero .em {
  color: var(--teal);
}

.gate p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 0 auto 18px;
  max-width: 33ch;
}

.gate .ask {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 12px;
}

.gate .who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gate .who button {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 24px 12px;
  cursor: pointer;
  font: inherit;
  transition: 0.16s;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.gate .who button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.gate .who .sym {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 700;
}

.gate .who .t {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.gate .who .zena .sym {
  background: var(--brass-wash);
  color: var(--brass-deep);
}

.gate .who .zena:hover {
  border-color: var(--brass);
}

.gate .who .muz .sym {
  background: var(--teal-wash);
  color: var(--teal-deep);
}

.gate .who .muz:hover {
  border-color: var(--teal);
}

.gate small {
  display: block;
  margin-top: 22px;
  color: var(--ink-faint);
  font-size: 12px;
}

/* ---- auth (welcome / registrácia) ---- */
input[type=email], input[type=password], input[type=text].fldinput, input[type=date].fldinput {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--ground);
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 13px 14px;
  transition: 0.15s;
}

/* natívny date input — zrovnaj vzhľad s ostatnými poľami (bez hrubého systémového rámika) */
input[type=date].fldinput {
  -webkit-appearance: none;
  appearance: none;
  min-height: 49px;
}

input[type=date].fldinput::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.55;
}

input[type=email]::placeholder, input[type=password]::placeholder {
  color: var(--ink-faint);
}

input[type=email]:focus, input[type=password]:focus, input[type=date].fldinput:focus {
  outline: 0;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px var(--teal-wash);
}

.authwrap {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  background: radial-gradient(130% 60% at 50% -5%, #E6EEEC 0%, rgba(230, 238, 236, 0) 62%), var(--ground);
}

/* fullscreen obrazovky (welcome/login/registrácia) si padding a centrovanie riešia samy —
   padding body by k ich min-height:100vh pridal výšku a vyrobil zbytočný scrollbar.
   display:block (namiesto zdedeného body flex) — wrapper je tak zaručene plnej šírky
   od prvého vykreslenia; bez toho ho flex-shrink zúžil a obsah „doskočil" pri načítaní.
   Trieda .ona-full je primárna (nezávisí na :has), :has ostáva ako poistka. */
body.ona-full, body:has(> .welcome), body:has(> .authwrap) {
  padding: 0;
  display: block;
}

/* pevná biela karta — tmavé texty čitateľné nad ĽUBOVOĽNÝM brand obrázkom (rovnaký vzhľad ako .w-card) */
.authcard {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 404px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.75rem;
}

/* ---- brandové pozadie (Brand settings v admine) — login/registrácia/welcome/appka ---- */
.ona-brandbg {
  position: fixed;
  inset: 0;
  display: block;
  overflow: hidden;
  z-index: 0;
}

/* slide vrstvy (obrázok alebo klikateľný <a>) uložené na sebe; carousel medzi nimi crossfadeom.
   Pri jednom obrázku má .is-on iba on → statické pozadie. */
.ona-brandbg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.ona-brandbg-slide.is-on {
  opacity: 1;
}

.ona-brandbg-slide:not(.is-on) {
  pointer-events: none;
}

img.ona-brandbg-slide {
  object-fit: cover;
}

.ona-brandbg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ona-brandbg-dim {
  position: absolute;
  inset: 0;
  background: rgba(21, 26, 24, 0.45);
  pointer-events: none;
}

.authcard .logo {
  justify-content: center;
  margin-bottom: 16px;
}

.authcard h1 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  color: var(--ink);
}

.authcard .sub {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 0 auto 22px;
  max-width: 34ch;
}

.authform {
  display: flex;
  flex-direction: column;
  gap: 13px;
  text-align: left;
}

.authform label.lbl {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}

.authform .lblhint {
  font-weight: 500;
  color: var(--ink-soft);
}

.pwfield {
  position: relative;
}

.pwfield input {
  padding-right: 46px;
}

.pwtoggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  background: 0;
  color: var(--ink-faint);
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 8px;
  padding: 0;
}

.pwtoggle:hover {
  color: var(--teal-deep);
  background: var(--ground-2);
}

.pwtoggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.formerr {
  background: #FBEBE8;
  border: 1px solid #F0C7BF;
  color: #9A3324;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 13px;
  margin-bottom: 16px;
  text-align: left;
}

.formok {
  background: var(--teal-wash);
  border: 1px solid #BEDAD6;
  color: var(--teal-deep);
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  text-align: left;
  line-height: 1.45;
}

.genderpick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.genderpick label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 10px;
  cursor: pointer;
  transition: 0.15s;
}

.genderpick label .sym {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  background: var(--ground-2);
  color: var(--ink-soft);
}

.genderpick label .t {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.genderpick input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.genderpick label:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-wash);
}

.genderpick label:has(input:checked) .sym {
  background: var(--teal);
  color: #fff;
}

.genderpick label:focus-within {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.authactions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.btn.line {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn.line:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: var(--teal-wash);
}

.authlink {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 18px;
}

.authlink a {
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration: none;
}

.authlink a:hover {
  text-decoration: underline;
}

/* ---- welcome (neprihlásený) — hero vľavo + karta akcií vpravo (od 1024px, breakpoints.scss: md) ---- */
a.btn {
  text-decoration: none;
}

.welcome {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 1.75rem 1rem;
  background: radial-gradient(130% 60% at 50% -5%, #E6EEEC 0%, rgba(230, 238, 236, 0) 62%), var(--ground);
}

.w-in {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  width: 100%;
  max-width: 25rem;
}

.w-hero {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  padding: 1.75rem 1.5rem;
}

.w-hero .logo {
  justify-content: center;
  margin-bottom: 1.25rem;
}

.w-hero .mark {
  height: 1.75rem;
}

.w-hero .wordmark {
  font-size: 2rem;
}

.w-mark {
  display: none;
}

.w-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  color: var(--ink);
  text-wrap: balance;
}

.w-hero .sub {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 auto;
  max-width: 36ch;
}

.w-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.w-card small {
  color: var(--ink-faint);
  font-size: 0.75rem;
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.w-div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-faint);
  font-size: 0.75rem;
  margin: 0.35rem 0;
}

.w-div::before, .w-div::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.w-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  text-align: center;
}

.w-sub {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
  text-align: center;
}

.w-sub b {
  color: var(--ink);
}

@media (min-width: 1024px) {
  .w-in {
    max-width: 64rem;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: 4.5rem;
  }
  .w-hero {
    text-align: left;
    padding: 2.25rem 2.5rem;
  }
  .w-hero .logo {
    justify-content: flex-start;
    margin-bottom: 2.25rem;
  }
  .w-mark {
    display: block;
    height: 5.5rem;
    width: auto;
    margin: 0 0 1.5rem -0.4rem;
  }
  .w-hero h1 {
    font-size: 3.25rem;
    margin-bottom: 1rem;
  }
  .w-hero .sub {
    margin: 0;
    font-size: 1.05rem;
    max-width: 42ch;
  }
  .w-card {
    padding: 2rem;
    border-radius: 1.15rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
.wpanel-box--wide {
  max-width: 42rem;
}

.pfsec {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line-soft);
}

.pfsec:first-child {
  border-top: 0;
  padding-top: 0.25rem;
}

.pfsec-t {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}

.pfsec-h {
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.pfform {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pfinput {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--ground);
  border: 1.5px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.6rem 0.75rem;
}

.pfinput:focus {
  outline: 0;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 0.25rem var(--teal-wash);
}

.pfinput[type=date] {
  -webkit-appearance: none;
  appearance: none;
}

.pfinput[type=date]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.55;
}

.pf2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.7rem;
}

.pferr {
  font-size: 0.8rem;
  color: #B42318;
  background: #FEF3F2;
  border: 1px solid #FECDCA;
  border-radius: 0.6rem;
  padding: 0.5rem 0.65rem;
}

.pferr[hidden] {
  display: none;
}

.btn.ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1.5px solid var(--line);
}

.btn.ghost:hover {
  color: var(--ink);
  border-color: var(--ink-soft);
}

.pfavatar {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.pfavatar-photo {
  position: relative;
  flex: none;
}

.pfavatar-img {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--ground-2);
  overflow: hidden;
  box-shadow: 0 0 0 4px var(--card), 0 0 0 5px var(--line-soft), 0 6px 16px rgba(34, 38, 43, 0.14);
  background-size: cover;
  background-position: center;
  position: relative;
}

.pfavatar-img::after {
  content: "👤";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  opacity: 0.3;
}

.pfavatar-img.has::after {
  content: none;
}

.pfavatar-badge {
  position: absolute;
  right: -0.1rem;
  bottom: -0.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  border: 2.5px solid var(--card);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: 0.15s;
  padding: 0;
}

.pfavatar-badge:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
}

.pfavatar-badge[aria-expanded=true] {
  background: var(--teal-deep);
}

/* rozbaľovacie menu akcií nad profilovkou (otvorí ceruzka) */
.pfavatar-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  z-index: 5;
  min-width: 12rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 0.85rem;
  box-shadow: var(--shadow-lg);
  transform-origin: top left;
  animation: pfmenuIn 0.12s ease;
}

.pfavatar-menu[hidden] {
  display: none;
}

@keyframes pfmenuIn {
  from {
    opacity: 0;
    transform: translateY(-0.35rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.pfmenu-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: 0.6rem;
  padding: 0.6rem 0.7rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s, color 0.12s;
}

.pfmenu-item svg {
  flex: none;
  color: var(--teal);
}

.pfmenu-item:hover {
  background: var(--teal-wash);
}

.pfmenu-item--del {
  color: var(--v-unacceptable);
  margin-top: 0.1rem;
  border-top: 1px solid var(--line-soft);
  border-radius: 0 0 0.6rem 0.6rem;
  padding-top: 0.65rem;
}

.pfmenu-item--del svg {
  color: currentColor;
}

.pfmenu-item--del:hover {
  background: rgba(147, 54, 44, 0.08);
  color: #93362C;
}

/* prepínač režimu odhalenia fotky */
.pfreveal {
  margin: 1.1rem 0 0;
  padding: 0;
  border: 0;
}

.pfreveal-legend {
  padding: 0;
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pfradio {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.6rem 0.7rem;
  border: 1.5px solid var(--line);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
}

.pfradio + .pfradio {
  margin-top: 0.5rem;
}

.pfradio input {
  margin-top: 0.2rem;
  accent-color: var(--teal);
  flex: none;
}

.pfradio:hover {
  border-color: var(--teal);
}

.pfradio:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-wash);
}

.pfradio-txt {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pfradio-txt b {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.pfradio-txt em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* náhľadový pás úrovní rozostrenia (CSS blur nad vlastnou fotkou — len ilustrácia) */
.pfblur-preview {
  margin-top: 1rem;
}

.pfblur-preview[hidden] {
  display: none;
}

.pfblur-head {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.55rem;
}

.pfblur-strip {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.pfblur-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.pfblur-img {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--ground-2);
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 0.25rem var(--card), 0 0 0 0.31rem var(--line-soft);
}

.pfblur-img.is-b40 {
  filter: blur(0.7rem);
}

.pfblur-img.is-b60 {
  filter: blur(0.46rem);
}

.pfblur-img.is-b70 {
  filter: blur(0.33rem);
}

.pfblur-img.is-b80 {
  filter: blur(0.2rem);
}

.pfblur-img.is-b90 {
  filter: blur(0.08rem);
}

.pfblur-img.is-b95 {
  filter: none;
}

.pfblur-pct {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

/* orez avatara na štvorec (potiahni + priblíž) */
.pfcrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(21, 26, 24, 0.72);
}

.pfcrop[hidden] {
  display: none;
}

.pfcrop-box {
  width: 100%;
  max-width: 22rem;
  background: var(--card);
  border-radius: 1.1rem;
  box-shadow: var(--shadow-lg);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pfcrop-head {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  text-align: center;
}

.pfcrop-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.7rem;
  overflow: hidden;
  background: var(--ground-2);
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.pfcrop-stage:active {
  cursor: grabbing;
}

.pfcrop-img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.pfcrop-hint {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.pfcrop-zoom {
  width: 100%;
  accent-color: var(--teal);
}

.pfcrop-acts {
  display: flex;
  gap: 0.6rem;
}

.pfcrop-acts .btn {
  flex: 1;
  justify-content: center;
}

.pfcrop-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pfcrop-loader[hidden] {
  display: none;
}

.pfspin {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 0.28rem solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: pfspin 0.8s linear infinite;
}

@keyframes pfspin {
  to {
    transform: rotate(360deg);
  }
}
.pfalbumnew {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.pfalbumnew .pfinput {
  flex: 1;
}

.pfalbumnew .btn {
  width: auto;
  padding: 0.5rem 0.9rem;
  white-space: nowrap;
}

.pfalbums {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pfempty {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.pfalbum {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.75rem;
}

.pfalbum-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.pfalbum-t {
  font-weight: 600;
  color: var(--ink);
}

.pfalbum-acts {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pfalbum-up {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  cursor: pointer;
  padding: 0.3rem 0.55rem;
  border: 1.5px solid var(--teal-wash);
  border-radius: 0.55rem;
}

.pfalbum-up:hover {
  background: var(--teal-wash);
}

.pfalbum-del {
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: none;
  border: 0;
  cursor: pointer;
}

.pfalbum-del:hover {
  color: #B42318;
}

.pfphotos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: 0.5rem;
}

.pfph {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.55rem;
  overflow: hidden;
  background: var(--ground-2);
}

.pfph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pfph-x {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  width: 1.4rem;
  height: 1.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 24, 28, 0.6);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.pfph-x:hover {
  background: rgba(180, 35, 24, 0.85);
}
