/*@font-face {
    font-family: CyrillicRibbon;
    src: url('fonts/ribon.ttf');
    font-weight: normal;
    font-style: normal;
}*/
@font-face {
    font-family: sdks;
    src: url('fonts/sdks.ttf');
    font-weight: normal;
    font-style: normal;
}

a.main_link1 {
    display: block !important;
}

a.main_link2 {
    display: none !important;
}

.chat_num {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    border-radius: 15px;
    color: #fff;
    display: none;
    float: left;
    font-size: 10px;
    margin: 19px 0 0 5px;
    min-width: 15px;
    line-height: 16px;
    text-align: center;
}

@media screen and (max-width: 760px) {
    .pageup {
        right: calc(50% - 320px - 15px);
    }

    .pageup-left {
        display: none !important;
    }
}

@media screen and (max-width: 640px) {
    .pageup {
        right: 15px;
    }
}

@media screen and (max-width: 620px) {
    #topmenu, #topBgMenu, #wrapper, #middle, #footer, #container, #search, #headShadow {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    #content {
        padding: 6px 10px 25px;
    }

    /*#sideLeft {
        background: none repeat scroll 0 0 rgba(245, 245, 245, 0.85);
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
        width: 100%;
    }*/
    #sideLeft {
        background: rgba(0, 0, 0, 0) linear-gradient(to top, rgba(240, 240, 240, 0), rgba(240, 240, 240, 0.9)) repeat scroll 0 0;
        border-radius: 6px;
        height: 100%;
        padding-bottom: 400px;
        padding-top: 40px;
        top: -152px;
        width: 100%;
    }

    .bg_blur {
        filter: blur(2px);
    }

    #sideLeft {
        -webkit-column-count: 2;
        -webkit-column-gap: 0px;
        -webkit-column-fill: unset;
        -moz-column-count: 2;
        -moz-column-gap: 0px;
        -moz-column-fill: unset;
        column-count: 2;
        column-gap: 0px;
        column-fill: unset;
    }

    .close_left_bar {
        background: rgba(0, 0, 0, 0) url("/i/img/close_left.png") no-repeat scroll 0 2px;
        color: #dd2222;
        cursor: pointer;
        display: none;
        font-family: Verdana;
        font-size: 14px;
        font-weight: bold;
        padding-left: 24px;
        position: absolute;
        top: 10px;
    }

    .block {
        float: left;
        margin: 0 0 10px 20px;
        width: 175px;
        -webkit-column-break-inside: avoid;
        -moz-column-break-inside: avoid;
        column-break-inside: avoid;
        display: inline-block;
        background: #fff none repeat scroll 0 0;
    }

    .alfa2 {
        margin-right: 16px;
    }

    #headerBgLeft {
        height: 55px;

        background: #fc0800 url("../i/img/mobile_bg_hny_2023.png") right top no-repeat;
        /*РќРѕРІС‹Р№ РіРѕРґ mobile*/
        /*background: none repeat scroll 0 0 #fa2400 !important;*/
        /*padding-right: 25px;*/
        text-indent: 0;
    }

    .logocityin #headerBgLeft {
        background: #fc0800 url("../i/img/mobile_bg_hny_2023.png") right top no-repeat;
        /*РќРѕРІС‹Р№ РіРѕРґ mobile*/
        /*background: none repeat scroll 0 0 #fa2400;*/
        padding-right: 25px;
        text-indent: 0;
    }

    .logocitydeva #headerBgLeft {
        background: #fc0800 url("../i/img/mobile_bg_hny_2023.png") right top no-repeat;
        /*РќРѕРІС‹Р№ РіРѕРґ mobile*/
        /*background: none repeat scroll 0 0 #fa2400;*/
        padding-right: 25px;
        text-indent: 0;
    }

    .logocityin_only #headerBgLeft {
        background: #fc0800 url("../i/img/mobile_bg_hny_2023.png") right top no-repeat;
        /*РќРѕРІС‹Р№ РіРѕРґ mobile*/
        /*background: none repeat scroll 0 0 #fa2400;*/
        padding-right: 25px;
        text-indent: 0;
    }

    .logocityindi #headerBgLeft,
    .logocityin #headerBgLeft,
    .logocitydeva #headerBgLeft,
    .logocityin_only #headerBgLeft {
        background: #fc0800 url("../i/img/mobile_bg_hny_2023.png") right top no-repeat;
    }

    /* Desktop Snow on Header */
    .snow_adp {
        background: url("../i/img/snow_head_new_year.png") repeat-x scroll 0 0 transparent;
        height: 14px;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 100;
        left: 0;
    }

    /*#headerBgLeft a {
        color: #fff;
        display: block;
        font-family: sdks;
        font-size: 40px;
        font-weight: bold;
        padding-top: 18px;
        text-align: right;
        text-decoration: none;
    }*/
    #headerBgLeft a {
        color: #fff;
        display: block;
        font-family: "Lobster", cursive;
        font-size: 22px;
        font-weight: normal;
        padding-top: 25px;
        text-align: right;
        text-decoration: none;
    }

    #headerBgLeft a {
        margin-left: 53%;
        width: 47%;
    }

    #menuRight {
        display: none;
    }

    #menuRight,
    #menuRight2 {
        background: none repeat scroll 0 0 #fff;
        float: right;
        height: 25px;
        margin-top: 3px;
        padding-right: 0;
        padding-left: 2%;
        width: 98%;
    }

    #header {
        height: 128px;
        padding-top: 10px;
    }

    #headerBg {
        height: 55px;
    }

    #headerBgLeft {
        height: 55px;
    }

    #search {
        padding-left: 0px;
        background: url("../i/img/head_bbg.png") repeat-x scroll 0 0 #fff;
    }

    .searchphone {
        padding: 2px 10px 0;
    }

    .book_check_adp {
        background: url("../i/img/book.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
        color: #fff;
        cursor: pointer;
        display: block;
        float: left;
        font-family: verdana;
        font-size: 12px;
        font-weight: bold;
        height: 20px;
        line-height: 23px;
        margin-left: 20px;
        margin-top: 15px;
        padding-left: 29px;
        position: relative;
        z-index: 9999;
    }

    /*.main_check_adp {
        background: rgba(0, 0, 0, 0) url("../i/img/admin_house.png") no-repeat scroll 0 0;
        color: #fff;
        cursor: pointer;
        display: none;
        float: left;
        font-family: verdana;
        font-size: 12px;
        font-weight: bold;
        height: 20px !important;
        line-height: 23px;
        margin-left: 14px !important;
        margin-top: 25px;
        padding-left: 29px;
        position: relative;
        width: 0 !important;
        z-index: 9999;
    }*/
    .menu_check_adp {
        background: url("../i/img/menu_adp.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
        color: #fff;
        cursor: pointer;
        display: block;
        float: left;
        font-family: verdana;
        font-size: 12px;
        font-weight: bold;
        height: 20px;
        line-height: 23px;
        margin-left: 14px;
        margin-top: 15px;
        padding-left: 29px;
        position: relative;
        z-index: 9999;
    }

    .sidebar {
        display: none;
    }

    #content table {
        width: 100% !important;
    }

    #content .contstory,
    #content_dop .contstory {
        width: 100%;
    }

    .story_img {
        margin-bottom: 15px;
    }

    .highslide-gallery img {
        width: 100%;
    }

    .breadcrumbs {
        margin: 2px 0 10px;
    }

    /*.breadcrumbs a { РµСЃР»Рё РєСЂРѕС€РєР° РЅРµ РєР°СЂС‚РёРєР°
        background: rgba(0, 0, 0, 0) url("/i/img/home_adp.png") no-repeat scroll 0 0;
        border: medium none;
        display: inline-block;
        height: 16px;
        line-height: 18px;
        text-decoration: none;
        text-indent: -9999px;
        width: 16px;
    }*/
    .breadcrumbs a {
        background: rgba(0, 0, 0, 0) url("/i/img/home_adp.png") no-repeat scroll 0 2px;
        border: medium none;
        display: inline-block;
        height: 20px;
        line-height: 18px;
        margin-right: 21px;
        text-decoration: none;
        text-indent: -9999px;
        width: 16px;
    }

    .breadcrumbs a:hover {
        background: rgba(0, 0, 0, 0) url("/i/img/home_adp.png") no-repeat scroll 0 2px;
    }

    .breadcrumbs a::before {
        /*left: 33px;*/
        left: calc(100% + 8px);
    }

    #YMapsID {
        width: 100% !important;
    }

    #menuMenu,
    #menuLogin,
    #menuAnkets,
    #menuChat,
    #menuProbiv,
    #menuBook {
        background: #fff none repeat scroll 0 0;
        border-bottom: 3px solid #ff0000;
        box-shadow: none;
        color: #fff;
        display: none;
        height: auto;
        line-height: 13px;
        padding: 8px 2%;
        position: absolute;
        top: 88px;
        width: 96%;
        z-index: 2;
    }

    #menuMenu span {
        display: none;
    }

    #menuMenu .menu,
    #menuMenu .noactivelink,
    #menuMenu .activelink,
    #menuAnkets .menu,
    #menuChat .menu,
    #menuProbiv .menu,
    #menuLogin .menu,
    #menuBook .menu {
        background-color: #eee;
        border: 1px solid #ccc;
        border-radius: 3px;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 1px 3px rgba(0, 0, 0, 0.1);
        display: block;
        float: left;
        /*font: 12px "Bonveno","Century Gothic";*/
        font: 12px "verdana";
        height: auto;
        list-style: outside none none;
        margin: 0;
        padding: 5px 0;
        text-align: center;
        width: 100%;
        width: calc(100% - 2px);
        text-decoration: none;
    }

    #menuMenu b {
        display: block;
        float: left;
        /*font: 12px "Bonveno","Century Gothic";*/
        font: 12px "verdana";
        height: auto;
        list-style: outside none none;
        margin: 0;
        padding: 5px 0;
        text-align: center;
        width: calc(100% - 2px);
        text-decoration: none;
        color: #333;
        font-weight: bold;
    }

    #menuProbiv .menu[href="/blacklist/probivpost"] {
        font-weight: bold;
    }

    #menuMenu .menu:hover,
    #menuMenu .noactivelink:hover,
    #menuMenu .activelink:hover,
    #menuAnkets .menu:hover,
    #menuLogin .menu:hover,
    #menuBook .menu:hover {
        background: #e8e8e8 none repeat scroll 0 0;
        text-decoration: underline;
    }

    #menuMenu .activelink {
        background: #e8bcc4 none repeat scroll 0 0;
        border: 1px solid #ccb2ab;
        box-shadow: 0 1px 0 rgba(255, 199, 197, 0.90) inset, 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    /*#menuMenu a:nth-child(15) {
        margin-top: 10px;
    }*/
    #menuMenu a[href="/porno-rasskazy"] {
        margin-top: 10px;
    }

    #menuMenu a[href="/porno-rasskazy"]:first-child {
        margin-top: 0;
    }

    .left_bar_icon {
        /*display: block;*/
        display: none;
    }

    #navigRightBg .sidebar_active {
        display: block;
    }

    .sidebar_active .b_prim {
        display: none !important;
    }

    .YMaps-b-balloon-content {
        width: auto !important;
    }

    .highslide-gallery img {
        margin-left: -1px !important;
    }

    #addmsg textarea {
        width: 100% !important;
    }

    #content .pagingList a,
    #content_dop .pagingList a {
        color: #dd2222;
        font-size: 12px;
        font-weight: bold;
        margin: 0 6px;
        line-height: 20px;
    }

    .ver12 .index {
        font-size: 12px;
        font-weight: bold;
        line-height: 20px;
        margin: 0 6px;
    }

    .highslide-gallery>p {
        display: none;
    }

    .rnd5 input {
        width: 98% !important;
    }

    @media screen and (max-width: 620px) {
        .rnd5 input._probivka-address {
            width: 95px !important;
        }

        .rnd5 #telegram,
        .rnd5 #email,
        .rnd5 #skype,
        .rnd5 #mamba {
            width: 160px !important;

            margin: 0 4px;
        }
    }

    @media screen and (min-width: 320px) and (max-width: 420px) {

        .rnd5 #telegram,
        .rnd5 #email,
        .rnd5 #skype,
        .rnd5 #mamba {
            width: 125px !important;
        }
    }

    input._check-inp {
        font-family: Arial;
        font-size: 11px;

        width: 95px !important;
    }

    .rnd5 textarea {
        width: 99% !important;
    }

    .rnd5 .addmetros input {
        width: auto !important;
    }

    /*---autorization---*/
    .login_check_adp {
        background: url("../i/img/key.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
        color: #fff;
        cursor: pointer;
        display: block;
        float: left;
        font-family: verdana;
        font-size: 12px;
        font-weight: bold;
        height: 20px;
        line-height: 23px;
        margin-left: 14px;
        margin-top: 15px;
        padding-left: 29px;
        position: relative;
        z-index: 9999;
    }

    #menuLogin input[name=login],
    #menuLogin input[name=password] {
        width: 100% !important;
    }

    #menuLogin table {
        width: calc(100% - 10px) !important;
    }

    #menuLogin .ver11 {
        color: #8a8a8a !important;
        width: 58px;
    }

    #menuLogin input.button {
        width: calc(100% + 5px) !important;
    }

    @media screen and (max-width: 620px) {
        #menuLogin input.button._login-btn {
            width: calc(100% + 7px) !important;
        }
    }

    #menuLogin .t {
        text-align: center;
        list-style: none;
    }

    #menuLogin .t a {
        background-color: #eee;
        border: 1px solid #ccc;
        border-radius: 3px;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 1px 3px rgba(0, 0, 0, 0.1);
        display: block;
        float: left;
        /*font: 12px "Bonveno","Century Gothic";*/
        font: 12px "verdana";
        height: auto;
        list-style: outside none none;
        margin: 0 0 0 -5px;
        padding: 5px 0;
        text-align: center;
        text-decoration: none;
        width: calc(100% - -2px);
    }

    #menuLogin .t a:hover {
        background: #e8e8e8 none repeat scroll 0 0;
        text-decoration: underline;
    }

    @media screen and (max-width: 620px) {
        #menuLogin .t a.menu._a-menu {
            width: calc(100% + 6px) !important;
        }

        #menuLogin .t a.menu._a-menu.admin-anketa-link {
            box-sizing: border-box;
            line-height: 16px;
            margin-left: 0;
            overflow-wrap: anywhere;
            white-space: normal;
            width: calc(100% - 6px) !important;
        }
    }

    #menuLogin .t a img {
        display: none;
    }

    #menuLogin .t.cabluc_adp a img {
        display: inline;
    }

    #menuLogin .t_one {
        margin-top: 10px;
    }

    #menuLogin input {
        margin-bottom: 3px;
    }

    .ankets_check_adp {
        background: url("../i/img/profile.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
        color: #fff;
        cursor: pointer;
        display: none;
        float: left;
        font-family: verdana;
        font-size: 12px;
        font-weight: bold;
        height: 24px;
        line-height: 23px;
        margin-left: 14px;
        margin-top: 15px;
        padding-left: 29px;
        position: relative;
        z-index: 9999;
    }

    .chat_check_adp {
        background: url("../i/img/chat.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
        color: #fff;
        cursor: pointer;
        display: none;
        float: left;
        font-family: verdana;
        font-size: 12px;
        font-weight: bold;
        height: 24px;
        line-height: 23px;
        margin-left: 14px;
        margin-top: 15px;
        padding-left: 29px;
        position: relative;
        z-index: 9999;
    }

    .probiv_check_adp {
        background: url("../i/img/info.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
        color: #fff;
        cursor: pointer;
        display: none;
        float: left;
        font-family: verdana;
        font-size: 12px;
        font-weight: bold;
        height: 24px;
        line-height: 23px;
        margin-left: 14px;
        margin-top: 15px;
        padding-left: 29px;
        position: relative;
        z-index: 9999;
    }

    .clip {
        margin-right: 0px;
    }

    .track {
        margin-right: 0px;
    }

    /*---Р¤РѕСЂСѓРј Р»РёСЃС‚---*/
    .forum_box {
        min-width: inherit;
    }

    .baraholka_form {
        width: 100%;
    }

    .baraholka_form input {
        width: 100% !important;
    }

    .baraholka_form textarea {
        width: 100% !important;
    }

    .baraholka_btn {
        max-width: 80px;
    }

    .baraholka_form #cena {
        max-width: 50px;
    }

    a.main_link1 {
        display: none !important;
    }

    a.main_link2 {
        display: block !important;
    }

    table.uslugi_block table .ver11 {
        display: block !important;
        width: 50%;
        float: left;
    }

    #mapStep2 img {
        max-width: 340px;
        width: 100%;
        height: auto;
    }

    #regi .probivphone_form input {
        width: auto !important;
    }

    #regi .probivphone_form input[name="tel"] {
        max-width: 120px;
    }

    /*---Mosaic---*/
    .mosaic-box {
        float: left;
        width: 100%;
    }

    a.like-foto {
        background: #fff;
        padding: 5px 6px;
        border-radius: 4px 0 0 0;
        margin: -28px 0px 0 0;
        position: relative;
        z-index: 2;
    }

    a.like-foto:hover,
    .a.like-foto:hover .icon-like,
    a.like-foto.like-active {
        background: rgba(255, 255, 255, 0.8);
    }

    .search-fetish {
        width: 100%;
    }

    .big-search-row-2 {
        padding: 5px 5px 5px 0;
        width: 100%;
    }

    .bsr-mb--10 {
        margin-top: 0;
    }

    .applinks {
        width: 100%;
    }

    .noretouch {
        margin-top: 0;
    }

    p.pnletter {
        max-width: 590px;
    }

    .video-ank-new {
        margin: 20px 0 10px 0;
    }
}

@media screen and (max-width: 540px) {
    .bigsearch table table .ver11 {
        display: table-cell;
    }

    .bigsearch .adp_rayon_td {
        display: block;
        left: -10px;
        margin: 0 auto;
        position: relative;
        width: 100%;
    }

    .bigsearch .adp_rayon_td2 {
        display: block;
        margin: 0 auto;
        position: relative;
        width: 100%;
    }

    .bigsearch .adp_rascen {
        display: none
    }

    .bigsearch .search-har {
        display: block;
        width: 100%;
    }

    .bigsearch .search-har tr {
        display: block;
        width: 100%;
    }

    .bigsearch .search-har td {
        display: none;
    }

    .bigsearch .search-har .ver11 {
        display: block;
        float: left;
        width: 50%;
    }

    .bigsearch .ver12 {
        font-size: 11px;
    }

    p.pnletter {
        max-width: 510px;
    }
}

@media screen and (max-width: 440px) {

    /*480px*/
    #wrapper {
        /*width: 360px;*/
        max-width: 440px;
        width: 100%;
    }

    /*.storyDescAnketa, .storyAnons, .storyDescAnketa {
        display: none;
    }*/
    /*.storyLeft, .storyLeftCompare {
        width: 162px;
        float: left;
        margin: 0 4px 10px 4px;
    }*/
    .storyLeft,
    .storyLeftCompare {
        float: none;
        margin: 0 auto 10px;
        width: 100%;
    }

    .storyRight {
        background: none !important;
    }

    #content .pagingList,
    #content_dop .pagingList {
        clear: both;
    }

    .s_previe {
        height: 48px;
        overflow: hidden;
    }

    .breadcrumbs {
        font-size: 14px;
    }

    #headerBgLeft a {
        font-family: "Lobster", cursive;
        font-size: 17px;
        padding-top: 26px;
    }

    .block {
        margin: 0 0 10px 9px;
    }

    .adp_report {
        float: left;
        width: 50%;
    }

    table table table .ver11.adp_noblock {
        display: table-cell !important;
    }

    div#tipDiv.forum {
        max-width: 200px;
        width: 100% !important;
    }

    /*---РљР°С‚Р°Р»РѕРі РІ Р°РЅРєРµС‚Рµ(РєСѓСЃРѕРє СЃ С†РµРЅР°РјРё Рё РјРµС‚СЂРѕ)---*/
    /*.storyDescAnketa {
        display: block;
        width: 100% !important;
    }*/
    .storyDescAnketa {
        display: block;
        margin: 0 10px 0 0;
        width: 100px !important;
        width: calc(100% - 130px) !important;
    }

    .notxt_story {
        margin: 10px 10px 5px 0;
        width: 100px !important;
        width: calc(100% - 130px) !important;
    }

    /*.descFirst {
        font-weight: bold;
        height: auto;
        padding-top: 10px;
        text-align: center;
        width: 146px !important;
    }*/
    .descFirst {
        height: auto;
        /*padding-top: 5px;*/
        text-align: left;
        width: 100% !important;
        position: relative;
    }

    /*.storyLeft {
        border-radius: 7px;
    }*/
    .storyLeft {
        border-radius: 9px;
        background: #fff !important;
        border: 1px solid #ccc;
        position: relative;
    }

    .story {
        border-bottom: none;
        border-top: none;
        margin-right: 7px;
        padding: 5px 0;
    }
    .story:after {
        content: "";
        display: table;
        clear: both;
    }

    /*.txtparam {
        display: none;
    }*/

    .txtparam span {
        font-family: Arial;
        font-size: 11px;
    }

    /*.price {
        font-size: 11px;
        padding-top: 12px;
        width: 146px !important;
    }*/
    .price {
        font-size: 11px;
        width: 100% !important;
    }

    /*.storyDescAnketa .infoLeft, .storyDescAnketa .infoRight {
        display: none;
    }*/
    .storyDescAnketa .infoRight {
        /*display: none;*/
        padding: 5px 0 0 0;
    }

    .storyDescAnketa._sda-detailed-blk .infoRight {
        width: auto !important;
        max-width: 170px;

        display: flex;
        align-items: center;

        overflow: hidden;
        padding: 1px 7px 0 0;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storyDescAnketa .infoRight i,
    .storyDescAnketa .infoRight b {
        display: none;
    }

    .id-ank-lc {
        display: none;
    }

    .provereno {
        position: relative;
    }

    /*.provereno::before {
        background: #fff none repeat scroll 0 0;
        border: 2px solid #eee;
        border-radius: 3px;
        bottom: 10px;
        color: green;
        content: "Р¤РѕС‚Рѕ РїСЂРѕРІРµСЂРµРЅРѕ!";
        font-family: Verdana;
        font-size: 10px;
        font-weight: bold;
        left: 3px;
        position: absolute;
        text-align: center;
        width: 110px;
        z-index: 0;
    }*/
    .provereno::before {
        display: none;
        bottom: 7px;
        color: green;
        content: "Р¤РѕС‚Рѕ РїСЂРѕРІРµСЂРµРЅРѕ!";
        /*font-family: Verdana;*/
        font-size: 10px;
        font-weight: bold;
        background: rgba(255, 255, 255, 0.8);
        right: 0px;
        position: absolute;
        padding: 2px 0px;
        border-radius: 0 0 4px 2px;
        text-align: center;
        width: 114px;
        z-index: 1;
    }

    .adp_ank_edit_table~.adp_edin_ank .provereno::before {
        display: none;
    }

    @media all and (-webkit-min-device-pixel-ratio:0) {

        /*Р·РґРµСЃСЊ СЃС‚РёР»Рё РґР»СЏ С…СЂРѕРјР°*/
        .infoLeft {
            margin: -6px 0 0 0;
            z-index: 1;
            position: relative;
        }
    }

    .imganketa {
        width: 114px !important;
    }

    div.imganketa img {
        border-radius: 4px;
        width: auto !important;
        height: 160px !important;
        max-width: 120px;
        object-fit: cover;
        object-position: center;
        border: none !important;
    }

    .ankets_check_adp,
    .chat_check_adp,
    .probiv_check_adp {
        /*text-indent: -9999px;*/
        margin-left: 20px;
    }

    .chat_check_adp {
        text-indent: -9999px;
    }

    .otlozenie .storyAnons {
        border-top: none;
        border-bottom: none;
    }

    .otlozenie .storyDescAnketa .infoRight {
        display: block;
        /*position: absolute;*/
        top: 145px;
        max-width: 120px;
    }

    .otlozenie .storyLeft {
        min-width: 290px;
    }

    .otlozenie .ankets_move_control td:first-child {
        display: flex;
        flex-wrap: wrap;
    }

    .tracked .storyAnons {
        border-top: none;
        border-bottom: none;
    }

    .tracked .storyDescAnketa .infoRight {
        display: block;
        /*position: absolute;*/
        top: 145px;
        max-width: 120px;
    }

    .tracked .storyLeft {
        min-width: 290px;
    }

    .tracked .ankets_move_control td:first-child {
        display: flex;
        flex-wrap: wrap;
    }

    .storyAnonsHide {
        display: block;
    }

    /*---Edit ankets---*/
    .adp_ank_edit_table {
        border-radius: 5px;
        margin: 15px auto 0 !important;
    }

    .adp_ank_edit td:first-child {
        margin: 3px 0 5px;
    }

    .adp_ank_edit>tbody>tr>td {
        float: left;
        padding: 0;
        text-align: center;
        width: auto;
        margin: 2px 3px 3px 4px;
    }

    .adp_ank_edit>tbody>tr>td>form {
        margin: 0 !important;
    }

    .adp_ank_edit>tbody>tr>td input {
        float: left;
        padding: 0;
        width: auto !important;
    }

    /*---Р¤РѕСЂСѓРј---*/
    .maxstep {
        padding-left: 80px !important;
    }

    /*---top/video---*/
    .viewtop {
        position: absolute;
        margin: 0;
        top: 96px;
        right: 126px;
    }

    .viewvideo {
        position: absolute;
        margin: 0;
        top: 146px;
        right: 126px;
    }

    .prioritet_view {
        margin: 17px 0 0 5px;
    }

    .adp_oplata_none {
        display: none !important;
    }

    /*courer*/
    .courer {
        margin: 0 0 -1px -1px;
        max-width: 100%;
        width: calc(100% + -16px);
    }

    .courer span {
        width: 100%;
    }

    .courer_filter a {
        padding: 0 0;
        display: inline-block;
    }

    .courer_select {
        display: inline-block;
        margin: 10px 0 0 0;
        width: 100%;
    }

    /*bigsearch*/
    #showhars {
        display: inline;
    }

    .bigsearch .search-har {
        display: none;
    }

    .bigsearch .search-har .ver11 {
        width: 100%;
    }

    /*РћС‚Р»РѕР¶РµРЅРЅС‹Рµ*/
    .ankets_move_control td:first-child {
        width: 100%;
        float: left;
        text-align: center;
    }

    .ankets_move_control td:last-child {
        width: 100%;
        float: left;
        margin: 10px 0 10px 0;
        text-align: center;
    }

    .ankets_move_control td:last-child select {
        width: 100%;
        margin: 5px 0 0 0;
    }

    .search_pometka_form {
        position: relative;
        width: calc(100% - 8px);
        right: 0;
        top: 0;
        margin: 15px 0 15px 0;
    }

    .search_pometka_form input[type="search"] {
        width: calc(100% - 65px);
        float: left;
    }

    .search_pometka_form input[type="submit"] {
        display: block;
        width: 60px;
        padding: 0;
        float: right;
    }

    .anketa_del {
        font-size: 23pt;
        left: 12px;
        top: 250px;
    }

    .anketa_ban {
        font-size: 15pt;
        top: 250px;
    }

    /*Compare*/
    .table_compare .price {
        font-size: 10px;
        min-width: 90px;
        text-align: left;
    }

    .table_compare .price span.txtpricehour {
        width: 42px;
    }

    .table_compare .notxt_story {
        width: calc(100% - 125px) !important;
    }

    .table_compare .viewtop,
    .table_compare .viewtop_massage,
    .table_compare .viewtop_bdsm {
        position: absolute;
        margin: 0;
        top: 10px;
        right: 4px;
    }

    .checked-form-box-right {
        display: none;
    }

    .checked-form-box-left {
        width: 100%;
    }

    p.app-preview {
        width: 100%;
        margin: 0 0 15px 0;
    }

    img.mobileapp-img {
        display: none;
    }

    .ac-container input:checked~article.ac-small {
        /*height: 200px;*/
        height: auto;
    }

    .ac-container input:checked~article.ac-medium {
        /*height: 140px;*/
        height: auto;
    }

    .ac-container input:checked~article.ac-large {
        /*height: 480px;*/
        height: auto;
    }

    .settings-ank ul {
        right: -75px;
    }

    .notxt_price {
        padding-top: 5px;
    }

    .notxt_story {
        margin: 6px 10px 5px 0;
        padding: 5px 0 5px;
    }

    /*---Р РµР·СѓР»СЊС‚Р°С‚С‹ РїРѕРёСЃРєР°---*/
    .adp_krit_td {
        float: left;
        width: 100%;
    }

    /*---РћС†РµРЅРєРё---*/
    .up-bloc-user {
        max-width: 120px;
    }

    td.up-ocenki-basic {
        float: left;
        width: 100%;
        padding: 2px 5px 0 3px !important;
        box-sizing: border-box;
    }

    td.up-ocenki-dop {
        width: 100%;
        float: left;
        padding: 0 5px 2px 3px !important;
        box-sizing: border-box;
    }

    .comment_push {
        padding: 3px 0 0 0;
    }

    .comment_push input[type="text"] {
        float: left;
        width: calc(100% - 80px);
        box-sizing: border-box;
        margin: 3px 0 0 0;
    }

    .comment_push img {
        float: right;
        margin: -3px 0 0 0 !important;
    }

    .comment_push input[type="button"] {
        float: left !important;
        margin: 5px 0 0 0 !important;
    }

    /*---РџСЂРѕРІРµСЂРµРЅРѕ РїРѕР»СЊР·РѕРІР°С‚РµР»СЏРјРё---*/
    .checked-users td:first-child {
        width: auto;
    }

    .checked-users td:last-child {
        display: none;
    }

    .ank_otloz_dis {
        font-size: 10px;
    }

    .ank_tracked_dis {
        font-size: 10px;
    }

    .simular_info_dis span {
        width: 114px;
        height: 160px;
        right: 6px;
        font-size: 10px;
    }

    .simular_info_dis_com span {
        width: 120px;
        height: 167px;
    }

    .simular_info_dis_top span {
        width: 115px;
        height: 160px;
    }

    .ank_express {
        font-size: 11px;
        width: 100%;
        margin: 0 0 -5px 0;
    }

    .ank_express~.storyAnons {
        margin: 4px 0 4px;
        padding: 4px 0 4px;
    }

    .ank_express_forstory~.storyAnons {
        padding: 4px 0 4px;
    }

    .focus-maxwidth:focus {
        max-width: 125px;
        transition: 0.3s;
    }

    p.pnletter {
        max-width: 410px;
    }

    .i-nightescort {
        top: 80px;
        left: -24px;
    }

    .i-nightescort::after {
        background: url(/i/img/nightescort-24.png);
        width: 24px;
        height: 24px;
    }

    .i-nightescort::before {
        display: none;
    }

    .img_left .storyDescAnketa {
        width: calc(100% - 135px) !important;
    }

    .img_left .notxt_story {
        width: calc(100% - 135px) !important;
    }

    .img_left .provereno {
        background: url(../images/checked_gamma.png) no-repeat scroll 160px 0 rgba(0, 0, 0, 0) !important;
    }

    .img_left .provereno::before {
        right: auto;
        left: 0;
    }

    /*Crypto*/
    .crypto-form {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .crypto-form__input {
        flex-direction: column;
        align-items: flex-start;
    }

    .crypto-form__input label {
        width: 100%;
    }

    .crypto-form__input input,
    .crypto-form__input select {
        width: 100%;
        margin: 5px 0 0 0;
    }

    .crypto-form__desc {
        margin: 5px 0 0 0;
    }

    .crypto-form input[type="submit"] {
        margin: 0;
    }
}

@media screen and (max-width: 620px) {

    select._ankets_on_page,
    select._sel-sort,
    select._sel-dir {
        width: 100%;

        margin: 5px 0;
    }
}

@media screen and (max-width: 375px) {

    /*320px*/
    #wrapper {
        /*max-width: 300px;*/
        max-width: 375px;
        width: 100%;
    }

    /*.storyLeft, .storyLeftCompare {
        float: none;
        margin: 0 auto 10px;
        width: 162px;
    }*/
    .storyLeft,
    .storyLeftCompare {
        float: none;
        margin: 0 auto 10px;
        width: 100%;
    }

    #sideLeft {
        -moz-column-count: 1;
        -moz-column-fill: auto;
        -moz-column-gap: 0;
        -webkit-column-count: 1;
        -webkit-column-gap: 0px;
        -webkit-column-fill: auto;
        column-count: 1;
        column-gap: 0px;
        column-fill: auto;
    }

    .block {
        display: block;
        float: left;
        margin: 0 10% 10px;
        width: 80%;
    }

    #searchStr {
        /*width: 60px;*/
    }

    #menuRight,
    #menuRight2 {
        overflow: hidden;
    }

    table table table .ver11 {
        display: block !important;
    }

    table table .ver11 {
        display: none;
    }

    table .otziv_men table .ver11 {
        display: block;
    }

    table.table-price table .ver11 {
        display: table-cell;
    }

    table.uslugi_block table .ver11 {
        display: block !important;
        width: 100%;
    }

    .ver12 {
        font-size: 9px;
    }

    .menu_check_adp {
        background: url("../i/img/menu_adp.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
        color: #fff;
        cursor: pointer;
        display: block;
        float: left;
        font-family: verdana;
        font-size: 12px;
        font-weight: bold;
        height: 20px;
        line-height: 23px;
        margin-left: 14px;
        margin-top: 15px;
        padding-left: 29px;
        position: relative;
        z-index: 9999;
        width: 30px;
        /*text-indent: -9999px;*/
    }

    .menu_check_adp~.login_check_adp {
        margin-left: 25px;
    }

    #menuRight2 .menu {
        display: inline-block;
    }

    #menuRight2 .menu:nth-child(4) {
        /* Reset any icon styling to show text instead */
        background: none;
        height: auto;
        width: auto;
        text-indent: 0;
        line-height: inherit;
    }

    #menuRight2 .menu:nth-child(5) {
        /* Reset any icon styling to show text instead */
        background: none;
        height: auto;
        width: auto;
        text-indent: 0;
        line-height: inherit;
    }

    .add_mail_form select {
        max-width: 150px !important;
    }

    .probiv_check_adp {
        text-indent: -9999px;
    }

    /*---РџСЂРѕР±РёРІРєР°---*/
    #regi input {
        width: 100% !important;
    }

    input._probivka-address {
        width: 95px !important;
    }

    #_probivka-check-address {
        width: 95px !important;
    }

    @media screen and (max-width: 620px) {
        input._check-inp {
            /*margin-bottom: 6px;*/
        }

        #regi #ulitca,
        #regi #adrdom,
        #regi #adrkorp,
        #regi #adrkvart {
            width: 184px !important;
        }

        #regi input._probivka-address {
            width: 95px !important;
        }

        #regi #_probivka-check-address {
            width: 95px !important;
        }
    }

    .adp_prob_del {
        display: none;
    }

    .prob_adp td {
        float: left;
        text-align: center;
        width: 100% !important;
    }

    .adp_carflug {
        display: none;
    }

    .adp_provinfo {
        display: none;
    }

    #content .adp_provinfo_table {
        width: 115% !important;
    }

    .prob_adp input {
        width: 100% !important;
    }

    .adp_probiv_sviz {
        width: 65px !important;
    }

    .adp_probiv_otviz {
        width: 65px !important;
        margin-left: -5px;
    }

    #addgemor input {
        width: 100% !important;
        box-sizing: border-box;
    }

    #addgemor input[type="checkbox"] {
        width: auto !important;
    }

    #addgemor textarea {
        width: 100% !important;
        box-sizing: border-box;
    }

    .adp_gemor_list {
        /*margin-left: -90px;*/
        min-width: 240px;
    }

    #regi .probivphone_form #regi input {
        width: auto !important;
    }

    #regi .probivphone_form #regi input[name="tel"] {
        max-width: 120px;
    }

    .ppf_phmin {
        display: inline;
    }

    .ppf_phmax {
        display: none;
    }

    #regi .prob-gorod>td>div>input {
        width: auto !important;
    }

    /*---Р РµР·СѓР»СЊС‚Р°С‚С‹ РїРѕРёСЃРєР°---*/
    .adp_bs_res_f select {
        margin: 5px 0;
        width: 100%;
    }

    .login_check_adp {
        /*text-indent: -9999px;*/
    }

    /*---Р Р°СЃСЃРєР°Р·---*/
    .story_img {
        width: calc(100% - 7px);
    }

    .reiting_basic {
        width: 100%;
    }

    .story_ava {
        width: 100%;
    }

    /*---top/video---*/
    .viewtop {
        position: absolute;
        margin: 0;
        top: 96px;
        right: 126px;
    }

    .viewvideo {
        position: absolute;
        margin: 0;
        top: 146px;
        right: 126px;
    }

    #setprobiv td {
        padding: 0 !important;
    }

    .adp_prob_gde {
        width: 100%;
    }

    .adp_prob_gde>td:last-child {
        display: block;
        float: left;
        /*margin-left: -90px;*/
        width: calc(100% + 90px);
    }

    #addgemor .adp_prob_gde .checkbox {
        width: auto !important;
    }

    .adp_prob_gde #YMapsID {
        float: right;
        margin-right: -5px;
        max-width: 270px !important;
    }

    #trMap td:first-child b,
    #trMap td:first-child {
        color: #F5F5F5 !important;
    }

    /*Р‘С‹СЃС‚СЂР°СЏ СЂРµРіРёСЃС‚СЂР°С†РёСЏ Рё РІС…РѕРґ*/
    .flip-container {
        width: 100%;
    }

    #flip_login {
        margin: 0 0 20px 0;
        width: 100%;
    }

    #flip_reg {
        margin: 0 0 20px 0;
        width: 100%;
    }

    /*courer*/
    .formcourer {
        padding: 0;
        width: 100%;
    }

    .formcourer>label>label {
        float: left;
        margin: 0 10px 0 0;
    }

    .formcourer input[type=number] {
        width: calc(100% - 110px);
    }

    .black_btn,
    .black_btn_mini {
        margin: 0 0 6px 0;
    }

    .black_btn input,
    .black_btn_mini input {
        font-size: 11px !important;
        padding: 5px 0;
    }

    p.pnletter {
        max-width: 345px;
    }

    /*dropzone*/
    .adv-video {
        max-width: 100%;
    }

    .adv-info {
        width: 100%;
        margin: 5px 0 10px 0;
    }
}

@media screen and (max-width: 319px) {
    .ankets_check_adp {
        text-indent: -9999px;
    }

    #menuRight2 .menu:nth-child(3) {
        background: url("/i/img/par_adp2.png") no-repeat 2px 0;
        height: 16px;
        width: 16px;
        text-indent: -9999px;
        line-height: 18px;
    }

    /*Compare*/
    .table_compare .storyLeft,
    .table_compare .storyLeftCompare {
        height: 330px;
        max-width: 128px;
    }

    .table_compare .storyDescAnketa,
    .table_compare .storyAnons {
        width: 100% !important;
    }

    .table_compare .notxt_metro {
        margin-top: 5px;
    }

    .add-foto-ava a {
        width: 100%;
    }

    .table_compare .simular_info_dis span {
        right: calc(50% - 57px);
    }

    p.pnletter {
        max-width: 290px;
    }
}

@media screen and (max-width: 260px) {
    #headerBgLeft a {
        color: #fff;
        display: block;
        font-family: sdks;
        font-size: 36px;
        font-weight: bold;
        padding-top: 38px;
        text-align: right;
        text-decoration: none;
    }
}

/* Profile Cards Responsive */
@media screen and (max-width: 560px) {
    .profile-card {
        flex-direction: column-reverse;
    }

    .profile-card__photo {
        width: 100%;
        height: 200px;
    }

    .profile-card__header {
        flex-direction: column;
        gap: 10px;
    }

    .profile-card__prices {
        text-align: left;
    }

    .profile-card__params {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 620px) {
    #headerBg::after {
        top: 8px !important;
        right: 6px !important;
        width: 54% !important;
        height: 42px !important;
        padding: 9px 10px 0 0 !important;
        border-radius: 5px !important;
        font-size: 19px !important;
        line-height: 22px !important;
        white-space: nowrap !important;
    }

    .profile-list-card.storyLeft {
        box-sizing: border-box !important;
        width: calc(100% - 20px) !important;
        min-width: 0 !important;
        max-width: calc(100% - 20px) !important;
        min-height: 178px !important;
        padding: 8px 116px 0 10px !important;
        margin: 0 10px 10px !important;
        overflow: hidden !important;
    }

    .profile-list-card .profile-list-card__photo {
        right: 9px !important;
        top: 9px !important;
        width: 104px !important;
        height: 146px !important;
    }

    .profile-list-card .profile-list-card__photo img {
        width: 104px !important;
        height: 146px !important;
    }

    .profile-list-card .profile-list-card__top {
        grid-template-columns: 120px 96px !important;
        gap: 8px !important;
        min-height: 96px !important;
    }

    .profile-list-card .profile-list-card__name {
        text-align: left !important;
    }

    .profile-list-card .profile-list-card__prices {
        grid-template-columns: 42px 52px !important;
        column-gap: 2px !important;
        margin-top: 10px !important;
        font-size: 12px !important;
        line-height: 16px !important;
    }

    .profile-list-card .profile-list-card__price-value {
        font-size: 16px !important;
        line-height: 18px !important;
        white-space: nowrap !important;
    }
}

.profile-list-card .profile-list-card__photo > a {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.photo-feed-item > a:first-child {
    position: relative;
    display: block;
}

/* The old circular \"photo checked\" asset is not used on public cards.
   Uploaded photos already receive one permanent site-name watermark. */
.profile-list-card.provereno {
    background-image: none !important;
}

/* Final compact card scale. This lives last so legacy desktop rules cannot
   expand the public list after a cached stylesheet refresh. */
@media (min-width: 621px) {
    /* Public desktop pages previously relied on a negative-margin sidebar.
       Any full-width card could then render underneath it. Use a real two-column
       shell while preserving the original narrow 640px site width. */
    #middle {
        display: flex !important;
        align-items: flex-start;
        overflow: visible !important;
    }

    #sideLeft {
        float: none !important;
        width: 175px !important;
        margin-left: 0 !important;
        flex: 0 0 175px;
        order: 0;
    }

    #container {
        float: none !important;
        width: auto !important;
        min-width: 0;
        flex: 1 1 auto;
        order: 1;
    }

    #content { padding: 10px 12px 28px !important; }

    #content > h1 {
        margin: 2px 0 12px !important;
        font-size: 20px !important;
        line-height: 24px !important;
    }

    .profile-list-card.storyLeft {
        --card-photo-w: 118px;
        grid-template-columns: minmax(0, 1fr) 118px !important;
        grid-template-rows: auto minmax(48px, 1fr) auto !important;
        gap: 0 8px !important;
        width: 100% !important;
        min-height: 190px !important;
        margin: 0 0 10px !important;
        padding: 8px !important;
    }

    .profile-list-card .profile-list-card__photo {
        width: 118px !important;
        height: 174px !important;
        min-height: 0 !important;
    }

    .profile-list-card .profile-list-card__metro,
    .profile-list-card .profile-list-card__name,
    .profile-list-card .profile-list-card__params,
    .profile-list-card .profile-list-card__prices,
    .profile-list-card .profile-list-card__description,
    .profile-list-card .profile-list-card__footer {
        font-size: 12px !important;
        line-height: 16px !important;
    }

    .profile-list-card .profile-list-card__params { margin-top: 4px !important; }

    .profile-list-card .profile-list-card__prices {
        grid-template-columns: 42px 56px !important;
        margin-top: 4px !important;
    }

    .profile-list-card .profile-list-card__price-value {
        font-size: 14px !important;
        line-height: 16px !important;
    }

    .profile-list-card .profile-list-card__description {
        min-height: 48px !important;
        max-height: 52px !important;
        margin-top: 3px !important;
        padding: 4px 0 2px !important;
    }

    .profile-list-card .profile-list-card__footer { min-height: 18px !important; }
}

@media (max-width: 620px) {
    .profile-list-card.storyLeft {
        --card-photo-w: clamp(108px, 30vw, 138px);
        box-sizing: border-box !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) var(--card-photo-w) !important;
        grid-template-areas:
            "top photo"
            "desc desc"
            "footer footer" !important;
        gap: 8px 10px !important;
        width: calc(100% - 20px) !important;
        min-width: 0 !important;
        max-width: calc(100% - 20px) !important;
        min-height: 0 !important;
        padding: 10px !important;
        margin: 0 10px 12px !important;
        overflow: hidden !important;
        background-position: center 18px !important;
        background-size: 118px auto !important;
    }

    .profile-list-card .profile-list-card__photo {
        grid-area: photo !important;
        position: static !important;
        justify-self: end !important;
        width: var(--card-photo-w) !important;
        height: auto !important;
        aspect-ratio: 5 / 7 !important;
    }

    .profile-list-card .profile-list-card__photo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .profile-list-card .profile-list-card__top {
        grid-area: top !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(92px, 104px) !important;
        gap: 8px !important;
        min-height: 0 !important;
    }

    .profile-list-card .profile-list-card__name {
        text-align: left !important;
    }

    .profile-list-card .profile-list-card__params {
        margin-top: 8px !important;
        font-size: 12px !important;
        line-height: 18px !important;
    }

    .profile-list-card .profile-list-card__prices {
        grid-template-columns: 42px 56px !important;
        column-gap: 2px !important;
        margin-top: 30px !important;
        font-size: 13px !important;
        line-height: 20px !important;
        min-width: 0 !important;
    }

    .profile-list-card .profile-list-card__price-value {
        font-size: 16px !important;
        line-height: 20px !important;
        white-space: nowrap !important;
        text-align: right !important;
    }

    .profile-list-card .profile-list-card__description {
        grid-area: desc !important;
        height: auto !important;
        min-height: 50px !important;
        margin: 0 !important;
        padding: 8px 0 !important;
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .profile-list-card .profile-list-card__footer {
        grid-area: footer !important;
        min-height: 24px !important;
        font-size: 14px !important;
        line-height: 20px !important;
        gap: 8px !important;
    }
}

@media (min-width: 621px) {
    .profile-list-card.storyLeft {
        width: 400px !important;
        min-width: 0 !important;
        max-width: 400px !important;
        min-height: 190px !important;
        padding: 8px 114px 0 10px !important;
        margin: 0 auto 14px !important;
        display: block !important;
        overflow: visible !important;
        font-size: 13px !important;
        background-position: 155px 12px !important;
        background-size: 108px auto !important;
    }

    .profile-list-card .profile-list-card__photo {
        right: 8px !important;
        top: 8px !important;
        width: 100px !important;
        height: 140px !important;
    }

    .profile-list-card .profile-list-card__photo img {
        width: 100px !important;
        height: 140px !important;
    }

    .profile-list-card .profile-list-card__top {
        grid-template-columns: 120px 1fr !important;
        gap: 8px !important;
        min-height: 78px !important;
    }

    .profile-list-card .profile-list-card__metro,
    .profile-list-card .profile-list-card__name {
        font-size: 14px !important;
        line-height: 18px !important;
    }

    .profile-list-card .profile-list-card__params {
        margin-top: 6px !important;
        font-size: 14px !important;
        line-height: 17px !important;
    }

    .profile-list-card .profile-list-card__prices {
        grid-template-columns: 48px 1fr !important;
        margin-top: 10px !important;
        font-size: 14px !important;
        line-height: 18px !important;
    }

    .profile-list-card .profile-list-card__price-value {
        font-size: 17px !important;
        line-height: 18px !important;
    }

    .profile-list-card .profile-list-card__description {
        height: 42px !important;
        margin: 6px 0 0 !important;
        padding: 5px 0 !important;
        font-size: 14px !important;
        line-height: 17px !important;
    }

    .profile-list-card .profile-list-card__footer {
        min-height: 24px !important;
        font-size: 14px !important;
        line-height: 18px !important;
    }
}

@media (max-width: 620px) {
    .profile-list-card .profile-list-card__prices {
        grid-template-columns: 40px minmax(43px, 1fr) !important;
        margin-top: 7px !important;
    }
}

/* Final client controls and compact mobile card metrics. Keep this last: legacy files
   contain older duplicated card rules that must not win the cascade. */
.profile-list-card__footer-right {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    min-width: 0;
    gap: 5px;
}

.profile-list-card__new-badge {
    color: #e53935;
    font-size: 11px;
    font-weight: 700;
    line-height: 14px;
    white-space: nowrap;
    text-shadow: 0 0 6px rgba(229, 57, 53, 0.35);
    user-select: none;
}


.profile-photo-badges-bl {
    position: absolute;
    bottom: 6px;
    left: 6px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    pointer-events: none;
    user-select: none;
}

.profile-photo-badges-bl .profile-badge-online,
.profile-photo-badges-bl .profile-badge-girl-of-day {
    position: static;
}

.profile-badge-girl-of-day {
    display: inline-block;
    background: #e52b2b;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.profile-badge-online {
    position: absolute;
    bottom: 6px;
    left: 6px;
    z-index: 4;
    background: #70c400;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    user-select: none;
}

.profile-favorite-button {
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #b40000;
    font: 20px/22px Arial, Verdana, sans-serif;
    text-align: center;
    cursor: pointer;
}

.profile-favorite-button.is-favorite { color: #e00000; }
.profile-favorite-button:disabled { opacity: .55; cursor: wait; }

.profile-favorite-button--detail {
    width: auto;
    height: 30px;
    padding: 3px 10px;
    border: 1px solid #b40000;
    background: #fff;
    color: #b40000;
    font: bold 12px/20px Arial, Verdana, sans-serif;
}

.profile-favorite-button--detail.is-favorite {
    background: #b40000;
    color: #fff;
}

.client-account-menu {
    display: grid;
    gap: 7px;
    padding: 8px;
    font: 12px Arial, Verdana, sans-serif;
}

.client-account-menu a,
.client-account-menu button {
    color: #03c;
    text-decoration: underline;
}

.client-account-menu button {
    width: max-content;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}

.favorites-empty {
    margin: 12px 0;
    padding: 16px;
    border: 1px solid #ccc;
    background: #fff;
    text-align: center;
}

.client-dashboard {
    font: 12px Arial, Verdana, sans-serif;
}

.client-dashboard h1 {
    margin: 0 0 4px;
    color: #c00;
    font-size: 20px;
}

.client-dashboard h2 {
    margin: 0 0 10px;
    color: #c00;
    font-size: 17px;
}

.client-dashboard__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.client-dashboard__header p { margin: 0; }

.client-dashboard__logout {
    padding: 5px 12px;
    border: 1px solid #999;
    background: linear-gradient(#f8f8f8, #ddd);
    cursor: pointer;
}

.client-dashboard__nav {
    display: flex;
    gap: 8px;
    margin: 10px 0 16px;
}

.client-dashboard__nav a {
    padding: 6px 10px;
    border: 1px solid #bbb;
    background: #eee;
    color: #03c;
}

.client-dashboard__section {
    margin: 0 0 22px;
}

.client-review-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.client-review-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.client-review-table th,
.client-review-table td {
    padding: 7px;
    border: 1px solid #ccc;
    text-align: left;
    vertical-align: top;
}

.client-review-table th { background: #eee; }
.client-review-table td:nth-child(3),
.client-review-table td:nth-child(4) { white-space: nowrap; }
.client-review-date { margin-top: 3px; color: #888; font-size: 10px; }
.client-account-empty { color: #777; text-align: center !important; }

.client-review-status { font-weight: bold; }
.client-review-status--pending { color: #b36b00; }
.client-review-status--approved { color: #087a18; }
.client-review-status--rejected { color: #c00; }

.comment-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.comment-form-actions select {
    min-width: 48px;
    margin-left: 4px;
}

@media (max-width: 620px) {
    .client-dashboard__header { align-items: flex-start; }
    .client-dashboard__nav { display: grid; grid-template-columns: 1fr 1fr; }
    .client-dashboard__nav a { text-align: center; }
    .client-review-table { min-width: 540px; }
    .comment-form-actions { align-items: flex-end; }
}

/* Compact mobile header and profile list matching the reference layout. */
.mobile-top-link,
.mobile-home-title,
.search-icon-link svg {
    display: none;
}

#headerBgLeft a.mobile-brand {
    display: none;
}

@media (max-width: 620px) {
    #header {
        height: 145px !important;
    }

    #headerBg,
    #headerBgLeft,
    .logocityindi #headerBgLeft,
    .logocityin #headerBgLeft,
    .logocitydeva #headerBgLeft,
    .logocityin_only #headerBgLeft {
        height: 66px !important;
        background: #fe210f !important;
    }

    #headerBg::after,
    #headerBgLeft .main_link1 {
        display: none !important;
    }

    #headerBgLeft {
        display: flex !important;
        align-items: center !important;
        gap: 24px !important;
        padding: 0 18px !important;
        box-sizing: border-box !important;
    }

    #headerBgLeft .menu_check_adp,
    #headerBgLeft .login_check_adp {
        appearance: none !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 7px !important;
        float: none !important;
        width: auto !important;
        height: 66px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: none !important;
        color: #fff !important;
        font: bold 14px/1 Arial, Verdana, sans-serif !important;
        text-indent: 0 !important;
        cursor: pointer !important;
    }

    #headerBgLeft .menu_check_adp svg,
    #headerBgLeft .login_check_adp svg {
        display: block !important;
        width: 27px !important;
        height: 27px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 2.5 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
        flex: 0 0 27px !important;
    }

    #headerBgLeft a.mobile-brand {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        flex: 1 1 0;
        min-width: 0;
        width: auto !important;
        height: 55px !important;
        margin-left: auto;
        padding: 0 !important;
        box-sizing: border-box;
        overflow: hidden;
    }

    #headerBgLeft .mobile-brand__wordmark {
        display: block;
        color: #f36a64;
        font: 700 31px/1 Arial, Verdana, sans-serif;
        white-space: nowrap;
    }

    #menuLeft {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 4px !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
    }

    #menuLeft .mobile-top-link {
        display: inline-flex !important;
        align-items: center !important;
    }

    #menuLeft a.menu {
        padding: 0 4px !important;
        font-size: 10px !important;
    }

    #search {
        height: 46px !important;
        line-height: 21px !important;
        overflow: visible !important;
    }

    .searchphone {
        width: 100% !important;
        height: 23px !important;
        padding: 2px 8px 0 !important;
        box-sizing: border-box !important;
    }

    .searchphone form {
        display: flex !important;
        width: 100% !important;
    }

    #searchStr {
        width: calc(100% - 64px) !important;
        height: 20px !important;
        box-sizing: border-box !important;
    }

    #searchPS {
        flex: 0 0 58px !important;
        height: 20px !important;
        margin-left: 4px !important;
    }

    #menuRight2 {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 2px !important;
        float: none !important;
        width: 100% !important;
        height: 23px !important;
        margin: 0 !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
        font-size: 10px !important;
        white-space: nowrap !important;
    }

    #menuRight2 a.menu {
        padding: 0 3px !important;
        font-size: 11px !important;
    }

    #menuRight2 .search-icon-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 20px !important;
        height: 20px !important;
        padding: 0 !important;
        color: #111 !important;
        text-decoration: none !important;
    }

    #menuRight2 .search-icon-link .desktop-search-label {
        display: none !important;
    }

    #menuRight2 .search-icon-link svg {
        display: block !important;
        width: 17px !important;
        height: 17px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 2.4 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    #content {
        padding: 7px 10px 25px !important;
    }

    #content > h1 {
        margin: 2px 0 12px !important;
        font-size: 20px !important;
        line-height: 26px !important;
    }

    #content > h1 .desktop-home-title {
        display: none !important;
    }

    #content > h1 .mobile-home-title {
        display: inline !important;
    }

    .profile-list-card.storyLeft {
        --card-photo-w: clamp(122px, 34vw, 148px);
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) var(--card-photo-w) !important;
        grid-template-rows: auto minmax(48px, 1fr) auto !important;
        grid-template-areas:
            "top photo"
            "desc photo"
            "footer photo" !important;
        gap: 0 8px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 200px !important;
        margin: 0 0 11px !important;
        padding: 7px !important;
        overflow: hidden !important;
        background-position: 48% 14px !important;
        background-size: 110px auto !important;
    }

    .profile-list-card .profile-list-card__photo {
        grid-area: photo !important;
        position: static !important;
        align-self: stretch !important;
        justify-self: end !important;
        width: var(--card-photo-w) !important;
        height: 100% !important;
        min-height: 186px !important;
        aspect-ratio: auto !important;
    }

    .profile-list-card .profile-list-card__photo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .profile-list-card .profile-list-card__top {
        grid-area: top !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(84px, 94px) !important;
        gap: 5px !important;
        min-height: 0 !important;
    }

    .profile-list-card .profile-list-card__metro,
    .profile-list-card .profile-list-card__name {
        font-size: 13px !important;
        line-height: 16px !important;
    }

    .profile-list-card .profile-list-card__name {
        text-align: right !important;
    }

    .profile-list-card .profile-list-card__params {
        margin-top: 6px !important;
        font-size: 12px !important;
        line-height: 15px !important;
    }

    .profile-list-card .profile-list-card__prices {
        grid-template-columns: 40px minmax(43px, 1fr) !important;
        column-gap: 2px !important;
        margin-top: 7px !important;
        font-size: 12px !important;
        line-height: 16px !important;
    }

    .profile-list-card .profile-list-card__price-value {
        font-size: 14px !important;
        line-height: 16px !important;
        text-align: right !important;
        white-space: nowrap !important;
    }

    .profile-list-card .profile-list-card__description {
        grid-area: desc !important;
        display: -webkit-box !important;
        height: auto !important;
        min-height: 48px !important;
        max-height: 58px !important;
        margin: 4px 0 0 !important;
        padding: 5px 0 3px !important;
        overflow: hidden !important;
        font-size: 12px !important;
        font-style: italic !important;
        line-height: 16px !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important;
    }

    .profile-list-card .profile-list-card__footer {
        grid-area: footer !important;
        min-height: 22px !important;
        font-size: 12px !important;
        line-height: 16px !important;
        gap: 6px !important;
    }
}

@media (max-width: 360px) {
    #headerBgLeft .mobile-brand__wordmark { font-size: 22px; }
}

/* Reference typography for mobile profile cards */
.profile-list-card,
.profile-list-card * {
    font-family: Arial, Verdana, sans-serif !important;
}

@media (max-width: 620px) {
    .profile-list-card.storyLeft {
        font-size: 12px !important;
    }

    .profile-list-card .profile-list-card__metro,
    .profile-list-card .profile-list-card__name {
        font-size: 13px !important;
        line-height: 16px !important;
    }

    .profile-list-card .profile-list-card__params,
    .profile-list-card .profile-list-card__description,
    .profile-list-card .profile-list-card__footer {
        font-size: 12px !important;
        line-height: 16px !important;
    }

    .profile-list-card .profile-list-card__prices {
        grid-template-columns: 40px 49px !important;
        font-size: 12px !important;
        line-height: 16px !important;
        margin-top: 22px !important;
    }

    .profile-list-card .profile-list-card__price-value {
        font-size: 14px !important;
        line-height: 16px !important;
        font-weight: 700 !important;
    }
}

/* Preserve the neutral base so the subtle verification mark from style.css
   stays behind card content on mobile. */
.profile-list-card--verified.storyLeft {
    background-color: #fff !important;
    background-image: none !important;
}

@media (min-width: 621px) {
    .profile-list-card .profile-list-card__metro,
    .profile-list-card .profile-list-card__name,
    .profile-list-card .profile-list-card__params,
    .profile-list-card .profile-list-card__description,
    .profile-list-card .profile-list-card__footer,
    .profile-list-card .profile-list-card__prices {
        font-size: 12px !important;
        line-height: 16px !important;
    }

    .profile-list-card .profile-list-card__price-value {
        font-size: 15px !important;
        line-height: 16px !important;
        font-weight: 700 !important;
    }
}

/* Keep the compact price column after the legacy typography overrides above. */
@media (max-width: 620px) {
    .profile-list-card .profile-list-card__prices {
        grid-template-columns: 40px minmax(43px, 1fr) !important;
        margin-top: 7px !important;
    }
}

/* Authoritative mobile metrics, matched to the current reference site. */
@media (max-width: 620px) {
    #header { height: 128px !important; }

    #headerBg,
    #headerBgLeft,
    .logocityindi #headerBgLeft,
    .logocityin #headerBgLeft,
    .logocitydeva #headerBgLeft,
    .logocityin_only #headerBgLeft {
        height: 55px !important;
    }

    #headerBgLeft .menu_check_adp,
    #headerBgLeft .login_check_adp {
        height: 55px !important;
        font-size: 13px !important;
    }

    #content { padding: 6px 10px 25px !important; }

    #content > h1 {
        margin: 3px 0 15px !important;
        font-size: 17px !important;
        line-height: 21px !important;
    }

    .profile-list-card.storyLeft {
        --card-photo-w: 120px;
        grid-template-columns: minmax(0, 1fr) 120px !important;
        grid-template-rows: auto minmax(42px, 1fr) auto !important;
        gap: 0 7px !important;
        min-height: 181px !important;
        padding: 7px !important;
    }

    .profile-list-card .profile-list-card__photo {
        align-self: start !important;
        width: 120px !important;
        height: 167px !important;
        min-height: 0 !important;
    }

    .profile-list-card .profile-list-card__metro,
    .profile-list-card .profile-list-card__name,
    .profile-list-card .profile-list-card__params,
    .profile-list-card .profile-list-card__prices,
    .profile-list-card .profile-list-card__description,
    .profile-list-card .profile-list-card__footer {
        font-size: 11px !important;
        line-height: 14px !important;
    }

    .profile-list-card .profile-list-card__params { margin-top: 4px !important; }

    .profile-list-card .profile-list-card__prices {
        grid-template-columns: 35px 48px !important;
        margin-top: 3px !important;
    }

    .profile-list-card .profile-list-card__price-value {
        font-size: 12px !important;
        line-height: 14px !important;
    }

    .profile-list-card .profile-list-card__description {
        min-height: 42px !important;
        max-height: 50px !important;
        margin-top: 2px !important;
        padding: 4px 0 2px !important;
    }

    .profile-list-card .profile-list-card__footer { min-height: 18px !important; }

    .profile-list-card .profile-favorite-button {
        width: 20px;
        height: 18px;
        font-size: 17px;
        line-height: 18px;
    }

    .profile-favorite-button--detail {
        width: auto !important;
        height: 26px !important;
        padding: 2px 8px !important;
        font-size: 11px !important;
        line-height: 20px !important;
    }
}

/* Single source of truth for public-card typography. Kept at EOF because
   the template contains older responsive blocks with conflicting metrics. */
@media (min-width: 621px) {
    #content { padding: 10px 12px 28px !important; }
    #content > h1 { margin: 2px 0 12px !important; font-size: 20px !important; line-height: 24px !important; }

    .profile-list-card.storyLeft {
        --card-photo-w: 118px;
        grid-template-columns: minmax(0, 1fr) 118px !important;
        grid-template-rows: auto minmax(48px, 1fr) auto !important;
        gap: 0 8px !important;
        width: 100% !important;
        min-height: 190px !important;
        margin: 0 0 10px !important;
        padding: 8px !important;
    }

    .profile-list-card .profile-list-card__photo { width: 118px !important; height: 174px !important; min-height: 0 !important; }

    .profile-list-card .profile-list-card__metro,
    .profile-list-card .profile-list-card__name,
    .profile-list-card .profile-list-card__params,
    .profile-list-card .profile-list-card__prices,
    .profile-list-card .profile-list-card__description,
    .profile-list-card .profile-list-card__footer { font-size: 12px !important; line-height: 16px !important; }

    .profile-list-card .profile-list-card__params { margin-top: 4px !important; }
    .profile-list-card .profile-list-card__prices { grid-template-columns: 42px 56px !important; margin-top: 4px !important; }
    .profile-list-card .profile-list-card__price-value { font-size: 14px !important; line-height: 16px !important; }
    .profile-list-card .profile-list-card__description { min-height: 48px !important; max-height: 52px !important; margin-top: 3px !important; padding: 4px 0 2px !important; }
    .profile-list-card .profile-list-card__footer { min-height: 18px !important; }
}

@media (max-width: 620px) {
    .profile-list-card.storyLeft {
        --card-photo-w: 120px;
        grid-template-columns: minmax(0, 1fr) 120px !important;
        grid-template-rows: auto minmax(42px, 1fr) auto !important;
        gap: 0 7px !important;
        min-height: 181px !important;
        padding: 7px !important;
    }

    .profile-list-card .profile-list-card__photo { align-self: start !important; width: 120px !important; height: 167px !important; min-height: 0 !important; }

    .profile-list-card .profile-list-card__metro,
    .profile-list-card .profile-list-card__name,
    .profile-list-card .profile-list-card__params,
    .profile-list-card .profile-list-card__prices,
    .profile-list-card .profile-list-card__description,
    .profile-list-card .profile-list-card__footer { font-size: 11px !important; line-height: 14px !important; }

    .profile-list-card .profile-list-card__params { margin-top: 4px !important; }
    .profile-list-card .profile-list-card__prices { grid-template-columns: 35px 48px !important; margin-top: 3px !important; }
    .profile-list-card .profile-list-card__price-value { font-size: 12px !important; line-height: 14px !important; }
    .profile-list-card .profile-list-card__description { min-height: 42px !important; max-height: 50px !important; margin-top: 2px !important; padding: 4px 0 2px !important; }
    .profile-list-card .profile-list-card__footer { min-height: 18px !important; }
}

/* Final card containment. The legacy template has several repeated card blocks,
   so this must stay at EOF to keep names and text out of the photo column. */
.profile-list-card.storyLeft {
    display: grid !important;
    overflow: hidden !important;
}

.profile-list-card .profile-list-card__photo {
    grid-area: photo !important;
    position: static !important;
    align-self: start !important;
    justify-self: end !important;
}

.profile-list-card .profile-list-card__top {
    grid-area: top !important;
    display: grid !important;
    min-width: 0 !important;
}

.profile-list-card .profile-list-card__top > *,
.profile-list-card .profile-list-card__params,
.profile-list-card .profile-list-card__prices,
.profile-list-card .profile-list-card__description,
.profile-list-card .profile-list-card__footer {
    min-width: 0 !important;
}

.profile-list-card .profile-list-card__metro,
.profile-list-card .profile-list-card__name {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.profile-list-card .profile-list-card__name {
    text-align: left !important;
}

.profile-list-card .profile-list-card__description {
    grid-area: desc !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

.profile-list-card .profile-list-card__footer {
    grid-area: footer !important;
}

@media (min-width: 621px) {
    .profile-list-card.storyLeft {
        grid-template-columns: minmax(0, 1fr) 118px !important;
        grid-template-rows: auto minmax(44px, 1fr) auto !important;
        grid-template-areas:
            "top photo"
            "desc photo"
            "footer photo" !important;
        column-gap: 8px !important;
        width: 100% !important;
        padding: 8px !important;
    }

    .profile-list-card .profile-list-card__photo {
        width: 118px !important;
        height: 174px !important;
    }

    .profile-list-card .profile-list-card__top {
        grid-template-columns: minmax(0, 118px) minmax(0, 88px) !important;
        column-gap: 8px !important;
    }

    .profile-list-card .profile-list-card__prices {
        grid-template-columns: 40px minmax(0, 48px) !important;
        justify-content: start !important;
    }

    .profile-list-card .profile-list-card__description {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 620px) {
    .profile-list-card.storyLeft {
        grid-template-columns: minmax(0, 1fr) 120px !important;
        grid-template-rows: auto minmax(42px, 1fr) auto !important;
        grid-template-areas:
            "top photo"
            "desc photo"
            "footer photo" !important;
        column-gap: 7px !important;
        padding: 7px !important;
    }

    .profile-list-card .profile-list-card__photo {
        width: 120px !important;
        height: 167px !important;
    }

    .profile-list-card .profile-list-card__top {
        grid-template-columns: minmax(0, 98px) minmax(0, 78px) !important;
        column-gap: 6px !important;
    }

    .profile-list-card .profile-list-card__prices {
        grid-template-columns: 34px minmax(0, 42px) !important;
        justify-content: start !important;
    }
}

.ank_txtview .story {
    overflow: hidden !important;
}

.ank_txtview .story > .storyAnons {
    width: calc(100% - 130px) !important;
    max-width: calc(100% - 130px) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
}

.ank_txtview .descFirst,
.ank_txtview .notxt_story,
.ank_txtview .notxt_price {
    min-width: 0 !important;
}

.ank_txtview .metro_title_link {
    display: inline-block !important;
    max-width: 92px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    vertical-align: top !important;
    white-space: nowrap !important;
}

/* The girls' cabinet still uses the pre-JS card markup. Keep its content in a
   real two-column grid so text cannot render beneath the floated image. */
.legacy-profile-card .story {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 118px !important;
    grid-template-areas:
        "details photo"
        "about photo"
        "footer footer" !important;
    column-gap: 8px !important;
    row-gap: 0 !important;
    margin: 0 !important;
    padding: 8px !important;
    overflow: hidden !important;
}

.legacy-profile-card .story > .imganketa {
    grid-area: photo !important;
    float: none !important;
    width: 118px !important;
    min-width: 0 !important;
    align-self: start !important;
    justify-self: end !important;
}

.legacy-profile-card .story > .imganketa img {
    display: block !important;
    float: none !important;
    width: 118px !important;
    height: 174px !important;
    max-width: 100% !important;
    object-fit: cover !important;
}

.legacy-profile-card .story > .storyDescAnketa:not(._sda-detailed-blk) {
    grid-area: details !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.legacy-profile-card .story > .storyAnons:not(.notxt_story) {
    grid-area: about !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    max-height: 58px !important;
    margin: 4px 0 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.legacy-profile-card .story > ._sda-detailed-blk {
    grid-area: footer !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-top: 4px !important;
}

.legacy-profile-card .story .descFirst {
    width: min(105px, 48%) !important;
    min-width: 0 !important;
}

.legacy-profile-card .story .price {
    width: min(110px, 48%) !important;
    min-width: 0 !important;
}

.legacy-profile-card .story .metro_title_link {
    max-width: 100% !important;
}

/* Legacy cabinet card internals used floats that put the name, parameters and
   price stack into the same flow. Give every value an explicit grid cell. */
.legacy-profile-card .story > .storyDescAnketa:not(._sda-detailed-blk) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas:
        "heading heading"
        "parameters prices" !important;
    column-gap: 8px !important;
    row-gap: 5px !important;
    align-content: start !important;
}

.legacy-profile-card .story .descFirst.notxt_metro._upgraded {
    grid-area: heading !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: 8px !important;
    align-items: start !important;
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 14px !important;
}

.legacy-profile-card .story .descFirst.notxt_metro._upgraded > .metro_title,
.legacy-profile-card .story .descFirst.notxt_metro._upgraded > b {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.legacy-profile-card .story .descFirst.notxt_metro._upgraded > b {
    text-align: left !important;
}

.legacy-profile-card .story .notxt_story {
    grid-area: parameters !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 5px !important;
    align-content: start !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 14px !important;
}

.legacy-profile-card .story .notxt_story .txtparam {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
}

.legacy-profile-card .story .price.notxt_price {
    grid-area: prices !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 1px !important;
    align-content: start !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 14px !important;
}

.legacy-profile-card .story .price.notxt_price .price-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    column-gap: 4px !important;
    align-items: baseline !important;
    min-width: 0 !important;
}

.legacy-profile-card .story .price.notxt_price .txtpricehour {
    display: block !important;
    float: none !important;
    width: auto !important;
    color: #111 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.legacy-profile-card .story .price.notxt_price b {
    color: #e00000 !important;
    font-size: 12px !important;
    line-height: 14px !important;
    white-space: nowrap !important;
}

@media (max-width: 620px) {
    .legacy-profile-card .story {
        grid-template-columns: minmax(0, 1fr) 104px !important;
        column-gap: 7px !important;
        padding: 7px !important;
    }

    .legacy-profile-card .story > .imganketa,
    .legacy-profile-card .story > .imganketa img {
        width: 104px !important;
        height: 146px !important;
    }

    .legacy-profile-card .story > .storyAnons:not(.notxt_story) {
        min-height: 42px !important;
        max-height: 50px !important;
    }

    .legacy-profile-card .story .descFirst {
        width: min(96px, 50%) !important;
    }

    .legacy-profile-card .story .price {
        width: min(82px, 46%) !important;
        padding-right: 0 !important;
    }

    .legacy-profile-card .story > .storyDescAnketa:not(._sda-detailed-blk) {
        column-gap: 6px !important;
    }

    .legacy-profile-card .story .descFirst.notxt_metro._upgraded {
        column-gap: 6px !important;
    }

    .legacy-profile-card .story .notxt_story {
        column-gap: 3px !important;
        font-size: 11px !important;
    }
}

/* Authoritative profile-card layout. Older adaptive rules above are retained
   for unrelated legacy screens; these scoped rules define the current cards. */
.profile-list-card.storyLeft {
    position: relative !important;
    display: grid !important;
    grid-template-areas:
        "top photo"
        "desc photo"
        "footer photo" !important;
    grid-template-columns: minmax(0, 1fr) 118px !important;
    grid-template-rows: auto minmax(44px, 1fr) auto !important;
    column-gap: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 400px !important;
    min-width: 0 !important;
    min-height: 190px !important;
    margin: 0 auto 10px !important;
    padding: 8px !important;
    overflow: hidden !important;
    font-family: Arial, Verdana, sans-serif !important;
    font-size: 12px !important;
    line-height: 16px !important;
}

.profile-list-card .profile-list-card__photo {
    grid-area: photo !important;
    position: static !important;
    align-self: start !important;
    justify-self: end !important;
    width: 118px !important;
    height: 174px !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

.profile-list-card .profile-list-card__photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.profile-list-card .profile-list-card__top {
    grid-area: top !important;
    display: grid !important;
    grid-template-columns: minmax(0, 118px) minmax(0, 94px) !important;
    column-gap: 8px !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

.profile-list-card .profile-list-card__top > * {
    min-width: 0 !important;
}

.profile-list-card .profile-list-card__metro,
.profile-list-card .profile-list-card__name {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    color: #c51f1f !important;
    font-size: 12px !important;
    line-height: 16px !important;
    text-align: left !important;
    text-decoration: underline !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.profile-list-card .profile-list-card__metro {
    cursor: default !important;
}

.profile-list-card .profile-list-card__name {
    color: #111 !important;
    font-weight: 700 !important;
}

.profile-list-card .profile-list-card__params {
    min-width: 0 !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 16px !important;
}

.profile-list-card .profile-list-card__prices {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 50px) !important;
    column-gap: 2px !important;
    justify-content: start !important;
    min-width: 0 !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
}

.profile-list-card .profile-list-card__price-value {
    min-width: 0 !important;
    color: #e00000 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
    text-align: right !important;
    white-space: nowrap !important;
}

.profile-list-card .profile-list-card__description {
    grid-area: desc !important;
    display: -webkit-box !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    max-height: 52px !important;
    margin: 3px 0 0 !important;
    padding: 4px 0 2px !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    font-size: 12px !important;
    font-style: italic !important;
    line-height: 15px !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
}

.profile-list-card .profile-list-card__footer {
    grid-area: footer !important;
    min-width: 0 !important;
    min-height: 18px !important;
    overflow: hidden !important;
    font-size: 12px !important;
    line-height: 16px !important;
}

.legacy-profile-card.storyLeft {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.legacy-profile-card .story .metro_title {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #c51f1f !important;
    text-decoration: underline !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    cursor: default !important;
}

.legacy-profile-card .story > .storyAnons:not(.notxt_story) {
    display: -webkit-box !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
}

@media (max-width: 620px) {
    .profile-list-card.storyLeft {
        grid-template-columns: minmax(0, 1fr) 120px !important;
        grid-template-rows: auto minmax(42px, 1fr) auto !important;
        column-gap: 7px !important;
        max-width: 100% !important;
        min-height: 181px !important;
        margin: 0 0 10px !important;
        padding: 7px !important;
        font-size: 11px !important;
        line-height: 14px !important;
    }

    .profile-list-card .profile-list-card__photo {
        width: 120px !important;
        height: 167px !important;
    }

    .profile-list-card .profile-list-card__top {
        grid-template-columns: minmax(0, 98px) minmax(0, 94px) !important;
        column-gap: 6px !important;
    }

    .profile-list-card .profile-list-card__metro,
    .profile-list-card .profile-list-card__name,
    .profile-list-card .profile-list-card__params,
    .profile-list-card .profile-list-card__prices,
    .profile-list-card .profile-list-card__description,
    .profile-list-card .profile-list-card__footer {
        font-size: 11px !important;
        line-height: 14px !important;
    }

    .profile-list-card .profile-list-card__prices {
        grid-template-columns: 38px minmax(0, 48px) !important;
        margin-top: 4px !important;
    }

    .profile-list-card .profile-list-card__price-value {
        font-size: 12px !important;
        line-height: 14px !important;
    }

    .profile-list-card .profile-list-card__description {
        min-height: 42px !important;
        max-height: 48px !important;
        line-height: 14px !important;
    }

    .legacy-profile-card .story > .storyDescAnketa:not(._sda-detailed-blk) {
        grid-template-columns: minmax(0, 1fr) 82px !important;
    }

    .legacy-profile-card .story .notxt_story {
        grid-template-columns: minmax(0, 1fr) !important;
        row-gap: 1px !important;
    }
}
