:root{
  --dfxn-bg:#ffffff;
  --dfxn-bg-soft:#f6f8fc;
  --dfxn-text:#172033;
  --dfxn-muted:#738097;
  --dfxn-line:#e2e8f1;
  --dfxn-shadow:0 28px 80px rgba(26,42,77,.20);
  --dfxn-blue:#2f7bff;
  --dfxn-purple:#7c3aed;
  --dfxn-pink:#ec4899;
}
html[data-theme="dark"]{
  --dfxn-bg:#101c2c;
  --dfxn-bg-soft:#0b1625;
  --dfxn-text:#f4f7ff;
  --dfxn-muted:#98a6bc;
  --dfxn-line:rgba(148,163,184,.17);
  --dfxn-shadow:0 28px 90px rgba(0,0,0,.48);
}
.dfxn103{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex:0 0 auto;
  z-index:10050;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.dfxn103-bell-wrap{
  position:relative;
  display:inline-grid;
  place-items:center;
  flex:0 0 auto;
}
.dfxn103.dfxn103-floating{
  position:fixed;
  top:82px;
  right:18px;
}
.dfxn103-bell{
  width:44px;
  height:44px;
  padding:0;
  border:1px solid transparent;
  border-radius:14px;
  display:grid;
  place-items:center;
  color:#6d42e8;
  background:
    linear-gradient(var(--dfxn-bg),var(--dfxn-bg)) padding-box,
    linear-gradient(145deg,rgba(47,123,255,.34),rgba(124,58,237,.45),rgba(236,72,153,.34)) border-box;
  box-shadow:
    0 9px 25px rgba(75,69,190,.13),
    inset 0 1px 0 rgba(255,255,255,.72);
  cursor:pointer;
  isolation:isolate;
  transition:transform .18s ease,color .18s ease,box-shadow .18s ease,background .18s ease;
}
.dfxn103-bell:hover{
  transform:translateY(-2px);
  color:#fff;
  background:
    linear-gradient(135deg,#2f7bff,#7c3aed 55%,#ec4899) padding-box,
    linear-gradient(135deg,#2f7bff,#7c3aed,#ec4899) border-box;
  box-shadow:0 14px 34px rgba(124,58,237,.30);
}
.dfxn103.open .dfxn103-bell{
  color:#fff;
  background:
    linear-gradient(135deg,#2f7bff,#7c3aed 55%,#ec4899) padding-box,
    linear-gradient(135deg,#2f7bff,#7c3aed,#ec4899) border-box;
  box-shadow:0 12px 32px rgba(124,58,237,.28);
}
.dfxn103-bell svg{
  width:23px;
  height:23px;
  display:block;
  overflow:visible;
}
.dfxn103-bell-halo{
  fill:currentColor;
  stroke:currentColor;
  stroke-width:.3;
}
.dfxn103-bell-core{fill:#ffb21a}
.dfxn103-bell-shine{
  fill:none;
  stroke:rgba(255,255,255,.92);
  stroke-width:1.4;
  stroke-linecap:round;
}
.dfxn103-bell-spark{
  fill:#ff3b68;
  stroke:var(--dfxn-bg);
  stroke-width:1;
}
.dfxn103-badge{
  position:absolute;
  top:-5px;
  right:-5px;
  min-width:19px;
  height:19px;
  padding:0 5px;
  border-radius:999px;
  display:grid;
  place-items:center;
  color:#fff;
  background:#ff365f;
  border:2px solid var(--dfxn-bg);
  font-size:10px;
  line-height:1;
  font-weight:900;
  box-shadow:0 5px 14px rgba(255,54,95,.35);
}
.dfxn103-balance{
  min-width:138px;
  height:44px;
  padding:5px 11px 5px 7px;
  border:1px solid transparent;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--dfxn-text)!important;
  background:
    linear-gradient(var(--dfxn-bg),var(--dfxn-bg)) padding-box,
    linear-gradient(120deg,rgba(47,123,255,.27),rgba(124,58,237,.34),rgba(245,158,11,.34)) border-box;
  box-shadow:0 9px 25px rgba(26,42,77,.08);
  text-decoration:none!important;
  white-space:nowrap;
  transition:transform .18s ease,box-shadow .18s ease;
}
.dfxn103-balance[hidden],.dfxn103-badge[hidden]{display:none!important}
.dfxn103-balance:hover{
  transform:translateY(-1px);
  box-shadow:0 13px 30px rgba(124,58,237,.15);
}
.dfxn103-balance-coin{
  width:31px;
  height:31px;
  border-radius:10px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  color:#fff;
  background:linear-gradient(145deg,#ffb21a,#ff7a18 55%,#f43f5e);
  box-shadow:0 7px 16px rgba(249,115,22,.24);
}
.dfxn103-balance-coin svg{width:18px;height:18px;fill:currentColor}
.dfxn103-balance-copy{
  min-width:0;
  display:grid;
  gap:1px;
  line-height:1;
}
.dfxn103-balance-copy small{
  color:var(--dfxn-muted);
  font-size:8px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.dfxn103-balance-copy strong{
  max-width:125px;
  overflow:hidden;
  color:var(--dfxn-text);
  font-size:12.5px;
  font-weight:900;
  text-overflow:ellipsis;
}
.dfxn103-balance>b{
  align-self:center;
  color:#f97316;
  font-size:10px;
  font-weight:950;
}
.dfxn103-panel{
  position:absolute;
  top:52px;
  right:0;
  width:min(430px,calc(100vw - 24px));
  max-height:min(720px,calc(100vh - 80px));
  display:none;
  overflow:hidden;
  color:var(--dfxn-text);
  background:var(--dfxn-bg);
  border:1px solid var(--dfxn-line);
  border-radius:20px;
  box-shadow:var(--dfxn-shadow);
  text-align:left;
}
.dfxn103.open .dfxn103-panel{
  display:flex;
  flex-direction:column;
  animation:dfxn103-in .18s ease-out;
}
@keyframes dfxn103-in{
  from{opacity:0;transform:translateY(-7px) scale(.985)}
  to{opacity:1;transform:none}
}
.dfxn103-head{
  padding:17px 18px 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid var(--dfxn-line);
}
.dfxn103-head strong{font-size:16px}
.dfxn103-mark{
  border:0;
  padding:0;
  color:var(--dfxn-purple);
  background:transparent;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
.dfxn103-tabs{
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:7px;
  overflow-x:auto;
  border-bottom:1px solid var(--dfxn-line);
  scrollbar-width:none;
}
.dfxn103-tabs::-webkit-scrollbar{display:none}
.dfxn103-tab{
  height:31px;
  padding:0 12px;
  border:1px solid transparent;
  border-radius:999px;
  color:var(--dfxn-muted);
  background:transparent;
  font-size:11px;
  font-weight:850;
  white-space:nowrap;
  cursor:pointer;
}
.dfxn103-tab.active{
  color:#6941d9;
  border-color:rgba(124,58,237,.16);
  background:rgba(124,58,237,.10);
}
html[data-theme="dark"] .dfxn103-tab.active{color:#c1adff}
.dfxn103-list{
  min-height:120px;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.dfxn103-empty,.dfxn103-loading{
  padding:45px 22px;
  color:var(--dfxn-muted);
  text-align:center;
  font-size:13px;
  font-weight:700;
}
.dfxn103-item{
  --dfxn-accent-a:#64748b;
  --dfxn-accent-b:#334155;
  --dfxn-accent-tint:rgba(100,116,139,.085);
  --dfxn-accent-glow:rgba(100,116,139,.22);
  width:100%;
  padding:13px 14px;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 8px;
  gap:11px;
  align-items:start;
  border:0;
  border-bottom:1px solid var(--dfxn-line);
  color:var(--dfxn-text);
  background:transparent;
  text-align:left;
  cursor:pointer;
  transition:background .16s ease,box-shadow .16s ease;
}
.dfxn103-item:hover{
  background:var(--dfxn-bg-soft);
  box-shadow:inset 3px 0 var(--dfxn-accent-a);
}
.dfxn103-item.unread{
  background:linear-gradient(90deg,var(--dfxn-accent-tint),transparent 74%);
  box-shadow:inset 3px 0 var(--dfxn-accent-a);
}
.dfxn103-item-icon{
  --dfxn-accent-a:#64748b;
  --dfxn-accent-b:#334155;
  --dfxn-accent-glow:rgba(100,116,139,.22);
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  overflow:hidden;
  color:#fff;
  background:linear-gradient(145deg,var(--dfxn-accent-a),var(--dfxn-accent-b));
  box-shadow:0 7px 16px var(--dfxn-accent-glow);
}
.dfxn103-item-icon img{
  width:100%;
  height:100%;
  object-fit:cover;
  border:2px solid var(--dfxn-accent-a);
  border-radius:inherit;
}
.dfxn103-item-icon svg{width:21px;height:21px;fill:currentColor}
.dfxn103-type-follow,.dfxn103-icon-follow{
  --dfxn-accent-a:#10b981;
  --dfxn-accent-b:#0d9488;
  --dfxn-accent-tint:rgba(16,185,129,.105);
  --dfxn-accent-glow:rgba(16,185,129,.24);
}
.dfxn103-type-unfollow,.dfxn103-icon-unfollow{
  --dfxn-accent-a:#64748b;
  --dfxn-accent-b:#e11d48;
  --dfxn-accent-tint:rgba(225,29,72,.075);
  --dfxn-accent-glow:rgba(225,29,72,.20);
}
.dfxn103-type-like,.dfxn103-icon-like{
  --dfxn-accent-a:#ff315f;
  --dfxn-accent-b:#ec4899;
  --dfxn-accent-tint:rgba(244,63,94,.105);
  --dfxn-accent-glow:rgba(244,63,94,.24);
}
.dfxn103-type-comment,.dfxn103-icon-comment{
  --dfxn-accent-a:#0ea5e9;
  --dfxn-accent-b:#2563eb;
  --dfxn-accent-tint:rgba(14,165,233,.10);
  --dfxn-accent-glow:rgba(14,165,233,.24);
}
.dfxn103-type-deposit,.dfxn103-icon-deposit{
  --dfxn-accent-a:#22c55e;
  --dfxn-accent-b:#059669;
  --dfxn-accent-tint:rgba(34,197,94,.10);
  --dfxn-accent-glow:rgba(34,197,94,.24);
}
.dfxn103-type-withdraw,.dfxn103-icon-withdraw{
  --dfxn-accent-a:#fb923c;
  --dfxn-accent-b:#ef4444;
  --dfxn-accent-tint:rgba(249,115,22,.105);
  --dfxn-accent-glow:rgba(249,115,22,.25);
}
.dfxn103-type-reward,.dfxn103-icon-reward{
  --dfxn-accent-a:#f59e0b;
  --dfxn-accent-b:#8b5cf6;
  --dfxn-accent-tint:rgba(245,158,11,.105);
  --dfxn-accent-glow:rgba(245,158,11,.25);
}
.dfxn103-type-gift,.dfxn103-icon-gift{
  --dfxn-accent-a:#a855f7;
  --dfxn-accent-b:#ec4899;
  --dfxn-accent-tint:rgba(168,85,247,.105);
  --dfxn-accent-glow:rgba(168,85,247,.25);
}
.dfxn103-type-ad,.dfxn103-icon-ad{
  --dfxn-accent-a:#f97316;
  --dfxn-accent-b:#eab308;
  --dfxn-accent-tint:rgba(249,115,22,.10);
  --dfxn-accent-glow:rgba(249,115,22,.24);
}
.dfxn103-type-purchase,.dfxn103-icon-purchase{
  --dfxn-accent-a:#4f46e5;
  --dfxn-accent-b:#c026d3;
  --dfxn-accent-tint:rgba(79,70,229,.10);
  --dfxn-accent-glow:rgba(79,70,229,.25);
}
.dfxn103-type-payment,.dfxn103-icon-payment{
  --dfxn-accent-a:#2563eb;
  --dfxn-accent-b:#4338ca;
  --dfxn-accent-tint:rgba(37,99,235,.10);
  --dfxn-accent-glow:rgba(37,99,235,.24);
}
.dfxn103-type-system,.dfxn103-icon-system{
  --dfxn-accent-a:#64748b;
  --dfxn-accent-b:#334155;
  --dfxn-accent-tint:rgba(100,116,139,.085);
  --dfxn-accent-glow:rgba(100,116,139,.22);
}
.dfxn103-copy{min-width:0}
.dfxn103-copy b{
  display:block;
  overflow:hidden;
  color:var(--dfxn-text);
  font-size:12.5px;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dfxn103-copy p{
  margin:4px 0 0;
  display:-webkit-box;
  overflow:hidden;
  color:var(--dfxn-muted);
  font-size:11.5px;
  line-height:1.45;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.dfxn103-copy time{display:block;margin-top:5px;color:#94a0b3;font-size:10px;font-weight:700}
.dfxn103-dot{
  width:7px;
  height:7px;
  margin-top:7px;
  border-radius:50%;
  background:transparent;
}
.dfxn103-item.unread .dfxn103-dot{
  background:var(--dfxn-accent-a);
  box-shadow:0 0 0 3px var(--dfxn-accent-tint);
}
.dfxn103-detail{
  position:absolute;
  inset:0;
  z-index:4;
  display:none;
  flex-direction:column;
  background:var(--dfxn-bg);
}
.dfxn103-detail.open{display:flex}
.dfxn103-detail-head{
  padding:14px 16px;
  display:flex;
  align-items:center;
  gap:11px;
  border-bottom:1px solid var(--dfxn-line);
}
.dfxn103-back{
  width:34px;
  height:34px;
  border:1px solid var(--dfxn-line);
  border-radius:10px;
  display:grid;
  place-items:center;
  color:var(--dfxn-text);
  background:var(--dfxn-bg-soft);
  cursor:pointer;
}
.dfxn103-detail-head strong{font-size:14px}
.dfxn103-detail-body{padding:18px;overflow-y:auto}
.dfxn103-detail-hero{display:flex;align-items:center;gap:12px}
.dfxn103-detail-hero .dfxn103-item-icon{width:52px;height:52px;border-radius:16px}
.dfxn103-detail-hero h3{margin:0;font-size:16px}
.dfxn103-detail-hero p{margin:5px 0 0;color:var(--dfxn-muted);font-size:12px;line-height:1.55}
.dfxn103-data{
  margin-top:17px;
  display:grid;
  gap:9px;
}
.dfxn103-data-row{
  padding:11px 12px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  border:1px solid var(--dfxn-line);
  border-radius:12px;
  background:var(--dfxn-bg-soft);
}
.dfxn103-data-row span{color:var(--dfxn-muted);font-size:11px;font-weight:750}
.dfxn103-data-row b{font-size:11.5px;text-align:right;overflow-wrap:anywhere}
.dfxn103-open{
  height:42px;
  margin-top:18px;
  border:0;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff!important;
  background:linear-gradient(90deg,var(--dfxn-blue),var(--dfxn-purple),var(--dfxn-pink));
  font-size:12px;
  font-weight:900;
  text-decoration:none!important;
}
@media(max-width:720px){
  .dfxn103.dfxn103-floating{top:72px;right:10px}
  .dfxn103{gap:6px}
  .dfxn103-bell{width:40px;height:40px;border-radius:12px}
  .dfxn103-balance{
    min-width:0;
    height:40px;
    max-width:128px;
    padding:4px 8px 4px 5px;
    border-radius:12px;
    gap:6px;
  }
  .dfxn103-balance-coin{width:29px;height:29px;border-radius:9px}
  .dfxn103-balance-copy small{display:none}
  .dfxn103-balance-copy strong{max-width:70px;font-size:11px}
  .dfxn103-balance>b{font-size:9px}
  .dfxn103-panel{
    position:fixed;
    top:62px;
    right:8px;
    width:calc(100vw - 16px);
    max-height:calc(100dvh - 74px);
    border-radius:17px;
  }
}
@media(max-width:430px){
  .dfxn103-balance{
    width:auto;
    max-width:92px;
    padding:4px 7px;
    gap:4px;
  }
  .dfxn103-balance-coin{display:none}
  .dfxn103-balance-copy{display:block}
  .dfxn103-balance-copy strong{max-width:58px;font-size:10.5px}
  .dfxn103-balance>b{display:block;font-size:8px}
}

/* DFX Notification Visual Polish V108 */
.dfxn103-bell{
  position:relative;
  width:44px;
  height:44px;
  overflow:visible;
  color:#fff;
  border:0;
  border-radius:14px;
  background:
    radial-gradient(circle at 28% 18%,rgba(255,255,255,.46),transparent 26%),
    linear-gradient(145deg,#3479ff 0%,#7047f2 51%,#e93f9b 100%);
  box-shadow:
    0 11px 27px rgba(105,66,234,.27),
    inset 0 1px 0 rgba(255,255,255,.46);
}
.dfxn103-bell:before{
  content:"";
  position:absolute;
  inset:5px;
  pointer-events:none;
  border:1px solid rgba(255,255,255,.22);
  border-radius:10px;
}
.dfxn103-bell:hover,.dfxn103.open .dfxn103-bell{
  color:#fff;
  transform:translateY(-2px) scale(1.025);
  background:
    radial-gradient(circle at 28% 18%,rgba(255,255,255,.48),transparent 26%),
    linear-gradient(145deg,#2d70ff 0%,#7544f0 48%,#f13a8e 100%);
  box-shadow:0 15px 34px rgba(109,65,236,.35),inset 0 1px 0 rgba(255,255,255,.5);
}
.dfxn103-bell-halo{fill:rgba(255,255,255,.94);stroke:rgba(255,255,255,.98);stroke-width:.25}
.dfxn103-bell-core{fill:#ffd153;filter:drop-shadow(0 2px 2px rgba(65,28,127,.25))}
.dfxn103-bell-clapper{fill:#ffd153}
.dfxn103-bell-shine{fill:none;stroke:#7651ed;stroke-width:1.15;stroke-linecap:round;opacity:.62}
.dfxn103-bell-spark{fill:#ff315f;stroke:#fff;stroke-width:1.15;filter:drop-shadow(0 3px 5px rgba(239,49,95,.38))}
.dfxn103-bell-spark-mark{fill:none;stroke:#fff;stroke-width:.8;stroke-linecap:round}
.dfxn103-badge{background:linear-gradient(145deg,#ff4568,#e82255);box-shadow:0 6px 16px rgba(238,41,88,.38)}
.dfxn103-panel{border-radius:18px;box-shadow:0 28px 85px rgba(23,34,72,.24)}
html[data-theme="dark"] .dfxn103-panel{box-shadow:0 30px 90px rgba(0,0,0,.52)}
.dfxn103-item{
  position:relative;
  min-height:71px;
  padding:13px 15px;
  grid-template-columns:46px minmax(0,1fr) 8px;
  align-items:center;
}
.dfxn103-item-icon{
  position:relative;
  width:46px;
  height:46px;
  border-radius:15px;
  box-shadow:0 9px 20px var(--dfxn-accent-glow),inset 0 1px 0 rgba(255,255,255,.3);
}
.dfxn103-item-icon:after{
  content:"";
  position:absolute;
  inset:4px;
  pointer-events:none;
  border:1px solid rgba(255,255,255,.18);
  border-radius:11px;
}
.dfxn103-item-icon img{position:relative;z-index:2;border-width:0}
.dfxn103-item-icon svg{position:relative;z-index:1;width:22px;height:22px;filter:drop-shadow(0 3px 4px rgba(27,25,75,.22))}
.dfxn103-type-mention,.dfxn103-icon-mention{
  --dfxn-accent-a:#12b8e8;
  --dfxn-accent-b:#5367ef;
  --dfxn-accent-tint:rgba(18,184,232,.10);
  --dfxn-accent-glow:rgba(18,184,232,.25);
}
.dfxn103-type-system,.dfxn103-icon-system{
  --dfxn-accent-a:#68758e;
  --dfxn-accent-b:#313b52;
  --dfxn-accent-tint:rgba(104,117,142,.09);
  --dfxn-accent-glow:rgba(55,65,81,.22);
}
.dfxn103-item:hover{background:linear-gradient(90deg,var(--dfxn-accent-tint),var(--dfxn-bg-soft) 78%)}
.dfxn103-copy b{font-size:12.5px;font-weight:850}
.dfxn103-copy p{font-size:11px}
@media(max-width:720px){
  .dfxn103-bell{width:40px;height:40px;border-radius:12px}
  .dfxn103-bell:before{inset:4px;border-radius:9px}
  .dfxn103-panel{top:68px;border-radius:17px}
  .dfxn103-item{grid-template-columns:42px minmax(0,1fr) 7px;padding:11px 12px}
  .dfxn103-item-icon{width:42px;height:42px;border-radius:13px}
}
