/* Post icon tiles: a pastel panel with one emoji, used in place of post thumbnail images.
   The background comes from each post's "color" in posts.yml (set as --thumb by setPostIcon in shared.js). */
.post-icon {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 370 / 250;
	background: var(--thumb, #eef0f4);
	font-size: 64px;
	line-height: 1;
	user-select: none;
}

.post-icon-large {
	aspect-ratio: 1170 / 500;
	font-size: 112px;
	border-radius: 16px;
}

.post-icon-small {
	width: 82px;
	height: 82px;
	aspect-ratio: auto;
	font-size: 36px;
	border-radius: 15%;
	margin-top: 4px;
}

@media (max-width: 575px) {
	.post-icon-large {
		font-size: 72px;
	}
}

/* Work-in-progress bar (site-notice.js), pinned to the bottom of the screen.
   --site-banner-h is set from the bar's real height, which grows when the text wraps on phones. */
body {
	padding-bottom: var(--site-banner-h, 0px);
}

.site-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 16px;
	background: #4f2edc;
	color: #fff;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
}

.site-banner strong {
	color: #fff;
}

.progress-wrap {
	bottom: calc(30px + var(--site-banner-h, 0px)) !important;
}

@media (max-width: 575px) {
	.site-banner {
		font-size: 13px;
		padding: 8px 16px;
	}
}
