/* =====================================================================================================================================
   v171 FIÓKOM A FEJLÉCBEN + A BELÉPŐ ABLAK ÚJ ÁLLAPOTAI (minden lapon). Belépve: monogram és „Fiókom”; rámutatásra lenyíló; telefonon a fiók oldalára visz.
   ===================================================================================================================================== */
.me-w { position: relative; display: none; }
body.logged .me-w { display: inline-flex; }
html .hdr .me { position: relative; gap: 10px; height: 42px; margin: 0; padding: 0 10px 0 4px; border: 0; border-radius: 999px; color: inherit; text-decoration: none; }
html .hdr .me .av { width: 34px; height: 34px; background: var(--metal); color: #000000; font-weight: 600; font-size: var(--fs-cimke); letter-spacing: .02em; transition: filter .6s cubic-bezier(.37, 0, .63, 1), box-shadow .6s cubic-bezier(.37, 0, .63, 1); }
.me-pont { position: absolute; left: 30px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #000000; box-shadow: 0 0 0 2px #fff; }
.me-w.uj .me-pont { display: none; }
/* v172 A LENYÍLÓ (Richárd, 2026-11-05: „a legördülő ablaka szebb legyen és legyenek ikonok a menüpontokhoz”): a fejléc többi lenyílójának nyelve (fehér lap, bronz ikon, lágy árnyék); fent a név a monogrammal, a kilépés külön alul */
.me-dd { position: absolute; z-index: 60; right: 0; top: 100%; width: 300px; padding: 10px; background: #fff; color: var(--text); border-radius: 18px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 24px 60px rgba(30,24,16,.2); opacity: 0; visibility: hidden; transform: translateY(2px); transition: opacity .5s cubic-bezier(.37, 0, .63, 1) .12s, transform .6s cubic-bezier(.22, 1, .36, 1) .12s, visibility 0s linear .62s; }
.me-dd::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.me-fej { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; padding: 12px; border-radius: 12px; background: #f7f4ee; }
.me-fej .av { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--metal); color: #000000; font: 600 var(--fs-apro) var(--font-display); letter-spacing: .02em; box-shadow: inset 0 1px 0 rgba(255,255,255,.55); }
.me-ki { display: grid; gap: 2px; min-width: 0; margin: 0; }
.me-ki b { font: 500 var(--fs-kis)/1.25 var(--font-display); }
.me-ki small { font-size: var(--fs-apro); color: #4a4a4a; overflow-wrap: anywhere; }
.me-l { display: grid; }
.me-w.uj .me-csak { display: none; }
html .me-dd a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 10px 6px 6px; border-radius: 12px; font: 500 var(--fs-kis)/1.3 var(--font-display); color: var(--text); text-decoration: none; text-shadow: none; transition: background .6s cubic-bezier(.37, 0, .63, 1); }
.me-i { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; isolation: isolate; color: #006EC7; background: #f7f4ee; transition: color .6s cubic-bezier(.37, 0, .63, 1); }
.me-i::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--metal); opacity: 0; transition: opacity .6s cubic-bezier(.37, 0, .63, 1); }
.me-i .ico { width: 18px; height: 18px; }
.me-j { width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: #000000; }
.me-w.uj .me-j { display: none; }
html .me-dd a.me-ki-gomb { position: relative; margin-top: 8px; color: #4a4a4a; }
.me-ki-gomb::before { content: ''; position: absolute; left: 6px; right: 6px; top: -4px; height: 1px; background: rgba(0,0,0,.09); }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .me-w:hover .me-dd, .me-w:focus-within .me-dd { opacity: 1; visibility: visible; transform: translateY(8px); transition: opacity .5s cubic-bezier(.37, 0, .63, 1), transform .6s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
  html .hdr .me:hover .av { filter: brightness(1.08) saturate(1.08); box-shadow: 0 2px 10px rgba(60,44,26,.28); }
  html .me-dd a:hover { background: #f7f4ee; }
  html .me-dd a:hover .me-i { color: #000000; }
  html .me-dd a:hover .me-i::before { opacity: 1; }
  html .me-dd a.me-ki-gomb:hover { color: var(--text); }
}
html .me-dd a:focus-visible { outline: 2px solid #006EC7; outline-offset: -2px; }
@media (max-width: 860px) { .me-dd { display: none; } }
@media (max-width: 760px) { html .hdr .me { height: 40px; padding: 0 3px; } html .hdr .me .me-c { display: none; } html .hdr .me .av { width: 32px; height: 32px; } .me-pont { left: 27px; top: 3px; } }

/* a belépő ablak: a levél nézeteinél a kép átúszik a pecsétes borítékra */
.lg-kep2 { opacity: 0; transition: opacity 1.2s cubic-bezier(.37, 0, .63, 1); }
.login-card.level .lg-kep2 { opacity: 1; }
.lg-hiba { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fbf1ed; color: #7a2d1a; font-size: var(--fs-apro); line-height: 1.45; text-align: left; }
.lg-hiba[hidden] { display: none; }
.lg-hiba .lg-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.lg-er { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: -4px; }
.lg-er i { height: 4px; border-radius: 2px; background: rgba(0,0,0,.1); transition: background .6s cubic-bezier(.37, 0, .63, 1); }
.lg-er[data-e="1"] i:nth-child(-n+1) { background: #b5563f; }
.lg-er[data-e="2"] i:nth-child(-n+2) { background: #c49a68; }
.lg-er[data-e="3"] i:nth-child(-n+3) { background: #006EC7; }
.lg-er[data-e="4"] i { background: #000000; }
.lg-tipp { margin: 12px 0 0; font-size: var(--fs-apro); line-height: 1.5; color: #4a4a4a; }
.lg-minta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: 999px; background: #f3f0ea; font-size: var(--fs-apro); color: #333333; text-decoration: none; }
.lg-minta .ico { width: 16px; height: 16px; color: #006EC7; }
.lg-badge-ok { background: #000000; color: #fff; box-shadow: 0 0 0 8px #eef0f3; }
.lg-fut { width: 180px; height: 3px; margin: 22px auto 0; overflow: hidden; border-radius: 2px; background: rgba(0,0,0,.1); }
.lg-fut i { display: block; width: 100%; height: 100%; background: #000000; transform: translateX(-100%); animation: lg-fut 1.4s cubic-bezier(.37, 0, .63, 1) .1s both; }
@keyframes lg-fut { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .me-dd, html .me-dd a, .me-i, .me-i::before, .lg-kep2, .lg-er i { transition: none; } .lg-fut i { animation-duration: .2s; } }
/* v172z ÜDVÖZÖLJÜK (Richárd 2026-11-05: „el van csúszva ez az üdvözöljük rész is”): gépen a jelvény, a cím, a sor és a sáv egy tengelyen, középen; a telefonos iOS-lap balra zárt, ott a sáv is balra */
@media (min-width: 561px) { .lg-body[data-view="kesz"] { text-align: center; } [data-view="kesz"] .lg-badge { margin-left: auto; margin-right: auto; } [data-view="kesz"] .lg-title, [data-view="kesz"] .lg-sub { text-align: center; } }
@media (max-width: 560px) { [data-view="kesz"] .lg-fut { margin-left: 0; } }
/* v172z FIÓKOM A MENÜPANELEN (Richárd 2026-11-05: „a legördülő menüt szebben kell megtervezni és ikonok is legyenek az almenüknél. gépen és mobilon is”): belépve a Fiókom gomb helyett a fiók sora, saját lappal, a fejléc lenyílójának ikonjaival */
.mm-fiok { display: none; }
body.logged .mm-acc { display: none; }
body.logged .mm-fiok { display: flex; align-items: center; gap: 14px; width: min(560px, 100%); margin-top: 26px; padding: 12px 14px; border: 1px solid var(--mm-line); border-radius: 18px; background: #fff; color: var(--mm-fg); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mm-fiok:active { opacity: .7; }
.mm-fiok .av { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--metal); color: #000000; font: 600 var(--fs-apro) var(--font-display); letter-spacing: .04em; }
.mm-fiok-t { display: grid; gap: 2px; min-width: 0; }
.mm-fiok-t b { font: 500 var(--fs-kis)/1.25 var(--font-display); }
.mm-fiok-t small { font-size: var(--fs-apro); color: var(--mm-dim); overflow-wrap: anywhere; }
.mm-fiok > .ico { flex: none; margin-left: auto; width: 18px; height: 18px; color: var(--mm-dim); }
.mm.on .mm-pane.on > .mm-fiok { animation: mmIn .75s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--mm-base, .3s) + 9.5 * 55ms); }
.mm-fiok-p .mm-fl > a { gap: 14px; min-height: 60px; font: 400 var(--fs-torzs) var(--font-body); letter-spacing: 0; }
.mm-fiok-p .mm-fl > a:first-child { font-weight: 400; }
.mm-fiok-p .mm-fl .me-i { width: 36px; height: 36px; background: #fff; border: 1px solid var(--mm-line); color: #006EC7; }
.mm-fiok-p .mm-fl .me-i .ico { margin-left: 0; width: 18px; height: 18px; color: inherit; }
.mm-fiok-p .mm-fl .me-j { margin-left: auto; }
.mm-fiok-p .mm-fl > a.mm-ki { margin-top: 10px; border-top: 1px solid var(--mm-line); color: var(--mm-dim); }
.mm-fiok-p .mm-fl > a.mm-ki .me-i { color: var(--mm-dim); }
.mm-fiok-p.uj .me-csak { display: none; }
.mm-fl > :nth-child(7) { --d: 7; } .mm-fl > :nth-child(8) { --d: 8; }
@media (prefers-reduced-motion: reduce) { .mm.on .mm-pane.on > .mm-fiok { animation: none; } }
