/* AIC Quick Styles — matches the AIC Studio editor (square corners, brand dark + gold). */
.aicqs {
	--qs-ink: var(--s-black, #101820);
	--qs-line: var(--s-line2, #D9D3C8);
	--qs-gold: var(--s-gold, #D0A72B);
	--qs-muted: var(--s-muted, #5C5850);
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	margin: 2px 0 6px;
}
.aicqs__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.aicqs__title { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--qs-muted); }
.aicqs__nav { display: none; gap: 6px; }
.aicqs.has-overflow .aicqs__nav { display: inline-flex; }
.aicqs__arrow {
	width: 30px; height: 30px; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
	background: #fff; color: var(--qs-ink);
	border: 1px solid var(--qs-line); border-radius: 0;
	font-size: 20px; line-height: 1; cursor: pointer;
}
.aicqs__arrow:hover:not(:disabled) { border-color: var(--qs-gold); }
.aicqs__arrow:disabled { opacity: .35; cursor: default; }

.aicqs__viewport {
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	margin: 0 -2px;
	padding: 2px;
}
.aicqs__viewport::-webkit-scrollbar { display: none; }
.aicqs.has-overflow:not(.at-end) .aicqs__viewport { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.aicqs.has-overflow.at-end:not(.at-start) .aicqs__viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%); mask-image: linear-gradient(90deg, transparent, #000 15%); }
.aicqs.has-overflow:not(.at-start):not(.at-end) .aicqs__viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }

.aicqs__list { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.aicqs__list li { flex: 0 0 auto; scroll-snap-align: start; margin: 0; }

.aicqs__tile {
	display: flex; flex-direction: column; align-items: center; gap: 7px;
	width: 74px; padding: 0;
	background: none; border: 0; border-radius: 0;
	color: var(--qs-ink); cursor: pointer; text-align: center;
}
.aicqs__thumb {
	display: block; width: 74px; height: 74px;
	border: 1px solid var(--qs-line);
	overflow: hidden; background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.aicqs__thumb svg { display: block; width: 100%; height: 100%; }
.aicqs__name { font-size: 12px; line-height: 1.25; color: var(--qs-muted); }
.aicqs__tile:hover .aicqs__thumb { border-color: var(--qs-gold); }
.aicqs__tile:focus-visible { outline: none; }
.aicqs__tile:focus-visible .aicqs__thumb { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--s-gold-bright, #F0D351); }
.aicqs__tile[aria-pressed="true"] .aicqs__thumb { border-color: var(--qs-ink); box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--qs-ink); }
.aicqs__tile[aria-pressed="true"] .aicqs__name { color: var(--qs-ink); font-weight: 600; }
.aicqs__tile:active .aicqs__thumb { transform: scale(.97); }

.aicqs__hint { margin: 0; font-size: 13px; color: var(--qs-muted); min-height: 1.3em; }

/* Locked editor (out of free edits): presets follow the prompt box. */
.aics-edit.is-locked .aicqs { opacity: .4; pointer-events: none; }

@keyframes aicqs-flash { from { box-shadow: 0 0 0 2px var(--s-gold-bright, #F0D351); } to { box-shadow: 0 0 0 2px transparent; } }
.aicqs-flash { animation: aicqs-flash 1.2s ease-out; }

@media (prefers-reduced-motion: reduce) {
	.aicqs__thumb { transition: none; }
	.aicqs-flash { animation: none; }
}
