/* kutyapp.hu – alapstílus */
/* Tartalék betű a Nunito méreteire hangolva: amíg a webfont betölt, ne ugorjon/szűküljön a szöveg */
@font-face { font-family: 'Nunito Tartalek'; src: local('Arial'), local('ArialMT'), local('Roboto'), local('Helvetica'); size-adjust: 101.2%; ascent-override: 99.7%; descent-override: 34.8%; line-gap-override: 0%; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 300 1000; font-display: swap;
  src: url('/assets/fonts/nunito-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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-style: normal; font-weight: 300 1000; font-display: swap;
  src: url('/assets/fonts/nunito-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* C-1-I „Gumilabda”: élénk kék + korall, tiszta fehér alapon; Nunito; vonalas ikonok */
  --bg: #f7f8fc; --bg-2: #eef1fa; --surface: #ffffff; --ink: #141a33; --muted: #5a6180; --line: #e3e6f2;
  --brand: #2448d8; --brand-2: #1a37b0; --brand-soft: #e0e7ff; --accent: #ff6b57; --accent-2: #e84f3b; --accent-soft: #ffe3de; --accent-ink: #3a0d06;
  --ok: #15803d; --ok-soft: #dcfce7; --warn: #b45309; --warn-soft: #fef3c7; --bad: #c81e1e; --bad-soft: #fee2e2;
  --shadow: 0 1px 2px rgba(20, 30, 80, .05), 0 6px 20px rgba(20, 30, 80, .07);
  --shadow-lg: 0 2px 6px rgba(20, 30, 80, .07), 0 22px 56px rgba(20, 30, 80, .14);
  --lablec: #0f1630; --r: 18px; --r-sm: 12px; --wrap: 1200px;
  --font: 'Nunito', 'Nunito Tartalek', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1324; --bg-2: #151a30; --surface: #1a2038; --ink: #eef1fb; --muted: #a3abc8; --line: #2a3150;
    --brand: #7b96ff; --brand-2: #a5b7ff; --brand-soft: #1f2a5c; --accent: #ff8a78; --accent-2: #ffb0a3; --accent-soft: #3a2028; --accent-ink: #2a0904;
    --ok: #4ade80; --ok-soft: #12301f; --warn: #fbbf24; --warn-soft: #33290f; --bad: #f87171; --bad-soft: #3a1717;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .3); --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5); --lablec: #0a0e1c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1324; --bg-2: #151a30; --surface: #1a2038; --ink: #eef1fb; --muted: #a3abc8; --line: #2a3150;
  --brand: #7b96ff; --brand-2: #a5b7ff; --brand-soft: #1f2a5c; --accent: #ff8a78; --accent-2: #ffb0a3; --accent-soft: #3a2028; --accent-ink: #2a0904;
  --ok: #4ade80; --ok-soft: #12301f; --warn: #fbbf24; --warn-soft: #33290f; --bad: #f87171; --bad-soft: #3a1717;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .3); --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5); --lablec: #0a0e1c;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
@media (max-width: 720px) { body { font-size: 16px; } }
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 850; letter-spacing: -.015em; text-wrap-style: balance; }
p, li { text-wrap-style: pretty; }
::selection { background: color-mix(in srgb, var(--brand) 22%, transparent); }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Fejléc */
.fejlec { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1000; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.fejlec .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.35rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo svg { width: 36px; height: 36px; }
.logo b { color: var(--accent); font-weight: 900; }
.menu { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px; font-size: .97rem; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--bg-2); color: var(--brand); }
.menu .gomb { margin-left: 6px; }
.menu a.gomb, .menu a.gomb:hover { color: #fff; background: var(--brand); }
.menu-nyito { display: none; margin-left: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.menu-nyito[aria-expanded="true"] { background: var(--bg-2); border-color: var(--brand); color: var(--brand); }
@keyframes menu-be { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@media (max-width: 900px) {
  .menu-nyito { display: inline-flex; }
  .menu { display: none; position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px; background: var(--surface); padding: 10px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); max-height: calc(100dvh - 90px); overflow: auto; }
  .menu.nyitva { display: flex; animation: menu-be .18s ease-out; }
  .menu a { padding: 12px 14px; border-radius: 14px; font-size: 1.02rem; }
  .menu a:not(.gomb)::after { content: '›'; float: right; color: var(--muted); font-weight: 900; }
  .menu .gomb { margin: 6px 0 0; justify-content: center; }
}

/* Gombok, mezők */
.gomb { display: inline-flex; align-items: center; gap: 8px; justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 800; text-decoration: none;
  padding: 11px 20px; border-radius: 999px; background: var(--brand); color: #fff; transition: transform .12s, background .15s, box-shadow .15s; line-height: 1.2; }
.gomb:hover { background: var(--brand-2); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.gomb.narancs { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); }
.gomb.narancs:hover { background: var(--accent-2); color: #fff; }
.gomb:not(.korvonal):not(.halvany):not(.narancs) { box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 28%, transparent); }
.gomb.halvany { background: var(--brand-soft); color: var(--brand-2); }
.gomb.halvany:hover { background: var(--brand); color: #fff; }
.gomb.korvonal { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.gomb.korvonal:hover { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand); }
.gomb.kicsi { padding: 7px 14px; font-size: .9rem; }
.gomb[disabled] { opacity: .55; pointer-events: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gomb:not(.narancs):not(.halvany):not(.korvonal) { color: #0b1230; } }
:root[data-theme="dark"] .gomb:not(.narancs):not(.halvany):not(.korvonal) { color: #0b1230; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
input:hover:not(:focus), select:hover:not(:focus), textarea:hover:not(:focus) { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6180' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
textarea { resize: vertical; min-height: 96px; }
input[type=file] { padding: 8px; background: var(--bg); border-style: dashed; cursor: pointer; }
input[type=file]::file-selector-button { font: inherit; font-weight: 800; border: 0; border-radius: 999px; padding: 8px 16px; margin-right: 12px; background: var(--brand-soft); color: var(--brand-2); cursor: pointer; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--brand); padding: 0; }
input[type=search]::-webkit-search-cancel-button { cursor: pointer; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
label { font-weight: 750; display: block; margin: 0 0 6px; font-size: .95rem; }
.jelolo, label.jelolo { cursor: pointer; }
.mezo { margin-bottom: 16px; }
.mezo .sugo { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.jelolo { display: block; position: relative; padding-left: 28px; font-weight: 500; }
.jelolo input { position: absolute; left: 0; top: 4px; width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }

/* Hős szakasz */
.hos { position: relative; z-index: 5; overflow-x: clip; overflow-y: visible; padding: 56px 0 40px; background:
  radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brand) 14%, transparent) 1px, transparent 1.5px) 0 0 / 22px 22px,
  radial-gradient(1100px 420px at 88% -12%, var(--accent-soft), transparent 62%),
  radial-gradient(900px 400px at -8% 8%, var(--brand-soft), transparent 62%), var(--bg); }
.hos::after { content: ''; position: absolute; inset: auto 0 0 0; height: 60px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.hos .wrap { position: relative; z-index: 1; }
.hos h1 { max-width: 760px; }
.hos h1 em { font-style: normal; color: var(--brand); }
.hos .lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.kereso { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 8px; background: var(--surface); padding: 8px; border-radius: 22px; box-shadow: var(--shadow-lg); max-width: 820px; margin-top: 26px; border: 1px solid var(--line); }
.kereso select, .kereso input, .kereso .sv-gomb { border: 1.5px solid transparent; background-color: var(--bg); border-radius: 14px; min-height: 52px; }
.kereso input:focus, .kereso .sv-gomb:focus-visible { border-color: var(--brand); background-color: var(--surface); }
.kereso .gomb { border-radius: 14px; padding: 12px 26px; }
@media (max-width: 720px) { .kereso { grid-template-columns: 1fr; } .kereso .gomb { min-height: 52px; font-size: 1.05rem; } }
.hos-kutya { position: absolute; right: max(16px, calc(50% - 600px)); bottom: 6px; width: 320px; z-index: 2; cursor: pointer; -webkit-tap-highlight-color: transparent; outline: none; }
.hos-kutya:focus-visible .hk-svg { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 24px; }
.hk-svg { width: 100%; height: auto; display: block; overflow: visible; }
.hk-nev { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); font-size: .78rem; font-weight: 800; color: var(--muted); white-space: nowrap; background: color-mix(in srgb, var(--surface) 80%, transparent); padding: 2px 10px; border-radius: 999px; }
.hk-nev small { font-weight: 700; opacity: .8; }
.hk-farok { transform-origin: 226px 222px; animation: hk-csoval .55s ease-in-out infinite alternate; }
.hk-izgatott .hk-farok, .hk-orul .hk-farok { animation-duration: .16s; }
.hk-test { transform-origin: 160px 280px; animation: hk-legzes 3.2s ease-in-out infinite; }
.hk-fej { transform-origin: 160px 168px; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.hk-kerdez .hk-fej { transform: rotate(-13deg) !important; }
.hk-ful-b { transform-origin: 118px 90px; transition: transform .25s; } .hk-ful-j { transform-origin: 202px 90px; transition: transform .25s; }
.hk-izgatott .hk-ful-b, .hk-orul .hk-ful-b { transform: rotate(5deg) translateY(-2px); } .hk-izgatott .hk-ful-j, .hk-orul .hk-ful-j { transform: rotate(-5deg) translateY(-2px); }
.hk-kerdez .hk-ful-b { transform: rotate(14deg) translateY(-4px); }
.hk-szemoldok { transition: transform .25s; } .hk-kerdez .hk-szemoldok, .hk-izgatott .hk-szemoldok { transform: translateY(-4px); }
.hk-szemhej { transform-box: fill-box; transform-origin: center top; transform: scaleY(0); transition: transform .08s; }
.hk-pislog .hk-szemhej { transform: scaleY(1); }
.hk-pupilla { transition: transform .12s ease-out; }
.hk-nyelv { transform-origin: 160px 148px; animation: hk-liheg .45s ease-in-out infinite alternate; }
.hk-medal { transform-origin: 160px 186px; animation: hk-ingas 1.6s ease-in-out infinite alternate; }
.hk-orul .hk-svg { animation: hk-ugras .55s cubic-bezier(.3, 1.5, .5, 1) 2; }
.hk-orul .hk-arnyek { animation: hk-arnyek .55s ease 2; }
.hk-ki { animation: hk-ki .65s ease-in forwards; } .hk-be { animation: hk-be .7s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes hk-csoval { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
@keyframes hk-legzes { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.01, 1.025); } }
@keyframes hk-liheg { from { transform: scaleY(.82); } to { transform: scaleY(1.18); } }
@keyframes hk-ingas { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
@keyframes hk-ugras { 0%, 100% { transform: translateY(0) scale(1, 1); } 15% { transform: translateY(4px) scale(1.04, .95); } 50% { transform: translateY(-34px) scale(.98, 1.03); } }
@keyframes hk-arnyek { 50% { transform: scale(.7); opacity: .04; } }
@keyframes hk-ki { to { transform: translateX(140px) rotate(6deg); opacity: 0; } }
@keyframes hk-be { from { transform: translateX(-120px); opacity: 0; } to { transform: none; opacity: 1; } }
.hk-buborek { position: absolute; right: calc(max(16px, calc(50% - 600px)) + 10px); bottom: 300px; z-index: 3; background: var(--surface); color: var(--ink); font-weight: 800; padding: 10px 16px; border-radius: 18px 18px 18px 4px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .2s, transform .25s cubic-bezier(.3, 1.4, .5, 1); pointer-events: none; white-space: nowrap; }
.hk-buborek.lathato { opacity: 1; transform: none; }
.hk-sziv { position: absolute; z-index: 3000; font-size: 22px; pointer-events: none; animation: hk-sziv 1.6s ease-out forwards; }
@keyframes hk-sziv { from { transform: translate(0, 0) scale(.6); opacity: 1; } to { transform: translate(var(--dx), -140px) scale(1.3); opacity: 0; } }
@media (max-width: 1100px) {
  .hos-kutya { width: 210px; right: 10px; bottom: 4px; }
  .hk-buborek { right: 16px; bottom: 206px; max-width: 230px; }
  .hos .wrap > *:not(.kereso):not(.statok) { max-width: calc(100% - 190px); }
}
@media (max-width: 720px) {
  .hos-kutya { width: 108px; top: 14px; bottom: auto; right: 6px; }
  .hk-nev { display: none; }
  .hk-buborek { right: 18px; top: 118px; bottom: auto; font-size: .85rem; padding: 7px 12px; border-radius: 16px 4px 16px 16px; }
  .hos h1, .hos .lead { padding-right: 96px; max-width: none !important; }
  .hos .wrap > *:not(.kereso):not(.statok) { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hk-farok, .hk-test, .hk-nyelv, .hk-medal, .hk-orul .hk-svg, .hk-ki, .hk-be { animation: none !important; }
}
.statok { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-weight: 700; }
.statok b { display: block; font-size: 1.6rem; color: var(--ink); font-weight: 900; }

/* Szakaszok, kártyák */
.szakasz { padding: 44px 0; }
.szakasz.sav { background: var(--bg-2); }
.szakasz-fej { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.szakasz-fej p { margin: 0; color: var(--muted); }
.racs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.racs.ketto { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.kartya { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
a.kartya { color: inherit; text-decoration: none; display: block; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.kartya:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--kat, var(--brand)) 45%, var(--line)); }
.kat-csempe, a.kartya.kat-csempe { display: flex; gap: 14px; align-items: center; }
.kat-csempe .ikon { flex: 0 0 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: linear-gradient(145deg, var(--kat-soft, var(--brand-soft)), color-mix(in srgb, var(--kat-soft, var(--brand-soft)) 55%, var(--surface))); color: var(--kat, var(--brand)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kat, var(--brand)) 14%, transparent); transition: transform .2s; }
a.kartya:hover .ikon { transform: rotate(-6deg) scale(1.06); }
.kat-csempe .ikon svg { width: 28px; height: 28px; }
.kat-csempe h3 { margin: 0; font-size: 1.05rem; }
.kat-csempe p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Hely-kártya a listákban */
.hely-lista { display: grid; gap: 12px; }
.hely-kartya { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 16px 18px; }
.hely-kartya h3 { margin: 0; font-size: 1.07rem; }
.hely-kartya h3 a { color: var(--ink); text-decoration: none; }
.hely-kartya h3 a:hover { color: var(--brand); }
.hely-kartya .cim { color: var(--muted); font-size: .93rem; }
.hely-kartya .jobb { grid-row: span 2; display: flex; flex-direction: column; align-items: end; gap: 6px; }
.cimkek { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.cimke { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--bg-2); color: var(--muted); white-space: nowrap; }
.cimke.ok { background: var(--ok-soft); color: var(--ok); }
.cimke.warn { background: var(--warn-soft); color: var(--warn); }
.cimke.bad { background: var(--bad-soft); color: var(--bad); }
.cimke.brand { background: var(--brand-soft); color: var(--brand-2); }
.cimke.hirdetes { background: var(--accent-soft); color: var(--accent-2); }
.cimke svg { width: 13px; height: 13px; }

/* Térkép */
.terkep { height: 460px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-2); z-index: 1; }
.terkep.nagy { height: calc(100vh - 66px); height: calc(100dvh - 66px); border-radius: 0; border: 0; }
.leaflet-container { font-family: var(--font); }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content { margin: 12px 16px; font-size: .95rem; line-height: 1.45; }
.leaflet-popup-content b a { color: var(--ink); text-decoration: none; }
.tuske { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; background: var(--kat, var(--brand)); border: 2.5px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }
.tuske svg { transform: rotate(45deg); width: 16px; height: 16px; color: #fff; }
.pont { width: 12px; height: 12px; border-radius: 50%; background: var(--kat); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.marker-cluster-kutya { background: rgba(36, 72, 216, .22); border-radius: 50%; }
.marker-cluster-kutya div { width: 34px; height: 34px; margin: 4px; border-radius: 50%; background: #2448d8; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .85rem; }

.terkep-oldal { display: grid; grid-template-columns: 360px 1fr; }
.terkep-panel { height: calc(100dvh - 66px); overflow: auto; padding: 18px; border-right: 1px solid var(--line); background: var(--surface); }
.reteg { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; cursor: pointer; font-weight: 700; margin: 0; }
.reteg:hover { background: var(--bg-2); }
.reteg input { width: 18px; height: 18px; accent-color: var(--brand); }
.reteg .szin { width: 14px; height: 14px; border-radius: 50%; background: var(--kat); }
.reteg .db { margin-left: auto; color: var(--muted); font-size: .85rem; font-weight: 700; }
@media (max-width: 860px) {
  .terkep-oldal { grid-template-columns: 1fr; }
  .terkep-panel { height: auto; max-height: 46vh; border-right: 0; border-bottom: 1px solid var(--line); }
  .terkep.nagy { height: 70vh; }
}

/* Profillap */
.morzsa { font-size: .88rem; color: var(--muted); padding-top: 16px; }
.morzsa a { color: var(--muted); }
.morzsa ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.morzsa li + li::before { content: '›'; margin: 0 6px; }
.profil { display: grid; grid-template-columns: 1fr 380px; gap: 28px; padding-top: 18px; padding-bottom: 50px; }
.profil > * { min-width: 0; }
.ket-has > * { min-width: 0; }
@media (max-width: 960px) { .profil { grid-template-columns: 1fr; } }
.profil-fej { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.profil-fej .ikon { flex: 0 0 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--kat-soft); color: var(--kat); }
.profil-fej .ikon svg { width: 34px; height: 34px; }
.profil-fej h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0; }
.adatsor { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); align-items: start; }
.adatsor:last-child { border-bottom: 0; }
.adatsor svg { width: 20px; height: 20px; color: var(--brand); margin-top: 3px; }
.nyitva-tabla { width: 100%; border-collapse: collapse; font-size: .95rem; }
.nyitva-tabla td { padding: 4px 0; }
.nyitva-tabla td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.nyitva-tabla tr.ma td { font-weight: 850; color: var(--brand); }
.allapot { font-weight: 850; }
.allapot.nyitva { color: var(--ok); }
.allapot.zarva { color: var(--bad); }
.doboz { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); margin-bottom: 18px; }
.doboz h2 { font-size: 1.2rem; }
.doboz.figyelem { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.doboz.kiemelt { background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); border: 0; }
.utvonal-mod { display: flex; gap: 6px; margin: 10px 0; flex-wrap: wrap; }
.utvonal-mod button { flex: 1; }
.utvonal-mod button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.forras { font-size: .82rem; color: var(--muted); }

/* Listák, GYIK */
.oszlopok { columns: 4 200px; column-gap: 24px; }
.oszlopok a { display: block; padding: 3px 0; break-inside: avoid; }
.gyik details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.gyik summary { cursor: pointer; font-weight: 800; }
.gyik details[open] summary { margin-bottom: 8px; }
.ket-has { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .ket-has { grid-template-columns: 1fr; } }

/* Szűrők */
.szurok { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 16px; }
.szuro { border: 1.5px solid var(--line); background: var(--surface); padding: 7px 14px; border-radius: 999px; font: inherit; font-weight: 750; font-size: .9rem; cursor: pointer; color: var(--ink); }
.szuro[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Árazás */
.csomagok { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); align-items: stretch; }
.csomag { display: flex; flex-direction: column; }
.csomag .ar { font-size: 2.4rem; font-weight: 950; letter-spacing: -.03em; line-height: 1; margin: 6px 0 4px; }
.csomag .ar small { font-size: 1rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.csomag ul { padding: 0; list-style: none; margin: 16px 0 22px; flex: 1; }
.csomag li { padding: 6px 0 6px 28px; position: relative; }
.csomag li::before { content: ''; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.csomag.ajanlott { border: 2px solid var(--brand); position: relative; }
.csomag.ajanlott::after { content: 'Legnépszerűbb'; position: absolute; top: -13px; left: 20px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 900; padding: 3px 12px; border-radius: 999px; }

/* Hirdetés */
.hirdetes-hely { display: block; border: 1px dashed var(--line); border-radius: var(--r); padding: 12px; text-align: center; color: var(--muted); font-size: .85rem; }
.hirdetes-hely .jelzes { display: block; text-align: left; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }

/* Lábléc */
.lablec { background: var(--lablec); color: #c3cae6; padding: 48px 0 26px; margin-top: 30px; font-size: .95rem; }
.lablec a { color: #eef1fb; text-decoration: none; }
.lablec a:hover { text-decoration: underline; }
.lablec-racs { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .lablec-racs { grid-template-columns: 1fr 1fr; } }
.lablec h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.lablec ul { list-style: none; padding: 0; margin: 0; }
.lablec li { padding: 3px 0; }
.lablec .also { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 18px; font-size: .82rem; color: #97a0c4; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lablec .logo { color: #fff; }

/* Jogi szöveg */
.jogi { max-width: 820px; padding: 30px 0 60px; }
.jogi h2 { margin-top: 1.6em; font-size: 1.35rem; }
.jogi h3 { margin-top: 1.2em; }
.jogi table { border-collapse: collapse; width: 100%; font-size: .93rem; margin: 10px 0 18px; display: block; overflow-x: auto; }
.jogi th, .jogi td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.jogi th { background: var(--bg-2); }

/* Üzenetek */
.uzenet { padding: 12px 16px; border-radius: 12px; margin: 12px 0; font-weight: 650; }
.uzenet.ok { background: var(--ok-soft); color: var(--ok); }
.uzenet.hiba { background: var(--bad-soft); color: var(--bad); }
.uzenet.info { background: var(--brand-soft); color: var(--brand-2); }

/* Fajták */
.fajta-kartya { padding: 0; overflow: hidden; }
.fajta-kartya .kep { aspect-ratio: 4/3; background: var(--bg-2); display: grid; place-items: center; overflow: hidden; }
.fajta-kartya .kep img { width: 100%; height: 100%; object-fit: cover; }
.fajta-kartya .szoveg { padding: 12px 16px 16px; }
.fajta-kartya h3 { margin: 0; font-size: 1.02rem; }
.kep-licenc { font-size: .75rem; color: var(--muted); margin-top: 6px; }

/* Süti-sáv */
.suti-sav { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2000; max-width: 560px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: 18px; padding: 16px 18px; font-size: .92rem; }
.suti-sav p { margin: 0 0 10px; }

.rejtett { display: none !important; }
[hidden] { display: none !important; } /* a hidden attribútum mindig nyerjen (pl. .gomb, .doboz felett) */
.csapda { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Lista + térkép elrendezés (település- és ügyeletlapok) */
.lista-has { grid-template-columns: 1.1fr 1fr; }
.lista-terkep { position: sticky; top: 84px; }
@media (max-width: 900px) {
  .lista-has { grid-template-columns: 1fr; }
  .lista-terkep { position: static; order: -1; }
  .lista-terkep .terkep { height: 300px; }
}

/* Főoldali térkép */
.fo-terkep { height: 580px; }
@media (max-width: 720px) { .fo-terkep { height: 460px; } .fo-retegek { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; } .fo-retegek .szuro { flex: 0 0 auto; } }
.reteg-chip { display: inline-flex; align-items: center; gap: 7px; }
.reteg-chip .szin { width: 11px; height: 11px; border-radius: 50%; background: var(--kat); }
.reteg-chip[aria-pressed="false"] { opacity: .6; }
.reteg-chip[aria-pressed="true"] { background: color-mix(in srgb, var(--kat) 14%, var(--surface)); color: var(--ink); border-color: var(--kat); }
.reteg-chip[aria-pressed="true"] .muted { color: var(--ink); }

/* Ingyenes megjelenés doboz */
.ingyen-doboz { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.ingyen-gombok { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 760px) { .ingyen-doboz { grid-template-columns: 1fr; } .ingyen-gombok { flex-direction: row; flex-wrap: wrap; } }
.pipa-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pipa-lista li { position: relative; padding-left: 28px; }
.pipa-lista li::before { content: ''; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.roviden { border-left: 4px solid var(--brand); background: var(--surface); padding: 14px 18px; border-radius: 0 14px 14px 0; margin: 14px 0; box-shadow: var(--shadow); }
.roviden p { margin: 0; }

/* Mobilon a térkép legyen azonnal látható: tömörebb hős szakasz */
@media (max-width: 720px) {
  .hos { padding: 22px 0 14px; }
  .hos h1 { font-size: 1.75rem; margin-bottom: .3em; }
  .hos .lead { font-size: .98rem; margin-bottom: 0; }
  .kereso { margin-top: 14px; padding: 6px; gap: 6px; }
  .statok { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; font-size: .72rem; line-height: 1.25; }
  .statok b { font-size: 1.1rem; }
  .fo-terkep-sav { padding-top: 18px; }
  .fo-terkep-sav .szakasz-fej { margin-bottom: 10px; }
  .fo-terkep-sav .szakasz-fej p { display: none; }
}

/* Külső navigációs gombok */
.navi-gombok { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 4px; }
.navi-gombok .gomb { flex: 1 1 120px; }
.navi-google { background: #1a73e8; } .navi-google:hover { background: #1557b0; }
.navi-waze { background: #33ccff; color: #062b3a !important; } .navi-waze:hover { background: #12b5ea; }
.navi-apple { background: #111; } .navi-apple:hover { background: #333; }

/* Nyitvatartás-szerkesztő */
.ny-szerk { display: grid; gap: 6px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 10px; }
.ny-sor { display: grid; grid-template-columns: 92px 64px 1fr; gap: 8px; align-items: center; }
.ny-sor .nap { font-weight: 800; }
.ny-sor .szakok { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ny-sor .szak { display: flex; gap: 4px; align-items: center; }
.ny-sor input[type=time] { width: 112px; padding: 7px 8px; border-radius: 10px; }
.ny-sor .zarva { color: var(--muted); font-size: .9rem; }
.ny-kapcs { position: relative; width: 46px; height: 26px; border-radius: 999px; background: var(--line); border: 0; cursor: pointer; transition: background .15s; }
.ny-kapcs::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s; }
.ny-kapcs[aria-checked="true"] { background: var(--ok); }
.ny-kapcs[aria-checked="true"]::after { transform: translateX(20px); }
.ny-gyors { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.ny-gyors .szuro { font-size: .82rem; padding: 5px 11px; }
@media (max-width: 560px) { .ny-sor { grid-template-columns: 70px 52px 1fr; } .ny-sor input[type=time] { width: 96px; } }
/* Címjavaslat-lista */
.cim-mezo { position: relative; }
.cim-lista { position: absolute; z-index: 1200; left: 0; right: 0; top: 74px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); max-height: 300px; overflow: auto; }
.cim-lista li { padding: 9px 12px; border-radius: 10px; cursor: pointer; display: flex; gap: 10px; align-items: baseline; }
.cim-lista li small { color: var(--muted); }
.cim-lista li[aria-selected="true"], .cim-lista li:hover { background: var(--brand-soft); }
.kiemelt-kartya { border: 1.5px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: linear-gradient(135deg, var(--surface), var(--accent-soft)); }
.kiemelt-doboz { margin-bottom: 14px; }
.setaltato-kartya { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; }
.setaltato-kartya h3 a { color: var(--ink); text-decoration: none; }
@media (max-width: 520px) { .setaltato-kartya { grid-template-columns: auto 1fr; } .setaltato-kartya > .gomb { grid-column: 1 / -1; } }

/* Logó és galéria feltöltése */
.media-szerk { margin-bottom: 22px; }
.media-sor { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.media-logo { width: 84px; height: 84px; border-radius: 22px; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; color: var(--muted); font-weight: 800; border: 1.5px dashed var(--line); }
.media-logo img { width: 100%; height: 100%; object-fit: cover; }
.media-drop { border: 2px dashed var(--line); border-radius: 18px; padding: 22px; text-align: center; background: var(--bg); transition: border-color .15s, background .15s; }
.media-drop.aktiv, .media-drop:focus-visible { border-color: var(--brand); background: var(--brand-soft); }
.media-racs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 12px; }
.media-kep { position: relative; margin: 0; }
.media-kep img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; }
.media-kep.tolt { aspect-ratio: 1; border-radius: 14px; background: var(--bg-2); display: grid; place-items: center; text-align: center; padding: 8px; }
.media-x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-weight: 900; }
/* Galéria az adatlapon */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.galeria a { display: block; border-radius: 14px; overflow: hidden; }
.galeria img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .25s; }
.galeria a:hover img { transform: scale(1.04); }
.galeria a:first-child { grid-column: span 2; grid-row: span 2; }
.nagykep { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94vh; }
.nagykep::backdrop { background: rgba(10, 12, 25, .88); }
.nagykep img { max-width: 100%; max-height: 86vh; border-radius: 12px; display: block; margin: 0 auto; }
.nagykep p { color: #fff; text-align: center; margin: 8px 0 0; }
.nagykep .lapoz { position: fixed; top: 50%; transform: translateY(-50%); border: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 1.4rem; cursor: pointer; }
.nagykep .lapoz.bal { left: 12px; } .nagykep .lapoz.jobb { right: 12px; }
.nagykep .zar { position: fixed; top: 12px; right: 12px; border: 0; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 1.2rem; cursor: pointer; }
.profil-logo { flex: 0 0 72px; height: 72px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.profil-logo img { width: 100%; height: 100%; object-fit: cover; }

/* A kutya buboréka linkkel, és a sarokban ülő kísérő */
a.hk-buborek { text-decoration: none; display: block; }
.hk-buborek { white-space: normal; max-width: 270px; line-height: 1.35; }
.hk-buborek.hk-link { pointer-events: auto; cursor: pointer; border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.hk-buborek.hk-link:hover { background: var(--brand-soft); color: var(--ink); }
.hk-buborek .hk-nyil { color: var(--brand); font-size: 1.15em; }

/* ===== Finomítások: szép legördülő, javaslatlista ===== */
.sv, .sj { position: relative; min-width: 0; }
.sv-nativ { position: absolute !important; inset: 0; opacity: 0; pointer-events: none; }
.sv-gomb { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 8px 12px 8px 10px; font: inherit; font-weight: 750; color: var(--ink); text-align: left;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.sv-gomb:hover { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.sv-gomb:focus-visible, .sv.nyitva .sv-gomb { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.sv-szoveg { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-nyil { flex: 0 0 auto; color: var(--muted); transition: transform .2s; }
.sv.nyitva .sv-nyil { transform: rotate(180deg); color: var(--brand); }
.sv-ikon { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--kat-soft, var(--brand-soft)); color: var(--kat, var(--brand)); }
.sv-ikon svg { width: 18px; height: 18px; }
.sv-lista { position: absolute; z-index: 1300; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg); max-height: min(380px, 60vh); overflow: auto; overscroll-behavior: contain; animation: menu-be .14s ease-out; min-width: 240px; }
.sv-lista li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; cursor: pointer; font-weight: 700; line-height: 1.3; }
.sv-lista li.aktiv { background: var(--bg-2); }
.sv-lista li[aria-selected="true"] { color: var(--brand-2); }
.sv-pipa { margin-left: auto; color: var(--brand); opacity: 0; flex: 0 0 auto; }
.sv-lista li[aria-selected="true"] .sv-pipa { opacity: 1; }
.sj-lista li { font-weight: 650; }
.sj-lista li b { color: var(--brand-2); font-weight: 900; }
.sj-pin { color: var(--muted); flex: 0 0 auto; }
.sj-lista li.aktiv .sj-pin { color: var(--brand); }
.sj-cim { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 900 !important; cursor: default !important; padding: 6px 10px 4px !important; }
.kereso .sv-lista { top: calc(100% + 10px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3abc8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); } }

/* ===== Szakaszfej-gombok, rétegchipek ===== */
.szakasz-gombok { display: flex; gap: 8px; flex-wrap: wrap; }
.fo-retegek { scrollbar-width: none; }
.fo-retegek::-webkit-scrollbar { display: none; }
@media (max-width: 720px) {
  .szakasz-fej { align-items: center; }
  .fo-terkep-sav .szakasz-fej { flex-wrap: nowrap; }
  .fo-terkep-sav .szakasz-fej h2 { margin: 0; }
  .szakasz-gombok .gomb { padding: 8px 13px; font-size: .88rem; }
  .fo-terkep-sav .szakasz-gombok a.gomb { display: none; }
  .fo-retegek { margin: 8px -16px 12px; padding: 2px 16px 6px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); }
}

/* ===== Kategóriacsempék ===== */
.kat-szoveg { min-width: 0; }
.kat-csempe .db { display: block; font-weight: 800; color: var(--kat, var(--ink)); font-size: .86rem; margin: 1px 0 2px; }
.kat-csempe .elvalaszto { display: none; }
a.kartya.kat-csempe { padding: 16px; }
@media (max-width: 560px) {
  .racs:has(> .kat-csempe) { grid-template-columns: 1fr 1fr; gap: 10px; }
  a.kartya.kat-csempe { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 16px; }
  .kat-csempe .ikon { flex-basis: 44px; width: 44px; height: 44px; border-radius: 14px; }
  .kat-csempe .ikon svg { width: 23px; height: 23px; }
  .kat-csempe h3 { font-size: .98rem; line-height: 1.25; }
  .kat-csempe p { font-size: .82rem; line-height: 1.35; margin-top: 3px; }
  .kat-csempe .leiras, .kat-csempe .elvalaszto { display: none; }
  .kat-csempe p:not(:has(.db)) .leiras { display: inline; }
}

/* ===== Hely-kártya ===== */
.hely-kartya { transition: border-color .15s, box-shadow .15s; }
.hely-kartya:hover { border-color: color-mix(in srgb, var(--kat, var(--brand)) 40%, var(--line)); box-shadow: var(--shadow-lg); }
.hely-kartya h3 { line-height: 1.3; }
.hely-lista.ketoszlop { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
@media (max-width: 560px) {
  .hely-kartya { grid-template-columns: 1fr; padding: 14px 16px; border-radius: 16px; }
  .hely-kartya .jobb { grid-row: auto; flex-direction: row; align-items: center; margin-top: 8px; gap: 8px; }
  .hely-kartya .jobb .gomb { flex: 1; min-height: 42px; }
  .hely-kartya .cimkek:not(:has(.cimke:not(.rejtett))) { display: none; }
}

/* ===== Linkfelhő, településlisták ===== */
.link-felho { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.link-felho a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 750; font-size: .93rem; transition: border-color .15s, color .15s, transform .15s; }
.link-felho a::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.link-felho a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.link-felho.kicsi a { padding: 6px 12px; font-size: .86rem; }
.link-felho.kicsi a::before { display: none; }
.kereses-racs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin-top: 8px; }
.kereses-racs h4 { margin: 0 0 2px; font-size: 1rem; }
.oszlopok a { text-decoration: none; color: var(--ink); padding: 6px 8px; margin: 0 -8px; border-radius: 9px; font-weight: 650; }
.oszlopok a:hover { background: var(--surface); color: var(--brand); }
@media (max-width: 560px) { .oszlopok { columns: 2; column-gap: 12px; font-size: .93rem; } }

/* ===== GYIK, morzsa, doboz ===== */
.gyik details { transition: border-color .15s, box-shadow .15s; padding: 0; }
.gyik summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border-radius: 14px; }
.gyik summary::-webkit-details-marker { display: none; }
.gyik summary::after { content: ''; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232448d8' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
.gyik details[open] summary::after { transform: rotate(45deg); }
.gyik details[open] { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--shadow); }
.gyik details[open] summary { margin-bottom: 0; }
.gyik details > :not(summary) { padding: 0 18px; }
.gyik details > :last-child:not(summary) { padding-bottom: 16px; }
.gyik summary:hover { color: var(--brand); }
@media (max-width: 720px) {
  .morzsa ol { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .morzsa ol::-webkit-scrollbar { display: none; }
  .morzsa li[aria-current] { overflow: hidden; text-overflow: ellipsis; }
  .doboz { padding: 18px 16px; border-radius: 16px; }
  .szakasz { padding: 34px 0; }
  .gomb { min-height: 44px; }
  .gomb.kicsi { min-height: 38px; }
}

/* ===== Adatlap ===== */
.utvonal-urlap { display: grid; grid-template-columns: 1fr auto auto; gap: 6px; }
.utvonal-urlap input { min-width: 0; }
@media (max-width: 480px) { .utvonal-urlap { grid-template-columns: 1fr 1fr; } .utvonal-urlap input { grid-column: 1 / -1; } }
.profil-tovabbi { margin-top: 10px; }
.profil-fej { align-items: flex-start; }
@media (max-width: 720px) { .profil-fej .ikon, .profil-logo { flex-basis: 56px; height: 56px; border-radius: 17px; } .profil-fej h1 { font-size: 1.55rem; } }

/* ===== Térkép-vezérlők ===== */
.leaflet-bar { border: 0 !important; box-shadow: var(--shadow) !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-bar a { width: 34px !important; height: 34px !important; line-height: 34px !important; color: var(--ink) !important; background: var(--surface) !important; border-color: var(--line) !important; }
.leaflet-bar a:hover { background: var(--bg-2) !important; color: var(--brand) !important; }
.leaflet-popup-content-wrapper { box-shadow: var(--shadow-lg); }
.leaflet-control-attribution { font-size: 10px; border-radius: 8px 0 0 0; }

/* ===== Lábléc ===== */
.lablec { margin-top: 0; padding-top: 52px; }
main:not(:has(> :last-child.sav)) { padding-bottom: 30px; }
.lablec-racs { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px 24px; }
.lablec-marka p { margin: 12px 0; }
.lablec-marka .gomb { white-space: nowrap; }
.lablec li { padding: 4px 0; }
.lablec a:not(.gomb):hover { color: #fff; text-decoration: underline; }
@media (max-width: 1080px) { .lablec-racs { grid-template-columns: repeat(3, 1fr); } .lablec-marka { grid-column: 1 / -1; max-width: 560px; } }
@media (max-width: 620px) {
  .lablec { padding-top: 36px; font-size: .92rem; }
  .lablec-racs { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .lablec h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: #97a0c4; }
  .lablec .also { flex-direction: column; gap: 6px; padding-bottom: 76px; }
}

/* ===== Kutyapp segítő (chatbot) ===== */
.segito { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 1600; font-size: 16px; }
.sg-gomb { position: relative; width: 66px; height: 66px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; overflow: visible;
  background: radial-gradient(circle at 30% 25%, #4a6bff, #2448d8 60%, #1a37b0); box-shadow: 0 10px 28px color-mix(in srgb, var(--brand) 45%, transparent), inset 0 -3px 0 rgba(0, 0, 0, .12);
  transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.sg-gomb:hover { transform: translateY(-2px) scale(1.04); }
.sg-gomb:active { transform: scale(.96); }
.sg-gomb-kutya { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; display: block; pointer-events: none; }
.sg-gomb-kutya .hk-svg { width: 100%; height: 100%; transform: translateY(5px) scale(1.08); }
.sg-gomb-kutya.hk-orul .hk-svg { animation: sg-ugras .5s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes sg-ugras { 50% { transform: translateY(-1px) scale(1.14); } }
.sg-gomb-jel { position: absolute; top: -2px; right: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 950; font-size: .8rem; display: grid; place-items: center; border: 2px solid var(--surface); }
.segito.nyitva .sg-gomb { transform: scale(.88); }
.segito.nyitva .sg-gomb-jel { display: none; }
.sg-tipp { position: absolute; right: 4px; bottom: 80px; width: max-content; max-width: min(300px, calc(100vw - 40px)); opacity: 0; transform: translateY(8px) scale(.94); transform-origin: bottom right;
  transition: opacity .2s, transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.sg-tipp.lathato { opacity: 1; transform: none; }
.sg-tipp-szoveg { display: block; background: var(--surface); color: var(--ink); font-weight: 800; line-height: 1.38; padding: 12px 34px 12px 16px; border-radius: 18px 18px 4px 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-decoration: none; cursor: pointer; font-size: .95rem; }
.sg-tipp-szoveg.link { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.sg-tipp-szoveg.link b { color: var(--brand); }
.sg-tipp-szoveg:hover { background: var(--brand-soft); color: var(--ink); }
.sg-tipp-zar { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--muted); font-size: .7rem; cursor: pointer; }
.sg-tipp-zar:hover { color: var(--ink); }
.sg-panel { position: absolute; right: 0; bottom: 80px; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 120px)); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 80px rgba(15, 22, 48, .28); overflow: hidden; transform-origin: bottom right; animation: sg-be .22s cubic-bezier(.2, 1.1, .4, 1); }
.sg-panel[hidden] { display: none; }
@keyframes sg-be { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.sg-fej { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; background: linear-gradient(135deg, #2448d8, #1a37b0); color: #fff; }
.sg-fej h2 { font-size: 1.05rem; margin: 0; color: #fff; }
.sg-fej p { margin: 0; font-size: .8rem; opacity: .85; display: flex; align-items: center; gap: 6px; }
.sg-fej > div { flex: 1; min-width: 0; }
.sg-pont { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25); }
.sg-avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.sg-avatar svg { width: 100%; height: 100%; transform: translateY(3px) scale(1.08); }
.sg-zar, .sg-ujra, .sg-beall { flex: 0 0 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.sg-zar:hover, .sg-ujra:hover { background: rgba(255, 255, 255, .26); }
.sg-uzenetek { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 8px; background:
  radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brand) 8%, transparent) 1px, transparent 1.5px) 0 0 / 18px 18px, var(--bg); scroll-behavior: smooth; }
.sg-uz { max-width: 88%; padding: 10px 14px; border-radius: 18px; line-height: 1.45; font-size: .95rem; animation: sg-uz .2s ease-out; overflow-wrap: anywhere; }
@keyframes sg-uz { from { opacity: 0; transform: translateY(6px); } }
.sg-uz p { margin: 0 0 6px; }
.sg-uz p:last-child { margin: 0; }
.sg-uz.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(20, 30, 80, .04); }
.sg-uz.en { align-self: flex-end; background: #2448d8; color: #fff; border-bottom-right-radius: 6px; font-weight: 700; }
.sg-uz a { font-weight: 800; }
.sg-hasonlo { color: var(--muted); font-size: .88rem; }
.sg-linkek { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.sg-linkek a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-2); text-decoration: none; font-weight: 800; font-size: .92rem; }
.sg-linkek a:hover { background: var(--brand); color: #fff; }
.sg-chipek { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 6px; }
.sg-chip-cim { width: 100%; margin: 4px 0 0; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 900; color: var(--muted); }
.sg-chip { font: inherit; font-size: .88rem; font-weight: 750; text-align: left; line-height: 1.3; padding: 8px 13px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--brand) 30%, var(--line)); background: var(--surface); color: var(--brand-2); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.sg-chip:hover:not(:disabled) { background: var(--brand-soft); border-color: var(--brand); }
.sg-chip.tema { font-weight: 850; color: var(--ink); border-color: var(--line); padding: 10px 14px; }
.sg-chip.vissza { border-style: dashed; color: var(--muted); }
.sg-chip:disabled { cursor: default; opacity: .45; }
.sg-chip.valasztott { opacity: 1; background: var(--brand-soft); border-color: var(--brand); }
.sg-chipek:has(.valasztott) { display: none; }
.sg-gepel { display: inline-flex; gap: 4px; padding: 4px 2px; }
.sg-gepel i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .5; animation: sg-pont 1s infinite; }
.sg-gepel i:nth-child(2) { animation-delay: .15s; } .sg-gepel i:nth-child(3) { animation-delay: .3s; }
@keyframes sg-pont { 30% { transform: translateY(-4px); opacity: 1; } }
.sg-urlap { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.sg-urlap input { border-radius: 999px; padding: 10px 16px; background: var(--bg); min-height: 44px; font-size: 16px; }
.sg-kuld { flex: 0 0 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; display: grid; place-items: center; }
.sg-kuld:hover { background: var(--accent-2); color: #fff; }
.sg-labjegy { margin: 0; padding: 0 14px 10px; background: var(--surface); font-size: .72rem; color: var(--muted); text-align: center; }
@media (max-width: 720px) {
  .segito { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .sg-gomb { width: 58px; height: 58px; }
  .sg-gomb-kutya { width: 52px; height: 52px; }
  .sg-tipp { bottom: 70px; }
  .sg-tipp-szoveg { font-size: .9rem; }
  .segito.nyitva { inset: 0; right: 0; bottom: 0; }
  .segito.nyitva .sg-gomb { display: none; }
  .sg-panel { position: fixed; inset: auto 0 0 0; width: 100%; height: min(88dvh, 720px); border-radius: 24px 24px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0px); animation-name: sg-fel; }
  .segito.nyitva::before { content: ''; position: fixed; inset: 0; background: rgba(10, 14, 30, .45); animation: sg-hatter .2s ease-out; }
  @keyframes sg-fel { from { transform: translateY(100%); } }
  @keyframes sg-hatter { from { opacity: 0; } }
  html.sg-zarolt, html.sg-zarolt body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .sg-panel, .sg-uz, .sg-tipp, .sg-gepel i { animation: none !important; transition: none !important; } }
@media print { .segito { display: none; } }

/* Rétegek: összes mutatása / elrejtése */
.reteg-gyors { display: inline-flex; gap: 6px; flex: 0 0 auto; padding-right: 8px; margin-right: 2px; border-right: 1.5px solid var(--line); }
.reteg-gyors .szuro { background: var(--bg-2); border-color: transparent; color: var(--brand-2); font-size: .85rem; }
.reteg-gyors .szuro:hover { border-color: var(--brand); }
.reteg-fej { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 10px 0 4px; flex-wrap: wrap; }
.reteg-fej h2 { font-size: 1rem; margin: 0; }
.reteg-fej span { display: flex; gap: 10px; }
.szoveg-gomb { border: 0; background: none; padding: 2px 0; font: inherit; font-size: .84rem; font-weight: 800; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: .08em; }
.szoveg-gomb:hover { color: var(--brand-2); }

/* Címjavasló (/terkep/) */
.cj { flex: 1; }
.cj-lista { right: auto; width: max(100%, 360px); max-width: calc(100vw - 32px); }
.cj-lista li { align-items: center; }
.cj-ikon { flex: 0 0 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); }
.cj-lista li.aktiv .cj-ikon { background: var(--brand-soft); color: var(--brand); }
.cj-szoveg { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.cj-szoveg > span { overflow-wrap: anywhere; }
.cj-szoveg small { color: var(--muted); font-weight: 650; font-size: .78rem; }
.cj-tolt { color: var(--muted); font-size: .85rem; cursor: default !important; gap: 8px; }

/* Keresési találatok térképpel */
.kereses-oldal { padding-top: 26px; padding-bottom: 40px; }
.kereses-terkep { height: 440px; margin: 6px 0 22px; }
@media (max-width: 720px) { .kereses-terkep { height: 340px; margin: 4px -16px 18px; border-radius: 0; border-left: 0; border-right: 0; } }
.sorszam { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; margin-right: 8px; border-radius: 999px; background: var(--kat, var(--brand)); color: #fff; font-size: .78rem; font-weight: 900; vertical-align: 2px; }
.csomag.reflektor { border: 2px solid color-mix(in srgb, var(--accent) 60%, var(--line)); background: linear-gradient(170deg, var(--surface) 55%, var(--accent-soft)); position: relative; }
.csomag.reflektor::after { content: 'Hirdetéssel'; position: absolute; top: -13px; left: 20px; background: var(--accent); color: var(--accent-ink); font-size: .78rem; font-weight: 900; padding: 3px 12px; border-radius: 999px; }

/* Logóválasztó (admin) */
.logo-minta h2 { font-size: 1.1rem; }
.lm-fej { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.lm-menu { font-weight: 700; font-size: .85rem; color: var(--muted); }
.lm-sotet { margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: var(--lablec); }
.lm-sotet .logo { color: #fff; }
.lm-ikonok { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.lm-ikonok svg { display: block; width: 100%; height: 100%; }
.lm-app { width: 72px; height: 72px; } .lm-32 { width: 32px; height: 32px; } .lm-16 { width: 16px; height: 16px; }

/* Kiegészítők: nagy weboldal-kártya, mellette a három kisebb egymás alatt */
.kieg-racs { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: stretch; }
.kieg-oszlop { display: grid; gap: 14px; }
.kieg-oszlop .kartya p:last-child { margin-bottom: 0; }
.weboldal-kartya { border: 2px solid color-mix(in srgb, var(--brand) 35%, var(--line)); background: linear-gradient(165deg, var(--surface) 60%, var(--brand-soft)); }
@media (max-width: 900px) { .kieg-racs { grid-template-columns: 1fr; } }

/* ===== Kutyapp Plusz az adatlapon ===== */
.cimke.plusz-jel { background: linear-gradient(135deg, var(--brand), #6b5bff); color: #fff; margin-top: 6px; }
.fontos-hir { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 12px 0; border-radius: 16px; background: var(--brand-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.fontos-hir svg { flex: 0 0 auto; color: var(--brand); margin-top: 2px; }
.fontos-hir p { margin: 0; }
.fontos-hir.figyelem { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.fontos-hir.figyelem svg { color: var(--warn); }
.storyk { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; margin: 8px 0 4px; scrollbar-width: none; }
.storyk::-webkit-scrollbar { display: none; }
.storyk a { flex: 0 0 auto; width: 78px; text-align: center; text-decoration: none; color: var(--ink); font-size: .74rem; font-weight: 750; line-height: 1.2; }
.storyk img { display: block; width: 72px; height: 72px; margin: 0 auto 5px; border-radius: 50%; object-fit: cover; padding: 3px; background: linear-gradient(135deg, var(--accent), var(--brand)); border: 0; box-shadow: inset 0 0 0 3px var(--surface); }
.storyk span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hirfolyam .bejegyzes { padding: 16px 0; border-top: 1px solid var(--line); }
.hirfolyam .bejegyzes:first-of-type { border-top: 0; padding-top: 4px; }
.bj-fej { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.bj-szoveg { white-space: pre-line; margin: 0 0 10px; }
.bj-kepek { display: grid; gap: 6px; grid-template-columns: repeat(2, 1fr); margin-bottom: 10px; }
.bj-kepek.db-1 { grid-template-columns: 1fr; }
.bj-kepek a { display: block; border-radius: 12px; overflow: hidden; }
.bj-kepek img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.bj-kepek.db-1 img { aspect-ratio: 16/10; }
.bejegyzes.rogzitett { background: linear-gradient(180deg, var(--brand-soft), transparent 70%); margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.fa-szuro { margin-bottom: 10px; }
.fa-tabla-tarto { overflow-x: auto; margin: 0 -4px; }
.fa-tabla { width: 100%; border-collapse: collapse; font-size: .93rem; }
.fa-tabla th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 6px 4px; border-bottom: 1.5px solid var(--line); }
.fa-tabla td { padding: 8px 4px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.fa-ar { text-align: right; white-space: nowrap; font-weight: 800; font-variant-numeric: tabular-nums; }
.fa-kep { margin-top: 12px; }
.fa-kep img { width: 100%; height: auto; border-radius: 12px; display: block; }
.plusz-linkek { display: flex; flex-wrap: wrap; gap: 6px 14px; }

/* ===== Kutyapp Plusz eszközök (fiók) ===== */
.pl-panel { container-type: inline-size; border: 1.5px solid color-mix(in srgb, var(--brand) 30%, var(--line)); border-radius: 18px; padding: 16px; background: var(--bg); }
.pl-fej { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pl-fej h3 { margin: 0; }
.pl-fulek { margin: 12px 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.pl-fulek .szuro { flex: 0 0 auto; }
.pl-fulek .szuro[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pl-tartalom h4 { margin: 16px 0 8px; }
.pl-zarolt { padding: 18px; border-radius: 16px; border: 1.5px dashed color-mix(in srgb, var(--accent) 50%, var(--line)); background: linear-gradient(135deg, var(--surface), var(--accent-soft)); }
.pl-zarolt p { margin: 0 0 8px; }
.pl-teaser { text-align: center; padding: 10px 0 16px; }
.pl-teaser .pl-nagy { font-size: 2.6rem; font-weight: 950; line-height: 1; margin: 0; color: var(--brand); }
.pl-teaser p { margin: 4px 0 0; font-weight: 700; }
.pl-idoszak { display: flex; gap: 6px; margin-bottom: 12px; }
.pl-idoszak .szuro[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.pl-statok { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.pl-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; }
.pl-stat b { font-size: 1.5rem; font-weight: 950; line-height: 1.1; }
.pl-stat span { font-size: .8rem; color: var(--muted); font-weight: 700; }
.pl-stat small { font-weight: 800; font-size: .76rem; margin-top: 2px; }
.pl-stat small.fel { color: var(--ok); } .pl-stat small.le { color: var(--bad); }
.pl-grafikon { display: flex; align-items: flex-end; gap: 2px; height: 120px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.pl-grafikon span { flex: 1; min-height: 2px; background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--surface))); border-radius: 3px 3px 0 0; }
.pl-urlap { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.pl-sor { display: grid; grid-template-columns: 150px 1fr 1fr auto; gap: 6px; align-items: center; margin-bottom: 6px; }
.pl-ar-sor { grid-template-columns: 1.1fr 1.4fr .8fr 1.2fr auto; }
.pl-sor input, .pl-sor select { padding: 8px 10px; }
.pl-sor select { padding-right: 34px; background-position: right 10px center; }
.pl-sor-gombok { display: flex; gap: 8px; }
@container (max-width: 640px) {
  .pl-sor, .pl-ar-sor { grid-template-columns: 1fr 1fr; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
  .pl-sor > :first-child { grid-column: 1 / -1; }
  .pl-sor-gombok { justify-content: flex-end; }
  .pl-qr-has { grid-template-columns: 1fr; }
}
.pl-bj { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.pl-bj img { border-radius: 10px; object-fit: cover; display: block; }
.pl-bj-gombok { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.pl-elink { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pl-elink span { font-weight: 800; color: var(--muted); }
.pl-elink input { flex: 1; min-width: 140px; }
.pl-qr-has { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: start; }
.pl-qr-has img { width: 200px; height: 200px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: block; }
.pl-qr input[type=color] { width: 44px; height: 34px; padding: 2px; vertical-align: middle; cursor: pointer; }
@media (max-width: 560px) { .pl-qr-has { grid-template-columns: 1fr; } }

/* ===== QR-kód-készítő (fiók) ===== */
.qrg { container-type: inline-size; display: grid; grid-template-columns: 1fr; gap: 14px; }
@container (min-width: 620px) { .qrg { grid-template-columns: 1.25fr 1fr; } .qrg-elo { position: sticky; top: 84px; } }
.qrg-blokk { border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
.qrg-blokk h5 { margin: 0 0 8px; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
fieldset.qrg-blokk[disabled] { opacity: .5; }
.qrg-blokk label.small { display: block; margin: 0 0 4px; font-weight: 750; }
.qrg-pillek { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.qrg-pillek .szuro { font-size: .84rem; padding: 6px 12px; }
.qrg-pillek .szuro[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.qrg-pillek .szuro:disabled { opacity: .45; cursor: not-allowed; }
.qrg-szinek { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.qrg-szinek button { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--surface); background: var(--c); box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; }
.qrg-szinek button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--brand); }
.qrg-sajat { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 750; cursor: pointer; margin: 0; }
.qrg-sajat input { width: 34px; height: 34px; padding: 2px; border-radius: 50%; cursor: pointer; }
.qrg-figy { background: var(--warn-soft); color: var(--warn); padding: 8px 12px; border-radius: 10px; font-size: .85rem; font-weight: 700; margin: 6px 0 0; }
.qrg-elo { min-width: 0; }
.qrg-kep { aspect-ratio: 1; max-width: 340px; margin: 0 auto; padding: 18px; border-radius: 22px; box-shadow: var(--shadow-lg);
  background: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brand) 12%, transparent) 1px, transparent 1.5px) 0 0 / 14px 14px, linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); }
.qrg-kep svg { width: 100%; height: 100%; display: block; border-radius: 10px; }
.qrg-tartalom { margin: 10px 0 8px; text-align: center; overflow-wrap: anywhere; }
.qrg-tartalom code { font-size: .78rem; }
.qrg-elo .qrg-pillek { justify-content: center; }
.qrg-elo > p:has(.gomb) { justify-content: center; }
.qrg-atmenet { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.qrg-atmenet .jelolo { margin: 0; }
.qrg-atmenet input[type=color] { width: 34px; height: 28px; padding: 2px; cursor: pointer; }

/* ===== Nagy térkép (teljes képernyő telefonon, nagy ablak gépen) ===== */
.terkep-nagyito { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: .84rem;
  padding: 8px 12px; border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.terkep-nagyito:hover { color: var(--brand); }
.terkep-teljes { position: fixed !important; z-index: 2600; inset: 0; width: auto !important; height: 100dvh !important; margin: 0 !important; border-radius: 0 !important; border: 0 !important; }
html.terkep-nyitva, html.terkep-nyitva body { overflow: hidden; }
html.terkep-nyitva .segito { display: none; }
@media (min-width: 900px) {
  html.terkep-nyitva body::after { content: ''; position: fixed; inset: 0; z-index: 2500; background: rgba(10, 14, 30, .55); }
  .terkep-teljes { inset: 32px; height: calc(100dvh - 64px) !important; border-radius: 22px !important; box-shadow: 0 30px 90px rgba(0, 0, 0, .45); }
}
.terkep-teljes .terkep-nagyito { background: var(--ink); color: var(--bg); padding: 10px 14px; }
.terkep-info { background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .95rem; line-height: 1.35;
  max-width: calc(100vw - 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 14px !important; }
.terkep-info b { font-size: 1.15rem; }
.ti-gombok { display: inline-flex; gap: 6px; }
.ti-gombok a { padding: 6px 12px; border-radius: 999px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 800; font-size: .82rem; }
.ti-gombok a + a { background: #33ccff; color: #062b3a; }
.leaflet-container .ti-gombok a, .leaflet-container .ti-gombok a:hover { color: #fff; }
.leaflet-container .ti-gombok a + a { color: #062b3a; }
.terkep:not(.terkep-teljes) .terkep-info { display: none; }

/* ===== Fiók: átláthatóbb irányítópult ===== */
.fk-fej { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.fk-fej h1 { font-size: 1.9rem; margin: 0; }
.fk-szakasz > h2 { margin: 0 0 12px; }
.fk-hely { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); margin-bottom: 18px; border-top: 5px solid var(--kat); }
.fk-hely-fej { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.fk-hely-fej h3 { margin: 0; font-size: 1.3rem; }
.fk-hely-fej p { margin: 2px 0 6px; }
.fk-hely-jobb { display: flex; align-items: center; gap: 12px; }
.fk-szam { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 14px; background: var(--kat-soft); }
.fk-szam b { font-size: 1.5rem; font-weight: 950; color: var(--ink); }
.fk-szam small { font-size: .72rem; line-height: 1.2; color: var(--muted); font-weight: 700; }
.fk-csempek { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 10px; margin-top: 16px; }
.fk-csempe { display: flex; gap: 12px; align-items: flex-start; text-align: left; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, background .15s, transform .12s; }
.fk-csempe:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); transform: translateY(-1px); }
.fk-csempe[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }
.fk-csempe b { display: block; font-size: .95rem; line-height: 1.25; }
.fk-csempe small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: 2px; }
.fk-ikon { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--brand); box-shadow: inset 0 0 0 1px var(--line); }
.fk-csempe[data-kiemelt] { background: linear-gradient(135deg, var(--surface), var(--accent-soft)); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.fk-csempe[data-kiemelt] .fk-ikon { color: var(--accent-2); }
.fk-panel:not(:empty) { margin-top: 14px; }
.fk-ketto { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.fk-ketto .doboz { margin: 0; }
.fk-beallitasok { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 14px; }
.fk-beallitasok > summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fk-beallitasok > summary::-webkit-details-marker { display: none; }
.fk-beallitasok > summary h2 { margin: 0; font-size: 1.3rem; }
.fk-beallitasok > summary h2::after { content: ' ▾'; color: var(--muted); font-size: .9em; }
.fk-beallitasok[open] > summary h2::after { content: ' ▴'; }
.fk-harom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 14px; }
.fk-harom .doboz { margin: 0; }
@media (max-width: 860px) { .fk-ketto, .fk-harom { grid-template-columns: 1fr; } .fk-csempek { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fk-csempek { grid-template-columns: 1fr; } .fk-hely { padding: 14px; } .fk-hely-jobb { width: 100%; justify-content: space-between; } }
.cimke.hamarosan { vertical-align: middle; font-size: .72rem; margin-left: 4px; }
.kieg-oszlop .kartya .gomb { margin-top: 2px; }

/* Az egész helykártya kattintható (a cím linkje kifeszül a kártyára; a gombok fölötte maradnak) */
.hely-kartya { position: relative; cursor: pointer; }
.hely-kartya h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.hely-kartya .jobb, .hely-kartya .jobb a, .hely-kartya .jobb button, .hely-kartya .cimkek a { position: relative; z-index: 2; }
.hely-kartya:has(h3 a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.hely-kartya h3 a:focus-visible { outline: none; }
.hely-kartya:hover h3 a { color: var(--brand); }

/* ===== Kutyapp-szerkesztő ===== */
.helyszini { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 4px; font-size: .92rem; color: var(--ok); }
.helyszini svg { flex: 0 0 auto; margin-top: 2px; }
.helyszini b { color: var(--ink); }
.fk-szerkeszto { border-top: 5px solid var(--ok); }
.sz-kereso { display: flex; gap: 8px; margin-bottom: 10px; }
.sz-lista { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.sz-lista button { width: 100%; text-align: left; font: inherit; background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; color: var(--ink); }
.sz-lista button:hover { border-color: var(--brand); }
.sz-lista small { display: block; color: var(--muted); }
.sz-hely { border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; background: var(--bg); }
.sz-hely-fej { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sz-hely-fej h3 { margin: 0; }
.sz-kepek { display: flex; gap: 8px; flex-wrap: wrap; }
.sz-kepek figure { position: relative; margin: 0; }
.sz-kepek img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; display: block; }
.sz-kepek figcaption { font-size: .72rem; color: var(--muted); text-align: center; }
.sz-feltolt, .sz-ell { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-top: 14px; }
.sz-vaszon { max-width: 100%; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: #111; }
.sz-vaszon canvas { display: block; width: 100%; height: auto; cursor: crosshair; touch-action: none; }
.sz-pipak { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 10px; }
.sz-pipak .jelolo { margin: 0; }
.sz-naplo { margin-top: 14px; }

/* ===== Megkeresés (admin) és nyomtatás ===== */
.mk-szuro { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 10px; align-items: end; }
.mk-szuro .mezo { margin: 0; }
.mk-pipak { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.mk-pipak .jelolo { margin: 0; }
.mk-muveletek { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 10px; }
.mk-rogzit { display: inline-flex; gap: 6px; align-items: center; margin-left: auto; }
.mk-rogzit select, .mk-rogzit input { width: auto; padding: 7px 10px; }
.mk-rogzit select { padding-right: 34px; }
.tabla-tarto { overflow-x: auto; }
.mk-tabla { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--surface); }
.mk-tabla th, .mk-tabla td { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.mk-tabla th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.mk-tiltott { opacity: .5; }
.admin-utmutato table { display: table; }
.admin-utmutato blockquote { margin: 10px 0; padding: 12px 16px; border-left: 4px solid var(--brand); background: var(--bg-2); border-radius: 0 12px 12px 0; }
/* Nyomtatási lapok */
.nyomtat-oldal { background: #e9ecf3; }
.mk-lap { width: 210mm; min-height: 297mm; margin: 0 auto 10mm; background: #fff; color: #141a33; position: relative; box-shadow: 0 6px 30px rgba(0,0,0,.15); font-size: 10.5pt; line-height: 1.45; overflow: hidden; }
.mk-level .mk-felado { position: absolute; left: 20mm; top: 40mm; font-size: 6.5pt; color: #5a6180; border-bottom: .3mm solid #5a6180; width: 90mm; }
.mk-level .mk-cimzett { position: absolute; left: 20mm; top: 46mm; width: 90mm; height: 38mm; font-size: 11pt; line-height: 1.4; }
.mk-fejlogo { position: absolute; right: 20mm; top: 18mm; text-align: right; }
.mk-fejlogo b { font-size: 22pt; font-weight: 900; letter-spacing: -.02em; }
.mk-fejlogo span { color: #ff6b57; }
.mk-fejlogo small { display: block; font-size: 8pt; color: #5a6180; }
.mk-fejlogo.kicsi { position: static; text-align: left; }
.mk-fejlogo.kicsi b { font-size: 15pt; }
.mk-torzs { position: absolute; left: 20mm; right: 20mm; top: 92mm; }
.mk-torzs p { margin: 0 0 3.2mm; }
.mk-torzs ul { margin: 0 0 3.2mm; padding-left: 6mm; }
.mk-datum { text-align: right; color: #5a6180; }
.mk-qr-sor { display: flex; gap: 6mm; align-items: center; border: .4mm solid #e3e6f2; border-radius: 4mm; padding: 4mm; margin: 4mm 0 5mm; }
.mk-qr { width: 30mm; height: 30mm; flex: 0 0 30mm; }
.mk-qr.nagy { width: 46mm; height: 46mm; margin: 3mm auto; }
.mk-qr svg { width: 100%; height: 100%; display: block; }
.mk-link { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12pt; font-weight: 700; margin: 0; color: #2448d8; text-align: inherit; }
.mk-apro { font-size: 8pt; color: #5a6180; }
.mk-labjegy { position: absolute; left: 20mm; right: 20mm; bottom: 12mm; font-size: 6.8pt; line-height: 1.35; color: #5a6180; border-top: .3mm solid #e3e6f2; padding-top: 2.5mm; }
.mk-negyes { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 297mm; }
.mk-a6 { border: .2mm dashed #c5cbe0; padding: 9mm 8mm; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mk-a6-nev { font-weight: 900; font-size: 14pt; margin: 3mm 0 1mm; line-height: 1.2; }
.mk-a6-cim { margin: 0; color: #5a6180; }
.mk-a6-szoveg { margin: 3mm 0; font-size: 10pt; }
@media print {
  @page { size: A4; margin: 0; }
  .nyomtat-oldal { background: #fff; }
  .nyomtat-oldal .fejlec, .nyomtat-vezerlo, .segito, .sr-only { display: none !important; }
  .mk-lap { margin: 0; box-shadow: none; page-break-after: always; break-after: page; }
  main { padding: 0 !important; }
}

/* ===== Közösség ===== */
.kozosseg-oldal, .elveszett-oldal { padding-top: 18px; padding-bottom: 40px; }
.kz-fej { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.kz-fej h1 { margin: 0; }
.kz-fej p { margin: 4px 0 0; }
.kz-fej-gombok { display: flex; gap: 8px; flex-wrap: wrap; }
.kz-szuro { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 10px; align-items: center; margin-bottom: 12px; }
.kz-szuro .szurok { margin: 0; }
@media (max-width: 720px) { .kz-szuro { grid-template-columns: 1fr; } .kz-szuro .szurok { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .kz-szuro .szuro { flex: 0 0 auto; } }
.kz-storyk:empty { display: none; }
.kz-has { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.kz-has > aside { position: sticky; top: 84px; }
@media (max-width: 960px) { .kz-has { grid-template-columns: 1fr; } .kz-has > aside { position: static; } }
.kz-iro { padding: 0; }
.kz-iro > summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 700; }
.kz-iro > summary::-webkit-details-marker { display: none; }
.kz-iro[open] > summary { border-bottom: 1px solid var(--line); }
.kz-iro form { padding: 14px 18px 18px; }
.kz-iro-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; }
.kz-helyvalaszto { height: 240px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.kz-poszt { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-bottom: 12px; box-shadow: var(--shadow); border-left: 5px solid var(--line); }
.kz-poszt.kiemelve { box-shadow: 0 0 0 3px var(--brand); }
.kz-t-veszely { border-left-color: #ea580c; } .kz-t-jo { border-left-color: var(--ok); } .kz-t-seta { border-left-color: var(--brand); } .kz-t-kerdes { border-left-color: #7c3aed; } .kz-t-elmeny { border-left-color: var(--accent); }
.kz-poszt header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.kz-tipus { font-weight: 900; font-size: .9rem; }
.kz-menu { margin-left: auto; }
.kz-esemeny { margin: 0 0 6px; font-size: .93rem; }
.kz-szoveg { margin: 0 0 10px; overflow-wrap: anywhere; }
.kz-poszt footer { display: flex; flex-wrap: wrap; gap: 6px; }
.kz-reakcio { font: inherit; font-size: .84rem; font-weight: 750; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.kz-reakcio:hover { border-color: var(--brand); }
.kz-reakcio.aktiv { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-2); }
.kz-hsz { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.kz-ures p { margin: 0; }
.kz-belepes { background: var(--brand-soft); border-radius: 14px; padding: 14px 16px; }
.kz-belepes p { margin: 0 0 8px; }
.kz-pont { width: 30px; height: 30px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.3); border: 2px solid #fff; }
.kz-pont.kz-veszely { background: #fff7ed; } .kz-pont.kz-jo { background: #ecfdf5; } .kz-pont.kz-seta { background: #eef2ff; }
.hsz-lista { display: grid; gap: 8px; margin-bottom: 10px; }
.hsz { background: var(--bg); border-radius: 12px; padding: 8px 12px; }
.hsz-rejtett { opacity: .55; }
.hsz-fej { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: .9rem; }
.hsz-gombok { margin-left: auto; }
.hsz p { margin: 4px 0 0; font-size: .95rem; overflow-wrap: anywhere; }
.hsz-kep img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; margin-top: 6px; display: block; }
.hsz-uj textarea { min-height: 64px; }
.kv-gomb { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-2); font-weight: 800; cursor: pointer; font-size: .9rem; margin: 0; }
.kv-gomb small { font-weight: 600; opacity: .8; }
.kv-elo { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.kv-elo figure { position: relative; margin: 0; }
.kv-elo img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; display: block; }
.kv-elo button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; font-size: .7rem; }
.kz-dialog { border: 0; border-radius: 22px; padding: 0; width: min(520px, calc(100vw - 24px)); box-shadow: var(--shadow-lg); background: var(--surface); color: var(--ink); }
.kz-dialog.nagy { width: min(680px, calc(100vw - 24px)); }
.kz-dialog::backdrop { background: rgba(10, 14, 30, .55); }
.kz-dialog form { padding: 20px; }
.kz-dialog h2 { margin-top: 0; font-size: 1.25rem; }
.pwa-ios { border: 0; border-radius: 22px; padding: 20px; max-width: 420px; box-shadow: var(--shadow-lg); }
.pwa-ios::backdrop { background: rgba(10, 14, 30, .55); }

/* ===== Elveszett és talált kutyák ===== */
.ev-lista { margin-top: 16px; }
.ev-racs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 12px; }
a.kartya.ev-kartya { padding: 0; overflow: hidden; display: flex; flex-direction: column; border-top: 5px solid #dc2626; }
.ev-k-talalt { border-top-color: var(--brand) !important; } .ev-k-ok { border-top-color: var(--ok) !important; }
.ev-kep { position: relative; aspect-ratio: 4/3; background: var(--bg-2); display: grid; place-items: center; font-size: 3rem; }
.ev-kep img { width: 100%; height: 100%; object-fit: cover; }
.ev-jel { position: absolute; left: 8px; top: 8px; background: #dc2626; color: #fff; font-size: .74rem; font-weight: 900; padding: 3px 10px; border-radius: 999px; }
.ev-k-talalt .ev-jel { background: var(--brand); } .ev-k-ok .ev-jel { background: var(--ok); }
.ev-szoveg { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.ev-szoveg small { color: var(--muted); }
.ev-pont { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #dc2626; background: #fff; overflow: hidden; display: grid; place-items: center; font-size: 20px; box-shadow: 0 3px 10px rgba(0,0,0,.35); }
.ev-pont img { width: 100%; height: 100%; object-fit: cover; }
.ev-pont.ev-talalt { border-color: var(--brand); } .ev-pont.ev-ok { border-color: var(--ok); }
.ev-lap { padding-top: 18px; padding-bottom: 40px; }
.ev-lap-fej { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 14px; }
.ev-lap-fej h1 { margin: 8px 0 4px; }
.ev-lap-gombok { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.ev-lap-has { display: grid; grid-template-columns: 1fr 380px; gap: 22px; align-items: start; }
@media (max-width: 960px) { .ev-lap-has { grid-template-columns: 1fr; } }
.ev-esz { padding-left: 20px; margin: 10px 0 0; font-size: .92rem; }
.ev-esz li { margin-bottom: 8px; }
.ev-esz img { width: 120px; border-radius: 10px; margin-top: 4px; }
.ev-szorit { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ev-gazdi-panel { border: 2px solid var(--brand); }
.ev-tel { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ev-tel input[type=tel] { max-width: 220px; }
.ev-urlap fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 0 0 14px; }
.ev-urlap legend { font-weight: 800; padding: 0 6px; }
/* Plakát */
.pl-lap { padding: 14mm 16mm; display: flex; flex-direction: column; gap: 4mm; text-align: center; }
.pl-lap .pl-fej { background: #dc2626; color: #fff; font-weight: 900; font-size: 34pt; letter-spacing: .02em; border-radius: 4mm; padding: 4mm; }
.pl-lap.pl-talalt .pl-fej { background: #2448d8; }
.pl-lap .pl-kep { height: 115mm; border-radius: 4mm; overflow: hidden; }
.pl-lap .pl-kep img { width: 100%; height: 100%; object-fit: cover; }
.pl-lap .pl-nev { font-size: 30pt; font-weight: 900; line-height: 1.1; }
.pl-lap .pl-adat { font-size: 15pt; }
.pl-lap .pl-ism { font-size: 13pt; font-weight: 700; }
.pl-lap .pl-hol { font-size: 13pt; }
.pl-lap .pl-also { display: flex; gap: 8mm; align-items: center; justify-content: center; text-align: left; margin-top: auto; }
.pl-lap .pl-kerdes { font-size: 16pt; font-weight: 900; margin: 0 0 2mm; }
.pl-lap .pl-tel { font-size: 20pt; font-weight: 900; margin: 0 0 2mm; }
/* Matrica */
.mt-lap { display: flex; flex-wrap: wrap; gap: 6mm; justify-content: center; padding: 8mm; background: #fff; }
.mt-matrica { border: .4mm dashed #c5cbe0; border-radius: 4mm; padding: 4%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; color: #141a33; background: #fff; }
.mt-fej b { font-weight: 900; font-size: 16pt; } .mt-fej span { color: #ff6b57; }
.mt-qr { width: 62%; aspect-ratio: 1; } .mt-qr svg { width: 100%; height: 100%; display: block; }
.mt-cim { margin: 0; font-weight: 900; font-size: 13pt; line-height: 1.1; }
.mt-al { margin: 0; font-size: 9pt; color: #5a6180; }
@media print { .mt-nyomtat .mt-lap { padding: 0; } }
/* Fiók: kutyáim, értesítések */
.fk-gazdi { margin: 0 0 8px; }
.ky-panel { display: grid; gap: 14px; }
.ky-kutya { display: grid; grid-template-columns: 110px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.ky-kep { width: 110px; height: 110px; border-radius: 22px; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; font-size: 2.6rem; }
.ky-kep img { width: 100%; height: 100%; object-fit: cover; }
.ky-kutya h3 { margin: 0; }
.ky-kutya h4 { margin: 10px 0 4px; font-size: .9rem; }
.ky-emlek { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; font-size: .92rem; }
.ky-emlek li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ky-emlek li.lejart { color: var(--bad); }
.em-gombok { margin-left: auto; display: inline-flex; gap: 10px; }
.ky-uj-emlek { display: flex; gap: 6px; flex-wrap: wrap; }
.ky-uj-emlek select, .ky-uj-emlek input { width: auto; padding: 7px 10px; }
.ky-uj-emlek select { padding-right: 34px; }
.ky-uj-emlek input[type=number] { width: 140px; }
.ky-pipak { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ky-pipak .jelolo { margin: 0; }
@media (max-width: 560px) { .ky-kutya { grid-template-columns: 1fr; } }
.er-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.er-panel .jelolo { margin: 0 0 4px; }
.er-push { background: var(--bg-2); border-radius: 12px; padding: 4px 12px; }
/* Játszótárs */
.jt-racs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.jt-kartya { padding: 0 0 14px; overflow: hidden; }
.jt-kartya > :not(.jt-kep) { margin-left: 14px; margin-right: 14px; }
.jt-kartya.sarga { border: 2px solid #eab308; }
.jt-kep { aspect-ratio: 1; background: var(--bg-2); display: grid; place-items: center; font-size: 3rem; margin-bottom: 10px; }
.jt-kep img { width: 100%; height: 100%; object-fit: cover; }
.jt-kartya h3 { margin: 0 0 4px; font-size: 1.1rem; }
/* Admin moderálás */
.md-elem { border-left: 5px solid #ea580c; }
.md-dontes { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.md-dontes input { flex: 1; min-width: 240px; }
.lablec-app[hidden] { display: none; }

@media (max-width: 1240px) and (min-width: 901px) { .menu a { padding: 8px 8px; font-size: .9rem; } .fejlec .wrap { gap: 10px; } }
.ev-pont.ev-kobor { border-color: #ea580c; }
.ev-k-kobor { border-top-color: #ea580c !important; } .ev-k-kobor .ev-jel { background: #ea580c; }
.ev-kozel { display: grid; gap: 8px; }
.ev-kozel-elem { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); background: var(--bg); border-radius: 12px; padding: 8px; }
.ev-kozel-elem:hover { background: var(--brand-soft); }
.ev-kozel-elem img, .ev-kozel-elem > span:first-child { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: 0 0 56px; display: grid; place-items: center; background: var(--bg-2); font-size: 1.6rem; }
.ev-kozel-elem small { display: block; color: var(--muted); }

/* ===== Telefonos app-érzet (csak ≤720 px; gépen semmi nem változik) ===== */
.app-sav, .app-csengo { display: none; }
@media (max-width: 720px) {
  html { -webkit-tap-highlight-color: transparent; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); touch-action: manipulation; }
  .fejlec .wrap { height: 56px; gap: 8px; }
  .fejlec { padding-top: env(safe-area-inset-top, 0px); }
  .logo svg { width: 32px; height: 32px; }
  .logo { font-size: 1.2rem; }
  .menu { top: calc(100% + 6px); }
  .menu-nyito { width: 42px; height: 42px; }
  .app-csengo:not([hidden]) { display: inline-grid; place-items: center; position: relative; margin-left: auto; width: 42px; height: 42px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
  .app-csengo:not([hidden]) + .menu-nyito { margin-left: 0; }
  .app-csengo i { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); }
  .app-sav { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; z-index: 1400; left: 0; right: 0; bottom: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.5) blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(20, 30, 80, .08); }
  .app-sav-elem { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px 4px; border-radius: 14px; text-decoration: none; color: var(--muted); font-size: .7rem; font-weight: 800; }
  .app-sav-elem[aria-current="page"] { color: var(--brand); }
  .app-sav-elem[aria-current="page"] svg { stroke-width: 2.4; }
  .app-sav-elem:active { background: var(--bg-2); transform: scale(.94); }
  .app-sav-plusz { justify-self: center; display: grid; place-items: center; width: 58px; height: 58px; margin-top: -26px; border-radius: 20px; text-decoration: none;
    background: linear-gradient(135deg, var(--accent), #ff8a5c); color: #fff; font-size: 2.1rem; font-weight: 600; line-height: 1; box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 45%, transparent); border: 4px solid var(--surface); }
  .app-sav-plusz:active { transform: scale(.92); }
  /* A segítő és a süti-sáv a navigációs sáv fölé kerül */
  .segito { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .sg-panel { bottom: 0; }
  .suti-sav { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .lablec { padding-bottom: 20px; }
  .lablec .also { padding-bottom: 10px; }
  .gomb:active, .szuro:active, .kz-reakcio:active { transform: scale(.96); }
  /* Lapváltási áttűnés (view transition) szándékosan nincs: telefonon a címsor miatt eltérő magasságú pillanatképeket
     a böngésző egymásra nyújtotta, a lap egy pillanatra „összenyomottnak” látszott. */
}
@media (max-width: 720px) and (display-mode: standalone) {
  body { overscroll-behavior-y: none; }
  .morzsa { display: none; }
}

/* Értesítés-gyorsbeállító lap (alulról felcsúszó) */
.app-lap { border: 0; margin: auto 0 0; width: 100%; max-width: 100%; max-height: 88dvh; border-radius: 24px 24px 0 0; padding: 10px 18px calc(18px + env(safe-area-inset-bottom, 0px)); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); animation: sg-fel .22s ease-out; }
.app-lap::backdrop { background: rgba(10, 14, 30, .5); }
.app-lap h2 { margin: 6px 0 8px; font-size: 1.2rem; }
.app-lap h3 { margin: 14px 0 6px; font-size: .95rem; }
.app-lap-fogo { width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 6px; }
@media (min-width: 721px) { .app-lap { margin: auto; max-width: 440px; border-radius: 22px; } }
.ert-lista { display: grid; gap: 2px; }
.ert-sor { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); margin: 0; cursor: pointer; font-weight: 600; }
.ert-sor small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }
/* Kezdőképernyő-segítség */
.app-telepit { position: fixed; z-index: 1500; left: 10px; right: 10px; bottom: calc(146px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 10px; align-items: center; padding: 12px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(20px); opacity: 0; transition: transform .25s, opacity .25s; }
.app-telepit.lathato { transform: none; opacity: 1; }
.app-telepit img { border-radius: 12px; flex: 0 0 44px; }
.app-telepit div { flex: 1; min-width: 0; font-size: .9rem; line-height: 1.3; }
.app-telepit small { display: block; color: var(--muted); margin-top: 2px; }
.app-telepit-x { border: 0; background: var(--bg-2); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; color: var(--muted); flex: 0 0 30px; }

/* ===== Gyorsbejelentés (/jelentes/) ===== */
.jl { max-width: 640px; padding-top: 18px; padding-bottom: 30px; }
.jl-cim { text-align: center; font-size: 1.8rem; margin: 6px 0 16px; }
.jl-vissza { margin: 0; }
.jl-vissza a { text-decoration: none; font-weight: 800; }
.jl-csempek { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jl-csempe { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 12px; border-radius: 22px; text-decoration: none; color: var(--ink); background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); }
.jl-csempe span { font-size: 2.6rem; line-height: 1; }
.jl-csempe b { font-size: 1.08rem; }
.jl-csempe small { color: var(--muted); font-size: .8rem; line-height: 1.3; }
.jl-csempe:active { transform: scale(.97); }
.jl-csempe.kobor { border-color: #fdba74; background: linear-gradient(160deg, var(--surface), #fff7ed); }
.jl-csempe.veszely { border-color: #fca5a5; background: linear-gradient(160deg, var(--surface), #fef2f2); }
.jl-csempe.elveszett { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.jl-csempe.talalt { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.jl-blokk { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-bottom: 12px; }
.jl-blokk h2 { font-size: 1rem; margin: 0 0 8px; }
.jl-terkep { height: 260px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.jl-chipek { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.jl-chipek .szuro { padding: 9px 14px; font-size: .92rem; }
.jl-chipek .szuro[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.jl-kamera { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border: 2px dashed var(--line); border-radius: 16px; font-weight: 800; color: var(--brand-2); cursor: pointer; background: var(--bg); margin: 0; }
.jl-kuld { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); padding: 8px 0; background: linear-gradient(to top, var(--bg) 70%, transparent); }
.jl-kuld .gomb { width: 100%; min-height: 54px; font-size: 1.1rem; }
@media (min-width: 721px) { .jl-kuld { bottom: 0; } }
.jl-kesz { text-align: center; padding: 40px 10px; }
.jl-kesz > span { font-size: 4rem; }

/* ===== Landing: Kutyapp a telefonodra (/app/) ===== */
.al-hos { position: relative; overflow-x: clip; padding: 30px 0 50px; background:
  radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brand) 12%, transparent) 1px, transparent 1.5px) 0 0 / 22px 22px,
  radial-gradient(900px 500px at 85% 10%, var(--accent-soft), transparent 60%), radial-gradient(800px 500px at 0% 40%, var(--brand-soft), transparent 60%), var(--bg); }
.al-hos-racs { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.al-hos h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: 14px 0; }
.al-hos h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.al-hos .lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.al-gombok { display: flex; gap: 10px; flex-wrap: wrap; }
.al-gombok .gomb { min-height: 50px; padding: 12px 24px; font-size: 1.02rem; }
.al-pipak { list-style: none; padding: 0; margin: 16px 0 0; display: flex; gap: 8px 18px; flex-wrap: wrap; color: var(--muted); font-weight: 800; font-size: .92rem; }
.al-telefon { position: relative; justify-self: center; width: min(320px, 82vw); }
.al-keret { border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #1b2240, #0b1022); box-shadow: 0 40px 80px rgba(15, 22, 48, .35), inset 0 0 0 2px rgba(255,255,255,.08); transform: rotate(-3deg); }
.al-kepernyo { border-radius: 36px; overflow: hidden; background: #f7f8fc; aspect-ratio: 9 / 19.5; display: flex; flex-direction: column; color: #141a33; font-size: 12px; }
.al-statusz { display: flex; justify-content: space-between; padding: 10px 20px 4px; font-weight: 800; font-size: 11px; }
.al-fej { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px 8px; }
.al-fej b { font-size: 17px; font-weight: 900; } .al-fej b span { color: #ff6b57; }
.al-terkepkep { position: relative; margin: 0 10px; border-radius: 16px; overflow: hidden; height: 34%; }
.al-terkepkep img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 55%; transform: scale(1.9); transform-origin: 82% 55%; filter: saturate(1.1); }
.al-pin { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0,0,0,.3); font-size: 15px; animation: al-ugrik 2.4s ease-in-out infinite; }
.al-pin.p1 { left: 22%; top: 30%; border: 2.5px solid #ea580c; } .al-pin.p2 { left: 58%; top: 52%; animation-delay: .6s; } .al-pin.p3 { left: 74%; top: 22%; animation-delay: 1.2s; border: 2.5px solid #2448d8; }
@keyframes al-ugrik { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.al-kartya { display: flex; gap: 10px; align-items: center; margin: 8px 10px 0; padding: 10px; background: #fff; border-radius: 14px; box-shadow: 0 2px 8px rgba(20,30,80,.08); }
.al-kartya b { display: block; font-size: 12.5px; } .al-kartya small { color: #5a6180; font-size: 10.5px; }
.al-kk { width: 34px; height: 34px; border-radius: 10px; background: #fff7ed; display: grid; place-items: center; font-size: 17px; flex: 0 0 34px; }
.al-sav { margin-top: auto; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center; padding: 8px 6px 14px; background: #fff; border-top: 1px solid #e3e6f2; font-size: 17px; }
.al-plusz { width: 40px; height: 40px; border-radius: 14px; background: linear-gradient(135deg, #ff6b57, #ff8a5c); color: #fff; display: grid; place-items: center; font-size: 24px; margin-top: -18px; box-shadow: 0 6px 14px rgba(255,107,87,.45); }
.al-ertesites { position: absolute; left: -16%; top: 16%; width: 78%; background: color-mix(in srgb, #ffffff 92%, transparent); backdrop-filter: blur(10px); border-radius: 18px; padding: 10px 14px; box-shadow: 0 18px 40px rgba(15,22,48,.25); font-size: 12.5px; color: #141a33; animation: al-be 5s ease-in-out infinite; }
.al-ertesites b { display: block; } .al-ertesites span { color: #5a6180; }
@keyframes al-be { 0%, 8% { opacity: 0; transform: translateY(-14px) scale(.96); } 14%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-8px); } }
.al-harom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.al-harom h2 { font-size: 1.3rem; margin: 10px 0 6px; }
.al-harom p { color: var(--muted); margin: 0; }
.al-nagyikon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: linear-gradient(145deg, var(--brand-soft), var(--accent-soft)); font-size: 1.8rem; }
.al-funkciok { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.al-funkcio { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.al-funkcio:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.al-funkcio b { font-size: 1.02rem; } .al-funkcio > span:last-child { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.al-ikon { font-size: 1.7rem; }
.al-ket { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.al-lepesek { counter-reset: l; list-style: none; padding: 0; margin: 0 0 18px; }
.al-lepesek li { counter-increment: l; position: relative; padding: 0 0 16px 50px; }
.al-lepesek li::before { content: counter(l); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 900; display: grid; place-items: center; }
.al-lepesek li:not(:last-child)::after { content: ''; position: absolute; left: 16px; top: 34px; bottom: 2px; width: 2px; background: var(--line); }
.al-doboz-kep { display: grid; gap: 12px; padding: 26px; border-radius: 28px; background: linear-gradient(145deg, var(--brand-soft), var(--accent-soft)); }
.al-mini-ertesites { background: var(--surface); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); border-left: 5px solid #dc2626; }
.al-mini-ertesites.zold { border-left-color: #ea580c; margin-left: 20px; } .al-mini-ertesites.kek { border-left-color: var(--ok); margin-left: 40px; }
.al-mini-ertesites small { color: var(--muted); }
.al-telepit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.al-telepit .doboz { margin: 0; } .al-telepit ol { padding-left: 20px; margin: 0 0 10px; } .al-telepit li { margin-bottom: 6px; }
.al-zaro { text-align: center; padding: 20px 16px; }
.al-zaro h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
@media (max-width: 960px) { .al-funkciok { grid-template-columns: repeat(2, 1fr); } .al-telepit { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .al-hos-racs, .al-ket { grid-template-columns: 1fr; } .al-harom { grid-template-columns: 1fr; } .al-telefon { margin-top: 10px; } .al-ertesites { left: -6%; } }
@media (max-width: 520px) { .al-funkciok { grid-template-columns: 1fr 1fr; gap: 10px; } .al-funkcio { padding: 14px; } .al-funkcio > span:last-child { font-size: .82rem; } .al-hos { padding-top: 16px; } }
@media (prefers-reduced-motion: reduce) { .al-pin, .al-ertesites { animation: none; } }
.fo-app-sav { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 22px; text-decoration: none; color: var(--ink); background: linear-gradient(120deg, var(--brand-soft), var(--accent-soft)); border: 1px solid var(--line); }
.fo-app-sav:hover { color: var(--ink); box-shadow: var(--shadow-lg); }
.fo-app-ikon { font-size: 2.2rem; }
.fo-app-sav b { display: block; font-size: 1.1rem; } .fo-app-sav small { color: var(--muted); }
.fo-app-sav .gomb { margin-left: auto; flex: 0 0 auto; }
@media (max-width: 560px) { .fo-app-sav { flex-wrap: wrap; } .fo-app-sav .gomb { margin-left: 0; } }

body.telepit-sav .sg-tipp { display: none; }
.lablec .gomb.korvonal { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.lablec .gomb.korvonal:hover { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }

/* ===== Párkereső (húzogatós) és csevegés ===== */
.pk-wrap { max-width: 720px; padding-top: 14px; padding-bottom: 30px; }
.pk-cim { margin: 0 0 10px; } .pk-cim small { font-size: .5em; color: var(--muted); font-weight: 700; }
.pk-fulek { margin: 0 0 12px; }
.pk-fulek .szuro[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pk-fulek b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; margin-left: 4px; }
.pk-szuro { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 12px; }
.pk-szuro label { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.pk-szuro select { width: auto; padding: 6px 34px 6px 10px; }
.pk-szuro .szurok { margin: 0; }
.pk-szuro .szuro[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pk-en { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; }
.pk-en img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.pk-pakli { position: relative; height: min(68dvh, 560px); max-width: 420px; margin: 0 auto; }
.pk-kartya { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; background: var(--bg-2); box-shadow: 0 18px 40px rgba(15, 22, 48, .22); touch-action: none; user-select: none; cursor: grab; transition: transform .28s cubic-bezier(.2, .8, .3, 1), opacity .28s; will-change: transform; }
.pk-kartya:active { cursor: grabbing; }
.pk-kartya:nth-last-child(2) { transform: scale(.96) translateY(10px); }
.pk-kartya:nth-last-child(3) { transform: scale(.92) translateY(20px); }
.pk-kep, .pk-kep img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.pk-nincskep { display: grid; place-items: center; height: 100%; font-size: 6rem; }
.pk-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 18px 18px; color: #fff; background: linear-gradient(to top, rgba(10, 14, 30, .88), rgba(10, 14, 30, .55) 60%, transparent); }
.pk-info h3 { margin: 0; font-size: 1.7rem; color: #fff; } .pk-info h3 span { font-weight: 700; font-size: .8em; }
.pk-info p { margin: 2px 0; font-size: .95rem; }
.pk-hely { opacity: .85; font-size: .85rem !important; }
.pk-leiras { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; opacity: .92; }
.pk-cimkek { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 4px; }
.pk-cimkek span { background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.pk-cimkek .sarga { background: #eab308; color: #1c1917; }
.pk-pecset { position: absolute; top: 28px; padding: 6px 14px; border: 4px solid; border-radius: 12px; font-weight: 950; font-size: 1.8rem; letter-spacing: .06em; opacity: 0; pointer-events: none; }
.pk-pecset.igen { left: 22px; color: #22c55e; transform: rotate(-14deg); }
.pk-pecset.nem { right: 22px; color: #ef4444; transform: rotate(14deg); }
.pk-gombok { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 16px 0 6px; }
.pk-gomb { width: 68px; height: 68px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow-lg); font-size: 1.9rem; cursor: pointer; display: grid; place-items: center; transition: transform .12s; }
.pk-gomb:active { transform: scale(.9); }
.pk-gomb.nem { color: #ef4444; } .pk-gomb.igen { color: #fff; background: linear-gradient(135deg, var(--accent), #ec4899); }
.pk-gomb.kicsi { width: 48px; height: 48px; font-size: 1.2rem; color: var(--muted); }
.pk-gomb:disabled { opacity: .4; cursor: default; }
.pk-tipp { text-align: center; max-width: 440px; margin: 6px auto 0; }
.pk-ures { text-align: center; padding: 30px 16px; } .pk-ures > span { font-size: 3.6rem; } .pk-ures h2 { margin: 8px 0; }
.pk-match { border: 0; border-radius: 28px; padding: 26px 22px; text-align: center; max-width: 380px; width: calc(100vw - 32px); background: linear-gradient(160deg, #2448d8, #7c3aed 55%, #ec4899); color: #fff; box-shadow: var(--shadow-lg); }
.pk-match::backdrop { background: rgba(10, 14, 30, .65); }
.pk-match h2 { color: #fff; font-size: 2.4rem; margin: 6px 0; }
.pk-match-szivek { font-size: 1.4rem; letter-spacing: .3em; animation: al-ugrik 1.6s ease-in-out infinite; }
.pk-match-kepek { display: flex; justify-content: center; gap: 0; margin: 16px 0; }
.pk-match-kepek span { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; border: 4px solid #fff; background: #fff; display: grid; place-items: center; font-size: 3rem; }
.pk-match-kepek span + span { margin-left: -22px; }
.pk-match-kepek img { width: 100%; height: 100%; object-fit: cover; }
.pk-match .gomb.korvonal { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.pk-matchek { display: grid; gap: 6px; }
.pk-mlista { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; cursor: pointer; }
.pk-mlista:hover { border-color: var(--brand); }
.pk-avatar { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; font-size: 1.6rem; flex: 0 0 50px; }
.pk-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pk-mszoveg { flex: 1; min-width: 0; } .pk-mszoveg > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.pk-olv { min-width: 24px; height: 24px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 900; font-size: .8rem; display: grid; place-items: center; padding: 0 7px; }
.pk-szal { display: flex; flex-direction: column; height: min(78dvh, 720px); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.pk-szal-fej { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.pk-szal-fej .pk-avatar { width: 40px; height: 40px; flex-basis: 40px; }
.pk-szal-fej > div { flex: 1; min-width: 0; } .pk-szal-fej small { display: block; color: var(--muted); }
.pk-szal-fej [data-vissza] { font-size: 1.8rem; text-decoration: none; padding: 0 6px; }
.pk-menu { position: relative; } .pk-menu summary { list-style: none; cursor: pointer; font-size: 1.4rem; padding: 4px 10px; }
.pk-menu summary::-webkit-details-marker { display: none; }
.pk-menu > div { position: absolute; right: 0; top: 100%; z-index: 5; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; display: grid; min-width: 210px; }
.pk-menu button { text-align: left; font: inherit; border: 0; background: none; padding: 10px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.pk-menu button:hover { background: var(--bg-2); }
.pk-biztonsag { margin: 0; padding: 8px 14px; font-size: .78rem; background: var(--warn-soft); color: var(--ink); }
.pk-uzenetek { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 6px; background: var(--bg); overscroll-behavior: contain; }
.pk-uz { max-width: 78%; padding: 8px 12px; border-radius: 18px; }
.pk-uz p { margin: 0; overflow-wrap: anywhere; }
.pk-uz small { display: block; font-size: .7rem; opacity: .7; margin-top: 2px; }
.pk-uz.en { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.pk-uz.o { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.pk-uz.o .szoveg-gomb { font-size: .7rem; color: var(--muted); }
.pk-elso { text-align: center; color: var(--muted); margin: auto 0; padding: 20px; }
.pk-iro { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--surface); }
.pk-iro textarea { resize: none; min-height: 44px; border-radius: 22px; padding: 10px 16px; font-size: 16px; }
.pk-iro .gomb { width: 46px; height: 46px; padding: 0; border-radius: 50%; flex: 0 0 46px; }
.pk-lab { text-align: center; margin-top: 18px; }
@media (max-width: 720px) {
  .pk-wrap { padding-top: 8px; }
  .pk-oldal .morzsa { display: none; }
  .pk-cim { font-size: 1.5rem; }
  .pk-pakli { height: calc(100dvh - 380px); min-height: 380px; }
  .pk-szal { height: calc(100dvh - 210px); border-radius: 18px; }
  .app-sav-elem.van-uj { position: relative; }
  .app-sav-elem.van-uj::after { content: ''; position: absolute; top: 4px; right: calc(50% - 16px); width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); }
}

/* ===== Térképes felugró ablak (kp-popup) és könnyített jelölők ===== */
.kp-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: 0 4px 12px rgba(20, 30, 80, .12), 0 18px 44px rgba(20, 30, 80, .2); overflow: hidden; }
.kp-popup .leaflet-popup-tip { background: var(--surface); box-shadow: none; }
.kp-popup .leaflet-popup-content { margin: 0; width: auto !important; min-width: 290px; font-size: .95rem; line-height: 1.4; }
.kp-popup a.leaflet-popup-close-button { top: 8px; right: 8px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; font: 400 28px/1 var(--font); color: var(--muted); background: color-mix(in srgb, var(--surface) 80%, transparent); }
.kp-popup a.leaflet-popup-close-button:hover { color: var(--ink); background: var(--bg-2); }
.kp-fej { display: flex; gap: 12px; align-items: center; padding: 16px 44px 10px 16px; border-top: 4px solid var(--kat); background: linear-gradient(180deg, color-mix(in srgb, var(--kat) 9%, var(--surface)), var(--surface)); }
.kp-ikon, .kp-kep { flex: none; width: 44px; height: 44px; border-radius: 14px; }
.kp-ikon { display: grid; place-items: center; background: var(--kat); color: #fff; box-shadow: 0 3px 8px color-mix(in srgb, var(--kat) 35%, transparent); }
.kp-ikon svg { width: 22px; height: 22px; }
.kp-kep { object-fit: cover; background: var(--bg-2); border: 1px solid var(--line); }
.kp-cim { min-width: 0; display: grid; gap: 2px; }
.kp-kat { font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--kat); filter: saturate(1.1) brightness(.85); }
.kp-cim b { font-size: 1.06rem; line-height: 1.25; font-weight: 900; overflow-wrap: break-word; hyphens: auto; text-wrap-style: balance; }
.kp-popup .kp-cim b a { color: var(--ink); text-decoration: none; }
.kp-popup .kp-cim b a:hover { color: var(--brand); }
.kp-popup .leaflet-popup-content p { margin: 0; padding: 0 16px; }
.kp-hol { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: .9rem; padding-top: 2px !important; }
.kp-hol svg { flex: none; margin-top: 3px; }
.kp-tolt span { display: block; height: .9em; width: 70%; margin: 4px 0; border-radius: 6px; background: linear-gradient(90deg, var(--bg-2), var(--line), var(--bg-2)); background-size: 200% 100%; animation: kpTolt 1.1s linear infinite; }
@keyframes kpTolt { to { background-position: -200% 0; } }
.kp-nyitva { display: flex; align-items: baseline; gap: 8px; margin-top: 8px !important; font-weight: 800; font-size: .88rem; }
.kp-nyitva i { flex: none; align-self: center; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }
.kp-nyitva.nyitva { color: var(--ok); } .kp-nyitva.zarva { color: var(--bad); }
.kp-jelek { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px !important; }
.kp-jel { font-size: .74rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--bg-2); color: var(--muted); }
.kp-jel.ok { background: var(--ok-soft); color: var(--ok); } .kp-jel.piros { background: var(--bad-soft); color: var(--bad); }
.kp-jel.plusz { background: var(--accent-soft); color: var(--accent-2); }
.kp-gombok { display: flex; gap: 8px; padding: 14px 16px 16px; }
.kp-popup a.kp-gomb { flex: 1 1 0; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border-radius: 13px; font-weight: 800; font-size: .92rem; text-decoration: none; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); transition: background .15s, transform .1s; -webkit-tap-highlight-color: transparent; }
.kp-popup a.kp-gomb:hover { background: var(--brand-soft); color: var(--brand); }
.kp-popup a.kp-gomb:active { transform: scale(.97); }
.kp-popup a.kp-gomb.fo { flex: 2 1 0; color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 35%, transparent); }
.kp-popup a.kp-gomb.fo:hover { background: var(--brand-2); color: #fff; }
:root[data-theme="dark"] .kp-popup a.kp-gomb.fo { color: #0b1230; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kp-popup a.kp-gomb.fo { color: #0b1230; } }
.kp-gombok:has(.kp-gomb:nth-child(3)) .kp-gomb:not(.fo) span { display: none; }
.kp-gombok:has(.kp-gomb:nth-child(3)) .kp-gomb:not(.fo) { flex: 0 0 46px; padding: 0; }
@media (max-width: 720px) {
  .kp-popup .leaflet-popup-content { min-width: min(300px, calc(100vw - 64px)); }
  .kp-popup a.kp-gomb { min-height: 50px; font-size: .98rem; }
  .segito { transition: opacity .2s, transform .2s; }
  body.terkep-felugro .segito:not(.nyitva) { opacity: 0; transform: scale(.7); pointer-events: none; }
}
.terkep-alacsony .kp-fej { padding: 12px 44px 8px 12px; gap: 10px; }
.terkep-alacsony .kp-ikon, .terkep-alacsony .kp-kep { width: 38px; height: 38px; border-radius: 12px; }
.terkep-alacsony .kp-popup .leaflet-popup-content p { padding: 0 12px; }
.terkep-alacsony .kp-jelek { display: none !important; }
.terkep-alacsony .kp-gombok { padding: 10px 12px 12px; }
.terkep-alacsony .kp-popup a.kp-gomb { min-height: 44px; }
/* Jelölőcsoportok méret szerint; a sok jelölőnél olcsóbb árnyék */
.marker-cluster-kutya.kozep div { background: #1f3cc0; }
.marker-cluster-kutya.nagy { background: rgba(255, 107, 87, .22); }
.marker-cluster-kutya.nagy div { background: #c7361f; }
.leaflet-marker-icon .tuske { box-shadow: 0 2px 4px rgba(0, 0, 0, .28); }
.leaflet-marker-pane .leaflet-marker-icon { contain: layout style; }
.terkep-rolunk { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.terkep-rolunk summary { cursor: pointer; font-weight: 800; font-size: .9rem; color: var(--muted); }
.terkep-rolunk p { margin: 8px 0 0; }

/* ===== Segítő kutya beállításai ===== */
.kb-ablak { border: 0; border-radius: 22px; padding: 22px; width: min(440px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.kb-ablak::backdrop { background: rgba(10, 16, 40, .45); }
.kb-ablak h2 { font-size: 1.2rem; margin: 0 0 12px; }
.kb-lista { display: grid; gap: 4px; margin-bottom: 10px; }
.kb-sor { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.kb-sor:last-child { border-bottom: 0; }
.kb-sor span { display: grid; gap: 2px; }
.kb-sor small { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.kb-sor input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kb-kapcsolo { flex: none; width: 48px; height: 28px; border-radius: 999px; background: var(--line); position: relative; transition: background .18s; }
.kb-kapcsolo::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .18s; }
.kb-sor input:checked + .kb-kapcsolo { background: var(--brand); }
.kb-sor input:checked + .kb-kapcsolo::after { transform: translateX(20px); }
.kb-sor input:focus-visible + .kb-kapcsolo { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.hk-beall { position: absolute; top: 8px; right: 8px; z-index: 4; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--muted); display: grid; place-items: center; cursor: pointer; opacity: .55; transition: opacity .15s, color .15s; }
.hk-beall:hover, .hk-beall:focus-visible { opacity: 1; color: var(--brand); }
/* Elrejtett segítő: csak a sarokgomb és a tipp tűnik el, a hős kutyára kattintva a panel továbbra is megnyitható */
.kb-nincs-segito .segito .sg-gomb, .kb-nincs-segito .segito .sg-tipp { display: none !important; }
/* Álló kutya */
.kb-allo .hos-kutya *, .kb-allo .hos-kutya, .kb-allo .segito .sg-gomb-kutya *, .kb-allo .sg-avatar * { animation: none !important; transition: none !important; }
.kb-allo .hk-sziv { display: none; }
.fk-kb { margin: 16px 0; }
.fk-kb h2 { margin-top: 0; font-size: 1.15rem; }
.lablec-kb { background: none; border: 0; padding: 0; color: inherit; opacity: .8; font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lablec-kb:hover { opacity: 1; }

/* Tudástár: ehet-e, kalkulátorok, kutyanevek, útmutatók */
.tt { max-width: 900px; }
.tt-cikk h2 { margin-top: 28px; }
.tt-cikk ul { padding-left: 1.2em; }
.tt-cikk li { margin: 4px 0; }
.tt-figy p { margin: 0; }
.tt-verdikt { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r); margin: 14px 0 18px; border: 2px solid currentColor; }
.tt-verdikt p { margin: 0; color: var(--ink); }
.tt-verdikt.ok { background: var(--ok-soft); color: var(--ok); }
.tt-verdikt.warn { background: var(--warn-soft); color: var(--warn); }
.tt-verdikt.bad { background: var(--bad-soft); color: var(--bad); }
.tt-verdikt-jel { flex: none; font-weight: 900; font-size: 1.15rem; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 2px solid currentColor; text-align: center; min-width: 76px; }
@media (max-width: 560px) { .tt-verdikt { flex-direction: column; align-items: flex-start; } }
.tt-jelmagyarazat { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tt-etelek { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); margin: 10px 0 8px; }
.kartya.tt-etel { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 12px 14px; min-height: 48px; text-decoration: none; color: var(--ink); }
.tt-etel:hover b { color: var(--brand); }
.tt-csempe { display: block; padding: 20px; text-decoration: none; color: var(--ink); }
.tt-csempe h2 { font-size: 1.15rem; margin: 8px 0 4px; }
.tt-csempe p { margin: 0; color: var(--muted); }
.tt-ikon { font-size: 2rem; line-height: 1; }
.tt-kalk { display: grid; gap: 14px; }
.tt-kalk label { display: grid; gap: 6px; font-weight: 800; }
.tt-sor { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-weight: 600; }
.tt-sor input { width: 110px; }
.tt-eredmeny { border-top: 1px solid var(--line); padding-top: 12px; }
.tt-eredmeny p { margin: 4px 0; }
.tt-nagy { font-size: 1.35rem; }
.tt-nagy b { color: var(--brand); }
.tt-tabla-burok { overflow-x: auto; }
.tt-tabla { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 14px; overflow: hidden; }
.tt-tabla th, .tt-tabla td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.tt-tabla th { background: var(--bg-2); font-size: .9rem; }
.tt-nevek { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tt-nevek li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.tt-jelentes { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.tt-jelentes div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.tt-jelentes dt { font-weight: 900; }
.tt-jelentes dd { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.tt-gen { text-align: center; }
.tt-gen-nev { font-size: 2rem; font-weight: 900; margin: 4px 0 12px; color: var(--brand-2); }
.tt-forras { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 8px; }
.tt-forras ol { font-size: .9rem; padding-left: 1.3em; }
.tt-forras li { word-break: break-word; }
.tt-tj ol { margin: 6px 0 0; padding-left: 1.3em; }
.tt-kep { margin: 0 0 18px; }
.tt-kep img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: var(--r); background: var(--bg-2); }
.tt-etel-kep { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--bg-2); margin-bottom: 4px; }

/* Örökbefogadás */
.ok-szuro { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0; }
.ok-szuro select { width: auto; min-width: 150px; }
.ok-racs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin: 10px 0 20px; }
.ok-kartya { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; color: var(--ink); }
.ok-kep { aspect-ratio: 4 / 3; background: var(--bg-2); display: grid; place-items: center; font-size: 2.4rem; }
.ok-kep img { width: 100%; height: 100%; object-fit: cover; }
.ok-szoveg { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px 14px; align-items: flex-start; }
.ok-szoveg b { font-size: 1.1rem; }
.ok-kartya:hover b { color: var(--brand); }
.ok-lap { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr) 340px; }
@media (max-width: 860px) { .ok-lap { grid-template-columns: 1fr; } }
.ok-galeria { margin: 10px 0 18px; }
.ok-galeria > img { width: 100%; height: auto; max-height: 560px; object-fit: contain; background: var(--bg-2); border-radius: var(--r); }
.ok-kicsik { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.ok-kicsik button { padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; width: 72px; height: 72px; background: none; cursor: pointer; }
.ok-kicsik img { width: 100%; height: 100%; object-fit: cover; }
.ok-leiras { line-height: 1.6; }
.ok-figy p { font-size: .92rem; }
.ok-telepulesek { display: flex; flex-wrap: wrap; gap: 6px; }
.ok-szervezet { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.ok-sor { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ok-sor > img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--bg-2); }
.ok-sor > div:first-of-type { flex: 1; min-width: 140px; display: flex; flex-direction: column; }
.ok-sor-gombok { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ok-sor-gombok select { width: auto; }
.ok-kepek-reg { display: flex; gap: 8px; flex-wrap: wrap; }
.ok-kep-reg { position: relative; cursor: pointer; }
.ok-kep-reg img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }
.ok-kep-reg input { position: absolute; top: 4px; left: 4px; }
.ok-kep-reg:has(input:not(:checked)) img { opacity: .3; }

/* Ajánlatkérés */
.aj-doboz { border: 2px solid var(--accent); }
.aj-urlap { margin-top: 12px; }
.aj-urlap fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 12px; margin: 10px 0; }
.aj-urlap legend { font-weight: 800; padding: 0 6px; }
.aj-kozeli .jelolo { display: flex; margin: 6px 0; }

/* Bemutató */
.demo-sav { background: var(--warn-soft); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); color: var(--ink); padding: 12px 16px; border-radius: 14px; margin: 12px auto; max-width: 1200px; font-size: .95rem; }
main > .demo-sav { margin: 12px 16px; }
.demo-gombok { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.demo-valaszto { display: flex; gap: 10px; flex-wrap: wrap; }

/* Foglaló (adatlap és beágyazott) */
.fo-lepes { margin-top: 14px; }
.fo-lepes h3 { font-size: 1rem; margin: 0 0 8px; }
.fo-lepes h4 { font-size: .9rem; margin: 12px 0 6px; color: var(--muted); }
.fo-szolgok, .fo-kiegek { display: grid; gap: 8px; }
.fo-szolg { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.fo-szolg:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.fo-szolg small { display: block; color: var(--muted); font-size: .82rem; }
.fo-ar { text-align: right; font-size: .88rem; white-space: nowrap; }
.fo-osszeg { margin: 10px 0 0; }
.fo-napok { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
.fo-napok .szuro { flex: 0 0 auto; text-align: center; line-height: 1.2; }
.fo-napok .szuro:disabled { opacity: .4; cursor: not-allowed; }
.fo-labjegyzet { margin: 18px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.fo-labjegyzet a { text-decoration: none; color: var(--ink); }
.fo-labjegyzet a span { color: var(--accent); }
html[data-beagyazott] body { background: transparent; }
.beagyazott-tarto { padding: 4px 4px 12px; max-width: 760px; margin: 0 auto; }

/* Foglaló beállítása (fiók) */
.fs-kartya { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 10px; background: var(--surface); }
.fs-fej { display: grid; grid-template-columns: auto 1fr auto; gap: 6px; }
.fs-fej select { width: auto; }
.fs-alap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.fs-alap label, .fs-leiras { display: grid; gap: 3px; font-size: .8rem; color: var(--muted); font-weight: 700; }
.fs-leiras { margin-top: 6px; }
.fs-kartya details { margin-top: 8px; }
.fs-kartya summary { cursor: pointer; font-weight: 700; font-size: .9rem; }
.fs-meret-tabla > div { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 6px; align-items: center; margin-bottom: 6px; font-size: .88rem; }
.fa-sor { display: grid; grid-template-columns: 1fr 70px 1fr auto; gap: 6px; margin-bottom: 6px; }
.fs-munk { margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fs-beagyazas textarea { width: 100%; font-family: ui-monospace, monospace; font-size: .8rem; }
@media (max-width: 560px) { .fs-alap { grid-template-columns: 1fr 1fr; } .fs-meret-tabla > div { grid-template-columns: 1fr .7fr .9fr; } }

/* Csomagválasztó (fiók) */
.cs-proba { background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); border-radius: 14px; padding: 14px 16px; margin: 10px 0 16px; }
.cs-proba h3 { margin: 0 0 6px; }
.cs-kartyak { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)) !important; }
.media-sorrend { position: absolute; left: 6px; bottom: 30px; display: flex; gap: 4px; }
.media-sorrend button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(20,26,51,.75); color: #fff; cursor: pointer; font-size: .8rem; }
.media-kep { position: relative; }
.profil-borito { margin: 0 0 14px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 5; background: var(--bg-2); }
.profil-borito img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .profil-borito { aspect-ratio: 16 / 7; } }
.ol-sor { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 6px; background: var(--surface); }
.ol-sor span { flex: 1; font-weight: 700; }
.ol-sor button { width: 36px; height: 36px; }
.ol-borito { aspect-ratio: 16 / 5; border-radius: 12px; background: var(--bg-2) center / cover no-repeat; display: grid; place-items: center; color: var(--muted); margin-bottom: 8px; }
.beagyazott-profil { max-width: 1100px; }
.profil-beagyazott { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 320px; }
@media (max-width: 820px) { .profil-beagyazott { grid-template-columns: 1fr; } }

/* Tudástár lenyíló menü */
.mega { position: relative; }
.mega > summary { list-style: none; cursor: pointer; font-weight: 700; padding: 8px 12px; border-radius: 999px; font-size: .97rem; color: var(--ink); }
.mega > summary::-webkit-details-marker { display: none; }
.mega > summary::after { content: ' ▾'; font-size: .8em; color: var(--muted); }
.mega[open] > summary, .mega > summary:hover, .mega > summary[aria-current] { background: var(--bg-2); color: var(--brand); }
.mega-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(860px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px; z-index: 1200; animation: menu-be .18s ease-out; }
.mega-kartyak { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mega-kartya { display: flex; gap: 10px; align-items: center; padding: 8px !important; border-radius: 14px !important; background: var(--bg); border: 1px solid var(--line); text-decoration: none; }
.mega-kartya img, .mega-emoji { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.mega-emoji { display: grid; place-items: center; font-size: 2rem; background: var(--accent-soft); }
.mega-kartya b { display: block; color: var(--ink); }
.mega-kartya small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; }
.mega-oszlopok { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.mega-oszlop h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 6px; }
.mega-oszlop ul { list-style: none; margin: 0; padding: 0; }
.mega-oszlop a { display: block; padding: 5px 8px !important; border-radius: 8px !important; font-size: .9rem !important; font-weight: 600 !important; }
.mega-oszlop a::after { content: none !important; }
@media (max-width: 900px) {
  .mega > summary { padding: 12px 14px; border-radius: 14px; font-size: 1.02rem; }
  .mega-panel { position: static; width: auto; box-shadow: none; border: 0; padding: 4px 0 8px; animation: none; }
  .mega-kartyak { grid-template-columns: 1fr; }
  .mega-oszlopok { grid-template-columns: 1fr; gap: 8px; }
}
.fs-fajta-eszkoz { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 8px; }
.fs-fajta-eszkoz input { flex: 1; min-width: 160px; }
.fs-minta { margin-bottom: 12px; }
.fs-lepesek { padding-left: 1.2em; }
.fs-lepesek li { margin: 4px 0; }
.fs-lepesek ul { padding-left: 1.1em; margin: 4px 0; }

/* Fiók-űrlapok finomítása */
.fk-panel:not(:empty) { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.fk-panel:not(:empty) > .doboz:first-child { margin-top: 0; }
.fk-panel h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.fk-panel h3:first-child { margin-top: 0; }
.fk-panel .small.muted { line-height: 1.5; }
.szolg-fej { display: grid; grid-template-columns: 2fr 1.2fr .8fr 36px; gap: 6px; margin: 8px 0 4px; padding: 0 4px; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
.szolg-sor input { padding: 9px 12px; }
.pl-panel { background: var(--surface); }
.pl-fej { background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.pl-fej h3 { font-size: 1.05rem; }
/* Foglaló-beállítás: normál méretű, nem félkövér mezőszöveg; kiegészítők külön színnel */
.fs-alap input, .fs-leiras input { font-size: .97rem; font-weight: 500; color: var(--ink); }
.fs-alap label, .fs-leiras { text-transform: none; letter-spacing: 0; }
.fs-kartya { border-left: 4px solid var(--brand); }
.fs-kartya:has([data-f="tipus"] option[value="kieg"]:checked) { border-left-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 35%, var(--surface)); }
.fs-fej select { font-weight: 800; background-color: var(--bg-2); }
.fs-kartya details > summary { padding: 6px 0; }
.fs-meret-tabla { background: var(--bg); border-radius: 12px; padding: 8px 10px; }
.fs-meret-tabla > div span { font-weight: 700; }
/* Jelölőnégyzetek: nagyobb kattintási felület, igazítás */
.jelolo { padding-top: 2px; padding-bottom: 2px; line-height: 1.45; }
.jelolo input { top: 5px; }
/* Fájlválasztó gomb magyar felirattal nem helyettesíthető, de legyen szebb a doboza */
input[type=file] { border-radius: 14px; }
@media (max-width: 560px) {
  .fk-panel:not(:empty) { padding: 12px; border-radius: 14px; }
  .szolg-fej { display: none; }
  .szolg-sor { grid-template-columns: 1fr 1fr auto !important; }
  .szolg-sor input:first-child { grid-column: 1 / -1; }
}

/* ---- Hibajavítás 2026-10-14: kontraszt, menük, akadálymentesség ---- */
/* Sötét módban a --brand / --accent világos szín: rajta sötét szöveg kell (fehérrel 2,7:1 lenne) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .gomb.halvany:hover, :root:not([data-theme="light"]) .gomb.narancs:hover,
  :root:not([data-theme="light"]) .utvonal-mod button[aria-pressed="true"], :root:not([data-theme="light"]) .szuro[aria-pressed="true"] { color: #0b1230; }
  :root:not([data-theme="light"]) .gomb.navi-google { color: #fff !important; }
}
:root[data-theme="dark"] .gomb.halvany:hover, :root[data-theme="dark"] .gomb.narancs:hover,
:root[data-theme="dark"] .utvonal-mod button[aria-pressed="true"], :root[data-theme="dark"] .szuro[aria-pressed="true"] { color: #0b1230; }
:root[data-theme="dark"] .gomb.navi-google { color: #fff !important; }
/* Átugró link: fókuszban látható */
.sr-only:focus, .sr-only:focus-visible { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; overflow: visible; z-index: 3000; padding: 10px 16px; border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); outline: 3px solid var(--brand); }
/* Horgonyra ugráskor a ragadós fejléc ne takarja a célt */
html { scroll-padding-top: 76px; }
/* Mobil: a menü ne csússzon az alsó sáv alá; nagyobb érintési felületek */
@media (max-width: 720px) {
  .menu { max-height: calc(100dvh - 90px - 74px - env(safe-area-inset-bottom, 0px)); }
  .sg-tipp-zar { width: 32px; height: 32px; top: 2px; right: 2px; font-size: .8rem; }
  .sg-tipp { max-width: min(260px, calc(100vw - 96px)); }
  .lab-segito, footer .small a, .belepo .small a { display: inline-block; padding: 6px 0; }
  .profil .adat-sor a, .profil dd a { display: inline-block; padding: 5px 0; }
}
/* Térkép-csoport számai: sötét kontúrral olvashatóbb a piros alapon */
.marker-cluster-kutya div { text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
/* Közösség: a JS-sel töltött sávok helyét előre lefoglaljuk (CLS) */
[data-kz-tipusok] { min-height: 39px; }
[data-kz-iro]:empty { min-height: 96px; }
@media (max-width: 720px) { [data-kz-iro]:empty { min-height: 127px; } }
/* Hosszú listák: a képernyőn kívüli kártyákat a böngésző később rajzolja ki */
.hely-lista > .hely-kartya { content-visibility: auto; contain-intrinsic-size: auto 110px; }
/* Admin mobilon: a hosszú kódok tördelődjenek, a táblák a saját dobozukban görögjenek, ne az oldal */
[data-admin] code { word-break: break-all; white-space: normal; }
[data-admin] table { max-width: 100%; }
[data-admin] .doboz { overflow-x: auto; }
