/*
Theme Name: Mosaic Library Showcase
Description: A bare block theme that shows the Mosaic block library with its generic theme tokens.
Version: 0.1.0
Requires at least: 6.6
*/
.showcase-header { padding: 1rem clamp(1rem, 4%, 2rem); border-bottom: 0.0625rem solid var(--wp--preset--color--border); font-family: var(--wp--preset--font-family--body); }
.showcase-header a { color: var(--wp--preset--color--primary); }
.showcase-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0; padding: 0.5rem clamp(1rem, 4%, 2rem); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--muted); font: 600 0.8125rem/1.4 ui-monospace, monospace; border-block: 0.0625rem solid var(--wp--preset--color--border); }
.showcase-label a { color: inherit; }

/* The "i" button on a block's label, and the explanation it shows on hover, focus, tap or click. */
.showcase-label__info { flex: none; inline-size: 1.5rem; block-size: 1.5rem; padding: 0; border: 0.0625rem solid currentcolor; border-radius: 50%; background: transparent; color: inherit; font: italic 700 0.875rem/1 Georgia, serif; cursor: help; }
.showcase-label__info:is(:hover, :focus-visible, [aria-expanded="true"]) { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--background); }
.showcase-label__info:focus-visible { outline: 0.125rem solid var(--wp--preset--color--primary); outline-offset: 0.125rem; }
[interestfor] { --interest-delay-start: 0.15s; interest-delay-start: var(--interest-delay-start); --interest-delay-end: 0.2s; interest-delay-end: var(--interest-delay-end); }
.showcase-label__about { box-sizing: border-box; inline-size: min(28rem, 100vw - 2rem); max-block-size: 70vh; overflow: auto; padding: 1rem 1.25rem; border: 0.0625rem solid var(--wp--preset--color--border); border-radius: 0.5rem; background: var(--wp--preset--color--background); color: var(--wp--preset--color--text); font: 400 0.9375rem/1.5 var(--wp--preset--font-family--body); box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 15%); }
.showcase-label__about > :first-child { margin-block-start: 0; }
.showcase-label__about p { margin-block: 0.75rem 0.25rem; }
.showcase-label__about ul { margin: 0; padding-inline-start: 1.25rem; }
.showcase-label__about li { margin-block: 0.25rem; }
/* Sits under its button, lined up with the button's right edge, and flips above when there is no room below. Browsers without anchor positioning keep the popover's own centred position. */
@supports (position-area: block-end) {
	.showcase-label__about { position-area: block-end span-inline-start; position-try-fallbacks: flip-block; inset: auto; margin: 0.375rem 0; }
}
.showcase-note { margin: 0; padding: 1.5rem clamp(1rem, 4%, 2rem); color: var(--wp--preset--color--muted); font: 400 0.9375rem/1.5 var(--wp--preset--font-family--body); }
