@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600&display=swap");

.profile-page {
    width: 100%;
    padding: 12px 12px 40px;
    color: #191919;
    font-family: "Source Sans Pro", "Source Sans 3", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3em;
}

.profile-page a {
    font-weight: 400;
    text-decoration: none;
}

.profile-page h2,
.profile-page h3 {
    margin: 0;
    padding: 5px 0;
    line-height: 1em;
}

.profile-page h2 {
    font-size: 30px;
    font-weight: 400;
}

.profile-page h3 {
    font-size: 24px;
    font-weight: 300;
}

.profile-page p {
    margin: 0;
    line-height: 1.5em;
}

.profile-page ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-container {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
}

.profile-sheet {
    position: relative;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 1px 4px 0 rgba(25, 25, 25, 0.3);
}

.profile-label {
    color: #b8b8b8;
    font-weight: 400;
}

.profile-lead {
    font-size: 18px;
    font-weight: 400;
}

.profile-empty {
    font-size: 18px;
}

.profile-btn,
.profile-btn:link,
.profile-btn:visited {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease-in-out;
}

.profile-btn:hover,
.profile-btn:focus {
    box-shadow: 0 1px 3px rgba(150, 150, 150, 0.74);
}

.profile-btn-secondary,
.profile-btn-secondary:link,
.profile-btn-secondary:visited {
    background-color: #7b2cbf;
    border-color: #7b2cbf;
    color: #fff;
}

.profile-btn-secondary:hover,
.profile-btn-secondary:focus {
    background-color: #9d4edd;
    border-color: #9d4edd;
    color: #fff;
}

.profile-btn-control,
.profile-btn-control:link,
.profile-btn-control:visited {
    background-color: #fff;
    border-color: #b8b8b8;
    color: #757575;
}

.profile-btn-control:hover,
.profile-btn-control:focus {
    color: #757575;
}

.profile-btn-control:disabled {
    box-shadow: none;
    color: #b8b8b8;
    cursor: default;
}

.profile-btn-primary {
    background-color: #02b757;
    border-color: #02b757;
    color: #fff;
}

.profile-btn-primary:hover,
.profile-btn-primary:focus {
    background-color: #3fc679;
    border-color: #3fc679;
}

.profile-btn-primary:disabled {
    background-color: #a3e2bd;
    border-color: #a3e2bd;
    box-shadow: none;
    cursor: default;
}

.profile-icon-more,
.profile-icon-slideshow,
.profile-icon-grid,
.profile-icon-carousel-left,
.profile-icon-carousel-right {
    display: block;
    width: 28px;
    height: 28px;
    background-image: url("/img/generic-icons-2016.svg");
    background-repeat: no-repeat;
    background-size: 56px auto;
}

.profile-icon-more {
    background-position: 0 -616px;
}

.profile-more-toggle:hover .profile-icon-more {
    background-position: -28px -616px;
}

.profile-icon-carousel-right {
    background-position: 0 -896px;
}

.profile-icon-carousel-left {
    background-position: 0 -924px;
}

.profile-icon-grid {
    background-position: 0 -1036px;
}

.profile-icon-grid.selected {
    background-position: -28px -1036px;
}

.profile-icon-slideshow {
    background-position: 0 -1064px;
}

.profile-icon-slideshow.selected {
    background-position: -28px -1064px;
}

.profile-header {
    display: flex;
    align-items: flex-start;
}

.profile-headshot {
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
    margin-right: 12px;
    border: 1px solid #b8b8b8;
}

.profile-headshot img {
    display: block;
    width: 100%;
    height: 100%;
}

.profile-header-body {
    flex: 1 1 auto;
    min-width: 0;
}

.profile-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-name h2 {
    color: #343434;
    overflow-wrap: anywhere;
}

.profile-club {
    flex: 0 0 52px;
    width: 52px;
    height: 28px;
    background: url("/img/bc/bc.svg") 0 0 no-repeat;
}

.profile-club-tbc {
    background-position: 0 -28px;
}

.profile-club-obc {
    background-position: 0 -56px;
}

.profile-details {
    display: flex;
    margin-top: 34px;
    padding: 1px 1px 0;
}

.profile-counts {
    display: flex;
    flex: 0 0 41.5%;
    width: 41.5%;
}

.profile-counts li {
    width: 33%;
    text-align: center;
}

.profile-counts a {
    display: block;
    color: #7b2cbf;
}

.profile-actions {
    margin-left: auto;
    white-space: nowrap;
}

.profile-actions .profile-btn {
    margin: 0 4px;
    padding: 9px 24px;
    font-size: 18px;
}

.profile-more {
    position: absolute;
    top: 0;
    right: 6px;
}

.profile-more-toggle {
    display: block;
    padding: 6px;
    border: 0;
    background: none;
}

.profile-more .dropdown-menu {
    min-width: 105px;
    border: 0;
    border-radius: 0;
    background-color: #fff;
    box-shadow: 0 -5px 20px rgba(25, 25, 25, 0.15);
    font-size: 16px;
}

.profile-more .dropdown-menu a,
.profile-more .dropdown-menu button {
    display: block;
    width: 100%;
    padding: 10px;
    border: 0;
    background: none;
    color: #191919;
    font-weight: 400;
    text-align: left;
    white-space: nowrap;
}

.profile-more .dropdown-menu li:hover {
    box-shadow: 4px 0 0 0 #7b2cbf inset;
}

.profile-tabs {
    display: flex;
    margin-top: 18px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.profile-tab {
    flex: 1 1 0;
    padding: 10px 2%;
    border: 0;
    background-color: #fff;
    color: #191919;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.profile-tab:hover,
.profile-tab.active {
    box-shadow: 0 -4px 0 0 #7b2cbf inset;
}

.profile-tab.active {
    color: #555;
}

.profile-pane {
    margin-top: 8px;
}

.profile-creations {
    margin-top: 6px;
}

.profile-section {
    margin-top: 18px;
}

.profile-section:first-child {
    margin-top: 0;
}

.profile-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.profile-about .profile-sheet {
    margin-top: 6px;
}

.profile-about-body {
    padding-bottom: 5.5px;
}

.profile-about-text {
    position: relative;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.profile-about-text.clamped {
    max-height: 72px;
    overflow: hidden;
}

.profile-about-text.overflows::after {
    content: "...";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 90px;
    height: 24px;
    background-color: #fff;
}

.profile-about-toggle {
    display: block;
    margin-left: auto;
    padding: 0 0 0 6px;
    border: 0;
    background-color: #fff;
    color: #7b2cbf;
    font-weight: 400;
}

.profile-about-text.clamped .profile-about-toggle {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.profile-about-toggle:hover {
    text-decoration: underline;
}

.profile-about .profile-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0 6px;
}

.profile-social,
.profile-social:link,
.profile-social:visited {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px 3px 8px;
    border: 1px solid #b8b8b8;
    border-radius: 3px;
    background-color: #fff;
    color: #343434;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.profile-social:hover {
    box-shadow: 0 1px 3px rgba(150, 150, 150, 0.74);
}

.profile-social-icon {
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat;
}

.profile-social-discord .profile-social-icon {
    color: #5865f2;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20.3 4.4A19.8 19.8 0 0 0 15.4 3l-.2.4a18 18 0 0 1 4.4 2.2 15.6 15.6 0 0 0-15.2 0 18 18 0 0 1 4.5-2.2L8.6 3a19.7 19.7 0 0 0-4.9 1.5C.6 9 0 13.5.3 18a20 20 0 0 0 6 3l1.3-2a12.9 12.9 0 0 1-2-1l.5-.4a14.2 14.2 0 0 0 12 0l.5.4-2.1 1 1.3 2a19.9 19.9 0 0 0 6-3c.4-5.2-.7-9.6-3.5-13.6zM8.5 15.3c-1.2 0-2.1-1-2.1-2.4s.9-2.4 2.1-2.4 2.2 1.1 2.1 2.4c0 1.3-.9 2.4-2.1 2.4zm7 0c-1.2 0-2.1-1-2.1-2.4s.9-2.4 2.1-2.4 2.2 1.1 2.1 2.4c0 1.3-.9 2.4-2.1 2.4z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20.3 4.4A19.8 19.8 0 0 0 15.4 3l-.2.4a18 18 0 0 1 4.4 2.2 15.6 15.6 0 0 0-15.2 0 18 18 0 0 1 4.5-2.2L8.6 3a19.7 19.7 0 0 0-4.9 1.5C.6 9 0 13.5.3 18a20 20 0 0 0 6 3l1.3-2a12.9 12.9 0 0 1-2-1l.5-.4a14.2 14.2 0 0 0 12 0l.5.4-2.1 1 1.3 2a19.9 19.9 0 0 0 6-3c.4-5.2-.7-9.6-3.5-13.6zM8.5 15.3c-1.2 0-2.1-1-2.1-2.4s.9-2.4 2.1-2.4 2.2 1.1 2.1 2.4c0 1.3-.9 2.4-2.1 2.4zm7 0c-1.2 0-2.1-1-2.1-2.4s.9-2.4 2.1-2.4 2.2 1.1 2.1 2.4c0 1.3-.9 2.4-2.1 2.4z'/></svg>");
}

.profile-social-twitter .profile-social-icon {
    color: #1da1f2;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M23 4.6a9.4 9.4 0 0 1-2.7.7 4.7 4.7 0 0 0 2-2.6 9.4 9.4 0 0 1-3 1.2 4.7 4.7 0 0 0-8 4.3A13.3 13.3 0 0 1 1.7 3.3a4.7 4.7 0 0 0 1.4 6.3 4.7 4.7 0 0 1-2.1-.6 4.7 4.7 0 0 0 3.8 4.6 4.7 4.7 0 0 1-2.1.1 4.7 4.7 0 0 0 4.4 3.3A9.4 9.4 0 0 1 0 19a13.3 13.3 0 0 0 7.2 2.1c8.7 0 13.4-7.2 13.4-13.4v-.6A9.5 9.5 0 0 0 23 4.6z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M23 4.6a9.4 9.4 0 0 1-2.7.7 4.7 4.7 0 0 0 2-2.6 9.4 9.4 0 0 1-3 1.2 4.7 4.7 0 0 0-8 4.3A13.3 13.3 0 0 1 1.7 3.3a4.7 4.7 0 0 0 1.4 6.3 4.7 4.7 0 0 1-2.1-.6 4.7 4.7 0 0 0 3.8 4.6 4.7 4.7 0 0 1-2.1.1 4.7 4.7 0 0 0 4.4 3.3A9.4 9.4 0 0 1 0 19a13.3 13.3 0 0 0 7.2 2.1c8.7 0 13.4-7.2 13.4-13.4v-.6A9.5 9.5 0 0 0 23 4.6z'/></svg>");
}

.profile-social-youtube .profile-social-icon {
    color: #ff0000;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31 31 0 0 0 0 12a31 31 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31 31 0 0 0 24 12a31 31 0 0 0-.5-5.8zM9.6 15.6V8.4l6.2 3.6z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31 31 0 0 0 0 12a31 31 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31 31 0 0 0 24 12a31 31 0 0 0-.5-5.8zM9.6 15.6V8.4l6.2 3.6z'/></svg>");
}

.profile-about-footer {
    display: flex;
    align-items: flex-start;
    padding-top: 5px;
    border-top: 1px solid #b8b8b8;
}

.profile-pastnames {
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-pastnames-tip {
    position: relative;
    display: block;
    cursor: pointer;
    outline: none;
}

.profile-icon-pastname {
    display: block;
    width: 20px;
    height: 20px;
    background: url("/img/generic-icons-2016.svg") 0 -780px no-repeat;
    background-size: 40px auto;
    opacity: 0.5;
}

.profile-pastnames-tip:hover .profile-icon-pastname,
.profile-pastnames-tip:focus .profile-icon-pastname {
    background-position: -20px -780px;
}

.profile-pastnames-tip::after {
    content: attr(data-names);
    display: none;
    position: absolute;
    left: -6px;
    bottom: 28px;
    z-index: 1070;
    width: max-content;
    min-width: 150px;
    max-width: 200px;
    padding: 9px;
    background-color: #757575;
    color: #f2f2f2;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3em;
    text-align: left;
    white-space: normal;
}

.profile-pastnames-tip::before {
    content: "";
    display: none;
    position: absolute;
    left: 50%;
    bottom: 23px;
    z-index: 1070;
    width: 0;
    height: 0;
    margin-left: -5px;
    border-style: solid;
    border-width: 5px 5px 0;
    border-color: #757575 transparent transparent;
}

.profile-pastnames-tip:hover::after,
.profile-pastnames-tip:hover::before,
.profile-pastnames-tip:focus::after,
.profile-pastnames-tip:focus::before {
    display: block;
}

.profile-pastnames-text {
    color: #b8b8b8;
    font-size: 14px;
    font-weight: 400;
}

.profile-report,
.profile-report:link,
.profile-report:visited {
    margin-left: auto;
    padding-top: 1.5px;
    color: #d86868;
    font-size: 12px;
}

.profile-report:hover {
    color: #d86868;
    text-decoration: underline;
}

.profile-wearing {
    display: flex;
    height: 300px;
}

.profile-wearing-avatar {
    position: relative;
    flex: 0 0 50%;
    width: 50%;
    padding: 0 12px;
    background-color: #fff;
    text-align: center;
}

.profile-wearing-thumb {
    display: inline-block;
    width: 300px;
    max-width: 100%;
    height: 300px;
}

.profile-wearing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.profile-3d {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 4px 9px;
    font-size: 14px;
}

.profile-wearing-items {
    flex: 0 0 50%;
    width: 50%;
    padding: 32px 18px 28px;
    background-color: #7b2cbf;
    color: #fff;
    overflow-y: auto;
    scrollbar-width: none;
}

.profile-wearing-items ul {
    display: flex;
    flex-wrap: wrap;
}

.profile-wearing-items li {
    padding: 5px;
}

.profile-wearing-items a {
    display: block;
    border-radius: 3px;
    background-color: #fff;
}

.profile-wearing-items img {
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 3px;
}

.profile-wearing-empty {
    display: block;
    padding: 5px;
}

.profile-friends .profile-sheet,
.profile-badges .profile-sheet {
    margin-top: 4px;
}

.profile-friends ul {
    display: flex;
    flex-wrap: wrap;
}

.profile-friends li {
    width: 11.1111%;
    padding: 0 6px;
    text-align: center;
}

.profile-friends a {
    display: block;
    color: #191919;
}

.profile-friend-thumb {
    display: block;
    width: 100%;
    max-width: 90px;
    margin: 2px auto 6px;
    border: 1px solid #b8b8b8;
    border-radius: 50%;
    background-color: #fff;
    aspect-ratio: 1;
    overflow: hidden;
}

.profile-friend-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-friends .online .profile-friend-thumb {
    border-color: #02b757;
    box-shadow: 0 0 0 2px #02b757;
}

.profile-friend-name {
    display: block;
    overflow: hidden;
    font-weight: 300;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-collections .profile-sheet {
    margin-top: 4px;
}

.profile-collections ul {
    display: flex;
    flex-wrap: wrap;
    max-height: 170px;
    overflow: hidden;
}

.profile-collections li {
    width: 16.6667%;
    padding: 5px 0;
    text-align: center;
}

.profile-collections a {
    display: block;
    color: #191919;
}

.profile-collections img {
    display: block;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border: 1px solid #b8b8b8;
    border-radius: 3px;
    background-color: #fff;
    object-fit: contain;
}

.profile-item-name {
    display: block;
    width: 140px;
    margin: auto;
    overflow: hidden;
    font-weight: 300;
    line-height: 22px;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-collections a:hover .profile-item-name {
    color: #7b2cbf;
}

.profile-groups .profile-heading {
    margin-bottom: 6px;
}

.profile-switcher.profile-switcher-groups {
    background-color: #7b2cbf;
}

.profile-switcher-groups .profile-slide-emblem a {
    width: 240px;
    height: 240px;
    margin: 30px auto 0;
}

.profile-switcher-groups .profile-slide-emblem img {
    height: 240px;
    object-fit: cover;
}

.profile-slide-rank {
    overflow: hidden;
    font-size: 21px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-group-cards {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.profile-group-cards li {
    width: 161px;
    height: 223px;
    margin-bottom: 12px;
    padding: 0 11px 0 0;
}

.profile-group-cards a {
    display: block;
    height: 100%;
    border-radius: 3px;
    background-color: #fff;
    box-shadow: 0 1px 4px 0 rgba(25, 25, 25, 0.3);
    color: #191919;
    transition: box-shadow 200ms ease;
}

.profile-group-cards a:hover {
    box-shadow: 0 1px 6px 0 rgba(25, 25, 25, 0.75);
}

.profile-group-cards img {
    display: block;
    width: 150px;
    height: 150px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    object-fit: cover;
}

.profile-card-name,
.profile-card-secondary {
    display: block;
    margin: 3px 0;
    padding: 0 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-card-name {
    margin-top: 6px;
}

.profile-card-secondary {
    color: #757575;
    font-size: 12px;
    font-weight: 400;
}

.profile-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background-color: rgba(0, 0, 0, 0.5);
}

.profile-modal {
    position: fixed;
    top: 10vh;
    left: 50%;
    z-index: 1060;
    width: 740px;
    max-width: calc(100% - 24px);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    transform: translateX(-50%);
    border-radius: 3px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.profile-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid #e3e3e3;
}

.profile-modal-header h3 {
    padding: 0;
}

.profile-modal-close {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: url("/img/generic-icons-2016.svg") 0 -588px no-repeat;
    background-size: 56px auto;
}

.profile-modal-close:hover {
    background-position: -28px -588px;
}

.profile-modal-body {
    flex: 1 1 auto;
    padding: 15px;
    overflow-y: auto;
}

.profile-modal-hint {
    margin-bottom: 10px;
    color: #757575;
}

.profile-modal-error {
    margin-bottom: 10px;
    color: #d86868;
    font-weight: 400;
}

.profile-picker {
    display: flex;
    flex-wrap: wrap;
}

.profile-picker li {
    width: 16.6667%;
    padding: 5px 0;
    text-align: center;
}

.profile-picker-item {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: #191919;
}

.profile-picker-item img {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border: 1px solid #b8b8b8;
    border-radius: 3px;
    background-color: #fff;
    object-fit: contain;
}

.profile-picker-item .profile-item-name {
    width: 100px;
    font-size: 14px;
}

.profile-picker-item.picked img {
    border-color: #7b2cbf;
    box-shadow: 0 0 0 2px #7b2cbf;
}

.profile-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 15px;
    border-top: 1px solid #e3e3e3;
}

.profile-favorites ul {
    display: flex;
    flex-wrap: wrap;
    margin: 4px 0 -12px;
}

@media (min-width: 992px) {
    .profile-favorites .game-card {
        width: calc(16.6667% - 8px);
    }
}

.profile-favorites .profile-sheet {
    margin-top: 4px;
}

.profile-badges .profile-sheet {
    padding: 15px 22px;
}

.profile-badges ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
    max-height: 173px;
    overflow: hidden;
}

.profile-badges li {
    width: 142px;
    padding: 5px 0;
}

.profile-badges a {
    display: block;
    color: #191919;
}

.profile-badge-icon {
    display: block;
    width: 142px;
    height: 142px;
    border: 1px solid #b8b8b8;
    background-color: #fff;
    object-fit: contain;
}

span.profile-badge-icon {
    background-image: url("/img/badges/roblox_badges.svg");
    background-repeat: no-repeat;
    background-size: 280px auto;
}

.profile-badges .icon-inviter {
    background-position: 0 0;
}

.profile-badges .icon-friendship {
    background-position: -140px 0;
}

.profile-badges .icon-welcome-to-the-club {
    background-position: 0 -140px;
}

.profile-badges .icon-ambassador {
    background-position: -140px -140px;
}

.profile-badges .icon-combat-initiation {
    background-position: 0 -280px;
}

.profile-badges .icon-warrior {
    background-position: -140px -280px;
}

.profile-badges .icon-bloxxer {
    background-position: 0 -420px;
}

.profile-badges .icon-homestead {
    background-position: -140px -420px;
}

.profile-badges .icon-bricksmith {
    background-position: 0 -560px;
}

.profile-badges .icon-official-model-maker {
    background-position: -140px -560px;
}

.profile-badges .icon-builders-club {
    background-position: 0 -700px;
}

.profile-badges .icon-turbo-builders-club {
    background-position: -140px -700px;
}

.profile-badges .icon-outrageous-builders-club {
    background-position: 0 -840px;
}

.profile-badges .icon-administrator {
    background-position: -140px -840px;
}

.profile-badges .icon-veteran {
    background-position: 0 -980px;
}

.profile-badge-name {
    display: block;
    overflow: hidden;
    font-weight: 300;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-badges a:hover .profile-badge-name {
    color: #7b2cbf;
}

.profile-statistics ul {
    display: flex;
}

.profile-statistics li {
    width: 33.3333%;
    text-align: center;
}

.profile-creations .profile-heading {
    margin-bottom: 6px;
}

.profile-views {
    display: flex;
    gap: 4px;
}

.profile-views .profile-btn {
    height: 36px;
    padding: 2px 20px 0;
}

.profile-switcher {
    position: relative;
    display: flex;
    height: 300px;
    background-color: #118237;
}

.profile-slide-emblem {
    flex: 0 0 50%;
    width: 50%;
}

.profile-slide-emblem a {
    display: block;
    width: 280px;
    max-width: 100%;
    margin: 10px auto 0;
}

.profile-slide-emblem img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.49);
}

.profile-slide-info {
    display: flex;
    flex: 0 0 50%;
    flex-direction: column;
    width: 50%;
    min-width: 0;
    padding: 20px 50px 20px 40px;
    background-color: #fff;
}

.profile-slide-info h2 {
    margin-bottom: 1px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-slide-info h2 a {
    color: #000;
}

.profile-slide-description {
    height: 106px;
    padding-top: 5px;
    border-top: 1px solid #b8b8b8;
    overflow: hidden;
    white-space: pre-wrap;
}

.profile-slide-info ul {
    display: flex;
    margin: auto 0 17px;
}

.profile-slide-info li {
    width: 50%;
}

.profile-switcher-control {
    position: absolute;
    top: calc(50% - 24px);
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: rgba(25, 25, 25, 0.3);
    transition: all 0.2s ease-in-out;
}

.profile-switcher:hover .profile-switcher-control {
    display: flex;
}

.profile-switcher-control:hover {
    background-color: rgba(25, 25, 25, 0.75);
}

.profile-switcher-control.left {
    left: 18px;
}

.profile-switcher-control.right {
    right: 18px;
}

.profile-grid {
    display: flex;
    flex-wrap: wrap;
}

.profile-grid li {
    flex: 0 0 16.6667%;
    width: 16.6667%;
    min-width: 140px;
    margin-bottom: 12px;
    padding: 0 4px;
}

.profile-grid a {
    display: block;
    padding: 9px 6px 6px;
    border-radius: 3px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(150, 150, 150, 0.74);
    color: #000;
}

.profile-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.profile-grid span {
    display: block;
    margin: 6px 3px 0 0;
    overflow: hidden;
    font-weight: 300;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 991px) {
    .profile-actions .profile-btn {
        padding: 9px 5px;
    }
}

@media (max-width: 767px) {
    .profile-page h2 {
        font-size: 24px;
    }

    .profile-page h3 {
        font-size: 21px;
    }

    .profile-details {
        flex-wrap: wrap;
        margin-top: 12px;
    }

    .profile-counts {
        flex-basis: 100%;
        width: 100%;
    }

    .profile-actions {
        margin-top: 6px;
    }

    .profile-wearing-items {
        padding: 12px 8px;
    }

    .profile-wearing-items img {
        width: 85px;
        height: 85px;
    }

    .profile-friends li {
        width: 25%;
        margin-bottom: 12px;
    }

    .profile-friends li:nth-child(n+9) {
        display: none;
    }

    .profile-statistics ul {
        display: block;
    }

    .profile-statistics li {
        display: flex;
        width: 100%;
        text-align: left;
    }

    .profile-statistics li p {
        width: 50%;
    }

    .profile-slide-emblem {
        flex-basis: 30%;
        width: 30%;
        padding: 0 10px;
    }

    .profile-slide-emblem img {
        border-radius: 6px;
    }

    .profile-slide-info {
        flex-basis: 70%;
        width: 70%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .profile-headshot {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }

    .profile-actions {
        width: 100%;
        white-space: normal;
    }

    .profile-actions .profile-btn {
        display: block;
        width: 100%;
        margin: 6px 0 0;
    }

    .profile-wearing {
        flex-direction: column;
        height: auto;
    }

    .profile-wearing-avatar,
    .profile-wearing-items {
        flex-basis: auto;
        width: 100%;
    }

    .profile-friends li {
        width: 33.3333%;
    }

    .profile-friends li:nth-child(n+9) {
        display: block;
    }

    .profile-switcher {
        flex-direction: column;
        height: auto;
    }

    .profile-slide-emblem,
    .profile-slide-info {
        flex-basis: auto;
        width: 100%;
    }

    .profile-slide-emblem a {
        width: 35%;
        margin: 12px auto;
    }
}
