.ng-profile-scrim {
  position:fixed; inset:0; z-index:9000; display:flex; align-items:flex-end; justify-content:center;
  padding:0; background:rgb(41 26 54 / 38%); color:#655070;
  font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
}
.ng-profile-panel {
  width:min(430px,100%); max-height:calc(100% - env(safe-area-inset-top,0px)); overflow:auto;
  box-sizing:border-box; overscroll-behavior:contain; background:#fdfbff;
  border:1px solid #e6dbee; border-bottom:0; border-radius:24px 24px 0 0;
  box-shadow:0 -8px 50px #3622491c; -webkit-overflow-scrolling:touch;
}
.ng-profile-panel-head {
  position:sticky; top:0; z-index:2; display:flex; justify-content:space-between;
  align-items:center; box-sizing:border-box; padding:13px 21px;
  background:#fdfbfff2; border-bottom:1px solid #eee6f5;
}
.ng-profile-panel-head h2 {margin:0;color:#51405f;font-size:18px;line-height:1.4;font-weight:650}
.ng-profile-dismiss {padding:0;width:36px;height:36px;background:transparent;border:0;color:#a996b4;font:300 25px/1 system-ui;cursor:pointer}
.ng-profile-panel-body {padding:21px 21px max(28px,env(safe-area-inset-bottom,0px));}
.ng-profile-wallet-summary {padding:4px 0 23px}
.ng-profile-wallet-summary>span {display:block;margin-bottom:8px;color:#a08aaf;font-size:12px}
.ng-profile-wallet-summary>strong {color:#8b65a4;font-size:24px;font-weight:550;overflow-wrap:anywhere}
.ng-profile-wallet-summary .fp-icon {width:1em;height:1em;margin-left:.3em;vertical-align:-.05em}
.ng-profile-primary,.ng-profile-secondary {
  display:block;box-sizing:border-box;width:100%;padding:13px 10px;
  border-radius:12px;text-align:center;font-size:13px;line-height:1.35;text-decoration:none;font-weight:500;
}
.ng-profile-primary {margin-top:20px;background:#9a7bbe;color:white}
.ng-profile-secondary {border:1px solid #e3d4ef;background:#f6f1fa;color:#7a5c91}
.ng-profile-panel .ng-profile-native {background:transparent;padding:0;margin:0;min-height:0;color:#655070}
.ng-profile-panel .ng-profile-native>.ce-heading,.ng-profile-panel .ng-profile-native>.ce-login-banner {display:none}
.ng-profile-panel .ce-login-link {display:block;padding:13px;text-align:center;border-radius:12px;color:#795391;background:#f1eaf7;text-decoration:none}
.ng-profile-panel .ce-wallet-balance,.ng-profile-panel .ce-wallet-history-summary {
  border:0;box-shadow:none;background:transparent;margin:0 0 16px;padding:4px 0 12px;color:#8b65a4;
}
.ng-profile-panel .ce-wallet-balance strong {color:#8b65a4;font-weight:550}
.ng-profile-panel .ce-wallet-body,.ng-profile-panel .ce-wallet-history-list,.ng-profile-panel .ce-gift-catalog {margin:0;padding:0;border:0;background:transparent}
.ng-profile-panel .ce-tabs,.ng-profile-panel .ce-gift-filters>.ce-pills {
  display:flex;gap:5px;margin:0 0 12px;padding:4px;border:0;border-radius:11px;background:#f1ebf6;
}
.ng-profile-panel .ce-tabs .ce-pill,.ng-profile-panel .ce-gift-filters .ce-pill {
  flex:1;min-width:0;margin:0;border:0;border-radius:8px;color:#8d779a;background:transparent;font-size:12px;
}
.ng-profile-panel .ce-tabs .ce-pill.is-active,.ng-profile-panel .ce-gift-filters .ce-pill.is-active {color:#795394;background:white;box-shadow:0 1px 4px #3e284412}
.ng-profile-panel .ce-gift-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.ng-profile-panel .ce-gift-item {display:grid;justify-items:center;gap:5px;padding:20px 10px;background:linear-gradient(140deg,#fff9fc,#f0e8fa);border:1px solid #e9def1;border-radius:15px;text-align:center}
.ng-profile-panel .ce-gift-item img {width:55px;height:55px;margin-bottom:8px;border-radius:18px;background:#eee2f4;object-fit:contain}
.ng-profile-panel .ce-gift-item.is-unlit img {filter:grayscale(1);opacity:.75}
.ng-profile-panel .ce-gift-item strong {color:#644a73;font-size:13px}
.ng-profile-panel .ce-gift-item small {color:#9b88a7;font-size:10px}
.ng-profile-panel .ce-topup.is-active {border-color:#b59ace;background:#f2eaf8;color:#795394}
.ng-profile-panel .ce-primary {background:#8866ab;color:#fff;border-radius:12px}
.ng-profile-panel .ce-empty {background:transparent;min-height:0;padding:20px 8px;color:#947ca5}
.ng-profile-panel .ce-overlay {z-index:5}
.ng-profile-panel .ce-gift-give {margin-top:5px;width:100%;min-height:36px;border:1px solid #e5d9ef;border-radius:10px;background:#f7f1fc;color:#795991}
