:root {
  color-scheme: light;
  --bg: #f3f8ff;
  --surface: #ffffff;
  --ink: #12213a;
  --muted: #5e7088;
  --line: #d8e7fb;
  --green: #1877f2;
  --green-dark: #0d5ecf;
  --whatsapp: #1877f2;
  --mint: #e7f1ff;
  --amber: #ffbf69;
  --indigo: #0d5ecf;
  --shadow: 0 18px 50px rgba(24, 119, 242, 0.1);
  --subtitle-size: 0.76rem;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08172b;
  --surface: #10243f;
  --ink: #eef6ff;
  --muted: #a9bad1;
  --line: #25476d;
  --mint: #153a66;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    linear-gradient(180deg, rgba(231, 241, 255, 0.88), transparent 360px),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

html[data-theme="dark"] body {
  background:
    linear-gradient(180deg, rgba(24, 119, 242, 0.2), transparent 360px),
    var(--bg);
}

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

button,
input,
select {
  font: inherit;
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: none;
  border-bottom: 1px solid rgba(18, 33, 58, 0.08);
  background: rgba(243, 248, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px max(16px, calc((100vw - 1120px) / 2));
}

html[data-theme="dark"] .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 23, 43, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  min-width: 0;
}

.brand-home {
  display: inline-flex;
  min-width: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
  min-width: 0;
}

.brand-title {
  display: block;
  font-weight: 800;
  white-space: nowrap;
}

.brand-initial {
  display: inline-block;
  color: var(--whatsapp);
  font-size: 1.15em;
  line-height: 0.86;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: var(--subtitle-size);
  font-weight: 700;
  white-space: nowrap;
}

.site-info-button,
.share-category-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
  padding: 0;
}

.site-info-button[hidden],
.share-category-button[hidden] {
  display: none !important;
}

.site-info-button img,
.share-category-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    filter 160ms ease,
    transform 160ms ease;
}

.site-info-button img {
  border-radius: 50%;
}

.share-category-button img {
  border-radius: 0;
}

.site-info-button:focus,
.share-category-button:focus {
  outline: none;
}

.site-info-button.is-active img {
  animation: info-tap 280ms ease-out;
}

.site-info-button:focus-visible,
.share-category-button:focus-visible {
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.16);
}

@keyframes info-tap {
  0% {
    filter: drop-shadow(0 0 0 rgba(24, 119, 242, 0));
    transform: scale(1);
  }

  45% {
    filter: drop-shadow(0 0 7px rgba(24, 119, 242, 0.28));
    transform: scale(0.92);
  }

  100% {
    filter: drop-shadow(0 0 0 rgba(24, 119, 242, 0));
    transform: scale(1);
  }
}

.header-controls {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 11.04px;
  min-width: 0;
}

.country-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 34px;
  border: 1px solid rgba(18, 33, 58, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.08);
  color: var(--muted);
  padding: 0;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.country-filter[hidden] {
  display: none;
}

html[data-theme="dark"] .country-filter {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(16, 36, 63, 0.88);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.country-filter-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 58px;
  height: 100%;
  padding: 0 11px;
  color: var(--ink);
  pointer-events: none;
}

.country-filter-arrows {
  position: relative;
  width: 8px;
  height: 12px;
  flex: 0 0 auto;
}

.country-filter-arrows::before,
.country-filter-arrows::after {
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
}

.country-filter-arrows::before {
  top: 1px;
  border-bottom: 4px solid var(--ink);
}

.country-filter-arrows::after {
  bottom: 1px;
  border-top: 4px solid var(--ink);
}

.country-filter select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: none;
}

.country-filter select:focus {
  box-shadow: none;
}

.country-filter:focus-within {
  box-shadow: 0 0 0 4px rgba(24, 119, 242, 0.14);
}

.mailbox-button {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-grid;
  place-items: center;
  align-self: center;
  width: 44.5px;
  height: 22.3px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transform: translateX(7.85px);
}

.mailbox-button[hidden] {
  display: none;
}

.mailbox-button:hover,
.mailbox-button:focus {
  background: transparent;
  transform: translateX(7.85px);
}

.mailbox-button:focus {
  outline: none;
}

.mailbox-button:focus-visible {
  box-shadow: 0 0 0 4px rgba(24, 119, 242, 0.16);
}

.mailbox-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 28.8px;
  height: 19.8px;
  transform: translate(-50%, -50%);
  transition:
    filter 160ms ease,
    transform 160ms ease;
}

.mailbox-button.is-active .mailbox-icon {
  animation: mailbox-tap 280ms ease-out;
}

.mailbox-button.has-unread::after {
  content: attr(data-unread-count);
  position: absolute;
  right: 1px;
  top: -7px;
  display: grid;
  place-items: center;
  min-width: 15px;
  height: 15px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1;
}

@keyframes mailbox-tap {
  0% {
    filter: drop-shadow(0 0 0 rgba(24, 119, 242, 0));
    transform: translate(-50%, -50%) scale(1);
  }

  45% {
    filter: drop-shadow(0 0 7px rgba(24, 119, 242, 0.28));
    transform: translate(-50%, -50%) scale(0.92);
  }

  100% {
    filter: drop-shadow(0 0 0 rgba(24, 119, 242, 0));
    transform: translate(-50%, -50%) scale(1);
  }
}

.theme-toggle {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-grid;
  align-items: center;
  width: 44.5px;
  height: 22.3px;
  border: 1.6px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  color: var(--surface);
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  transform: none;
  contain: paint;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.theme-toggle::after {
  content: "";
  position: absolute;
  inset: -1.6px;
  z-index: 3;
  border: 1.6px solid var(--ink);
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 220ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus {
  background: var(--surface);
  transform: none;
}

.theme-toggle:focus-visible {
  box-shadow: 0 0 0 4px rgba(24, 119, 242, 0.16);
  outline: none;
}

.theme-toggle-knob {
  position: absolute;
  top: 50%;
  left: 2.9px;
  z-index: 2;
  width: 15.5px;
  height: 15.5px;
  border-radius: 50%;
  background: var(--ink);
  clip-path: circle(50% at 50% 50%);
  transform: translateY(-50%);
  will-change: left, background-color;
  transition:
    left 240ms cubic-bezier(0.34, 1.56, 0.64, 1),
    background 220ms ease,
    box-shadow 220ms ease;
}

.theme-toggle-moon {
  position: absolute;
  top: 50%;
  right: 8.5px;
  z-index: 1;
  width: 11px;
  height: 11px;
  background: center / contain no-repeat url("assets/moon-crescent.svg?v=20260612-2");
  transform: translateY(-50%);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.theme-toggle-label {
  position: absolute;
  left: 9px;
  z-index: 1;
  color: #ffffff;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

html[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.9);
  background: #111111;
  color: #ffffff;
}

html[data-theme="dark"] .theme-toggle::after {
  border-color: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] .theme-toggle-knob {
  left: calc(100% - 18.4px);
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .theme-toggle-moon {
  opacity: 0;
  transform: translateY(-50%) scale(0.72);
}

html[data-theme="dark"] .theme-toggle-label {
  opacity: 1;
  transform: translateX(0);
}

html[data-theme="dark"] .site-info-button img,
html[data-theme="dark"] .share-category-button img,
html[data-theme="dark"] .group-card-share-button img,
html[data-theme="dark"] .favorite-button img,
html[data-theme="dark"] .report-button img {
  filter: invert(1);
}

.site-menu {
  position: relative;
  z-index: 100;
}

.menu-button {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #e7f1ff;
  box-shadow: none;
}

.publish-button {
  background: var(--green);
  text-decoration: none;
}

.publish-button:hover,
.publish-button:focus-visible {
  background: var(--green-dark);
}

.plus-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.plus-icon::before,
.plus-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: white;
  transform: translate(-50%, -50%);
}

.plus-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

html[data-theme="dark"] .plus-icon::before,
html[data-theme="dark"] .plus-icon::after {
  background: #08172b;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.select-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  outline: none;
}

input {
  padding: 0 14px;
}

select {
  padding: 0 12px;
}

input:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(24, 119, 242, 0.14);
}

button {
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: white;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select {
  background: #10243f;
  color: var(--ink);
}

.site-menu .menu-button {
  width: 42px;
  height: 42px;
  border: 0;
  box-shadow: none;
}

.category-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 5px;
  overflow: visible;
  padding: 13px 0 4px;
  scrollbar-width: none;
}

.directory-toolbar.is-todos-sticky {
  position: sticky;
  top: var(--site-header-sticky-height, 58px);
  z-index: 180;
  display: flow-root;
  background: var(--bg);
  box-shadow: 0 1px 0 rgba(18, 33, 58, 0.08);
}

html[data-theme="dark"] .directory-toolbar.is-todos-sticky {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.directory-toolbar.is-todos-sticky .section-heading {
  margin-bottom: 0;
  padding-bottom: 14px;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.directory-note {
  display: flex;
  align-items: center;
  min-height: 22px;
  margin: -1px 0 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: var(--subtitle-size);
  font-weight: 700;
  line-height: 1.2;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  white-space: nowrap;
}

.directory-note-track {
  display: inline-flex;
  align-items: center;
  gap: 7ch;
  min-width: max-content;
  animation: directory-note-scroll 17.5s linear infinite;
}

.directory-note-track span {
  flex: 0 0 auto;
  font-size: inherit;
  line-height: inherit;
}

@keyframes directory-note-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 3.5ch));
  }
}

@media (prefers-reduced-motion: reduce) {
  .directory-note-track {
    animation: none;
  }

  .directory-note-track span[aria-hidden="true"] {
    display: none;
  }
}

.category-button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  padding: 0 14px;
  font-size: 0.9rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.directory-select-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  max-width: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  padding: 0 clamp(5px, 1.7vw, 10px);
  font-size: clamp(0.7rem, 2.2vw, 0.82rem);
  font-weight: 800;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.directory-select-filter::after {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 0.48em;
  height: 0.48em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  margin-left: 0.18em;
  transform: rotate(45deg) translateY(-1px);
}

.directory-filter-label {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: clamp(0.62rem, 1.9vw, 0.7rem);
  line-height: 1;
}

.directory-selected-value {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: inherit;
  line-height: 1;
  min-width: 0;
}

.directory-select-filter select {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: transparent;
  font: inherit;
  font-size: inherit;
  font-weight: 800;
  outline: none;
  padding: 0;
  opacity: 0;
  -webkit-tap-highlight-color: transparent;
}

.directory-select-filter select:focus,
.directory-select-filter select:focus-visible {
  outline: none;
  box-shadow: none;
}

.directory-select-filter:focus-within {
  border-color: rgba(24, 119, 242, 0.36);
  box-shadow:
    0 0 0 2px rgba(24, 119, 242, 0.16),
    0 8px 18px rgba(24, 119, 242, 0.14);
}

html[data-theme="dark"] .category-button {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

html[data-theme="dark"] .directory-select-filter {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

html[data-theme="dark"] .directory-select-filter select {
  background: transparent;
}

.tooltip-add-store-button.menu-button {
  display: inline-grid;
  place-items: center;
  width: 1.32em;
  height: 1.32em;
  min-width: 0;
  min-height: 0;
  border-radius: 50%;
  font-size: 1em;
  line-height: 1;
  margin-left: 0.12em;
  vertical-align: -0.18em;
}

.tooltip-add-store-button .plus-icon {
  width: 0.66em;
  height: 0.66em;
}

.category-button.active {
  border-color: rgba(24, 119, 242, 0.36);
  background: var(--green);
  color: white;
  box-shadow:
    0 0 0 2px rgba(24, 119, 242, 0.16),
    0 8px 18px rgba(24, 119, 242, 0.2);
}

html[data-theme="dark"] .category-button.active:not(.category-button-spam) {
  border-color: rgba(255, 255, 255, 0.5);
  background: var(--green);
  box-shadow:
    0 0 0 2px rgba(24, 119, 242, 0.34),
    0 7px 18px rgba(24, 119, 242, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.category-button-spam {
  border-color: #111111;
  background: #ff1f1f;
  color: #ffffff;
}

.category-button-spam.active {
  border-color: #111111;
  background: #ff1f1f;
  color: #ffffff;
  animation: spam-button-pulse 1.8s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255, 31, 31, 0.42);
}

@keyframes spam-button-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 31, 31, 0.22);
  }

  50% {
    box-shadow: 0 0 0 3px rgba(255, 31, 31, 0.34);
  }
}

.category-button:hover:not(.active),
.category-button:active:not(.active),
.category-button:focus:not(.active) {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  transform: none;
}

html[data-theme="dark"] .category-button:hover:not(.active),
html[data-theme="dark"] .category-button:active:not(.active),
html[data-theme="dark"] .category-button:focus:not(.active) {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .category-button:hover:not(.active) {
    border-color: rgba(24, 119, 242, 0.24);
    background: rgba(231, 241, 255, 0.95);
    color: var(--green-dark);
    transform: translateY(-1px);
  }

  .category-button-spam:hover:not(.active) {
    border-color: #111111;
    background: #ff1f1f;
    color: #ffffff;
  }
}

.content-grid {
  display: block;
  padding-bottom: 44px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 1ch;
  min-width: 0;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1;
}

#resultLabel {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  margin-right: 1ch;
}

.result-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1ch;
  min-width: 0;
}

.group-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  min-width: 0;
}

.group-card-stack {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: grid;
  width: 100%;
  min-width: 0;
}

.group-card-stack-scroll > .group-card {
  z-index: 2;
}

.group-card-stack-scroll[data-parchment-geometry="logo-midpoint-to-card-right"]
  > .group-card {
  border-bottom-right-radius: 0;
}

.inline-catalog-sheet {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  margin:
    -12px
    var(--catalog-scroll-right-inset, calc(16px + 1ch))
    2px
    var(--catalog-scroll-left-inset, 81px);
  border: 4px solid #ffffff;
  border-radius: 0 0 16px 16px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(18, 33, 58, 0.18);
  transform-origin: top center;
  animation: catalog-scroll-unfurl 280ms cubic-bezier(0.22, 0.72, 0.28, 1);
}

.inline-catalog-slide {
  min-width: 0;
  margin: 0;
  aspect-ratio: 1560 / 1008;
  overflow: hidden;
  background: #ffffff;
}

.inline-catalog-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.inline-catalog-sheet-standard .inline-catalog-slide {
  aspect-ratio: 1560 / 1159.2;
}

.inline-catalog-subtitle {
  display: grid;
  gap: 1px;
  border-top: 4px solid #ffffff;
  background: #ffffff;
  color: #101010;
  font-size: 0.765rem;
  font-weight: 600;
  line-height: 1.12;
  padding: 0.8px 8px 4px;
  text-align: left;
}

.inline-catalog-subtitle span {
  display: block;
  min-width: 0;
  overflow-wrap: break-word;
  white-space: normal;
}

.inline-catalog-sheet-text-only {
  gap: 0;
}

.inline-catalog-sheet-text-only .inline-catalog-subtitle {
  border-top: 0;
  padding: 20px 10px 8px;
}

.group-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 76px;
  border: 1px solid rgba(18, 33, 58, 0.08);
  border-radius: 999px;
  background: var(--surface);
  padding: 7px 16px 7px 7px;
  box-shadow: 0 12px 28px rgba(24, 119, 242, 0.07);
}

html[data-theme="dark"] .group-card {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.group-card-direct .group-meta-main {
  padding-right: 0;
}

.group-card-three-lines {
  min-height: 82px;
  align-items: center;
  padding-top: 4px;
  padding-bottom: 4px;
}

.group-card-three-lines .group-info {
  gap: 1px;
}

.group-card-three-lines .group-meta {
  grid-template-columns: minmax(0, 1fr);
  row-gap: 0;
}

.group-card-three-lines .group-created {
  justify-self: end;
}

.group-card-direct-tools .group-info {
  gap: 1px;
}

.group-card-direct-tools .group-meta {
  grid-template-columns: minmax(0, 1fr) auto;
}

.group-action-row {
  display: grid;
  align-items: center;
  justify-content: end;
  grid-template-columns: auto auto;
  column-gap: 1.5ch;
  width: 100%;
  min-width: 0;
}

.group-title-row-name-only {
  grid-template-columns: minmax(0, 1fr);
}

.group-card-share-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  justify-self: end;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.group-card-share-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.group-card-share-button:focus {
  outline: none;
}

.group-card-share-button:focus-visible {
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.16);
}

.group-card-shared-highlight,
.group-card-highlight-fade {
  animation: group-card-share-pulse 1.55s ease-in-out infinite;
  border-color: rgba(24, 119, 242, 0.72);
  box-shadow:
    0 0 0 2px rgba(24, 119, 242, 0.24),
    0 12px 28px rgba(24, 119, 242, 0.07);
}

.group-card-highlight-fade {
  transition:
    border-color 1s ease,
    box-shadow 1s ease;
}

.group-card-highlight-fade.is-fading:not(.group-card-shared-highlight) {
  animation: none;
  border-color: rgba(18, 33, 58, 0.08);
  box-shadow: 0 12px 28px rgba(24, 119, 242, 0.07);
}

html[data-theme="dark"] .group-card-highlight-fade.is-fading:not(.group-card-shared-highlight) {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

@keyframes group-card-share-pulse {
  0%,
  100% {
    border-color: rgba(24, 119, 242, 0.72);
    box-shadow:
      0 0 0 2px rgba(24, 119, 242, 0.24),
      0 12px 28px rgba(24, 119, 242, 0.07);
  }

  50% {
    border-color: rgba(24, 119, 242, 1);
    box-shadow:
      0 0 0 6px rgba(24, 119, 242, 0.28),
      0 12px 28px rgba(24, 119, 242, 0.07);
  }
}

.group-third-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1ch;
  width: 100%;
  min-width: 0;
}

.group-category-tag {
  overflow: hidden;
  color: #7a8aa0;
  font-size: 0.66rem;
  font-weight: 700;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-logo {
  flex: 0 0 auto;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-dark);
  font-weight: 800;
  overflow: hidden;
}

.group-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.group-info {
  display: flex;
  flex: 1;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.group-title-row {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.75ch;
  width: 100%;
  min-width: 0;
}

.group-title-actions {
  display: inline-grid;
  align-items: center;
  justify-self: end;
  grid-auto-flow: column;
  column-gap: 1.5ch;
}

.group-title {
  display: inline-block;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--whatsapp);
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-button,
.report-button {
  display: inline-grid;
  place-items: center;
  justify-self: end;
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  cursor: pointer;
  margin-right: 1ch;
  padding: 0;
  transform: none;
}

.favorite-button img,
.report-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.favorite-button:hover,
.favorite-button:focus,
.report-button:hover,
.report-button:focus {
  background: transparent;
  transform: none;
}

.favorite-button:hover img,
.favorite-button:focus-visible img,
.report-button:hover img,
.report-button:focus-visible img {
  filter: drop-shadow(0 0 4px rgba(24, 119, 242, 0.18));
}

html[data-theme="dark"] .favorite-button:hover img,
html[data-theme="dark"] .favorite-button:focus-visible img,
html[data-theme="dark"] .report-button:hover img,
html[data-theme="dark"] .report-button:focus-visible img {
  filter: invert(1) drop-shadow(0 0 4px rgba(255, 255, 255, 0.18));
}

.favorite-button.is-active img,
.favorite-button.is-active:hover img,
.favorite-button.is-active:focus-visible img,
html[data-theme="dark"] .favorite-button.is-active img,
html[data-theme="dark"] .favorite-button.is-active:hover img,
html[data-theme="dark"] .favorite-button.is-active:focus-visible img {
  filter: none;
}

.group-badge {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  position: relative;
  isolation: isolate;
  border: 1px solid #111111;
  border-radius: 999px;
  background: var(--surface);
  color: #111111;
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  padding: 4px 7px;
  text-transform: lowercase;
  transform: none;
  white-space: nowrap;
  animation: anti-spam-nudge 2.8s ease-in-out infinite;
  box-shadow:
    inset 0 0 0 0 rgba(255, 255, 255, 0),
    0 0 0 0 rgba(18, 33, 58, 0);
}

.group-badge:hover,
.group-badge:focus {
  background: var(--surface);
  color: #111111;
  transform: none;
}

html[data-theme="dark"] .group-badge {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

html[data-theme="dark"] .group-badge:hover,
html[data-theme="dark"] .group-badge:focus {
  color: var(--ink);
}

@keyframes anti-spam-nudge {
  0%,
  100% {
    box-shadow:
      inset 0 0 0 0 rgba(255, 255, 255, 0),
      0 0 0 0 rgba(18, 33, 58, 0);
  }

  45% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.38),
      0 0 0 1px rgba(24, 119, 242, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .group-badge {
    animation: none;
  }
}

.anti-spam-tooltip {
  position: fixed;
  z-index: 1000;
  max-width: min(290px, calc(100vw - 24px));
  border: 1px solid rgba(18, 33, 58, 0.12);
  border-radius: 8px;
  background: #0b1f3a;
  box-shadow: 0 14px 34px rgba(18, 33, 58, 0.2);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 1;
  padding: 10px 12px;
  transition: opacity 220ms ease;
}

.anti-spam-tooltip.is-fading {
  opacity: 0;
}

html[data-theme="dark"] .anti-spam-tooltip {
  border-color: rgba(255, 255, 255, 0.1);
  background: #061326;
}

.anti-spam-tooltip[hidden] {
  display: none;
}

.mailbox-tooltip {
  display: grid;
  gap: 8px;
  min-width: min(260px, calc(100vw - 36px));
  max-width: min(320px, calc(100vw - 24px));
}

.mailbox-user-id {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
}

.mailbox-user-id strong {
  color: #ffffff;
  letter-spacing: 0.08em;
}

.mailbox-message-list {
  display: grid;
  gap: 7px;
  max-height: min(330px, calc(100vh - 180px));
  overflow: auto;
}

.mailbox-message {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px;
}

.mailbox-message.is-unread {
  border-color: rgba(24, 119, 242, 0.72);
  box-shadow: inset 3px 0 0 var(--green);
}

.mailbox-message-title {
  font-size: 0.78rem;
  font-weight: 900;
}

.mailbox-message-body {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.74rem;
  font-weight: 650;
  white-space: pre-wrap;
}

.mailbox-message-date {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.65rem;
  font-weight: 750;
}

.tooltip-mini-plus {
  position: relative;
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin: 0 0.08em;
  border-radius: 50%;
  background: var(--green);
  vertical-align: -0.16em;
}

.tooltip-mini-plus::before,
.tooltip-mini-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.58em;
  height: 0.12em;
  border-radius: 999px;
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.tooltip-mini-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

@keyframes catalog-scroll-unfurl {
  from {
    opacity: 0.25;
    transform: scaleY(0.08);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

.report-popover {
  position: fixed;
  z-index: 190;
  width: max-content;
  min-width: 0;
  border: 1px solid rgba(18, 33, 58, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 38px rgba(18, 33, 58, 0.17);
  opacity: 0;
  padding: 7px;
  pointer-events: none;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

html[data-theme="dark"] .report-popover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(16, 36, 63, 0.98);
}

.report-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.report-option {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5ch;
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0 10px;
  text-align: left;
  white-space: nowrap;
}

.report-option[hidden] {
  display: none;
}

.report-option:hover,
.report-option:focus-visible {
  background: rgba(24, 119, 242, 0.1);
  outline: none;
}

.report-option img {
  display: block;
  width: 17px;
  height: 17px;
  object-fit: contain;
}

html[data-theme="dark"] .report-option img {
  filter: invert(1);
}

.report-favorite-option.is-active img,
html[data-theme="dark"] .report-favorite-option.is-active img {
  filter: none;
}

.group-title:hover,
.group-logo:hover {
  color: var(--green-dark);
}

.group-meta {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.75ch;
  width: 100%;
  min-width: 0;
}

.group-meta-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  justify-self: start;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  padding-right: 0;
}

.group-members {
  color: var(--ink);
  font-size: 0.765rem;
  font-weight: 600;
  white-space: nowrap;
}

.group-created {
  overflow: hidden;
  color: #7a8aa0;
  font-size: 0.66rem;
  font-weight: 600;
  justify-self: end;
  min-width: 0;
  padding-right: 1ch;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  padding: 28px;
  color: var(--muted);
  white-space: pre-line;
  text-align: center;
}

.spam-notice {
  border: 1px solid rgba(251, 188, 5, 0.72);
  border-radius: 8px;
  background: rgba(251, 188, 5, 0.16);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 14px;
  padding: 12px 16px;
}

html[data-theme="dark"] .empty-state {
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .spam-notice {
  background: rgba(251, 188, 5, 0.12);
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.2;
  padding: 0 0 24px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  min-height: 41px;
}

.footer-label {
  color: #60748d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  font-weight: 700;
}

.footer-mail-icon {
  width: 18px;
  height: 18px;
  color: var(--whatsapp);
  flex: 0 0 auto;
}

.site-footer p {
  margin: 18px 0 0;
  color: #8ea0b7;
}

@media (max-width: 860px) {
  .group-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  main,
  .site-footer {
    width: min(100% - 22px, 1120px);
  }

  .section-heading {
    align-items: center;
    flex-direction: row;
  }

  .site-header {
    align-items: center;
    padding-inline: 11px;
    padding-block: 7px;
  }

  .country-filter {
    height: 32px;
  }

  .country-filter-display {
    min-width: 54px;
    padding-inline: 10px;
  }

  .country-filter select {
    font-size: 0.74rem;
  }

  .site-menu .menu-button {
    width: 38px;
    height: 38px;
  }

  .menu-button {
    width: 38px;
    height: 38px;
  }

  .plus-icon {
    width: 19px;
    height: 19px;
  }

  .group-card {
    min-height: 70px;
  }

  .group-card-three-lines {
    min-height: 78px;
  }

  .group-badge {
    font-size: 0.58rem;
    padding: 3px 6px;
  }

  .group-logo {
    width: 55px;
    height: 55px;
  }

  .inline-catalog-sheet {
    margin-left: var(--catalog-scroll-left-inset, 74px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .inline-catalog-sheet {
    animation: none;
  }
}
