/* Pixva marketing mock-ups (pixva.html, features, home). Play only while on screen (see mocks.css). */

:root { --saffron: #f59e0b; --saffron-deep: #c2410c; --pixva: #e1306c; }

/* Pixva wordmark chip */
.px-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid #f6d7e3; border-radius: 99px; background: #fff; font-size: 13px; font-weight: 800; color: #9d174d; }
.px-badge i { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 8px; background: linear-gradient(135deg, #f97316, #e1306c 55%, #8b5cf6); font-style: normal; font-size: 13px; color: #fff; }

/* ---------- The poster ---------- */
.poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  padding: 16px;
  border-radius: 18px;
  background: radial-gradient(120% 80% at 50% 0%, #7c2d12 0%, #431407 60%, #1c0a03 100%);
  box-shadow: 0 24px 50px rgba(67, 20, 7, 0.4);
  color: #fff7ed;
  /* Text sizes follow the poster's own width (it appears large and small). */
  container-type: inline-size;
}
.poster .brand { display: flex; align-items: center; gap: 8px; font-size: clamp(8px, 4.4cqw, 11px); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.poster .brand i { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: var(--saffron); font-size: 10px; font-style: normal; color: #431407; }
.poster .dish {
  position: relative;
  width: 58%;
  aspect-ratio: 1;
  margin: 10px auto 6px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.25) 0 6%, transparent 7%),
    radial-gradient(circle at 60% 55%, #9a3412 0 4%, transparent 5%),
    radial-gradient(circle at 40% 62%, #166534 0 3%, transparent 4%),
    radial-gradient(circle at 66% 38%, #fef3c7 0 3%, transparent 4%),
    radial-gradient(circle, #fbbf24 0 42%, #f59e0b 55%, #b45309 64%, #e7e5e4 65% 76%, #a8a29e 77% 80%, transparent 81%);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
  animation: dishSpin 18s linear infinite;
}
@keyframes dishSpin { to { transform: rotate(360deg); } }
.poster h4 { font-size: clamp(12px, 8.6cqw, 20px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; text-align: center; }
.poster .price { display: block; margin-top: 6px; text-align: center; font-size: clamp(15px, 11cqw, 26px); font-weight: 800; color: var(--saffron); }
.poster .foot { position: absolute; right: 14px; bottom: 10px; left: 14px; display: flex; justify-content: space-between; font-size: clamp(8px, 4cqw, 10px); color: #fed7aa; }
.poster .swatch { position: absolute; top: 14px; right: 14px; display: flex; gap: 4px; }
.poster .swatch span { width: 12px; height: 12px; border-radius: 4px; }
.poster .tag-veg { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border: 1.5px solid #4ade80; border-radius: 2px; position: relative; vertical-align: -1px; }
.poster .tag-veg::after { position: absolute; inset: 2px; border-radius: 50%; background: #4ade80; content: ''; }

/* Building the poster (Design step) */
.px-build .poster > * { opacity: 0; animation: buildIn 8s var(--ease) infinite; }
.px-build .poster .brand { animation-delay: 0.3s; }
.px-build .poster .swatch { animation-delay: 0.6s; }
.px-build .poster .dish { animation: buildIn 8s 1s var(--ease) infinite, dishSpin 18s linear infinite; }
.px-build .poster h4 { animation-delay: 1.6s; }
.px-build .poster .price { animation-delay: 1.9s; }
.px-build .poster .foot { animation-delay: 2.2s; }
@keyframes buildIn { 0% { opacity: 0; transform: translateY(8px) scale(0.96); } 8%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.px-build .poster::after { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%); content: ''; animation: shine 3.5s infinite; }

/* Caption that types itself */
.caption { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.caption .typed { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; border-right: 2px solid var(--brand); animation: type 8s steps(48) infinite, caret 0.8s step-end infinite; max-width: 100%; }
@keyframes type { 0%, 30% { width: 0; } 70%, 92% { width: 100%; } 100% { width: 100%; } }
@keyframes caret { 50% { border-color: transparent; } }

/* ---------- Status chain ---------- */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chain span { padding: 5px 10px; border-radius: 99px; background: #f1eff8; font-size: 11px; font-weight: 800; color: var(--muted); animation: chainOn 10s infinite; }
.chain em { width: 14px; height: 2px; border-radius: 2px; background: var(--line); }
.chain span:nth-of-type(2) { animation-delay: 1.6s; }
.chain span:nth-of-type(3) { animation-delay: 3.2s; }
.chain span:nth-of-type(4) { animation-delay: 4.8s; }
.chain span:nth-of-type(5) { animation-delay: 6.4s; }
@keyframes chainOn { 0%, 2% { background: #f1eff8; color: var(--muted); } 6%, 100% { background: var(--brand); color: #fff; } }
.chain span.posted { animation-name: chainPosted; }
@keyframes chainPosted { 0%, 2% { background: #f1eff8; color: var(--muted); } 6%, 100% { background: var(--mint); color: #fff; } }

/* ---------- Connect (consent) ---------- */
.consent { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.consent .app { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.consent .app .logo { display: grid; width: 42px; height: 42px; flex: none; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #f97316, #e1306c 55%, #8b5cf6); font-size: 18px; font-weight: 800; color: #fff; }
.consent .app b { display: block; font-size: 14px; }
.consent .app small { color: var(--muted); }
.consent .ok { margin-left: auto; opacity: 0; animation: chipIn 9s 2.6s infinite; }
.scopes { margin: 0; padding: 0; list-style: none; }
.scopes li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.scopes li .bx { display: grid; width: 18px; height: 18px; flex: none; place-items: center; border: 1.5px solid var(--line); border-radius: 6px; color: transparent; animation: tick 9s infinite; }
.scopes li .bx svg { width: 12px; height: 12px; }
.scopes li:nth-child(2) .bx { animation-delay: 0.4s; }
.scopes li:nth-child(3) .bx { animation-delay: 0.8s; }
.scopes li:nth-child(4) .bx { animation-delay: 1.2s; }
@keyframes tick { 0%, 8% { border-color: var(--line); background: #fff; color: transparent; } 12%, 92% { border-color: var(--mint); background: var(--mint); color: #fff; } 100% { border-color: var(--line); background: #fff; color: transparent; } }
.scopes li.no { color: var(--muted-2); }
.scopes li.no .bx { border-style: dashed; animation: none; }
.scopes h6 { margin: 10px 0 2px; font-size: 10.5px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

/* ---------- Suggestions ---------- */
.sugg { display: grid; gap: 10px; }
.sugg .s { display: grid; align-items: center; gap: 12px; grid-template-columns: auto 1fr auto; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; opacity: 0; animation: suggIn 9s infinite; }
.sugg .s:nth-child(2) { animation-delay: 0.5s; }
.sugg .s:nth-child(3) { animation-delay: 1s; }
.sugg .s.pick { animation: suggIn 9s infinite, suggPick 9s infinite; }
@keyframes suggIn { 0%, 6% { opacity: 0; transform: translateX(16px); } 12%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes suggPick { 0%, 45% { border-color: var(--line); box-shadow: none; } 52%, 92% { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(108, 76, 245, 0.14); } 100% { border-color: var(--line); } }
.sugg .when { display: grid; width: 54px; padding: 6px 0; place-items: center; border-radius: 12px; background: var(--bg-2); text-align: center; }
.sugg .when b { font-size: 13px; }
.sugg .when small { font-size: 10px; color: var(--muted); }
.sugg .what b { display: block; font-size: 13.5px; }
.sugg .what small { color: var(--muted); }

/* ---------- Review ---------- */
.review { display: grid; gap: 14px; grid-template-columns: 0.85fr 1.15fr; align-items: start; }
.review .edit del { color: var(--rose); text-decoration: line-through; animation: delOut 9s infinite; }
.review .edit ins { color: var(--mint); text-decoration: none; font-weight: 700; animation: insIn 9s infinite; }
@keyframes delOut { 0%, 25% { opacity: 1; } 32%, 92% { opacity: 0.45; } 100% { opacity: 1; } }
@keyframes insIn { 0%, 28% { opacity: 0; } 34%, 92% { opacity: 1; } 100% { opacity: 0; } }
.approve { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; padding: 11px; border-radius: 12px; background: var(--brand); font-weight: 800; color: #fff; animation: approve 9s infinite; }
.approve svg { width: 16px; height: 16px; }
@keyframes approve { 0%, 50% { background: var(--brand); transform: none; } 53% { transform: scale(0.95); } 56%, 92% { background: var(--mint); transform: none; } 100% { background: var(--brand); } }
.approve { position: relative; height: 44px; padding: 0; }
.approve .a1, .approve .a2 { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; }
.approve .a1 { animation: swapOut 9s infinite; }
.approve .a2 { opacity: 0; animation: swapIn 9s infinite; }
@keyframes swapOut { 0%, 53% { opacity: 1; } 56%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes swapIn { 0%, 53% { opacity: 0; } 56%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Shared calendar ---------- */
.cal-pair { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.cal { padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cal h6 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; font-size: 11px; font-weight: 800; color: var(--muted); }
.cal .grid { position: relative; height: 150px; border-radius: 10px; background: repeating-linear-gradient(180deg, #f6f4fb 0 1px, transparent 1px 30px); }
.cal .grid .t { position: absolute; left: 6px; font-size: 9.5px; color: var(--muted-2); }
.cal .ev { position: absolute; left: 44px; right: 8px; height: 26px; padding: 4px 8px; border-radius: 8px; background: linear-gradient(135deg, #8f73ff, #6c4cf5); font-size: 10.5px; font-weight: 800; color: #fff; animation: drag 8s var(--ease) infinite; }
.cal .ev small { font-weight: 600; opacity: 0.85; }
.cal.px .ev { background: linear-gradient(135deg, #f97316, #e1306c); }
@keyframes drag { 0%, 30% { top: 60px; } 45%, 90% { top: 90px; } 100% { top: 60px; } }
.cal .ev .l6, .cal .ev .l7 { position: absolute; left: 8px; top: 5px; }
.cal .ev .l6 { animation: swapOut6 8s infinite; }
.cal .ev .l7 { opacity: 0; animation: swapIn7 8s infinite; }
@keyframes swapOut6 { 0%, 40% { opacity: 1; } 44%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes swapIn7 { 0%, 40% { opacity: 0; } 44%, 92% { opacity: 1; } 100% { opacity: 0; } }
.cal-sync { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.cal-sync span { display: inline-block; width: 8px; height: 8px; border-radius: 99px; background: var(--mint); animation: pulse 2s infinite; }
.closed { margin-top: 10px; padding: 8px 10px; border: 1px dashed #fda4af; border-radius: 10px; background: #fff1f2; font-size: 11.5px; color: #9f1239; }

/* ---------- Publish ---------- */
.mon { margin: 0; padding: 0; list-style: none; }
.mon li { display: grid; align-items: center; gap: 12px; grid-template-columns: auto 1fr auto; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.mon .ch { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: #fff; }
.mon .ch svg { width: 20px; height: 20px; }
.mon .ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.mon .fb { background: #1877f2; }
.mon .pr { background: var(--ink); }
.mon b { display: block; font-size: 13.5px; }
.mon small { color: var(--muted); }
.mon .st { position: relative; min-width: 76px; height: 24px; }
.mon .st span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 99px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; }
.mon .st .s-wait { background: var(--bg-2); color: var(--muted); animation: stWait 8s infinite; }
.mon .st .s-done { background: var(--mint-soft); color: var(--mint); opacity: 0; animation: stDone 8s infinite; }
.mon li:nth-child(2) .st span { animation-delay: 0.5s; }
.mon li:nth-child(3) .st span { animation-delay: 1s; }
@keyframes stWait { 0%, 30% { opacity: 1; } 36%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes stDone { 0%, 32% { opacity: 0; transform: scale(0.8); } 38%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Phone frame with a post */
.phone-post { width: 230px; margin: 0 auto; padding: 10px; border: 8px solid #15102b; border-radius: 30px; background: #fff; box-shadow: var(--shadow-lg); }
.phone-post .hd { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 11px; font-weight: 800; }
.phone-post .hd i { width: 24px; height: 24px; border-radius: 50%; background: var(--saffron); }
.phone-post .poster { aspect-ratio: 1; padding: 10px; border-radius: 10px; }
.phone-post .poster .dish { width: 52%; margin: 6px auto 4px; }
.phone-post .acts { display: flex; gap: 10px; margin-top: 8px; font-size: 16px; }
.phone-post .likes { font-size: 11px; font-weight: 700; }
.heart { display: inline-block; color: #e11d48; animation: heart 2.4s infinite; }
@keyframes heart { 0%, 100% { transform: none; } 12% { transform: scale(1.35); } 24% { transform: none; } }

/* ---------- Lifecycle diagram ---------- */
.flow { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: fl; }
.flow .f { position: relative; padding: 22px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.flow .f::after { position: absolute; top: 50%; right: -12px; z-index: 1; width: 10px; height: 10px; border-top: 2px solid var(--brand-2); border-right: 2px solid var(--brand-2); content: ''; transform: translateY(-50%) rotate(45deg); }
.flow .f:last-child::after { display: none; }
.flow .f b { display: block; margin-top: 12px; font-size: 16px; }
.flow .f p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.flow .f .n { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); font-weight: 800; color: #fff; counter-increment: fl; }
.flow .f .n::before { content: counter(fl); }
.flow .f { animation: flowGlow 8s infinite; }
.flow .f:nth-child(2) { animation-delay: 2s; }
.flow .f:nth-child(3) { animation-delay: 4s; }
.flow .f:nth-child(4) { animation-delay: 6s; }
@keyframes flowGlow { 0%, 100% { border-color: var(--line); transform: none; } 5%, 20% { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow); } }

/* Teaser on the home page */
.px-teaser { display: grid; align-items: center; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr 1fr; }
.px-teaser .stage-row { display: grid; align-items: center; gap: 16px; grid-template-columns: 1fr 1fr; }

@media (max-width: 1023px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow .f:nth-child(2)::after { display: none; }
  .px-teaser { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .consent, .review, .cal-pair { grid-template-columns: 1fr; }
  .cal.px { display: none; }
  .flow { grid-template-columns: 1fr; }
  .flow .f::after { display: none; }
  .px-teaser .stage-row, .px-teaser-inner { grid-template-columns: 1fr !important; }
  .phone-post { width: 210px; }
}

/* ---------- The Pixva app frame (sidebar + top bar), as in the real app ---------- */
.pxa { display: grid; grid-template-columns: 172px minmax(0, 1fr); background: #f6f6fa; font-family: 'Nunito', 'Plus Jakarta Sans', system-ui, sans-serif; text-align: left; }
.pxa-side { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-right: 1px solid #ececf3; background: #fff; }
.pxa-logo { display: flex; align-items: center; gap: 7px; margin: 0 4px 10px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: #111; }
.pxa-logo img { width: 26px; height: auto; }
.pxa-side .pxa-logo span { display: inline; padding: 0; border-radius: 0; font-size: 21px; font-weight: 800; color: #111; }
/* Posted step: the Pixva screen full width, the phone with the post floating over it. */
.px-posted { position: relative; padding-left: 150px; }
.px-posted .phone-post { position: absolute; z-index: 3; left: 0; bottom: -6px; width: 200px; animation: bob 7s ease-in-out infinite; }
.pxa-logo b { color: #6c4cf5; }
.pxa-side small { margin: 8px 8px 3px; font-size: 9.5px; font-weight: 800; letter-spacing: 0.08em; color: #6b6b80; }
.pxa-side span { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 9px; font-size: 11.5px; font-weight: 700; color: #3b3b4f; white-space: nowrap; }
.pxa-side span svg { width: 14px; height: 14px; flex: none; color: #6b6b80; }
.pxa-side span.on { background: #f1edff; color: #6c4cf5; }
.pxa-side span.on svg { color: #6c4cf5; }
.pxa-side span.sub { padding: 4px 8px 4px 24px; font-size: 10.5px; font-weight: 600; color: #6b6b80; }
.pxa-side span.sub i { width: 4px; height: 4px; border-radius: 99px; background: #b6b6c8; }
.pxa-side span.sub.on { background: none; color: #6c4cf5; }
.pxa-side span.sub.on i { background: #6c4cf5; }
.pxa-main { min-width: 0; }
.pxa-top { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid #ececf3; background: #fff; }
.pxa-search { display: flex; flex: 1; align-items: center; gap: 6px; max-width: 220px; padding: 5px 8px; border: 1px solid #e6e6ef; border-radius: 9px; font-size: 11px; color: #8b8ba0; }
.pxa-search svg { width: 12px; height: 12px; }
.pxa-search kbd { margin-left: auto; padding: 0 5px; border-radius: 5px; background: #f1f1f7; font: inherit; font-size: 9.5px; }
.pxa-store { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 11px; font-weight: 800; }
.pxa-store i { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 6px; background: #7c2d12; font-size: 8px; font-style: normal; color: #fde68a; }
.pxa-add { padding: 5px 9px; border-radius: 8px; background: #6c4cf5; font-size: 10.5px; font-weight: 800; color: #fff; }
.pxa-body { display: grid; gap: 10px; padding: 12px; }
.pxa-card { padding: 12px; border: 1px solid #ececf3; border-radius: 14px; background: #fff; }
.pxa-card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pxa-card-h b { font-size: 13.5px; }
.pxa-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pxa-title b { font-size: 15px; font-weight: 800; }
.pxa-pill { display: inline-flex; padding: 3px 9px; border-radius: 99px; background: #f1edff; font-size: 10px; font-weight: 800; color: #6c4cf5; }
.pxa-pill.amber { background: #fff4e5; color: #c2410c; }
.pxa-btn { padding: 5px 10px; border-radius: 9px; background: #6c4cf5; font-size: 10.5px; font-weight: 800; color: #fff; }
.pxa-welcome { display: flex; align-items: center; gap: 10px; }
.pxa-welcome i { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #efeaff; color: #6c4cf5; }
.pxa-welcome i svg { width: 18px; height: 18px; }
.pxa-welcome b { display: block; font-size: 15px; font-weight: 800; }
.pxa-welcome small { color: #8b8ba0; }
.pxa-stats { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pxa-stat { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px; border: 1px solid #ececf3; border-radius: 13px; background: #fff; }
.pxa-stat small { display: block; font-size: 10px; color: #6b6b80; }
.pxa-stat b { display: block; font-size: 18px; font-weight: 800; }
.pxa-stat em { display: block; font-size: 9.5px; font-style: normal; color: #9a9aae; }
.pxa-stat i { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border-radius: 9px; }
.pxa-stat i svg { width: 15px; height: 15px; }
.pxa-split { display: grid; gap: 10px; grid-template-columns: 0.8fr 1.2fr; align-items: start; }
.pxa-kit { display: grid; align-items: center; gap: 10px; grid-template-columns: auto 1fr auto auto; }
.pxa-kit-logo { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: #7c2d12; font-weight: 800; color: #fde68a; }
.pxa-kit b { font-size: 13.5px; }
.pxa-kit small { display: block; color: #8b8ba0; }
.pxa-sw { display: flex; gap: 4px; }
.pxa-sw i { width: 18px; height: 18px; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 6px; }
.pxa-aa { font-family: Georgia, serif; font-size: 22px; font-weight: 700; color: #7c2d12; }
.pxa-gen { display: grid; gap: 6px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pxa-gen span { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(110deg, #f3eee8 25%, #fde7c7 50%, #f3eee8 75%); background-size: 200% 100%; animation: msp-skeleton 1.4s ease-in-out infinite; }
.pxa-gen span:nth-child(2) { animation-delay: 0.2s; }
.pxa-gen span:nth-child(3) { animation-delay: 0.4s; }
.pxa-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.pxa-tabs span { padding: 4px 9px; border-radius: 99px; font-size: 10.5px; font-weight: 700; color: #6b6b80; }
.pxa-tabs span.on { background: #6c4cf5; color: #fff; }
.pxa-design { display: grid; gap: 6px; padding: 8px; border: 1px solid #ececf3; border-radius: 14px; background: #fff; }
.pxa-design b { font-size: 11.5px; }
.pxa-design .pxa-pill { justify-self: start; }
.pxa .sugg .s { padding: 9px; }
.pxa .mon li { padding: 9px 0; }
.pxa .approve { margin-top: 10px; }

@media (max-width: 1023px) {
  .pxa { grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pxa { grid-template-columns: 1fr; }
  .pxa-side { display: none; }
  .pxa-search { display: none; }
  .pxa-stats { grid-template-columns: 1fr 1fr; }
  .pxa-stats .pxa-stat:nth-child(3) { display: none; }
  .pxa-split, .pxa-kit { grid-template-columns: 1fr; }
  .pxa-sw, .pxa-aa { display: none; }
  .px-posted { padding-left: 0; }
  .px-posted .phone-post { position: static; margin: 0 auto 14px; animation: none; }
}

/* ---------- Posted examples: a stack of social cards that swipe away ---------- */
.swipe-wrap { display: grid; align-items: center; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr 1fr; }
.swipe { position: relative; height: 470px; max-width: 330px; margin: 0 auto; width: 100%; }
.swipe .swc { position: absolute; inset: 0; padding: 12px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); animation: swipeCard 15s infinite; }
.swipe .swc:nth-child(2) { animation-delay: -3s; }
.swipe .swc:nth-child(3) { animation-delay: -6s; }
.swipe .swc:nth-child(4) { animation-delay: -9s; }
.swipe .swc:nth-child(5) { animation-delay: -12s; }
@keyframes swipeCard {
  0% { transform: translateY(0) scale(1); z-index: 5; opacity: 1; }
  16% { transform: translateY(0) scale(1); z-index: 5; opacity: 1; }
  20% { transform: translateX(130%) rotate(18deg); z-index: 5; opacity: 0; }
  21% { transform: translateY(48px) scale(0.84); z-index: 1; opacity: 0; }
  40% { transform: translateY(36px) scale(0.88); z-index: 2; opacity: 0.7; }
  60% { transform: translateY(24px) scale(0.92); z-index: 3; opacity: 0.85; }
  80% { transform: translateY(12px) scale(0.96); z-index: 4; opacity: 0.95; }
  100% { transform: translateY(0) scale(1); z-index: 5; opacity: 1; }
}
.swc-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12px; font-weight: 800; }
.swc-hd .av { width: 30px; height: 30px; border-radius: 50%; }
.swc-hd small { display: block; font-weight: 600; color: var(--muted-2); }
.swc-hd .net { margin-left: auto; padding: 3px 9px; border-radius: 99px; font-size: 10.5px; color: #fff; }
.swc .art { display: grid; height: 270px; place-items: center; border-radius: 16px; color: #fff; text-align: center; }
.swc .art b { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; }
.swc .art em { display: block; margin-top: 8px; font-size: 30px; font-style: normal; font-weight: 800; }
.swc .cap { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.swc .swf { display: flex; gap: 14px; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.nets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.nets span { padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 800; color: #fff; }
@media (max-width: 1023px) { .swipe-wrap { grid-template-columns: 1fr; text-align: center; } .nets { justify-content: center; } }
