/* ============================================================
   PPI ALUMNI — Photo card pages (lookup, card, verify) and the
   card preview on the registration copy / member dashboard.
   Own file so the main stylesheet stays untouched; loaded only
   where a card is shown (pages/photocard/_assets.blade.php).

   v16: the page chrome around the card is ivory, gold and royal
   navy — it frames the certificate-style card instead of
   competing with it. .pc-stage / .pc-status / .pc-embed are
   shared with the home page, the registration copy and the
   dashboard and keep their shape.
   ============================================================ */

.pc-section {
    padding: clamp(44px, 6vw, 84px) 0 clamp(60px, 8vw, 104px);
    background:
        radial-gradient(46% 58% at 84% 30%, rgba(251, 191, 36, .14), transparent 70%),
        radial-gradient(50% 60% at 6% 0%, rgba(37, 99, 235, .08), transparent 70%),
        radial-gradient(40% 50% at 10% 96%, rgba(16, 185, 129, .1), transparent 70%),
        var(--paper, #f4f8fc);
}
/* The halo behind the card may reach past the column; clip it (clip, not
   hidden — the card column on the card page is sticky). */
.pc-section--lookup, .pc-section--show { overflow: clip; }

.pc-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--blue-800, #1e40af); padding: 6px 12px 6px 10px; border-radius: 999px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), rgba(13, 148, 136, 0.1)); border: 1px solid rgba(37, 99, 235, 0.16);
}
.pc-kicker i { color: var(--blue, #2563eb); }

/* ---------- The card stage (image placeholder while drawing) ---------- */
.pc-stage {
    position: relative;
    width: 100%; max-width: 540px; margin: 0 auto;
    aspect-ratio: 1080 / 1350;
    border-radius: 18px; overflow: hidden;
    background:
        radial-gradient(120% 80% at 50% 0%, #fff 0%, #f5efe1 60%, #efe6d2 100%);
    box-shadow: 0 30px 60px -24px rgba(10, 22, 40, .35), 0 2px 8px rgba(10, 22, 40, .08);
}
.pc-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pc-stage.is-loading::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55) 40%, transparent 60%);
    background-size: 220% 100%;
    animation: pc-shimmer 1.4s linear infinite;
}
@keyframes pc-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.pc-status {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    padding: 10px 16px; border-radius: 999px;
    background: rgba(10, 22, 40, .82); color: #fff;
    font-size: 13px; font-weight: 600; white-space: nowrap; z-index: 2;
}
.pc-status.is-error { white-space: normal; width: 80%; text-align: center; background: #8c1f1f; border-radius: 12px; }
.pc-status[hidden] { display: none; }

/* ---------- Showcase: an ivory spotlight with a fine gold ring ---------- */
.pc-showcase { position: relative; isolation: isolate; max-width: 540px; margin: 0 auto; padding: 46px 36px 50px; }
.pc-showcase::before {
    content: ''; position: absolute; inset: 0; z-index: -2; border-radius: 36px; pointer-events: none;
    background: radial-gradient(64% 56% at 50% 44%, #fffdf5 0%, rgba(254, 243, 199, .8) 46%, rgba(253, 230, 138, 0) 76%);
}
.pc-showcase::after {
    content: ''; position: absolute; left: 50%; top: 50%; z-index: -1; width: min(100%, 520px); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(201, 165, 92, .4);
    box-shadow: 0 0 0 24px rgba(255, 255, 255, .3), 0 0 0 25px rgba(201, 165, 92, .22);
}
.pc-showcase__badge {
    position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 15px; border-radius: 999px; white-space: nowrap;
    font: 800 12.5px/1.2 var(--font-body, 'Inter', sans-serif); letter-spacing: .02em;
    box-shadow: 0 18px 30px -14px rgba(11, 31, 75, .5);
}
.pc-showcase__badge--a { left: 6%; top: 4px; background: #fff; color: var(--navy, #0b1f4b); border: 1px solid rgba(201, 165, 92, .5); }
.pc-showcase__badge--a i { color: #b45309; }
.pc-showcase__badge--b { right: 6%; bottom: 6px; background: linear-gradient(135deg, #0b1f4b, #1e40af); color: #fff; border: 1px solid rgba(251, 191, 36, .5); }
.pc-showcase__badge--b i { color: var(--gold, #fbbf24); }

/* ---------- Lookup ---------- */
.pc-lookup {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px); align-items: center;
}
.pc-lookup__form-card {
    position: relative; background: #fff; border-radius: 26px; padding: clamp(24px, 4vw, 44px);
    border: 1px solid rgba(15, 23, 42, .07); overflow: hidden;
    box-shadow: 0 2px 6px rgba(11, 31, 75, .04), 0 34px 70px -34px rgba(11, 31, 75, .38);
}
.pc-lookup__form-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #1e40af, #2563eb 34%, #14b8a6 64%, #fbbf24); }
.pc-lookup__title {
    font-family: var(--font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
    font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em;
    color: var(--ink, #0f172a); margin: 14px 0 10px;
}
.pc-lookup__title em { font-style: normal; background: linear-gradient(90deg, #2563eb, #0d9488); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.pc-lookup__lede { color: var(--muted, #475569); margin: 0 0 24px; line-height: 1.6; }

.pc-form { display: grid; gap: 18px; margin-bottom: 26px; }
.pc-field label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink, #0f172a); margin-bottom: 8px; }
.pc-input { position: relative; }
.pc-input i {
    position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
    color: var(--blue, #2563eb); font-size: 15px; pointer-events: none;
}
.pc-input input {
    width: 100%; height: 56px; padding: 0 16px 0 46px;
    border: 1.5px solid rgba(15, 23, 42, .14); border-radius: 14px;
    font: 600 16px/1 var(--font-body, 'Inter', sans-serif); color: var(--ink, #0f172a);
    background: #f8fbff; transition: border-color .2s, box-shadow .2s, background .2s;
}
.pc-input input::placeholder { color: rgba(15, 23, 42, .38); font-weight: 500; }
.pc-input input:hover { border-color: rgba(37, 99, 235, .4); }
.pc-input input:focus { outline: none; border-color: var(--blue, #2563eb); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .16); }
.pc-hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted, #475569); }
.pc-error { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #a3281c; }
.pc-secure { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: -6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted, #475569); }
.pc-secure i { flex: none; margin-top: 3px; font-size: 11px; color: var(--emerald, #059669); }

/* Alerts — a plain error, and "register first" (no event registration) */
.pc-alert {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; border-radius: 14px; margin-bottom: 22px;
    font-size: 14px; line-height: 1.55;
}
.pc-alert--error { background: #fef2f2; color: #8c1f1f; border: 1px solid #fecaca; box-shadow: inset 4px 0 0 #dc2626; padding-left: 18px; }
.pc-alert--error > i { flex: none; margin-top: 2px; font-size: 16px; color: #dc2626; }
.pc-alert--register {
    position: relative; overflow: hidden; gap: 16px; padding: 20px 20px 20px 22px; border-radius: 18px;
    background: linear-gradient(135deg, #fffdf6 0%, #fff6d6 100%); color: #78350f;
    border: 1px solid rgba(245, 158, 11, .5);
    box-shadow: inset 4px 0 0 #f59e0b, 0 20px 36px -26px rgba(180, 83, 9, .75);
}
.pc-alert--register::after { content: ''; position: absolute; right: -36px; top: -36px; width: 140px; height: 140px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(251, 191, 36, .3), transparent 70%); }
.pc-alert__icon {
    position: relative; z-index: 1; flex: none; width: 48px; height: 48px; border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #fde68a 0%, #fbbf24 50%, #f59e0b 100%); color: #78350f; font-size: 19px;
    box-shadow: 0 12px 22px -12px rgba(217, 119, 6, .95), inset 0 1px 0 rgba(255, 255, 255, .65);
}
.pc-alert__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.pc-alert__title { font-family: 'Noto Sans Bengali', var(--font-display, 'Plus Jakarta Sans', sans-serif); font-size: 18px; font-weight: 700; line-height: 1.45; color: #78350f; }
.pc-alert__text { font-size: 14px; line-height: 1.6; color: #92400e; }
.pc-alert__cta { margin-top: 8px; min-height: 50px; padding: 0 20px; white-space: normal; text-align: left; border-color: rgba(180, 83, 9, .35); }

.pc-steps { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px dashed rgba(15, 23, 42, .14); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pc-steps li {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    padding: 14px 14px 15px; border-radius: 16px; background: #f8fbff; border: 1px solid rgba(15, 23, 42, .06);
    font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--ink-soft, #1e293b);
}
.pc-steps li > i { position: absolute; top: 17px; right: 15px; font-size: 15px; color: var(--blue, #2563eb); opacity: .5; }
.pc-steps span {
    flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1e40af, #2563eb 48%, #0d9488); color: #fff; font-weight: 800; font-size: 13px;
    box-shadow: 0 8px 16px -8px rgba(37, 99, 235, .8);
}
.pc-steps li:last-child span { background: linear-gradient(135deg, #fde68a, #fbbf24 50%, #f59e0b); color: var(--navy, #0b1f4b); box-shadow: 0 8px 16px -8px rgba(245, 158, 11, .9); }

.pc-lookup__preview { position: relative; }
.pc-stage--sample { transform: rotate(2deg); max-width: 460px; }
.pc-sample-note { text-align: center; font-size: 13px; color: var(--muted, #475569); margin: 18px auto 0; max-width: 420px; }
.pc-sample-note i { color: var(--blue, #2563eb); margin-right: 4px; }

/* ---------- Card page ---------- */
.pc-show {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(28px, 5vw, 64px); align-items: start;
}
.pc-show__card { position: sticky; top: 110px; }
.pc-showcase--show { max-width: 600px; padding: 24px 30px 30px; }
.pc-show__panel {
    background: #fff; border-radius: 26px; padding: clamp(24px, 3.5vw, 38px);
    border: 1px solid rgba(15, 23, 42, .07); position: relative; overflow: hidden;
    box-shadow: 0 2px 6px rgba(11, 31, 75, .04), 0 34px 70px -34px rgba(11, 31, 75, .38);
}
.pc-show__panel::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #1e40af, #2563eb 34%, #14b8a6 64%, #fbbf24); }
.pc-show__panel > .pc-kicker { color: var(--emerald-ink, #047857); background: var(--mint-50, #ecfdf5); border-color: rgba(5, 150, 105, .22); }
.pc-show__panel > .pc-kicker i { color: var(--emerald, #059669); }
.pc-show__name {
    font-family: var(--font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
    font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
    margin: 14px 0 20px; color: var(--ink, #0f172a);
}

.pc-facts {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: rgba(15, 23, 42, .08); border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px; overflow: hidden; margin: 0 0 24px;
}
.pc-facts > div { background: #f8fbff; padding: 13px 15px; }
.pc-facts__wide { grid-column: 1 / -1; }
/* A last cell left alone on its row spans it, so no empty grey slot shows.
   (One full-width cell shifts the parity; :has() tells the two cases apart.) */
.pc-facts:not(:has(> .pc-facts__wide)) > div:last-child:nth-child(odd),
.pc-facts:has(> .pc-facts__wide) > div:last-child:nth-child(even) { grid-column: 1 / -1; }
.pc-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue, #2563eb); margin-bottom: 4px; }
.pc-facts dd { margin: 0; font-weight: 700; color: var(--ink, #0f172a); font-size: 15px; word-break: break-word; }

.pc-actions { display: grid; gap: 12px; }
.pc-actions .btn[disabled] { opacity: .6; cursor: progress; }
.pc-share-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pc-share {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 10px; border-radius: 13px; cursor: pointer;
    font: 700 13.5px/1 var(--font-body, 'Inter', sans-serif); text-decoration: none;
    border: 1.5px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.pc-share:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(11, 31, 75, .45); }
.pc-share--wa { background: #e8f8ee; color: #0f7a3d; border-color: #bfe8cf; }
.pc-share--fb { background: #eaf1fd; color: #1b4fb0; border-color: #c7d8f7; }
.pc-share--link { background: #fff; color: var(--ink, #0f172a); border-color: rgba(15, 23, 42, .16); }

.pc-tip {
    margin: 22px 0 0; padding: 14px 16px; border-radius: 14px;
    background: #fffbeb; color: #78350f; font-size: 13.5px; line-height: 1.6;
    border: 1px solid rgba(245, 179, 1, .4);
}
.pc-tip i { color: #d97706; margin-right: 6px; }

.pc-receipt-link {
    display: flex; align-items: center; gap: 12px; margin-top: 16px;
    min-height: 52px; padding: 14px 16px; border-radius: 14px; text-decoration: none;
    color: var(--ink, #0f172a); font-weight: 700; font-size: 14px;
    border: 1px solid rgba(15, 23, 42, .1); background: #fff;
    transition: border-color .2s, background .2s;
}
.pc-receipt-link span { flex: 1; }
.pc-receipt-link:hover { border-color: var(--blue, #2563eb); background: #f8fbff; }
.pc-receipt-link i:first-child { color: var(--blue, #2563eb); }

/* ---------- Registration copy / dashboard embed ---------- */
.pc-embed {
    margin-top: 36px; padding: clamp(22px, 3vw, 32px); border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    border: 1px solid rgba(37, 99, 235, .2);
    display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 40px); align-items: center;
}
.pc-embed .pc-stage { max-width: 300px; border-radius: 14px; }
.pc-embed__title {
    font-family: var(--font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
    font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -0.03em; margin: 12px 0 8px; color: var(--ink, #0f172a);
}
.pc-embed__title em { font-style: normal; background: linear-gradient(90deg, #2563eb, #0d9488); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.pc-embed p { color: var(--muted, #475569); margin: 0 0 18px; line-height: 1.6; }
.pc-embed__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Verify (what the QR code on a card opens) ---------- */
.pc-section--verify {
    padding-top: clamp(36px, 5vw, 64px);
    background:
        radial-gradient(36% 220px at 12% 0%, rgba(20, 184, 166, .4), transparent 70%),
        radial-gradient(30% 200px at 92% 0%, rgba(251, 191, 36, .26), transparent 70%),
        linear-gradient(160deg, #0b1f4b 0%, #1e40af 70%, #2563eb 100%) top / 100% 300px no-repeat,
        var(--paper, #f4f8fc);
}
.pc-verify {
    position: relative; max-width: 580px; margin: 0 auto; text-align: center;
    background: #fff; border-radius: 26px; padding: clamp(26px, 5vw, 46px);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 40px 80px -36px rgba(11, 31, 75, .5);
    border-top: 6px solid #10b981;
}
.pc-verify--wait { border-top-color: #fbbf24; }
.pc-verify--no { border-top-color: #dc2626; }
.pc-verify__issuer {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin: -4px 0 24px; padding-bottom: 18px; border-bottom: 1px dashed rgba(15, 23, 42, .14);
}
.pc-verify__issuer img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px rgba(201, 165, 92, .5), 0 6px 14px -6px rgba(11, 31, 75, .4); }
.pc-verify__issuer span { display: flex; flex-direction: column; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #475569); line-height: 1.35; }
.pc-verify__issuer strong { font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif); font-size: 15px; font-weight: 800; letter-spacing: -0.01em; text-transform: none; color: var(--ink, #0f172a); }
.pc-verify__badge {
    position: relative; width: 88px; height: 88px; margin: 0 auto 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 44px; color: #059669; background: #ecfdf5;
    box-shadow: 0 0 0 8px rgba(16, 185, 129, .1);
}
.pc-verify__badge::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(16, 185, 129, .45); opacity: 0; pointer-events: none; }
.pc-verify--wait .pc-verify__badge { color: #b45309; background: #fffbeb; box-shadow: 0 0 0 8px rgba(251, 191, 36, .14); }
.pc-verify--no .pc-verify__badge { color: #dc2626; background: #fee2e2; box-shadow: 0 0 0 8px rgba(220, 38, 38, .1); }
.pc-verify__title {
    font-family: var(--font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
    font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 8px; color: var(--ink, #0f172a);
}
.pc-verify__lede { color: var(--muted, #475569); margin: 0 0 24px; }
.pc-verify__person {
    display: flex; align-items: center; gap: 16px; text-align: left;
    padding: 16px; border-radius: 18px; margin-bottom: 18px;
    background: linear-gradient(135deg, #fffdf5, #f8fbff);
    border: 1px solid rgba(201, 165, 92, .35);
}
.pc-verify__photo {
    flex: 0 0 76px; height: 76px; border-radius: 18px; overflow: hidden;
    background: var(--sky-50, #eff6ff); color: var(--blue, #2563eb);
    display: flex; align-items: center; justify-content: center; font-size: 30px;
    border: 3px solid #fff; box-shadow: 0 0 0 2px #c9a55c, 0 10px 20px -10px rgba(11, 31, 75, .5);
}
.pc-verify__photo img { width: 100%; height: 100%; object-fit: cover; }
.pc-verify__name { display: block; font-size: 20px; color: var(--ink, #0f172a); font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif); font-weight: 800; overflow-wrap: anywhere; }
.pc-verify__id { display: inline-block; margin-top: 6px; padding: 4px 9px; border-radius: 8px; background: var(--sky-50, #eff6ff); font: 700 13px/1 var(--font-mono, monospace); color: var(--blue-800, #1e40af); letter-spacing: .06em; }
.pc-facts--verify { text-align: left; }
.pc-verify__time { font-size: 12.5px; color: var(--muted, #475569); margin: 0; }
.pc-verify__more {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px; padding: 0 16px; border-radius: 12px;
    background: var(--sky-50, #eff6ff); border: 1px solid rgba(37, 99, 235, .22); color: var(--blue-800, #1e40af);
    font-size: 13.5px; font-weight: 700; text-decoration: none; transition: background .2s, border-color .2s;
}
.pc-verify__more:hover { background: #fff; border-color: var(--blue, #2563eb); }

/* ---------- Motion (only when the visitor has not asked for less) ---------- */
@keyframes pc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pc-ring { 0% { transform: scale(.92); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
    .pc-showcase__badge--a { animation: pc-float 5s ease-in-out infinite; }
    .pc-showcase__badge--b { animation: pc-float 5s ease-in-out -2.5s infinite; }
    .pc-verify--ok .pc-verify__badge::after { animation: pc-ring 2.4s ease-out infinite; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .pc-lookup, .pc-show { grid-template-columns: minmax(0, 1fr); }
    .pc-show__card { position: static; }
    .pc-lookup__preview { order: -1; }
    /* After a failed lookup the message (and its Register button) comes first */
    .pc-lookup:has(.pc-alert) .pc-lookup__preview { order: 0; }
    .pc-stage--sample { max-width: 360px; transform: rotate(1.5deg); }
    .pc-showcase { max-width: 460px; padding: 44px 30px 48px; }
    .pc-showcase--show { max-width: 520px; padding: 20px 24px 26px; }
}
/* The form column is narrow between 992 and 1199 px: the steps stack there too */
@media (min-width: 992px) and (max-width: 1199px) {
    .pc-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .pc-steps li { flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px; }
    .pc-steps li > i { position: static; order: 2; margin-left: auto; }
}
@media (max-width: 640px) {
    .pc-embed { grid-template-columns: minmax(0, 1fr); text-align: center; }
    .pc-embed .pc-stage { max-width: 280px; }
    .pc-embed__actions { justify-content: center; }
    .pc-share-row { grid-template-columns: 1fr 1fr; }
    .pc-share--link { grid-column: 1 / -1; }
    .pc-facts { grid-template-columns: 1fr; }
    .pc-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .pc-steps li { flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px; }
    .pc-steps li > i { position: static; order: 2; margin-left: auto; }
    .pc-alert--register { flex-direction: column; gap: 12px; padding: 18px 16px 18px 18px; }
    .pc-alert__cta { width: 100%; justify-content: center; text-align: center; }
    /* the badges sit in the padding above and below the card */
    .pc-showcase { padding: 46px 18px 50px; }
    .pc-showcase::after { box-shadow: 0 0 0 14px rgba(255, 255, 255, .3), 0 0 0 15px rgba(201, 165, 92, .22); }
    .pc-showcase__badge { padding: 7px 12px; font-size: 11.5px; }
    .pc-showcase--show { padding: 14px 14px 20px; }
    .pc-showcase__badge--a { left: 8px; top: 6px; }
    .pc-showcase__badge--b { right: 8px; bottom: 8px; }
    .pc-verify__issuer { justify-content: flex-start; }
    .pc-verify__person { gap: 12px; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .pc-stage.is-loading::after { animation: none; }
    .pc-share:hover { transform: none; }
}
@media print {
    .pc-embed { display: none !important; }
}
