/* sx-place: one campaign, four placements (Meta Ads). */
.sx-pl__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.sx-pl__tabs button { position: relative; display: inline-flex; align-items: baseline; gap: 8px; height: 46px; padding: 0 20px; border: 0; border-radius: 30px; background: #121212; box-shadow: inset 0 0 0 1px var(--x-line); color: var(--x-soft); font: 600 15px/46px var(--x-d); cursor: pointer; overflow: hidden; transition: background-color .3s, color .3s, box-shadow .3s; }
.sx-pl__tabs button em { font-style: normal; font-size: 12px; color: var(--x-grey); }
.sx-pl__tabs button i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--x-acc); transform: scaleX(0); transform-origin: 0 50%; }
.sx-pl__tabs button[aria-selected='true'] { background: var(--x-white); color: #0A0A0A; box-shadow: none; }
.sx-pl__tabs button[aria-selected='true'] em { color: #55554F; }
.sx-place.is-auto .sx-pl__tabs button[aria-selected='true'] i { transform: scaleX(1); transition: transform 3.2s linear; }
.sx-pl__stage { display: grid; grid-template-columns: 1.08fr .82fr .82fr 1.08fr; gap: 26px; align-items: end; padding: 54px 46px 40px; border-radius: 32px; background: radial-gradient(80% 70% at 50% 100%, #1B1A18, #0B0B0B 72%); box-shadow: inset 0 0 0 1px var(--x-line); }
.sx-pl { margin: 0; transition: opacity .5s var(--x-ease), transform .7s var(--x-ease), filter .5s; }
.sx-pl figcaption { margin-top: 16px; text-align: center; font: 600 13px/1 var(--x-d); letter-spacing: .02em; color: var(--x-white); }
.sx-pl figcaption em { font-style: normal; color: var(--x-grey); margin-left: 6px; }
.sx-pl__stage:not([data-pl-on='all']) .sx-pl { opacity: .42; filter: saturate(.6); }
.sx-pl__stage[data-pl-on='feed'] .sx-pl--feed, .sx-pl__stage[data-pl-on='story'] .sx-pl--story, .sx-pl__stage[data-pl-on='reel'] .sx-pl--reel, .sx-pl__stage[data-pl-on='swipe'] .sx-pl--swipe { opacity: 1; filter: none; transform: translateY(-12px); }
.sx-pl__img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* generic "post" frame: feed and carousel */
.sx-pl__card { overflow: hidden; border-radius: 18px; background: #F4F1EC; color: #141414; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9); container-type: inline-size; }
.sx-pl__who { display: flex; align-items: center; gap: 8px; padding: 11px 12px; font: 500 12px/1.1 var(--x-d); }
.sx-pl__who i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #2F2A25; color: #F4E9DA; font: italic 600 14px/1 'Instrument Serif', Georgia, serif; }
.sx-pl__who b { font-weight: 600; }
.sx-pl__who span { color: #8A857D; }
.sx-pl__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.sx-pl__media .sx-pl__img { object-position: 50% 70%; }
.sx-pl__t { position: absolute; z-index: 2; color: #2B241E; font: 400 13cqw/.95 'Instrument Serif', Georgia, serif; letter-spacing: -.02em; }
.sx-pl__t--feed { left: 8cqw; top: 9cqw; }
.sx-pl__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #EAE5DD; font: 600 12px/1.2 var(--x-d); }
.sx-pl__bar b { padding: 6px 12px; border-radius: 8px; background: #2F2A25; color: #F4F1EC; font-weight: 600; font-size: 11.5px; white-space: nowrap; }
.sx-pl__line { display: block; padding: 10px 12px 14px; font-size: 12px; line-height: 1.45; color: #4B463F; }
.sx-pl__line b { color: #141414; }
/* phone placements */
.sx-pl .sx-ph { width: 100%; }
.sx-pl .sx-ph__scr { container-type: inline-size; }
.sx-pl--story .sx-pl__img { object-position: 46% 50%; }
.sx-pl__prog { position: absolute; z-index: 3; left: 5cqw; right: 5cqw; top: 13cqw; display: flex; gap: 3px; }
.sx-pl__prog i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .45); overflow: hidden; }
.sx-pl__prog i:first-child { background: #fff; }
.sx-pl__prog i:nth-child(2)::before { content: ''; display: block; height: 100%; background: #fff; transform-origin: 0 50%; animation: sxPlProg 5s linear infinite; }
@keyframes sxPlProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sx-pl--story .sx-pl__who { position: absolute; z-index: 3; left: 0; top: 16cqw; padding: 0 5cqw; color: #2B241E; font-size: 4.6cqw; }
.sx-pl--story .sx-pl__who i { width: 9cqw; height: 9cqw; font-size: 5cqw; }
.sx-pl--story .sx-pl__who span { color: rgba(43, 36, 30, .65); }
.sx-pl__t--story { left: 8cqw; right: 8cqw; top: 34cqw; font-size: 15cqw; }
.sx-pl__t--story em { display: block; margin-top: 3cqw; font: 600 5.4cqw/1.2 var(--x-d); font-style: normal; letter-spacing: 0; color: #5A4C40; }
.sx-pl__pill { position: absolute; z-index: 3; left: 50%; bottom: 8cqw; transform: translateX(-50%); padding: 3.4cqw 7cqw; border-radius: 30px; background: #fff; color: #141414; font: 600 5cqw/1 var(--x-d); white-space: nowrap; }
.sx-pl__push { position: absolute; inset: 0; overflow: hidden; }
.sx-pl__push .sx-pl__img { object-position: 52% 60%; transform-origin: 60% 70%; animation: sxPlPush 12s ease-in-out infinite alternate; }
@keyframes sxPlPush { from { transform: scale(1.02); } to { transform: scale(1.22) translateY(-3%); } }
.sx-pl__caps { position: absolute; z-index: 3; left: 0; right: 0; top: 46%; text-align: center; }
.sx-pl__caps span { position: absolute; left: 6cqw; right: 6cqw; opacity: 0; color: #fff; font: 800 9.5cqw/1 var(--x-d); letter-spacing: -.02em; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); animation: sxPlCap 6s infinite; }
.sx-pl__caps span:nth-child(2) { animation-delay: 2s; }
.sx-pl__caps span:nth-child(3) { animation-delay: 4s; }
@keyframes sxPlCap { 0% { opacity: 0; transform: translateY(8px) scale(.96); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-6px); } }
.sx-pl__sound { position: absolute; z-index: 3; left: 6cqw; bottom: 8cqw; display: flex; align-items: flex-end; gap: 1.4cqw; color: #fff; font: 600 4.4cqw/1 var(--x-d); }
.sx-pl__sound i { width: 1.2cqw; height: 4cqw; border-radius: 1px; background: var(--x-acc); animation: sxPlEq .9s ease-in-out infinite alternate; }
.sx-pl__sound i:nth-child(2) { animation-delay: .2s; } .sx-pl__sound i:nth-child(3) { animation-delay: .4s; } .sx-pl__sound i:nth-child(4) { animation-delay: .1s; margin-right: 1.4cqw; }
@keyframes sxPlEq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
/* carousel */
.sx-pl__deck { aspect-ratio: 1; overflow: hidden; }
.sx-pl__slides { display: flex; width: 300%; height: 100%; animation: sxPlSwipe 9s var(--x-ease) infinite; }
@keyframes sxPlSwipe { 0%, 26% { transform: translateX(0); } 33%, 59% { transform: translateX(-33.333%); } 66%, 92% { transform: translateX(-66.666%); } 100% { transform: translateX(0); } }
.sx-pl__slide { position: relative; flex: 0 0 33.333%; height: 100%; overflow: hidden; }
.sx-pl__img--c1 { object-position: 40% 74%; transform: scale(1.5); transform-origin: 40% 74%; }
.sx-pl__img--c3 { object-position: 72% 84%; transform: scale(1.55); transform-origin: 72% 84%; }
.sx-pl__t--sq { left: 8cqw; top: 8cqw; font-size: 12cqw; }
.sx-pl__t--low { top: auto; bottom: 9cqw; color: #FFF8EE; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.sx-pl__slide--type { display: grid; place-items: center; background: #2F2A25; color: #F4E9DA; }
.sx-pl__slide--type > span { font: 400 11cqw/1.02 'Instrument Serif', Georgia, serif; text-align: center; }
.sx-pl__slide--type b { font: 700 12cqw/1 var(--x-d); color: var(--x-acc); }
.sx-pl__dots { display: flex; justify-content: center; gap: 5px; padding: 11px 0 13px; }
.sx-pl__dots i { width: 6px; height: 6px; border-radius: 50%; background: #CFC8BE; }
.sx-pl__dots i:first-child { background: #2F2A25; }
.sx-pl__note { margin-top: 18px; }
/* the testing loop */
.sx-pl__loop { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 70px; padding-top: 34px; }
.sx-pl__loop::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--x-line); }
.sx-pl__run { position: absolute; left: 0; right: 0; top: -1px; height: 3px; overflow: hidden; }
.sx-pl__run i { position: absolute; top: 0; width: 22%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(250, 255, 0, 0), var(--x-acc)); animation: sxPlRun 6s linear infinite; }
@keyframes sxPlRun { from { left: -22%; } to { left: 100%; } }
.sx-pl__n { display: block; margin-bottom: 18px; font: 600 12px/1 var(--x-d); letter-spacing: .08em; color: var(--x-acc); }
.sx-pl__step .sx-p { margin-top: 10px; }
@media (max-width: 1023px) {
  .sx-pl__stage { grid-template-columns: 1fr 1fr; padding: 34px 26px 28px; row-gap: 34px; }
  .sx-pl__loop { grid-template-columns: 1fr 1fr; row-gap: 30px; }
}
@media (max-width: 767px) {
  .sx-pl__tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 20px; padding: 0 16px; scrollbar-width: none; }
  .sx-pl__tabs button { flex: 0 0 auto; height: 40px; padding: 0 16px; line-height: 40px; font-size: 14px; }
  .sx-pl__stage { gap: 16px; padding: 24px 16px 22px; border-radius: 24px; }
  .sx-pl__stage:not([data-pl-on='all']) .sx-pl { opacity: 1; filter: none; transform: none; }
  .sx-pl__loop { grid-template-columns: 1fr; margin-top: 46px; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 768px) {
  .sx-pl__slides, .sx-pl__push .sx-pl__img, .sx-pl__caps span, .sx-pl__sound i, .sx-pl__run i, .sx-pl__prog i::before { animation: none !important; }
  .sx-pl__caps span:first-child { opacity: 1; }
}
