.byuser {display:block;}

#profile-right li#pa-invites,
#viewprofile-next #profilenav {display: none;}
#viewprofile table, #viewprofile tbody, #viewprofile td {display: block;}
#viewprofile tr {
  display: grid;
  gap: 10px 20px;
  grid-template-columns: 230px auto;
}
#viewprofile #profile-right,
#viewprofile #profile-left {width: auto;padding: 30px 0 0 0;}
#viewprofile ul  {
padding: 10px;
margin: 0 0 10px 0;
font-family: Arial Narrow;
text-transform: lowercase;
font-size: 13px;
}
#viewprofile li {margin-bottom:2px;}
#viewprofile li span {
padding: 5px 10px;
}
#viewprofile li strong, #viewprofile li div {
display: block;
padding: 5px 10px;
font-weight: normal;
}
#viewprofile #profile-right li strong {padding:5px;}

#profile-left {position: relative}
#profile-left li#profile-name {padding: 50px 10px 0px;}
#viewprofile #profile-left strong {font-weight: bold !important;}
#profile-title {
position: absolute;
top: 0;
width: 100%;
}
#viewprofile #profile-left strong {font-weight: normal !important;}

#profile-right li {
display: inline-block;
text-transform: lowercase;
margin: 10px;
border: 1px solid var(--one3);
box-shadow: 0 0 6px -5px;
background: var(--one2);
border-radius: 5px;
padding: 4px 0;
text-align: center;
}
#pa-register-date, #pa-time-visit, #pa-email {width:197px;}
#pa-last-post, #pa-last-visit {width:171px;}

/* Шапка */
#pun-title {
  background: url(https://forumstatic.ru/files/001b/de/73/18495.jpg) no-repeat top center;
  height: 306px;
  border-radius: 15px;
}

.punbb .tcr .user-avatar {float: right; margin: 0 9px 2px 10px !important;}

/* Футер */
#pun-about {
background: #808c8c;
border-radius: 0 0 10px 10px;
}



/* участники */
#userlist {
  margin-top: 20px;
}
#pun-userlist .usertable .container {
  padding: 10px;
}
#pun-userlist .usersname {
  margin-left: 10px;
}
#pun-userlist td.tcl.username {
  display: flex;
  align-content: center;
  align-items: center;
}
#pun-userlist td.tcl.username,
#pun-userlist tr {
  height: 40px;
}

/* оформление навигационных страниц и страницы статистики */
thead {text-align: center; font-family: 'Arial'; font-size: 10px;}
#pun-userlist .usertable thead tr {background: transparent; border: none; margin: 0;}
#pun-userlist .usertable tr {
display: flex;
align-items: center;
background: var(--one2);
border: 1px solid var(--one3);
box-shadow: 0 0 8px -6px;
border-radius: 10px;
margin-bottom: 10px;
}

#pun-userlist .usertable th.tc3.relation, .usertable td.tc3.relation, .usertable th.tc3.registered, .usertable td.tc3.registered, .usertable th.tc3.posts, .usertable td.tc3.num_posts, .usertable th.tc3.last_visit, .usertable td.tc3.last_visit {width: calc(10% - 24px); text-align: center;}

/* строка с сообщением в сообщениях 
#pun-messages .tc2.pmtc22 {
display: grid;
grid-template-columns: 1fr 2fr;
overflow: visible !important;
white-space: normal !important;
text-transform: uppercase;
font-size: 9px !important;
margin: 5px 0 0 20px !important;
}*/

/* форма ответа */
#main-reply {
font-family: Arial;
}