.pc-front{position:relative;isolation:isolate;width:100%;max-width:690px;aspect-ratio:1.586;border-radius:24px;overflow:hidden;background:linear-gradient(125deg,var(--pc-accent,#176977),#09282b 75%);color:#fff5df;border:1px solid #b6a477;box-shadow:0 16px 38px #102f3826;margin:0 auto 16px;font-family:Arial,sans-serif;container-type:inline-size}.pc-front *{box-sizing:border-box}.pc-front.pc-blackgold{background:linear-gradient(135deg,#29241b,#101516 70%)}.pc-background,.pc-shade{position:absolute;inset:0;width:100%;height:100%;z-index:-2;object-fit:cover}.pc-shade{z-index:-1;background:linear-gradient(110deg,#051a22eb,#06191e9c)}.pc-brand .pc-shade{background:linear-gradient(140deg,#0000,#06191e80)}.pc-content{padding:5%;height:100%;display:flex;flex-direction:column;position:relative}.pc-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.pc-header small,.pc-member small,.pc-reward small{font-size:clamp(8px,1.7cqw,12px);color:#e9ce96;letter-spacing:.12em;display:block}.pc-header strong{display:block;font-size:clamp(18px,4.5cqw,31px);line-height:1.12;margin:8px 0 0;max-width:490px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#fff5df}.pc-logo{width:12%;aspect-ratio:1;object-fit:contain;background:#fff;border-radius:12px;padding:5px;max-height:65px}.pc-monogram{font-size:34px;color:#e9ce96}.pc-member{display:flex;align-items:center;gap:14px;margin:4% 0}.pc-member>div{min-width:0}.pc-member h3{font-size:clamp(15px,3.4cqw,24px)!important;color:#fff5df!important;line-height:1.12;margin:6px 0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pc-code{color:#cfdddd;font:clamp(9px,1.8cqw,13px) monospace;letter-spacing:.08em}.pc-portrait{width:12%;aspect-ratio:1;object-fit:cover;border-radius:50%;border:2px solid #e9ce96;max-width:65px}.pc-progress{margin-top:auto;padding-right:17%;padding-bottom:3%}.pc-progress-label{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:clamp(8px,1.8cqw,12px);color:#f0e2c4}.pc-progress-label b{font-weight:500}.pc-progress-label span{white-space:nowrap}.pc-stamp-row{display:flex;gap:1.8%;margin:12px 0;align-items:center}.pc-stamp{position:relative;width:10%;aspect-ratio:1;max-width:43px;display:grid;place-items:center;border:1px solid #d4bb85;border-radius:50%;background:#ffffff16;font-size:clamp(12px,3cqw,22px);color:#fff5df}.pc-stamp.approved{background:#e8ce99;color:#173b40}.pc-stamp.pending{background:#a77531;border-style:dashed}.pc-stamp.empty>span{opacity:.5}.pc-stamp i{font-style:normal;position:absolute;right:-4px;top:-5px;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;font-size:9px;background:#fff;color:#173b40}.pc-gift{font-size:clamp(15px,4cqw,28px)}.pc-more{font-size:10px}.pc-reward strong{display:block;font-size:clamp(12px,2.7cqw,19px);line-height:1.22;color:#fff5df;margin-top:5px;max-height:2.5em;overflow:hidden}.pc-footer{display:flex;align-items:flex-end;justify-content:space-between;color:#d8e4e4;font-size:clamp(8px,1.6cqw,11px)}.pc-qr{position:absolute;bottom:8%;right:5%;width:15%;aspect-ratio:1;border:5px solid #fff;border-radius:7px;background:#fff}.premium-card-system>.loyalty-unified-card{margin-top:0!important}.premium-card-system>.loyalty-unified-card>.card-top,.premium-card-system>.loyalty-unified-card>.card-person,.premium-card-system>.loyalty-unified-card>.loyalty-balance{display:none}.premium-card-system>.loyalty-unified-card>.loyalty-point-row:first-of-type>.stamps{display:none}.premium-card-system>.loyalty-unified-card>h3{margin-top:0}.premium-preview{margin:18px 0}.premium-preview .pc-front{max-width:600px}.premium-editor-note{font-size:12px;line-height:1.6;color:#667a7b}@media(max-width:450px){.pc-front{border-radius:17px}.pc-member{margin:3% 0}.pc-header strong{margin-top:5px}.pc-stamp-row{margin:9px 0}.pc-content{padding:5%}.pc-logo{border-radius:7px;padding:3px}.pc-qr{border-width:3px}.pc-progress-label{flex-wrap:wrap;gap:3px}.pc-member small{letter-spacing:.07em}.pc-member h3{margin:4px 0!important}}

.pc-gift{border:0;background:transparent;padding:0;cursor:pointer;box-shadow:none}.pc-gift:focus-visible{outline:2px solid white;outline-offset:3px}.premium-preview .pc-gift{pointer-events:none}

.premium-approved-mark{font-size:10px;align-self:flex-start}.premium-card-system .pc-front{margin-bottom:12px}

/* Photo cards use one fixed-ratio image on screen and for PNG download. */
.pc-front.pc-photo{display:block!important;position:relative!important;box-sizing:border-box!important;width:100%!important;max-width:690px!important;min-width:0!important;height:auto!important;aspect-ratio:1200/756!important;padding:0!important;border:0!important;border-radius:4.3% / 6.8%!important;overflow:hidden!important;background-size:cover!important;background-position:center!important;isolation:isolate;margin:0 auto 14px!important}
.pc-front.pc-photo>.pc-rendered{display:block!important;position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;aspect-ratio:1200/756!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;opacity:0}
.pc-front.pc-photo.pc-ready>.pc-rendered{opacity:1}
.pc-front.pc-photo>.pc-gift{position:absolute!important;left:3%!important;bottom:8%!important;width:60%!important;height:17%!important;min-height:0!important;max-height:none!important;border:0!important;padding:0!important;margin:0!important;background:transparent!important;box-shadow:none!important}
.premium-card-system{min-width:0;max-width:100%}.quick-demo-benefits,.quick-demo-benefit{min-width:0;max-width:100%}.quick-demo-benefit .premium-card-system>.loyalty-unified-card{padding:15px!important;border-radius:16px!important;background:#f6faf9!important;color:#163e47!important;box-shadow:none!important}.quick-demo-benefit .premium-card-system>.loyalty-unified-card>h3{display:none}.quick-demo-benefit .premium-card-system>.loyalty-unified-card>.loyalty-point-row:first-of-type{margin-top:0;padding-top:0;border-top:0}.quick-demo-benefit .premium-card-system>.loyalty-unified-card>.hint{margin:8px 0;font-size:12px}.quick-demo-benefit .premium-card-system>.loyalty-unified-card .actions{margin:8px 0}.quick-demo-benefit .premium-card-system>.loyalty-unified-card .card-sync-note{font-size:10px;margin:6px 0}.quick-demo-referral-glow .referral-compact-actions small{color:#48646b}.quick-demo-referral-glow .referral-copy-link{color:#174d52}.quick-demo-referral-glow .row-heading{color:#174d52}

/* Independent transparent layers restore motion without stretching the photo card. */
.pc-front.pc-photo>.pc-live-layer{position:absolute!important;display:block!important;box-sizing:border-box!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;opacity:0;z-index:2;line-height:0!important;transform-origin:center;pointer-events:none}
.pc-front.pc-photo.pc-ready>.pc-live-layer{opacity:1}
.pc-front.pc-photo>.pc-live-layer>.pc-live-image{display:block!important;position:static!important;width:100%!important;height:100%!important;max-width:none!important;min-height:0!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.pc-front.pc-photo>.pc-live-gift{pointer-events:auto;cursor:pointer;filter:drop-shadow(0 0 6px #ffd78099)}
.pc-front.pc-photo>.pc-live-gift:focus-visible{outline:2px solid #fff;outline-offset:-4px;border-radius:14px!important}
.pc-front.pc-ready>.pc-motion-gift,.pc-front.pc-ready>.pc-motion-reward{animation:pcGiftBounce 2.4s ease-in-out infinite}
.pc-front.pc-ready>.pc-motion-reward{animation-duration:1.6s;filter:drop-shadow(0 0 10px #ffe5a9)}
.pc-front.pc-ready>.pc-motion-pending{animation:pcPendingFloat 2.4s ease-in-out infinite;filter:drop-shadow(0 0 4px #e5c58088)}
.pc-front.pc-ready>.pc-motion-next{animation:pcNextPulse 2.8s ease-in-out infinite;animation-delay:.4s}
.pc-front.pc-ready>.pc-motion-approved{animation:pcStampArrive .6s ease-out both}
.premium-preview .pc-live-gift{pointer-events:none!important}
@keyframes pcGiftBounce{0%,48%,100%{transform:translateY(0) scale(1) rotate(0)}62%{transform:translateY(-24%) scale(1.12) rotate(-7deg)}73%{transform:translateY(0) scale(.97) rotate(4deg)}84%{transform:translateY(-12%) scale(1.06) rotate(-3deg)}94%{transform:translateY(0) scale(1) rotate(0)}}
@keyframes pcPendingFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-10%) scale(1.07)}}
@keyframes pcNextPulse{0%,100%{transform:scale(1);filter:drop-shadow(0 0 0 #f5d28b00)}50%{transform:scale(1.1);filter:drop-shadow(0 0 5px #f5d28bb3)}}
@keyframes pcStampArrive{0%{transform:scale(.6) rotate(-12deg)}65%{transform:scale(1.15) rotate(5deg)}100%{transform:scale(1) rotate(0)}}
@media(prefers-reduced-motion:reduce){.pc-front.pc-ready>.pc-live-layer{animation:none!important;transform:none!important}}
