.prof-header {
	display:grid;
	grid-template-columns:250px 1fr auto;
	font-family:playfair;
	margin:10px 0px;
}

.prof-av {
	height:225px;
	display:flex;
	justify-content: center;
	border-radius:20px;
	overflow:hidden;
}

.prof-av img {
	max-height:100%;
	border-radius:20px;
}


.prof-name {
	padding:10px 20px;
	font-size:3em;
}

.flex {
    display: flex;
    gap: 20px;
    align-items: center;
	justify-content: center;
}

.prof-line {
	font-family: var(--mainf);
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

.prof-stats-col {
	margin-top:20px;
}

.prof-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 10px 0px;
    justify-content: flex-end;
    height: fit-content;
	margin: 0px 10px;
}

.prof-buttons div {
    line-height: 40px;
    background: var(--header);
    border-radius: 10px;
    text-align: center;
}
.prof-buttons div i {
    line-height: 40px;
    font-size: 17px;
    width: 40px;
}

.prof-buttons i:hover::after {
    z-index: 15;
    border-radius: 5px;
    background-color: var(--mainbg2);
    font-family: var(--mainf);
    font-weight: bold;
    font-size: 11px;
    padding: 5px 10px;
    line-height: 14px;
    min-width: max-content;
    text-transform: uppercase;
    position: absolute;
    margin-top: -10px;
    margin-left: 3px;
}


.cat-header {
	font-size:2em;
	padding:20px;
    text-transform: uppercase;
	background: var(--mainbg2);
	font-family:playfair;
	text-align:center;
}

.prof-section {
	display:grid;
	grid-template-columns:250px auto;
}

.prof-left {
	padding:10px 0px;
	background:var(--header);
}

.prof-content {
	padding:20px;
}

/* NEW CODE ENDS HERE */

.profile-bar {
	background:var(--lp);
	border-top-left-radius:10px;
	border-top-right-radius:10px;
	padding:10px 10px 10px 240px;
}

.ic-profile {
	display:flex;
	flex-direction:row;
	background:var(--mainbg);
	border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.left-bar {
	max-width:300px;
	background:var(--mainbg2);
	padding:0px 0px 20px 0px;
	border-bottom-left-radius:10px;
}

.prof-avatar {
	width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.prof-avatar img {
	width:100%;
}

.prof-username { 
	
}

.pack-title {
	text-align:center;
	padding:10px 10px 5px 10px;
	font-family:playfair;
	text-transform:uppercase;
	font-size:2em;
}

.pack-rank {
	text-align:center;
	padding:5px;
	font-family:georgia;
	text-transform:lowercase;
	font-style:italic;
	font-size:1em;
}

.prof-stats {
	min-width:60%;
	display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 5px 35px;
    align-items: center;
    justify-content: space-between;
	font-family:inter;
}

.prof-stats span {
	height:1px;
	background:var(--header);
	margin-top:0px;
	width:100%;
	opacity:0.4;
}

.stat-a {
	min-width: fit-content;
    font-size: 10px;
    font-family: var(--mainf);
    text-transform: uppercase;
    display: flex;
	font-weight:bold;
    align-items: center;
    gap: 10px;
}

.stat-b {
	min-width: fit-content;
	font-size:11px;
	font-weight:bold;
	text-transform:lowercase;
}


.stat-b span {
	background:none;
	padding-left:10px;
}


/* RIGHT SIDE */

.right-content {
	 width: -webkit-fill-available;
}

.right-grid {
	display:flex;
	flex-direction:row;
	justify-content:space-between;
	padding-bottom:20px;
}

.content-right {
	width:300px;
	background:var(--mainbg2);
	padding:20px 0px;
	border-bottom-left-radius:10px;
	height:max-content;
}

.content-right .prof-stats {
	margin: 10px 15px;
}

.content-left {
	width: -webkit-fill-available;
}

.p-ref {
	margin:auto;
	text-align:center;
}

.p-ref img {
	max-width:100%;
	max-height:400px;
}

.fam-fam {
	padding:0px 20px;
}

.fam-fam div {
	padding:5px;
}

.fam-fam .stat-b {
	font-weight:normal;
}




/* USER CP */

.ooc-flex.user-cp {
	display:grid;
	grid-template-columns:250px auto;
	border-radius:0px;
	padding:0px;
	margin-bottom:10px;
}

.left-user {
	background:var(--opa);
}

.usercp-menu .prof-stats {
	margin:5px 10px;
}

.top-bar {
	display:flex;
	justify-content:flex-start;
	align-items:center;
	gap:5px;
	line-height:50px;
	background:var(--mainbg);
	padding:0px 20px;
	font-size:15px;
	font-weight:bold;
	font-family:var(--mainf);
	text-transform:uppercase;
}

.top-bar .usercp-link {
	font-size:11px;
}

.upper-links {
	display: flex;
    justify-content: space-evenly;
    align-items: center;
    line-height: 40px;
    background: var(--header);
    font-size: 12px;
}

.usercp-nav {
	display:grid;
	grid-template-columns:1fr 1fr 1fr 1fr;
}

.submenu_cp {
	font-family: var(--mainf);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: bold;
    padding-bottom: 6px;
    border-bottom: 0px !important;
}

.usercp_submenu {
	font-size:11px;
	padding:10px;
}

.usercp_submenu div {
	line-height: 25px;
    border-bottom: 1px dashed var(--bg2);
}

.submenu_cp i {
    line-height: 35px;
    font-size: 14px;
    width: 35px;
    background: var(--header);
    border-radius: 10px;
    text-align: center;
	margin-right:10px;
}
.t-date.uscp-last {
	display:flex;
	gap:2px;
}
		