/*
 * Little Unicorn Mods — styles that theme.json cannot express.
 * Loaded on the front end and in the editor.
 */

/* ---------- Base ---------- */

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

::selection {
	background: var(--wp--preset--color--rose);
	color: var(--wp--preset--color--contrast);
}

:where(h1, h2, h3) {
	text-wrap: balance;
}

:where(p) {
	text-wrap: pretty;
}

.luc-icon {
	flex-shrink: 0;
	width: 1.1em;
	height: 1.1em;
}

.luc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* inline-flex ignores text-align: centred eyebrows need a full-width flex row. */
.luc-eyebrow.has-text-align-center {
	display: flex;
	justify-content: center;
}

/* ---------- Links & focus ---------- */

/* Keyboard focus only: a mouse click no longer leaves a box around the link. */
:where(a, button, summary, .wp-element-button):focus-visible {
	border-radius: 6px;
	outline: 2px dashed var(--wp--preset--color--lavender);
	outline-offset: 4px;
}

:where(a, button, summary, .wp-element-button):focus:not(:focus-visible) {
	outline: none;
}

/* Text links: a thin lavender underline that turns primary on hover. */
:where(a:not(.wp-element-button)) {
	text-decoration-color: var(--wp--preset--color--lavender);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.25em;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

:where(a:not(.wp-element-button)):hover {
	text-decoration-color: currentColor;
}

/* Standalone "more →" links and footer links: no underline at rest, one that slides in on hover. */
.luc-more-link a,
.luc-footer a:not(.wp-element-button) {
	padding-bottom: 2px;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
	text-decoration: none;
	transition: color 0.15s ease, background-size 0.25s ease;
}

.luc-more-link a:hover,
.luc-footer a:not(.wp-element-button):hover {
	background-size: 100% 2px;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

/* ---------- Buttons ---------- */

.luc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.8rem 1.4rem;
	border: 1px solid transparent;
	border-radius: var(--wp--custom--radius--pill);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.luc-btn:hover {
	transform: translateY(-1px);
}

.luc-btn:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 3px;
}

.luc-btn--primary {
	background: var(--wp--preset--color--primary);
	box-shadow: 0 6px 18px rgb(91 63 168 / 0.25);
	color: var(--wp--preset--color--surface);
}

.luc-btn--primary:hover {
	background: var(--wp--preset--color--primary-hover);
	color: var(--wp--preset--color--surface);
}

.luc-btn--secondary {
	border-color: var(--wp--preset--color--border);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
}

.luc-btn--secondary:hover {
	border-color: var(--wp--preset--color--lavender);
	color: var(--wp--preset--color--primary);
}

.wp-block-button__link {
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
}

.wp-block-button.is-style-soft .wp-block-button__link {
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
}

.wp-block-button.is-style-soft .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--lavender);
	color: var(--wp--preset--color--primary);
}

.wp-block-button.is-style-iridescent .wp-block-button__link {
	background: var(--wp--preset--gradient--unicorn);
	box-shadow: 0 8px 22px rgb(138 92 201 / 0.35);
	color: var(--wp--preset--color--surface);
}

/* ---------- Header ---------- */

.luc-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

/* The blur lives on a layer: on the header itself it would trap the fixed mobile menu overlay inside the header. */
.luc-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: color-mix(in srgb, var(--wp--preset--color--base) 85%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
}

.admin-bar .luc-header {
	top: var(--wp-admin--admin-bar--height, 0);
}

.luc-header .wp-block-site-logo img {
	border-radius: 50%;
}

.luc-header .wp-block-navigation .wp-block-navigation-item__content {
	padding: 0.4rem 0.2rem;
}

.luc-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.luc-header .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--wp--preset--color--primary);
}

/* ---------- Mobile menu ---------- */

/* Patreon button of the mobile menu; the header has its own on larger screens. */
.luc-header .luc-nav-cta {
	display: none;
}

/* :not(.has-background) matches core's selector, which would otherwise force a white background. */
.luc-header .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.25rem 1.5rem 2rem;
	background:
		radial-gradient(circle at 100% 0%, rgb(246 184 209 / 0.55), transparent 55%),
		radial-gradient(circle at 0% 100%, rgb(168 230 207 / 0.5), transparent 55%),
		url(../icons/paw-pattern.svg) center / 120px,
		var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

.luc-header .is-menu-open .wp-block-navigation__responsive-close,
.luc-header .is-menu-open .wp-block-navigation__responsive-dialog {
	height: 100%;
}

.luc-header .is-menu-open .wp-block-navigation__responsive-dialog {
	display: flex;
	flex-direction: column;
}

.luc-header .is-menu-open .wp-block-navigation__responsive-container-close {
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--soft);
}

.luc-header .is-menu-open .wp-block-navigation__responsive-container-content {
	flex: 1;
	align-items: stretch;
	padding-top: 4.5rem;
}

.luc-header .is-menu-open .wp-block-navigation__container {
	flex: 1;
	align-items: stretch;
	gap: 0;
	width: 100%;
}

.luc-header .is-menu-open .wp-block-navigation-item {
	align-items: stretch;
	width: 100%;
	border-bottom: 1px solid var(--wp--preset--color--border);
	animation: luc-menu-in 0.35s ease both;
}

.luc-header .is-menu-open .wp-block-navigation-item:nth-child(2) {
	animation-delay: 0.05s;
}

.luc-header .is-menu-open .wp-block-navigation-item:nth-child(3) {
	animation-delay: 0.1s;
}

.luc-header .is-menu-open .wp-block-navigation-item:nth-child(4) {
	animation-delay: 0.15s;
}

.luc-header .is-menu-open .wp-block-navigation-item__content.wp-block-navigation-item__content {
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 0.9rem 0.75rem;
	border-radius: var(--wp--custom--radius--small);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 600;
	line-height: 1.2;
}

.luc-header .is-menu-open .wp-block-navigation-item__content::after {
	content: "→";
	color: var(--wp--preset--color--lavender);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--large);
}

.luc-header .is-menu-open .wp-block-navigation-item__content[aria-current="page"] {
	background: var(--wp--preset--color--lavender-soft);
	color: var(--wp--preset--color--primary);
}

.luc-header .is-menu-open .wp-block-navigation-item__content[aria-current="page"]::after {
	color: var(--wp--preset--color--primary);
}

.luc-header .is-menu-open .luc-nav-cta {
	display: flex;
	width: 100%;
	margin-top: auto;
	padding-top: 2rem;
	animation: luc-menu-in 0.35s 0.2s ease both;
}

.luc-header .is-menu-open .luc-nav-cta .wp-block-button {
	width: 100%;
}

.luc-header .is-menu-open .luc-nav-cta .wp-block-button__link {
	width: 100%;
	padding: 1rem 1.5rem;
	font-size: var(--wp--preset--font-size--medium);
	text-align: center;
}

@keyframes luc-menu-in {

	from {
		opacity: 0;
		transform: translateY(8px);
	}
}

@media (prefers-reduced-motion: reduce) {

	.luc-header .is-menu-open .wp-block-navigation-item,
	.luc-header .is-menu-open .luc-nav-cta {
		animation: none;
	}
}

/* ---------- Hero ---------- */

.luc-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.luc-hero::before,
.luc-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.7;
}

.luc-hero::before {
	top: -20%;
	right: -10%;
	width: min(520px, 70vw);
	aspect-ratio: 1;
	background: var(--wp--preset--color--rose);
}

.luc-hero::after {
	bottom: -30%;
	left: -10%;
	width: min(480px, 70vw);
	aspect-ratio: 1;
	background: var(--wp--preset--color--mint);
}

.luc-hero h1 em {
	background: var(--wp--preset--gradient--unicorn);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-style: italic;
}

.luc-sparkle {
	position: relative;
}

.luc-sparkle::after {
	content: "";
	position: absolute;
	top: -0.4em;
	right: -0.9em;
	width: 0.7em;
	height: 0.7em;
	background: var(--wp--preset--color--lavender);
	-webkit-mask: url(../icons/sparkle.svg) center / contain no-repeat;
	mask: url(../icons/sparkle.svg) center / contain no-repeat;
}

/* ---------- Cards ---------- */

.wp-block-group.is-style-card {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--medium);
	background: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--soft);
}

.luc-mod-card {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--medium);
	background: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--soft);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.luc-mod-card:hover,
.luc-mod-card:focus-within {
	transform: translateY(-3px);
	box-shadow: var(--wp--preset--shadow--lifted);
}

.luc-mod-card .wp-block-post-featured-image {
	margin: 0;
	border-radius: 0;
	background: var(--wp--preset--gradient--iridescent);
	aspect-ratio: 16 / 10;
}

.luc-mod-card .wp-block-post-featured-image {
	overflow: hidden;
}

/* Patreon images come in any size: always fill the 16/10 frame. */
.luc-mod-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.4s ease;
}

.luc-mod-card:hover .wp-block-post-featured-image img {
	transform: scale(1.03);
}

.luc-mod-card__body {
	flex: 1;
}

/* Whole card clickable through the title link. */
.luc-mod-card .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.luc-mod-card .wp-block-post-excerpt,
.luc-mod-card .wp-block-post-title {
	overflow-wrap: anywhere;
}

.luc-mod-card .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.luc-mod-card__meta {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
}

.luc-mod-card__meta .luc-status {
	position: relative;
	z-index: 1;
}

/* Placeholder cover when a mod has no featured image (patron-only posts often have none). */
.luc-mod-card:not(:has(.wp-block-post-featured-image img))::before {
	content: "";
	display: block;
	align-self: stretch;
	width: 100%;
	aspect-ratio: 16 / 10;
	background:
		url(../icons/plumbob.svg) center / 34px 56px no-repeat,
		url(../icons/paw-pattern.svg) center / 120px,
		var(--wp--preset--gradient--iridescent);
}

.wp-block-post-template.is-layout-grid > li {
	height: 100%;
}

/* ---------- Chips (terms) ---------- */

.wp-block-categories.is-style-chips,
.wp-block-categories-list.is-style-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	padding: 0;
	list-style: none;
}

.wp-block-categories.is-style-chips li a {
	display: inline-flex;
	padding: 0.6rem 1.15rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.wp-block-categories.is-style-chips li a:hover {
	border-color: var(--wp--preset--color--lavender);
	color: var(--wp--preset--color--primary);
}

.wp-block-post-terms.is-style-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.wp-block-post-terms.is-style-chips .wp-block-post-terms__separator {
	display: none;
}

.wp-block-post-terms.is-style-chips a {
	position: relative;
	z-index: 1;
	padding: 0.2rem 0.65rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--lavender-soft);
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

/* ---------- FAQ ---------- */

.wp-block-details.is-style-faq {
	border-radius: var(--wp--custom--radius--small);
	transition: border-color 0.15s ease;
}

.wp-block-details.is-style-faq[open] {
	border-color: var(--wp--preset--color--lavender);
}

.wp-block-details.is-style-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.wp-block-details.is-style-faq summary::-webkit-details-marker {
	display: none;
}

.wp-block-details.is-style-faq summary::after {
	content: "+";
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--wp--preset--color--lavender-soft);
	color: var(--wp--preset--color--primary);
	font-size: 1.1rem;
	transition: transform 0.2s ease;
}

.wp-block-details.is-style-faq[open] summary::after {
	transform: rotate(45deg);
}

/* ---------- Single mod ---------- */

@media (min-width: 900px) {

	.luc-sticky {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 6rem);
	}
}

.luc-mod-content .wp-block-gallery {
	gap: 0.75rem;
}

/* ---------- Support band ---------- */

.luc-support-card {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.luc-support-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--wp--preset--shadow--lifted);
}

.luc-support-icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 14px;
	background: var(--wp--preset--color--lavender-soft);
	color: var(--wp--preset--color--primary);
}

.luc-support-icon svg {
	width: 1.5rem;
	height: 1.5rem;
}

/* ---------- Footer ---------- */

.luc-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
}

.luc-socials a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

.luc-socials a:hover {
	border-color: var(--wp--preset--color--lavender);
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

/* ---------- Pagination ---------- */

.wp-block-query-pagination {
	gap: 0.4rem;
}

.wp-block-query-pagination-numbers .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	text-decoration: none;
}

.wp-block-query-pagination-numbers .page-numbers.current {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--surface);
}

/* ---------- Utilities ---------- */

@media (max-width: 781px) {

	.luc-hide-mobile {
		display: none !important;
	}
}

/* ---------- Imported Patreon posts ---------- */

.luc-patreon-cta {
	display: grid;
	gap: 1rem;
	margin-block: var(--wp--preset--spacing--40);
}

.luc-patreon-cta .luc-patreon-note {
	margin: 0;
}

.luc-patreon-note {
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--wp--preset--color--lavender);
	border-radius: var(--wp--custom--radius--small);
	background: var(--wp--preset--color--lavender-soft);
	font-weight: 700;
}

/* ==========================================================================
   Sims touches: plumbob, game UI panels, needs, Simoleons and pets.
   All shapes are original SVGs drawn for this theme.
   ========================================================================== */

/* ---------- Plumbob ---------- */

.luc-plumbob {
	display: inline-flex;
	flex-shrink: 0;
	width: 0.9em;
	height: 1.5em;
}

.luc-plumbob svg {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 3px 4px rgb(35 128 42 / 0.3));
	animation: luc-plumbob-float 4s ease-in-out infinite;
}

@keyframes luc-plumbob-float {

	0%,
	100% {
		transform: translateY(0) rotateY(0);
	}

	50% {
		transform: translateY(-4px) rotateY(180deg);
	}
}

.luc-brand-plumbob {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1;
}

.luc-plumbob--alert {
	color: var(--wp--preset--color--need-red);
	font-size: 2.5rem;
}

.luc-plumbob--alert svg {
	filter: drop-shadow(0 4px 6px rgb(229 72 77 / 0.3));
}

/* Plumbob that pops above a mod card on hover. */
.luc-mod-card::after {
	content: "";
	position: absolute;
	z-index: 2;
	top: 0.75rem;
	right: 0.9rem;
	width: 18px;
	height: 30px;
	background: url(../icons/plumbob.svg) center / contain no-repeat;
	filter: drop-shadow(0 3px 4px rgb(35 128 42 / 0.35));
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.luc-mod-card:hover::after,
.luc-mod-card:focus-within::after {
	opacity: 1;
	transform: translateY(0);
	animation: luc-plumbob-float 2.4s ease-in-out infinite;
}

/* ---------- Game UI buttons ---------- */

.wp-block-button.is-style-sims .wp-block-button__link,
.luc-downloads .luc-btn--primary {
	border: 0;
	background: linear-gradient(180deg, #2c9a31 0%, #24872a 55%, #1b6a21 100%);
	box-shadow: inset 0 2px 0 rgb(255 255 255 / 0.35), 0 4px 0 #155219, 0 8px 18px rgb(35 128 42 / 0.3);
	color: #fff;
	text-shadow: 0 1px 0 rgb(0 0 0 / 0.2);
}

.wp-block-button.is-style-sims .wp-block-button__link:hover,
.luc-downloads .luc-btn--primary:hover {
	background: linear-gradient(180deg, #33a838 0%, #278f2d 55%, #1d7023 100%);
	color: #fff;
}

.wp-block-button.is-style-sims .wp-block-button__link:active,
.luc-downloads .luc-btn--primary:active {
	box-shadow: inset 0 2px 0 rgb(255 255 255 / 0.35), 0 1px 0 #155219;
	transform: translateY(3px);
}

/* ---------- Game UI panels ---------- */

.wp-block-group.is-style-sims-panel {
	overflow: hidden;
	padding: 0 1.5rem 1.25rem;
	border: 2px solid var(--wp--preset--color--sims-sky);
	border-radius: 20px;
	background: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--soft);
}

.luc-sims-panel__title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 -1.5rem 1rem;
	padding: 0.8rem 1.5rem;
	background: var(--wp--preset--gradient--sims-panel);
	color: #fff;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.luc-sims-panel__title::before {
	content: "";
	width: 0.6rem;
	height: 1rem;
	background: currentcolor;
	-webkit-mask: url(../icons/plumbob-mono.svg) center / contain no-repeat;
	mask: url(../icons/plumbob-mono.svg) center / contain no-repeat;
}

/* ---------- Needs bars ---------- */

.luc-needs {
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.luc-need {
	display: grid;
	grid-template-columns: 6.5rem 1fr;
	align-items: center;
	gap: 0.75rem;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 800;
}

.luc-need__bar {
	position: relative;
	height: 0.7rem;
	overflow: hidden;
	border-radius: 999px;
	background: var(--wp--preset--color--border);
	box-shadow: inset 0 1px 2px rgb(42 35 64 / 0.15);
}

.luc-need__bar::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--luc-level, 100%);
	border-radius: inherit;
	background: linear-gradient(180deg, #8be36b, var(--wp--preset--color--plumbob));
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5);
}

.luc-need--mid .luc-need__bar::after {
	background: linear-gradient(180deg, #ffe08a, var(--wp--preset--color--need-yellow));
}

.luc-need--low .luc-need__bar::after {
	background: linear-gradient(180deg, #ff9a9d, var(--wp--preset--color--need-red));
}

.luc-hero .luc-needs {
	max-width: 22rem;
	padding: 0.9rem 1.1rem;
	border: 2px solid var(--wp--preset--color--sims-sky);
	border-radius: 18px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 80%, transparent);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

/* ---------- Thought bubble ---------- */

.wp-block-group.is-style-thought {
	position: relative;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
	border: 2px solid var(--wp--preset--color--border);
	border-radius: 48px;
	background: var(--wp--preset--color--surface);
	box-shadow: var(--wp--preset--shadow--soft);
}

.wp-block-group.is-style-thought::before,
.wp-block-group.is-style-thought::after {
	content: "";
	position: absolute;
	border: 2px solid var(--wp--preset--color--border);
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
}

.wp-block-group.is-style-thought::before {
	bottom: -1.1rem;
	left: 2.5rem;
	width: 1.4rem;
	height: 1.4rem;
}

.wp-block-group.is-style-thought::after {
	bottom: -2.1rem;
	left: 1.6rem;
	width: 0.8rem;
	height: 0.8rem;
}

/* ---------- Simoleons ---------- */

.luc-simoleon {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
}

.luc-support-icon svg.luc-icon--plumbob {
	width: 1.1rem;
	height: 1.8rem;
}

/* ---------- Required packs ---------- */

.luc-packs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.luc-pack {
	display: inline-flex;
	align-items: center;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--sims-sky);
	border-radius: 999px;
	background: var(--wp--preset--color--surface);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
}

.luc-pack__code {
	padding: 0.25rem 0.55rem;
	background: var(--wp--preset--gradient--sims-panel);
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.luc-pack__name {
	padding: 0.25rem 0.65rem 0.25rem 0.5rem;
}

/* ---------- Pets ---------- */

.luc-hero {
	background-image: url(../icons/paw-pattern.svg);
	background-size: 160px;
}

.luc-paw-trail {
	height: 32px;
	margin-block: 0;
	background: var(--wp--preset--color--lavender);
	opacity: 0.45;
	-webkit-mask: url(../icons/paw-trail.svg) left center / 120px 32px repeat-x;
	mask: url(../icons/paw-trail.svg) left center / 120px 32px repeat-x;
}

/* ---------- Category tiles ---------- */

.luc-cat-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
	gap: 0.9rem;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
}

.luc-cat-tile {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 0.9rem;
	height: 100%;
	padding: 1rem 1.1rem;
	border: 2px solid var(--wp--preset--color--border);
	border-radius: 18px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.luc-cat-tile:hover,
.luc-cat-tile:focus-visible {
	border-color: var(--wp--preset--color--sims-blue);
	box-shadow: var(--wp--preset--shadow--soft);
	transform: translateY(-2px);
}

.luc-cat-tile__icon {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 14px;
	background: var(--wp--preset--color--sims-sky);
	color: var(--wp--preset--color--sims-blue);
}

.luc-cat-tile__icon svg {
	width: 1.4rem;
	height: 1.4rem;
}

.luc-cat-tile__name {
	display: block;
	font-weight: 800;
}

.luc-cat-tile__count {
	display: block;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {

	.luc-plumbob svg,
	.luc-mod-card:hover::after,
	.luc-mod-card:focus-within::after {
		animation: none;
	}
}

/* Stand-in portrait for the About section until a site logo is set. */
.luc-avatar {
	display: grid;
	place-items: center;
	width: 140px;
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		url(../icons/paw-pattern.svg) center / 90px,
		var(--wp--preset--gradient--iridescent);
	box-shadow: inset 0 0 0 4px var(--wp--preset--color--surface), 0 0 0 2px var(--wp--preset--color--lavender-soft);
	font-size: 2.6rem;
}
