/* EcoMancs – arculat: #1F3B1B, #F6F4EE, #53AF01, #A6D46B; Poppins és Nunito. A betűk a saját szerverről jönnek. */
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url(/kulso/betuk/poppins-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url(/kulso/betuk/poppins-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url(/kulso/betuk/poppins-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url(/kulso/betuk/poppins-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url(/kulso/betuk/poppins-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url(/kulso/betuk/poppins-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 800; font-display: swap; src: url(/kulso/betuk/poppins-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poppins'; font-weight: 800; font-display: swap; src: url(/kulso/betuk/poppins-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url(/kulso/betuk/nunito-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url(/kulso/betuk/nunito-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-weight: 600; font-display: swap; src: url(/kulso/betuk/nunito-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Nunito'; font-weight: 600; font-display: swap; src: url(/kulso/betuk/nunito-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url(/kulso/betuk/nunito-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url(/kulso/betuk/nunito-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url(/kulso/betuk/nunito-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url(/kulso/betuk/nunito-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --g9: #1F3B1B; --g7: #2E5228; --g5: #53AF01; --g3: #A6D46B; --g1: #E8F3D6;
  --bg: #F6F4EE; --card: #FFFFFF; --ink: #1F3B1B; --mut: #5E6B58; --line: #E7E3D7; --soft: #EFECE2;
  --red: #C8322F; --amber: #F2A516; --blue: #2F7DE1;
  --sh: 0 1px 2px rgba(31,59,27,.05), 0 8px 24px rgba(31,59,27,.07); --r: 22px;
  --f1: 'Poppins', ui-sans-serif, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f2: 'Nunito', ui-sans-serif, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 15px/1.45 var(--f2); color: var(--ink); background: var(--bg); -webkit-tap-highlight-color: transparent; overscroll-behavior: none; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { font-family: var(--f1); font-weight: 600; letter-spacing: -.01em; margin: 0; }
h1 { font-size: 26px; margin-top: 14px; } h2 { font-size: 26px; letter-spacing: -.02em; line-height: 1.2; } h3 { font-size: 16px; }
p { margin: 0; }
a { color: var(--g7); font-weight: 700; }
small { font-size: 12.5px; color: var(--mut); }
.mut { color: var(--mut); }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.fill { fill: currentColor; stroke: none; }
.i16 { width: 16px; height: 16px; } .i15 { width: 15px; height: 15px; } .i14 { width: 14px; height: 14px; }
:focus-visible { outline: 3px solid var(--g5); outline-offset: 2px; border-radius: 8px; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes pulse { from { transform: scale(.7); opacity: .85; } to { transform: scale(2.3); opacity: 0; } }
@keyframes lebeg { 50% { transform: translateY(-6px); } }

/* Nézetek */
.nezet { min-height: 100%; }
.toltes { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 100vh; }
.logo-nagy { width: 84px; height: 84px; animation: lebeg 1.6s ease-in-out infinite; }
.urlap-nezet { display: flex; justify-content: center; padding: max(20px, env(safe-area-inset-top)) 20px 40px;
  background: radial-gradient(900px 600px at 10% 0%, #DDEDC8 0, transparent 60%), var(--bg); }
.urlap-doboz { width: 100%; max-width: 420px; animation: pageIn .5s cubic-bezier(.2,.8,.2,1) both; }
.logo { width: 56px; height: 56px; margin-top: 12px; }
.urlap-doboz > .mut { margin-top: 6px; }
.also-link { margin-top: 18px; text-align: center; color: var(--mut); }
.link-gomb { font: 700 15px var(--f2); color: var(--g7); text-decoration: underline; padding: 4px; }

/* Űrlapelemek */
.field { margin-top: 16px; }
.field > label, .label { display: block; font: 600 12.5px var(--f2); color: var(--mut); margin-bottom: 7px; }
.field > label b { color: var(--ink); }
.inp { width: 100%; height: 52px; border-radius: 15px; border: 1.5px solid var(--line); background: var(--card); padding: 0 15px; font: 600 16px var(--f2); color: var(--ink);
  outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.inp:focus { border-color: var(--g5); box-shadow: 0 0 0 4px rgba(83,175,1,.16); }
.inp[aria-invalid=true] { border-color: var(--red); }
.sugo { margin: 6px 2px 0; font-size: 13.5px; color: var(--mut); }
.pipa { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font: 600 14px/1.4 var(--f2); }
.pipa input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--g5); }
.hibauzenet { margin-top: 14px; padding: 11px 14px; border-radius: 14px; background: #FDECEC; color: #8F1F1C; font-weight: 700; font-size: 14.5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg { display: flex; background: var(--soft); border-radius: 15px; padding: 4px; gap: 4px; height: 52px; }
.seg button { flex: 1; border-radius: 12px; font: 600 13px var(--f2); color: var(--mut); transition: all .3s; }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chipb { height: 38px; padding: 0 14px; border-radius: 12px; background: var(--soft); font: 600 13px var(--f2); transition: all .25s cubic-bezier(.3,1.4,.4,1); }
.chipb.on { background: var(--g9); color: #fff; transform: scale(1.04); }
.toggle { width: 52px; height: 31px; border-radius: 99px; background: var(--line); position: relative; transition: background .3s; flex: none; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 25px; height: 25px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.toggle.on { background: var(--g5); } .toggle.on::after { transform: translateX(21px); }
.tg-row { display: flex; justify-content: space-between; align-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: 15px; padding: 10px 14px; }
.tg-row b { font: 600 14.5px var(--f2); }
.range { width: 100%; accent-color: var(--g5); height: 24px; }
.or { text-align: center; color: var(--mut); font-size: 12.5px; margin-top: 18px; }

/* Gombok */
.btn { height: 52px; padding: 0 22px; border-radius: 14px; background: var(--g9); color: #fff; font: 600 15px var(--f2); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .15s, background .2s, opacity .2s; white-space: nowrap; margin-top: 18px; }
.btn:active { transform: scale(.96); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.block { width: 100%; }
.btn.block + .btn.block { margin-top: 10px; }
.btn.sm { height: 36px; padding: 0 13px; border-radius: 12px; font-size: 13px; margin: 0; }
.btn.ghost { background: var(--soft); color: var(--ink); }
.btn.danger { background: var(--red); color: #fff; }
.link { font: 600 13px var(--f2); color: var(--g5); display: flex; align-items: center; gap: 2px; }

/* Avatárok */
.av { border-radius: 50%; overflow: hidden; display: grid; place-items: center; flex: none; background: var(--g1); line-height: 1; }
.av svg { width: 100%; height: 100%; display: block; }
.av.mono { width: 64px; height: 64px; background: var(--g9); color: #fff; font: 600 24px var(--f1); }
.av-hely { display: contents; }
.avatar-elonezet { display: flex; justify-content: center; margin-top: 14px; }
.avatar-elonezet .av { width: 120px; height: 120px; border: 4px solid var(--card); box-shadow: 0 10px 26px rgba(31,59,27,.18); animation: pop .5s cubic-bezier(.2,1.5,.4,1); }
.avgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.avopt { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid transparent; transition: transform .25s cubic-bezier(.3,1.5,.4,1), border-color .2s; }
.avopt svg { width: 100%; height: 100%; display: block; }
.avopt.on { border-color: var(--g5); transform: scale(1.08); }

/* Fő nézet és alsó menü */
.fo { position: fixed; inset: 0; overflow: hidden; }
.ful { position: absolute; inset: 0; }
.page { overflow-y: auto; padding: max(8px, env(safe-area-inset-top)) 18px 112px; animation: pageIn .5s cubic-bezier(.2,.8,.2,1) both; overscroll-behavior: contain; }
.page > * { max-width: 560px; margin-left: auto; margin-right: auto; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 2px; gap: 10px; }
nav { position: absolute; left: 12px; right: 12px; bottom: max(14px, env(safe-area-inset-bottom)); height: 70px; max-width: 520px; margin: 0 auto;
  background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-radius: 26px; box-shadow: 0 10px 30px rgba(31,59,27,.14); display: grid; grid-template-columns: repeat(3, 1fr); z-index: 800; border: 1px solid var(--line); }
nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 600 11px var(--f2); color: var(--mut); position: relative; z-index: 1; transition: color .3s; }
nav button .i { transition: transform .35s cubic-bezier(.3,1.6,.4,1); }
nav button.on { color: var(--ink); }
nav button.on .i { transform: translateY(-1px) scale(1.12); }
nav .ind { position: absolute; top: 8px; left: 0; width: calc(100% / 3); height: 52px; display: flex; justify-content: center; transition: transform .5s cubic-bezier(.3,1.35,.4,1); pointer-events: none; }
nav .ind::before { content: ''; width: 72px; height: 100%; border-radius: 17px; background: var(--soft); }

/* Kártyák */
.card { background: var(--card); border-radius: 18px; padding: 16px; margin-top: 14px; position: relative; }
.rowh { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pill { font: 600 12px var(--f2); padding: 5px 9px; border-radius: 99px; background: var(--soft); display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; }
.pill.ok { background: var(--g1); color: var(--g7); } .pill.warn { background: #FFF2D9; color: #8A5A00; } .pill.bad { background: #FDECEC; color: var(--red); }
.batbar { height: 8px; border-radius: 9px; background: var(--soft); overflow: hidden; margin-top: 12px; }
.batbar i { display: block; height: 100%; width: 0; border-radius: 9px; background: linear-gradient(90deg, var(--g3), var(--g5)); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.batbar i.low { background: linear-gradient(90deg, #F7C55C, var(--amber)); }
.bat-note { font-size: 13.5px; color: var(--mut); margin-top: 8px; }
.bat-note.warn { color: #8A5A00; font-weight: 600; }
.mini-kpik { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.mini-kpik b { font: 700 19px var(--f1); display: block; font-variant-numeric: tabular-nums; }
.halvany-megj { margin-top: 14px; font-size: 13.5px; text-align: center; }

/* Térkép oldal */
.mappage { overflow: hidden; }
.map { position: absolute; inset: 0; background: #ECE9DF; z-index: 0; } /* saját réteg: a térkép elemei nem kerülhetnek a panel fölé */
.hm-top { position: absolute; top: max(10px, env(safe-area-inset-top)); left: 12px; right: 12px; display: flex; gap: 8px; z-index: 500; align-items: center; pointer-events: none; }
.hm-top > * { pointer-events: auto; }
.hm-top .sp { flex: 1; }
.chip { background: var(--card); border-radius: 18px; box-shadow: var(--sh); padding: 6px 14px 6px 6px; display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); min-width: 0; }
.chip .av { width: 34px; height: 34px; }
.chip b { font: 600 14px var(--f2); display: block; }
.chip small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mapctl { position: absolute; right: 12px; top: calc(max(10px, env(safe-area-inset-top)) + 60px); display: flex; flex-direction: column; gap: 8px; z-index: 500; }
.mapctl button { width: 44px; height: 44px; border-radius: 15px; background: var(--card); box-shadow: var(--sh); display: grid; place-items: center; border: 1px solid var(--line); transition: transform .15s; }
.mapctl button:active { transform: scale(.9); }
.bsheet { position: absolute; left: 0; right: 0; bottom: 0; height: calc(100% - 70px); max-width: 640px; margin: 0 auto; background: var(--bg); border-radius: 30px 30px 0 0;
  box-shadow: 0 -10px 34px rgba(31,59,27,.18); z-index: 600; transform: translateY(calc(100% - var(--peek))); transition: transform .55s cubic-bezier(.2,.9,.2,1);
  display: flex; flex-direction: column; --peek: 312px; animation: up .6s cubic-bezier(.2,.9,.2,1) both; }
.bsheet.open { transform: translateY(0); }
.bs-h { padding: 6px 16px 0; flex: none; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.bsheet.drag { transition: none; }
.bsheet.drag .bs-h { cursor: grabbing; }
.bs-h .grab { display: block; width: 64px; height: 22px; margin: 0 auto 4px; position: relative; }
.bs-h .grab::before { content: ''; position: absolute; left: 10px; right: 10px; top: 8px; height: 5px; border-radius: 9px; background: var(--line); transition: left .3s, right .3s; }
.bsheet.open .bs-h .grab::before { left: 18px; right: 18px; }
.bs-b { flex: 1; overflow: hidden; padding: 2px 16px 112px; overscroll-behavior: contain; }
.bsheet.open .bs-b { overflow-y: auto; }
.drow { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: 22px; padding: 12px; }
.drow-szoveg { flex: 1; min-width: 0; }
.drow b { font: 700 17px var(--f2); display: block; }
.drow .loc { font: 600 13.5px var(--f2); color: var(--g7); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.drow .loc .i { width: 14px; height: 14px; }
.drow .loc.out { color: #8A5A00; }
.dogav { position: relative; width: 58px; height: 58px; flex: none; isolation: isolate; }
.dogav .av { width: 100%; height: 100%; border: 3px solid var(--card); }
.dogav.live::before { content: ''; position: absolute; inset: -3px; border-radius: 50%; background: var(--g5); z-index: -1; }
.sdot { position: absolute; right: 1px; bottom: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--g5); border: 3px solid var(--card); }
.sdot.off { background: #9AA59A; }
.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.act { display: flex; flex-direction: column; align-items: center; gap: 6px; font: 600 11.5px var(--f2); text-align: center; line-height: 1.2; }
.act .ab { width: 58px; height: 58px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--g7); transition: transform .15s; }
.act:active .ab { transform: scale(.9); }

/* Jelek a térképen */
.kutyajel { width: 54px; height: 54px; }
.kutyajel .pulzus { position: absolute; inset: 0; border-radius: 50%; background: rgba(83,175,1,.45); animation: pulse 2s infinite; }
.kutyajel .bel { position: absolute; inset: 0; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(31,59,27,.4);
  background: var(--av-h, var(--g9)); }
.kutyajel .bel::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--av-e, var(--g3)); -webkit-mask: url(/mancs.svg) center / contain no-repeat; mask: url(/mancs.svg) center / contain no-repeat; }
.kutyajel.regi .pulzus { display: none; }
.kutyajel.regi .bel { filter: grayscale(1); }
.sajat-jel { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(47,125,225,.2); }
.dotpin { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); background: var(--g5); }
.av-0 { --av-h: #1F3B1B; --av-e: #A6D46B; } .av-1 { --av-h: #53AF01; --av-e: #FFFFFF; } .av-2 { --av-h: #C9A24A; --av-e: #FFFFFF; } .av-3 { --av-h: #8C5A3C; --av-e: #F3E3D3; }
.av-4 { --av-h: #3D6E8C; --av-e: #FFFFFF; } .av-5 { --av-h: #6B6E70; --av-e: #FFFFFF; } .av-6 { --av-h: #B4523F; --av-e: #FFFFFF; } .av-7 { --av-h: #2F7F6F; --av-e: #FFFFFF; }
.av-8 { --av-h: #E7E1D3; --av-e: #8C5A3C; } .av-9 { --av-h: #15241A; --av-e: #53AF01; }

/* Zónák */
.icbtn { width: 44px; height: 44px; border-radius: 15px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; flex: none; box-shadow: var(--sh); }
.zona-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 58%; max-width: 640px; margin: 0 auto; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: 30px 30px 0 0; box-shadow: 0 -10px 34px rgba(31,59,27,.18); z-index: 600; padding: 18px 16px 112px; animation: up .5s cubic-bezier(.2,.9,.2,1) both; }
#zona-szerkeszto { max-height: 52%; padding-bottom: 24px; z-index: 850; }
.zona-ures { margin-top: 10px; font-size: 14px; }
.zona-lista { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.zona-sor { background: var(--card); border-radius: 18px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.zona-sor .ti { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--g1); color: var(--g7); }
.zona-sor.ki .ti { background: var(--soft); color: var(--mut); }
.zona-sor .zt { flex: 1; min-width: 0; }
.zona-sor .zt b { font: 600 15px var(--f2); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zona-sor .zt small { display: block; }
.zona-gombok { display: flex; gap: 6px; margin-top: 8px; }
.zsum { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.zsum span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 12px; background: var(--soft); font: 600 12.5px var(--f2); }
.zsum span.bent { background: var(--g1); color: var(--g7); } .zsum span.kint { background: #FFF2D9; color: #8A5A00; }
.esemenyek { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.esemenyek li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.esemenyek li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--g5); flex: none; }
.esemenyek li.kilepes::before { background: var(--amber); }
.esemenyek li small { margin-left: auto; white-space: nowrap; }
.zona-pont { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--g9); box-shadow: 0 1px 4px rgba(0,0,0,.3); }

/* Útvonalak */
.daychips { display: flex; gap: 8px; overflow-x: auto; margin-top: 12px; padding: 4px 2px 6px; scrollbar-width: none; }
.daychips::-webkit-scrollbar { display: none; }
.dchip { flex: none; width: 58px; height: 66px; border-radius: 19px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  transition: all .3s cubic-bezier(.3,1.4,.4,1); }
.dchip span { font: 600 11px var(--f2); color: var(--mut); }
.dchip b { font: 700 19px var(--f1); }
.dchip.on { background: var(--g9); border-color: var(--g9); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 18px rgba(31,59,27,.25); }
.dchip.on span { color: var(--g3); }
.regebbi { margin-top: 8px; }
.terkep-kartya { padding: 0; overflow: hidden; }
.utterkep { height: 290px; background: #ECE9DF; }
.terkep-kartya-also { padding: 14px 16px 16px; }
.pb { display: flex; align-items: center; gap: 12px; }
.pb .play { width: 50px; height: 50px; border-radius: 50%; background: var(--g9); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 6px 16px rgba(31,59,27,.3); transition: transform .15s; }
.pb .play:active { transform: scale(.92); }
.pbt { font: 700 13px var(--f1); min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 8px; color: var(--mut); }
#ut-osszegzes { display: block; margin-top: 10px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.kpi { background: var(--card); border-radius: 16px; padding: 14px; animation: pageIn .55s both; }
.kpi b { font: 800 23px var(--f1); display: block; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi small { display: block; margin-top: 4px; }

/* Profil */
.owner { display: flex; gap: 14px; align-items: center; }
.owner-szoveg { flex: 1; min-width: 0; }
.owner b { font: 700 18px var(--f2); display: block; }
.owner small { display: block; overflow: hidden; text-overflow: ellipsis; }
.sec-t { font: 600 13px var(--f2); color: var(--mut); margin: 26px 4px 0; }
.kutya-fej { display: flex; gap: 10px; align-items: center; min-width: 0; }
.kutya-fej .av { width: 48px; height: 48px; }
.attrs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.attr { background: var(--soft); border-radius: 14px; padding: 10px; min-width: 0; }
.attr small { display: block; font-size: 11px; }
.attr b { font: 700 13.5px var(--f2); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ismertetojel { font-size: 13px; margin-top: 12px; }
.ms-row { display: flex; gap: 12px; align-items: center; }
.ms-szoveg { flex: 1; min-width: 0; }
.ms-row b { font: 600 15px var(--f2); display: block; }
.ms-ic { width: 40px; height: 40px; border-radius: 13px; background: var(--g1); color: var(--g7); display: grid; place-items: center; flex: none; }
.list { background: var(--card); border-radius: var(--r); margin-top: 12px; overflow: hidden; }
.li-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; width: 100%; text-align: left; border-bottom: 1px solid var(--line); transition: background .2s; }
.li-row:last-child { border: 0; }
.li-row:active { background: var(--soft); }
.li-row .lt { flex: 1; min-width: 0; }
.li-row .lt b { font: 600 14.5px var(--f2); display: block; }
.li-row .lt small { display: block; }
.li-row.danger { color: var(--red); }
.lablec { text-align: center; font-size: 12.5px; margin-top: 22px; }

/* Lap (alulról felcsúszó ablak) */
.lap-hatter { position: fixed; inset: 0; background: rgba(20,32,18,.35); z-index: 900; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; max-height: 90vh; max-width: 560px; margin: 0 auto; background: var(--bg); border-radius: 30px 30px 0 0; z-index: 901;
  display: flex; flex-direction: column; box-shadow: 0 -10px 40px rgba(0,0,0,.15); animation: up .45s cubic-bezier(.2,.95,.2,1) both; }
.sheet .grab { width: 42px; height: 5px; border-radius: 9px; background: var(--line); margin: 10px auto 2px; flex: none; }
.sheet .sh-b { overflow-y: auto; padding: 10px 20px max(26px, env(safe-area-inset-bottom)); }
.sheet .sh-b > .mut { margin-top: 8px; }

/* Üzenetek */
.uzenetek { position: fixed; left: 0; right: 0; top: max(14px, env(safe-area-inset-top)); z-index: 1000; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 14px; }
.uzenet { background: var(--g9); color: #fff; border-radius: 18px; padding: 12px 16px; font: 600 14px/1.35 var(--f2); box-shadow: 0 14px 34px rgba(0,0,0,.25); max-width: 440px;
  animation: pageIn .4s cubic-bezier(.2,1.35,.3,1) both; }
.uzenet.hiba { background: var(--red); }

.leaflet-control-attribution { font: 11px var(--f2); }
.leaflet-container { font-family: var(--f2); }
.mappage .leaflet-bottom { bottom: 322px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
