.lmb-favorites {
	--lmb-favorites-ink: #10231d;
	--lmb-favorites-muted: #63746e;
	--lmb-favorites-green: #123c34;
	--lmb-favorites-green-soft: #e8f3ee;
	--lmb-favorites-gold: #f1b844;
	--lmb-favorites-red: #8f2c22;
	--lmb-favorites-border: rgba(18, 60, 52, 0.12);
	--lmb-favorites-shadow: 0 18px 44px rgba(17, 24, 39, 0.09);
	background: #f6f8f7;
	color: var(--lmb-favorites-ink);
	min-height: 100vh;
}

.lmb-favorites__hero {
	background:
		linear-gradient(180deg, rgba(6, 25, 47, 0.94), rgba(6, 25, 47, 0.98)),
		radial-gradient(circle at 12% 16%, rgba(241, 184, 68, 0.18), transparent 34%),
		#06192f;
	color: #fff;
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
}

.lmb-favorites__hero-inner,
.lmb-favorites__shell {
	margin: 0 auto;
	max-width: 1180px;
	width: 100%;
}

.lmb-favorites__eyebrow {
	color: var(--lmb-favorites-red);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	margin: 0 0 0.35rem;
	text-transform: uppercase;
}

.lmb-favorites__hero .lmb-favorites__eyebrow {
	color: var(--lmb-favorites-gold);
}

.lmb-favorites__hero h1 {
	font-family: "Poppins", sans-serif;
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1.04;
	margin: 0 0 0.55rem;
}

.lmb-favorites__hero p {
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.05rem;
	line-height: 1.7;
	margin: 0;
	max-width: 680px;
}

.lmb-favorites__shell {
	padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 5rem);
}

.lmb-favorites__notice,
.lmb-favorites__auth,
.lmb-favorites__prompt,
.lmb-favorites__empty,
.lmb-favorites__card {
	background: #fff;
	border: 1px solid var(--lmb-favorites-border);
	border-radius: 1.2rem;
	box-shadow: var(--lmb-favorites-shadow);
}

.lmb-favorites__notice {
	margin-bottom: 1rem;
	padding: 0.9rem 1rem;
}

.lmb-favorites__notice--success {
	background: #ecf8f1;
	color: #0f5d3d;
}

.lmb-favorites__notice--error {
	background: #fff1ee;
	color: var(--lmb-favorites-red);
}

.lmb-favorites__auth,
.lmb-favorites__prompt {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: clamp(1.2rem, 3vw, 1.7rem);
}

.lmb-favorites__auth-icon {
	align-items: center;
	background: var(--lmb-favorites-green-soft);
	border-radius: 999px;
	color: var(--lmb-favorites-green);
	display: inline-flex;
	height: 3.2rem;
	justify-content: center;
	width: 3.2rem;
}

.lmb-favorites__auth h2,
.lmb-favorites__prompt h2,
.lmb-favorites__results-head h2,
.lmb-favorites__empty h2 {
	font-family: "Poppins", sans-serif;
	margin: 0;
}

.lmb-favorites__auth p,
.lmb-favorites__prompt p,
.lmb-favorites__empty p {
	color: var(--lmb-favorites-muted);
	line-height: 1.65;
	margin: 0.35rem 0 0;
}

.lmb-favorites__button {
	align-items: center;
	border: 0;
	border-radius: 999px;
	display: inline-flex;
	font-weight: 800;
	gap: 0.45rem;
	justify-content: center;
	line-height: 1;
	min-height: 3rem;
	padding: 0.9rem 1.2rem;
	text-decoration: none;
	transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.lmb-favorites__button--primary {
	background: var(--lmb-favorites-red);
	box-shadow: 0 14px 28px rgba(143, 44, 34, 0.2);
	color: #fff;
}

.lmb-favorites__button--secondary {
	background: var(--lmb-favorites-green-soft);
	color: var(--lmb-favorites-green);
}

.lmb-favorites__button:hover,
.lmb-favorites__button:focus-visible {
	transform: translateY(-1px);
}

.lmb-favorites a:focus-visible,
.lmb-favorites button:focus-visible {
	outline: 3px solid rgba(143, 44, 34, 0.25);
	outline-offset: 3px;
}

.lmb-favorites__icon {
	display: inline-block;
	fill: currentColor;
	height: 1.05rem;
	width: 1.05rem;
}

.lmb-favorites__results-head {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin: 1.5rem 0 1rem;
}

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

.lmb-favorites__card {
	display: grid;
	grid-template-rows: auto 1fr auto;
	min-width: 0;
	overflow: hidden;
}

.lmb-favorites__media {
	aspect-ratio: 1.62 / 1;
	background: #dfe8e7;
	display: block;
}

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

.lmb-favorites__card-body {
	display: grid;
	gap: 0.65rem;
	padding: 1rem;
}

.lmb-favorites__card h3 {
	font-family: "Poppins", sans-serif;
	font-size: 1.12rem;
	line-height: 1.25;
	margin: 0;
}

.lmb-favorites__card h3 a {
	color: var(--lmb-favorites-ink);
	text-decoration: none;
}

.lmb-favorites__card h3 a:hover {
	color: var(--lmb-favorites-green);
}

.lmb-favorites__meta,
.lmb-favorites__description {
	color: var(--lmb-favorites-muted);
	line-height: 1.55;
	margin: 0;
}

.lmb-favorites__meta {
	font-size: 0.9rem;
	font-weight: 700;
}

.lmb-favorites__description {
	font-size: 0.92rem;
}

.lmb-favorites__card-actions {
	border-top: 1px solid var(--lmb-favorites-border);
	display: flex;
	justify-content: space-around;
}

.lmb-favorites__card-actions a {
	align-items: center;
	color: var(--lmb-favorites-green);
	display: inline-flex;
	flex: 1;
	justify-content: center;
	min-height: 3.2rem;
	text-decoration: none;
}

.lmb-favorites__card-actions a:hover {
	background: var(--lmb-favorites-green-soft);
}

.lmb-favorites__card-actions a:nth-last-child(2) {
	color: var(--lmb-favorites-red);
}

.lmb-favorites__empty {
	padding: clamp(2rem, 5vw, 4rem);
	text-align: center;
}

.lmb-favorites__empty > svg {
	color: var(--lmb-favorites-red);
	height: 2.3rem;
	width: 2.3rem;
}

.lmb-favorites__empty p {
	margin: 0.5rem auto 1.25rem;
	max-width: 560px;
}

@media (max-width: 980px) {
	.lmb-favorites__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.lmb-favorites__auth,
	.lmb-favorites__prompt,
	.lmb-favorites__results-head {
		align-items: stretch;
		flex-direction: column;
	}

	.lmb-favorites__grid {
		grid-template-columns: 1fr;
	}

	.lmb-favorites__button {
		width: 100%;
	}
}
