.product-details-information__rating:has(.product-like-avatars-slot) { align-items: flex-start; gap: 12px; }
.product-like-avatars-slot { min-width: 0; }
.product-like-avatars-slot:has(> .product-like-avatars[hidden]), .product-like-avatars[hidden] { display: none; }
.product-like-avatars-slot .product-like-avatars { display: flex; align-items: center; gap: 0; width: max-content; max-width: 100%; min-height: 0; height: 32px; margin: 0; padding: 0; border: 0; border-radius: 20px; background: none; box-shadow: none; cursor: pointer; transform: none; filter: none; }
.product-like-avatars-slot .product-like-avatars[hidden] { display: none; }
.product-like-avatars__item { position: relative; isolation: isolate; display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; overflow: hidden; border-radius: 50%; background: #1b2038; color: #a897da; }
/* Each portrait and both rings form one layer; the next avatar covers it as a whole. */
.product-like-avatars__item::before, .product-like-avatars__item::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; }
.product-like-avatars__item::before { border: 1px solid #4c426b; }
/* Fade a fixed-width ring, never interpolate border widths or change portrait geometry. */
.product-like-avatars__item::after { border: 3px solid #a78bfa; box-shadow: inset 0 0 6px rgba(167,139,250,.24); opacity: 0; transition: opacity 180ms ease-out; }
.product-like-avatars__item + .product-like-avatars__item { margin-left: -10px; }
.product-like-avatars__item > img, .product-like-user__avatar > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.product-like-avatars__item > svg { width: 17px; height: 17px; }
.product-like-avatars:is(:hover,:focus-visible) .product-like-avatars__item::after { opacity: 1; }
.product-like-avatars:focus-visible { outline: 1px solid #c3b0ff; outline-offset: 4px; }
.product-like-avatars__item.is-image-loaded > svg, .product-like-user__avatar.is-image-loaded > svg { visibility: hidden; }
.product-like-avatars__item.is-image-error > img, .product-like-user__avatar.is-image-error > img { display: none; }
.product-details-info-like { position: relative; flex: 0 0 auto; flex-wrap: nowrap; min-height: 50px; padding-bottom: 18px; }
.product-details-info-like .profile-product-like__label { position: absolute; right: 0; bottom: 0; }
.product-details-info-like .profile-product-like__loader { position: absolute; right: 0; top: calc(100% + 3px); }
.product-likes-modal { font-family: "GothamPro",sans-serif; font-weight: 400; }
.product-likes-modal .site-modal__window { display: flex; flex-direction: column; width: min(620px,100%); max-height: min(640px,calc(100dvh - var(--site-header-height) - 48px)); overflow: hidden; }
.product-likes-modal .site-modal__header { flex: 0 0 46px; }
.product-likes-modal .product-likes-modal__content { display: grid; gap: 14px; padding: 24px; min-width: 0; min-height: 0; overflow-y: auto; scrollbar-gutter: stable; overscroll-behavior: contain; }
.product-likes-modal__list { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.product-like-user { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr); flex: 0 0 auto; min-width: 0; min-height: 74px; border: 1px solid rgba(var(--like-role-rgb),.22); border-left: 2px solid rgb(var(--like-role-rgb)); background: linear-gradient(100deg,rgba(var(--like-role-rgb),.07),rgba(8,11,25,.25)); box-shadow: -3px 0 12px -6px rgba(var(--like-role-rgb),.65); }
.product-like-user__avatar { display: grid; place-items: center; height: 100%; min-width: 72px; aspect-ratio: 1; border-right: 1px solid rgba(var(--like-role-rgb),.38); border-radius: 0; overflow: hidden; background: #111527; color: rgb(var(--like-role-rgb)); }
.product-like-user__avatar > svg { width: 22px; height: 22px; }
.product-like-user__identity { display: flex; align-items: center; align-content: center; flex-wrap: wrap; gap: 6px 8px; min-width: 0; padding: 13px 15px; }
.product-like-user__name { max-width: 100%; overflow-wrap: anywhere; font-size: 15px; font-weight: 400; line-height: 1.35; }
.product-like-user__identity :is(.site-role-badge,.site-project-badge) { max-width: 100%; font-size: 10px; white-space: normal; overflow-wrap: anywhere; }
.product-like-user__identity .site-project-slot { min-width: 0; max-width: 100%; }
/* Keep the caption out of the animated/filtered button, in its own stable grid row. */
.profile-product-card .profile-product-card__footer-side--likes { display: grid; grid-column: 2; grid-template-columns: auto auto; grid-template-rows: 28px auto; align-items: center; align-content: center; align-self: end; justify-self: end; justify-content: end; gap: 5px 8px; max-width: 100%; margin: 0; padding: 0; }
.profile-product-card__footer-side--likes > .product-like-avatars-slot { grid-area: 1 / 1; align-self: center; }
.profile-product-card__footer-side--likes .profile-product-like { position: relative; grid-area: 1 / 2; flex-wrap: nowrap; gap: 6px; width: max-content; height: 28px; min-height: 28px; margin: 0; padding: 0; filter: none; }
.profile-product-card__footer-side--likes > .profile-product-like__label { position: static; grid-area: 2 / 1 / 3 / -1; justify-self: end; margin: 0; }
.profile-product-card__footer-side--likes .profile-product-like__loader { position: absolute; right: 8px; top: 8px; }
.profile-product-card__footer-side--likes .profile-product-like[data-request-pending="true"] > svg { opacity: 0; }
.profile-product-card .product-like-avatars__item { flex-basis: 28px; width: 28px; height: 28px; }
.profile-product-card .product-like-avatars { height: 28px; }
/* Reserve the bottom-right column for likes. Price/access text cannot push them to another row. */
.profile-product-card__footer:has(.profile-product-card__footer-side--likes) { display: grid; grid-template-columns: minmax(0,1fr) max-content; align-items: end; height: auto; flex-basis: auto; gap: 12px; container: product-likes-footer / inline-size; }
.profile-product-card__footer:has(.profile-product-card__footer-side--likes) > .profile-product-special-access { transform: none; }
.profile-product-card__footer:has(.profile-product-card__footer-side--likes) .profile-product-special-access strong { min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
.profile-product-card__footer:has(.profile-product-card__footer-side--likes) .profile-product-price > span { flex-wrap: wrap; row-gap: 4px; }
.profile-product-card__footer:has(.profile-product-card__footer-side--likes) .profile-product-price > small:first-child { white-space: normal; }
.profile-product-card__footer:has(.profile-product-card__footer-side--likes) .profile-product-price__alternatives { flex-wrap: wrap; white-space: normal; row-gap: 3px; }
@container product-likes-footer (max-width: 310px) {
	/* Keep the access label readable on narrow cards; likes stay in the bottom-right cell. */
	.profile-product-special-access { grid-column: 1 / -1; }
}
.product-likes-modal__status { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; color: #aeb8cf; font-size: 13px; line-height: 1.6; text-align: center; }
.product-likes-modal__status:empty { display: none; }
.product-likes-modal__status.is-loading::before { content: ""; flex: 0 0 16px; width: 16px; height: 16px; border: 2px solid rgba(167,139,250,.2); border-top-color: #a78bfa; border-radius: 50%; animation: product-likes-spin .9s linear infinite; }
.product-likes-modal__more { position: relative; justify-self: center; padding: 12px 22px; border: 1px solid rgba(167,139,250,.35); border-right: 2px solid #a78bfa; background: rgba(167,139,250,.07); color: #d7c8ff; font: 400 12px/1.3 "GothamPro",sans-serif; text-transform: uppercase; cursor: pointer; transition: background-color .18s, box-shadow .18s; }
.product-likes-modal__more:is(:hover,:focus-visible) { background: rgba(167,139,250,.16); box-shadow: 0 0 14px rgba(167,139,250,.15); }
.product-likes-modal__more[hidden] { display: none; }
.product-likes-modal__more[aria-disabled="true"] { opacity: .6; cursor: progress; }
@keyframes product-likes-spin { to { transform: rotate(360deg); } }
@media (max-width: 620px) {
	.product-likes-modal .site-modal__window { max-height: min(640px,calc(100dvh - var(--site-header-height) - 28px)); }
}
@media (max-width: 420px) {
	.product-details-information__rating:has(.product-like-avatars-slot) { gap: 8px; }
	.product-like-avatars__item { flex-basis: 28px; width: 28px; height: 28px; }
	.product-like-avatars-slot .product-like-avatars { height: 28px; }
	.product-likes-modal .product-likes-modal__content { padding: 18px 14px; }
	.product-like-user__identity { padding: 11px 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.product-like-avatars__item, .product-like-avatars__item::after, .product-likes-modal__more { transition: none; }
	.product-likes-modal__status.is-loading::before { animation: none; }
}
