:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --surface: #ffffff;
  --text: #222222;
  --muted: #6a6a6a;
  --line: #ebebeb;
  --line-strong: #dddddd;
  --water: #1da851;
  --water-deep: #158a42;
  --reed: #0e7a4a;
  --accent: #1da851;
  --danger: #c13515;
  --ok: #008a05;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
  --radius: 16px;
  --radius-sm: 12px;
  --display: "Syne", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* —— Carp swim banner —— */
.carp-banner {
  position: relative;
  height: 96px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f3fbf6 55%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.carp-banner svg.waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

/* Meškerės valas + kabliukas — plaukia kartu su karpiu */
.fish-rig {
  position: absolute;
  top: 4px;
  left: 0;
  width: 28px;
  height: 78px;
  z-index: 2;
  transform-origin: 50% 0;
  animation: hook-swim 28s linear infinite;
  will-change: transform;
  pointer-events: none;
}
.fish-rig .line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 0.5px;
  height: 44px;
  margin-left: -0.25px;
  background: rgba(90, 96, 102, 0.55);
  border-radius: 0;
  animation: line-bob 2.2s ease-in-out infinite alternate;
  transform-origin: top center;
}
.fish-rig .hook {
  position: absolute;
  left: 50%;
  top: 40px;
  width: 18px;
  height: 28px;
  margin-left: -5px;
  filter: drop-shadow(0 0.5px 0.5px rgba(0,0,0,0.22));
  animation: hook-bob 2.2s ease-in-out infinite alternate;
}
.fish-rig .hook svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.carp-swimmer {
  position: absolute;
  top: 50%;
  left: 0;
  width: 120px;
  height: 56px;
  margin-top: -18px;
  z-index: 3;
  animation: carp-swim 28s linear infinite;
  will-change: transform;
  pointer-events: none;
}
.carp-swimmer svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 2px 4px rgba(21, 138, 66, 0.18));
  animation: carp-wiggle 0.7s ease-in-out infinite alternate;
  transform-origin: 55% 50%;
}
.carp-swimmer .fin {
  transform-origin: 42px 28px;
  animation: carp-fin 0.45s ease-in-out infinite alternate;
}

/* Gap ~20vw; → hook leads; ← carp leads */
@keyframes hook-swim {
  0%   { transform: translateX(2vw) translateY(0) scaleX(1); }
  12%  { transform: translateX(24vw) translateY(4px) scaleX(1); }
  24%  { transform: translateX(46vw) translateY(-3px) scaleX(1); }
  36%  { transform: translateX(68vw) translateY(3px) scaleX(1); }
  45%  { transform: translateX(88vw) translateY(1px) scaleX(1); }
  50%  { transform: translateX(88vw) translateY(1px) scaleX(-1); }
  62%  { transform: translateX(66vw) translateY(-3px) scaleX(-1); }
  74%  { transform: translateX(42vw) translateY(4px) scaleX(-1); }
  86%  { transform: translateX(18vw) translateY(-2px) scaleX(-1); }
  95%  { transform: translateX(-2vw) translateY(0) scaleX(-1); }
  100% { transform: translateX(2vw) translateY(0) scaleX(1); }
}

@keyframes carp-swim {
  0%   { transform: translateX(-18vw) translateY(8px) rotate(-4deg) scaleX(1); }
  6%   { transform: translateX(-8vw) translateY(-6px) rotate(5deg) scaleX(1); }
  12%  { transform: translateX(4vw) translateY(10px) rotate(-6deg) scaleX(1); }
  18%  { transform: translateX(16vw) translateY(-4px) rotate(4deg) scaleX(1); }
  24%  { transform: translateX(28vw) translateY(11px) rotate(-5deg) scaleX(1); }
  30%  { transform: translateX(40vw) translateY(-7px) rotate(6deg) scaleX(1); }
  36%  { transform: translateX(52vw) translateY(9px) rotate(-4deg) scaleX(1); }
  42%  { transform: translateX(62vw) translateY(-3px) rotate(3deg) scaleX(1); }
  45%  { transform: translateX(68vw) translateY(6px) rotate(-2deg) scaleX(1); }
  50%  { transform: translateX(68vw) translateY(6px) rotate(2deg) scaleX(-1); }
  56%  { transform: translateX(56vw) translateY(-8px) rotate(-5deg) scaleX(-1); }
  62%  { transform: translateX(44vw) translateY(10px) rotate(6deg) scaleX(-1); }
  68%  { transform: translateX(32vw) translateY(-5px) rotate(-4deg) scaleX(-1); }
  74%  { transform: translateX(20vw) translateY(11px) rotate(5deg) scaleX(-1); }
  80%  { transform: translateX(8vw) translateY(-6px) rotate(-6deg) scaleX(-1); }
  86%  { transform: translateX(-4vw) translateY(8px) rotate(4deg) scaleX(-1); }
  92%  { transform: translateX(-14vw) translateY(-3px) rotate(-3deg) scaleX(-1); }
  95%  { transform: translateX(-22vw) translateY(5px) rotate(2deg) scaleX(-1); }
  100% { transform: translateX(-18vw) translateY(8px) rotate(-4deg) scaleX(1); }
}

@keyframes line-bob {
  from { transform: scaleY(1) rotate(-0.6deg); }
  to { transform: scaleY(1.03) rotate(0.8deg); }
}
@keyframes hook-bob {
  from { transform: translateY(0) rotate(-1.5deg); }
  to { transform: translateY(1.5px) rotate(2deg); }
}

@keyframes carp-wiggle {
  from { transform: skewX(-3deg) scaleY(1); }
  to { transform: skewX(3deg) scaleY(0.97); }
}

@keyframes carp-fin {
  from { transform: rotate(-10deg); }
  to { transform: rotate(12deg); }
}
@media (prefers-reduced-motion: reduce) {
  .carp-swimmer, .carp-swimmer svg, .carp-swimmer .fin, .fish-rig, .fish-rig .line, .fish-rig .hook { animation: none; }
  .carp-swimmer { left: 30%; transform: none; }
  .fish-rig { left: 48%; transform: none; }
}

/* —— Header (Airbnb-like) —— */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1da851;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}
.brand strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: #1da851;
}
.brand span { display: none; }

.nav-cats {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-cat {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}
.nav-cat:hover { color: var(--text); text-decoration: none; background: var(--bg-soft); }
.nav-cat.on {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--text);
  border-radius: 0;
  background: transparent;
}
.nav-cat svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav a, .nav button.linkish {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover, .nav button.linkish:hover {
  background: var(--bg-soft);
  text-decoration: none;
}
.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 6px 6px 14px;
  box-shadow: var(--shadow-soft);
}
.nav-pill .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.acct-dd {
  position: relative;
  display: inline-flex;
}
.acct-dd > .nav-pill,
.acct-pill {
  font: inherit;
  color: inherit;
  background: #fff;
  padding: 4px 4px 4px 14px;
}
.acct-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.acct-name {
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  line-height: 1;
}
.acct-name:hover { text-decoration: none; color: var(--text); }
.acct-burger {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #222;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  cursor: pointer;
}
.acct-menu {
  display: none !important;
  position: fixed;
  z-index: 400;
  min-width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  gap: 2px;
}
.acct-dd.open .acct-menu {
  display: grid !important;
}
.acct-menu a,
.acct-menu .acct-out {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
}
.nav .acct-menu a {
  padding: 10px 12px;
  border-radius: 10px;
}
.acct-menu a:hover,
.acct-menu .acct-out:hover {
  background: var(--bg-soft);
  text-decoration: none;
}
.acct-sep {
  height: 1px;
  background: var(--line);
  margin: 6px 4px;
}
.acct-out { color: #c13515 !important; }

.wrap {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 64px;
}
.wrap-wide { width: min(1360px, calc(100% - 32px)); }

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--text);
}
h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.15; }
h2 { font-size: 1.35rem; }
p { margin: 0 0 10px; color: var(--muted); }

.btn, button.btn, a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font: 700 14px/1 var(--body);
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: scale(1.02); text-decoration: none; }
.btn-primary { background: #1da851; color: #fff; }
.btn-primary:hover { background: #158a42; }
.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-reed { background: #128c7e; color: #fff; }
.btn-danger {
  background: #fff;
  color: var(--danger);
  border: 1px solid #f1cfc7;
}
.btn-sm { padding: 8px 12px; font-size: 12px; }
.btn-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 0;
  background: #1da851;
  color: #fff;
}
.btn-icon svg { display: block; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* —— Search pill —— */
.search-wrap {
  display: flex;
  justify-content: center;
  padding: 18px 0 28px;
}
.search-pill {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  align-items: stretch;
  width: min(860px, 100%);
  max-width: 860px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: var(--shadow);
  overflow: visible;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.search-field {
  display: grid;
  gap: 2px;
  padding: 12px 20px;
  border-right: 1px solid var(--line);
  cursor: text;
}
.search-field:hover,
.search-field:focus-within { background: var(--bg-soft); }
.search-field:focus-within { border-radius: 32px; }
.search-field input, .search-field select {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 14px;
  color: var(--text);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}
.search-field label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.search-field input::placeholder { color: var(--muted); }
.search-field-dates .date-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.search-field-dates .date-row input[type="date"] {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--text);
}
.search-field-dates .date-sep {
  color: var(--muted);
  font-size: 12px;
  flex: 0 0 auto;
}
.search-go {
  display: grid;
  place-items: center;
  padding: 8px 10px 8px 6px;
}
@media (max-width: 720px) {
  .search-pill {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
  .search-field { border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-cats { display: none; }
}

/* —— Listing rows —— */
.row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 14px;
}
.row-head h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.row-head h2 .chev { opacity: 0.55; font-weight: 400; }
.row-nav { display: flex; gap: 8px; }
.row-nav button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text);
}
.row-nav button:hover { background: var(--bg-soft); }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 230px;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin-bottom: 36px;
  scrollbar-width: none;
}
@media (max-width: 640px) {
  .rail { grid-auto-columns: 200px; }
}
.rail::-webkit-scrollbar { display: none; }

.listing-card {
  scroll-snap-align: start;
  display: grid;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.listing-card:hover { text-decoration: none; }
.listing-media {
  position: relative;
  aspect-ratio: 1 / 0.95;
  border-radius: 14px;
  overflow: hidden;
  background: #e7efe9;
}
.badge-fav {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #fff;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.heart {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: rgba(0,0,0,.55);
  font-size: 18px;
}
.listing-meta { display: grid; gap: 2px; }
.listing-meta strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.listing-meta .sub { font-size: 14px; color: var(--muted); }
.listing-meta .bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  margin-top: 2px;
  font-size: 14px;
}
.listing-meta .price { font-weight: 700; color: var(--text); }
.listing-meta .star { color: var(--text); font-weight: 600; }

.see-all {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 100%;
  aspect-ratio: 1 / 0.95;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}
.see-all:hover { background: #eee; text-decoration: none; }
.see-all .stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 56%;
}
.see-all .stack i {
  display: block;
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, #cfe8e2, #8fb8ae);
}

/* —— Cards / forms (admin + detail) —— */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}
input, select, textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  font: 500 14px/1.3 var(--body);
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(37, 211, 102, 0.35);
  border-color: #1da851;
}
.pass-wrap { position: relative; display: block; }
.pass-wrap input { padding-right: 44px; }
.pass-toggle {
  position: absolute; right: 2px; top: 0; bottom: 0;
  width: 42px; border: 0; background: transparent; color: #2c3a36;
  cursor: pointer; display: grid; place-items: center; border-radius: 10px;
}
.pass-toggle:hover { color: var(--text); }
.pass-toggle svg { width: 20px; height: 20px; display: block; }
.fe-sheet .pass-wrap input { padding-right: 46px; }


.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.table input, .table select { padding: 7px 8px; font-size: 13px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-draft { background: #f2f2f2; color: var(--muted); }
.badge-pending { background: #fff4d6; color: #8a6a00; }
.badge-published { background: #e3f6e8; color: var(--ok); }
.badge-rejected { background: #fce8e3; color: var(--danger); }

.muted { color: var(--muted); }
.small { font-size: 12px; }
.err { color: var(--danger); font-size: 13px; margin-top: 8px; }
.ok { color: var(--ok); font-size: 13px; margin-top: 8px; }

.layout-host {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: start;
}
@media (max-width: 980px) {
  .layout-host { grid-template-columns: 1fr; }
}

.map-box {
  height: min(520px, 62vh);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8f2ef;
}
.map-box .leaflet-container { width: 100%; height: 100%; }

.sector-list { display: grid; gap: 8px; max-height: 220px; overflow: auto; margin: 10px 0; }
.sector-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.sector-item.on {
  border-color: #1da851;
  background: rgba(37, 211, 102, 0.08);
}
.sector-item strong { font-size: 14px; }
.hint-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eafbf1;
  border: 1px solid #c6f0d5;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.pond-card {
  display: grid;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.pond-card:hover { text-decoration: none; }
.pond-card h3 { margin: 0; font-size: 1.05rem; }
.price { color: var(--text); font-weight: 700; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tab {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 12px;
  font: 600 12px/1 var(--body);
  cursor: pointer;
}
.tab.on {
  color: #fff;
  border-color: #1da851;
  background: #1da851;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  background: #fff;
}

.leaflet-tooltip.sector-tip {
  background: #fff;
  border: 1px solid #1da851;
  color: var(--text);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
}
.leaflet-tooltip.sector-tip::before { border-top-color: #fff; }

/* Adreso / miesto autocomplete (Photon LT) */
.geo-ac { position: relative; width: 100%; }
.geo-ac-list {
  position: absolute;
  z-index: 80;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  max-height: 280px;
  overflow: auto;
  padding: 6px;
}
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.geo-ac-item:hover, .geo-ac-item:focus {
  background: #eef9f2;
  outline: none;
}
.geo-ac-item strong { font-size: 14px; font-weight: 600; }
.geo-ac-item span { font-size: 12px; color: var(--muted); }

.fe-center-pin { background: transparent !important; border: 0 !important; }
.fe-center-pin__dot {
  width: 24px;
  height: 24px;
  margin: 1px;
  border-radius: 50%;
  background: #1da851;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(29,168,81,.35), 0 4px 12px rgba(0,0,0,.25);
  color: #fff;
  font: 800 11px/18px var(--body);
  text-align: center;
}
.fe-pond-pin {
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 0;
  background: #1da851;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transform: rotate(-45deg);
}
.fe-sector-pin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0e7a4a;
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.3);
  color: #fff;
  font: 800 11px/18px var(--body);
  text-align: center;
}
.fe-sector-pin.on { background: #111; transform: scale(1.15); }
.editor-map {
  height: 320px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #eef3f1;
  margin: 8px 0 4px;
  background: #e8f2ef;
}
.editor-map-hint { font-size: 13px; color: var(--muted); margin: 0 0 10px; }

.hero-mini {
  padding: 8px 0 4px;
  max-width: 720px;
}
.hero-mini .accent { color: #1da851; }

@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; }
}

/* —— Overlay lentos (nario login, share) —— */
.fe-ov {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.45);
  display: grid; place-items: center;
  padding: 20px 12px;
}
.fe-ov[hidden] { display: none; }
.fe-sheet {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 50px rgba(0,0,0,.22);
  padding: 22px 22px 24px;
  max-height: min(92vh, 720px);
  overflow: auto;
}
.fe-sheet--wide { width: min(480px, 100%); }
.fe-x {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border: 0; background: transparent;
  border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; color: #222;
}
.fe-x:hover { background: #f4f4f4; }
.fe-sheet .fe-logo { display: block; width: 36px; height: 36px; margin: 4px auto 12px; border-radius: 10px; }
.fe-sheet h2 { margin: 0 0 16px; font-size: 22px; text-align: center; }
.fe-sheet label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.fe-sheet input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong);
  border-radius: 12px; font: inherit; font-size: 15px; font-weight: 400;
}
.fe-sheet .btn { width: 100%; justify-content: center; margin-top: 6px; padding: 12px; }
.fe-or {
  display: flex; align-items: center; gap: 10px;
  margin: 16px 0 12px; color: var(--muted); font-size: 13px;
}
.fe-or::before, .fe-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fe-share-card {
  display: flex; gap: 12px; align-items: center;
  margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.fe-share-card img, .fe-share-card .ph {
  width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none;
  background: #e7efe9;
}
.fe-share-card strong { display: block; font-size: 14px; }
.fe-share-card span { font-size: 13px; color: var(--muted); }
.fe-share-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.fe-share-grid button, .fe-share-grid a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--line-strong);
  border-radius: 12px; background: #fff; color: inherit;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none;
}
.fe-share-grid button:hover, .fe-share-grid a:hover { background: #f7f7f7; text-decoration: none; }
.fe-share-grid svg { width: 20px; height: 20px; flex: none; }
.obj-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.obj-top h1 { margin: 0; }
.obj-actions { display: flex; gap: 8px; flex: none; }
.obj-actions button {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-strong); background: #fff;
  border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer;
}
.obj-actions button:hover { background: #f7f7f7; }
.obj-actions button.on { border-color: #1da851; color: #158a42; }
.obj-actions svg { width: 16px; height: 16px; }

.member-wrap { max-width: 1040px; }
.member-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
.member-menu {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 2px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.member-menu a,
.member-menu .acct-out {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.member-menu a:hover,
.member-menu .acct-out:hover { background: var(--bg-soft); text-decoration: none; }
.member-menu a.on {
  background: rgba(29, 168, 81, 0.12);
  color: #158a42;
}
.member-main h1 { margin-top: 0; }
.trip-card { display: block; color: inherit; text-decoration: none; margin-bottom: 12px; }
.trip-card:hover { text-decoration: none; border-color: #1da851; }
.trip-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.trip-meta { margin-top: 8px; font-size: 13px; font-weight: 600; }
.saved-card { position: relative; min-width: 0; }
.saved-drop {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border: 0;
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font: 600 12px/1 var(--body);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.saved-drop:hover { background: #f4f4f4; }
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}
.dash-stat {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-soft);
}
.dash-stat:hover { text-decoration: none; border-color: #1da851; }
.dash-stat b { display: block; font-size: 28px; line-height: 1.1; }
.dash-stat span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); font-weight: 600; }
.dash-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}
.dash-link {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}
.dash-link:hover { text-decoration: none; border-color: #1da851; }
.dash-link small { display: block; margin-top: 4px; font-weight: 500; color: var(--muted); }
.dash-block { margin: 0 0 28px; }
.dash-block h2 { margin: 0 0 12px; font-size: 1.2rem; }
.host-inbox-card {
  border: 1px solid #e0c070;
  background: #fffdf6;
  border-radius: 16px;
  padding: 18px 18px 8px;
  box-shadow: var(--shadow-soft);
}
.host-inbox-card h2 { margin: 0 0 4px; }
.host-inbox-item {
  padding: 14px 0;
  border-bottom: 1px solid #f0e6c8;
}
.host-inbox-item:last-of-type { border-bottom: 0; }
@media (max-width: 800px) {
  .dash-stats, .dash-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .member-layout { grid-template-columns: 1fr; }
  .member-menu { position: static; }
}
