/* AI Tools Vault 2.12.0: card size per list. Printed only while the Command Center switch is on. */
/* Bundles, My Products and Partners: as many columns as fit the chosen card width. */
#aitv-root.avg-bundles .av-bundles, #aitv-root.avg-bundles .av-bundles.is-one { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--avg-bundles, 370px)), 1fr)); }
#aitv-root.avg-myproducts .avx-mp-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--avg-myproducts, 280px)), 1fr)); }
#aitv-root.avg-myproducts .avx-mp-grid > .avx-pc { grid-column: auto; }
#aitv-root.avg-myproducts .avx-mp-grid > .avx-pc.z-wide { grid-column: 1 / -1; }
#aitv-root.avg-partners .avp-grid, #aitv-root.avg-partners .avp-grid[class*="c"] { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--avg-partners, 290px)), 1fr)); max-width: none; }

/* The visitor's "Card size" control. */
#aitv-root .avg-ctl { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; width: max-content; max-width: 100%; margin: 0 0 16px auto; padding: 6px 8px 6px 14px;
  border: 2.5px solid var(--ink); border-radius: 999px; background: var(--surface); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 13.5px; font-weight: 700;
  animation: avg-in .45s cubic-bezier(.2,1.3,.4,1) both; }
#aitv-root .avg-l { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
#aitv-root .avg-l i { color: var(--accent); }
#aitv-root .avg-pm { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: #ffd60a; color: #111; cursor: pointer; font-size: 12px;
  transition: transform .18s cubic-bezier(.2,1.4,.4,1), box-shadow .18s; box-shadow: 2px 2px 0 var(--ink); }
#aitv-root .avg-pm:hover:not([disabled]) { transform: translate(-1px, -1px) scale(1.06); box-shadow: 3px 3px 0 var(--ink); }
#aitv-root .avg-pm:active:not([disabled]) { transform: translate(1px, 1px); box-shadow: 0 0 0 var(--ink); }
#aitv-root .avg-pm[disabled] { opacity: .35; cursor: default; }
#aitv-root .avg-dots { display: inline-flex; align-items: flex-end; gap: 4px; }
#aitv-root .avg-dot { display: grid; place-items: end center; width: 22px; height: 30px; padding: 0 0 3px; border: 0; background: none; cursor: pointer; }
#aitv-root .avg-dot i { display: block; width: calc(6px + var(--s) * 2.6px); height: calc(6px + var(--s) * 2.6px); border: 2px solid var(--ink); border-radius: 4px; background: var(--surface);
  transition: background .18s, transform .25s cubic-bezier(.2,1.4,.4,1); }
#aitv-root .avg-dot:hover i { transform: scale(1.15); }
#aitv-root .avg-dot[aria-pressed="true"] i { background: var(--accent); transform: scale(1.1); }
#aitv-root .avg-pm:focus-visible, #aitv-root .avg-dot:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
#aitv-root .avg-bump .av-grid, #aitv-root .av-bundles.avg-bump, #aitv-root .avx-mp-in.avg-bump .avx-mp-grid, #aitv-root .avp-grid.avg-bump { animation: avg-zoom .45s cubic-bezier(.2,1.2,.4,1); }
@keyframes avg-in { from { opacity: 0; transform: translateY(-8px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes avg-zoom { from { opacity: .4; transform: scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
  #aitv-root .avg-ctl { margin: 0 auto 14px; padding: 5px 6px 5px 12px; gap: 6px; }
  #aitv-root .avg-dot { width: 18px; }
}
#aitv-root.av-rm .avg-ctl, #aitv-root.av-rm .avg-bump .av-grid, #aitv-root.av-rm .av-bundles.avg-bump, #aitv-root.av-rm .avx-mp-in.avg-bump .avx-mp-grid, #aitv-root.av-rm .avp-grid.avg-bump { animation: none; }
@media (prefers-reduced-motion: reduce) {
  #aitv-root .avg-ctl, #aitv-root .avg-bump .av-grid, #aitv-root .av-bundles.avg-bump, #aitv-root .avx-mp-in.avg-bump .avx-mp-grid, #aitv-root .avp-grid.avg-bump { animation: none; }
  #aitv-root .avg-pm, #aitv-root .avg-dot i { transition: none; }
}
