/* A muse's window off the street (windows/frame.ts): an arched frame, gold
   and glowing when lit, the muse frosted behind its glazing bars when dark. */
.wf {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	padding: 4px;
	border-radius: 999px 999px var(--r-sm) var(--r-sm);
	background: color-mix(in srgb, var(--house, var(--gold)) 40%, var(--card-up));
	transition: transform 0.2s var(--ease);
}
.wf img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	border-radius: 999px 999px 3px 3px;
	background: var(--void);
	filter: blur(1px) saturate(0.6) brightness(0.6);
}
.wf::after {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 999px 999px 3px 3px;
	pointer-events: none;
	background:
		linear-gradient(
			90deg,
			transparent calc(50% - 1px),
			rgba(var(--void-rgb), 0.85) calc(50% - 1px) calc(50% + 1px),
			transparent calc(50% + 1px)
		),
		linear-gradient(
			0deg,
			transparent calc(42% - 1px),
			rgba(var(--void-rgb), 0.85) calc(42% - 1px) calc(42% + 1px),
			transparent calc(42% + 1px)
		),
		linear-gradient(160deg, rgba(var(--bone-rgb), 0.14) 0 18%, transparent 34%);
}
.wf.on {
	background: linear-gradient(
		180deg,
		color-mix(in srgb, var(--gold-hi) 70%, var(--card)),
		color-mix(in srgb, var(--gold) 40%, var(--card))
	);
	box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.4);
}
.wf.on img {
	filter: none;
}
.wf.on::after {
	background: linear-gradient(180deg, rgba(var(--gold-hi-rgb), 0.16), transparent 40%);
}
.wf:hover,
.wf:focus-visible {
	transform: translateY(-2px);
}
/* A row of them (the profile, the house page). */
.wf-row {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
	gap: 10px;
}
