.account-popup-card { width:100%; padding:30px; border-radius:30px 30px 0 0; background:#151515; color:#fff; }
.account-popup-card--danger { background:linear-gradient(199deg,rgb(255 0 0 / 10%) 7.8%,transparent 50%),linear-gradient(161deg,rgb(255 0 0 / 10%) 7.8%,transparent 50%),#151515; }
.account-popup-card__body { display:flex; width:100%; flex-direction:column; gap:30px; }
.account-popup-card__intro { display:flex; width:100%; flex-direction:column; align-items:center; gap:10px; text-align:center; }
.account-popup-card__icon-frame { position:relative; z-index:0; display:block; width:70px; height:70px; flex:0 0 70px; overflow:visible; }
.account-popup-card__icon { display:block; width:70px; height:70px; object-fit:contain; }
.account-popup-card[data-account-popup-card="already-linked"] .account-popup-card__icon-frame { overflow:hidden; border-radius:20px; }
.account-popup-card[data-account-popup-card="already-linked"] .account-popup-card__icon { width:121%; height:121%; margin:-10.5%; max-width:none; }
.account-popup-card[data-account-popup-card="already-linked"] .account-popup-card__intro { gap:20px; }
.account-popup-card[data-account-popup-card="already-linked"] h1 { text-align:left; }
.account-popup-card[data-account-popup-card="already-linked"] .account-popup-card__description { text-align:left; }
.account-popup-card__support { color:rgb(255 255 255 / 80%); }
.account-popup-card h1 { width:100%; margin:0; color:#fff; font-size:31px; font-weight:900; line-height:1.04; letter-spacing:.62px; }
.account-popup-card h1 em { color:#f00; font-style:normal; }
.account-popup-card__description { width:100%; margin:0; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; color:rgb(255 255 255 / 60%); font-size:15px; font-weight:500; line-height:1.2; letter-spacing:.3px; white-space:pre-line; }
.account-popup-card__learn { display:flex; align-items:center; justify-content:center; gap:3px; margin:0; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; color:rgb(255 255 255 / 60%); font-size:15px; }
.account-popup-card__learn a { color:rgb(255 255 255 / 80%); text-underline-position:from-font; }
.account-popup-card__actions { display:flex; width:100%; flex-direction:column; gap:10px!important; }
.account-popup-card__action { display:flex; width:100%; min-height:58px; align-items:center; justify-content:center; padding:20px; border:0; border-radius:50px; background:#383838; color:#fff; font-size:15px; font-weight:500; letter-spacing:.3px; }
.account-popup-card__action-content { display:grid; width:100%; min-width:18px; min-height:18px; place-items:center; opacity:1; }
.account-popup-card__spinner { display:block; width:18px; height:18px; border:2px solid rgb(0 0 0 / 25%); border-top-color:#000; border-radius:50%; animation:account-popup-spin .8s linear infinite; }
.account-popup-card__spinner--light { border-color:rgb(255 255 255 / 25%); border-top-color:#fff; }
.account-popup-card__success { display:block; width:18px; height:18px; object-fit:contain; }
.account-popup-card__action--primary { background:#fff; color:#000; }
.account-popup-card__action--danger { background:#383838; color:#ffb2b2; }

@keyframes account-popup-spin { to { transform:rotate(360deg); } }

.main-profile-popup-overlay { position:fixed; z-index:240; inset:0; display:flex; width:100%; align-items:flex-end; justify-content:center; padding:0; background:rgb(0 0 0 / 60%); opacity:1; }
.main-profile-popup-overlay[hidden]{display:none}.main-profile-popup-overlay .account-popup-card{max-height:calc(100vh - 20px);overflow-y:auto}
