/*
 * PICKME newd2 — modern profile detail page.
 * Additive and reversible; all rules are scoped to pages containing #profile.
 */

body:has(#profile) {
    --pp-bg: #08080b;
    --pp-panel: #111117;
    --pp-panel-soft: #17171f;
    --pp-line: rgba(255, 255, 255, 0.09);
    --pp-line-strong: rgba(255, 255, 255, 0.15);
    --pp-pink: #ff2f92;
    --pp-purple: #955cff;
    --pp-text: #f8f6f9;
    --pp-muted: #aaa5b0;
    min-width: 320px;
    color: var(--pp-text);
    background:
        radial-gradient(circle at 11% 8%, rgba(255, 47, 146, 0.09), transparent 28rem),
        radial-gradient(circle at 88% 19%, rgba(149, 92, 255, 0.07), transparent 29rem),
        var(--pp-bg);
    font-family:
        Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
}

body:has(#profile) .main_header {
    position: relative;
    z-index: 120;
    height: auto;
    min-height: 94px;
    padding: 0 !important;
    background: rgba(8, 8, 11, 0.9);
    border-bottom: 1px solid var(--pp-line);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
}

body:has(#profile) .main_header > .container,
body:has(#profile) > nav > .container,
body:has(#profile) .navig > .container,
body:has(#profile) #profile > .container,
body:has(#profile) footer > .container,
body:has(#profile) #copyright > .container {
    width: min(1240px, calc(100% - 48px));
    max-width: 1240px;
}

body:has(#profile) .main_header .row {
    display: flex;
    align-items: center;
    min-height: 94px;
}

body:has(#profile) .main_header .logo {
    display: flex;
    align-items: center;
    height: auto;
    margin: 0;
}

body:has(#profile) .main_header .logo img {
    display: block;
    width: 218px;
    max-width: 100%;
    height: auto;
}

body:has(#profile) .main_header .tags,
body:has(#profile) .main_header .tag {
    height: auto !important;
    margin: 0 !important;
}

body:has(#profile) .main_header .desktop_form,
body:has(#profile) .main_header .search-form {
    width: 100%;
}

body:has(#profile) .main_header #search_key {
    width: 100%;
    height: 44px;
    padding: 0 52px 0 17px;
    color: var(--pp-text);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--pp-line-strong);
    border-radius: 12px;
    outline: none;
}

body:has(#profile) .main_header #search_key:focus {
    border-color: rgba(255, 47, 146, 0.7);
    box-shadow: 0 0 0 4px rgba(255, 47, 146, 0.11);
}

body:has(#profile) .main_header #serch_submit {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 36px;
    height: 36px !important;
    background-color: var(--pp-pink);
    border: 0;
    border-radius: 9px;
    opacity: 1;
}

body:has(#profile) #header_right_menu {
    display: flex;
    gap: 7px;
    align-items: center;
}

body:has(#profile) #header_right_menu > a,
body:has(#profile) #header_right_menu > .tag > a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 650;
    color: #d8d4dc;
    text-decoration: none;
    border-radius: 10px;
}

body:has(#profile) #header_right_menu > a:hover,
body:has(#profile) #header_right_menu > .tag > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

body:has(#profile) #header_right_menu .auth {
    min-width: 0 !important;
    margin-left: 5px;
}

body:has(#profile) #header_right_menu .auth .orange-btn {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-width: 116px;
    height: 42px;
    padding: 0 17px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--pp-pink), #df176f);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    box-shadow: 0 9px 24px rgba(255, 47, 146, 0.22);
}

body:has(#profile) > nav {
    position: relative;
    z-index: 110;
    height: auto;
    padding: 13px 0;
    background: rgba(11, 11, 15, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body:has(#profile) > nav .url ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
}

body:has(#profile) > nav .url li {
    float: none;
    width: auto;
    margin: 0;
    list-style: none;
}

body:has(#profile) > nav .url a {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 650;
    color: #bbb6c1;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 999px;
}

body:has(#profile) .navig {
    position: relative;
    z-index: 20;
    height: auto;
    min-height: 72px;
    padding: 15px 0;
    background: rgba(12, 12, 17, 0.94);
    border-bottom: 1px solid var(--pp-line);
}

body:has(#profile) .navig .navigationQ {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
}

body:has(#profile) .navig .navigationQ > div:first-child:empty {
    display: none;
}

body:has(#profile) .navig .prev,
body:has(#profile) .navig .next,
body:has(#profile) .navig .favorite {
    position: static !important;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-width: 116px;
    height: 42px;
    padding: 0 15px;
    font-size: 12px;
    font-weight: 700;
    color: #d8d3dc;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    float: none !important;
}

body:has(#profile) .navig .navigationQ > .next {
    margin-left: auto;
}

body:has(#profile) .navig .prev:hover,
body:has(#profile) .navig .next:hover,
body:has(#profile) .navig .favorite:hover {
    color: #fff;
    background: rgba(255, 47, 146, 0.1);
    border-color: rgba(255, 47, 146, 0.3);
}

body:has(#profile) .navig #favorite_desktop {
    top: 0 !important;
    right: 128px !important;
    height: 42px !important;
}

body:has(#profile) .navig .followers {
    padding-right: 12px;
    font-size: 12px;
    color: #918c97;
}

body:has(#profile) #profile {
    position: relative;
    padding: 34px 0 78px;
    background:
        radial-gradient(circle at 11% 2%, rgba(255, 47, 146, 0.085), transparent 29rem),
        radial-gradient(circle at 91% 12%, rgba(149, 92, 255, 0.07), transparent 31rem);
}

body:has(#profile) #profile > .container {
    padding: 0;
}

body:has(#profile) #profile .row.profile_block {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: start;
    width: 100%;
    margin: 0;
}

body:has(#profile) #profile .row.profile_block > .col-md-8,
body:has(#profile) #profile .row.profile_block > .col-md-4 {
    position: static;
    width: auto !important;
    min-width: 0;
    padding: 0;
    float: none !important;
}

body:has(#profile) #profile .row.profile_block > .col-md-8 {
    grid-column: 1;
}

body:has(#profile) #profile .row.profile_block > .col-md-4 {
    grid-column: 2;
}

body:has(#profile) #super-slider {
    position: relative;
    width: 100%;
    height: 646px;
    padding: 10px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
        #101016;
    border: 1px solid var(--pp-line);
    border-radius: 22px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

body:has(#profile) #super-slider .super-slider-wrapper {
    display: flex;
    width: 100%;
    height: 624px;
    overflow: hidden;
    background: #09090d;
    border-radius: 15px;
}

body:has(#profile) #super-slider .super-slider-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100%;
    height: 100%;
}

body:has(#profile) #super-slider .super-slider-slide-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body:has(#profile) #super-slider .super-slider-slide-content-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

body:has(#profile) #super-slider .super-slider-navigation {
    top: 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    background-color: rgba(10, 10, 14, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(10px);
}

body:has(#profile) #super-slider .super-slider-left {
    left: 23px;
}

body:has(#profile) #super-slider .super-slider-right {
    right: 23px;
}

body:has(#profile) #profile .profile_info,
body:has(#profile) #profile .descs,
body:has(#profile) #profile .comments-container,
body:has(#profile) #profile .question-container {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.03), transparent 44%),
        rgba(17, 17, 23, 0.94);
    border: 1px solid var(--pp-line);
    border-radius: 20px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
}

body:has(#profile) #profile .profile_info {
    padding: 27px;
}

body:has(#profile) #profile .profile_info > .name {
    padding: 0;
    margin: 14px 0 8px;
    font-size: 31px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #fff;
}

body:has(#profile) #profile .photo_info_no,
body:has(#profile) #profile .photo_info_yes {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.055em;
    color: #d9d4dc;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
}

body:has(#profile) #profile .profile_info > .location {
    padding: 0 0 14px;
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #97929d;
    border-bottom: 1px solid var(--pp-line) !important;
}

body:has(#profile) #profile .profile_info > .location a {
    color: #c8c3cc;
    text-decoration: none;
}

body:has(#profile) #profile .profile_info > .location a:hover {
    color: var(--pp-pink);
}

body:has(#profile) #profile .profile_info .phone {
    padding: 16px;
    margin: 16px 0 12px;
    background: linear-gradient(135deg, rgba(255, 47, 146, 0.12), rgba(149, 92, 255, 0.07));
    border: 1px solid rgba(255, 47, 146, 0.2);
    border-radius: 14px;
}

body:has(#profile) #profile .profile_info .phone-row {
    display: flex;
    align-items: center;
    min-height: 32px;
}

body:has(#profile) #profile .profile_info .phone-row > a {
    font-size: 18px;
    font-weight: 780;
    color: #fff;
}

body:has(#profile) #profile .sms {
    padding: 12px 14px;
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.55;
    color: #d5d0d9;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 12px;
}

body:has(#profile) #profile .sms > span {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.06em;
    color: #85808b;
    text-transform: uppercase;
}

body:has(#profile) #profile .call {
    padding: 15px;
    margin: 13px 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
}

body:has(#profile) #profile .call .head {
    padding: 0 0 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    color: #97919d;
    text-transform: uppercase;
}

body:has(#profile) #profile .call .desc {
    padding: 11px 0;
    font-size: 13px;
    color: #e2dee5;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
}

body:has(#profile) #profile .call .desc span {
    font-weight: 750;
    color: #fff;
}

body:has(#profile) #profile .people_info {
    padding: 5px 0 0;
}

body:has(#profile) #profile .people_info table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 7px;
}

body:has(#profile) #profile .people_info tr {
    background: rgba(255, 255, 255, 0.027);
}

body:has(#profile) #profile .people_info td {
    padding: 10px 12px;
    font-size: 12px;
    color: #8f8a95;
    border: 0;
}

body:has(#profile) #profile .people_info td:first-child {
    border-radius: 9px 0 0 9px;
}

body:has(#profile) #profile .people_info td:last-child {
    text-align: right;
    border-radius: 0 9px 9px 0;
}

body:has(#profile) #profile .people_info td span {
    font-weight: 700;
    color: #e3dfe6;
}

body:has(#profile) #profile .descs.hidden-xs {
    padding: 26px;
    margin-top: 22px;
}

body:has(#profile) #profile .descs .name,
body:has(#profile) #profile .head_comments,
body:has(#profile) #profile .head_questions {
    padding: 0;
    margin: 0;
    font-size: 18px;
    font-weight: 780;
    letter-spacing: -0.015em;
    color: #fff;
}

body:has(#profile) #profile .descs .date {
    margin-top: 6px;
    font-size: 11px;
    color: #7f7a85;
}

body:has(#profile) #profile .descs .text {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.75;
    color: #b3aeb8;
}

body:has(#profile) #profile .likes_dislikes {
    display: flex;
    gap: 8px;
    padding: 0 !important;
    margin: 14px 0 24px !important;
}

body:has(#profile) #profile .likes_dislikes .like,
body:has(#profile) #profile .likes_dislikes .dislike {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 38px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 10px;
}

body:has(#profile) #profile .comments_elements {
    padding: 17px 20px;
    margin: 0 0 8px;
    background: rgba(17, 17, 23, 0.94);
    border: 1px solid var(--pp-line);
    border-radius: 14px;
}

body:has(#profile) #profile .comments-container,
body:has(#profile) #profile .question-container {
    padding: 18px;
    margin-bottom: 26px;
}

body:has(#profile) #profile .jquery-comments .commenting-field.main {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
}

body:has(#profile) #profile .jquery-comments .profile-picture {
    width: 42px;
    height: 42px;
    background-size: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body:has(#profile) #profile .jquery-comments .textarea-wrapper {
    min-width: 0;
}

body:has(#profile) #profile .jquery-comments .textarea {
    min-height: 46px;
    padding: 13px 14px;
    color: #eeeaf0;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 11px;
}

body:has(#profile) #profile .jquery-comments .textarea:focus {
    border-color: rgba(255, 47, 146, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 47, 146, 0.08);
}

body:has(#profile) #profile .jquery-comments .after-registration {
    padding: 8px 2px 0;
    font-size: 11px;
    color: #827d88;
}

body:has(#profile) #profile .jquery-comments .no-data {
    padding: 22px;
    font-size: 12px;
    color: #77727d;
    text-align: center;
}

body:has(#profile) #profile > .container > .profile_block.visible-xs {
    padding: 0;
    margin-top: 22px;
}

body:has(#profile) #like {
    min-height: 0;
    padding: 30px 0;
    background: rgba(10, 10, 14, 0.94);
    border-top: 1px solid var(--pp-line);
}

body:has(#profile) footer {
    position: relative;
    padding: 42px 0 0;
    background:
        radial-gradient(circle at 15% 0, rgba(255, 47, 146, 0.075), transparent 24rem),
        #0c0c11;
    border-top: 1px solid var(--pp-line);
}

body:has(#profile) footer > .container {
    display: flex;
    gap: 32px;
    align-items: center;
    min-height: 84px;
    padding-bottom: 35px;
}

body:has(#profile) footer .logo img {
    width: 180px;
    max-width: 180px !important;
    opacity: 0.82;
}

body:has(#profile) footer .link ul {
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
}

body:has(#profile) footer .link li {
    list-style: none;
}

body:has(#profile) footer .link a {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 650;
    color: #aaa5af;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

body:has(#profile) footer .pull-right {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: auto;
}

body:has(#profile) footer .admin {
    font-size: 11px;
    color: #77727d;
}

body:has(#profile) footer #copyright {
    padding: 15px 0;
    font-size: 11px;
    color: #696570;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.045);
}

@media (max-width: 991px) {
    body:has(#profile) .main_header {
        min-height: 70px;
    }

    body:has(#profile) .main_header > .container,
    body:has(#profile) .navig > .container,
    body:has(#profile) #profile > .container,
    body:has(#profile) footer > .container,
    body:has(#profile) #copyright > .container {
        width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    body:has(#profile) .main_header .row {
        position: relative;
        min-height: 70px;
    }

    body:has(#profile) .main_header .row > div:first-child {
        width: 100%;
    }

    body:has(#profile) .main_header .logo {
        justify-content: center;
    }

    body:has(#profile) .main_header .logo img {
        width: 142px;
    }

    body:has(#profile) #nav-icon1 {
        top: 25px;
        left: 16px;
        margin: 0;
    }

    body:has(#profile) .mobile_top_heart {
        top: 18px;
        right: 10px;
    }

    body:has(#profile) .navig {
        top: 70px !important;
        min-height: 64px;
        padding: 10px 0;
        margin-top: 0;
        margin-bottom: 105px;
    }

    body:has(#profile) .navig .navigationQ {
        min-height: 44px;
    }

    body:has(#profile) .navig .navigationQ > div:first-child {
        display: none;
    }

    body:has(#profile) .navig .prev,
    body:has(#profile) .navig .next,
    body:has(#profile) .navig .favorite {
        min-width: 0;
        height: 42px;
        padding: 0 12px;
        font-size: 11px;
    }

    body:has(#profile) #profile {
        padding: 20px 0 52px;
    }

    body:has(#profile) #profile .row.profile_block {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    body:has(#profile) #profile .row.profile_block > .col-md-8 {
        grid-row: 1;
        grid-column: 1;
    }

    body:has(#profile) #profile .row.profile_block > .col-md-4 {
        grid-row: 2;
        grid-column: 1;
    }

    body:has(#profile) #super-slider {
        height: 510px;
        padding: 7px;
        border-radius: 17px;
    }

    body:has(#profile) #super-slider .super-slider-wrapper {
        height: 494px;
        border-radius: 12px;
    }

    body:has(#profile) #profile .profile_info {
        padding: 20px 16px;
        border-radius: 17px;
    }

    body:has(#profile) #profile .profile_info > .name {
        font-size: 28px;
    }

    body:has(#profile) #profile .descs {
        padding: 20px 16px;
        border-radius: 17px;
    }

    body:has(#profile) #profile .descs .nav-tabs {
        display: flex;
        gap: 7px;
        padding: 5px;
        margin: 0 0 18px;
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: 12px;
    }

    body:has(#profile) #profile .descs .nav-tabs > li {
        flex: 1;
        margin: 0 !important;
    }

    body:has(#profile) #profile .descs .nav-tabs > li > a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 10px;
        margin: 0;
        font-size: 12px;
        font-weight: 700;
        color: #aaa5af;
        background: transparent;
        border: 0;
        border-radius: 9px;
    }

    body:has(#profile) #profile .descs .nav-tabs > li.active > a {
        color: #fff;
        background: linear-gradient(135deg, var(--pp-pink), #dc176f);
    }

    body:has(#profile) #profile .comments_elements {
        padding: 15px 16px;
    }

    body:has(#profile) #profile .comments-container,
    body:has(#profile) #profile .question-container {
        padding: 14px;
        border-radius: 16px;
    }

    body:has(#profile) footer {
        padding-top: 30px;
    }

    body:has(#profile) footer > .container {
        flex-direction: column;
        gap: 19px;
        justify-content: center;
        padding-bottom: 26px;
        text-align: center;
    }

    body:has(#profile) footer .pull-right {
        justify-content: center;
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    body:has(#profile) #super-slider {
        height: 456px;
    }

    body:has(#profile) #super-slider .super-slider-wrapper {
        height: 440px;
    }

    body:has(#profile) #profile .profile_info .phone-row > a {
        font-size: 17px;
    }
}

/* Remove legacy placeholders only when they contain no profile content. */
body:has(#profile) #profile .status-hero-wrapper:not(:has(> .status-hero > *)) {
    display: none !important;
}

body:has(#profile) #like:not(:has(> .container > .desc > *)) {
    display: none !important;
}

@media (min-width: 992px) {
    body:has(#profile) #profile > .container > .comments_elements:has(> .head_comments.visible-xs.visible-sm:only-child) {
        display: none !important;
    }
}
