.sidebar{
  position:fixed;
  top:0;
  left:-100%;
  width:min(86vw, 340px);
  height:100%;
  background:#0a0a0a;
  z-index:1000;
  transition:.28s ease;
  border-right:1px solid #1e1e1e;
  overflow:auto;
  padding-bottom:24px;
}

.sidebar.active{
  left:0;
}

.sidebar-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 18px 10px;
}

.sidebar-header h1{
  font-size:20px;
  letter-spacing:2px;
}

.sidebar-header button{
  background:none;
  border:none;
  color:white;
  font-size:22px;
  cursor:pointer;
}

.sidebar-menu{
  padding:14px 18px 8px;
}

.menu-item{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 10px;
  border-radius:14px;
  color:#f3f3f3;
  cursor:pointer;
  margin-bottom:8px;
}

.menu-item:hover{
  background:#121212;
}

.menu-item i{
  color:#d0d0d0;
  width:18px;
  height:18px;
  flex:0 0 auto;
}

.menu-item span{
  font-size:12px;
  letter-spacing:1.2px;
}

.stats-box{
  margin:14px 18px 0;
  padding:16px;
  background:#111;
  border:1px solid #222;
  border-radius:18px;
}

.stats-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.stats-head h3{
  font-size:12px;
  color:#9c9c9c;
  letter-spacing:2px;
}

.stats-head span{
  font-size:14px;
  color:#fff;
  font-weight:800;
}

#statsChart{
  width:100% !important;
  height:180px !important;
}

#overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.52);
  display:none;
  z-index:900;
}

#overlay.active{
  display:block;
}