:root {
  color-scheme: light;
  --bg: #f7efe3;
  --paper: #fff8ec;
  --panel: rgba(255, 248, 236, 0.82);
  --panel-strong: rgba(255, 250, 241, 0.96);
  --line: rgba(72, 48, 33, 0.16);
  --text: #2d231e;
  --muted: #75675e;
  --soft: #9a8678;
  --green: #2f6f5e;
  --sage: #9ebc91;
  --teal: #167c80;
  --rust: #c8693f;
  --coral: #e88961;
  --amber: #d99b3d;
  --orange: #c8693f;
  --danger: #c64b55;
  --body-glow-one: rgba(200, 105, 63, 0.22);
  --body-glow-two: rgba(47, 111, 94, 0.18);
  --body-bg-start: #f7efe3;
  --body-bg-mid: #fff8ec;
  --body-bg-end: #f3e1cf;
  --shadow: 0 22px 50px rgba(72, 48, 33, 0.14);
  --container: 82rem;
}

html[data-theme="forest"] {
  --bg: #edf4e8;
  --paper: #fbfff6;
  --panel: rgba(251, 255, 246, 0.84);
  --panel-strong: rgba(252, 255, 248, 0.96);
  --line: rgba(35, 80, 61, 0.18);
  --text: #1f3028;
  --muted: #5d7064;
  --soft: #7f9a88;
  --green: #245f49;
  --sage: #a8c59a;
  --teal: #1b7a68;
  --rust: #ba7142;
  --coral: #d98a65;
  --amber: #c99b3f;
  --orange: #ba7142;
  --danger: #b84a55;
  --body-glow-one: rgba(36, 95, 73, 0.22);
  --body-glow-two: rgba(185, 113, 66, 0.16);
  --body-bg-start: #edf4e8;
  --body-bg-mid: #fbfff6;
  --body-bg-end: #e0eddb;
}

html[data-theme="coral"] {
  --bg: #fff0e8;
  --paper: #fffaf4;
  --panel: rgba(255, 250, 244, 0.84);
  --panel-strong: rgba(255, 252, 247, 0.96);
  --line: rgba(139, 52, 50, 0.16);
  --text: #34231f;
  --muted: #755d55;
  --soft: #a98376;
  --green: #bf344a;
  --sage: #aac18f;
  --teal: #376b57;
  --rust: #d26043;
  --coral: #ee7b58;
  --amber: #d59634;
  --orange: #d26043;
  --danger: #bf344a;
  --body-glow-one: rgba(238, 123, 88, 0.24);
  --body-glow-two: rgba(55, 107, 87, 0.14);
  --body-bg-start: #fff0e8;
  --body-bg-mid: #fffaf4;
  --body-bg-end: #f8d9c8;
}

html[data-theme="trust"] {
  --bg: #ecf5f7;
  --paper: #fbfffc;
  --panel: rgba(251, 255, 252, 0.84);
  --panel-strong: rgba(252, 255, 254, 0.96);
  --line: rgba(34, 83, 95, 0.17);
  --text: #203037;
  --muted: #5d6e72;
  --soft: #80979b;
  --green: #287f99;
  --sage: #9bbd9f;
  --teal: #2f6f5e;
  --rust: #b96d47;
  --coral: #dc8468;
  --amber: #c69a3d;
  --orange: #b96d47;
  --danger: #b84658;
  --body-glow-one: rgba(40, 127, 153, 0.22);
  --body-glow-two: rgba(47, 111, 94, 0.16);
  --body-bg-start: #ecf5f7;
  --body-bg-mid: #fbfffc;
  --body-bg-end: #dcecef;
}

html[data-theme="volunteer"] {
  --bg: #f4edf7;
  --paper: #fff9f2;
  --panel: rgba(255, 249, 242, 0.84);
  --panel-strong: rgba(255, 251, 246, 0.96);
  --line: rgba(80, 54, 100, 0.17);
  --text: #2c2632;
  --muted: #6b6072;
  --soft: #91849c;
  --green: #5a527d;
  --sage: #b2aa8e;
  --teal: #4e7c8d;
  --rust: #bd6d46;
  --coral: #d98a69;
  --amber: #c99a39;
  --orange: #bd6d46;
  --danger: #b64a67;
  --body-glow-one: rgba(90, 82, 125, 0.21);
  --body-glow-two: rgba(189, 109, 70, 0.16);
  --body-bg-start: #f4edf7;
  --body-bg-mid: #fff9f2;
  --body-bg-end: #eadced;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 7%, var(--body-glow-one), transparent 24rem),
    radial-gradient(circle at 82% 12%, var(--body-glow-two), transparent 26rem),
    linear-gradient(180deg, var(--body-bg-start) 0%, var(--body-bg-mid) 46%, var(--body-bg-end) 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(16rem, 1fr) auto;
  align-items: center;
  gap: clamp(0.55rem, 1.2vw, 0.9rem);
  min-height: 4rem;
  padding: 0.55rem clamp(1rem, 3vw, 2.5rem);
  background: rgba(255, 248, 236, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 2.82rem;
  height: 2.82rem;
  place-items: center;
  border: 2px solid rgba(47, 111, 94, 0.26);
  border-radius: 999px;
  background: linear-gradient(145deg, #f4c06e, #e88961);
  box-shadow: 0 12px 28px rgba(200, 105, 63, 0.18);
  color: #33251d;
  font-weight: 900;
}

.brand-logo {
  overflow: hidden;
  border: 1px solid rgba(22, 45, 69, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(17, 35, 54, 0.12);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.06rem;
}

.brand strong,
.site-footer strong {
  display: block;
  font-size: 1rem;
}

.brand-wordmark {
  display: block;
  width: clamp(8.4rem, 12vw, 11rem);
  height: auto;
  line-height: 0;
}

.brand-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.logo-live-preview {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.7fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: center;
  max-width: var(--container);
  margin: 1rem auto 0;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 18px 44px rgba(72, 48, 33, 0.1);
}

.logo-live-copy h2 {
  margin: 0.2rem 0 0.5rem;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.logo-live-copy p:last-child {
  margin: 0;
  color: var(--muted);
}

.logo-live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.logo-live-grid article {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  border: 1px solid rgba(72, 48, 33, 0.14);
  border-radius: 1rem;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.72);
}

.logo-live-grid article.is-recommended {
  border-color: rgba(47, 111, 94, 0.42);
  box-shadow: 0 14px 32px rgba(47, 111, 94, 0.14);
}

.logo-live-grid img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.8rem;
}

.logo-live-grid strong {
  font-size: 0.98rem;
}

.logo-live-grid span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.site-search {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  justify-self: start;
  min-width: 0;
  width: 100%;
  max-width: 31rem;
  overflow: hidden;
  border: 1px solid rgba(72, 48, 33, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.site-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-search input,
.site-search button {
  border: 0;
  background: transparent;
  font: inherit;
}

.site-search input {
  min-width: 0;
  padding: 0.52rem 0.25rem 0.52rem 0.78rem;
  color: var(--text);
  font-size: 0.88rem;
  outline: 0;
}

.site-search button {
  height: 100%;
  padding: 0 0.82rem;
  background: var(--green);
  color: #fffaf1;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 850;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  grid-row: 2;
  gap: clamp(0.25rem, 0.7vw, 0.75rem);
  min-width: 0;
  color: #5d5148;
  font-size: 0.9rem;
  white-space: nowrap;
}

.home-category-nav {
  justify-self: center;
  width: min(46rem, 100%);
  border: 1px solid rgba(72, 48, 33, 0.12);
  border-radius: 999px;
  padding: 0.15rem;
  background: rgba(255, 255, 255, 0.48);
}

.home-category-nav .mega-item {
  flex: 1;
  justify-content: center;
}

.home-category-nav .mega-item > a {
  gap: 0.42rem;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.34rem 0.58rem;
}

.animal-nav-link img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(72, 48, 33, 0.2));
  animation: creatureFloat 4.2s ease-in-out infinite;
}

.animal-nav-link span {
  display: block;
}

.mega-item:nth-child(2) .animal-nav-link img {
  animation-delay: -0.8s;
}

.mega-item:nth-child(3) .animal-nav-link img {
  animation-delay: -1.6s;
}

.mega-item:nth-child(4) .animal-nav-link img {
  animation-delay: -2.4s;
}

.mega-item:nth-child(5) .animal-nav-link img {
  animation-delay: -3.2s;
}

.home-category-nav .mega-item:hover .animal-nav-link img,
.home-category-nav .mega-item:focus-within .animal-nav-link img {
  transform: translateY(-0.16rem) scale(1.08) rotate(-2deg);
}

.animated-category-stage {
  position: relative;
  max-width: var(--container);
  margin: 1rem auto 0;
  padding: clamp(1rem, 2.5vw, 1.25rem);
  border: 1px solid rgba(72, 48, 33, 0.14);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 249, 236, 0.92), transparent 16rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.92), rgba(247, 224, 190, 0.78));
  box-shadow: 0 22px 56px rgba(72, 48, 33, 0.12);
  overflow: hidden;
}

.adoption-line-stage {
  border: 2px solid rgba(47, 111, 94, 0.54);
  background:
    radial-gradient(circle at 6% 12%, rgba(47, 111, 94, 0.12), transparent 15rem),
    radial-gradient(circle at 94% 0%, rgba(217, 121, 50, 0.12), transparent 16rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(242, 231, 211, 0.94));
  box-shadow:
    0 0 0 0.22rem rgba(47, 111, 94, 0.07),
    0 22px 52px rgba(72, 48, 33, 0.14);
}

.adoption-line-stage::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 0;
  width: clamp(2.45rem, 5vw, 4rem);
  height: clamp(2.45rem, 5vw, 4rem);
  border-right: 4px solid rgba(47, 111, 94, 0.84);
  border-bottom: 4px solid rgba(47, 111, 94, 0.84);
  border-radius: 0 0 0.9rem 0;
  pointer-events: none;
}

.animated-category-stage::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -8rem;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  background: rgba(216, 95, 71, 0.12);
}

.adoption-line-stage::before {
  inset: 0.5rem auto auto 0.5rem;
  width: clamp(2.45rem, 5vw, 4rem);
  height: clamp(2.45rem, 5vw, 4rem);
  border-top: 4px solid rgba(47, 111, 94, 0.84);
  border-left: 4px solid rgba(47, 111, 94, 0.84);
  border-radius: 0.9rem 0 0 0;
  background: transparent;
  pointer-events: none;
}

.category-stage-copy {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.adoption-line-stage .category-stage-copy {
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--green) 22%, rgba(72, 48, 33, 0.12));
  border-radius: 1rem;
  padding: clamp(0.75rem, 1.5vw, 1rem);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), color-mix(in srgb, var(--green) 8%, rgba(255, 250, 241, 0.92))),
    rgba(255, 250, 241, 0.84);
  box-shadow:
    0 14px 30px rgba(72, 48, 33, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.category-stage-copy h2 {
  max-width: 20ch;
  margin: 0.15rem 0 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.04;
}

.adoption-line-stage .category-stage-copy h2 {
  max-width: 22ch;
  color: #243d34;
}

.adoption-line-stage .category-stage-copy > div {
  display: grid;
  gap: 0.28rem;
  min-width: min(100%, 22rem);
}

.adoption-line-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: max-content;
  border: 1px solid rgba(47, 111, 94, 0.32);
  border-radius: 999px;
  padding: 0.24rem 0.62rem 0.24rem 0.28rem;
  background: rgba(47, 111, 94, 0.1);
  color: #243d34;
  box-shadow: 0 10px 22px rgba(47, 111, 94, 0.12);
}

.adoption-line-label span {
  border-radius: 999px;
  padding: 0.22rem 0.46rem;
  background: linear-gradient(135deg, #2f6f5e, #167c80);
  color: #fffaf1;
  font-size: 0.68rem;
  font-weight: 950;
}

.adoption-line-stage .category-stage-copy > p {
  max-width: 46rem;
  margin: 0;
  border: 1px solid rgba(72, 48, 33, 0.12);
  border-radius: 0.82rem;
  padding: 0.74rem 0.88rem;
  background: rgba(255, 255, 255, 0.54);
  color: #5a3d33;
  font-weight: 760;
  line-height: 1.45;
}

.animal-fx-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  perspective: 1200px;
}

.animal-fx-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(9.5rem, auto) auto 1fr;
  gap: 0.58rem;
  min-height: 17rem;
  overflow: hidden;
  border: 1px solid rgba(72, 48, 33, 0.14);
  border-radius: 1.1rem;
  padding: 0.65rem;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.92), transparent 7.5rem),
    linear-gradient(145deg, rgba(255, 249, 236, 0.88), rgba(246, 210, 164, 0.56));
  box-shadow: 0 16px 34px rgba(72, 48, 33, 0.12);
  transform: translateZ(0);
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.adoption-line-stage .animal-fx-card {
  --adoption-color: #2f6f5e;
  border: 2px solid color-mix(in srgb, var(--adoption-color) 34%, rgba(72, 48, 33, 0.14));
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.96), transparent 7.4rem),
    linear-gradient(145deg, color-mix(in srgb, var(--adoption-color) 12%, #fffaf1), rgba(255, 250, 241, 0.96));
  box-shadow:
    0 16px 34px rgba(72, 48, 33, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.animal-fx-card::before {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  top: 9.3rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(72, 48, 33, 0.18);
  filter: blur(0.65rem);
  transform: translateZ(-1px);
}

.animal-fx-card::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -70%;
  width: 70%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: rotate(18deg);
  animation: cardShine 5.2s ease-in-out infinite;
}

.animal-fx-card:hover,
.animal-fx-card:focus-visible {
  border-color: rgba(63, 110, 86, 0.42);
  box-shadow: 0 24px 56px rgba(72, 48, 33, 0.2);
  transform: translateY(-0.45rem) rotateX(5deg) rotateY(-4deg) scale(1.018);
}

.adoption-line-stage .animal-fx-card:hover,
.adoption-line-stage .animal-fx-card:focus-visible {
  border-color: color-mix(in srgb, var(--adoption-color) 78%, #243d34);
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--adoption-color) 18%, #fff), transparent 7.8rem),
    linear-gradient(145deg, color-mix(in srgb, var(--adoption-color) 18%, #fffaf1), rgba(255, 250, 241, 0.98));
  box-shadow:
    0 24px 56px rgba(72, 48, 33, 0.2),
    0 0 0 0.2rem color-mix(in srgb, var(--adoption-color) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.animal-fx-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 10.8rem;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 1.1rem 1rem rgba(72, 48, 33, 0.28));
  animation: animalCardFloat 4.8s ease-in-out infinite;
}

.bird-card img {
  transform-origin: 52% 80%;
}

.animal-fx-card strong,
.animal-fx-card span:last-child {
  position: relative;
  z-index: 1;
}

.animal-fx-card strong {
  font-size: 1.14rem;
  line-height: 1.1;
}

.adoption-line-stage .animal-fx-card strong {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border: 1px solid color-mix(in srgb, var(--adoption-color) 28%, rgba(72, 48, 33, 0.12));
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  background: rgba(255, 255, 255, 0.56);
  color: #243d34;
  font-weight: 950;
}

.animal-fx-card span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.adoption-line-stage .animal-fx-card span:last-child {
  border: 1px solid rgba(72, 48, 33, 0.1);
  border-radius: 0.8rem;
  padding: 0.54rem 0.58rem;
  background: rgba(255, 255, 255, 0.48);
  color: #5f4538;
  font-weight: 760;
}

.adoption-line-stage .animal-fx-card:hover strong,
.adoption-line-stage .animal-fx-card:focus-visible strong {
  border-color: color-mix(in srgb, var(--adoption-color) 58%, rgba(72, 48, 33, 0.14));
  background: color-mix(in srgb, var(--adoption-color) 12%, #fffaf1);
}

.fx-light {
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  z-index: 0;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: rgba(216, 95, 71, 0.18);
  filter: blur(1px);
  animation: fxPulse 4.4s ease-in-out infinite;
}

.dog-card img {
  animation-delay: -0.7s;
}

.bird-card img {
  animation-delay: -1.4s;
}

.rodent-card,
.small-card {
  --adoption-color: #b87842;
}

.cat-card {
  --adoption-color: #d97932;
}

.dog-card {
  --adoption-color: #2f6f5e;
}

.bird-card {
  --adoption-color: #2787a4;
}

.reptile-card {
  --adoption-color: #4f956b;
}

.aquarium-card {
  --adoption-color: #2787a4;
}

.adoption-line-stage .cat-card {
  --adoption-color: #d97932;
}

.adoption-line-stage .dog-card {
  --adoption-color: #2f6f5e;
}

.adoption-line-stage .bird-card {
  --adoption-color: #2787a4;
}

.adoption-line-stage .rodent-card {
  --adoption-color: #b87842;
}

.adoption-line-stage .reptile-card {
  --adoption-color: #4f956b;
}

.adoption-line-stage .aquarium-card {
  --adoption-color: #2787a4;
}

.small-card img {
  animation-delay: -2.1s;
}

.help-card img {
  animation-delay: -2.8s;
}

.contact-card img {
  width: min(8rem, 86%);
  justify-self: center;
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 2rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.78);
}

.cat-card .fx-light,
.bird-card .fx-light {
  background: rgba(239, 162, 82, 0.2);
}

.dog-card .fx-light,
.help-card .fx-light {
  background: rgba(63, 110, 86, 0.18);
}

.contact-card .fx-light {
  background: rgba(22, 124, 128, 0.2);
}

@keyframes creatureFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-0.16rem) rotate(-2deg);
  }
}

@keyframes animalCardFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-0.28rem) scale(1.018);
  }
}

@keyframes fxPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.18);
  }
}

@keyframes cardShine {
  0%,
  58% {
    transform: translateX(0) rotate(18deg);
  }
  88%,
  100% {
    transform: translateX(270%) rotate(18deg);
  }
}

@keyframes socialIconFloat {
  0%,
  100% {
    transform: translateZ(44px) translateY(0) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: translateZ(54px) translateY(-0.24rem) rotateX(5deg) rotateY(-8deg);
  }
}

@keyframes socialIconSheen {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.32),
      inset 0 -0.7rem 1.2rem rgba(0, 0, 0, 0.13);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.54),
      inset 0 -0.5rem 1rem rgba(0, 0, 0, 0.08),
      0 0 1.1rem rgba(255, 250, 241, 0.26);
  }
}

.home-category-nav .mega-item:hover > a,
.home-category-nav .mega-item:focus-within > a {
  background: rgba(47, 111, 94, 0.1);
  color: var(--green);
}

.quick-nav {
  justify-self: center;
  width: min(62rem, 100%);
  border: 1px solid rgba(72, 48, 33, 0.13);
  border-radius: 999px;
  padding: 0.18rem;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 12px 26px rgba(72, 48, 33, 0.08);
}

.quick-nav a {
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  color: #49352d;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.quick-nav a:hover,
.quick-nav a:focus-visible {
  background: rgba(47, 111, 94, 0.1);
  color: var(--green);
  transform: translateY(-1px);
}

.quick-nav .is-urgent {
  background: linear-gradient(135deg, rgba(198, 75, 85, 0.16), rgba(217, 121, 50, 0.12));
  color: #9f2632;
  box-shadow: inset 0 0 0 1px rgba(198, 75, 85, 0.18);
}

.mega-nav {
  align-self: center;
  gap: 0;
}

.mega-item {
  position: relative;
  display: flex;
  align-items: center;
}

.mega-item > a {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 2rem;
  padding: 0 clamp(0.4rem, 0.62vw, 0.75rem);
  border-bottom: 3px solid transparent;
  font-weight: 850;
}

.mega-item:hover > a,
.mega-item:focus-within > a {
  border-bottom-color: var(--rust);
  color: var(--rust);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 18rem 18rem;
  gap: 1rem;
  width: 38rem;
  max-width: calc(100vw - 2rem);
  border: 1px solid var(--line);
  border-radius: 0 0 1.2rem 1.2rem;
  padding: 1rem;
  background: var(--panel-strong);
  box-shadow: 0 24px 60px rgba(72, 48, 33, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 140ms ease, transform 140ms ease;
}

.mega-item:nth-last-child(-n + 2) .mega-menu {
  left: auto;
  right: 0;
}

.mega-item:hover .mega-menu,
.mega-item:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-list {
  display: grid;
  gap: 0.2rem;
}

.mega-list a {
  border-radius: 0.75rem;
  padding: 0.72rem 0.8rem;
  color: var(--text);
  font-weight: 750;
}

.mega-list a:hover {
  background: rgba(200, 105, 63, 0.1);
  color: var(--rust);
}

.mega-feature {
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(47, 111, 94, 0.1);
}

.mega-feature strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--green);
  font-size: 1.15rem;
}

.mega-feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.desktop-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--green);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.header-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
  white-space: nowrap;
}

.emergency-header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  border: 1px solid rgba(147, 31, 39, 0.22);
  border-radius: 999px;
  padding: 0.66rem 1rem;
  background: linear-gradient(135deg, #d93445, #e9713d);
  color: #fffaf1;
  box-shadow: 0 16px 32px rgba(198, 75, 85, 0.26);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.emergency-header-button::before {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: #fffaf1;
  box-shadow: 0 0 0 0 rgba(255, 250, 241, 0.72);
  animation: emergencyPulse 1.7s ease-out infinite;
}

.emergency-header-button:hover,
.emergency-header-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(198, 75, 85, 0.32);
}

.emergency-header-button .label-mobile {
  display: none;
}

.mobile-menu .mobile-emergency-link {
  background: rgba(198, 75, 85, 0.12);
  color: #9f2632;
}

.menu-button {
  display: none;
  min-height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 0 1rem;
}

.mobile-menu {
  display: none;
  grid-column: 1 / -1;
  gap: 0.72rem;
  width: min(58rem, 100%);
  justify-self: end;
  max-height: min(68vh, 32rem);
  overflow: auto;
  border: 2px solid rgba(47, 111, 94, 0.34);
  border-radius: 1.12rem;
  padding: 0.78rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 121, 50, 0.1), transparent 12rem),
    rgba(255, 250, 241, 0.98);
  box-shadow:
    0 0 0 0.2rem rgba(47, 111, 94, 0.06),
    0 22px 48px rgba(72, 48, 33, 0.18);
}

.mobile-menu-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(72, 48, 33, 0.14);
  padding: 0 0.1rem 0.65rem;
}

.mobile-menu-head strong {
  color: #243d34;
  font-size: 1.05rem;
}

.mobile-menu-head span {
  color: #604538;
  font-size: 0.8rem;
  font-weight: 820;
}

.mobile-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.mobile-menu-group {
  display: grid;
  align-content: start;
  gap: 0.28rem;
  min-width: 0;
  border: 1px solid rgba(72, 48, 33, 0.16);
  border-radius: 0.92rem;
  padding: 0.62rem;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 22px rgba(72, 48, 33, 0.08);
}

.mobile-menu-group.is-priority {
  border-color: rgba(198, 75, 85, 0.34);
  background:
    linear-gradient(145deg, rgba(198, 75, 85, 0.1), rgba(255, 255, 255, 0.68));
}

.mobile-menu-group > strong {
  margin-bottom: 0.16rem;
  color: #243d34;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 2.34rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  padding: 0.48rem 0.56rem;
  color: #44332c;
  font-size: 0.82rem;
  font-weight: 880;
  line-height: 1.14;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(47, 111, 94, 0.22);
  background: rgba(47, 111, 94, 0.08);
  color: #234f43;
}

.mobile-menu.is-open {
  display: grid;
}

.primary-button,
.secondary-button,
.ghost-button,
.card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  border-radius: 999px;
  padding: 0.68rem 1rem;
  border: 1px solid transparent;
  font-weight: 750;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, #2f6f5e, #167c80);
  color: #fffaf1;
  box-shadow: 0 16px 34px rgba(47, 111, 94, 0.2);
}

.secondary-button,
.ghost-button,
.card-button {
  background: rgba(255, 255, 255, 0.52);
  border-color: var(--line);
  color: var(--text);
}

.large {
  min-height: 2.9rem;
  padding-inline: 1.25rem;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.card-button:hover,
.category-card:hover {
  transform: translateY(-2px);
}

.home-simple {
  display: grid;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.home-control-center {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1rem, 2.4vw, 1.4rem);
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin: clamp(0.85rem, 2vw, 1.35rem) auto 0;
  border: 2px solid rgba(47, 111, 94, 0.34);
  border-radius: 1.28rem;
  padding: clamp(1rem, 2.4vw, 1.45rem);
  background:
    radial-gradient(circle at 6% 8%, rgba(217, 121, 50, 0.16), transparent 16rem),
    radial-gradient(circle at 94% 4%, rgba(39, 135, 164, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(242, 231, 211, 0.94));
  box-shadow:
    0 0 0 0.2rem rgba(47, 111, 94, 0.06),
    0 24px 58px rgba(72, 48, 33, 0.13);
}

.home-control-center::before {
  content: "";
  position: absolute;
  inset: 0.55rem auto auto 0.55rem;
  width: clamp(2.6rem, 5vw, 4rem);
  height: clamp(2.6rem, 5vw, 4rem);
  border-top: 4px solid rgba(47, 111, 94, 0.75);
  border-left: 4px solid rgba(47, 111, 94, 0.75);
  border-radius: 0.9rem 0 0 0;
  pointer-events: none;
}

.control-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.8rem;
  min-width: 0;
}

.control-copy h1 {
  max-width: 12ch;
  margin-bottom: 0;
  color: #243d34;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  line-height: 1.02;
}

.control-copy p {
  max-width: 39rem;
  margin-bottom: 0;
  color: #533b32;
  font-weight: 800;
}

.control-mini-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.control-mini-row span {
  border: 1px solid rgba(47, 111, 94, 0.18);
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  background: rgba(255, 255, 255, 0.58);
  color: #31483f;
  font-size: 0.78rem;
  font-weight: 900;
}

.control-action-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  min-width: 0;
}

.control-action-card {
  --control-rgb: 47, 111, 94;
  display: grid;
  gap: 0.36rem;
  min-height: 9.4rem;
  border: 2px solid rgba(var(--control-rgb), 0.26);
  border-radius: 1rem;
  padding: 0.82rem;
  background:
    radial-gradient(circle at 88% 10%, rgba(var(--control-rgb), 0.16), transparent 4.8rem),
    rgba(255, 250, 241, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 28px rgba(72, 48, 33, 0.1);
  color: #2f201a;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.control-action-card:hover,
.control-action-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(var(--control-rgb), 0.62);
  box-shadow:
    0 0 0 0.2rem rgba(var(--control-rgb), 0.08),
    0 20px 36px rgba(72, 48, 33, 0.14);
}

.control-action-card span {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 0.72rem;
  background: linear-gradient(135deg, rgb(var(--control-rgb)), rgba(var(--control-rgb), 0.72));
  color: #fffaf1;
  font-size: 0.74rem;
  font-weight: 950;
}

.control-action-card strong {
  color: #243d34;
  font-size: 1.04rem;
  line-height: 1.1;
}

.control-action-card small {
  color: #5a3d33;
  font-size: 0.8rem;
  font-weight: 820;
  line-height: 1.28;
}

.control-action-card.danger {
  --control-rgb: 198, 75, 85;
}

.control-action-card.shelter {
  --control-rgb: 47, 111, 94;
}

.control-action-card.post {
  --control-rgb: 217, 121, 50;
}

.control-action-card.lost {
  --control-rgb: 39, 135, 164;
}

.control-action-card.volunteer {
  --control-rgb: 106, 94, 168;
}

.control-action-card.map {
  --control-rgb: 79, 149, 107;
}

.control-account-strip {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid rgba(72, 48, 33, 0.12);
  padding-top: 0.85rem;
}

.control-account-strip a {
  border: 1px solid rgba(72, 48, 33, 0.14);
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  background: rgba(255, 255, 255, 0.62);
  color: #31483f;
  font-weight: 900;
}

.home-need-map {
  display: grid;
  gap: 1rem;
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin: 0 auto;
  border: 1px solid rgba(72, 48, 33, 0.14);
  border-radius: 1.18rem;
  padding: clamp(0.9rem, 2.2vw, 1.25rem);
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 18px 42px rgba(72, 48, 33, 0.1);
}

.need-map-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.need-map-head h2 {
  margin-bottom: 0;
  color: #243d34;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.need-map-head p:last-child {
  max-width: 30rem;
  margin-bottom: 0;
  color: #5a3d33;
  font-weight: 780;
}

.need-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.need-path-card {
  --need-rgb: 47, 111, 94;
  display: grid;
  gap: 0.78rem;
  border: 2px solid rgba(var(--need-rgb), 0.24);
  border-radius: 1rem;
  padding: 0.85rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--need-rgb), 0.14), transparent 6rem),
    rgba(255, 255, 255, 0.58);
}

.need-path-card.help {
  --need-rgb: 198, 75, 85;
}

.need-path-card.system {
  --need-rgb: 39, 135, 164;
}

.need-path-card span {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  padding: 0.24rem 0.5rem;
  background: rgba(var(--need-rgb), 0.12);
  color: rgb(var(--need-rgb));
  font-size: 0.72rem;
  font-weight: 950;
}

.need-path-card h3 {
  margin: 0.28rem 0 0;
  color: #243d34;
  font-size: 1.12rem;
}

.need-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.need-pill-grid a {
  display: grid;
  min-height: 2.62rem;
  align-items: center;
  border: 1px solid rgba(var(--need-rgb), 0.2);
  border-radius: 0.78rem;
  padding: 0.48rem 0.58rem;
  background: rgba(255, 250, 241, 0.82);
  color: #2f201a;
  font-size: 0.84rem;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.need-pill-grid a:hover,
.need-pill-grid a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(var(--need-rgb), 0.54);
  box-shadow: 0 10px 22px rgba(var(--need-rgb), 0.14);
}

.home-emergency-gateway {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(16rem, 0.52fr);
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin: clamp(0.85rem, 2vw, 1.6rem) auto 0;
  border: 2px solid rgba(198, 75, 85, 0.58);
  border-radius: 1.25rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(255, 237, 223, 0.94)),
    radial-gradient(circle at 0% 0%, rgba(217, 52, 69, 0.18), transparent 18rem);
  box-shadow:
    0 0 0 0.22rem rgba(198, 75, 85, 0.08),
    0 22px 50px rgba(112, 45, 39, 0.14);
}

.home-emergency-gateway::before,
.home-emergency-gateway::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(2.45rem, 5vw, 4rem);
  height: clamp(2.45rem, 5vw, 4rem);
  pointer-events: none;
}

.home-emergency-gateway::before {
  top: 0.5rem;
  left: 0.5rem;
  border-top: 4px solid rgba(198, 75, 85, 0.9);
  border-left: 4px solid rgba(198, 75, 85, 0.9);
  border-radius: 0.9rem 0 0 0;
}

.home-emergency-gateway::after {
  right: 0.5rem;
  bottom: 0.5rem;
  border-right: 4px solid rgba(198, 75, 85, 0.9);
  border-bottom: 4px solid rgba(198, 75, 85, 0.9);
  border-radius: 0 0 0.9rem 0;
}

.home-emergency-gateway > * {
  position: relative;
  z-index: 1;
}

.home-emergency-gateway.reveal-card {
  opacity: 1;
  transform: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.emergency-pulse {
  position: relative;
  display: grid;
  width: clamp(4.8rem, 8vw, 6.8rem);
  aspect-ratio: 1;
  place-items: center;
}

.emergency-pulse span {
  position: absolute;
  inset: 0.28rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(217, 52, 69, 0.95), rgba(232, 113, 61, 0.9));
  box-shadow:
    0 18px 34px rgba(198, 75, 85, 0.28),
    inset 0 0 0 0.45rem rgba(255, 250, 241, 0.18);
}

.emergency-pulse span::before,
.emergency-pulse span::after {
  content: "";
  position: absolute;
  inset: -0.35rem;
  border: 1px solid rgba(198, 75, 85, 0.42);
  border-radius: inherit;
  animation: emergencyRing 2.2s ease-out infinite;
}

.emergency-pulse span::after {
  animation-delay: 0.9s;
}

.emergency-pulse img {
  position: relative;
  z-index: 1;
  width: 68%;
  height: 68%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(58, 31, 24, 0.22));
}

.emergency-copy {
  min-width: 0;
}

.emergency-copy h1 {
  max-width: 26ch;
  margin: 0.18rem 0 0.45rem;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.06;
  letter-spacing: 0;
  color: #2f201a;
}

.emergency-copy p {
  max-width: 54rem;
  margin: 0;
  color: #5a3d33;
  font-weight: 760;
}

.emergency-category-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.emergency-category-chip {
  --emergency-color: #c64b55;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.48rem;
  min-height: 3.75rem;
  border: 1px solid color-mix(in srgb, var(--emergency-color) 46%, transparent);
  border-radius: 0.88rem;
  padding: 0.56rem 0.62rem;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--emergency-color) 16%, #fffaf1), rgba(255, 250, 241, 0.94));
  box-shadow:
    0 11px 22px rgba(72, 48, 33, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  color: #2f201a;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.emergency-category-chip:hover,
.emergency-category-chip:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--emergency-color) 76%, #2f201a);
  box-shadow:
    0 17px 30px color-mix(in srgb, var(--emergency-color) 24%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.emergency-category-chip span {
  display: grid;
  width: 2.18rem;
  height: 2.18rem;
  place-items: center;
  border-radius: 0.68rem;
  background: linear-gradient(135deg, var(--emergency-color), color-mix(in srgb, var(--emergency-color) 78%, #2f201a));
  box-shadow: 0 9px 16px color-mix(in srgb, var(--emergency-color) 26%, transparent);
  color: #fffaf1;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
}

.emergency-category-chip strong,
.emergency-category-chip small {
  display: block;
}

.emergency-category-chip strong {
  color: #2f201a;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.12;
}

.emergency-category-chip small {
  margin-top: 0.12rem;
  color: #624236;
  font-size: 0.73rem;
  font-weight: 860;
  line-height: 1.18;
}

.emergency-category-chip.injury {
  --emergency-color: #c64b55;
}

.emergency-category-chip.food {
  --emergency-color: #d97932;
}

.emergency-category-chip.water {
  --emergency-color: #2787a4;
}

.emergency-category-chip.found {
  --emergency-color: #4f956b;
}

.emergency-actions {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.emergency-primary,
.emergency-secondary {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 3.65rem;
  border-radius: 1rem;
  padding: 0.78rem 0.95rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.emergency-primary {
  border: 2px solid rgba(128, 31, 38, 0.62);
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 250, 241, 0.24), transparent 3.4rem),
    linear-gradient(135deg, #bd2f3f, #e55f34);
  color: #fffaf1;
  box-shadow:
    0 0 0 0.22rem rgba(198, 75, 85, 0.15),
    0 20px 38px rgba(198, 75, 85, 0.3);
}

.emergency-primary em {
  width: max-content;
  margin-bottom: 0.28rem;
  border-radius: 999px;
  padding: 0.18rem 0.46rem;
  background: rgba(255, 250, 241, 0.18);
  color: #fffaf1;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.emergency-primary span {
  font-size: 1.16rem;
  line-height: 1.05;
}

.emergency-primary strong {
  margin-top: 0.2rem;
  color: rgba(255, 250, 241, 0.9);
  font-size: 0.8rem;
  line-height: 1.25;
}

.emergency-secondary {
  border: 2px solid rgba(47, 111, 94, 0.26);
  background: rgba(47, 111, 94, 0.1);
  color: #234f43;
  text-align: center;
}

.emergency-primary:hover,
.emergency-primary:focus-visible,
.emergency-secondary:hover,
.emergency-secondary:focus-visible {
  transform: translateY(-2px);
}

@keyframes emergencyPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 250, 241, 0.72);
  }
  70% {
    box-shadow: 0 0 0 0.6rem rgba(255, 250, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 250, 241, 0);
  }
}

@keyframes emergencyRing {
  0% {
    opacity: 0.65;
    transform: scale(0.86);
  }
  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}

.simple-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  min-height: min(34rem, calc(100svh - 4rem));
  margin: 0 auto;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: center;
  padding: clamp(1.25rem, 3vh, 2.75rem) 0;
}

.simple-hero-copy {
  max-width: 38rem;
}

.simple-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.45rem, min(4.25vw, 6.8vh), 4.65rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-block: clamp(0.45rem, 1vh, 0.8rem);
}

.simple-hero .hero-text {
  max-width: 36rem;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  margin-bottom: clamp(0.8rem, 1.7vh, 1.25rem);
}

.hero-search-card {
  display: grid;
  gap: clamp(0.45rem, 1.1vh, 0.75rem);
  max-width: 35rem;
  margin: clamp(0.75rem, 1.5vh, 1.1rem) 0;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: clamp(0.75rem, 1.5vh, 1rem);
  background: rgba(255, 255, 255, 0.62);
}

.hero-search-card strong {
  color: var(--green);
}

.hero-search-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-search-card a {
  border: 1px solid rgba(47, 111, 94, 0.18);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: rgba(47, 111, 94, 0.07);
  color: var(--green);
  font-weight: 800;
}

.simple-hero-image {
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.simple-hero-image img {
  display: block;
  width: 100%;
  height: min(42vw, calc(100svh - 9rem), 31rem);
  min-height: 16rem;
  object-fit: cover;
}

.home-actions-simple {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin: 0 auto;
  padding: 0;
}

.home-trust-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin: 0 auto;
  padding: 0;
}

.home-trust-metrics article {
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.54);
}

.home-trust-metrics strong {
  display: block;
  color: var(--rust);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}

.home-trust-metrics span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-weight: 750;
}

.social-fx-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin: 0 auto clamp(1rem, 3vw, 2rem);
  padding: clamp(1rem, 2.6vw, 1.6rem);
  border: 1px solid rgba(72, 48, 33, 0.13);
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.94), rgba(255, 248, 236, 0.72)),
    url("./assets/social/petpativa-cover.svg") center / cover no-repeat;
  box-shadow: 0 22px 54px rgba(72, 48, 33, 0.1);
  overflow: hidden;
}

.compact-social-fx {
  grid-template-columns: 1fr;
  width: 100%;
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
}

.social-fx-copy {
  display: grid;
  gap: 0.8rem;
  align-content: center;
}

.social-fx-copy h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3.35rem);
  line-height: 1.05;
  text-wrap: balance;
}

.social-fx-copy p {
  margin: 0;
  color: var(--muted);
}

.social-fx-copy .primary-button {
  width: max-content;
}

.social-fx-stage {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  perspective: 1100px;
}

.social-fx-card {
  position: relative;
  display: grid;
  align-content: end;
  gap: 0.25rem;
  min-height: 10.8rem;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.36);
  border-radius: 1rem;
  padding: 1rem;
  color: #fffaf1;
  background: linear-gradient(145deg, rgba(47, 111, 94, 0.94), rgba(22, 124, 128, 0.9));
  box-shadow: 0 20px 42px rgba(72, 48, 33, 0.18);
  transform: rotateX(0deg) rotateY(0deg) translateY(0);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.social-fx-icon {
  position: absolute;
  top: 0.72rem;
  right: 0.72rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(4.2rem, 8vw, 5.25rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.32rem;
  background: rgba(255, 255, 255, 0.98);
  color: #fff;
  font-size: clamp(0.94rem, 2vw, 1.15rem);
  font-weight: 950;
  letter-spacing: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 20px 38px rgba(31, 22, 18, 0.3);
  transform: translateZ(44px);
  transform-style: preserve-3d;
  animation: socialIconFloat 4.8s ease-in-out infinite;
}

.social-fx-icon::before,
.social-fx-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.95rem;
  transform-style: preserve-3d;
  pointer-events: none;
}

.social-fx-icon::before {
  inset: auto 0.34rem -0.35rem;
  height: 0.8rem;
  border-radius: 999px;
  background: rgba(31, 22, 18, 0.22);
  filter: blur(0.22rem);
  transform: translateZ(-14px);
}

.social-fx-icon::after {
  inset: 0;
  content: "";
  display: grid;
  place-items: center;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 42%),
    linear-gradient(315deg, rgba(0, 0, 0, 0.05), transparent 58%);
  opacity: 0.38;
  transform: translateZ(8px);
  animation: socialIconSheen 5.6s ease-in-out infinite;
}

.social-fx-icon svg {
  position: relative;
  z-index: 2;
  width: 58%;
  height: 58%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateZ(28px);
  filter: drop-shadow(0 0.35rem 0.55rem rgba(31, 22, 18, 0.22));
}

.social-fx-icon img {
  position: relative;
  z-index: 2;
  display: block;
  width: 92%;
  height: 92%;
  object-fit: contain;
  border-radius: 1.05rem;
  transform: translateZ(30px);
  filter: drop-shadow(0 0.48rem 0.58rem rgba(31, 22, 18, 0.2));
}

.social-fx-icon.logo-solid svg {
  width: 62%;
  height: 62%;
  fill: currentColor;
  stroke: none;
}

.social-fx-card.youtube .social-fx-icon.logo-solid svg {
  width: 70%;
  height: 70%;
}

.social-fx-card:hover .social-fx-icon {
  animation-duration: 2.8s;
}

.social-fx-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 36%),
    radial-gradient(circle at 18% 16%, rgba(255, 250, 241, 0.34), transparent 8rem);
  opacity: 0.84;
  pointer-events: none;
}

.social-fx-card::after {
  content: "";
  position: absolute;
  right: -1.7rem;
  top: -1.7rem;
  width: 5.4rem;
  height: 5.4rem;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.1);
  transform: translateZ(24px);
}

.social-fx-card:hover {
  filter: saturate(1.06);
  box-shadow: 0 28px 60px rgba(72, 48, 33, 0.24);
  transform: rotateX(4deg) rotateY(-7deg) translateY(-0.35rem);
}

.social-fx-card .social-fx-label,
.social-fx-card strong,
.social-fx-card small {
  position: relative;
  z-index: 1;
  transform: translateZ(26px);
}

.social-fx-card .social-fx-label {
  width: max-content;
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: 999px;
  padding: 0.28rem 0.52rem;
  background: rgba(255, 250, 241, 0.12);
  font-size: 0.75rem;
  font-weight: 900;
}

.social-fx-card strong {
  font-size: 1.12rem;
  line-height: 1.15;
}

.social-fx-card small {
  color: rgba(255, 250, 241, 0.82);
  font-size: 0.84rem;
}

.social-fx-card.instagram {
  grid-column: span 2;
  background: linear-gradient(145deg, #8a4a9e, #e88961 62%, #d99b3d);
}

.social-fx-card.tiktok {
  grid-column: span 2;
  background: linear-gradient(145deg, #2d231e, #167c80);
}

.social-fx-card.youtube {
  grid-column: span 2;
  background: linear-gradient(145deg, #8d2d37, #c8693f);
}

.social-fx-card.facebook {
  grid-column: span 3;
  background: linear-gradient(145deg, #2f6f5e, #356aa0);
}

.social-fx-card.linkedin {
  grid-column: span 3;
  background: linear-gradient(145deg, #167c80, #2f6f5e);
}

.social-fx-card.instagram .social-fx-icon::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 42%);
}

.social-fx-card.tiktok .social-fx-icon::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 42%);
}

.social-fx-card.youtube .social-fx-icon::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 42%);
}

.social-fx-card.facebook .social-fx-icon::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 42%);
}

.social-fx-card.linkedin .social-fx-icon::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 42%);
}

.link-hub-social-stage {
  margin-top: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.link-hub-social-stage .social-fx-card {
  grid-column: span 1;
  min-height: 11.2rem;
}

.footer-social-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(14rem, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(0.8rem, 2vw, 1.2rem);
  align-items: center;
  border: 1px solid rgba(72, 48, 33, 0.13);
  border-radius: 1rem;
  padding: clamp(0.85rem, 2vw, 1.1rem);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(255, 248, 236, 0.74)),
    url("./assets/social/petpativa-cover.svg") center / cover no-repeat;
  box-shadow: 0 14px 34px rgba(72, 48, 33, 0.09);
}

.footer-social-copy {
  display: grid;
  gap: 0.55rem;
}

.footer-social-copy h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

.footer-social-copy p {
  margin: 0;
  color: var(--muted);
}

.footer-social-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.footer-social-link {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.35rem;
  min-width: 0;
  min-height: 7.2rem;
  border: 1px solid rgba(72, 48, 33, 0.13);
  border-radius: 0.82rem;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 24px rgba(72, 48, 33, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  transform: translateY(-0.15rem);
  box-shadow: 0 16px 32px rgba(72, 48, 33, 0.12);
}

.footer-social-link img {
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(72, 48, 33, 0.12);
  border-radius: 0.88rem;
  padding: 0.22rem;
  background: #fff;
  object-fit: contain;
}

.footer-social-link span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.footer-social-link strong {
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.15;
}

.footer-social-link.instagram {
  border-color: rgba(230, 0, 60, 0.24);
}

.footer-social-link.tiktok {
  border-color: rgba(22, 124, 128, 0.24);
}

.footer-social-link.youtube {
  border-color: rgba(196, 49, 63, 0.24);
}

.footer-social-link.facebook,
.footer-social-link.linkedin {
  border-color: rgba(47, 111, 94, 0.24);
}

.home-action-card {
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 0.85rem;
  background: var(--panel-strong);
  box-shadow: 0 14px 34px rgba(72, 48, 33, 0.11);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(72, 48, 33, 0.16);
}

.home-action-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
}

.home-action-card span {
  color: var(--rust);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-action-card strong {
  font-size: 1.18rem;
  line-height: 1.15;
}

.home-action-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.home-list-preview {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3.5rem);
  background: rgba(255, 255, 255, 0.32);
}

.home-list-preview > * {
  width: min(var(--container), 100%);
  margin-inline: auto;
}

.featured-listings-hub {
  display: grid;
  gap: 0.95rem;
  border-top: 2px solid rgba(47, 111, 94, 0.18);
  border-bottom: 2px solid rgba(47, 111, 94, 0.14);
  background:
    radial-gradient(circle at 0% 0%, rgba(47, 111, 94, 0.1), transparent 16rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.94), rgba(255, 248, 236, 0.78));
}

.featured-listings-head {
  display: grid;
  justify-items: center;
  gap: 0.78rem;
  text-align: center;
}

.featured-listings-head > div {
  display: grid;
  justify-items: center;
}

.featured-listings-head h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: min(100%, 25ch);
  margin: 0 0 0.48rem;
  border: 2px solid rgba(47, 111, 94, 0.28);
  border-radius: 0.95rem;
  padding: 0.48rem 0.9rem 0.58rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 241, 0.86)),
    rgba(255, 255, 255, 0.82);
  color: #243d34;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.08;
  box-shadow:
    0 14px 34px rgba(72, 48, 33, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.featured-listings-head p:last-child {
  max-width: 46rem;
  margin-bottom: 0;
  color: #5a3d33;
  font-weight: 780;
  line-height: 1.45;
}

.featured-filter-panel {
  display: grid;
  gap: 0.72rem;
  border: 2px solid rgba(47, 111, 94, 0.32);
  border-radius: 1rem;
  padding: 0.82rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 250, 241, 0.72)),
    rgba(255, 255, 255, 0.68);
  box-shadow:
    0 18px 42px rgba(72, 48, 33, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.featured-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.featured-type-tabs button,
.featured-filter-footer button,
.featured-pagination button {
  border: 2px solid rgba(72, 48, 33, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.96);
  color: #2b231f;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 950;
  padding: 0.52rem 0.78rem;
  box-shadow:
    0 8px 18px rgba(72, 48, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.featured-type-tabs button:hover,
.featured-type-tabs button:focus-visible,
.featured-type-tabs button.is-active,
.featured-pagination button:hover,
.featured-pagination button:focus-visible,
.featured-pagination button.is-active {
  transform: translateY(-1px);
  border-color: rgba(47, 111, 94, 0.78);
  background:
    linear-gradient(135deg, rgba(47, 111, 94, 0.18), rgba(216, 155, 61, 0.1)),
    rgba(255, 250, 241, 0.98);
  color: #173e34;
  box-shadow:
    0 12px 24px rgba(47, 111, 94, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.featured-filter-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}

.featured-filter-grid label {
  display: grid;
  gap: 0.34rem;
  min-width: 0;
  border: 1.8px solid rgba(72, 48, 33, 0.18);
  border-radius: 0.78rem;
  padding: 0.44rem;
  background: rgba(255, 255, 255, 0.6);
  color: #3a2b24;
  font-size: 0.75rem;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.featured-filter-grid select {
  width: 100%;
  min-width: 0;
  border: 2px solid rgba(47, 111, 94, 0.25);
  border-radius: 0.68rem;
  padding: 0.5rem 0.56rem;
  background: rgba(255, 250, 241, 0.96);
  color: #152d27;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 950;
}

.featured-filter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.featured-filter-footer strong {
  color: #173e34;
  font-size: 0.94rem;
  font-weight: 950;
}

.featured-filter-footer button {
  border-color: rgba(159, 38, 50, 0.32);
  background: rgba(198, 75, 85, 0.1);
  color: #7f1f2a;
}

.featured-listing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.68rem;
}

.featured-listing-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 2px solid rgba(72, 48, 33, 0.22);
  border-radius: 0.95rem;
  background: rgba(255, 250, 241, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 12px 24px rgba(72, 48, 33, 0.08);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.featured-listing-card:hover,
.featured-listing-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(47, 111, 94, 0.46);
  box-shadow:
    0 0 0 0.18rem rgba(47, 111, 94, 0.07),
    0 18px 34px rgba(72, 48, 33, 0.13);
}

.featured-listing-card.is-urgent {
  border-color: rgba(198, 75, 85, 0.38);
}

.featured-listing-card.is-found {
  border-color: rgba(39, 135, 164, 0.32);
}

.featured-listing-card[hidden] {
  display: none;
}

.featured-listing-photo {
  position: relative;
  display: grid;
  min-height: 6.25rem;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.86), transparent 4.4rem),
    linear-gradient(135deg, rgba(217, 121, 50, 0.2), rgba(47, 111, 94, 0.14)),
    #fffaf1;
}

.featured-listing-photo.dog {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.86), transparent 4.4rem),
    linear-gradient(135deg, rgba(185, 94, 44, 0.22), rgba(47, 111, 94, 0.13)),
    #fffaf1;
}

.featured-listing-photo.bird,
.featured-listing-photo.aquarium {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.86), transparent 4.4rem),
    linear-gradient(135deg, rgba(39, 135, 164, 0.2), rgba(217, 155, 61, 0.16)),
    #fffaf1;
}

.featured-listing-photo.rodent,
.featured-listing-photo.reptile {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.86), transparent 4.4rem),
    linear-gradient(135deg, rgba(106, 94, 168, 0.16), rgba(217, 121, 50, 0.17)),
    #fffaf1;
}

.featured-listing-photo.dark {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.82), transparent 4.4rem),
    linear-gradient(135deg, rgba(47, 111, 94, 0.2), rgba(31, 22, 18, 0.14)),
    #fffaf1;
}

.featured-listing-photo img {
  width: min(70%, 6.15rem);
  height: 5.55rem;
  object-fit: contain;
  filter: drop-shadow(0 0.75rem 0.65rem rgba(72, 48, 33, 0.22));
}

.featured-listing-photo span {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(47, 111, 94, 0.22);
  padding: 0.24rem 0.5rem;
  background: rgba(255, 250, 241, 0.94);
  color: #243d34;
  box-shadow: 0 0.45rem 1rem rgba(72, 48, 33, 0.16);
  font-size: 0.7rem;
  font-weight: 900;
}

.featured-listing-body {
  display: grid;
  gap: 0.34rem;
  padding: 0.52rem;
  min-width: 0;
}

.featured-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.featured-card-top span {
  border-radius: 999px;
  padding: 0.22rem 0.46rem;
  background: rgba(47, 111, 94, 0.1);
  color: #234f43;
  font-size: 0.68rem;
  font-weight: 950;
}

.featured-listing-card.is-urgent .featured-card-top span {
  background: rgba(198, 75, 85, 0.12);
  color: #9f2632;
}

.featured-listing-card.is-found .featured-card-top span {
  background: rgba(39, 135, 164, 0.12);
  color: #1f667a;
}

.featured-card-top small {
  color: #604538;
  font-size: 0.72rem;
  font-weight: 950;
  white-space: nowrap;
}

.featured-listing-body h3 {
  margin: 0;
  color: #243d34;
  font-size: 1.05rem;
  line-height: 1.08;
}

.featured-listing-body p {
  margin: 0;
  color: #3f3027;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.26;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-listing-body dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  margin: 0;
}

.featured-listing-body dl div {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.25rem;
  align-items: center;
  border: 1px solid rgba(72, 48, 33, 0.1);
  border-radius: 0.44rem;
  padding: 0.18rem 0.28rem;
  background: rgba(255, 255, 255, 0.55);
}

.featured-listing-body dt {
  color: #5f473b;
  font-size: 0.66rem;
  font-weight: 950;
}

.featured-listing-body dd {
  margin: 0;
  overflow: hidden;
  color: #1f372f;
  font-size: 0.72rem;
  font-weight: 920;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-listing-body > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.95rem;
  border-radius: 0.62rem;
  background: var(--green);
  color: #fffaf1;
  font-size: 0.82rem;
  font-weight: 950;
}

.featured-empty {
  border: 1px solid rgba(198, 75, 85, 0.2);
  border-radius: 0.9rem;
  padding: 0.85rem;
  background: rgba(198, 75, 85, 0.08);
  color: #7a2b32;
  font-weight: 900;
}

.featured-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.featured-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.home-safety-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #2f6f5e;
  color: #fffaf1;
  box-shadow: var(--shadow);
}

.home-safety-simple h2 {
  max-width: 16ch;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
}

.home-safety-simple p,
.home-safety-simple .eyebrow {
  color: rgba(255, 250, 241, 0.82);
}

.home-safety-simple .primary-button {
  background: #fffaf1;
  color: var(--green);
  box-shadow: none;
}

.compact-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.compact-header .simple-nav {
  grid-column: auto;
  grid-row: auto;
}

.help-page {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.8rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.help-hero,
.help-workspace,
.location-security {
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin-inline: auto;
}

.help-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0 0;
}

.help-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.4rem, min(4.6vw, 6.5vh), 4.8rem);
  line-height: 1.02;
}

.help-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.help-map-preview {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 72% 28%, rgba(200, 105, 63, 0.28), transparent 10rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(158, 188, 145, 0.36));
  box-shadow: var(--shadow);
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(72, 48, 33, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(72, 48, 33, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 92%);
}

.map-alert-card,
.map-task-card {
  position: absolute;
  z-index: 1;
  width: min(19rem, calc(100% - 2rem));
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 250, 241, 0.9);
  box-shadow: 0 18px 38px rgba(72, 48, 33, 0.16);
}

.map-alert-card {
  top: 1.25rem;
  left: 1.25rem;
}

.map-task-card {
  right: 1.25rem;
  bottom: 1.25rem;
}

.map-alert-card span,
.map-task-card span {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-alert-card strong,
.map-task-card strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.2rem;
}

.map-alert-card p,
.map-task-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.safe-radius {
  position: absolute;
  left: 42%;
  top: 42%;
  width: 9rem;
  height: 9rem;
  border: 2px solid rgba(47, 111, 94, 0.35);
  border-radius: 999px;
  background: rgba(47, 111, 94, 0.1);
  box-shadow: 0 0 0 2rem rgba(47, 111, 94, 0.06);
}

.help-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin-inline: auto;
}

.help-flow-grid article,
.help-report-form,
.help-task-panel,
.location-security,
.upload-box,
.location-box {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--panel-strong);
  box-shadow: 0 14px 34px rgba(72, 48, 33, 0.1);
}

.help-flow-grid article {
  padding: 1rem;
}

.help-flow-grid span,
.task-timeline span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(47, 111, 94, 0.12);
  color: var(--green);
  font-weight: 900;
}

.help-flow-grid strong {
  display: block;
  font-size: 1.08rem;
}

.help-flow-grid p,
.form-heading p,
.task-timeline p,
.location-security p {
  color: var(--muted);
}

.help-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  gap: 1rem;
  align-items: start;
}

.help-report-form,
.help-task-panel,
.location-security {
  padding: clamp(1rem, 2.4vw, 1.6rem);
}

.help-report-form {
  display: grid;
  gap: 1rem;
}

.form-heading h2,
.help-task-panel h2,
.location-security h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.help-report-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  border: 0;
  padding: 0;
}

.help-report-form legend {
  grid-column: 1 / -1;
  margin-bottom: 0.35rem;
  font-weight: 900;
}

.help-report-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--text);
  font-weight: 800;
}

.help-report-form fieldset label,
.privacy-confirm label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.52);
}

.help-policy-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  border: 1px solid rgba(47, 111, 94, 0.18);
  border-radius: 0.9rem;
  padding: 0.85rem 0.95rem;
  background: linear-gradient(135deg, rgba(47, 111, 94, 0.1), rgba(216, 155, 61, 0.12));
  color: var(--text);
}

.help-policy-note strong {
  flex: 0 0 auto;
  color: var(--green);
}

.help-policy-note span {
  color: var(--muted);
}

.help-submit-status {
  min-height: 1.4rem;
  margin: -0.35rem 0 0;
  color: var(--green);
  font-weight: 800;
}

.help-submit-status.is-warning {
  color: #b75f16;
}

.form-grid,
.upload-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.help-report-form input,
.help-report-form select,
.help-report-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.78rem 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
}

.help-report-form textarea {
  resize: vertical;
}

.upload-box,
.location-box {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
}

.upload-box p,
.location-box p {
  margin-bottom: 0;
  color: var(--muted);
}

.task-timeline {
  display: grid;
  gap: 0.8rem;
}

.task-timeline article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
}

.task-timeline article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.location-security {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: 1rem;
  align-items: center;
  background: #2f6f5e;
  color: #fffaf1;
}

.location-security p,
.location-security .eyebrow {
  color: rgba(255, 250, 241, 0.82);
}

.access-table {
  display: grid;
  gap: 0.65rem;
}

.access-table div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 0.85rem;
  padding: 0.8rem;
  background: rgba(255, 250, 241, 0.08);
}

.access-table span {
  color: rgba(255, 250, 241, 0.78);
  text-align: right;
}

.location-security.access-level-section,
.access-level-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 8% 10%, rgba(216, 155, 61, 0.24), transparent 12rem),
    radial-gradient(circle at 92% 0%, rgba(232, 137, 97, 0.18), transparent 13rem),
    linear-gradient(135deg, #2f6f5e 0%, #167c80 56%, #483021 100%);
  color: #fffaf1;
  box-shadow: 0 22px 58px rgba(72, 48, 33, 0.18);
}

.access-level-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  margin-top: 1.1rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
}

.access-level-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 250, 241, 0.13), transparent 34%),
    linear-gradient(0deg, rgba(255, 250, 241, 0.06), transparent 62%);
  pointer-events: none;
}

.access-level-copy,
.access-badge-grid {
  position: relative;
  z-index: 1;
}

.access-level-copy {
  display: grid;
  align-content: center;
  gap: 0.5rem;
}

.access-level-copy h2 {
  margin: 0;
}

.access-level-copy p,
.access-badge-body p {
  margin: 0;
  color: rgba(255, 250, 241, 0.82);
}

.access-badge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.78rem;
  perspective: 1100px;
}

.access-badge-card {
  --badge: var(--green);
  --badge-soft: var(--sage);
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.78rem;
  min-height: 5.9rem;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: 1rem;
  padding: 0.82rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.18), rgba(255, 250, 241, 0.06)),
    linear-gradient(135deg, color-mix(in srgb, var(--badge) 82%, #2d231e), color-mix(in srgb, var(--badge-soft) 74%, #2d231e));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 16px 34px rgba(31, 22, 18, 0.18);
  transform: rotateX(0deg) rotateY(0deg) translateY(0);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.access-badge-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -24%;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.15);
  pointer-events: none;
}

.access-badge-card:hover {
  filter: saturate(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 22px 46px rgba(31, 22, 18, 0.24);
  transform: rotateX(3deg) rotateY(-4deg) translateY(-0.18rem);
}

.access-badge-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.15rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 250, 241, 0.42);
  border-radius: 0.95rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(255, 250, 241, 0.08)),
    color-mix(in srgb, var(--badge) 82%, #fffaf1);
  color: #fffaf1;
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 14px 24px rgba(31, 22, 18, 0.22);
  transform: translateZ(22px);
}

.access-badge-body {
  position: relative;
  z-index: 1;
  min-width: 0;
  transform: translateZ(18px);
}

.access-badge-body strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.2;
}

.access-badge-body p {
  margin-top: 0.18rem;
  font-size: 0.86rem;
}

.access-level-tag {
  position: relative;
  z-index: 1;
  justify-self: end;
  max-width: 12rem;
  border: 1px solid rgba(255, 250, 241, 0.26);
  border-radius: 999px;
  padding: 0.42rem 0.6rem;
  background: rgba(255, 250, 241, 0.13);
  color: #fffaf1;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: right;
  transform: translateZ(20px);
}

.access-badge-card.guest {
  --badge: #d99b3d;
  --badge-soft: #e88961;
}

.access-badge-card.member {
  --badge: #2f6f5e;
  --badge-soft: #9ebc91;
}

.access-badge-card.volunteer {
  --badge: #167c80;
  --badge-soft: #4fa4a4;
}

.access-badge-card.moderator {
  --badge: #c8693f;
  --badge-soft: #8a4a9e;
}

.portal-hero {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr) 18rem;
  gap: 1.25rem;
  padding: 1.5rem clamp(1rem, 4vw, 3.5rem) 2rem;
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.86), rgba(247, 239, 227, 0.72)),
    radial-gradient(circle at 50% 0%, rgba(216, 155, 61, 0.18), transparent 30rem);
}

.shop-sidebar,
.portal-main,
.portal-action-panel {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.shop-sidebar {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  overflow: hidden;
}

.sidebar-title {
  padding: 1rem;
  background: #2f6f5e;
  color: #fffaf1;
}

.sidebar-title span {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0.8;
  text-transform: uppercase;
}

.sidebar-title strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.1rem;
}

.shop-sidebar a {
  display: grid;
  gap: 0.15rem;
  padding: 0.86rem 1rem;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, color 160ms ease, padding 160ms ease;
}

.shop-sidebar a:last-child {
  border-bottom: 0;
}

.shop-sidebar a:hover {
  padding-left: 1.18rem;
  background: rgba(47, 111, 94, 0.08);
  color: var(--green);
}

.shop-sidebar span {
  font-weight: 850;
}

.shop-sidebar small {
  color: var(--muted);
  font-size: 0.78rem;
}

.portal-main {
  min-height: 34rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(247, 223, 199, 0.82)),
    linear-gradient(90deg, rgba(72, 48, 33, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(72, 48, 33, 0.045) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.portal-main h1 {
  max-width: 17ch;
  font-size: clamp(2.65rem, 5.4vw, 5.4rem);
}

.portal-main .hero-text {
  max-width: 55rem;
}

.portal-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.portal-promo-grid article {
  min-height: 11rem;
  border: 1px solid rgba(72, 48, 33, 0.14);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.54);
}

.portal-promo-grid span {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.75rem;
  place-items: center;
  border-radius: 999px;
  background: #c8693f;
  color: #fffaf1;
  font-weight: 900;
}

.portal-promo-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.portal-promo-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.portal-action-panel {
  align-self: start;
  padding: 0.9rem;
}

.action-card,
.action-link {
  display: grid;
  gap: 0.35rem;
  border-radius: 1rem;
  padding: 1rem;
}

.action-card.highlight {
  margin-bottom: 0.75rem;
  background: #2f6f5e;
  color: #fffaf1;
}

.action-card span {
  font-size: 0.78rem;
  font-weight: 850;
  opacity: 0.8;
  text-transform: uppercase;
}

.action-card p {
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.82);
  font-size: 0.92rem;
}

.action-link {
  border: 1px solid var(--line);
  margin-top: 0.65rem;
  background: rgba(255, 255, 255, 0.48);
}

.action-link:hover {
  background: rgba(216, 155, 61, 0.14);
}

.action-link span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  overflow: hidden;
  min-height: calc(100vh - 5rem);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3.5rem) 3rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  z-index: 0;
  border: 1px solid rgba(72, 48, 33, 0.1);
  border-radius: 2rem;
  background:
    linear-gradient(90deg, rgba(72, 48, 33, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(72, 48, 33, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.hero-text,
.section-heading p,
.safety-copy p,
.market-teaser p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 44rem;
  margin-bottom: 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.text-link {
  color: var(--muted);
  font-weight: 750;
}

.hero-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.55rem;
}

.hero-rules span,
.tag-row span,
.market-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--muted);
  padding: 0.45rem 0.72rem;
  font-size: 0.85rem;
}

.hero-visual {
  min-height: 34rem;
}

.floating-card,
.trust-strip article,
.category-card,
.category-row,
.listing-card,
.safety-grid article,
.dashboard-shell,
.market-teaser {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.floating-card {
  position: absolute;
  border-radius: 1.15rem;
  padding: 1rem;
}

.main-animal {
  top: 10%;
  left: 7%;
  width: min(22rem, 78vw);
  transform: rotate(-3deg);
}

.animal-photo,
.listing-image {
  border-radius: 0.9rem;
  background:
    linear-gradient(135deg, rgba(200, 105, 63, 0.22), rgba(47, 111, 94, 0.16)),
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), transparent 2rem),
    #161c30;
}

.animal-photo {
  height: 12rem;
  margin-bottom: 1rem;
}

.animal-photo-one {
  background:
    radial-gradient(circle at 48% 38%, #f5f0de 0 1.4rem, transparent 1.48rem),
    radial-gradient(circle at 38% 53%, #24202a 0 1.05rem, transparent 1.12rem),
    radial-gradient(circle at 59% 53%, #24202a 0 1.05rem, transparent 1.12rem),
    linear-gradient(135deg, #d99b3d, #2f6f5e 58%, #e88961);
}

.process-card {
  right: 2%;
  top: 4%;
  width: 17rem;
}

.process-card ol {
  margin: 0.7rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.mini-label {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.privacy-card {
  right: 8%;
  bottom: 11%;
  width: min(21rem, 82vw);
}

.shield {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.65rem;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(47, 111, 94, 0.12);
  color: var(--green);
}

.paw-trail {
  position: absolute;
  left: 26%;
  bottom: 17%;
  display: flex;
  gap: 1rem;
  color: rgba(200, 105, 63, 0.55);
  font-size: 2.5rem;
  transform: rotate(-18deg);
  animation: floatTrail 4s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.7;
}

.hero-glow-one {
  width: 22rem;
  height: 22rem;
  right: 18%;
  top: 16%;
  background: rgba(47, 111, 94, 0.14);
}

.hero-glow-two {
  width: 18rem;
  height: 18rem;
  right: 2%;
  bottom: 9%;
  background: rgba(200, 105, 63, 0.14);
}

.status-pill {
  display: inline-flex;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 850;
}

.urgent {
  background: rgba(198, 75, 85, 0.12);
  color: #9d3340;
}

.normal {
  background: rgba(47, 111, 94, 0.12);
  color: var(--green);
}

.review {
  background: rgba(217, 155, 61, 0.16);
  color: var(--amber);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 3.5rem) 3rem;
}

.trust-strip article {
  border-radius: 1.2rem;
  padding: 1.1rem;
}

.trust-strip span {
  display: block;
  margin-top: 0.4rem;
  color: var(--soft);
  font-size: 0.92rem;
}

.commerce-map {
  background: rgba(255, 255, 255, 0.28);
}

.commerce-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.commerce-columns article {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.15rem;
  background: var(--panel-strong);
  box-shadow: 0 16px 36px rgba(72, 48, 33, 0.1);
}

.commerce-columns h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.commerce-columns h3::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--rust);
}

.commerce-columns ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.commerce-columns li {
  border-top: 1px solid rgba(72, 48, 33, 0.1);
  padding-top: 0.45rem;
  color: var(--muted);
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 3.5rem);
}

.page-shell {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  gap: 1.25rem;
  min-height: calc(100vh - 5rem);
  padding: 1.5rem clamp(1rem, 4vw, 3.5rem) 3rem;
}

.page-sidebar,
.page-content {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.page-sidebar {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  display: grid;
  gap: 0.2rem;
  overflow: hidden;
}

.page-sidebar strong {
  display: block;
  padding: 1rem;
  background: var(--green);
  color: #fffaf1;
}

.page-sidebar a,
.page-sidebar span {
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 1rem;
  color: var(--muted);
  font-weight: 750;
}

.page-sidebar a:hover {
  background: rgba(47, 111, 94, 0.08);
  color: var(--green);
}

.page-content {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.page-content h1 {
  max-width: 15ch;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.adoption-page-shell {
  grid-template-columns: 13rem minmax(0, 1fr);
}

.adoption-page-content {
  display: grid;
  gap: 0.85rem;
  padding: clamp(0.85rem, 2vw, 1.25rem);
}

.adoption-sidebar a.is-active {
  background: rgba(47, 111, 94, 0.1);
  color: #243d34;
  font-weight: 950;
}

.adoption-directory-line {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(47, 111, 94, 0.6);
  border-radius: 1rem;
  padding: clamp(0.72rem, 1.8vw, 0.95rem);
  background:
    radial-gradient(circle at 6% 12%, rgba(47, 111, 94, 0.12), transparent 15rem),
    radial-gradient(circle at 94% 0%, rgba(217, 121, 50, 0.12), transparent 16rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(242, 231, 211, 0.94));
  box-shadow:
    0 0 0 0.16rem rgba(47, 111, 94, 0.06),
    0 14px 34px rgba(72, 48, 33, 0.1);
}

.adoption-directory-line::before,
.adoption-directory-line::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(2.45rem, 5vw, 4rem);
  height: clamp(2.45rem, 5vw, 4rem);
  pointer-events: none;
}

.adoption-directory-line::before {
  top: 0.5rem;
  left: 0.5rem;
  border-top: 4px solid rgba(47, 111, 94, 0.84);
  border-left: 4px solid rgba(47, 111, 94, 0.84);
  border-radius: 0.9rem 0 0 0;
}

.adoption-directory-line::after {
  right: 0.5rem;
  bottom: 0.5rem;
  border-right: 4px solid rgba(47, 111, 94, 0.84);
  border-bottom: 4px solid rgba(47, 111, 94, 0.84);
  border-radius: 0 0 0.9rem 0;
}

.adoption-directory-line > * {
  position: relative;
  z-index: 1;
}

.adoption-directory-head,
.adoption-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
}

.adoption-directory-head h1 {
  max-width: 24ch;
  margin-bottom: 0;
  color: #243d34;
  font-size: clamp(1.45rem, 3.2vw, 2.3rem);
  line-height: 1.08;
}

.adoption-directory-head > p {
  max-width: 38rem;
  margin-bottom: 0;
  color: #5a3d33;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.34;
}

.adoption-type-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
  margin-top: 0.72rem;
}

.adoption-type-card {
  --adoption-color: #2f6f5e;
  position: relative;
  display: grid;
  grid-template-columns: 2.15rem 3.5rem minmax(6.5rem, 0.38fr) minmax(0, 1fr);
  gap: 0.48rem;
  align-items: center;
  min-height: 4.45rem;
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--adoption-color) 38%, rgba(72, 48, 33, 0.16));
  border-radius: 0.82rem;
  padding: 0.42rem 0.55rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.96), transparent 6.4rem),
    linear-gradient(145deg, color-mix(in srgb, var(--adoption-color) 12%, #fffaf1), rgba(255, 250, 241, 0.96));
  box-shadow:
    0 8px 18px rgba(72, 48, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  color: #243d34;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.adoption-type-card:hover,
.adoption-type-card:focus-visible,
.adoption-type-card.is-active {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--adoption-color) 82%, #243d34);
  background:
    radial-gradient(circle at 18% 50%, color-mix(in srgb, var(--adoption-color) 18%, #fff), transparent 6.2rem),
    linear-gradient(145deg, color-mix(in srgb, var(--adoption-color) 18%, #fffaf1), rgba(255, 250, 241, 0.98));
  box-shadow:
    0 15px 28px rgba(72, 48, 33, 0.14),
    0 0 0 0.18rem color-mix(in srgb, var(--adoption-color) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.adoption-type-card img {
  width: 3.5rem;
  height: 3.25rem;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 0.5rem 0.45rem rgba(72, 48, 33, 0.18));
}

.adoption-card-index {
  width: 2.05rem;
  border-radius: 999px;
  padding: 0.18rem 0.38rem;
  background: var(--adoption-color);
  color: #fffaf1;
  font-size: 0.66rem;
  font-weight: 950;
  text-align: center;
}

.adoption-type-card strong {
  font-size: 1rem;
  line-height: 1.08;
}

.adoption-type-card small {
  color: #604538;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.24;
}

.adoption-results-section {
  display: grid;
  gap: 0.72rem;
  scroll-margin-top: 7rem;
}

.adoption-results-head h2 {
  margin-bottom: 0;
  color: #243d34;
}

.adoption-selected-badge {
  border: 1px solid rgba(47, 111, 94, 0.28);
  border-radius: 999px;
  padding: 0.52rem 0.8rem;
  background: rgba(47, 111, 94, 0.1);
  color: #243d34;
  font-weight: 950;
  white-space: nowrap;
}

.filter-bar a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--text);
  font-weight: 850;
  padding: 0.5rem 0.68rem;
}

.filter-bar a:hover,
.filter-bar a:focus-visible,
.filter-bar a.is-active {
  border-color: rgba(47, 111, 94, 0.34);
  background: rgba(47, 111, 94, 0.1);
  color: #243d34;
}

.adoption-listing-card[hidden] {
  display: none;
}

.listing-grid.adoption-listing-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 0.7rem;
}

.adoption-listing-card {
  display: grid;
  grid-template-columns: minmax(6.8rem, 7.6rem) minmax(0, 1fr);
  align-self: start;
  border: 2px solid rgba(72, 48, 33, 0.16);
  border-radius: 0.95rem;
}

.adoption-listing-card .listing-image {
  align-self: start;
  height: 8.8rem;
  min-height: 0;
  border-radius: 0.75rem 0 0 0.75rem;
}

.adoption-listing-card .listing-content {
  padding: 0.78rem;
}

.adoption-listing-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.adoption-listing-card p {
  margin-bottom: 0;
  color: #4a352d;
  font-size: 0.9rem;
  font-weight: 850;
}

.adoption-listing-card .tag-row {
  gap: 0.35rem;
  margin: 0.45rem 0;
}

.adoption-listing-card .tag-row span {
  font-size: 0.68rem;
  font-weight: 900;
}

.adoption-listing-card .card-button {
  min-height: 2.1rem;
  padding: 0.46rem 0.6rem;
  font-size: 0.82rem;
}

.adoption-listing-photo {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.74), transparent 5rem),
    linear-gradient(135deg, rgba(47, 111, 94, 0.17), rgba(217, 121, 50, 0.16)),
    #fffaf1;
}

.adoption-listing-photo img {
  width: min(70%, 7rem);
  height: 7rem;
  object-fit: contain;
  filter: drop-shadow(0 0.65rem 0.6rem rgba(72, 48, 33, 0.2));
}

.adoption-empty-state {
  border: 1px dashed rgba(47, 111, 94, 0.36);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(47, 111, 94, 0.08);
  color: #243d34;
  font-weight: 850;
}

.marketplace-page {
  --market-rgb: 47, 111, 94;
  --market-accent-rgb: 217, 121, 50;
  display: grid;
  gap: clamp(0.75rem, 1.8vw, 1rem);
  width: min(76rem, calc(100% - clamp(1rem, 4vw, 3rem)));
  margin: 0.8rem auto 2.4rem;
}

.dog-marketplace {
  --market-rgb: 185, 94, 44;
  --market-accent-rgb: 47, 111, 94;
}

.bird-marketplace {
  --market-rgb: 39, 135, 164;
  --market-accent-rgb: 217, 155, 61;
}

.rodent-marketplace {
  --market-rgb: 133, 94, 53;
  --market-accent-rgb: 217, 121, 50;
}

.reptile-marketplace {
  --market-rgb: 106, 94, 168;
  --market-accent-rgb: 47, 111, 94;
}

.aquarium-marketplace {
  --market-rgb: 24, 124, 152;
  --market-accent-rgb: 47, 111, 94;
}

.marketplace-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 16rem);
  gap: 0.85rem;
  align-items: center;
  border: 2px solid rgba(var(--market-rgb), 0.64);
  border-radius: 1rem;
  padding: clamp(0.75rem, 2vw, 1rem);
  background:
    radial-gradient(circle at 7% 10%, rgba(var(--market-accent-rgb), 0.18), transparent 15rem),
    radial-gradient(circle at 92% 0%, rgba(var(--market-rgb), 0.12), transparent 16rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(242, 231, 211, 0.94));
  box-shadow:
    0 0 0 0.16rem rgba(var(--market-rgb), 0.07),
    0 14px 34px rgba(72, 48, 33, 0.1);
}

.marketplace-hero h1 {
  max-width: 30ch;
  color: #243d34;
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  line-height: 1.08;
}

.marketplace-hero p {
  max-width: 58rem;
  color: #5a3d33;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.34;
}

.marketplace-hero-card {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: 0.45rem 0.62rem;
  align-items: center;
  border: 2px solid rgba(var(--market-rgb), 0.22);
  border-radius: 0.9rem;
  padding: 0.62rem;
  background: rgba(255, 250, 241, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 34px rgba(72, 48, 33, 0.13);
}

.marketplace-hero-card img {
  grid-row: span 3;
  width: 4.4rem;
  height: 4.4rem;
  object-fit: contain;
  filter: drop-shadow(0 0.55rem 0.5rem rgba(72, 48, 33, 0.2));
}

.marketplace-hero-card strong {
  color: #243d34;
  font-size: 0.98rem;
}

.marketplace-hero-card span {
  color: #604538;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.24;
}

.marketplace-hero-card .primary-button {
  min-height: 2.1rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
}

.marketplace-layout {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.marketplace-filter-panel,
.marketplace-results {
  border: 2px solid rgba(var(--market-rgb), 0.2);
  border-radius: 1.2rem;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.marketplace-filter-panel {
  position: sticky;
  top: 5.5rem;
  display: grid;
  overflow: hidden;
  border-radius: 0.95rem;
}

.marketplace-filter-panel strong {
  padding: 0.72rem 0.85rem;
  background: linear-gradient(135deg, rgb(var(--market-rgb)), rgb(var(--market-accent-rgb)));
  color: #fffaf1;
}

.marketplace-filter-panel a {
  border-bottom: 1px solid rgba(72, 48, 33, 0.16);
  padding: 0.54rem 0.78rem;
  color: #4f372f;
  font-size: 0.86rem;
  font-weight: 880;
}

.marketplace-filter-panel a:hover,
.marketplace-filter-panel a.is-active {
  background: rgba(var(--market-rgb), 0.12);
  color: #243d34;
  box-shadow: inset 0.28rem 0 0 rgb(var(--market-rgb));
}

.marketplace-results {
  display: grid;
  gap: 0.72rem;
  border-radius: 1rem;
  padding: clamp(0.65rem, 1.6vw, 0.85rem);
}

.marketplace-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.marketplace-results-head h2 {
  margin-bottom: 0;
  color: #243d34;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
}

.marketplace-results-head > span {
  border: 1px solid rgba(var(--market-rgb), 0.3);
  border-radius: 999px;
  padding: 0.4rem 0.62rem;
  background: rgba(var(--market-rgb), 0.12);
  color: #243d34;
  font-weight: 950;
  white-space: nowrap;
}

.marketplace-card-list {
  display: grid;
  gap: 0.55rem;
}

.marketplace-listing-card {
  display: grid;
  grid-template-columns: minmax(8.4rem, 10rem) minmax(0, 1fr);
  gap: 0.65rem;
  border: 2px solid rgba(72, 48, 33, 0.2);
  border-radius: 0.95rem;
  padding: 0.52rem;
  background: rgba(255, 250, 241, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 30px rgba(72, 48, 33, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.marketplace-listing-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--market-rgb), 0.55);
  box-shadow:
    0 0 0 0.22rem rgba(var(--market-rgb), 0.08),
    0 22px 40px rgba(72, 48, 33, 0.15);
}

.marketplace-listing-card.featured {
  border-color: rgba(198, 75, 85, 0.5);
}

.marketplace-photo-stack {
  position: relative;
  display: grid;
  align-self: start;
  place-items: center;
  height: 8.8rem;
  min-height: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(var(--market-rgb), 0.24);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.82), transparent 5.8rem),
    linear-gradient(135deg, rgba(var(--market-accent-rgb), 0.24), rgba(var(--market-rgb), 0.16)),
    #fffaf1;
}

.marketplace-photo-stack.teal {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.82), transparent 5.8rem),
    linear-gradient(135deg, rgba(39, 135, 164, 0.2), rgba(47, 111, 94, 0.14)),
    #fffaf1;
}

.marketplace-photo-stack.amber {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.82), transparent 5.8rem),
    linear-gradient(135deg, rgba(217, 155, 61, 0.22), rgba(198, 75, 85, 0.12)),
    #fffaf1;
}

.marketplace-photo-stack img {
  width: min(76%, 7.5rem);
  height: 7.4rem;
  object-fit: contain;
  filter: drop-shadow(0 0.65rem 0.58rem rgba(72, 48, 33, 0.22));
}

.marketplace-photo-stack span {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  border: 1px solid rgba(var(--market-rgb), 0.22);
  border-radius: 999px;
  padding: 0.22rem 0.45rem;
  background: rgba(255, 250, 241, 0.94);
  color: #243d34;
  font-size: 0.68rem;
  font-weight: 900;
}

.marketplace-listing-body {
  display: grid;
  gap: 0.38rem;
  align-content: start;
  min-width: 0;
}

.marketplace-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.marketplace-card-top small {
  color: #5a3d33;
  font-size: 0.78rem;
  font-weight: 900;
}

.marketplace-listing-body h3 {
  margin-bottom: 0;
  color: #243d34;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.12;
}

.marketplace-listing-body p {
  margin-bottom: 0;
  color: #52372f;
  font-size: 0.86rem;
  font-weight: 880;
  line-height: 1.28;
}

.marketplace-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.36rem;
  margin: 0.1rem 0 0;
}

.marketplace-spec-grid div {
  border: 1px solid rgba(72, 48, 33, 0.2);
  border-radius: 0.55rem;
  padding: 0.36rem;
  background: rgba(255, 255, 255, 0.68);
}

.marketplace-spec-grid dt {
  color: #604538;
  font-size: 0.66rem;
  font-weight: 900;
}

.marketplace-spec-grid dd {
  margin: 0.12rem 0 0;
  color: #243d34;
  font-size: 0.76rem;
  font-weight: 950;
}

.marketplace-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.42rem;
}

.marketplace-card-actions .card-button,
.marketplace-card-actions .secondary-button {
  min-height: 2.15rem;
  padding: 0.48rem 0.62rem;
  font-size: 0.82rem;
}

.marketplace-detail-photo {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.82), transparent 8rem),
    linear-gradient(135deg, rgba(217, 121, 50, 0.24), rgba(47, 111, 94, 0.16)),
    #fffaf1;
}

.marketplace-detail-photo img {
  width: min(72%, 22rem);
  height: clamp(18rem, 34vw, 26rem);
  object-fit: contain;
  filter: drop-shadow(0 1.3rem 1.1rem rgba(72, 48, 33, 0.24));
}

.marketplace-detail-photo span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  background: rgba(31, 22, 18, 0.68);
  color: #fffaf1;
  font-size: 0.78rem;
  font-weight: 900;
}

.thumbnail-row span {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 250, 241, 0.72);
}

.thumbnail-row img {
  width: 80%;
  height: 4.6rem;
  object-fit: contain;
}

.detail-description-card {
  margin-top: 1rem;
  border: 1px solid rgba(47, 111, 94, 0.18);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 250, 241, 0.78);
}

.detail-description-card h2 {
  color: #243d34;
}

.detail-description-card p {
  color: #604538;
  font-weight: 760;
}

.detail-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.detail-mini-tags span {
  border: 1px solid rgba(47, 111, 94, 0.18);
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  background: rgba(47, 111, 94, 0.08);
  color: #243d34;
  font-size: 0.8rem;
  font-weight: 850;
}

.ad-submit-preview {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  border: 2px solid rgba(47, 111, 94, 0.38);
  border-radius: 1.2rem;
  padding: clamp(0.9rem, 2vw, 1.2rem);
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 121, 50, 0.12), transparent 14rem),
    rgba(255, 250, 241, 0.78);
  scroll-margin-top: 7rem;
}

.ad-submit-shell {
  grid-template-columns: minmax(0, 1fr);
  max-width: 72rem;
}

.ad-submit-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.ad-submit-head h2 {
  margin-bottom: 0.35rem;
  color: #243d34;
}

.ad-submit-head p {
  margin-bottom: 0;
  color: #604538;
  font-weight: 760;
}

.ad-submit-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.75fr) minmax(0, 1fr);
  gap: 1rem;
}

.ad-photo-uploader,
.ad-form-preview {
  border: 1px solid rgba(72, 48, 33, 0.13);
  border-radius: 1rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.54);
}

.ad-photo-uploader {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.ad-photo-uploader strong {
  color: #243d34;
  font-size: 1.05rem;
}

.ad-photo-uploader span {
  color: var(--muted);
  font-weight: 850;
}

.ad-photo-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.ad-photo-slots i {
  display: grid;
  min-height: 7.5rem;
  place-items: center;
  border: 1px dashed rgba(47, 111, 94, 0.34);
  border-radius: 0.85rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.82), transparent 4.5rem),
    rgba(47, 111, 94, 0.07);
}

.ad-photo-slots i:first-child {
  grid-column: 1 / -1;
  min-height: 12rem;
  border-style: solid;
}

.ad-photo-slots img {
  width: min(70%, 10rem);
  height: 10rem;
  object-fit: contain;
  filter: drop-shadow(0 1rem 0.85rem rgba(72, 48, 33, 0.22));
}

.ad-form-preview {
  display: grid;
  gap: 0.75rem;
}

.ad-form-preview label {
  display: grid;
  gap: 0.3rem;
  color: #604538;
  font-weight: 850;
}

.ad-form-preview input,
.ad-form-preview textarea {
  width: 100%;
  border: 1px solid rgba(72, 48, 33, 0.15);
  border-radius: 0.78rem;
  padding: 0.72rem 0.82rem;
  background: rgba(255, 250, 241, 0.86);
  color: #243d34;
  font: inherit;
  font-weight: 760;
}

.contact-page-shell {
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 1rem;
}

.contact-page-content {
  padding: clamp(1rem, 2.2vw, 1.45rem);
}

.contact-page-content h1 {
  max-width: 20ch;
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 3.35vw, 3.35rem);
  line-height: 1.02;
}

.contact-page-content .hero-text {
  max-width: 50rem;
  margin-bottom: 1rem;
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
}

.contact-command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.85rem 0 1rem;
}

.contact-command-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem 0.65rem;
  min-height: 4.85rem;
  border: 1px solid rgba(72, 48, 33, 0.13);
  border-radius: 0.78rem;
  padding: 0.76rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 236, 0.62));
  box-shadow: 0 10px 24px rgba(72, 48, 33, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-command-card:hover,
.contact-command-card:focus-visible {
  border-color: rgba(47, 111, 94, 0.34);
  box-shadow: 0 16px 30px rgba(72, 48, 33, 0.12);
  transform: translateY(-0.15rem);
}

.contact-command-card span {
  grid-row: span 2;
  width: max-content;
  border-radius: 999px;
  padding: 0.23rem 0.48rem;
  background: rgba(47, 111, 94, 0.1);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 900;
}

.contact-command-card strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.18;
}

.contact-command-card small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.contact-command-card.primary-contact {
  background:
    linear-gradient(145deg, rgba(47, 111, 94, 0.95), rgba(22, 124, 128, 0.9));
  color: #fffaf1;
}

.contact-command-card.primary-contact span {
  background: rgba(255, 250, 241, 0.16);
  color: #fffaf1;
}

.contact-command-card.primary-contact strong,
.contact-command-card.primary-contact small {
  color: #fffaf1;
}

.contact-chat-section {
  display: grid;
  grid-template-columns: minmax(12.5rem, 0.52fr) minmax(0, 1.48fr);
  gap: 0;
  align-items: stretch;
  margin: 1rem 0;
  border: 1px solid rgba(72, 48, 33, 0.13);
  border-radius: 0.95rem;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(255, 248, 236, 0.78));
  box-shadow: 0 12px 30px rgba(72, 48, 33, 0.08);
  overflow: hidden;
}

.contact-chat-copy {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  border-right: 1px solid var(--line);
  padding: 0.85rem;
}

.contact-chat-copy h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.contact-chat-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.support-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.support-status-row span {
  border: 1px solid rgba(47, 111, 94, 0.12);
  border-radius: 999px;
  padding: 0.32rem 0.48rem;
  background: rgba(47, 111, 94, 0.06);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
}

.chat-quick-actions button,
.chat-form button {
  border: 1px solid rgba(47, 111, 94, 0.18);
  border-radius: 999px;
  background: rgba(47, 111, 94, 0.08);
  color: var(--green);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0.43rem 0.62rem;
}

.contact-chat-widget {
  display: grid;
  grid-template-rows: auto minmax(8.5rem, 1fr) auto auto;
  min-height: 18.5rem;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.chat-widget-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
  padding: 0.72rem 0.85rem;
  background: linear-gradient(135deg, rgba(47, 111, 94, 0.96), rgba(22, 124, 128, 0.92));
  color: #fffaf1;
}

.chat-widget-header strong {
  font-size: 0.94rem;
}

.chat-widget-header small {
  display: block;
  color: rgba(255, 250, 241, 0.82);
  font-size: 0.75rem;
}

.chat-status-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: #75e3a1;
  box-shadow: 0 0 0 0.24rem rgba(117, 227, 161, 0.18);
}

.chat-log {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  overflow: auto;
  padding: 0.75rem;
}

.chat-message {
  display: flex;
}

.chat-message span {
  max-width: min(30rem, 88%);
  border-radius: 0.8rem;
  padding: 0.58rem 0.72rem;
  font-size: 0.88rem;
  line-height: 1.42;
  box-shadow: 0 8px 18px rgba(72, 48, 33, 0.06);
}

.chat-message.bot span {
  border: 1px solid rgba(47, 111, 94, 0.14);
  border-top-left-radius: 0.35rem;
  background: rgba(47, 111, 94, 0.08);
  color: var(--text);
}

.chat-message.bot {
  display: grid;
  justify-items: start;
}

.chat-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-width: min(30rem, 88%);
  margin-top: 0.32rem;
}

.chat-action-links a {
  border: 1px solid rgba(47, 111, 94, 0.22);
  border-radius: 999px;
  padding: 0.38rem 0.55rem;
  background: rgba(255, 250, 241, 0.94);
  color: #234f43;
  font-size: 0.76rem;
  font-weight: 950;
  box-shadow: 0 0.45rem 0.9rem rgba(72, 48, 33, 0.07);
}

.chat-action-links a:hover,
.chat-action-links a:focus-visible {
  background: rgba(47, 111, 94, 0.12);
  color: #173d33;
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-message.user span {
  border-top-right-radius: 0.35rem;
  background: linear-gradient(135deg, #2f6f5e, #167c80);
  color: #fffaf1;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  padding: 0.65rem;
}

.chat-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.chat-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.58rem 0.78rem;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}

.chat-form button {
  background: var(--green);
  color: #fffaf1;
}

.chat-mail-link {
  margin: 0 0.65rem 0.65rem;
  border: 1px solid rgba(200, 105, 63, 0.22);
  border-radius: 999px;
  padding: 0.52rem 0.75rem;
  background: rgba(200, 105, 63, 0.08);
  color: var(--rust);
  font-size: 0.86rem;
  text-align: center;
  font-weight: 900;
}

.contact-page-content .compact-social-fx {
  gap: 1rem;
  margin-top: 1rem;
  border-radius: 0.95rem;
  padding: 0.9rem;
}

.contact-page-content .compact-social-fx .social-fx-copy h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.contact-page-content .compact-social-fx .social-fx-copy p {
  font-size: 0.9rem;
}

.contact-page-content .compact-social-fx .social-fx-stage {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.contact-page-content .compact-social-fx .social-fx-card {
  grid-column: span 1;
  min-height: 5.9rem;
  border-radius: 0.8rem;
  padding: 0.62rem;
}

.contact-page-content .compact-social-fx .social-fx-icon {
  width: clamp(2.25rem, 4vw, 2.75rem);
  border-radius: 0.88rem;
}

.contact-page-content .compact-social-fx .social-fx-card strong {
  font-size: 0.95rem;
}

.contact-page-content .compact-social-fx .social-fx-card small {
  display: none;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: clamp(1rem, 3vw, 1.75rem);
  width: min(68rem, calc(100% - 2rem));
  min-height: calc(100vh - 5rem);
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 3.25rem) 0;
  align-items: start;
}

.auth-shell.narrow {
  grid-template-columns: minmax(0, 40rem);
  justify-content: center;
}

.auth-panel,
.auth-trust-panel {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.auth-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.auth-panel h1 {
  max-width: 13ch;
  font-size: clamp(2.05rem, 4.8vw, 4.25rem);
  line-height: 1.03;
}

.auth-form {
  display: grid;
  gap: 0.85rem;
}

.auth-form label,
.auth-consent-box label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-weight: 800;
}

.auth-form input,
.auth-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font: inherit;
  padding: 0.78rem 0.85rem;
}

.auth-consent-box {
  display: grid;
  gap: 0.55rem;
  border: 1px solid rgba(47, 111, 94, 0.18);
  border-radius: 0.95rem;
  padding: 0.85rem;
  background: rgba(47, 111, 94, 0.06);
}

.auth-consent-box label {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-size: 0.92rem;
}

.auth-status {
  min-height: 1.25rem;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.auth-status[data-state="warning"] {
  color: #8d4d18;
}

.auth-status[data-state="info"] {
  color: var(--green);
}

.auth-status[data-state="success"] {
  color: #2f6f5e;
}

.panel-auth-status {
  max-width: 44rem;
  margin-inline: auto;
}

.panel-session-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  max-width: 34rem;
  margin: 0.9rem auto 0;
  border: 2px solid rgba(47, 111, 94, 0.24);
  border-radius: 1rem;
  padding: 0.78rem 0.85rem;
  background:
    linear-gradient(135deg, rgba(47, 111, 94, 0.1), rgba(255, 250, 241, 0.94)),
    rgba(255, 250, 241, 0.92);
  box-shadow: 0 14px 30px rgba(72, 48, 33, 0.1);
  text-align: left;
}

.panel-session-card[hidden] {
  display: none;
}

.panel-session-avatar {
  display: inline-grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #2f6f5e, #d99b3d);
  color: #fffaf1;
  font-size: 0.86rem;
  font-weight: 950;
}

.panel-session-card strong,
.panel-session-card small,
.panel-session-card em {
  display: block;
}

.panel-session-card strong {
  color: #203c34;
  font-size: 1rem;
}

.panel-session-card small {
  color: #665044;
  font-weight: 760;
}

.panel-session-card em {
  border: 1.5px solid rgba(47, 111, 94, 0.28);
  border-radius: 999px;
  padding: 0.36rem 0.58rem;
  background: rgba(47, 111, 94, 0.08);
  color: #2f6f5e;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  color: var(--green);
  font-weight: 850;
}

.auth-trust-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

.auth-trust-panel strong {
  font-size: 1.25rem;
}

.auth-check-list,
.auth-role-grid {
  display: grid;
  gap: 0.7rem;
}

.auth-check-list span,
.auth-role-grid span {
  border: 1px solid rgba(47, 111, 94, 0.16);
  border-radius: 0.85rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.45);
  color: var(--muted);
  font-weight: 750;
}

.cookie-consent {
  position: fixed;
  right: clamp(0.75rem, 3vw, 1.5rem);
  bottom: clamp(0.75rem, 3vw, 1.5rem);
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  width: min(42rem, calc(100% - 1.5rem));
  border: 1px solid rgba(72, 48, 33, 0.16);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 250, 241, 0.96);
  box-shadow: 0 24px 60px rgba(72, 48, 33, 0.18);
  backdrop-filter: blur(10px);
}

.cookie-consent strong {
  display: block;
  margin-bottom: 0.25rem;
}

.cookie-consent p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.cookie-consent-actions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 0.62rem 0.85rem;
}

.cookie-consent-actions button[data-consent="granted"] {
  border-color: transparent;
  background: linear-gradient(135deg, #2f6f5e, #167c80);
  color: #fffaf1;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.4rem 0 1.6rem;
}

.filter-bar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.65rem 0.9rem;
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 2rem;
}

.section-heading.compact {
  max-width: 34rem;
}

.steps-grid,
.category-grid,
.listing-grid,
.safety-grid {
  display: grid;
  gap: 1rem;
}

.steps-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.steps-grid article {
  min-height: 12rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.steps-grid span,
.category-card span {
  color: var(--rust);
  font-weight: 900;
}

.steps-grid p,
.category-card p,
.listing-card p,
.privacy-card p,
.safety-grid span {
  color: var(--muted);
}

.category-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 248, 236, 0.18)),
    radial-gradient(circle at 8% 20%, rgba(47, 111, 94, 0.08), transparent 18rem);
}

.category-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 1fr);
  gap: 2rem;
  align-items: end;
  max-width: none;
  margin-bottom: 2.25rem;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
  min-height: 15rem;
  border-radius: 1.35rem;
  padding: 1.25rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.category-list {
  display: grid;
  gap: 0.85rem;
}

.category-row {
  display: grid;
  grid-template-columns: 3.5rem 3.25rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border-radius: 1.1rem;
  padding: 1rem;
  background:
    linear-gradient(90deg, rgba(255, 248, 236, 0.96), rgba(255, 255, 255, 0.72)),
    var(--panel);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.category-row:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 111, 94, 0.34);
  box-shadow: 0 18px 42px rgba(72, 48, 33, 0.14);
}

.category-index {
  color: var(--rust);
  font-weight: 950;
  font-size: 1.05rem;
}

.category-icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: 0.9rem;
  background: #2f6f5e;
  color: #fffaf1;
  font-weight: 900;
}

.category-row h3,
.category-row p {
  margin-bottom: 0;
}

.category-row a,
.category-row > span:last-child {
  border: 1px solid rgba(47, 111, 94, 0.22);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: rgba(47, 111, 94, 0.08);
  color: var(--green);
  font-weight: 850;
  white-space: nowrap;
}

.lost-found-shell {
  grid-template-columns: 15rem minmax(0, 1fr);
  align-items: start;
  max-width: 74rem;
  margin-inline: auto;
}

.lost-found-sidebar {
  border: 2px solid rgba(198, 75, 85, 0.42);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.98), rgba(198, 75, 85, 0.1)),
    rgba(255, 250, 241, 0.9);
  box-shadow:
    0 0 0 0.2rem rgba(198, 75, 85, 0.06),
    0 16px 34px rgba(72, 48, 33, 0.12);
}

.lost-found-sidebar strong {
  padding: 0.88rem 0.95rem;
  background:
    linear-gradient(135deg, #c64b55, #c8693f 54%, #2f6f5e);
  color: #fffaf1;
  font-size: 0.98rem;
}

.lost-found-sidebar a {
  display: grid;
  gap: 0.12rem;
  margin: 0.2rem 0.34rem;
  border: 1.8px solid transparent;
  border-bottom-color: rgba(198, 75, 85, 0.16);
  border-radius: 0.78rem;
  padding: 0.64rem 0.72rem;
  color: #2d241f;
  text-decoration: none;
  font-weight: 950;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.lost-found-sidebar a small {
  color: #6a5144;
  font-size: 0.76rem;
  font-weight: 780;
}

.lost-found-sidebar a:hover,
.lost-found-sidebar a:focus-visible {
  border-color: rgba(198, 75, 85, 0.48);
  background:
    linear-gradient(135deg, rgba(198, 75, 85, 0.12), rgba(47, 111, 94, 0.07)),
    rgba(255, 250, 241, 0.94);
  color: #7f1f2a;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 0.14rem rgba(198, 75, 85, 0.08),
    0 10px 22px rgba(72, 48, 33, 0.1);
}

.lost-found-content {
  display: grid;
  gap: 0.95rem;
  border: 2px solid rgba(47, 111, 94, 0.2);
  border-radius: 1.1rem;
  padding: clamp(1rem, 2.5vw, 1.45rem);
  background:
    radial-gradient(circle at 8% 0%, rgba(47, 111, 94, 0.1), transparent 13rem),
    linear-gradient(145deg, rgba(255, 250, 241, 0.98), rgba(255, 248, 236, 0.9));
  box-shadow: 0 18px 42px rgba(72, 48, 33, 0.12);
}

.lost-found-hero {
  display: grid;
  gap: 0.44rem;
  max-width: 48rem;
}

.lost-found-hero h1 {
  max-width: 15ch;
  margin: 0;
  color: #241c19;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.02;
}

.lost-found-hero .hero-text {
  max-width: 42rem;
  margin: 0;
  color: #5e463b;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 760;
  line-height: 1.5;
}

.lost-found-actions {
  display: grid;
  gap: 0.68rem;
}

.lost-found-action {
  display: grid;
  grid-template-columns: 2.5rem 2.75rem minmax(0, 1fr) auto;
  gap: 0.72rem;
  align-items: center;
  border: 2px solid rgba(72, 48, 33, 0.13);
  border-radius: 0.95rem;
  padding: 0.76rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 241, 0.94)),
    rgba(255, 250, 241, 0.82);
  box-shadow:
    0 10px 24px rgba(72, 48, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.lost-found-action:hover {
  border-color: rgba(47, 111, 94, 0.34);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(72, 48, 33, 0.12);
}

.lost-found-action .category-index {
  color: #c8693f;
  font-size: 0.95rem;
}

.lost-found-action .category-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.82rem;
}

.lost-found-action.found .category-icon {
  background: linear-gradient(135deg, #2787a4, #2f6f5e);
}

.lost-found-action h3,
.lost-found-action p {
  margin: 0;
}

.lost-found-action h3 {
  color: #2d241f;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.lost-found-action p {
  color: #5d4539;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.38;
}

.lost-found-action a {
  border: 2px solid rgba(47, 111, 94, 0.28);
  border-radius: 999px;
  padding: 0.52rem 0.76rem;
  background: rgba(47, 111, 94, 0.1);
  color: #1f5d4e;
  font-size: 0.88rem;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.lost-found-action a:hover,
.lost-found-action a:focus-visible {
  background: rgba(47, 111, 94, 0.18);
  color: #173e34;
}

.lost-found-safety {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.58rem;
}

.lost-found-safety article {
  display: grid;
  gap: 0.2rem;
  border: 1.8px solid rgba(47, 111, 94, 0.18);
  border-radius: 0.85rem;
  padding: 0.7rem;
  background: rgba(255, 250, 241, 0.78);
}

.lost-found-safety strong {
  color: #173e34;
  font-size: 0.92rem;
}

.lost-found-safety span {
  color: #5d4539;
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.35;
}

.milk-mother-shell {
  grid-template-columns: 15.5rem minmax(0, 1fr);
  align-items: start;
  max-width: 76rem;
  margin-inline: auto;
}

.milk-mother-sidebar {
  border: 2px solid rgba(200, 105, 63, 0.42);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.98), rgba(216, 155, 61, 0.12)),
    rgba(255, 250, 241, 0.9);
  box-shadow:
    0 0 0 0.2rem rgba(216, 155, 61, 0.06),
    0 16px 34px rgba(72, 48, 33, 0.12);
}

.milk-mother-sidebar strong {
  padding: 0.88rem 0.95rem;
  background: linear-gradient(135deg, #c8693f, #d99b3d 56%, #2f6f5e);
  color: #fffaf1;
  font-size: 0.98rem;
}

.milk-mother-sidebar a {
  display: grid;
  gap: 0.12rem;
  margin: 0.2rem 0.34rem;
  border: 1.8px solid transparent;
  border-bottom-color: rgba(200, 105, 63, 0.16);
  border-radius: 0.78rem;
  padding: 0.64rem 0.72rem;
  color: #2d241f;
  text-decoration: none;
  font-weight: 950;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.milk-mother-sidebar a small {
  color: #6a5144;
  font-size: 0.76rem;
  font-weight: 780;
}

.milk-mother-sidebar a:hover,
.milk-mother-sidebar a:focus-visible {
  border-color: rgba(200, 105, 63, 0.5);
  background:
    linear-gradient(135deg, rgba(216, 155, 61, 0.16), rgba(47, 111, 94, 0.07)),
    rgba(255, 250, 241, 0.96);
  color: #8d3f22;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 0.14rem rgba(216, 155, 61, 0.08),
    0 10px 22px rgba(72, 48, 33, 0.1);
}

.milk-mother-content {
  display: grid;
  gap: 0.9rem;
  border: 2px solid rgba(200, 105, 63, 0.22);
  border-radius: 1.1rem;
  padding: clamp(1rem, 2.5vw, 1.45rem);
  background:
    radial-gradient(circle at 8% 0%, rgba(216, 155, 61, 0.12), transparent 14rem),
    linear-gradient(145deg, rgba(255, 250, 241, 0.98), rgba(255, 248, 236, 0.9));
  box-shadow: 0 18px 42px rgba(72, 48, 33, 0.12);
}

.milk-mother-hero {
  display: grid;
  gap: 0.44rem;
  max-width: 50rem;
}

.milk-mother-hero h1 {
  max-width: 15ch;
  margin: 0;
  color: #241c19;
  font-size: clamp(2rem, 4.4vw, 3.65rem);
  line-height: 1.02;
}

.milk-mother-hero .hero-text {
  max-width: 46rem;
  margin: 0;
  color: #5e463b;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 760;
  line-height: 1.5;
}

.milk-alert-card {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem 0.72rem;
  align-items: center;
  border: 2px solid rgba(198, 75, 85, 0.28);
  border-radius: 0.9rem;
  padding: 0.72rem 0.85rem;
  background:
    linear-gradient(135deg, rgba(198, 75, 85, 0.1), rgba(255, 250, 241, 0.88)),
    rgba(255, 250, 241, 0.84);
  color: #5d2a29;
}

.milk-alert-card strong {
  color: #9f2632;
  font-size: 0.92rem;
  font-weight: 950;
  text-transform: uppercase;
}

.milk-alert-card span {
  color: #4d342c;
  font-weight: 820;
}

.milk-action-grid {
  display: grid;
  gap: 0.68rem;
}

.milk-action-card {
  display: grid;
  grid-template-columns: 2.5rem 2.75rem minmax(0, 1fr) auto;
  gap: 0.72rem;
  align-items: center;
  border: 2px solid rgba(72, 48, 33, 0.13);
  border-radius: 0.95rem;
  padding: 0.76rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 241, 0.94)),
    rgba(255, 250, 241, 0.82);
  box-shadow:
    0 10px 24px rgba(72, 48, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.milk-action-card:hover,
.milk-action-card:focus-visible {
  border-color: rgba(200, 105, 63, 0.42);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(72, 48, 33, 0.12);
}

.milk-action-card.is-active {
  border-color: rgba(198, 75, 85, 0.62);
  background:
    linear-gradient(90deg, rgba(198, 75, 85, 0.1), rgba(255, 250, 241, 0.98)),
    rgba(255, 250, 241, 0.9);
  box-shadow:
    0 0 0 0.2rem rgba(198, 75, 85, 0.11),
    0 16px 34px rgba(72, 48, 33, 0.14);
}

.milk-action-card .category-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.82rem;
  background: linear-gradient(135deg, #c8693f, #d99b3d);
}

.milk-action-card.urgent .category-icon {
  background: linear-gradient(135deg, #c64b55, #c8693f);
}

.milk-action-card.warm .category-icon {
  background: linear-gradient(135deg, #d99b3d, #2f6f5e);
}

.milk-action-card h3,
.milk-action-card p {
  margin: 0;
}

.milk-action-card h3 {
  color: #2d241f;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.milk-action-card p {
  color: #5d4539;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.38;
}

.milk-card-cta {
  border: 2px solid rgba(200, 105, 63, 0.34);
  border-radius: 999px;
  padding: 0.52rem 0.76rem;
  background: rgba(216, 155, 61, 0.12);
  color: #8d3f22;
  font-size: 0.88rem;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.milk-action-card:hover .milk-card-cta,
.milk-action-card:focus-visible .milk-card-cta,
.milk-action-card.is-active .milk-card-cta {
  background: rgba(216, 155, 61, 0.2);
  color: #6f2c1c;
}

.milk-report-panel {
  display: grid;
  gap: 0.75rem;
  border: 2px solid rgba(47, 111, 94, 0.22);
  border-radius: 1rem;
  padding: 0.9rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(47, 111, 94, 0.08)),
    rgba(255, 250, 241, 0.9);
}

.milk-report-heading {
  display: grid;
  gap: 0.22rem;
  border-bottom: 1px solid rgba(72, 48, 33, 0.12);
  padding-bottom: 0.7rem;
}

.milk-report-heading h2 {
  margin: 0;
  color: #173e34;
  font-size: clamp(1.42rem, 2.6vw, 2rem);
}

.milk-report-heading p:last-child {
  margin: 0;
  color: #5e463b;
  font-weight: 780;
}

.milk-report-form {
  display: grid;
  gap: 0.68rem;
}

.milk-report-form .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.milk-report-form label {
  display: grid;
  gap: 0.3rem;
  color: #2c231f;
  font-size: 0.84rem;
  font-weight: 950;
}

.milk-report-form input,
.milk-report-form select,
.milk-report-form textarea {
  width: 100%;
  min-width: 0;
  border: 2px solid rgba(47, 111, 94, 0.22);
  border-radius: 0.72rem;
  padding: 0.58rem 0.64rem;
  background: rgba(255, 250, 241, 0.96);
  color: #172d27;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 820;
}

.milk-report-form textarea {
  resize: vertical;
}

.milk-proof-grid,
.milk-safety-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.milk-proof-grid span,
.milk-safety-strip article {
  border: 1.8px solid rgba(200, 105, 63, 0.18);
  border-radius: 0.82rem;
  padding: 0.62rem;
  background: rgba(255, 250, 241, 0.8);
  color: #5d4539;
  font-size: 0.82rem;
  font-weight: 820;
  line-height: 1.35;
}

.milk-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.milk-safety-strip article {
  display: grid;
  gap: 0.18rem;
}

.milk-safety-strip strong {
  color: #173e34;
  font-size: 0.92rem;
}

.milk-safety-strip span {
  color: #5d4539;
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.35;
}

.category-card:hover {
  border-color: rgba(47, 111, 94, 0.34);
}

.reveal-card {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.category-card a {
  color: var(--green);
  font-weight: 800;
}

.listings-section {
  background: rgba(255, 255, 255, 0.28);
}

.listing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-card {
  overflow: hidden;
  border-radius: 1.45rem;
}

.listing-image {
  height: 15rem;
  border-radius: 0;
}

.listing-one {
  background:
    radial-gradient(circle at 50% 36%, #fff1bf 0 2.2rem, transparent 2.3rem),
    radial-gradient(circle at 42% 55%, #111 0 0.7rem, transparent 0.75rem),
    radial-gradient(circle at 58% 55%, #111 0 0.7rem, transparent 0.75rem),
    linear-gradient(135deg, #2f6f5e, #e88961);
}

.listing-two {
  background:
    radial-gradient(circle at 50% 42%, #9f6d3f 0 2.5rem, transparent 2.6rem),
    radial-gradient(circle at 40% 31%, #6b452b 0 1rem, transparent 1.05rem),
    radial-gradient(circle at 60% 31%, #6b452b 0 1rem, transparent 1.05rem),
    linear-gradient(135deg, #d99b3d, #167c80);
}

.listing-three {
  background:
    radial-gradient(circle at 50% 38%, #1a1d27 0 2rem, transparent 2.1rem),
    radial-gradient(circle at 42% 33%, #1a1d27 0 1.1rem, transparent 1.17rem),
    radial-gradient(circle at 58% 33%, #1a1d27 0 1.1rem, transparent 1.17rem),
    linear-gradient(135deg, #f4c06e, #c8693f);
}

.listing-content {
  padding: 1.15rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}

.tag-row span {
  font-size: 0.76rem;
}

.card-button {
  width: 100%;
}

.listing-detail-section {
  background: rgba(255, 255, 255, 0.28);
}

.breadcrumb {
  max-width: 76rem;
  margin: 0 auto 1rem;
  color: var(--green);
  font-weight: 750;
}

.listing-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 25rem);
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 82rem;
  margin: 0 auto;
}

.detail-main,
.safe-contact-card {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.detail-main {
  min-width: 0;
  overflow: hidden;
  padding: 1.25rem;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.detail-title-row h1 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.05;
}

.privacy-badge {
  flex: 0 0 auto;
  border: 1px solid rgba(47, 111, 94, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: rgba(47, 111, 94, 0.08);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 850;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(14rem, 0.75fr);
  gap: 1.25rem;
  min-width: 0;
}

.detail-gallery,
.detail-info {
  min-width: 0;
}

.detail-photo {
  min-height: clamp(20rem, 38vw, 28rem);
  border-radius: 1rem;
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.thumbnail-row span {
  min-height: 5rem;
  border: 2px solid rgba(47, 111, 94, 0.2);
  border-radius: 0.7rem;
}

.detail-info dl {
  margin: 0;
}

.detail-info div {
  display: grid;
  grid-template-columns: minmax(6rem, 0.8fr) minmax(0, 1fr);
  gap: 0.8rem;
  border-bottom: 1px dashed rgba(72, 48, 33, 0.18);
  padding: 0.7rem 0;
}

.detail-info dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-info dd {
  margin: 0;
  font-weight: 850;
  min-width: 0;
  overflow-wrap: anywhere;
}

.safe-contact-card {
  align-self: start;
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 2vw, 1.35rem);
}

.safe-contact-card h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
}

.safe-contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.safe-action-stack {
  display: grid;
  gap: 0.7rem;
}

.safe-action-stack .primary-button {
  width: 100%;
}

.report-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  border: 1px dashed rgba(198, 75, 85, 0.36);
  border-radius: 999px;
  color: #8d2d37;
  font-weight: 850;
}

.report-link:hover {
  background: rgba(198, 75, 85, 0.08);
}

.warning-box {
  display: grid;
  gap: 0.35rem;
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(198, 75, 85, 0.1);
  color: #8d2d37;
}

.warning-box span {
  color: #7b4346;
}

.listing-detail-compact {
  padding-block: clamp(1rem, 2.6vw, 2.2rem);
}

.listing-detail-compact .breadcrumb,
.listing-detail-compact .listing-detail-layout {
  max-width: 74rem;
}

.compact-listing-detail {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  gap: 1rem;
}

.listing-detail-compact .detail-main {
  padding: clamp(0.85rem, 2vw, 1.05rem);
}

.listing-detail-compact .detail-title-row {
  margin-bottom: 0.8rem;
}

.listing-detail-compact .detail-title-row h1 {
  max-width: 24ch;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.listing-detail-compact .detail-content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.62fr);
  gap: 0.9rem;
}

.detail-gallery-frame {
  position: relative;
  min-height: clamp(15.5rem, 28vw, 21rem);
  overflow: hidden;
  border: 2px solid rgba(47, 111, 94, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 1rem 2rem rgba(72, 48, 33, 0.1);
}

.detail-gallery-frame img {
  width: min(58%, 16rem);
  height: clamp(10rem, 22vw, 16rem);
}

.detail-gallery-frame span {
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: min(78%, 24rem);
  background: rgba(255, 250, 241, 0.95);
  color: #243d34;
}

.gallery-nav,
.gallery-zoom-button,
.gallery-tool-row button,
.listing-thumbnail-row button,
.gallery-lightbox-close,
.report-submit-button {
  border: 1px solid rgba(72, 48, 33, 0.16);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.92);
  color: #243d34;
  box-shadow: 0 0.7rem 1.5rem rgba(72, 48, 33, 0.15);
  transform: translateY(-50%);
}

.gallery-nav.prev {
  left: 0.7rem;
}

.gallery-nav.next {
  right: 0.7rem;
}

.gallery-zoom-button {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  border-radius: 999px;
  padding: 0.48rem 0.68rem;
  background: #2f6f5e;
  color: #fffaf1;
  box-shadow: 0 0.7rem 1.4rem rgba(47, 111, 94, 0.2);
}

.gallery-tool-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.55rem;
}

.gallery-tool-row button {
  min-height: 2.1rem;
  border-radius: 0.65rem;
  background: rgba(255, 250, 241, 0.92);
  color: #243d34;
}

.gallery-tool-row strong {
  color: #604538;
  font-size: 0.82rem;
}

.listing-thumbnail-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.42rem;
}

.listing-thumbnail-row button {
  min-width: 0;
  min-height: 4.25rem;
  overflow: hidden;
  border-radius: 0.72rem;
  background: rgba(255, 250, 241, 0.9);
  opacity: 0.72;
  transition: transform 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.listing-thumbnail-row button:hover,
.listing-thumbnail-row button:focus-visible,
.listing-thumbnail-row button.is-active {
  transform: translateY(-1px);
  border-color: rgba(47, 111, 94, 0.58);
  opacity: 1;
}

.listing-thumbnail-row img {
  width: 100%;
  height: 4.2rem;
  object-fit: contain;
  padding: 0.25rem;
}

.listing-detail-compact .detail-info div {
  grid-template-columns: minmax(5.4rem, 0.76fr) minmax(0, 1fr);
  gap: 0.55rem;
  padding: 0.52rem 0;
}

.listing-detail-compact .detail-description-card {
  margin-top: 0.9rem;
  padding: 0.95rem;
}

.listing-detail-compact .safe-contact-card {
  top: 5.2rem;
  gap: 0.82rem;
  padding: 1rem;
}

.listing-detail-compact .safe-contact-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.listing-report-form {
  display: grid;
  gap: 0.72rem;
  border: 2px solid rgba(198, 75, 85, 0.18);
  border-radius: 1rem;
  padding: 0.85rem;
  background: rgba(255, 250, 241, 0.82);
}

.listing-report-form h2 {
  margin-bottom: 0.3rem;
}

.listing-report-form p {
  font-size: 0.88rem;
}

.listing-report-form label {
  display: grid;
  gap: 0.35rem;
  color: #5f473b;
  font-size: 0.82rem;
  font-weight: 950;
}

.listing-report-form label span {
  color: var(--muted);
  font-size: 0.72rem;
}

.listing-report-form select,
.listing-report-form textarea,
.listing-report-form input {
  width: 100%;
  border: 1px solid rgba(72, 48, 33, 0.16);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.72);
  color: #243d34;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.62rem 0.68rem;
}

.listing-report-form textarea {
  resize: vertical;
}

.report-submit-button {
  min-height: 2.45rem;
  border-color: transparent;
  border-radius: 0.78rem;
  background: #9f2632;
  color: #fffaf1;
}

.report-feedback {
  min-height: 1.15rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.report-feedback[data-state="success"] {
  color: #22604f;
}

.report-feedback[data-state="warning"] {
  color: #9f2632;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  gap: 0.85rem;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(31, 22, 18, 0.78);
  backdrop-filter: blur(8px);
}

.gallery-lightbox img {
  width: min(86vw, 54rem);
  max-height: 78vh;
  object-fit: contain;
  border: 2px solid rgba(255, 250, 241, 0.32);
  border-radius: 1rem;
  background: rgba(255, 250, 241, 0.94);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.35);
}

.gallery-lightbox strong {
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 250, 241, 0.94);
  color: #243d34;
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border-radius: 999px;
  padding: 0.58rem 0.82rem;
  background: rgba(255, 250, 241, 0.95);
  color: #243d34;
}

.safety-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.safety-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.safety-grid article {
  min-height: 10rem;
  border-radius: 1.25rem;
  padding: 1.15rem;
}

.safety-grid span {
  display: block;
  margin-top: 0.55rem;
}

.dashboard-preview {
  background:
    radial-gradient(circle at 80% 30%, rgba(47, 111, 94, 0.08), transparent 23rem),
    rgba(255, 255, 255, 0.2);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 16rem 1fr;
  overflow: hidden;
  border-radius: 1.6rem;
}

.dashboard-shell aside {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid var(--line);
}

.dashboard-shell aside a,
.dashboard-shell aside span {
  color: var(--muted);
}

.dashboard-main {
  padding: 1.25rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-row article {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.045);
}

.stat-row span {
  display: block;
  color: var(--rust);
  font-size: 2rem;
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.timeline div {
  display: flex;
  gap: 0.8rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem;
}

.timeline span {
  width: 0.7rem;
  height: 0.7rem;
  flex: 0 0 auto;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--coral);
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.panel-report-board {
  display: grid;
  gap: 1rem;
  max-width: 82rem;
  margin: 1.25rem auto 0;
  border: 1px solid rgba(72, 48, 33, 0.16);
  border-radius: 1.25rem;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 75, 85, 0.1), transparent 17rem),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.panel-report-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.panel-report-head h2 {
  margin-bottom: 0.3rem;
  color: #243d34;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
}

.panel-report-head p {
  max-width: 48rem;
  margin-bottom: 0;
  color: #5f473b;
  font-weight: 800;
}

.panel-report-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.panel-report-stats article {
  border: 1px solid rgba(72, 48, 33, 0.13);
  border-radius: 0.95rem;
  padding: 0.78rem;
  background: rgba(255, 255, 255, 0.54);
}

.panel-report-stats span {
  display: block;
  color: #9f2632;
  font-size: 1.55rem;
  font-weight: 950;
}

.panel-report-stats strong {
  color: #4b362d;
  font-size: 0.84rem;
}

.panel-report-list {
  display: grid;
  gap: 0.72rem;
}

.panel-report-card {
  display: grid;
  gap: 0.45rem;
  border: 2px solid rgba(198, 75, 85, 0.16);
  border-radius: 1rem;
  padding: 0.9rem;
  background: rgba(255, 250, 241, 0.88);
}

.panel-report-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.panel-report-card-top strong {
  color: #243d34;
  font-size: 1rem;
}

.panel-report-card-top span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
  background: rgba(198, 75, 85, 0.1);
  color: #9f2632;
  font-size: 0.72rem;
  font-weight: 950;
}

.panel-report-meta,
.panel-report-message,
.panel-report-card small {
  margin: 0;
  color: #5f473b;
  font-weight: 820;
}

.panel-report-message {
  border-left: 3px solid rgba(198, 75, 85, 0.32);
  padding-left: 0.65rem;
  color: #382820;
}

.panel-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.panel-report-actions a,
.panel-report-actions span {
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.panel-report-actions a {
  background: #2f6f5e;
  color: #fffaf1;
}

.panel-report-actions span {
  background: rgba(47, 111, 94, 0.08);
  color: #234f43;
}

.panel-report-empty {
  margin: 0;
  border: 1px dashed rgba(72, 48, 33, 0.22);
  border-radius: 0.9rem;
  padding: 0.85rem;
  color: var(--muted);
  font-weight: 850;
}

.market-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: clamp(2rem, 4vw, 3.5rem);
  border-radius: 1.7rem;
}

.market-list {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 0.8rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem clamp(1rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  background: rgba(255, 248, 236, 0.64);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  color: var(--muted);
}

.legal-note {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--soft);
  font-size: 0.88rem;
}

.link-hub-page {
  display: grid;
  gap: clamp(1rem, 3vw, 1.75rem);
  width: min(50rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.35rem, 4vw, 2.6rem) 0 3rem;
}

.link-hub-hero {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  text-align: center;
  border: 1px solid rgba(72, 48, 33, 0.11);
  border-radius: 1.25rem;
  padding: clamp(1.25rem, 4vw, 2.3rem);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.94), rgba(255, 248, 236, 0.78)),
    url("./assets/social/petpativa-cover.svg") center / cover no-repeat;
  box-shadow: 0 18px 48px rgba(72, 48, 33, 0.1);
}

.link-hub-logo {
  width: clamp(5.5rem, 18vw, 8rem);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 2rem;
  box-shadow: 0 18px 42px rgba(72, 48, 33, 0.16);
}

.link-hub-official {
  margin: 0.2rem 0 0;
  border: 1px solid rgba(47, 111, 94, 0.22);
  border-radius: 999px;
  padding: 0.44rem 0.78rem;
  background: rgba(255, 250, 241, 0.82);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-hub-domain {
  margin: 0;
  color: var(--orange);
  font-weight: 950;
}

.link-hub-hero h1 {
  max-width: 17ch;
  margin: 0.1rem 0 0.2rem;
  font-size: clamp(2rem, 6.3vw, 3.8rem);
  line-height: 1.04;
  text-wrap: balance;
}

.link-hub-hero .hero-text {
  max-width: 42rem;
  margin: 0;
}

.link-hub-hero-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  width: min(100%, 34rem);
  margin-top: 0.35rem;
}

.official-site-button,
.quick-action-button {
  display: grid;
  align-content: center;
  min-height: 3.6rem;
  border-radius: 1rem;
  padding: 0.78rem 1rem;
  font-weight: 950;
}

.official-site-button {
  justify-items: start;
  border: 1px solid rgba(47, 111, 94, 0.32);
  background: rgba(47, 111, 94, 0.96);
  color: #fffaf1;
  box-shadow: 0 16px 36px rgba(47, 111, 94, 0.2);
}

.official-site-button span {
  color: rgba(255, 250, 241, 0.74);
  font-size: 0.82rem;
}

.official-site-button strong {
  font-size: 1.12rem;
}

.quick-action-button {
  min-width: 7.4rem;
  border: 1px solid rgba(232, 137, 97, 0.32);
  background: rgba(255, 250, 241, 0.88);
  color: var(--brown);
}

.link-hub-proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.link-hub-proof-row span {
  border: 1px solid rgba(72, 48, 33, 0.1);
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.link-hub-actions,
.link-hub-trust {
  display: grid;
  gap: 0.85rem;
}

.link-hub-card {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 0.35rem 0.8rem;
  align-items: center;
  min-height: 5.2rem;
  border: 1px solid rgba(72, 48, 33, 0.14);
  border-radius: 1rem;
  padding: 0.95rem;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 14px 34px rgba(72, 48, 33, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.link-hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 111, 94, 0.35);
  box-shadow: 0 20px 44px rgba(72, 48, 33, 0.14);
}

.link-hub-card span {
  display: grid;
  grid-row: span 2;
  width: 4.6rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 0.85rem;
  background: rgba(47, 111, 94, 0.11);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
}

.link-hub-card strong {
  min-width: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.link-hub-card small {
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
}

.link-hub-card.primary-link {
  border-color: rgba(47, 111, 94, 0.3);
  background: linear-gradient(135deg, rgba(47, 111, 94, 0.98), rgba(22, 124, 128, 0.96));
  color: #fffaf1;
}

.link-hub-card.primary-link span {
  background: rgba(255, 250, 241, 0.16);
  color: #fffaf1;
}

.link-hub-card.primary-link small {
  color: rgba(255, 250, 241, 0.78);
}

.link-hub-social,
.link-hub-trust article {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 250, 241, 0.82);
  padding: 1rem;
}

.social-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.social-pill-grid a {
  border: 1px solid rgba(47, 111, 94, 0.22);
  border-radius: 999px;
  padding: 0.62rem 0.85rem;
  background: rgba(255, 255, 255, 0.54);
  color: var(--green);
  font-weight: 850;
}

.link-hub-trust {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-hub-trust article {
  display: grid;
  align-content: start;
  gap: 0.3rem;
}

.link-hub-trust span {
  color: var(--muted);
  font-size: 0.92rem;
}

.kindness-page {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 2rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.kindness-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.kindness-icon-sprite path,
.kindness-icon-sprite circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kindness-hero,
.kindness-page-nav,
.kindness-section,
.kindness-workspace,
.kindness-map-section,
.kindness-volunteer-section,
.kindness-task-section,
.kindness-score-section,
.kindness-admin-section {
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin-inline: auto;
}

.kindness-detail-section {
  width: min(var(--container), calc(100% - clamp(2rem, 6vw, 5rem)));
  margin-inline: auto;
}

.kindness-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(21rem, 1.08fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: center;
  padding-top: clamp(1.4rem, 4vw, 3.2rem);
}

.quick-report-hero {
  grid-template-columns: minmax(20rem, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
}

.kindness-hero h1 {
  max-width: 13ch;
  margin-bottom: 0.7rem;
  font-size: clamp(2.5rem, min(5vw, 6.4vh), 5.1rem);
  line-height: 0.98;
}

.quick-report-hero h1 {
  max-width: 11ch;
  font-size: clamp(2.55rem, min(5.8vw, 6.8vh), 5.25rem);
}

.kindness-hero-copy {
  display: grid;
  gap: 0.85rem;
}

.kindness-hero-content {
  display: grid;
  gap: 0.95rem;
  padding-top: clamp(0.25rem, 1.2vw, 0.8rem);
}

.quick-report-sidebar {
  position: relative;
  display: grid;
  gap: 0.82rem;
  border: 2px solid rgba(198, 75, 85, 0.66);
  border-radius: 1.05rem;
  padding: clamp(0.82rem, 1.7vw, 1.05rem);
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.98), rgba(198, 75, 85, 0.11)),
    rgba(255, 250, 241, 0.88);
  box-shadow:
    0 0 0 0.22rem rgba(198, 75, 85, 0.1),
    0 22px 44px rgba(72, 48, 33, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.quick-report-sidebar::before {
  content: "";
  position: absolute;
  inset: 0.62rem auto 0.62rem 0.62rem;
  width: 0.24rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #c64b55, #d97932);
  box-shadow: 0 0 0 0.16rem rgba(198, 75, 85, 0.1);
}

.quick-report-sidebar-head {
  display: grid;
  gap: 0.24rem;
  border-bottom: 1px solid rgba(198, 75, 85, 0.2);
  padding: 0 0 0.72rem 0.52rem;
}

.quick-report-sidebar-head .eyebrow {
  color: #c64b55;
}

.quick-report-sidebar-head h2 {
  margin: 0;
  color: #2f201a;
  font-size: clamp(1.42rem, 2.2vw, 1.85rem);
}

.quick-report-sidebar-head p {
  margin: 0;
  color: #5f4033;
  font-weight: 780;
}

.kindness-page-nav {
  position: sticky;
  top: 0.8rem;
  z-index: 30;
  display: grid;
  gap: 0.78rem;
  border: 1px solid rgba(72, 48, 33, 0.12);
  border-radius: 1.05rem;
  padding: 0.78rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(47, 111, 94, 0.08)),
    rgba(255, 250, 241, 0.9);
  box-shadow:
    0 18px 36px rgba(72, 48, 33, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
}

.kindness-page-nav-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(72, 48, 33, 0.1);
  padding: 0 0.18rem 0.62rem;
}

.kindness-page-nav-head span {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.kindness-page-nav-head strong {
  font-size: 0.92rem;
}

.kindness-page-nav-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}

.kindness-page-nav-links a,
.theme-switch-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.12rem 0.58rem;
  align-items: center;
  min-height: 5.35rem;
  border: 1px solid rgba(72, 48, 33, 0.11);
  border-radius: 0.95rem;
  padding: 0.78rem 0.88rem;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.9), rgba(158, 188, 145, 0.1)),
    rgba(255, 250, 241, 0.74);
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.kindness-page-nav-links a:hover,
.kindness-page-nav-links a:focus-visible,
.kindness-page-nav-links a.is-active,
.theme-switch-card:hover,
.theme-switch-card:focus-within {
  border-color: rgba(47, 111, 94, 0.26);
  background:
    linear-gradient(135deg, rgba(47, 111, 94, 0.15), rgba(216, 155, 61, 0.13)),
    rgba(255, 250, 241, 0.96);
  color: var(--green);
  transform: translateY(-0.08rem);
  box-shadow:
    0 14px 30px rgba(72, 48, 33, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.kindness-page-nav-links a svg {
  grid-row: 1 / span 2;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.78rem;
  padding: 0.52rem;
  background: rgba(47, 111, 94, 0.12);
  color: var(--green);
}

.kindness-page-nav-links a strong,
.theme-switch-card strong {
  padding-right: 2rem;
  font-size: 0.98rem;
  line-height: 1.12;
}

.kindness-page-nav-links a small,
.theme-switch-card small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.28;
}

.kindness-page-nav-links a.is-active small,
.kindness-page-nav-links a:hover small,
.kindness-page-nav-links a:focus-visible small,
.theme-switch-card:hover small,
.theme-switch-card:focus-within small {
  color: color-mix(in srgb, var(--green) 70%, var(--muted));
}

.theme-switch-card {
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
}

.theme-swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 0.1rem;
}

.theme-swatch {
  width: 2rem;
  height: 2rem;
  border: 2px solid rgba(72, 48, 33, 0.16);
  border-radius: 999px;
  padding: 0;
  background: var(--swatch-bg);
  box-shadow:
    0 9px 18px rgba(72, 48, 33, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.theme-swatch:hover,
.theme-swatch:focus-visible {
  border-color: color-mix(in srgb, var(--green) 58%, #2d231e);
  outline: none;
  transform: translateY(-0.08rem) scale(1.04);
}

.theme-swatch.is-active {
  border-color: #2d231e;
  box-shadow:
    0 0 0 0.18rem color-mix(in srgb, var(--green) 20%, transparent),
    0 12px 22px rgba(72, 48, 33, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.theme-swatch.warm {
  --swatch-bg: linear-gradient(135deg, #2f6f5e 0 34%, #c8693f 34% 68%, #fff8ec 68%);
}

.theme-swatch.forest {
  --swatch-bg: linear-gradient(135deg, #245f49 0 34%, #a8c59a 34% 68%, #fbfff6 68%);
}

.theme-swatch.coral {
  --swatch-bg: linear-gradient(135deg, #bf344a 0 34%, #ee7b58 34% 68%, #fffaf4 68%);
}

.theme-swatch.trust {
  --swatch-bg: linear-gradient(135deg, #287f99 0 34%, #2f6f5e 34% 68%, #fbfffc 68%);
}

.theme-swatch.volunteer {
  --swatch-bg: linear-gradient(135deg, #5a527d 0 34%, #bd6d46 34% 68%, #fff9f2 68%);
}

.nav-link-index {
  position: absolute;
  top: 0.62rem;
  right: 0.68rem;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 950;
}

.kindness-view-hidden {
  display: none !important;
}

.kindness-hero-actions,
.kindness-trust-row,
.map-detail-actions,
.task-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.kindness-trust-row span,
.score-rule-grid span,
.badge-cloud span,
.volunteer-skill-tags span,
.matching-rule-list span,
.status-step-row span,
.photo-count-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.72rem;
  background: rgba(255, 250, 241, 0.72);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 850;
}

.kindness-command-panel,
.kindness-report-form,
.kindness-matching-panel,
.kindness-map-shell,
.map-detail-card,
.volunteer-application-form,
.volunteer-profile-card,
.task-status-board,
.task-completion-card,
.kindness-score-section,
.kindness-admin-section {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--panel-strong);
  box-shadow: 0 16px 42px rgba(72, 48, 33, 0.12);
}

.kindness-command-panel {
  position: relative;
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding: clamp(0.85rem, 2.2vw, 1.2rem);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(232, 137, 97, 0.15)),
    var(--panel-strong);
}

.command-map-surface,
.live-map-stage,
.mini-map-verify {
  position: relative;
  overflow: hidden;
  min-height: 20rem;
  border: 1px solid rgba(72, 48, 33, 0.12);
  border-radius: 1rem;
  background:
    linear-gradient(90deg, rgba(47, 111, 94, 0.09) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 111, 94, 0.09) 1px, transparent 1px),
    linear-gradient(135deg, #f8ead6 0%, #d8e3c9 42%, #e9f0e7 100%);
  background-size: 46px 46px, 46px 46px, auto;
}

.command-map-surface::before,
.live-map-stage::before,
.mini-map-verify::before {
  content: "";
  position: absolute;
  inset: 7% 5% auto auto;
  width: 62%;
  height: 45%;
  border-radius: 38% 52% 35% 44%;
  background: rgba(47, 111, 94, 0.12);
  transform: rotate(-9deg);
}

.map-road,
.map-artery,
.mini-map-line {
  position: absolute;
  z-index: 1;
  height: 0.46rem;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.9);
  box-shadow: inset 0 0 0 1px rgba(72, 48, 33, 0.08);
}

.map-road.one,
.map-artery.one,
.mini-map-line.one {
  left: -6%;
  top: 36%;
  width: 82%;
  transform: rotate(-16deg);
}

.map-road.two,
.map-artery.two,
.mini-map-line.two {
  right: -8%;
  top: 58%;
  width: 82%;
  transform: rotate(18deg);
}

.map-road.three,
.map-artery.three,
.mini-map-line.three {
  left: 20%;
  bottom: 22%;
  width: 62%;
  transform: rotate(-3deg);
}

.kindness-radius {
  position: absolute;
  left: 38%;
  top: 34%;
  z-index: 1;
  width: 9rem;
  height: 9rem;
  border: 2px solid rgba(47, 111, 94, 0.28);
  border-radius: 999px;
  background: rgba(47, 111, 94, 0.08);
  box-shadow: 0 0 0 2rem rgba(47, 111, 94, 0.06);
}

.kindness-pin,
.map-report-pin {
  --pin: var(--green);
  position: absolute;
  z-index: 3;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 2px solid rgba(255, 250, 241, 0.92);
  border-radius: 50% 50% 50% 18%;
  background: var(--pin);
  box-shadow: 0 14px 28px rgba(72, 48, 33, 0.24);
  color: #fffaf1;
  font: inherit;
  font-weight: 950;
  transform: rotate(-45deg);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.kindness-pin span,
.kindness-pin svg,
.map-report-pin span,
.map-report-pin svg {
  width: 1.24rem;
  height: 1.24rem;
  transform: rotate(45deg);
}

.kindness-pin:hover,
.kindness-pin:focus-visible,
.map-report-pin:hover,
.map-report-pin:focus-visible,
.map-report-pin.is-selected {
  filter: saturate(1.1);
  transform: rotate(-45deg) translateY(-0.16rem) scale(1.06);
  box-shadow: 0 18px 38px rgba(72, 48, 33, 0.28);
}

.pin-food {
  --pin: #d97932;
  left: 22%;
  top: 48%;
}

.pin-water {
  --pin: #2787a4;
  left: 52%;
  top: 28%;
}

.pin-injury {
  --pin: #c64b55;
  right: 22%;
  top: 54%;
}

.pin-lost {
  --pin: #d6a22e;
  right: 34%;
  bottom: 16%;
}

.command-alert-card {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 0.55rem;
  width: min(22rem, 92%);
  margin-top: -3.4rem;
  margin-left: auto;
  border: 1px solid rgba(47, 111, 94, 0.18);
  border-radius: 1rem;
  padding: 0.9rem;
  background: rgba(255, 250, 241, 0.96);
  box-shadow: 0 18px 38px rgba(72, 48, 33, 0.16);
}

.compact-task-card {
  width: min(24rem, 100%);
  margin: 0;
  margin-left: 0;
  border-color: rgba(47, 111, 94, 0.2);
  border-radius: 0.95rem;
  padding: 0.82rem;
  background:
    linear-gradient(135deg, rgba(47, 111, 94, 0.1), rgba(255, 250, 241, 0.96)),
    rgba(255, 250, 241, 0.94);
  box-shadow: 0 14px 30px rgba(72, 48, 33, 0.1);
}

.compact-task-card strong {
  font-size: 1rem;
}

.compact-task-card p {
  margin: 0;
  max-width: 34rem;
  font-size: 0.92rem;
}

.compact-task-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.command-alert-card span,
.map-detail-tag {
  width: max-content;
  border-radius: 999px;
  padding: 0.32rem 0.55rem;
  background: rgba(47, 111, 94, 0.12);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.command-alert-card p,
.kindness-section p,
.kindness-matching-panel p,
.kindness-report-form p,
.volunteer-application-form p,
.volunteer-profile-card p,
.task-status-board p,
.task-completion-card p,
.kindness-admin-section p,
.scoreboard-table p {
  color: var(--muted);
}

.kindness-section,
.kindness-map-section {
  display: grid;
  gap: 1rem;
}

.kindness-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.quick-report-sidebar .kindness-category-grid {
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding-left: 0.52rem;
}

.kindness-category-card {
  --category: var(--green);
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  min-height: 9.5rem;
  align-content: start;
  border: 1px solid color-mix(in srgb, var(--category) 18%, var(--line));
  border-radius: 1rem;
  padding: 0.92rem;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--category) 13%, transparent), rgba(255, 250, 241, 0.86) 58%),
    rgba(255, 250, 241, 0.88);
  box-shadow: 0 12px 28px rgba(72, 48, 33, 0.08);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.quick-report-sidebar .kindness-category-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.62rem;
  min-height: 4.45rem;
  align-items: center;
  border-radius: 0.88rem;
  padding: 0.62rem;
  border-color: color-mix(in srgb, var(--category) 24%, rgba(198, 75, 85, 0.34));
}

.quick-report-sidebar .kindness-category-card:hover,
.quick-report-sidebar .kindness-category-card:focus-visible,
.quick-report-sidebar .kindness-category-card.is-active {
  border-color: color-mix(in srgb, var(--category) 64%, #c64b55);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--category) 18%, rgba(255, 250, 241, 0.95)), rgba(255, 250, 241, 0.96) 58%),
    rgba(255, 250, 241, 0.96);
  box-shadow:
    0 16px 30px color-mix(in srgb, var(--category) 22%, transparent),
    0 0 0 0.18rem color-mix(in srgb, var(--category) 16%, transparent);
  transform: translateY(-0.1rem) scale(1.012);
}

.quick-report-sidebar .kindness-category-card:hover .category-marker,
.quick-report-sidebar .kindness-category-card:focus-visible .category-marker,
.quick-report-sidebar .kindness-category-card.is-active .category-marker {
  box-shadow:
    0 12px 24px color-mix(in srgb, var(--category) 34%, transparent),
    0 0 0 0.16rem rgba(255, 250, 241, 0.88);
}

.kindness-category-card:hover,
.kindness-category-card:focus-visible,
.kindness-category-card.is-active {
  border-color: color-mix(in srgb, var(--category) 42%, var(--line));
  box-shadow:
    0 18px 38px rgba(72, 48, 33, 0.14),
    0 0 0 0.18rem color-mix(in srgb, var(--category) 12%, transparent);
  transform: translateY(-0.12rem);
}

.kindness-category-card.food {
  --category: #d97932;
}

.kindness-category-card.water {
  --category: #2787a4;
}

.kindness-category-card.injury {
  --category: #c64b55;
}

.kindness-category-card.medical {
  --category: #8260a8;
}

.kindness-category-card.lost {
  --category: #d6a22e;
}

.kindness-category-card.found {
  --category: #4f956b;
}

.category-card-copy {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.kindness-category-card strong {
  line-height: 1.18;
  font-size: 1.02rem;
}

.quick-report-sidebar .kindness-category-card strong {
  color: #2f201a;
  font-size: 0.95rem;
  font-weight: 950;
}

.kindness-category-card small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.3;
}

.quick-report-sidebar .kindness-category-card small {
  color: #624236;
  font-size: 0.79rem;
  font-weight: 850;
}

.category-action-text {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.45rem;
  border-radius: 0.78rem;
  padding: 0.52rem 0.68rem;
  background: color-mix(in srgb, var(--category) 14%, #fffaf1);
  color: color-mix(in srgb, var(--category) 78%, var(--text));
  font-size: 0.88rem;
  font-weight: 950;
}

.quick-report-sidebar .category-action-text {
  grid-column: auto;
  gap: 0.36rem;
  justify-content: center;
  min-height: 2.35rem;
  min-width: 5.9rem;
  padding: 0.5rem 0.62rem;
  background-color: var(--category);
  background-image: linear-gradient(145deg, rgba(255, 250, 241, 0.18), rgba(255, 250, 241, 0));
  color: #fffaf1;
  font-size: 0.84rem;
  white-space: nowrap;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--category) 24%, transparent);
}

.quick-report-sidebar .kindness-category-card:hover .category-action-text,
.quick-report-sidebar .kindness-category-card:focus-visible .category-action-text,
.quick-report-sidebar .kindness-category-card.is-active .category-action-text {
  filter: saturate(1.12);
  box-shadow:
    0 12px 24px color-mix(in srgb, var(--category) 34%, transparent),
    inset 0 1px 0 rgba(255, 250, 241, 0.28);
  transform: translateX(0.08rem);
}

.category-action-text::after {
  content: ">";
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 999px;
  background: var(--category);
  color: #fffaf1;
  font-size: 0.85rem;
}

.quick-report-sidebar .category-action-text::after {
  content: ">";
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  background: rgba(255, 250, 241, 0.2);
  color: #fffaf1;
  font-size: 0.78rem;
}

.category-marker {
  --marker: var(--green);
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 0.9rem;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.32), rgba(255, 250, 241, 0)),
    var(--marker);
  color: #fffaf1;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--marker) 28%, transparent);
  font-weight: 950;
}

.quick-report-sidebar .category-marker {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.78rem;
}

.quick-report-sidebar .category-marker svg {
  width: 1.22rem;
  height: 1.22rem;
}

.category-marker svg {
  width: 1.45rem;
  height: 1.45rem;
}

.category-marker.food,
.map-report-pin.food {
  --marker: #d97932;
  --pin: #d97932;
}

.category-marker.water,
.map-report-pin.water {
  --marker: #2787a4;
  --pin: #2787a4;
}

.category-marker.injury,
.map-report-pin.injury {
  --marker: #c64b55;
  --pin: #c64b55;
}

.category-marker.medical,
.map-report-pin.medical {
  --marker: #8260a8;
  --pin: #8260a8;
}

.category-marker.lost,
.map-report-pin.lost {
  --marker: #d6a22e;
  --pin: #d6a22e;
}

.category-marker.found,
.map-report-pin.found {
  --marker: #4f956b;
  --pin: #4f956b;
}

.selected-kindness-banner {
  --selected: var(--green);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.78rem;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--selected) 24%, var(--line));
  border-radius: 1rem;
  padding: 0.82rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--selected) 13%, transparent), rgba(255, 250, 241, 0.92)),
    rgba(255, 250, 241, 0.9);
  box-shadow:
    0 14px 30px rgba(72, 48, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.selected-kindness-banner.food {
  --selected: #d97932;
}

.selected-kindness-banner.water {
  --selected: #2787a4;
}

.selected-kindness-banner.injury {
  --selected: #c64b55;
}

.selected-kindness-banner.medical {
  --selected: #8260a8;
}

.selected-kindness-banner.lost {
  --selected: #d6a22e;
}

.selected-kindness-banner.found {
  --selected: #4f956b;
}

.selected-kindness-icon {
  display: grid;
  width: 3.15rem;
  height: 3.15rem;
  place-items: center;
  border-radius: 0.95rem;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.28), rgba(255, 250, 241, 0)),
    var(--selected);
  color: #fffaf1;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--selected) 24%, transparent);
}

.selected-kindness-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.selected-kindness-banner span {
  color: color-mix(in srgb, var(--selected) 78%, var(--text));
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.selected-kindness-banner strong {
  display: block;
  margin-top: 0.12rem;
  font-size: 1.08rem;
}

.selected-kindness-banner p {
  margin: 0.18rem 0 0;
}

.kindness-workspace,
.kindness-map-layout,
.kindness-volunteer-section,
.kindness-task-section,
.kindness-admin-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.kindness-report-form,
.kindness-matching-panel,
.volunteer-application-form,
.volunteer-profile-card,
.task-status-board,
.task-completion-card,
.kindness-score-section,
.kindness-admin-section {
  padding: clamp(1rem, 2.2vw, 1.35rem);
}

.kindness-report-form,
.volunteer-application-form,
.task-completion-card,
.kindness-matching-panel {
  display: grid;
  gap: 0.82rem;
}

.kindness-volunteer-section {
  width: min(68rem, calc(100% - clamp(2rem, 6vw, 5rem)));
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.52fr);
  gap: 0.85rem;
}

.kindness-volunteer-section .volunteer-application-form,
.kindness-volunteer-section .volunteer-profile-card {
  border: 2px solid rgba(47, 111, 94, 0.28);
  border-radius: 1.05rem;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.98), rgba(47, 111, 94, 0.08)),
    rgba(255, 250, 241, 0.92);
  box-shadow:
    0 18px 38px rgba(72, 48, 33, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.kindness-volunteer-section .volunteer-application-form {
  gap: 0.68rem;
  padding: clamp(0.9rem, 1.8vw, 1.12rem);
}

.volunteer-application-form .form-heading {
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  border: 2px solid rgba(47, 111, 94, 0.26);
  border-radius: 0.95rem;
  padding: 0.78rem 0.9rem 0.86rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 241, 0.88)),
    rgba(255, 255, 255, 0.78);
  text-align: center;
}

.volunteer-application-form .form-heading .eyebrow {
  color: #c8693f;
  font-size: 0.78rem;
}

.volunteer-application-form .form-heading h2 {
  margin: 0;
  color: #173e34;
  font-size: clamp(1.72rem, 3vw, 2.35rem);
  line-height: 1.04;
}

.volunteer-application-form .form-heading p {
  max-width: 34rem;
  margin: 0;
  color: #4b332a;
  font-size: 0.95rem;
  font-weight: 820;
  line-height: 1.38;
}

.volunteer-application-form .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.kindness-report-form label,
.volunteer-application-form label,
.task-completion-card label {
  display: grid;
  gap: 0.38rem;
  min-width: 0;
  color: var(--text);
  font-weight: 850;
}

.kindness-volunteer-section .volunteer-application-form label {
  gap: 0.3rem;
  color: #2c231f;
  font-size: 0.84rem;
  font-weight: 950;
}

.kindness-report-form input,
.kindness-report-form select,
.kindness-report-form textarea,
.volunteer-application-form input,
.volunteer-application-form select,
.volunteer-application-form textarea,
.task-completion-card textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.82rem;
  padding: 0.76rem 0.82rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
}

.kindness-volunteer-section .volunteer-application-form input,
.kindness-volunteer-section .volunteer-application-form select,
.kindness-volunteer-section .volunteer-application-form textarea {
  border: 2px solid rgba(47, 111, 94, 0.22);
  border-radius: 0.72rem;
  padding: 0.58rem 0.64rem;
  background: rgba(255, 250, 241, 0.96);
  color: #172d27;
  font-size: 0.9rem;
  font-weight: 820;
}

.kindness-report-form textarea,
.volunteer-application-form textarea,
.task-completion-card textarea {
  resize: vertical;
}

.kindness-photo-panel,
.kindness-location-panel {
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.92), rgba(158, 188, 145, 0.16)),
    rgba(255, 250, 241, 0.74);
}

.veterinary-alert,
.duplicate-warning,
.task-sla-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  align-items: start;
  border: 1px solid rgba(198, 75, 85, 0.26);
  border-radius: 0.95rem;
  padding: 0.82rem;
  background:
    linear-gradient(135deg, rgba(198, 75, 85, 0.11), rgba(255, 250, 241, 0.88)),
    var(--panel-strong);
}

.veterinary-alert[hidden],
.duplicate-warning[hidden] {
  display: none;
}

.veterinary-alert > span {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 0.82rem;
  background: #c64b55;
  color: #fffaf1;
  box-shadow: 0 12px 22px rgba(198, 75, 85, 0.18);
}

.veterinary-alert svg {
  width: 1.25rem;
  height: 1.25rem;
}

.veterinary-alert p,
.duplicate-warning span,
.task-sla-card span {
  margin: 0;
  color: var(--muted);
}

.veterinary-alert.compact {
  border-color: rgba(198, 75, 85, 0.22);
  padding: 0.72rem;
}

.duplicate-warning {
  border-color: rgba(216, 155, 61, 0.32);
  background:
    linear-gradient(135deg, rgba(216, 155, 61, 0.14), rgba(255, 250, 241, 0.9)),
    var(--panel-strong);
}

.kindness-photo-panel {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
}

.kindness-photo-panel p,
.kindness-location-panel p {
  margin: 0;
}

.photo-count-badge {
  justify-content: center;
  white-space: nowrap;
}

.photo-count-badge.is-ready {
  border-color: rgba(47, 111, 94, 0.24);
  background: rgba(47, 111, 94, 0.12);
  color: var(--green);
}

.photo-preview-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.photo-preview-tile {
  display: grid;
  min-height: 4.9rem;
  place-items: center;
  border: 1px dashed rgba(72, 48, 33, 0.24);
  border-radius: 0.8rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.75), rgba(216, 155, 61, 0.13));
  background-position: center;
  background-size: cover;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.location-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.mini-map-verify {
  min-height: 9rem;
  background-size: 34px 34px, 34px 34px, auto;
}

.mini-map-pin {
  position: absolute;
  left: 48%;
  top: 38%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  background: var(--green);
  color: #fffaf1;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(72, 48, 33, 0.22);
  transform: translate(-50%, -50%);
}

.mini-map-verify small {
  position: absolute;
  right: 0.75rem;
  bottom: 0.65rem;
  z-index: 3;
  max-width: 26rem;
  border-radius: 0.75rem;
  padding: 0.48rem 0.62rem;
  background: rgba(255, 250, 241, 0.9);
  color: var(--muted);
  font-weight: 750;
}

.mini-map-verify.is-ready .mini-map-pin {
  background: var(--teal);
}

.kindness-publish-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.48rem;
}

.kindness-publish-flow span {
  position: relative;
  display: grid;
  min-height: 3.15rem;
  align-items: center;
  border: 1px solid rgba(72, 48, 33, 0.13);
  border-radius: 0.86rem;
  padding: 0.58rem 0.62rem 0.58rem 2.05rem;
  background: rgba(255, 250, 241, 0.66);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.kindness-publish-flow span::before {
  content: "";
  position: absolute;
  left: 0.62rem;
  top: 50%;
  width: 0.74rem;
  height: 0.74rem;
  border: 2px solid rgba(47, 111, 94, 0.26);
  border-radius: 999px;
  background: #fffaf1;
  transform: translateY(-50%);
}

.kindness-publish-flow span.is-active,
.kindness-publish-flow span.is-complete {
  border-color: rgba(47, 111, 94, 0.24);
  background:
    linear-gradient(135deg, rgba(47, 111, 94, 0.13), rgba(216, 155, 61, 0.1)),
    rgba(255, 250, 241, 0.92);
  color: var(--green);
  box-shadow:
    0 12px 24px rgba(72, 48, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.kindness-publish-flow span.is-active::before {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 0 0.22rem rgba(216, 155, 61, 0.18);
}

.kindness-publish-flow span.is-complete::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(47, 111, 94, 0.14);
}

.kindness-publish-note,
.map-publish-state {
  border: 1px solid rgba(47, 111, 94, 0.2);
  border-radius: 0.95rem;
  padding: 0.78rem 0.85rem;
  background:
    linear-gradient(135deg, rgba(47, 111, 94, 0.11), rgba(255, 250, 241, 0.86)),
    rgba(255, 250, 241, 0.8);
  box-shadow:
    0 14px 30px rgba(72, 48, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.kindness-publish-note {
  display: grid;
  gap: 0.22rem;
}

.kindness-publish-note span,
.map-publish-state p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.map-publish-state {
  display: grid;
  gap: 0.28rem;
}

.map-publish-state > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.map-publish-state strong {
  color: var(--green);
  font-size: 1.08rem;
}

.map-publish-state[data-state="location"],
.map-publish-state[data-state="review"] {
  border-color: rgba(216, 155, 61, 0.25);
  background:
    linear-gradient(135deg, rgba(216, 155, 61, 0.14), rgba(255, 250, 241, 0.88)),
    rgba(255, 250, 241, 0.84);
}

.map-publish-state[data-state="published"] {
  border-color: rgba(47, 111, 94, 0.3);
  background:
    linear-gradient(135deg, rgba(47, 111, 94, 0.16), rgba(39, 135, 164, 0.1)),
    rgba(255, 250, 241, 0.9);
}

.kindness-quality-rules,
.volunteer-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.kindness-quality-rules label,
.volunteer-check-grid label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.82rem;
  padding: 0.72rem;
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
  line-height: 1.35;
}

.kindness-volunteer-section .volunteer-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
}

.kindness-volunteer-section .volunteer-check-grid label {
  min-height: 2.65rem;
  border: 2px solid rgba(72, 48, 33, 0.18);
  border-radius: 0.78rem;
  padding: 0.54rem 0.62rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 241, 0.86)),
    rgba(255, 250, 241, 0.74);
  color: #2b231f;
  font-size: 0.84rem;
  font-weight: 900;
}

.kindness-volunteer-section .volunteer-check-grid input {
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  margin-top: 0.12rem;
  accent-color: var(--green);
}

.matching-panel-head {
  display: grid;
  gap: 0.32rem;
}

.matching-panel-head h2,
.matching-panel-head p {
  margin: 0;
}

.match-report-card {
  position: relative;
  display: grid;
  gap: 0.68rem;
  overflow: hidden;
  border: 1px solid rgba(72, 48, 33, 0.12);
  border-radius: 1rem;
  padding: 0.9rem;
  background:
    radial-gradient(circle at top right, rgba(216, 155, 61, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(47, 111, 94, 0.12), rgba(255, 250, 241, 0.94)),
    rgba(255, 250, 241, 0.86);
  box-shadow:
    0 18px 34px rgba(72, 48, 33, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.match-report-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.match-report-icon,
.notification-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.9rem;
  background: var(--green);
  color: #fffaf1;
  box-shadow: 0 14px 28px rgba(47, 111, 94, 0.22);
}

.match-report-icon svg,
.notification-icon svg {
  width: 1.42rem;
  height: 1.42rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.match-report-state,
.matching-list-head span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
}

.match-report-top strong {
  display: block;
  margin-top: 0.12rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.urgency-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border: 1px solid rgba(198, 75, 85, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.68rem;
  background: rgba(198, 75, 85, 0.1);
  color: #9a3941;
  font-size: 0.8rem;
  font-weight: 950;
  white-space: nowrap;
}

.match-report-card p {
  margin: 0;
}

.match-location-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
  border: 1px solid rgba(47, 111, 94, 0.2);
  border-radius: 0.95rem;
  padding: 0.78rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(47, 111, 94, 0.12)),
    rgba(255, 250, 241, 0.88);
  box-shadow:
    0 12px 24px rgba(72, 48, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.match-location-pin {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border-radius: 0.85rem;
  background:
    linear-gradient(135deg, var(--green), var(--teal));
  color: #fffaf1;
  box-shadow: 0 12px 24px rgba(47, 111, 94, 0.2);
}

.match-location-pin svg {
  width: 1.28rem;
  height: 1.28rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.match-location-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.match-location-card strong {
  display: block;
  margin-top: 0.14rem;
  color: var(--green);
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  line-height: 1.15;
}

.match-location-card small {
  display: block;
  margin-top: 0.26rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
}

.match-report-meta,
.match-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.match-report-meta span,
.match-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  border: 1px solid rgba(72, 48, 33, 0.1);
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  background: rgba(255, 250, 241, 0.72);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.matching-rule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
}

.matching-rule-list span {
  justify-content: flex-start;
  min-height: 2.45rem;
  border-radius: 0.75rem;
  padding: 0.44rem 0.56rem;
  font-size: 0.76rem;
  line-height: 1.18;
  white-space: normal;
}

.volunteer-notification-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.62rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 0.78rem;
  background:
    linear-gradient(135deg, rgba(47, 111, 94, 0.1), rgba(216, 155, 61, 0.12)),
    rgba(255, 250, 241, 0.86);
  box-shadow: 0 14px 28px rgba(72, 48, 33, 0.08);
}

.volunteer-notification-card p,
.volunteer-notification-card strong {
  margin: 0;
}

.volunteer-notification-card > div:last-child {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.matching-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
}

.matching-results {
  display: grid;
  gap: 0.65rem;
}

.match-volunteer-card,
.matching-results article {
  display: grid;
  gap: 0.54rem;
  border: 1px solid rgba(72, 48, 33, 0.12);
  border-radius: 0.95rem;
  padding: 0.68rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.92), rgba(158, 188, 145, 0.13)),
    rgba(255, 250, 241, 0.82);
  box-shadow:
    0 12px 26px rgba(72, 48, 33, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.match-card-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
}

.match-card-main p,
.matching-results article p {
  margin: 0.08rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.match-distance {
  display: grid;
  min-width: 3.6rem;
  min-height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(47, 111, 94, 0.12);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 950;
}

.match-volunteer-card.water .match-distance {
  background: rgba(39, 135, 164, 0.12);
  color: #267790;
}

.match-volunteer-card.injury .match-distance {
  background: rgba(198, 75, 85, 0.12);
  color: #9a3941;
}

.match-volunteer-card.medical .match-distance {
  background: rgba(130, 96, 168, 0.13);
  color: #6b4b90;
}

.match-volunteer-card.lost .match-distance {
  background: rgba(214, 162, 46, 0.16);
  color: #8e681d;
}

.match-volunteer-card.found .match-distance {
  background: rgba(79, 149, 107, 0.13);
  color: #3f7d58;
}

.kindness-map-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
}

.map-color-legend {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.6rem;
  width: min(100%, 76rem);
  margin: -0.45rem auto 1rem;
}

.map-color-legend article {
  --legend: var(--green);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.58rem;
  align-items: center;
  min-height: 4.45rem;
  border: 1px solid color-mix(in srgb, var(--legend) 28%, transparent);
  border-radius: 0.92rem;
  padding: 0.68rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--legend) 20%, #fffaf1), rgba(255, 250, 241, 0.88)),
    rgba(255, 250, 241, 0.86);
  box-shadow:
    0 14px 28px rgba(72, 48, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.map-color-legend article.food {
  --legend: #f28a2e;
}

.map-color-legend article.water {
  --legend: #1f94c8;
}

.map-color-legend article.injury {
  --legend: #df3f4f;
}

.map-color-legend article.medical {
  --legend: #8c5ac8;
}

.map-color-legend article.lost {
  --legend: #f0b929;
}

.map-color-legend article.found {
  --legend: #43a66a;
}

.map-color-legend article > span {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 0.78rem;
  background: var(--legend);
  color: #fffaf1;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--legend) 32%, transparent);
}

.map-color-legend svg {
  width: 1.22rem;
  height: 1.22rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-color-legend strong,
.map-color-legend small {
  display: block;
  min-width: 0;
}

.map-color-legend strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.12;
}

.map-color-legend small {
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.18;
}

.kindness-map-shell {
  overflow: hidden;
  padding: 0.8rem;
}

.kindness-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.kindness-map-toolbar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.48rem 0.7rem;
  background: rgba(255, 250, 241, 0.75);
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.kindness-map-toolbar button.is-active,
.kindness-map-toolbar button:hover,
.kindness-map-toolbar button:focus-visible {
  border-color: rgba(47, 111, 94, 0.28);
  background: rgba(47, 111, 94, 0.12);
  color: var(--green);
}

.live-map-stage {
  min-height: 31rem;
  background:
    linear-gradient(90deg, rgba(47, 111, 94, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 111, 94, 0.08) 1px, transparent 1px),
    linear-gradient(140deg, #f8ead6 0%, #dfe9d3 38%, #c7e2dc 100%);
  background-size: 52px 52px, 52px 52px, auto;
}

.map-river {
  position: absolute;
  inset: -10% 28% -8% auto;
  width: 6rem;
  border-radius: 999px;
  background: rgba(39, 135, 164, 0.24);
  transform: rotate(18deg);
}

.map-district {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 0.36rem 0.58rem;
  background: rgba(255, 250, 241, 0.76);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.district-one {
  left: 12%;
  top: 18%;
}

.district-two {
  right: 16%;
  top: 24%;
}

.district-three {
  left: 42%;
  bottom: 16%;
}

.map-report-pin.food {
  --pin: #d97932;
}

.map-report-pin.water {
  --pin: #2787a4;
}

.map-report-pin.injury {
  --pin: #c64b55;
}

.map-report-pin.medical {
  --pin: #8260a8;
}

.map-report-pin.lost {
  --pin: #d6a22e;
}

.map-report-pin.found {
  --pin: #4f956b;
}

.map-detail-card {
  --detail: #d97932;
  position: sticky;
  top: 5.2rem;
  display: grid;
  gap: 0;
  align-content: start;
  overflow: hidden;
  border: 1px solid rgba(72, 48, 33, 0.12);
  border-radius: 1.15rem;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.97), rgba(255, 250, 241, 0.82)),
    var(--panel-strong);
  box-shadow:
    0 26px 52px rgba(72, 48, 33, 0.18),
    0 4px 0 rgba(255, 255, 255, 0.78) inset;
  transform: translateZ(0);
}

.map-detail-card.food {
  --detail: #d97932;
}

.map-detail-card.water {
  --detail: #2787a4;
}

.map-detail-card.injury {
  --detail: #c64b55;
}

.map-detail-card.medical {
  --detail: #8260a8;
}

.map-detail-card.lost {
  --detail: #d6a22e;
}

.map-detail-card.found {
  --detail: #4f956b;
}

.map-detail-photo {
  position: relative;
  min-height: 15.6rem;
  overflow: hidden;
  border-radius: 1.05rem 1.05rem 0 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 250, 241, 0.62), transparent 27%),
    radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.3), transparent 29%),
    linear-gradient(135deg, color-mix(in srgb, var(--detail) 92%, #fffaf1), color-mix(in srgb, var(--detail) 42%, #fffaf1));
  isolation: isolate;
}

.map-detail-photo::before,
.map-detail-photo::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
}

.map-detail-photo::before {
  right: -3.5rem;
  top: -3.8rem;
  width: 11rem;
  height: 11rem;
  background: rgba(255, 250, 241, 0.22);
}

.map-detail-photo::after {
  left: -2.8rem;
  bottom: -4.6rem;
  width: 13rem;
  height: 9rem;
  background: color-mix(in srgb, var(--detail) 54%, transparent);
  filter: blur(1px);
}

.map-detail-depth {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0.52rem;
  z-index: 1;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(31, 22, 18, 0.18);
  filter: blur(10px);
}

.map-detail-photo img {
  position: absolute;
  right: -11%;
  bottom: -0.65rem;
  z-index: 2;
  width: min(118%, 28rem);
  max-width: none;
  max-height: 16.4rem;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 24px 22px rgba(31, 22, 18, 0.28));
  transform: translateZ(18px);
}

.map-detail-photo.injury img,
.map-detail-photo.medical img,
.map-detail-photo.lost img {
  right: -4%;
  width: min(98%, 22rem);
}

.map-detail-photo.found img {
  right: -3%;
  width: min(92%, 21rem);
}

.map-detail-live-badge,
.map-detail-photo-label {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: 1px solid rgba(255, 250, 241, 0.4);
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  background: rgba(255, 250, 241, 0.88);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(72, 48, 33, 0.14);
  backdrop-filter: blur(12px);
}

.map-detail-live-badge {
  left: 0.82rem;
  top: 0.82rem;
}

.map-detail-photo-label {
  left: 0.82rem;
  bottom: 0.82rem;
  background: rgba(31, 22, 18, 0.58);
  color: #fffaf1;
}

.map-detail-photo-label svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-detail-body {
  display: grid;
  gap: 0.72rem;
  padding: 1rem 1rem 0.85rem;
}

.map-detail-card .danger-link,
.detail-preview-actions .danger-link {
  color: #a93f48;
}

.map-detail-card h3,
.task-completion-card h3,
.volunteer-profile-card h3 {
  margin-bottom: 0;
}

.map-detail-card h3 {
  color: var(--ink);
  font-size: clamp(1.22rem, 2.5vw, 1.56rem);
  line-height: 1.1;
}

.map-detail-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 720;
  line-height: 1.48;
}

.map-detail-tag {
  display: inline-flex;
  width: max-content;
  align-items: center;
  min-height: 2rem;
  border: 1px solid color-mix(in srgb, var(--detail) 28%, transparent);
  border-radius: 999px;
  padding: 0.34rem 0.68rem;
  background: color-mix(in srgb, var(--detail) 14%, #fffaf1);
  color: color-mix(in srgb, var(--detail) 82%, #34251c);
  font-size: 0.82rem;
  font-weight: 950;
}

.map-detail-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.map-detail-card dl div {
  display: grid;
  gap: 0.12rem;
  border: 1px solid rgba(72, 48, 33, 0.1);
  border-radius: 0.78rem;
  padding: 0.58rem 0.62rem;
  background: rgba(255, 250, 241, 0.72);
}

.map-detail-card dt {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.map-detail-card dd {
  margin: 0;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 900;
}

.map-detail-actions {
  display: grid;
  gap: 0.55rem;
  padding: 0 1rem 1rem;
}

.map-detail-actions .primary-button,
.map-detail-actions .secondary-button,
.map-detail-actions .ghost-button {
  justify-content: center;
  width: 100%;
}

.volunteer-profile-card {
  position: sticky;
  top: 5.2rem;
  display: grid;
  gap: 0.85rem;
}

.kindness-volunteer-section .volunteer-profile-card {
  gap: 0.68rem;
  padding: 1rem;
}

.kindness-volunteer-section .volunteer-profile-card .eyebrow {
  color: #c8693f;
  font-size: 0.74rem;
}

.kindness-volunteer-section .volunteer-profile-card h3 {
  color: #173e34;
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.08;
}

.kindness-volunteer-section .volunteer-profile-card p:not(.eyebrow) {
  margin: 0;
  color: #4b332a;
  font-size: 0.94rem;
  font-weight: 780;
  line-height: 1.42;
}

.volunteer-avatar,
.score-avatar {
  display: grid;
  width: 3.8rem;
  height: 3.8rem;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(145deg, var(--green), var(--teal));
  color: #fffaf1;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(47, 111, 94, 0.18);
}

.kindness-volunteer-section .volunteer-avatar {
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 0.92rem;
}

.volunteer-skill-tags,
.badge-cloud,
.score-rule-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.volunteer-history {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.volunteer-history article {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.7rem;
  background: rgba(255, 250, 241, 0.72);
}

.kindness-volunteer-section .volunteer-history {
  gap: 0.42rem;
}

.kindness-volunteer-section .volunteer-history article {
  border: 2px solid rgba(47, 111, 94, 0.16);
  padding: 0.58rem;
  background: rgba(255, 250, 241, 0.86);
}

.volunteer-history strong {
  display: block;
  font-size: 1.05rem;
}

.kindness-volunteer-section .volunteer-history strong {
  color: #173e34;
  font-size: 1rem;
}

.kindness-volunteer-section .volunteer-history span {
  color: #5d4539;
  font-size: 0.76rem;
  font-weight: 820;
}

.volunteer-history span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.kindness-detail-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(20rem, 1.18fr);
  gap: 1rem;
  align-items: stretch;
}

.detail-preview-media,
.detail-preview-card {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--panel-strong);
  box-shadow: 0 16px 42px rgba(72, 48, 33, 0.12);
}

.detail-preview-media {
  display: grid;
  grid-template-rows: minmax(16rem, 1fr) auto;
  overflow: hidden;
}

.detail-preview-photo {
  display: grid;
  min-height: 18rem;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.14), rgba(31, 22, 18, 0.14)),
    linear-gradient(135deg, #d97932, #f3c57d);
  color: #fffaf1;
}

.detail-preview-photo.water {
  background: linear-gradient(135deg, #2787a4, #a4d9e5);
}

.detail-preview-photo.injury {
  background: linear-gradient(135deg, #c64b55, #f2a19f);
}

.detail-preview-photo.medical {
  background: linear-gradient(135deg, #8260a8, #d2b5df);
}

.detail-preview-photo.lost {
  background: linear-gradient(135deg, #d6a22e, #f5d982);
}

.detail-preview-photo.found {
  background: linear-gradient(135deg, #4f956b, #b6d9a7);
}

.detail-preview-photo span {
  display: grid;
  width: 5.8rem;
  height: 5.8rem;
  place-items: center;
  border: 1px solid rgba(255, 250, 241, 0.32);
  border-radius: 1.35rem;
  background: rgba(255, 250, 241, 0.18);
  backdrop-filter: blur(10px);
}

.detail-preview-photo svg {
  width: 3.2rem;
  height: 3.2rem;
}

.detail-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.75rem;
}

.detail-proof-strip span {
  display: grid;
  min-height: 3.2rem;
  place-items: center;
  border: 1px dashed rgba(72, 48, 33, 0.2);
  border-radius: 0.78rem;
  background: rgba(255, 250, 241, 0.78);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.detail-preview-card {
  display: grid;
  gap: 0.8rem;
  align-content: center;
  padding: clamp(1rem, 2.2vw, 1.35rem);
}

.detail-preview-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.detail-preview-tags,
.detail-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
}

.detail-preview-tags span,
.detail-preview-map {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.68rem;
  background: rgba(255, 250, 241, 0.78);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.detail-preview-map {
  width: fit-content;
  border-color: rgba(47, 111, 94, 0.2);
  background: rgba(47, 111, 94, 0.1);
  color: var(--green);
}

.detail-preview-map svg {
  width: 1rem;
  height: 1rem;
}

.status-step-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.status-step-row span {
  justify-content: center;
  min-height: 2.6rem;
  border-radius: 0.78rem;
  text-align: center;
}

.task-completion-card .proof-panel {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.task-sla-card {
  border-color: rgba(47, 111, 94, 0.22);
  background:
    linear-gradient(135deg, rgba(47, 111, 94, 0.1), rgba(255, 250, 241, 0.88)),
    var(--panel-strong);
}

.task-sla-card strong {
  color: var(--green);
}

.kindness-score-section {
  display: grid;
  gap: 1rem;
}

.scoreboard-table {
  display: grid;
  gap: 0.6rem;
}

.scoreboard-table article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 0.78rem;
  background: rgba(255, 250, 241, 0.72);
}

.scoreboard-table small {
  display: block;
  margin-top: 0.16rem;
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 760;
}

.score-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, #d97932, #2f6f5e);
  font-size: 0.9rem;
}

.score-avatar.photo {
  overflow: hidden;
  background: rgba(255, 250, 241, 0.74);
}

.score-avatar.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.score-badges {
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  background: rgba(216, 155, 61, 0.16);
  color: #8a5719;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.recent-kindness-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.recent-kindness-feed article,
.admin-queue-preview article {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.78rem;
  background: rgba(255, 250, 241, 0.72);
}

.recent-kindness-feed span {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.recent-kindness-feed p,
.admin-queue-preview p {
  margin-bottom: 0;
  color: var(--muted);
}

.kindness-admin-section {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(47, 111, 94, 0.1), rgba(216, 155, 61, 0.11)),
    var(--panel-strong);
}

.admin-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.admin-queue-preview {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.admin-queue-preview article {
  display: grid;
  gap: 0.2rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.82), rgba(47, 111, 94, 0.08)),
    rgba(255, 250, 241, 0.72);
}

.admin-queue-preview span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.8rem;
  background: var(--green);
  color: #fffaf1;
  font-weight: 950;
}

.admin-feature-grid article {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.8rem;
  background: rgba(255, 250, 241, 0.72);
}

.admin-feature-grid article p {
  margin-bottom: 0;
}

.primary-button.small,
.secondary-button.small {
  min-height: 2.25rem;
  padding: 0.5rem 0.72rem;
  font-size: 0.86rem;
}

@keyframes floatTrail {
  0%,
  100% {
    transform: translateY(0) rotate(-18deg);
  }
  50% {
    transform: translateY(-0.9rem) rotate(-18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1320px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: auto minmax(12rem, 1fr) auto;
  }

  .site-search {
    grid-column: auto;
    order: initial;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
  }

  .compact-header .simple-nav {
    display: flex;
  }

  .kindness-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .mobile-menu {
    justify-self: stretch;
  }

  .mobile-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .portal-hero {
    grid-template-columns: 1fr;
  }

  .page-shell {
    grid-template-columns: 1fr;
  }

  .marketplace-hero,
  .marketplace-layout {
    grid-template-columns: 1fr;
  }

  .marketplace-filter-panel {
    position: static;
  }

  .compact-listing-detail,
  .listing-detail-compact .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .listing-detail-compact .safe-contact-card {
    position: static;
  }

  .panel-report-head {
    display: grid;
    align-items: start;
  }

  .page-sidebar {
    position: static;
  }

  .adoption-directory-head,
  .adoption-results-head {
    display: grid;
    align-items: start;
  }

  .adoption-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .auth-shell {
    grid-template-columns: 1fr;
    width: min(100% - 1rem, 40rem);
    padding-top: 1rem;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions {
    justify-content: stretch;
  }

  .cookie-consent-actions button {
    flex: 1;
  }

  .page-sidebar {
    position: static;
  }

  .shop-sidebar {
    position: static;
  }

  .shop-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-title {
    grid-column: 1 / -1;
  }

  .portal-promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-safety-simple {
    grid-template-columns: 1fr;
  }

  .featured-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .featured-listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-control-center {
    grid-template-columns: 1fr;
  }

  .control-copy h1 {
    max-width: 16ch;
  }

  .control-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .need-map-head {
    display: grid;
    align-items: start;
  }

  .need-path-grid {
    grid-template-columns: 1fr;
  }

  .need-pill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-emergency-gateway {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .emergency-category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emergency-actions {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  }

  .simple-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 1.05fr);
    width: min(var(--container), calc(100% - 2rem));
    min-height: auto;
    padding-block: clamp(0.9rem, 2.5vh, 1.8rem);
  }

  .simple-hero h1 {
    max-width: 15ch;
    font-size: clamp(2.15rem, min(4.4vw, 5.8vh), 3.8rem);
  }

  .simple-hero-image img {
    height: min(34vw, calc(100svh - 13rem), 23rem);
  }

  .home-actions-simple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-trust-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .animal-fx-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-command-grid,
  .footer-social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-chat-section,
  .footer-social-panel {
    grid-template-columns: 1fr;
  }

  .contact-chat-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-page-content .compact-social-fx .social-fx-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-safety-simple {
    display: grid;
    align-items: start;
  }

  .hero-section,
  .category-heading,
  .listing-detail-layout,
  .safety-section,
  .market-teaser {
    grid-template-columns: 1fr;
  }

  .detail-content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.75fr);
  }

  .safe-contact-card {
    position: static;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .trust-strip,
  .category-grid,
  .listing-grid,
  .commerce-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .compact-header .simple-nav {
    display: none;
  }

  .help-hero,
  .help-workspace,
  .location-security,
  .kindness-hero,
  .kindness-page-nav,
  .kindness-workspace,
  .kindness-map-layout,
  .kindness-volunteer-section,
  .kindness-task-section,
  .kindness-detail-section,
  .kindness-admin-section {
    grid-template-columns: 1fr;
  }

  .access-badge-grid {
    grid-template-columns: 1fr;
  }

  .kindness-page-nav-head {
    min-width: 0;
    border-bottom: 1px solid rgba(72, 48, 33, 0.1);
    padding: 0 0 0.62rem;
  }

  .kindness-page-nav-links {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.12rem;
    scrollbar-width: thin;
  }

  .kindness-page-nav-links a,
  .theme-switch-card {
    flex: 0 0 min(18rem, 82vw);
    min-width: min(18rem, 82vw);
  }

  .help-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-map-preview {
    min-height: 22rem;
  }

  .volunteer-profile-card {
    position: static;
  }

  .status-step-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-queue-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .featured-listings-head {
    display: grid;
    align-items: start;
  }

  .featured-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lost-found-shell {
    grid-template-columns: 1fr;
  }

  .lost-found-sidebar {
    position: static;
  }

  .lost-found-sidebar a {
    grid-template-columns: minmax(0, 1fr);
  }

  .lost-found-action {
    grid-template-columns: 2.2rem 2.55rem minmax(0, 1fr);
  }

  .lost-found-action a {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .lost-found-safety {
    grid-template-columns: 1fr;
  }

  .milk-mother-shell {
    grid-template-columns: 1fr;
  }

  .milk-mother-sidebar {
    position: static;
  }

  .milk-action-card {
    grid-template-columns: 2.2rem 2.55rem minmax(0, 1fr);
  }

  .milk-card-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .milk-report-form .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .milk-proof-grid,
  .milk-safety-strip {
    grid-template-columns: 1fr;
  }

  .volunteer-application-form .form-grid,
  .kindness-volunteer-section .volunteer-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .simple-hero {
    grid-template-columns: 1fr;
    width: min(42rem, calc(100% - 2rem));
  }

  .animated-category-stage {
    width: min(42rem, calc(100% - 2rem));
    padding: 0.9rem;
  }

  .category-stage-copy {
    display: block;
  }

  .animal-fx-grid {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.15rem 0 0.55rem;
    scroll-snap-type: x mandatory;
  }

  .animal-fx-card {
    flex: 0 0 min(78vw, 18rem);
    min-height: 16rem;
    scroll-snap-align: start;
  }

  .adoption-type-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .marketplace-listing-card {
    grid-template-columns: minmax(7.5rem, 9rem) minmax(0, 1fr);
  }

  .ad-submit-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-photo-stack {
    min-height: 8.4rem;
  }

  .marketplace-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .simple-hero-image img {
    height: min(45vw, 17rem);
  }
}

@media (max-width: 720px) {
  .site-header,
  .header-actions {
    align-items: stretch;
  }

  .site-header {
    position: relative;
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
  }

  .site-header > .brand,
  .site-header > .site-search,
  .site-header > .header-actions {
    grid-column: 1 / -1;
  }

  .site-search {
    max-width: none;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: stretch;
    white-space: normal;
  }

  .header-actions a,
  .header-actions button {
    flex: 1 1 auto;
  }

  .emergency-header-button .label-desktop {
    display: none;
  }

  .emergency-header-button .label-mobile {
    display: inline;
  }

  .compact-header {
    grid-template-columns: 1fr;
  }

  .compact-header .brand {
    justify-self: start;
  }

  .compact-header .header-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: stretch;
  }

  .header-actions a {
    flex: 1;
    min-width: 0;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .brand small {
    display: none;
  }

  .site-search input {
    padding-block: 0.62rem;
  }

  .site-search button {
    padding-inline: 0.85rem;
  }

  .primary-button,
  .secondary-button,
  .ghost-button,
  .card-button,
  .menu-button {
    min-height: 2.45rem;
    padding: 0.62rem 0.8rem;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .portal-hero {
    padding-top: 1rem;
  }

  .shop-sidebar,
  .portal-promo-grid,
  .portal-action-panel {
    grid-template-columns: 1fr;
  }

  .portal-main h1 {
    font-size: clamp(2.35rem, 13vw, 3.9rem);
  }

  .simple-hero {
    gap: 0.75rem;
    padding-top: 0.85rem;
    padding-bottom: 1rem;
  }

  .simple-hero h1 {
    max-width: 16ch;
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.04;
  }

  .simple-hero .hero-text {
    margin-bottom: 0.65rem;
    font-size: 0.98rem;
  }

  .simple-hero-image img {
    height: min(36vw, 10.5rem);
    min-height: 8rem;
  }

  .hero-search-card {
    margin: 0.65rem 0;
    padding: 0.72rem;
  }

  .link-hub-page {
    width: min(100% - 1rem, 34rem);
    padding-top: 0.75rem;
  }

  .link-hub-hero {
    border-radius: 1rem;
    padding: 1.05rem;
  }

  .link-hub-logo {
    width: 5.2rem;
    border-radius: 1.4rem;
  }

  .link-hub-official {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .link-hub-hero h1 {
    font-size: clamp(1.9rem, 10vw, 2.55rem);
  }

  .link-hub-hero-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .official-site-button,
  .quick-action-button {
    justify-items: center;
    text-align: center;
  }

  .link-hub-proof-row {
    gap: 0.35rem;
  }

  .link-hub-proof-row span {
    font-size: 0.78rem;
    padding: 0.36rem 0.55rem;
  }

  .link-hub-card {
    grid-template-columns: 3.9rem minmax(0, 1fr);
    border-radius: 0.85rem;
    padding: 0.85rem;
  }

  .link-hub-card span {
    width: 3.9rem;
    font-size: 0.7rem;
  }

  .hero-search-card div,
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .hero-search-card a,
  .hero-actions a {
    width: 100%;
    text-align: center;
  }

  .home-actions-simple {
    grid-template-columns: 1fr;
  }

  .home-trust-metrics {
    grid-template-columns: 1fr;
  }

  .logo-live-preview {
    grid-template-columns: 1fr;
    margin-top: 0.75rem;
    padding: 1rem;
  }

  .logo-live-grid {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.15rem 0 0.4rem;
    scroll-snap-type: x mandatory;
  }

  .logo-live-grid article {
    flex: 0 0 min(72vw, 15rem);
    scroll-snap-align: start;
  }

  .hero-section {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero-visual {
    min-height: 35rem;
  }

  .main-animal,
  .process-card,
  .privacy-card {
    left: 0;
    right: auto;
    width: 100%;
    transform: none;
  }

  .process-card {
    top: 16rem;
  }

  .privacy-card {
    bottom: 0;
  }

  .paw-trail {
    display: none;
  }

  .trust-strip,
  .steps-grid,
  .category-grid,
  .category-row,
  .link-hub-trust,
  .social-fx-section,
  .listing-grid,
  .commerce-columns,
  .safety-grid,
  .dashboard-shell,
  .stat-row,
  .site-footer,
  .help-flow-grid,
  .form-grid,
  .upload-location-grid,
  .help-report-form fieldset,
  .contact-command-grid,
  .kindness-quality-rules,
  .volunteer-check-grid,
  .admin-feature-grid,
  .volunteer-history {
    grid-template-columns: 1fr;
  }

  .contact-chat-section,
  .footer-social-panel {
    width: 100%;
  }

  .contact-chat-widget {
    min-height: 22rem;
  }

  .help-hero,
  .help-workspace,
  .location-security,
  .help-flow-grid,
  .kindness-hero,
  .kindness-page-nav,
  .kindness-section,
  .kindness-workspace,
  .kindness-map-section,
  .kindness-volunteer-section,
  .kindness-task-section,
  .kindness-score-section,
  .kindness-detail-section,
  .kindness-admin-section {
    width: min(100% - 2rem, 42rem);
  }

  .help-hero h1,
  .kindness-hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .help-map-preview {
    min-height: 18rem;
  }

  .map-alert-card,
  .map-task-card {
    position: relative;
    inset: auto;
    margin: 1rem;
  }

  .safe-radius {
    left: auto;
    right: 2rem;
    top: 8rem;
    width: 6rem;
    height: 6rem;
  }

  .kindness-command-panel,
  .kindness-report-form,
  .kindness-matching-panel,
  .kindness-map-shell,
  .map-detail-card,
  .volunteer-application-form,
  .volunteer-profile-card,
  .task-status-board,
  .task-completion-card,
  .kindness-score-section,
  .kindness-admin-section {
    border-radius: 1rem;
  }

  .kindness-category-grid {
    grid-template-columns: 1fr;
  }

  .selected-kindness-banner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .selected-kindness-banner .secondary-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .command-map-surface,
  .live-map-stage {
    min-height: 20rem;
  }

  .kindness-photo-panel,
  .task-completion-card .proof-panel {
    grid-template-columns: 1fr;
  }

  .kindness-publish-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-color-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -0.15rem;
  }

  .map-color-legend article {
    min-height: 4rem;
    padding: 0.58rem;
  }

  .matching-rule-list {
    grid-template-columns: 1fr;
  }

  .photo-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-panel-head {
    display: grid;
  }

  .location-panel-head .primary-button,
  .kindness-photo-panel .secondary-button,
  .task-completion-card .secondary-button,
  .task-actions button,
  .map-detail-actions button {
    width: 100%;
  }

  .kindness-map-toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-step-row {
    grid-template-columns: 1fr;
  }

  .recent-kindness-feed,
  .admin-queue-preview {
    grid-template-columns: 1fr;
  }

  .detail-preview-media {
    grid-template-rows: minmax(13rem, 1fr) auto;
  }

  .detail-preview-photo {
    min-height: 13rem;
  }

  .detail-preview-actions button {
    width: 100%;
  }

  .scoreboard-table article {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .scoreboard-table article > .score-badges,
  .scoreboard-table article > strong:last-child {
    grid-column: 2;
    width: max-content;
  }

  .access-table div {
    display: grid;
  }

  .access-table span {
    text-align: left;
  }

  .access-badge-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .access-level-tag {
    grid-column: 2;
    justify-self: start;
    max-width: 100%;
    text-align: left;
  }

  .dashboard-shell aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-row {
    grid-template-columns: 2.5rem 1fr;
  }

  .social-fx-section {
    width: min(100% - 2rem, 48rem);
  }

  .social-fx-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-fx-card.instagram,
  .social-fx-card.tiktok,
  .social-fx-card.youtube,
  .social-fx-card.facebook,
  .social-fx-card.linkedin {
    grid-column: span 1;
  }

  .category-row .category-icon {
    grid-row: span 2;
  }

  .category-row a,
  .category-row > span:last-child {
    grid-column: 1 / -1;
    justify-content: center;
    text-align: center;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-social-links {
    grid-template-columns: 1fr;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .detail-photo {
    min-height: 18rem;
  }

  .detail-content-grid,
  .detail-title-row {
    grid-template-columns: 1fr;
  }

  .detail-title-row {
    display: grid;
  }

  .detail-info div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

@media (max-width: 620px) {
  .featured-listings-hub {
    padding: 1rem 0.5rem;
  }

  .featured-filter-panel {
    padding: 0.56rem;
  }

  .featured-type-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .featured-type-tabs button,
  .featured-filter-footer button,
  .featured-pagination button {
    min-height: 2.1rem;
    padding: 0.42rem 0.5rem;
    font-size: 0.78rem;
  }

  .featured-filter-grid {
    gap: 0.38rem;
  }

  .featured-filter-grid label {
    font-size: 0.73rem;
  }

  .featured-filter-grid select {
    padding: 0.42rem 0.44rem;
    font-size: 0.78rem;
  }

  .featured-filter-footer {
    display: grid;
    align-items: start;
  }

  .volunteer-application-form .form-grid,
  .milk-report-form .form-grid,
  .kindness-volunteer-section .volunteer-check-grid {
    grid-template-columns: 1fr;
  }

  .featured-listing-grid {
    gap: 0.45rem;
  }

  .featured-listing-photo {
    min-height: 5.9rem;
  }

  .listing-detail-compact {
    padding-inline: 0.5rem;
  }

  .listing-detail-compact .detail-title-row,
  .panel-report-card-top,
  .panel-report-actions {
    display: grid;
    align-items: start;
  }

  .listing-thumbnail-row {
    grid-template-columns: repeat(5, minmax(3.2rem, 1fr));
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .gallery-nav {
    width: 2rem;
    height: 2rem;
  }

  .gallery-zoom-button {
    max-width: calc(100% - 1.4rem);
  }

  .panel-report-stats {
    grid-template-columns: 1fr;
  }

  .panel-session-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .panel-session-card em {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .featured-listing-photo img {
    height: 5.35rem;
  }

  .featured-listing-body {
    gap: 0.34rem;
    padding: 0.5rem;
  }

  .featured-listing-body h3 {
    font-size: 0.94rem;
  }

  .featured-listing-body p {
    min-height: 2.25em;
    font-size: 0.7rem;
  }

  .featured-listing-body dl div {
    grid-template-columns: 2.65rem minmax(0, 1fr);
  }

  .featured-listing-body dt,
  .featured-listing-body dd {
    font-size: 0.62rem;
  }

  .featured-listing-body > a {
    min-height: 1.9rem;
    font-size: 0.74rem;
  }

  .mobile-menu {
    max-height: none;
    overflow: visible;
    border-radius: 0.95rem;
    padding: 0.52rem;
    gap: 0.5rem;
  }

  .mobile-menu-head {
    display: grid;
    gap: 0.12rem;
    padding-bottom: 0.42rem;
  }

  .mobile-menu-head span {
    font-size: 0.7rem;
  }

  .mobile-menu-grid {
    gap: 0.34rem;
  }

  .mobile-menu-group {
    border-radius: 0.78rem;
    gap: 0.16rem;
    padding: 0.4rem;
  }

  .mobile-menu-group > strong {
    font-size: 0.7rem;
  }

  .mobile-menu a {
    min-height: 1.78rem;
    border-radius: 0.6rem;
    padding: 0.32rem 0.38rem;
    font-size: 0.7rem;
  }

  .home-control-center,
  .home-need-map {
    width: min(42rem, calc(100% - 1rem));
    border-radius: 1rem;
    padding: 0.85rem;
  }

  .control-copy {
    gap: 0.65rem;
  }

  .control-copy h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .control-copy p {
    font-size: 0.92rem;
  }

  .control-mini-row span {
    font-size: 0.72rem;
  }

  .control-action-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .control-action-card {
    min-height: auto;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.52rem 0.64rem;
    border-radius: 0.86rem;
    padding: 0.68rem;
  }

  .control-action-card small {
    grid-column: 2;
  }

  .control-account-strip a {
    flex: 1 1 calc(50% - 0.5rem);
    text-align: center;
  }

  .need-map-head h2 {
    font-size: clamp(1.55rem, 7.5vw, 2.05rem);
  }

  .need-path-card {
    padding: 0.72rem;
  }

  .need-pill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .need-pill-grid a {
    min-height: 2.45rem;
    font-size: 0.78rem;
  }

  .home-emergency-gateway {
    grid-template-columns: auto minmax(0, 1fr);
    width: min(42rem, calc(100% - 1rem));
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .emergency-pulse {
    width: 3.8rem;
    align-self: start;
  }

  .emergency-copy h1 {
    font-size: clamp(1.24rem, 6.4vw, 1.7rem);
    margin-bottom: 0.35rem;
  }

  .emergency-copy p {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .emergency-category-list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    margin-top: 0.65rem;
  }

  .emergency-category-chip {
    min-height: 3.25rem;
    padding: 0.46rem 0.5rem;
  }

  .emergency-category-chip span {
    width: 1.95rem;
    height: 1.95rem;
    border-radius: 0.58rem;
    font-size: 0.7rem;
  }

  .emergency-category-chip strong {
    font-size: 0.8rem;
  }

  .emergency-category-chip small {
    font-size: 0.66rem;
  }

  .emergency-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .emergency-primary,
  .emergency-secondary {
    min-height: 2.95rem;
    border-radius: 0.85rem;
    padding: 0.68rem 0.82rem;
  }

  .adoption-page-shell {
    padding-inline: 0.5rem;
  }

  .adoption-page-content {
    padding: 0.75rem;
  }

  .adoption-directory-line {
    padding: 0.9rem;
  }

  .adoption-directory-head h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .adoption-type-grid {
    gap: 0.45rem;
  }

  .adoption-type-card {
    min-height: 12.6rem;
    padding: 0.5rem;
  }

  .adoption-type-card img {
    height: 5.9rem;
  }

  .adoption-type-card strong {
    font-size: 0.88rem;
  }

  .adoption-type-card small {
    font-size: 0.74rem;
  }

  .marketplace-page {
    width: min(42rem, calc(100% - 1rem));
  }

  .marketplace-hero {
    padding: 0.9rem;
  }

  .marketplace-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.55rem);
  }

  .marketplace-results-head,
  .marketplace-card-top,
  .marketplace-card-actions {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .marketplace-card-actions .secondary-button {
    width: 100%;
  }

  .ad-submit-head {
    display: grid;
    align-items: start;
  }

  .ad-photo-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-block: 0.55rem;
  }

  .social-fx-section {
    width: min(100% - 1rem, 32rem);
    border-radius: 1rem;
    padding: 1rem;
  }

  .social-fx-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .social-fx-copy .primary-button {
    width: 100%;
  }

  .social-fx-stage {
    grid-template-columns: 1fr;
  }

  .contact-page-content .compact-social-fx .social-fx-stage {
    grid-template-columns: 1fr;
  }

  .social-fx-card {
    min-height: 8.7rem;
  }

  .link-hub-social-stage .social-fx-card {
    min-height: 8.7rem;
  }

  .social-fx-icon {
    width: clamp(3.55rem, 18vw, 4.15rem);
    top: 0.72rem;
    right: 0.72rem;
  }

  .social-fx-card:hover {
    transform: translateY(-0.2rem);
  }

  .animal-fx-card {
    flex-basis: min(82vw, 17rem);
  }

  .simple-hero {
    padding-top: 0.65rem;
  }

  .simple-hero h1 {
    font-size: clamp(1.85rem, 7.2vw, 2.35rem);
  }

  .simple-hero-image img {
    height: min(22vw, 7rem);
    min-height: 6rem;
  }

  .hero-search-card {
    gap: 0.5rem;
    margin: 0.5rem 0;
  }

  .kindness-trust-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .kindness-category-card {
    min-height: auto;
  }

  .command-alert-card {
    width: 100%;
    margin-top: -2rem;
  }

  .kindness-pin,
  .map-report-pin {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 0.82rem;
  }

  .map-district {
    font-size: 0.72rem;
  }

  .mini-map-pin {
    left: 52%;
    max-width: calc(100% - 1rem);
    white-space: nowrap;
  }

  .mini-map-verify small {
    left: 0.55rem;
    right: 0.55rem;
    max-width: none;
  }

  .map-detail-photo img,
  .map-detail-photo.injury img,
  .map-detail-photo.medical img,
  .map-detail-photo.lost img,
  .map-detail-photo.found img {
    right: -2%;
    width: min(104%, 22rem);
    max-width: 104%;
  }
}
