body {
    background: var(--profile-background);
}

#breadcrumbs a {
    color: var(--profile-bg-text-mid);
}

#breadcrumbs i, #breadcrumbs > span {
    color: var(--profile-bg-text-op);
}

.profile #container {
    color: var(--profile-fg-text);
    max-width: 2075px;
    --color-primary: var(--profile-accent-two);
    --color-primary-mid: var(--profile-accent-two-mid);
    --color-primary-trans: var(--profile-accent-two-trans);
    --color-secondary: var(--profile-accent-one);
    --color-secondary-mid: var(--profile-accent-one-mid);
    --color-secondary-trans: var(--profile-accent-one-trans);
    --color-base: var(--profile-background);
    --color-content: var(--profile-foreground);
    --color-text: var(--profile-fg-text);
    --color-content-op: var(--profile-foreground-op);
    --color-content-mid: var(--profile-foreground-mid);
    --color-content-trans: var(--profile-foreground-trans);
    --color-content-light: var(--profile-middleground);
    --color-text-op: var(--profile-fg-text-op);
    --color-text-mid: var(--profile-fg-text-mid);
    --color-text-trans: var(--profile-fg-text-trans);
    --gradient-primary: linear-gradient(130deg, var(--profile-accent-two), var(--profile-accent-one));
    --gradient-primary-reverse: linear-gradient(20deg, var(--profile-accent-two), var(--profile-accent-one));
}

#profile_profile h2 {
    margin: 50px 0 5px;
}

#profile_profile h2 * {
    color: var(--profile-bg-text-mid);
    font-weight: 500;
}

.profile #content h2 {
    color: var(--profile-bg-text);
}

.profile #content h2 * {
    color: var(--profile-bg-text-mid);
}

#profile_profile h2 > a > i {
    font-size: 0.75rem;
    padding-left: 2px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
}

#profile_menu_mobile {
    display: none;
    z-index: 101;
    position: relative;
    margin-bottom: 30px;
    border-top: 1px solid var(--profile-usercard-fg);
}

#profile_menu_mobile .profile-tabs {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    text-align: center;
    padding: 0 60px;
}

#profile_head {
    max-width: 1650px;
    margin: 15px auto 0;
    position: relative;
    background: var(--color-base);
}

.profile-header {
    text-align: left;
    width: 100%;
    margin: -140px auto -20px;
    height: 160px;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

#profile_banner {
    font-size: 0;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(45deg, var(--color-secondary-trans), var(--color-primary-trans));
}

#profile_banner:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0, transparent 20%);
    z-index: 1;
}

#profile_banner img {
    height: auto;
    width: calc(100% + 5px);
}

#profile_banner #change_profile_banner, #profile_image #image_upload_toggle, #profile_image #frame_picker_toggle {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 24px;
    line-height: 0;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    text-align: center;
    padding-top: 12px;
    cursor: pointer;
    color: #fff;
    opacity: 0.9;
    transition: opacity 0.15s linear;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

#profile_image #image_upload_toggle {
    left: -25px;
    top: 35px;
    font-size: 18px;
    width: 40px;
    height: 40px;
    padding-top: 11px;
}

#profile_image #frame_picker_toggle {
    left: -25px;
    bottom: 35px;
    font-size: 18px;
    width: 40px;
    height: 40px;
    padding-top: 11px;
}

#profile_banner #change_profile_banner:hover,  #profile_image #image_upload_toggle:hover, #profile_image #frame_picker_toggle:hover {
    opacity: 1;
}

.profile-header h1 {
    font-size: 36px;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    line-height: 0.8;
    position: relative;
    max-width: 70%;
    min-width: 300px;
    word-break: break-all;
    text-transform: none;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    pointer-events: all;
}

.profile-header.has-user-tags h1 {
    margin-top: -25px;
}

.profile-header h1 > span {
    color: var(--color-neutral);
    font-size: 13px;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    text-transform: uppercase;
}

.profile-header h1 > span .follower-count {
    font-style: normal;
}

.profile-header h1 > span > span {
    display: inline-block;
    color: #fff;
    padding: 3px 5px 1px 0;
    line-height: 1;
    margin-right: 5px;
}

.profile-header h1 > span > span.stats-label {
    display: block;
    padding-right: 0;
    margin-right: 0;
    margin-bottom: 7px;
}

.profile-header h1 > span > span.pro-label {
    background: #ffca00;
    color: #4f3f04;
    padding: 3px 5px 1px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
    line-height: 1;
    border-radius: var(--border-radius-md);
}

.profile-header h1 > span > span.admin-label {
    background: #935cc5;
    color: #fff;
    padding: 3px 5px 1px;
    line-height: 1;
    text-shadow: none;
    border-radius: var(--border-radius-md);
}

.profile-header h1 > span > span.admin-label em {
    padding-right: 5px;
    text-transform: none;
    font-size: 12px;
}

.profile-header .member-info {
    font-size: 13px;
    color: var(--profile-fg-text-mid);
    float: right;
    margin-top: 5px;
    text-align: center;
}

.profile-header .member-info .user-menu {
    display: inline-block;
    vertical-align: middle;
    line-height: 0;
    margin: 0 15px;
}

.has-user-tags + .profile-social {
    margin-top: -15px;
}

.profile-social a:not(.edit-link) {
    text-decoration: none;
    font-size: 13px;
    display: block;
    line-height: 0;
    color: var(--color-text);
    padding: 15px 0;
    background: var(--color-content);
    width: 100%;
    padding-top: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-social a:not(.edit-link) i {
    font-size: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 15px;
}

.profile-social a:not(.edit-link):hover {
    color: var(--color-primary);
}

.profile-social a:not(.edit-link):hover i {
    opacity: 0.8;
}

.profile-pro-link {
    color: var(--color-primary);
}

.profile-pro-link:hover {
    color: #ffca00;
}

.profile-content {
    margin: 0 auto;
    text-align: center;
}

.profile-tabs {
    background: var(--color-content);
    font-size: 0;
    padding: 0 60px 0 15px;
    height: 50px;
    margin: 0 auto;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    overflow: hidden;
}

.profile-tab {
    font-size: 0.875rem;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    color: var(--color-text);
    height: 100%;
    display: inline-block;
    position: relative;
    padding: 16px 15px 0;
    border-bottom: 2px solid transparent;
}

.profile-tab > em {
    font-style: normal;
    color: var(--color-text-mid) !important;
}

.profile-tab:hover {
    color: var(--color-secondary);
}

.profile-tab.current {
    color: var(--color-secondary);
    border-bottom-color: var(--color-secondary);
    cursor: default;
}

.profile-tab-content {
    display: none;
    padding: 15px 0 50px;
    position: relative;
    font-size: 0;
    min-height: 400px;
}

.profile-tab-content.current {
    display: block;
}

#profile_search {
    font-size: 14px;
    width: 100%;
    margin: 5px auto 20px;
    max-width: 300px;
    position: relative;
}

#profile_search input {
    font-size: 14px;
    width: 100%;
    border-radius: 0;
    border: 1px solid transparent;
    border-bottom-color: var(--profile-bg-text-trans);
    padding: 8px 15px 8px 30px;
    background: transparent;
    color: var(--profile-bg-text);
}

#profile_search input::placeholder {
    color: var(--profile-bg-text-mid);
}

#profile_search input:hover {
    border-radius: var(--border-radius-md);
    border-color: var(--profile-bg-text-trans);
    background: var(--color-base);
}

#profile_search input:focus, #profile_search input:active {
    border-radius: var(--border-radius-md);
    border-color: var(--profile-bg-text-trans);
    background: var(--profile-foreground);
    box-shadow: none !important;
    color: var(--profile-fg-text);
}

#profile_search input:focus::placeholder, #profile_search input:active::placeholder {
    color: var(--profile-fg-text-mid);
}

#profile_search i {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 21px;
    color: var(--profile-bg-text-mid);
    line-height: 1;
    pointer-events: none;
}

#profile_search input:focus + i, #profile_search input:active + i {
    color: var(--profile-fg-text-mid);
}

#container .member-info {
    position: absolute;
    bottom: 0;
    z-index: 2;
    right: 15px;
    text-align: center;
    height: 50px;
    padding-top: 14px;
}

#container .member-info .menu-trigger {
    font-size: 26px;
    line-height: 1;
    width: 40px;
    display: block;
    color: var(--color-text-op);
}

#container .member-info .menu-trigger:hover {
    color: var(--color-secondary);
}

#container .member-info .menu-items {
    margin-right: 12px;
    background: var(--color-content);
}

#container .member-info .menu-items .mobile-navlink {
    display: none;
}

#container .member-info .menu-items a {
    color: var(--color-text);
}

#container .member-info .menu-items a span {
    color: var(--color-text-op);
}

#container .member-info .menu-items a:hover {
    color: var(--color-primary);
    background: var(--color-content-light);
}

#profile_sort_nav {
    padding-top: 22px;
    z-index: 1;
    position: relative;
    float: right;
}

#profile_sort_nav .kp-select-native > i.animate-spin {
    color: var(--color-text-op);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 6px;
    padding-left: 10px;
    background: var(--color-content-op);
    border-radius: var(--border-radius-md);
    z-index: 2;
    font-size: 1.2rem;
}

.profile-more-count {
    font-size: 0.875rem;
    color: var(--profile-bg-text-op);
    margin: 30px 0 15px;
}

.profile-more-count + a {
    font-size: 1rem;
}

.project-menu {
    position: absolute;
    top: 8px;
    right: 5px;
}

.gallery-project .project-public-private.private i {
    color: var(--color-text-mid);
}

.gallery-project .project-public-private.private i:after {
    content: '\\';
    position: absolute;
    top: 1px;
    left: 4px;
    font-size: 12px;
    font-weight: bold;
    color: var(--color-content);
}

.gallery-project .project-embeddable.is-not-embeddable i {
    color: var(--color-text-mid);
}

.gallery-project .project-embeddable.is-not-embeddable i:after {
    content: 'x';
    position: absolute;
    top: 0px;
    left: 2px;
    font-size: 14px;
    font-weight: bold;
    color: var(--color-content);
}

.gallery-project .project-menu .project-delete-btn {
    color: #df7272;
    border-top: 1px solid var(--color-text-trans);
}

.gallery-project .is-cuff {
    position: absolute;
    top: 13px;
    left: 17px;
    color: rgba(150, 150, 150, 0.5);
    z-index: 2;
    display: block;
    font-size: 13px;
}

.gallery-project.can-three .is-cuff {
    left: 55px;
}

.gallery-project .is-cuff.not-cuff {
    display: none;
}

#content #profile_profile .content-section {
    min-height: 150px;
}

#profile_profile #profile_recent, #profile_profile #profile_followers, #profile_profile #profile_following {
    padding-left: 3px;
    padding-right: 3px;
    margin-left: -3px;
    margin-right: -3px;
}

.sidebar-thread {
    margin: 8px 1% !important;
    background: var(--color-content);
    border-radius: var(--border-radius-md);
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    display: inline-block;
    vertical-align: middle;
    width: 31%;
    border: none;
    border-left: 2px solid var(--color-neutral);
    padding: 12px 15px 12px 13px;
    text-align: left;
}

.pinned-patterns {
    font-size: 0;
}

.project-file.pinned .load-img-wrap {
    border: 1px solid var(--color-secondary);
}

.project-file.pinned .load-img-wrap:after {
    content: '\e89b';
    font-family: 'kandi-pad';
    font-size: 1.5rem;
    color: var(--color-secondary);
    z-index: 1;
    position: absolute;
    top: 0;
    right: 5px;
    rotate: 30deg;
}

.pinned-pattern {
    display: inline-block;
    height: 130px;
    overflow: hidden;
    width: 140px;
    margin: 0 5px 10px;
    position: relative;
    border-radius: var(--border-radius-md);
}

.pinned-pattern img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    transition: .15s linear;
    filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.3));
}

.pinned-pattern:hover img {
    max-width: 95%;
    max-height: 95%;
}

.pinned-pattern img.pinned-pattern-bg {
    max-width: 200% !important;
    max-height: 200% !important;
    filter: blur(5px);
    opacity: 0.8;
}

.pinned-pattern a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#load_project_message {
    position: fixed;
    top: 30%;
    left: 50%;
    width: 94%;
    max-width: 600px;
    text-align: center;
    background: var(--color-content);
    padding: 15px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #e73e3e;
    color: #e73e3e;
    z-index: 2;
    transform: translateX(-50%);
    display: none;
}

#widget_bio > p {
    font-size: 0.875rem;
    margin: 0;
}

#widget_bio > #sidebar_bio {
    white-space: pre-line;
    max-height: 500px;
    overflow: auto;
    position: relative;
    margin-top: 20px;
}

#widget_bio > #member_since {
    margin-top: -10px;
}

#bio_read_more {
    position: absolute;
    bottom: 15px;
    left: 50%;
    z-index: 1;
    color: var(--color-text-op);
    font-size: 13px;
    display: none;
    transform: translateX(-50%);
}

#profile_sidebar_mobile {
    margin: 0 0 30px;
    background: var(--color-content);
    border-radius: var(--border-radius-lg);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.profile #sidebar_content .sidebar-widget {
    min-height: unset;
}

.profile #sidebar_content #profile_sidebar_mobile .sidebar-widget {
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

.profile #sidebar_content .sidebar-widget.mobile-only {
    display: none;
}

#profile_sidebar_mobile #profile_mobile_tabs {
    display: none;
    z-index: 1;
    position: relative;
}

#profile_sidebar_mobile #profile_mobile_tabs h3 {
    margin: 0 12px 0 0;
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--color-base);
    font-size: 1rem;
    cursor: pointer;
}

#profile_sidebar_mobile #profile_mobile_tabs h3.selected {
    background: var(--color-base);
    border-color: var(--color-text-trans);
    cursor: default;
}

#modal_customize_profile h4 {
    font-size: 1.25rem;
    border-top: 1px solid var(--color-text-trans);
    padding-top: 25px;
    margin-top: 30px;
}

#modal_customize_profile .nothemeyet label[for="use_profile_style"] {
    display: none;
}

#modal_customize_profile .standard-theme-palette {
    margin: 10px 0 0;
    max-width: 240px;
    width: 100%;
}

#modal_customize_profile .standard-theme-palette span {
    width: 100%;
}

.edit-profile-palette {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 30px;
    width: 280px;
}

.edit-profile-palette i {
    padding-left: 15px;
    opacity: 0.8;
    margin-top: 10px;
}

.edit-profile-palette:hover i {
    opacity: 1;
}

#profile_layout_list {
    padding: 0;
    list-style: none;
}

#profile_layout_list li {
    padding: 5px 10px;
    border: 1px solid var(--color-text-trans);
    margin: 2px 0;
    cursor: grab;
    border-radius: var(--border-radius-sm);
    line-height: 2;
}

#profile_layout_list li.ui-sortable-helper {
    cursor: grabbing;
    background: var(--color-content-op);
}

#profile_layout_list li i {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    color: var(--color-text-mid);
}

#profile_layout_list li.profile-layout-placeholder {
    background: var(--color-content-light);
    border: 1px dashed var(--color-text-trans);
    border-radius: var(--border-radius-sm);
    height: 45px;
    margin: 2px 0;
}

#modal_rename_project #pattern_style > button {
    display: inline-block;
    width: 90%;
    max-width: 200px;
    margin: 10px 1% 0;
    text-align: center;
    padding: 10px 0;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    color: var(--color-text);
    background: var(--color-content);
    font-size: 13px;
}

#modal_rename_project #pattern_style > button:hover {
    border-color: var(--color-primary);
}

#modal_rename_project #pattern_style > button.selected {
    border-color: var(--color-primary);
    box-shadow: 0 0 5px var(--color-primary);
    background: #f4fffe;
    color: #000;
    cursor: default;
}

#pattern_tag_count {
    float: right;
    font-size: 13px;
    margin-bottom: -5px;
    margin-top: 5px;
    margin-right: 10px;
}

#pattern_tag_count em {
    font-style: normal;
}

#pattern_tag_count.limit-reached {
    color: #eb4747;
}

#pattern_info_taglist {
    margin-bottom: 15px;
}

#pattern_info_taglist .pattern-info-tag {
    font-size: 13px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px 10px;
    padding: 5px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-secondary-mid);
    background: var(--color-secondary-trans);
    color: var(--color-secondary);
    font-weight: 600;
    cursor: default;
}

#pattern_info_taglist .pattern-info-tag span {
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    font-size: 12px;
}

#pattern_info_taglist .pattern-info-tag span:hover {
    color: #f00;
    text-shadow: 0 0 1px #000;
}

.project-features {
    position: absolute;
    bottom: 100%;
    right: 8px;
    opacity: 0.8;
    margin-bottom: 5px;
    font-size: 16px;
}

.project-features i {
    display: block;
    color: var(--color-neutral);
    padding-bottom: 5px;
}

.project-features i.allow_template {
    font-size: 14px;
    position: relative;
}

.project-features i.allow_template:after {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    height: 1px;
    background: var(--color-neutral);
    width: 100%;
    transform: rotate(145deg);
}

.project-features i.public, .project-features i.embeddable, .project-features i.allow {
    display: none !important;
}

.sidebar-projects {
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #ddd;
}

.sidebar-projects.sidebar-photos {
    border: none;
    padding-top: 0;
}

.sidebar-projects strong {
    font-size: 14px;
    color: var(--color-text-mid);
}

.sidebar-projects .featured-projects-wrapper {
    text-align: left;
    width: 168px;
    font-size: 0;
    margin: 5px auto;
}

.sidebar-projects .featured-projects-wrapper a {
    background-size: contain !important;
    width: 56px;
    height: 56px;
    display: inline-block;
    border: 1px solid var(--color-base);
    cursor: pointer;
}

.sidebar-projects .featured-projects-wrapper a:hover {
    opacity: 0.8;
}

.gallery-project .use-as-template {
    font-size: 12px;
    color: var(--color-neutral);
    padding-top: 5px;
}

.gallery-project .use-as-template a {
    color: var(--color-neutral);
}

/* CROP */            
.croppie-container .cr-slider-wrap {
    margin: 0 auto;
}

.croppie-container .cr-slider-wrap {
    margin: 0 auto;
}

.croppie-container .cr-slider-wrap .cr-slider {
    background: transparent;
    border: none;
    box-shadow: none;
}

.crop-img-wrap .croppie-container .cr-viewport {
    box-shadow: 0 0 2000px 2000px var(--color-content);
    border: 1px solid var(--color-neutral);
    box-sizing: content-box;
}

/* EMOJIS */
.kpmde-wrapper {
    font-size: 0;
    position: relative;
    padding-bottom: 45px;
    border: 1px solid var(--color-text-trans);
    border-radius: var(--border-radius-md);
}

.kpmde-wrapper textarea {
    background: transparent;
    width: 100%;
    resize: vertical;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    border: none;
    box-shadow: none;
    margin: 0;
    font-size: 14px;
    min-height: 200px !important;
    line-height: 1.4;
    display: block !important;
    padding: 15px;
}

.kpmde-wrapper .kpmde-toolbar {
    border: none;
    opacity: 1 !important;
    padding: 0 5px;
    z-index: 2;
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    border-radius: 0 0 10px 10px;
    border-top: 1px solid var(--color-text-trans);
    background: var(--color-content);
}

.kpmde-wrapper .kpmde-toolbar button {
    color: var(--color-text-op);
    border: none;
    width: 40px;
    height: 40px;
    padding-top: 6px;
    vertical-align: middle;
    background: transparent;
    box-shadow: none;
    font-weight: 700;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin: 0;
    cursor: pointer;
    font-size: 16px;
}

.kpmde-wrapper .kpmde-toolbar button.forum-smiley {
    font-size: 19px;
    padding-top: 8px;
}

.kpmde-wrapper .kpmde-toolbar button.forum-smiley.active {
    color: var(--color-secondary);
}

emoji-picker {
    position: absolute;
    z-index: 3;
    height: 0;
    margin-top: 0;
    transition: .35s;
    opacity: 0;
    pointer-events: none;
}

emoji-picker.active {
    height: 250px;
    margin-top: -250px;
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 2021px) {
    #profile_profile #profile_recent {
        overflow: hidden;
        max-height: 920px;
    }

    #profile_profile #profile_followers, #profile_profile #profile_following {
        overflow: hidden;
        max-height: 465px;
    }
}

@media (max-width: 1698px) {
    #profile_profile #profile_recent {
        max-height: 1372px;
    }

    #profile_profile #profile_followers, #profile_profile #profile_following {
        max-height: 695px;
    }
}

@media (max-width: 1378px) {
    #profile_profile #profile_recent, #profile_profile #profile_followers, #profile_profile #profile_following {
        max-height: unset;
    }
    .sidebar-thread {
        width: 48%;
    }
}

@media (max-width: 1056px) {
    #container {
        margin-top: -42px;
    }

    #content {
        padding-left: 30px !important;
    }

    .profile:not(.profile-profile) #content {
        padding-top: 0;
    }

    #breadcrumbs {
        opacity: 0;
        pointer-events: none;
    }

    #profile_head {
        display: none;
    }

    #sidebar_content {
        position: relative !important;
        display: block;
        width: 100%;
        left: unset !important;
        right: unset !important;
        top: unset !important;
        bottom: unset !important;
        padding: 30px 15px 0;
        z-index: 2;
    }

    .sidebar-inner {
        margin: -15px;
    }

    .profile.profile-profile #sidebar_content .sidebar-widget {
        display: block !important;
        margin: 15px;
    }

    .profile:not(.profile-profile) #sidebar_content .sidebar-widget:not(.user-profile-card), .profile:not(.profile-profile) #sidebar_content #profile_sidebar_mobile, .profile.profile-profile #sidebar_content .sidebar-widget.sidebar-ad {
        display: none !important;
    }

    .has-kpstickyad #sidebar_content .sidebar-inner {
        padding-bottom: 0;
    }

    .user-profile-card.sidebar-widget {
        width: 100%;
        padding-top: 50px;
        border-radius: 0;
        margin: 0 !important;
    }

    .user-profile-card.sidebar-widget .profile-card-username {
        font-size: 1.5rem;
    }

    .user-profile-card.sidebar-widget .card-profile-banner {
        display: block;
        height: 155px;
        border-radius: 0;
    }

    .user-profile-card.sidebar-widget .card-profile-banner img {
        height: auto;
        width: 100%;
        min-height: 100%;
    }

    #profile_menu_mobile {
        display: block;
    }

    #profile_menu_mobile .member-info {
        border-left: 1px solid var(--color-text-trans);
        padding-left: 15px;
    }

    #profile_menu_mobile .member-info .menu-items {
        margin-right: 28px;
    }

    #profile_menu_mobile .profile-tabs {
        padding: 0 70px 0 0;
    }

    #profile_menu_mobile .profile-tab {
        width: 20%;
        white-space: nowrap;
        padding: 16px 0;
    }

    #profile_profile {
        width: 100%;
        padding-left: 0;
    }

    .profile-social a:not(.edit-link) {
        font-size: 0;
        display: inline-block;
        width: 50px;
        text-align: center;
    }

    .profile-social a:not(.edit-link) i {
        margin: 0;
        font-size: 30px;
    }

    .sidebar-widget {
        display: block !important;
    }

    .pinned-pattern {
        width: 14%;
        margin: 0 1% 12px;
    }

    #sidebar_bio {
        max-height: unset !important;
    }

    #widget_bio {
        height: 132px;
        overflow: hidden;
    }

    #widget_bio.needs-read-more:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        border-radius: 0;
        height: 55px;
        width: 100%;
        background: linear-gradient(0deg, var(--color-content) 75%, transparent);
    }

    #profile_sidebar_mobile {
        margin: 15px;
    }

    .profile-profile #sidebar_content .sidebar-widget.mobile-only {
        display: block !important;
    }

    #profile_sidebar_mobile #profile_mobile_tabs {
        display: inline-block;
    }

    .profile-profile #sidebar_content #profile_sidebar_mobile .sidebar-widget.mobile-active {
        display: block !important;
        margin-top: -40px;
        z-index: 0;
    }

    .profile #sidebar_content #profile_sidebar_mobile .sidebar-widget:not(.mobile-active) {
        display: none !important;
    }

    .profile #sidebar_content .sidebar-widget.desktop-only {
        display: none !important;
    }

    .profile-profile #sidebar_content #profile_sidebar_mobile .sidebar-widget h3 {
        opacity: 0;
        pointer-events: none;
        margin-bottom: 55px;
    }

    .profile-social a:not(.edit-link):has(.kp-tumblr) {
        margin: 0 0 5px !important;
    }

    .profile-social a:not(.edit-link):has(.kp-x-twitter) {
        margin: 0 0 3px;
    }

    .profile-social a:not(.edit-link) i.kp-tumblr {
        margin: 0 !important;
        font-size: 24px !important;
    }

    #profile_profile #profile_recent {
        max-height: 1372px;
    }
        
    #profile_profile #profile_followers, #profile_profile #profile_following {
        max-height: 695px;
    }
}

@media(max-width: 1018px) {        
    #profile_profile #profile_recent, #profile_profile #profile_followers, #profile_profile #profile_following {
        max-height: unset;
    }
}

@media(max-width: 900px) {
    #content {
        padding-left: 15px !important;
    }

    .pinned-pattern {
        width: 31%;
    }
}

@media(max-width: 767px) {
    #profile_menu_mobile .profile-tab {
        width: 25%;
    }
}

@media(max-width: 730px) {
    #container .member-info .menu-items {
        margin-top: 10px;
    }
}

@media(max-width: 678px) {
    .sidebar-thread {
        width: 100%;
        margin: 8px 0 !important;
    }

    .user-profile-card.sidebar-widget {
        padding-top: 40px;
    }

    .user-profile-card.sidebar-widget .card-profile-banner {
        height: 145px;
    }
    
    #profile_menu_mobile .profile-tab {
        width: 33.333%;
    }
}

@media(max-width: 550px) {
    #profile_menu_mobile .profile-tab {
        width: 50%;
    }

    .user-profile-card.sidebar-widget .card-profile-banner img {
        width: auto;
        height: 100%;
        min-width: 100%;
    }
}

@media(max-width: 470px) {
    .pinned-pattern {
        width: 48%;
        margin: 0 1% 6px;
    }

    .profile-social a:not(.edit-link) {
        width: 46px;
    }

    .profile-tab {
        padding: 16px 22px 0;
    }
}