
/* NXR_HOME_IDENTITY_REACT_V2 */
/* Scope: Home header only */

.vd2-top-slot {
  display:block !important;
  height:auto !important;
  min-height:0 !important;
  gap:0 !important;
}

.vd2-top-slot > .duh-header.duh-master {
  margin-top:0 !important;
}

.vd2-top-slot .duh-user,
.vd2-top-slot .duh-copy {
  min-width:0;
}

.vd2-top-slot .duh-copy {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  gap:5px !important;
}

.vd2-top-slot .nxr-home-identity-brand {
  display:flex !important;
  align-items:baseline !important;
  flex-wrap:nowrap !important;
  gap:4px !important;
  width:max-content;
  max-width:100%;
  margin:0 !important;
  padding:0 !important;
  background:none !important;
  border:0 !important;
  box-shadow:none !important;
  white-space:nowrap;
  font-family:var(
    --nxr-font-head,
    "Sora",
    sans-serif
  ) !important;
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1.25 !important;
  letter-spacing:-.035em !important;
}

.vd2-top-slot
.nxr-home-identity-brand > span {
  font:inherit !important;
  color:#F7F8FA !important;
  -webkit-text-fill-color:#F7F8FA !important;
}

.vd2-top-slot
.nxr-home-identity-brand > strong {
  font:inherit !important;
  font-weight:800 !important;
  color:#E7FF51 !important;
  -webkit-text-fill-color:#E7FF51 !important;
}

.vd2-top-slot
.nxr-home-identity-brand > sup {
  font-family:inherit !important;
  font-size:8px !important;
  line-height:1 !important;
  color:#BEC4CF !important;
  -webkit-text-fill-color:#BEC4CF !important;
  position:relative;
  top:-3px;
}

.vd2-top-slot .nxr-home-identity-tgid {
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  background:none !important;
  border:0 !important;
  box-shadow:none !important;
  font-family:var(
    --nxr-font-data,
    "JetBrains Mono",
    monospace
  ) !important;
  font-size:11px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
  letter-spacing:-.025em !important;
  font-variant-numeric:tabular-nums;
  color:#BFC6D0 !important;
  -webkit-text-fill-color:#BFC6D0 !important;
  white-space:nowrap;
}

/* Keep the existing avatar and action buttons. */
.vd2-top-slot .duh-avatar,
.vd2-top-slot .duh-actions {
  flex-shrink:0;
}


/* ========================================================
   NXR_HOME_HEADER_GEOMETRY_V3
   Exact Home identity layout — Graphite + Lime
   ======================================================== */

.vd2-top-slot > section.duh-header.duh-master.duh-master {
  --duh-avatar-size:44px !important;
  --duh-control-size:36px !important;
  --duh-control-gap:6px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;

  width:100% !important;
  min-height:112px !important;
  height:auto !important;

  padding:12px 12px !important;
  gap:8px !important;

  border-radius:0 0 20px 20px !important;
  box-sizing:border-box !important;
}

.vd2-top-slot .duh-user {
  display:flex !important;
  flex:1 1 auto !important;
  align-items:center !important;
  gap:9px !important;
  min-width:0 !important;
}

.vd2-top-slot .duh-avatar {
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  min-height:44px !important;
  flex:0 0 44px !important;
  margin:0 !important;
}

.vd2-top-slot .duh-copy {
  display:flex !important;
  flex:1 1 auto !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:flex-start !important;

  min-width:0 !important;
  width:auto !important;

  padding:0 !important;
  margin:0 !important;
  gap:5px !important;
}

.vd2-top-slot .duh-copy > .nxr-home-identity-brand {
  display:flex !important;
  flex-direction:row !important;
  align-items:baseline !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap !important;

  width:auto !important;
  max-width:100% !important;

  margin:0 !important;
  padding:0 !important;
  gap:3px !important;

  font-family:"Sora",sans-serif !important;
  font-size:12px !important;
  line-height:1.25 !important;
  font-weight:800 !important;
  letter-spacing:-.04em !important;
  white-space:nowrap !important;
}

.vd2-top-slot .duh-copy
.nxr-home-identity-brand > span {
  display:inline !important;
  font:inherit !important;
  color:#F7F8FA !important;
  -webkit-text-fill-color:#F7F8FA !important;
  white-space:nowrap !important;
}

.vd2-top-slot .duh-copy
.nxr-home-identity-brand > strong {
  display:inline !important;
  font:inherit !important;
  font-weight:800 !important;
  color:#E7FF51 !important;
  -webkit-text-fill-color:#E7FF51 !important;
  white-space:nowrap !important;
}

.vd2-top-slot .duh-copy
.nxr-home-identity-brand > sup {
  display:inline !important;
  position:relative !important;
  top:-3px !important;
  font-size:7px !important;
  line-height:1 !important;
  color:#BEC4CF !important;
}

.vd2-top-slot .duh-copy > .nxr-home-identity-tgid {
  display:block !important;

  width:auto !important;
  max-width:none !important;

  margin:0 !important;
  padding:0 !important;

  font-family:"JetBrains Mono",monospace !important;
  font-size:10px !important;
  line-height:1.4 !important;
  font-weight:600 !important;
  letter-spacing:-.02em !important;

  color:#BEC4CF !important;
  -webkit-text-fill-color:#BEC4CF !important;

  overflow:visible !important;
  text-overflow:clip !important;
  white-space:nowrap !important;
  font-variant-numeric:tabular-nums;
}

.vd2-top-slot .duh-actions {
  display:flex !important;
  flex:0 0 auto !important;
  align-items:center !important;
  justify-content:flex-end !important;

  gap:6px !important;
  margin:0 !important;
  padding:0 !important;
}

.vd2-top-slot .duh-actions .duh-action,
.vd2-top-slot .duh-actions .duh-language-wrap {
  width:36px !important;
  height:36px !important;
  min-width:36px !important;
  min-height:36px !important;
  flex:0 0 36px !important;
}

@media (max-width:390px) {
  .vd2-top-slot > section.duh-header.duh-master.duh-master {
    padding:11px 9px !important;
    gap:6px !important;
  }

  .vd2-top-slot .duh-user {
    gap:7px !important;
  }

  .vd2-top-slot .duh-avatar {
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    min-height:40px !important;
    flex-basis:40px !important;
  }

  .vd2-top-slot .duh-copy
  > .nxr-home-identity-brand {
    font-size:11px !important;
    gap:2px !important;
  }

  .vd2-top-slot .duh-copy
  > .nxr-home-identity-tgid {
    font-size:9px !important;
  }

  .vd2-top-slot .duh-actions {
    gap:4px !important;
  }

  .vd2-top-slot .duh-actions .duh-action,
  .vd2-top-slot .duh-actions .duh-language-wrap {
    width:33px !important;
    height:33px !important;
    min-width:33px !important;
    min-height:33px !important;
    flex-basis:33px !important;
  }
}

/* END NXR_HOME_HEADER_GEOMETRY_V3 */

/* NXR_HOME_LAYOUT_CLEAN */

.vd2-dashboard > .vd2-top-slot {
  display:block !important;
  position:relative !important;
  height:auto !important;
  min-height:112px !important;
  overflow:visible !important;
}

.vd2-dashboard > .vd2-wallet {
  display:block !important;
  position:static !important;
  float:none !important;
  clear:both !important;

  width:calc(100% - 30px) !important;
  margin:12px 15px 0 !important;

  transform:none !important;
  translate:none !important;
  box-sizing:border-box !important;
}

/* END NXR_HOME_LAYOUT_CLEAN */
