:root{
  --atlas-shell-header-h:105px;
  --atlas-shell-footer-h:43px;
}

.atlas-shared-header,
.atlas-shared-header *{box-sizing:border-box}

.atlas-shared-header{
  height:var(--atlas-shell-header-h)!important;
  min-height:var(--atlas-shell-header-h)!important;
  max-height:var(--atlas-shell-header-h)!important;
  padding:18px 26px!important;
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  position:relative!important;
  z-index:20000!important;
  overflow:visible!important;
  background:linear-gradient(110deg,#172F50,#223A5E)!important;
  color:#eaf1f8!important;
  border-bottom:3px solid #F59E0B!important;
  box-shadow:0 8px 24px rgba(23,47,80,.13)!important;
}

.atlas-shared-header .atlasmap-header-left{
  display:flex!important;
  align-items:center!important;
  gap:20px!important;
  min-width:0!important;
  flex:1 1 auto!important;
  height:68px!important;
}

.atlas-shared-header .atlasmap-brand{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex:0 0 auto!important;
  min-width:0!important;
  height:68px!important;
  overflow:visible!important;
}

.atlas-shared-header .atlasmap-brand-logo{
  display:block!important;
  width:auto!important;
  height:64px!important;
  max-height:64px!important;
  max-width:390px!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:0!important;
  padding:0!important;
}

.atlas-shared-header .atlasmap-header-descriptor{
  max-width:390px!important;
  padding-left:20px!important;
  border-left:1px solid rgba(255,255,255,.22)!important;
  color:rgba(255,255,255,.9)!important;
  font-size:12px!important;
  line-height:1.45!important;
  font-weight:600!important;
  white-space:normal!important;
}
.atlas-shell-staking .atlas-shared-header .atlasmap-header-descriptor{
  font-size:14px!important;
  font-weight:750!important;
  white-space:nowrap!important;
}

.atlas-shared-header .header-right,
.atlas-shared-header .atlasmap-header-actions,
.atlas-shared-header .atlasmap-header-meta,
.atlas-shared-header .atlasmap-header-tools,
.atlas-shared-header .atlasmap-header-account{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  white-space:nowrap!important;
}

.atlas-shared-header .header-right{
  justify-content:flex-end!important;
  gap:8px!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:none!important;
  min-width:max-content!important;
  margin-left:auto!important;
}

.atlas-shared-header .atlasmap-header-actions{
  justify-content:flex-end!important;
  gap:12px!important;
  width:auto!important;
  max-width:none!important;
}

.atlas-shared-header .atlasmap-header-meta{
  gap:7px!important;
  padding:5px!important;
  border-radius:12px!important;
  background:rgba(10,28,51,.28)!important;
  border:1px solid rgba(255,255,255,.08)!important;
}

.atlas-shared-header .atlasmap-header-tools{
  gap:2px!important;
  padding:4px!important;
  width:auto!important;
  max-width:none!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.13)!important;
}

.atlas-shared-header .atlasmap-header-account{
  gap:5px!important;
  flex:0 0 auto!important;
  min-width:0!important;
}

.atlas-shared-header .staking-notification-wrap,
.atlas-shared-header .atlas-notification-wrap{
  order:initial!important;
  margin-left:0!important;
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
}

.atlas-shared-header .atlasmap-header-btn,
.atlas-shared-header .atlasmap-header-btn:visited,
.atlas-shared-header .atlas-notification-bell{
  min-height:40px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
}

.atlas-shared-header .atlasmap-header-btn,
.atlas-shared-header .atlasmap-header-btn:visited{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  padding:8px 13px!important;
  text-decoration:none!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:700!important;
  white-space:nowrap!important;
}

.atlas-shared-header .atlas-notification-bell{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  display:grid!important;
  place-items:center!important;
  position:relative!important;
}

.atlas-shared-header .atlasmap-header-btn:hover,
.atlas-shared-header .atlas-notification-bell:hover{background:rgba(255,255,255,.10)!important}
.atlas-shared-header .atlasmap-header-btn--logout{margin-left:2px!important;background:rgba(255,255,255,.10)!important}

.atlas-shared-header .atlas-notification-bell svg{
  width:20px!important;height:20px!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}

.atlas-shared-header .atlas-notification-bell{position:relative!important;overflow:visible!important}
.atlas-shared-header .atlas-notification-badge{
  position:absolute!important;
  top:-5px!important;right:-5px!important;
  z-index:3!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:17px!important;height:17px!important;
  padding:0 4px!important;
  margin:0!important;
  border:2px solid #152f4b!important;
  border-radius:999px!important;
  background:#ef4444!important;
  color:#fff!important;
  font:800 9px/13px Montserrat,Arial,sans-serif!important;
  line-height:13px!important;
  text-align:center!important;
  box-sizing:border-box!important;
  transform:none!important;
}
.atlas-shared-header .atlas-notification-badge[hidden]{display:none!important}

.atlas-shared-header .atlas-access-tier-badge{
  display:inline-flex!important;
  align-items:center!important;
  height:34px!important;
  min-height:34px!important;
  padding:7px 10px!important;
  border-radius:7px!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.atlas-shared-header .atlas-access-tier-badge.free{background:#dcfce7!important;color:#166534!important}
.atlas-shared-header .atlas-access-tier-badge.premium{background:#fff7df!important;color:#8a5a00!important}
.atlas-shared-header .atlas-access-tier-badge.boost{background:#e8f7ef!important;color:#17623b!important;border-color:#8fd9af!important}
.atlas-shared-header .atlas-access-tier-badge.admin{background:#e9e8ff!important;color:#4338ca!important;border-color:#b9b5ff!important}
.atlas-shared-header .map-zoom-badge{border:0!important;background:transparent!important;color:#eaf1f8!important;box-shadow:none!important}

.atlas-shared-footer{
  box-sizing:border-box!important;
  height:var(--atlas-shell-footer-h)!important;
  min-height:var(--atlas-shell-footer-h)!important;
  flex:0 0 var(--atlas-shell-footer-h)!important;
  display:flex!important;
  position:relative!important;
  z-index:15000!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
  padding:0 20px!important;
  background:#223a5e!important;
  color:#eaf1f8!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  font-family:'Montserrat',sans-serif!important;
  font-size:10.5px!important;
  font-weight:400!important;
  line-height:1!important;
  white-space:nowrap!important;
  text-align:center!important;
  overflow:hidden!important;
}
.atlas-shared-footer>span{
  display:inline-block!important;
  flex:0 0 auto!important;
  margin:0!important;padding:0!important;
  line-height:1!important;white-space:nowrap!important;
}
.atlas-shared-footer strong{color:#fff!important;font-weight:800!important}
.atlas-shared-footer .footer-mobile{display:none!important}

.atlas-shell-map .layout{height:calc(100dvh - var(--atlas-shell-header-h) - var(--atlas-shell-footer-h))!important}
.atlas-shell-staking main{height:calc(100dvh - var(--atlas-shell-header-h) - var(--atlas-shell-footer-h))!important}

.atlas-picchetto-glyph{
  font-family:Arial,Helvetica,sans-serif!important;
  font-style:normal!important;
  font-weight:700!important;
  line-height:1!important;
  speak:none;
}

@media(min-width:901px){
  #atlasRightDock.atlas-right-dock{
    top:50%!important;
    bottom:auto!important;
    transform:translateY(-50%)!important;
    max-height:calc(100dvh - var(--atlas-shell-header-h) - var(--atlas-shell-footer-h) - 28px)!important;
    height:auto!important;
    justify-content:flex-start!important;
  }
}

@media(max-width:900px){
  :root{--atlas-shell-header-h:64px;--atlas-shell-footer-h:20px}

  .atlas-shared-header{
    height:64px!important;min-height:64px!important;max-height:64px!important;
    padding:7px 9px!important;
    gap:8px!important;
  }
  .atlas-shared-header .atlasmap-header-left{
    height:46px!important;
    flex:1 1 auto!important;
    min-width:0!important;
    width:auto!important;
  }
  .atlas-shared-header .atlasmap-brand{
    height:46px!important;
    min-width:0!important;
    max-width:118px!important;
    flex:0 1 118px!important;
  }
  .atlas-shared-header .atlasmap-brand-logo{
    width:auto!important;
    max-width:112px!important;
    height:40px!important;
    max-height:40px!important;
  }
  .atlas-shared-header .atlasmap-header-descriptor{display:none!important}
  .atlas-shared-header .header-right{
    flex:0 0 auto!important;
    min-width:0!important;
    width:auto!important;
    margin-left:auto!important;
  }
  .atlas-shared-header .atlasmap-header-actions{gap:5px!important;min-width:0!important}
  .atlas-shared-header .atlasmap-header-meta{display:none!important}
  .atlas-shared-header .atlasmap-header-tools{
    gap:2px!important;padding:2px!important;min-width:0!important;
  }
  .atlas-shared-header .atlasmap-header-account{
    gap:2px!important;min-width:0!important;
  }
  .atlas-shared-header .atlasmap-header-account .atlas-notification-wrap,
  .atlas-shared-header .atlasmap-header-account .staking-notification-wrap{
    display:flex!important;align-items:center!important;flex:0 0 auto!important;
  }
  .atlas-shared-header .atlasmap-header-btn span:last-child{display:none!important}
  .atlas-shared-header .atlasmap-header-btn,
  .atlas-shared-header .atlas-notification-bell{
    width:34px!important;min-width:34px!important;
    height:34px!important;min-height:34px!important;
    padding:0!important;flex:0 0 34px!important;
  }
  .atlas-shared-header .atlasmap-header-btn--back{
    width:32px!important;min-width:32px!important;flex-basis:32px!important;
  }
  .atlas-shared-header .atlas-notification-bell svg{width:18px!important;height:18px!important}
  .atlas-shared-header .atlas-access-tier-badge{display:none!important}

  .atlas-shell-map .layout{height:auto!important}
  .atlas-shell-staking main{height:calc(100dvh - 64px - 60px - 20px)!important}

  .atlas-shared-footer{
    height:20px!important;min-height:20px!important;flex-basis:20px!important;
    gap:0!important;padding:0 8px!important;font-size:8px!important;line-height:1!important;
  }
  .atlas-shared-footer>span:not(.footer-mobile){display:none!important}
  .atlas-shared-footer .footer-mobile{
    display:block!important;width:100%!important;
    overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important;white-space:nowrap!important;
  }
}

@media(max-width:360px){
  .atlas-shared-header{padding-left:6px!important;padding-right:6px!important;gap:4px!important}
  .atlas-shared-header .atlasmap-brand{max-width:98px!important;flex-basis:98px!important}
  .atlas-shared-header .atlasmap-brand-logo{max-width:94px!important;height:37px!important;max-height:37px!important}
  .atlas-shared-header .atlasmap-header-btn,
  .atlas-shared-header .atlas-notification-bell{
    width:32px!important;min-width:32px!important;
    height:32px!important;min-height:32px!important;
    flex-basis:32px!important;
  }
}
