/* Ad card (links roadmap L3, 2026-11-15). Used by the ad builder preview, the member ad list and the new link page.
   Class names are short and neutral on purpose (ad blockers hide anything called "ad" or "banner"). */
.pc { display: flex; align-items: center; gap: 14px; box-sizing: border-box; width: 100%; max-width: 720px; padding: 14px 16px; border-radius: 14px; color: #fff; text-align: left; line-height: 1.3; }
.pc .pc-img { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .18); }
.pc .pc-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pc .pc-text { display: grid; gap: 4px; flex: 1 1 auto; min-width: 0; }
.pc .pc-h { display: block; font-size: 1.15rem; line-height: 1.25; font-weight: 800; overflow-wrap: anywhere; }
.pc .pc-l { display: block; font-size: .95rem; line-height: 1.35; opacity: .93; overflow-wrap: anywhere; }
.pc .pc-btn { flex: 0 0 auto; padding: 10px 18px; border-radius: 999px; background: #fff; color: #101935; font-weight: 800; font-size: .95rem; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.pc-t-blue { background: linear-gradient(135deg, #2745e6, #1b2f9c); }
.pc-t-orange { background: linear-gradient(135deg, #ff6a1f, #d94f0a); }
.pc-t-green { background: linear-gradient(135deg, #0b7d5b, #075a41); }
.pc-t-dark { background: linear-gradient(135deg, #1a2238, #0b1020); }
.pc-t-light { background: #f3f6ff; color: #101935; border: 1px solid #c8d2e6; }
.pc-t-light .pc-btn { background: #2745e6; color: #fff; }
@media (max-width: 520px) { .pc { flex-wrap: wrap; } .pc .pc-btn { width: 100%; text-align: center; box-sizing: border-box; } .pc.pc-has-img .pc-img { flex-basis: 72px; width: 72px; height: 72px; } .pc.pc-has-img .pc-text { flex-basis: calc(100% - 90px); } }
/* Premium looks (2026-11-16): Aurora is part of Diamond, Royal of Elite. A slow shine crosses the card; it stops for people who ask for less motion. */
.pc-t-aurora { position: relative; overflow: hidden; background: linear-gradient(120deg, #0f2a6b, #5a2bd6 48%, #d6338a); }
.pc-t-royal { position: relative; overflow: hidden; background: linear-gradient(135deg, #1a1405, #3d2c05 55%, #7a5a10); color: #fff3d0; border: 1px solid #d9b24c; }
.pc-t-royal .pc-btn { background: linear-gradient(135deg, #f7dc7a, #d9a526); color: #2a1d00; }
.pc-t-aurora::after, .pc-t-royal::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .24) 50%, transparent 62%); transform: translateX(-130%); animation: pc-shine 5s ease-in-out 1.2s infinite; }
@keyframes pc-shine { 0% { transform: translateX(-130%); } 45%, 100% { transform: translateX(130%); } }
@media (prefers-reduced-motion: reduce) { .pc-t-aurora::after, .pc-t-royal::after { animation: none; display: none; } }
/* Sample picture used only in the "with the next level" preview of the ad builder */
.pc .pc-img.pc-img-sample { background: linear-gradient(160deg, #8fd0ff, #ffe2b8); display: grid; place-items: center; }
.pc .pc-img.pc-img-sample svg { width: 80%; height: 80%; }
/* Cards inside a narrow box (the builder preview column): stack the button under the text instead of squeezing the text */
.pc-live { container-type: inline-size; }
@container (max-width: 430px) {
  .pc { flex-wrap: wrap; }
  .pc .pc-btn { width: 100%; text-align: center; box-sizing: border-box; }
  .pc.pc-has-img .pc-img { flex-basis: 72px; width: 72px; height: 72px; }
  .pc.pc-has-img .pc-text { flex-basis: calc(100% - 90px); }
}

/* premium features (S10, 2026-11-17): badge and end date from Diamond, Featured frame from Elite */
.pc .pc-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.pc .pc-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45); color: #fff; font-size: .74rem; font-weight: 800; line-height: 1.5; }
.pc .pc-pill-end { background: #fff3c4; color: #5a3a00; border-color: #f0d36c; }
.pc .pc-pill-feat { background: linear-gradient(135deg, #f7dc7a, #d9a526); color: #2a1d00; border-color: #d9a526; }
.pc.pc-featured { box-shadow: 0 0 0 2px #f7dc7a, 0 0 22px rgba(247, 220, 122, .6); }
