.y3bv { --y3bv-foreground: #111; --y3bv-background: transparent; }
.y3bv-archive__header { margin-bottom: 2rem; }
.y3bv-archive__title { margin-bottom: .5rem; }
.y3bv-archive__description > :last-child { margin-bottom: 0; }
.y3bv__toolbar { flex-wrap: wrap; justify-content: space-between; margin-bottom: 1rem; }
.y3bv__color-button { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; padding: 0; color: var(--y3bv-swatch-foreground); background-color: var(--y3bv-swatch-background); border: 2px solid var(--y3-color-border); border-radius: 999px; cursor: pointer; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); }
.y3bv__color-button.is-active { outline: 2px solid var(--y3-color-primary); outline-offset: 2px; }
.y3bv__palette-button { display: inline-grid; place-items: center; width: 3.25rem; height: 2.5rem; padding: .25rem; border: 2px solid var(--y3-color-border); border-radius: 999px; cursor: pointer; }
.y3bv__palette-button.is-active { outline: 2px solid var(--y3-color-primary); outline-offset: 2px; }
.y3bv__palette-swatches { display: flex; width: 100%; height: 100%; overflow: hidden; border-radius: 999px; }
.y3bv__palette-swatches i { flex: 1; min-width: 0; background: var(--y3bv-palette-color); }
.y3bv__taxonomy-filters { align-items: end; }
.y3bv__taxonomy-filter { display: grid; gap: .25rem; min-width: 10rem; color: var(--y3-color-muted); font-size: .8rem; font-weight: 600; }
.y3bv__taxonomy-filter .y3-input { min-height: 2.5rem; color: var(--y3-color-text); font-size: 1rem; font-weight: 400; }
.y3bv__search { position: relative; min-width: min(100%, 17rem); }
.y3bv__search .y3-input { padding-inline: .75rem 2.5rem; }
.y3bv__search > i { position: absolute; inset-inline-end: .85rem; top: 50%; pointer-events: none; transform: translateY(-50%); }
.y3bv__result-status { margin: 0 0 .75rem; color: var(--y3-color-muted); font-size: .875rem; }
.y3bv__grid { --y3-grid-columns: 1; }
.y3bv-card { --y3-card-padding: 0; display: flex; min-width: 0; flex-direction: column; overflow: hidden; }
.y3bv-card[hidden] { display: none; }
.y3bv-card__preview { display: grid; place-items: center; width: 100%; aspect-ratio: 1; padding: 12%; color: var(--y3bv-foreground); background-color: var(--y3bv-background); transition: color .2s, background-color .2s; }
.y3bv-card__variant { display: grid; place-items: center; width: 100%; height: 100%; }
.y3bv-card__variant[hidden] { display: none; }
.y3bv-card__variant svg { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; color: inherit; }
.y3bv-card__body { display: flex; flex: 1; flex-direction: column; gap: .75rem; padding: 1rem; }
.y3bv-card__title { margin: 0; font-size: 1rem; }
.y3bv-card__note { margin: 0; color: var(--y3-color-muted); font-size: .875rem; }
.y3bv-card__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.y3bv-action { --y3bv-action-icon-cutout: var(--y3-color-surface-alt, #fff); display: inline-flex; align-items: center; justify-content: center; width: 2.35rem; height: 2.35rem; padding: 0; color: var(--y3-color-text); background: var(--y3-color-surface-alt); border: 1px solid var(--y3-color-border); border-radius: var(--y3-radius-sm); cursor: pointer; text-decoration: none; }
.y3bv-action:hover { --y3bv-action-icon-cutout: var(--y3-button-primary-background, var(--y3-color-primary)); color: var(--y3-button-primary-text, #fff); background: var(--y3-button-primary-background, var(--y3-color-primary)); border-color: var(--y3-button-primary-border, var(--y3-color-primary)); }
.y3bv-action__icon { display: block; flex: none; width: 1.25rem; height: 1.25rem; }
.y3bv-action:focus-visible, .y3bv__color-button:focus-visible, .y3bv__palette-button:focus-visible { outline: 2px solid var(--y3-color-primary); outline-offset: 2px; }
.y3bv-action:disabled { cursor: wait; opacity: .55; }
/* Während der Erzeugung ersetzt der Spinner den Ausgrau-Hinweis: er zeigt die Wartezeit deutlicher an. */
.y3bv-action[data-y3bv-busy]:disabled { opacity: 1; }
.y3bv-action__spinner { display: block; flex: none; width: 1.25rem; height: 1.25rem; font-size: 1.05rem; line-height: 1.25rem; text-align: center; animation: y3bv-action-spin 1.2s infinite; }
@keyframes y3bv-action-spin {
	0% { transform: rotate(0deg); animation-timing-function: ease-in-out; }
	70% { transform: rotate(360deg); }
	100% { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) { .y3bv-action__spinner { animation: none; } }
@media (min-width: 48rem) {
	.y3bv--columns-2 .y3bv__grid { --y3-grid-columns: 2; }
	.y3bv--columns-3 .y3bv__grid { --y3-grid-columns: 3; }
	.y3bv--columns-4 .y3bv__grid { --y3-grid-columns: 4; }
	.y3bv--columns-5 .y3bv__grid { --y3-grid-columns: 5; }
}
@media (max-width: 47.99rem) { .y3bv__toolbar, .y3bv__style-picker, .y3bv__color-picker, .y3bv__taxonomy-filters { align-items: stretch; width: 100%; } .y3bv__taxonomy-filter, .y3bv__search { width: 100%; } }
