/* css/Crystal.css */

/* Do NOT redefine html, body here; that lives in Puzzlum Catalog.css */

.wrapper {
	margin: 40px;
	position: relative; /* anchor for banner canvas */
}

/* Original text block: always visible, visited-link color */
#crystalText {
	font-size: 32px;
	padding: 20px 40px;
	background: rgba(0, 0, 0, 0.04);
	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.08);

	/* visited link purple so it's always readable on white */
	color: #551A8B;
	text-align: center;

	/* VERY IMPORTANT: do NOT hide this anymore */
	visibility: visible;
}

/* Banner canvas overlay; JS sizes and positions it */
canvas.crystal-banner {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	background: transparent;
	display: block;
	z-index: 2; /* above the text */
}

/* Optional: ensure the text itself is below the banner, not above */
#crystalText {
	position: relative;
	z-index: 1;
}
