/* ==========================================================================
   CasaRadar „Új design" — FELFEDEZŐ (/uj/felfedezo, rejtett aloldal)
   Teljes képernyős 3D-s térkép üveghatású (glassmorphism) vezérlőkkel,
   oldalpanel / alsó lap, „Ingatlan-randi” kártyapakli és tetszik-lista.
   A színek / térközök az assets/uj/base.css tokenjeit használják.
   ========================================================================== */

.mhx-body { overflow: hidden; overscroll-behavior: none; background: #dff3f5; }
.mhx {
  --glass-bg: rgb(255 255 255 / .74);
  --glass-brd: rgb(255 255 255 / .7);
  --glass-sh: 0 10px 30px -10px rgb(3 44 40 / .28), 0 2px 6px -2px rgb(3 44 40 / .12);
  --pad: 16px;
  --panel-w: 408px;
  --ink: var(--brand-950);
  /* árdomborzat-színskála: hűvös türkiz → homok → meleg meggy */
  --heat: linear-gradient(90deg, #0b6f7c 0%, #0e9f8e 25%, #f3e6c0 50%, #ff7a4d 75%, #c4401a 100%);
  position: fixed; inset: 0; overflow: hidden; overflow: clip; color: var(--c-text);
  font-size: var(--fs-sm);
}
.mhx .ic { width: 1.15em; height: 1.15em; }

.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--glass-brd); box-shadow: var(--glass-sh);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mhx { --glass-bg: rgb(255 255 255 / .94); }
}

/* Térkép ------------------------------------------------------------------ */
.mhx-map { position: absolute; inset: 0; z-index: 0; isolation: isolate; background: radial-gradient(120% 90% at 50% 0%, #bfeaf0 0%, #e9f7f8 55%, #f7fbfb 100%); }
.mhx-map:focus-visible { outline: 3px solid var(--brand-500); outline-offset: -3px; }
.mhx-vignette { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgb(3 44 40 / .18) 0%, transparent 18%, transparent 78%, rgb(3 44 40 / .16) 100%); }
.mhx .maplibregl-ctrl-attrib { font-size: 10px; background: rgb(255 255 255 / .7); border-radius: 8px 0 0 0; }
.mhx .maplibregl-ctrl-bottom-right { z-index: 1; }
.mhx .leaflet-container { font-family: var(--font); background: #e9f2f3; }
.mhx-is-2d .mhx-ctrl [data-ctrl="pitch"], .mhx-is-2d .mhx-ctrl [data-ctrl="north"], .mhx-is-2d .mhx-ctrl [data-ctrl="orbit"] { display: none; }

/* Betöltés ------------------------------------------------------------------ */
.mhx-loader {
  position: absolute; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(90% 70% at 50% 30%, #0a6f63 0%, #0a4a54 55%, #062a31 100%); color: #fff;
  transition: opacity .9s var(--ease), visibility 0s .9s;
}
.mhx-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.mhx-loader__inner { width: min(440px, 100%); text-align: center; }
.mhx-loader__eyebrow { font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--brand-200); font-weight: 600; }
.mhx-loader__title { margin: 8px 0 26px; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.25rem); font-weight: 700; color: #fff; }
.mhx-loader__title span { background: linear-gradient(90deg, #63d2c0, #ffa57d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mhx-loader__hex { position: relative; width: 112px; height: 104px; margin: 0 auto 22px; }
.mhx-loader__hex span {
  position: absolute; width: 34px; height: 38px; left: 39px; top: 33px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(180deg, #63d2c0, #0e9f8e); opacity: .25; animation: mhx-hex 1.6s var(--ease) infinite;
}
.mhx-loader__hex span:nth-child(2) { transform: translate(36px, 0); animation-delay: .1s; background: linear-gradient(180deg, #ffa57d, #c4401a); }
.mhx-loader__hex span:nth-child(3) { transform: translate(-36px, 0); animation-delay: .2s; }
.mhx-loader__hex span:nth-child(4) { transform: translate(18px, -31px); animation-delay: .3s; }
.mhx-loader__hex span:nth-child(5) { transform: translate(-18px, -31px); animation-delay: .4s; background: linear-gradient(180deg, #f3e6c0, #ff7a4d); }
.mhx-loader__hex span:nth-child(6) { transform: translate(18px, 31px); animation-delay: .5s; }
.mhx-loader__hex span:nth-child(7) { transform: translate(-18px, 31px); animation-delay: .6s; background: linear-gradient(180deg, #ffa57d, #c4401a); }
@keyframes mhx-hex { 0%, 100% { opacity: .22; scale: .86; } 45% { opacity: 1; scale: 1; } }
.mhx-loader__bar { height: 6px; border-radius: 99px; background: rgb(255 255 255 / .14); overflow: hidden; }
.mhx-loader__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #0e9f8e, #63d2c0 60%, #ffa57d); transition: width .35s var(--ease); }
.mhx-loader__step { margin-top: 12px; min-height: 1.6em; color: var(--brand-100); font-size: var(--fs-sm); }
.mhx-loader__steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: var(--fs-xs); color: rgb(255 255 255 / .55); }
.mhx-loader__steps li { display: flex; align-items: center; gap: 6px; }
.mhx-loader__steps li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.mhx-loader__steps li.is-active { color: #fff; }
.mhx-loader__steps li.is-active::before { border-color: var(--brand-300); animation: mhx-pulse 1s infinite; }
.mhx-loader__steps li.is-done { color: var(--brand-200); }
.mhx-loader__steps li.is-done::before { background: var(--brand-400); border-color: var(--brand-400); }
@keyframes mhx-pulse { 50% { box-shadow: 0 0 0 5px rgb(99 210 192 / .25); } }

/* Felső sáv ------------------------------------------------------------------ */
.mhx-top {
  position: absolute; z-index: 30; top: calc(var(--pad) + env(safe-area-inset-top)); left: var(--pad); right: var(--pad);
  display: flex; align-items: center; gap: 12px; pointer-events: none;
}
.mhx-top > * { pointer-events: auto; }
.mhx-top__brand { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 6px; border-radius: var(--r-full); }
.mhx-back { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px 0 8px; border-radius: var(--r-full); color: var(--brand-800); font-weight: 600; white-space: nowrap; }
.mhx-back:hover { background: var(--brand-50); text-decoration: none; }
.mhx-top__sep { width: 1px; height: 22px; background: var(--gray-300); }
.mhx-top__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: var(--fs-base); }
.mhx-top__title .ic { color: var(--brand-600); width: 22px; height: 22px; }
.mhx-top__title small { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #fff; background: var(--accent-600); border-radius: 6px; padding: 1px 6px; }

.mhx-search { position: relative; min-width: 0; flex: 0 1 400px; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: var(--r-full); margin-left: auto; margin-right: auto; }
.mhx-search > .ic { color: var(--brand-700); }
.mhx-search input { flex: 1; min-width: 0; width: 100%; height: 100%; border: 0; background: none; outline: none; font-size: var(--fs-sm); color: var(--ink); }
.mhx-search input::placeholder { color: var(--gray-500); }
.mhx-search input::-webkit-search-cancel-button { cursor: pointer; }
.mhx-search:focus-within { box-shadow: 0 0 0 3px rgb(14 159 142 / .45), var(--glass-sh); }
.mhx-search__list {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 5; max-height: 320px; overflow: auto; padding: 6px;
  background: rgb(255 255 255 / .97); border-radius: var(--r-lg); box-shadow: var(--sh-xl); border: 1px solid var(--c-border);
}
.mhx-search__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: var(--r-sm); cursor: pointer; }
.mhx-search__opt b { font-weight: 600; color: var(--brand-800); }
.mhx-search__opt small { color: var(--c-text-subtle); white-space: nowrap; font-size: var(--fs-xs); }
.mhx-search__opt[aria-selected="true"], .mhx-search__opt:hover { background: var(--brand-50); }
.mhx-search__empty { padding: 10px 12px; color: var(--c-text-muted); }

.mhx-top__actions { display: flex; align-items: center; gap: 10px; }
/* Nyelvváltó (HU | DE) a saját fejlécben */
.mhx-top .mhx-lang { display: flex; align-items: center; gap: 2px; height: 48px; padding: 0 6px; border-radius: var(--r-full); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.mhx-lang .lang-switch__a { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: var(--r-full); color: var(--gray-700); text-decoration: none; transition: background var(--t), color var(--t); }
.mhx-lang .lang-switch__a:hover { background: var(--brand-50); color: var(--brand-800); text-decoration: none; }
.mhx-lang .lang-switch__a.is-active { background: var(--brand-700); color: #fff; }
.mhx-lang .lang-switch__sep { display: none; }
.mhx-li__price .mhx-eur, .mhx-card__price .mhx-eur { display: block; margin-left: 0; }
.mhx-panel__tools .mhx-btn { white-space: nowrap; flex: none; }
.mhx-seg { display: flex; padding: 4px; border-radius: var(--r-full); height: 48px; }
.mhx-seg__btn { display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; border-radius: var(--r-full); font-weight: 600; color: var(--gray-700); transition: background var(--t), color var(--t); white-space: nowrap; }
.mhx-seg__btn:hover { color: var(--brand-800); }
.mhx-seg__btn.is-on { background: var(--brand-700); color: #fff; box-shadow: var(--sh-brand); }
.mhx-seg__btn[data-mode="randi"].is-on { background: var(--accent-600); box-shadow: var(--sh-accent); }
.mhx-likes-btn { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--accent-600); }
.mhx-likes-btn .ic { width: 22px; height: 22px; }
.mhx-likes-btn__n, .mhx-act__n {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--accent-600); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px #fff;
}
.mhx-likes-btn__n:empty, [data-likes-count="0"].mhx-likes-btn__n { display: none; }
.mhx-likes-btn.bump { animation: mhx-bump .5s var(--ease); }
@keyframes mhx-bump { 30% { transform: scale(1.22); } }

/* Szűrők ------------------------------------------------------------------ */
.mhx-filters {
  position: absolute; z-index: 20; top: calc(var(--pad) + 64px + env(safe-area-inset-top)); left: var(--pad); width: 340px;
  padding: 16px; border-radius: var(--r-xl); display: grid; gap: 14px;
  transition: transform .45s var(--ease), opacity .3s;
}
.mhx-filters__head { display: flex; align-items: center; justify-content: space-between; }
.mhx-count { color: var(--c-text-muted); font-size: var(--fs-sm); }
.mhx-count strong { font-size: var(--fs-xl); color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.mhx-is-busy .mhx-count strong { opacity: .5; }
.mhx-filters .mhx-filters__close { display: none; }
.mhx-pill-group { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: var(--r-full); background: rgb(3 44 40 / .07); }
.mhx-pill { height: 34px; border-radius: var(--r-full); font-weight: 600; color: var(--gray-700); transition: background var(--t), color var(--t), box-shadow var(--t); }
.mhx-pill[aria-checked="true"] { background: #fff; color: var(--brand-800); box-shadow: var(--sh-sm); }
.mhx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mhx-chip {
  position: relative; display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border-radius: var(--r-full);
  border: 1px solid rgb(3 44 40 / .14); background: rgb(255 255 255 / .6); font-weight: 500; color: var(--gray-700); font-size: 13px;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.mhx-chip:hover { border-color: var(--brand-400); }
.mhx-chip[aria-checked="true"], .mhx-chip--select.is-on { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.mhx-chip--select { padding-right: 8px; }
.mhx-chip--select select { appearance: none; border: 0; background: none; outline: none; padding-right: 2px; cursor: pointer; font-size: 13px; font-weight: 500; color: inherit; }
.mhx-chip--select select option { color: var(--c-text); }
.mhx-chip--select:focus-within { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.mhx-range__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.mhx-range__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gray-700); }
.mhx-range__label .ic { color: var(--brand-700); }
.mhx-range__out { font-weight: 700; color: var(--accent-600); font-variant-numeric: tabular-nums; }
.mhx-range__track { position: relative; height: 28px; }
.mhx-range__track::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 2px; background: rgb(3 44 40 / .12); }
.mhx-range__fill { position: absolute; top: 12px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-500), var(--accent-500)); }
.mhx-range input { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; appearance: none; -webkit-appearance: none; }
.mhx-range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-700); box-shadow: var(--sh-md); cursor: grab; }
.mhx-range input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-700); box-shadow: var(--sh-md); cursor: grab; }
.mhx-range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgb(14 159 142 / .45); }
.mhx-range input::-webkit-slider-runnable-track { background: none; }
.mhx-range__hint { margin-top: 2px; font-size: var(--fs-xs); color: var(--c-text-subtle); }
.mhx-range.is-disabled .mhx-range__track { opacity: .35; }
.mhx-range.is-disabled input { pointer-events: none; }
.mhx-range.is-disabled input::-webkit-slider-thumb { pointer-events: none; }
.mhx-range:not(.is-disabled) .mhx-range__hint { display: none; }
.mhx-fab { display: none; }

/* Repülj ide ------------------------------------------------------------------ */
.mhx-fly {
  position: absolute; z-index: 20; left: var(--pad); right: calc(var(--pad) + 290px); bottom: calc(var(--pad) + var(--tray-h) + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; pointer-events: none;
}
.mhx-fly > * { pointer-events: auto; }
.mhx-fly__label { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 14px; border-radius: var(--r-full); background: var(--brand-950); color: #fff; font-weight: 600; font-size: 13px; box-shadow: var(--glass-sh); }
.mhx-fly__label .ic { color: var(--brand-300); }
.mhx-fly__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.mhx-fly__list::-webkit-scrollbar { display: none; }
.mhx-fly__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: var(--r-full); white-space: nowrap;
  background: var(--glass-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--glass-brd);
  box-shadow: 0 4px 14px -6px rgb(3 44 40 / .3); color: var(--ink); font-weight: 600; font-size: 13px;
  transition: transform var(--t) var(--ease), background var(--t), color var(--t);
}
.mhx-fly__btn:hover { transform: translateY(-2px); background: #fff; }
.mhx-fly__btn.is-on { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.mhx-fly__btn .ic { color: var(--brand-600); }
.mhx-fly__btn.is-on .ic { color: #fff; }

/* Térkép-vezérlők ------------------------------------------------------------------ */
.mhx-ctrl { position: absolute; z-index: 20; right: var(--pad); top: 50%; transform: translateY(-50%); display: grid; gap: 8px; transition: right .45s var(--ease); }
.mhx-ctrl__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--ink); transition: background var(--t), color var(--t); }
.mhx-ctrl__btn:hover { background: #fff; }
.mhx-ctrl__btn[aria-pressed="true"][data-ctrl="orbit"] { background: var(--brand-700); color: #fff; }
.mhx-ctrl__btn[aria-pressed="true"][data-ctrl="orbit"] .ic { animation: spin 3s linear infinite; }
.mhx-ctrl__txt { font-weight: 700; font-size: 13px; }
.mhx-compass { transition: transform .2s linear; stroke-width: 1.5; }
.mhx-compass__n { color: var(--accent-600); fill: var(--accent-600); }

/* Jelmagyarázat ------------------------------------------------------------------ */
.mhx-legend { position: absolute; z-index: 20; right: var(--pad); bottom: calc(var(--pad) + var(--tray-h) + env(safe-area-inset-bottom)); width: 270px; padding: 12px 14px; border-radius: var(--r-lg); transition: right .45s var(--ease), opacity .3s; }
.mhx-legend__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; font-weight: 700; color: var(--ink); font-size: 13px; }
.mhx-legend__toggle .ic { transition: transform var(--t); }
.mhx-legend__toggle[aria-expanded="false"] .ic { transform: rotate(180deg); }
.mhx-legend__body { margin-top: 8px; }
.mhx-legend__bar { height: 10px; border-radius: 6px; background: var(--heat); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); }
.mhx-legend__scale { display: flex; justify-content: space-between; margin: 4px 0 6px; font-size: 11px; color: var(--c-text-muted); font-variant-numeric: tabular-nums; }
.mhx-legend__txt { font-size: 11.5px; line-height: 1.45; color: var(--c-text-muted); }
.mhx-legend__txt + .mhx-legend__txt { margin-top: 3px; }
.mhx-legend__txt b { color: var(--gray-800); font-weight: 600; }

.mhx-hint { position: absolute; z-index: 25; left: 50%; top: calc(var(--pad) + 70px + env(safe-area-inset-top)); transform: translateX(-50%); display: flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100vw - 32px); padding: 10px 14px; border-radius: var(--r-lg); font-size: 13px; color: var(--ink); animation: mhx-fade-up .5s var(--ease); }
.mhx-hint .ic { color: var(--brand-700); flex: none; }
@keyframes mhx-fade-up { from { opacity: 0; transform: translate(-50%, 10px); } }

/* Tooltip ------------------------------------------------------------------ */
.mhx-tip {
  position: absolute; z-index: 40; left: 0; top: 0; pointer-events: none; min-width: 190px; max-width: 260px;
  padding: 10px 12px; border-radius: 14px; background: rgb(8 40 46 / .9); color: #fff; font-size: 12.5px; line-height: 1.45;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -10px rgb(0 0 0 / .45);
  will-change: transform;
}
.mhx-tip b { font-weight: 700; }
.mhx-tip__n { display: flex; align-items: baseline; gap: 6px; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.mhx-tip__n small { font-size: 12px; font-weight: 500; color: var(--brand-200); }
.mhx-tip__row { display: flex; justify-content: space-between; gap: 14px; }
.mhx-tip__row span { color: rgb(255 255 255 / .7); }
.mhx-tip__rel { margin-top: 4px; color: rgb(255 255 255 / .8); }
.mhx-tip__rel b { color: #fff; }
.mhx-tip__heat { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.mhx-tip__cta { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgb(255 255 255 / .15); color: var(--brand-200); font-size: 11.5px; }

/* Panel ------------------------------------------------------------------ */
.mhx-panel {
  position: absolute; z-index: 35; top: calc(var(--pad) + 64px + env(safe-area-inset-top)); right: var(--pad); bottom: calc(var(--pad) + var(--tray-h));
  width: var(--panel-w); display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden;
  background: rgb(255 255 255 / .9); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid var(--glass-brd); box-shadow: 0 24px 60px -18px rgb(3 44 40 / .45);
  animation: mhx-panel-in .45s var(--ease);
  outline: none;
}
@keyframes mhx-panel-in { from { transform: translateX(30px); opacity: 0; } }
.mhx-panel.is-closing { animation: mhx-panel-out .25s var(--ease) forwards; }
@keyframes mhx-panel-out { to { transform: translateX(30px); opacity: 0; } }
.mhx-has-panel .mhx-ctrl { right: calc(var(--pad) * 2 + var(--panel-w)); }
.mhx-has-panel .mhx-legend { opacity: 0; pointer-events: none; }
.mhx-has-panel .mhx-fly { right: calc(var(--pad) * 2 + var(--panel-w)); }
.mhx-panel__grab { display: none; }
.mhx-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 10px; }
.mhx-panel__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); }
.mhx-panel__title { font-size: var(--fs-xl); font-weight: 700; color: var(--ink); margin-top: 2px; }
.mhx-icon-btn { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; color: var(--gray-700); background: rgb(3 44 40 / .06); transition: background var(--t), color var(--t); }
.mhx-icon-btn:hover { background: rgb(3 44 40 / .12); color: var(--ink); }
.mhx-icon-btn--glass { background: rgb(255 255 255 / .14); color: #fff; }
.mhx-icon-btn--glass:hover { background: rgb(255 255 255 / .26); color: #fff; }
.mhx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 18px 12px; }
.mhx-stats div { padding: 10px; border-radius: var(--r-md); background: rgb(3 44 40 / .05); min-width: 0; }
.mhx-stats dt { font-size: 11px; color: var(--c-text-subtle); white-space: nowrap; }
.mhx-stats dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.mhx-stats dd.is-price { color: var(--accent-600); }
.mhx-stats__heat { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; background: none !important; padding: 0 2px !important; }
.mhx-stats__heat .mhx-gauge { position: relative; flex: 1; height: 8px; border-radius: 4px; background: var(--heat); }
.mhx-gauge i { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: var(--sh-sm); }
.mhx-stats__heat span { font-size: 12px; font-weight: 600; color: var(--gray-700); white-space: nowrap; }
.mhx-panel__tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 18px 12px; border-bottom: 1px solid rgb(3 44 40 / .08); }
.mhx-sort { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 10px 0 12px; border-radius: var(--r-full); border: 1px solid var(--c-border); background: #fff; }
.mhx-sort select { appearance: none; border: 0; background: none; outline: none; font-size: 13px; font-weight: 500; cursor: pointer; }
.mhx-sort:focus-within { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.mhx-panel__list { flex: 1; overflow: auto; padding: 12px 14px 14px; display: grid; gap: 10px; align-content: start; overscroll-behavior: contain; }
.mhx-panel__more { margin: 0 14px 14px; }

.mhx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--r-full); font-weight: 600; transition: background var(--t), transform var(--t) var(--ease), box-shadow var(--t); }
.mhx-btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.mhx-btn--accent { background: var(--accent-600); color: #fff; box-shadow: var(--sh-accent); }
.mhx-btn--accent:hover { background: var(--accent-700); }
.mhx-btn--ghost { border: 1px solid var(--c-border-strong); background: #fff; color: var(--gray-800); }
.mhx-btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-800); }
.mhx-btn:active { transform: scale(.97); }

/* Kompakt hirdetéskártya (panel, lista) */
.mhx-li {
  position: relative; display: grid; grid-template-columns: 116px 1fr; gap: 12px; padding: 8px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid rgb(3 44 40 / .08); box-shadow: 0 2px 8px -4px rgb(3 44 40 / .18);
  transition: transform var(--t) var(--ease), box-shadow var(--t); animation: mhx-li-in .4s var(--ease) both;
}
.mhx-li:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgb(3 44 40 / .35); }
@keyframes mhx-li-in { from { opacity: 0; transform: translateY(8px); } }
.mhx-li__img { width: 116px; height: 96px; border-radius: 12px; object-fit: cover; background: var(--gray-100); }
.mhx-li__body { min-width: 0; display: grid; align-content: start; gap: 2px; padding-right: 36px; }
.mhx-li__price { font-weight: 700; color: var(--accent-600); font-size: 15px; line-height: 1.3; }
.mhx-li__price small { font-weight: 500; color: var(--c-text-subtle); font-size: 11px; margin-left: 4px; }
.mhx-li__title { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mhx-li__title a { color: inherit; }
.mhx-li__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.mhx-li__title a:focus-visible { outline: none; }
.mhx-li:has(.mhx-li__title a:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.mhx-li__meta { font-size: 11.5px; color: var(--c-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mhx-li__acts { position: absolute; top: 8px; right: 8px; display: grid; gap: 4px; z-index: 1; }
.mhx-mini-btn { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgb(3 44 40 / .06); color: var(--gray-600); transition: background var(--t), color var(--t), transform var(--t) var(--ease); }
.mhx-mini-btn .ic { width: 16px; height: 16px; }
.mhx-mini-btn:hover { background: var(--brand-50); color: var(--brand-800); }
.mhx-mini-btn.is-liked { background: var(--accent-600); color: #fff; }
.mhx-mini-btn.is-liked .ic { fill: currentColor; }
.mhx-mini-btn.is-on { background: var(--brand-700); color: #fff; }
.mhx-li--sk { pointer-events: none; animation: none; }
.mhx-sk { border-radius: 8px; background: linear-gradient(90deg, var(--gray-100) 0%, var(--gray-50) 50%, var(--gray-100) 100%); background-size: 200% 100%; animation: mhx-sk 1.2s linear infinite; }
@keyframes mhx-sk { to { background-position: -200% 0; } }
.mhx-empty { padding: 30px 12px; text-align: center; color: var(--c-text-muted); }

/* Ingatlan-randi ------------------------------------------------------------------ */
.mhx-randi { position: absolute; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; color: #fff; overflow: hidden; animation: mhx-randi-in .45s var(--ease); }
@keyframes mhx-randi-in { from { opacity: 0; transform: scale(1.03); } }
.mhx-randi.is-closing { animation: mhx-randi-out .3s var(--ease) forwards; }
@keyframes mhx-randi-out { to { opacity: 0; transform: scale(1.02); } }
.mhx-randi__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(100% 80% at 50% 0%, #0a6f63 0%, #0a4a54 50%, #052228 100%); }
.mhx-randi__bg::after { content: ""; position: absolute; inset: -40px; background: var(--bg-img, none) center / cover; filter: blur(40px) saturate(1.3); opacity: .35; transition: opacity .5s; }
.mhx-randi__head { width: min(560px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(16px + env(safe-area-inset-top)) 16px 8px; }
.mhx-randi__title { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xl); font-weight: 700; color: #fff; }
.mhx-randi__title .ic { color: var(--accent-300); fill: var(--accent-300); }
.mhx-randi__src { font-size: 12.5px; color: var(--brand-100); margin-top: 2px; }
.mhx-randi__head-actions { display: flex; gap: 8px; }
.mhx-deck { position: relative; z-index: 1; isolation: isolate; flex: 1; width: min(440px, calc(100% - 32px)); max-height: 680px; min-height: 300px; margin: 8px auto 42px; touch-action: none; user-select: none; -webkit-user-select: none; }
.mhx-randi__bar { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 4px 16px 6px; }
.mhx-act { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--gray-700); box-shadow: 0 10px 24px -8px rgb(0 0 0 / .5); transition: transform .2s var(--ease), background var(--t), color var(--t); }
.mhx-act .ic { width: 26px; height: 26px; stroke-width: 2.25; }
.mhx-act:hover:not(:disabled) { transform: translateY(-3px) scale(1.05); }
.mhx-act:active:not(:disabled) { transform: scale(.92); }
.mhx-act:disabled { opacity: .4; cursor: not-allowed; }
.mhx-act--nope { color: var(--accent-600); }
.mhx-act--like { width: 72px; height: 72px; background: linear-gradient(135deg, var(--accent-500), var(--accent-700)); color: #fff; }
.mhx-act--like .ic { width: 32px; height: 32px; fill: currentColor; }
.mhx-act--cmp { color: var(--brand-700); }
.mhx-act--undo, .mhx-act--list { width: 46px; height: 46px; background: rgb(255 255 255 / .16); color: #fff; box-shadow: none; border: 1px solid rgb(255 255 255 / .25); }
.mhx-act--undo .ic, .mhx-act--list .ic { width: 20px; height: 20px; }
.mhx-act--undo .ic { transform: scaleX(-1); }
.mhx-act.flash { animation: mhx-bump .4s var(--ease); }
.mhx-randi__keys { padding: 6px 16px calc(14px + env(safe-area-inset-bottom)); font-size: 11.5px; color: rgb(255 255 255 / .6); }
.mhx-randi__keys kbd { display: inline-block; min-width: 20px; padding: 0 5px; border-radius: 5px; border: 1px solid rgb(255 255 255 / .3); font: inherit; font-weight: 600; color: #fff; text-align: center; }

.mhx-card {
  --dx: 0px; --dy: 0px; --rot: 0deg; --like: 0; --nope: 0; --up: 0;
  position: absolute; inset: 0; border-radius: 26px; overflow: hidden; background: #0b2f35; color: #fff;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6), 0 0 0 1px rgb(255 255 255 / .08);
  transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--rot)); transform-origin: 50% 110%;
  will-change: transform; cursor: grab;
}
.mhx-card.is-dragging { cursor: grabbing; }
.mhx-card[data-depth="1"] { transform: translate3d(0, 14px, 0) scale(.95); filter: brightness(.82); transition: transform .4s var(--ease), filter .4s; }
.mhx-card[data-depth="2"] { transform: translate3d(0, 28px, 0) scale(.9); filter: brightness(.65); transition: transform .4s var(--ease), filter .4s; }
.mhx-card[data-depth="3"] { transform: translate3d(0, 28px, 0) scale(.9); opacity: 0; }
.mhx-card[data-depth="0"] { transition: transform .4s var(--ease), filter .4s; }
.mhx-card.is-dragging, .mhx-card.is-flying { transition: none; }
.mhx-card.is-spring[data-depth] { transition: transform .5s cubic-bezier(.2, 1.4, .4, 1); }
.mhx-card.is-enter { animation: mhx-card-back .45s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes mhx-card-back { from { transform: translate3d(var(--from-x, 0), -40px, 0) rotate(var(--from-r, 0deg)); opacity: 0; } }
.mhx-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.mhx-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .35) 0%, transparent 22%, transparent 45%, rgb(4 24 28 / .92) 100%); pointer-events: none; }
.mhx-card__top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.mhx-badge { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: var(--r-full); font-size: 12px; font-weight: 600; background: rgb(255 255 255 / .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; }
.mhx-badge--drop { background: var(--accent-600); }
.mhx-badge--rent { background: var(--brand-700); }
.mhx-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 20px 22px; display: grid; gap: 6px; }
.mhx-card__price { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; text-shadow: 0 2px 12px rgb(0 0 0 / .35); }
.mhx-card__price small { font-size: 14px; font-weight: 500; opacity: .85; margin-left: 6px; letter-spacing: 0; }
.mhx-card__title { font-size: 16px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #fff; }
.mhx-card__loc { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgb(255 255 255 / .85); }
.mhx-card__facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.mhx-card__facts li { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: var(--r-full); background: rgb(255 255 255 / .14); font-size: 12.5px; font-weight: 500; }
.mhx-card__more { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; height: 34px; padding: 0 14px; border-radius: var(--r-full); background: #fff; color: var(--brand-900); font-size: 13px; font-weight: 600; }
.mhx-card__more:hover { text-decoration: none; background: var(--brand-50); }
.mhx-stamp { position: absolute; top: 34px; padding: 4px 14px; border: 4px solid; border-radius: 12px; font-size: 30px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; background: rgb(0 0 0 / .12); }
.mhx-stamp--like { left: 22px; color: #3fe0c5; border-color: #3fe0c5; transform: rotate(-14deg); opacity: var(--like); }
.mhx-stamp--nope { right: 22px; color: #ff8a5c; border-color: #ff8a5c; transform: rotate(14deg); opacity: var(--nope); }
.mhx-stamp--up { left: 50%; top: 40%; translate: -50% 0; color: #fff; border-color: #fff; font-size: 20px; opacity: var(--up); white-space: nowrap; }
.mhx-deck__empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; padding: 24px; border-radius: 26px; border: 2px dashed rgb(255 255 255 / .25); }
.mhx-deck__empty h3 { font-size: var(--fs-xl); color: #fff; }
.mhx-deck__empty p { color: var(--brand-100); max-width: 320px; }
.mhx-deck__empty .mhx-btn--ghost { background: rgb(255 255 255 / .12); color: #fff; border-color: rgb(255 255 255 / .3); }
.mhx-deck__loading { position: absolute; inset: 0; border-radius: 26px; background: linear-gradient(110deg, rgb(255 255 255 / .06) 30%, rgb(255 255 255 / .14) 50%, rgb(255 255 255 / .06) 70%); background-size: 200% 100%; animation: mhx-sk 1.4s linear infinite; }

/* Bemutató (onboarding) */
.mhx-onb { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 16px; background: rgb(3 25 29 / .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: mhx-fade .3s; }
@keyframes mhx-fade { from { opacity: 0; } }
.mhx-onb__card { width: min(400px, 100%); padding: 26px 24px 22px; border-radius: var(--r-2xl); background: #fff; color: var(--c-text); text-align: center; box-shadow: var(--sh-xl); }
.mhx-onb__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-600); }
.mhx-onb__card h3 { margin: 6px 0 18px; font-size: var(--fs-xl); color: var(--ink); }
.mhx-onb__list { display: grid; gap: 10px; text-align: left; margin-bottom: 14px; }
.mhx-onb__list li { display: flex; align-items: center; gap: 14px; padding: 8px 12px; border-radius: var(--r-md); background: var(--gray-50); }
.mhx-onb__list small { color: var(--c-text-subtle); }
.mhx-onb__g { position: relative; flex: none; width: 52px; height: 40px; border-radius: 10px; background: var(--brand-50); overflow: hidden; }
.mhx-onb__g i { position: absolute; left: 18px; top: 8px; width: 16px; height: 24px; border-radius: 4px; background: var(--brand-700); animation: 1.6s var(--ease) infinite; }
.mhx-onb__g--right i { animation-name: mhx-g-r; }
.mhx-onb__g--left i { background: var(--accent-600); animation-name: mhx-g-l; }
.mhx-onb__g--up i { background: var(--brand-500); animation-name: mhx-g-u; }
@keyframes mhx-g-r { 50%, 70% { transform: translateX(16px) rotate(14deg); } }
@keyframes mhx-g-l { 50%, 70% { transform: translateX(-16px) rotate(-14deg); } }
@keyframes mhx-g-u { 50%, 70% { transform: translateY(-14px); } }
.mhx-onb__note { font-size: 12px; color: var(--c-text-subtle); margin-bottom: 16px; }
.mhx-onb .mhx-btn { width: 100%; }

/* Tetszik lista (fiók) ------------------------------------------------------------------ */
.mhx-drawer { position: fixed; inset: 0; z-index: 80; }
.mhx-drawer__backdrop { position: absolute; inset: 0; background: rgb(3 25 29 / .45); animation: mhx-fade .3s; }
.mhx-drawer__sheet {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column;
  background: #fff; box-shadow: -20px 0 60px -20px rgb(0 0 0 / .4); animation: mhx-drawer-in .4s var(--ease); outline: none;
}
@keyframes mhx-drawer-in { from { transform: translateX(100%); } }
.mhx-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: calc(18px + env(safe-area-inset-top)) 18px 6px; }
.mhx-drawer__head h2 { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xl); color: var(--ink); }
.mhx-drawer__head h2 .ic { color: var(--accent-600); fill: var(--accent-600); }
.mhx-drawer__head h2 span { font-size: 13px; font-weight: 700; color: #fff; background: var(--accent-600); border-radius: 10px; padding: 0 8px; }
.mhx-drawer__note { padding: 0 18px 12px; font-size: 12px; color: var(--c-text-subtle); border-bottom: 1px solid var(--c-border); }
.mhx-drawer__list { flex: 1; overflow: auto; padding: 12px 14px; display: grid; gap: 10px; align-content: start; }
.mhx-drawer__foot { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-border); display: flex; justify-content: flex-end; }

.mhx-noscript { position: absolute; inset: auto 16px 16px; z-index: 99; padding: 14px; border-radius: 12px; background: #fff; }

/* MapLibre / Leaflet felugró elemek felülírása */
.mhx .maplibregl-canvas:focus-visible { outline: none; }

/* Tablet ------------------------------------------------------------------ */
@media (max-width: 1180px) {
  .mhx-back span { display: none; }
  .mhx-back { padding: 0 8px; }
  .mhx-fly { right: var(--pad); bottom: calc(var(--pad) + var(--tray-h) + 8px + env(safe-area-inset-bottom)); }
  .mhx-legend { bottom: calc(var(--pad) + 60px + var(--tray-h) + env(safe-area-inset-bottom)); }
}

/* Telefon ------------------------------------------------------------------ */
@media (max-width: 767px) {
  .mhx { --pad: 12px; --panel-w: 100%; }
  .mhx-top { gap: 8px; }
  .mhx-top__brand { padding: 0; height: 44px; width: 44px; justify-content: center; }
  .mhx-top__sep, .mhx-top__title { display: none; }
  .mhx-back { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .mhx-search { flex: 1 1 0; height: 44px; padding: 0 12px; margin: 0; }
  .mhx .maplibregl-ctrl-bottom-right { bottom: calc(56px + var(--tray-h)); }
  .mhx-search input { font-size: 16px; } /* iOS: ne nagyítson */
  .mhx-search input::placeholder { font-size: 14px; }
  .mhx-seg { height: 44px; padding: 3px; }
  .mhx-seg__btn { padding: 0 10px; }
  .mhx-seg__btn span { display: none; }
  .mhx-top__actions { gap: 8px; }
  .mhx-likes-btn { width: 44px; height: 44px; }
  /* telefonon csak a másik nyelv linkje látszik (egy kerek gomb) */
  .mhx-top .mhx-lang { height: 44px; width: 44px; padding: 0; justify-content: center; }
  .mhx-lang .lang-switch__a.is-active { display: none; }
  .mhx-lang .lang-switch__a { min-width: 44px; height: 44px; }
  .mhx-search__list { position: fixed; left: 12px; right: 12px; top: calc(68px + env(safe-area-inset-top)); }

  .mhx-filters {
    top: auto; left: 0; right: 0; bottom: 0; width: auto; z-index: 70; border-radius: 24px 24px 0 0;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .96);
    transform: translateY(105%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s;
  }
  .mhx-filters.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
  .mhx-filters .mhx-filters__close { display: grid; }
  .mhx-fab {
    position: absolute; z-index: 22; left: var(--pad); bottom: calc(var(--pad) + 52px + var(--tray-h) + env(safe-area-inset-bottom));
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--r-full); font-weight: 600; color: var(--ink);
  }
  .mhx-fab .ic { color: var(--brand-700); }
  .mhx-fab b { font-size: 12px; font-weight: 700; color: #fff; background: var(--brand-700); border-radius: 10px; padding: 1px 8px; }
  .mhx-fly { left: 0; right: 0; bottom: calc(var(--pad) + var(--tray-h) + env(safe-area-inset-bottom)); }
  .mhx-fly__label { display: none; }
  .mhx-fly__list { padding: 4px var(--pad); }
  .mhx-ctrl { top: calc(70px + env(safe-area-inset-top)); transform: none; gap: 6px; }
  .mhx-ctrl__btn { width: 40px; height: 40px; border-radius: 12px; }
  .mhx-ctrl [data-ctrl="zoom-in"], .mhx-ctrl [data-ctrl="zoom-out"] { display: none; }
  .mhx-legend { left: auto; right: var(--pad); width: 200px; padding: 10px 12px; bottom: calc(var(--pad) + 52px + var(--tray-h) + env(safe-area-inset-bottom)); }
  .mhx-legend__txt { font-size: 11px; }
  .mhx-hint { top: auto; bottom: calc(var(--pad) + 110px + var(--tray-h)); font-size: 12px; }

  .mhx-panel {
    top: auto; left: 0; right: 0; bottom: 0; width: auto; height: min(68dvh, 620px); border-radius: 24px 24px 0 0;
    animation-name: mhx-sheet-in; padding-bottom: env(safe-area-inset-bottom);
  }
  @keyframes mhx-sheet-in { from { transform: translateY(100%); } }
  .mhx-panel.is-closing { animation-name: mhx-sheet-out; }
  @keyframes mhx-sheet-out { to { transform: translateY(100%); } }
  .mhx-panel__grab { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--gray-300); margin: 8px auto 0; flex: none; }
  .mhx-panel__head { padding-top: 8px; }
  .mhx-has-panel .mhx-ctrl, .mhx-has-panel .mhx-fly { right: var(--pad); }
  .mhx-has-panel .mhx-fly, .mhx-has-panel .mhx-fab { opacity: 0; pointer-events: none; }
  .mhx-stats { padding: 0 14px 10px; gap: 6px; }
  .mhx-stats div { padding: 8px; }
  .mhx-li { grid-template-columns: 100px 1fr; }
  .mhx-li__img { width: 100px; height: 86px; }

  .mhx-deck { width: calc(100% - 24px); margin-top: 4px; margin-bottom: 24px; }
  .mhx-randi__bar { gap: 10px; padding-top: 14px; }
  .mhx-act { width: 54px; height: 54px; }
  .mhx-act--like { width: 64px; height: 64px; }
  .mhx-act--undo, .mhx-act--list { width: 42px; height: 42px; }
  .mhx-randi__keys { display: none; }
  .mhx-randi__bar { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .mhx-stamp { font-size: 24px; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .mhx-legend__txt { display: none; }
}

/* Csökkentett mozgás: nincsenek kamera- és kártyaanimációk, csak áttűnések */
@media (prefers-reduced-motion: reduce) {
  .mhx-loader__hex span { animation: none; opacity: .8; }
  .mhx-card.is-spring[data-depth] { transition: none; }
}

.mhx .leaflet-control-zoom { display: none; }
