/* Profile photo: sign-up field, blocking screen, passport photo on the Profile page */
.pg-frame{width:132px;height:165px;margin:0 auto;background:#f3e8ec center/cover no-repeat;border:2px dashed #C31352;display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}
.pg-frame.has-img{border-style:solid}
.pg-frame svg{width:60%;height:60%;opacity:.55}
.pg-frame.has-img svg{display:none}
.pg-frame.sm{width:84px;height:105px;margin:0;flex:none}

.reg-photo{display:flex;gap:14px;align-items:center;margin:6px 0 10px;padding:12px;border:1px solid var(--line,#e6dfe1);background:rgba(195,19,82,.04)}
.reg-photo b{display:block;font-size:14px;margin-bottom:2px}
.reg-photo span.rp-note{display:block;font-size:12px;color:#6b5f63;line-height:1.4;margin-bottom:8px}
.rp-btn{background:#C31352;color:#fff;border:0;padding:8px 12px;font-size:12px;font-weight:700;cursor:pointer}
.rp-err{color:#b3261e;font-size:12px;margin-top:6px;min-height:1em}

#photo-gate{position:fixed;inset:0;z-index:99999;background:rgba(20,10,14,.72);display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto}
#photo-gate.hidden{display:none}
.pg-card{background:var(--surface,#fff);color:var(--ink,#1b1b1f);width:100%;max-width:380px;padding:22px 20px;text-align:center;box-shadow:0 12px 40px rgba(0,0,0,.35)}
.pg-card h2{margin:0 0 6px;font-size:20px}
.pg-card p{margin:0 0 14px;font-size:13px;line-height:1.5;color:var(--sub,#6b5f63)}
.pg-card .btn-g,.pg-card .pg-alt{width:100%;margin-top:10px}
.pg-alt{background:transparent;border:1.5px solid #C31352;color:#C31352;padding:12px;font-weight:700;cursor:pointer}
.pg-err{color:#b3261e;font-size:12.5px;min-height:1.2em;margin-top:8px}
.pg-link{background:none;border:0;color:#6b5f63;font-size:12.5px;margin-top:12px;cursor:pointer;text-decoration:underline}
.pg-tips{font-size:11.5px;color:#6b5f63;margin-top:10px;line-height:1.5}

/* the passport photo on the Profile page */
#me-photo-wrap{display:flex;flex-direction:column;align-items:center;margin:4px 0 10px}
#me-photo-wrap.hidden{display:none}
#me-photo{width:96px;height:120px;object-fit:cover;border:3px solid #fff;box-shadow:0 2px 10px rgba(0,0,0,.25);background:#eee}
.me-photo-btn{background:none;border:0;color:#C31352;font-size:12px;font-weight:600;text-decoration:underline;margin-top:6px;cursor:pointer}
