/* NOMI invitation panel, compact across desktop/tablet/mobile. */
.nomi-referral{
  margin:16px 0 20px;padding:clamp(14px,2.4vw,22px);
  border:1px solid rgba(188,157,255,.34);border-radius:20px;
  background:linear-gradient(135deg,rgba(63,35,112,.95),rgba(32,19,68,.94) 60%,rgba(86,42,100,.86));
  color:#fff;box-shadow:0 10px 28px rgba(24,10,57,.24);
}
.nomi-referral-head{display:flex;align-items:flex-start;gap:14px}
.nomi-referral-emblem{flex:0 0 48px;height:48px;border-radius:15px;display:grid;place-items:center;
 font-size:25px;background:rgba(220,190,255,.17);border:1px solid rgba(255,255,255,.2)}
.nomi-referral h3{font-size:clamp(16px,2vw,20px);line-height:1.3;margin:0 0 7px;color:#fff}
.nomi-referral p{font-size:13px;line-height:1.5;margin:3px 0;color:#e8ddf7}
#nomiReferralReward{display:block;margin:6px 0;font-weight:800;font-size:clamp(21px,3vw,29px);color:#ffe4a9;letter-spacing:.2px}
.nomi-referral-label{display:block;margin:16px 0 7px;font-size:12px;font-weight:700;color:#f4edff}
.nomi-referral-linkrow{display:flex;gap:7px;align-items:stretch;flex-wrap:wrap}
.nomi-referral-linkrow input{min-width:150px;flex:1 1 210px;height:41px;border-radius:10px;padding:0 12px;
 background:rgba(10,8,36,.45);color:#fff;border:1px solid rgba(233,220,255,.45);font-size:13px}
.nomi-referral-linkrow button{min-height:41px;border:1px solid rgba(255,255,255,.3);border-radius:10px;
 color:#fff;background:rgba(161,103,228,.28);padding:9px 12px;font-size:12px;font-weight:700;cursor:pointer}
.nomi-referral-linkrow button:first-of-type{background:linear-gradient(135deg,#8d60e8,#a35bdf)}
.nomi-referral-linkrow button:disabled{opacity:.45;cursor:not-allowed}
.nomi-referral-linkrow button:not(:disabled):hover{filter:brightness(1.13)}
.nomi-referral-feedback{min-height:15px;color:#d8ffe1!important;font-size:12px!important;margin:7px 0!important}
.nomi-referral-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px}
.nomi-referral-stats>div{min-width:0;padding:10px 7px;border:1px solid rgba(232,215,255,.19);
 border-radius:12px;background:rgba(239,214,255,.08);text-align:center}
.nomi-referral-stats strong{display:block;font-size:clamp(15px,2vw,21px);color:#fff}
.nomi-referral-stats span{display:block;font-size:10px;color:#d8c9ec;margin-top:4px;line-height:1.35}
.nomi-referral-terms{display:block;margin-top:10px;color:#d5c7e8;font-size:11px;line-height:1.4}
.nomi-referral-welcome{background:#f0e8ff;border:1px solid #b39ce8;color:#3e236f!important;
 padding:10px 12px;border-radius:10px;font-size:14px;font-weight:650}
@media(max-width:480px){
  .nomi-referral{padding:13px;border-radius:16px}
  .nomi-referral-head{gap:10px}.nomi-referral-emblem{flex-basis:39px;height:39px;font-size:21px}
  .nomi-referral-linkrow input{flex-basis:100%;width:100%}
  .nomi-referral-linkrow button{flex:1 1 0}
  .nomi-referral-stats{gap:5px}.nomi-referral-stats>div{padding:9px 5px}
}
