/* LUUPIGO objects-public-home-v3-20260720-01 */
:root {
  --obj-purple: #6f35d9;
  --obj-purple-dark: #4c1d95;
  --obj-green: #16a34a;
  --obj-red: #ef4444;
  --obj-ink: #17152a;
  --obj-muted: #6b7280;
  --obj-line: #e6ddfb;
  --obj-bg: #fbf9ff;
  --obj-card: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--obj-bg);
  color: var(--obj-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.objects-app {
  min-height: 100vh;
  padding: 18px 18px 88px;
  max-width: 520px;
  margin: 0 auto;
}

.objects-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.objects-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 950;
  color: var(--obj-purple-dark);
}

.objects-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--obj-purple), #9b5cff);
  box-shadow: 0 10px 26px rgba(111, 53, 217, .24);
}

.objects-menu {
  width: 36px;
  height: 36px;
  border: 1px solid var(--obj-line);
  border-radius: 12px;
  background: #fff;
  color: var(--obj-purple-dark);
  font-weight: 900;
}

.objects-hero {
  display: grid;
  gap: 14px;
  padding: 8px 0 18px;
}

.objects-hero h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.06;
  letter-spacing: 0;
}

.objects-hero p {
  margin: 0;
  color: var(--obj-muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.objects-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}

.objects-choice {
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 950;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

.objects-choice.is-lost { background: linear-gradient(135deg, #ef4444, #fb7185); }
.objects-choice.is-found { background: linear-gradient(135deg, #16a34a, #22c55e); }

.objects-choice span {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.2);
}

.objects-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 4px 0 6px;
}

.objects-soft-btn {
  min-height: 44px;
  border: 1px solid var(--obj-line);
  border-radius: 12px;
  background: #fff;
  color: var(--obj-purple-dark);
  font-weight: 950;
  text-decoration: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.objects-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.objects-stat {
  border: 1px solid var(--obj-line);
  border-radius: 14px;
  background: #fff;
  padding: 12px 10px;
  min-height: 78px;
}

.objects-stat small {
  display: block;
  color: var(--obj-muted);
  font-size: 11px;
  font-weight: 850;
}

.objects-stat strong {
  display: block;
  margin-top: 5px;
  font-size: 22px;
  line-height: 1;
}

.objects-search-panel {
  position: sticky;
  top: 0;
  z-index: 12;
  margin: 10px -2px 12px;
  padding: 10px 0;
  background: rgba(251, 249, 255, .92);
  backdrop-filter: blur(14px);
}

.objects-search-panel input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--obj-line);
  border-radius: 14px;
  background: #fff;
  color: var(--obj-ink);
  padding: 0 14px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(76, 29, 149, .06);
}

.objects-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: none;
}

.objects-filters button {
  flex: 0 0 auto;
  min-height: 32px;
  border: 1px solid var(--obj-line);
  border-radius: 999px;
  background: #fff;
  color: var(--obj-muted);
  padding: 0 12px;
  font-weight: 950;
}

.objects-filters button.active,
.objects-filters button.is-active {
  background: var(--obj-purple);
  color: #fff;
  border-color: var(--obj-purple);
}

.objects-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 8px 0 10px;
}

.objects-list-head h2 {
  margin: 0;
  font-size: 17px;
}

.objects-list-head small {
  color: var(--obj-muted);
  font-weight: 850;
}

.objects-list,
[data-object-list],
[data-list] {
  display: grid;
  gap: 10px;
}

.object-card {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 10px;
  border: 1px solid var(--obj-line);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 12px 30px rgba(76, 29, 149, .06);
}

.object-thumb,
.object-card-thumb {
  width: 74px;
  height: 74px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eee7ff, #fff);
  display: grid;
  place-items: center;
  color: var(--obj-purple);
  font-weight: 950;
  overflow: hidden;
}

.object-card-main {
  min-width: 0;
}

.object-card-main strong,
.object-card h3 {
  display: block;
  margin: 0;
  color: var(--obj-ink);
  font-size: 14px;
  line-height: 1.2;
}

.object-card-main span,
.object-card-main small,
.object-card p {
  display: block;
  margin-top: 4px;
  color: var(--obj-muted);
  font-size: 12px;
  font-weight: 760;
}

.object-badge,
.object-status {
  display: inline-flex;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  align-items: center;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 950;
}

.object-badge.is-found,
.object-status.is-found {
  background: #dcfce7;
  color: #15803d;
}

.map-preview {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #fff;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.map-preview[hidden] {
  display: none !important;
}

.map-topbar {
  min-height: 60px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--obj-line);
  z-index: 2;
}

.map-topbar button {
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--obj-line);
  background: #fff;
  color: var(--obj-purple-dark);
  font-weight: 950;
}

.fake-map {
  min-height: 100%;
  background: #e9f4ef;
}

.map-sheet {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 84px;
  max-height: 38vh;
  overflow: auto;
  border: 1px solid var(--obj-line);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  padding: 14px;
  box-shadow: 0 20px 60px rgba(17, 24, 39, .18);
}

.map-sheet h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.map-mini {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid #f0eafe;
  padding: 8px 0;
}

.bottom-nav {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: min(520px, calc(100vw - 24px));
  height: 58px;
  border: 1px solid var(--obj-line);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(76, 29, 149, .16);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 0 8px;
}

.bottom-nav a,
.bottom-nav button {
  border: 0;
  background: transparent;
  color: var(--obj-muted);
  font-size: 11px;
  font-weight: 900;
  display: grid;
  gap: 2px;
  place-items: center;
  text-decoration: none;
}

.bottom-nav [data-open-publish] {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--obj-purple);
  color: #fff;
  margin: 0 auto;
  font-size: 0;
}

.bottom-nav [data-open-publish]::before {
  content: "🔍";
  font-size: 20px;
}

.publish-sheet {
  position: fixed;
  inset: auto 12px 84px;
  z-index: 50;
  border: 1px solid var(--obj-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(76, 29, 149, .22);
  padding: 16px;
}

.publish-sheet[hidden] {
  display: none !important;
}

.publish-sheet h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.publish-options {
  display: grid;
  gap: 10px;
}

.publish-options a,
.publish-options button {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--obj-line);
  background: #fff;
  color: var(--obj-ink);
  font-weight: 950;
  text-decoration: none;
}

@media (min-width: 860px) {
  .objects-app {
    max-width: 1120px;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 28px;
    padding-bottom: 40px;
  }

  .objects-top,
  .objects-hero,
  .objects-search-panel {
    grid-column: 1;
  }

  .objects-results {
    grid-column: 2;
    grid-row: 1 / span 4;
    padding-top: 20px;
  }

  .bottom-nav {
    display: none;
  }
}


/* LUUPIGO objects-public-home-v3-contract-fix-20260720-01 */
.objects-pro-head,
.objects-type-filter {
  display: none !important;
}

.publish-sheet [data-close-publish] {
  position: absolute;
  top: 12px;
  right: 12px;
}
