.landing-page {
	background: radial-gradient(circle at 20% 30%, #fffaff 0, var(--lavender) 46%, #eee0f8 100%);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.landing-header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding: 28px clamp(24px, 7vw, 100px);
}

.landing-header__note {
	color: #684982;
	font-size: 13px;
	font-weight: 600;
}

.landing-main {
	align-items: center;
	display: grid;
	flex: 1;
	align-content: center;
	column-gap: clamp(40px, 7vw, 100px);
	grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
	grid-template-areas:
		"title signup"
		"details signup";
	margin: 0 auto;
	max-width: 1280px;
	padding: 48px clamp(24px, 7vw, 100px) 72px;
	width: 100%;
}

.landing-title {
	grid-area: title;
}

.landing-details {
	grid-area: details;
}

.landing-signup {
	grid-area: signup;
}

.landing-eyebrow,
.landing-signup__eyebrow {
	color: #76508e;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.landing-title h1 {
	font-family: 'Fraunces', serif;
	font-size: clamp(44px, 6vw, 76px);
	letter-spacing: -.04em;
	line-height: 1.08;
	margin: 22px 0;
}

.landing-title h1 em {
	color: #a45ac2;
}

.landing-description {
	color: #684982;
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.65;
	max-width: 580px;
}

.landing-highlights {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.landing-highlights > span {
	background: rgba(255, 255, 255, .7);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	padding: 10px 14px;
}

.landing-signup {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 28px;
	box-shadow: 0 20px 60px rgba(61, 36, 83, .12);
	padding: clamp(26px, 4vw, 42px);
}

.landing-signup__icon {
	align-items: center;
	background: var(--lavender);
	border-radius: 18px;
	color: #a45ac2;
	display: flex;
	height: 54px;
	justify-content: center;
	width: 54px;
}

.landing-signup__eyebrow {
	margin: 24px 0 10px;
}

.landing-signup h2 {
	font-family: 'Fraunces', serif;
	font-size: 30px;
	line-height: 1.15;
	margin: 0 0 12px;
}

.landing-signup > p:not(.landing-signup__eyebrow):not(.landing-success) {
	color: #684982;
	line-height: 1.6;
}

.landing-form {
	display: grid;
	gap: 8px;
	margin-top: 24px;
}

.landing-form label {
	font-size: 14px;
	font-weight: 700;
}

.landing-form input[type="email"] {
	background: #fff;
	border: 1px solid #76508e;
	border-radius: 12px;
	color: var(--ink);
	font: inherit;
	font-size: 16px;
	min-height: 52px;
	padding: 12px 14px;
	width: 100%;
}

.landing-form input[type="submit"] {
	background: #684982;
	border: 0;
	border-radius: 12px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	margin-top: 6px;
	min-height: 52px;
	padding: 12px 18px;
}

.landing-form input:focus-visible,
.landing-header a:focus-visible {
	outline: 3px solid #76508e;
	outline-offset: 3px;
}

.landing-form input[type="submit"]:hover {
	background: #523766;
}

.landing-error {
	color: #873e37;
	font-size: 14px;
	margin: 0;
}

.landing-success {
	background: #edf7ee;
	border-radius: 10px;
	color: #24552d;
	padding: 12px;
}

.landing-signup .landing-signup__note {
	font-size: 12px;
	margin-bottom: 0;
}

.landing-footer {
	color: #684982;
	font-size: 12px;
	padding: 24px;
	text-align: center;
}

@media (max-width: 760px) {
	.landing-header__note {
		display: none;
	}

	.landing-main {
		align-content: start;
		row-gap: 24px;
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"title"
			"signup"
			"details";
		padding-top: 20px;
	}
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,700&display=swap');

:root {
	--ink: #3d2453;
	--muted: #8965a6;
	--lavender: #f8f0ff;
	--lavender-deep: #e7ccf3;
	--line: #e7d9ef;
	--white: #fefcff;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	background: var(--lavender);
	color: var(--ink);
	font-family: 'DM Sans', sans-serif;
}

.application-shell {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

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

.welcome-page {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	background: radial-gradient(circle at 50% 42%, #fffaff 0, var(--lavender) 48%, #f2e7fb 100%);
	overflow: hidden;
	position: relative;
}

.welcome-page > :not(.pixel-pets) {
	position: relative;
	z-index: 1;
}

.pixel-pets {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.pixel-pet {
	left: 0;
	position: absolute;
	top: 0;
	animation: pixel-pet-in .6s steps(4, end) both;
}

.pixel-pet__svg {
	display: block;
	image-rendering: pixelated;
}

.pixel-pet--sniff .pixel-pet__svg {
	margin-top: 4px;
}

@keyframes pixel-pet-in {
	0% { opacity: 0; }
	25% { opacity: 1; }
	50% { opacity: 0; }
	75%, 100% { opacity: 1; }
}

.signup-card {
	margin: 3em auto;
}

.site-header {
	align-items: center;
	border-bottom: 1px solid var(--line);
	display: flex;
	height: 68px;
	justify-content: space-between;
	padding: 0 clamp(24px, 8vw, 94px);
}

.brand,
.site-nav,
.site-nav a,
.choice,
.brand-copy {
	align-items: center;
	display: flex;
}

.brand {
	gap: 9px;
}

.brand-mark {
	align-items: center;
	background: var(--lavender-deep);
	border-radius: 12px;
	display: flex;
	font-size: 28px;
	height: 32px;
	justify-content: center;
	line-height: 0;
	width: 32px;
}

.brand-copy {
	flex-direction: column;
	align-items: flex-start;
	line-height: 1;
}

.brand-copy strong {
	font-size: 16px;
	letter-spacing: -0.5px;
}

.brand-copy small {
	color: var(--muted);
	font-size: 7px;
	font-weight: 700;
	letter-spacing: 1.5px;
	margin-top: 3px;
}

.site-nav {
	gap: clamp(18px, 3vw, 37px);
}

.site-nav a {
	color: #684982;
	font-size: 11px;
	gap: 6px;
	white-space: nowrap;
}

.site-nav a span {
	font-size: 16px;
}

.site-nav a .notification-badge {
	align-items: center;
	background: #a34843;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 10px;
	font-weight: 700;
	height: 18px;
	justify-content: center;
	min-width: 18px;
	padding: 0 5px;
}

.site-nav a .notification-badge[hidden],
.notification-badge[hidden] {
	display: none;
}

.friend-conversation__header .notification-badge {
	align-items: center;
	background: #a34843;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	height: 22px;
	justify-content: center;
	min-width: 22px;
	padding: 0 6px;
}

.friend-conversation__header .notification-badge[hidden] {
	display: none;
}

.nav-action {
	background: transparent;
	border: 0;
	color: #684982;
	cursor: pointer;
	font: inherit;
	padding: 0;
}

.flash-message {
	background: #fff;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	margin: 0;
	padding: 12px 20px;
	text-align: center;
}

.flash-message.alert {
	color: #873e37;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.choice:hover,
.choice:focus-visible {
	color: #7b42a1;
}

.mobile-menu-button {
	display: none;
}

@media (min-width: 681px) {
	.site-nav--mobile {
		display: none;
	}
}

.welcome-content {
	flex: 1;
	padding: 26px 20px 46px;
}

.intro {
	text-align: center;
}

.intro h1 {
	font-size: clamp(34px, 4vw, 48px);
	letter-spacing: -2.5px;
	margin: 0;
}

.intro h1 em {
	color: #d7a8e8;
	font-style: normal;
}

.intro p {
	color: var(--muted);
	font-size: 15px;
	font-style: italic;
	margin: 5px 0 28px;
}

.radar-graphic {
	background:
		radial-gradient(circle at 50% 50%, rgba(170, 120, 206, .14), transparent 58%),
		linear-gradient(180deg, #1f1230 0%, #35214b 100%);
	border: 1px solid rgba(215, 175, 238, .45);
	border-radius: 28px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), 0 18px 44px rgba(63, 35, 81, .18);
	isolation: isolate;
	margin: 0 auto 26px;
	max-width: 420px;
	overflow: hidden;
	padding: 12px;
	position: relative;
}

.radar-graphic::before,
.radar-graphic::after {
	border-radius: 50%;
	content: "";
	inset: 12px;
	position: absolute;
}

.radar-graphic::before {
	background: conic-gradient(from 0deg,
			rgba(165, 244, 255, .18) 0 18%,
			rgba(165, 244, 255, .06) 18% 22%,
			transparent 22% 100%);
	animation: radar-scan 4s linear infinite;
	box-shadow: 0 0 28px rgba(124, 228, 255, .25);
	z-index: 1;
}

.radar-graphic::after {
	background: radial-gradient(circle at 50% 50%, transparent 0 60%, rgba(132, 81, 170, .08) 100%);
	box-shadow: inset 0 0 30px rgba(99, 62, 120, .35);
	z-index: 0;
}

.radar-graphic-svg {
	display: block;
	height: auto;
	position: relative;
	width: 100%;
	z-index: 2;
}

.radar-graphic__ring {
	fill: none;
	stroke: rgba(135, 240, 255, .22);
	stroke-width: 1.3;
}

.radar-graphic__ring--outer {
	stroke-dasharray: 7 11;
}

.radar-graphic__ring--mid {
	stroke-dasharray: 5 9;
}

.radar-graphic__ring--inner {
	stroke-dasharray: 4 8;
}

.radar-graphic__core {
	fill: rgba(255, 255, 255, .96);
	stroke: #a7f0ff;
	stroke-width: 2;
}

.radar-graphic__pulse {
	fill: none;
	stroke: rgba(135, 240, 255, .18);
	stroke-width: 2;
}

.radar-animal {
	animation: animal-appear 12s infinite;
	font-size: 30px;
	line-height: 1;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transform: translate(-50%, -50%);
	z-index: 3;
}

@keyframes radar-scan {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.radar-animal--cat {
	animation-delay: 0s;
	left: 73%;
	top: 26%;
}

.radar-animal--dog {
	animation-delay: 4s;
	left: 26%;
	top: 74%;
}

.radar-animal--other {
	animation-delay: 8s;
	left: 72%;
	top: 72%;
}

@keyframes animal-appear {

	0%,
	10% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(.4);
	}

	18%,
	32% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}

	40%,
	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(.4);
	}
}

.companion-card {
	background: rgba(254, 252, 255, .86);
	border-radius: 20px;
	box-shadow: 0 18px 30px rgba(82, 49, 104, .16);
	margin: 0 auto;
	max-width: 370px;
	overflow: hidden;
}

.card-intro {
	padding: 26px 24px 27px;
	text-align: center;
}

.paw-badge {
	background: #e1b9ef;
	border-radius: 50%;
	box-shadow: 0 4px 8px rgba(112, 64, 137, .18);
	height: 58px;
	margin: 0 auto 17px;
	position: relative;
	width: 58px;
}

.paw-badge .logo svg {
	width: 100%;
	height: 40px;
	margin-top: 7px;
}

.paw-badge span {
	background: var(--ink);
	border-radius: 50%;
	display: block;
	height: 9px;
	position: absolute;
	width: 9px;
}

.paw-badge span:nth-child(1) {
	left: 18px;
	top: 19px;
}

.paw-badge span:nth-child(2) {
	left: 31px;
	top: 14px;
}

.paw-badge span:nth-child(3) {
	left: 14px;
	top: 31px;
}

.paw-badge span:nth-child(4) {
	left: 29px;
	top: 30px;
}

.card-intro h2 {
	font-size: 20px;
	letter-spacing: -.7px;
	margin: 0;
}

.card-intro p {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.45;
	margin: 5px 0 0;
}

.welcome-cta {
	margin-top: 20px;
	width: 100%;
}

.choice-list {
	border-top: 1px solid #f7f0fa;
	padding: 24px 27px 15px;
}

.choice {
	background: #faf1ff;
	border: 1px solid #edddf5;
	border-radius: 13px;
	color: #5b3c72;
	font-size: 16px;
	font-weight: 600;
	height: 55px;
	justify-content: center;
	margin-bottom: 12px;
	position: relative;
	transition: background .2s, transform .2s;
}

.choice:hover,
.choice:focus-visible {
	background: #f4e4fc;
	transform: translateY(-1px);
}

.choice-icon {
	color: #ddb5eb;
	font-size: 16px;
	left: calc(50% - 61px);
	position: absolute;
}

.choice-arrow {
	color: #b681ce;
	font-size: 21px;
	opacity: 0;
	position: absolute;
	right: 18px;
	transition: opacity .2s;
}

.choice:hover .choice-arrow,
.choice:focus-visible .choice-arrow {
	opacity: 1;
}

.card-note {
	color: var(--muted);
	font-size: 11px;
	margin: 8px 0 25px;
	text-align: center;
}

.card-note span {
	color: #b77ed0;
	font-size: 14px;
}

.location-card {
	margin-top: 24px;
	overflow: hidden;
}

.location-card[open] .location-summary__chevron {
	transform: rotate(180deg);
}

.location-summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	list-style: none;
	padding: 26px 24px;
}

.location-summary::-webkit-details-marker {
	display: none;
}

.location-summary:focus-visible {
	outline: 3px solid #d5a9ee;
	outline-offset: -3px;
}

.location-summary__content {
	align-items: center;
	display: flex;
	gap: 14px;
	min-width: 0;
	text-align: left;
}

.location-summary__content .paw-badge {
	margin: 0;
}

.location-summary__content h2 {
	font-size: 20px;
	letter-spacing: -.7px;
	margin: 0;
}

.location-summary__content p {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.4;
	margin: 5px 0 0;
}

.location-summary__chevron {
	color: #8a5ab4;
	flex: 0 0 auto;
	font-size: 24px;
	transform: rotate(0deg);
	transition: transform .2s ease;
}

.location-panel {
	border-top: 1px solid #f1e6f7;
	padding: 0 24px 24px;
}

.location-panel>p {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
	margin: 18px 0 0;
}

.location-actions {
	padding: 20px 0 0;
	text-align: center;
}

.location-actions form {
	margin: 0;
}

.location-actions .primary-action,
.location-actions .secondary-action {
	font-family: inherit;
}

.location-status {
	color: var(--muted);
	font-size: 12px;
	min-height: 18px;
}

.nearby-results {
	margin: 36px auto 0;
	max-width: 760px;
}

.nearby-results h2 {
	font-size: 20px;
	margin: 0 0 14px;
}

.nearby-list {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.nearby-pet {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
	min-width: 0;
}

.nearby-pet:hover,
.nearby-pet:focus-within {
	border-color: #b4435b;
}

.nearby-pet__link {
	align-items: center;
	color: inherit;
	display: flex;
	gap: 14px;
	padding: 12px;
	text-decoration: none;
}

.nearby-pet img {
	aspect-ratio: 1;
	border-radius: 6px;
	flex: 0 0 72px;
	object-fit: cover;
	width: 72px;
}

.nearby-pet h3 {
	font-size: 16px;
	margin: 0 0 4px;
}

.nearby-pet p,
.nearby-empty {
	color: var(--muted);
	font-size: 13px;
	margin: 0;
}

.friendship-action {
	display: flex;
	justify-content: center;
	margin: 0 0 24px;
}

.friendship-action form {
	margin: 0;
}

.friendship-heart,
.friendship-pending {
	align-items: center;
	color: #8e3f58;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	gap: 7px;
}

.friendship-heart span {
	color: #b4435b;
	font-size: 22px;
	line-height: 1;
}

.friendship-pending {
	color: var(--muted);
	font-size: 12px;
}

.sparks-content {
	margin: 0 auto;
	max-width: 1320px;
	width: 100%;
}

.sparks-workspace {
	margin: 24px auto 0;
	max-width: 900px;
}

.sparks-section {
	margin: 32px auto 0;
}

.sparks-workspace .sparks-section {
	background: rgba(254, 252, 255, .78);
	border: 1px solid var(--line);
	border-radius: 12px;
	margin: 16px 0 0;
	min-width: 0;
	padding: 20px;
}

.sparks-tabs {
	align-items: center;
	background: rgba(231, 217, 239, .52);
	border: 1px solid var(--line);
	border-radius: 12px;
	display: grid;
	gap: 6px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 6px;
}

.sparks-tab {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 8px;
	color: var(--muted);
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	gap: 9px;
	justify-content: center;
	min-height: 48px;
	padding: 8px 12px;
}

.sparks-tab[aria-selected="true"] {
	background: var(--white);
	box-shadow: 0 2px 8px rgba(61, 36, 83, .1);
	color: var(--ink);
}

.sparks-tab:focus-visible {
	outline: 3px solid #7b42a1;
	outline-offset: 2px;
}

.sparks-tab svg {
	flex: 0 0 21px;
	height: 21px;
	width: 21px;
}

.sparks-workspace [role="tabpanel"]:focus-visible {
	outline: 3px solid #7b42a1;
	outline-offset: 3px;
}

.pawfile-filter {
	display: grid;
	gap: 12px;
	margin-bottom: 16px;
}

.pawfile-filter__field {
	display: grid;
	gap: 5px;
}

.pawfile-filter__field label {
	font-size: 12px;
	font-weight: 600;
}

.pawfile-filter__field select,
.pawfile-filter__field input {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--ink);
	font: inherit;
	min-height: 44px;
	padding: 9px 10px;
	width: 100%;
}

.pawfile-filter .primary-action {
	justify-self: start;
}

.pawfile-filter__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pawfile-filter__actions [aria-pressed="true"] {
	background: #684982;
	color: #fff;
}

.pawfile-showcase {
	margin: 8px auto 0;
	max-width: 440px;
}

.pawfile-showcase__card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: clip;
}

.pawfile-showcase__card[hidden] {
	display: none;
}

.pawfile-showcase__photo {
	align-items: center;
	aspect-ratio: 4 / 3;
	background: #f1e7f8;
	color: #9c79b6;
	display: flex;
	font-size: 64px;
	justify-content: center;
	overflow: clip;
	width: 100%;
}

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

.pawfile-showcase__details {
	padding: 20px;
	text-align: center;
}

.pawfile-showcase__details h3 {
	font-size: 23px;
	margin: 0;
	overflow-wrap: anywhere;
}

.pawfile-showcase__details p {
	color: var(--muted);
	font-size: 14px;
	margin: 6px 0 18px;
}

.pawfile-showcase__details form {
	margin: 0;
}

.pawfile-showcase__details .primary-action {
	min-height: 48px;
	min-width: 160px;
}

.pawfile-showcase__controls {
	align-items: center;
	color: var(--muted);
	display: flex;
	justify-content: space-between;
	margin-top: 14px;
}

.pawfile-showcase__controls .carousel-arrow {
	height: 44px;
	width: 44px;
}

.pawfile-showcase__controls .carousel-arrow:focus-visible {
	outline: 3px solid #7b42a1;
	outline-offset: 3px;
}

.section-count {
	align-items: center;
	background: #a34843;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 11px;
	height: 22px;
	justify-content: center;
	min-width: 22px;
	padding: 0 6px;
}

.sparks-sent-requests__summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-size: 20px;
	font-weight: 700;
	gap: 9px;
	list-style: none;
}

.sparks-sent-requests__summary::-webkit-details-marker {
	display: none;
}

.sparks-sent-requests__chevron {
	color: var(--muted);
	font-size: 22px;
	margin-inline-start: auto;
	transition: transform .18s ease;
}

.sparks-sent-requests[open] .sparks-sent-requests__chevron {
	transform: rotate(180deg);
}

.sparks-list {
	display: grid;
	gap: 12px;
}

.spark-request,
.friend-conversation {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
	min-width: 0;
}

.spark-request {
	padding: 16px;
}

.spark-request {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.spark-request h3 {
	font-size: 16px;
	margin: 0 0 4px;
}

.spark-request p {
	color: var(--muted);
	font-size: 13px;
	margin: 0;
}

.spark-request__actions {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
}

.spark-request__actions form {
	margin: 0;
}

.spark-request__actions .primary-action,
.spark-request__actions .secondary-action {
	min-height: 38px;
}

.friend-conversation__header {
	align-items: center;
	cursor: pointer;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) auto auto;
	list-style: none;
	padding: 16px;
}

.friend-conversation__header::-webkit-details-marker {
	display: none;
}

.friend-conversation__title {
	display: block;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 4px;
}

.friend-conversation__subtitle {
	color: var(--muted);
	display: block;
	font-size: 13px;
}

.friend-conversation__chevron {
	color: var(--muted);
	font-size: 20px;
	transition: transform .18s ease;
}

.friend-conversation[open] .friend-conversation__chevron {
	transform: rotate(180deg);
}

.friend-conversation__body {
	padding: 0 16px 16px;
}

.spark-message-list {
	background: #f8f3fa;
	border: 1px solid var(--line);
	border-radius: 8px;
	display: grid;
	gap: 10px;
	margin: 16px 0;
	max-height: 320px;
	overflow-y: auto;
	padding: 12px;
}

.spark-message {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	justify-self: start;
	max-width: 88%;
	overflow-wrap: anywhere;
	padding: 9px 12px;
}

.spark-message--outgoing {
	background: #f2e8f6;
	justify-self: end;
}

.spark-message p {
	font-size: 13px;
	line-height: 1.45;
	margin: 0;
	white-space: pre-wrap;
}

.spark-message time {
	color: var(--muted);
	display: block;
	font-size: 10px;
	margin-top: 5px;
	text-align: right;
}

.spark-message-form {
	display: grid;
	gap: 8px;
}

.spark-message-form label {
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
}

.spark-message-form textarea {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--ink);
	font: inherit;
	min-height: 74px;
	padding: 10px;
	resize: vertical;
	width: 100%;
}

.spark-message-form .primary-action {
	justify-self: end;
}

.choice-list button.choice {
	cursor: pointer;
	font-family: inherit;
	padding: 0;
	width: 100%;
}

.signup-card {
	padding-bottom: 25px;
	margin: 3em auto;
}

.signup-form {
	padding: 0 27px;
}

.pawfile-form.signup-form {
	padding: 0;
}

.form-field {
	margin-bottom: 18px;
}

.form-field label {
	color: #5b3c72;
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 7px;
}

.form-field input {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--ink);
	font: inherit;
	min-height: 44px;
	padding: 9px 11px;
	width: 100%;
}

.form-field input:focus-visible {
	border-color: #b681ce;
	outline: 2px solid #e7ccf3;
}

.form-errors {
	background: #fff2f1;
	border: 1px solid #efc5c1;
	border-radius: 8px;
	color: #873e37;
	font-size: 13px;
	margin-bottom: 18px;
	padding: 12px 14px;
}

.form-errors p {
	margin: 0 0 6px;
}

.form-errors ul {
	margin: 0;
	padding-left: 19px;
}

.field-error {
	color: #a0443b;
	font-size: 13px;
	margin: -2px 0 10px;
}

.wizard-actions {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-top: 25px;
}

.primary-action,
.secondary-action {
	align-items: center;
	border-radius: 8px;
	cursor: pointer;
	display: inline-flex;
	font: 600 14px 'DM Sans', sans-serif;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
}

.primary-action {
	background: var(--ink);
	border: 1px solid var(--ink);
	color: var(--white);
}

.primary-action:hover,
.primary-action:focus-visible {
	background: #684982;
}

.secondary-action {
	background: transparent;
	border: 1px solid var(--line);
	color: #5b3c72;
}

.review-list {
	border-top: 1px solid var(--line);
	margin: 0;
	padding: 6px 27px;
}

.review-list div {
	align-items: baseline;
	border-bottom: 1px solid #f2eaf6;
	display: flex;
	justify-content: space-between;
	padding: 13px 0;
}

.review-list dt {
	color: var(--muted);
	font-size: 13px;
}

.review-list dd {
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}

.review-actions {
	padding: 0 27px;
}

.review-actions form {
	margin: 0;
}

.review-actions button {
	font-family: inherit;
}

.site-footer {
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 12px;
	padding: 14px 20px 12px;
	text-align: center;
}

.site-footer p {
	margin: 0 0 7px;
}

.site-footer nav {
	align-items: center;
	display: flex;
	gap: 13px;
	justify-content: center;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: var(--ink);
}

@media (max-width: 680px) {
	html {
		overflow-x: clip;
	}

	html.mobile-menu-open {
		overflow: hidden;
	}

	.application-shell {
		transition: transform .25s ease;
	}

	.mobile-menu-open .application-shell {
		transform: translateX(calc(-1 * min(320px, 85vw)));
	}

	.site-nav--desktop {
		display: none;
	}

	.site-nav--mobile {
		display: block;
	}

	.site-header {
		height: auto;
		padding: 18px 20px;
		position: relative;
		z-index: 30;
	}

	.mobile-menu-drawer {
		background: #3d2453;
		border: 0;
		height: 100%;
		inset: 0 0 0 auto;
		margin: 0;
		max-height: none;
		max-width: none;
		overflow-y: auto;
		padding: 0;
		position: fixed;
		width: min(320px, 85vw);
	}

	.mobile-menu-drawer::backdrop {
		background: rgba(30, 14, 39, .4);
	}

	.site-nav__header {
		align-items: center;
		border-bottom: 1px solid rgba(218, 189, 233, .13);
		color: #d9c1ee;
		display: flex;
		font-size: 12px;
		font-weight: 700;
		justify-content: space-between;
		letter-spacing: .12em;
		padding: 14px 18px;
		text-transform: uppercase;
	}

	.site-nav__header p {
		margin: 0;
	}

	.site-nav__close {
		background: transparent;
		border: 0;
		border-radius: 10px;
		color: #fff;
		cursor: pointer;
		font: inherit;
		font-size: 30px;
		height: 48px;
		width: 48px;
	}

	.site-nav__list {
		list-style: none;
		margin: 0;
		padding: 8px;
		width: 100%;
	}

	.site-nav__list li {
		margin: 0;
		width: 100%;
	}

	.site-nav--mobile .site-nav__item,
	.site-nav__action {
		align-items: center;
		border-radius: 14px;
		color: #fff;
		display: flex;
		font-size: 16px;
		gap: 11px;
		justify-content: flex-start;
		min-height: 56px;
		padding: 0 16px;
		text-align: left;
		width: 100%;
	}

	.site-nav__action {
		background: #a281c4;
		border: 0;
		cursor: pointer;
		font-family: inherit;
	}

	.site-nav__item:hover,
	.site-nav__action:hover {
		background: rgba(255, 255, 255, .08);
		color: #fff;
	}

	.site-nav__item:focus-visible,
	.site-nav__close:focus-visible,
	.site-nav__action:focus-visible {
		outline: 3px solid #d5a9ee;
		outline-offset: -3px;
	}

	.site-nav__icon {
		font-size: 19px;
		width: 24px;
	}

	.site-nav__chevron {
		color: #c9a7e9;
		font-size: 24px;
		margin-left: auto;
	}

	.site-nav__account {
		align-items: center;
		border-bottom: 1px solid rgba(218, 189, 233, .13);
		border-top: 1px solid rgba(218, 189, 233, .13);
		color: #d9c1ee;
		display: flex;
		font-size: 12px;
		gap: 8px;
		margin: 6px 0;
		padding: 14px 16px;
		word-break: break-word;
	}

	.site-nav__account-icon {
		align-items: center;
		background: rgba(181, 142, 223, .18);
		border-radius: 8px;
		display: inline-flex;
		height: 26px;
		justify-content: center;
		flex: 0 0 26px;
		width: 26px;
	}

	.mobile-menu-button {
		align-items: center;
		background: rgba(255, 255, 255, .82);
		border: 1px solid rgba(157, 112, 191, .28);
		border-radius: 14px;
		box-shadow: 0 8px 18px rgba(69, 41, 93, .08);
		display: inline-flex;
		flex-direction: column;
		gap: 5px;
		height: 48px;
		justify-content: center;
		padding: 0;
		position: relative;
		width: 48px;
	}

	.mobile-menu-button span {
		background: #45295d;
		border-radius: 99px;
		display: block;
		height: 2.5px;
		transition: transform .25s ease, opacity .2s ease;
		width: 18px;
	}

	.mobile-menu-button[aria-expanded="true"] span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
		opacity: 0;
	}

	.mobile-menu-button[aria-expanded="true"] span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.mobile-menu-button:focus-visible {
		outline: 3px solid #d5a9ee;
		outline-offset: 2px;
	}

	.welcome-content {
		padding-top: 35px;
	}

	.intro h1 {
		font-size: clamp(31px, 9vw, 40px);
		letter-spacing: -1.8px;
	}

	.intro p {
		margin-bottom: 31px;
	}

	.site-footer nav {
		flex-wrap: wrap;
		gap: 8px;
	}
}

@media (max-width: 680px) and (prefers-reduced-motion: reduce) {
	.application-shell,
	.mobile-menu-button span {
		transition: none;
	}
}

.pawfile-page {
	background: #f7efff;
	flex: 1;
}

.pawfile-card {
	background: #fcfaff;
	border: 1px solid #e2d0f0;
	border-radius: 10px;
	box-shadow: 0 12px 24px rgba(82, 49, 104, .12);
	margin: 1em auto;
	max-width: 624px;
	overflow: hidden;
}

.pawfile-header {
	background: #f8f1ff;
	padding: 24px 24px 27px;
	text-align: center;
}

.pawfile-mark {
	align-items: center;
	background: #ebe9ff;
	border-radius: 50%;
	display: flex;
	height: 56px;
	justify-content: center;
	margin: 0 auto 20px;
	width: 56px;
}

.pawfile-mark svg {
	height: 35px;
	width: 35px;
}

.pawfile-header h1 {
	color: #45295d;
	font-size: 30px;
	letter-spacing: -1.2px;
	margin: 0;
}

.pawfile-header p {
	color: #8054ad;
	font-size: 18px;
	margin: 7px 0 0;
}

.progress-panel {
	padding: 25px 24px 0;
}

.progress-labels {
	color: #8054ad;
	display: flex;
	font-size: 12px;
	justify-content: space-between;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.progress-labels span {
	color: #d6acdF;
	font-weight: 700;
}

.progress-track {
	background: #ecdaf5;
	border-radius: 10px;
	height: 8px;
	margin-top: 9px;
	overflow: hidden;
}

.progress-track span {
	background: #e7d9fb;
	border-radius: inherit;
	display: block;
	height: 100%;
}

.pawfile-content {
	padding: 32px 24px 24px;
}

.step-heading {
	align-items: center;
	color: #45295d;
	display: flex;
	gap: 10px;
	margin-bottom: 28px;
}

.step-heading span {
	color: #d7abe9;
	font-size: 27px;
}

.step-heading h2 {
	font-size: 25px;
	letter-spacing: -.8px;
	margin: 0;
}

.step-copy {
	color: #8054ad;
	font-size: 14px;
	font-style: italic;
	margin: -11px 0 30px;
}

.pawfile-form .form-field {
	margin-bottom: 27px;
}

.pawfile-disclosure {
	border-bottom: 1px solid #e5d3f2;
	margin-bottom: 16px;
}

.pawfile-disclosure__summary {
	align-items: center;
	color: #45295d;
	cursor: pointer;
	display: flex;
	font-size: 22px;
	font-weight: 700;
	gap: 10px;
	list-style: none;
	min-height: 52px;
	padding: 8px 0;
}

.pawfile-disclosure__summary::-webkit-details-marker {
	display: none;
}

.pawfile-disclosure__summary::after {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	height: 8px;
	margin-left: auto;
	transform: rotate(45deg) translateY(-2px);
	width: 8px;
}

.pawfile-disclosure[open] > .pawfile-disclosure__summary::after {
	transform: rotate(225deg) translateY(-2px);
}

.pawfile-disclosure__summary > span:first-child {
	color: #d7abe9;
	font-size: 27px;
}

.pawfile-disclosure__summary:focus-visible {
	border-radius: 6px;
	outline: 2px solid #b681ce;
	outline-offset: 3px;
}

.pawfile-disclosure__content {
	padding-top: 20px;
}

.pawfile-form .form-field label,
.option-field legend,
.checkbox-field label {
	color: #45295d;
	display: block;
	font-size: 14px;
	margin-bottom: 9px;
}

.pawfile-form input[type="text"],
.pawfile-form input[type="number"],
.pawfile-form input[type="url"],
.pawfile-form select {
	background: #f8f0ff;
	border: 1px solid #e5d3f2;
	border-radius: 12px;
	color: #5e3979;
	font: inherit;
	min-height: 48px;
	padding: 11px 13px;
	width: 100%;
}

.pawfile-form input[type="file"] {
	background: #f8f0ff;
	border: 1px dashed #cba9e3;
	border-radius: 12px;
	color: #8054ad;
	font: inherit;
	padding: 13px;
	width: 100%;
}

.pawfile-form input::placeholder {
	color: #9463bd;
	opacity: 1;
}

.pawfile-form input:focus-visible,
.pawfile-form select:focus-visible {
	border-color: #b681ce;
	outline: 2px solid #eadbfa;
}

.option-field {
	border: 0;
	margin: 0 0 27px;
	padding: 0;
}

.option-field legend {
	font-weight: 600;
	padding: 0;
}

.choice-grid {
	display: grid;
	gap: 8px 12px;
}

.choice-grid.two-up {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.choice-grid label,
.stacked-options label {
	align-items: center;
	background: #fcfaff;
	border: 1px solid #e3cef2;
	border-radius: 12px;
	color: #45295d;
	cursor: pointer;
	display: flex;
	gap: 9px;
	min-height: 44px;
	padding: 9px 12px;
}

.choice-grid input,
.stacked-options input,
.checkbox-field input {
	accent-color: #8b68d9;
	height: 16px;
	margin: 10px;
	min-height: 16px;
	width: 16px;
}

.stacked-options {
	display: grid;
	gap: 8px;
}

.stacked-options label {
	min-height: 46px;
}

.trait-grid {
	margin-top: 4px;
}

.checkbox-field {
	align-items: center;
	display: flex;
	gap: 8px;
	margin: -7px 0 27px;
}

.checkbox-field label {
	margin: 0;
}

.wizard-actions {
	margin-top: 32px;
}

.wizard-actions .primary-action,
.wizard-actions .secondary-action {
	min-height: 56px;
}

.wizard-actions .primary-action {
	background: #e7e6ff;
	border-color: #e7e6ff;
	color: #332c71;
}

.wizard-actions .primary-action:hover,
.wizard-actions .primary-action:focus-visible {
	background: #dcdafa;
}

.review-list {
	border-top: 1px solid #e9ddf2;
	padding: 0;
}

.review-list div {
	padding: 13px 0;
}

.image-carousel {
	/* margin: 0 auto 24px;
	max-width: 380px; */
	position: relative;
}

.human-badge {
	aspect-ratio: 1;
	border: 3px solid #5b3c72;
	border-radius: 49%;
	bottom: -12px;
	box-shadow: 0 2px 8px rgba(61, 36, 83, .25);
	height: 35%;
	object-fit: cover;
	position: absolute;
	right: -20px;
}

.human-photo-preview {
	align-items: center;
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
}

.human-photo-preview img {
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
	width: 96px;
}

.image-carousel__viewport {
	min-width: 0;
}

.carousel-slide {
	margin: 0;
}

.carousel-slide[hidden] {
	display: none;
}

.carousel-slide img {
	aspect-ratio: 4 / 3;
	border: 1px solid #e5d3f2;
	border-radius: 8px;
	display: block;
	object-fit: cover;
	width: 100%;
}

.carousel-slide figcaption {
	color: #8054ad;
	font-size: 12px;
	margin-top: 5px;
	overflow-wrap: anywhere;
}

.carousel-remove {
	align-items: center;
	color: #8054ad;
	display: flex;
	font-size: 12px;
	gap: 7px;
	margin-top: 9px;
}

.carousel-remove input {
	accent-color: #8b68d9;
	height: 16px;
	margin: 0;
	min-height: 16px;
	width: 16px;
}

.carousel-slide.is-marked-for-removal img {
	opacity: .45;
}

.carousel-controls {
	align-items: center;
	color: #8054ad;
	display: flex;
	font-size: 12px;
	justify-content: space-between;
	margin-top: 12px;
}

.carousel-arrow {
	align-items: center;
	background: #fcfaff;
	border: 1px solid #e3cef2;
	border-radius: 50%;
	color: #45295d;
	cursor: pointer;
	display: inline-flex;
	font: 24px/1 'DM Sans', sans-serif;
	height: 36px;
	justify-content: center;
	padding: 0;
	width: 36px;
}

.carousel-arrow:disabled {
	cursor: default;
	opacity: .45;
}

.pawfile-form .option-field {
	margin-bottom: 24px;
}

@media (max-width: 480px) {
	.pawfile-content {
		padding: 28px 24px 22px;
	}

	.pawfile-header h1 {
		font-size: 28px;
	}

	.pawfile-header p {
		font-size: 16px;
	}

	.choice-grid.three-up {
		grid-template-columns: 1fr;
	}

	.spark-request {
		align-items: flex-start;
		flex-direction: column;
	}

	.spark-request__actions {
		flex-wrap: wrap;
	}

	.sparks-workspace .sparks-section {
		padding: 16px;
	}

	.sparks-tab {
		font-size: 12px;
		gap: 6px;
		padding-inline: 6px;
	}

	.friend-conversation__header {
		gap: 8px;
		padding: 12px;
	}

	.friend-conversation__body {
		padding: 0 12px 12px;
	}
}
/* Sniff Around Filters */
.sniff-filters {
	align-items: center;
	background: rgba(254, 252, 255, .86);
	border-radius: 12px;
	display: flex;
	gap: 12px;
	margin: 20px auto;
	max-width: 600px;
	padding: 12px;
	position: relative;
}

.filter-group {
	align-items: center;
	display: flex;
	gap: 8px;
}

.filter-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	position: relative;
}

.filter-icon {
	font-size: 18px;
	flex: 0 0 auto;
}

.filter-dropdown {
	align-items: center;
	background: #f2e8f6;
	border-radius: 8px;
	color: var(--ink);
	cursor: pointer;
	display: flex;
	gap: 6px;
	padding: 8px 12px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.filter-dropdown:hover {
	background: #e7d9ef;
}

.filter-chevron {
	font-size: 12px;
	color: var(--muted);
}

.species-options {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(61, 36, 83, .1);
	display: none;
	gap: 0;
	min-width: 120px;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	flex-direction: column;
	margin-top: 4px;
}

.species-filter:hover .species-options,
.species-filter:focus-within .species-options {
	display: flex;
}

.species-option {
	align-items: center;
	color: var(--ink);
	cursor: pointer;
	display: flex;
	font-size: 14px;
	gap: 8px;
	padding: 10px 12px;
	text-decoration: none;
	border: none;
	background: transparent;
	font-family: inherit;
	border-bottom: 1px solid var(--line);
	font-weight: 500;
	white-space: nowrap;
}

.species-option:last-child {
	border-bottom: none;
}

.species-option:hover,
.species-option.active {
	background: #f2e8f6;
	font-weight: 600;
}

.location-filter {
	gap: 8px;
	cursor: pointer;
}

.filter-settings {
	margin-left: auto;
	cursor: pointer;
	font-size: 18px;
	opacity: 0.7;
}

.filter-settings:hover {
	opacity: 1;
}

/* Pet Card Styles */
.pet-card {
	background: var(--white);
	border-radius: 16px;
	box-shadow: 0 8px 20px rgba(61, 36, 83, .12);
	/* margin: 0 auto;
	max-width: 440px; */
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
}

.pet-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(61, 36, 83, .16);
}

.pet-card__link {
	color: inherit;
	display: flex;
	flex-direction: column;
	text-decoration: none;
}

.pet-card__image-container {
	aspect-ratio: 16 / 9;
	background: #f2e8f6;
	color: #b681ce;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	overflow: hidden;
	position: relative;
}

.pet-card__image-container::after {
	background: var(--white);
	border-radius: 50% 50% 0 0;
	bottom: -27px;
	content: "";
	height: 40px;
	left: -25%;
	pointer-events: none;
	position: absolute;
	transform: rotate(3deg);
	width: 150%;
}

.pet-card__image {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.pet-card__image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	width: 100%;
	height: 100%;
}

.pet-card__distance {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 20px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
	box-shadow: 0 2px 8px rgba(61, 36, 83, .15);
}

.pet-card__content {
	display: flex;
	flex-direction: column;
	padding: 20px 12px;
	gap: 12px;
	margin-top: -30px;
    z-index: 2;
}

.pet-card__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.pet-card__name {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.5px;
	margin: 0;
	line-height: 1.2;
}

.pet-card__type {
	align-items: center;
	color: var(--muted);
	display: flex;
	font-size: 14px;
	gap: 6px;
	margin: 4px 0 0;
}

.pet-icon {
	font-size: 18px;
}

.pet-card__human {
	flex: 0 0 auto;
}

.pet-card__human-photo {
	border-radius: 50%;
	height: 64px;
	object-fit: cover;
	width: 64px;
	border: 2px solid var(--lavender-deep);
}

.pet-card__breed {
	color: var(--muted);
	font-size: 13px;
	margin: 0;
}

.pet-card__traits {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.trait-badge {
	background: var(--lavender);
	border-radius: 20px;
	color: #7b42a1;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 12px;
}

.pet-card__bio {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
	margin: 8px 0 0;
}

.pet-card__looking-for {
	background: var(--lavender);
	border-radius: 8px;
	color: #684982;
	font-size: 13px;
	font-weight: 600;
	padding: 12px;
	text-align: center;
	margin: 8px 0 0;
}

.pet-card__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 12px;
}

.action-btn {
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	height: 52px;
	width: 52px;
	transition: transform 0.2s, box-shadow 0.2s;
	font-family: inherit;
}

.action-btn:hover {
	transform: scale(1.1);
}

.action-btn--pass {
	background: #f2e8f6;
	color: #8965a6;
	box-shadow: 0 2px 8px rgba(61, 36, 83, .08);
}

.action-btn--pass:hover {
	background: #e7d9ef;
	box-shadow: 0 4px 12px rgba(61, 36, 83, .12);
}

.action-btn--match {
	background: #b77ed0;
	color: white;
	box-shadow: 0 4px 12px rgba(183, 126, 208, .3);
}

.action-btn--match:hover {
	background: #a371c0;
	box-shadow: 0 6px 16px rgba(183, 126, 208, .4);
}

.nearby-list {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	padding: 0 20px;
}

.nearby-empty {
	color: var(--muted);
	font-size: 16px;
	margin: 32px auto;
	text-align: center;
}

/* Select styling for species filter */
.filter-select {
	background: #f2e8f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238965a6' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat right 10px center;
	background-size: 12px;
	border: none;
	border-radius: 8px;
	color: var(--ink);
	cursor: pointer;
	font: 600 14px 'DM Sans', sans-serif;
	min-height: 38px;
	padding: 8px 32px 8px 12px;
	appearance: none;
	transition: background-color 0.2s;
}

.filter-select:hover {
	background-color: #e7d9ef;
}

.filter-select:focus {
	outline: 2px solid #7b42a1;
	outline-offset: 2px;
}

.filter-select option {
	color: var(--ink);
	background: var(--white);
}

.sniff-filters {
	align-items: end;
	flex-wrap: wrap;
}

.pet-card > .pet-card__actions {
	margin: 0;
	padding: 0 24px 24px;
}

.pet-card__actions form {
	margin: 0;
}

.pet-card__image-container {
	scroll-margin-block-start: 16px;
}

.action-btn:disabled {
	cursor: not-allowed;
	opacity: .45;
}

.action-btn:disabled:hover {
	transform: none;
}

.sniff-filters .filter-group {
	align-items: stretch;
	flex-direction: column;
	gap: 5px;
}

.sniff-filters label {
	font-size: 13px;
	font-weight: 600;
}

.sniff-filters .search-filter {
	flex: 1 1 180px;
}

.sniff-filters .search-input {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--ink);
	font: inherit;
	min-height: 44px;
	min-width: 0;
	padding: 8px 12px;
	width: 100%;
}

.sniff-filters .filter-select {
	min-height: 44px;
}

.sniff-filters .search-input:focus-visible {
	outline: 2px solid #7b42a1;
	outline-offset: 2px;
}

.nearby-results .nearby-list {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
	padding: 0;
}
