:root {
  --ink: #0E2A3B;
  --ink-2: #3D5866;
  --mute: #5E7480;
  --lake: #1F7A8C;
  --lake-d: #17606E;
  --lake-l: #E4F1F3;
  --sand: #E2A73E;
  --sand-l: #FBF1DE;
  --bg: #F3F6F7;
  --card: #FFFFFF;
  --line: #DCE5E8;
  --ok: #1E7F4F;
  --ok-l: #E3F4EA;
  --warn: #9A6200;
  --warn-l: #FFF3D6;
  --bad: #B3261E;
  --bad-l: #FCE8E6;
  --r: 16px;
  --r-s: 10px;
  --shadow: 0 1px 2px rgba(14, 42, 59, .06), 0 4px 16px rgba(14, 42, 59, .06);
  --display: 'Outfit', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --tab-h: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--body); padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
body.noscroll { overflow: hidden; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
h1 { font-size: 30px; font-weight: 700; }
h2 { font-size: 21px; font-weight: 600; }
h3 { font-size: 17px; font-weight: 600; }
a { color: var(--lake-d); }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }
.ic { flex-shrink: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Fejléc */
.topbar { position: sticky; top: 0; z-index: 900; display: flex; align-items: center; gap: 16px; padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 600 23px var(--display); letter-spacing: -0.035em; }
.topnav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.topnav .tn { display: none; padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.topnav .tn:hover { background: var(--bg); color: var(--ink); }
.topnav .tn.on { background: var(--ink); color: #fff; }
.lang-btn { min-width: 44px; min-height: 40px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; color: var(--ink-2); }
.lang-btn:hover { border-color: var(--lake); color: var(--lake-d); }

/* Alsó fülsáv (telefon) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.tabbar .tb { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--mute); font-size: 11.5px; font-weight: 600; }
.tabbar .tb.on { color: var(--lake-d); }
@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .topnav .tn { display: inline-block; }
  .topbar { padding: 12px 28px; }
}

/* Oldalak */
.page { max-width: 1180px; margin: 0 auto; padding: 20px 16px 40px; }
.page.narrow { max-width: 720px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head p { margin: 4px 0 0; color: var(--mute); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.card + .card { margin-top: 14px; }
.section { margin-top: 26px; }
.section > h2 { margin-bottom: 12px; }
.muted { color: var(--mute); }
.small { font-size: 13px; }
.empty { text-align: center; padding: 40px 16px; color: var(--mute); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }

/* Gombok */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid transparent; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: #18394D; color: #fff; }
.btn.lake { background: var(--lake); }
.btn.lake:hover { background: var(--lake-d); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink-2); background: var(--card); color: var(--ink); }
.btn.danger { background: transparent; color: var(--bad); border-color: #F0C8C4; }
.btn.danger:hover { background: var(--bad-l); }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: 13.5px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; color: var(--ink-2); }
.icon-btn:hover { background: var(--bg); color: var(--ink); }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--lake-d); font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Űrlapok */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span, .field > label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; font-size: 16px; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: 2px solid var(--lake); outline-offset: 0; border-color: var(--lake); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
@media (max-width: 560px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--lake); }
.err { color: var(--bad); font-size: 14px; min-height: 20px; }
.err.ok { color: var(--ok); }

/* Címkék */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--lake-l); color: var(--lake-d); font-size: 13px; font-weight: 600; }
.chip.sand { background: var(--sand-l); color: #7A5410; }
.chip.gray { background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); }
.chip.ok { background: var(--ok-l); color: var(--ok); }
.chip.warn { background: var(--warn-l); color: var(--warn); }
.chip.bad { background: var(--bad-l); color: var(--bad); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; }
.pick input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pick input:focus-visible + span { outline: 2px solid var(--lake); outline-offset: 2px; }

/* Főoldal */
.hero { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.hero p { margin: 0; color: var(--mute); }
.filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.filters .search { position: relative; }
.filters .search input { padding-left: 14px; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-row select { min-height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 6px 30px 6px 14px; font-size: 14px; font-weight: 500; flex-shrink: 0; -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.filter-row .pick { flex-wrap: nowrap; }
.filter-row .pick span { white-space: nowrap; }
.view-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin-bottom: 12px; }
.view-toggle button { min-height: 38px; padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.view-toggle button.on { background: var(--ink); color: #fff; }
.home-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.home-map { height: 60vh; min-height: 360px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.home-split[data-view=list] .home-map-wrap { display: none; }
.home-split[data-view=map] .lake-list { display: none; }
@media (min-width: 960px) {
  .view-toggle { display: none; }
  .home-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .home-split[data-view] .home-map-wrap { display: block; }
  .home-split[data-view] .lake-list { display: flex; }
  .home-map-wrap { position: sticky; top: 84px; align-self: start; }
  .home-map { height: calc(100vh - 110px); }
}
.lake-list { display: flex; flex-direction: column; gap: 12px; }
.lake-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.lake-card:hover { border-color: var(--lake); color: inherit; }
.lake-card .thumb { width: 112px; height: 100px; border-radius: 12px; background: var(--lake-l); object-fit: cover; display: flex; align-items: center; justify-content: center; color: var(--lake); overflow: hidden; }
.lake-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.lake-card h3 { margin: 2px 0 2px; }
.lake-card .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--mute); margin-bottom: 6px; }
.lake-card .meta b { color: var(--ink); font-weight: 600; }
.lake-card .chips { gap: 4px; }
.lake-card .chip { font-size: 12px; padding: 3px 9px; }
.owner-cta { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: var(--r); padding: 18px; }
.owner-cta p { margin: 2px 0 0; color: #C5D4DA; }
.owner-cta .btn { background: var(--sand); color: var(--ink); }
.owner-cta .btn:hover { background: #EDB959; color: var(--ink); }

/* Térkép jelölő */
.pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--lake); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.pin.feat { background: var(--sand); }
.leaflet-popup-content { font-family: var(--body); margin: 12px 14px; }
.leaflet-popup-content a.pop { font: 600 15px var(--display); text-decoration: none; color: var(--ink); }
.leaflet-container { font-family: var(--body); }

/* Tó oldal */
.gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r); margin: 0 -16px 16px; padding: 0 16px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { height: 240px; width: auto; max-width: 88vw; object-fit: cover; border-radius: 14px; scroll-snap-align: start; }
@media (min-width: 860px) { .gallery { margin: 0 0 18px; padding: 0; } .gallery img { height: 320px; } }
.gallery-empty { height: 160px; border-radius: var(--r); background: linear-gradient(160deg, var(--lake-l), #fff); display: flex; align-items: center; justify-content: center; color: var(--lake); margin-bottom: 16px; }
.lake-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.lake-head .place { display: flex; align-items: center; gap: 6px; color: var(--mute); margin-top: 6px; }
.lake-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 18px; }
@media (max-width: 899px) { .lake-side { order: -1; } }
@media (min-width: 900px) { .lake-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } .lake-side { position: sticky; top: 84px; align-self: start; } }
.prices { display: flex; gap: 10px; flex-wrap: wrap; }
.price { flex: 1 1 120px; background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.price small { display: block; color: var(--mute); font-size: 12.5px; font-weight: 600; }
.price b { font: 600 20px var(--display); }
.feat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.feat-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.feat-item.off { color: #A4B3B9; text-decoration: line-through; }
.contact-btns { display: flex; flex-direction: column; gap: 8px; }
.mini-map { height: 220px; border-radius: 12px; overflow: hidden; margin-top: 12px; border: 1px solid var(--line); }
.prose { white-space: pre-line; color: var(--ink-2); margin: 0; }
.list-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.list-item:first-child { border-top: 0; padding-top: 0; }
.date-badge { flex-shrink: 0; width: 54px; text-align: center; background: var(--lake-l); color: var(--lake-d); border-radius: 12px; padding: 6px 0; }
.date-badge b { display: block; font: 700 20px/1.1 var(--display); }
.date-badge small { font-size: 11.5px; font-weight: 600; text-transform: uppercase; }

/* Fogások */
.catch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
@media (min-width: 700px) { .catch-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.catch-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.catch-card .ph { aspect-ratio: 4 / 3; background: var(--lake-l); display: flex; align-items: center; justify-content: center; color: var(--lake); }
.catch-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.catch-card .cb { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; flex-grow: 1; }
.catch-card .cb h3 { display: flex; justify-content: space-between; gap: 8px; }
.catch-card .cb .w { font: 600 17px var(--display); color: var(--lake-d); white-space: nowrap; }
.catch-card .actions { display: flex; gap: 4px; justify-content: flex-end; padding: 0 8px 8px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.stat small { display: block; color: var(--mute); font-size: 12.5px; font-weight: 600; }
.stat b { font: 600 22px/1.2 var(--display); }

/* Versenyek */
.month-h { font: 600 14px var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); margin: 22px 0 10px; }
.comp-card { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); }
.comp-card + .comp-card { margin-top: 10px; }
.comp-card .cbody { flex: 1 1 auto; min-width: 0; }
.comp-card .cbody p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; white-space: pre-line; }
.tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.tabs button { min-height: 38px; padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.tabs button.on { background: var(--ink); color: #fff; }

/* Tulajdonos / admin */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.photo-grid .ph { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg); }
.photo-grid .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid .ph button { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .92); color: var(--bad); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.upload-btn { position: relative; overflow: hidden; }
.upload-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pick-map { height: 300px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--warn-l); color: var(--warn); font-size: 14px; margin-bottom: 14px; }
.notice.info { background: var(--lake-l); color: var(--lake-d); }

/* Belépés */
.auth-wrap { max-width: 440px; margin: 10px auto; }
.auth-wrap .brand-big { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 18px; text-align: center; }
.auth-wrap .brand-big p { margin: 0; color: var(--mute); }
.role-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.role-pick label { position: relative; cursor: pointer; }
.role-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role-pick span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; font-size: 14px; text-align: center; }
.role-pick input:checked + span { border-color: var(--lake); background: var(--lake-l); color: var(--lake-d); box-shadow: 0 0 0 1px var(--lake); }
.role-pick input:focus-visible + span { outline: 2px solid var(--lake); outline-offset: 2px; }
.menu-list { display: flex; flex-direction: column; }
.menu-list a, .menu-list button { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 4px; border: 0; border-top: 1px solid var(--line); background: none; text-decoration: none; color: var(--ink); font-weight: 500; cursor: pointer; text-align: left; width: 100%; }
.menu-list > :first-child { border-top: 0; }

/* Modális ablak, értesítés */
.modal { position: fixed; inset: 0; z-index: 2000; background: rgba(14, 42, 59, .45); display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.modal-card { width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; background: var(--card); border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 640px) { .modal { align-items: center; padding: 20px; } .modal-card { border-radius: 20px; } }
.modal-head { position: sticky; top: 0; background: var(--card); display: flex; align-items: center; justify-content: space-between; padding: 14px 10px 8px 20px; z-index: 1; }
.modal-body { padding: 4px 20px 22px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 16px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 500; z-index: 3000; transition: .25s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--bad); }
@media (min-width: 860px) { .toast { bottom: 24px; } }
.spinner { width: 34px; height: 34px; border: 3px solid var(--lake-l); border-top-color: var(--lake); border-radius: 50%; margin: 50px auto; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Telefon (iOS) javítások: ne nagyítson rá a mezőkre, ne lógjanak ki a dátummezők, ne csússzon oldalra az oldal */
html, body { overflow-x: clip; max-width: 100%; }
.grid2 > *, .grid3 > *, .field, .field > * { min-width: 0; }
input[type=date], input[type=datetime-local], input[type=time] { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; text-align: left; min-height: 46px; line-height: 1.3; }
input[type=date]::-webkit-date-and-time-value, input[type=datetime-local]::-webkit-date-and-time-value { text-align: left; margin: 0; }
input[type=search] { -webkit-appearance: none; appearance: none; }
@media (max-width: 859px) {
  input, select, textarea, .filter-row select { font-size: 16px !important; }
  .page { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .topbar { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
}
.leaflet-container { max-width: 100%; }

/* Értékelés, kedvenc */
.star { color: #C9D3D7; display: inline-flex; }
.star.on { color: var(--sand); }
.star.on svg { fill: var(--sand); }
.rating-sum { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 4px 0; border: 0; background: none; cursor: pointer; color: var(--ink); font-size: 14px; }
.rating-sum b { margin-left: 4px; }
.rating-sum span:last-child { color: var(--mute); }
.stars-sm { display: inline-flex; }
.fav-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.fav-btn:hover { border-color: #E9A5A0; color: var(--bad); }
.fav-btn.on { background: var(--bad-l); border-color: #F0C8C4; color: var(--bad); }
.fav-btn.on svg { fill: currentColor; }
.star-pick { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-pick label { position: relative; cursor: pointer; color: #C9D3D7; display: inline-flex; padding: 4px; border-radius: 10px; }
.star-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.star-pick label:hover, .star-pick label:hover ~ label, .star-pick input:checked ~ span, .star-pick label:has(input:checked), .star-pick label:has(input:checked) ~ label { color: var(--sand); }
.star-pick label:has(input:checked) svg, .star-pick label:has(input:checked) ~ label svg, .star-pick label:hover svg, .star-pick label:hover ~ label svg { fill: var(--sand); }
.star-pick label:has(input:focus-visible) { outline: 2px solid var(--lake); }

/* Időjárás */
.wx-card { margin-bottom: 14px; }
.wx-card h2 { margin-bottom: 10px; }
.wx-now { display: flex; align-items: center; gap: 14px; }
.wx-ic { width: 64px; height: 64px; border-radius: 16px; background: var(--lake-l); color: var(--lake-d); display: flex; align-items: center; justify-content: center; }
.wx-temp { font: 700 38px/1 var(--display); letter-spacing: -0.03em; }
.bite { margin: 14px 0; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.bite .bite-lvl { font-weight: 700; }
.bite-bar { height: 8px; border-radius: 999px; background: #DCE5E8; margin: 8px 0 6px; overflow: hidden; }
.bite-bar span { display: block; height: 100%; border-radius: 999px; background: var(--mute); }
.bite-good { background: var(--ok-l); color: var(--ok); } .bite-good .bite-bar span { background: var(--ok); }
.bite-mid { background: var(--sand-l); color: #7A5410; } .bite-mid .bite-bar span { background: var(--sand); }
.bite-low { background: var(--bg); color: var(--ink-2); }
.wx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wx-grid > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--lake-d); }
.wx-grid small { color: var(--mute); font-size: 12px; font-weight: 600; }
.wx-grid b { color: var(--ink); font-size: 15px; }
.tr { font-weight: 700; }
.tr-up { color: #B26A00; } .tr-down { color: var(--lake-d); } .tr-flat { color: var(--mute); }
.wx-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.wx-day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 12px; background: var(--bg); color: var(--lake-d); font-size: 13px; }
.wx-day small { color: var(--ink-2); font-weight: 600; text-transform: capitalize; }
.wx-day b { color: var(--ink); }
.wx-day span { color: var(--mute); }
.wx-day em { font-style: normal; font-size: 11.5px; color: #2F6FB5; }
.lake-card .wx-mini { display: inline-flex; align-items: center; gap: 4px; color: var(--lake-d); font-weight: 600; }

/* Főoldali időjárás */
.wx-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.wx-head h2 { margin: 0 !important; }
.wx-loc { display: inline-flex; align-items: center; gap: 6px; color: var(--lake-d); min-width: 0; max-width: 100%; }
.wx-loc select { min-height: 40px; max-width: 220px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 6px 30px 6px 12px; font-weight: 600; font-size: 14px; color: var(--ink); -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; text-overflow: ellipsis; }
.wx-wide { margin-bottom: 18px; }
@media (min-width: 960px) {
  .wx-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); grid-template-areas: "head head head" "now grid days" "bite grid days" "src src src"; gap: 0 18px; align-items: start; }
  .wx-wide > .wx-head { grid-area: head; }
  .wx-wide > .wx-now { grid-area: now; }
  .wx-wide > .bite { grid-area: bite; margin-bottom: 0; }
  .wx-wide > .wx-grid { grid-area: grid; }
  .wx-wide > .wx-days { grid-area: days; margin-top: 0; }
  .wx-wide > .small { grid-area: src; }
  .wx-wide > .spinner, .wx-wide > p { grid-column: 1 / -1; }
}

/* Statisztika, átkérés, lábléc */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.stat-mini { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.stat-mini small { display: block; color: var(--mute); font-size: 12px; font-weight: 600; }
.stat-mini b { font: 600 20px var(--display); }
.mini-chart { display: flex; align-items: flex-end; gap: 3px; height: 90px; margin-bottom: 6px; }
.mini-chart span { flex: 1 1 0; background: var(--lake); border-radius: 3px 3px 0 0; min-height: 3px; }
.mini-chart span.zero { background: var(--line); }
.claim-card { margin-top: 14px; }
.site-footer { max-width: 1180px; margin: 0 auto; padding: 18px 16px 30px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: center; color: var(--mute); font-size: 13.5px; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink-2); text-decoration: none; padding: 6px 0; }
.site-footer a:hover { color: var(--lake-d); text-decoration: underline; }
.legal h2 { margin: 22px 0 8px; font-size: 18px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; }

/* ===== Horgászos kinézet és animációk ===== */
body { background: var(--bg) linear-gradient(180deg, #E7EFF1 0, var(--bg) 340px) no-repeat; }

/* Töltőképernyő */
#splash { position: fixed; inset: 0; z-index: 5000; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #0E2A3B 0%, #13495A 60%, #1F7A8C 100%); color: #fff; transition: opacity .5s ease, visibility .5s; overflow: hidden; }
#splash.out { opacity: 0; visibility: hidden; }
.splash-in { display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translateY(-20px); }
.splash-in .bob-svg { width: 132px; height: 132px; color: #fff; }
.splash-name { font: 700 34px var(--display); letter-spacing: -0.04em; opacity: 0; animation: fadeUp .7s .25s ease forwards; }
.splash-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 200%; height: 120px; animation: waveSlide 9s linear infinite; }
.splash-waves .w1 { fill: rgba(255, 255, 255, .08); } .splash-waves .w2 { fill: rgba(255, 255, 255, .12); }

/* Úszó és gyűrűk (töltőképernyő és töltés közben) */
.bob { transform-origin: 60px 54px; animation: bob 1.8s ease-in-out infinite; }
.ring { fill: none; stroke: currentColor; stroke-width: 2.5; opacity: 0; transform-origin: 60px 88px; animation: ripple 2.4s ease-out infinite; }
.ring.r2 { animation-delay: .8s; } .ring.r3 { animation-delay: 1.6s; }
.loader { display: flex; justify-content: center; padding: 40px 0; color: var(--lake); }
.loader .bob-svg { width: 76px; height: 76px; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(7px) rotate(3deg); } }
@keyframes ripple { 0% { opacity: .9; transform: scale(.35); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes waveSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Főoldali tavi fejléc */
.lake-hero { position: relative; overflow: hidden; border-radius: 22px; margin: 4px 0 18px; padding: 26px 22px 54px; color: #fff; background: radial-gradient(120% 140% at 15% 0%, #2A8FA3 0%, #1F7A8C 35%, #0E2A3B 100%); box-shadow: var(--shadow); animation: fadeUp .5s ease both; }
.lake-hero h1 { color: #fff; font-size: 34px; position: relative; z-index: 2; }
.lake-hero p { color: #CFE3E8; margin: 6px 0 0; max-width: 520px; position: relative; z-index: 2; }
.lh-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sand); margin-bottom: 6px; position: relative; z-index: 2; }
.lh-reeds { position: absolute; right: -10px; bottom: 10px; width: 170px; height: 140px; stroke: #5E9C78; z-index: 1; opacity: .85; }
.lh-reeds .reed { transform-origin: bottom center; transform-box: fill-box; animation: sway 4s ease-in-out infinite; }
.lh-reeds .reed.d2 { animation-duration: 5s; animation-delay: -1s; } .lh-reeds .reed.d3 { animation-duration: 4.5s; animation-delay: -2s; }
.lh-fish { position: absolute; bottom: 30px; left: -60px; width: 46px; color: rgba(255, 255, 255, .22); z-index: 1; animation: swim 14s linear infinite; }
.lh-waves { position: absolute; left: 0; bottom: 0; width: 200%; height: 70px; z-index: 1; animation: waveSlide 12s linear infinite; }
.lh-waves .w1 { fill: rgba(255, 255, 255, .07); } .lh-waves .w2 { fill: rgba(255, 255, 255, .12); }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes swim { 0% { transform: translateX(0) translateY(0); } 50% { transform: translateX(55vw) translateY(-6px); } 100% { transform: translateX(110vw) translateY(0); } }
@media (min-width: 860px) { .lake-hero { padding: 38px 40px 64px; } .lake-hero h1 { font-size: 44px; } .lh-reeds { width: 230px; height: 190px; right: 30px; } }

/* Oldalcímek alatti hullámvonal */
.page-head h1::after, .section > h2::after { content: ''; display: block; width: 44px; height: 8px; margin-top: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 8'%3E%3Cpath d='M0 4c4-4 7-4 11 0s7 4 11 0 7-4 11 0 7 4 11 0' fill='none' stroke='%231F7A8C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }

/* Belépő animációk */
.page > * { animation: fadeUp .45s ease both; }
.page > *:nth-child(2) { animation-delay: .05s; } .page > *:nth-child(3) { animation-delay: .1s; } .page > *:nth-child(4) { animation-delay: .15s; } .page > *:nth-child(5) { animation-delay: .2s; }
.lake-list > *, .catch-grid > *, .comp-card { animation: fadeUp .4s ease both; }
.lake-list > *:nth-child(2), .catch-grid > *:nth-child(2) { animation-delay: .06s; } .lake-list > *:nth-child(3), .catch-grid > *:nth-child(3) { animation-delay: .12s; }
.lake-list > *:nth-child(4), .catch-grid > *:nth-child(4) { animation-delay: .18s; } .lake-list > *:nth-child(n+5), .catch-grid > *:nth-child(n+5) { animation-delay: .22s; }

/* Kártyák, gombok, mikro-animációk */
.lake-card, .catch-card, .comp-card, .stat, .wx-grid > div { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.lake-card:hover, .catch-card:hover, .comp-card:hover { transform: translateY(-3px); box-shadow: 0 6px 22px rgba(14, 42, 59, .12); }
.lake-card .thumb img, .catch-card .ph img { transition: transform .5s ease; }
.lake-card:hover .thumb img, .catch-card:hover .ph img { transform: scale(1.06); }
.lake-card .thumb { background: linear-gradient(160deg, #D7EBEE, #EEF6F7); }
.btn { transition: background .15s, border-color .15s, transform .12s ease, box-shadow .2s; }
.btn:active, .fav-btn:active, .tb:active { transform: scale(.96); }
.btn.lake { box-shadow: 0 4px 14px rgba(31, 122, 140, .28); }
.fav-btn.on svg { animation: pop .35s ease; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.bite-bar span { animation: grow 1s .2s ease both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pin { animation: pinDrop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes pinDrop { from { transform: rotate(-45deg) translate(-14px, -14px); opacity: 0; } to { transform: rotate(-45deg); opacity: 1; } }
.wx-ic svg { animation: floaty 4s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.tabbar .tb.on svg { animation: pop .35s ease; }
.modal:not([hidden]) .modal-card { animation: sheetUp .28s ease; }
@keyframes sheetUp { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.owner-cta { position: relative; overflow: hidden; background: linear-gradient(135deg, #0E2A3B, #17465A); }
.owner-cta::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .08); box-shadow: 0 0 0 18px rgba(255, 255, 255, .04), 0 0 0 40px rgba(255, 255, 255, .03); }

/* Mozgáscsökkentés tisztelete */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .splash-waves, .lh-waves, .lh-fish { animation: none !important; }
}

/* Összecsukható időjárás (telefon) */
.wx-sum { display: none; }
@media (max-width: 859px) {
  .wx-sum { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); cursor: pointer; text-align: left; color: var(--ink); margin-bottom: 12px; }
  .wx-sum-ic { color: var(--lake-d); display: inline-flex; }
  .wx-sum-t { font: 700 22px var(--display); }
  .wx-sum-p { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
  .wx-sum-more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--lake-d); }
  .wx-sum[aria-expanded=true] .wx-sum-more svg { transform: rotate(180deg); }
  .wx-collapsed .wx-sum { margin-bottom: 0; }
  .wx-collapsed > .wx-now, .wx-collapsed > .bite, .wx-collapsed > .wx-grid, .wx-collapsed > .wx-days, .wx-collapsed > .small.muted { display: none; }
  .wx-collapsible:not(.wx-collapsed) > .wx-now { display: none; }
}
.bite-chip { font-size: 12px; padding: 3px 9px; }
.bite-chip.bite-good { background: var(--ok-l); color: var(--ok); } .bite-chip.bite-mid { background: var(--sand-l); color: #7A5410; } .bite-chip.bite-low { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }

/* Fogás időjárása és szokások */
.catch-wx { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 12.5px; color: var(--lake-d); margin-top: 4px; }
.catch-wx span { display: inline-flex; align-items: center; gap: 3px; }
.ins-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
@media (min-width: 760px) { .ins-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ins { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.ins h3 { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.ins .bar { display: grid; grid-template-columns: 74px minmax(0, 1fr) 22px; gap: 6px; align-items: center; font-size: 12.5px; margin-top: 4px; }
.ins .bar i { display: block; height: 8px; border-radius: 999px; background: var(--lake); transform-origin: left; animation: grow .8s ease both; }
.ins .bar i.top { background: var(--sand); }
.ins .bar span:last-child { text-align: right; color: var(--mute); }
.ins .best { font-size: 12.5px; margin-top: 8px; color: var(--ink); }

/* Tilalmi idők */
.season-today { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 760px) { .season-today { grid-template-columns: repeat(2, minmax(0, 1fr)); } .season-today .card + .card { margin-top: 0; } }
.season-today h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 18px; }
.st-now { border-color: #F0C8C4; }
.season-cal { position: relative; padding: 14px 14px 10px; overflow-x: auto; }
.sc-row { display: grid; grid-template-columns: 112px minmax(420px, 1fr); align-items: center; gap: 10px; min-height: 30px; }
.sc-row > span { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-row.on > span { color: var(--bad); font-weight: 700; }
.sc-track { position: relative; height: 14px; border-radius: 999px; background: repeating-linear-gradient(90deg, var(--bg) 0, var(--bg) calc(100% / 12 - 1px), var(--line) calc(100% / 12 - 1px), var(--line) calc(100% / 12)); }
.sc-track i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--lake); animation: grow .7s ease both; transform-origin: left; }
.sc-row.on .sc-track i { background: var(--bad); }
.sc-head .sc-track { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); background: none; height: auto; }
.sc-head .sc-track b { font-size: 11px; font-weight: 600; color: var(--mute); text-align: center; text-transform: capitalize; }
.sc-now { position: absolute; top: -8px; bottom: -8px; width: 2px; margin-left: -1px; background: var(--sand); z-index: 1; }
.sc-head .sc-now { top: auto; bottom: -10px; height: 12px; }
.sc-now span { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 700; font-style: normal; color: #7A5410; background: var(--sand-l); padding: 0 5px; border-radius: 6px; white-space: nowrap; }
.sc-head { margin-bottom: 4px; padding-top: 16px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12.5px; color: var(--mute); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); }
.tbl tr.on td { background: var(--bad-l); color: var(--bad); font-weight: 600; }
.season-home { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: -4px 0 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); animation: fadeUp .45s .08s ease both; }
.season-home:hover { border-color: var(--lake); color: var(--ink); }
.sh-ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--bad-l); color: var(--bad); display: flex; align-items: center; justify-content: center; }
.sh-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 auto; }
.sh-body .chips { gap: 4px; }
.sh-body .chip { font-size: 12px; padding: 3px 9px; }
.sh-more { font-size: 13px; font-weight: 600; color: var(--lake-d); white-space: nowrap; }
@media (max-width: 420px) { .sh-more { display: none; } }

/* Részletes kapás-előrejelzés */
.bite-sp { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: -2px -2px 10px; padding: 2px; }
.bite-sp::-webkit-scrollbar { display: none; }
.bite-sp button { flex-shrink: 0; min-height: 34px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(14, 42, 59, .15); background: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.bite-sp button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.bite-hours { display: flex; align-items: flex-end; gap: 2px; height: 56px; margin-top: 10px; }
.bite-hours span { flex: 1 1 0; border-radius: 3px 3px 0 0; min-height: 4px; background: #C9D3D7; transform-origin: bottom; animation: growUp .6s ease both; }
.bite-hours .bh-good { background: var(--ok); } .bite-hours .bh-mid { background: var(--sand); } .bite-hours .bh-low { background: #B9C6CB; }
.bite-hours span.now { outline: 2px solid var(--ink); outline-offset: 1px; }
@keyframes growUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.bite-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--mute); margin-top: 3px; }
.bite-best { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.bite-best .bb { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; background: rgba(255, 255, 255, .75); border-radius: 10px; padding: 7px 10px; font-size: 13.5px; }
.bite-best .bb span:first-child { font-weight: 700; white-space: nowrap; }
.bite-best .bb .small { color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bite-best .bb em { font-style: normal; font-weight: 700; color: var(--ok); }
.wx-grid > div .small { display: block; line-height: 1.35; }
.bite-best .bb { grid-template-columns: minmax(0, 1fr) auto; }
.bite-best .bb .small { grid-column: 1 / -1; grid-row: 2; white-space: normal; font-size: 12px; }
.bite-best .bb em { grid-row: 1; grid-column: 2; }

/* --- Kötelező mezők --- */
.req { color: var(--bad); font-weight: 700; }
.req-note { margin: -4px 0 12px; }
.field.bad input, .field.bad select, .field.bad textarea, .field.bad .pick-map { border-color: var(--bad); outline: 2px solid var(--bad-l); }
.field.bad > span { color: var(--bad); }

/* --- Offline --- */
.pending-box { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.pending-box .ic { flex-shrink: 0; margin-top: 2px; }

/* --- Saját helyek --- */
.map.spots-map { height: 300px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.modal .pick-map { height: 240px; }
.pin.spot { background: var(--ok); }
.spot-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.spot-card h3 { font-size: 17px; }
.spot-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--ok-l); color: var(--ok); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.spot-actions { margin-top: 12px; gap: 8px; flex-wrap: wrap; }

/* --- Admin statisztika --- */
.adm-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.adm-stats .stat em { display: block; font-style: normal; font-size: 12.5px; color: var(--ok); font-weight: 600; }
.adm-stats .stat em.w { color: var(--warn); }

/* --- A hónap fogása --- */
.cotm { display: grid; gap: 10px; }
.cotm-row { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; }
.cotm-row .rk { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 16px var(--display); background: var(--lake-l); color: var(--lake-d); flex-shrink: 0; }
.cotm-row:nth-child(1) .rk { background: var(--sand); color: #fff; }
.cotm-row:nth-child(2) .rk { background: #B9C6CC; color: #fff; }
.cotm-row:nth-child(3) .rk { background: #C98B57; color: #fff; }
.cotm-row .ph { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--lake-l); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--lake); overflow: hidden; }
.cotm-row .ph img { width: 100%; height: 100%; object-fit: cover; }
.cotm-row .wt { font: 700 19px var(--display); color: var(--lake-d); white-space: nowrap; }

/* --- Túratervező --- */
.trip-days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.trip-days button { flex: 0 0 auto; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 8px 12px; font: 600 13.5px var(--body); color: var(--ink-2); cursor: pointer; min-width: 64px; }
.trip-days button.on { background: var(--lake); border-color: var(--lake); color: #fff; }
.trip-win { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--ok-l); margin-bottom: 6px; }
.trip-win b { font: 600 16px var(--display); }
.trip-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.trip-check label { display: flex; gap: 10px; align-items: center; padding: 6px 0; cursor: pointer; }
.trip-check input { width: 20px; height: 20px; accent-color: var(--lake); }
.trip-check input:checked + span { text-decoration: line-through; color: var(--mute); }

/* --- Telepítés --- */
.inst-banner { display: flex; align-items: center; gap: 12px; background: linear-gradient(120deg, var(--ink), var(--lake-d)); color: #fff; border-radius: var(--r); padding: 12px 12px 12px 16px; margin-bottom: 16px; box-shadow: var(--shadow); }
.inst-banner .small { opacity: .85; }
.inst-banner .btn { background: var(--sand); color: var(--ink); flex-shrink: 0; }
.inst-banner .icon-btn { color: #fff; flex-shrink: 0; }
.inst-steps ol { padding-left: 22px; margin: 0 0 12px; display: grid; gap: 8px; }

/* --- Versenyek --- */
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--mute); font-weight: 600; font-size: 14px; margin-bottom: 10px; text-decoration: none; }
.comp-hero { margin-bottom: 16px; }
.comp-hero h1 { margin: 10px 0 6px; }
.comp-hero .row { margin-top: 10px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); margin-right: 6px; vertical-align: middle; animation: livepulse 1.4s infinite; }
@keyframes livepulse { 50% { opacity: .3; } }
.chip.stage-live { background: var(--bad-l); color: var(--bad); }
.reg-card h2 { font-size: 19px; margin-bottom: 8px; }
.reg-card, .reg-mine { margin-bottom: 16px; }
.reg-mine { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.peg-big { font: 700 26px var(--display); color: var(--lake-d); }
.big-fish { display: flex; gap: 12px; align-items: center; background: var(--sand-l, #FBF1DC); border-radius: var(--r); padding: 12px 14px; margin-bottom: 12px; color: var(--ink); }
.big-fish small { display: block; color: var(--mute); font-size: 12px; }
.res-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.res-row { display: grid; grid-template-columns: 30px 40px minmax(0,1fr) 40px 88px; gap: 6px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 14.5px; }
.res-table.sec .res-row { grid-template-columns: 22px 30px minmax(0,1fr) 46px 28px 76px; gap: 5px; padding: 10px; }
.res-row.head { border-top: 0; background: var(--bg-2, #EEF3F5); font-size: 12px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .02em; }
.res-row .main { text-align: right; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.res-row .pl { font: 700 17px var(--display); }
.res-row .pg { color: var(--mute); font-variant-numeric: tabular-nums; }
.res-row .nm { min-width: 0; overflow-wrap: anywhere; font-weight: 600; line-height: 1.25; }
.res-row .nm small { display: block; font-weight: 400; color: var(--mute); font-size: 12px; }
.res-row.mine { background: var(--lake-l); }
.res-row.p1 .pl { color: #C8902A; } .res-row.p2 .pl { color: #8A9AA2; } .res-row.p3 .pl { color: #B0743F; }
.entry-list { display: grid; gap: 6px; }
.entry-row { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.entry-row small { display: block; color: var(--mute); font-size: 12.5px; }
.entry-row.mine { border-color: var(--lake); background: var(--lake-l); }
.entry-row .pg, .cm-entry .pg { min-width: 36px; height: 36px; border-radius: 10px; background: var(--lake-l); color: var(--lake-d); display: flex; align-items: center; justify-content: center; font: 700 16px var(--display); flex-shrink: 0; }
dl.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
dl.kv dt { color: var(--mute); } dl.kv dd { margin: 0; font-weight: 600; }
.stage-steps { display: flex; gap: 4px; overflow-x: auto; margin: 12px 0 14px; padding-bottom: 2px; }
.stage-steps button { flex: 1 0 auto; min-width: 82px; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 8px 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; font: 600 12.5px var(--body); color: var(--ink-2); }
.stage-steps button b { width: 22px; height: 22px; border-radius: 50%; background: var(--line); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.stage-steps button.done b { background: var(--ok); color: #fff; }
.stage-steps button.on { border-color: var(--lake); background: var(--lake); color: #fff; }
.stage-steps button.on b { background: #fff; color: var(--lake); }
.stage-steps button:disabled { opacity: .45; cursor: not-allowed; }
.cm-tabs { overflow-x: auto; flex-wrap: nowrap; }
.cm-tabs button { white-space: nowrap; }
.cm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.cm-stats span { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px; text-align: center; font-size: 12px; color: var(--mute); }
.cm-stats b { display: block; font: 700 20px var(--display); color: var(--ink); }
.cm-entries { display: grid; gap: 8px; }
.cm-entry { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.cm-entry.st-pending { border-left: 4px solid var(--warn); }
.cm-entry.st-waitlist { opacity: .8; border-left: 4px solid var(--line); }
.sm-select { padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-size: 16px; max-width: 100%; }
.check.sm { margin: 0; }
.peg-in { width: 64px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; font: 700 18px var(--display); text-align: center; }
.search-in { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; margin-bottom: 10px; background: var(--card); }
.weigh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.weigh-btn { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 10px; align-items: center; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; min-height: 72px; }
.weigh-btn:active { transform: scale(.98); }
.weigh-btn .pg { grid-row: span 2; font: 700 28px var(--display); color: var(--lake-d); min-width: 36px; text-align: center; }
.weigh-btn .nm { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.weigh-btn .tt { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.weigh-in { font: 700 34px var(--display) !important; text-align: center; padding: 14px !important; }
/* TV */
body.tv-mode .topbar, body.tv-mode .tabbar, body.tv-mode .site-footer { display: none; }
body.tv-mode { background: #0E2A3B; }
.tv-wrap { padding: 24px 32px; color: #fff; min-height: 100vh; }
.tv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.tv-head h1 { color: #fff; font-size: clamp(26px, 4vw, 48px); margin: 0 0 6px; }
.tv-head p { color: rgba(255,255,255,.75); margin: 0; }
.tv-exit { color: #fff; border-color: rgba(255,255,255,.3); }
.res-table.tv { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.res-table.tv .res-row { font-size: clamp(16px, 2vw, 26px); padding: clamp(8px, 1.2vw, 16px) 16px; border-color: rgba(255,255,255,.1); grid-template-columns: 2.2em 3em minmax(0,1fr) 3em 6.5em; }
.res-table.tv.sec .res-row { grid-template-columns: 2.2em 3em minmax(0,1fr) 4.5em 3em 6.5em; }
.res-table.tv .res-row.mine { background: rgba(255,255,255,.12); }
.tv-exit.btn { color: #fff !important; background: transparent; }
.res-table.tv .res-row.head { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); font-size: clamp(12px, 1.2vw, 16px); }
.res-table.tv .pg, .res-table.tv .nm small { color: rgba(255,255,255,.6); }
.tv-wrap .big-fish { background: rgba(226,167,62,.2); color: #fff; font-size: clamp(16px, 1.8vw, 24px); }
.tv-wrap .big-fish small { color: rgba(255,255,255,.7); }
.tv-foot { margin-top: 18px; color: rgba(255,255,255,.5); font-size: 14px; }
@media print {
  .topbar, .tabbar, .site-footer, .back, .stage-steps, .cm-tabs, .btn, .notice, .page-head, .card, .row:has(> #dPrint) { display: none !important; }
  .print-area { display: block !important; }
  .peg-in { border: 0; }
}
.res-row.head span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-steps button { min-width: 74px; }
