
/* ==================== Campaign detail — motion & polish layer ==================== */
.pcd-root .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.pcd-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100; pointer-events: none; }
.pcd-progress span { display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--brand), #22c55e); box-shadow: 0 0 10px rgba(83,74,183,.5); }

@keyframes pcdDrift { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes pcdFloatA { 0%,100% { translate: 0 0; } 50% { translate: 30px 20px; } }
@keyframes pcdFloatB { 0%,100% { translate: 0 0; } 50% { translate: -24px 26px; } }
@keyframes pcdSweep { 0% { background-position: 150% 0; } 60%,100% { background-position: -50% 0; } }
@keyframes pcdKen { 0% { transform: scale(1.12) translateY(var(--pcd-parallax, 0px)); } 100% { transform: scale(1.22) translate(-2%, calc(-2% + var(--pcd-parallax, 0px))); } }
@keyframes pcdUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pcdRise { from { opacity: 0; transform: translateY(30px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes pcdPulse { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,.45); } 100% { box-shadow: 0 0 0 12px rgba(239,68,68,0); } }
@keyframes pcdGlow { 0%,100% { box-shadow: 0 10px 24px -10px rgba(83,74,183,.55); } 50% { box-shadow: 0 14px 34px -8px rgba(83,74,183,.75); } }
@keyframes pcdShimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }
@keyframes pcdPop { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.08); } 100% { opacity: 1; transform: none; } }
@keyframes pcdShake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
@keyframes pcdSpin { to { transform: rotate(360deg); } }

.pcd-hero {
    position: relative; overflow: hidden; color: #fff; padding: 64px 0 70px;
    background: linear-gradient(120deg, var(--brand), var(--brand-deep) 55%, #0f766e 120%);
    background-size: 220% 220%; animation: pcdDrift 18s ease-in-out infinite alternate;
}
.pcd-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pcd-hero-img {
    position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; opacity: .32; filter: blur(3px) saturate(1.1);
    animation: pcdKen 22s ease-in-out infinite alternate;
}
.pcd-hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,16,60,.25), rgba(20,16,60,.72)),
                radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: auto, 24px 24px;
}
.pcd-orb { position: absolute; border-radius: 50%; z-index: 1; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.32), rgba(255,255,255,0) 70%); }
.pcd-orb-1 { width: 320px; height: 320px; left: -90px; top: -110px; animation: pcdFloatA 15s ease-in-out infinite; }
.pcd-orb-2 { width: 220px; height: 220px; right: 6%; bottom: -90px; animation: pcdFloatB 12s ease-in-out infinite; }
.pcd-hero-shine { position: absolute; inset: 0; z-index: 2; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.12) 50%, transparent 65%); background-size: 250% 100%; animation: pcdSweep 8s ease-in-out infinite; }
.pcd-hero-inner { position: relative; z-index: 3; }

.pcd-crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: rgba(255,255,255,.75); animation: pcdUp .6s .05s both; }
.pcd-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.pcd-crumbs li + li::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .55rem; opacity: .6; }
.pcd-crumbs a { color: #fff; opacity: .85; transition: opacity .15s; }
.pcd-crumbs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.pcd-crumbs li[aria-current] { color: #fff; font-weight: 600; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pcd-eyebrow {
    display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
    padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px);
    margin-bottom: 14px; animation: pcdUp .6s .15s both;
}
.pcd-title { color: #fff; font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.15; letter-spacing: -.5px; margin: 0 0 18px; max-width: 22ch; text-shadow: 0 6px 30px rgba(0,0,0,.25); animation: pcdUp .7s .25s both; }

.pcd-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pcd-meta li {
    display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; padding: 7px 14px; border-radius: 999px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px);
    animation: pcdUp .55s backwards; transition: background .2s, transform .2s;
}
.pcd-meta li:nth-child(1) { animation-delay: .38s; }
.pcd-meta li:nth-child(2) { animation-delay: .46s; }
.pcd-meta li:nth-child(3) { animation-delay: .54s; }
.pcd-meta li:nth-child(4) { animation-delay: .62s; }
.pcd-meta li:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.pcd-meta a { color: #fff; font-weight: 600; }
.pcd-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pcd-meta li.pcd-urgent { background: rgba(239,68,68,.9); border-color: transparent; animation: pcdUp .55s .54s backwards, pcdPulse 1.8s 1.2s infinite; }

.pcd-grid { margin-top: -40px; padding-top: 0; position: relative; z-index: 4; }
.pcd-main { animation: pcdRise .8s .3s cubic-bezier(.2,.8,.2,1) both; min-width: 0; }

.pcd-stage {
    position: relative; border-radius: 20px; overflow: hidden; min-height: 300px;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 30px 60px -30px rgba(38,33,92,.55);
}
.pcd-stage .ph { color: rgba(255,255,255,.75); font-size: 3.2rem; animation: pcdPop .8s .5s both; }
.pcd-stage-btn { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.pcd-stage img { width: 100%; height: auto; max-height: 460px; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .25s ease, filter .25s ease; }
.pcd-stage-btn:hover img { transform: scale(1.04); }
.pcd-stage img.swapping { opacity: 0; filter: blur(6px); transform: scale(1.02); }
.pcd-zoom-hint {
    position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(17,24,39,.45); backdrop-filter: blur(6px);
    opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s;
}
.pcd-stage-btn:hover .pcd-zoom-hint, .pcd-stage-btn:focus-visible .pcd-zoom-hint { opacity: 1; transform: none; }
.pcd-nav {
    position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.9); color: var(--brand-deep); box-shadow: 0 8px 20px -8px rgba(0,0,0,.4);
    display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s, transform .2s, background .2s;
}
.pcd-prev { left: 14px; transform: translateX(-8px); }
.pcd-next { right: 14px; transform: translateX(8px); }
.pcd-stage:hover .pcd-nav, .pcd-nav:focus-visible { opacity: 1; transform: none; }
.pcd-nav:hover { background: #fff; transform: scale(1.08) !important; }
.pcd-counter { position: absolute; left: 14px; bottom: 14px; font-size: .75rem; font-weight: 700; color: #fff; padding: 4px 11px; border-radius: 999px; background: rgba(17,24,39,.5); backdrop-filter: blur(6px); }
@media (hover: none) { .pcd-nav { opacity: 1; transform: none; } }

.pcd-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pcd-thumb {
    padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; background: #fff;
    transition: border-color .2s, transform .2s, box-shadow .2s, opacity .2s; opacity: .72;
    animation: pcdUp .5s calc(.6s + var(--d, 0s)) backwards;
}
.pcd-thumb img { width: 84px; height: 62px; object-fit: cover; display: block; }
.pcd-thumb:hover { opacity: 1; transform: translateY(-3px); }
.pcd-thumb.active { opacity: 1; border-color: var(--brand); box-shadow: 0 8px 18px -8px rgba(83,74,183,.6); }

.pcd-about {
    margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 30px;
    box-shadow: 0 18px 46px -30px rgba(38,33,92,.35); position: relative; overflow: hidden;
}
.pcd-about::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--brand), #22c55e); }
.pcd-about h2 { font-size: 1.15rem; color: var(--brand-deep); margin: 0 0 12px; display: flex; align-items: center; gap: 9px; }
.pcd-about h2 i { color: var(--brand); }
.pcd-desc { margin-top: 0; }
.pcd-desc img { max-width: 100%; border-radius: 12px; }
.pcd-muted { color: var(--muted); margin: 0; }

.pcd-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
@media (max-width: 760px) { .pcd-trust { grid-template-columns: 1fr; } }
.pcd-trust-item {
    display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--field); border: 1px solid var(--line);
    transition: transform .25s, box-shadow .25s, background .2s;
}
.pcd-trust-item:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 16px 34px -22px rgba(38,33,92,.4); }
.pcd-trust-item .ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(145deg, var(--brand), var(--brand-deep)); transition: transform .3s; }
.pcd-trust-item:hover .ic { transform: rotate(-8deg) scale(1.08); }
.pcd-trust-item b { display: block; font-size: .88rem; color: var(--ink); }
.pcd-trust-item span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.5; margin-top: 2px; }

.pcd-side { animation: pcdRise .8s .45s cubic-bezier(.2,.8,.2,1) both; border-radius: 22px; box-shadow: 0 30px 60px -32px rgba(38,33,92,.45); }
.pcd-side::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(135deg, rgba(83,74,183,.55), transparent 40%, transparent 60%, rgba(34,197,94,.45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.pcd-funding { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.pcd-ring { position: relative; width: 112px; height: 112px; flex: none; }
.pcd-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pcd-ring-track { fill: none; stroke: var(--field); stroke-width: 10; }
.pcd-ring-fill { fill: none; stroke: url(#pcdRingGrad); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1) .35s; filter: drop-shadow(0 3px 6px rgba(83,74,183,.35)); }
.pcd-ring-label { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; align-content: center; color: var(--brand-deep); }
.pcd-ring-label b { font-family: "Poppins", sans-serif; font-size: 1.7rem; font-weight: 800; line-height: 1; }
.pcd-ring-label span { font-weight: 700; font-size: .95rem; }
.pcd-ring-label small { width: 100%; text-align: center; font-size: .68rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-top: 2px; }
.pcd-funding-text { min-width: 0; }
.pcd-raised { font-variant-numeric: tabular-nums; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.pcd-funding-text .of { margin-bottom: 0; }
.pcd-funding-text .of b { color: var(--ink); }

.pcd-bar { height: 9px; position: relative; }
.pcd-bar > i { position: relative; overflow: hidden; transition: width 1.6s cubic-bezier(.2,.8,.2,1) .35s; background: linear-gradient(90deg, var(--brand), #22c55e); }
.pcd-bar > i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: pcdShimmer 2.2s 2s ease-in-out infinite; }

.pcd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 18px; }
.pcd-stats > div { background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px; text-align: center; transition: transform .2s, background .2s; animation: pcdUp .5s backwards; }
.pcd-stats > div:nth-child(1) { animation-delay: .7s; }
.pcd-stats > div:nth-child(2) { animation-delay: .78s; }
.pcd-stats > div:nth-child(3) { animation-delay: .86s; }
.pcd-stats > div:hover { transform: translateY(-2px); background: #fff; }
.pcd-stats dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 600; }
.pcd-stats dd { margin: 3px 0 0; font-weight: 800; font-size: .88rem; color: var(--brand-deep); overflow-wrap: anywhere; }
.pcd-urgent-text { color: #dc2626 !important; }

.pcd-donate-btn { width: 100%; justify-content: center; position: relative; overflow: hidden; animation: pcdGlow 2.8s 1.4s ease-in-out infinite; }
.pcd-donate-btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); transition: left .7s ease; }
.pcd-donate-btn:hover::before { left: 120%; }
.pcd-donate-btn i { transition: transform .25s; }
.pcd-donate-btn:hover i { transform: scale(1.2) rotate(-8deg); }

.pcd-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.pcd-chip {
    flex: 1; min-width: 48px; padding: 8px 6px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer;
    font-weight: 700; font-size: .84rem; color: var(--brand-dark); font-family: inherit; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.pcd-chip:hover { border-color: var(--brand); transform: translateY(-1px); }
.pcd-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 14px -6px rgba(83,74,183,.7); }
.pcd-card-donate .cd-row input.is-invalid { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.pcd-card-btn { width: 100%; justify-content: center; margin-top: 10px; }
.pcd-card-btn.is-loading i { animation: pcdSpin .9s linear infinite; }
.pcd-card-btn.is-loading i::before { content: "\f110"; }
.pcd-secure { margin: 2px 0 0; text-align: center; font-size: .74rem; color: var(--muted); }
.pcd-secure i { color: var(--ok); margin-right: 4px; }
.pcd-shake { animation: pcdShake .42s ease; }

.pcd-share-title { font-size: .95rem; color: var(--muted); font-weight: 600; margin: 0 0 10px; }
.pcd-share .ps-share-btn { animation: pcdPop .45s backwards; transition: transform .2s, filter .2s, box-shadow .2s; }
.pcd-share .ps-share-btn:nth-child(1) { animation-delay: .9s; }
.pcd-share .ps-share-btn:nth-child(2) { animation-delay: .96s; }
.pcd-share .ps-share-btn:nth-child(3) { animation-delay: 1.02s; }
.pcd-share .ps-share-btn:nth-child(4) { animation-delay: 1.08s; }
.pcd-share .ps-share-btn:nth-child(5) { animation-delay: 1.14s; }
.pcd-share .ps-share-btn:nth-child(6) { animation-delay: 1.2s; }
.pcd-share .ps-share-btn:hover { transform: translateY(-3px) rotate(-6deg); box-shadow: 0 10px 20px -10px rgba(0,0,0,.45); }

.pcd-toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 1200; display: flex; align-items: center; gap: 9px;
    padding: 12px 18px; border-radius: 12px; background: #111827; color: #fff; font-size: .87rem; font-weight: 600;
    box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); transform: translate(-50%, 140%); opacity: 0;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s; pointer-events: none;
}
.pcd-toast i { color: #4ade80; }
.pcd-toast.show { transform: translate(-50%, 0); opacity: 1; }

.pcd-mobile-cta { display: none; }
@media (max-width: 900px) {
    .pcd-side { position: relative; top: auto; }
    .pcd-mobile-cta {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1050; padding: 10px 10px 10px 16px;
        background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px;
        box-shadow: 0 18px 40px -16px rgba(38,33,92,.45);
        transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
    }
    .pcd-mobile-cta.show { transform: none; }
    .pcd-mobile-cta-text b { display: block; color: var(--brand-deep); font-size: .95rem; }
    .pcd-mobile-cta-text span { display: block; color: var(--muted); font-size: .74rem; }
    .pcd-toast { bottom: 92px; }
}
@media (max-width: 640px) {
    .pcd-hero { padding: 44px 0 60px; }
    .pcd-funding { gap: 14px; }
    .pcd-ring { width: 96px; height: 96px; }
}

.pcd-lightbox {
    position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; padding: 40px 70px;
    background: rgba(10,8,30,.9); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s;
}
.pcd-lightbox[hidden] { display: none; }
.pcd-lightbox.open { opacity: 1; }
.pcd-lightbox img { max-width: 100%; max-height: 100%; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: scale(.94); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.pcd-lightbox.open img { transform: none; }
.pcd-lb-close, .pcd-lb-nav {
    position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; font-size: 1.1rem;
    background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s;
}
.pcd-lb-close:hover, .pcd-lb-nav:hover { background: rgba(255,255,255,.28); transform: scale(1.08); }
.pcd-lb-close { top: 18px; right: 18px; }
.pcd-lb-prev { left: 16px; top: 50%; margin-top: -23px; }
.pcd-lb-next { right: 16px; top: 50%; margin-top: -23px; }
@media (max-width: 640px) { .pcd-lightbox { padding: 70px 12px; } .pcd-lb-prev, .pcd-lb-next { top: auto; bottom: 16px; margin-top: 0; } }

@media (prefers-reduced-motion: reduce) {
    .pcd-hero, .pcd-hero-img, .pcd-orb, .pcd-hero-shine, .pcd-crumbs ol, .pcd-eyebrow, .pcd-title, .pcd-meta li, .pcd-meta li.pcd-urgent,
    .pcd-main, .pcd-side, .pcd-stage .ph, .pcd-thumb, .pcd-stats > div, .pcd-donate-btn, .pcd-bar > i::after, .pcd-share .ps-share-btn, .pcd-shake {
        animation: none !important;
    }
    .pcd-ring-fill, .pcd-bar > i, .pcd-stage img, .pcd-toast, .pcd-mobile-cta, .pcd-lightbox, .pcd-lightbox img { transition: none !important; }
}

/* ── Local payments: JazzCash / EasyPaisa / bank + proof upload ─────────── */
.pcd-pay { margin-top: 4px; padding: 18px; border-radius: 18px; background: linear-gradient(180deg, rgba(83,74,183,.06), rgba(83,74,183,0) 70%); border: 1px solid rgba(83,74,183,.14); }
.pcd-pay-head h2 { font-size: 1rem; font-weight: 800; color: var(--brand-deep); margin: 8px 0 4px; line-height: 1.3; }
.pcd-pay-head p { font-size: .8rem; color: #6b6984; margin: 0 0 14px; line-height: 1.5; }
.pcd-pay-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .66rem; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: #15803D; background: #DCFCE7; padding: 3px 9px; border-radius: 999px; }
.pcd-accts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pcd-acct { display: flex; align-items: center; gap: 12px; padding: 11px 12px; background: #fff; border: 1px solid #ECEAF6; border-radius: 14px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pcd-acct:hover { border-color: rgba(83,74,183,.35); box-shadow: 0 10px 22px -16px rgba(38,33,92,.5); transform: translateY(-1px); }
.pcd-acct-logo { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 1rem; }
.pcd-acct-info { flex: 1; min-width: 0; line-height: 1.3; }
.pcd-acct-info b { display: block; font-size: .8rem; color: #14122B; }
.pcd-acct-num { display: block; font-family: Consolas, Monaco, "Courier New", monospace; font-size: .86rem; font-weight: 700; letter-spacing: .3px; color: var(--brand-deep); word-break: break-all; }
.pcd-acct-info small { display: block; font-size: .7rem; color: #7A7891; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcd-acct-copy { flex: none; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #E3E0F4; background: #F7F6FD; color: var(--brand); font-size: .7rem; font-weight: 700; padding: 6px 10px; border-radius: 10px; cursor: pointer; transition: all .2s; }
.pcd-acct-copy:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.pcd-acct-copy.ok { background: #16A34A; border-color: #16A34A; color: #fff; }
.pcd-pay-steps { list-style: none; padding: 0; margin: 14px 0; display: flex; justify-content: space-between; gap: 6px; }
.pcd-pay-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; font-size: .68rem; font-weight: 600; color: #6b6984; position: relative; }
.pcd-pay-steps li + li::before { content: ""; position: absolute; top: 12px; right: 50%; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, rgba(83,74,183,.3) 0 4px, transparent 4px 8px); z-index: 0; transform: translateX(-12px); }
.pcd-pay-steps span { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); }
.pcd-sponsor-link { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; font-size: .76rem; color: #6b6984; text-decoration: none; }
.pcd-sponsor-link b { color: var(--brand); }
.pcd-sponsor-link:hover b { text-decoration: underline; }

/* Upload dialog */
body.pcd-dlg-open { overflow: hidden; }
.pcd-paydlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(20,16,60,.6); overflow: auto; color: #14122B; }
.pcd-paydlg::backdrop { background: rgba(20,16,60,.55); backdrop-filter: blur(3px); }
.pcd-paydlg[open] { animation: pcdDlgIn .28s cubic-bezier(.2,.8,.2,1); }
@keyframes pcdDlgIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.pcd-paydlg .pd-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: #fff; border-bottom: 1px solid #ECEAF6; }
.pcd-paydlg .pd-ic { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); }
.pcd-paydlg h2 { font-size: 1.05rem; font-weight: 800; margin: 0; color: var(--brand-deep); }
.pcd-paydlg .pd-head p { font-size: .76rem; color: #7A7891; margin: 2px 0 0; }
.pcd-paydlg .pd-x { margin-left: auto; width: 36px; height: 36px; border-radius: 11px; border: 1px solid #ECEAF6; background: #fff; color: #7A7891; cursor: pointer; }
.pcd-paydlg .pd-x:hover { color: #14122B; background: #F7F6FD; }
.pcd-paydlg .pd-body { padding: 18px 20px 20px; }
.pcd-paydlg .pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.pcd-paydlg .pd-f { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.pcd-paydlg .pd-f.full { grid-column: 1 / -1; }
.pcd-paydlg .pd-f > span { font-size: .74rem; font-weight: 700; color: #3f3d56; }
.pcd-paydlg .pd-f em { color: #EF4444; font-style: normal; }
.pcd-paydlg .pd-f small { font-weight: 500; color: #9a98b0; }
.pcd-paydlg input, .pcd-paydlg select, .pcd-paydlg textarea { width: 100%; border: 1.5px solid #ECEAF6; border-radius: 12px; padding: 11px 13px; font-size: .86rem; color: #14122B; background: #fff; outline: 0; transition: border-color .2s, box-shadow .2s; font-family: inherit; }
.pcd-paydlg input:focus, .pcd-paydlg select:focus, .pcd-paydlg textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(83,74,183,.12); }
.pcd-paydlg textarea { resize: vertical; }
.pcd-paydlg .pd-drop { position: relative; display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 14px; border: 1.5px dashed rgba(83,74,183,.35); border-radius: 14px; background: #FAF9FF; cursor: pointer; transition: all .2s; }
.pcd-paydlg .pd-drop:hover, .pcd-paydlg .pd-drop.over { border-color: var(--brand); background: rgba(83,74,183,.06); }
.pcd-paydlg .pd-drop.has-file { border-style: solid; border-color: #86EFAC; background: #F0FDF4; }
.pcd-paydlg .pd-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pcd-paydlg .pd-drop img { width: 64px; height: 64px; flex: none; object-fit: cover; border-radius: 10px; border: 1px solid #ECEAF6; }
.pcd-paydlg .pd-drop-txt { display: flex; flex-direction: column; gap: 2px; font-size: .8rem; color: #6b6984; min-width: 0; }
.pcd-paydlg .pd-drop-txt i { font-size: 1.3rem; color: var(--brand); margin-bottom: 2px; }
.pcd-paydlg .pd-drop-txt b { color: #14122B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcd-paydlg .pd-drop.has-file .pd-drop-txt i { color: #16A34A; }
.pcd-paydlg .pd-captcha { display: flex; gap: 8px; align-items: center; }
.pcd-paydlg .pd-captcha img { height: 44px; border-radius: 10px; border: 1px solid #ECEAF6; flex: none; }
.pcd-paydlg .pd-captcha button { width: 40px; height: 40px; flex: none; border-radius: 10px; border: 1px solid #ECEAF6; background: #fff; color: var(--brand); cursor: pointer; }
.pcd-paydlg .pd-err { min-height: 1.2em; margin: 12px 0 0; font-size: .78rem; font-weight: 600; color: #DC2626; }
.pcd-paydlg .pd-submit { width: 100%; justify-content: center; margin-top: 6px; }
.pcd-paydlg .pd-note { margin: 10px 0 0; text-align: center; font-size: .72rem; color: #7A7891; }
.pcd-paydlg .pd-note i { color: #16A34A; }
.pcd-paydlg .pd-done { padding: 34px 26px 28px; text-align: center; }
.pcd-paydlg .pd-done-ic { width: 70px; height: 70px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: linear-gradient(135deg, #22C55E, #15803D); box-shadow: 0 16px 34px -14px rgba(22,163,74,.8); animation: pcdDlgIn .4s cubic-bezier(.2,.8,.2,1); }
.pcd-paydlg .pd-done h3 { font-size: 1.25rem; font-weight: 800; color: var(--brand-deep); margin: 0 0 8px; }
.pcd-paydlg .pd-done p { font-size: .86rem; line-height: 1.6; color: #6b6984; margin: 0 auto 18px; max-width: 400px; }
.pcd-paydlg .pd-ref { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 20px; border-radius: 14px; background: #F7F6FD; border: 1px dashed rgba(83,74,183,.35); }
.pcd-paydlg .pd-ref small { font-size: .7rem; color: #7A7891; }
.pcd-paydlg .pd-ref b { font-family: Consolas, Monaco, monospace; font-size: 1.05rem; letter-spacing: .5px; color: var(--brand-deep); }
.pcd-paydlg .pd-ref button { border: 0; background: none; color: var(--brand); cursor: pointer; }
.pcd-paydlg .pd-done .ps-btn { min-width: 160px; justify-content: center; }
@media (max-width: 520px) { .pcd-paydlg .pd-grid { grid-template-columns: 1fr; } .pcd-paydlg { border-radius: 18px; } }

.pcd-paydlg .pd-track { font-size: .8rem !important; margin: -6px auto 18px !important; }
.pcd-paydlg .pd-track a { color: var(--brand); font-weight: 700; }
