/* ==========================================================================
   PetsDeals design system — warm, cute, clean.
   ========================================================================== */
:root {
	--bg: #fff8f1;
	--bg-2: #fff1e4;
	--surface: #ffffff;
	--ink: #1e1b2e;
	--ink-2: #3a3550;
	--muted: #77708c;
	--line: #f1e5d8;
	--line-2: #e9dccd;
	--coral: #ff6b4a;
	--coral-2: #ff9270;
	--coral-soft: #ffe7df;
	--mint: #22c3a6;
	--mint-soft: #dcf7f1;
	--sun: #ffc93c;
	--sun-soft: #fff3d1;
	--lav: #8f7dff;
	--lav-soft: #ece8ff;
	--sky: #3d9bff;
	--sky-soft: #e1f0ff;
	--pink: #ff6fa8;
	--pink-soft: #ffe3ef;
	--green: #17a673;
	--red: #ef4444;
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--r-xl: 32px;
	--shadow-sm: 0 1px 2px rgba(60, 40, 20, 0.05), 0 2px 6px -2px rgba(60, 40, 20, 0.06);
	--shadow: 0 1px 2px rgba(60, 40, 20, 0.04), 0 10px 30px -12px rgba(60, 40, 20, 0.18);
	--shadow-lg: 0 2px 4px rgba(60, 40, 20, 0.04), 0 24px 60px -20px rgba(60, 40, 20, 0.28);
	--spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--font-display: 'Fredoka', 'Nunito', ui-rounded, system-ui, sans-serif;
	--font: 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--maxw: 1240px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body::before {
	/* soft dotted paw-paper texture */
	content: '';
	position: fixed;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 107, 74, 0.07) 1.2px, transparent 1.2px);
	background-size: 22px 22px;
	pointer-events: none;
}
img {
	max-width: 100%;
	display: block;
}
a {
	color: inherit;
	text-decoration: none;
}
a:hover {
	color: var(--coral);
}
h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 0.4em;
	letter-spacing: -0.01em;
}
h1 {
	font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}
h2 {
	font-size: 1.5rem;
}
h3 {
	font-size: 1.15rem;
}
p {
	margin: 0 0 0.9em;
}
button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}
::selection {
	background: var(--sun);
	color: var(--ink);
}
:focus-visible {
	outline: 3px solid rgba(255, 107, 74, 0.45);
	outline-offset: 2px;
	border-radius: 8px;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.container {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 20px;
}
.muted {
	color: var(--muted);
}
.small {
	font-size: 0.875rem;
}
.tiny {
	font-size: 0.78rem;
}
.center {
	text-align: center;
}
.row {
	display: flex;
	align-items: center;
	gap: 10px;
}
.row.wrap {
	flex-wrap: wrap;
}
.spacer {
	flex: 1;
}
.stack > * + * {
	margin-top: 16px;
}
.hide-sm {
}
@media (max-width: 760px) {
	.hide-sm {
		display: none !important;
	}
}
@media (min-width: 761px) {
	.show-sm {
		display: none !important;
	}
}

/* ---------- Buttons ---------- */
.btn {
	--b: var(--surface);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1.5px solid var(--line-2);
	background: var(--b);
	font-weight: 800;
	font-size: 0.95rem;
	cursor: pointer;
	white-space: nowrap;
	transition:
		transform 0.25s var(--spring),
		box-shadow 0.2s,
		background 0.2s,
		border-color 0.2s;
	user-select: none;
}
.btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
	color: inherit;
	border-color: var(--coral-2);
}
.btn:active {
	transform: translateY(0) scale(0.97);
}
.btn-primary {
	color: #fff;
	border: 0;
	background: linear-gradient(135deg, #ff7a52 0%, #ff5a5f 55%, #ff4f8b 100%);
	box-shadow:
		0 6px 18px -6px rgba(255, 90, 95, 0.65),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
	color: #fff;
	box-shadow:
		0 12px 26px -8px rgba(255, 90, 95, 0.7),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-mint {
	color: #fff;
	border: 0;
	background: linear-gradient(135deg, #2ad1b3, #14b0a0);
	box-shadow: 0 6px 18px -6px rgba(20, 176, 160, 0.6);
}
.btn-mint:hover {
	color: #fff;
}
.btn-dark {
	color: #fff;
	border: 0;
	background: var(--ink);
}
.btn-dark:hover {
	color: #fff;
}
.btn-ghost {
	background: transparent;
	border-color: transparent;
}
.btn-ghost:hover {
	background: var(--surface);
	border-color: var(--line);
	box-shadow: none;
}
.btn-sm {
	height: 34px;
	padding: 0 13px;
	font-size: 0.85rem;
}
.btn-lg {
	height: 52px;
	padding: 0 26px;
	font-size: 1.05rem;
}
.btn-block {
	width: 100%;
}
.btn-icon {
	width: 42px;
	padding: 0;
}
.btn-icon.btn-sm {
	width: 34px;
}
.btn[disabled] {
	opacity: 0.5;
	pointer-events: none;
}
.btn.is-on {
	background: var(--coral-soft);
	border-color: var(--coral-2);
	color: var(--coral);
}
.link {
	color: var(--coral);
	font-weight: 700;
}
.link:hover {
	text-decoration: underline;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 248, 241, 0.82);
	backdrop-filter: saturate(1.6) blur(16px);
	-webkit-backdrop-filter: saturate(1.6) blur(16px);
	border-bottom: 1px solid rgba(233, 220, 205, 0.7);
}
.header-main {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 70px;
}
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.55rem;
	letter-spacing: -0.02em;
	flex-shrink: 0;
}
.logo:hover {
	color: var(--ink);
}
.logo svg {
	width: 42px;
	height: 42px;
	transition: transform 0.5s var(--spring);
}
.logo:hover svg {
	transform: rotate(-10deg) scale(1.08);
}
.logo b {
	color: var(--coral);
	font-weight: 700;
}
.logo .tld {
	font-size: 0.8rem;
	color: var(--muted);
	font-weight: 500;
	align-self: flex-end;
	margin: 0 0 6px -6px;
}
.search {
	flex: 1;
	max-width: 520px;
	position: relative;
}
.search input {
	width: 100%;
	height: 46px;
	border-radius: 999px;
	border: 1.5px solid var(--line-2);
	background: var(--surface);
	padding: 0 18px 0 46px;
	font-weight: 600;
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
}
.search input::placeholder {
	color: #a59fb5;
	font-weight: 600;
}
.search input:focus {
	outline: 0;
	border-color: var(--coral-2);
	box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.14);
}
.search svg {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 19px;
	height: 19px;
	color: var(--muted);
}
.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}
.bell {
	position: relative;
}
.bell .dot {
	position: absolute;
	top: 3px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--coral);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	display: grid;
	place-items: center;
	border: 2px solid var(--bg);
}
.avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--coral-soft);
	flex-shrink: 0;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 600;
	color: #fff;
	overflow: hidden;
}
.avatar.sm {
	width: 26px;
	height: 26px;
	font-size: 0.75rem;
}
.avatar.md {
	width: 34px;
	height: 34px;
	font-size: 0.9rem;
}
.avatar.lg {
	width: 96px;
	height: 96px;
	font-size: 2.2rem;
}
.avatar.xl {
	width: 128px;
	height: 128px;
	font-size: 3rem;
}
.dropdown {
	position: relative;
}
.dropdown-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	min-width: 230px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r);
	box-shadow: var(--shadow-lg);
	padding: 8px;
	opacity: 0;
	transform: translateY(-6px) scale(0.98);
	transform-origin: top right;
	pointer-events: none;
	transition:
		opacity 0.18s,
		transform 0.25s var(--spring);
	z-index: 60;
}
.dropdown.open .dropdown-menu {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.dropdown-menu a,
.dropdown-menu button {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 0.93rem;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
}
.dropdown-menu a:hover,
.dropdown-menu button:hover {
	background: var(--bg);
	color: var(--ink);
}
.dropdown-menu hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 6px 4px;
}
.dropdown-head {
	padding: 10px 12px 8px;
}

/* nav strip */
.nav-strip {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 52px;
	overflow-x: auto;
	scrollbar-width: none;
}
.nav-strip,
.chips {
	-webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
	mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.nav-strip::-webkit-scrollbar {
	display: none;
}
.nav-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 0.92rem;
	color: var(--ink-2);
	white-space: nowrap;
	transition:
		background 0.2s,
		color 0.2s,
		transform 0.25s var(--spring);
}
.nav-link:hover {
	background: var(--surface);
	color: var(--ink);
	transform: translateY(-1px);
}
.nav-link.active {
	background: var(--ink);
	color: #fff;
}
.nav-link .e {
	font-size: 1.05rem;
}
.nav-sep {
	width: 1px;
	height: 22px;
	background: var(--line-2);
	margin: 0 6px;
	flex-shrink: 0;
}

/* ---------- Layout ---------- */
main {
	min-height: 60vh;
	padding: 26px 0 70px;
}
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 28px;
	align-items: start;
}
.layout.narrow {
	grid-template-columns: minmax(0, 760px);
	justify-content: center;
}
@media (max-width: 1020px) {
	.layout {
		grid-template-columns: minmax(0, 1fr);
	}
}
.sidebar {
	display: grid;
	gap: 20px;
	position: sticky;
	top: 140px;
}
@media (max-width: 1020px) {
	.sidebar {
		position: static;
	}
}

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}
.card-pad {
	padding: 22px;
}
.card-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.1rem;
	margin: 0 0 14px;
}
.card-title .more {
	margin-left: auto;
	font-family: var(--font);
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--coral);
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	border-radius: var(--r-xl);
	padding: 46px 48px;
	margin-bottom: 26px;
	overflow: hidden;
	background:
		radial-gradient(120% 120% at 0% 0%, #fff4d6 0%, transparent 50%),
		radial-gradient(90% 120% at 100% 0%, #ffe0ea 0%, transparent 55%),
		radial-gradient(100% 100% at 100% 100%, #dff6f1 0%, transparent 55%),
		linear-gradient(135deg, #fff6ea, #fff);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: center;
	gap: 20px;
}
@media (max-width: 860px) {
	.hero {
		grid-template-columns: 1fr;
		padding: 30px 24px 0;
		text-align: center;
	}
	.hero .hero-cta {
		justify-content: center;
	}
	.hero-stats {
		justify-content: center;
	}
}
.hero .eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 8px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--line);
	font-weight: 800;
	font-size: 0.85rem;
	box-shadow: var(--shadow-sm);
	margin-bottom: 16px;
}
.hero .eyebrow .pill {
	background: var(--mint);
	color: #fff;
	border-radius: 999px;
	padding: 2px 9px;
	font-size: 0.75rem;
}
.hero h1 {
	font-size: clamp(2.1rem, 4.6vw, 3.6rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.025em;
	margin-bottom: 16px;
}
.hero h1 .hl {
	position: relative;
	white-space: nowrap;
	background: linear-gradient(100deg, #ff6b4a, #ff4f8b 60%, #8f7dff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero h1 .hl::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 50 2 100 7 T 198 5' fill='none' stroke='%23FFC93C' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E")
		no-repeat center/100% 100%;
	z-index: -1;
	animation: draw 1.2s 0.3s both ease-out;
	transform-origin: left;
}
@keyframes draw {
	from {
		transform: scaleX(0);
	}
}
.hero p.lead {
	font-size: 1.15rem;
	color: var(--ink-2);
	max-width: 520px;
	margin-bottom: 24px;
}
@media (max-width: 860px) {
	.hero p.lead {
		margin-left: auto;
		margin-right: auto;
	}
}
.hero-cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.hero-stats {
	display: flex;
	gap: 26px;
	margin-top: 28px;
	flex-wrap: wrap;
}
.hero-stats div {
	font-weight: 700;
	color: var(--muted);
	font-size: 0.85rem;
}
.hero-stats b {
	display: block;
	font-family: var(--font-display);
	font-size: 1.6rem;
	color: var(--ink);
	line-height: 1.1;
}
.hero-art {
	position: relative;
	height: 340px;
}
@media (max-width: 860px) {
	.hero-art {
		height: 260px;
	}
}
.hero-art .blob {
	position: absolute;
	inset: 10% 6% 4% 6%;
	border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
	background: linear-gradient(135deg, #ffd166, #ff8e6e 55%, #ff6fa8);
	animation: morph 12s ease-in-out infinite;
	box-shadow: inset 0 -20px 50px rgba(255, 255, 255, 0.25);
}
@keyframes morph {
	0%,
	100% {
		border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
	}
	50% {
		border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%;
	}
}
.hero-art .pets {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.hero-art .pets svg {
	width: 92%;
	height: auto;
	max-height: 100%;
	filter: drop-shadow(0 18px 24px rgba(120, 50, 20, 0.18));
}
.float {
	position: absolute;
	animation: bob 5s ease-in-out infinite;
	z-index: 2;
}
@keyframes bob {
	0%,
	100% {
		transform: translateY(0) rotate(var(--r, 0deg));
	}
	50% {
		transform: translateY(-12px) rotate(var(--r, 0deg));
	}
}
.float-tag {
	background: #fff;
	border-radius: 14px;
	padding: 8px 12px;
	box-shadow: var(--shadow);
	font-weight: 800;
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}
.float-tag .t {
	color: #fff;
	background: linear-gradient(135deg, #ff7a52, #ff4f6b);
	border-radius: 999px;
	padding: 2px 8px;
	font-size: 0.78rem;
}

/* ---------- Filters / tabs ---------- */
.toolbar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}
.tabs {
	display: inline-flex;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 4px;
	gap: 2px;
	box-shadow: var(--shadow-sm);
	overflow-x: auto;
	max-width: 100%;
	scrollbar-width: none;
}
.tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 16px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 0.9rem;
	color: var(--muted);
	white-space: nowrap;
	transition: all 0.2s;
}
.tab:hover {
	color: var(--ink);
}
.tab.active {
	background: linear-gradient(135deg, #ff7a52, #ff5a6a);
	color: #fff;
	box-shadow: 0 4px 12px -4px rgba(255, 90, 95, 0.6);
}
.chips {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px 2px 8px;
	scrollbar-width: none;
	margin-bottom: 10px;
}
.chips::-webkit-scrollbar {
	display: none;
}
.chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 38px;
	padding: 0 15px 0 8px;
	border-radius: 999px;
	background: var(--surface);
	border: 1.5px solid var(--line);
	font-weight: 800;
	font-size: 0.9rem;
	white-space: nowrap;
	transition:
		transform 0.25s var(--spring),
		border-color 0.2s,
		box-shadow 0.2s;
}
.chip .e {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: color-mix(in srgb, var(--c, var(--coral)) 18%, white);
	font-size: 0.95rem;
}
.chip:hover {
	transform: translateY(-2px);
	border-color: var(--c, var(--coral));
	color: var(--ink);
	box-shadow: var(--shadow-sm);
}
.chip.active {
	border-color: var(--c, var(--coral));
	background: color-mix(in srgb, var(--c, var(--coral)) 12%, white);
}

/* ---------- Deal card ---------- */
.deal-list {
	display: grid;
	gap: 16px;
}
.deal {
	position: relative;
	display: grid;
	grid-template-columns: 172px minmax(0, 1fr);
	gap: 20px;
	padding: 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	transition:
		transform 0.35s var(--spring),
		box-shadow 0.3s,
		border-color 0.3s;
	animation: rise 0.5s both ease-out;
}
.deal:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
	border-color: #ffd9cc;
}
@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
}
.deal.expired {
	filter: grayscale(0.85);
	opacity: 0.72;
}
.deal-img {
	position: relative;
	aspect-ratio: 1;
	border-radius: var(--r);
	overflow: hidden;
	background: linear-gradient(135deg, var(--bg-2), #fff);
	border: 1px solid var(--line);
	display: grid;
	place-items: center;
}
.deal-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 8px;
	background: #fff;
	transition: transform 0.5s var(--spring);
}
.deal:hover .deal-img img {
	transform: scale(1.06);
}
.deal-img .ph {
	font-size: 3.4rem;
}
.deal-img .kind-badge {
	position: absolute;
	left: 8px;
	top: 8px;
}
.deal-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.deal-top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.deal-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.22rem;
	line-height: 1.25;
	margin: 0 0 8px;
}
.deal-title a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
}
.deal .z {
	position: relative;
	z-index: 1;
}
.price-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}
.price {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--coral);
	line-height: 1;
}
.price.free {
	color: var(--mint);
}
.was {
	color: var(--muted);
	text-decoration: line-through;
	font-weight: 700;
}
.off {
	background: var(--mint-soft);
	color: #0b8f78;
	font-weight: 900;
	font-size: 0.8rem;
	padding: 3px 8px;
	border-radius: 999px;
}
.ship {
	font-size: 0.82rem;
	color: var(--muted);
	font-weight: 700;
}
.merchant {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 800;
	font-size: 0.85rem;
	color: var(--ink-2);
}
.merchant img {
	width: 16px;
	height: 16px;
	border-radius: 4px;
}
.deal-desc {
	color: var(--muted);
	font-size: 0.93rem;
	margin: 0 0 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.deal-foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.byline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--muted);
}
.byline b {
	color: var(--ink-2);
}
.meta-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 34px;
	padding: 0 11px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 0.85rem;
	color: var(--muted);
	background: transparent;
	border: 0;
	cursor: pointer;
	transition:
		background 0.2s,
		color 0.2s;
}
.meta-btn:hover {
	background: var(--bg);
	color: var(--ink);
}
.meta-btn svg {
	width: 17px;
	height: 17px;
}
.meta-btn.is-on {
	color: var(--coral);
}
.meta-btn.is-on svg {
	fill: currentColor;
}
@media (max-width: 640px) {
	.deal {
		grid-template-columns: 104px minmax(0, 1fr);
		gap: 14px;
		padding: 14px;
	}
	.deal-title {
		font-size: 1.05rem;
	}
	.price {
		font-size: 1.25rem;
	}
	.deal-desc {
		display: none;
	}
	.deal-foot .get-deal span {
		display: none;
	}
}

/* badges */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 9px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 0.74rem;
	background: var(--bg);
	color: var(--ink-2);
	border: 1px solid var(--line);
	white-space: nowrap;
}
.badge.voucher {
	background: var(--lav-soft);
	color: #5a48d6;
	border-color: transparent;
}
.badge.freebie {
	background: var(--mint-soft);
	color: #0b8f78;
	border-color: transparent;
}
.badge.deal {
	background: var(--sun-soft);
	color: #a26a00;
	border-color: transparent;
}
.badge.expired {
	background: #eee;
	color: #666;
}
.badge.mod {
	background: var(--ink);
	color: #fff;
	border: 0;
}
.badge.new {
	background: var(--pink-soft);
	color: #d42a72;
	border: 0;
}

/* ---------- Temperature ---------- */
.temp {
	--t: #b3acc4;
	display: inline-flex;
	align-items: center;
	height: 36px;
	border-radius: 999px;
	background: var(--surface);
	border: 1.5px solid color-mix(in srgb, var(--t) 45%, white);
	box-shadow: 0 2px 8px -3px color-mix(in srgb, var(--t) 60%, transparent);
	position: relative;
	z-index: 1;
	user-select: none;
}
.temp button {
	width: 34px;
	height: 33px;
	border: 0;
	background: transparent;
	cursor: pointer;
	display: grid;
	place-items: center;
	border-radius: 999px;
	color: var(--muted);
	transition:
		transform 0.25s var(--spring),
		background 0.2s,
		color 0.2s;
}
.temp button svg {
	width: 16px;
	height: 16px;
}
.temp button.down:hover,
.temp button.down.voted {
	color: var(--sky);
	background: var(--sky-soft);
}
.temp button.up:hover,
.temp button.up.voted {
	color: var(--coral);
	background: var(--coral-soft);
}
.temp button:active {
	transform: scale(0.85);
}
.temp .deg {
	min-width: 54px;
	text-align: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--t);
	letter-spacing: -0.01em;
	transition: color 0.3s;
}
.temp.cold {
	--t: #3d9bff;
}
.temp.warm {
	--t: #ff9f1c;
}
.temp.hot {
	--t: #ff5a3c;
}
.temp.burning {
	--t: #e8164f;
	background: linear-gradient(90deg, #fff, #fff1ec, #fff);
}
.temp.burning .deg::before {
	content: '🔥';
	margin-right: 2px;
	font-size: 0.9rem;
}
.temp.lg {
	height: 46px;
}
.temp.lg button {
	width: 44px;
	height: 43px;
}
.temp.lg .deg {
	font-size: 1.35rem;
	min-width: 70px;
}
.temp.bump .deg {
	animation: bump 0.45s var(--spring);
}
@keyframes bump {
	40% {
		transform: scale(1.35);
	}
}

/* paw burst particles */
.burst {
	position: fixed;
	pointer-events: none;
	z-index: 999;
	font-size: 18px;
	animation: burst 0.9s ease-out forwards;
}
@keyframes burst {
	0% {
		opacity: 1;
		transform: translate(0, 0) scale(0.6) rotate(0);
	}
	100% {
		opacity: 0;
		transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(var(--rot));
	}
}

/* ---------- Sidebar widgets ---------- */
.mini-list {
	display: grid;
	gap: 4px;
}
.mini-item {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 8px;
	margin: 0 -8px;
	border-radius: 12px;
	transition: background 0.2s;
}
.mini-item:hover {
	background: var(--bg);
	color: inherit;
}
.mini-item .ic {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	font-size: 1.25rem;
	background: var(--bg-2);
	overflow: hidden;
}
.mini-item .ic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mini-item .t {
	font-weight: 800;
	font-size: 0.9rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.mini-item .m {
	font-size: 0.78rem;
	color: var(--muted);
	font-weight: 700;
}
.photo-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}
.photo-strip a {
	aspect-ratio: 1;
	border-radius: 12px;
	overflow: hidden;
	background: var(--bg-2);
}
.photo-strip img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--spring);
}
.photo-strip a:hover img {
	transform: scale(1.08);
}
.promo {
	position: relative;
	overflow: hidden;
	color: #fff;
	border: 0;
	background: linear-gradient(140deg, #8f7dff, #6a5cff 50%, #ff6fa8 120%);
}
.promo h3 {
	font-size: 1.3rem;
}
.promo p {
	opacity: 0.92;
	font-weight: 600;
}
.promo p {
	max-width: 78%;
}
.promo .art {
	position: absolute;
	right: -10px;
	bottom: -26px;
	width: 96px;
	opacity: 0.95;
}
.promo .btn {
	background: #fff;
	color: var(--ink);
	border: 0;
}

/* ---------- Forms ---------- */
.form {
	display: grid;
	gap: 18px;
}
.field {
	display: grid;
	gap: 6px;
}
.field > label,
.label {
	font-weight: 800;
	font-size: 0.92rem;
}
.field .hint {
	font-size: 0.8rem;
	color: var(--muted);
	font-weight: 600;
}
.input,
.select,
.textarea {
	width: 100%;
	min-height: 48px;
	border: 1.5px solid var(--line-2);
	border-radius: 14px;
	background: #fff;
	padding: 11px 15px;
	font-weight: 600;
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
}
.textarea {
	min-height: 140px;
	resize: vertical;
	line-height: 1.5;
}
.input:focus,
.select:focus,
.textarea:focus {
	outline: 0;
	border-color: var(--coral-2);
	box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.13);
}
.input-group {
	position: relative;
}
.input-group .prefix {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-weight: 800;
	color: var(--muted);
}
.input-group .input {
	padding-left: 30px;
}
.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
@media (max-width: 600px) {
	.grid-2,
	.grid-3 {
		grid-template-columns: 1fr;
	}
}
.check {
	display: flex;
	gap: 10px;
	align-items: center;
	font-weight: 700;
	cursor: pointer;
}
.check input {
	width: 20px;
	height: 20px;
	accent-color: var(--coral);
}
.seg {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 8px;
}
.seg label {
	cursor: pointer;
}
.seg input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.seg span {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 14px 8px;
	border-radius: 16px;
	border: 1.5px solid var(--line-2);
	background: #fff;
	font-weight: 800;
	text-align: center;
	transition: all 0.2s var(--spring);
}
.seg span .e {
	font-size: 1.6rem;
}
.seg span small {
	font-weight: 600;
	color: var(--muted);
	font-size: 0.75rem;
}
.seg input:checked + span {
	border-color: var(--coral);
	background: var(--coral-soft);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px -8px rgba(255, 107, 74, 0.6);
}
.seg input:focus-visible + span {
	outline: 3px solid rgba(255, 107, 74, 0.4);
}
.pick-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.pick-grid label {
	cursor: pointer;
}
.pick-grid input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.pick-grid span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1.5px solid var(--line-2);
	background: #fff;
	font-weight: 800;
	font-size: 0.88rem;
	transition: all 0.2s var(--spring);
}
.pick-grid input:checked + span {
	border-color: var(--coral);
	background: var(--coral-soft);
	color: #c8371a;
}
.dropzone {
	position: relative;
	display: grid;
	place-items: center;
	text-align: center;
	gap: 6px;
	min-height: 170px;
	border: 2px dashed var(--line-2);
	border-radius: 20px;
	background: var(--bg);
	padding: 18px;
	cursor: pointer;
	transition:
		border-color 0.2s,
		background 0.2s;
	overflow: hidden;
}
.dropzone:hover,
.dropzone.drag {
	border-color: var(--coral-2);
	background: var(--coral-soft);
}
.dropzone input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}
.dropzone .preview {
	max-height: 260px;
	border-radius: 14px;
	box-shadow: var(--shadow);
}
.dropzone .e {
	font-size: 2.4rem;
}
.form-card {
	max-width: 760px;
	margin: 0 auto;
}
.errors {
	background: #fff0f0;
	border: 1px solid #ffd0d0;
	color: #b42318;
	border-radius: 14px;
	padding: 12px 16px;
	font-weight: 700;
}
.errors ul {
	margin: 0;
	padding-left: 18px;
}

/* ---------- Auth ---------- */
.auth-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: 980px;
	margin: 10px auto;
	border-radius: var(--r-xl);
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lg);
}
@media (max-width: 820px) {
	.auth-wrap {
		grid-template-columns: 1fr;
	}
	.auth-side {
		display: none !important;
	}
}
.auth-side {
	position: relative;
	padding: 44px;
	color: #fff;
	background: linear-gradient(150deg, #ff8a5b 0%, #ff5a6a 50%, #a46bff 100%);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
}
.auth-side h2 {
	font-size: 2.1rem;
	font-weight: 700;
}
.auth-side ul {
	list-style: none;
	padding: 0;
	margin: 18px 0 0;
	display: grid;
	gap: 12px;
	font-weight: 700;
}
.auth-side li {
	display: flex;
	gap: 10px;
	align-items: center;
}
.auth-side li span {
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.2);
	display: grid;
	place-items: center;
}
.auth-side .art {
	width: 85%;
	align-self: center;
	margin-bottom: -44px;
	filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.15));
}
.auth-form {
	padding: 44px;
}
@media (max-width: 520px) {
	.auth-form {
		padding: 28px 22px;
	}
}

/* ---------- Flash / toast ---------- */
.flash {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 18px;
	border-radius: 16px;
	font-weight: 800;
	margin-bottom: 18px;
	border: 1px solid;
	animation: rise 0.4s both;
}
.flash.ok {
	background: var(--mint-soft);
	border-color: #b5ebdf;
	color: #0b7563;
}
.flash.err {
	background: #fff0f0;
	border-color: #ffd0d0;
	color: #b42318;
}
.flash.info {
	background: var(--sun-soft);
	border-color: #ffe7a3;
	color: #8a5a00;
}
.toast-wrap {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 1000;
	display: grid;
	gap: 8px;
}
.toast {
	background: var(--ink);
	color: #fff;
	padding: 12px 20px;
	border-radius: 999px;
	font-weight: 800;
	box-shadow: var(--shadow-lg);
	animation: toast 2.6s both;
}
@keyframes toast {
	0% {
		opacity: 0;
		transform: translateY(20px) scale(0.9);
	}
	10%,
	85% {
		opacity: 1;
		transform: none;
	}
	100% {
		opacity: 0;
		transform: translateY(10px);
	}
}
.banner {
	background: linear-gradient(90deg, var(--sun-soft), #ffe9dc);
	border-bottom: 1px solid #ffe2b0;
	font-weight: 700;
	font-size: 0.9rem;
	padding: 9px 0;
	text-align: center;
}

/* ---------- Deal detail ---------- */
.deal-hero {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	gap: 30px;
	padding: 26px;
}
@media (max-width: 760px) {
	.deal-hero {
		grid-template-columns: 1fr;
		padding: 18px;
	}
}
.deal-hero .deal-img {
	aspect-ratio: 1;
	border-radius: var(--r-lg);
}
.deal-hero .deal-img .ph {
	font-size: 6rem;
}
.deal-hero h1 {
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
	margin: 12px 0 14px;
}
.deal-hero .price {
	font-size: 2.3rem;
}
.deal-cta {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 20px 0 16px;
}
.voucher-box {
	display: flex;
	align-items: center;
	border: 2px dashed var(--lav);
	background: var(--lav-soft);
	border-radius: 999px;
	padding: 4px 4px 4px 18px;
	gap: 10px;
	max-width: 380px;
}
.voucher-box code {
	font-family: ui-monospace, 'SF Mono', Menlo, monospace;
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: 0.06em;
	color: #4a38c9;
	flex: 1;
}
.prose {
	font-size: 1.02rem;
	line-height: 1.7;
	overflow-wrap: anywhere;
}
.prose a {
	color: var(--coral);
	font-weight: 700;
}
.prose blockquote {
	margin: 0 0 1em;
	padding: 10px 16px;
	border-left: 4px solid var(--sun);
	background: var(--sun-soft);
	border-radius: 0 12px 12px 0;
}
.prose code {
	background: var(--bg-2);
	padding: 1px 6px;
	border-radius: 6px;
	font-size: 0.92em;
}
.prose p:last-child {
	margin-bottom: 0;
}
.mention {
	color: var(--lav) !important;
	font-weight: 800;
}
.stat-row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	color: var(--muted);
	font-weight: 700;
	font-size: 0.88rem;
}
.stat-row span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.section-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 30px 0 14px;
}
.section-head h2 {
	margin: 0;
}

/* ---------- Comments ---------- */
.comments {
	display: grid;
	gap: 6px;
}
.comment {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	gap: 12px;
	padding: 14px 0;
}
.comment + .comment {
	border-top: 1px solid var(--line);
}
.comment .head {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 0.88rem;
	margin-bottom: 4px;
}
.comment .head b {
	font-weight: 800;
}
.comment .prose {
	font-size: 0.97rem;
	line-height: 1.6;
}
.comment .actions {
	display: flex;
	gap: 2px;
	margin: 4px 0 0 -10px;
}
.comment .children {
	margin-top: 6px;
	padding-left: 16px;
	border-left: 3px solid var(--line);
}
.comment .children .comment {
	padding: 10px 0;
}
.comment.removed .prose {
	color: var(--muted);
	font-style: italic;
}
.comment-form {
	display: grid;
	gap: 10px;
}
.comment-form .textarea {
	min-height: 90px;
}
.reply-form {
	display: none;
	margin-top: 10px;
}
.reply-form.open {
	display: grid;
}
.empty {
	text-align: center;
	padding: 46px 20px;
	color: var(--muted);
	font-weight: 700;
}
.empty .art {
	width: 150px;
	margin: 0 auto 12px;
}
.empty h3 {
	color: var(--ink);
}

/* ---------- Community ---------- */
.forum-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
}
.forum-card {
	position: relative;
	display: flex;
	gap: 14px;
	padding: 18px;
	border-radius: var(--r-lg);
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	transition:
		transform 0.3s var(--spring),
		box-shadow 0.3s;
	overflow: hidden;
}
.forum-card::before {
	content: '';
	position: absolute;
	right: -30px;
	top: -30px;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: var(--c);
	opacity: 0.12;
	transition: transform 0.5s var(--spring);
}
.forum-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	color: inherit;
}
.forum-card:hover::before {
	transform: scale(1.6);
}
.forum-card .e {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	font-size: 1.6rem;
	background: color-mix(in srgb, var(--c) 18%, white);
	flex-shrink: 0;
}
.forum-card h3 {
	margin: 2px 0 4px;
}
.forum-card p {
	font-size: 0.86rem;
	color: var(--muted);
	margin: 0 0 6px;
	font-weight: 600;
}
.thread-list {
	display: grid;
}
.thread-row {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	padding: 16px 20px;
	position: relative;
}
.thread-row + .thread-row {
	border-top: 1px solid var(--line);
}
.thread-row:hover {
	background: #fffcf8;
}
.thread-row h3 {
	font-size: 1.05rem;
	margin: 0 0 3px;
}
.thread-row h3 a::after {
	content: '';
	position: absolute;
	inset: 0;
}
.thread-row .stats {
	display: flex;
	gap: 14px;
	color: var(--muted);
	font-weight: 800;
	font-size: 0.85rem;
}
.thread-row .stats span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.thread-row .stats svg {
	width: 16px;
	height: 16px;
}
@media (max-width: 600px) {
	.thread-row {
		grid-template-columns: 36px minmax(0, 1fr);
		padding: 14px;
	}
	.thread-row .stats {
		grid-column: 2;
	}
}
.forum-head {
	position: relative;
	padding: 28px;
	border-radius: var(--r-xl);
	background:
		radial-gradient(80% 140% at 100% 0%, color-mix(in srgb, var(--c) 28%, transparent), transparent 60%),
		linear-gradient(135deg, color-mix(in srgb, var(--c) 12%, white), #fff);
	border: 1px solid var(--line);
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}
.forum-head .e {
	width: 72px;
	height: 72px;
	border-radius: 22px;
	font-size: 2.3rem;
	display: grid;
	place-items: center;
	background: #fff;
	box-shadow: var(--shadow);
}
.forum-head h1 {
	margin: 0;
}
.forum-head p {
	margin: 4px 0 0;
	color: var(--ink-2);
	font-weight: 600;
}

/* ---------- Pawsome photo feed ---------- */
.masonry {
	columns: 3 260px;
	column-gap: 16px;
}
.masonry > * {
	break-inside: avoid;
	margin-bottom: 16px;
}
.photo-card {
	position: relative;
	display: block;
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	transition:
		transform 0.35s var(--spring),
		box-shadow 0.3s;
	animation: rise 0.5s both;
}
.photo-card:hover {
	transform: translateY(-4px) rotate(-0.4deg);
	box-shadow: var(--shadow-lg);
}
.photo-card img {
	width: 100%;
	height: auto;
	background: var(--bg-2);
}
.photo-card .cap {
	padding: 12px 14px;
}
.photo-card .cap p {
	margin: 0 0 8px;
	font-weight: 700;
	font-size: 0.92rem;
}
.photo-card .row {
	font-size: 0.82rem;
}
.like-btn.is-on {
	color: var(--pink);
}
.like-btn.is-on svg {
	fill: var(--pink);
}
.like-btn.pop svg {
	animation: bump 0.45s var(--spring);
}
.photo-view {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr);
	overflow: hidden;
}
@media (max-width: 860px) {
	.photo-view {
		grid-template-columns: 1fr;
	}
}
.photo-view .img {
	background: #1e1b2e;
	display: grid;
	place-items: center;
	min-height: 360px;
}
.photo-view .img img {
	max-height: 80vh;
	width: auto;
}
.photo-view .side {
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* ---------- Profile ---------- */
.profile-head {
	position: relative;
	border-radius: var(--r-xl);
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	margin-bottom: 22px;
}
.profile-cover {
	height: 150px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.22'%3E%3Cellipse cx='40' cy='48' rx='10' ry='8'/%3E%3Ccircle cx='28' cy='36' r='4.5'/%3E%3Ccircle cx='36' cy='30' r='4.5'/%3E%3Ccircle cx='45' cy='30' r='4.5'/%3E%3Ccircle cx='53' cy='36' r='4.5'/%3E%3C/g%3E%3C/svg%3E"),
		linear-gradient(120deg, #ffb36b, #ff6b6b 45%, #b06bff);
}
.profile-info {
	display: flex;
	gap: 20px;
	align-items: flex-end;
	padding: 0 26px 22px;
	margin-top: -52px;
	flex-wrap: wrap;
}
.profile-info .avatar {
	border: 5px solid #fff;
	box-shadow: var(--shadow);
}
.profile-info h1 {
	margin: 0;
	font-size: 1.9rem;
}
.profile-stats {
	display: flex;
	gap: 22px;
	font-weight: 700;
	color: var(--muted);
	font-size: 0.9rem;
}
.profile-stats b {
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.15rem;
	margin-right: 3px;
}
.pet-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 14px;
}
.pet-card {
	text-align: center;
	padding: 18px 14px;
	border-radius: var(--r-lg);
	background: var(--surface);
	border: 1px solid var(--line);
	transition: transform 0.3s var(--spring);
}
.pet-card:hover {
	transform: translateY(-3px) rotate(-1deg);
}
.pet-card .pic {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	margin: 0 auto 10px;
	overflow: hidden;
	background: var(--bg-2);
	display: grid;
	place-items: center;
	font-size: 2.6rem;
	border: 4px solid #fff;
	box-shadow: var(--shadow);
}
.pet-card .pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pet-card h3 {
	margin: 0;
}

/* ---------- Notifications ---------- */
.notif {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 14px 20px;
	position: relative;
}
.notif + .notif {
	border-top: 1px solid var(--line);
}
.notif.unread {
	background: #fff8f3;
}
.notif.unread::before {
	content: '';
	position: absolute;
	left: 8px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--coral);
	transform: translateY(-50%);
}
.notif .ic {
	width: 40px;
	height: 40px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	font-size: 1.15rem;
	background: var(--bg-2);
	flex-shrink: 0;
}

/* ---------- Tables (admin) ---------- */
.table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
}
.table th,
.table td {
	text-align: left;
	padding: 12px 14px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}
.table th {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--muted);
}
.stat-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}
.stat-card {
	padding: 18px;
}
.stat-card b {
	display: block;
	font-family: var(--font-display);
	font-size: 2rem;
}

/* ---------- Pagination ---------- */
.pager {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 26px;
}

/* ---------- Footer ---------- */
.site-footer {
	position: relative;
	margin-top: 40px;
	background: var(--ink);
	color: #cfc9de;
	padding: 60px 0 30px;
	overflow: hidden;
}
.site-footer::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 0;
	right: 0;
	height: 40px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v12c-100 18-200 24-300 14S700 0 600 10 400 34 300 30 100 8 0 20z' fill='%23fff8f1'/%3E%3C/svg%3E")
		no-repeat top/100% 100%;
}
.site-footer a {
	color: #cfc9de;
	font-weight: 700;
}
.site-footer a:hover {
	color: #fff;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(3, 1fr);
	gap: 30px;
}
@media (max-width: 760px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}
.site-footer h4 {
	color: #fff;
	font-size: 1rem;
	margin-bottom: 12px;
}
.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
	font-size: 0.92rem;
}
.site-footer .logo {
	color: #fff;
	margin-bottom: 12px;
}
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 40px;
	padding-top: 20px;
	display: flex;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 0.85rem;
}
.footer-paws {
	position: absolute;
	right: 4%;
	bottom: 20px;
	width: 180px;
	opacity: 0.06;
}

/* ---------- Mobile bottom nav ---------- */
.bottom-nav {
	display: none;
}
@media (max-width: 760px) {
	.bottom-nav {
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 70;
		background: rgba(255, 255, 255, 0.94);
		backdrop-filter: blur(14px);
		border-top: 1px solid var(--line);
		padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
	}
	.bottom-nav a {
		display: grid;
		justify-items: center;
		gap: 2px;
		font-size: 0.68rem;
		font-weight: 800;
		color: var(--muted);
		padding: 4px 0;
	}
	.bottom-nav a.active {
		color: var(--coral);
	}
	.bottom-nav svg {
		width: 23px;
		height: 23px;
	}
	.bottom-nav .post {
		width: 46px;
		height: 46px;
		margin-top: -18px;
		border-radius: 16px;
		background: linear-gradient(135deg, #ff7a52, #ff4f8b);
		color: #fff;
		display: grid;
		place-items: center;
		box-shadow: 0 8px 18px -6px rgba(255, 90, 95, 0.7);
	}
	body {
		padding-bottom: 70px;
	}
	.header-main {
		height: 62px;
		gap: 10px;
	}
	.header-main .search {
		display: none;
	}
	.logo {
		font-size: 1.3rem;
	}
	.logo svg {
		width: 36px;
		height: 36px;
	}
	.logo .tld {
		display: none;
	}
}
.mobile-search {
	padding: 0 0 10px;
}
.mobile-search .search {
	max-width: none;
}

/* ---------- Misc ---------- */
.page-title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}
.page-title h1 {
	margin: 0;
}
.kbd {
	font-family: ui-monospace, monospace;
	font-size: 0.8em;
	background: var(--bg-2);
	padding: 2px 6px;
	border-radius: 6px;
}
.divider {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--muted);
	font-weight: 700;
	font-size: 0.85rem;
}
.divider::before,
.divider::after {
	content: '';
	flex: 1;
	border-top: 1px solid var(--line);
}
.static-page h2 {
	margin-top: 1.4em;
}
.static-page li {
	margin-bottom: 6px;
}
.skeleton {
	background: linear-gradient(90deg, var(--bg-2), #fff, var(--bg-2));
	background-size: 200% 100%;
	animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
	to {
		background-position: -200% 0;
	}
}
.wiggle:hover {
	animation: wiggle 0.5s;
}
@keyframes wiggle {
	25% {
		transform: rotate(-6deg);
	}
	75% {
		transform: rotate(6deg);
	}
}
.err-page {
	text-align: center;
	padding: 40px 20px;
}
.err-page .art {
	width: 260px;
	margin: 0 auto 10px;
}
.err-page h1 {
	font-size: 4rem;
	margin: 0;
	color: var(--coral);
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* compact hero on phones so deals stay above the fold */
@media (max-width: 600px) {
	.hero {
		padding: 22px 18px 0;
		margin-bottom: 18px;
		gap: 4px;
	}
	.hero .eyebrow {
		font-size: 0.75rem;
		margin-bottom: 10px;
	}
	.hero h1 {
		font-size: 2rem;
		margin-bottom: 10px;
	}
	.hero p.lead {
		font-size: 0.98rem;
		margin-bottom: 14px;
	}
	.hero-stats,
	.hero-cta .btn:not(.btn-primary) {
		display: none;
	}
	.hero-cta .btn {
		height: 46px;
	}
	.hero-art {
		height: 190px;
	}
	.float-tag {
		font-size: 0.75rem;
		padding: 6px 9px;
	}
}
